Skip to content

Commit 934dd0f

Browse files
chore(): build project
1 parent 3bc976b commit 934dd0f

File tree

5 files changed

+330
-170
lines changed

5 files changed

+330
-170
lines changed

core/api.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@ ion-checkbox,prop,justify,"end" | "space-between" | "start" | undefined,undefine
403403
ion-checkbox,prop,labelPlacement,"end" | "fixed" | "stacked" | "start",'start',false,false
404404
ion-checkbox,prop,mode,"ios" | "md",undefined,false,false
405405
ion-checkbox,prop,name,string,this.inputId,false,false
406+
ion-checkbox,prop,required,boolean,false,false,false
406407
ion-checkbox,prop,value,any,'on',false,false
407408
ion-checkbox,event,ionBlur,void,true
408409
ion-checkbox,event,ionChange,CheckboxChangeEventDetail<any>,true
@@ -1346,6 +1347,7 @@ ion-radio-group,none
13461347
ion-radio-group,prop,allowEmptySelection,boolean,false,false,false
13471348
ion-radio-group,prop,compareWith,((currentValue: any, compareValue: any) => boolean) | null | string | undefined,undefined,false,false
13481349
ion-radio-group,prop,name,string,this.inputId,false,false
1350+
ion-radio-group,prop,required,boolean,false,false,false
13491351
ion-radio-group,prop,value,any,undefined,false,false
13501352
ion-radio-group,event,ionChange,RadioGroupChangeEventDetail<any>,true
13511353

@@ -1631,6 +1633,7 @@ ion-select,prop,multiple,boolean,false,false,false
16311633
ion-select,prop,name,string,this.inputId,false,false
16321634
ion-select,prop,okText,string,'OK',false,false
16331635
ion-select,prop,placeholder,string | undefined,undefined,false,false
1636+
ion-select,prop,required,boolean,false,false,false
16341637
ion-select,prop,selectedText,null | string | undefined,undefined,false,false
16351638
ion-select,prop,shape,"round" | undefined,undefined,false,false
16361639
ion-select,prop,toggleIcon,string | undefined,undefined,false,false
@@ -1944,6 +1947,7 @@ ion-toggle,prop,justify,"end" | "space-between" | "start" | undefined,undefined,
19441947
ion-toggle,prop,labelPlacement,"end" | "fixed" | "stacked" | "start",'start',false,false
19451948
ion-toggle,prop,mode,"ios" | "md",undefined,false,false
19461949
ion-toggle,prop,name,string,this.inputId,false,false
1950+
ion-toggle,prop,required,boolean,false,false,false
19471951
ion-toggle,prop,value,null | string | undefined,'on',false,false
19481952
ion-toggle,event,ionBlur,void,true
19491953
ion-toggle,event,ionChange,ToggleChangeEventDetail<any>,true

core/src/components.d.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,10 @@ export namespace Components {
643643
* The name of the control, which is submitted with the form data.
644644
*/
645645
"name": string;
646+
/**
647+
* If `true`, the user must fill in a value before submitting a form.
648+
*/
649+
"required": boolean;
646650
"setFocus": () => Promise<void>;
647651
/**
648652
* The value of the checkbox does not mean if it's checked or not, use the `checked` property for that. The value of a checkbox is analogous to the value of an `<input type="checkbox">`, it's only used when the checkbox participates in a native `<form>`.
@@ -2303,6 +2307,10 @@ export namespace Components {
23032307
* The name of the control, which is submitted with the form data.
23042308
*/
23052309
"name": string;
2310+
/**
2311+
* If `true`, the user must fill in a value before submitting a form.
2312+
*/
2313+
"required": boolean;
23062314
"setFocus": () => Promise<void>;
23072315
/**
23082316
* the value of the radio group.
@@ -2808,6 +2816,10 @@ export namespace Components {
28082816
* The text to display when the select is empty.
28092817
*/
28102818
"placeholder"?: string;
2819+
/**
2820+
* If `true`, the user must fill in a value before submitting a form.
2821+
*/
2822+
"required": boolean;
28112823
/**
28122824
* The text to display instead of the selected option's value.
28132825
*/
@@ -3280,6 +3292,10 @@ export namespace Components {
32803292
* The name of the control, which is submitted with the form data.
32813293
*/
32823294
"name": string;
3295+
/**
3296+
* If `true`, the user must fill in a value before submitting a form.
3297+
*/
3298+
"required": boolean;
32833299
/**
32843300
* The value of the toggle does not mean if it's checked or not, use the `checked` property for that. The value of a toggle is analogous to the value of a `<input type="checkbox">`, it's only used when the toggle participates in a native `<form>`.
32853301
*/
@@ -5435,6 +5451,10 @@ declare namespace LocalJSX {
54355451
* Emitted when the checkbox has focus.
54365452
*/
54375453
"onIonFocus"?: (event: IonCheckboxCustomEvent<void>) => void;
5454+
/**
5455+
* If `true`, the user must fill in a value before submitting a form.
5456+
*/
5457+
"required"?: boolean;
54385458
/**
54395459
* The value of the checkbox does not mean if it's checked or not, use the `checked` property for that. The value of a checkbox is analogous to the value of an `<input type="checkbox">`, it's only used when the checkbox participates in a native `<form>`.
54405460
*/
@@ -7067,6 +7087,10 @@ declare namespace LocalJSX {
70677087
* Emitted when the `value` property has changed. This is used to ensure that `ion-radio` can respond to any value property changes from the group.
70687088
*/
70697089
"onIonValueChange"?: (event: IonRadioGroupCustomEvent<RadioGroupChangeEventDetail>) => void;
7090+
/**
7091+
* If `true`, the user must fill in a value before submitting a form.
7092+
*/
7093+
"required"?: boolean;
70707094
/**
70717095
* the value of the radio group.
70727096
*/
@@ -7640,6 +7664,10 @@ declare namespace LocalJSX {
76407664
* The text to display when the select is empty.
76417665
*/
76427666
"placeholder"?: string;
7667+
/**
7668+
* If `true`, the user must fill in a value before submitting a form.
7669+
*/
7670+
"required"?: boolean;
76437671
/**
76447672
* The text to display instead of the selected option's value.
76457673
*/
@@ -8155,6 +8183,10 @@ declare namespace LocalJSX {
81558183
* Emitted when the toggle has focus.
81568184
*/
81578185
"onIonFocus"?: (event: IonToggleCustomEvent<void>) => void;
8186+
/**
8187+
* If `true`, the user must fill in a value before submitting a form.
8188+
*/
8189+
"required"?: boolean;
81588190
/**
81598191
* The value of the toggle does not mean if it's checked or not, use the `checked` property for that. The value of a toggle is analogous to the value of a `<input type="checkbox">`, it's only used when the toggle participates in a native `<form>`.
81608192
*/

0 commit comments

Comments
 (0)