kritzel-react 0.1.38 → 0.1.39
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.
|
@@ -5,6 +5,7 @@ import { KritzelBackToContent as KritzelBackToContentElement, defineCustomElemen
|
|
|
5
5
|
import { KritzelDialog as KritzelDialogElement, defineCustomElement as defineKritzelDialog } from "../../../../kritzel-stencil/dist/components/kritzel-dialog.js";
|
|
6
6
|
import { KritzelEditor as KritzelEditorElement, defineCustomElement as defineKritzelEditor } from "../../../../kritzel-stencil/dist/components/kritzel-editor.js";
|
|
7
7
|
import { KritzelExport as KritzelExportElement, defineCustomElement as defineKritzelExport } from "../../../../kritzel-stencil/dist/components/kritzel-export.js";
|
|
8
|
+
import { KritzelInput as KritzelInputElement, defineCustomElement as defineKritzelInput } from "../../../../kritzel-stencil/dist/components/kritzel-input.js";
|
|
8
9
|
import { KritzelLineEndings as KritzelLineEndingsElement, defineCustomElement as defineKritzelLineEndings } from "../../../../kritzel-stencil/dist/components/kritzel-line-endings.js";
|
|
9
10
|
import { KritzelMasterDetail as KritzelMasterDetailElement, defineCustomElement as defineKritzelMasterDetail } from "../../../../kritzel-stencil/dist/components/kritzel-master-detail.js";
|
|
10
11
|
import { KritzelMoreMenu as KritzelMoreMenuElement, defineCustomElement as defineKritzelMoreMenu } from "../../../../kritzel-stencil/dist/components/kritzel-more-menu.js";
|
|
@@ -62,6 +63,14 @@ export const KritzelExport = /*@__PURE__*/ createComponent({
|
|
|
62
63
|
},
|
|
63
64
|
defineCustomElement: defineKritzelExport
|
|
64
65
|
});
|
|
66
|
+
export const KritzelInput = /*@__PURE__*/ createComponent({
|
|
67
|
+
tagName: 'kritzel-input',
|
|
68
|
+
elementClass: KritzelInputElement,
|
|
69
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
70
|
+
react: React,
|
|
71
|
+
events: { onValueChange: 'valueChange' },
|
|
72
|
+
defineCustomElement: defineKritzelInput
|
|
73
|
+
});
|
|
65
74
|
export const KritzelLineEndings = /*@__PURE__*/ createComponent({
|
|
66
75
|
tagName: 'kritzel-line-endings',
|
|
67
76
|
elementClass: KritzelLineEndingsElement,
|
|
@@ -3,11 +3,12 @@
|
|
|
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 IKritzelMenuItem, type KritzelBackToContentCustomEvent, type KritzelBaseObject, type KritzelDialogCustomEvent, type KritzelEditorCustomEvent, type KritzelExportCustomEvent, type KritzelLineEndingsCustomEvent, type KritzelMasterDetailCustomEvent, type KritzelMoreMenuCustomEvent, 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 IKritzelMasterDetailSelectEvent, type IKritzelMenuItem, type KritzelBackToContentCustomEvent, type KritzelBaseObject, type KritzelDialogCustomEvent, type KritzelEditorCustomEvent, type KritzelExportCustomEvent, type KritzelInputCustomEvent, type KritzelLineEndingsCustomEvent, type KritzelMasterDetailCustomEvent, type KritzelMoreMenuCustomEvent, 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";
|
|
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";
|
|
10
10
|
import { KritzelExport as KritzelExportElement } from "../../../../kritzel-stencil/dist/components/kritzel-export.js";
|
|
11
|
+
import { KritzelInput as KritzelInputElement } from "../../../../kritzel-stencil/dist/components/kritzel-input.js";
|
|
11
12
|
import { KritzelLineEndings as KritzelLineEndingsElement } from "../../../../kritzel-stencil/dist/components/kritzel-line-endings.js";
|
|
12
13
|
import { KritzelMasterDetail as KritzelMasterDetailElement } from "../../../../kritzel-stencil/dist/components/kritzel-master-detail.js";
|
|
13
14
|
import { KritzelMoreMenu as KritzelMoreMenuElement } from "../../../../kritzel-stencil/dist/components/kritzel-more-menu.js";
|
|
@@ -43,6 +44,10 @@ export type KritzelExportEvents = {
|
|
|
43
44
|
onExportJson: EventName<KritzelExportCustomEvent<string>>;
|
|
44
45
|
};
|
|
45
46
|
export declare const KritzelExport: StencilReactComponent<KritzelExportElement, KritzelExportEvents>;
|
|
47
|
+
export type KritzelInputEvents = {
|
|
48
|
+
onValueChange: EventName<KritzelInputCustomEvent<string>>;
|
|
49
|
+
};
|
|
50
|
+
export declare const KritzelInput: StencilReactComponent<KritzelInputElement, KritzelInputEvents>;
|
|
46
51
|
export type KritzelLineEndingsEvents = {
|
|
47
52
|
onValueChange: EventName<KritzelLineEndingsCustomEvent<LineArrowConfig>>;
|
|
48
53
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kritzel-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.39",
|
|
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.39"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|