@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.
@@ -13,11 +13,9 @@
13
13
  */
14
14
  export declare class ProsemirrorAdapter {
15
15
  /**
16
- * The value of the editor
16
+ * The value of the editor, expected to be serialised HTML
17
17
  */
18
- value: {
19
- html: string;
20
- };
18
+ value: string;
21
19
  private host;
22
20
  private view;
23
21
  /**
@@ -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": { html: string };
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": { html: string };
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<{ html: string }>) => void;
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"?: { html: string };
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<{ html: string }>) => void;
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"?: { html: string };
6831
+ "value"?: string;
6832
6832
  }
6833
6833
  /**
6834
6834
  * A tooltip can be used to display a descriptive text for any element.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-elements",
3
- "version": "37.21.0",
3
+ "version": "37.22.0",
4
4
  "description": "Lime Elements",
5
5
  "author": "Lime Technologies",
6
6
  "license": "Apache-2.0",