Skip to content

Commit 4331eb7

Browse files
committed
chore: build
1 parent 3692846 commit 4331eb7

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

core/api.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ ion-backdrop,event,ionBackdropTap,void,true
314314

315315
ion-badge,shadow
316316
ion-badge,prop,color,"danger" | "dark" | "light" | "medium" | "primary" | "secondary" | "success" | "tertiary" | "warning" | string & Record<never, never> | undefined,undefined,false,true
317+
ion-badge,prop,hue,"bold" | "subtle" | undefined,'bold',false,false
317318
ion-badge,prop,mode,"ios" | "md",undefined,false,false
318319
ion-badge,prop,shape,"round | rectangular" | "soft" | undefined,undefined,false,false
319320
ion-badge,prop,size,"large" | "medium" | "small" | "xlarge" | "xsmall" | "xxsmall" | undefined,undefined,false,false

core/src/components.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,10 @@ export namespace Components {
429429
* The color to use from your application's color palette. Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`. For more information on colors, see [theming](/docs/theming/basics).
430430
*/
431431
"color"?: Color;
432+
/**
433+
* Set to `"bold"` for a badge with vibrant, bold colors or to `"subtle"` for a badge with muted, subtle colors.
434+
*/
435+
"hue"?: 'bold' | 'subtle';
432436
/**
433437
* The mode determines the platform behaviors of the component.
434438
*/
@@ -5870,6 +5874,10 @@ declare namespace LocalJSX {
58705874
* The color to use from your application's color palette. Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`. For more information on colors, see [theming](/docs/theming/basics).
58715875
*/
58725876
"color"?: Color;
5877+
/**
5878+
* Set to `"bold"` for a badge with vibrant, bold colors or to `"subtle"` for a badge with muted, subtle colors.
5879+
*/
5880+
"hue"?: 'bold' | 'subtle';
58735881
/**
58745882
* The mode determines the platform behaviors of the component.
58755883
*/

packages/angular/src/directives/proxies.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,14 +261,14 @@ export declare interface IonBackdrop extends Components.IonBackdrop {
261261

262262

263263
@ProxyCmp({
264-
inputs: ['color', 'mode', 'shape', 'size', 'theme', 'vertical']
264+
inputs: ['color', 'hue', 'mode', 'shape', 'size', 'theme', 'vertical']
265265
})
266266
@Component({
267267
selector: 'ion-badge',
268268
changeDetection: ChangeDetectionStrategy.OnPush,
269269
template: '<ng-content></ng-content>',
270270
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
271-
inputs: ['color', 'mode', 'shape', 'size', 'theme', 'vertical'],
271+
inputs: ['color', 'hue', 'mode', 'shape', 'size', 'theme', 'vertical'],
272272
})
273273
export class IonBadge {
274274
protected el: HTMLIonBadgeElement;

packages/angular/standalone/src/directives/proxies.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,14 +350,14 @@ export declare interface IonBackdrop extends Components.IonBackdrop {
350350

351351
@ProxyCmp({
352352
defineCustomElementFn: defineIonBadge,
353-
inputs: ['color', 'mode', 'shape', 'size', 'theme', 'vertical']
353+
inputs: ['color', 'hue', 'mode', 'shape', 'size', 'theme', 'vertical']
354354
})
355355
@Component({
356356
selector: 'ion-badge',
357357
changeDetection: ChangeDetectionStrategy.OnPush,
358358
template: '<ng-content></ng-content>',
359359
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
360-
inputs: ['color', 'mode', 'shape', 'size', 'theme', 'vertical'],
360+
inputs: ['color', 'hue', 'mode', 'shape', 'size', 'theme', 'vertical'],
361361
standalone: true
362362
})
363363
export class IonBadge {

packages/vue/src/proxies.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export const IonBackdrop: StencilVueComponent<JSX.IonBackdrop> = /*@__PURE__*/ d
130130

131131
export const IonBadge: StencilVueComponent<JSX.IonBadge> = /*@__PURE__*/ defineContainer<JSX.IonBadge>('ion-badge', defineIonBadge, [
132132
'color',
133+
'hue',
133134
'shape',
134135
'size',
135136
'vertical'

0 commit comments

Comments
 (0)