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:
Brandy Smith
2025-04-11 13:19:32 -04:00
committed by GitHub
parent a9aa59bc36
commit b31e0efcbf
26 changed files with 554 additions and 71 deletions

View File

@ -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;