@skyux/lookup 8.9.0 → 8.10.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.
@@ -6,6 +6,21 @@ import { SkySearchAdapterService } from './search-adapter.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class SkySearchComponent implements OnDestroy, OnInit, OnChanges {
8
8
  #private;
9
+ /**
10
+ * The ARIA label for the search. This sets the search's `aria-label` attribute to provide a text equivalent for screen readers
11
+ * [to support accessibility](https://developer.blackbaud.com/skyux/learn/accessibility).
12
+ * If the box includes a visible label, use `ariaLabelledBy` instead.
13
+ * For more information about the `aria-label` attribute, see the [WAI-ARIA definition](https://www.w3.org/TR/wai-aria/#aria-label).
14
+ */
15
+ ariaLabel: string | undefined;
16
+ /**
17
+ * The HTML element ID of the element that labels
18
+ * the search. This sets the search's `aria-labelledby` attribute to provide a text equivalent for screen readers
19
+ * [to support accessibility](https://developer.blackbaud.com/skyux/learn/accessibility).
20
+ * If the box does not include a visible label, use `ariaLabel` instead.
21
+ * For more information about the `aria-labelledby` attribute, see the [WAI-ARIA definition](https://www.w3.org/TR/wai-aria/#aria-labelledby).
22
+ */
23
+ ariaLabelledBy: string | undefined;
9
24
  /**
10
25
  * Fires when the search text is applied.
11
26
  */
@@ -69,5 +84,5 @@ export declare class SkySearchComponent implements OnDestroy, OnInit, OnChanges
69
84
  inputAnimationEnd(event: AnimationEvent): void;
70
85
  ngOnDestroy(): void;
71
86
  static ɵfac: i0.ɵɵFactoryDeclaration<SkySearchComponent, never>;
72
- static ɵcmp: i0.ɵɵComponentDeclaration<SkySearchComponent, "sky-search", never, { "searchText": "searchText"; "expandMode": "expandMode"; "debounceTime": "debounceTime"; "disabled": "disabled"; "placeholderText": "placeholderText"; }, { "searchApply": "searchApply"; "searchChange": "searchChange"; "searchClear": "searchClear"; }, never, never, false, never>;
87
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkySearchComponent, "sky-search", never, { "ariaLabel": "ariaLabel"; "ariaLabelledBy": "ariaLabelledBy"; "searchText": "searchText"; "expandMode": "expandMode"; "debounceTime": "debounceTime"; "disabled": "disabled"; "placeholderText": "placeholderText"; }, { "searchApply": "searchApply"; "searchChange": "searchChange"; "searchClear": "searchClear"; }, never, never, false, never>;
73
88
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/lookup",
3
- "version": "8.9.0",
3
+ "version": "8.10.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -46,15 +46,15 @@
46
46
  "@angular/core": "^15.2.9",
47
47
  "@angular/forms": "^15.2.9",
48
48
  "@angular/platform-browser": "^15.2.9",
49
- "@skyux-sdk/testing": "8.9.0",
50
- "@skyux/core": "8.9.0",
51
- "@skyux/forms": "8.9.0",
52
- "@skyux/i18n": "8.9.0",
53
- "@skyux/indicators": "8.9.0",
54
- "@skyux/layout": "8.9.0",
55
- "@skyux/lists": "8.9.0",
56
- "@skyux/modals": "8.9.0",
57
- "@skyux/theme": "8.9.0"
49
+ "@skyux-sdk/testing": "8.10.0",
50
+ "@skyux/core": "8.10.0",
51
+ "@skyux/forms": "8.10.0",
52
+ "@skyux/i18n": "8.10.0",
53
+ "@skyux/indicators": "8.10.0",
54
+ "@skyux/layout": "8.10.0",
55
+ "@skyux/lists": "8.10.0",
56
+ "@skyux/modals": "8.10.0",
57
+ "@skyux/theme": "8.10.0"
58
58
  },
59
59
  "dependencies": {
60
60
  "intl-tel-input": "17.0.21",
@@ -32,6 +32,14 @@ export declare class SkySearchHarness extends SkyComponentHarness {
32
32
  * Focuses the input.
33
33
  */
34
34
  focus(): Promise<void>;
35
+ /**
36
+ * Gets the search's aria-label.
37
+ */
38
+ getAriaLabel(): Promise<string | null>;
39
+ /**
40
+ * Gets the search's aria-labelledby.
41
+ */
42
+ getAriaLabelledby(): Promise<string | null>;
35
43
  /**
36
44
  * Gets the value of the input's placeholder attribute.
37
45
  */