@skyux/lookup 12.40.0 → 12.41.1

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.
@@ -29,8 +29,10 @@ export declare class SkyAutocompleteComponent implements OnDestroy, AfterViewIni
29
29
  ariaLabelledBy: string | undefined;
30
30
  /**
31
31
  * The static data source for the autocomplete component to search
32
- * when users enter text. For a dynamic data source such as an array that
32
+ * when users enter text. For a dynamic data source, such as an array that
33
33
  * changes due to server calls, use `search` or `searchAsync` instead.
34
+ * You can specify static data, such as an array of objects,
35
+ * or you can pull data from a database.
34
36
  */
35
37
  set data(value: any[] | undefined);
36
38
  get data(): any[];
@@ -77,7 +79,7 @@ export declare class SkyAutocompleteComponent implements OnDestroy, AfterViewIni
77
79
  set propertiesToSearch(value: string[] | undefined);
78
80
  get propertiesToSearch(): string[];
79
81
  /**
80
- * The function that dynamically manages the data source when users
82
+ * The function that dynamically manages the data to display in search results when users
81
83
  * change the text in the autocomplete field. The search function must return
82
84
  * an array or a promise of an array. The `search` property is particularly
83
85
  * useful when the data source does not live in the source code.
@@ -100,11 +102,12 @@ export declare class SkyAutocompleteComponent implements OnDestroy, AfterViewIni
100
102
  set searchTextMinimumCharacters(value: number | undefined);
101
103
  get searchTextMinimumCharacters(): number;
102
104
  /**
103
- * The array of functions to call against each search result in order
104
- * to filter the search results when using the default search function. When
105
- * using the `search` property to specify a custom search function, you must
105
+ * The array of functions to call against each search result. This filters
106
+ * the search results when using the `data` input and the default search function.
107
+ * When the `search` property specifies a custom search function, you must
106
108
  * manually apply filters inside that function. The function must return `true`
107
109
  * or `false` for each result to indicate whether to display it in the dropdown list.
110
+ *
108
111
  * @deprecated We recommend against using this property. To filter results, use the `searchAsync` event instead.
109
112
  */
110
113
  set searchFilters(value: SkyAutocompleteSearchFunctionFilter[] | undefined);
@@ -135,14 +138,14 @@ export declare class SkyAutocompleteComponent implements OnDestroy, AfterViewIni
135
138
  */
136
139
  searchAsyncDisabled: boolean | undefined;
137
140
  /**
138
- * Allows the user to specify arbitrary values not in the search results.
141
+ * Allows users to specify arbitrary values not in the search results.
139
142
  * @default false
140
143
  */
141
144
  allowAnyValue: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
142
145
  /**
143
- * Highlights the search text in each search result. Set this to false
144
- * when your search finds results that are not exact text matches, e.g.
145
- * returning "Bob" for the term "Robert."
146
+ * Highlights the search text in each search result. Set this to `false`
147
+ * when your search returns results that aren't exact text matches, such as
148
+ * returning "Bob" for "Robert."
146
149
  * @default true
147
150
  */
148
151
  highlightSearchText: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
@@ -29,7 +29,7 @@ export declare class SkyLookupAutocompleteAdapter {
29
29
  set propertiesToSearch(value: string[] | undefined);
30
30
  get propertiesToSearch(): string[];
31
31
  /**
32
- * The function to dynamically manage the data source when users
32
+ * The function that dynamically manages the data to display in search results when users
33
33
  * change the text in the lookup field. The search function must return
34
34
  * an array or a promise of an array. The `search` property is particularly
35
35
  * useful when the data source does not live in the source code.
@@ -39,8 +39,8 @@ export declare class SkyLookupAutocompleteAdapter {
39
39
  get search(): SkyAutocompleteSearchFunction | undefined;
40
40
  /**
41
41
  * The template that formats each option in the dropdown list. The lookup component
42
- * injects values into the template as `item` variables that reference all the object
43
- * properties of the options.
42
+ * injects values into the template as `item` variables that reference all of the object
43
+ * properties of the search results.
44
44
  */
45
45
  searchResultTemplate: TemplateRef<unknown> | undefined;
46
46
  /**
@@ -68,7 +68,7 @@ export declare class SkyLookupAutocompleteAdapter {
68
68
  searchResultsLimit: number | undefined;
69
69
  /**
70
70
  * Fires when users enter new search information and allows results to be
71
- * returned via an observable. The event is also fired with empty search text
71
+ * returned via an observable. The event is also fired
72
72
  * when the "Show more" picker is opened without search text.
73
73
  */
74
74
  searchAsync: EventEmitter<SkyAutocompleteSearchAsyncArgs>;
@@ -36,15 +36,16 @@ export declare class SkyLookupComponent extends SkyLookupAutocompleteAdapter imp
36
36
  */
37
37
  ariaLabelledBy: string | undefined;
38
38
  /**
39
- * The value for the `autocomplete` attribute on the form input.
39
+ * The value to provide to the `autocomplete` attribute on the form input.
40
40
  * @default 'off'
41
41
  * @deprecated SKY UX only supports browser autofill on components where the direct input matches the return value. This input may not behave as expected due to the dropdown selection interaction.
42
42
  */
43
43
  autocompleteAttribute: string | undefined;
44
44
  /**
45
45
  * The data source for the lookup component to search when users
46
- * enter text. You can specify static data such as an array of objects, or
46
+ * enter text. You can specify static data, such as an array of objects, or
47
47
  * you can pull data from a database.
48
+ *
48
49
  * @default []
49
50
  * @deprecated Use the `searchAsync` event emitter and callback instead to provide data to the lookup component.
50
51
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/lookup",
3
- "version": "12.40.0",
3
+ "version": "12.41.1",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -22,16 +22,16 @@
22
22
  "@angular/core": "^19.2.14",
23
23
  "@angular/forms": "^19.2.14",
24
24
  "@angular/platform-browser": "^19.2.14",
25
- "@skyux-sdk/testing": "12.40.0",
26
- "@skyux/core": "12.40.0",
27
- "@skyux/forms": "12.40.0",
28
- "@skyux/i18n": "12.40.0",
29
- "@skyux/icon": "12.40.0",
30
- "@skyux/indicators": "12.40.0",
31
- "@skyux/layout": "12.40.0",
32
- "@skyux/lists": "12.40.0",
33
- "@skyux/modals": "12.40.0",
34
- "@skyux/theme": "12.40.0"
25
+ "@skyux-sdk/testing": "12.41.1",
26
+ "@skyux/core": "12.41.1",
27
+ "@skyux/forms": "12.41.1",
28
+ "@skyux/i18n": "12.41.1",
29
+ "@skyux/icon": "12.41.1",
30
+ "@skyux/indicators": "12.41.1",
31
+ "@skyux/layout": "12.41.1",
32
+ "@skyux/lists": "12.41.1",
33
+ "@skyux/modals": "12.41.1",
34
+ "@skyux/theme": "12.41.1"
35
35
  },
36
36
  "dependencies": {
37
37
  "intl-tel-input": "25.2.1",