kritzel-react 0.1.61 → 0.1.63

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.
@@ -57,7 +57,7 @@ export const KritzelEditor = /*@__PURE__*/ createComponent({
57
57
  onThemeChange: 'themeChange',
58
58
  onViewportChange: 'viewportChange',
59
59
  onLogout: 'logout',
60
- onLoginRequest: 'loginRequest',
60
+ onLogin: 'login',
61
61
  onIsPublicChange: 'isPublicChange',
62
62
  onAwarenessChange: 'awarenessChange'
63
63
  },
@@ -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 ActiveWorkspaceChangeEvent, type EditorIsReadyEvent, type IKritzelDialogCloseEvent, type IKritzelIsPublicChangedEvent, 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 LineArrowConfig, type LoginEvent, 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";
@@ -31,8 +31,8 @@ export type KritzelDialogEvents = {
31
31
  };
32
32
  export declare const KritzelDialog: StencilReactComponent<KritzelDialogElement, KritzelDialogEvents>;
33
33
  export type KritzelEditorEvents = {
34
- onIsReady: EventName<KritzelEditorCustomEvent<HTMLElement>>;
35
- onActiveWorkspaceChange: EventName<KritzelEditorCustomEvent<KritzelWorkspace>>;
34
+ onIsReady: EventName<KritzelEditorCustomEvent<EditorIsReadyEvent>>;
35
+ onActiveWorkspaceChange: EventName<KritzelEditorCustomEvent<ActiveWorkspaceChangeEvent>>;
36
36
  onObjectsChange: EventName<KritzelEditorCustomEvent<KritzelBaseObject[]>>;
37
37
  onObjectsAdded: EventName<KritzelEditorCustomEvent<ObjectsAddedEvent>>;
38
38
  onObjectsRemoved: EventName<KritzelEditorCustomEvent<ObjectsRemovedEvent>>;
@@ -41,7 +41,7 @@ export type KritzelEditorEvents = {
41
41
  onThemeChange: EventName<KritzelEditorCustomEvent<ThemeName>>;
42
42
  onViewportChange: EventName<KritzelEditorCustomEvent<KritzelViewportState>>;
43
43
  onLogout: EventName<KritzelEditorCustomEvent<void>>;
44
- onLoginRequest: EventName<KritzelEditorCustomEvent<IKritzelLoginEvent>>;
44
+ onLogin: EventName<KritzelEditorCustomEvent<LoginEvent>>;
45
45
  onIsPublicChange: EventName<KritzelEditorCustomEvent<IKritzelIsPublicChangedEvent>>;
46
46
  onAwarenessChange: EventName<KritzelEditorCustomEvent<Map<number, Record<string, any>>>>;
47
47
  };
@@ -61,7 +61,7 @@ export type KritzelLineEndingsEvents = {
61
61
  };
62
62
  export declare const KritzelLineEndings: StencilReactComponent<KritzelLineEndingsElement, KritzelLineEndingsEvents>;
63
63
  export type KritzelLoginDialogEvents = {
64
- onProviderLogin: EventName<KritzelLoginDialogCustomEvent<IKritzelLoginEvent>>;
64
+ onProviderLogin: EventName<KritzelLoginDialogCustomEvent<LoginEvent>>;
65
65
  onDialogClosed: EventName<KritzelLoginDialogCustomEvent<void>>;
66
66
  };
67
67
  export declare const KritzelLoginDialog: StencilReactComponent<KritzelLoginDialogElement, KritzelLoginDialogEvents>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kritzel-react",
3
- "version": "0.1.61",
3
+ "version": "0.1.63",
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.61"
23
+ "kritzel-stencil": "^0.1.63"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",