@gov-design-system-ce/components 4.1.3-BETA-4 → 4.1.3-BETA-6

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 (199) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/gov-flex_3.cjs.entry.js +2 -39
  3. package/dist/cjs/gov-flex_3.cjs.entry.js.map +1 -1
  4. package/dist/cjs/gov-form-input_2.cjs.entry.js +1 -1
  5. package/dist/cjs/gov-infobar.cjs.entry.js +2 -2
  6. package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
  7. package/dist/cjs/gov-layout.cjs.entry.js +1 -1
  8. package/dist/cjs/gov-lifecycle.cjs.entry.js +1 -1
  9. package/dist/cjs/gov-link.cjs.entry.js +1 -1
  10. package/dist/cjs/gov-loading.cjs.entry.js +1 -1
  11. package/dist/cjs/gov-message.cjs.entry.js +1 -1
  12. package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
  13. package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
  14. package/dist/cjs/gov-stepper.cjs.entry.js +1 -1
  15. package/dist/cjs/gov-tabs-item.cjs.entry.js +1 -1
  16. package/dist/cjs/gov-tabs.cjs.entry.js +1 -1
  17. package/dist/cjs/gov-tag.cjs.entry.js +1 -1
  18. package/dist/cjs/gov-tile.cjs.entry.js +1 -1
  19. package/dist/cjs/gov-tiles.cjs.entry.js +1 -1
  20. package/dist/cjs/gov-toast.cjs.entry.js +1 -1
  21. package/dist/cjs/gov-tooltip-content.cjs.entry.js +1 -1
  22. package/dist/cjs/gov-tooltip.cjs.entry.js +2 -2
  23. package/dist/cjs/gov-wizard-item.cjs.entry.js +2 -2
  24. package/dist/cjs/gov-wizard.cjs.entry.js +1 -1
  25. package/dist/cjs/loader.cjs.js +1 -1
  26. package/dist/collection/components/gov-icon/gov-icon.js +1 -108
  27. package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
  28. package/dist/collection/components/gov-infobar/gov-infobar.js +2 -2
  29. package/dist/collection/components/gov-layout/gov-layout-column.js +1 -1
  30. package/dist/collection/components/gov-layout/gov-layout.js +1 -1
  31. package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +1 -1
  32. package/dist/collection/components/gov-link/gov-link.js +1 -1
  33. package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
  34. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +1 -1
  35. package/dist/collection/components/gov-message/gov-message.js +1 -1
  36. package/dist/collection/components/gov-spacer/gov-spacer.js +1 -1
  37. package/dist/collection/components/gov-stepper/gov-stepper-item.js +1 -1
  38. package/dist/collection/components/gov-stepper/gov-stepper.js +1 -1
  39. package/dist/collection/components/gov-tabs/gov-tabs-item.js +1 -1
  40. package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
  41. package/dist/collection/components/gov-tag/gov-tag.js +1 -1
  42. package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +1 -1
  43. package/dist/collection/components/gov-tile/container/gov-tiles.js +1 -1
  44. package/dist/collection/components/gov-tile/gov-tile.js +1 -1
  45. package/dist/collection/components/gov-toast/gov-toast.js +1 -1
  46. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +1 -1
  47. package/dist/collection/components/gov-tooltip/gov-tooltip.js +2 -2
  48. package/dist/collection/components/gov-wizard/gov-wizard-item.js +2 -2
  49. package/dist/collection/components/gov-wizard/gov-wizard.js +1 -1
  50. package/dist/components/gov-accordion-item.js +1 -1
  51. package/dist/components/gov-attachments-item.js +1 -1
  52. package/dist/components/gov-breadcrumbs.js +1 -1
  53. package/dist/components/gov-breadcrumbs.js.map +1 -1
  54. package/dist/components/gov-button.js +1 -1
  55. package/dist/components/gov-card.js +1 -1
  56. package/dist/components/gov-chip.js +1 -1
  57. package/dist/components/gov-dialog.js +1 -1
  58. package/dist/components/gov-form-autocomplete.js +1 -1
  59. package/dist/components/gov-form-checkbox.js +1 -1
  60. package/dist/components/gov-form-file.js +1 -1
  61. package/dist/components/gov-form-input.js +1 -1
  62. package/dist/components/gov-form-multi-select.js +1 -1
  63. package/dist/components/gov-form-select.js +1 -1
  64. package/dist/components/gov-form-switch.js +1 -1
  65. package/dist/components/gov-icon.js +1 -1
  66. package/dist/components/gov-infobar.js +1 -1
  67. package/dist/components/gov-layout-column.js +1 -1
  68. package/dist/components/gov-layout.js +1 -1
  69. package/dist/components/gov-lifecycle.js +1 -1
  70. package/dist/components/gov-link.js +1 -1
  71. package/dist/components/gov-link.js.map +1 -1
  72. package/dist/components/gov-loading.js +1 -1
  73. package/dist/components/gov-message.js +1 -1
  74. package/dist/components/gov-pagination.js +1 -1
  75. package/dist/components/gov-skeleton.js +1 -1
  76. package/dist/components/gov-spacer.js +1 -1
  77. package/dist/components/gov-stepper-item.js +1 -1
  78. package/dist/components/gov-stepper.js +1 -1
  79. package/dist/components/gov-tabs-item.js +1 -1
  80. package/dist/components/gov-tabs.js +1 -1
  81. package/dist/components/gov-tag.js +1 -1
  82. package/dist/components/gov-theme-switch.js +1 -1
  83. package/dist/components/gov-tile.js +1 -1
  84. package/dist/components/gov-tile.js.map +1 -1
  85. package/dist/components/gov-tiles.js +1 -1
  86. package/dist/components/gov-toast.js +1 -1
  87. package/dist/components/gov-tooltip-content.js +1 -1
  88. package/dist/components/gov-tooltip.js +1 -1
  89. package/dist/components/gov-tooltip.js.map +1 -1
  90. package/dist/components/gov-wizard-item.js +1 -1
  91. package/dist/components/gov-wizard.js +1 -1
  92. package/dist/components/p-16e68a91.js +2 -0
  93. package/dist/components/p-16e68a91.js.map +1 -0
  94. package/dist/components/{p-64f2a418.js → p-495b793e.js} +2 -2
  95. package/dist/components/{p-f9787abd.js → p-52fcba77.js} +2 -2
  96. package/dist/components/{p-389f3bac.js → p-6a473654.js} +2 -2
  97. package/dist/components/{p-971d6508.js → p-a63665c2.js} +2 -2
  98. package/dist/components/{p-9382caba.js → p-ab3a34b0.js} +2 -2
  99. package/dist/components/{p-9532728e.js → p-d7d988d7.js} +2 -2
  100. package/dist/components/{p-dc7cff91.js → p-ff5e9e32.js} +2 -2
  101. package/dist/core/core.esm.js +1 -1
  102. package/dist/core/core.esm.js.map +1 -1
  103. package/dist/core/{p-0d68aa15.entry.js → p-1043fe0d.entry.js} +2 -2
  104. package/dist/core/p-1d5cc2b1.entry.js +2 -0
  105. package/dist/core/p-26726401.entry.js +2 -0
  106. package/dist/core/p-2800bec9.entry.js +2 -0
  107. package/dist/core/{p-f6ca088e.entry.js.map → p-2800bec9.entry.js.map} +1 -1
  108. package/dist/core/p-2b62c4ee.entry.js +2 -0
  109. package/dist/core/p-2f693f59.entry.js +2 -0
  110. package/dist/core/p-402f36af.entry.js +2 -0
  111. package/dist/core/{p-256f2601.entry.js → p-47d27845.entry.js} +2 -2
  112. package/dist/core/p-4ea79bda.entry.js +2 -0
  113. package/dist/core/p-54d924fc.entry.js +2 -0
  114. package/dist/core/{p-a694eb0b.entry.js → p-75ff8ad0.entry.js} +2 -2
  115. package/dist/core/p-7f7c31e2.entry.js +2 -0
  116. package/dist/core/p-8f21a858.entry.js +2 -0
  117. package/dist/core/{p-6dc4a01e.entry.js.map → p-8f21a858.entry.js.map} +1 -1
  118. package/dist/core/{p-8fa42b34.entry.js → p-9ee41510.entry.js} +2 -2
  119. package/dist/core/{p-bc34660e.entry.js → p-b36f84d2.entry.js} +2 -2
  120. package/dist/core/p-b480cda1.entry.js +2 -0
  121. package/dist/core/{p-5edc074a.entry.js → p-bf0712e0.entry.js} +2 -2
  122. package/dist/core/{p-c95b07bd.entry.js → p-c723877b.entry.js} +2 -2
  123. package/dist/core/{p-29554907.entry.js → p-c742b08e.entry.js} +2 -2
  124. package/dist/core/{p-c28dc61d.entry.js → p-fe5030a6.entry.js} +2 -2
  125. package/dist/core/p-fe9ca9e6.entry.js +2 -0
  126. package/dist/core/{p-6abc4401.entry.js.map → p-fe9ca9e6.entry.js.map} +1 -1
  127. package/dist/core/p-ff03dcd3.entry.js +2 -0
  128. package/dist/core/p-ff03dcd3.entry.js.map +1 -0
  129. package/dist/esm/core.js +1 -1
  130. package/dist/esm/gov-flex_3.entry.js +2 -39
  131. package/dist/esm/gov-flex_3.entry.js.map +1 -1
  132. package/dist/esm/gov-form-input_2.entry.js +1 -1
  133. package/dist/esm/gov-infobar.entry.js +2 -2
  134. package/dist/esm/gov-layout-column.entry.js +1 -1
  135. package/dist/esm/gov-layout.entry.js +1 -1
  136. package/dist/esm/gov-lifecycle.entry.js +1 -1
  137. package/dist/esm/gov-link.entry.js +1 -1
  138. package/dist/esm/gov-loading.entry.js +1 -1
  139. package/dist/esm/gov-message.entry.js +1 -1
  140. package/dist/esm/gov-spacer.entry.js +1 -1
  141. package/dist/esm/gov-stepper-item.entry.js +1 -1
  142. package/dist/esm/gov-stepper.entry.js +1 -1
  143. package/dist/esm/gov-tabs-item.entry.js +1 -1
  144. package/dist/esm/gov-tabs.entry.js +1 -1
  145. package/dist/esm/gov-tag.entry.js +1 -1
  146. package/dist/esm/gov-tile.entry.js +1 -1
  147. package/dist/esm/gov-tiles.entry.js +1 -1
  148. package/dist/esm/gov-toast.entry.js +1 -1
  149. package/dist/esm/gov-tooltip-content.entry.js +1 -1
  150. package/dist/esm/gov-tooltip.entry.js +2 -2
  151. package/dist/esm/gov-wizard-item.entry.js +2 -2
  152. package/dist/esm/gov-wizard.entry.js +1 -1
  153. package/dist/esm/loader.js +1 -1
  154. package/dist/hydrate/index.js +28 -70
  155. package/dist/hydrate/index.mjs +28 -70
  156. package/dist/types/components/gov-icon/gov-icon.d.ts +0 -21
  157. package/dist/types/components.d.ts +0 -34
  158. package/package.json +1 -1
  159. package/dist/components/p-66fc1c3e.js +0 -2
  160. package/dist/components/p-66fc1c3e.js.map +0 -1
  161. package/dist/core/p-142174d4.entry.js +0 -2
  162. package/dist/core/p-23ee840f.entry.js +0 -2
  163. package/dist/core/p-23ee840f.entry.js.map +0 -1
  164. package/dist/core/p-38345e03.entry.js +0 -2
  165. package/dist/core/p-3a37d178.entry.js +0 -2
  166. package/dist/core/p-5095cafe.entry.js +0 -2
  167. package/dist/core/p-56dc1492.entry.js +0 -2
  168. package/dist/core/p-6abc4401.entry.js +0 -2
  169. package/dist/core/p-6c227ce2.entry.js +0 -2
  170. package/dist/core/p-6dc4a01e.entry.js +0 -2
  171. package/dist/core/p-7947fc6b.entry.js +0 -2
  172. package/dist/core/p-7aa304ba.entry.js +0 -2
  173. package/dist/core/p-d646affb.entry.js +0 -2
  174. package/dist/core/p-f6ca088e.entry.js +0 -2
  175. /package/dist/components/{p-64f2a418.js.map → p-495b793e.js.map} +0 -0
  176. /package/dist/components/{p-f9787abd.js.map → p-52fcba77.js.map} +0 -0
  177. /package/dist/components/{p-389f3bac.js.map → p-6a473654.js.map} +0 -0
  178. /package/dist/components/{p-971d6508.js.map → p-a63665c2.js.map} +0 -0
  179. /package/dist/components/{p-9382caba.js.map → p-ab3a34b0.js.map} +0 -0
  180. /package/dist/components/{p-9532728e.js.map → p-d7d988d7.js.map} +0 -0
  181. /package/dist/components/{p-dc7cff91.js.map → p-ff5e9e32.js.map} +0 -0
  182. /package/dist/core/{p-0d68aa15.entry.js.map → p-1043fe0d.entry.js.map} +0 -0
  183. /package/dist/core/{p-38345e03.entry.js.map → p-1d5cc2b1.entry.js.map} +0 -0
  184. /package/dist/core/{p-56dc1492.entry.js.map → p-26726401.entry.js.map} +0 -0
  185. /package/dist/core/{p-7aa304ba.entry.js.map → p-2b62c4ee.entry.js.map} +0 -0
  186. /package/dist/core/{p-142174d4.entry.js.map → p-2f693f59.entry.js.map} +0 -0
  187. /package/dist/core/{p-3a37d178.entry.js.map → p-402f36af.entry.js.map} +0 -0
  188. /package/dist/core/{p-256f2601.entry.js.map → p-47d27845.entry.js.map} +0 -0
  189. /package/dist/core/{p-6c227ce2.entry.js.map → p-4ea79bda.entry.js.map} +0 -0
  190. /package/dist/core/{p-d646affb.entry.js.map → p-54d924fc.entry.js.map} +0 -0
  191. /package/dist/core/{p-a694eb0b.entry.js.map → p-75ff8ad0.entry.js.map} +0 -0
  192. /package/dist/core/{p-7947fc6b.entry.js.map → p-7f7c31e2.entry.js.map} +0 -0
  193. /package/dist/core/{p-8fa42b34.entry.js.map → p-9ee41510.entry.js.map} +0 -0
  194. /package/dist/core/{p-bc34660e.entry.js.map → p-b36f84d2.entry.js.map} +0 -0
  195. /package/dist/core/{p-5095cafe.entry.js.map → p-b480cda1.entry.js.map} +0 -0
  196. /package/dist/core/{p-5edc074a.entry.js.map → p-bf0712e0.entry.js.map} +0 -0
  197. /package/dist/core/{p-c95b07bd.entry.js.map → p-c723877b.entry.js.map} +0 -0
  198. /package/dist/core/{p-29554907.entry.js.map → p-c742b08e.entry.js.map} +0 -0
  199. /package/dist/core/{p-c28dc61d.entry.js.map → p-fe5030a6.entry.js.map} +0 -0
