@zeedhi/zd-richtext-common 1.2.3 → 1.3.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.
@@ -35,6 +35,7 @@ class RichText extends ComponentRender {
35
35
  * Component height.
36
36
  */
37
37
  this.height = '';
38
+ this.fillHeight = false;
38
39
  /**
39
40
  * Rich text content
40
41
  */
@@ -47,6 +48,7 @@ class RichText extends ComponentRender {
47
48
  this.outlined = this.getInitValue('outlined', props.outlined, this.outlined);
48
49
  this.width = this.getInitValue('width', props.width, this.width);
49
50
  this.height = this.getInitValue('height', props.height, this.height);
51
+ this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
50
52
  this.createAccessors();
51
53
  }
52
54
  onKeyDown(element, key) {
@@ -38,6 +38,7 @@
38
38
  * Component height.
39
39
  */
40
40
  this.height = '';
41
+ this.fillHeight = false;
41
42
  /**
42
43
  * Rich text content
43
44
  */
@@ -50,6 +51,7 @@
50
51
  this.outlined = this.getInitValue('outlined', props.outlined, this.outlined);
51
52
  this.width = this.getInitValue('width', props.width, this.width);
52
53
  this.height = this.getInitValue('height', props.height, this.height);
54
+ this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
53
55
  this.createAccessors();
54
56
  }
55
57
  onKeyDown(element, key) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/zd-richtext-common",
3
- "version": "1.2.3",
3
+ "version": "1.3.0",
4
4
  "description": "RichTextCommon by BVR",
5
5
  "main": "dist/rich-text-common.umd.js",
6
6
  "module": "dist/rich-text-common.esm.js",
@@ -23,5 +23,5 @@
23
23
  "@zeedhi/common": "*",
24
24
  "@zeedhi/core": "*"
25
25
  },
26
- "gitHead": "725a6d43624963e972df32f239dc3262de6e5655"
26
+ "gitHead": "ac6a6374b42d111534189e0c8d4e3d1b52266b54"
27
27
  }
@@ -9,6 +9,7 @@ export interface IRichText extends IComponentRender {
9
9
  outlined?: boolean;
10
10
  width?: number | string;
11
11
  height?: number | string;
12
+ fillHeight?: boolean;
12
13
  }
13
14
  export interface IRickTextEvents<T = IEventParam<any>> extends IComponentEvents<T> {
14
15
  onKeyDown?: IEvent<T> | string;
@@ -40,6 +40,7 @@ export declare class RichText extends ComponentRender implements IRichText {
40
40
  * Events registered to the Rich Text
41
41
  */
42
42
  events: IRickTextEvents;
43
+ fillHeight: boolean;
43
44
  constructor(props: IRichText);
44
45
  /**
45
46
  * Rich text content