@skyux/lookup 5.2.1 → 5.2.2
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/bundles/skyux-lookup.umd.js +10 -9
- package/documentation.json +60 -34
- package/esm2015/modules/autocomplete/autocomplete.component.js +3 -3
- package/esm2015/modules/country-field/country-field.component.js +3 -2
- package/esm2015/modules/lookup/lookup-autocomplete-adapter.js +3 -3
- package/esm2015/modules/lookup/types/lookup-show-more-native-picker-config.js +1 -1
- package/esm2015/modules/search/search.component.js +5 -5
- package/fesm2015/skyux-lookup.js +10 -9
- package/fesm2015/skyux-lookup.js.map +1 -1
- package/modules/autocomplete/autocomplete.component.d.ts +3 -3
- package/modules/country-field/country-field.component.d.ts +3 -2
- package/modules/lookup/lookup-autocomplete-adapter.d.ts +2 -2
- package/modules/lookup/types/lookup-show-more-native-picker-config.d.ts +1 -1
- package/modules/search/search.component.d.ts +5 -5
- package/package.json +4 -4
|
@@ -47,7 +47,7 @@ export declare class SkyAutocompleteComponent implements OnDestroy, AfterContent
|
|
|
47
47
|
/**
|
|
48
48
|
* Specifies an object property to display in the text input after users
|
|
49
49
|
* select an item in the dropdown list.
|
|
50
|
-
* @default name
|
|
50
|
+
* @default "name"
|
|
51
51
|
*/
|
|
52
52
|
set descriptorProperty(value: string);
|
|
53
53
|
get descriptorProperty(): string;
|
|
@@ -68,7 +68,7 @@ export declare class SkyAutocompleteComponent implements OnDestroy, AfterContent
|
|
|
68
68
|
wrapperClass?: string;
|
|
69
69
|
/**
|
|
70
70
|
* Specifies the object properties to search.
|
|
71
|
-
* @default [
|
|
71
|
+
* @default ["name"]
|
|
72
72
|
*/
|
|
73
73
|
set propertiesToSearch(value: string[]);
|
|
74
74
|
get propertiesToSearch(): string[];
|
|
@@ -116,7 +116,7 @@ export declare class SkyAutocompleteComponent implements OnDestroy, AfterContent
|
|
|
116
116
|
showAddButton: boolean;
|
|
117
117
|
/**
|
|
118
118
|
* Specifies the text to display when no search results are found.
|
|
119
|
-
* @default No matches found
|
|
119
|
+
* @default "No matches found"
|
|
120
120
|
*/
|
|
121
121
|
noResultsFoundText: string;
|
|
122
122
|
/**
|
|
@@ -17,19 +17,20 @@ export declare class SkyCountryFieldComponent implements AfterViewInit, ControlV
|
|
|
17
17
|
private themeSvc?;
|
|
18
18
|
/**
|
|
19
19
|
* Specifies the value for the `autocomplete` attribute on the form input.
|
|
20
|
-
* @default
|
|
20
|
+
* @default "off"
|
|
21
21
|
*/
|
|
22
22
|
autocompleteAttribute: string;
|
|
23
23
|
/**
|
|
24
24
|
* Specifies the [International Organization for Standardization Alpha 2](https://www.nationsonline.org/oneworld/country_code_list.htm)
|
|
25
25
|
* country code for the default country.
|
|
26
26
|
* When search results include the default country, it appears at the top of the list.
|
|
27
|
-
* @default us
|
|
27
|
+
* @default "us"
|
|
28
28
|
*/
|
|
29
29
|
set defaultCountry(value: string);
|
|
30
30
|
get defaultCountry(): string;
|
|
31
31
|
/**
|
|
32
32
|
* Indicates whether to disable the country field.
|
|
33
|
+
* @default false
|
|
33
34
|
*/
|
|
34
35
|
set disabled(isDisabled: boolean);
|
|
35
36
|
get disabled(): boolean;
|
|
@@ -16,13 +16,13 @@ export declare class SkyLookupAutocompleteAdapter {
|
|
|
16
16
|
/**
|
|
17
17
|
* Specifies an object property to display in the text input after users
|
|
18
18
|
* select an item in the dropdown list.
|
|
19
|
-
* @default name
|
|
19
|
+
* @default "name"
|
|
20
20
|
*/
|
|
21
21
|
set descriptorProperty(value: string);
|
|
22
22
|
get descriptorProperty(): string;
|
|
23
23
|
/**
|
|
24
24
|
* Specifies an array of object properties to search.
|
|
25
|
-
* @default [
|
|
25
|
+
* @default ["name"]
|
|
26
26
|
*/
|
|
27
27
|
set propertiesToSearch(value: string[]);
|
|
28
28
|
get propertiesToSearch(): string[];
|
|
@@ -13,7 +13,7 @@ export interface SkyLookupShowMoreNativePickerConfig {
|
|
|
13
13
|
itemTemplate?: TemplateRef<any>;
|
|
14
14
|
/**
|
|
15
15
|
* Specifies a title for the picker.
|
|
16
|
-
* @default
|
|
16
|
+
* @default "Select an option/Select options"
|
|
17
17
|
*/
|
|
18
18
|
title?: string;
|
|
19
19
|
}
|
|
@@ -27,10 +27,10 @@ export declare class SkySearchComponent implements OnDestroy, OnInit, OnChanges
|
|
|
27
27
|
searchText: string;
|
|
28
28
|
/**
|
|
29
29
|
* Specifies the expand mode for the search input. The valid options
|
|
30
|
-
* include `responsive` to collapse the search input into a button on
|
|
31
|
-
* mobile devices, `none` to *not* collapse the search input on mobile
|
|
32
|
-
* devices, and `fit` to extend the search input to fit the width of its container.
|
|
33
|
-
* @default responsive
|
|
30
|
+
* include `"responsive"` to collapse the search input into a button on
|
|
31
|
+
* mobile devices, `"none"` to *not* collapse the search input on mobile
|
|
32
|
+
* devices, and `"fit"` to extend the search input to fit the width of its container.
|
|
33
|
+
* @default "responsive"
|
|
34
34
|
*/
|
|
35
35
|
expandMode: string;
|
|
36
36
|
/**
|
|
@@ -48,7 +48,7 @@ export declare class SkySearchComponent implements OnDestroy, OnInit, OnChanges
|
|
|
48
48
|
/**
|
|
49
49
|
* Specifies placeholder text to display in the search input until users
|
|
50
50
|
* enter search criteria.
|
|
51
|
-
* @default Find in this list
|
|
51
|
+
* @default "Find in this list"
|
|
52
52
|
*/
|
|
53
53
|
placeholderText: string;
|
|
54
54
|
inputAnimate: string;
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/lookup",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^12.2.16",
|
|
6
6
|
"@angular/core": "^12.2.16",
|
|
7
7
|
"@angular/router": "^12.2.16",
|
|
8
8
|
"@skyux/core": "^5.2.3",
|
|
9
|
-
"@skyux/modals": "^5.0.
|
|
9
|
+
"@skyux/modals": "^5.0.5",
|
|
10
10
|
"@skyux/forms": "^5.0.2",
|
|
11
|
-
"@skyux/i18n": "^5.0.
|
|
12
|
-
"@skyux/indicators": "^5.
|
|
11
|
+
"@skyux/i18n": "^5.0.2",
|
|
12
|
+
"@skyux/indicators": "^5.3.0",
|
|
13
13
|
"@skyux/layout": "^5.2.2",
|
|
14
14
|
"@skyux/lists": "^5.1.0",
|
|
15
15
|
"@skyux/theme": "^5.0.5"
|