kritzel-react 0.1.57 → 0.1.58
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.
|
@@ -47,7 +47,7 @@ export const KritzelEditor = /*@__PURE__*/ createComponent({
|
|
|
47
47
|
onThemeChange: 'themeChange',
|
|
48
48
|
onViewportChange: 'viewportChange',
|
|
49
49
|
onLogout: 'logout',
|
|
50
|
-
|
|
50
|
+
onIsPublicChange: 'isPublicChange',
|
|
51
51
|
onAwarenessChange: 'awarenessChange'
|
|
52
52
|
},
|
|
53
53
|
defineCustomElement: defineKritzelEditor
|
|
@@ -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
|
|
6
|
+
import { type IKritzelDialogCloseEvent, type IKritzelIsPublicChangedEvent, type IKritzelMasterDetailSelectEvent, type KritzelBackToContentCustomEvent, type KritzelBaseObject, type KritzelDialogCustomEvent, type KritzelEditorCustomEvent, type KritzelExportCustomEvent, type KritzelInputCustomEvent, type KritzelLineEndingsCustomEvent, type KritzelMasterDetailCustomEvent, type KritzelNumericInputCustomEvent, type KritzelOpacitySliderCustomEvent, type KritzelPillTabsCustomEvent, type KritzelSettingsConfig, type KritzelSettingsCustomEvent, type KritzelUndoState, type KritzelViewportState, type KritzelWorkspace, type LineArrowConfig, type ObjectsAddedEvent, type ObjectsRemovedEvent, type ObjectsUpdatedEvent, 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";
|
|
@@ -35,7 +35,7 @@ export type KritzelEditorEvents = {
|
|
|
35
35
|
onThemeChange: EventName<KritzelEditorCustomEvent<ThemeName>>;
|
|
36
36
|
onViewportChange: EventName<KritzelEditorCustomEvent<KritzelViewportState>>;
|
|
37
37
|
onLogout: EventName<KritzelEditorCustomEvent<void>>;
|
|
38
|
-
|
|
38
|
+
onIsPublicChange: EventName<KritzelEditorCustomEvent<IKritzelIsPublicChangedEvent>>;
|
|
39
39
|
onAwarenessChange: EventName<KritzelEditorCustomEvent<Map<number, Record<string, any>>>>;
|
|
40
40
|
};
|
|
41
41
|
export declare const KritzelEditor: StencilReactComponent<KritzelEditorElement, KritzelEditorEvents>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kritzel-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.58",
|
|
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.58"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|