kritzel-react 0.1.61 → 0.1.62
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.
|
@@ -59,7 +59,10 @@ export const KritzelEditor = /*@__PURE__*/ createComponent({
|
|
|
59
59
|
onLogout: 'logout',
|
|
60
60
|
onLoginRequest: 'loginRequest',
|
|
61
61
|
onIsPublicChange: 'isPublicChange',
|
|
62
|
-
onAwarenessChange: 'awarenessChange'
|
|
62
|
+
onAwarenessChange: 'awarenessChange',
|
|
63
|
+
onSyncReady: 'syncReady',
|
|
64
|
+
onSyncStatus: 'syncStatus',
|
|
65
|
+
onAuthenticationFailed: 'authenticationFailed'
|
|
63
66
|
},
|
|
64
67
|
defineCustomElement: defineKritzelEditor
|
|
65
68
|
});
|
|
@@ -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 IKritzelIsPublicChangedEvent, type IKritzelLoginEvent, type IKritzelMasterDetailSelectEvent, type KritzelBackToContentCustomEvent, type KritzelBaseObject, type KritzelButtonCustomEvent, type KritzelDialogCustomEvent, type KritzelEditorCustomEvent, type KritzelExportCustomEvent, type KritzelInputCustomEvent, type KritzelLineEndingsCustomEvent, type KritzelLoginDialogCustomEvent, 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";
|
|
6
|
+
import { type IKritzelDialogCloseEvent, type IKritzelIsPublicChangedEvent, type IKritzelLoginEvent, type IKritzelMasterDetailSelectEvent, type KritzelBackToContentCustomEvent, type KritzelBaseObject, type KritzelButtonCustomEvent, type KritzelDialogCustomEvent, type KritzelEditorCustomEvent, type KritzelExportCustomEvent, type KritzelInputCustomEvent, type KritzelLineEndingsCustomEvent, type KritzelLoginDialogCustomEvent, type KritzelMasterDetailCustomEvent, type KritzelNumericInputCustomEvent, type KritzelOpacitySliderCustomEvent, type KritzelPillTabsCustomEvent, type KritzelSettingsConfig, type KritzelSettingsCustomEvent, type KritzelSyncStatusEvent, 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 { KritzelButton as KritzelButtonElement } from "../../../../kritzel-stencil/dist/components/kritzel-button.js";
|
|
9
9
|
import { KritzelDialog as KritzelDialogElement } from "../../../../kritzel-stencil/dist/components/kritzel-dialog.js";
|
|
@@ -44,6 +44,12 @@ export type KritzelEditorEvents = {
|
|
|
44
44
|
onLoginRequest: EventName<KritzelEditorCustomEvent<IKritzelLoginEvent>>;
|
|
45
45
|
onIsPublicChange: EventName<KritzelEditorCustomEvent<IKritzelIsPublicChangedEvent>>;
|
|
46
46
|
onAwarenessChange: EventName<KritzelEditorCustomEvent<Map<number, Record<string, any>>>>;
|
|
47
|
+
onSyncReady: EventName<KritzelEditorCustomEvent<void>>;
|
|
48
|
+
onSyncStatus: EventName<KritzelEditorCustomEvent<KritzelSyncStatusEvent>>;
|
|
49
|
+
onAuthenticationFailed: EventName<KritzelEditorCustomEvent<{
|
|
50
|
+
provider: string;
|
|
51
|
+
error?: unknown;
|
|
52
|
+
}>>;
|
|
47
53
|
};
|
|
48
54
|
export declare const KritzelEditor: StencilReactComponent<KritzelEditorElement, KritzelEditorEvents>;
|
|
49
55
|
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.62",
|
|
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.62"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|