@sebgroup/green-core 3.6.2 → 3.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/input/input.component.d.ts +1 -1
- package/components/input/input.component.js +2 -1
- package/custom-elements.json +6491 -6491
- package/gds-element.js +1 -1
- package/generated/mcp/components.json +1 -1
- package/generated/mcp/concepts/scoping.md +16 -1
- package/generated/mcp/guides/migration.md +4 -0
- package/generated/mcp/icons.json +1 -1
- package/generated/mcp/index.json +1 -1
- package/generated/mcp/input/api.md +1 -1
- package/generated/mcp/tokens.json +1 -1
- package/generated/react/index.d.ts +3 -3
- package/generated/react/index.js +3 -3
- package/generated/react/input/index.d.ts +1 -1
- package/package.json +1 -1
- package/utils/helpers/custom-element-scoping.js +1 -1
|
@@ -35,7 +35,7 @@ declare class Input extends GdsFormControlElement<string> {
|
|
|
35
35
|
* The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults
|
|
36
36
|
* to `text`.
|
|
37
37
|
*/
|
|
38
|
-
type: 'date' | 'datetime-local' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url';
|
|
38
|
+
type: 'date' | 'datetime-local' | 'email' | 'file' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url';
|
|
39
39
|
/** The input's minimum value. Only applies to date and number input types. */
|
|
40
40
|
min?: number | string;
|
|
41
41
|
/** The input's maximum value. Only applies to date and number input types. */
|
|
@@ -9,6 +9,7 @@ var _charCounterComputed, _shouldShowFooter, shouldShowFooter_fn, _handleOnInput
|
|
|
9
9
|
import { localized, msg } from "@lit/localize";
|
|
10
10
|
import { property, query, queryAsync } from "lit/decorators.js";
|
|
11
11
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
12
|
+
import { live } from "lit/directives/live.js";
|
|
12
13
|
import { when } from "lit/directives/when.js";
|
|
13
14
|
import { nothing } from "lit/html.js";
|
|
14
15
|
import { GdsFieldBase } from "../../primitives/field-base/field-base.component.js";
|
|
@@ -271,7 +272,7 @@ renderNativeInput_fn = function() {
|
|
|
271
272
|
@input=${__privateGet(this, _handleOnInput)}
|
|
272
273
|
@keydown=${__privateGet(this, _handleOnKeyDown)}
|
|
273
274
|
@change=${__privateGet(this, _handleOnChange)}
|
|
274
|
-
.value=${this.value}
|
|
275
|
+
.value=${live(this.value)}
|
|
275
276
|
id="input"
|
|
276
277
|
?disabled=${this.disabled}
|
|
277
278
|
aria-describedby="supporting-text extended-supporting-text sub-label message"
|