@skyux/text-editor 10.7.0 → 10.9.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.
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, ElementRef, OnDestroy, TemplateRef } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
3
3
  import { Subject } from 'rxjs';
4
4
  import { SkyTextEditorFont } from './types/font-state';
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
11
11
  /**
12
12
  * The text editor component lets users format and manipulate text.
13
13
  */
14
- export declare class SkyTextEditorComponent implements AfterViewInit, OnDestroy, ControlValueAccessor {
14
+ export declare class SkyTextEditorComponent implements AfterViewInit, OnInit, OnDestroy, ControlValueAccessor {
15
15
  #private;
16
16
  /**
17
17
  * Whether to put focus on the editor after it renders.
@@ -36,6 +36,12 @@ export declare class SkyTextEditorComponent implements AfterViewInit, OnDestroy,
36
36
  */
37
37
  set fontSizeList(value: number[] | undefined);
38
38
  get fontSizeList(): number[];
39
+ /**
40
+ * [Persistent inline help text](https://developer.blackbaud.com/skyux/design/guidelines/user-assistance#inline-help) that provides
41
+ * additional context to the user.
42
+ * @preview
43
+ */
44
+ hintText: string | undefined;
39
45
  /**
40
46
  * The unique ID attribute for the text editor.
41
47
  * By default, the component generates a random ID.
@@ -90,11 +96,13 @@ export declare class SkyTextEditorComponent implements AfterViewInit, OnDestroy,
90
96
  inputTemplateRef: TemplateRef<unknown> | undefined;
91
97
  editorFocusStream: Subject<void>;
92
98
  formControlClass: boolean;
99
+ display: string | undefined;
93
100
  protected editorFocused: boolean;
94
101
  protected readonly errorId: string;
95
102
  protected readonly ngControl: NgControl;
96
103
  constructor();
97
104
  ngAfterViewInit(): void;
105
+ ngOnInit(): void;
98
106
  ngOnDestroy(): void;
99
107
  onIframeLoad(): void;
100
108
  /**
@@ -114,5 +122,5 @@ export declare class SkyTextEditorComponent implements AfterViewInit, OnDestroy,
114
122
  */
115
123
  setDisabledState(isDisabled: boolean): void;
116
124
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyTextEditorComponent, never>;
117
- static ɵcmp: i0.ɵɵComponentDeclaration<SkyTextEditorComponent, "sky-text-editor", never, { "autofocus": { "alias": "autofocus"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "fontList": { "alias": "fontList"; "required": false; }; "fontSizeList": { "alias": "fontSizeList"; "required": false; }; "id": { "alias": "id"; "required": false; }; "initialStyleState": { "alias": "initialStyleState"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "menus": { "alias": "menus"; "required": false; }; "mergeFields": { "alias": "mergeFields"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "toolbarActions": { "alias": "toolbarActions"; "required": false; }; "linkWindowOptions": { "alias": "linkWindowOptions"; "required": false; }; }, {}, never, ["sky-form-error"], true, never>;
125
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyTextEditorComponent, "sky-text-editor", never, { "autofocus": { "alias": "autofocus"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "fontList": { "alias": "fontList"; "required": false; }; "fontSizeList": { "alias": "fontSizeList"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "id": { "alias": "id"; "required": false; }; "initialStyleState": { "alias": "initialStyleState"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "menus": { "alias": "menus"; "required": false; }; "mergeFields": { "alias": "mergeFields"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "toolbarActions": { "alias": "toolbarActions"; "required": false; }; "linkWindowOptions": { "alias": "linkWindowOptions"; "required": false; }; }, {}, never, ["sky-form-error"], true, never>;
118
126
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/text-editor",
3
- "version": "10.7.0",
3
+ "version": "10.9.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -34,17 +34,17 @@
34
34
  "@angular/core": "^17.3.4",
35
35
  "@angular/forms": "^17.3.4",
36
36
  "@angular/platform-browser": "^17.3.4",
37
- "@skyux/colorpicker": "10.7.0",
38
- "@skyux/core": "10.7.0",
39
- "@skyux/forms": "10.7.0",
40
- "@skyux/i18n": "10.7.0",
41
- "@skyux/indicators": "10.7.0",
42
- "@skyux/layout": "10.7.0",
43
- "@skyux/modals": "10.7.0",
44
- "@skyux/popovers": "10.7.0",
45
- "@skyux/tabs": "10.7.0",
46
- "@skyux/theme": "10.7.0",
47
- "@skyux/validation": "10.7.0"
37
+ "@skyux/colorpicker": "10.9.0",
38
+ "@skyux/core": "10.9.0",
39
+ "@skyux/forms": "10.9.0",
40
+ "@skyux/i18n": "10.9.0",
41
+ "@skyux/indicators": "10.9.0",
42
+ "@skyux/layout": "10.9.0",
43
+ "@skyux/modals": "10.9.0",
44
+ "@skyux/popovers": "10.9.0",
45
+ "@skyux/tabs": "10.9.0",
46
+ "@skyux/theme": "10.9.0",
47
+ "@skyux/validation": "10.9.0"
48
48
  },
49
49
  "dependencies": {
50
50
  "dompurify": "3.0.11",