Skip to content

Commit e574ffe

Browse files
authored
chore(picker): mark ionInputModeChange as internal (#28701)
1 parent cd5c099 commit e574ffe

File tree

4 files changed

+5
-15
lines changed

4 files changed

+5
-15
lines changed

core/api.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,6 @@ ion-note,css-prop,--color
909909

910910
ion-picker,shadow
911911
ion-picker,prop,mode,"ios" | "md",undefined,false,false
912-
ion-picker,event,ionInputModeChange,PickerChangeEventDetail,true
913912
ion-picker,css-prop,--fade-background-rgb
914913
ion-picker,css-prop,--highlight-background
915914
ion-picker,css-prop,--highlight-border-radius

core/src/components/picker/picker.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ export class Picker implements ComponentInterface {
2626

2727
@Element() el!: HTMLIonPickerElement;
2828

29+
/**
30+
* @internal
31+
*/
2932
@Event() ionInputModeChange!: EventEmitter<PickerChangeEventDetail>;
3033

3134
/**

packages/angular/src/directives/proxies.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,17 +1432,11 @@ export class IonPicker {
14321432
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
14331433
c.detach();
14341434
this.el = r.nativeElement;
1435-
proxyOutputs(this, this.el, ['ionInputModeChange']);
14361435
}
14371436
}
14381437

14391438

1440-
import type { PickerChangeEventDetail as IIonPickerPickerChangeEventDetail } from '@ionic/core';
1441-
1442-
export declare interface IonPicker extends Components.IonPicker {
1443-
1444-
ionInputModeChange: EventEmitter<CustomEvent<IIonPickerPickerChangeEventDetail>>;
1445-
}
1439+
export declare interface IonPicker extends Components.IonPicker {}
14461440

14471441

14481442
@ProxyCmp({

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1426,17 +1426,11 @@ export class IonPicker {
14261426
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
14271427
c.detach();
14281428
this.el = r.nativeElement;
1429-
proxyOutputs(this, this.el, ['ionInputModeChange']);
14301429
}
14311430
}
14321431

14331432

1434-
import type { PickerChangeEventDetail as IIonPickerPickerChangeEventDetail } from '@ionic/core/components';
1435-
1436-
export declare interface IonPicker extends Components.IonPicker {
1437-
1438-
ionInputModeChange: EventEmitter<CustomEvent<IIonPickerPickerChangeEventDetail>>;
1439-
}
1433+
export declare interface IonPicker extends Components.IonPicker {}
14401434

14411435

14421436
@ProxyCmp({

0 commit comments

Comments
 (0)