mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 07:41:51 +08:00
feat(chip): add hue property for the ionic theme (#30308)
Issue number: internal --------- ## What is the current behavior? The chip component does not support the `hue` property. ## What is the new behavior? Adds support for the `bold` and `subtle` hue for the chip. Defaults to `subtle`. ## Does this introduce a breaking change? - [ ] Yes - [x] No
This commit is contained in:
@ -550,14 +550,14 @@ setting the `checked` property.
|
||||
|
||||
|
||||
@ProxyCmp({
|
||||
inputs: ['color', 'disabled', 'mode', 'outline', 'shape', 'size', 'theme']
|
||||
inputs: ['color', 'disabled', 'hue', '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', 'size', 'theme'],
|
||||
inputs: ['color', 'disabled', 'hue', 'mode', 'outline', 'shape', 'size', 'theme'],
|
||||
})
|
||||
export class IonChip {
|
||||
protected el: HTMLIonChipElement;
|
||||
|
||||
Reference in New Issue
Block a user