@@ -6018,62 +6018,20 @@ class GovGridItem {
6018
6018
  }; }
6019
6019
  }
6020
6020
 
6021
- pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL', '_2XL', '_3XL', '_4XL', '_5XL']);
6022
- pick(Colors, [
6023
- 'DEFAULT',
6024
- 'PRIMARY',
6025
- 'SECONDARY',
6026
- 'NEUTRAL',
6027
- 'ERROR',
6028
- 'SUCCESS',
6029
- 'WARNING',
6030
- 'DISABLED',
6031
- 'WHITE',
6032
- 'BLACK',
6033
- ]);
6034
- var Types;
6035
- (function (Types) {
6036
- Types["BASIC"] = "basic";
6037
- Types["COMPLEX"] = "complex";
6038
- Types["COLORED"] = "colored";
6039
- })(Types || (Types = {}));
6040
- const IconClass = {
6041
- root: 'gov-icon',
6042
- holder: 'gov-icon__holder',
6043
- };
6044
-
6045
- console.log('GovIcon loaded');
6046
6021
  class GovIcon {
6047
6022
  constructor(hostRef) {
6048
6023
  registerInstance(this, hostRef);
6049
- this.size = undefined;
6050
- this.color = undefined;
6051
- this.name = null;
6052
- this.type = "components";
6053
- this.error = false;
6054
- console.log('GovIcon constructor');
6055
- this.h = govHost(this.host);
6056
6024
  }
6057
6025
  render() {
6058
- if (this.error) {
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"));
6026
+ return (hAsync(Host, { key: '84fe45f5f823788977603df4b40469854a23ea1b' }, "HELLO"));
6062
6027
  }
6063
- get host() { return getElement(this); }
6064
6028
  static get cmpMeta() { return {
6065
6029
  "$flags$": 0,
6066
6030
  "$tagName$": "gov-icon",
6067
- "$members$": {
6068
- "size": [513],
6069
- "color": [513],
6070
- "name": [513],
6071
- "type": [513],
6072
- "error": [32]
6073
- },
6031
+ "$members$": undefined,
6074
6032
  "$listeners$": undefined,
6075
6033
  "$lazyBundleId$": "-",
6076
- "$attrsToReflect$": [["size", "size"], ["color", "color"], ["name", "name"], ["type", "type"]]
6034
+ "$attrsToReflect$": []
6077
6035
  }; }
6078
6036
  }
6079
6037
 
@@ -6126,8 +6084,8 @@ class GovInfobar {
6126
6084
  this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
6127
6085
  }
6128
6086
  render() {
6129
- const closeButton = (hAsync("gov-button", { key: '4569d98296984f33ff83947f92a95a0a3bf0d3e3', 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: 'aafcdbde7ca0e13d9e733036da6cc6085143966d', name: "x-lg", type: "components" })));
6130
- return (hAsync(Host, { key: '9b558a0c786862d032ed6fb5d274fc0c3cdae617', class: this.h.classes(InfobarClass.root), color: this.color, type: this.type }, hAsync("section", Object.assign({ key: '9bded4750afdfef6ace0e5a39be2d6283b30d725', class: InfobarClass.section }, this.inheritedAttributes, { role: this.role }), hAsync("slot", { key: '011f9d52f9f971a560fd0220be40b5a221a5f4b3', name: "icon" }), hAsync("div", { key: 'd613d4ab22f89da935fe60b866ea262802c5d18f', 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)));
6087
+ 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" })));
6088
+ 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
6089
  }
6132
6090
  onCloseHandler(e) {
6133
6091
  this.govClose.emit({
@@ -6196,7 +6154,7 @@ class GovLayout {
6196
6154
  return originalClass + ' ' + originalClass + isType + isVariant + isInverse;
6197
6155
  }
6198
6156
  render() {
6199
- return (hAsync(Host, { key: 'ba8fc53df2f13fcf8b87f25f073d0284b68b0a3a', type: this.type, class: this.h.classes(LayoutClass.root) }, hAsync("section", { key: 'f645a9b32495c4fc1c0c86a0078c78c4bc00a1e8', class: this.typeClass(LayoutClass.section, this.type, this.variant, this.inverse) }, hAsync("slot", { key: '5b0d1a3a137a8fe3bb90ae5dff2dbc179575af56' }))));
6157
+ 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
6158
  }
6201
6159
  get host() { return getElement(this); }
6202
6160
  static get cmpMeta() { return {
@@ -6219,7 +6177,7 @@ class GovLayoutColumn {
6219
6177
  this.h = govHost(this.host);
6220
6178
  }
6221
6179
  render() {
6222
- return (hAsync(Host, { key: '8566cc892984b1ce728c679107e228d8320f3048', class: this.h.classes(LayoutColumnClass.root) }, hAsync("slot", { key: 'e3a085ef568fa75ef813b775344adbd6f4ef2773' })));
6180
+ return (hAsync(Host, { key: '6d327408b450774b24d976e4450378d3cb41fc99', class: this.h.classes(LayoutColumnClass.root) }, hAsync("slot", { key: '8c73b3c0a3c5e1e4a79205bc7631ae8579f38643' })));
6223
6181
  }
6224
6182
  get host() { return getElement(this); }
6225
6183
  static get cmpMeta() { return {
@@ -6265,7 +6223,7 @@ class GovLifecycle {
6265
6223
  console.log('componentDidUpdate', this.uniqueId);
6266
6224
  }
6267
6225
  render() {
6268
- return (hAsync(Host, { key: '7bd4b9b30b6fe4e1732232fa4e70d66756c2139d', identifier: this.uniqueId }, hAsync("span", { key: '70d6b8d178133ee89b795c4018687c7afb2576f0' }, "lifecycle ", this.uniqueId)));
6226
+ return (hAsync(Host, { key: '914b3fa860f16bb35d1219f9d758cc7c0c51ca1a', identifier: this.uniqueId }, hAsync("span", { key: 'ccd8f0d9c97e53e958d0db4452d12c66fc33dd7a' }, "lifecycle ", this.uniqueId)));
6269
6227
  }
6270
6228
  static get cmpMeta() { return {
6271
6229
  "$flags$": 0,
@@ -6304,7 +6262,7 @@ class GovLink {
6304
6262
  this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
6305
6263
  }
6306
6264
  render() {
6307
- return (hAsync(Host, { key: '8723fc6fc0cf3faf4a0fb48b38ad2f0d0a21704b', class: this.h.classes(LinkClass.root), size: this.size, href: this.href, external: this.external }, hAsync("a", Object.assign({ key: '1bfe7837dab38690789ec818f6134a50a93d1e4e', class: "element", href: this.href, target: this.target }, this.inheritedAttributes), hAsync("slot", { key: '96d6ce9e164a8fa5b6d5c115d52988bdfff3eceb', name: "icon-start" }), hAsync("slot", { key: 'bcc373fec9e7e159c6b31a2ad846dd929d189d1e' }), this.external ? hAsync("gov-icon", { name: "box-arrow-up-right", type: "components" }) : hAsync("slot", { name: "icon-end" }))));
6265
+ 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
6266
  }
6309
6267
  get host() { return getElement(this); }
6310
6268
  static get watchers() { return {
@@ -6346,7 +6304,7 @@ class GovLoading {
6346
6304
  this.validateSize(this.size);
6347
6305
  }
6348
6306
  render() {
6349
- return (hAsync(Host, { key: '3f7cec1f98aa0c68f42eb3049ae8d34270e17258', class: this.h.classes(LoadingClass.root), size: this.size }, hAsync("div", { key: '9ad1ca86b0221f2668f47eb72c080e9ecd05ed68', class: LoadingClass.content }, hAsync("gov-icon", { key: '5d75c634386c8226c553b787355b29b0581601c5', class: prepareClasses([LoadingClass.icon, "gov-spin-animation"]), name: "loader", type: "components" }), hAsync("slot", { key: '99ff7f6f1c8bd8135959ea36bc484eab6c9a4b6b' })), hAsync("gov-backdrop", { key: 'dcaa2ab6dbcca347d5934df52e0f4989701c0259', inverse: true })));
6307
+ 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
6308
  }
6351
6309
  get host() { return getElement(this); }
6352
6310
  static get watchers() { return {
@@ -6386,7 +6344,7 @@ class GovMessage {
6386
6344
  validateProp(Colors, newValue, MessageClass.root);
6387
6345
  }
6388
6346
  render() {
6389
- return (hAsync(Host, { key: 'e9250a61d94bf14a9d32eef5a69a9347df89a1e2', class: this.h.classes(MessageClass.root), color: this.color, type: this.type, role: "status" }, this.h.hasSlot("icon") && (hAsync("slot", { key: '00a69ab91656245790d88c02cbaa14d365f48140', name: "icon" })), hAsync("div", { key: 'c95cb839c2f24f744aff2a9580c44c18102d1fc9', class: MessageClass.content }, hAsync("slot", { key: '71d8d21cff90b5498940d99947d62fec1f400f1e' }))));
6347
+ 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
6348
  }
6391
6349
  get host() { return getElement(this); }
6392
6350
  static get watchers() { return {
@@ -6710,7 +6668,7 @@ class GovSkeleton {
6710
6668
  return Object.assign({}, dimenssionsStyles);
6711
6669
  }
6712
6670
  render() {
6713
- return (hAsync(Host, Object.assign({ key: '9e026075a3ee04f09546bb686ec04309374da466', size: this.size, color: this.color, class: {
6671
+ return (hAsync(Host, Object.assign({ key: '881e753455535f18553d6ff8abfc3e2fab0f158e', size: this.size, color: this.color, class: {
6714
6672
  [SkeletonClass.root]: true,
6715
6673
  circle: this.shape === "circle",
6716
6674
  line: this.shape === "line",
@@ -6773,7 +6731,7 @@ class GovSpacer {
6773
6731
  this.validateBreakpoint(this.breakpoint);
6774
6732
  }
6775
6733
  render() {
6776
- return hAsync(Host, { key: '49415f0b2a4bfb25ececcd115bd1e8bfad250938', class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
6734
+ return hAsync(Host, { key: 'e42a12db071b1b5224b47f3655fb58e20ee8c611', class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
6777
6735
  }
6778
6736
  get host() { return getElement(this); }
6779
6737
  static get watchers() { return {
@@ -6835,7 +6793,7 @@ class GovStepper {
6835
6793
  this.hydrated = true;
6836
6794
  }
6837
6795
  render() {
6838
- return (hAsync(Host, { key: '208bca5b06fce13b8f87f0cc4497860c01d2d56b', class: this.h.classes(StepperClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: 'a0ec9b8b5e03062e4b9547cb9fbfc73fddaa0519' })));
6796
+ return (hAsync(Host, { key: '7f4c6fb4087d7a5dbe61a45d6b2818d4242c6340', class: this.h.classes(StepperClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: 'dc925a52989ea99d546d492762e3c902e2b8072e' })));
6839
6797
  }
6840
6798
  get host() { return getElement(this); }
6841
6799
  static get watchers() { return {
@@ -6877,7 +6835,7 @@ class GovStepperItem {
6877
6835
  render() {
6878
6836
  const triggerId = this.identifier || this.triggerId;
6879
6837
  const contentId = this.contentId;
6880
- return (hAsync(Host, { key: 'f722a022748d8fcb4ca0a27108a7e2e2980a1602', id: triggerId, class: this.h.classes(StepperItemClass.root), color: this.color, role: "listitem", hydrated: this.hydrated }, this.h.hasSlot('prefix') && (hAsync("span", { key: 'eed745cace26ca1d31c6441dd7be76d3dfa6bd4c', class: StepperItemClass.prefix }, hAsync("slot", { key: 'd5cab6411231cd082468bcc5c244ee75e0dba147', name: "prefix" }))), hAsync("div", { key: 'c13c92aa7890f8406eb5870caa93d186801c0a75' }, hAsync("span", { key: 'ad456eb4699a3d32dfa2d5d477bd346cb1814473', class: StepperItemClass.headline }, hAsync("slot", { key: '0dfdb036dcc108943be0795269e7e0b5f8ac0a29', name: "headline" })), hAsync("slot", { key: '24220b19c2f3c6af35407da423bb1900dc363db8', name: "annotation" }), this.h.hasSlot('content') && (hAsync("div", { key: '2bdd3feeaeafdcf73534bfadb5ff29d90eb9e037', class: StepperItemClass.content, id: contentId, "aria-labelledby": triggerId, role: "tabpanel" }, hAsync("slot", { key: 'f2f70633c3c2adcc7bd407a23863e0a6fba5ec89', name: "content" }))))));
6838
+ 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
6839
  }
6882
6840
  get host() { return getElement(this); }
6883
6841
  static get watchers() { return {
@@ -7028,7 +6986,7 @@ class GovTabs {
7028
6986
  });
7029
6987
  }
7030
6988
  render() {
7031
- return (hAsync(Host, { key: '75a6dc2d1bb8afb13e3d63b44bdd00e230a49fe6', 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: '1fc7ff9eafaaab713727787a1bb0c7364ad3cf4e', class: TabsClass.tabs, role: "tablist" }, this.inheritedAttributes), hAsync("ul", { key: '82a67f585c9a394175bb64be57e669d886b3d4f6', 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: '8af7e27c0410ba9a4c0f79a1c44275e5811e9463' })));
6989
+ 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
6990
  }
7033
6991
  getCurrentTab() {
7034
6992
  return this.controllers.find(control => control.active) || null;
@@ -7161,7 +7119,7 @@ class GovTabsItem {
7161
7119
  }
7162
7120
  }
7163
7121
  render() {
7164
- return (hAsync(Host, { key: '7cf18cf8a10a4c03dd51922e31e18dac86aa217d', class: this.h.classes(TabsItemClass.root), default: this.default }, hAsync("div", { key: '3a707d9494c5055c3763f4cdf840522fae5e7a2a', 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: '289b661851fc6d68a5d6dd376a6e31b691e25aea' }))));
7122
+ 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
7123
  }
7166
7124
  /**
7167
7125
  * Returns a unique tab content identifier
@@ -7249,7 +7207,7 @@ class GovTag {
7249
7207
  render() {
7250
7208
  const iconStart = prepareIconFormat(this.iconStart);
7251
7209
  const iconEnd = prepareIconFormat(this.iconEnd);
7252
- return (hAsync(Host, { key: '3db464a03e796e1f39f763e6abae426493dba509', class: this.h.classes(TagClass.root), color: this.color, size: this.size, type: this.type }, hAsync("span", { key: '9986433153337923f763c433ef38fe660682cceb', class: "element" }, hAsync("slot", { key: 'c1ae339376733e53c0a1128e3bae3bf089ec2636', name: "icon-start" }, iconStart && hAsync("gov-icon", { key: 'cb6019f48fba629017cd81f128a73594232c1400', type: iconStart.type, name: iconStart.name })), hAsync("slot", { key: 'bc377acceea52991f745159407bcc88e5ad16f36' }), hAsync("slot", { key: '917815f276973256dfb8ae250f05a11a52644026', name: "icon-end" }, iconEnd && hAsync("gov-icon", { key: '826b342c39b7fc64d9d2b4de414f197727aaf033', type: iconEnd.type, name: iconEnd.name })))));
7210
+ 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
7211
  }
7254
7212
  get host() { return getElement(this); }
7255
7213
  static get watchers() { return {
@@ -7378,7 +7336,7 @@ class GovThemeSwitch {
7378
7336
  if (this.theme === ThemeList.auto) {
7379
7337
  isDark = this.isSystemPrefersColorDark;
7380
7338
  }
7381
- return (hAsync(Host, { key: '69953e43bc5af385756f45a4b3f48c00da40eb56', class: this.h.classes(ThemeSwitchClass.root), theme: isDark ? ThemeList.dark : ThemeList.light, size: this.size }, hAsync("button", { key: 'dcd3c5139f136ea8e7f3cff133d5d7d189f206e3', onClick: () => this.setThemeState(isDark ? ThemeList.light : ThemeList.dark), "aria-current": this.theme, "aria-label": isDark ? this.ariaLabelDark : this.ariaLabelLight }, hAsync("span", { key: '88e0b66d9d3a3f6d0bfe6b6ff500b01d56303dd2' }, hAsync("span", { key: 'ed70d115191d7f631064605a5f16bd4881eac984', class: ThemeSwitchClass.indicator }, ThemeList.light && hAsync("gov-icon", { key: '6aefa98feaef09eee20d185283d69bae8784e775', name: "sun", class: ThemeSwitchClass.iconLight, type: "components" }), ThemeList.dark && hAsync("gov-icon", { key: '838fa18df5dfc70c11a5f13b0b9fe0cf1575c779', name: "moon", class: ThemeSwitchClass.iconDark, type: "components" })), this.displayLabel && (isDark ? this.labelDark : this.labelLight)))));
7339
+ 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
7340
  }
7383
7341
  get host() { return getElement(this); }
7384
7342
  static get watchers() { return {
@@ -7425,7 +7383,7 @@ class GovTile {
7425
7383
  this.h = govHost(this.host);
7426
7384
  }
7427
7385
  render() {
7428
- return (hAsync(Host, { key: '2db96c3a36b8b758ebc614fcfb6c2b84f96fbbd8', class: this.h.classes(TileClass.root), size: this.size, orientation: this.orientation, clickable: this.href ? true : null }, hAsync("slot", { key: 'e7e09b6b17ebc3b80bc2e47ce39cb2f805155abd', name: "icon" }), hAsync("div", { key: '8009a0260cd1e46d4b93aae338ac013a71d6f03c', class: TileClass.content }, hAsync("div", { key: '555fc2debee1bd2796dfabcdaef99f7c59004a4b', class: TileClass.text }, hAsync("div", { key: '49fc14fd9dd525ee4f5033a512bc92014f7b6492', 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: '71646466cd7445dff77ec870d9c6390e2d301e59', class: `${TileClass.annotation} ${this.href ? `${TileClass.annotation}--padding` : ''}` }, hAsync("slot", { key: '709cbf3f44f26a93569be8a0889056445145eed5' }))), hAsync("slot", { key: 'cbac863714d6fd1fa2d1622297c5599a0ce09809', name: "button" }))));
7386
+ 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
7387
  }
7430
7388
  /**
7431
7389
  * Returns a clickable element instance
@@ -7462,7 +7420,7 @@ class GovTiles {
7462
7420
  this.h = govHost(this.host);
7463
7421
  }
7464
7422
  render() {
7465
- return (hAsync(Host, { key: '81a358960eb662f248c4a33631df28736f7040d2', class: this.h.classes(TilesClass.root) }, hAsync("slot", { key: 'ee3c684e6d4960f72499cc7d77d0ffda2aabd695' })));
7423
+ return (hAsync(Host, { key: 'ecc964ac553f792318284779a8823eea7ae731f9', class: this.h.classes(TilesClass.root) }, hAsync("slot", { key: '609deafe9ff8cb61d5aa30b51b26e539cb5d3934' })));
7466
7424
  }
7467
7425
  get host() { return getElement(this); }
7468
7426
  static get cmpMeta() { return {
@@ -7541,7 +7499,7 @@ class GovToast {
7541
7499
  }
7542
7500
  }
7543
7501
  render() {
7544
- return (hAsync(Host, { key: 'de25d684f25705a085205511c34a71cc56b3e8a9', 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: '0721293054d572274a5ba0bf40f3b9972b8d142c', class: ToastClass.icon }, hAsync("slot", { key: '338fd792506826cabaa4c01312cc4d7a36df5644', name: "icon" }))), hAsync("div", Object.assign({ key: '558c83bbfb5aca1e6341c50b17863559c0f8cbc4', class: ToastClass.content }, this.inheritedAttributes, { "aria-live": "polite", role: "status" }), hAsync("slot", { key: '5631b5e0a465da0aee0425f86c9b52ffcdce0d83' })), hAsync("gov-button", { key: '90cd98f86733d23e750f035c44bb8d6604cbed0e', 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: '8889c3148674b53bda53ca22cd12d6a941bad7de', class: ToastClass.timer })));
7502
+ 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
7503
  }
7546
7504
  onCloseHandler() {
7547
7505
  this.govClose.emit(this.toastId);
@@ -7798,11 +7756,11 @@ class GovTooltip {
7798
7756
  }
7799
7757
  render() {
7800
7758
  var _a;
7801
- return (hAsync(Host, { key: 'b920878f7a291f93e669f4aead5bef8fd64c36fd', id: this.tooltipId, class: this.h.classes(TooltipClass.root), position: this.position }, hAsync("span", { key: '0828c23f3eb8d8c12e414b1ba3b4000c318746af', role: 'button', tabindex: 0, onKeyPress: () => this.showTooltip(), onBlur: () => {
7759
+ 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
7760
  if (this.persist === false) {
7803
7761
  this.hideTooltip();
7804
7762
  }
7805
- }, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '44b084b6345315398c515dfcf4e672ea491fa994' }))));
7763
+ }, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '1b6f7bd6a704ac56941e464d401eebf9da4eafaf' }))));
7806
7764
  }
7807
7765
  /**
7808
7766
  * Showing the modal
@@ -7873,7 +7831,7 @@ class GovTooltipContent {
7873
7831
  }
7874
7832
  }
7875
7833
  render() {
7876
- return (hAsync(Host, { key: 'd2fdb7d9ad70bb2abef63a1ed63dce2d5d547829', class: TooltipContentClass.root, role: "tooltip", hidden: !this.isVisible, "aria-hidden": !toBoolAttr(this.isVisible), "is-visible": this.isVisible }, hAsync("slot", { key: '030e8e60ce57261548a6c0b65a9db4cded841aa3' }), 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));
7834
+ 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
7835
  }
7878
7836
  get host() { return getElement(this); }
7879
7837
  static get watchers() { return {
@@ -7947,7 +7905,7 @@ class GovWizard {
7947
7905
  this.hydrated = true;
7948
7906
  }
7949
7907
  render() {
7950
- return (hAsync(Host, { key: '8dcefe772264236390197c566b3443785c57b6af', class: this.h.classes(WizardClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: 'b23c2a440b95cd14cc21acc40b8a03e7c3e09fc3' })));
7908
+ return (hAsync(Host, { key: 'fb6b400947dc4c7feddd5b83b3c167d611af0370', class: this.h.classes(WizardClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: 'df2cb17a4c48813843ed5b3174a27b07e04b85b4' })));
7951
7909
  }
7952
7910
  /**
7953
7911
  * Validate the WCAG attributes of the component
@@ -8009,8 +7967,8 @@ class GovWizardItem {
8009
7967
  render() {
8010
7968
  const triggerId = this.identifier || this.triggerId;
8011
7969
  const Tag = this.collapsible ? Tags.BUTTON : Tags.DIV;
8012
- const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: '1aad2fac036f9c9af36b66dac62ffbb1a7dfc5c6', class: WizardItemClass.prefix }, hAsync("slot", { key: '65d75b930779f293ad5af310307c356041065e01', name: "prefix" })));
8013
- return (hAsync(Host, { key: 'd2fd5fa027808c182d56875d46b940339df2164c', 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: 'a12c1f51ff0a17af19b73db05ab0915a926eba57', 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) => {
7970
+ const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: '82b6be7faa5fdf29249eec96683ca3914a060dd7', class: WizardItemClass.prefix }, hAsync("slot", { key: '4aa4139f7ae8fa022c6f93b3f6fe508ee30e881e', name: "prefix" })));
7971
+ 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
7972
  e.preventDefault();
8015
7973
  e.stopPropagation();
8016
7974
  this.toggle();
@@ -1,24 +1,3 @@
1
- import { type IconColorType, IconSizesType } from "./constants";
2
1
  export declare class GovIcon {
3
- private h;
4
- constructor();
5
- host: HTMLGovIconElement;
6
- /**
7
- * Icon size
8
- */
9
- readonly size?: IconSizesType;
10
- /**
11
- * Icon color
12
- */
13
- readonly color?: IconColorType;
14
- /**
15
- * Name of icon in folder
16
- */
17
- name: string;
18
- /**
19
- * Type (folder) of icon
20
- */
21
- type: string;
22
- private error;
23
2
  render(): any;
24
3
  }
@@ -40,7 +40,6 @@ import { FormSelectEvent, FormSelectOption } from "./components/gov-form/select/
40
40
  import { FormSelectSizesType } from "./components/gov-form/select/constants";
41
41
  import { FormSwitchSizesType } from "./components/gov-form/switch/constants";
42
42
  import { FormSwitchEvent } from "./components/gov-form/switch/gov-form-switch.types";
43
- import { IconColorType, IconSizesType } from "./components/gov-icon/constants";
44
43
  import { ColorType, InfobarTypesType } from "./components/gov-infobar/constants";
45
44
  import { InfobarEvent } from "./components/gov-infobar/gov-infobar.types";
46
45
  import { LayoutType, LayoutVariantType } from "./components/gov-layout/constants";
@@ -98,7 +97,6 @@ export { FormSelectEvent, FormSelectOption } from "./components/gov-form/select/
98
97
  export { FormSelectSizesType } from "./components/gov-form/select/constants";
99
98
  export { FormSwitchSizesType } from "./components/gov-form/switch/constants";
100
99
  export { FormSwitchEvent } from "./components/gov-form/switch/gov-form-switch.types";
101
- export { IconColorType, IconSizesType } from "./components/gov-icon/constants";
102
100
  export { ColorType, InfobarTypesType } from "./components/gov-infobar/constants";
103
101
  export { InfobarEvent } from "./components/gov-infobar/gov-infobar.types";
104
102
  export { LayoutType, LayoutVariantType } from "./components/gov-layout/constants";
@@ -1212,22 +1210,6 @@ export namespace Components {
1212
1210
  "sizeXl": string;
1213
1211
  }
1214
1212
  interface GovIcon {
1215
- /**
1216
- * Icon color
1217
- */
1218
- "color"?: IconColorType;
1219
- /**
1220
- * Name of icon in folder
1221
- */
1222
- "name": string;
1223
- /**
1224
- * Icon size
1225
- */
1226
- "size"?: IconSizesType;
1227
- /**
1228
- * Type (folder) of icon
1229
- */
1230
- "type": string;
1231
1213
  }
1232
1214
  interface GovInfobar {
1233
1215
  /**
@@ -3762,22 +3744,6 @@ declare namespace LocalJSX {
3762
3744
  "sizeXl"?: string;
3763
3745
  }
3764
3746
  interface GovIcon {
3765
- /**
3766
- * Icon color
3767
- */
3768
- "color"?: IconColorType;
3769
- /**
3770
- * Name of icon in folder
3771
- */
3772
- "name"?: string;
3773
- /**
3774
- * Icon size
3775
- */
3776
- "size"?: IconSizesType;
3777
- /**
3778
- * Type (folder) of icon
3779
- */
3780
- "type"?: string;
3781
3747
  }
3782
3748
  interface GovInfobar {
3783
3749
  /**
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-4",
5
+ "version": "4.1.3-BETA-6",
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
@@ -1,2 +0,0 @@
1
- import{r as t,h as e,a as s,g as i,c as o}from"./p-9dea2efa.js";import{S as n}from"./p-92f420cb.js";import{g as c}from"./p-ea7fdd2e.js";import{p as a}from"./p-e0e2e9c1.js";import{C as h}from"./p-5aad3497.js";import{i as r}from"./p-ceafa242.js";import{v as d}from"./p-d8135701.js";const f={root:"gov-flex"};const l=class{constructor(e){t(this,e);this.direction="row";this.justifyContent=undefined;this.alignItems=undefined;this.wrap=undefined;this.alignContent=undefined;this.alignSelf=undefined;this.gap=undefined;this.h=c(this.host)}render(){return e(s,{key:"08c1591134f0b5c95a18ac9e1d3723c12d9bc47b",class:this.h.classes(f.root)},e("slot",{key:"b66fb8ffa35b0fb98eed3440a55a92a1bd97eb76"}))}get host(){return i(this)}};a(n,["_XS","_S","_M","_L","_XL","_2XL","_3XL","_4XL","_5XL"]);a(h,["DEFAULT","PRIMARY","SECONDARY","NEUTRAL","ERROR","SUCCESS","WARNING","DISABLED","WHITE","BLACK"]);var m;(function(t){t["BASIC"]="basic";t["COMPLEX"]="complex";t["COLORED"]="colored"})(m||(m={}));const u={root:"gov-icon",holder:"gov-icon__holder"};console.log("GovIcon loaded");const b=class{constructor(e){t(this,e);this.size=undefined;this.color=undefined;this.name=null;this.type="components";this.error=false;console.log("GovIcon constructor");this.h=c(this.host)}render(){if(this.error){e(s,{key:"c4155bb25d253caef79470714cbb8e3ae76c01b8",class:this.h.classes(u.root),size:this.size,color:this.color},JSON.stringify(this.error))}return e(s,{key:"98413326fc9741acb99a60ef2d81985ecb7f271d",class:this.h.classes(u.root),size:this.size,color:this.color},"Icc")}get host(){return i(this)}};const p=a(n,["_XS","_S","_M","_L","_XL"]);const g={root:"gov-theme-switch",indicator:"gov-theme-switch__indicator",iconLight:"gov-theme-switch__icon-light",iconDark:"gov-theme-switch__icon-dark"};const _="data-theme";var v;(function(t){t["auto"]="auto";t["light"]="light";t["dark"]="dark"})(v||(v={}));const k=(t,e,s)=>{if(!r){return}let i="";if(s){const t=new Date;t.setTime(t.getTime()+s*24*60*60*1e3);i="; expires="+t.toUTCString()}document.cookie=`${t}=${encodeURIComponent(e)}${i}; path=/`};const S=t=>{if(!r){return null}const e=t+"=";const s=document.cookie.split(";");for(let t=0;t<s.length;t++){let i=s[t].trim();if(i.startsWith(e)){return decodeURIComponent(i.substring(e.length))}}return null};const w=class{constructor(e){t(this,e);this.govChange=o(this,"gov-change",7);this.setThemeState=t=>{this.theme=t;this.govChange.emit({component:g.root,state:this.theme,ref:this.host})};this.size="m";this.displayLabel=false;this.ariaLabelLight="Přenout na tmavý mód";this.ariaLabelDark="Přepnout na světlý mód";this.labelLight="Světlý mód";this.labelDark="Tmavý mód";this.theme=v.auto;this.h=c(this.host)}validateSize(t){d(p,t,g.root)}watchTheme(t){this.htmlElement.setAttribute(_,t);this.htmlElement.classList.remove(...Object.keys(v));this.htmlElement.classList.add(t);k(_,t)}get storageValue(){return S(_)}get htmlElement(){return document.documentElement}get isSystemPrefersColorDark(){return r&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches}componentWillLoad(){this.initDefaultState();this.validateSize(this.size)}initDefaultState(){const t=Object.keys(v);let e=this.storageValue;const s=this.htmlElement.getAttribute(_);if(e&&t.includes(e)){this.theme=e}else if(s&&t.includes(s)){this.theme=s}else{this.theme=v.auto}}render(){let t=this.theme===v.dark;if(this.theme===v.auto){t=this.isSystemPrefersColorDark}return e(s,{key:"69953e43bc5af385756f45a4b3f48c00da40eb56",class:this.h.classes(g.root),theme:t?v.dark:v.light,size:this.size},e("button",{key:"dcd3c5139f136ea8e7f3cff133d5d7d189f206e3",onClick:()=>this.setThemeState(t?v.light:v.dark),"aria-current":this.theme,"aria-label":t?this.ariaLabelDark:this.ariaLabelLight},e("span",{key:"88e0b66d9d3a3f6d0bfe6b6ff500b01d56303dd2"},e("span",{key:"ed70d115191d7f631064605a5f16bd4881eac984",class:g.indicator},v.light&&e("gov-icon",{key:"6aefa98feaef09eee20d185283d69bae8784e775",name:"sun",class:g.iconLight,type:"components"}),v.dark&&e("gov-icon",{key:"838fa18df5dfc70c11a5f13b0b9fe0cf1575c779",name:"moon",class:g.iconDark,type:"components"})),this.displayLabel&&(t?this.labelDark:this.labelLight))))}get host(){return i(this)}static get watchers(){return{size:["validateSize"],theme:["watchTheme"]}}};export{l as gov_flex,b as gov_icon,w as gov_theme_switch};
2
- //# sourceMappingURL=p-23ee840f.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["FlexClass","root","GovFlex","constructor","hostRef","this","h","govHost","host","render","Host","key","class","classes","pick","Sizes","Colors","Types","IconClass","holder","console","log","GovIcon","error","size","color","JSON","stringify","ThemeSwitchSizes","ThemeSwitchClass","indicator","iconLight","iconDark","ATTRIBUTE_THEME_NAME","ThemeList","setCookie","name","value","days","isWindow","expires","date","Date","setTime","getTime","toUTCString","document","cookie","encodeURIComponent","getCookie","nameEQ","cookies","split","i","length","trim","startsWith","decodeURIComponent","substring","GovThemeSwitch","setThemeState","state","theme","govChange","emit","component","ref","auto","validateSize","newValue","validateProp","watchTheme","htmlElement","setAttribute","classList","remove","Object","keys","add","storageValue","documentElement","isSystemPrefersColorDark","window","matchMedia","matches","componentWillLoad","initDefaultState","options","currentState","htmlState","getAttribute","includes","isDark","dark","light","onClick","ariaLabelDark","ariaLabelLight","type","displayLabel","labelDark","labelLight"],"sources":["../../../packages/core/src/components/gov-flex/constants.ts","../../../packages/core/src/components/gov-flex/gov-flex.tsx","../../../packages/core/src/components/gov-icon/constants.ts","../../../packages/core/src/components/gov-icon/gov-icon.tsx","../../../packages/core/src/components/gov-theme-switch/constants.ts","../../../packages/core/src/components/gov-theme-switch/gov-theme-switch.types.ts","../../../packages/core/src/helpers/Dom/document.ts","../../../packages/core/src/components/gov-theme-switch/gov-theme-switch.tsx"],"sourcesContent":["import {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const FlexSizes = Sizes\nexport type FlexSizesType = `${ValueOf<typeof FlexSizes>}`\n\nexport const FlexClass = {\n\troot: 'gov-flex',\n}\n\n","import {Component, Element, h, Host, Prop} from '@stencil/core'\nimport {FlexClass, FlexSizesType} from './constants'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-flex',\n})\nexport class GovFlex {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovGridElement\n\n\t/**\n\t * Controls the flex direction of the container.\n\t */\n\t@Prop() direction: 'row' | 'row-reverse' | 'column' | 'column-reverse' = 'row';\n\n\t/**\n\t * Defines how the browser distributes space between and around content items along the main axis.\n\t */\n\t@Prop({\n\t\tattribute: 'justify-content',\n\t\treflect: true\n\t}) justifyContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';\n\n\t/**\n\t * Aligns flex items along the cross axis.\n\t */\n\t@Prop({\n\t\tattribute: 'align-items',\n\t\treflect: true\n\t}) alignItems?: 'stretch' | 'flex-start' | 'flex-end' | 'center' | 'baseline';\n\n\t/**\n\t * Controls whether the flex container is a single-line or multi-line flex container.\n\t */\n\t@Prop({reflect: true}) wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';\n\n\t/**\n\t * Aligns the flex container's lines within when there is extra space in the cross-axis.\n\t */\n\t@Prop({\n\t\tattribute: 'align-content',\n\t\treflect: true\n\t}) alignContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch';\n\n\t/**\n\t * Sets the alignment of the flex container’s children along the flex container’s cross axis, overriding the `align-items` property for individual flex items.\n\t */\n\t@Prop({\n\t\tattribute: 'align-self',\n\t\treflect: true\n\t}) alignSelf?: 'auto' | 'normal' | 'self-start' | 'self-end' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch' | 'anchor-center';\n\n\t/**\n\t * The gap property creates consistent spacing between flex items in the container.\n\t */\n\t@Prop({\n\t\tattribute: 'gap',\n\t\treflect: true\n\t}) gap?: FlexSizesType;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(FlexClass.root)}>\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n","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","import {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const ThemeSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type ThemeSwitchSizesType = `${ValueOf<typeof ThemeSwitchSizes>}`\n\nexport const ThemeSwitchClass = {\n\troot: 'gov-theme-switch',\n\tindicator: 'gov-theme-switch__indicator',\n\ticonLight: 'gov-theme-switch__icon-light',\n\ticonDark: 'gov-theme-switch__icon-dark',\n}\n\nexport const ATTRIBUTE_THEME_NAME = 'data-theme'\n","import {GovBaseEvent} from \"../../types/event.types\";\n\nexport enum ThemeList {\n\tauto = 'auto',\n\tlight = 'light',\n\tdark = 'dark'\n}\n\nexport interface ThemeSwitchEvent extends GovBaseEvent {\n\tref: HTMLGovThemeSwitchElement;\n\tstate: ThemeList\n}\n\n","import {Nullable} from \"../../utils/helpers.types\";\nimport {isWindow} from \"./win\";\n\nexport const setCookie = (name: string, value: string, days?: number) => {\n\tif (!isWindow) {\n\t\treturn\n\t}\n\tlet expires = \"\";\n\tif (days) {\n\t\tconst date = new Date();\n\t\tdate.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n\t\texpires = \"; expires=\" + date.toUTCString();\n\t}\n\tdocument.cookie = `${name}=${encodeURIComponent(value)}${expires}; path=/`;\n}\n\nexport const getCookie = (name: string): Nullable<string> => {\n\tif (!isWindow) {\n\t\treturn null\n\t}\n\tconst nameEQ = name + \"=\";\n\tconst cookies = document.cookie.split(';');\n\tfor (let i = 0; i < cookies.length; i++) {\n\t\tlet cookie = cookies[i].trim();\n\t\tif (cookie.startsWith(nameEQ)) {\n\t\t\treturn decodeURIComponent(cookie.substring(nameEQ.length));\n\t\t}\n\t}\n\treturn null;\n}\n\nexport const isValidSVG = (svgContent: string): boolean => {\n\ttry {\n\t\tconst parser = new DOMParser();\n\t\tconst doc = parser.parseFromString(svgContent, \"image/svg+xml\");\n\t\tconst parseError = doc.querySelector(\"parsererror\");\n\t\tif (parseError) {\n\t\t\treturn false;\n\t\t}\n\t\tconst svgElement = doc.documentElement;\n\t\tif (svgElement.tagName.toLowerCase() !== \"svg\") {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t} catch (error) {\n\t\treturn false;\n\t}\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {GovHost} from \"../../helpers/Dom/template.types\";\nimport {govHost} from \"../../helpers/Dom/template\";\nimport {ATTRIBUTE_THEME_NAME, ThemeSwitchClass, ThemeSwitchSizes, ThemeSwitchSizesType} from \"./constants\";\nimport {isWindow} from \"../../helpers/Dom/win\";\nimport {ThemeList, ThemeSwitchEvent} from \"./gov-theme-switch.types\";\nimport {validateProp} from \"../../helpers/Validate/props\";\nimport {getCookie, setCookie} from \"../../helpers/Dom/document\";\n\n@Component({\n\ttag: \"gov-theme-switch\",\n})\nexport class GovThemeSwitch {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovThemeSwitchElement\n\n\t/**\n\t * Switch's size.\n\t */\n\t@Prop() readonly size?: ThemeSwitchSizesType = \"m\"\n\t/**\n\t * Display switch label\n\t */\n\t@Prop({attribute: \"display-label\"}) readonly displayLabel? = false\n\t/**\n\t * Label in light mode\n\t */\n\t@Prop({attribute: \"aria-label-light\"}) readonly ariaLabelLight? = \"Přenout na tmavý mód\"\n\t/**\n\t * Label in dark mode\n\t */\n\t@Prop({attribute: \"aria-label-dark\"}) readonly ariaLabelDark? = \"Přepnout na světlý mód\"\n\t/**\n\t * Label in light mode\n\t */\n\t@Prop({attribute: \"label-light\"}) readonly labelLight? = \"Světlý mód\"\n\t/**\n\t * Label in dark mode\n\t */\n\t@Prop({attribute: \"label-dark\"}) readonly labelDark? = \"Tmavý mód\"\n\t/**\n\t * Called when the theme is changed by the user\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<ThemeSwitchEvent>\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ThemeSwitchSizes, newValue, ThemeSwitchClass.root)\n\t}\n\n\t@Watch(\"theme\")\n\twatchTheme(newValue: ThemeList): void {\n\t\tthis.htmlElement.setAttribute(ATTRIBUTE_THEME_NAME, newValue);\n\t\tthis.htmlElement.classList.remove(...Object.keys(ThemeList));\n\t\tthis.htmlElement.classList.add(newValue);\n\t\tsetCookie(ATTRIBUTE_THEME_NAME, newValue);\n\t}\n\n\t@State() theme: ThemeList = ThemeList.auto\n\n\tprivate get storageValue() {\n\t\treturn getCookie(ATTRIBUTE_THEME_NAME)\n\t}\n\n\tprivate get htmlElement(): HTMLElement {\n\t\treturn document.documentElement\n\t}\n\n\tprivate get isSystemPrefersColorDark(): boolean {\n\t\treturn isWindow && window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.initDefaultState()\n\t\tthis.validateSize(this.size)\n\t}\n\n\tprivate initDefaultState() {\n\t\tconst options = Object.keys(ThemeList);\n\t\tlet currentState = this.storageValue;\n\t\tconst htmlState = this.htmlElement.getAttribute(ATTRIBUTE_THEME_NAME)\n\n\t\tif (currentState && options.includes(currentState)) {\n\t\t\tthis.theme = currentState as ThemeList;\n\t\t} else if (htmlState && options.includes(htmlState)) {\n\t\t\tthis.theme = htmlState as ThemeList;\n\t\t} else {\n\t\t\tthis.theme = ThemeList.auto;\n\t\t}\n\t}\n\n\tprivate setThemeState = (state: ThemeList) => {\n\t\tthis.theme = state;\n\n\t\tthis.govChange.emit({\n\t\t\tcomponent: ThemeSwitchClass.root,\n\t\t\tstate: this.theme,\n\t\t\tref: this.host\n\t\t})\n\t}\n\n\trender() {\n\t\tlet isDark = this.theme === ThemeList.dark;\n\t\tif (this.theme === ThemeList.auto) {\n\t\t\tisDark = this.isSystemPrefersColorDark;\n\t\t}\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ThemeSwitchClass.root)}\n\t\t\t\t theme={isDark ? ThemeList.dark : ThemeList.light}\n\t\t\t\t size={this.size}>\n\t\t\t\t<button onClick={() => this.setThemeState(isDark ? ThemeList.light : ThemeList.dark)}\n\t\t\t\t\t\taria-current={this.theme}\n\t\t\t\t\t\taria-label={isDark ? this.ariaLabelDark : this.ariaLabelLight}>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<span class={ThemeSwitchClass.indicator}>\n\t\t\t\t\t\t\t{ThemeList.light && <gov-icon name=\"sun\" class={ThemeSwitchClass.iconLight} type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t{ThemeList.dark && <gov-icon name=\"moon\" class={ThemeSwitchClass.iconDark} type=\"components\"></gov-icon>}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t{this.displayLabel && (isDark ? this.labelDark : this.labelLight)}\n\t\t\t\t\t</span>\n\t\t\t\t</button>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"wRAMO,MAAMA,EAAY,CACxBC,KAAM,Y,MCCMC,EAAO,MAGnB,WAAAC,CAAAC,G,yBASyE,M,oJARxEC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAuDvB,MAAAC,GACC,OACCH,EAACI,EAAI,CAAAC,IAAA,2CAACC,MAAOP,KAAKC,EAAEO,QAAQb,EAAUC,OACrCK,EAAA,QAAAK,IAAA,6C,6BCjEqBG,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,CACxBjB,KAAM,WACNkB,OAAQ,oBC1BTC,QAAQC,IAAI,kB,MAKCC,EAAO,MAGhB,WAAAnB,CAAAC,G,6DAiBsC,K,UAIR,a,WAEL,MAtBrBgB,QAAQC,IAAI,uBACZhB,KAAKC,EAAIC,EAAQF,KAAKG,K,CAwB1B,MAAAC,GACI,GAAIJ,KAAKkB,MAAO,CACZjB,EAACI,EAAI,CAAAC,IAAA,2CAACC,MAAOP,KAAKC,EAAEO,QAAQK,EAAUjB,MAAOuB,KAAMnB,KAAKmB,KAAMC,MAAOpB,KAAKoB,OACrEC,KAAKC,UAAUtB,KAAKkB,O,CAG7B,OACIjB,EAACI,EAAI,CAAAC,IAAA,2CAACC,MAAOP,KAAKC,EAAEO,QAAQK,EAAUjB,MAAOuB,KAAMnB,KAAKmB,KAAMC,MAAOpB,KAAKoB,OAAK,M,6BC1CpF,MAAMG,EAAmBd,EAAKC,EAAO,CAAC,MAAO,KAAM,KAAM,KAAM,QAG/D,MAAMc,EAAmB,CAC/B5B,KAAM,mBACN6B,UAAW,8BACXC,UAAW,+BACXC,SAAU,+BAGJ,MAAMC,EAAuB,aCZpC,IAAYC,GAAZ,SAAYA,GACXA,EAAA,eACAA,EAAA,iBACAA,EAAA,cACA,EAJD,CAAYA,MAAS,KCCd,MAAMC,EAAY,CAACC,EAAcC,EAAeC,KACtD,IAAKC,EAAU,CACd,M,CAED,IAAIC,EAAU,GACd,GAAIF,EAAM,CACT,MAAMG,EAAO,IAAIC,KACjBD,EAAKE,QAAQF,EAAKG,UAAaN,EAAO,GAAK,GAAK,GAAK,KACrDE,EAAU,aAAeC,EAAKI,a,CAE/BC,SAASC,OAAS,GAAGX,KAAQY,mBAAmBX,KAASG,WAAiB,EAGpE,MAAMS,EAAab,IACzB,IAAKG,EAAU,CACd,OAAO,I,CAER,MAAMW,EAASd,EAAO,IACtB,MAAMe,EAAUL,SAASC,OAAOK,MAAM,KACtC,IAAK,IAAIC,EAAI,EAAGA,EAAIF,EAAQG,OAAQD,IAAK,CACxC,IAAIN,EAASI,EAAQE,GAAGE,OACxB,GAAIR,EAAOS,WAAWN,GAAS,CAC9B,OAAOO,mBAAmBV,EAAOW,UAAUR,EAAOI,Q,EAGpD,OAAO,IAAI,E,MChBCK,EAAc,MAG1B,WAAAxD,CAAAC,G,gDAiFQC,KAAAuD,cAAiBC,IACxBxD,KAAKyD,MAAQD,EAEbxD,KAAK0D,UAAUC,KAAK,CACnBC,UAAWpC,EAAiB5B,KAC5B4D,MAAOxD,KAAKyD,MACZI,IAAK7D,KAAKG,MACT,E,UA/E4C,I,kBAIc,M,oBAIK,uB,mBAIF,yB,gBAIN,a,eAIH,Y,WAmB3B0B,EAAUiC,KA/CrC9D,KAAKC,EAAIC,EAAQF,KAAKG,K,CAmCvB,YAAA4D,CAAaC,GACZC,EAAa1C,EAAkByC,EAAUxC,EAAiB5B,K,CAI3D,UAAAsE,CAAWF,GACVhE,KAAKmE,YAAYC,aAAaxC,EAAsBoC,GACpDhE,KAAKmE,YAAYE,UAAUC,UAAUC,OAAOC,KAAK3C,IACjD7B,KAAKmE,YAAYE,UAAUI,IAAIT,GAC/BlC,EAAUF,EAAsBoC,E,CAKjC,gBAAYU,GACX,OAAO9B,EAAUhB,E,CAGlB,eAAYuC,GACX,OAAO1B,SAASkC,e,CAGjB,4BAAYC,GACX,OAAO1C,GAAY2C,OAAOC,YAAcD,OAAOC,WAAW,gCAAgCC,O,CAG3F,iBAAAC,GACChF,KAAKiF,mBACLjF,KAAK+D,aAAa/D,KAAKmB,K,CAGhB,gBAAA8D,GACP,MAAMC,EAAUX,OAAOC,KAAK3C,GAC5B,IAAIsD,EAAenF,KAAK0E,aACxB,MAAMU,EAAYpF,KAAKmE,YAAYkB,aAAazD,GAEhD,GAAIuD,GAAgBD,EAAQI,SAASH,GAAe,CACnDnF,KAAKyD,MAAQ0B,C,MACP,GAAIC,GAAaF,EAAQI,SAASF,GAAY,CACpDpF,KAAKyD,MAAQ2B,C,KACP,CACNpF,KAAKyD,MAAQ5B,EAAUiC,I,EAczB,MAAA1D,GACC,IAAImF,EAASvF,KAAKyD,QAAU5B,EAAU2D,KACtC,GAAIxF,KAAKyD,QAAU5B,EAAUiC,KAAM,CAClCyB,EAASvF,KAAK4E,wB,CAEf,OACC3E,EAACI,EAAI,CAAAC,IAAA,2CAACC,MAAOP,KAAKC,EAAEO,QAAQgB,EAAiB5B,MAC1C6D,MAAO8B,EAAS1D,EAAU2D,KAAO3D,EAAU4D,MAC3CtE,KAAMnB,KAAKmB,MACblB,EAAA,UAAAK,IAAA,2CAAQoF,QAAS,IAAM1F,KAAKuD,cAAcgC,EAAS1D,EAAU4D,MAAQ5D,EAAU2D,MAAK,eACpExF,KAAKyD,MAAK,aACZ8B,EAASvF,KAAK2F,cAAgB3F,KAAK4F,gBAChD3F,EAAA,QAAAK,IAAA,4CACCL,EAAA,QAAAK,IAAA,2CAAMC,MAAOiB,EAAiBC,WAC5BI,EAAU4D,OAASxF,EAAA,YAAAK,IAAA,2CAAUyB,KAAK,MAAMxB,MAAOiB,EAAiBE,UAAWmE,KAAK,eAChFhE,EAAU2D,MAAQvF,EAAA,YAAAK,IAAA,2CAAUyB,KAAK,OAAOxB,MAAOiB,EAAiBG,SAAUkE,KAAK,gBAEhF7F,KAAK8F,eAAiBP,EAASvF,KAAK+F,UAAY/F,KAAKgG,c","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as t,h as e,a as s,g as i}from"./p-9dea2efa.js";import{p as a}from"./p-e0e2e9c1.js";import{S as o}from"./p-92f420cb.js";import{g as r}from"./p-ea7fdd2e.js";import{v as c}from"./p-d8135701.js";import{i as h}from"./p-d9a299a4.js";import"./p-ceafa242.js";import"./p-9ac55bd1.js";const f=a(o,["_S","_M","_L"]);const n={root:"gov-link"};const d=class{constructor(e){t(this,e);this.size="m";this.external=false;this.href=undefined;this.target=undefined;this.inheritedAttributes={};this.h=r(this.host)}validateSize(t){c(f,t,n.root)}componentWillLoad(){this.validateSize(this.size);this.inheritedAttributes=h(this.host)}onAriaAttributeChange(t,e){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:e})}render(){return e(s,{key:"8723fc6fc0cf3faf4a0fb48b38ad2f0d0a21704b",class:this.h.classes(n.root),size:this.size,href:this.href,external:this.external},e("a",Object.assign({key:"1bfe7837dab38690789ec818f6134a50a93d1e4e",class:"element",href:this.href,target:this.target},this.inheritedAttributes),e("slot",{key:"96d6ce9e164a8fa5b6d5c115d52988bdfff3eceb",name:"icon-start"}),e("slot",{key:"bcc373fec9e7e159c6b31a2ad846dd929d189d1e"}),this.external?e("gov-icon",{name:"box-arrow-up-right",type:"components"}):e("slot",{name:"icon-end"})))}get host(){return i(this)}static get watchers(){return{size:["validateSize"]}}};export{d as gov_link};
2
- //# sourceMappingURL=p-38345e03.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as e,c as a,h as t,a as s,g as c}from"./p-9dea2efa.js";import{v as d}from"./p-d8135701.js";import{S as i,c as o}from"./p-a521c59a.js";import{c as r}from"./p-cd6c2938.js";import{g as n}from"./p-ea7fdd2e.js";import"./p-ceafa242.js";import"./p-e0e2e9c1.js";import"./p-5aad3497.js";import"./p-92f420cb.js";const p=class{constructor(t){e(this,t);this.govChange=a(this,"gov-change",7);this.hydrated=false;this.color="primary";this.size="m";this.identifier=undefined;this.h=n(this.host);this.triggerId=r("GovStepperItem");this.contentId=r("GovStepperContent")}validateColor(e){d(o,e,i.root)}componentWillLoad(){this.validateColor(this.color)}connectedCallback(){this.hydrated=true}render(){const e=this.identifier||this.triggerId;const a=this.contentId;return t(s,{key:"f722a022748d8fcb4ca0a27108a7e2e2980a1602",id:e,class:this.h.classes(i.root),color:this.color,role:"listitem",hydrated:this.hydrated},this.h.hasSlot("prefix")&&t("span",{key:"eed745cace26ca1d31c6441dd7be76d3dfa6bd4c",class:i.prefix},t("slot",{key:"d5cab6411231cd082468bcc5c244ee75e0dba147",name:"prefix"})),t("div",{key:"c13c92aa7890f8406eb5870caa93d186801c0a75"},t("span",{key:"ad456eb4699a3d32dfa2d5d477bd346cb1814473",class:i.headline},t("slot",{key:"0dfdb036dcc108943be0795269e7e0b5f8ac0a29",name:"headline"})),t("slot",{key:"24220b19c2f3c6af35407da423bb1900dc363db8",name:"annotation"}),this.h.hasSlot("content")&&t("div",{key:"2bdd3feeaeafdcf73534bfadb5ff29d90eb9e037",class:i.content,id:a,"aria-labelledby":e,role:"tabpanel"},t("slot",{key:"f2f70633c3c2adcc7bd407a23863e0a6fba5ec89",name:"content"}))))}get host(){return c(this)}static get watchers(){return{color:["validateColor"]}}};export{p as gov_stepper_item};
2
- //# sourceMappingURL=p-3a37d178.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as e,h as t,F as s,a as i,g as a}from"./p-9dea2efa.js";import{p as c}from"./p-e0e2e9c1.js";import{S as o}from"./p-92f420cb.js";import{g as n}from"./p-ea7fdd2e.js";c(o,["_S","_M","_L"]);const d={root:"gov-tile",link:"gov-tile__link",content:"gov-tile__content",text:"gov-tile__text",title:"gov-tile__title",icon:"gov-tile__icon",annotation:"gov-tile__annotation"};const f=class{constructor(t){e(this,t);this.size="m";this.orientation=undefined;this.noBorder=false;this.href=undefined;this.target=undefined;this.h=n(this.host)}render(){return t(i,{key:"2db96c3a36b8b758ebc614fcfb6c2b84f96fbbd8",class:this.h.classes(d.root),size:this.size,orientation:this.orientation,clickable:this.href?true:null},t("slot",{key:"e7e09b6b17ebc3b80bc2e47ce39cb2f805155abd",name:"icon"}),t("div",{key:"8009a0260cd1e46d4b93aae338ac013a71d6f03c",class:d.content},t("div",{key:"555fc2debee1bd2796dfabcdaef99f7c59004a4b",class:d.text},t("div",{key:"49fc14fd9dd525ee4f5033a512bc92014f7b6492",class:d.title},this.href?t(s,null,t("a",{href:this.href,target:this.target,class:d.link,ref:e=>this.triggerRef=e},t("slot",{name:"title"})),t("span",{class:d.icon},t("gov-icon",{name:"chevron-right",type:"components"}))):t("slot",{name:"title"})),t("div",{key:"71646466cd7445dff77ec870d9c6390e2d301e59",class:`${d.annotation} ${this.href?`${d.annotation}--padding`:""}`},t("slot",{key:"709cbf3f44f26a93569be8a0889056445145eed5"}))),t("slot",{key:"cbac863714d6fd1fa2d1622297c5599a0ce09809",name:"button"})))}async getTriggerRef(){return this.triggerRef}get host(){return a(this)}};export{f as gov_tile};
2
- //# sourceMappingURL=p-5095cafe.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as e,h as t,a as s,g as a}from"./p-9dea2efa.js";import{g as o}from"./p-ea7fdd2e.js";import{v as i}from"./p-d8135701.js";import{a as c,b as r}from"./p-3bbb77a0.js";import{p as f}from"./p-e0e2e9c1.js";import{S as n}from"./p-92f420cb.js";import{p as d}from"./p-016bbea6.js";import"./p-ceafa242.js";import"./p-5aad3497.js";const p=f(n,["_XS","_S","_M"]);var b;(function(e){e["BOLD"]="bold";e["SUBTLE"]="subtle"})(b||(b={}));const h={root:"gov-tag"};const m=class{constructor(t){e(this,t);this.iconStart=undefined;this.iconEnd=undefined;this.size=p._S;this.color=c.PRIMARY;this.type=undefined;this.expanded=false;this.h=o(this.host)}validateColor(e){i(c,e,h.root)}validateSize(e){i(r,e,h.root)}componentWillLoad(){this.validateColor(this.color);this.validateSize(this.size)}render(){const e=d(this.iconStart);const a=d(this.iconEnd);return t(s,{key:"3db464a03e796e1f39f763e6abae426493dba509",class:this.h.classes(h.root),color:this.color,size:this.size,type:this.type},t("span",{key:"9986433153337923f763c433ef38fe660682cceb",class:"element"},t("slot",{key:"c1ae339376733e53c0a1128e3bae3bf089ec2636",name:"icon-start"},e&&t("gov-icon",{key:"cb6019f48fba629017cd81f128a73594232c1400",type:e.type,name:e.name})),t("slot",{key:"bc377acceea52991f745159407bcc88e5ad16f36"}),t("slot",{key:"917815f276973256dfb8ae250f05a11a52644026",name:"icon-end"},a&&t("gov-icon",{key:"826b342c39b7fc64d9d2b4de414f197727aaf033",type:a.type,name:a.name}))))}get host(){return a(this)}static get watchers(){return{color:["validateColor"],size:["validateSize"]}}};export{m as gov_tag};
2
- //# sourceMappingURL=p-56dc1492.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as s,h as e,a as t,g as a}from"./p-9dea2efa.js";import{a as r}from"./p-13ebd887.js";import{g as o}from"./p-ea7fdd2e.js";const f=class{constructor(e){s(this,e);this.h=o(this.host)}render(){return e(t,{key:"8566cc892984b1ce728c679107e228d8320f3048",class:this.h.classes(r.root)},e("slot",{key:"e3a085ef568fa75ef813b775344adbd6f4ef2773"}))}get host(){return a(this)}};export{f as gov_layout_column};
2
- //# sourceMappingURL=p-6abc4401.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as t,c as s,h as i,a as o,g as a}from"./p-9dea2efa.js";import{v as e}from"./p-d8135701.js";import{C as c}from"./p-5aad3497.js";import{p as h}from"./p-e0e2e9c1.js";import{g as r}from"./p-ea7fdd2e.js";import{c as d}from"./p-cd6c2938.js";import{A as n,a as l}from"./p-9ac55bd1.js";import{i as m}from"./p-d9a299a4.js";import"./p-ceafa242.js";const b=h(c,["PRIMARY","NEUTRAL","ERROR","SUCCESS","WARNING"]);var p;(function(t){t["BOLD"]="bold";t["SUBTLE"]="subtle"})(p||(p={}));const f={root:"gov-toast",hidden:"gov-toast--hidden",content:"gov-toast__content",icon:"gov-toast__icon",close:"gov-toast__close",timer:"gov-toast__timer"};const u=class{constructor(i){t(this,i);this.govClose=s(this,"gov-close",7);this.color="primary";this.gravity="top";this.position="right";this.type="bold";this.time=0;this.closeLabel=undefined;this.accessibleCloseLabel=undefined;this.inheritedAttributes={};this.h=r(this.host);this.toastId=d("GovToast")}validateColor(t){e(b,t,f.root)}componentDidLoad(){this.attributeObserver=new n(this.host,((t,s)=>{this.onAriaAttributeChange(t,s)}));this.attributeObserver.startObserving(l)}componentWillLoad(){this.validateColor(this.color);this.runTimer();this.inheritedAttributes=m(this.host)}disconnectedCallback(){clearTimeout(this.timeout);this.attributeObserver.stopObserving()}onAriaAttributeChange(t,s){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:s})}runTimer(){if(this.isTimer){this.timeout=setTimeout((()=>{this.host.classList.add(f.hidden);setTimeout((()=>{this.destroy().catch();this.govClose.emit(this.toastId)}),600)}),this.time)}}render(){return i(o,{key:"de25d684f25705a085205511c34a71cc56b3e8a9",class:this.h.classes(f.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")&&i("span",{key:"0721293054d572274a5ba0bf40f3b9972b8d142c",class:f.icon},i("slot",{key:"338fd792506826cabaa4c01312cc4d7a36df5644",name:"icon"})),i("div",Object.assign({key:"558c83bbfb5aca1e6341c50b17863559c0f8cbc4",class:f.content},this.inheritedAttributes,{"aria-live":"polite",role:"status"}),i("slot",{key:"5631b5e0a465da0aee0425f86c9b52ffcdce0d83"})),i("gov-button",{key:"90cd98f86733d23e750f035c44bb8d6604cbed0e",size:"s","aria-label":this.accessibleCloseLabel,color:this.isBold?this.color:"neutral",type:"base","on-gov-click":this.onCloseHandler.bind(this),class:f.close},this.closeLabel?this.closeLabel:i("gov-icon",{name:"x-lg",type:"components"})),i("div",{key:"8889c3148674b53bda53ca22cd12d6a941bad7de",class:f.timer}))}onCloseHandler(){this.govClose.emit(this.toastId);this.destroy().catch()}get isBold(){return this.type==="bold"}get isTimer(){return Number.isInteger(this.time)&&this.time>0}async destroy(){clearTimeout(this.timeout);const t=document.querySelector(`[data-toast-id="${this.toastId}"]`);if(t){t.classList.add(f.hidden);if(typeof t.remove==="function"){t.remove()}}}get host(){return a(this)}static get watchers(){return{color:["validateColor"]}}};export{u as gov_toast};
2
- //# sourceMappingURL=p-6c227ce2.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as s,h as t,a,g as e}from"./p-9dea2efa.js";import{L as c}from"./p-13ebd887.js";import{g as f}from"./p-ea7fdd2e.js";const r=class{constructor(t){s(this,t);this.type="stretch";this.variant=undefined;this.inverse=false;this.h=f(this.host)}typeClass(s,t,a,e){const c=t?"-"+t:"";const f=a?"-"+a:"";const r=e?"-inverse":"";return s+" "+s+c+f+r}render(){return t(a,{key:"ba8fc53df2f13fcf8b87f25f073d0284b68b0a3a",type:this.type,class:this.h.classes(c.root)},t("section",{key:"f645a9b32495c4fc1c0c86a0078c78c4bc00a1e8",class:this.typeClass(c.section,this.type,this.variant,this.inverse)},t("slot",{key:"5b0d1a3a137a8fe3bb90ae5dff2dbc179575af56"})))}get host(){return e(this)}};export{r as gov_layout};
2
- //# sourceMappingURL=p-6dc4a01e.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as t,h as s,a as e,g as a}from"./p-9dea2efa.js";import{v as i}from"./p-d8135701.js";import{S as r}from"./p-92f420cb.js";import{p as o}from"./p-e0e2e9c1.js";import{g as n}from"./p-ea7fdd2e.js";import"./p-ceafa242.js";const p=o(r,["_2XS","_XS","_S","_M","_L","_XL","_2XL","_3XL","_4XL"]);var c;(function(t){t["NONE"]="none";t["SM"]="sm";t["MD"]="md";t["LG"]="lg";t["XL"]="xl"})(c||(c={}));const d={root:"gov-spacer"};const f=class{constructor(s){t(this,s);this.size=undefined;this.breakpoint=undefined;this.h=n(this.host)}validateSize(t){i(p,t,d.root)}validateBreakpoint(t){i(c,t,d.root)}componentWillLoad(){this.validateSize(this.size);this.validateBreakpoint(this.breakpoint)}render(){return s(e,{key:"49415f0b2a4bfb25ececcd115bd1e8bfad250938",class:this.h.classes(d.root),size:this.size,breakpoint:this.breakpoint})}get host(){return a(this)}static get watchers(){return{size:["validateSize"],breakpoint:["validateBreakpoint"]}}};export{f as gov_spacer};
2
- //# sourceMappingURL=p-7947fc6b.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as s,h as t,a as e,g as a}from"./p-9dea2efa.js";import{g as o}from"./p-ea7fdd2e.js";const r={root:"gov-tiles"};const d=class{constructor(t){s(this,t);this.columns=4;this.h=o(this.host)}render(){return t(e,{key:"81a358960eb662f248c4a33631df28736f7040d2",class:this.h.classes(r.root)},t("slot",{key:"ee3c684e6d4960f72499cc7d77d0ffda2aabd695"}))}get host(){return a(this)}};export{d as gov_tiles};
2
- //# sourceMappingURL=p-7aa304ba.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as s,h as t,a,g as e}from"./p-9dea2efa.js";import{v as o}from"./p-d8135701.js";import{C as r}from"./p-5aad3497.js";import{p as c}from"./p-e0e2e9c1.js";import{g as f}from"./p-ea7fdd2e.js";import"./p-ceafa242.js";c(r,["PRIMARY","NEUTRAL","ERROR","SUCCESS","WARNING"]);var i;(function(s){s["BOLD"]="bold";s["SUBTLE"]="subtle"})(i||(i={}));const d={root:"gov-message",content:"gov-message__content"};const n=class{constructor(t){s(this,t);this.color=r.PRIMARY;this.type="subtle";this.h=f(this.host)}validateColor(s){o(r,s,d.root)}render(){return t(a,{key:"e9250a61d94bf14a9d32eef5a69a9347df89a1e2",class:this.h.classes(d.root),color:this.color,type:this.type,role:"status"},this.h.hasSlot("icon")&&t("slot",{key:"00a69ab91656245790d88c02cbaa14d365f48140",name:"icon"}),t("div",{key:"c95cb839c2f24f744aff2a9580c44c18102d1fc9",class:d.content},t("slot",{key:"71d8d21cff90b5498940d99947d62fec1f400f1e"})))}get host(){return e(this)}static get watchers(){return{color:["validateColor"]}}};export{n as gov_message};
2
- //# sourceMappingURL=p-d646affb.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as t,h as i,a as s,g as e}from"./p-9dea2efa.js";import{v as h}from"./p-d8135701.js";import{T as o,a as n,b as a,c as r,d as f}from"./p-76d604c6.js";import{c as d}from"./p-cd6c2938.js";import{g as c}from"./p-ea7fdd2e.js";import{d as l}from"./p-ceafa242.js";import{t as p}from"./p-26618322.js";import"./p-5aad3497.js";import"./p-92f420cb.js";import"./p-e0e2e9c1.js";const m=class{constructor(i){t(this,i);this.tooltipContentId=undefined;this.tooltipId=undefined;this.color=o.PRIMARY;this.size=n._M;this.position="right";this.message=undefined;this.identifier=undefined;this.icon=undefined;this.persist=false;this.h=c(this.host);this.tooltipId=d("GovTooltip");this.tooltipContentId=d("GovContentTooltip")}validateColor(t){h(o,t,f.root)}validateSize(t){h(n,t,f.root)}validatePosition(t){h(r,t,f.root)}rerenderMessage(){this.createContentWrapper()}connectedCallback(){this.createContentWrapper();this.registerListeners()}componentWillLoad(){this.validateColor(this.color);this.validateSize(this.size);this.validatePosition(this.position)}componentDidUpdate(){this.createContentWrapper()}disconnectedCallback(){this.removeContent()}createContentWrapper(){var t;if(this.tooltipContent){if(this.message){this.tooltipContent.innerHTML=this.message}else if(this.insideContent){this.tooltipContent.innerHTML=this.insideContent.innerHTML}return}let i;if(this.insideContent){i=this.insideContent}else{i=l().createElement(a.root);i.innerHTML=this.message}i.setAttribute("id",(t=this.identifier)!==null&&t!==void 0?t:this.tooltipContentId);i.setAttribute("parent-id",this.tooltipId);i.setAttribute("color",this.color);i.setAttribute("size",this.size);l().body.appendChild(i)}get tooltipContent(){var t;return l().body.querySelector(`#${(t=this.identifier)!==null&&t!==void 0?t:this.tooltipContentId}`)}get insideContent(){return this.host.querySelector(a.root)}registerListeners(){this.host.addEventListener("click",(t=>{t.preventDefault();this.persist=true;if(this.tooltipContent){this.tooltipContent.setAttribute("persist","true")}this.showTooltip()}));this.host.addEventListener("mouseenter",(t=>{t.preventDefault();this.showTooltip()}));this.host.addEventListener("mouseleave",(t=>{t.preventDefault();if(this.persist===false){this.hideTooltip()}}))}verifyPositionSpace(){const t=12;const i=window.innerWidth-(window.innerWidth-document.documentElement.clientWidth);const s=this.host.getBoundingClientRect();const e=this.host.offsetWidth;const h=this.host.offsetHeight;const o=this.tooltipContent.offsetWidth;const n=this.tooltipContent.offsetHeight;const a={left:s.left+document.documentElement.scrollLeft,top:s.top+document.documentElement.scrollTop};const f=a.left+t+s.width+o<=i;const d=a.left>o;if(this.position===r.LEFT||this.position===r.RIGHT){this.tooltipContent.style.top=a.top-(n-h)/2+"px";if(f===false&&d===false){this.position=r.TOP;this.tooltipContent.setAttribute("position",r.TOP)}if(d&&f===false&&this.position===r.RIGHT){this.position=r.LEFT}if(f&&d===false&&this.position===r.LEFT){this.position=r.RIGHT}}if(this.position===r.RIGHT){this.tooltipContent.setAttribute("position",r.RIGHT);this.tooltipContent.style.left=a.left+t+s.width+"px"}if(this.position===r.LEFT){this.tooltipContent.setAttribute("position",r.LEFT);this.tooltipContent.style.left=a.left-(o+t)+"px"}if(this.position===r.TOP||this.position===r.BOTTOM){if(o>e){let s=a.left-(o-e)/2;const h=s<0;const n=s+o>i;if(h&&n){this.tooltipContent.style.width="auto";this.tooltipContent.style.left=t+"px";this.tooltipContent.style.right=t+"px"}else{if(h){s=t}if(n){s=s-(i-(s+o+t))*-1}this.tooltipContent.style.left=s+"px"}}else{const t=a.left+(e-o)/2;this.tooltipContent.style.left=t+"px"}}if(this.position===r.TOP){this.tooltipContent.setAttribute("position",r.TOP);this.tooltipContent.style.top=a.top-(n+t)+"px"}if(this.position===r.BOTTOM){this.tooltipContent.setAttribute("position",r.BOTTOM);this.tooltipContent.style.top=a.top+(h+t)+"px"}this.tooltipContent.style.opacity="1"}showTooltip(){if(this.tooltipContent){this.tooltipContent.style.opacity="0";this.tooltipContent.hidden=false;this.tooltipContent.setAttribute("is-visible","true");p((()=>{this.verifyPositionSpace()}))}}hideTooltip(){if(this.tooltipContent){this.tooltipContent.setAttribute("is-visible","false");this.tooltipContent.setAttribute("persist","false");this.tooltipContent.removeAttribute("style")}}removeContent(){const t=document.getElementById(this.tooltipContentId);if(t){t.remove()}}render(){var t;return i(s,{key:"b920878f7a291f93e669f4aead5bef8fd64c36fd",id:this.tooltipId,class:this.h.classes(f.root),position:this.position},i("span",{key:"0828c23f3eb8d8c12e414b1ba3b4000c318746af",role:"button",tabindex:0,onKeyPress:()=>this.showTooltip(),onBlur:()=>{if(this.persist===false){this.hideTooltip()}},"aria-describedby":(t=this.identifier)!==null&&t!==void 0?t:this.tooltipContentId},i("slot",{key:"44b084b6345315398c515dfcf4e672ea491fa994"})))}async show(){this.showTooltip()}async hide(){this.persist=false;this.hideTooltip()}get host(){return e(this)}static get watchers(){return{color:["validateColor"],size:["validateSize"],position:["validatePosition"],message:["rerenderMessage"]}}};export{m as gov_tooltip};
2
- //# sourceMappingURL=p-f6ca088e.entry.js.map