feat(chip): add small size (#29514)

Co-authored-by: Brandy Carney <brandyscarney@users.noreply.github.com>
This commit is contained in:
Maria Hutt
2024-05-17 12:28:29 -07:00
committed by GitHub
parent 3f12e5850d
commit 9fd1a53c74
30 changed files with 256 additions and 15 deletions

View File

@ -549,14 +549,14 @@ setting the `checked` property.
@ProxyCmp({
inputs: ['color', 'disabled', 'mode', 'outline', 'shape', 'theme']
inputs: ['color', 'disabled', 'mode', 'outline', 'shape', 'size', 'theme']
})
@Component({
selector: 'ion-chip',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
inputs: ['color', 'disabled', 'mode', 'outline', 'shape', 'theme'],
inputs: ['color', 'disabled', 'mode', 'outline', 'shape', 'size', 'theme'],
})
export class IonChip {
protected el: HTMLElement;

View File

@ -612,14 +612,14 @@ export declare interface IonCardTitle extends Components.IonCardTitle {}
@ProxyCmp({
defineCustomElementFn: defineIonChip,
inputs: ['color', 'disabled', 'mode', 'outline', 'shape', 'theme']
inputs: ['color', 'disabled', 'mode', 'outline', 'shape', 'size', 'theme']
})
@Component({
selector: 'ion-chip',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
inputs: ['color', 'disabled', 'mode', 'outline', 'shape', 'theme'],
inputs: ['color', 'disabled', 'mode', 'outline', 'shape', 'size', 'theme'],
standalone: true
})
export class IonChip {