@gov-design-system-ce/components 0.0.7 → 0.0.8

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 (256) hide show
  1. package/dist/cjs/Fragment-52846f79.js +7 -0
  2. package/dist/cjs/Fragment-52846f79.js.map +1 -0
  3. package/dist/cjs/core.cjs.js +1 -1
  4. package/dist/cjs/gov-app.cjs.entry.js +15 -6
  5. package/dist/cjs/gov-app.cjs.entry.js.map +1 -1
  6. package/dist/cjs/gov-button.cjs.entry.js +12 -1
  7. package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
  8. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +4 -0
  9. package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
  10. package/dist/cjs/gov-form-checkbox.cjs.entry.js +23 -7
  11. package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
  12. package/dist/cjs/gov-form-file.cjs.entry.js +7 -1
  13. package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
  14. package/dist/cjs/gov-form-input.cjs.entry.js +6 -0
  15. package/dist/cjs/gov-form-input.cjs.entry.js.map +1 -1
  16. package/dist/cjs/gov-form-multi-select.cjs.entry.js +8 -0
  17. package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
  18. package/dist/cjs/gov-form-radio.cjs.entry.js +17 -1
  19. package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -1
  20. package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
  21. package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -1
  22. package/dist/cjs/gov-form-switch.cjs.entry.js +23 -7
  23. package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -1
  24. package/dist/cjs/gov-icon.cjs.entry.js +1 -1
  25. package/dist/cjs/gov-pagination.cjs.entry.js +3 -4
  26. package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
  27. package/dist/cjs/gov-tile.cjs.entry.js +3 -2
  28. package/dist/cjs/gov-tile.cjs.entry.js.map +1 -1
  29. package/dist/cjs/loader.cjs.js +1 -1
  30. package/dist/collection/components/gov-button/gov-button.js +12 -1
  31. package/dist/collection/components/gov-button/gov-button.js.map +1 -1
  32. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +4 -0
  33. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -1
  34. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +53 -19
  35. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -1
  36. package/dist/collection/components/gov-form/file/gov-form-file.js +7 -1
  37. package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
  38. package/dist/collection/components/gov-form/input/gov-form-input.js +6 -0
  39. package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
  40. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +8 -0
  41. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
  42. package/dist/collection/components/gov-form/radio/gov-form-radio.js +35 -1
  43. package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -1
  44. package/dist/collection/components/gov-form/search/gov-form-search.css +4 -0
  45. package/dist/collection/components/gov-form/switch/gov-form-switch.js +52 -18
  46. package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
  47. package/dist/collection/components/gov-pagination/gov-pagination.css +1 -0
  48. package/dist/collection/components/gov-tile/constants.js +1 -0
  49. package/dist/collection/components/gov-tile/constants.js.map +1 -1
  50. package/dist/collection/components/gov-tile/gov-tile.css +7 -3
  51. package/dist/collection/components/gov-tile/gov-tile.js +3 -6
  52. package/dist/collection/components/gov-tile/gov-tile.js.map +1 -1
  53. package/dist/collection/pages/Forms.js +15 -6
  54. package/dist/collection/pages/Forms.js.map +1 -1
  55. package/dist/components/Fragment.js +5 -0
  56. package/dist/components/Fragment.js.map +1 -0
  57. package/dist/components/gov-accordion-item.js +0 -1
  58. package/dist/components/gov-accordion-item.js.map +1 -1
  59. package/dist/components/gov-accordion.js +0 -1
  60. package/dist/components/gov-accordion.js.map +1 -1
  61. package/dist/components/gov-alert.js +0 -1
  62. package/dist/components/gov-alert.js.map +1 -1
  63. package/dist/components/gov-app.js +15 -7
  64. package/dist/components/gov-app.js.map +1 -1
  65. package/dist/components/gov-attachments-item2.js +0 -1
  66. package/dist/components/gov-attachments-item2.js.map +1 -1
  67. package/dist/components/gov-attachments2.js +0 -1
  68. package/dist/components/gov-attachments2.js.map +1 -1
  69. package/dist/components/gov-backdrop2.js +0 -1
  70. package/dist/components/gov-backdrop2.js.map +1 -1
  71. package/dist/components/gov-badge2.js +0 -1
  72. package/dist/components/gov-badge2.js.map +1 -1
  73. package/dist/components/gov-breadcrumbs.js +0 -1
  74. package/dist/components/gov-breadcrumbs.js.map +1 -1
  75. package/dist/components/gov-button2.js +12 -2
  76. package/dist/components/gov-button2.js.map +1 -1
  77. package/dist/components/gov-card.js +0 -1
  78. package/dist/components/gov-card.js.map +1 -1
  79. package/dist/components/gov-container.js +0 -1
  80. package/dist/components/gov-container.js.map +1 -1
  81. package/dist/components/gov-cookiebar.js +0 -1
  82. package/dist/components/gov-cookiebar.js.map +1 -1
  83. package/dist/components/gov-empty.js +0 -1
  84. package/dist/components/gov-empty.js.map +1 -1
  85. package/dist/components/gov-error-code.js +0 -1
  86. package/dist/components/gov-error-code.js.map +1 -1
  87. package/dist/components/gov-form-autocomplete2.js +4 -1
  88. package/dist/components/gov-form-autocomplete2.js.map +1 -1
  89. package/dist/components/gov-form-checkbox.js +24 -8
  90. package/dist/components/gov-form-checkbox.js.map +1 -1
  91. package/dist/components/gov-form-control.js +0 -1
  92. package/dist/components/gov-form-control.js.map +1 -1
  93. package/dist/components/gov-form-file.js +7 -2
  94. package/dist/components/gov-form-file.js.map +1 -1
  95. package/dist/components/gov-form-group.js +0 -1
  96. package/dist/components/gov-form-group.js.map +1 -1
  97. package/dist/components/gov-form-input2.js +6 -1
  98. package/dist/components/gov-form-input2.js.map +1 -1
  99. package/dist/components/gov-form-label.js +0 -1
  100. package/dist/components/gov-form-label.js.map +1 -1
  101. package/dist/components/gov-form-message2.js +0 -1
  102. package/dist/components/gov-form-message2.js.map +1 -1
  103. package/dist/components/gov-form-multi-select.js +8 -1
  104. package/dist/components/gov-form-multi-select.js.map +1 -1
  105. package/dist/components/gov-form-password-power.js +0 -1
  106. package/dist/components/gov-form-password-power.js.map +1 -1
  107. package/dist/components/gov-form-radio.js +18 -2
  108. package/dist/components/gov-form-radio.js.map +1 -1
  109. package/dist/components/gov-form-search.js +1 -2
  110. package/dist/components/gov-form-search.js.map +1 -1
  111. package/dist/components/gov-form-select2.js +0 -1
  112. package/dist/components/gov-form-select2.js.map +1 -1
  113. package/dist/components/gov-form-switch.js +24 -8
  114. package/dist/components/gov-form-switch.js.map +1 -1
  115. package/dist/components/gov-grid-item.js +0 -1
  116. package/dist/components/gov-grid-item.js.map +1 -1
  117. package/dist/components/gov-grid.js +0 -1
  118. package/dist/components/gov-grid.js.map +1 -1
  119. package/dist/components/gov-icon2.js +1 -2
  120. package/dist/components/gov-icon2.js.map +1 -1
  121. package/dist/components/gov-layout-column.js +0 -1
  122. package/dist/components/gov-layout-column.js.map +1 -1
  123. package/dist/components/gov-layout.js +0 -1
  124. package/dist/components/gov-layout.js.map +1 -1
  125. package/dist/components/gov-loading.js +0 -1
  126. package/dist/components/gov-loading.js.map +1 -1
  127. package/dist/components/gov-message.js +0 -1
  128. package/dist/components/gov-message.js.map +1 -1
  129. package/dist/components/gov-modal.js +0 -1
  130. package/dist/components/gov-modal.js.map +1 -1
  131. package/dist/components/gov-nav-item.js +0 -1
  132. package/dist/components/gov-nav-item.js.map +1 -1
  133. package/dist/components/gov-nav.js +0 -1
  134. package/dist/components/gov-nav.js.map +1 -1
  135. package/dist/components/gov-pagination.js +2 -4
  136. package/dist/components/gov-pagination.js.map +1 -1
  137. package/dist/components/gov-prompt.js +0 -1
  138. package/dist/components/gov-prompt.js.map +1 -1
  139. package/dist/components/gov-side-nav-item.js +0 -1
  140. package/dist/components/gov-side-nav-item.js.map +1 -1
  141. package/dist/components/gov-side-nav.js +0 -1
  142. package/dist/components/gov-side-nav.js.map +1 -1
  143. package/dist/components/gov-spacer.js +0 -1
  144. package/dist/components/gov-spacer.js.map +1 -1
  145. package/dist/components/gov-statsbar-item.js +0 -1
  146. package/dist/components/gov-statsbar-item.js.map +1 -1
  147. package/dist/components/gov-statsbar.js +0 -1
  148. package/dist/components/gov-statsbar.js.map +1 -1
  149. package/dist/components/gov-stepper-item.js +0 -1
  150. package/dist/components/gov-stepper-item.js.map +1 -1
  151. package/dist/components/gov-stepper.js +0 -1
  152. package/dist/components/gov-stepper.js.map +1 -1
  153. package/dist/components/gov-tabs-item.js +0 -1
  154. package/dist/components/gov-tabs-item.js.map +1 -1
  155. package/dist/components/gov-tabs.js +0 -1
  156. package/dist/components/gov-tabs.js.map +1 -1
  157. package/dist/components/gov-tile.js +3 -3
  158. package/dist/components/gov-tile.js.map +1 -1
  159. package/dist/components/gov-tiles.js +0 -1
  160. package/dist/components/gov-tiles.js.map +1 -1
  161. package/dist/components/gov-toast.js +0 -1
  162. package/dist/components/gov-toast.js.map +1 -1
  163. package/dist/components/gov-tooltip-content.js +0 -1
  164. package/dist/components/gov-tooltip-content.js.map +1 -1
  165. package/dist/components/gov-tooltip.js +0 -1
  166. package/dist/components/gov-tooltip.js.map +1 -1
  167. package/dist/components/gov-wizzard-item.js +0 -1
  168. package/dist/components/gov-wizzard-item.js.map +1 -1
  169. package/dist/components/gov-wizzard.js +0 -1
  170. package/dist/components/gov-wizzard.js.map +1 -1
  171. package/dist/core/core.css +1 -1
  172. package/dist/core/core.esm.js +1 -1
  173. package/dist/core/core.esm.js.map +1 -1
  174. package/dist/core/{p-ae3e2d60.entry.js → p-04fc18ab.entry.js} +2 -2
  175. package/dist/core/p-04fc18ab.entry.js.map +1 -0
  176. package/dist/core/{p-1cc7b8d3.entry.js → p-1c06fb0b.entry.js} +2 -2
  177. package/dist/core/p-1c06fb0b.entry.js.map +1 -0
  178. package/dist/core/p-1c1d0bbe.js +2 -0
  179. package/dist/core/p-1c1d0bbe.js.map +1 -0
  180. package/dist/core/{p-e9c94ef7.entry.js → p-72b9e63a.entry.js} +2 -2
  181. package/dist/core/{p-165fe5f4.entry.js → p-851939ff.entry.js} +2 -2
  182. package/dist/core/p-851939ff.entry.js.map +1 -0
  183. package/dist/core/p-8dbad4a2.entry.js +2 -0
  184. package/dist/core/p-8dbad4a2.entry.js.map +1 -0
  185. package/dist/core/p-902002e9.entry.js +2 -0
  186. package/dist/core/p-902002e9.entry.js.map +1 -0
  187. package/dist/core/{p-a0c491a6.entry.js → p-95f21fbf.entry.js} +2 -2
  188. package/dist/core/{p-a0c491a6.entry.js.map → p-95f21fbf.entry.js.map} +1 -1
  189. package/dist/core/p-9ceeba49.entry.js +2 -0
  190. package/dist/core/{p-86a3c0d5.entry.js.map → p-9ceeba49.entry.js.map} +1 -1
  191. package/dist/core/{p-ec617f18.entry.js → p-9d30e79e.entry.js} +2 -2
  192. package/dist/core/{p-ec617f18.entry.js.map → p-9d30e79e.entry.js.map} +1 -1
  193. package/dist/core/{p-692eb701.entry.js → p-a36234bb.entry.js} +2 -2
  194. package/dist/core/p-a36234bb.entry.js.map +1 -0
  195. package/dist/core/p-ac33c5ef.entry.js +2 -0
  196. package/dist/core/p-ac33c5ef.entry.js.map +1 -0
  197. package/dist/core/{p-da2b921e.entry.js → p-c0430e75.entry.js} +2 -2
  198. package/dist/core/p-c0430e75.entry.js.map +1 -0
  199. package/dist/core/p-ecdfb046.entry.js +2 -0
  200. package/dist/core/p-ecdfb046.entry.js.map +1 -0
  201. package/dist/custom-elements/index.js +1 -1
  202. package/dist/custom-elements/index.js.map +1 -1
  203. package/dist/esm/Fragment-8d8d54fb.js +5 -0
  204. package/dist/esm/Fragment-8d8d54fb.js.map +1 -0
  205. package/dist/esm/core.js +1 -1
  206. package/dist/esm/gov-app.entry.js +15 -6
  207. package/dist/esm/gov-app.entry.js.map +1 -1
  208. package/dist/esm/gov-button.entry.js +12 -1
  209. package/dist/esm/gov-button.entry.js.map +1 -1
  210. package/dist/esm/gov-form-autocomplete.entry.js +4 -0
  211. package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
  212. package/dist/esm/gov-form-checkbox.entry.js +23 -7
  213. package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
  214. package/dist/esm/gov-form-file.entry.js +7 -1
  215. package/dist/esm/gov-form-file.entry.js.map +1 -1
  216. package/dist/esm/gov-form-input.entry.js +6 -0
  217. package/dist/esm/gov-form-input.entry.js.map +1 -1
  218. package/dist/esm/gov-form-multi-select.entry.js +8 -0
  219. package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
  220. package/dist/esm/gov-form-radio.entry.js +17 -1
  221. package/dist/esm/gov-form-radio.entry.js.map +1 -1
  222. package/dist/esm/gov-form-search.entry.js +1 -1
  223. package/dist/esm/gov-form-search.entry.js.map +1 -1
  224. package/dist/esm/gov-form-switch.entry.js +23 -7
  225. package/dist/esm/gov-form-switch.entry.js.map +1 -1
  226. package/dist/esm/gov-icon.entry.js +1 -1
  227. package/dist/esm/gov-pagination.entry.js +2 -3
  228. package/dist/esm/gov-pagination.entry.js.map +1 -1
  229. package/dist/esm/gov-tile.entry.js +3 -2
  230. package/dist/esm/gov-tile.entry.js.map +1 -1
  231. package/dist/esm/loader.js +1 -1
  232. package/dist/hydrate/index.js +121 -29
  233. package/dist/types/components/gov-button/gov-button.d.ts +2 -0
  234. package/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +8 -3
  235. package/dist/types/components/gov-form/file/gov-form-file.d.ts +1 -0
  236. package/dist/types/components/gov-form/radio/gov-form-radio.d.ts +5 -0
  237. package/dist/types/components/gov-form/switch/gov-form-switch.d.ts +8 -3
  238. package/dist/types/components/gov-tile/constants.d.ts +1 -0
  239. package/dist/types/components/gov-tile/gov-tile.d.ts +1 -2
  240. package/dist/types/components.d.ts +26 -4
  241. package/package.json +1 -1
  242. package/dist/core/p-165fe5f4.entry.js.map +0 -1
  243. package/dist/core/p-1cc7b8d3.entry.js.map +0 -1
  244. package/dist/core/p-22722ff3.entry.js +0 -2
  245. package/dist/core/p-22722ff3.entry.js.map +0 -1
  246. package/dist/core/p-54f367db.entry.js +0 -2
  247. package/dist/core/p-54f367db.entry.js.map +0 -1
  248. package/dist/core/p-692eb701.entry.js.map +0 -1
  249. package/dist/core/p-86a3c0d5.entry.js +0 -2
  250. package/dist/core/p-8965f84a.entry.js +0 -2
  251. package/dist/core/p-8965f84a.entry.js.map +0 -1
  252. package/dist/core/p-a0dd0a95.entry.js +0 -2
  253. package/dist/core/p-a0dd0a95.entry.js.map +0 -1
  254. package/dist/core/p-ae3e2d60.entry.js.map +0 -1
  255. package/dist/core/p-da2b921e.entry.js.map +0 -1
  256. /package/dist/core/{p-e9c94ef7.entry.js.map → p-72b9e63a.entry.js.map} +0 -0
