fix(breadcrumbs): color attribute shows on DOM for Vue (#27068)

Co-authored-by: Maria Hutt <thetaPC@users.noreply.github.com>
This commit is contained in:
Sean Perkins
2023-03-30 17:11:22 -04:00
committed by GitHub
parent 6d851f19f8
commit 141ced5010
6 changed files with 71 additions and 2 deletions

View File

@@ -199,7 +199,7 @@ ion-breadcrumb,part,native
ion-breadcrumb,part,separator
ion-breadcrumbs,shadow
ion-breadcrumbs,prop,color,"danger" | "dark" | "light" | "medium" | "primary" | "secondary" | "success" | "tertiary" | "warning" | string & Record<never, never> | undefined,undefined,false,false
ion-breadcrumbs,prop,color,"danger" | "dark" | "light" | "medium" | "primary" | "secondary" | "success" | "tertiary" | "warning" | string & Record<never, never> | undefined,undefined,false,true
ion-breadcrumbs,prop,itemsAfterCollapse,number,1,false,false
ion-breadcrumbs,prop,itemsBeforeCollapse,number,1,false,false
ion-breadcrumbs,prop,maxItems,number | undefined,undefined,false,false

View File

@@ -30,7 +30,7 @@ export class Breadcrumbs implements ComponentInterface {
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
* For more information on colors, see [theming](/docs/theming/basics).
*/
@Prop() color?: Color;
@Prop({ reflect: true }) color?: Color;
/**
* The maximum number of breadcrumbs to show before collapsing.