@skyux/lookup 13.0.0 → 13.1.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/index.d.ts CHANGED
@@ -227,8 +227,10 @@ declare class SkyAutocompleteComponent implements OnDestroy, AfterViewInit {
227
227
  ariaLabelledBy: string | undefined;
228
228
  /**
229
229
  * The static data source for the autocomplete component to search
230
- * when users enter text. For a dynamic data source such as an array that
230
+ * when users enter text. For a dynamic data source, such as an array that
231
231
  * changes due to server calls, use `search` or `searchAsync` instead.
232
+ * You can specify static data, such as an array of objects,
233
+ * or you can pull data from a database.
232
234
  */
233
235
  set data(value: any[] | undefined);
234
236
  get data(): any[];
@@ -275,7 +277,7 @@ declare class SkyAutocompleteComponent implements OnDestroy, AfterViewInit {
275
277
  set propertiesToSearch(value: string[] | undefined);
276
278
  get propertiesToSearch(): string[];
277
279
  /**
278
- * The function that dynamically manages the data source when users
280
+ * The function that dynamically manages the data to display in search results when users
279
281
  * change the text in the autocomplete field. The search function must return
280
282
  * an array or a promise of an array. The `search` property is particularly
281
283
  * useful when the data source does not live in the source code.
@@ -298,11 +300,12 @@ declare class SkyAutocompleteComponent implements OnDestroy, AfterViewInit {
298
300
  set searchTextMinimumCharacters(value: number | undefined);
299
301
  get searchTextMinimumCharacters(): number;
300
302
  /**
301
- * The array of functions to call against each search result in order
302
- * to filter the search results when using the default search function. When
303
- * using the `search` property to specify a custom search function, you must
303
+ * The array of functions to call against each search result. This filters
304
+ * the search results when using the `data` input and the default search function.
305
+ * When the `search` property specifies a custom search function, you must
304
306
  * manually apply filters inside that function. The function must return `true`
305
307
  * or `false` for each result to indicate whether to display it in the dropdown list.
308
+ *
306
309
  * @deprecated We recommend against using this property. To filter results, use the `searchAsync` event instead.
307
310
  */
308
311
  set searchFilters(value: SkyAutocompleteSearchFunctionFilter[] | undefined);
@@ -340,9 +343,9 @@ declare class SkyAutocompleteComponent implements OnDestroy, AfterViewInit {
340
343
  */
341
344
  allowAnyValue: i0.InputSignalWithTransform<boolean, unknown>;
342
345
  /**
343
- * Highlights the search text in each search result. Set this to false
344
- * when your search finds results that are not exact text matches, e.g.
345
- * returning "Bob" for the term "Robert."
346
+ * Highlights the search text in each search result. Set this to `false`
347
+ * when your search returns results that aren't exact text matches, such as
348
+ * returning "Bob" for "Robert."
346
349
  * @default true
347
350
  */
348
351
  highlightSearchText: i0.InputSignalWithTransform<boolean, unknown>;
@@ -597,7 +600,7 @@ declare class SkyLookupAutocompleteAdapter {
597
600
  set propertiesToSearch(value: string[] | undefined);
598
601
  get propertiesToSearch(): string[];
599
602
  /**
600
- * The function to dynamically manage the data source when users
603
+ * The function that dynamically manages the data to display in search results when users
601
604
  * change the text in the lookup field. The search function must return
602
605
  * an array or a promise of an array. The `search` property is particularly
603
606
  * useful when the data source does not live in the source code.
@@ -607,8 +610,8 @@ declare class SkyLookupAutocompleteAdapter {
607
610
  get search(): SkyAutocompleteSearchFunction | undefined;
608
611
  /**
609
612
  * The template that formats each option in the dropdown list. The lookup component
610
- * injects values into the template as `item` variables that reference all the object
611
- * properties of the options.
613
+ * injects values into the template as `item` variables that reference all of the object
614
+ * properties of the search results.
612
615
  */
613
616
  searchResultTemplate: TemplateRef<unknown> | undefined;
614
617
  /**
@@ -636,7 +639,7 @@ declare class SkyLookupAutocompleteAdapter {
636
639
  searchResultsLimit: number | undefined;
637
640
  /**
638
641
  * Fires when users enter new search information and allows results to be
639
- * returned via an observable. The event is also fired with empty search text
642
+ * returned via an observable. The event is also fired
640
643
  * when the "Show more" picker is opened without search text.
641
644
  */
642
645
  searchAsync: EventEmitter<SkyAutocompleteSearchAsyncArgs>;
@@ -766,15 +769,16 @@ declare class SkyLookupComponent extends SkyLookupAutocompleteAdapter implements
766
769
  */
767
770
  ariaLabelledBy: string | undefined;
768
771
  /**
769
- * The value for the `autocomplete` attribute on the form input.
772
+ * The value to provide to the `autocomplete` attribute on the form input.
770
773
  * @default 'off'
771
774
  * @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.
772
775
  */
773
776
  autocompleteAttribute: string | undefined;
774
777
  /**
775
778
  * The data source for the lookup component to search when users
776
- * enter text. You can specify static data such as an array of objects, or
779
+ * enter text. You can specify static data, such as an array of objects, or
777
780
  * you can pull data from a database.
781
+ *
778
782
  * @default []
779
783
  * @deprecated Use the `searchAsync` event emitter and callback instead to provide data to the lookup component.
780
784
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/lookup",
3
- "version": "13.0.0",
3
+ "version": "13.1.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -22,16 +22,16 @@
22
22
  "@angular/core": "^20.3.0",
23
23
  "@angular/forms": "^20.3.0",
24
24
  "@angular/platform-browser": "^20.3.0",
25
- "@skyux-sdk/testing": "13.0.0",
26
- "@skyux/core": "13.0.0",
27
- "@skyux/forms": "13.0.0",
28
- "@skyux/i18n": "13.0.0",
29
- "@skyux/icon": "13.0.0",
30
- "@skyux/indicators": "13.0.0",
31
- "@skyux/layout": "13.0.0",
32
- "@skyux/lists": "13.0.0",
33
- "@skyux/modals": "13.0.0",
34
- "@skyux/theme": "13.0.0"
25
+ "@skyux-sdk/testing": "13.1.0",
26
+ "@skyux/core": "13.1.0",
27
+ "@skyux/forms": "13.1.0",
28
+ "@skyux/i18n": "13.1.0",
29
+ "@skyux/icon": "13.1.0",
30
+ "@skyux/indicators": "13.1.0",
31
+ "@skyux/layout": "13.1.0",
32
+ "@skyux/lists": "13.1.0",
33
+ "@skyux/modals": "13.1.0",
34
+ "@skyux/theme": "13.1.0"
35
35
  },
36
36
  "dependencies": {
37
37
  "intl-tel-input": "25.3.1",