Skip to content

Commit 3475992

Browse files
committed
chore(stencil): test dynamic import change in stencil
1 parent 0a02e0f commit 3475992

File tree

6 files changed

+65
-24
lines changed

6 files changed

+65
-24
lines changed

core/api.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -703,8 +703,8 @@ ion-infinite-scroll-content,prop,loadingText,IonicSafeString | string | undefine
703703

704704
ion-input,scoped
705705
ion-input,prop,autocapitalize,string,'off',false,false
706-
ion-input,prop,autocomplete,"name" | "email" | "tel" | "url" | "on" | "off" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "photo",'off',false,false
707-
ion-input,prop,autocorrect,"off" | "on",'off',false,false
706+
ion-input,prop,autocomplete,"name" | "on" | "off" | "email" | "tel" | "url" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "photo",'off',false,false
707+
ion-input,prop,autocorrect,boolean,false,false,false
708708
ion-input,prop,autofocus,boolean,false,false,false
709709
ion-input,prop,clearInput,boolean,false,false,false
710710
ion-input,prop,clearInputIcon,string | undefined,undefined,false,false
@@ -1557,8 +1557,8 @@ ion-row,shadow
15571557
ion-searchbar,scoped
15581558
ion-searchbar,prop,animated,boolean,false,false,false
15591559
ion-searchbar,prop,autocapitalize,string,'off',false,false
1560-
ion-searchbar,prop,autocomplete,"name" | "email" | "tel" | "url" | "on" | "off" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "photo",'off',false,false
1561-
ion-searchbar,prop,autocorrect,"off" | "on",'off',false,false
1560+
ion-searchbar,prop,autocomplete,"name" | "on" | "off" | "email" | "tel" | "url" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "photo",'off',false,false
1561+
ion-searchbar,prop,autocorrect,boolean,false,false,false
15621562
ion-searchbar,prop,cancelButtonIcon,string,config.get('backButtonIcon', arrowBackSharp) as string,false,false
15631563
ion-searchbar,prop,cancelButtonText,string,'Cancel',false,false
15641564
ion-searchbar,prop,clearIcon,string | undefined,undefined,false,false

core/package-lock.json

Lines changed: 48 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"loader/"
3232
],
3333
"dependencies": {
34-
"@stencil/core": "4.38.0",
34+
"@stencil/core": "^4.38.3-dev.1762459485.1816def",
3535
"ionicons": "^8.0.13",
3636
"tslib": "^2.1.0"
3737
},

core/src/components.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,9 +1291,9 @@ export namespace Components {
12911291
"autocomplete": AutocompleteTypes;
12921292
/**
12931293
* Whether auto correction should be enabled when the user is entering/editing the text value.
1294-
* @default 'off'
1294+
* @default false
12951295
*/
1296-
"autocorrect": 'on' | 'off';
1296+
"autocorrect": boolean;
12971297
/**
12981298
* Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element. This may not be sufficient for the element to be focused on page load. See [managing focus](/docs/developing/managing-focus) for more information.
12991299
* @default false
@@ -2933,9 +2933,9 @@ export namespace Components {
29332933
"autocomplete": AutocompleteTypes;
29342934
/**
29352935
* Set the input's autocorrect property.
2936-
* @default 'off'
2936+
* @default false
29372937
*/
2938-
"autocorrect": 'on' | 'off';
2938+
"autocorrect": boolean;
29392939
/**
29402940
* Set the cancel button icon. Only applies to `md` mode. Defaults to `arrow-back-sharp`.
29412941
* @default config.get('backButtonIcon', arrowBackSharp) as string
@@ -6565,9 +6565,9 @@ declare namespace LocalJSX {
65656565
"autocomplete"?: AutocompleteTypes;
65666566
/**
65676567
* Whether auto correction should be enabled when the user is entering/editing the text value.
6568-
* @default 'off'
6568+
* @default false
65696569
*/
6570-
"autocorrect"?: 'on' | 'off';
6570+
"autocorrect"?: boolean;
65716571
/**
65726572
* Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element. This may not be sufficient for the element to be focused on page load. See [managing focus](/docs/developing/managing-focus) for more information.
65736573
* @default false
@@ -8209,9 +8209,9 @@ declare namespace LocalJSX {
82098209
"autocomplete"?: AutocompleteTypes;
82108210
/**
82118211
* Set the input's autocorrect property.
8212-
* @default 'off'
8212+
* @default false
82138213
*/
8214-
"autocorrect"?: 'on' | 'off';
8214+
"autocorrect"?: boolean;
82158215
/**
82168216
* Set the cancel button icon. Only applies to `md` mode. Defaults to `arrow-back-sharp`.
82178217
* @default config.get('backButtonIcon', arrowBackSharp) as string

core/src/components/input/input.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export class Input implements ComponentInterface {
109109
/**
110110
* Whether auto correction should be enabled when the user is entering/editing the text value.
111111
*/
112-
@Prop() autocorrect: 'on' | 'off' = 'off';
112+
@Prop() autocorrect: boolean = false;
113113

114114
/**
115115
* Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element.
@@ -871,7 +871,7 @@ export class Input implements ComponentInterface {
871871
disabled={disabled}
872872
autoCapitalize={this.autocapitalize}
873873
autoComplete={this.autocomplete}
874-
autoCorrect={this.autocorrect}
874+
autoCorrect={this.autocorrect? 'on' : 'off'}
875875
autoFocus={this.autofocus}
876876
enterKeyHint={this.enterkeyhint}
877877
inputMode={this.inputmode}

core/src/components/searchbar/searchbar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class Searchbar implements ComponentInterface {
9292
/**
9393
* Set the input's autocorrect property.
9494
*/
95-
@Prop() autocorrect: 'on' | 'off' = 'off';
95+
@Prop() autocorrect: boolean = false;
9696

9797
/**
9898
* Set the cancel button icon. Only applies to `md` mode.
@@ -670,7 +670,7 @@ export class Searchbar implements ComponentInterface {
670670
value={this.getValue()}
671671
autoCapitalize={autocapitalize === 'default' ? undefined : autocapitalize}
672672
autoComplete={this.autocomplete}
673-
autoCorrect={this.autocorrect}
673+
autoCorrect={this.autocorrect? 'on' : 'off'}
674674
spellcheck={this.spellcheck}
675675
{...this.inheritedAttributes}
676676
/>

0 commit comments

Comments
 (0)