@skyux/indicators 11.47.0 → 11.48.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.
@@ -9,6 +9,7 @@ export declare class SkyTextHighlightDirective implements OnChanges, AfterViewIn
9
9
  * The text to highlight.
10
10
  */
11
11
  set skyHighlight(value: string | string[] | undefined);
12
+ readonly highlight = true;
12
13
  ngOnChanges(changes: SimpleChanges): void;
13
14
  ngAfterViewInit(): void;
14
15
  ngOnDestroy(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/indicators",
3
- "version": "11.47.0",
3
+ "version": "11.48.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -41,12 +41,12 @@
41
41
  "@angular/common": "^18.2.13",
42
42
  "@angular/core": "^18.2.13",
43
43
  "@angular/platform-browser": "^18.2.13",
44
- "@skyux-sdk/testing": "11.47.0",
45
- "@skyux/core": "11.47.0",
46
- "@skyux/help-inline": "11.47.0",
47
- "@skyux/i18n": "11.47.0",
48
- "@skyux/icon": "11.47.0",
49
- "@skyux/theme": "11.47.0"
44
+ "@skyux-sdk/testing": "11.48.0",
45
+ "@skyux/core": "11.48.0",
46
+ "@skyux/help-inline": "11.48.0",
47
+ "@skyux/i18n": "11.48.0",
48
+ "@skyux/icon": "11.48.0",
49
+ "@skyux/theme": "11.48.0"
50
50
  },
51
51
  "dependencies": {
52
52
  "tslib": "^2.6.3"
@@ -0,0 +1,6 @@
1
+ import { SkyHarnessFilters } from '@skyux/core/testing';
2
+ /**
3
+ * A set of criteria that can be used to filter a list of SkyTextHighlightHarness instances.
4
+ */
5
+ export interface SkyTextHighlightHarnessFilters extends SkyHarnessFilters {
6
+ }
@@ -0,0 +1,21 @@
1
+ import { HarnessPredicate, TestElement } from '@angular/cdk/testing';
2
+ import { SkyComponentHarness } from '@skyux/core/testing';
3
+ import { SkyTextHighlightHarnessFilters } from './text-highlight-harness-filters';
4
+ /**
5
+ * Harness to interact with a text highlight directive in tests.
6
+ */
7
+ export declare class SkyTextHighlightHarness extends SkyComponentHarness {
8
+ /**
9
+ * @internal
10
+ */
11
+ static hostSelector: string;
12
+ /**
13
+ * Gets a `HarnessPredicate` that can be used to search for a
14
+ * `SkyTextHighlightHarness` that meets certain criteria.
15
+ */
16
+ static with(filters: SkyTextHighlightHarnessFilters): HarnessPredicate<SkyTextHighlightHarness>;
17
+ /**
18
+ * Gets an array of all instances of highlighted text.
19
+ */
20
+ getHighlights(): Promise<TestElement[]>;
21
+ }
@@ -12,6 +12,8 @@ export { SkyLabelHarness } from './modules/label/label-harness';
12
12
  export { SkyLabelHarnessFilters } from './modules/label/label-harness-filters';
13
13
  export { SkyStatusIndicatorHarness } from './modules/status-indicator/status-indicator-harness';
14
14
  export { SkyStatusIndicatorHarnessFilters } from './modules/status-indicator/status-indicator-harness-filters';
15
+ export { SkyTextHighlightHarness } from './modules/text-highlight/text-highlight-harness';
16
+ export { SkyTextHighlightHarnessFilters } from './modules/text-highlight/text-highlight-harness-filters';
15
17
  export { SkyTokenHarness } from './modules/tokens/token-harness';
16
18
  export { SkyTokenHarnessFilters } from './modules/tokens/token-harness-filters';
17
19
  export { SkyTokensHarness } from './modules/tokens/tokens-harness';