kritzel-react 0.0.59 → 0.0.61
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.
|
@@ -75,7 +75,7 @@ export const KritzelControls = /*@__PURE__*/ createComponent({
|
|
|
75
75
|
elementClass: KritzelControlsElement,
|
|
76
76
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
77
77
|
react: React,
|
|
78
|
-
events: {},
|
|
78
|
+
events: { onControlsReady: 'controlsReady' },
|
|
79
79
|
defineCustomElement: defineKritzelControls
|
|
80
80
|
});
|
|
81
81
|
export const KritzelCursorTrail = /*@__PURE__*/ createComponent({
|
|
@@ -107,7 +107,10 @@ export const KritzelEngine = /*@__PURE__*/ createComponent({
|
|
|
107
107
|
elementClass: KritzelEngineElement,
|
|
108
108
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
109
109
|
react: React,
|
|
110
|
-
events: {
|
|
110
|
+
events: {
|
|
111
|
+
onEngineReady: 'engineReady',
|
|
112
|
+
onActiveToolChange: 'activeToolChange'
|
|
113
|
+
},
|
|
111
114
|
defineCustomElement: defineKritzelEngine
|
|
112
115
|
});
|
|
113
116
|
export const KritzelFont = /*@__PURE__*/ createComponent({
|
|
@@ -45,7 +45,9 @@ export type KritzelControlTextConfigEvents = {
|
|
|
45
45
|
onToolChange: EventName<KritzelControlTextConfigCustomEvent<KritzelTextTool>>;
|
|
46
46
|
};
|
|
47
47
|
export declare const KritzelControlTextConfig: StencilReactComponent<KritzelControlTextConfigElement, KritzelControlTextConfigEvents>;
|
|
48
|
-
export type KritzelControlsEvents =
|
|
48
|
+
export type KritzelControlsEvents = {
|
|
49
|
+
onControlsReady: EventName<CustomEvent<void>>;
|
|
50
|
+
};
|
|
49
51
|
export declare const KritzelControls: StencilReactComponent<KritzelControlsElement, KritzelControlsEvents>;
|
|
50
52
|
export type KritzelCursorTrailEvents = NonNullable<unknown>;
|
|
51
53
|
export declare const KritzelCursorTrail: StencilReactComponent<KritzelCursorTrailElement, KritzelCursorTrailEvents>;
|
|
@@ -56,6 +58,7 @@ export declare const KritzelDropdown: StencilReactComponent<KritzelDropdownEleme
|
|
|
56
58
|
export type KritzelEditorEvents = NonNullable<unknown>;
|
|
57
59
|
export declare const KritzelEditor: StencilReactComponent<KritzelEditorElement, KritzelEditorEvents>;
|
|
58
60
|
export type KritzelEngineEvents = {
|
|
61
|
+
onEngineReady: EventName<CustomEvent<void>>;
|
|
59
62
|
onActiveToolChange: EventName<KritzelEngineCustomEvent<KritzelBaseTool>>;
|
|
60
63
|
};
|
|
61
64
|
export declare const KritzelEngine: StencilReactComponent<KritzelEngineElement, KritzelEngineEvents>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kritzel-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.61",
|
|
4
4
|
"homepage": "https://gitlab.com/kasual1/kritzel#readme",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@stencil/react-output-target": "^0.7.4"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"kritzel-stencil": "^0.0.
|
|
23
|
+
"kritzel-stencil": "^0.0.61"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|