@limetech/lime-elements 37.21.0 → 37.22.0
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.
- package/CHANGELOG.md +8 -0
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +2 -2
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-text-editor.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/text-editor/prosemirror-adapter.js +11 -9
- package/dist/collection/components/text-editor/prosemirror-adapter.js.map +1 -1
- package/dist/collection/components/text-editor/text-editor.js +9 -7
- package/dist/collection/components/text-editor/text-editor.js.map +1 -1
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/limel-prosemirror-adapter.entry.js +2 -2
- package/dist/esm/limel-prosemirror-adapter.entry.js.map +1 -1
- package/dist/esm/limel-text-editor.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p-210c09a6.entry.js.map +1 -1
- package/dist/lime-elements/{p-0f45a6cc.entry.js → p-748d97b9.entry.js} +2 -2
- package/dist/lime-elements/{p-0f45a6cc.entry.js.map → p-748d97b9.entry.js.map} +1 -1
- package/dist/types/components/text-editor/prosemirror-adapter.d.ts +2 -4
- package/dist/types/components/text-editor/text-editor.d.ts +4 -10
- package/dist/types/components.d.ts +10 -10
- package/package.json +1 -1
|
@@ -8,9 +8,7 @@ import { FormComponent } from '../form/form.types';
|
|
|
8
8
|
* @beta
|
|
9
9
|
* @private
|
|
10
10
|
*/
|
|
11
|
-
export declare class TextEditor implements FormComponent<{
|
|
12
|
-
html: string;
|
|
13
|
-
}> {
|
|
11
|
+
export declare class TextEditor implements FormComponent<string> {
|
|
14
12
|
/**
|
|
15
13
|
* Set to `true` to disable the field.
|
|
16
14
|
* Use `disabled` to indicate that the field can normally be interacted
|
|
@@ -47,17 +45,13 @@ export declare class TextEditor implements FormComponent<{
|
|
|
47
45
|
*/
|
|
48
46
|
invalid?: boolean;
|
|
49
47
|
/**
|
|
50
|
-
* Description of the text inside the editor
|
|
48
|
+
* Description of the text inside the editor as serialised HTML
|
|
51
49
|
*/
|
|
52
|
-
value:
|
|
53
|
-
html: string;
|
|
54
|
-
};
|
|
50
|
+
value: string;
|
|
55
51
|
/**
|
|
56
52
|
* Dispatched when a change is made to the editor
|
|
57
53
|
*/
|
|
58
|
-
change: EventEmitter<
|
|
59
|
-
html: string;
|
|
60
|
-
}>;
|
|
54
|
+
change: EventEmitter<string>;
|
|
61
55
|
render(): any;
|
|
62
56
|
private handleChange;
|
|
63
57
|
}
|
|
@@ -2066,9 +2066,9 @@ export namespace Components {
|
|
|
2066
2066
|
*/
|
|
2067
2067
|
interface LimelProsemirrorAdapter {
|
|
2068
2068
|
/**
|
|
2069
|
-
* The value of the editor
|
|
2069
|
+
* The value of the editor, expected to be serialised HTML
|
|
2070
2070
|
*/
|
|
2071
|
-
"value":
|
|
2071
|
+
"value": string;
|
|
2072
2072
|
}
|
|
2073
2073
|
/**
|
|
2074
2074
|
* @exampleComponent limel-example-select
|
|
@@ -2507,9 +2507,9 @@ export namespace Components {
|
|
|
2507
2507
|
*/
|
|
2508
2508
|
"readonly"?: boolean;
|
|
2509
2509
|
/**
|
|
2510
|
-
* Description of the text inside the editor
|
|
2510
|
+
* Description of the text inside the editor as serialised HTML
|
|
2511
2511
|
*/
|
|
2512
|
-
"value":
|
|
2512
|
+
"value": string;
|
|
2513
2513
|
}
|
|
2514
2514
|
/**
|
|
2515
2515
|
* A tooltip can be used to display a descriptive text for any element.
|
|
@@ -6323,11 +6323,11 @@ declare namespace LocalJSX {
|
|
|
6323
6323
|
/**
|
|
6324
6324
|
* Dispatched when a change is made to the editor
|
|
6325
6325
|
*/
|
|
6326
|
-
"onChange"?: (event: LimelProsemirrorAdapterCustomEvent<
|
|
6326
|
+
"onChange"?: (event: LimelProsemirrorAdapterCustomEvent<string>) => void;
|
|
6327
6327
|
/**
|
|
6328
|
-
* The value of the editor
|
|
6328
|
+
* The value of the editor, expected to be serialised HTML
|
|
6329
6329
|
*/
|
|
6330
|
-
"value"?:
|
|
6330
|
+
"value"?: string;
|
|
6331
6331
|
}
|
|
6332
6332
|
/**
|
|
6333
6333
|
* @exampleComponent limel-example-select
|
|
@@ -6816,7 +6816,7 @@ declare namespace LocalJSX {
|
|
|
6816
6816
|
/**
|
|
6817
6817
|
* Dispatched when a change is made to the editor
|
|
6818
6818
|
*/
|
|
6819
|
-
"onChange"?: (event: LimelTextEditorCustomEvent<
|
|
6819
|
+
"onChange"?: (event: LimelTextEditorCustomEvent<string>) => void;
|
|
6820
6820
|
/**
|
|
6821
6821
|
* The placeholder text shown inside the input field, when the field is empty.
|
|
6822
6822
|
*/
|
|
@@ -6826,9 +6826,9 @@ declare namespace LocalJSX {
|
|
|
6826
6826
|
*/
|
|
6827
6827
|
"readonly"?: boolean;
|
|
6828
6828
|
/**
|
|
6829
|
-
* Description of the text inside the editor
|
|
6829
|
+
* Description of the text inside the editor as serialised HTML
|
|
6830
6830
|
*/
|
|
6831
|
-
"value"?:
|
|
6831
|
+
"value"?: string;
|
|
6832
6832
|
}
|
|
6833
6833
|
/**
|
|
6834
6834
|
* A tooltip can be used to display a descriptive text for any element.
|