feat(select): update popover interface to match MD spec on desktop, allow multiple values in popover interface (#23474)

resolves #23657
resolves #15500
resolves #12310
This commit is contained in:
Brandy Carney
2021-07-20 11:23:00 -04:00
committed by GitHub
parent be219a2814
commit 2c07a1566b
28 changed files with 889 additions and 92 deletions

View File

@ -208,6 +208,7 @@ export namespace Components {
"translucent": boolean;
}
interface IonApp {
"setFocus": (elements: HTMLElement[]) => Promise<void>;
}
interface IonAvatar {
}
@ -2358,19 +2359,23 @@ export namespace Components {
}
interface IonSelectPopover {
/**
* Header text for the popover
* The header text of the popover
*/
"header"?: string;
/**
* Text for popover body
* The text content of the popover body
*/
"message"?: string;
/**
* Array of options for the popover
* If true, the select accepts multiple values
*/
"multiple"?: boolean;
/**
* An array of options for the popover
*/
"options": SelectPopoverOption[];
/**
* Subheader text for the popover
* The subheader text of the popover
*/
"subHeader"?: string;
}
@ -5946,19 +5951,23 @@ declare namespace LocalJSX {
}
interface IonSelectPopover {
/**
* Header text for the popover
* The header text of the popover
*/
"header"?: string;
/**
* Text for popover body
* The text content of the popover body
*/
"message"?: string;
/**
* Array of options for the popover
* If true, the select accepts multiple values
*/
"multiple"?: boolean;
/**
* An array of options for the popover
*/
"options"?: SelectPopoverOption[];
/**
* Subheader text for the popover
* The subheader text of the popover
*/
"subHeader"?: string;
}