@cal.macconnachie/web-components 2.4.13 → 2.5.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/dist/index.d.ts +17 -1
- package/dist/index.js +828 -392
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -321,12 +321,14 @@ export declare class BaseListItem extends BaseElement {
|
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
export declare class BaseSelect extends BaseElement {
|
|
324
|
-
value: string;
|
|
324
|
+
value: string | string[];
|
|
325
|
+
multiple: boolean;
|
|
325
326
|
label?: string;
|
|
326
327
|
placeholder: string;
|
|
327
328
|
required: boolean;
|
|
328
329
|
disabled: boolean;
|
|
329
330
|
searchable: boolean;
|
|
331
|
+
creatable: boolean;
|
|
330
332
|
error?: string;
|
|
331
333
|
hint?: string;
|
|
332
334
|
size: SelectSize;
|
|
@@ -337,12 +339,19 @@ export declare class BaseSelect extends BaseElement {
|
|
|
337
339
|
private highlightedIndex;
|
|
338
340
|
private isFlipped;
|
|
339
341
|
private alignRight;
|
|
342
|
+
private srAnnouncement;
|
|
343
|
+
private selectedValuesSet;
|
|
340
344
|
private selectInput;
|
|
341
345
|
private selectDisplay;
|
|
342
346
|
private dropdownElement;
|
|
343
347
|
private selectId;
|
|
344
348
|
connectedCallback(): void;
|
|
349
|
+
willUpdate(changedProperties: Map<string, unknown>): void;
|
|
345
350
|
private parseSlottedOptions;
|
|
351
|
+
private get selectedValues();
|
|
352
|
+
private get selectedValue();
|
|
353
|
+
private get selectedOptions();
|
|
354
|
+
private isOptionSelected;
|
|
346
355
|
static styles: CSSResult;
|
|
347
356
|
private get selectedOption();
|
|
348
357
|
private get displayValue();
|
|
@@ -353,6 +362,13 @@ export declare class BaseSelect extends BaseElement {
|
|
|
353
362
|
private closeDropdown;
|
|
354
363
|
private handleSearchInput;
|
|
355
364
|
private selectOption;
|
|
365
|
+
private createAndSelectOption;
|
|
366
|
+
private selectSingleOption;
|
|
367
|
+
private toggleMultipleOption;
|
|
368
|
+
private handleChipRemove;
|
|
369
|
+
private handleClearAll;
|
|
370
|
+
private announceToScreenReader;
|
|
371
|
+
private renderChip;
|
|
356
372
|
private handleKeydown;
|
|
357
373
|
private scrollToHighlighted;
|
|
358
374
|
render(): TemplateResult<1>;
|