kritzel-react 0.1.41 → 0.1.43
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.
|
@@ -12,8 +12,6 @@ import { KritzelNumericInput as KritzelNumericInputElement, defineCustomElement
|
|
|
12
12
|
import { KritzelOpacitySlider as KritzelOpacitySliderElement, defineCustomElement as defineKritzelOpacitySlider } from "../../../../kritzel-stencil/dist/components/kritzel-opacity-slider.js";
|
|
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
|
-
import { KritzelShapeFill as KritzelShapeFillElement, defineCustomElement as defineKritzelShapeFill } from "../../../../kritzel-stencil/dist/components/kritzel-shape-fill.js";
|
|
16
|
-
import { KritzelSlideToggle as KritzelSlideToggleElement, defineCustomElement as defineKritzelSlideToggle } from "../../../../kritzel-stencil/dist/components/kritzel-slide-toggle.js";
|
|
17
15
|
export const KritzelBackToContent = /*@__PURE__*/ createComponent({
|
|
18
16
|
tagName: 'kritzel-back-to-content',
|
|
19
17
|
elementClass: KritzelBackToContentElement,
|
|
@@ -47,7 +45,8 @@ export const KritzelEditor = /*@__PURE__*/ createComponent({
|
|
|
47
45
|
onUndoStateChange: 'undoStateChange',
|
|
48
46
|
onThemeChange: 'themeChange',
|
|
49
47
|
onViewportChange: 'viewportChange',
|
|
50
|
-
onLogout: 'logout'
|
|
48
|
+
onLogout: 'logout',
|
|
49
|
+
onLinkShareChange: 'linkShareChange'
|
|
51
50
|
},
|
|
52
51
|
defineCustomElement: defineKritzelEditor
|
|
53
52
|
});
|
|
@@ -119,19 +118,3 @@ export const KritzelSettings = /*@__PURE__*/ createComponent({
|
|
|
119
118
|
events: { onSettingsChange: 'settingsChange' },
|
|
120
119
|
defineCustomElement: defineKritzelSettings
|
|
121
120
|
});
|
|
122
|
-
export const KritzelShapeFill = /*@__PURE__*/ createComponent({
|
|
123
|
-
tagName: 'kritzel-shape-fill',
|
|
124
|
-
elementClass: KritzelShapeFillElement,
|
|
125
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
126
|
-
react: React,
|
|
127
|
-
events: { onValueChange: 'valueChange' },
|
|
128
|
-
defineCustomElement: defineKritzelShapeFill
|
|
129
|
-
});
|
|
130
|
-
export const KritzelSlideToggle = /*@__PURE__*/ createComponent({
|
|
131
|
-
tagName: 'kritzel-slide-toggle',
|
|
132
|
-
elementClass: KritzelSlideToggleElement,
|
|
133
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
134
|
-
react: React,
|
|
135
|
-
events: { onCheckedChange: 'checkedChange' },
|
|
136
|
-
defineCustomElement: defineKritzelSlideToggle
|
|
137
|
-
});
|
|
@@ -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
|
|
6
|
+
import { type IKritzelDialogCloseEvent, type IKritzelLinkShareChangedEvent, 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 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";
|
|
@@ -15,8 +15,6 @@ import { KritzelNumericInput as KritzelNumericInputElement } from "../../../../k
|
|
|
15
15
|
import { KritzelOpacitySlider as KritzelOpacitySliderElement } from "../../../../kritzel-stencil/dist/components/kritzel-opacity-slider.js";
|
|
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
|
-
import { KritzelShapeFill as KritzelShapeFillElement } from "../../../../kritzel-stencil/dist/components/kritzel-shape-fill.js";
|
|
19
|
-
import { KritzelSlideToggle as KritzelSlideToggleElement } from "../../../../kritzel-stencil/dist/components/kritzel-slide-toggle.js";
|
|
20
18
|
export type KritzelBackToContentEvents = {
|
|
21
19
|
onBackToContent: EventName<KritzelBackToContentCustomEvent<void>>;
|
|
22
20
|
};
|
|
@@ -36,6 +34,7 @@ export type KritzelEditorEvents = {
|
|
|
36
34
|
onThemeChange: EventName<KritzelEditorCustomEvent<ThemeName>>;
|
|
37
35
|
onViewportChange: EventName<KritzelEditorCustomEvent<KritzelViewportState>>;
|
|
38
36
|
onLogout: EventName<KritzelEditorCustomEvent<void>>;
|
|
37
|
+
onLinkShareChange: EventName<KritzelEditorCustomEvent<IKritzelLinkShareChangedEvent>>;
|
|
39
38
|
};
|
|
40
39
|
export declare const KritzelEditor: StencilReactComponent<KritzelEditorElement, KritzelEditorEvents>;
|
|
41
40
|
export type KritzelExportEvents = {
|
|
@@ -72,11 +71,3 @@ export type KritzelSettingsEvents = {
|
|
|
72
71
|
onSettingsChange: EventName<KritzelSettingsCustomEvent<KritzelSettingsConfig>>;
|
|
73
72
|
};
|
|
74
73
|
export declare const KritzelSettings: StencilReactComponent<KritzelSettingsElement, KritzelSettingsEvents>;
|
|
75
|
-
export type KritzelShapeFillEvents = {
|
|
76
|
-
onValueChange: EventName<KritzelShapeFillCustomEvent<ShapeFillType>>;
|
|
77
|
-
};
|
|
78
|
-
export declare const KritzelShapeFill: StencilReactComponent<KritzelShapeFillElement, KritzelShapeFillEvents>;
|
|
79
|
-
export type KritzelSlideToggleEvents = {
|
|
80
|
-
onCheckedChange: EventName<KritzelSlideToggleCustomEvent<boolean>>;
|
|
81
|
-
};
|
|
82
|
-
export declare const KritzelSlideToggle: StencilReactComponent<KritzelSlideToggleElement, KritzelSlideToggleEvents>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kritzel-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.43",
|
|
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.43"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|