@leanix/components 0.4.811 → 0.4.813

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.
@@ -38,6 +38,11 @@ export declare class BasicDropdownComponent extends KeyboardSelectDirective impl
38
38
  onScroll(): void;
39
39
  onNewItemSelected(): void;
40
40
  onCreateNewOptionSelected(): void;
41
+ /**
42
+ * Highlights the item corresponding to the given option index, accounting for
43
+ * any prefix items (e.g. "Create new") that shift the internal item list.
44
+ */
45
+ selectByOptionIndex(index: number): void;
41
46
  static ɵfac: i0.ɵɵFactoryDeclaration<BasicDropdownComponent, never>;
42
47
  static ɵcmp: i0.ɵɵComponentDeclaration<BasicDropdownComponent, "lx-basic-dropdown", never, { "options": { "alias": "options"; "required": false; }; "initiallySelectedIndex": { "alias": "initiallySelectedIndex"; "required": false; }; "labelKey": { "alias": "labelKey"; "required": false; }; "itemKey": { "alias": "itemKey"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "newOptionLabel": { "alias": "newOptionLabel"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "showCreateNewOption": { "alias": "showCreateNewOption"; "required": false; }; "disabledOptions": { "alias": "disabledOptions"; "required": false; }; "overlayPositioning": { "alias": "overlayPositioning"; "required": false; }; "truncateOptions": { "alias": "truncateOptions"; "required": false; }; "noResultsText": { "alias": "noResultsText"; "required": false; }; }, { "onItemSelected": "onItemSelected"; "triggerRequestForMoreEntries": "triggerRequestForMoreEntries"; "newOptionLabelSelected": "newOptionLabelSelected"; "createNewOptionSelected": "createNewOptionSelected"; }, ["optionTemplateRef", "createNewOptionTemplateRef", "descriptionTemplateRef"], never, true, never>;
43
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.4.811",
3
+ "version": "0.4.813",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {