@gov-design-system-ce/components 4.1.3-BETA-4 → 4.1.3-BETA-5
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/core.cjs.js +1 -1
- package/dist/cjs/gov-flex_3.cjs.entry.js +2 -6
- package/dist/cjs/gov-flex_3.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-input_2.cjs.entry.js +1 -1
- package/dist/cjs/gov-infobar.cjs.entry.js +2 -2
- package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
- package/dist/cjs/gov-layout.cjs.entry.js +1 -1
- package/dist/cjs/gov-lifecycle.cjs.entry.js +1 -1
- package/dist/cjs/gov-link.cjs.entry.js +1 -1
- package/dist/cjs/gov-loading.cjs.entry.js +1 -1
- package/dist/cjs/gov-message.cjs.entry.js +1 -1
- package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gov-tag.cjs.entry.js +1 -1
- package/dist/cjs/gov-tile.cjs.entry.js +1 -1
- package/dist/cjs/gov-tiles.cjs.entry.js +1 -1
- package/dist/cjs/gov-toast.cjs.entry.js +1 -1
- package/dist/cjs/gov-tooltip-content.cjs.entry.js +1 -1
- package/dist/cjs/gov-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/gov-wizard-item.cjs.entry.js +2 -2
- package/dist/cjs/gov-wizard.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/gov-icon/gov-icon.js +1 -10
- package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
- package/dist/collection/components/gov-infobar/gov-infobar.js +2 -2
- package/dist/collection/components/gov-layout/gov-layout-column.js +1 -1
- package/dist/collection/components/gov-layout/gov-layout.js +1 -1
- package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +1 -1
- package/dist/collection/components/gov-link/gov-link.js +1 -1
- package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +1 -1
- package/dist/collection/components/gov-message/gov-message.js +1 -1
- package/dist/collection/components/gov-spacer/gov-spacer.js +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper-item.js +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper.js +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs-item.js +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
- package/dist/collection/components/gov-tag/gov-tag.js +1 -1
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +1 -1
- package/dist/collection/components/gov-tile/container/gov-tiles.js +1 -1
- package/dist/collection/components/gov-tile/gov-tile.js +1 -1
- package/dist/collection/components/gov-toast/gov-toast.js +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +2 -2
- package/dist/collection/components/gov-wizard/gov-wizard-item.js +2 -2
- package/dist/collection/components/gov-wizard/gov-wizard.js +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-breadcrumbs.js.map +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-dialog.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-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-form-switch.js +1 -1
- package/dist/components/gov-icon.js +1 -1
- package/dist/components/gov-infobar.js +1 -1
- package/dist/components/gov-layout-column.js +1 -1
- package/dist/components/gov-layout.js +1 -1
- package/dist/components/gov-lifecycle.js +1 -1
- package/dist/components/gov-link.js +1 -1
- package/dist/components/gov-loading.js +1 -1
- package/dist/components/gov-message.js +1 -1
- package/dist/components/gov-pagination.js +1 -1
- package/dist/components/gov-skeleton.js +1 -1
- package/dist/components/gov-spacer.js +1 -1
- package/dist/components/gov-stepper-item.js +1 -1
- package/dist/components/gov-stepper.js +1 -1
- package/dist/components/gov-tabs-item.js +1 -1
- package/dist/components/gov-tabs.js +1 -1
- package/dist/components/gov-tag.js +1 -1
- package/dist/components/gov-theme-switch.js +1 -1
- package/dist/components/gov-tile.js +1 -1
- package/dist/components/gov-tile.js.map +1 -1
- package/dist/components/gov-tiles.js +1 -1
- package/dist/components/gov-toast.js +1 -1
- package/dist/components/gov-tooltip-content.js +1 -1
- package/dist/components/gov-tooltip.js +1 -1
- package/dist/components/gov-tooltip.js.map +1 -1
- package/dist/components/gov-wizard-item.js +1 -1
- package/dist/components/gov-wizard.js +1 -1
- package/dist/components/{p-dc7cff91.js → p-438d5e0f.js} +2 -2
- package/dist/components/{p-64f2a418.js → p-495b793e.js} +2 -2
- package/dist/components/{p-389f3bac.js → p-61453dbf.js} +2 -2
- package/dist/components/{p-9382caba.js → p-7007bd16.js} +2 -2
- package/dist/components/{p-9532728e.js → p-88b35bda.js} +2 -2
- package/dist/components/{p-f9787abd.js → p-b642e485.js} +2 -2
- package/dist/components/{p-971d6508.js → p-c024f757.js} +2 -2
- package/dist/components/p-df29e931.js +2 -0
- package/dist/components/p-df29e931.js.map +1 -0
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-0d68aa15.entry.js → p-1043fe0d.entry.js} +2 -2
- package/dist/core/p-1d5cc2b1.entry.js +2 -0
- package/dist/core/p-26726401.entry.js +2 -0
- package/dist/core/p-2800bec9.entry.js +2 -0
- package/dist/core/{p-f6ca088e.entry.js.map → p-2800bec9.entry.js.map} +1 -1
- package/dist/core/p-2b62c4ee.entry.js +2 -0
- package/dist/core/p-2f693f59.entry.js +2 -0
- package/dist/core/p-402f36af.entry.js +2 -0
- package/dist/core/{p-256f2601.entry.js → p-47d27845.entry.js} +2 -2
- package/dist/core/p-4ea79bda.entry.js +2 -0
- package/dist/core/p-54d924fc.entry.js +2 -0
- package/dist/core/{p-a694eb0b.entry.js → p-75ff8ad0.entry.js} +2 -2
- package/dist/core/p-7f7c31e2.entry.js +2 -0
- package/dist/core/p-8f21a858.entry.js +2 -0
- package/dist/core/{p-6dc4a01e.entry.js.map → p-8f21a858.entry.js.map} +1 -1
- package/dist/core/{p-8fa42b34.entry.js → p-9ee41510.entry.js} +2 -2
- package/dist/core/p-af2bc7cf.entry.js +2 -0
- package/dist/core/p-af2bc7cf.entry.js.map +1 -0
- package/dist/core/{p-bc34660e.entry.js → p-b36f84d2.entry.js} +2 -2
- package/dist/core/p-b480cda1.entry.js +2 -0
- package/dist/core/{p-5edc074a.entry.js → p-bf0712e0.entry.js} +2 -2
- package/dist/core/{p-c95b07bd.entry.js → p-c723877b.entry.js} +2 -2
- package/dist/core/{p-29554907.entry.js → p-c742b08e.entry.js} +2 -2
- package/dist/core/{p-c28dc61d.entry.js → p-fe5030a6.entry.js} +2 -2
- package/dist/core/p-fe9ca9e6.entry.js +2 -0
- package/dist/core/{p-6abc4401.entry.js.map → p-fe9ca9e6.entry.js.map} +1 -1
- package/dist/esm/core.js +1 -1
- package/dist/esm/gov-flex_3.entry.js +2 -6
- package/dist/esm/gov-flex_3.entry.js.map +1 -1
- package/dist/esm/gov-form-input_2.entry.js +1 -1
- package/dist/esm/gov-infobar.entry.js +2 -2
- package/dist/esm/gov-layout-column.entry.js +1 -1
- package/dist/esm/gov-layout.entry.js +1 -1
- package/dist/esm/gov-lifecycle.entry.js +1 -1
- package/dist/esm/gov-link.entry.js +1 -1
- package/dist/esm/gov-loading.entry.js +1 -1
- package/dist/esm/gov-message.entry.js +1 -1
- package/dist/esm/gov-spacer.entry.js +1 -1
- package/dist/esm/gov-stepper-item.entry.js +1 -1
- package/dist/esm/gov-stepper.entry.js +1 -1
- package/dist/esm/gov-tabs-item.entry.js +1 -1
- package/dist/esm/gov-tabs.entry.js +1 -1
- package/dist/esm/gov-tag.entry.js +1 -1
- package/dist/esm/gov-tile.entry.js +1 -1
- package/dist/esm/gov-tiles.entry.js +1 -1
- package/dist/esm/gov-toast.entry.js +1 -1
- package/dist/esm/gov-tooltip-content.entry.js +1 -1
- package/dist/esm/gov-tooltip.entry.js +2 -2
- package/dist/esm/gov-wizard-item.entry.js +2 -2
- package/dist/esm/gov-wizard.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/hydrate/index.js +27 -32
- package/dist/hydrate/index.mjs +27 -32
- package/dist/types/components/gov-icon/gov-icon.d.ts +0 -1
- package/package.json +1 -1
- package/dist/components/p-66fc1c3e.js +0 -2
- package/dist/components/p-66fc1c3e.js.map +0 -1
- package/dist/core/p-142174d4.entry.js +0 -2
- package/dist/core/p-23ee840f.entry.js +0 -2
- package/dist/core/p-23ee840f.entry.js.map +0 -1
- package/dist/core/p-38345e03.entry.js +0 -2
- package/dist/core/p-3a37d178.entry.js +0 -2
- package/dist/core/p-5095cafe.entry.js +0 -2
- package/dist/core/p-56dc1492.entry.js +0 -2
- package/dist/core/p-6abc4401.entry.js +0 -2
- package/dist/core/p-6c227ce2.entry.js +0 -2
- package/dist/core/p-6dc4a01e.entry.js +0 -2
- package/dist/core/p-7947fc6b.entry.js +0 -2
- package/dist/core/p-7aa304ba.entry.js +0 -2
- package/dist/core/p-d646affb.entry.js +0 -2
- package/dist/core/p-f6ca088e.entry.js +0 -2
- /package/dist/components/{p-dc7cff91.js.map → p-438d5e0f.js.map} +0 -0
- /package/dist/components/{p-64f2a418.js.map → p-495b793e.js.map} +0 -0
- /package/dist/components/{p-389f3bac.js.map → p-61453dbf.js.map} +0 -0
- /package/dist/components/{p-9382caba.js.map → p-7007bd16.js.map} +0 -0
- /package/dist/components/{p-9532728e.js.map → p-88b35bda.js.map} +0 -0
- /package/dist/components/{p-f9787abd.js.map → p-b642e485.js.map} +0 -0
- /package/dist/components/{p-971d6508.js.map → p-c024f757.js.map} +0 -0
- /package/dist/core/{p-0d68aa15.entry.js.map → p-1043fe0d.entry.js.map} +0 -0
- /package/dist/core/{p-38345e03.entry.js.map → p-1d5cc2b1.entry.js.map} +0 -0
- /package/dist/core/{p-56dc1492.entry.js.map → p-26726401.entry.js.map} +0 -0
- /package/dist/core/{p-7aa304ba.entry.js.map → p-2b62c4ee.entry.js.map} +0 -0
- /package/dist/core/{p-142174d4.entry.js.map → p-2f693f59.entry.js.map} +0 -0
- /package/dist/core/{p-3a37d178.entry.js.map → p-402f36af.entry.js.map} +0 -0
- /package/dist/core/{p-256f2601.entry.js.map → p-47d27845.entry.js.map} +0 -0
- /package/dist/core/{p-6c227ce2.entry.js.map → p-4ea79bda.entry.js.map} +0 -0
- /package/dist/core/{p-d646affb.entry.js.map → p-54d924fc.entry.js.map} +0 -0
- /package/dist/core/{p-a694eb0b.entry.js.map → p-75ff8ad0.entry.js.map} +0 -0
- /package/dist/core/{p-7947fc6b.entry.js.map → p-7f7c31e2.entry.js.map} +0 -0
- /package/dist/core/{p-8fa42b34.entry.js.map → p-9ee41510.entry.js.map} +0 -0
- /package/dist/core/{p-bc34660e.entry.js.map → p-b36f84d2.entry.js.map} +0 -0
- /package/dist/core/{p-5095cafe.entry.js.map → p-b480cda1.entry.js.map} +0 -0
- /package/dist/core/{p-5edc074a.entry.js.map → p-bf0712e0.entry.js.map} +0 -0
- /package/dist/core/{p-c95b07bd.entry.js.map → p-c723877b.entry.js.map} +0 -0
- /package/dist/core/{p-29554907.entry.js.map → p-c742b08e.entry.js.map} +0 -0
- /package/dist/core/{p-c28dc61d.entry.js.map → p-fe5030a6.entry.js.map} +0 -0
package/dist/hydrate/index.js
CHANGED
|
@@ -6054,15 +6054,11 @@ class GovIcon {
|
|
|
6054
6054
|
this.color = undefined;
|
|
6055
6055
|
this.name = null;
|
|
6056
6056
|
this.type = "components";
|
|
6057
|
-
this.error = false;
|
|
6058
6057
|
console.log('GovIcon constructor');
|
|
6059
6058
|
this.h = govHost(this.host);
|
|
6060
6059
|
}
|
|
6061
6060
|
render() {
|
|
6062
|
-
|
|
6063
|
-
hAsync(Host, { key: 'c4155bb25d253caef79470714cbb8e3ae76c01b8', class: this.h.classes(IconClass.root), size: this.size, color: this.color }, JSON.stringify(this.error));
|
|
6064
|
-
}
|
|
6065
|
-
return (hAsync(Host, { key: '98413326fc9741acb99a60ef2d81985ecb7f271d', class: this.h.classes(IconClass.root), size: this.size, color: this.color }, "Icc"));
|
|
6061
|
+
return (hAsync(Host, { key: 'd67f8522556dd6bc146746686df41951a74944a4', class: this.h.classes(IconClass.root), size: this.size, color: this.color }, "Icc"));
|
|
6066
6062
|
}
|
|
6067
6063
|
get host() { return getElement(this); }
|
|
6068
6064
|
static get cmpMeta() { return {
|
|
@@ -6072,8 +6068,7 @@ class GovIcon {
|
|
|
6072
6068
|
"size": [513],
|
|
6073
6069
|
"color": [513],
|
|
6074
6070
|
"name": [513],
|
|
6075
|
-
"type": [513]
|
|
6076
|
-
"error": [32]
|
|
6071
|
+
"type": [513]
|
|
6077
6072
|
},
|
|
6078
6073
|
"$listeners$": undefined,
|
|
6079
6074
|
"$lazyBundleId$": "-",
|
|
@@ -6130,8 +6125,8 @@ class GovInfobar {
|
|
|
6130
6125
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
6131
6126
|
}
|
|
6132
6127
|
render() {
|
|
6133
|
-
const closeButton = (hAsync("gov-button", { key: '
|
|
6134
|
-
return (hAsync(Host, { key: '
|
|
6128
|
+
const closeButton = (hAsync("gov-button", { key: '03f7921b0eef199be48f021a23f431cfb116d001', size: "s", "aria-label": this.accessibleCloseLabel, type: "base", color: this.isBold ? this.color : "neutral", "on-gov-click": this.onCloseHandler.bind(this), class: InfobarClass.close }, hAsync("gov-icon", { key: '5b8385ff70a5ae33032451d56e1d1a2e4938656e', name: "x-lg", type: "components" })));
|
|
6129
|
+
return (hAsync(Host, { key: 'cb9dbd10b36253597b3190b5ec6558761cf32ffb', class: this.h.classes(InfobarClass.root), color: this.color, type: this.type }, hAsync("section", Object.assign({ key: '301e4d6b31069183e7a84015bebe0ca9ffc0c667', class: InfobarClass.section }, this.inheritedAttributes, { role: this.role }), hAsync("slot", { key: 'a0cb4376440cc034c501dcb41f0f8912e6331a0a', name: "icon" }), hAsync("div", { key: '99f1c4dbf739de828c10277e83a3c94e9aaf68bd', class: InfobarClass.content }, this.h.hasSlot('headline') ? (hAsync(Fragment, null, hAsync("div", { class: InfobarClass.headline }, hAsync("slot", { name: "headline" }), hAsync("gov-button", { size: "s", type: "base", color: this.isBold ? this.color : "neutral", "aria-label": this.accessibleToggleLabel, "on-gov-click": () => (this.toggleContent = !this.toggleContent) }, hAsync("gov-icon", { name: this.toggleContent ? 'chevron-up' : 'chevron-down', type: "components" }))), hAsync("div", { hidden: !this.toggleContent, "aria-hidden": toBoolAttr(this.toggleContent) }, hAsync("slot", null)))) : (hAsync("slot", null))), this.closable && closeButton)));
|
|
6135
6130
|
}
|
|
6136
6131
|
onCloseHandler(e) {
|
|
6137
6132
|
this.govClose.emit({
|
|
@@ -6200,7 +6195,7 @@ class GovLayout {
|
|
|
6200
6195
|
return originalClass + ' ' + originalClass + isType + isVariant + isInverse;
|
|
6201
6196
|
}
|
|
6202
6197
|
render() {
|
|
6203
|
-
return (hAsync(Host, { key: '
|
|
6198
|
+
return (hAsync(Host, { key: '0797feef52b833ead99b61d5aa78c0dbc4f5b5b7', type: this.type, class: this.h.classes(LayoutClass.root) }, hAsync("section", { key: 'aab90b8796879b296ae09f3a7975e8931adacea8', class: this.typeClass(LayoutClass.section, this.type, this.variant, this.inverse) }, hAsync("slot", { key: 'ac79827788dfac2c3e2cfb57671a4b9422d31d7b' }))));
|
|
6204
6199
|
}
|
|
6205
6200
|
get host() { return getElement(this); }
|
|
6206
6201
|
static get cmpMeta() { return {
|
|
@@ -6223,7 +6218,7 @@ class GovLayoutColumn {
|
|
|
6223
6218
|
this.h = govHost(this.host);
|
|
6224
6219
|
}
|
|
6225
6220
|
render() {
|
|
6226
|
-
return (hAsync(Host, { key: '
|
|
6221
|
+
return (hAsync(Host, { key: '6d327408b450774b24d976e4450378d3cb41fc99', class: this.h.classes(LayoutColumnClass.root) }, hAsync("slot", { key: '8c73b3c0a3c5e1e4a79205bc7631ae8579f38643' })));
|
|
6227
6222
|
}
|
|
6228
6223
|
get host() { return getElement(this); }
|
|
6229
6224
|
static get cmpMeta() { return {
|
|
@@ -6269,7 +6264,7 @@ class GovLifecycle {
|
|
|
6269
6264
|
console.log('componentDidUpdate', this.uniqueId);
|
|
6270
6265
|
}
|
|
6271
6266
|
render() {
|
|
6272
|
-
return (hAsync(Host, { key: '
|
|
6267
|
+
return (hAsync(Host, { key: '914b3fa860f16bb35d1219f9d758cc7c0c51ca1a', identifier: this.uniqueId }, hAsync("span", { key: 'ccd8f0d9c97e53e958d0db4452d12c66fc33dd7a' }, "lifecycle ", this.uniqueId)));
|
|
6273
6268
|
}
|
|
6274
6269
|
static get cmpMeta() { return {
|
|
6275
6270
|
"$flags$": 0,
|
|
@@ -6308,7 +6303,7 @@ class GovLink {
|
|
|
6308
6303
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
6309
6304
|
}
|
|
6310
6305
|
render() {
|
|
6311
|
-
return (hAsync(Host, { key: '
|
|
6306
|
+
return (hAsync(Host, { key: '3555b4e5b485f3928dba84bf929d3d22d0e5d4ae', class: this.h.classes(LinkClass.root), size: this.size, href: this.href, external: this.external }, hAsync("a", Object.assign({ key: '4844af47b5a20f84b7ea81812eede0d0361208e8', class: "element", href: this.href, target: this.target }, this.inheritedAttributes), hAsync("slot", { key: '4a77215c37a5807be36a996ab250b52b4eaac64c', name: "icon-start" }), hAsync("slot", { key: '1f10e44babae3c7cfb702ca61b8f9c5dc0cbe999' }), this.external ? hAsync("gov-icon", { name: "box-arrow-up-right", type: "components" }) : hAsync("slot", { name: "icon-end" }))));
|
|
6312
6307
|
}
|
|
6313
6308
|
get host() { return getElement(this); }
|
|
6314
6309
|
static get watchers() { return {
|
|
@@ -6350,7 +6345,7 @@ class GovLoading {
|
|
|
6350
6345
|
this.validateSize(this.size);
|
|
6351
6346
|
}
|
|
6352
6347
|
render() {
|
|
6353
|
-
return (hAsync(Host, { key: '
|
|
6348
|
+
return (hAsync(Host, { key: 'c898509b3ef6060aaf7fe430738f8b40ae37810f', class: this.h.classes(LoadingClass.root), size: this.size }, hAsync("div", { key: '2dcb83c719ba81284fe78c1c30a12c4630571712', class: LoadingClass.content }, hAsync("gov-icon", { key: '9e499b414ceb2b601b5f7f093f403e4317fbebec', class: prepareClasses([LoadingClass.icon, "gov-spin-animation"]), name: "loader", type: "components" }), hAsync("slot", { key: '638d2b827845d5ca7b6ac9dc4ebb27e790dc710e' })), hAsync("gov-backdrop", { key: '1124baa1e77cf732888acdd3938d5b3661514b6d', inverse: true })));
|
|
6354
6349
|
}
|
|
6355
6350
|
get host() { return getElement(this); }
|
|
6356
6351
|
static get watchers() { return {
|
|
@@ -6390,7 +6385,7 @@ class GovMessage {
|
|
|
6390
6385
|
validateProp(Colors, newValue, MessageClass.root);
|
|
6391
6386
|
}
|
|
6392
6387
|
render() {
|
|
6393
|
-
return (hAsync(Host, { key: '
|
|
6388
|
+
return (hAsync(Host, { key: '21d5bfd1df1e7e4f4a9997d3ac530c5782f8781a', class: this.h.classes(MessageClass.root), color: this.color, type: this.type, role: "status" }, this.h.hasSlot("icon") && (hAsync("slot", { key: 'a05f13714529add991bd5a3c54e3ba28c00568b3', name: "icon" })), hAsync("div", { key: '9955a18a98e405947bc50fb233c9506038336300', class: MessageClass.content }, hAsync("slot", { key: '9c95c386a0747b36115cfd60d6719b7f738006de' }))));
|
|
6394
6389
|
}
|
|
6395
6390
|
get host() { return getElement(this); }
|
|
6396
6391
|
static get watchers() { return {
|
|
@@ -6714,7 +6709,7 @@ class GovSkeleton {
|
|
|
6714
6709
|
return Object.assign({}, dimenssionsStyles);
|
|
6715
6710
|
}
|
|
6716
6711
|
render() {
|
|
6717
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
6712
|
+
return (hAsync(Host, Object.assign({ key: '881e753455535f18553d6ff8abfc3e2fab0f158e', size: this.size, color: this.color, class: {
|
|
6718
6713
|
[SkeletonClass.root]: true,
|
|
6719
6714
|
circle: this.shape === "circle",
|
|
6720
6715
|
line: this.shape === "line",
|
|
@@ -6777,7 +6772,7 @@ class GovSpacer {
|
|
|
6777
6772
|
this.validateBreakpoint(this.breakpoint);
|
|
6778
6773
|
}
|
|
6779
6774
|
render() {
|
|
6780
|
-
return hAsync(Host, { key: '
|
|
6775
|
+
return hAsync(Host, { key: 'e42a12db071b1b5224b47f3655fb58e20ee8c611', class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
|
|
6781
6776
|
}
|
|
6782
6777
|
get host() { return getElement(this); }
|
|
6783
6778
|
static get watchers() { return {
|
|
@@ -6839,7 +6834,7 @@ class GovStepper {
|
|
|
6839
6834
|
this.hydrated = true;
|
|
6840
6835
|
}
|
|
6841
6836
|
render() {
|
|
6842
|
-
return (hAsync(Host, { key: '
|
|
6837
|
+
return (hAsync(Host, { key: '7f4c6fb4087d7a5dbe61a45d6b2818d4242c6340', class: this.h.classes(StepperClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: 'dc925a52989ea99d546d492762e3c902e2b8072e' })));
|
|
6843
6838
|
}
|
|
6844
6839
|
get host() { return getElement(this); }
|
|
6845
6840
|
static get watchers() { return {
|
|
@@ -6881,7 +6876,7 @@ class GovStepperItem {
|
|
|
6881
6876
|
render() {
|
|
6882
6877
|
const triggerId = this.identifier || this.triggerId;
|
|
6883
6878
|
const contentId = this.contentId;
|
|
6884
|
-
return (hAsync(Host, { key: '
|
|
6879
|
+
return (hAsync(Host, { key: 'fc00ba7e0c3be93e6a169bdb03e1e5c6c5853572', id: triggerId, class: this.h.classes(StepperItemClass.root), color: this.color, role: "listitem", hydrated: this.hydrated }, this.h.hasSlot('prefix') && (hAsync("span", { key: '8a6bc5466c813daed63d9bbe79cdff140c6efe0d', class: StepperItemClass.prefix }, hAsync("slot", { key: '91113b50c14f4483bb5e105d3f9edeededf4e012', name: "prefix" }))), hAsync("div", { key: '3fb2989980a0ae0e5dea17acf6cebfff7cdd3e9a' }, hAsync("span", { key: '62ab2a21f486c91574fdc727a11a7f799ee502ab', class: StepperItemClass.headline }, hAsync("slot", { key: '78ac018eb5041a6c41f929b6d94dbd9dcb87ee66', name: "headline" })), hAsync("slot", { key: '9d45b3bc137a55f6e54f453c82bde7ce39840cd0', name: "annotation" }), this.h.hasSlot('content') && (hAsync("div", { key: 'b845c4314ceac232f624906c71648e2e10fe7b98', class: StepperItemClass.content, id: contentId, "aria-labelledby": triggerId, role: "tabpanel" }, hAsync("slot", { key: '3571a4cb451f1d64497b31ebd3db6618ba76bdc6', name: "content" }))))));
|
|
6885
6880
|
}
|
|
6886
6881
|
get host() { return getElement(this); }
|
|
6887
6882
|
static get watchers() { return {
|
|
@@ -7032,7 +7027,7 @@ class GovTabs {
|
|
|
7032
7027
|
});
|
|
7033
7028
|
}
|
|
7034
7029
|
render() {
|
|
7035
|
-
return (hAsync(Host, { key: '
|
|
7030
|
+
return (hAsync(Host, { key: '1fffeff827b0d4944bf701c3a838eebd9666abcb', class: this.h.classes(TabsClass.root), size: this.size, color: this.color, type: this.type, direction: this.direction, onKeyDown: this.onKeydownHandler.bind(this) }, hAsync("div", Object.assign({ key: '3be472d6bc3d111de4b73f1c6e6a89d5d7e92110', class: TabsClass.tabs, role: "tablist" }, this.inheritedAttributes), hAsync("ul", { key: 'cc7108c86e22104094ef8eb6d1430a0a0abe11db', class: TabsClass.list }, this.controllers.map(control => (hAsync("li", { class: TabsClass.item }, this.type == "text" ? (hAsync("button", { class: TabsClass.btn, id: control.triggerIdentifier, role: "tab", onClick: () => this.onSelectHandler(control), disabled: control.disabled, "aria-disabled": toBoolAttr(control.disabled), "aria-selected": toBoolAttr(control.active), "aria-controls": control.contentIdentifier, tabindex: control.active && !control.disabled ? 0 : -1, ref: el => (this.triggerRefs[control.triggerIdentifier] = el) }, control.iconStart ? (hAsync("gov-icon", { name: control.iconStart.name, type: control.iconStart.type })) : null, control.label, control.iconEnd ? (hAsync("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type })) : null)) : (hAsync("gov-chip", { role: "tab", tag: 'button', identifier: control.triggerIdentifier, "aria-selected": booleanString(control.active), "aria-controls": control.contentIdentifier, focusable: control.active, disabled: control.disabled, color: this.color, size: this.size === "xs" ? "xs" : (this.size === "s" ? "s" : "m"), type: control.active ? "solid" : "outlined", ref: el => (this.triggerRefs[control.triggerIdentifier] = el), "on-gov-click": () => this.onSelectHandler(control) }, control.iconStart ? (hAsync("gov-icon", { name: control.iconStart.name, type: control.iconStart.type, slot: "icon-start" })) : null, control.label, control.iconEnd ? (hAsync("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type, slot: "icon-end" })) : null))))))), hAsync("slot", { key: '6e8295947f0555d54060a29fd8f5b7c607be4c20' })));
|
|
7036
7031
|
}
|
|
7037
7032
|
getCurrentTab() {
|
|
7038
7033
|
return this.controllers.find(control => control.active) || null;
|
|
@@ -7165,7 +7160,7 @@ class GovTabsItem {
|
|
|
7165
7160
|
}
|
|
7166
7161
|
}
|
|
7167
7162
|
render() {
|
|
7168
|
-
return (hAsync(Host, { key: '
|
|
7163
|
+
return (hAsync(Host, { key: '20bb9dd4a6cf12190de8518c7cadc794c82c896b', class: this.h.classes(TabsItemClass.root), default: this.default }, hAsync("div", { key: 'fd9a14dc61b5297ecd9392cb605f89d459723c27', class: TabsItemClass.inner, role: "tabpanel", id: this.identifier || this.contentId, hidden: !this.isActive, "aria-labelledby": this.triggerIdentifier || this.triggerId, "aria-hidden": toBoolAttrIfDefined(!this.isActive) }, hAsync("slot", { key: '2be087e8c8641b14bf4a3e34784ca1f182b34850' }))));
|
|
7169
7164
|
}
|
|
7170
7165
|
/**
|
|
7171
7166
|
* Returns a unique tab content identifier
|
|
@@ -7253,7 +7248,7 @@ class GovTag {
|
|
|
7253
7248
|
render() {
|
|
7254
7249
|
const iconStart = prepareIconFormat(this.iconStart);
|
|
7255
7250
|
const iconEnd = prepareIconFormat(this.iconEnd);
|
|
7256
|
-
return (hAsync(Host, { key: '
|
|
7251
|
+
return (hAsync(Host, { key: '6e4203592cd24134cb9e1a187dbecd6cc70d20bb', class: this.h.classes(TagClass.root), color: this.color, size: this.size, type: this.type }, hAsync("span", { key: 'a58f1a4fd78d57f8e4a89d1c325ea0f24347ccaf', class: "element" }, hAsync("slot", { key: 'bc52f9aa456b154b67b97903babe69c8b7731f50', name: "icon-start" }, iconStart && hAsync("gov-icon", { key: 'ed492a9c4746766d8ac7bf810da994147d189133', type: iconStart.type, name: iconStart.name })), hAsync("slot", { key: '52e2c10f8048aa0168dc7daf44392f19dd118e43' }), hAsync("slot", { key: 'ccbd781c7a0e8fd2e02725cebc5df48e8e84b6ea', name: "icon-end" }, iconEnd && hAsync("gov-icon", { key: 'cce60e6a25e14d42281111979b7689d03ea264e1', type: iconEnd.type, name: iconEnd.name })))));
|
|
7257
7252
|
}
|
|
7258
7253
|
get host() { return getElement(this); }
|
|
7259
7254
|
static get watchers() { return {
|
|
@@ -7382,7 +7377,7 @@ class GovThemeSwitch {
|
|
|
7382
7377
|
if (this.theme === ThemeList.auto) {
|
|
7383
7378
|
isDark = this.isSystemPrefersColorDark;
|
|
7384
7379
|
}
|
|
7385
|
-
return (hAsync(Host, { key: '
|
|
7380
|
+
return (hAsync(Host, { key: '51cbe413c4cd97f82ae8e34376cad4cb59c3a41d', class: this.h.classes(ThemeSwitchClass.root), theme: isDark ? ThemeList.dark : ThemeList.light, size: this.size }, hAsync("button", { key: '8f7dbeec9ff6617c4953c4a0582b374baf7ba8c3', onClick: () => this.setThemeState(isDark ? ThemeList.light : ThemeList.dark), "aria-current": this.theme, "aria-label": isDark ? this.ariaLabelDark : this.ariaLabelLight }, hAsync("span", { key: '64f9a96872b50f33483721541178e0d4c553d834' }, hAsync("span", { key: 'f363538d18d9a4419f1ef15b1172c941277372a3', class: ThemeSwitchClass.indicator }, ThemeList.light && hAsync("gov-icon", { key: '762947b5442313672e7ace3ed59523404f548b5b', name: "sun", class: ThemeSwitchClass.iconLight, type: "components" }), ThemeList.dark && hAsync("gov-icon", { key: '371ace4006ae511225583323682b08c8bc154f61', name: "moon", class: ThemeSwitchClass.iconDark, type: "components" })), this.displayLabel && (isDark ? this.labelDark : this.labelLight)))));
|
|
7386
7381
|
}
|
|
7387
7382
|
get host() { return getElement(this); }
|
|
7388
7383
|
static get watchers() { return {
|
|
@@ -7429,7 +7424,7 @@ class GovTile {
|
|
|
7429
7424
|
this.h = govHost(this.host);
|
|
7430
7425
|
}
|
|
7431
7426
|
render() {
|
|
7432
|
-
return (hAsync(Host, { key: '
|
|
7427
|
+
return (hAsync(Host, { key: '84c41fa8adec27a169b9af69b9d7542bd86dcf36', class: this.h.classes(TileClass.root), size: this.size, orientation: this.orientation, clickable: this.href ? true : null }, hAsync("slot", { key: '7176b3b1da20e5ba92c87c32b48f850e141558f9', name: "icon" }), hAsync("div", { key: '614de838391b6e65368cdb58b5db81af5a344d21', class: TileClass.content }, hAsync("div", { key: 'f952461981e6a5f20172a6d0ad9d041a5f9d8171', class: TileClass.text }, hAsync("div", { key: 'fb411a7f50a8a0ecb6015a69fccb8b0832c5aed4', class: TileClass.title }, this.href ? (hAsync(Fragment$1, null, hAsync("a", { href: this.href, target: this.target, class: TileClass.link, ref: el => (this.triggerRef = el) }, hAsync("slot", { name: "title" })), hAsync("span", { class: TileClass.icon }, hAsync("gov-icon", { name: "chevron-right", type: "components" })))) : (hAsync("slot", { name: "title" }))), hAsync("div", { key: '555c1aff4029a9b62f8e53391da8e289d373e100', class: `${TileClass.annotation} ${this.href ? `${TileClass.annotation}--padding` : ''}` }, hAsync("slot", { key: 'e9310d039ca17a2a45dc9ef6a04c107dc6cf1bcd' }))), hAsync("slot", { key: 'e8c792e1682c30d5dcaf33798908ec06da7a8d1a', name: "button" }))));
|
|
7433
7428
|
}
|
|
7434
7429
|
/**
|
|
7435
7430
|
* Returns a clickable element instance
|
|
@@ -7466,7 +7461,7 @@ class GovTiles {
|
|
|
7466
7461
|
this.h = govHost(this.host);
|
|
7467
7462
|
}
|
|
7468
7463
|
render() {
|
|
7469
|
-
return (hAsync(Host, { key: '
|
|
7464
|
+
return (hAsync(Host, { key: 'ecc964ac553f792318284779a8823eea7ae731f9', class: this.h.classes(TilesClass.root) }, hAsync("slot", { key: '609deafe9ff8cb61d5aa30b51b26e539cb5d3934' })));
|
|
7470
7465
|
}
|
|
7471
7466
|
get host() { return getElement(this); }
|
|
7472
7467
|
static get cmpMeta() { return {
|
|
@@ -7545,7 +7540,7 @@ class GovToast {
|
|
|
7545
7540
|
}
|
|
7546
7541
|
}
|
|
7547
7542
|
render() {
|
|
7548
|
-
return (hAsync(Host, { key: '
|
|
7543
|
+
return (hAsync(Host, { key: '9d2e214ed4c883f0ac90eb6d580ed95cb55e42cd', class: this.h.classes(ToastClass.root), "data-toast-id": this.toastId, gravity: this.gravity, position: this.position, color: this.color, type: this.type, style: { "--toast-duration": this.time + "ms" } }, this.h.hasSlot("icon") && (hAsync("span", { key: '54292ad196806932ab9ae44bfc33187f4154e616', class: ToastClass.icon }, hAsync("slot", { key: '9545c651a46a7bb55990e9327e8fbe4fe126954f', name: "icon" }))), hAsync("div", Object.assign({ key: 'daed3fcbd83eec05979a9e00e2f983d5c6b1b538', class: ToastClass.content }, this.inheritedAttributes, { "aria-live": "polite", role: "status" }), hAsync("slot", { key: 'd3f78c0d713d56ef32b0dece9553e258f0ef4ef4' })), hAsync("gov-button", { key: 'dad799261c83b387c0590fd0ad13bdad584ee6b4', size: "s", "aria-label": this.accessibleCloseLabel, color: this.isBold ? this.color : "neutral", type: "base", "on-gov-click": this.onCloseHandler.bind(this), class: ToastClass.close }, this.closeLabel ? this.closeLabel : hAsync("gov-icon", { name: "x-lg", type: "components" })), hAsync("div", { key: 'e13b568ada5e34f00c405d359665cd9d0af5ff89', class: ToastClass.timer })));
|
|
7549
7544
|
}
|
|
7550
7545
|
onCloseHandler() {
|
|
7551
7546
|
this.govClose.emit(this.toastId);
|
|
@@ -7802,11 +7797,11 @@ class GovTooltip {
|
|
|
7802
7797
|
}
|
|
7803
7798
|
render() {
|
|
7804
7799
|
var _a;
|
|
7805
|
-
return (hAsync(Host, { key: '
|
|
7800
|
+
return (hAsync(Host, { key: '37b75e6feac97800345d4e93f7be840172712dd2', id: this.tooltipId, class: this.h.classes(TooltipClass.root), position: this.position }, hAsync("span", { key: '0982a167f159aca0d39edc784ef50f13409fa29c', role: 'button', tabindex: 0, onKeyPress: () => this.showTooltip(), onBlur: () => {
|
|
7806
7801
|
if (this.persist === false) {
|
|
7807
7802
|
this.hideTooltip();
|
|
7808
7803
|
}
|
|
7809
|
-
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '
|
|
7804
|
+
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '1b6f7bd6a704ac56941e464d401eebf9da4eafaf' }))));
|
|
7810
7805
|
}
|
|
7811
7806
|
/**
|
|
7812
7807
|
* Showing the modal
|
|
@@ -7877,7 +7872,7 @@ class GovTooltipContent {
|
|
|
7877
7872
|
}
|
|
7878
7873
|
}
|
|
7879
7874
|
render() {
|
|
7880
|
-
return (hAsync(Host, { key: '
|
|
7875
|
+
return (hAsync(Host, { key: 'c47f590b5f8dffb0c0f1caa17978075fb64c3603', class: TooltipContentClass.root, role: "tooltip", hidden: !this.isVisible, "aria-hidden": !toBoolAttr(this.isVisible), "is-visible": this.isVisible }, hAsync("slot", { key: '276690a83ede038b09f5e439495693b7215e4af7' }), this.persist ? (hAsync("gov-button", { "on-gov-click": this.hideContent.bind(this), color: this.color, size: this.size, type: "base" }, hAsync("gov-icon", { slot: "icon-start", name: "x-lg", type: "components" }))) : null));
|
|
7881
7876
|
}
|
|
7882
7877
|
get host() { return getElement(this); }
|
|
7883
7878
|
static get watchers() { return {
|
|
@@ -7951,7 +7946,7 @@ class GovWizard {
|
|
|
7951
7946
|
this.hydrated = true;
|
|
7952
7947
|
}
|
|
7953
7948
|
render() {
|
|
7954
|
-
return (hAsync(Host, { key: '
|
|
7949
|
+
return (hAsync(Host, { key: 'fb6b400947dc4c7feddd5b83b3c167d611af0370', class: this.h.classes(WizardClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: 'df2cb17a4c48813843ed5b3174a27b07e04b85b4' })));
|
|
7955
7950
|
}
|
|
7956
7951
|
/**
|
|
7957
7952
|
* Validate the WCAG attributes of the component
|
|
@@ -8013,8 +8008,8 @@ class GovWizardItem {
|
|
|
8013
8008
|
render() {
|
|
8014
8009
|
const triggerId = this.identifier || this.triggerId;
|
|
8015
8010
|
const Tag = this.collapsible ? Tags.BUTTON : Tags.DIV;
|
|
8016
|
-
const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: '
|
|
8017
|
-
return (hAsync(Host, { key: '
|
|
8011
|
+
const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: '82b6be7faa5fdf29249eec96683ca3914a060dd7', class: WizardItemClass.prefix }, hAsync("slot", { key: '4aa4139f7ae8fa022c6f93b3f6fe508ee30e881e', name: "prefix" })));
|
|
8012
|
+
return (hAsync(Host, { key: '70570aa0326bc056bdcada429a04f87b2e106051', class: this.h.classes(WizardItemClass.root), "is-expanded": this.isExpanded, color: this.color, size: this.size, role: "listitem", collapsible: this.collapsible, hydrated: this.hydrated }, hAsync("div", { key: 'ef0e103ec1535e155c12df999f5b64747c1167c2', class: WizardItemClass.header }, prefixSlot, this.collapsible ? (hAsync(Tag, { id: triggerId, class: this.h.classes(WizardItemClass.label), "aria-expanded": booleanString(this.isExpanded), "aria-controls": this.contentId, disabled: this.disabled, "aria-disabled": toBoolAttrIfDefined(this.disabled), onClick: (e) => {
|
|
8018
8013
|
e.preventDefault();
|
|
8019
8014
|
e.stopPropagation();
|
|
8020
8015
|
this.toggle();
|
package/dist/hydrate/index.mjs
CHANGED
|
@@ -6050,15 +6050,11 @@ class GovIcon {
|
|
|
6050
6050
|
this.color = undefined;
|
|
6051
6051
|
this.name = null;
|
|
6052
6052
|
this.type = "components";
|
|
6053
|
-
this.error = false;
|
|
6054
6053
|
console.log('GovIcon constructor');
|
|
6055
6054
|
this.h = govHost(this.host);
|
|
6056
6055
|
}
|
|
6057
6056
|
render() {
|
|
6058
|
-
|
|
6059
|
-
hAsync(Host, { key: 'c4155bb25d253caef79470714cbb8e3ae76c01b8', class: this.h.classes(IconClass.root), size: this.size, color: this.color }, JSON.stringify(this.error));
|
|
6060
|
-
}
|
|
6061
|
-
return (hAsync(Host, { key: '98413326fc9741acb99a60ef2d81985ecb7f271d', class: this.h.classes(IconClass.root), size: this.size, color: this.color }, "Icc"));
|
|
6057
|
+
return (hAsync(Host, { key: 'd67f8522556dd6bc146746686df41951a74944a4', class: this.h.classes(IconClass.root), size: this.size, color: this.color }, "Icc"));
|
|
6062
6058
|
}
|
|
6063
6059
|
get host() { return getElement(this); }
|
|
6064
6060
|
static get cmpMeta() { return {
|
|
@@ -6068,8 +6064,7 @@ class GovIcon {
|
|
|
6068
6064
|
"size": [513],
|
|
6069
6065
|
"color": [513],
|
|
6070
6066
|
"name": [513],
|
|
6071
|
-
"type": [513]
|
|
6072
|
-
"error": [32]
|
|
6067
|
+
"type": [513]
|
|
6073
6068
|
},
|
|
6074
6069
|
"$listeners$": undefined,
|
|
6075
6070
|
"$lazyBundleId$": "-",
|
|
@@ -6126,8 +6121,8 @@ class GovInfobar {
|
|
|
6126
6121
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
6127
6122
|
}
|
|
6128
6123
|
render() {
|
|
6129
|
-
const closeButton = (hAsync("gov-button", { key: '
|
|
6130
|
-
return (hAsync(Host, { key: '
|
|
6124
|
+
const closeButton = (hAsync("gov-button", { key: '03f7921b0eef199be48f021a23f431cfb116d001', size: "s", "aria-label": this.accessibleCloseLabel, type: "base", color: this.isBold ? this.color : "neutral", "on-gov-click": this.onCloseHandler.bind(this), class: InfobarClass.close }, hAsync("gov-icon", { key: '5b8385ff70a5ae33032451d56e1d1a2e4938656e', name: "x-lg", type: "components" })));
|
|
6125
|
+
return (hAsync(Host, { key: 'cb9dbd10b36253597b3190b5ec6558761cf32ffb', class: this.h.classes(InfobarClass.root), color: this.color, type: this.type }, hAsync("section", Object.assign({ key: '301e4d6b31069183e7a84015bebe0ca9ffc0c667', class: InfobarClass.section }, this.inheritedAttributes, { role: this.role }), hAsync("slot", { key: 'a0cb4376440cc034c501dcb41f0f8912e6331a0a', name: "icon" }), hAsync("div", { key: '99f1c4dbf739de828c10277e83a3c94e9aaf68bd', class: InfobarClass.content }, this.h.hasSlot('headline') ? (hAsync(Fragment, null, hAsync("div", { class: InfobarClass.headline }, hAsync("slot", { name: "headline" }), hAsync("gov-button", { size: "s", type: "base", color: this.isBold ? this.color : "neutral", "aria-label": this.accessibleToggleLabel, "on-gov-click": () => (this.toggleContent = !this.toggleContent) }, hAsync("gov-icon", { name: this.toggleContent ? 'chevron-up' : 'chevron-down', type: "components" }))), hAsync("div", { hidden: !this.toggleContent, "aria-hidden": toBoolAttr(this.toggleContent) }, hAsync("slot", null)))) : (hAsync("slot", null))), this.closable && closeButton)));
|
|
6131
6126
|
}
|
|
6132
6127
|
onCloseHandler(e) {
|
|
6133
6128
|
this.govClose.emit({
|
|
@@ -6196,7 +6191,7 @@ class GovLayout {
|
|
|
6196
6191
|
return originalClass + ' ' + originalClass + isType + isVariant + isInverse;
|
|
6197
6192
|
}
|
|
6198
6193
|
render() {
|
|
6199
|
-
return (hAsync(Host, { key: '
|
|
6194
|
+
return (hAsync(Host, { key: '0797feef52b833ead99b61d5aa78c0dbc4f5b5b7', type: this.type, class: this.h.classes(LayoutClass.root) }, hAsync("section", { key: 'aab90b8796879b296ae09f3a7975e8931adacea8', class: this.typeClass(LayoutClass.section, this.type, this.variant, this.inverse) }, hAsync("slot", { key: 'ac79827788dfac2c3e2cfb57671a4b9422d31d7b' }))));
|
|
6200
6195
|
}
|
|
6201
6196
|
get host() { return getElement(this); }
|
|
6202
6197
|
static get cmpMeta() { return {
|
|
@@ -6219,7 +6214,7 @@ class GovLayoutColumn {
|
|
|
6219
6214
|
this.h = govHost(this.host);
|
|
6220
6215
|
}
|
|
6221
6216
|
render() {
|
|
6222
|
-
return (hAsync(Host, { key: '
|
|
6217
|
+
return (hAsync(Host, { key: '6d327408b450774b24d976e4450378d3cb41fc99', class: this.h.classes(LayoutColumnClass.root) }, hAsync("slot", { key: '8c73b3c0a3c5e1e4a79205bc7631ae8579f38643' })));
|
|
6223
6218
|
}
|
|
6224
6219
|
get host() { return getElement(this); }
|
|
6225
6220
|
static get cmpMeta() { return {
|
|
@@ -6265,7 +6260,7 @@ class GovLifecycle {
|
|
|
6265
6260
|
console.log('componentDidUpdate', this.uniqueId);
|
|
6266
6261
|
}
|
|
6267
6262
|
render() {
|
|
6268
|
-
return (hAsync(Host, { key: '
|
|
6263
|
+
return (hAsync(Host, { key: '914b3fa860f16bb35d1219f9d758cc7c0c51ca1a', identifier: this.uniqueId }, hAsync("span", { key: 'ccd8f0d9c97e53e958d0db4452d12c66fc33dd7a' }, "lifecycle ", this.uniqueId)));
|
|
6269
6264
|
}
|
|
6270
6265
|
static get cmpMeta() { return {
|
|
6271
6266
|
"$flags$": 0,
|
|
@@ -6304,7 +6299,7 @@ class GovLink {
|
|
|
6304
6299
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
6305
6300
|
}
|
|
6306
6301
|
render() {
|
|
6307
|
-
return (hAsync(Host, { key: '
|
|
6302
|
+
return (hAsync(Host, { key: '3555b4e5b485f3928dba84bf929d3d22d0e5d4ae', class: this.h.classes(LinkClass.root), size: this.size, href: this.href, external: this.external }, hAsync("a", Object.assign({ key: '4844af47b5a20f84b7ea81812eede0d0361208e8', class: "element", href: this.href, target: this.target }, this.inheritedAttributes), hAsync("slot", { key: '4a77215c37a5807be36a996ab250b52b4eaac64c', name: "icon-start" }), hAsync("slot", { key: '1f10e44babae3c7cfb702ca61b8f9c5dc0cbe999' }), this.external ? hAsync("gov-icon", { name: "box-arrow-up-right", type: "components" }) : hAsync("slot", { name: "icon-end" }))));
|
|
6308
6303
|
}
|
|
6309
6304
|
get host() { return getElement(this); }
|
|
6310
6305
|
static get watchers() { return {
|
|
@@ -6346,7 +6341,7 @@ class GovLoading {
|
|
|
6346
6341
|
this.validateSize(this.size);
|
|
6347
6342
|
}
|
|
6348
6343
|
render() {
|
|
6349
|
-
return (hAsync(Host, { key: '
|
|
6344
|
+
return (hAsync(Host, { key: 'c898509b3ef6060aaf7fe430738f8b40ae37810f', class: this.h.classes(LoadingClass.root), size: this.size }, hAsync("div", { key: '2dcb83c719ba81284fe78c1c30a12c4630571712', class: LoadingClass.content }, hAsync("gov-icon", { key: '9e499b414ceb2b601b5f7f093f403e4317fbebec', class: prepareClasses([LoadingClass.icon, "gov-spin-animation"]), name: "loader", type: "components" }), hAsync("slot", { key: '638d2b827845d5ca7b6ac9dc4ebb27e790dc710e' })), hAsync("gov-backdrop", { key: '1124baa1e77cf732888acdd3938d5b3661514b6d', inverse: true })));
|
|
6350
6345
|
}
|
|
6351
6346
|
get host() { return getElement(this); }
|
|
6352
6347
|
static get watchers() { return {
|
|
@@ -6386,7 +6381,7 @@ class GovMessage {
|
|
|
6386
6381
|
validateProp(Colors, newValue, MessageClass.root);
|
|
6387
6382
|
}
|
|
6388
6383
|
render() {
|
|
6389
|
-
return (hAsync(Host, { key: '
|
|
6384
|
+
return (hAsync(Host, { key: '21d5bfd1df1e7e4f4a9997d3ac530c5782f8781a', class: this.h.classes(MessageClass.root), color: this.color, type: this.type, role: "status" }, this.h.hasSlot("icon") && (hAsync("slot", { key: 'a05f13714529add991bd5a3c54e3ba28c00568b3', name: "icon" })), hAsync("div", { key: '9955a18a98e405947bc50fb233c9506038336300', class: MessageClass.content }, hAsync("slot", { key: '9c95c386a0747b36115cfd60d6719b7f738006de' }))));
|
|
6390
6385
|
}
|
|
6391
6386
|
get host() { return getElement(this); }
|
|
6392
6387
|
static get watchers() { return {
|
|
@@ -6710,7 +6705,7 @@ class GovSkeleton {
|
|
|
6710
6705
|
return Object.assign({}, dimenssionsStyles);
|
|
6711
6706
|
}
|
|
6712
6707
|
render() {
|
|
6713
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
6708
|
+
return (hAsync(Host, Object.assign({ key: '881e753455535f18553d6ff8abfc3e2fab0f158e', size: this.size, color: this.color, class: {
|
|
6714
6709
|
[SkeletonClass.root]: true,
|
|
6715
6710
|
circle: this.shape === "circle",
|
|
6716
6711
|
line: this.shape === "line",
|
|
@@ -6773,7 +6768,7 @@ class GovSpacer {
|
|
|
6773
6768
|
this.validateBreakpoint(this.breakpoint);
|
|
6774
6769
|
}
|
|
6775
6770
|
render() {
|
|
6776
|
-
return hAsync(Host, { key: '
|
|
6771
|
+
return hAsync(Host, { key: 'e42a12db071b1b5224b47f3655fb58e20ee8c611', class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
|
|
6777
6772
|
}
|
|
6778
6773
|
get host() { return getElement(this); }
|
|
6779
6774
|
static get watchers() { return {
|
|
@@ -6835,7 +6830,7 @@ class GovStepper {
|
|
|
6835
6830
|
this.hydrated = true;
|
|
6836
6831
|
}
|
|
6837
6832
|
render() {
|
|
6838
|
-
return (hAsync(Host, { key: '
|
|
6833
|
+
return (hAsync(Host, { key: '7f4c6fb4087d7a5dbe61a45d6b2818d4242c6340', class: this.h.classes(StepperClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: 'dc925a52989ea99d546d492762e3c902e2b8072e' })));
|
|
6839
6834
|
}
|
|
6840
6835
|
get host() { return getElement(this); }
|
|
6841
6836
|
static get watchers() { return {
|
|
@@ -6877,7 +6872,7 @@ class GovStepperItem {
|
|
|
6877
6872
|
render() {
|
|
6878
6873
|
const triggerId = this.identifier || this.triggerId;
|
|
6879
6874
|
const contentId = this.contentId;
|
|
6880
|
-
return (hAsync(Host, { key: '
|
|
6875
|
+
return (hAsync(Host, { key: 'fc00ba7e0c3be93e6a169bdb03e1e5c6c5853572', id: triggerId, class: this.h.classes(StepperItemClass.root), color: this.color, role: "listitem", hydrated: this.hydrated }, this.h.hasSlot('prefix') && (hAsync("span", { key: '8a6bc5466c813daed63d9bbe79cdff140c6efe0d', class: StepperItemClass.prefix }, hAsync("slot", { key: '91113b50c14f4483bb5e105d3f9edeededf4e012', name: "prefix" }))), hAsync("div", { key: '3fb2989980a0ae0e5dea17acf6cebfff7cdd3e9a' }, hAsync("span", { key: '62ab2a21f486c91574fdc727a11a7f799ee502ab', class: StepperItemClass.headline }, hAsync("slot", { key: '78ac018eb5041a6c41f929b6d94dbd9dcb87ee66', name: "headline" })), hAsync("slot", { key: '9d45b3bc137a55f6e54f453c82bde7ce39840cd0', name: "annotation" }), this.h.hasSlot('content') && (hAsync("div", { key: 'b845c4314ceac232f624906c71648e2e10fe7b98', class: StepperItemClass.content, id: contentId, "aria-labelledby": triggerId, role: "tabpanel" }, hAsync("slot", { key: '3571a4cb451f1d64497b31ebd3db6618ba76bdc6', name: "content" }))))));
|
|
6881
6876
|
}
|
|
6882
6877
|
get host() { return getElement(this); }
|
|
6883
6878
|
static get watchers() { return {
|
|
@@ -7028,7 +7023,7 @@ class GovTabs {
|
|
|
7028
7023
|
});
|
|
7029
7024
|
}
|
|
7030
7025
|
render() {
|
|
7031
|
-
return (hAsync(Host, { key: '
|
|
7026
|
+
return (hAsync(Host, { key: '1fffeff827b0d4944bf701c3a838eebd9666abcb', class: this.h.classes(TabsClass.root), size: this.size, color: this.color, type: this.type, direction: this.direction, onKeyDown: this.onKeydownHandler.bind(this) }, hAsync("div", Object.assign({ key: '3be472d6bc3d111de4b73f1c6e6a89d5d7e92110', class: TabsClass.tabs, role: "tablist" }, this.inheritedAttributes), hAsync("ul", { key: 'cc7108c86e22104094ef8eb6d1430a0a0abe11db', class: TabsClass.list }, this.controllers.map(control => (hAsync("li", { class: TabsClass.item }, this.type == "text" ? (hAsync("button", { class: TabsClass.btn, id: control.triggerIdentifier, role: "tab", onClick: () => this.onSelectHandler(control), disabled: control.disabled, "aria-disabled": toBoolAttr(control.disabled), "aria-selected": toBoolAttr(control.active), "aria-controls": control.contentIdentifier, tabindex: control.active && !control.disabled ? 0 : -1, ref: el => (this.triggerRefs[control.triggerIdentifier] = el) }, control.iconStart ? (hAsync("gov-icon", { name: control.iconStart.name, type: control.iconStart.type })) : null, control.label, control.iconEnd ? (hAsync("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type })) : null)) : (hAsync("gov-chip", { role: "tab", tag: 'button', identifier: control.triggerIdentifier, "aria-selected": booleanString(control.active), "aria-controls": control.contentIdentifier, focusable: control.active, disabled: control.disabled, color: this.color, size: this.size === "xs" ? "xs" : (this.size === "s" ? "s" : "m"), type: control.active ? "solid" : "outlined", ref: el => (this.triggerRefs[control.triggerIdentifier] = el), "on-gov-click": () => this.onSelectHandler(control) }, control.iconStart ? (hAsync("gov-icon", { name: control.iconStart.name, type: control.iconStart.type, slot: "icon-start" })) : null, control.label, control.iconEnd ? (hAsync("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type, slot: "icon-end" })) : null))))))), hAsync("slot", { key: '6e8295947f0555d54060a29fd8f5b7c607be4c20' })));
|
|
7032
7027
|
}
|
|
7033
7028
|
getCurrentTab() {
|
|
7034
7029
|
return this.controllers.find(control => control.active) || null;
|
|
@@ -7161,7 +7156,7 @@ class GovTabsItem {
|
|
|
7161
7156
|
}
|
|
7162
7157
|
}
|
|
7163
7158
|
render() {
|
|
7164
|
-
return (hAsync(Host, { key: '
|
|
7159
|
+
return (hAsync(Host, { key: '20bb9dd4a6cf12190de8518c7cadc794c82c896b', class: this.h.classes(TabsItemClass.root), default: this.default }, hAsync("div", { key: 'fd9a14dc61b5297ecd9392cb605f89d459723c27', class: TabsItemClass.inner, role: "tabpanel", id: this.identifier || this.contentId, hidden: !this.isActive, "aria-labelledby": this.triggerIdentifier || this.triggerId, "aria-hidden": toBoolAttrIfDefined(!this.isActive) }, hAsync("slot", { key: '2be087e8c8641b14bf4a3e34784ca1f182b34850' }))));
|
|
7165
7160
|
}
|
|
7166
7161
|
/**
|
|
7167
7162
|
* Returns a unique tab content identifier
|
|
@@ -7249,7 +7244,7 @@ class GovTag {
|
|
|
7249
7244
|
render() {
|
|
7250
7245
|
const iconStart = prepareIconFormat(this.iconStart);
|
|
7251
7246
|
const iconEnd = prepareIconFormat(this.iconEnd);
|
|
7252
|
-
return (hAsync(Host, { key: '
|
|
7247
|
+
return (hAsync(Host, { key: '6e4203592cd24134cb9e1a187dbecd6cc70d20bb', class: this.h.classes(TagClass.root), color: this.color, size: this.size, type: this.type }, hAsync("span", { key: 'a58f1a4fd78d57f8e4a89d1c325ea0f24347ccaf', class: "element" }, hAsync("slot", { key: 'bc52f9aa456b154b67b97903babe69c8b7731f50', name: "icon-start" }, iconStart && hAsync("gov-icon", { key: 'ed492a9c4746766d8ac7bf810da994147d189133', type: iconStart.type, name: iconStart.name })), hAsync("slot", { key: '52e2c10f8048aa0168dc7daf44392f19dd118e43' }), hAsync("slot", { key: 'ccbd781c7a0e8fd2e02725cebc5df48e8e84b6ea', name: "icon-end" }, iconEnd && hAsync("gov-icon", { key: 'cce60e6a25e14d42281111979b7689d03ea264e1', type: iconEnd.type, name: iconEnd.name })))));
|
|
7253
7248
|
}
|
|
7254
7249
|
get host() { return getElement(this); }
|
|
7255
7250
|
static get watchers() { return {
|
|
@@ -7378,7 +7373,7 @@ class GovThemeSwitch {
|
|
|
7378
7373
|
if (this.theme === ThemeList.auto) {
|
|
7379
7374
|
isDark = this.isSystemPrefersColorDark;
|
|
7380
7375
|
}
|
|
7381
|
-
return (hAsync(Host, { key: '
|
|
7376
|
+
return (hAsync(Host, { key: '51cbe413c4cd97f82ae8e34376cad4cb59c3a41d', class: this.h.classes(ThemeSwitchClass.root), theme: isDark ? ThemeList.dark : ThemeList.light, size: this.size }, hAsync("button", { key: '8f7dbeec9ff6617c4953c4a0582b374baf7ba8c3', onClick: () => this.setThemeState(isDark ? ThemeList.light : ThemeList.dark), "aria-current": this.theme, "aria-label": isDark ? this.ariaLabelDark : this.ariaLabelLight }, hAsync("span", { key: '64f9a96872b50f33483721541178e0d4c553d834' }, hAsync("span", { key: 'f363538d18d9a4419f1ef15b1172c941277372a3', class: ThemeSwitchClass.indicator }, ThemeList.light && hAsync("gov-icon", { key: '762947b5442313672e7ace3ed59523404f548b5b', name: "sun", class: ThemeSwitchClass.iconLight, type: "components" }), ThemeList.dark && hAsync("gov-icon", { key: '371ace4006ae511225583323682b08c8bc154f61', name: "moon", class: ThemeSwitchClass.iconDark, type: "components" })), this.displayLabel && (isDark ? this.labelDark : this.labelLight)))));
|
|
7382
7377
|
}
|
|
7383
7378
|
get host() { return getElement(this); }
|
|
7384
7379
|
static get watchers() { return {
|
|
@@ -7425,7 +7420,7 @@ class GovTile {
|
|
|
7425
7420
|
this.h = govHost(this.host);
|
|
7426
7421
|
}
|
|
7427
7422
|
render() {
|
|
7428
|
-
return (hAsync(Host, { key: '
|
|
7423
|
+
return (hAsync(Host, { key: '84c41fa8adec27a169b9af69b9d7542bd86dcf36', class: this.h.classes(TileClass.root), size: this.size, orientation: this.orientation, clickable: this.href ? true : null }, hAsync("slot", { key: '7176b3b1da20e5ba92c87c32b48f850e141558f9', name: "icon" }), hAsync("div", { key: '614de838391b6e65368cdb58b5db81af5a344d21', class: TileClass.content }, hAsync("div", { key: 'f952461981e6a5f20172a6d0ad9d041a5f9d8171', class: TileClass.text }, hAsync("div", { key: 'fb411a7f50a8a0ecb6015a69fccb8b0832c5aed4', class: TileClass.title }, this.href ? (hAsync(Fragment$1, null, hAsync("a", { href: this.href, target: this.target, class: TileClass.link, ref: el => (this.triggerRef = el) }, hAsync("slot", { name: "title" })), hAsync("span", { class: TileClass.icon }, hAsync("gov-icon", { name: "chevron-right", type: "components" })))) : (hAsync("slot", { name: "title" }))), hAsync("div", { key: '555c1aff4029a9b62f8e53391da8e289d373e100', class: `${TileClass.annotation} ${this.href ? `${TileClass.annotation}--padding` : ''}` }, hAsync("slot", { key: 'e9310d039ca17a2a45dc9ef6a04c107dc6cf1bcd' }))), hAsync("slot", { key: 'e8c792e1682c30d5dcaf33798908ec06da7a8d1a', name: "button" }))));
|
|
7429
7424
|
}
|
|
7430
7425
|
/**
|
|
7431
7426
|
* Returns a clickable element instance
|
|
@@ -7462,7 +7457,7 @@ class GovTiles {
|
|
|
7462
7457
|
this.h = govHost(this.host);
|
|
7463
7458
|
}
|
|
7464
7459
|
render() {
|
|
7465
|
-
return (hAsync(Host, { key: '
|
|
7460
|
+
return (hAsync(Host, { key: 'ecc964ac553f792318284779a8823eea7ae731f9', class: this.h.classes(TilesClass.root) }, hAsync("slot", { key: '609deafe9ff8cb61d5aa30b51b26e539cb5d3934' })));
|
|
7466
7461
|
}
|
|
7467
7462
|
get host() { return getElement(this); }
|
|
7468
7463
|
static get cmpMeta() { return {
|
|
@@ -7541,7 +7536,7 @@ class GovToast {
|
|
|
7541
7536
|
}
|
|
7542
7537
|
}
|
|
7543
7538
|
render() {
|
|
7544
|
-
return (hAsync(Host, { key: '
|
|
7539
|
+
return (hAsync(Host, { key: '9d2e214ed4c883f0ac90eb6d580ed95cb55e42cd', class: this.h.classes(ToastClass.root), "data-toast-id": this.toastId, gravity: this.gravity, position: this.position, color: this.color, type: this.type, style: { "--toast-duration": this.time + "ms" } }, this.h.hasSlot("icon") && (hAsync("span", { key: '54292ad196806932ab9ae44bfc33187f4154e616', class: ToastClass.icon }, hAsync("slot", { key: '9545c651a46a7bb55990e9327e8fbe4fe126954f', name: "icon" }))), hAsync("div", Object.assign({ key: 'daed3fcbd83eec05979a9e00e2f983d5c6b1b538', class: ToastClass.content }, this.inheritedAttributes, { "aria-live": "polite", role: "status" }), hAsync("slot", { key: 'd3f78c0d713d56ef32b0dece9553e258f0ef4ef4' })), hAsync("gov-button", { key: 'dad799261c83b387c0590fd0ad13bdad584ee6b4', size: "s", "aria-label": this.accessibleCloseLabel, color: this.isBold ? this.color : "neutral", type: "base", "on-gov-click": this.onCloseHandler.bind(this), class: ToastClass.close }, this.closeLabel ? this.closeLabel : hAsync("gov-icon", { name: "x-lg", type: "components" })), hAsync("div", { key: 'e13b568ada5e34f00c405d359665cd9d0af5ff89', class: ToastClass.timer })));
|
|
7545
7540
|
}
|
|
7546
7541
|
onCloseHandler() {
|
|
7547
7542
|
this.govClose.emit(this.toastId);
|
|
@@ -7798,11 +7793,11 @@ class GovTooltip {
|
|
|
7798
7793
|
}
|
|
7799
7794
|
render() {
|
|
7800
7795
|
var _a;
|
|
7801
|
-
return (hAsync(Host, { key: '
|
|
7796
|
+
return (hAsync(Host, { key: '37b75e6feac97800345d4e93f7be840172712dd2', id: this.tooltipId, class: this.h.classes(TooltipClass.root), position: this.position }, hAsync("span", { key: '0982a167f159aca0d39edc784ef50f13409fa29c', role: 'button', tabindex: 0, onKeyPress: () => this.showTooltip(), onBlur: () => {
|
|
7802
7797
|
if (this.persist === false) {
|
|
7803
7798
|
this.hideTooltip();
|
|
7804
7799
|
}
|
|
7805
|
-
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '
|
|
7800
|
+
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '1b6f7bd6a704ac56941e464d401eebf9da4eafaf' }))));
|
|
7806
7801
|
}
|
|
7807
7802
|
/**
|
|
7808
7803
|
* Showing the modal
|
|
@@ -7873,7 +7868,7 @@ class GovTooltipContent {
|
|
|
7873
7868
|
}
|
|
7874
7869
|
}
|
|
7875
7870
|
render() {
|
|
7876
|
-
return (hAsync(Host, { key: '
|
|
7871
|
+
return (hAsync(Host, { key: 'c47f590b5f8dffb0c0f1caa17978075fb64c3603', class: TooltipContentClass.root, role: "tooltip", hidden: !this.isVisible, "aria-hidden": !toBoolAttr(this.isVisible), "is-visible": this.isVisible }, hAsync("slot", { key: '276690a83ede038b09f5e439495693b7215e4af7' }), this.persist ? (hAsync("gov-button", { "on-gov-click": this.hideContent.bind(this), color: this.color, size: this.size, type: "base" }, hAsync("gov-icon", { slot: "icon-start", name: "x-lg", type: "components" }))) : null));
|
|
7877
7872
|
}
|
|
7878
7873
|
get host() { return getElement(this); }
|
|
7879
7874
|
static get watchers() { return {
|
|
@@ -7947,7 +7942,7 @@ class GovWizard {
|
|
|
7947
7942
|
this.hydrated = true;
|
|
7948
7943
|
}
|
|
7949
7944
|
render() {
|
|
7950
|
-
return (hAsync(Host, { key: '
|
|
7945
|
+
return (hAsync(Host, { key: 'fb6b400947dc4c7feddd5b83b3c167d611af0370', class: this.h.classes(WizardClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: 'df2cb17a4c48813843ed5b3174a27b07e04b85b4' })));
|
|
7951
7946
|
}
|
|
7952
7947
|
/**
|
|
7953
7948
|
* Validate the WCAG attributes of the component
|
|
@@ -8009,8 +8004,8 @@ class GovWizardItem {
|
|
|
8009
8004
|
render() {
|
|
8010
8005
|
const triggerId = this.identifier || this.triggerId;
|
|
8011
8006
|
const Tag = this.collapsible ? Tags.BUTTON : Tags.DIV;
|
|
8012
|
-
const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: '
|
|
8013
|
-
return (hAsync(Host, { key: '
|
|
8007
|
+
const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: '82b6be7faa5fdf29249eec96683ca3914a060dd7', class: WizardItemClass.prefix }, hAsync("slot", { key: '4aa4139f7ae8fa022c6f93b3f6fe508ee30e881e', name: "prefix" })));
|
|
8008
|
+
return (hAsync(Host, { key: '70570aa0326bc056bdcada429a04f87b2e106051', class: this.h.classes(WizardItemClass.root), "is-expanded": this.isExpanded, color: this.color, size: this.size, role: "listitem", collapsible: this.collapsible, hydrated: this.hydrated }, hAsync("div", { key: 'ef0e103ec1535e155c12df999f5b64747c1167c2', class: WizardItemClass.header }, prefixSlot, this.collapsible ? (hAsync(Tag, { id: triggerId, class: this.h.classes(WizardItemClass.label), "aria-expanded": booleanString(this.isExpanded), "aria-controls": this.contentId, disabled: this.disabled, "aria-disabled": toBoolAttrIfDefined(this.disabled), onClick: (e) => {
|
|
8014
8009
|
e.preventDefault();
|
|
8015
8010
|
e.stopPropagation();
|
|
8016
8011
|
this.toggle();
|
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.1.3-BETA-
|
|
5
|
+
"version": "4.1.3-BETA-5",
|
|
6
6
|
"license": "EUPL v1.2 Licensed",
|
|
7
7
|
"main": "./dist/index.cjs.js",
|
|
8
8
|
"unpkg": "./dist/core/core.esm.js",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as o,H as s,h as e,d as t}from"./p-42200001.js";import{p as c}from"./p-e0e2e9c1.js";import{C as i}from"./p-5aad3497.js";import{S as n}from"./p-92f420cb.js";import{g as r}from"./p-ea7fdd2e.js";c(n,["_XS","_S","_M","_L","_XL","_2XL","_3XL","_4XL","_5XL"]);c(i,["DEFAULT","PRIMARY","SECONDARY","NEUTRAL","ERROR","SUCCESS","WARNING","DISABLED","WHITE","BLACK"]);var a;(function(o){o["BASIC"]="basic";o["COMPLEX"]="complex";o["COLORED"]="colored"})(a||(a={}));const d={root:"gov-icon",holder:"gov-icon__holder"};console.log("GovIcon loaded");const f=o(class o extends s{constructor(){super();this.__registerHost();this.size=undefined;this.color=undefined;this.name=null;this.type="components";this.error=false;console.log("GovIcon constructor");this.h=r(this.host)}render(){if(this.error){e(t,{key:"c4155bb25d253caef79470714cbb8e3ae76c01b8",class:this.h.classes(d.root),size:this.size,color:this.color},JSON.stringify(this.error))}return e(t,{key:"98413326fc9741acb99a60ef2d81985ecb7f271d",class:this.h.classes(d.root),size:this.size,color:this.color},"Icc")}get host(){return this}},[0,"gov-icon",{size:[513],color:[513],name:[513],type:[513],error:[32]}]);function h(){if(typeof customElements==="undefined"){return}const o=["gov-icon"];o.forEach((o=>{switch(o){case"gov-icon":if(!customElements.get(o)){customElements.define(o,f)}break}}))}h();export{f as G,h as d};
|
|
2
|
-
//# sourceMappingURL=p-66fc1c3e.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["pick","Sizes","Colors","Types","IconClass","root","holder","console","log","GovIcon","proxyCustomElement","H","constructor","this","h","govHost","host","render","error","Host","key","class","classes","size","color","JSON","stringify"],"sources":["../../../packages/core/src/components/gov-icon/constants.ts","../../../packages/core/src/components/gov-icon/gov-icon.tsx"],"sourcesContent":["import { ValueOf } from '../../types/interfaces'\nimport { pick } from '../../utils/utils';\nimport { Colors } from '../../core/constants/colors';\nimport {Sizes} from \"../../core/constants/sizes\";\n\nexport const IconSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL', '_2XL', '_3XL', '_4XL', '_5XL'])\nexport type IconSizesType = `${ValueOf<typeof IconSizes>}`\n\nexport const IconColors = pick(Colors, [\n\t'DEFAULT',\n\t'PRIMARY',\n\t'SECONDARY',\n\t'NEUTRAL',\n\t'ERROR',\n\t'SUCCESS',\n\t'WARNING',\n\t'DISABLED',\n\t'WHITE',\n\t'BLACK',\n])\nexport type IconColorType = `${ValueOf<typeof IconColors>}`\n\nenum Types {\n\tBASIC = 'basic',\n\tCOMPLEX = 'complex',\n\tCOLORED = 'colored',\n}\nexport type Type = `${ValueOf<typeof Types>}`\n\nexport const IconClass = {\n\troot: 'gov-icon',\n\tholder: 'gov-icon__holder',\n}\n","import {Component, Element, h, Host, Prop, State} from \"@stencil/core\"\nimport {IconClass, type IconColorType, IconSizesType} from \"./constants\"\nimport {govHost} from \"../../helpers/Dom/template\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\n\nconsole.log('GovIcon loaded');\n\n@Component({\n tag: \"gov-icon\",\n})\nexport class GovIcon {\n private h: GovHost\n\n constructor() {\n console.log('GovIcon constructor');\n this.h = govHost(this.host)\n }\n\n @Element() host: HTMLGovIconElement\n /**\n * Icon size\n */\n @Prop({reflect: true}) readonly size?: IconSizesType\n /**\n * Icon color\n */\n @Prop({reflect: true}) readonly color?: IconColorType\n /**\n * Name of icon in folder\n */\n @Prop({reflect: true}) name: string = null\n /**\n * Type (folder) of icon\n */\n @Prop({reflect: true}) type = \"components\"\n\n @State() private error = false\n\n\n render() {\n if (this.error) {\n <Host class={this.h.classes(IconClass.root)} size={this.size} color={this.color}>\n {JSON.stringify(this.error)}\n </Host>\n }\n return (\n <Host class={this.h.classes(IconClass.root)} size={this.size} color={this.color}>\n Icc\n </Host>\n )\n }\n}\n"],"mappings":"yMAKyBA,EAAKC,EAAO,CAAC,MAAO,KAAM,KAAM,KAAM,MAAO,OAAQ,OAAQ,OAAQ,SAGpED,EAAKE,EAAQ,CACtC,UACA,UACA,YACA,UACA,QACA,UACA,UACA,WACA,QACA,UAID,IAAKC,GAAL,SAAKA,GACJA,EAAA,iBACAA,EAAA,qBACAA,EAAA,oBACA,EAJD,CAAKA,MAAK,KAOH,MAAMC,EAAY,CACxBC,KAAM,WACNC,OAAQ,oBC1BTC,QAAQC,IAAI,kB,MAKCC,EAAOC,EAAA,MAAAD,UAAAE,EAGhB,WAAAC,G,iFAiBsC,K,UAIR,a,WAEL,MAtBrBL,QAAQC,IAAI,uBACZK,KAAKC,EAAIC,EAAQF,KAAKG,K,CAwB1B,MAAAC,GACI,GAAIJ,KAAKK,MAAO,CACZJ,EAACK,EAAI,CAAAC,IAAA,2CAACC,MAAOR,KAAKC,EAAEQ,QAAQlB,EAAUC,MAAOkB,KAAMV,KAAKU,KAAMC,MAAOX,KAAKW,OACrEC,KAAKC,UAAUb,KAAKK,O,CAG7B,OACIJ,EAACK,EAAI,CAAAC,IAAA,2CAACC,MAAOR,KAAKC,EAAEQ,QAAQlB,EAAUC,MAAOkB,KAAMV,KAAKU,KAAMC,MAAOX,KAAKW,OAAK,M","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as s,c as t,h as e,a,g as i}from"./p-9dea2efa.js";import{v as o}from"./p-d8135701.js";import{S as r,a as c,b as h}from"./p-a521c59a.js";import{g as p}from"./p-ea7fdd2e.js";import"./p-ceafa242.js";import"./p-e0e2e9c1.js";import"./p-5aad3497.js";import"./p-92f420cb.js";const d=class{constructor(e){s(this,e);this.govChange=t(this,"gov-change",7);this.hydrated=false;this.size="m";this.h=p(this.host)}validateSize(s){o(h,s,c.root)}componentWillLoad(){this.validateSize(this.size)}componentDidLoad(){this.host.querySelectorAll(r.root).forEach((s=>{s.setAttribute("size",this.size);s.addEventListener("gov-change",(s=>{s.stopPropagation();this.govChange.emit(s.detail)}))}))}connectedCallback(){this.hydrated=true}render(){return e(a,{key:"208bca5b06fce13b8f87f0cc4497860c01d2d56b",class:this.h.classes(c.root),role:"list",size:this.size,hydrated:this.hydrated},e("slot",{key:"a0ec9b8b5e03062e4b9547cb9fbfc73fddaa0519"}))}get host(){return i(this)}static get watchers(){return{size:["validateSize"]}}};export{d as gov_stepper};
|
|
2
|
-
//# sourceMappingURL=p-142174d4.entry.js.map
|