kritzel-react 0.1.13 → 0.1.15
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.
|
@@ -40,7 +40,8 @@ export const KritzelEditor = /*@__PURE__*/ createComponent({
|
|
|
40
40
|
events: {
|
|
41
41
|
onIsReady: 'isReady',
|
|
42
42
|
onObjectsChange: 'objectsChange',
|
|
43
|
-
onUndoStateChange: 'undoStateChange'
|
|
43
|
+
onUndoStateChange: 'undoStateChange',
|
|
44
|
+
onThemeChange: 'themeChange'
|
|
44
45
|
},
|
|
45
46
|
defineCustomElement: defineKritzelEditor
|
|
46
47
|
});
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
4
|
*/
|
|
5
5
|
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
6
|
-
import { type IKritzelDialogCloseEvent, type IKritzelMasterDetailSelectEvent, type IKritzelMenuItem, type KritzelBackToContentCustomEvent, type KritzelBaseObject, type KritzelDialogCustomEvent, type KritzelEditorCustomEvent, type KritzelExportCustomEvent, type KritzelLineEndingsCustomEvent, type KritzelMasterDetailCustomEvent, type KritzelMoreMenuCustomEvent, type KritzelNumericInputCustomEvent, type KritzelOpacitySliderCustomEvent, type KritzelSettingsConfig, type KritzelSettingsCustomEvent, type KritzelShapeFillCustomEvent, type KritzelSlideToggleCustomEvent, type KritzelUndoState, type LineArrowConfig, type ShapeFillType } from "../../../../kritzel-stencil";
|
|
6
|
+
import { type IKritzelDialogCloseEvent, type IKritzelMasterDetailSelectEvent, type IKritzelMenuItem, type KritzelBackToContentCustomEvent, type KritzelBaseObject, type KritzelDialogCustomEvent, type KritzelEditorCustomEvent, type KritzelExportCustomEvent, type KritzelLineEndingsCustomEvent, type KritzelMasterDetailCustomEvent, type KritzelMoreMenuCustomEvent, type KritzelNumericInputCustomEvent, type KritzelOpacitySliderCustomEvent, type KritzelSettingsConfig, type KritzelSettingsCustomEvent, type KritzelShapeFillCustomEvent, type KritzelSlideToggleCustomEvent, type KritzelUndoState, type LineArrowConfig, type ShapeFillType, type ThemeName } from "../../../../kritzel-stencil";
|
|
7
7
|
import { KritzelBackToContent as KritzelBackToContentElement } from "../../../../kritzel-stencil/dist/components/kritzel-back-to-content.js";
|
|
8
8
|
import { KritzelDialog as KritzelDialogElement } from "../../../../kritzel-stencil/dist/components/kritzel-dialog.js";
|
|
9
9
|
import { KritzelEditor as KritzelEditorElement } from "../../../../kritzel-stencil/dist/components/kritzel-editor.js";
|
|
@@ -29,6 +29,7 @@ export type KritzelEditorEvents = {
|
|
|
29
29
|
onIsReady: EventName<KritzelEditorCustomEvent<HTMLElement>>;
|
|
30
30
|
onObjectsChange: EventName<KritzelEditorCustomEvent<KritzelBaseObject[]>>;
|
|
31
31
|
onUndoStateChange: EventName<KritzelEditorCustomEvent<KritzelUndoState>>;
|
|
32
|
+
onThemeChange: EventName<KritzelEditorCustomEvent<ThemeName>>;
|
|
32
33
|
};
|
|
33
34
|
export declare const KritzelEditor: StencilReactComponent<KritzelEditorElement, KritzelEditorEvents>;
|
|
34
35
|
export type KritzelExportEvents = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kritzel-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
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": "^1.2.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"kritzel-stencil": "^0.1.
|
|
23
|
+
"kritzel-stencil": "^0.1.15"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|