@skyux/lookup 11.5.0 → 11.7.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/lookup",
3
- "version": "11.5.0",
3
+ "version": "11.7.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -42,16 +42,16 @@
42
42
  "@angular/core": "^18.2.5",
43
43
  "@angular/forms": "^18.2.5",
44
44
  "@angular/platform-browser": "^18.2.5",
45
- "@skyux-sdk/testing": "11.5.0",
46
- "@skyux/core": "11.5.0",
47
- "@skyux/forms": "11.5.0",
48
- "@skyux/i18n": "11.5.0",
49
- "@skyux/icon": "11.5.0",
50
- "@skyux/indicators": "11.5.0",
51
- "@skyux/layout": "11.5.0",
52
- "@skyux/lists": "11.5.0",
53
- "@skyux/modals": "11.5.0",
54
- "@skyux/theme": "11.5.0"
45
+ "@skyux-sdk/testing": "11.7.0",
46
+ "@skyux/core": "11.7.0",
47
+ "@skyux/forms": "11.7.0",
48
+ "@skyux/i18n": "11.7.0",
49
+ "@skyux/icon": "11.7.0",
50
+ "@skyux/indicators": "11.7.0",
51
+ "@skyux/layout": "11.7.0",
52
+ "@skyux/lists": "11.7.0",
53
+ "@skyux/modals": "11.7.0",
54
+ "@skyux/theme": "11.7.0"
55
55
  },
56
56
  "dependencies": {
57
57
  "intl-tel-input": "24.4.0",
@@ -1,7 +1,6 @@
1
1
  import { SkyHarnessFilters } from '@skyux/core/testing';
2
2
  /**
3
3
  * A set of criteria that can be used to filter a list of SkyAutocompleteHarness instances.
4
- * @internal
5
4
  */
6
5
  export interface SkyAutocompleteHarnessFilters extends SkyHarnessFilters {
7
6
  }
@@ -5,7 +5,6 @@ import { SkyAutocompleteSearchResultHarness } from './autocomplete-search-result
5
5
  import { SkyAutocompleteSearchResultHarnessFilters } from './autocomplete-search-result-harness-filters';
6
6
  /**
7
7
  * Harness for interacting with an autocomplete component in tests.
8
- * @internal
9
8
  */
10
9
  export declare class SkyAutocompleteHarness extends SkyComponentHarness {
11
10
  #private;
@@ -23,7 +22,7 @@ export declare class SkyAutocompleteHarness extends SkyComponentHarness {
23
22
  */
24
23
  blur(): Promise<void>;
25
24
  /**
26
- * Clears the input value.
25
+ * Clears the autocomplete input value.
27
26
  */
28
27
  clear(): Promise<void>;
29
28
  /**
@@ -35,17 +34,25 @@ export declare class SkyAutocompleteHarness extends SkyComponentHarness {
35
34
  */
36
35
  focus(): Promise<void>;
37
36
  /**
38
- * Returns search result harnesses.
37
+ * Gets the autocomplete `aria-labelledby` value.
38
+ */
39
+ getAriaLabelledby(): Promise<string | null>;
40
+ /**
41
+ * Returns autocomplete search result harnesses.
39
42
  */
40
43
  getSearchResults(filters?: SkyAutocompleteSearchResultHarnessFilters): Promise<SkyAutocompleteSearchResultHarness[]>;
41
44
  /**
42
- * Returns the text content for each search result.
45
+ * Returns the text content for each autocomplete search result.
43
46
  */
44
47
  getSearchResultsText(filters?: SkyAutocompleteSearchResultHarnessFilters): Promise<string[]>;
45
48
  /**
46
49
  * Gets the value of the autocomplete input.
47
50
  */
48
51
  getValue(): Promise<string>;
52
+ /**
53
+ * Gets the text displayed when no search results are found.
54
+ */
55
+ getNoResultsFoundText(): Promise<string | undefined>;
49
56
  /**
50
57
  * Whether the autocomplete input is disabled.
51
58
  */
@@ -69,6 +76,7 @@ export declare class SkyAutocompleteHarness extends SkyComponentHarness {
69
76
  * to prevent consumers of the autocomplete harness from calling it.
70
77
  * The lookup harness, which extends the autocomplete harness, may
71
78
  * still access this feature, however.)
79
+ * @internal
72
80
  */
73
81
  protected clickAddButton(): Promise<void>;
74
82
  /**
@@ -78,6 +86,7 @@ export declare class SkyAutocompleteHarness extends SkyComponentHarness {
78
86
  * to prevent consumers of the autocomplete harness from calling it.
79
87
  * The lookup harness, which extends the autocomplete harness, may
80
88
  * still access this feature, however.)
89
+ * @internal
81
90
  */
82
91
  protected clickShowMoreButton(): Promise<void>;
83
92
  }
@@ -1,5 +1,8 @@
1
1
  import { ComponentHarness } from '@angular/cdk/testing';
2
2
  /**
3
+ * Harness to interact with the autocomplete input harness.
4
+ *
5
+ * This harness is marked as internal as all relevant functions are exposed to consumers through the `SkyAutocompleteHarness` functions.
3
6
  * @internal
4
7
  */
5
8
  export declare class SkyAutocompleteInputHarness extends ComponentHarness {
@@ -2,8 +2,7 @@ import { HarnessPredicate } from '@angular/cdk/testing';
2
2
  import { SkyQueryableComponentHarness } from '@skyux/core/testing';
3
3
  import { SkyAutocompleteSearchResultHarnessFilters } from './autocomplete-search-result-harness-filters';
4
4
  /**
5
- * Harness for interacting with an autocomplete search results in tests.
6
- * @internal
5
+ * Harness for interacting with an autocomplete search result in tests.
7
6
  */
8
7
  export declare class SkyAutocompleteSearchResultHarness extends SkyQueryableComponentHarness {
9
8
  /**