@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.
Files changed (56) hide show
  1. package/dist/cjs/gov-form-input.cjs.entry.js +4 -3
  2. package/dist/cjs/gov-form-input.cjs.entry.js.map +1 -1
  3. package/dist/cjs/gov-icon.cjs.entry.js +1 -1
  4. package/dist/collection/components/gov-form/input/gov-form-input.js +4 -3
  5. package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
  6. package/dist/components/gov-accordion-item.js +1 -1
  7. package/dist/components/gov-attachments-item.js +1 -1
  8. package/dist/components/gov-breadcrumbs.js +1 -1
  9. package/dist/components/gov-button.js +1 -1
  10. package/dist/components/gov-card.js +1 -1
  11. package/dist/components/gov-chip.js +1 -1
  12. package/dist/components/gov-form-autocomplete.js +1 -1
  13. package/dist/components/gov-form-checkbox.js +1 -1
  14. package/dist/components/gov-form-checkbox.js.map +1 -1
  15. package/dist/components/gov-form-file.js +1 -1
  16. package/dist/components/gov-form-input.js +1 -1
  17. package/dist/components/gov-form-multi-select.js +1 -1
  18. package/dist/components/gov-form-select.js +1 -1
  19. package/dist/components/gov-icon.js +1 -1
  20. package/dist/components/gov-infobar.js +1 -1
  21. package/dist/components/gov-loading.js +1 -1
  22. package/dist/components/gov-modal.js +1 -1
  23. package/dist/components/gov-pagination.js +1 -1
  24. package/dist/components/gov-prompt.js +1 -1
  25. package/dist/components/gov-side-nav-item.js +1 -1
  26. package/dist/components/gov-tabs.js +1 -1
  27. package/dist/components/gov-tag.js +1 -1
  28. package/dist/components/gov-tile.js +1 -1
  29. package/dist/components/gov-toast.js +1 -1
  30. package/dist/components/gov-tooltip-content.js +1 -1
  31. package/dist/components/gov-wizard-item.js +1 -1
  32. package/dist/components/{p-d2a0ad9c.js → p-2dce8f2c.js} +2 -2
  33. package/dist/components/{p-f4086eab.js → p-708dca47.js} +2 -2
  34. package/dist/components/{p-f4086eab.js.map → p-708dca47.js.map} +1 -1
  35. package/dist/components/{p-90ebe1d9.js → p-8977b759.js} +2 -2
  36. package/dist/components/{p-37645839.js → p-aa4122bd.js} +2 -2
  37. package/dist/components/{p-b0aa3804.js → p-bcc76ddd.js} +2 -2
  38. package/dist/components/{p-b0ff29c9.js → p-c2e5e893.js} +2 -2
  39. package/dist/components/{p-280b0104.js → p-f0eb08d6.js} +2 -2
  40. package/dist/core/core.esm.js +1 -1
  41. package/dist/core/{p-c4960938.entry.js → p-7c2fa6df.entry.js} +2 -2
  42. package/dist/core/{p-e102ae1d.entry.js → p-afd40857.entry.js} +2 -2
  43. package/dist/core/{p-e102ae1d.entry.js.map → p-afd40857.entry.js.map} +1 -1
  44. package/dist/esm/gov-form-input.entry.js +4 -3
  45. package/dist/esm/gov-form-input.entry.js.map +1 -1
  46. package/dist/esm/gov-icon.entry.js +1 -1
  47. package/dist/hydrate/index.js +4 -3
  48. package/dist/hydrate/index.mjs +4 -3
  49. package/package.json +1 -1
  50. /package/dist/components/{p-d2a0ad9c.js.map → p-2dce8f2c.js.map} +0 -0
  51. /package/dist/components/{p-90ebe1d9.js.map → p-8977b759.js.map} +0 -0
  52. /package/dist/components/{p-37645839.js.map → p-aa4122bd.js.map} +0 -0
  53. /package/dist/components/{p-b0aa3804.js.map → p-bcc76ddd.js.map} +0 -0
  54. /package/dist/components/{p-b0ff29c9.js.map → p-c2e5e893.js.map} +0 -0
  55. /package/dist/components/{p-280b0104.js.map → p-f0eb08d6.js.map} +0 -0
  56. /package/dist/core/{p-c4960938.entry.js.map → p-7c2fa6df.entry.js.map} +0 -0
@@ -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: 'fb06974797e9fe99cc0845cd9aac8cc79bfc0583', class: FormInputClass.root, size: this.size, variant: this.variant, type: this.type }, this.h.hasSlot("prefix") && hAsync("slot", { key: 'c8a307ca8c1e4e4a27ac00463523f19c4012bbfe', name: "prefix" }), hAsync("span", { key: 'b86a839790465feda8d50385ca5b44a98c3ee81d', class: "element" }, this.h.hasSlot("left-icon") && hAsync("slot", { key: '300d97f0f13e95ac306b3c0332ccb58b99988c7a', name: "left-icon" }), this.h.hasSlot("right-icon") && !(this.success || this.invalid) && hAsync("slot", { key: '6d2673bc16e363b52662671a172f7c20eca85c62', name: "right-icon" }), this.success && !this.multiline &&
4889
- hAsync("gov-icon", { key: '40c2f0e9991833ad731e469164d0bd148d883007', slot: "right-icon", class: "icon-validation", name: "check-lg" }), this.invalid && !this.multiline &&
4890
- hAsync("gov-icon", { key: '56d940b36602db7749fc1656fdee739b2ad21370', slot: "right-icon", class: "icon-validation", name: "exclamation-lg" }), hAsync(Tag, { key: 'ecdf27b1a0889cfd0367ded8cffd24152c2e1d01', 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: 'bd6b9c7a981c40fdddf83e8ce0778978e1ea31af', name: "sufix" })));
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-rc20",
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",