kritzel-react 0.1.41 → 0.1.42
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.
|
@@ -13,6 +13,7 @@ import { KritzelOpacitySlider as KritzelOpacitySliderElement, defineCustomElemen
|
|
|
13
13
|
import { KritzelPillTabs as KritzelPillTabsElement, defineCustomElement as defineKritzelPillTabs } from "../../../../kritzel-stencil/dist/components/kritzel-pill-tabs.js";
|
|
14
14
|
import { KritzelSettings as KritzelSettingsElement, defineCustomElement as defineKritzelSettings } from "../../../../kritzel-stencil/dist/components/kritzel-settings.js";
|
|
15
15
|
import { KritzelShapeFill as KritzelShapeFillElement, defineCustomElement as defineKritzelShapeFill } from "../../../../kritzel-stencil/dist/components/kritzel-shape-fill.js";
|
|
16
|
+
import { KritzelShareDialog as KritzelShareDialogElement, defineCustomElement as defineKritzelShareDialog } from "../../../../kritzel-stencil/dist/components/kritzel-share-dialog.js";
|
|
16
17
|
import { KritzelSlideToggle as KritzelSlideToggleElement, defineCustomElement as defineKritzelSlideToggle } from "../../../../kritzel-stencil/dist/components/kritzel-slide-toggle.js";
|
|
17
18
|
export const KritzelBackToContent = /*@__PURE__*/ createComponent({
|
|
18
19
|
tagName: 'kritzel-back-to-content',
|
|
@@ -47,7 +48,8 @@ export const KritzelEditor = /*@__PURE__*/ createComponent({
|
|
|
47
48
|
onUndoStateChange: 'undoStateChange',
|
|
48
49
|
onThemeChange: 'themeChange',
|
|
49
50
|
onViewportChange: 'viewportChange',
|
|
50
|
-
onLogout: 'logout'
|
|
51
|
+
onLogout: 'logout',
|
|
52
|
+
onLinkShareChange: 'linkShareChange'
|
|
51
53
|
},
|
|
52
54
|
defineCustomElement: defineKritzelEditor
|
|
53
55
|
});
|
|
@@ -127,6 +129,18 @@ export const KritzelShapeFill = /*@__PURE__*/ createComponent({
|
|
|
127
129
|
events: { onValueChange: 'valueChange' },
|
|
128
130
|
defineCustomElement: defineKritzelShapeFill
|
|
129
131
|
});
|
|
132
|
+
export const KritzelShareDialog = /*@__PURE__*/ createComponent({
|
|
133
|
+
tagName: 'kritzel-share-dialog',
|
|
134
|
+
elementClass: KritzelShareDialogElement,
|
|
135
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
136
|
+
react: React,
|
|
137
|
+
events: {
|
|
138
|
+
onToggleLinkShare: 'toggleLinkShare',
|
|
139
|
+
onPermissionChange: 'permissionChange',
|
|
140
|
+
onDialogClosed: 'dialogClosed'
|
|
141
|
+
},
|
|
142
|
+
defineCustomElement: defineKritzelShareDialog
|
|
143
|
+
});
|
|
130
144
|
export const KritzelSlideToggle = /*@__PURE__*/ createComponent({
|
|
131
145
|
tagName: 'kritzel-slide-toggle',
|
|
132
146
|
elementClass: KritzelSlideToggleElement,
|
|
@@ -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 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 KritzelShapeFillCustomEvent, type KritzelSlideToggleCustomEvent, type KritzelUndoState, type KritzelViewportState, type LineArrowConfig, type ObjectsAddedEvent, type ObjectsRemovedEvent, type ObjectsUpdatedEvent, type ShapeFillType, type ThemeName } from "../../../../kritzel-stencil";
|
|
6
|
+
import { type IKritzelDialogCloseEvent, type IKritzelLinkShareChangedEvent, type IKritzelLinkShareToggleEvent, 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 KritzelShapeFillCustomEvent, type KritzelShareDialogCustomEvent, type KritzelSharePermission, type KritzelSlideToggleCustomEvent, type KritzelUndoState, type KritzelViewportState, type LineArrowConfig, type ObjectsAddedEvent, type ObjectsRemovedEvent, type ObjectsUpdatedEvent, 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";
|
|
@@ -16,6 +16,7 @@ import { KritzelOpacitySlider as KritzelOpacitySliderElement } from "../../../..
|
|
|
16
16
|
import { KritzelPillTabs as KritzelPillTabsElement } from "../../../../kritzel-stencil/dist/components/kritzel-pill-tabs.js";
|
|
17
17
|
import { KritzelSettings as KritzelSettingsElement } from "../../../../kritzel-stencil/dist/components/kritzel-settings.js";
|
|
18
18
|
import { KritzelShapeFill as KritzelShapeFillElement } from "../../../../kritzel-stencil/dist/components/kritzel-shape-fill.js";
|
|
19
|
+
import { KritzelShareDialog as KritzelShareDialogElement } from "../../../../kritzel-stencil/dist/components/kritzel-share-dialog.js";
|
|
19
20
|
import { KritzelSlideToggle as KritzelSlideToggleElement } from "../../../../kritzel-stencil/dist/components/kritzel-slide-toggle.js";
|
|
20
21
|
export type KritzelBackToContentEvents = {
|
|
21
22
|
onBackToContent: EventName<KritzelBackToContentCustomEvent<void>>;
|
|
@@ -36,6 +37,7 @@ export type KritzelEditorEvents = {
|
|
|
36
37
|
onThemeChange: EventName<KritzelEditorCustomEvent<ThemeName>>;
|
|
37
38
|
onViewportChange: EventName<KritzelEditorCustomEvent<KritzelViewportState>>;
|
|
38
39
|
onLogout: EventName<KritzelEditorCustomEvent<void>>;
|
|
40
|
+
onLinkShareChange: EventName<KritzelEditorCustomEvent<IKritzelLinkShareChangedEvent>>;
|
|
39
41
|
};
|
|
40
42
|
export declare const KritzelEditor: StencilReactComponent<KritzelEditorElement, KritzelEditorEvents>;
|
|
41
43
|
export type KritzelExportEvents = {
|
|
@@ -76,6 +78,12 @@ export type KritzelShapeFillEvents = {
|
|
|
76
78
|
onValueChange: EventName<KritzelShapeFillCustomEvent<ShapeFillType>>;
|
|
77
79
|
};
|
|
78
80
|
export declare const KritzelShapeFill: StencilReactComponent<KritzelShapeFillElement, KritzelShapeFillEvents>;
|
|
81
|
+
export type KritzelShareDialogEvents = {
|
|
82
|
+
onToggleLinkShare: EventName<KritzelShareDialogCustomEvent<IKritzelLinkShareToggleEvent>>;
|
|
83
|
+
onPermissionChange: EventName<KritzelShareDialogCustomEvent<KritzelSharePermission>>;
|
|
84
|
+
onDialogClosed: EventName<KritzelShareDialogCustomEvent<void>>;
|
|
85
|
+
};
|
|
86
|
+
export declare const KritzelShareDialog: StencilReactComponent<KritzelShareDialogElement, KritzelShareDialogEvents>;
|
|
79
87
|
export type KritzelSlideToggleEvents = {
|
|
80
88
|
onCheckedChange: EventName<KritzelSlideToggleCustomEvent<boolean>>;
|
|
81
89
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kritzel-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.42",
|
|
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.42"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|