You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Related Issue:** #9235
## Summary
This fixes the following issues introduced by #9123 when component props
that shadowed global attributes were removed:
* the kebab-cased attribute names of those props would no longer work
(namely, `enter-key-mode`, `input-mode`)
* `autofocus` was missing from component types as Stencil does not
include it in the base `HTMLAttribute` type (see
stenciljs/core#5726).
Co-authored-by: Ben Elan <[email protected]>
* Adds global prop, missing from Stencil's `HTMLElement` type, see https://github.com/ionic-team/stencil/issues/5726
2039
+
*/
2040
+
"autofocus": boolean;
2037
2041
/**
2038
2042
* When `true`, a clear button is displayed when the component has a value. The clear button shows by default for `"search"`, `"time"`, and `"date"` types, and will not display for the `"textarea"` type.
* Adds support for kebab-cased attribute, removed in https://github.com/Esri/calcite-design-system/pull/9123
2397
+
* @futureBreaking kebab-cased attribute will not be supported in a future release
2398
+
*/
2399
+
"enterKeyHint": string;
2377
2400
/**
2378
2401
* The `id` of the form that will be associated with the component. When not set, the component will be associated with its ancestor form element, if any.
* Adds support for kebab-cased attribute, removed in https://github.com/Esri/calcite-design-system/pull/9123
2569
+
* @futureBreaking kebab-cased attribute will not be supported in a future release
2570
+
*/
2571
+
"enterKeyHint": string;
2535
2572
/**
2536
2573
* The `id` of the form that will be associated with the component. When not set, the component will be associated with its ancestor form element, if any.
* Adds global prop, missing from Stencil's `HTMLElement` type, see https://github.com/ionic-team/stencil/issues/5726
9795
+
*/
9796
+
"autofocus"?: boolean;
9751
9797
/**
9752
9798
* When `true`, a clear button is displayed when the component has a value. The clear button shows by default for `"search"`, `"time"`, and `"date"` types, and will not display for the `"textarea"` type.
* Adds support for kebab-cased attribute, removed in https://github.com/Esri/calcite-design-system/pull/9123
10166
+
* @futureBreaking kebab-cased attribute will not be supported in a future release
10167
+
*/
10168
+
"enterKeyHint"?: string;
10104
10169
/**
10105
10170
* The `id` of the form that will be associated with the component. When not set, the component will be associated with its ancestor form element, if any.
* Adds support for kebab-cased attribute, removed in https://github.com/Esri/calcite-design-system/pull/9123
10340
+
* @futureBreaking kebab-cased attribute will not be supported in a future release
10341
+
*/
10342
+
"enterKeyHint"?: string;
10264
10343
/**
10265
10344
* The `id` of the form that will be associated with the component. When not set, the component will be associated with its ancestor form element, if any.
0 commit comments