mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
feat(item-option): add hue property for the ionic theme (#30332)
Issue number: internal --------- ## What is the current behavior? The item option component does not support the `hue` property. ## What is the new behavior? Adds support for the `subtle` hue for the item option. Defaults to `subtle`. ## Does this introduce a breaking change? - [ ] Yes - [x] No
This commit is contained in:
@ -1106,14 +1106,14 @@ export declare interface IonItemGroup extends Components.IonItemGroup {}
|
||||
|
||||
@ProxyCmp({
|
||||
defineCustomElementFn: defineIonItemOption,
|
||||
inputs: ['color', 'disabled', 'download', 'expandable', 'href', 'mode', 'rel', 'shape', 'target', 'theme', 'type']
|
||||
inputs: ['color', 'disabled', 'download', 'expandable', 'href', 'hue', 'mode', 'rel', 'shape', 'target', 'theme', 'type']
|
||||
})
|
||||
@Component({
|
||||
selector: 'ion-item-option',
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
template: '<ng-content></ng-content>',
|
||||
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
||||
inputs: ['color', 'disabled', 'download', 'expandable', 'href', 'mode', 'rel', 'shape', 'target', 'theme', 'type'],
|
||||
inputs: ['color', 'disabled', 'download', 'expandable', 'href', 'hue', 'mode', 'rel', 'shape', 'target', 'theme', 'type'],
|
||||
standalone: true
|
||||
})
|
||||
export class IonItemOption {
|
||||
|
Reference in New Issue
Block a user