@skyux/lookup 11.15.0 → 11.16.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/documentation.json +2495 -2045
- package/esm2022/lib/modules/search/search.component.mjs +33 -32
- package/esm2022/testing/autocomplete/autocomplete-harness.mjs +15 -2
- package/esm2022/testing/autocomplete/autocomplete-input-harness.mjs +3 -52
- package/fesm2022/skyux-lookup-testing.mjs +17 -53
- package/fesm2022/skyux-lookup-testing.mjs.map +1 -1
- package/fesm2022/skyux-lookup.mjs +39 -38
- package/fesm2022/skyux-lookup.mjs.map +1 -1
- package/lib/modules/search/search.component.d.ts +3 -4
- package/package.json +11 -11
- package/testing/autocomplete/autocomplete-harness.d.ts +12 -0
- package/testing/autocomplete/autocomplete-input-harness.d.ts +2 -33
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnimationEvent } from '@angular/animations';
|
|
2
2
|
import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
3
|
-
import { SkyContentInfo
|
|
4
|
-
import { Observable
|
|
3
|
+
import { SkyContentInfo } from '@skyux/core';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
5
|
import { SkySearchAdapterService } from './search-adapter.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class SkySearchComponent implements OnDestroy, OnInit, OnChanges {
|
|
@@ -66,7 +66,6 @@ export declare class SkySearchComponent implements OnDestroy, OnInit, OnChanges
|
|
|
66
66
|
* @default "Find in this list"
|
|
67
67
|
*/
|
|
68
68
|
placeholderText: string | undefined;
|
|
69
|
-
breakpointSubscription: Subscription | undefined;
|
|
70
69
|
clearButtonShown: boolean;
|
|
71
70
|
dismissButtonShown: boolean;
|
|
72
71
|
inputAnimate: string;
|
|
@@ -75,7 +74,7 @@ export declare class SkySearchComponent implements OnDestroy, OnInit, OnChanges
|
|
|
75
74
|
mobileSearchShown: boolean;
|
|
76
75
|
searchButtonShown: boolean;
|
|
77
76
|
protected contentInfoObs: Observable<SkyContentInfo> | undefined;
|
|
78
|
-
constructor(
|
|
77
|
+
constructor(elRef: ElementRef, searchAdapter: SkySearchAdapterService, changeRef: ChangeDetectorRef);
|
|
79
78
|
ngOnInit(): void;
|
|
80
79
|
ngOnChanges(changes: SimpleChanges): void;
|
|
81
80
|
clearSearchText(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/lookup",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.16.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -42,16 +42,16 @@
|
|
|
42
42
|
"@angular/core": "^18.2.8",
|
|
43
43
|
"@angular/forms": "^18.2.8",
|
|
44
44
|
"@angular/platform-browser": "^18.2.8",
|
|
45
|
-
"@skyux-sdk/testing": "11.
|
|
46
|
-
"@skyux/core": "11.
|
|
47
|
-
"@skyux/forms": "11.
|
|
48
|
-
"@skyux/i18n": "11.
|
|
49
|
-
"@skyux/icon": "11.
|
|
50
|
-
"@skyux/indicators": "11.
|
|
51
|
-
"@skyux/layout": "11.
|
|
52
|
-
"@skyux/lists": "11.
|
|
53
|
-
"@skyux/modals": "11.
|
|
54
|
-
"@skyux/theme": "11.
|
|
45
|
+
"@skyux-sdk/testing": "11.16.0",
|
|
46
|
+
"@skyux/core": "11.16.0",
|
|
47
|
+
"@skyux/forms": "11.16.0",
|
|
48
|
+
"@skyux/i18n": "11.16.0",
|
|
49
|
+
"@skyux/icon": "11.16.0",
|
|
50
|
+
"@skyux/indicators": "11.16.0",
|
|
51
|
+
"@skyux/layout": "11.16.0",
|
|
52
|
+
"@skyux/lists": "11.16.0",
|
|
53
|
+
"@skyux/modals": "11.16.0",
|
|
54
|
+
"@skyux/theme": "11.16.0"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"intl-tel-input": "24.4.0",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
2
2
|
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
3
3
|
import { SkyAutocompleteHarnessFilters } from './autocomplete-harness-filters';
|
|
4
|
+
import { SkyAutocompleteInputHarness } from './autocomplete-input-harness';
|
|
4
5
|
import { SkyAutocompleteSearchResultHarness } from './autocomplete-search-result-harness';
|
|
5
6
|
import { SkyAutocompleteSearchResultHarnessFilters } from './autocomplete-search-result-harness-filters';
|
|
6
7
|
/**
|
|
@@ -19,24 +20,32 @@ export declare class SkyAutocompleteHarness extends SkyComponentHarness {
|
|
|
19
20
|
static with(filters: SkyAutocompleteHarnessFilters): HarnessPredicate<SkyAutocompleteHarness>;
|
|
20
21
|
/**
|
|
21
22
|
* Blurs the autocomplete input.
|
|
23
|
+
* @deprecated Call `await (await autocomplete.getControl()).blur()` instead.
|
|
22
24
|
*/
|
|
23
25
|
blur(): Promise<void>;
|
|
24
26
|
/**
|
|
25
27
|
* Clears the autocomplete input value.
|
|
28
|
+
* @deprecated Call `await (await autocomplete.getControl()).clear()` instead.
|
|
26
29
|
*/
|
|
27
30
|
clear(): Promise<void>;
|
|
28
31
|
/**
|
|
29
32
|
* Enters text into the autocomplete input.
|
|
33
|
+
* @deprecated Call `await (await autocomplete.getControl()).setValue()` instead.
|
|
30
34
|
*/
|
|
31
35
|
enterText(value: string): Promise<void>;
|
|
32
36
|
/**
|
|
33
37
|
* Focuses the autocomplete input.
|
|
38
|
+
* @deprecated Call `await (await autocomplete.getControl()).focus()` instead.
|
|
34
39
|
*/
|
|
35
40
|
focus(): Promise<void>;
|
|
36
41
|
/**
|
|
37
42
|
* Gets the autocomplete `aria-labelledby` value.
|
|
38
43
|
*/
|
|
39
44
|
getAriaLabelledby(): Promise<string | null>;
|
|
45
|
+
/**
|
|
46
|
+
* Gets the autocomplete input harness.
|
|
47
|
+
*/
|
|
48
|
+
getControl(): Promise<SkyAutocompleteInputHarness>;
|
|
40
49
|
/**
|
|
41
50
|
* Returns autocomplete search result harnesses.
|
|
42
51
|
*/
|
|
@@ -47,6 +56,7 @@ export declare class SkyAutocompleteHarness extends SkyComponentHarness {
|
|
|
47
56
|
getSearchResultsText(filters?: SkyAutocompleteSearchResultHarnessFilters): Promise<string[]>;
|
|
48
57
|
/**
|
|
49
58
|
* Gets the value of the autocomplete input.
|
|
59
|
+
* @deprecated Call `await (await autocomplete.getControl()).getValue()` instead.
|
|
50
60
|
*/
|
|
51
61
|
getValue(): Promise<string>;
|
|
52
62
|
/**
|
|
@@ -55,10 +65,12 @@ export declare class SkyAutocompleteHarness extends SkyComponentHarness {
|
|
|
55
65
|
getNoResultsFoundText(): Promise<string | undefined>;
|
|
56
66
|
/**
|
|
57
67
|
* Whether the autocomplete input is disabled.
|
|
68
|
+
* @deprecated Call `await (await autocomplete.getControl()).isDisabled()` instead.
|
|
58
69
|
*/
|
|
59
70
|
isDisabled(): Promise<boolean>;
|
|
60
71
|
/**
|
|
61
72
|
* Whether the autocomplete input is focused.
|
|
73
|
+
* @deprecated Call `await (await autocomplete.getControl()).isFocused()` instead.
|
|
62
74
|
*/
|
|
63
75
|
isFocused(): Promise<boolean>;
|
|
64
76
|
/**
|
|
@@ -1,43 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SkyInputHarness } from '@skyux/core/testing';
|
|
2
2
|
/**
|
|
3
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.
|
|
6
|
-
* @internal
|
|
7
4
|
*/
|
|
8
|
-
export declare class SkyAutocompleteInputHarness extends
|
|
5
|
+
export declare class SkyAutocompleteInputHarness extends SkyInputHarness {
|
|
9
6
|
/**
|
|
10
7
|
* @internal
|
|
11
8
|
*/
|
|
12
9
|
static hostSelector: string;
|
|
13
|
-
/**
|
|
14
|
-
* Blurs the input.
|
|
15
|
-
*/
|
|
16
|
-
blur(): Promise<void>;
|
|
17
|
-
/**
|
|
18
|
-
* Clears the input value.
|
|
19
|
-
*/
|
|
20
|
-
clear(): Promise<void>;
|
|
21
|
-
/**
|
|
22
|
-
* Enters text into the input.
|
|
23
|
-
*/
|
|
24
|
-
enterText(value: string): Promise<void>;
|
|
25
|
-
/**
|
|
26
|
-
* Focuses the input.
|
|
27
|
-
*/
|
|
28
|
-
focus(): Promise<void>;
|
|
29
|
-
/**
|
|
30
|
-
* Gets the value of the input.
|
|
31
|
-
*/
|
|
32
|
-
getValue(): Promise<string>;
|
|
33
|
-
/**
|
|
34
|
-
* Whether the input is disabled.
|
|
35
|
-
*/
|
|
36
|
-
isDisabled(): Promise<boolean>;
|
|
37
|
-
/**
|
|
38
|
-
* Whether the input is focused.
|
|
39
|
-
*/
|
|
40
|
-
isFocused(): Promise<boolean>;
|
|
41
10
|
/**
|
|
42
11
|
* Returns the value of the input's `aria-controls` attribute.
|
|
43
12
|
*/
|