@gov-design-system-ce/components 4.0.8-rc20 → 4.0.8-rc21
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/dist/cjs/gov-form-input.cjs.entry.js +4 -3
- package/dist/cjs/gov-form-input.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-icon.cjs.entry.js +1 -1
- package/dist/collection/components/gov-form/input/gov-form-input.js +4 -3
- package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
- package/dist/components/gov-accordion-item.js +1 -1
- package/dist/components/gov-attachments-item.js +1 -1
- package/dist/components/gov-breadcrumbs.js +1 -1
- package/dist/components/gov-button.js +1 -1
- package/dist/components/gov-card.js +1 -1
- package/dist/components/gov-chip.js +1 -1
- package/dist/components/gov-form-autocomplete.js +1 -1
- package/dist/components/gov-form-checkbox.js +1 -1
- package/dist/components/gov-form-checkbox.js.map +1 -1
- package/dist/components/gov-form-file.js +1 -1
- package/dist/components/gov-form-input.js +1 -1
- package/dist/components/gov-form-multi-select.js +1 -1
- package/dist/components/gov-form-select.js +1 -1
- package/dist/components/gov-icon.js +1 -1
- package/dist/components/gov-infobar.js +1 -1
- package/dist/components/gov-loading.js +1 -1
- package/dist/components/gov-modal.js +1 -1
- package/dist/components/gov-pagination.js +1 -1
- package/dist/components/gov-prompt.js +1 -1
- package/dist/components/gov-side-nav-item.js +1 -1
- package/dist/components/gov-tabs.js +1 -1
- package/dist/components/gov-tag.js +1 -1
- package/dist/components/gov-tile.js +1 -1
- package/dist/components/gov-toast.js +1 -1
- package/dist/components/gov-tooltip-content.js +1 -1
- package/dist/components/gov-wizard-item.js +1 -1
- package/dist/components/{p-d2a0ad9c.js → p-2dce8f2c.js} +2 -2
- package/dist/components/{p-f4086eab.js → p-708dca47.js} +2 -2
- package/dist/components/{p-f4086eab.js.map → p-708dca47.js.map} +1 -1
- package/dist/components/{p-90ebe1d9.js → p-8977b759.js} +2 -2
- package/dist/components/{p-37645839.js → p-aa4122bd.js} +2 -2
- package/dist/components/{p-b0aa3804.js → p-bcc76ddd.js} +2 -2
- package/dist/components/{p-b0ff29c9.js → p-c2e5e893.js} +2 -2
- package/dist/components/{p-280b0104.js → p-f0eb08d6.js} +2 -2
- package/dist/core/core.esm.js +1 -1
- package/dist/core/{p-c4960938.entry.js → p-7c2fa6df.entry.js} +2 -2
- package/dist/core/{p-e102ae1d.entry.js → p-afd40857.entry.js} +2 -2
- package/dist/core/{p-e102ae1d.entry.js.map → p-afd40857.entry.js.map} +1 -1
- package/dist/esm/gov-form-input.entry.js +4 -3
- package/dist/esm/gov-form-input.entry.js.map +1 -1
- package/dist/esm/gov-icon.entry.js +1 -1
- package/dist/hydrate/index.js +4 -3
- package/dist/hydrate/index.mjs +4 -3
- package/package.json +1 -1
- /package/dist/components/{p-d2a0ad9c.js.map → p-2dce8f2c.js.map} +0 -0
- /package/dist/components/{p-90ebe1d9.js.map → p-8977b759.js.map} +0 -0
- /package/dist/components/{p-37645839.js.map → p-aa4122bd.js.map} +0 -0
- /package/dist/components/{p-b0aa3804.js.map → p-bcc76ddd.js.map} +0 -0
- /package/dist/components/{p-b0ff29c9.js.map → p-c2e5e893.js.map} +0 -0
- /package/dist/components/{p-280b0104.js.map → p-f0eb08d6.js.map} +0 -0
- /package/dist/core/{p-c4960938.entry.js.map → p-7c2fa6df.entry.js.map} +0 -0
package/dist/hydrate/index.mjs
CHANGED
|
@@ -4879,15 +4879,16 @@ class GovFormInput {
|
|
|
4879
4879
|
await delay(500);
|
|
4880
4880
|
await this.validateWcag();
|
|
4881
4881
|
}
|
|
4882
|
+
this.passControlAttrs();
|
|
4882
4883
|
}
|
|
4883
4884
|
componentDidLoad() {
|
|
4884
4885
|
this.govHydrated.emit();
|
|
4885
4886
|
}
|
|
4886
4887
|
render() {
|
|
4887
4888
|
const Tag = this.multiline ? Tags$1.TEXTAREA : Tags$1.INPUT;
|
|
4888
|
-
return (hAsync(Host, { key: '
|
|
4889
|
-
hAsync("gov-icon", { key: '
|
|
4890
|
-
hAsync("gov-icon", { key: '
|
|
4889
|
+
return (hAsync(Host, { key: 'bae879c01d6c58022adc6c0fe5e5a68e66dad44f', class: FormInputClass.root, size: this.size, variant: this.variant, type: this.type }, this.h.hasSlot("prefix") && hAsync("slot", { key: 'bdbc330daa350dfa24f666dfc6d29a4fe35b2a2b', name: "prefix" }), hAsync("span", { key: 'a90eaab54b005ee3b8f063a8d056154f5f178ee5', class: "element" }, this.h.hasSlot("left-icon") && hAsync("slot", { key: '681a2029ee87092deac624df44788c494303e52e', name: "left-icon" }), this.h.hasSlot("right-icon") && !(this.success || this.invalid) && hAsync("slot", { key: '80963733351147407a2df6acd26892198de250b5', name: "right-icon" }), this.success && !this.multiline &&
|
|
4890
|
+
hAsync("gov-icon", { key: '4ebf87ec5d022f1c6943481ca69e0cab62931ddf', slot: "right-icon", class: "icon-validation", name: "check-lg" }), this.invalid && !this.multiline &&
|
|
4891
|
+
hAsync("gov-icon", { key: 'ee2b21a80ce8757f94a424019f4104f3a630f05c', slot: "right-icon", class: "icon-validation", name: "exclamation-lg" }), hAsync(Tag, { key: 'a69eb58bc00c299f1d66601de19cc7112757a4d0', type: this.inputType, disabled: this.disabled, id: this.identifier || this.inputId, name: this.name, onFocus: this.onFocusHandler.bind(this), onInput: this.onInputHandler.bind(this), onBlur: this.onBlurHandler.bind(this), onKeyUp: this.onKeyUpHandler.bind(this), onKeyDown: this.onKeyDownHandler.bind(this), ref: el => (this.inputRef = el), placeholder: this.placeholder, value: this.value, spellcheck: toBoolAttrIfDefined(this.spellcheck), lang: this.inputLang, readonly: toBoolAttrIfDefined(this.readonly), autocomplete: toOnOffAttrIfDefined(this.autocomplete), autocorrect: toOnOffAttrIfDefined(this.autocorrect), minlength: this.minlength, maxlength: this.maxlength, min: this.min, max: this.max, required: this.required, rows: this.rows, cols: this.cols, role: this.role, "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-describedby": this.wcagDescribedBy, "aria-labelledby": this.wcagLabelledBy, "aria-owns": this.wcagOwns, "aria-expanded": toBoolAttrIfDefined(this.wcagExpanded), "aria-autocomplete": this.wcagAutocomplete })), this.h.hasSlot("sufix") && hAsync("slot", { key: '0624cc730480547bf250a7ab553212c0e17d6fe8', name: "sufix" })));
|
|
4891
4892
|
}
|
|
4892
4893
|
onFocusHandler(e) {
|
|
4893
4894
|
e.stopPropagation();
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@gov-design-system-ce/components",
|
|
3
3
|
"description": "This package includes Gov Design System Web Components and related utilities.",
|
|
4
4
|
"author": "Zdeněk Vítek",
|
|
5
|
-
"version": "4.0.8-
|
|
5
|
+
"version": "4.0.8-rc21",
|
|
6
6
|
"license": "EUPL v1.2 Licensed",
|
|
7
7
|
"main": "./dist/index.cjs.js",
|
|
8
8
|
"unpkg": "./dist/core/core.esm.js",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|