@skyux/text-editor 10.11.0 → 10.12.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,5 +1,6 @@
1
1
  import { AfterViewInit, ElementRef, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
3
+ import { SkyRequiredStateDirective } from '@skyux/forms';
3
4
  import { Subject } from 'rxjs';
4
5
  import { SkyTextEditorFont } from './types/font-state';
5
6
  import { SkyTextEditorLinkWindowOptionsType } from './types/link-window-options-type';
@@ -8,6 +9,7 @@ import { SkyTextEditorStyleState } from './types/style-state';
8
9
  import { SkyTextEditorMergeField } from './types/text-editor-merge-field';
9
10
  import { SkyTextEditorToolbarActionType } from './types/toolbar-action-type';
10
11
  import * as i0 from "@angular/core";
12
+ import * as i1 from "@skyux/forms";
11
13
  /**
12
14
  * The text editor component lets users format and manipulate text.
13
15
  */
@@ -75,6 +77,12 @@ export declare class SkyTextEditorComponent implements AfterViewInit, OnInit, On
75
77
  */
76
78
  set placeholder(value: string | undefined);
77
79
  get placeholder(): string;
80
+ /**
81
+ * Whether the text editor is stacked on another form component. When specified,
82
+ * the appropriate vertical spacing is automatically added to the text editor.
83
+ * @preview
84
+ */
85
+ stacked: boolean;
78
86
  /**
79
87
  * The actions to include in the toolbar in the specified order.
80
88
  * @default [ 'font-family', 'font-size', 'font-style', 'color', 'list', 'link ]
@@ -100,6 +108,7 @@ export declare class SkyTextEditorComponent implements AfterViewInit, OnInit, On
100
108
  protected editorFocused: boolean;
101
109
  protected readonly errorId: string;
102
110
  protected readonly ngControl: NgControl;
111
+ protected readonly requiredState: SkyRequiredStateDirective;
103
112
  constructor();
104
113
  ngAfterViewInit(): void;
105
114
  ngOnInit(): void;
@@ -122,5 +131,6 @@ export declare class SkyTextEditorComponent implements AfterViewInit, OnInit, On
122
131
  */
123
132
  setDisabledState(isDisabled: boolean): void;
124
133
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyTextEditorComponent, 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>;
134
+ 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; }; "stacked": { "alias": "stacked"; "required": false; }; "toolbarActions": { "alias": "toolbarActions"; "required": false; }; "linkWindowOptions": { "alias": "linkWindowOptions"; "required": false; }; }, {}, never, ["sky-form-error"], true, [{ directive: typeof i1.SkyRequiredStateDirective; inputs: { "required": "required"; }; outputs: {}; }]>;
135
+ static ngAcceptInputType_stacked: unknown;
126
136
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/text-editor",
3
- "version": "10.11.0",
3
+ "version": "10.12.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.11.0",
38
- "@skyux/core": "10.11.0",
39
- "@skyux/forms": "10.11.0",
40
- "@skyux/i18n": "10.11.0",
41
- "@skyux/indicators": "10.11.0",
42
- "@skyux/layout": "10.11.0",
43
- "@skyux/modals": "10.11.0",
44
- "@skyux/popovers": "10.11.0",
45
- "@skyux/tabs": "10.11.0",
46
- "@skyux/theme": "10.11.0",
47
- "@skyux/validation": "10.11.0"
37
+ "@skyux/colorpicker": "10.12.0",
38
+ "@skyux/core": "10.12.0",
39
+ "@skyux/forms": "10.12.0",
40
+ "@skyux/i18n": "10.12.0",
41
+ "@skyux/indicators": "10.12.0",
42
+ "@skyux/layout": "10.12.0",
43
+ "@skyux/modals": "10.12.0",
44
+ "@skyux/popovers": "10.12.0",
45
+ "@skyux/tabs": "10.12.0",
46
+ "@skyux/theme": "10.12.0",
47
+ "@skyux/validation": "10.12.0"
48
48
  },
49
49
  "dependencies": {
50
50
  "dompurify": "3.0.11",