@@ -11492,15 +11492,24 @@ class FormsPage extends HTMLElement {
11492
11492
  <option value="i" selected>Value I</option>
11493
11493
  </gov-form-multi-select>
11494
11494
  <br>
11495
+ <gov-form-checkbox name="test-me-c" value="me" checked no-label></gov-form-checkbox>
11496
+ <br>
11497
+ <gov-form-radio name="superRadio2" value="me1" no-label></gov-form-radio>
11498
+ <gov-form-radio name="superRadio2" value="me2" checked no-label></gov-form-radio>
11499
+ <br>
11500
+ <gov-form-switch name="test-me" value="me2" checked no-label></gov-form-switch>
11501
+ <br>
11495
11502
  <gov-form-checkbox name="test-me-c" value="me" checked>
11496
11503
  <gov-form-label slot="label">Souhlasím</gov-form-label>
11497
11504
  </gov-form-checkbox>
11498
11505
  <br>
11499
- <gov-form-radio name="test1" value="me1">
11506
+ <gov-form-radio name="superRadio" value="me1">
11507
+ <gov-form-label slot="label">Souhlasím</gov-form-label>
11508
+ </gov-form-radio>
11509
+ <gov-form-radio name="superRadio" value="me2" checked>
11500
11510
  <gov-form-label slot="label">Souhlasím</gov-form-label>
11501
11511
  </gov-form-radio>
11502
11512
  <br>
11503
- // TODO: Nepropisuje se ID inputu do labelu
11504
11513
  <gov-form-switch name="test-me" value="me2" checked>
11505
11514
  <gov-form-label slot="label">Souhlasím</gov-form-label>
11506
11515
  </gov-form-switch>
@@ -11519,7 +11528,7 @@ class FormsPage extends HTMLElement {
11519
11528
  <gov-form-control size="m">
11520
11529
  <gov-form-group>
11521
11530
  <gov-form-search name="test-me-c" value="me" checked>
11522
- <gov-form-input slot="input" id="kapr" name="test-me" placeholder="Co hledáte" type="reset"></gov-form-input>
11531
+ <gov-form-input slot="input" id="kapr" name="test-me" placeholder="Co hledáte"></gov-form-input>
11523
11532
  <gov-button slot="button" variant="primary" size="s">
11524
11533
  <gov-icon slot="left-icon" name="search"></gov-icon>
11525
11534
  </gov-button>
@@ -11530,7 +11539,7 @@ class FormsPage extends HTMLElement {
11530
11539
  <gov-form-control size="l">
11531
11540
  <gov-form-group>
11532
11541
  <gov-form-search name="test-me-c" value="me" checked>
11533
- <gov-form-input slot="input" id="kapr" name="test-me" placeholder="Co hledáte" type="reset"></gov-form-input>
11542
+ <gov-form-input slot="input" id="kapr" name="test-me" placeholder="Co hledáte"></gov-form-input>
11534
11543
  <gov-button slot="button" variant="primary" size="m">
11535
11544
  Hledat
11536
11545
  </gov-button>
@@ -11541,7 +11550,7 @@ class FormsPage extends HTMLElement {
11541
11550
  <gov-form-control size="xl">
11542
11551
  <gov-form-group>
11543
11552
  <gov-form-search name="test-me-c" value="me" checked variant="secondary">
11544
- <gov-form-input slot="input" id="kapr" name="test-me" placeholder="Co hledáte" type="reset"></gov-form-input>
11553
+ <gov-form-input slot="input" id="kapr" name="test-me" placeholder="Co hledáte"></gov-form-input>
11545
11554
  <gov-button slot="button" variant="secondary" size="l">
11546
11555
  Hledat
11547
11556
  </gov-button>
@@ -12318,7 +12327,6 @@ class FormsPage extends HTMLElement {
12318
12327
  <gov-form-label size="s" slot="top">Label of input</gov-form-label>
12319
12328
  <gov-form-group>
12320
12329
  <gov-form-input id="kapr" name="test-me" placeholder="Placeholder">
12321
- <gov-icon slot="right-icon" name="info"></gov-icon>
12322
12330
  </gov-form-input>
12323
12331
  </gov-form-group>
12324
12332
  </gov-form-control>
@@ -12461,6 +12469,7 @@ class FormsPage extends HTMLElement {
12461
12469
  </gov-form-switch>
12462
12470
  </gov-form-group>
12463
12471
  </gov-form-control>
12472
+
12464
12473
  <gov-form-control size="l">
12465
12474
  <gov-form-group>
12466
12475
  <gov-form-switch name="test-me" value="me" checked>
@@ -14980,14 +14989,25 @@ class GovButton {
14980
14989
  render() {
14981
14990
  const Tag = this.href ? Tags$2.A : Tags$2.BUTTON;
14982
14991
  const nativeType = Tag === Tags$2.A ? undefined : this.nativeType;
14983
- return (hAsync(Host, { hoverable: true, size: this.size, variant: this.variant, class: this.h.classes(this.classNames), type: this.type, inverse: this.inverse }, hAsync(Tag, { class: "element", ref: el => (this.buttonRef = el), onClick: this.onClickHandler.bind(this), onFocus: () => this.govFocus.emit(), onBlur: () => this.govBlur.emit(), onMouseDown: () => (this.isPressed = true), onMouseUp: () => (this.isPressed = false), disabled: this.disabled, id: this.identifier, href: this.href, target: this.target, download: this.download, hreflang: this.hreflang, rel: this.rel, name: this.name, type: nativeType, tabindex: this.focusable ? '0' : '-1', "aria-activedescendant": this.wcagActiveDescendant, "aria-describedby": this.wcagActiveDescendant, "aria-description": this.wcagDescription, "aria-controls": this.wcagControls, "aria-details": this.wcagDetails, "aria-expanded": toBoolAttrIfDefined(this.wcagExpanded), "aria-label": this.wcagLabel, "aria-labelledby": this.wcagLabelledBy, "aria-owns": this.wcagOwns, "aria-haspopup": toBoolAttrIfDefined(this.wcagHasPopup), "aria-pressed": toBoolAttr(this.isPressed), "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-current": this.wcagCurrent }, toBool(this.loading) && !this.h.hasSlot('right-icon') && hAsync("gov-icon", { name: "loader", class: "gov-spin-animation" }), this.h.hasSlot('left-icon') && hAsync("slot", { name: "left-icon" }), hAsync("slot", null), this.h.hasSlot('right-icon') && hAsync("slot", { name: "right-icon" }), toBool(this.loading) && this.h.hasSlot('right-icon') && hAsync("gov-icon", { name: "loader", class: "gov-spin-animation" }))));
14992
+ return (hAsync(Host, { hoverable: true, size: this.size, variant: this.variant, class: this.h.classes(this.classNames), type: this.type, inverse: this.inverse }, hAsync(Tag, { class: "element", ref: el => (this.buttonRef = el), onClick: this.onClickHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), onMouseDown: () => (this.isPressed = true), onMouseUp: () => (this.isPressed = false), disabled: this.disabled, id: this.identifier, href: this.href, target: this.target, download: this.download, hreflang: this.hreflang, rel: this.rel, name: this.name, type: nativeType, tabindex: this.focusable ? '0' : '-1', "aria-activedescendant": this.wcagActiveDescendant, "aria-describedby": this.wcagActiveDescendant, "aria-description": this.wcagDescription, "aria-controls": this.wcagControls, "aria-details": this.wcagDetails, "aria-expanded": toBoolAttrIfDefined(this.wcagExpanded), "aria-label": this.wcagLabel, "aria-labelledby": this.wcagLabelledBy, "aria-owns": this.wcagOwns, "aria-haspopup": toBoolAttrIfDefined(this.wcagHasPopup), "aria-pressed": toBoolAttr(this.isPressed), "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-current": this.wcagCurrent }, toBool(this.loading) && !this.h.hasSlot('right-icon') && hAsync("gov-icon", { name: "loader", class: "gov-spin-animation" }), this.h.hasSlot('left-icon') && hAsync("slot", { name: "left-icon" }), hAsync("slot", null), this.h.hasSlot('right-icon') && hAsync("slot", { name: "right-icon" }), toBool(this.loading) && this.h.hasSlot('right-icon') && hAsync("gov-icon", { name: "loader", class: "gov-spin-animation" }))));
14984
14993
  }
14985
14994
  onClickHandler(e) {
14986
14995
  e.stopPropagation();
14996
+ e.preventDefault();
14987
14997
  if (this.disabled === false) {
14988
14998
  this.govClick.emit(e);
14989
14999
  }
14990
15000
  }
15001
+ onFocusHandler(e) {
15002
+ e.stopPropagation();
15003
+ e.preventDefault();
15004
+ this.govFocus.emit(e);
15005
+ }
15006
+ onBlurHandler(e) {
15007
+ e.stopPropagation();
15008
+ e.preventDefault();
15009
+ this.govBlur.emit(e);
15010
+ }
14991
15011
  /**
14992
15012
  * Focus button element
14993
15013
  */
@@ -15392,6 +15412,7 @@ class GovFormAutocomplete {
15392
15412
  this.doSearch();
15393
15413
  }
15394
15414
  e.stopPropagation();
15415
+ e.preventDefault();
15395
15416
  this.govFocus.emit(e);
15396
15417
  }
15397
15418
  onBlurHandler(e) {
@@ -15399,11 +15420,13 @@ class GovFormAutocomplete {
15399
15420
  setTimeout(() => (this.list = []), 200);
15400
15421
  this.arrowCounter = -1;
15401
15422
  e.stopPropagation();
15423
+ e.preventDefault();
15402
15424
  this.govBlur.emit(e);
15403
15425
  }
15404
15426
  onInputHandler(e) {
15405
15427
  this.value = e.target.value;
15406
15428
  e.stopPropagation();
15429
+ e.preventDefault();
15407
15430
  this.govInput.emit(e);
15408
15431
  this.doSearch();
15409
15432
  }
@@ -15426,6 +15449,7 @@ class GovFormAutocomplete {
15426
15449
  onKeyUpHandler(e) {
15427
15450
  const event = e.detail;
15428
15451
  e.stopPropagation();
15452
+ e.preventDefault();
15429
15453
  if (event.keyCode === 38)
15430
15454
  this.onArrowUp();
15431
15455
  else if (event.keyCode === 40)
@@ -15632,6 +15656,8 @@ const FormLabelClass = {
15632
15656
  label: 'gov-form-label__label',
15633
15657
  };
15634
15658
 
15659
+ var Fragment = (_, children) => [...children];
15660
+
15635
15661
  const govFormCheckboxCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}.gov-form-checkbox{cursor:pointer}.gov-form-checkbox input{position:absolute;top:0;left:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.gov-form-checkbox input+span{position:relative;display:block}.gov-form-checkbox input+span::before{content:\"\";position:absolute;display:block;top:0;left:0;border:var(--gov-form-checkbox-border-size, 0.125rem solid var(--gov-color-primary));transition:150ms linear border-color, 150ms linear background-color, 150ms linear outline-color}.gov-form-checkbox .gov-form-label__label{position:relative;z-index:1;width:100%}.gov-form-checkbox input:focus-visible+span::before{outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base)}[invalid=\"\"].gov-form-checkbox .gov-form-label__label,[invalid=true i].gov-form-checkbox .gov-form-label__label,[invalid=\"1\"].gov-form-checkbox .gov-form-label__label{color:var(--gov-form-state-color-error, var(--gov-color-error))}[invalid=\"\"].gov-form-checkbox input+span::before,[invalid=true i].gov-form-checkbox input+span::before,[invalid=\"1\"].gov-form-checkbox input+span::before{border-color:var(--gov-form-state-color-error, var(--gov-color-error))}[disabled=\"\"].gov-form-checkbox,[disabled=true i].gov-form-checkbox,[disabled=\"1\"].gov-form-checkbox{pointer-events:none}[disabled=\"\"].gov-form-checkbox .gov-form-label__label,[disabled=true i].gov-form-checkbox .gov-form-label__label,[disabled=\"1\"].gov-form-checkbox .gov-form-label__label{color:var(--gov-form-state-color-disabled, var(--gov-color-secondary-600))}[disabled=\"\"].gov-form-checkbox input+span::before,[disabled=true i].gov-form-checkbox input+span::before,[disabled=\"1\"].gov-form-checkbox input+span::before{border-color:var(--gov-form-input-disabled-bg, var(--gov-color-primary-400))}[size=xs].gov-form-checkbox{font-weight:var(--gov-text-xs-font-weight);font-size:var(--gov-text-xs-font-size);line-height:var(--gov-text-xs-line-height);letter-spacing:var(--gov-text-xs-letter-spacing);min-width:var(--gov-form-checkbox-core-xs-indicator-size, 1.25rem);min-height:var(--gov-form-checkbox-core-xs-indicator-size, 1.25rem)}[size=xs].gov-form-checkbox .gov-form-label__label{padding-top:calc((var(--gov-form-checkbox-core-xs-indicator-size, 1.25rem) - var(--gov-text-xs-font-size) * 1.5) / 2);padding-left:calc(var(--gov-form-checkbox-core-xs-indicator-size, 1.25rem) + var(--gov-form-checkbox-core-xs-gap, 0.75rem))}[size=xs].gov-form-checkbox input+span::before{width:var(--gov-form-checkbox-core-xs-indicator-size, 1.25rem);height:var(--gov-form-checkbox-core-xs-indicator-size, 1.25rem)}[size=s].gov-form-checkbox{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing);min-width:var(--gov-form-checkbox-core-s-indicator-size, 1.375rem);min-height:var(--gov-form-checkbox-core-s-indicator-size, 1.375rem)}[size=s].gov-form-checkbox .gov-form-label__label{padding-top:calc((var(--gov-form-checkbox-core-s-indicator-size, 1.375rem) - var(--gov-text-s-font-size) * 1.5) / 2);padding-left:calc(var(--gov-form-checkbox-core-s-indicator-size, 1.375rem) + var(--gov-form-checkbox-core-s-gap, 0.75rem))}[size=s].gov-form-checkbox input+span::before{width:var(--gov-form-checkbox-core-s-indicator-size, 1.375rem);height:var(--gov-form-checkbox-core-s-indicator-size, 1.375rem)}[size=m].gov-form-checkbox{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);min-width:var(--gov-form-checkbox-core-m-indicator-size, 1.5rem);min-height:var(--gov-form-checkbox-core-m-indicator-size, 1.5rem)}[size=m].gov-form-checkbox .gov-form-label__label{padding-top:calc((var(--gov-form-checkbox-core-m-indicator-size, 1.5rem) - var(--gov-text-m-font-size) * 1.5) / 2);padding-left:calc(var(--gov-form-checkbox-core-m-indicator-size, 1.5rem) + var(--gov-form-checkbox-core-m-gap, 1rem))}[size=m].gov-form-checkbox input+span::before{width:var(--gov-form-checkbox-core-m-indicator-size, 1.5rem);height:var(--gov-form-checkbox-core-m-indicator-size, 1.5rem)}[size=l].gov-form-checkbox{font-weight:var(--gov-text-l-font-weight);font-size:var(--gov-text-l-font-size);line-height:var(--gov-text-l-line-height);letter-spacing:var(--gov-text-l-letter-spacing);min-width:var(--gov-form-checkbox-core-l-indicator-size, 2rem);min-height:var(--gov-form-checkbox-core-l-indicator-size, 2rem)}[size=l].gov-form-checkbox .gov-form-label__label{padding-top:calc((var(--gov-form-checkbox-core-l-indicator-size, 2rem) - var(--gov-text-l-font-size) * 1.5) / 2);padding-left:calc(var(--gov-form-checkbox-core-l-indicator-size, 2rem) + var(--gov-form-checkbox-core-l-gap, 1rem))}[size=l].gov-form-checkbox input+span::before{width:var(--gov-form-checkbox-core-l-indicator-size, 2rem);height:var(--gov-form-checkbox-core-l-indicator-size, 2rem)}.gov-form-checkbox input+span::before{border-radius:var(--gov-border-radius, 0.1875rem)}.gov-form-checkbox__check{position:absolute;color:var(--gov-form-checkbox-check-color, var(--gov-color-neutral-white));opacity:0;transition:150ms linear opacity}.gov-form-checkbox input:checked+span::before{background:var(--gov-form-checkbox-indicator-bg, var(--gov-color-primary))}input:checked+span .gov-form-checkbox__check{opacity:1}.gov-form-checkbox[invalid=\"\"] input:checked+span::before,.gov-form-checkbox[invalid=true i] input:checked+span::before,.gov-form-checkbox[invalid=\"1\"] input:checked+span::before{background:var(--gov-form-state-color-error, var(--gov-color-error))}.gov-form-checkbox[disabled=\"\"] input:checked+span::before,.gov-form-checkbox[disabled=true i] input:checked+span::before,.gov-form-checkbox[disabled=\"1\"] input:checked+span::before{border-color:var(--gov-form-input-disabled-bg, var(--gov-color-primary-400));background-color:var(--gov-form-input-disabled-bg, var(--gov-color-primary-400))}.gov-form-checkbox[size=xs] .gov-form-checkbox__check{top:calc((var(--gov-form-checkbox-core-xs-indicator-size, 1.25rem) - var(--gov-form-checkbox-core-xs-check-size, 0.75rem)) / 2);left:calc((var(--gov-form-checkbox-core-xs-indicator-size, 1.25rem) - var(--gov-form-checkbox-core-xs-check-size, 0.75rem)) / 2);width:var(--gov-form-checkbox-core-xs-check-size, 0.75rem);height:var(--gov-form-checkbox-core-xs-check-size, 0.75rem)}.gov-form-checkbox[size=s] .gov-form-checkbox__check{top:calc((var(--gov-form-checkbox-core-s-indicator-size, 1.375rem) - var(--gov-form-checkbox-core-s-check-size, 0.825rem)) / 2);left:calc((var(--gov-form-checkbox-core-s-indicator-size, 1.375rem) - var(--gov-form-checkbox-core-s-check-size, 0.825rem)) / 2);width:var(--gov-form-checkbox-core-s-check-size, 0.825rem);height:var(--gov-form-checkbox-core-s-check-size, 0.825rem)}.gov-form-checkbox[size=m] .gov-form-checkbox__check{top:calc((var(--gov-form-checkbox-core-m-indicator-size, 1.5rem) - var(--gov-form-checkbox-core-m-check-size, 0.9rem)) / 2);left:calc((var(--gov-form-checkbox-core-m-indicator-size, 1.5rem) - var(--gov-form-checkbox-core-m-check-size, 0.9rem)) / 2);width:var(--gov-form-checkbox-core-m-check-size, 0.9rem);height:var(--gov-form-checkbox-core-m-check-size, 0.9rem)}.gov-form-checkbox[size=l] .gov-form-checkbox__check{top:calc((var(--gov-form-checkbox-core-l-indicator-size, 2rem) - var(--gov-form-checkbox-core-l-check-size, 1.2rem)) / 2);left:calc((var(--gov-form-checkbox-core-l-indicator-size, 2rem) - var(--gov-form-checkbox-core-l-check-size, 1.2rem)) / 2);width:var(--gov-form-checkbox-core-l-check-size, 1.2rem);height:var(--gov-form-checkbox-core-l-check-size, 1.2rem)}";
15636
15662
 
15637
15663
  class GovFormCheckbox {
@@ -15645,13 +15671,14 @@ class GovFormCheckbox {
15645
15671
  this.required = false;
15646
15672
  this.disabled = undefined;
15647
15673
  this.name = undefined;
15648
- this.size = 'm';
15674
+ this.size = "m";
15649
15675
  this.identifier = undefined;
15676
+ this.noLabel = false;
15650
15677
  this.invalid = undefined;
15651
15678
  this.wcagDescribedBy = undefined;
15652
15679
  this.wcagLabelledBy = undefined;
15653
15680
  this.isChecked = undefined;
15654
- this.checkboxId = createID('GovCheckbox');
15681
+ this.checkboxId = createID("GovCheckbox");
15655
15682
  this.h = govHost(this.host);
15656
15683
  this.f = govForm(this.h);
15657
15684
  }
@@ -15667,8 +15694,8 @@ class GovFormCheckbox {
15667
15694
  }
15668
15695
  componentWillLoad() {
15669
15696
  this.isChecked = this.checked;
15670
- this.f.passAttrToControl('type', 'checkbox');
15671
- this.h.passChildAttr(FormLabelClass.root, 'identifier', this.identifier || this.checkboxId);
15697
+ this.f.passAttrToControl("type", "checkbox");
15698
+ this.h.passChildAttr(FormLabelClass.root, "identifier", this.identifier || this.checkboxId);
15672
15699
  }
15673
15700
  async componentDidRender() {
15674
15701
  if (canValidateWcagOnRender()) {
@@ -15678,17 +15705,31 @@ class GovFormCheckbox {
15678
15705
  }
15679
15706
  render() {
15680
15707
  const { isChecked } = this;
15681
- return (hAsync(Host, { class: FormCheckboxClass.root, "is-checked": isChecked, size: this.size, invalid: toBoolAttrIfDefined(this.invalid) }, hAsync("input", { id: this.identifier || this.checkboxId, type: "checkbox", value: this.value, name: this.name, checked: this.isChecked, onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, "aria-checked": toBoolAttr(this.isChecked), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-describedby": this.wcagDescribedBy, "aria-labelledby": this.wcagLabelledBy, "aria-disabled": toBoolAttrIfDefined(this.disabled) }), hAsync("span", null, hAsync("slot", { name: "label" }), hAsync("gov-icon", { class: FormCheckboxClass.check, name: "check-lg" }))));
15708
+ const wrapCheckbox = (children) => {
15709
+ if (this.noLabel) {
15710
+ return (hAsync("label", null, children));
15711
+ }
15712
+ return children;
15713
+ };
15714
+ return (hAsync(Host, { class: FormCheckboxClass.root, "is-checked": isChecked, size: this.size, invalid: toBoolAttrIfDefined(this.invalid) }, wrapCheckbox(hAsync(Fragment, null, hAsync("input", { id: this.identifier || this.checkboxId, type: "checkbox", value: this.value, name: this.name, checked: this.isChecked, onClick: this.onClickHandler.bind(this), onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, "aria-checked": toBoolAttr(this.isChecked), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-describedby": this.wcagDescribedBy, "aria-labelledby": this.wcagLabelledBy, "aria-disabled": toBoolAttrIfDefined(this.disabled) }), hAsync("span", null, hAsync("slot", { name: "label" }), hAsync("gov-icon", { class: FormCheckboxClass.check, name: "check-lg" }))))));
15682
15715
  }
15683
15716
  onFocusHandler(e) {
15717
+ e.stopPropagation();
15718
+ e.preventDefault();
15684
15719
  this.govFocus.emit(e);
15685
15720
  }
15686
15721
  onBlurHandler(e) {
15722
+ e.stopPropagation();
15723
+ e.preventDefault();
15687
15724
  this.govBlur.emit(e);
15688
15725
  }
15726
+ onClickHandler(e) {
15727
+ e.stopPropagation();
15728
+ }
15689
15729
  onChangeHandler(e) {
15690
15730
  this.isChecked = e.target.checked;
15691
15731
  e.stopPropagation();
15732
+ e.preventDefault();
15692
15733
  this.govChange.emit({
15693
15734
  checked: this.isChecked,
15694
15735
  value: this.value,
@@ -15698,8 +15739,8 @@ class GovFormCheckbox {
15698
15739
  * Validate the WCAG attributes of the component
15699
15740
  */
15700
15741
  async validateWcag() {
15701
- validateWcagRef(this.wcagDescribedBy, 'wcag-described-by', FormCheckboxClass.root);
15702
- validateWcagRef(this.wcagLabelledBy, 'wcag-labelled-by', FormCheckboxClass.root);
15742
+ validateWcagRef(this.wcagDescribedBy, "wcag-described-by", FormCheckboxClass.root);
15743
+ validateWcagRef(this.wcagLabelledBy, "wcag-labelled-by", FormCheckboxClass.root);
15703
15744
  validateWcagLabelFor(this.identifier || this.checkboxId, this.wcagLabelledBy, FormCheckboxClass.root);
15704
15745
  }
15705
15746
  get host() { return getElement(this); }
@@ -15719,6 +15760,7 @@ class GovFormCheckbox {
15719
15760
  "name": [1],
15720
15761
  "size": [1],
15721
15762
  "identifier": [1],
15763
+ "noLabel": [4, "no-label"],
15722
15764
  "invalid": [4],
15723
15765
  "wcagDescribedBy": [1, "wcag-described-by"],
15724
15766
  "wcagLabelledBy": [1, "wcag-labelled-by"],
@@ -15956,7 +15998,7 @@ class GovFormFile {
15956
15998
  this.registerListeners();
15957
15999
  }
15958
16000
  render() {
15959
- return (hAsync(Host, { class: this.h.classes([FormFileClass.root]), invalid: toBoolAttrIfDefined(this.invalid), expanded: toBoolAttrIfDefined(this.expanded) }, hAsync("div", { class: FormFileClass.area, ref: el => (this.areaRef = el) }, hAsync("slot", null), hAsync("input", { class: FormFileClass.input, ref: el => (this.inputRef = el), id: this.identifier || this.fileId, type: "file", name: this.name, accept: this.accept, onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, disabled: this.disabled, "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-describedby": this.wcagDescribedBy, "aria-labelledby": this.wcagLabelledBy, "aria-disabled": toBoolAttrIfDefined(this.disabled) })), this.h.hasSlot('attachments') ? (hAsync("div", { class: FormFileClass.attachments }, hAsync("slot", { name: 'attachments' }))) : null, this.files.length && this.displayAttachments ? (hAsync("div", { class: FormFileClass.attachments }, hAsync("gov-attachments", { label: this.wcagAttachmentsLabel, "wcag-label": this.wcagAttachmentsLabel }, this.files.map(item => (hAsync("gov-attachments-item", { "wcag-remove-labelled-by": item.id, "on-gov-remove": () => this.onRemoveFileHandler(item) }, hAsync("span", { class: 'sr-only', id: item.id }, this.wcagRemoveLabel.replace('{FILE_NAME}', item.file.name)), item.file.name, item.acceptValid === false ? (hAsync("gov-form-message", { slot: "message", variant: "error" }, hAsync("gov-icon", { slot: "icon", name: "exclamation-triangle-fill" }), item.acceptValid === false ? this.errorAccept : null)) : null, item.sizeValid === false ? (hAsync("gov-form-message", { slot: "message", variant: "error" }, hAsync("gov-icon", { slot: "icon", name: "exclamation-triangle-fill" }), this.errorSize.replace('{FILE_SIZE}', formatBytes(this.maxFileSize * 1024)))) : null, hAsync("span", { slot: "info" }, "(", formatBytes(item.file.size), ")"))))))) : null));
16001
+ return (hAsync(Host, { class: this.h.classes([FormFileClass.root]), invalid: toBoolAttrIfDefined(this.invalid), expanded: toBoolAttrIfDefined(this.expanded) }, hAsync("div", { class: FormFileClass.area, ref: el => (this.areaRef = el) }, hAsync("slot", null), hAsync("input", { class: FormFileClass.input, ref: el => (this.inputRef = el), id: this.identifier || this.fileId, type: "file", name: this.name, accept: this.accept, onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, disabled: this.disabled, "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-describedby": this.wcagDescribedBy, "aria-labelledby": this.wcagLabelledBy, "aria-disabled": toBoolAttrIfDefined(this.disabled) })), this.h.hasSlot('attachments') ? (hAsync("div", { class: FormFileClass.attachments }, hAsync("slot", { name: 'attachments' }))) : null, this.files.length && this.displayAttachments ? (hAsync("div", { class: FormFileClass.attachments }, hAsync("gov-attachments", { label: this.wcagAttachmentsLabel, "wcag-label": this.wcagAttachmentsLabel }, this.files.map(item => (hAsync("gov-attachments-item", { "wcag-remove-labelled-by": item.id, "on-gov-remove": () => this.onRemoveFileHandler(item) }, hAsync("span", { class: 'sr-only', id: item.id }, this.wcagRemoveLabel.replace('{FILE_NAME}', item.file.name)), item.file.name, item.acceptValid === false ? (hAsync("gov-form-message", { slot: "message", variant: "error" }, hAsync("gov-icon", { slot: "icon", name: "exclamation-triangle-fill" }), item.acceptValid === false ? this.errorAccept : null)) : null, item.sizeValid === false ? (hAsync("gov-form-message", { slot: "message", variant: "error" }, hAsync("gov-icon", { slot: "icon", name: "exclamation-triangle-fill" }), this.errorSize.replace('{FILE_SIZE}', formatBytes(this.maxFileSize * 1024)))) : null, hAsync("span", { slot: "info" }, "(", formatBytes(item.file.size), ")"))))))) : null));
15960
16002
  }
15961
16003
  onRemoveFileHandler(file) {
15962
16004
  const index = this.files.findIndex(item => item.id === file.id);
@@ -15970,13 +16012,19 @@ class GovFormFile {
15970
16012
  }
15971
16013
  }
15972
16014
  onFocusHandler(e) {
16015
+ e.stopPropagation();
15973
16016
  e.preventDefault();
15974
16017
  this.govFocus.emit(e);
15975
16018
  }
15976
16019
  onBlurHandler(e) {
16020
+ e.stopPropagation();
15977
16021
  e.preventDefault();
15978
16022
  this.govBlur.emit(e);
15979
16023
  }
16024
+ onChangeHandler(e) {
16025
+ e.stopPropagation();
16026
+ e.preventDefault();
16027
+ }
15980
16028
  /**
15981
16029
  * Validate the WCAG attributes of the component
15982
16030
  */
@@ -16107,20 +16155,26 @@ class GovFormInput {
16107
16155
  return (hAsync(Host, { class: FormInputClass.root, size: this.size, variant: this.variant, type: this.type }, this.h.hasSlot('prefix') && hAsync("slot", { name: "prefix" }), hAsync("span", { class: "element" }, this.h.hasSlot('left-icon') && hAsync("slot", { name: "left-icon" }), this.h.hasSlot('right-icon') && !(this.success || this.invalid) && hAsync("slot", { name: "right-icon" }), this.success && !this.multiline && hAsync("gov-icon", { slot: "right-icon", class: "icon-validation", name: "check-lg" }), this.invalid && !this.multiline && hAsync("gov-icon", { slot: "right-icon", class: "icon-validation", name: "exclamation-lg" }), hAsync(Tag, { type: this.inputType, disabled: this.disabled, id: this.identifier || this.inputId, name: this.name, onFocus: this.onFocusHandler.bind(this), onInput: this.onInputHandler.bind(this), onBlur: this.onBlurHandler.bind(this), onKeyUp: this.onKeyUpHandler.bind(this), ref: el => (this.inputRef = el), placeholder: this.placeholder, value: this.value, readonly: toBoolAttrIfDefined(this.readonly), autocomplete: toOnOffAttrIfDefined(this.autocomplete), autocorrect: toOnOffAttrIfDefined(this.autocorrect), minlength: this.minlength, maxlength: this.maxlength, required: this.required, rows: this.rows, cols: this.cols, role: this.role, "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-describedby": this.wcagDescribedBy, "aria-labelledby": this.wcagLabelledBy, "aria-owns": this.wcagOwns, "aria-expanded": toBoolAttrIfDefined(this.wcagExpanded), "aria-autocomplete": this.wcagAutocomplete })), this.h.hasSlot('sufix') && hAsync("slot", { name: "sufix" })));
16108
16156
  }
16109
16157
  onFocusHandler(e) {
16158
+ e.stopPropagation();
16159
+ e.preventDefault();
16110
16160
  this.focused = true;
16111
16161
  this.govFocus.emit(e);
16112
16162
  }
16113
16163
  onBlurHandler(e) {
16164
+ e.stopPropagation();
16165
+ e.preventDefault();
16114
16166
  this.focused = false;
16115
16167
  this.govBlur.emit(e);
16116
16168
  }
16117
16169
  onKeyUpHandler(e) {
16118
16170
  e.stopPropagation();
16171
+ e.preventDefault();
16119
16172
  this.govKeyUp.emit(e);
16120
16173
  }
16121
16174
  onInputHandler(e) {
16122
16175
  this.value = e.target.value;
16123
16176
  e.stopPropagation();
16177
+ e.preventDefault();
16124
16178
  this.govInput.emit(e);
16125
16179
  }
16126
16180
  /**
@@ -16388,18 +16442,26 @@ class GovFormMultiSelect {
16388
16442
  }))));
16389
16443
  }
16390
16444
  onFocusHandler(e) {
16445
+ e.stopPropagation();
16446
+ e.preventDefault();
16391
16447
  this.focused = true;
16392
16448
  this.govFocus.emit(e);
16393
16449
  }
16394
16450
  onBlurHandler(e) {
16451
+ e.stopPropagation();
16452
+ e.stopPropagation();
16453
+ e.preventDefault();
16395
16454
  this.focused = false;
16396
16455
  this.govBlur.emit(e);
16397
16456
  }
16398
16457
  onInputHandler(e) {
16399
16458
  this.value = e.target.value;
16400
16459
  e.stopPropagation();
16460
+ e.preventDefault();
16401
16461
  }
16402
16462
  onSelectHandler(e) {
16463
+ e.stopPropagation();
16464
+ e.preventDefault();
16403
16465
  const value = e.detail;
16404
16466
  this.selectOption(value);
16405
16467
  this.value = '';
@@ -16510,6 +16572,7 @@ class GovFormRadio {
16510
16572
  this.govBlur = createEvent(this, "gov-blur", 7);
16511
16573
  this.govChange = createEvent(this, "gov-change", 7);
16512
16574
  this.value = undefined;
16575
+ this.noLabel = false;
16513
16576
  this.checked = false;
16514
16577
  this.required = false;
16515
16578
  this.disabled = undefined;
@@ -16547,17 +16610,31 @@ class GovFormRadio {
16547
16610
  }
16548
16611
  render() {
16549
16612
  const { isChecked } = this;
16550
- return (hAsync(Host, { class: FormRadioClass.root, "is-checked": isChecked, size: this.size, invalid: toBoolAttrIfDefined(this.invalid) }, hAsync("div", { class: FormRadioClass.holder }, hAsync("input", { class: FormRadioClass.input, id: this.identifier || this.radioId, type: "radio", value: this.value, name: this.name, checked: this.isChecked, onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, "aria-checked": this.isChecked, "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-describedby": this.wcagDescribedBy, "aria-labelledby": this.wcagLabelledBy, "aria-disabled": toBoolAttrIfDefined(this.disabled) }), hAsync("span", null, hAsync("slot", { name: "label" })))));
16613
+ const wrapCheckbox = (children) => {
16614
+ if (this.noLabel) {
16615
+ return (hAsync("label", null, children));
16616
+ }
16617
+ return children;
16618
+ };
16619
+ return (hAsync(Host, { class: FormRadioClass.root, "is-checked": isChecked, size: this.size, invalid: toBoolAttrIfDefined(this.invalid) }, hAsync("div", { class: FormRadioClass.holder }, wrapCheckbox(hAsync(Fragment, null, hAsync("input", { class: FormRadioClass.input, id: this.identifier || this.radioId, type: "radio", value: this.value, name: this.name, checked: this.isChecked, onClick: this.onClickHandler.bind(this), onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, "aria-checked": this.isChecked, "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-describedby": this.wcagDescribedBy, "aria-labelledby": this.wcagLabelledBy, "aria-disabled": toBoolAttrIfDefined(this.disabled) }), hAsync("span", null, hAsync("slot", { name: "label" }), "\u00A0"))))));
16620
+ }
16621
+ onClickHandler(e) {
16622
+ e.stopPropagation();
16551
16623
  }
16552
16624
  onFocusHandler(e) {
16625
+ e.stopPropagation();
16626
+ e.preventDefault();
16553
16627
  this.govFocus.emit(e);
16554
16628
  }
16555
16629
  onBlurHandler(e) {
16630
+ e.stopPropagation();
16631
+ e.preventDefault();
16556
16632
  this.govBlur.emit(e);
16557
16633
  }
16558
16634
  onChangeHandler(e) {
16559
16635
  this.isChecked = e.target.checked;
16560
16636
  e.stopPropagation();
16637
+ e.preventDefault();
16561
16638
  this.govChange.emit({
16562
16639
  checked: this.isChecked,
16563
16640
  value: this.value,
@@ -16582,6 +16659,7 @@ class GovFormRadio {
16582
16659
  "$tagName$": "gov-form-radio",
16583
16660
  "$members$": {
16584
16661
  "value": [1],
16662
+ "noLabel": [4, "no-label"],
16585
16663
  "checked": [516],
16586
16664
  "required": [4],
16587
16665
  "disabled": [4],
@@ -16606,7 +16684,7 @@ const FormSearchClass = {
16606
16684
  button: 'gov-form-search__button',
16607
16685
  };
16608
16686
 
16609
- const govFormSearchCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}.gov-form-search{position:relative;display:flex;width:100%;gap:0.5rem;align-items:center;border:var(--gov-form-input-border-width, 0.0625rem solid var(--gov-color-secondary-700));border-radius:var(--gov-border-radius, 0.1875rem);background-color:var(--gov-form-bg-color, var(--gov-color-neutral-white))}.gov-form-search:focus{outline:none}.gov-form-search:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0}.gov-form-search:focus-within{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0}.gov-form-search__input{flex:1 1 auto}.gov-form-search__input input{height:auto}.gov-form-search__button{flex:0 0 auto;margin:0.1875rem 0.1875rem 0.1875rem 0}";
16687
+ const govFormSearchCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}.gov-form-search{position:relative;display:flex;width:100%;gap:0.5rem;align-items:center;border:var(--gov-form-input-border-width, 0.0625rem solid var(--gov-color-secondary-700));border-radius:var(--gov-border-radius, 0.1875rem);background-color:var(--gov-form-bg-color, var(--gov-color-neutral-white))}.gov-form-search:focus{outline:none}.gov-form-search:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0}.gov-form-search:focus-within{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0}.gov-form-search__input{flex:1 1 auto}.gov-form-search__input input{height:auto;border-width:0}.gov-form-search__input input:focus{outline:none}.gov-form-search__button{flex:0 0 auto;margin:0.1875rem 0.1875rem 0.1875rem 0}";
16610
16688
 
16611
16689
  class GovFormSearch {
16612
16690
  constructor(hostRef) {
@@ -16763,17 +16841,18 @@ class GovFormSwitch {
16763
16841
  this.govBlur = createEvent(this, "gov-blur", 7);
16764
16842
  this.govChange = createEvent(this, "gov-change", 7);
16765
16843
  this.value = undefined;
16844
+ this.noLabel = false;
16766
16845
  this.checked = false;
16767
16846
  this.required = false;
16768
16847
  this.disabled = undefined;
16769
16848
  this.name = undefined;
16770
- this.size = 'm';
16849
+ this.size = "m";
16771
16850
  this.identifier = undefined;
16772
16851
  this.invalid = undefined;
16773
16852
  this.wcagDescribedBy = undefined;
16774
16853
  this.wcagLabelledBy = undefined;
16775
16854
  this.isChecked = undefined;
16776
- this.checkboxId = createID('GovCheckbox');
16855
+ this.checkboxId = createID("GovCheckbox");
16777
16856
  this.h = govHost(this.host);
16778
16857
  this.f = govForm(this.h);
16779
16858
  }
@@ -16789,8 +16868,8 @@ class GovFormSwitch {
16789
16868
  }
16790
16869
  componentWillLoad() {
16791
16870
  this.isChecked = this.checked;
16792
- this.f.passAttrToControl('type', 'switch');
16793
- this.h.passChildAttr(FormSwitchClass.root, 'identifier', this.identifier || this.checkboxId);
16871
+ this.f.passAttrToControl("type", "switch");
16872
+ this.h.passChildAttr(FormLabelClass.root, "identifier", this.identifier || this.checkboxId);
16794
16873
  }
16795
16874
  async componentDidRender() {
16796
16875
  if (canValidateWcagOnRender()) {
@@ -16800,12 +16879,25 @@ class GovFormSwitch {
16800
16879
  }
16801
16880
  render() {
16802
16881
  const { isChecked } = this;
16803
- return (hAsync(Host, { class: FormSwitchClass.root, "is-checked": isChecked, size: this.size, invalid: toBoolAttrIfDefined(this.invalid) }, hAsync("div", { class: FormSwitchClass.holder }, hAsync("input", { class: FormSwitchClass.input, id: this.identifier || this.checkboxId, type: "checkbox", value: this.value, name: this.name, checked: this.isChecked, onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, "aria-checked": this.isChecked, "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-describedby": this.wcagDescribedBy, "aria-labelledby": this.wcagLabelledBy, "aria-disabled": toBoolAttrIfDefined(this.disabled) }), hAsync("span", { class: FormSwitchClass.indicator }), hAsync("slot", { name: "label" }))));
16882
+ const wrapCheckbox = (children) => {
16883
+ if (this.noLabel) {
16884
+ return (hAsync("label", null, children));
16885
+ }
16886
+ return children;
16887
+ };
16888
+ return (hAsync(Host, { class: FormSwitchClass.root, "is-checked": isChecked, size: this.size, invalid: toBoolAttrIfDefined(this.invalid) }, hAsync("div", { class: FormSwitchClass.holder }, wrapCheckbox(hAsync(Fragment, null, hAsync("input", { class: FormSwitchClass.input, id: this.identifier || this.checkboxId, type: "checkbox", value: this.value, name: this.name, checked: this.isChecked, onClick: this.onClickHandler.bind(this), onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, "aria-checked": this.isChecked, "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-describedby": this.wcagDescribedBy, "aria-labelledby": this.wcagLabelledBy, "aria-disabled": toBoolAttrIfDefined(this.disabled) }), hAsync("span", { class: FormSwitchClass.indicator }), hAsync("slot", { name: "label" }))))));
16889
+ }
16890
+ onClickHandler(e) {
16891
+ e.stopPropagation();
16804
16892
  }
16805
16893
  onFocusHandler(e) {
16894
+ e.stopPropagation();
16895
+ e.preventDefault();
16806
16896
  this.govFocus.emit(e);
16807
16897
  }
16808
16898
  onBlurHandler(e) {
16899
+ e.stopPropagation();
16900
+ e.preventDefault();
16809
16901
  this.govBlur.emit(e);
16810
16902
  }
16811
16903
  onChangeHandler(e) {
@@ -16820,8 +16912,8 @@ class GovFormSwitch {
16820
16912
  * Validate the WCAG attributes of the component
16821
16913
  */
16822
16914
  async validateWcag() {
16823
- validateWcagRef(this.wcagDescribedBy, 'wcag-described-by', FormSwitchClass.root);
16824
- validateWcagRef(this.wcagLabelledBy, 'wcag-labelled-by', FormSwitchClass.root);
16915
+ validateWcagRef(this.wcagDescribedBy, "wcag-described-by", FormSwitchClass.root);
16916
+ validateWcagRef(this.wcagLabelledBy, "wcag-labelled-by", FormSwitchClass.root);
16825
16917
  validateWcagLabelFor(this.identifier || this.checkboxId, this.wcagLabelledBy, FormSwitchClass.root);
16826
16918
  }
16827
16919
  get host() { return getElement(this); }
@@ -16835,6 +16927,7 @@ class GovFormSwitch {
16835
16927
  "$tagName$": "gov-form-switch",
16836
16928
  "$members$": {
16837
16929
  "value": [1],
16930
+ "noLabel": [4, "no-label"],
16838
16931
  "checked": [516],
16839
16932
  "required": [4],
16840
16933
  "disabled": [4],
@@ -17353,8 +17446,6 @@ class GovNavItem {
17353
17446
  }; }
17354
17447
  }
17355
17448
 
17356
- var Fragment = (_, children) => [...children];
17357
-
17358
17449
  const PaginationSizes = pick(Sizes, ['_S', '_M']);
17359
17450
  const PaginationVariants = pick(Variants, ['PRIMARY', 'SECONDARY']);
17360
17451
  var PaginationTypes;
@@ -17430,7 +17521,7 @@ function paginate(totalItems, currentPage = 1, pageSize = 10, maxPages = 10) {
17430
17521
 
17431
17522
  const createArrayRange = (from, to) => [...Array(to + 1).keys()].slice(from);
17432
17523
 
17433
- const govPaginationCss = ".gov-pagination__list{margin:0;padding:0}.gov-pagination__list .gov-pagination__item{margin:0;padding:0;background:none}.gov-pagination__list .gov-pagination__item::before{display:none}.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}.gov-pagination{position:relative;display:block;width:100%}.gov-pagination__list{display:flex;align-items:center;flex-wrap:wrap;font-weight:bold;text-align:center}.gov-pagination__list .gov-pagination__item{display:flex;justify-content:center;align-items:center;margin:0;border-radius:var(--gov-border-radius, 0.1875rem);overflow:hidden}.gov-pagination__list .gov-pagination__item--arrow{display:flex}.gov-pagination__list .gov-pagination__item--select{z-index:1;display:flex;overflow:visible;padding:0rem 1rem}.gov-pagination__arrow{margin:0}.gov-pagination__item--more .gov-form-select select{border:none;padding-right:0.75rem !important}.gov-pagination__item--more .gov-form-select .gov-icon{display:none}.gov-pagination__inner{display:flex;justify-content:center;align-items:center;align-self:stretch;width:100%;text-decoration:none}.gov-pagination__inner[wcag-current=true][type=solid][variant=primary] .element{background-color:var(--gov-button-primary-solid-hover-bg, var(--gov-color-primary-700));color:var(--gov-button-primary-solid-hover-color, var(--gov-color-neutral-white))}.gov-pagination__inner[wcag-current=true][type=outlined][variant=primary] .element{background-color:var(--gov-button-primary-outlined-hover-bg, var(--gov-color-primary-100));color:var(--gov-button-primary-outlined-hover-color, var(--gov-color-primary))}.gov-pagination__inner[wcag-current=true][type=base][variant=primary] .element{background-color:var(--gov-button-primary-base-hover-bg, var(--gov-color-primary-100));color:var(--gov-button-primary-base-hover-color, var(--gov-color-primary))}.gov-pagination__inner[wcag-current=true][type=link][variant=primary] .element{background-color:var(--gov-button-primary-link-hover-bg, transparent);color:var(--gov-button-primary-link-hover-color, var(--gov-color-primary))}.gov-pagination__inner[wcag-current=true][type=solid][variant=secondary] .element{background-color:var(--gov-button-secondary-solid-hover-bg, var(--gov-color-secondary-900));color:var(--gov-button-secondary-solid-hover-color, var(--gov-color-neutral-white))}.gov-pagination__inner[wcag-current=true][type=outlined][variant=secondary] .element{background-color:var(--gov-button-secondary-outlined-hover-bg, var(--gov-color-secondary-300));color:var(--gov-button-secondary-outlined-hover-color, var(--gov-color-secondary))}.gov-pagination__inner[wcag-current=true][type=base][variant=secondary] .element{background-color:var(--gov-button-secondary-base-hover-bg, var(--gov-color-secondary-300));color:var(--gov-button-secondary-base-hover-color, var(--gov-color-secondary))}.gov-pagination__inner[wcag-current=true][type=link][variant=secondary] .element{background-color:var(--gov-button-secondary-link-hover-bg, transparent);color:var(--gov-button-secondary-link-hover-color, var(--gov-color-secondary))}.gov-pagination__inner[wcag-current=true][type=solid][variant=error] .element{background-color:var(--gov-button-error-solid-hover-bg, var(--gov-color-error-500));color:var(--gov-button-error-solid-hover-color, var(--gov-color-neutral-white))}.gov-pagination__inner[wcag-current=true][type=outlined][variant=error] .element{background-color:var(--gov-button-error-outlined-hover-bg, var(--gov-color-error-100));color:var(--gov-button-error-outlined-hover-color, var(--gov-color-error))}.gov-pagination__inner[wcag-current=true][type=base][variant=error] .element{background-color:var(--gov-button-error-base-hover-bg, var(--gov-color-error-100));color:var(--gov-button-error-base-hover-color, var(--gov-color-error))}.gov-pagination__inner[wcag-current=true][type=link][variant=error] .element{background-color:var(--gov-button-error-link-hover-bg, transparent);color:var(--gov-button-error-link-hover-color, var(--gov-color-error))}.gov-pagination__inner[wcag-current=true][type=solid][variant=success] .element{background-color:var(--gov-button-success-solid-hover-bg, var(--gov-color-success-600));color:var(--gov-button-success-solid-hover-color, var(--gov-color-neutral-white))}.gov-pagination__inner[wcag-current=true][type=outlined][variant=success] .element{background-color:var(--gov-button-success-outlined-hover-bg, var(--gov-color-success-100));color:var(--gov-button-success-outlined-hover-color, var(--gov-color-success-500))}.gov-pagination__inner[wcag-current=true][type=base][variant=success] .element{background-color:var(--gov-button-success-base-hover-bg, var(--gov-color-success-100));color:var(--gov-button-success-base-hover-color, var(--gov-color-success-500))}.gov-pagination__inner[wcag-current=true][type=link][variant=success] .element{background-color:var(--gov-button-success-link-hover-bg, transparent);color:var(--gov-button-success-link-hover-color, var(--gov-color-success-500))}.gov-pagination__inner[wcag-current=true][type=solid][variant=warning] .element{background-color:var(--gov-button-warning-solid-hover-bg, var(--gov-color-warning-600));color:var(--gov-button-warning-solid-hover-color, var(--gov-color-neutral-white))}.gov-pagination__inner[wcag-current=true][type=outlined][variant=warning] .element{background-color:var(--gov-button-warning-outlined-hover-bg, var(--gov-color-warning-200));color:var(--gov-button-warning-outlined-hover-color, var(--gov-color-warning-500))}.gov-pagination__inner[wcag-current=true][type=base][variant=warning] .element{background-color:var(--gov-button-warning-base-hover-bg, var(--gov-color-warning-200));color:var(--gov-button-warning-base-hover-color, var(--gov-color-warning-500))}.gov-pagination__inner[wcag-current=true][type=link][variant=warning] .element{background-color:var(--gov-button-warning-link-hover-bg, transparent);color:var(--gov-button-warning-link-hover-color, var(--gov-color-warning-500))}.gov-pagination[size=s] .gov-pagination__inner{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing);font-weight:inherit}.gov-pagination[size=s] .gov-pagination__inner .element{min-width:var(--gov-pagination-s-button-size, 2rem)}.gov-pagination[size=m] .gov-pagination__inner{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);font-weight:inherit}.gov-pagination[size=m] .gov-pagination__inner .element{min-width:var(--gov-pagination-m-button-size, 2.5rem)}";
17524
+ const govPaginationCss = ".gov-pagination__list{margin:0;padding:0}.gov-pagination__list .gov-pagination__item{margin:0;padding:0;background:none}.gov-pagination__list .gov-pagination__item::before{display:none}.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}.gov-pagination{position:relative;display:block;width:100%}.gov-pagination__list{display:flex;align-items:center;flex-wrap:wrap;font-weight:bold;text-align:center}.gov-pagination__list .gov-pagination__item{display:flex;justify-content:center;align-items:center;margin:0;padding:0.125rem;border-radius:var(--gov-border-radius, 0.1875rem);overflow:hidden}.gov-pagination__list .gov-pagination__item--arrow{display:flex}.gov-pagination__list .gov-pagination__item--select{z-index:1;display:flex;overflow:visible;padding:0rem 1rem}.gov-pagination__arrow{margin:0}.gov-pagination__item--more .gov-form-select select{border:none;padding-right:0.75rem !important}.gov-pagination__item--more .gov-form-select .gov-icon{display:none}.gov-pagination__inner{display:flex;justify-content:center;align-items:center;align-self:stretch;width:100%;text-decoration:none}.gov-pagination__inner[wcag-current=true][type=solid][variant=primary] .element{background-color:var(--gov-button-primary-solid-hover-bg, var(--gov-color-primary-700));color:var(--gov-button-primary-solid-hover-color, var(--gov-color-neutral-white))}.gov-pagination__inner[wcag-current=true][type=outlined][variant=primary] .element{background-color:var(--gov-button-primary-outlined-hover-bg, var(--gov-color-primary-100));color:var(--gov-button-primary-outlined-hover-color, var(--gov-color-primary))}.gov-pagination__inner[wcag-current=true][type=base][variant=primary] .element{background-color:var(--gov-button-primary-base-hover-bg, var(--gov-color-primary-100));color:var(--gov-button-primary-base-hover-color, var(--gov-color-primary))}.gov-pagination__inner[wcag-current=true][type=link][variant=primary] .element{background-color:var(--gov-button-primary-link-hover-bg, transparent);color:var(--gov-button-primary-link-hover-color, var(--gov-color-primary))}.gov-pagination__inner[wcag-current=true][type=solid][variant=secondary] .element{background-color:var(--gov-button-secondary-solid-hover-bg, var(--gov-color-secondary-900));color:var(--gov-button-secondary-solid-hover-color, var(--gov-color-neutral-white))}.gov-pagination__inner[wcag-current=true][type=outlined][variant=secondary] .element{background-color:var(--gov-button-secondary-outlined-hover-bg, var(--gov-color-secondary-300));color:var(--gov-button-secondary-outlined-hover-color, var(--gov-color-secondary))}.gov-pagination__inner[wcag-current=true][type=base][variant=secondary] .element{background-color:var(--gov-button-secondary-base-hover-bg, var(--gov-color-secondary-300));color:var(--gov-button-secondary-base-hover-color, var(--gov-color-secondary))}.gov-pagination__inner[wcag-current=true][type=link][variant=secondary] .element{background-color:var(--gov-button-secondary-link-hover-bg, transparent);color:var(--gov-button-secondary-link-hover-color, var(--gov-color-secondary))}.gov-pagination__inner[wcag-current=true][type=solid][variant=error] .element{background-color:var(--gov-button-error-solid-hover-bg, var(--gov-color-error-500));color:var(--gov-button-error-solid-hover-color, var(--gov-color-neutral-white))}.gov-pagination__inner[wcag-current=true][type=outlined][variant=error] .element{background-color:var(--gov-button-error-outlined-hover-bg, var(--gov-color-error-100));color:var(--gov-button-error-outlined-hover-color, var(--gov-color-error))}.gov-pagination__inner[wcag-current=true][type=base][variant=error] .element{background-color:var(--gov-button-error-base-hover-bg, var(--gov-color-error-100));color:var(--gov-button-error-base-hover-color, var(--gov-color-error))}.gov-pagination__inner[wcag-current=true][type=link][variant=error] .element{background-color:var(--gov-button-error-link-hover-bg, transparent);color:var(--gov-button-error-link-hover-color, var(--gov-color-error))}.gov-pagination__inner[wcag-current=true][type=solid][variant=success] .element{background-color:var(--gov-button-success-solid-hover-bg, var(--gov-color-success-600));color:var(--gov-button-success-solid-hover-color, var(--gov-color-neutral-white))}.gov-pagination__inner[wcag-current=true][type=outlined][variant=success] .element{background-color:var(--gov-button-success-outlined-hover-bg, var(--gov-color-success-100));color:var(--gov-button-success-outlined-hover-color, var(--gov-color-success-500))}.gov-pagination__inner[wcag-current=true][type=base][variant=success] .element{background-color:var(--gov-button-success-base-hover-bg, var(--gov-color-success-100));color:var(--gov-button-success-base-hover-color, var(--gov-color-success-500))}.gov-pagination__inner[wcag-current=true][type=link][variant=success] .element{background-color:var(--gov-button-success-link-hover-bg, transparent);color:var(--gov-button-success-link-hover-color, var(--gov-color-success-500))}.gov-pagination__inner[wcag-current=true][type=solid][variant=warning] .element{background-color:var(--gov-button-warning-solid-hover-bg, var(--gov-color-warning-600));color:var(--gov-button-warning-solid-hover-color, var(--gov-color-neutral-white))}.gov-pagination__inner[wcag-current=true][type=outlined][variant=warning] .element{background-color:var(--gov-button-warning-outlined-hover-bg, var(--gov-color-warning-200));color:var(--gov-button-warning-outlined-hover-color, var(--gov-color-warning-500))}.gov-pagination__inner[wcag-current=true][type=base][variant=warning] .element{background-color:var(--gov-button-warning-base-hover-bg, var(--gov-color-warning-200));color:var(--gov-button-warning-base-hover-color, var(--gov-color-warning-500))}.gov-pagination__inner[wcag-current=true][type=link][variant=warning] .element{background-color:var(--gov-button-warning-link-hover-bg, transparent);color:var(--gov-button-warning-link-hover-color, var(--gov-color-warning-500))}.gov-pagination[size=s] .gov-pagination__inner{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing);font-weight:inherit}.gov-pagination[size=s] .gov-pagination__inner .element{min-width:var(--gov-pagination-s-button-size, 2rem)}.gov-pagination[size=m] .gov-pagination__inner{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);font-weight:inherit}.gov-pagination[size=m] .gov-pagination__inner .element{min-width:var(--gov-pagination-m-button-size, 2.5rem)}";
17434
17525
 
17435
17526
  class GovPagination {
17436
17527
  constructor(hostRef) {
@@ -18416,9 +18507,10 @@ const TileClass = {
18416
18507
  title: 'gov-tile__title',
18417
18508
  link: 'gov-tile__link',
18418
18509
  content: 'gov-tile__content',
18510
+ heading: 'gov-tile__heading',
18419
18511
  };
18420
18512
 
18421
- const govTileCss = ".gov-tile__link::before{content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}.gov-tile{position:relative;display:block;width:100%;padding:0.75rem;transition:background-color 150ms}.gov-tile__icon{display:flex;margin:0rem 0rem 0.75rem;color:var(--gov-tile-main-color, var(--gov-color-primary))}.gov-tile__icon .gov-icon{width:2.5rem;height:2.5rem}.gov-tile__title{font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing);margin:0 0 0.5rem}.gov-tile__link{display:flex;gap:0.5rem;justify-content:space-between;color:var(--gov-tile-main-color, var(--gov-color-primary));text-decoration:none}.gov-tile__arrow{flex:0 0 auto;width:0.75rem;height:2rem;margin:0.5rem;color:inherit}.gov-tile__content{color:var(--gov-tile-text-color, var(--gov-color-secondary-700))}.gov-tile__content>*:last-child{margin-bottom:0}.gov-tile__content a{position:relative;z-index:1}@media not all and (pointer: coarse){.gov-tile[href]:hover{background:var(--gov-tile-hover-bg, var(--gov-color-primary-200))}.gov-tile[href]:hover .gov-tile__link{color:var(--gov-tile-main-color, var(--gov-color-primary))}}@media (min-width: 30em){.gov-tile[promotion=\"\"],.gov-tile[promotion=true i],.gov-tile[promotion=\"1\"]{display:grid;grid-template-columns:auto 1fr;gap:0 0.875rem}.gov-tile[promotion=\"\"] .gov-tile__icon,.gov-tile[promotion=true i] .gov-tile__icon,.gov-tile[promotion=\"1\"] .gov-tile__icon{grid-area:1/1/3/1;margin:0}.gov-tile[promotion=\"\"] .gov-tile__title,.gov-tile[promotion=true i] .gov-tile__title,.gov-tile[promotion=\"1\"] .gov-tile__title{grid-area:1/2/1/2}.gov-tile[promotion=\"\"] .gov-tile__content,.gov-tile[promotion=true i] .gov-tile__content,.gov-tile[promotion=\"1\"] .gov-tile__content{grid-area:2/2/2/2}}@media (min-width: 48em){.gov-tile{padding:1.5rem}.gov-tile__icon{margin:0rem 0rem 1.5rem}.gov-tile__icon .gov-icon{width:3rem;height:3rem}}@media (min-width: 64em){.gov-tile[promotion=\"\"],.gov-tile[promotion=true i],.gov-tile[promotion=\"1\"]{gap:0 1.625rem}}";
18513
+ const govTileCss = ".gov-tile__heading::before{content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}.gov-tile{position:relative;display:block;width:100%;padding:0.75rem;transition:background-color 150ms}.gov-tile__icon{display:flex;margin:0rem 0rem 0.75rem;color:var(--gov-tile-main-color, var(--gov-color-primary))}.gov-tile__icon .gov-icon{width:2.5rem;height:2.5rem}.gov-tile__title{font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing);margin:0 0 0.5rem}.gov-tile__heading{display:flex;gap:0.5rem;justify-content:space-between;color:var(--gov-tile-main-color, var(--gov-color-primary));text-decoration:none}.gov-tile__arrow{flex:0 0 auto;width:0.75rem;height:2rem;margin:0.5rem;color:inherit}.gov-tile__content{color:var(--gov-tile-text-color, var(--gov-color-secondary-700))}.gov-tile__content>*:last-child{margin-bottom:0}.gov-tile__content a{position:relative;z-index:1}.gov-tile__link{display:block;text-decoration:none}@media not all and (pointer: coarse){.gov-tile[href]:hover{background:var(--gov-tile-hover-bg, var(--gov-color-primary-200))}.gov-tile[href]:hover .gov-tile__heading{color:var(--gov-tile-main-color, var(--gov-color-primary))}}@media (min-width: 30em){.gov-tile[promotion=\"\"],.gov-tile[promotion=true i],.gov-tile[promotion=\"1\"]{display:grid;grid-template-columns:auto 1fr;gap:0 0.875rem}.gov-tile[promotion=\"\"] .gov-tile__icon,.gov-tile[promotion=true i] .gov-tile__icon,.gov-tile[promotion=\"1\"] .gov-tile__icon{grid-area:1/1/3/1;margin:0}.gov-tile[promotion=\"\"] .gov-tile__title,.gov-tile[promotion=true i] .gov-tile__title,.gov-tile[promotion=\"1\"] .gov-tile__title{grid-area:1/2/1/2}.gov-tile[promotion=\"\"] .gov-tile__content,.gov-tile[promotion=true i] .gov-tile__content,.gov-tile[promotion=\"1\"] .gov-tile__content{grid-area:2/2/2/2}}@media (min-width: 48em){.gov-tile{padding:1.5rem}.gov-tile__icon{margin:0rem 0rem 1.5rem}.gov-tile__icon .gov-icon{width:3rem;height:3rem}}@media (min-width: 64em){.gov-tile[promotion=\"\"],.gov-tile[promotion=true i],.gov-tile[promotion=\"1\"]{gap:0 1.625rem}}";
18422
18514
 
18423
18515
  class GovTile {
18424
18516
  constructor(hostRef) {
@@ -18438,7 +18530,7 @@ class GovTile {
18438
18530
  }
18439
18531
  render() {
18440
18532
  // tag type
18441
- return (hAsync(Host, { class: this.h.classes(TileClass.root), promotion: this.promotion }, this.h.hasSlot('icon') && (hAsync("div", { class: TileClass.icon }, hAsync("slot", { name: "icon" }))), hAsync("h3", { class: TileClass.title }, this.href ? (hAsync("a", { href: this.href, class: TileClass.link }, this.name, hAsync("gov-icon", { class: TileClass.arrow, name: "chevron-right" }))) : (hAsync("span", null, this.name))), hAsync("div", { class: TileClass.content }, hAsync("slot", null))));
18533
+ return (hAsync(Host, { class: this.h.classes(TileClass.root), promotion: this.promotion }, this.href ? (hAsync("a", { href: this.href, class: TileClass.link }, this.h.hasSlot('icon') && (hAsync("div", { class: TileClass.icon }, hAsync("slot", { name: "icon" }))), hAsync("h3", { class: TileClass.title }, hAsync("span", { class: TileClass.heading }, this.name, hAsync("gov-icon", { class: TileClass.arrow, name: "chevron-right" }))), hAsync("div", { class: TileClass.content }, hAsync("slot", null)))) : (hAsync("span", null, this.h.hasSlot('icon') && (hAsync("div", { class: TileClass.icon }, hAsync("slot", { name: "icon" }))), hAsync("h3", { class: TileClass.title }, hAsync("span", null, this.name)), hAsync("div", { class: TileClass.content }, hAsync("slot", null))))));
18442
18534
  }
18443
18535
  get host() { return getElement(this); }
18444
18536
  static get watchers() { return {
@@ -154,6 +154,8 @@ export declare class GovButton {
154
154
  get classNames(): string;
155
155
  render(): any;
156
156
  private onClickHandler;
157
+ private onFocusHandler;
158
+ private onBlurHandler;
157
159
  /**
158
160
  * Focus button element
159
161
  */
@@ -1,6 +1,6 @@
1
- import { EventEmitter } from '../../../stencil-public-runtime';
2
- import { FormCheckboxSizesType } from './constants';
3
- import { GovFormCheckboxChangeEvent } from './interfaces';
1
+ import { EventEmitter } from "../../../stencil-public-runtime";
2
+ import { FormCheckboxSizesType } from "./constants";
3
+ import { GovFormCheckboxChangeEvent } from "./interfaces";
4
4
  export declare class GovFormCheckbox {
5
5
  private h;
6
6
  private f;
@@ -37,6 +37,10 @@ export declare class GovFormCheckbox {
37
37
  * Custom checkbox identifier.
38
38
  */
39
39
  readonly identifier: string;
40
+ /**
41
+ * When you can't use the form label.
42
+ */
43
+ readonly noLabel: boolean;
40
44
  /**
41
45
  * Indicates the entered value does not conform to the format expected by the application.
42
46
  */
@@ -69,6 +73,7 @@ export declare class GovFormCheckbox {
69
73
  render(): any;
70
74
  private onFocusHandler;
71
75
  private onBlurHandler;
76
+ private onClickHandler;
72
77
  private onChangeHandler;
73
78
  /**
74
79
  * Validate the WCAG attributes of the component
@@ -106,6 +106,7 @@ export declare class GovFormFile {
106
106
  private onRemoveFileHandler;
107
107
  private onFocusHandler;
108
108
  private onBlurHandler;
109
+ private onChangeHandler;
109
110
  /**
110
111
  * Validate the WCAG attributes of the component
111
112
  */
@@ -11,6 +11,10 @@ export declare class GovFormRadio {
11
11
  * Value of radio
12
12
  */
13
13
  readonly value: string;
14
+ /**
15
+ * When you can't use the form label.
16
+ */
17
+ readonly noLabel: boolean;
14
18
  /**
15
19
  * Radio default state
16
20
  */
@@ -67,6 +71,7 @@ export declare class GovFormRadio {
67
71
  componentWillLoad(): void;
68
72
  componentDidRender(): Promise<void>;
69
73
  render(): any;
74
+ private onClickHandler;
70
75
  private onFocusHandler;
71
76
  private onBlurHandler;
72
77
  private onChangeHandler;
@@ -1,6 +1,6 @@
1
- import { EventEmitter } from '../../../stencil-public-runtime';
2
- import { FormSwitchSizesType } from './constants';
3
- import { GovFormSwitchChangeEvent } from './interfaces';
1
+ import { EventEmitter } from "../../../stencil-public-runtime";
2
+ import { FormSwitchSizesType } from "./constants";
3
+ import { GovFormSwitchChangeEvent } from "./interfaces";
4
4
  export declare class GovFormSwitch {
5
5
  private h;
6
6
  private f;
@@ -11,6 +11,10 @@ export declare class GovFormSwitch {
11
11
  * Value of switch
12
12
  */
13
13
  readonly value: string;
14
+ /**
15
+ * When you can't use the form label.
16
+ */
17
+ readonly noLabel: boolean;
14
18
  /**
15
19
  * Switch default state
16
20
  */
@@ -67,6 +71,7 @@ export declare class GovFormSwitch {
67
71
  componentWillLoad(): void;
68
72
  componentDidRender(): Promise<void>;
69
73
  render(): any;
74
+ private onClickHandler;
70
75
  private onFocusHandler;
71
76
  private onBlurHandler;
72
77
  private onChangeHandler;
@@ -5,4 +5,5 @@ export declare const TileClass: {
5
5
  title: string;
6
6
  link: string;
7
7
  content: string;
8
+ heading: string;
8
9
  };