@compass-framework/core 1.2.39 → 1.2.40

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.
@@ -1,7 +1,9 @@
1
1
  import { FrameLayout } from "./FrameLayout";
2
- import { EditText } from "./EditText";
2
+ import { Context } from "./Context";
3
+ import { AttributeSet } from "./AttributeSet";
4
+ import { View } from "./View";
3
5
 
4
- export class RichTextEditor extends FrameLayout {
6
+ export class EditRichText extends FrameLayout {
5
7
  public static TEXT_DECORATION_UNDERLINE: number;
6
8
  public static TEXT_DECORATION_DOUBLE: number;
7
9
  public static TEXT_DECORATION_THROUGH: number;
@@ -14,37 +16,60 @@ export class RichTextEditor extends FrameLayout {
14
16
  public static TEXT_HORIZONTAL_LEFT : number;
15
17
  public static TEXT_HORIZONTAL_RIGHT: number;
16
18
 
17
- public clearItalic(): void;
19
+ public constructor(context: Context);
20
+ public constructor(context: Context, attrs: AttributeSet);
18
21
 
19
- public clearBold(): void;
22
+ public formHTML(html: string): void;
20
23
 
21
- public clearDecoration(style: number): void;
24
+ public toHTML(): string;
22
25
 
23
- public getItalic(): boolean;
26
+ public clearSelectionDecoration(style: number): void;
24
27
 
25
- public getEditText(): EditText;
28
+ public clearSelectionBold(): void;
26
29
 
27
- public getBold(): boolean;
30
+ public clearSelectionItalic(): void;
28
31
 
29
- public getTextSize(): number;
32
+ public clearSelectionColor(): void;
30
33
 
31
- public getColor(): number;
34
+ public applySelectionColor(color: number): void;
32
35
 
33
- public getHorizontalAlign(): number;
36
+ public applySelectionItalic(): void;
34
37
 
35
- public getVerticalAlign(): number;
38
+ public applySelectionBold(): void;
39
+
40
+ public applySelectionDecoration(style: number): void;
41
+
42
+ public toggleSelectionItalic(): void;
43
+
44
+ public toggleSelectionBold(): void;
45
+
46
+ public toggleSelectionDecoration(style: number): void;
47
+
48
+ public selectionContainsBold(): boolean;
49
+
50
+ public selectionContainsItalic(): boolean;
36
51
 
37
- public setTextSize(size: number): void;
52
+ public selectionContainsDecoration(style: number): boolean;
38
53
 
39
- public setBold(): void;
54
+ public getMinimumHeight(): number;
55
+
56
+ public getMinimumWidth(): number;
57
+
58
+ public getDefaultTextSize(): number;
59
+
60
+ public getSelectionColor(): number;
61
+
62
+ public getVerticalAlign(): number;
63
+
64
+ public getHorizontalAlign(): number;
40
65
 
41
- public setItalic(): void;
66
+ public setOnFocusChangeListener(l: View.OnFocusChangeListener): void;
42
67
 
43
- public setColor(color: number): void;
68
+ public setDefaultTextSize(textSize: number): void;
44
69
 
45
- public setDecoration(style: number): void;
70
+ public setOutsideTouchable(touchable: boolean): void;
46
71
 
47
- public setHorizontalAlign(horizontal: number): void;
72
+ public setMinimumWidth(width: number): void;
48
73
 
49
- public setVerticalAlign(vertical: number): void;
74
+ public setMinimumHeight(height: number): void;
50
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compass-framework/core",
3
- "version": "1.2.39",
3
+ "version": "1.2.40",
4
4
  "description": "@compass-framework/core public api",
5
5
  "types": "./index.d.ts",
6
6
  "main": "./index.js",