@skyux/text-editor 15.0.0-alpha.0 → 15.0.0-alpha.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/text-editor",
3
- "version": "15.0.0-alpha.0",
3
+ "version": "15.0.0-alpha.1",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -16,25 +16,25 @@
16
16
  },
17
17
  "homepage": "https://github.com/blackbaud/skyux#readme",
18
18
  "peerDependencies": {
19
- "@angular/common": "^22.0.1",
20
- "@angular/core": "^22.0.1",
21
- "@angular/forms": "^22.0.1",
22
- "@angular/platform-browser": "^22.0.1",
23
- "@skyux/colorpicker": "15.0.0-alpha.0",
24
- "@skyux/core": "15.0.0-alpha.0",
25
- "@skyux/forms": "15.0.0-alpha.0",
26
- "@skyux/help-inline": "15.0.0-alpha.0",
27
- "@skyux/i18n": "15.0.0-alpha.0",
28
- "@skyux/icon": "15.0.0-alpha.0",
29
- "@skyux/layout": "15.0.0-alpha.0",
30
- "@skyux/modals": "15.0.0-alpha.0",
31
- "@skyux/popovers": "15.0.0-alpha.0",
32
- "@skyux/tabs": "15.0.0-alpha.0",
33
- "@skyux/theme": "15.0.0-alpha.0",
34
- "@skyux/validation": "15.0.0-alpha.0"
19
+ "@angular/common": "^22.0.6",
20
+ "@angular/core": "^22.0.6",
21
+ "@angular/forms": "^22.0.6",
22
+ "@angular/platform-browser": "^22.0.6",
23
+ "@skyux/colorpicker": "15.0.0-alpha.1",
24
+ "@skyux/core": "15.0.0-alpha.1",
25
+ "@skyux/forms": "15.0.0-alpha.1",
26
+ "@skyux/help-inline": "15.0.0-alpha.1",
27
+ "@skyux/i18n": "15.0.0-alpha.1",
28
+ "@skyux/icon": "15.0.0-alpha.1",
29
+ "@skyux/layout": "15.0.0-alpha.1",
30
+ "@skyux/modals": "15.0.0-alpha.1",
31
+ "@skyux/popovers": "15.0.0-alpha.1",
32
+ "@skyux/tabs": "15.0.0-alpha.1",
33
+ "@skyux/theme": "15.0.0-alpha.1",
34
+ "@skyux/validation": "15.0.0-alpha.1"
35
35
  },
36
36
  "dependencies": {
37
- "dompurify": "3.3.1",
37
+ "dompurify": "3.4.12",
38
38
  "he": "1.2.0",
39
39
  "tslib": "^2.8.1"
40
40
  },
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { AfterViewInit, OnDestroy, TemplateRef, ElementRef, OnInit } from '@angular/core';
3
- import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
3
+ import { SafeHtml } from '@angular/platform-browser';
4
4
  import { ControlValueAccessor, NgControl } from '@angular/forms';
5
5
  import * as i1 from '@skyux/forms';
6
6
  import { SkyRequiredStateDirective } from '@skyux/forms';
@@ -9,23 +9,6 @@ import { SkyDropdownMessage } from '@skyux/popovers';
9
9
  import { SkyColorpickerMessage, SkyColorpickerOutput } from '@skyux/colorpicker';
10
10
  import { SkyTabIndex } from '@skyux/tabs';
11
11
 
12
- /**
13
- * The `SkyTextSanitizationService` user the `DOMPurify` library to sanitize strings for use
14
- * in the DOM. `DOMPurify` allows more customization than Angular's internal `DomSanitizer` so we
15
- * can preserve `<style>` tags and allow `target` attributes for new tab links.
16
- * @internal
17
- */
18
- declare class SkyTextSanitizationService {
19
- #private;
20
- constructor();
21
- /**
22
- * Returns a sanitized string, allowing target attribute for new tab links.
23
- */
24
- sanitize(htmlString: string): string;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyTextSanitizationService, never>;
26
- static ɵprov: i0.ɵɵInjectableDeclaration<SkyTextSanitizationService>;
27
- }
28
-
29
12
  declare class SkyRichTextDisplayComponent {
30
13
  #private;
31
14
  /**
@@ -33,7 +16,6 @@ declare class SkyRichTextDisplayComponent {
33
16
  */
34
17
  set richText(value: string | undefined);
35
18
  sanitizedText: SafeHtml;
36
- constructor(sanitizer: DomSanitizer, sanitizationService: SkyTextSanitizationService);
37
19
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyRichTextDisplayComponent, never>;
38
20
  static ɵcmp: i0.ɵɵComponentDeclaration<SkyRichTextDisplayComponent, "sky-rich-text-display", never, { "richText": { "alias": "richText"; "required": false; }; }, {}, never, never, false, never>;
39
21
  }