@gov-design-system-ce/components 4.0.4 → 4.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1477) hide show
  1. package/LICENSE +21 -0
  2. package/package.json +1 -1
  3. package/readme.md +8 -0
  4. package/dist/cjs/Fragment-52846f79.js +0 -7
  5. package/dist/cjs/Fragment-52846f79.js.map +0 -1
  6. package/dist/cjs/constants-0c6c8e11.js +0 -30
  7. package/dist/cjs/constants-0c6c8e11.js.map +0 -1
  8. package/dist/cjs/constants-1490a5eb.js +0 -25
  9. package/dist/cjs/constants-1490a5eb.js.map +0 -1
  10. package/dist/cjs/constants-20b3f7ee.js +0 -28
  11. package/dist/cjs/constants-20b3f7ee.js.map +0 -1
  12. package/dist/cjs/constants-25f7a6be.js +0 -22
  13. package/dist/cjs/constants-25f7a6be.js.map +0 -1
  14. package/dist/cjs/constants-2b1c31b8.js +0 -15
  15. package/dist/cjs/constants-2b1c31b8.js.map +0 -1
  16. package/dist/cjs/constants-427a2843.js +0 -33
  17. package/dist/cjs/constants-427a2843.js.map +0 -1
  18. package/dist/cjs/constants-440cd5c8.js +0 -29
  19. package/dist/cjs/constants-440cd5c8.js.map +0 -1
  20. package/dist/cjs/constants-61f8be34.js +0 -26
  21. package/dist/cjs/constants-61f8be34.js.map +0 -1
  22. package/dist/cjs/constants-66cb0615.js +0 -20
  23. package/dist/cjs/constants-66cb0615.js.map +0 -1
  24. package/dist/cjs/constants-6df82618.js +0 -21
  25. package/dist/cjs/constants-6df82618.js.map +0 -1
  26. package/dist/cjs/constants-97eea364.js +0 -14
  27. package/dist/cjs/constants-97eea364.js.map +0 -1
  28. package/dist/cjs/constants-a31344ad.js +0 -37
  29. package/dist/cjs/constants-a31344ad.js.map +0 -1
  30. package/dist/cjs/constants-caad94b4.js +0 -16
  31. package/dist/cjs/constants-caad94b4.js.map +0 -1
  32. package/dist/cjs/constants-dde21dcf.js +0 -30
  33. package/dist/cjs/constants-dde21dcf.js.map +0 -1
  34. package/dist/cjs/constants-ded92f8a.js +0 -13
  35. package/dist/cjs/constants-ded92f8a.js.map +0 -1
  36. package/dist/cjs/core.cjs.js +0 -48
  37. package/dist/cjs/core.cjs.js.map +0 -1
  38. package/dist/cjs/form-74063d50.js +0 -163
  39. package/dist/cjs/form-74063d50.js.map +0 -1
  40. package/dist/cjs/gov-accordion-item.cjs.entry.js +0 -102
  41. package/dist/cjs/gov-accordion-item.cjs.entry.js.map +0 -1
  42. package/dist/cjs/gov-accordion.cjs.entry.js +0 -77
  43. package/dist/cjs/gov-accordion.cjs.entry.js.map +0 -1
  44. package/dist/cjs/gov-app.cjs.entry.js +0 -9449
  45. package/dist/cjs/gov-app.cjs.entry.js.map +0 -1
  46. package/dist/cjs/gov-attachments_3.cjs.entry.js +0 -120
  47. package/dist/cjs/gov-attachments_3.cjs.entry.js.map +0 -1
  48. package/dist/cjs/gov-backdrop.cjs.entry.js +0 -50
  49. package/dist/cjs/gov-backdrop.cjs.entry.js.map +0 -1
  50. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +0 -50
  51. package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +0 -1
  52. package/dist/cjs/gov-button.cjs.entry.js +0 -180
  53. package/dist/cjs/gov-button.cjs.entry.js.map +0 -1
  54. package/dist/cjs/gov-card.cjs.entry.js +0 -112
  55. package/dist/cjs/gov-card.cjs.entry.js.map +0 -1
  56. package/dist/cjs/gov-chip.cjs.entry.js +0 -108
  57. package/dist/cjs/gov-chip.cjs.entry.js.map +0 -1
  58. package/dist/cjs/gov-container.cjs.entry.js +0 -36
  59. package/dist/cjs/gov-container.cjs.entry.js.map +0 -1
  60. package/dist/cjs/gov-control-group.cjs.entry.js +0 -43
  61. package/dist/cjs/gov-control-group.cjs.entry.js.map +0 -1
  62. package/dist/cjs/gov-cookiebar.cjs.entry.js +0 -33
  63. package/dist/cjs/gov-cookiebar.cjs.entry.js.map +0 -1
  64. package/dist/cjs/gov-dropdown.cjs.entry.js +0 -135
  65. package/dist/cjs/gov-dropdown.cjs.entry.js.map +0 -1
  66. package/dist/cjs/gov-empty.cjs.entry.js +0 -31
  67. package/dist/cjs/gov-empty.cjs.entry.js.map +0 -1
  68. package/dist/cjs/gov-error-code.cjs.entry.js +0 -31
  69. package/dist/cjs/gov-error-code.cjs.entry.js.map +0 -1
  70. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +0 -245
  71. package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +0 -1
  72. package/dist/cjs/gov-form-checkbox.cjs.entry.js +0 -131
  73. package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +0 -1
  74. package/dist/cjs/gov-form-control.cjs.entry.js +0 -107
  75. package/dist/cjs/gov-form-control.cjs.entry.js.map +0 -1
  76. package/dist/cjs/gov-form-file.cjs.entry.js +0 -240
  77. package/dist/cjs/gov-form-file.cjs.entry.js.map +0 -1
  78. package/dist/cjs/gov-form-group.cjs.entry.js +0 -59
  79. package/dist/cjs/gov-form-group.cjs.entry.js.map +0 -1
  80. package/dist/cjs/gov-form-input.cjs.entry.js +0 -190
  81. package/dist/cjs/gov-form-input.cjs.entry.js.map +0 -1
  82. package/dist/cjs/gov-form-label.cjs.entry.js +0 -30
  83. package/dist/cjs/gov-form-label.cjs.entry.js.map +0 -1
  84. package/dist/cjs/gov-form-multi-select.cjs.entry.js +0 -304
  85. package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +0 -1
  86. package/dist/cjs/gov-form-password-power.cjs.entry.js +0 -28
  87. package/dist/cjs/gov-form-password-power.cjs.entry.js.map +0 -1
  88. package/dist/cjs/gov-form-radio.cjs.entry.js +0 -131
  89. package/dist/cjs/gov-form-radio.cjs.entry.js.map +0 -1
  90. package/dist/cjs/gov-form-search.cjs.entry.js +0 -32
  91. package/dist/cjs/gov-form-search.cjs.entry.js.map +0 -1
  92. package/dist/cjs/gov-form-select.cjs.entry.js +0 -167
  93. package/dist/cjs/gov-form-select.cjs.entry.js.map +0 -1
  94. package/dist/cjs/gov-form-switch.cjs.entry.js +0 -131
  95. package/dist/cjs/gov-form-switch.cjs.entry.js.map +0 -1
  96. package/dist/cjs/gov-grid-item.cjs.entry.js +0 -30
  97. package/dist/cjs/gov-grid-item.cjs.entry.js.map +0 -1
  98. package/dist/cjs/gov-grid.cjs.entry.js +0 -28
  99. package/dist/cjs/gov-grid.cjs.entry.js.map +0 -1
  100. package/dist/cjs/gov-icon.cjs.entry.js +0 -135
  101. package/dist/cjs/gov-icon.cjs.entry.js.map +0 -1
  102. package/dist/cjs/gov-infobar.cjs.entry.js +0 -91
  103. package/dist/cjs/gov-infobar.cjs.entry.js.map +0 -1
  104. package/dist/cjs/gov-layout-column.cjs.entry.js +0 -25
  105. package/dist/cjs/gov-layout-column.cjs.entry.js.map +0 -1
  106. package/dist/cjs/gov-layout.cjs.entry.js +0 -34
  107. package/dist/cjs/gov-layout.cjs.entry.js.map +0 -1
  108. package/dist/cjs/gov-loading.cjs.entry.js +0 -30
  109. package/dist/cjs/gov-loading.cjs.entry.js.map +0 -1
  110. package/dist/cjs/gov-message.cjs.entry.js +0 -44
  111. package/dist/cjs/gov-message.cjs.entry.js.map +0 -1
  112. package/dist/cjs/gov-modal.cjs.entry.js +0 -106
  113. package/dist/cjs/gov-modal.cjs.entry.js.map +0 -1
  114. package/dist/cjs/gov-nav-item.cjs.entry.js +0 -39
  115. package/dist/cjs/gov-nav-item.cjs.entry.js.map +0 -1
  116. package/dist/cjs/gov-nav.cjs.entry.js +0 -42
  117. package/dist/cjs/gov-nav.cjs.entry.js.map +0 -1
  118. package/dist/cjs/gov-pagination.cjs.entry.js +0 -224
  119. package/dist/cjs/gov-pagination.cjs.entry.js.map +0 -1
  120. package/dist/cjs/gov-prompt.cjs.entry.js +0 -103
  121. package/dist/cjs/gov-prompt.cjs.entry.js.map +0 -1
  122. package/dist/cjs/gov-side-nav-item.cjs.entry.js +0 -87
  123. package/dist/cjs/gov-side-nav-item.cjs.entry.js.map +0 -1
  124. package/dist/cjs/gov-side-nav.cjs.entry.js +0 -56
  125. package/dist/cjs/gov-side-nav.cjs.entry.js.map +0 -1
  126. package/dist/cjs/gov-skeleton.cjs.entry.js +0 -117
  127. package/dist/cjs/gov-skeleton.cjs.entry.js.map +0 -1
  128. package/dist/cjs/gov-spacer.cjs.entry.js +0 -58
  129. package/dist/cjs/gov-spacer.cjs.entry.js.map +0 -1
  130. package/dist/cjs/gov-statsbar-item.cjs.entry.js +0 -40
  131. package/dist/cjs/gov-statsbar-item.cjs.entry.js.map +0 -1
  132. package/dist/cjs/gov-statsbar.cjs.entry.js +0 -53
  133. package/dist/cjs/gov-statsbar.cjs.entry.js.map +0 -1
  134. package/dist/cjs/gov-stepper-item.cjs.entry.js +0 -78
  135. package/dist/cjs/gov-stepper-item.cjs.entry.js.map +0 -1
  136. package/dist/cjs/gov-stepper.cjs.entry.js +0 -51
  137. package/dist/cjs/gov-stepper.cjs.entry.js.map +0 -1
  138. package/dist/cjs/gov-tabs-item.cjs.entry.js +0 -53
  139. package/dist/cjs/gov-tabs-item.cjs.entry.js.map +0 -1
  140. package/dist/cjs/gov-tabs.cjs.entry.js +0 -198
  141. package/dist/cjs/gov-tabs.cjs.entry.js.map +0 -1
  142. package/dist/cjs/gov-tag.cjs.entry.js +0 -57
  143. package/dist/cjs/gov-tag.cjs.entry.js.map +0 -1
  144. package/dist/cjs/gov-tile.cjs.entry.js +0 -42
  145. package/dist/cjs/gov-tile.cjs.entry.js.map +0 -1
  146. package/dist/cjs/gov-tiles.cjs.entry.js +0 -33
  147. package/dist/cjs/gov-tiles.cjs.entry.js.map +0 -1
  148. package/dist/cjs/gov-toast.cjs.entry.js +0 -101
  149. package/dist/cjs/gov-toast.cjs.entry.js.map +0 -1
  150. package/dist/cjs/gov-tooltip-content.cjs.entry.js +0 -54
  151. package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +0 -1
  152. package/dist/cjs/gov-tooltip.cjs.entry.js +0 -224
  153. package/dist/cjs/gov-tooltip.cjs.entry.js.map +0 -1
  154. package/dist/cjs/gov-wizard-item.cjs.entry.js +0 -115
  155. package/dist/cjs/gov-wizard-item.cjs.entry.js.map +0 -1
  156. package/dist/cjs/gov-wizard.cjs.entry.js +0 -69
  157. package/dist/cjs/gov-wizard.cjs.entry.js.map +0 -1
  158. package/dist/cjs/gov.log-b842920d.js +0 -28
  159. package/dist/cjs/gov.log-b842920d.js.map +0 -1
  160. package/dist/cjs/helpers-2c870ff5.js +0 -19
  161. package/dist/cjs/helpers-2c870ff5.js.map +0 -1
  162. package/dist/cjs/index-7b6bba34.js +0 -2717
  163. package/dist/cjs/index-7b6bba34.js.map +0 -1
  164. package/dist/cjs/index.cjs.js +0 -4
  165. package/dist/cjs/index.cjs.js.map +0 -1
  166. package/dist/cjs/loader.cjs.js +0 -15
  167. package/dist/cjs/loader.cjs.js.map +0 -1
  168. package/dist/cjs/props-d6146e54.js +0 -16
  169. package/dist/cjs/props-d6146e54.js.map +0 -1
  170. package/dist/cjs/sizes-79872c2a.js +0 -18
  171. package/dist/cjs/sizes-79872c2a.js.map +0 -1
  172. package/dist/cjs/string.utils-0f08c48c.js +0 -24
  173. package/dist/cjs/string.utils-0f08c48c.js.map +0 -1
  174. package/dist/cjs/template-4b951d1d.js +0 -128
  175. package/dist/cjs/template-4b951d1d.js.map +0 -1
  176. package/dist/cjs/utils-c9b1bba3.js +0 -41
  177. package/dist/cjs/utils-c9b1bba3.js.map +0 -1
  178. package/dist/cjs/variants-f5ffeef3.js +0 -18
  179. package/dist/cjs/variants-f5ffeef3.js.map +0 -1
  180. package/dist/cjs/wcag-e6257f27.js +0 -67
  181. package/dist/cjs/wcag-e6257f27.js.map +0 -1
  182. package/dist/cjs/win-5521073d.js +0 -39
  183. package/dist/cjs/win-5521073d.js.map +0 -1
  184. package/dist/collection/collection-manifest.json +0 -72
  185. package/dist/collection/components/gov-accordion/constants.js +0 -21
  186. package/dist/collection/components/gov-accordion/constants.js.map +0 -1
  187. package/dist/collection/components/gov-accordion/gov-accordion-item.css +0 -524
  188. package/dist/collection/components/gov-accordion/gov-accordion-item.js +0 -304
  189. package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +0 -1
  190. package/dist/collection/components/gov-accordion/gov-accordion.css +0 -240
  191. package/dist/collection/components/gov-accordion/gov-accordion.js +0 -226
  192. package/dist/collection/components/gov-accordion/gov-accordion.js.map +0 -1
  193. package/dist/collection/components/gov-accordion/gov-accordion.types.js +0 -2
  194. package/dist/collection/components/gov-accordion/gov-accordion.types.js.map +0 -1
  195. package/dist/collection/components/gov-app/gov-app.css +0 -249
  196. package/dist/collection/components/gov-app/gov-app.js +0 -99
  197. package/dist/collection/components/gov-app/gov-app.js.map +0 -1
  198. package/dist/collection/components/gov-attachments/constants.js +0 -12
  199. package/dist/collection/components/gov-attachments/constants.js.map +0 -1
  200. package/dist/collection/components/gov-attachments/gov-attachments-item.css +0 -261
  201. package/dist/collection/components/gov-attachments/gov-attachments-item.d.js +0 -2
  202. package/dist/collection/components/gov-attachments/gov-attachments-item.d.js.map +0 -1
  203. package/dist/collection/components/gov-attachments/gov-attachments-item.js +0 -123
  204. package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +0 -1
  205. package/dist/collection/components/gov-attachments/gov-attachments.css +0 -247
  206. package/dist/collection/components/gov-attachments/gov-attachments.js +0 -100
  207. package/dist/collection/components/gov-attachments/gov-attachments.js.map +0 -1
  208. package/dist/collection/components/gov-backdrop/constants.js +0 -5
  209. package/dist/collection/components/gov-backdrop/constants.js.map +0 -1
  210. package/dist/collection/components/gov-backdrop/gov-backdrop.css +0 -246
  211. package/dist/collection/components/gov-backdrop/gov-backdrop.js +0 -142
  212. package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +0 -1
  213. package/dist/collection/components/gov-breadcrumbs/constants.js +0 -4
  214. package/dist/collection/components/gov-breadcrumbs/constants.js.map +0 -1
  215. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +0 -279
  216. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js +0 -2
  217. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.d.js.map +0 -1
  218. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +0 -162
  219. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +0 -1
  220. package/dist/collection/components/gov-button/button/constants.js +0 -29
  221. package/dist/collection/components/gov-button/button/constants.js.map +0 -1
  222. package/dist/collection/components/gov-button/button/gov-button.css +0 -1154
  223. package/dist/collection/components/gov-button/button/gov-button.js +0 -891
  224. package/dist/collection/components/gov-button/button/gov-button.js.map +0 -1
  225. package/dist/collection/components/gov-button/button/gov-button.types.js +0 -2
  226. package/dist/collection/components/gov-button/button/gov-button.types.js.map +0 -1
  227. package/dist/collection/components/gov-button/dropdown/constants.js +0 -10
  228. package/dist/collection/components/gov-button/dropdown/constants.js.map +0 -1
  229. package/dist/collection/components/gov-button/dropdown/gov-dropdown.css +0 -264
  230. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +0 -177
  231. package/dist/collection/components/gov-button/dropdown/gov-dropdown.js.map +0 -1
  232. package/dist/collection/components/gov-button/dropdown/gov-dropdown.types.js +0 -2
  233. package/dist/collection/components/gov-button/dropdown/gov-dropdown.types.js.map +0 -1
  234. package/dist/collection/components/gov-card/constants.js +0 -14
  235. package/dist/collection/components/gov-card/constants.js.map +0 -1
  236. package/dist/collection/components/gov-card/gov-card.css +0 -377
  237. package/dist/collection/components/gov-card/gov-card.js +0 -311
  238. package/dist/collection/components/gov-card/gov-card.js.map +0 -1
  239. package/dist/collection/components/gov-card/interfaces.js +0 -2
  240. package/dist/collection/components/gov-card/interfaces.js.map +0 -1
  241. package/dist/collection/components/gov-chip/constants.js +0 -13
  242. package/dist/collection/components/gov-chip/constants.js.map +0 -1
  243. package/dist/collection/components/gov-chip/gov-chip.css +0 -1255
  244. package/dist/collection/components/gov-chip/gov-chip.js +0 -462
  245. package/dist/collection/components/gov-chip/gov-chip.js.map +0 -1
  246. package/dist/collection/components/gov-container/constants.js +0 -4
  247. package/dist/collection/components/gov-container/constants.js.map +0 -1
  248. package/dist/collection/components/gov-container/gov-container.css +0 -247
  249. package/dist/collection/components/gov-container/gov-container.js +0 -60
  250. package/dist/collection/components/gov-container/gov-container.js.map +0 -1
  251. package/dist/collection/components/gov-control-group/constants.js +0 -7
  252. package/dist/collection/components/gov-control-group/constants.js.map +0 -1
  253. package/dist/collection/components/gov-control-group/gov-control-group.css +0 -280
  254. package/dist/collection/components/gov-control-group/gov-control-group.js +0 -84
  255. package/dist/collection/components/gov-control-group/gov-control-group.js.map +0 -1
  256. package/dist/collection/components/gov-cookiebar/constants.js +0 -9
  257. package/dist/collection/components/gov-cookiebar/constants.js.map +0 -1
  258. package/dist/collection/components/gov-cookiebar/gov-cookiebar.css +0 -289
  259. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +0 -24
  260. package/dist/collection/components/gov-cookiebar/gov-cookiebar.js.map +0 -1
  261. package/dist/collection/components/gov-empty/constants.js +0 -7
  262. package/dist/collection/components/gov-empty/constants.js.map +0 -1
  263. package/dist/collection/components/gov-empty/gov-empty.css +0 -255
  264. package/dist/collection/components/gov-empty/gov-empty.js +0 -24
  265. package/dist/collection/components/gov-empty/gov-empty.js.map +0 -1
  266. package/dist/collection/components/gov-error-code/constants.js +0 -7
  267. package/dist/collection/components/gov-error-code/constants.js.map +0 -1
  268. package/dist/collection/components/gov-error-code/gov-error-code.css +0 -270
  269. package/dist/collection/components/gov-error-code/gov-error-code.js +0 -24
  270. package/dist/collection/components/gov-error-code/gov-error-code.js.map +0 -1
  271. package/dist/collection/components/gov-form/autocomplete/constants.js +0 -13
  272. package/dist/collection/components/gov-form/autocomplete/constants.js.map +0 -1
  273. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.css +0 -289
  274. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +0 -824
  275. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +0 -1
  276. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js +0 -2
  277. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.types.js.map +0 -1
  278. package/dist/collection/components/gov-form/checkbox/constants.js +0 -9
  279. package/dist/collection/components/gov-form/checkbox/constants.js.map +0 -1
  280. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.css +0 -402
  281. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +0 -442
  282. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +0 -1
  283. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.types.js +0 -2
  284. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.types.js.map +0 -1
  285. package/dist/collection/components/gov-form/control/constants.js +0 -9
  286. package/dist/collection/components/gov-form/control/constants.js.map +0 -1
  287. package/dist/collection/components/gov-form/control/gov-form-control.css +0 -291
  288. package/dist/collection/components/gov-form/control/gov-form-control.js +0 -241
  289. package/dist/collection/components/gov-form/control/gov-form-control.js.map +0 -1
  290. package/dist/collection/components/gov-form/file/constants.js +0 -10
  291. package/dist/collection/components/gov-form/file/constants.js.map +0 -1
  292. package/dist/collection/components/gov-form/file/gov-form-file.css +0 -301
  293. package/dist/collection/components/gov-form/file/gov-form-file.js +0 -702
  294. package/dist/collection/components/gov-form/file/gov-form-file.js.map +0 -1
  295. package/dist/collection/components/gov-form/file/gov-form-file.types.js +0 -2
  296. package/dist/collection/components/gov-form/file/gov-form-file.types.js.map +0 -1
  297. package/dist/collection/components/gov-form/group/constants.js +0 -12
  298. package/dist/collection/components/gov-form/group/constants.js.map +0 -1
  299. package/dist/collection/components/gov-form/group/gov-form-group.css +0 -261
  300. package/dist/collection/components/gov-form/group/gov-form-group.js +0 -102
  301. package/dist/collection/components/gov-form/group/gov-form-group.js.map +0 -1
  302. package/dist/collection/components/gov-form/input/constants.js +0 -29
  303. package/dist/collection/components/gov-form/input/constants.js.map +0 -1
  304. package/dist/collection/components/gov-form/input/gov-form-input.css +0 -523
  305. package/dist/collection/components/gov-form/input/gov-form-input.js +0 -930
  306. package/dist/collection/components/gov-form/input/gov-form-input.js.map +0 -1
  307. package/dist/collection/components/gov-form/input/gov-form-input.types.js +0 -2
  308. package/dist/collection/components/gov-form/input/gov-form-input.types.js.map +0 -1
  309. package/dist/collection/components/gov-form/label/constants.js +0 -8
  310. package/dist/collection/components/gov-form/label/constants.js.map +0 -1
  311. package/dist/collection/components/gov-form/label/gov-form-label.css +0 -252
  312. package/dist/collection/components/gov-form/label/gov-form-label.js +0 -130
  313. package/dist/collection/components/gov-form/label/gov-form-label.js.map +0 -1
  314. package/dist/collection/components/gov-form/message/constants.js +0 -9
  315. package/dist/collection/components/gov-form/message/constants.js.map +0 -1
  316. package/dist/collection/components/gov-form/message/gov-form-message.css +0 -262
  317. package/dist/collection/components/gov-form/message/gov-form-message.js +0 -95
  318. package/dist/collection/components/gov-form/message/gov-form-message.js.map +0 -1
  319. package/dist/collection/components/gov-form/multiselect/constants.js +0 -12
  320. package/dist/collection/components/gov-form/multiselect/constants.js.map +0 -1
  321. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.css +0 -639
  322. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +0 -936
  323. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +0 -1
  324. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js +0 -2
  325. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js.map +0 -1
  326. package/dist/collection/components/gov-form/password-power/constants.js +0 -6
  327. package/dist/collection/components/gov-form/password-power/constants.js.map +0 -1
  328. package/dist/collection/components/gov-form/password-power/gov-form-password-power.css +0 -275
  329. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +0 -43
  330. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +0 -1
  331. package/dist/collection/components/gov-form/radio/constants.js +0 -11
  332. package/dist/collection/components/gov-form/radio/constants.js.map +0 -1
  333. package/dist/collection/components/gov-form/radio/gov-form-radio.css +0 -401
  334. package/dist/collection/components/gov-form/radio/gov-form-radio.js +0 -442
  335. package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +0 -1
  336. package/dist/collection/components/gov-form/radio/gov-form-radio.types.js +0 -2
  337. package/dist/collection/components/gov-form/radio/gov-form-radio.types.js.map +0 -1
  338. package/dist/collection/components/gov-form/search/constants.js +0 -9
  339. package/dist/collection/components/gov-form/search/constants.js.map +0 -1
  340. package/dist/collection/components/gov-form/search/gov-form-search.css +0 -274
  341. package/dist/collection/components/gov-form/search/gov-form-search.js +0 -51
  342. package/dist/collection/components/gov-form/search/gov-form-search.js.map +0 -1
  343. package/dist/collection/components/gov-form/select/constants.js +0 -10
  344. package/dist/collection/components/gov-form/select/constants.js.map +0 -1
  345. package/dist/collection/components/gov-form/select/gov-form-select.css +0 -598
  346. package/dist/collection/components/gov-form/select/gov-form-select.js +0 -613
  347. package/dist/collection/components/gov-form/select/gov-form-select.js.map +0 -1
  348. package/dist/collection/components/gov-form/select/gov-form-select.types.js +0 -2
  349. package/dist/collection/components/gov-form/select/gov-form-select.types.js.map +0 -1
  350. package/dist/collection/components/gov-form/switch/constants.js +0 -10
  351. package/dist/collection/components/gov-form/switch/constants.js.map +0 -1
  352. package/dist/collection/components/gov-form/switch/gov-form-switch.css +0 -440
  353. package/dist/collection/components/gov-form/switch/gov-form-switch.js +0 -442
  354. package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +0 -1
  355. package/dist/collection/components/gov-form/switch/gov-form-switch.types.js +0 -2
  356. package/dist/collection/components/gov-form/switch/gov-form-switch.types.js.map +0 -1
  357. package/dist/collection/components/gov-grid/constants.js +0 -7
  358. package/dist/collection/components/gov-grid/constants.js.map +0 -1
  359. package/dist/collection/components/gov-grid/gov-grid-item.css +0 -437
  360. package/dist/collection/components/gov-grid/gov-grid-item.js +0 -119
  361. package/dist/collection/components/gov-grid/gov-grid-item.js.map +0 -1
  362. package/dist/collection/components/gov-grid/gov-grid.css +0 -256
  363. package/dist/collection/components/gov-grid/gov-grid.js +0 -65
  364. package/dist/collection/components/gov-grid/gov-grid.js.map +0 -1
  365. package/dist/collection/components/gov-icon/constants.js +0 -11
  366. package/dist/collection/components/gov-icon/constants.js.map +0 -1
  367. package/dist/collection/components/gov-icon/gov-icon.css +0 -250
  368. package/dist/collection/components/gov-icon/gov-icon.js +0 -139
  369. package/dist/collection/components/gov-icon/gov-icon.js.map +0 -1
  370. package/dist/collection/components/gov-icon/helpers.js +0 -14
  371. package/dist/collection/components/gov-icon/helpers.js.map +0 -1
  372. package/dist/collection/components/gov-icon/list.js +0 -282
  373. package/dist/collection/components/gov-icon/list.js.map +0 -1
  374. package/dist/collection/components/gov-infobar/constants.js +0 -13
  375. package/dist/collection/components/gov-infobar/constants.js.map +0 -1
  376. package/dist/collection/components/gov-infobar/gov-infobar.css +0 -388
  377. package/dist/collection/components/gov-infobar/gov-infobar.js +0 -246
  378. package/dist/collection/components/gov-infobar/gov-infobar.js.map +0 -1
  379. package/dist/collection/components/gov-infobar/gov-infobar.types.js +0 -2
  380. package/dist/collection/components/gov-infobar/gov-infobar.types.js.map +0 -1
  381. package/dist/collection/components/gov-layout/constants.js +0 -19
  382. package/dist/collection/components/gov-layout/constants.js.map +0 -1
  383. package/dist/collection/components/gov-layout/gov-layout-column.css +0 -237
  384. package/dist/collection/components/gov-layout/gov-layout-column.js +0 -24
  385. package/dist/collection/components/gov-layout/gov-layout-column.js.map +0 -1
  386. package/dist/collection/components/gov-layout/gov-layout.css +0 -282
  387. package/dist/collection/components/gov-layout/gov-layout.js +0 -102
  388. package/dist/collection/components/gov-layout/gov-layout.js.map +0 -1
  389. package/dist/collection/components/gov-loading/loading/constants.js +0 -6
  390. package/dist/collection/components/gov-loading/loading/constants.js.map +0 -1
  391. package/dist/collection/components/gov-loading/loading/gov-loading.css +0 -261
  392. package/dist/collection/components/gov-loading/loading/gov-loading.js +0 -24
  393. package/dist/collection/components/gov-loading/loading/gov-loading.js.map +0 -1
  394. package/dist/collection/components/gov-loading/skeleton/constants.js +0 -20
  395. package/dist/collection/components/gov-loading/skeleton/constants.js.map +0 -1
  396. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.css +0 -300
  397. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +0 -271
  398. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +0 -1
  399. package/dist/collection/components/gov-message/constants.js +0 -10
  400. package/dist/collection/components/gov-message/constants.js.map +0 -1
  401. package/dist/collection/components/gov-message/gov-message.css +0 -319
  402. package/dist/collection/components/gov-message/gov-message.js +0 -64
  403. package/dist/collection/components/gov-message/gov-message.js.map +0 -1
  404. package/dist/collection/components/gov-modal/constants.js +0 -15
  405. package/dist/collection/components/gov-modal/constants.js.map +0 -1
  406. package/dist/collection/components/gov-modal/gov-modal.css +0 -345
  407. package/dist/collection/components/gov-modal/gov-modal.js +0 -355
  408. package/dist/collection/components/gov-modal/gov-modal.js.map +0 -1
  409. package/dist/collection/components/gov-nav/constants.js +0 -9
  410. package/dist/collection/components/gov-nav/constants.js.map +0 -1
  411. package/dist/collection/components/gov-nav/gov-nav-item.css +0 -288
  412. package/dist/collection/components/gov-nav/gov-nav-item.js +0 -68
  413. package/dist/collection/components/gov-nav/gov-nav-item.js.map +0 -1
  414. package/dist/collection/components/gov-nav/gov-nav.css +0 -254
  415. package/dist/collection/components/gov-nav/gov-nav.js +0 -98
  416. package/dist/collection/components/gov-nav/gov-nav.js.map +0 -1
  417. package/dist/collection/components/gov-pagination/constants.js +0 -21
  418. package/dist/collection/components/gov-pagination/constants.js.map +0 -1
  419. package/dist/collection/components/gov-pagination/gov-pagination.css +0 -394
  420. package/dist/collection/components/gov-pagination/gov-pagination.js +0 -460
  421. package/dist/collection/components/gov-pagination/gov-pagination.js.map +0 -1
  422. package/dist/collection/components/gov-pagination/gov-pagination.types.js +0 -2
  423. package/dist/collection/components/gov-pagination/gov-pagination.types.js.map +0 -1
  424. package/dist/collection/components/gov-pagination/pagination.js +0 -55
  425. package/dist/collection/components/gov-pagination/pagination.js.map +0 -1
  426. package/dist/collection/components/gov-promp/constants.js +0 -13
  427. package/dist/collection/components/gov-promp/constants.js.map +0 -1
  428. package/dist/collection/components/gov-promp/gov-prompt.css +0 -348
  429. package/dist/collection/components/gov-promp/gov-prompt.js +0 -334
  430. package/dist/collection/components/gov-promp/gov-prompt.js.map +0 -1
  431. package/dist/collection/components/gov-side-nav/constants.js +0 -16
  432. package/dist/collection/components/gov-side-nav/constants.js.map +0 -1
  433. package/dist/collection/components/gov-side-nav/gov-side-nav-item.css +0 -384
  434. package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js +0 -2
  435. package/dist/collection/components/gov-side-nav/gov-side-nav-item.d.js.map +0 -1
  436. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js +0 -336
  437. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js.map +0 -1
  438. package/dist/collection/components/gov-side-nav/gov-side-nav.css +0 -237
  439. package/dist/collection/components/gov-side-nav/gov-side-nav.js +0 -171
  440. package/dist/collection/components/gov-side-nav/gov-side-nav.js.map +0 -1
  441. package/dist/collection/components/gov-spacer/constants.js +0 -15
  442. package/dist/collection/components/gov-spacer/constants.js.map +0 -1
  443. package/dist/collection/components/gov-spacer/gov-spacer.css +0 -302
  444. package/dist/collection/components/gov-spacer/gov-spacer.js +0 -97
  445. package/dist/collection/components/gov-spacer/gov-spacer.js.map +0 -1
  446. package/dist/collection/components/gov-statsbar/constants.js +0 -18
  447. package/dist/collection/components/gov-statsbar/constants.js.map +0 -1
  448. package/dist/collection/components/gov-statsbar/gov-statsbar-item.css +0 -296
  449. package/dist/collection/components/gov-statsbar/gov-statsbar-item.js +0 -66
  450. package/dist/collection/components/gov-statsbar/gov-statsbar-item.js.map +0 -1
  451. package/dist/collection/components/gov-statsbar/gov-statsbar.css +0 -281
  452. package/dist/collection/components/gov-statsbar/gov-statsbar.js +0 -104
  453. package/dist/collection/components/gov-statsbar/gov-statsbar.js.map +0 -1
  454. package/dist/collection/components/gov-stepper/constants.js +0 -21
  455. package/dist/collection/components/gov-stepper/constants.js.map +0 -1
  456. package/dist/collection/components/gov-stepper/gov-stepper-item.css +0 -467
  457. package/dist/collection/components/gov-stepper/gov-stepper-item.d.js +0 -2
  458. package/dist/collection/components/gov-stepper/gov-stepper-item.d.js.map +0 -1
  459. package/dist/collection/components/gov-stepper/gov-stepper-item.js +0 -250
  460. package/dist/collection/components/gov-stepper/gov-stepper-item.js.map +0 -1
  461. package/dist/collection/components/gov-stepper/gov-stepper.css +0 -237
  462. package/dist/collection/components/gov-stepper/gov-stepper.js +0 -99
  463. package/dist/collection/components/gov-stepper/gov-stepper.js.map +0 -1
  464. package/dist/collection/components/gov-tabs/constants.js +0 -25
  465. package/dist/collection/components/gov-tabs/constants.js.map +0 -1
  466. package/dist/collection/components/gov-tabs/gov-tabs-item.css +0 -238
  467. package/dist/collection/components/gov-tabs/gov-tabs-item.js +0 -186
  468. package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +0 -1
  469. package/dist/collection/components/gov-tabs/gov-tabs.css +0 -389
  470. package/dist/collection/components/gov-tabs/gov-tabs.js +0 -440
  471. package/dist/collection/components/gov-tabs/gov-tabs.js.map +0 -1
  472. package/dist/collection/components/gov-tabs/gov-tabs.types.js +0 -2
  473. package/dist/collection/components/gov-tabs/gov-tabs.types.js.map +0 -1
  474. package/dist/collection/components/gov-tag/constants.js +0 -4
  475. package/dist/collection/components/gov-tag/constants.js.map +0 -1
  476. package/dist/collection/components/gov-tag/gov-tag.css +0 -1259
  477. package/dist/collection/components/gov-tag/gov-tag.js +0 -157
  478. package/dist/collection/components/gov-tag/gov-tag.js.map +0 -1
  479. package/dist/collection/components/gov-tile/constants.js +0 -10
  480. package/dist/collection/components/gov-tile/constants.js.map +0 -1
  481. package/dist/collection/components/gov-tile/container/constants.js +0 -4
  482. package/dist/collection/components/gov-tile/container/constants.js.map +0 -1
  483. package/dist/collection/components/gov-tile/container/gov-tiles.css +0 -319
  484. package/dist/collection/components/gov-tile/container/gov-tiles.js +0 -70
  485. package/dist/collection/components/gov-tile/container/gov-tiles.js.map +0 -1
  486. package/dist/collection/components/gov-tile/gov-tile.css +0 -316
  487. package/dist/collection/components/gov-tile/gov-tile.js +0 -108
  488. package/dist/collection/components/gov-tile/gov-tile.js.map +0 -1
  489. package/dist/collection/components/gov-toast/constants.js +0 -13
  490. package/dist/collection/components/gov-toast/constants.js.map +0 -1
  491. package/dist/collection/components/gov-toast/gov-toast.css +0 -403
  492. package/dist/collection/components/gov-toast/gov-toast.js +0 -267
  493. package/dist/collection/components/gov-toast/gov-toast.js.map +0 -1
  494. package/dist/collection/components/gov-tooltip/constants.js +0 -19
  495. package/dist/collection/components/gov-tooltip/constants.js.map +0 -1
  496. package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +0 -347
  497. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +0 -159
  498. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +0 -1
  499. package/dist/collection/components/gov-tooltip/gov-tooltip.css +0 -241
  500. package/dist/collection/components/gov-tooltip/gov-tooltip.js +0 -397
  501. package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +0 -1
  502. package/dist/collection/components/gov-wizard/constants.js +0 -20
  503. package/dist/collection/components/gov-wizard/constants.js.map +0 -1
  504. package/dist/collection/components/gov-wizard/gov-wizard-item.css +0 -474
  505. package/dist/collection/components/gov-wizard/gov-wizard-item.d.js +0 -2
  506. package/dist/collection/components/gov-wizard/gov-wizard-item.d.js.map +0 -1
  507. package/dist/collection/components/gov-wizard/gov-wizard-item.js +0 -387
  508. package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +0 -1
  509. package/dist/collection/components/gov-wizard/gov-wizard-item.types.js +0 -2
  510. package/dist/collection/components/gov-wizard/gov-wizard-item.types.js.map +0 -1
  511. package/dist/collection/components/gov-wizard/gov-wizard.css +0 -240
  512. package/dist/collection/components/gov-wizard/gov-wizard.js +0 -173
  513. package/dist/collection/components/gov-wizard/gov-wizard.js.map +0 -1
  514. package/dist/collection/core/constants/sizes.js +0 -15
  515. package/dist/collection/core/constants/sizes.js.map +0 -1
  516. package/dist/collection/core/constants/tags.js +0 -14
  517. package/dist/collection/core/constants/tags.js.map +0 -1
  518. package/dist/collection/core/constants/tokens.js +0 -17
  519. package/dist/collection/core/constants/tokens.js.map +0 -1
  520. package/dist/collection/core/constants/variants.js +0 -15
  521. package/dist/collection/core/constants/variants.js.map +0 -1
  522. package/dist/collection/data/color-definitions.js +0 -307
  523. package/dist/collection/data/font-definitions.js +0 -94
  524. package/dist/collection/helpers/Dom/form.js +0 -72
  525. package/dist/collection/helpers/Dom/form.js.map +0 -1
  526. package/dist/collection/helpers/Dom/form.types.js +0 -2
  527. package/dist/collection/helpers/Dom/form.types.js.map +0 -1
  528. package/dist/collection/helpers/Dom/template.js +0 -117
  529. package/dist/collection/helpers/Dom/template.js.map +0 -1
  530. package/dist/collection/helpers/Dom/template.types.js +0 -2
  531. package/dist/collection/helpers/Dom/template.types.js.map +0 -1
  532. package/dist/collection/helpers/Dom/win.js +0 -27
  533. package/dist/collection/helpers/Dom/win.js.map +0 -1
  534. package/dist/collection/helpers/Fragment.js +0 -2
  535. package/dist/collection/helpers/Fragment.js.map +0 -1
  536. package/dist/collection/helpers/Log/gov.log.js +0 -21
  537. package/dist/collection/helpers/Log/gov.log.js.map +0 -1
  538. package/dist/collection/helpers/Validate/props.js +0 -10
  539. package/dist/collection/helpers/Validate/props.js.map +0 -1
  540. package/dist/collection/helpers/Validate/wcag.js +0 -58
  541. package/dist/collection/helpers/Validate/wcag.js.map +0 -1
  542. package/dist/collection/index.js +0 -2
  543. package/dist/collection/index.js.map +0 -1
  544. package/dist/collection/pages/Accordion.js +0 -239
  545. package/dist/collection/pages/Accordion.js.map +0 -1
  546. package/dist/collection/pages/Breadcrumbs.js +0 -36
  547. package/dist/collection/pages/Breadcrumbs.js.map +0 -1
  548. package/dist/collection/pages/Button.js +0 -1346
  549. package/dist/collection/pages/Button.js.map +0 -1
  550. package/dist/collection/pages/Card.js +0 -104
  551. package/dist/collection/pages/Card.js.map +0 -1
  552. package/dist/collection/pages/Chip.js +0 -381
  553. package/dist/collection/pages/Chip.js.map +0 -1
  554. package/dist/collection/pages/Container.js +0 -15
  555. package/dist/collection/pages/Container.js.map +0 -1
  556. package/dist/collection/pages/ControlGroup.js +0 -301
  557. package/dist/collection/pages/ControlGroup.js.map +0 -1
  558. package/dist/collection/pages/Cookiebar.js +0 -29
  559. package/dist/collection/pages/Cookiebar.js.map +0 -1
  560. package/dist/collection/pages/Empty.js +0 -43
  561. package/dist/collection/pages/Empty.js.map +0 -1
  562. package/dist/collection/pages/Error.js +0 -16
  563. package/dist/collection/pages/Error.js.map +0 -1
  564. package/dist/collection/pages/FormLabel.js +0 -13
  565. package/dist/collection/pages/FormLabel.js.map +0 -1
  566. package/dist/collection/pages/FormMessage.js +0 -82
  567. package/dist/collection/pages/FormMessage.js.map +0 -1
  568. package/dist/collection/pages/Forms.js +0 -1574
  569. package/dist/collection/pages/Forms.js.map +0 -1
  570. package/dist/collection/pages/FormsRestructure.js +0 -13
  571. package/dist/collection/pages/FormsRestructure.js.map +0 -1
  572. package/dist/collection/pages/Grid.js +0 -92
  573. package/dist/collection/pages/Grid.js.map +0 -1
  574. package/dist/collection/pages/Home.js +0 -51
  575. package/dist/collection/pages/Home.js.map +0 -1
  576. package/dist/collection/pages/Infobar.js +0 -149
  577. package/dist/collection/pages/Infobar.js.map +0 -1
  578. package/dist/collection/pages/Layout.js +0 -97
  579. package/dist/collection/pages/Layout.js.map +0 -1
  580. package/dist/collection/pages/Loading.js +0 -95
  581. package/dist/collection/pages/Loading.js.map +0 -1
  582. package/dist/collection/pages/Message.js +0 -94
  583. package/dist/collection/pages/Message.js.map +0 -1
  584. package/dist/collection/pages/Modal.js +0 -57
  585. package/dist/collection/pages/Modal.js.map +0 -1
  586. package/dist/collection/pages/Nav.js +0 -30
  587. package/dist/collection/pages/Nav.js.map +0 -1
  588. package/dist/collection/pages/Pagination.js +0 -38
  589. package/dist/collection/pages/Pagination.js.map +0 -1
  590. package/dist/collection/pages/Prompt.js +0 -48
  591. package/dist/collection/pages/Prompt.js.map +0 -1
  592. package/dist/collection/pages/SideNav.js +0 -117
  593. package/dist/collection/pages/SideNav.js.map +0 -1
  594. package/dist/collection/pages/Spacer.js +0 -25
  595. package/dist/collection/pages/Spacer.js.map +0 -1
  596. package/dist/collection/pages/Statsbar.js +0 -202
  597. package/dist/collection/pages/Statsbar.js.map +0 -1
  598. package/dist/collection/pages/Stepper.js +0 -88
  599. package/dist/collection/pages/Stepper.js.map +0 -1
  600. package/dist/collection/pages/Tabs.js +0 -323
  601. package/dist/collection/pages/Tabs.js.map +0 -1
  602. package/dist/collection/pages/Tag.js +0 -253
  603. package/dist/collection/pages/Tag.js.map +0 -1
  604. package/dist/collection/pages/Tiles.js +0 -125
  605. package/dist/collection/pages/Tiles.js.map +0 -1
  606. package/dist/collection/pages/ToastMessage.js +0 -47
  607. package/dist/collection/pages/ToastMessage.js.map +0 -1
  608. package/dist/collection/pages/ToastMessageCountdown.js +0 -47
  609. package/dist/collection/pages/ToastMessageCountdown.js.map +0 -1
  610. package/dist/collection/pages/Tooltip.js +0 -161
  611. package/dist/collection/pages/Tooltip.js.map +0 -1
  612. package/dist/collection/pages/Typography.js +0 -75
  613. package/dist/collection/pages/Typography.js.map +0 -1
  614. package/dist/collection/pages/Wizard.js +0 -88
  615. package/dist/collection/pages/Wizard.js.map +0 -1
  616. package/dist/collection/types/event.types.js +0 -2
  617. package/dist/collection/types/event.types.js.map +0 -1
  618. package/dist/collection/types/interfaces.js +0 -2
  619. package/dist/collection/types/interfaces.js.map +0 -1
  620. package/dist/collection/utils/array.utils.js +0 -7
  621. package/dist/collection/utils/array.utils.js.map +0 -1
  622. package/dist/collection/utils/bool.utils.js +0 -15
  623. package/dist/collection/utils/bool.utils.js.map +0 -1
  624. package/dist/collection/utils/ds.utils.js +0 -5
  625. package/dist/collection/utils/ds.utils.js.map +0 -1
  626. package/dist/collection/utils/file.utils.js +0 -26
  627. package/dist/collection/utils/file.utils.js.map +0 -1
  628. package/dist/collection/utils/helpers.types.js +0 -54
  629. package/dist/collection/utils/helpers.types.js.map +0 -1
  630. package/dist/collection/utils/icon.utils.js +0 -32
  631. package/dist/collection/utils/icon.utils.js.map +0 -1
  632. package/dist/collection/utils/number.utils.js +0 -4
  633. package/dist/collection/utils/number.utils.js.map +0 -1
  634. package/dist/collection/utils/string.utils.js +0 -17
  635. package/dist/collection/utils/string.utils.js.map +0 -1
  636. package/dist/collection/utils/utils.js +0 -35
  637. package/dist/collection/utils/utils.js.map +0 -1
  638. package/dist/components/gov-accordion-item.d.ts +0 -11
  639. package/dist/components/gov-accordion-item.js +0 -2
  640. package/dist/components/gov-accordion-item.js.map +0 -1
  641. package/dist/components/gov-accordion.d.ts +0 -11
  642. package/dist/components/gov-accordion.js +0 -2
  643. package/dist/components/gov-accordion.js.map +0 -1
  644. package/dist/components/gov-app.d.ts +0 -11
  645. package/dist/components/gov-app.js +0 -2
  646. package/dist/components/gov-app.js.map +0 -1
  647. package/dist/components/gov-attachments-item.d.ts +0 -11
  648. package/dist/components/gov-attachments-item.js +0 -2
  649. package/dist/components/gov-attachments-item.js.map +0 -1
  650. package/dist/components/gov-attachments.d.ts +0 -11
  651. package/dist/components/gov-attachments.js +0 -2
  652. package/dist/components/gov-attachments.js.map +0 -1
  653. package/dist/components/gov-backdrop.d.ts +0 -11
  654. package/dist/components/gov-backdrop.js +0 -2
  655. package/dist/components/gov-backdrop.js.map +0 -1
  656. package/dist/components/gov-breadcrumbs.d.ts +0 -11
  657. package/dist/components/gov-breadcrumbs.js +0 -2
  658. package/dist/components/gov-breadcrumbs.js.map +0 -1
  659. package/dist/components/gov-button.d.ts +0 -11
  660. package/dist/components/gov-button.js +0 -2
  661. package/dist/components/gov-button.js.map +0 -1
  662. package/dist/components/gov-card.d.ts +0 -11
  663. package/dist/components/gov-card.js +0 -2
  664. package/dist/components/gov-card.js.map +0 -1
  665. package/dist/components/gov-chip.d.ts +0 -11
  666. package/dist/components/gov-chip.js +0 -2
  667. package/dist/components/gov-chip.js.map +0 -1
  668. package/dist/components/gov-container.d.ts +0 -11
  669. package/dist/components/gov-container.js +0 -2
  670. package/dist/components/gov-container.js.map +0 -1
  671. package/dist/components/gov-control-group.d.ts +0 -11
  672. package/dist/components/gov-control-group.js +0 -2
  673. package/dist/components/gov-control-group.js.map +0 -1
  674. package/dist/components/gov-cookiebar.d.ts +0 -11
  675. package/dist/components/gov-cookiebar.js +0 -2
  676. package/dist/components/gov-cookiebar.js.map +0 -1
  677. package/dist/components/gov-dropdown.d.ts +0 -11
  678. package/dist/components/gov-dropdown.js +0 -2
  679. package/dist/components/gov-dropdown.js.map +0 -1
  680. package/dist/components/gov-empty.d.ts +0 -11
  681. package/dist/components/gov-empty.js +0 -2
  682. package/dist/components/gov-empty.js.map +0 -1
  683. package/dist/components/gov-error-code.d.ts +0 -11
  684. package/dist/components/gov-error-code.js +0 -2
  685. package/dist/components/gov-error-code.js.map +0 -1
  686. package/dist/components/gov-form-autocomplete.d.ts +0 -11
  687. package/dist/components/gov-form-autocomplete.js +0 -2
  688. package/dist/components/gov-form-autocomplete.js.map +0 -1
  689. package/dist/components/gov-form-checkbox.d.ts +0 -11
  690. package/dist/components/gov-form-checkbox.js +0 -2
  691. package/dist/components/gov-form-checkbox.js.map +0 -1
  692. package/dist/components/gov-form-control.d.ts +0 -11
  693. package/dist/components/gov-form-control.js +0 -2
  694. package/dist/components/gov-form-control.js.map +0 -1
  695. package/dist/components/gov-form-file.d.ts +0 -11
  696. package/dist/components/gov-form-file.js +0 -2
  697. package/dist/components/gov-form-file.js.map +0 -1
  698. package/dist/components/gov-form-group.d.ts +0 -11
  699. package/dist/components/gov-form-group.js +0 -2
  700. package/dist/components/gov-form-group.js.map +0 -1
  701. package/dist/components/gov-form-input.d.ts +0 -11
  702. package/dist/components/gov-form-input.js +0 -2
  703. package/dist/components/gov-form-input.js.map +0 -1
  704. package/dist/components/gov-form-label.d.ts +0 -11
  705. package/dist/components/gov-form-label.js +0 -2
  706. package/dist/components/gov-form-label.js.map +0 -1
  707. package/dist/components/gov-form-message.d.ts +0 -11
  708. package/dist/components/gov-form-message.js +0 -2
  709. package/dist/components/gov-form-message.js.map +0 -1
  710. package/dist/components/gov-form-multi-select.d.ts +0 -11
  711. package/dist/components/gov-form-multi-select.js +0 -2
  712. package/dist/components/gov-form-multi-select.js.map +0 -1
  713. package/dist/components/gov-form-password-power.d.ts +0 -11
  714. package/dist/components/gov-form-password-power.js +0 -2
  715. package/dist/components/gov-form-password-power.js.map +0 -1
  716. package/dist/components/gov-form-radio.d.ts +0 -11
  717. package/dist/components/gov-form-radio.js +0 -2
  718. package/dist/components/gov-form-radio.js.map +0 -1
  719. package/dist/components/gov-form-search.d.ts +0 -11
  720. package/dist/components/gov-form-search.js +0 -2
  721. package/dist/components/gov-form-search.js.map +0 -1
  722. package/dist/components/gov-form-select.d.ts +0 -11
  723. package/dist/components/gov-form-select.js +0 -2
  724. package/dist/components/gov-form-select.js.map +0 -1
  725. package/dist/components/gov-form-switch.d.ts +0 -11
  726. package/dist/components/gov-form-switch.js +0 -2
  727. package/dist/components/gov-form-switch.js.map +0 -1
  728. package/dist/components/gov-grid-item.d.ts +0 -11
  729. package/dist/components/gov-grid-item.js +0 -2
  730. package/dist/components/gov-grid-item.js.map +0 -1
  731. package/dist/components/gov-grid.d.ts +0 -11
  732. package/dist/components/gov-grid.js +0 -2
  733. package/dist/components/gov-grid.js.map +0 -1
  734. package/dist/components/gov-icon.d.ts +0 -11
  735. package/dist/components/gov-icon.js +0 -2
  736. package/dist/components/gov-icon.js.map +0 -1
  737. package/dist/components/gov-infobar.d.ts +0 -11
  738. package/dist/components/gov-infobar.js +0 -2
  739. package/dist/components/gov-infobar.js.map +0 -1
  740. package/dist/components/gov-layout-column.d.ts +0 -11
  741. package/dist/components/gov-layout-column.js +0 -2
  742. package/dist/components/gov-layout-column.js.map +0 -1
  743. package/dist/components/gov-layout.d.ts +0 -11
  744. package/dist/components/gov-layout.js +0 -2
  745. package/dist/components/gov-layout.js.map +0 -1
  746. package/dist/components/gov-loading.d.ts +0 -11
  747. package/dist/components/gov-loading.js +0 -2
  748. package/dist/components/gov-loading.js.map +0 -1
  749. package/dist/components/gov-message.d.ts +0 -11
  750. package/dist/components/gov-message.js +0 -2
  751. package/dist/components/gov-message.js.map +0 -1
  752. package/dist/components/gov-modal.d.ts +0 -11
  753. package/dist/components/gov-modal.js +0 -2
  754. package/dist/components/gov-modal.js.map +0 -1
  755. package/dist/components/gov-nav-item.d.ts +0 -11
  756. package/dist/components/gov-nav-item.js +0 -2
  757. package/dist/components/gov-nav-item.js.map +0 -1
  758. package/dist/components/gov-nav.d.ts +0 -11
  759. package/dist/components/gov-nav.js +0 -2
  760. package/dist/components/gov-nav.js.map +0 -1
  761. package/dist/components/gov-pagination.d.ts +0 -11
  762. package/dist/components/gov-pagination.js +0 -2
  763. package/dist/components/gov-pagination.js.map +0 -1
  764. package/dist/components/gov-prompt.d.ts +0 -11
  765. package/dist/components/gov-prompt.js +0 -2
  766. package/dist/components/gov-prompt.js.map +0 -1
  767. package/dist/components/gov-side-nav-item.d.ts +0 -11
  768. package/dist/components/gov-side-nav-item.js +0 -2
  769. package/dist/components/gov-side-nav-item.js.map +0 -1
  770. package/dist/components/gov-side-nav.d.ts +0 -11
  771. package/dist/components/gov-side-nav.js +0 -2
  772. package/dist/components/gov-side-nav.js.map +0 -1
  773. package/dist/components/gov-skeleton.d.ts +0 -11
  774. package/dist/components/gov-skeleton.js +0 -2
  775. package/dist/components/gov-skeleton.js.map +0 -1
  776. package/dist/components/gov-spacer.d.ts +0 -11
  777. package/dist/components/gov-spacer.js +0 -2
  778. package/dist/components/gov-spacer.js.map +0 -1
  779. package/dist/components/gov-statsbar-item.d.ts +0 -11
  780. package/dist/components/gov-statsbar-item.js +0 -2
  781. package/dist/components/gov-statsbar-item.js.map +0 -1
  782. package/dist/components/gov-statsbar.d.ts +0 -11
  783. package/dist/components/gov-statsbar.js +0 -2
  784. package/dist/components/gov-statsbar.js.map +0 -1
  785. package/dist/components/gov-stepper-item.d.ts +0 -11
  786. package/dist/components/gov-stepper-item.js +0 -2
  787. package/dist/components/gov-stepper-item.js.map +0 -1
  788. package/dist/components/gov-stepper.d.ts +0 -11
  789. package/dist/components/gov-stepper.js +0 -2
  790. package/dist/components/gov-stepper.js.map +0 -1
  791. package/dist/components/gov-tabs-item.d.ts +0 -11
  792. package/dist/components/gov-tabs-item.js +0 -2
  793. package/dist/components/gov-tabs-item.js.map +0 -1
  794. package/dist/components/gov-tabs.d.ts +0 -11
  795. package/dist/components/gov-tabs.js +0 -2
  796. package/dist/components/gov-tabs.js.map +0 -1
  797. package/dist/components/gov-tag.d.ts +0 -11
  798. package/dist/components/gov-tag.js +0 -2
  799. package/dist/components/gov-tag.js.map +0 -1
  800. package/dist/components/gov-tile.d.ts +0 -11
  801. package/dist/components/gov-tile.js +0 -2
  802. package/dist/components/gov-tile.js.map +0 -1
  803. package/dist/components/gov-tiles.d.ts +0 -11
  804. package/dist/components/gov-tiles.js +0 -2
  805. package/dist/components/gov-tiles.js.map +0 -1
  806. package/dist/components/gov-toast.d.ts +0 -11
  807. package/dist/components/gov-toast.js +0 -2
  808. package/dist/components/gov-toast.js.map +0 -1
  809. package/dist/components/gov-tooltip-content.d.ts +0 -11
  810. package/dist/components/gov-tooltip-content.js +0 -2
  811. package/dist/components/gov-tooltip-content.js.map +0 -1
  812. package/dist/components/gov-tooltip.d.ts +0 -11
  813. package/dist/components/gov-tooltip.js +0 -2
  814. package/dist/components/gov-tooltip.js.map +0 -1
  815. package/dist/components/gov-wizard-item.d.ts +0 -11
  816. package/dist/components/gov-wizard-item.js +0 -2
  817. package/dist/components/gov-wizard-item.js.map +0 -1
  818. package/dist/components/gov-wizard.d.ts +0 -11
  819. package/dist/components/gov-wizard.js +0 -2
  820. package/dist/components/gov-wizard.js.map +0 -1
  821. package/dist/components/index.d.ts +0 -33
  822. package/dist/components/index.js +0 -2
  823. package/dist/components/index.js.map +0 -1
  824. package/dist/components/p-003e6cca.js +0 -2
  825. package/dist/components/p-003e6cca.js.map +0 -1
  826. package/dist/components/p-036e0f9e.js +0 -2
  827. package/dist/components/p-036e0f9e.js.map +0 -1
  828. package/dist/components/p-03990da5.js +0 -2
  829. package/dist/components/p-03990da5.js.map +0 -1
  830. package/dist/components/p-17ebfe85.js +0 -2
  831. package/dist/components/p-17ebfe85.js.map +0 -1
  832. package/dist/components/p-1c1d0bbe.js +0 -2
  833. package/dist/components/p-1c1d0bbe.js.map +0 -1
  834. package/dist/components/p-1f84a302.js +0 -2
  835. package/dist/components/p-1f84a302.js.map +0 -1
  836. package/dist/components/p-24636c53.js +0 -2
  837. package/dist/components/p-24636c53.js.map +0 -1
  838. package/dist/components/p-28e59384.js +0 -2
  839. package/dist/components/p-28e59384.js.map +0 -1
  840. package/dist/components/p-2bf5b814.js +0 -2
  841. package/dist/components/p-2bf5b814.js.map +0 -1
  842. package/dist/components/p-2dee9951.js +0 -2
  843. package/dist/components/p-2dee9951.js.map +0 -1
  844. package/dist/components/p-3464136c.js +0 -2
  845. package/dist/components/p-3464136c.js.map +0 -1
  846. package/dist/components/p-3c71d697.js +0 -2
  847. package/dist/components/p-3c71d697.js.map +0 -1
  848. package/dist/components/p-4ce7b250.js +0 -2
  849. package/dist/components/p-4ce7b250.js.map +0 -1
  850. package/dist/components/p-4ff831e3.js +0 -2
  851. package/dist/components/p-4ff831e3.js.map +0 -1
  852. package/dist/components/p-53e02bee.js +0 -2
  853. package/dist/components/p-53e02bee.js.map +0 -1
  854. package/dist/components/p-55500e5a.js +0 -2
  855. package/dist/components/p-55500e5a.js.map +0 -1
  856. package/dist/components/p-570803ab.js +0 -2
  857. package/dist/components/p-570803ab.js.map +0 -1
  858. package/dist/components/p-5defdc5e.js +0 -2
  859. package/dist/components/p-5defdc5e.js.map +0 -1
  860. package/dist/components/p-619c90a3.js +0 -2
  861. package/dist/components/p-619c90a3.js.map +0 -1
  862. package/dist/components/p-6278531b.js +0 -2
  863. package/dist/components/p-6278531b.js.map +0 -1
  864. package/dist/components/p-6834d779.js +0 -2
  865. package/dist/components/p-6834d779.js.map +0 -1
  866. package/dist/components/p-700b19da.js +0 -2
  867. package/dist/components/p-700b19da.js.map +0 -1
  868. package/dist/components/p-74b2311a.js +0 -2
  869. package/dist/components/p-74b2311a.js.map +0 -1
  870. package/dist/components/p-7f2c9830.js +0 -2
  871. package/dist/components/p-7f2c9830.js.map +0 -1
  872. package/dist/components/p-9144dde1.js +0 -2
  873. package/dist/components/p-9144dde1.js.map +0 -1
  874. package/dist/components/p-9795ad94.js +0 -2
  875. package/dist/components/p-9795ad94.js.map +0 -1
  876. package/dist/components/p-9a4c910d.js +0 -2
  877. package/dist/components/p-9a4c910d.js.map +0 -1
  878. package/dist/components/p-a6d14a47.js +0 -2
  879. package/dist/components/p-a6d14a47.js.map +0 -1
  880. package/dist/components/p-b526e440.js +0 -2
  881. package/dist/components/p-b526e440.js.map +0 -1
  882. package/dist/components/p-b72a7bed.js +0 -2
  883. package/dist/components/p-b72a7bed.js.map +0 -1
  884. package/dist/components/p-be4aab0e.js +0 -2
  885. package/dist/components/p-be4aab0e.js.map +0 -1
  886. package/dist/components/p-d65d26d3.js +0 -2
  887. package/dist/components/p-d65d26d3.js.map +0 -1
  888. package/dist/components/p-db1f0452.js +0 -2
  889. package/dist/components/p-db1f0452.js.map +0 -1
  890. package/dist/components/p-dcb5fb35.js +0 -2
  891. package/dist/components/p-dcb5fb35.js.map +0 -1
  892. package/dist/components/p-e9e8b6ed.js +0 -2
  893. package/dist/components/p-e9e8b6ed.js.map +0 -1
  894. package/dist/components/p-fa1e4aea.js +0 -2
  895. package/dist/components/p-fa1e4aea.js.map +0 -1
  896. package/dist/components/p-ff7365ae.js +0 -2
  897. package/dist/components/p-ff7365ae.js.map +0 -1
  898. package/dist/components/p-ffb7495c.js +0 -2
  899. package/dist/components/p-ffb7495c.js.map +0 -1
  900. package/dist/core/core.css +0 -1
  901. package/dist/core/core.esm.js +0 -2
  902. package/dist/core/core.esm.js.map +0 -1
  903. package/dist/core/index.esm.js +0 -2
  904. package/dist/core/index.esm.js.map +0 -1
  905. package/dist/core/p-003e6cca.js +0 -2
  906. package/dist/core/p-003e6cca.js.map +0 -1
  907. package/dist/core/p-01d928c5.entry.js +0 -2
  908. package/dist/core/p-01d928c5.entry.js.map +0 -1
  909. package/dist/core/p-03990da5.js +0 -2
  910. package/dist/core/p-03990da5.js.map +0 -1
  911. package/dist/core/p-044f4c35.entry.js +0 -2
  912. package/dist/core/p-044f4c35.entry.js.map +0 -1
  913. package/dist/core/p-09966eaa.entry.js +0 -2
  914. package/dist/core/p-09966eaa.entry.js.map +0 -1
  915. package/dist/core/p-0e5fa8bf.js +0 -2
  916. package/dist/core/p-0e5fa8bf.js.map +0 -1
  917. package/dist/core/p-1116fec6.entry.js +0 -2
  918. package/dist/core/p-1116fec6.entry.js.map +0 -1
  919. package/dist/core/p-141d9af4.entry.js +0 -2
  920. package/dist/core/p-141d9af4.entry.js.map +0 -1
  921. package/dist/core/p-17ebfe85.js +0 -2
  922. package/dist/core/p-17ebfe85.js.map +0 -1
  923. package/dist/core/p-1c1d0bbe.js +0 -2
  924. package/dist/core/p-1c1d0bbe.js.map +0 -1
  925. package/dist/core/p-1fee1753.entry.js +0 -2
  926. package/dist/core/p-1fee1753.entry.js.map +0 -1
  927. package/dist/core/p-22abe742.entry.js +0 -2
  928. package/dist/core/p-22abe742.entry.js.map +0 -1
  929. package/dist/core/p-24636c53.js +0 -2
  930. package/dist/core/p-24636c53.js.map +0 -1
  931. package/dist/core/p-2712444e.entry.js +0 -2
  932. package/dist/core/p-2712444e.entry.js.map +0 -1
  933. package/dist/core/p-28e59384.js +0 -2
  934. package/dist/core/p-28e59384.js.map +0 -1
  935. package/dist/core/p-2969eb69.entry.js +0 -2
  936. package/dist/core/p-2969eb69.entry.js.map +0 -1
  937. package/dist/core/p-2bf5b814.js +0 -2
  938. package/dist/core/p-2bf5b814.js.map +0 -1
  939. package/dist/core/p-2f858bf5.entry.js +0 -2
  940. package/dist/core/p-2f858bf5.entry.js.map +0 -1
  941. package/dist/core/p-3464136c.js +0 -2
  942. package/dist/core/p-3464136c.js.map +0 -1
  943. package/dist/core/p-3b42950e.entry.js +0 -2
  944. package/dist/core/p-3b42950e.entry.js.map +0 -1
  945. package/dist/core/p-3c12c766.entry.js +0 -2
  946. package/dist/core/p-3c12c766.entry.js.map +0 -1
  947. package/dist/core/p-41c18f64.entry.js +0 -2
  948. package/dist/core/p-41c18f64.entry.js.map +0 -1
  949. package/dist/core/p-497c90ea.entry.js +0 -2
  950. package/dist/core/p-497c90ea.entry.js.map +0 -1
  951. package/dist/core/p-4a235ef5.entry.js +0 -2
  952. package/dist/core/p-4a235ef5.entry.js.map +0 -1
  953. package/dist/core/p-4c55142b.js +0 -2
  954. package/dist/core/p-4c55142b.js.map +0 -1
  955. package/dist/core/p-55500e5a.js +0 -2
  956. package/dist/core/p-55500e5a.js.map +0 -1
  957. package/dist/core/p-5bc604a3.js +0 -3
  958. package/dist/core/p-5bc604a3.js.map +0 -1
  959. package/dist/core/p-5defdc5e.js +0 -2
  960. package/dist/core/p-5defdc5e.js.map +0 -1
  961. package/dist/core/p-60963ed7.entry.js +0 -2
  962. package/dist/core/p-60963ed7.entry.js.map +0 -1
  963. package/dist/core/p-6278531b.js +0 -2
  964. package/dist/core/p-6278531b.js.map +0 -1
  965. package/dist/core/p-6675a0f0.entry.js +0 -2
  966. package/dist/core/p-6675a0f0.entry.js.map +0 -1
  967. package/dist/core/p-67138ae9.entry.js +0 -2
  968. package/dist/core/p-67138ae9.entry.js.map +0 -1
  969. package/dist/core/p-6834d779.js +0 -2
  970. package/dist/core/p-6834d779.js.map +0 -1
  971. package/dist/core/p-6dc942b8.entry.js +0 -2
  972. package/dist/core/p-6dc942b8.entry.js.map +0 -1
  973. package/dist/core/p-705efbf1.entry.js +0 -2
  974. package/dist/core/p-705efbf1.entry.js.map +0 -1
  975. package/dist/core/p-73b7585b.entry.js +0 -2
  976. package/dist/core/p-73b7585b.entry.js.map +0 -1
  977. package/dist/core/p-74882c70.entry.js +0 -2
  978. package/dist/core/p-74882c70.entry.js.map +0 -1
  979. package/dist/core/p-74b2311a.js +0 -2
  980. package/dist/core/p-74b2311a.js.map +0 -1
  981. package/dist/core/p-7724b535.js +0 -2
  982. package/dist/core/p-7724b535.js.map +0 -1
  983. package/dist/core/p-7757e4a1.entry.js +0 -2
  984. package/dist/core/p-7757e4a1.entry.js.map +0 -1
  985. package/dist/core/p-78942f76.entry.js +0 -2
  986. package/dist/core/p-78942f76.entry.js.map +0 -1
  987. package/dist/core/p-7f2c9830.js +0 -2
  988. package/dist/core/p-7f2c9830.js.map +0 -1
  989. package/dist/core/p-81593c86.entry.js +0 -2
  990. package/dist/core/p-81593c86.entry.js.map +0 -1
  991. package/dist/core/p-83e998d8.entry.js +0 -2
  992. package/dist/core/p-83e998d8.entry.js.map +0 -1
  993. package/dist/core/p-861714f2.entry.js +0 -2
  994. package/dist/core/p-861714f2.entry.js.map +0 -1
  995. package/dist/core/p-89b3e4d4.entry.js +0 -2
  996. package/dist/core/p-89b3e4d4.entry.js.map +0 -1
  997. package/dist/core/p-9144dde1.js +0 -2
  998. package/dist/core/p-9144dde1.js.map +0 -1
  999. package/dist/core/p-92af05f2.entry.js +0 -2
  1000. package/dist/core/p-92af05f2.entry.js.map +0 -1
  1001. package/dist/core/p-96d141a3.entry.js +0 -2
  1002. package/dist/core/p-96d141a3.entry.js.map +0 -1
  1003. package/dist/core/p-9a4c910d.js +0 -2
  1004. package/dist/core/p-9a4c910d.js.map +0 -1
  1005. package/dist/core/p-9c6699d6.entry.js +0 -2
  1006. package/dist/core/p-9c6699d6.entry.js.map +0 -1
  1007. package/dist/core/p-9dab01be.js +0 -2
  1008. package/dist/core/p-9dab01be.js.map +0 -1
  1009. package/dist/core/p-a63bb91e.entry.js +0 -2
  1010. package/dist/core/p-a63bb91e.entry.js.map +0 -1
  1011. package/dist/core/p-a6b6dc73.entry.js +0 -2
  1012. package/dist/core/p-a6b6dc73.entry.js.map +0 -1
  1013. package/dist/core/p-a6d14a47.js +0 -2
  1014. package/dist/core/p-a6d14a47.js.map +0 -1
  1015. package/dist/core/p-ac5e5b2c.entry.js +0 -2
  1016. package/dist/core/p-ac5e5b2c.entry.js.map +0 -1
  1017. package/dist/core/p-b1184db4.entry.js +0 -2
  1018. package/dist/core/p-b1184db4.entry.js.map +0 -1
  1019. package/dist/core/p-b127c8a8.entry.js +0 -2
  1020. package/dist/core/p-b127c8a8.entry.js.map +0 -1
  1021. package/dist/core/p-b49293dc.entry.js +0 -2
  1022. package/dist/core/p-b49293dc.entry.js.map +0 -1
  1023. package/dist/core/p-b4a59c79.entry.js +0 -2
  1024. package/dist/core/p-b4a59c79.entry.js.map +0 -1
  1025. package/dist/core/p-b4ab0d15.entry.js +0 -2
  1026. package/dist/core/p-b4ab0d15.entry.js.map +0 -1
  1027. package/dist/core/p-b580666b.entry.js +0 -2
  1028. package/dist/core/p-b580666b.entry.js.map +0 -1
  1029. package/dist/core/p-b5e1ee46.entry.js +0 -2
  1030. package/dist/core/p-b5e1ee46.entry.js.map +0 -1
  1031. package/dist/core/p-b7d23697.entry.js +0 -2
  1032. package/dist/core/p-b7d23697.entry.js.map +0 -1
  1033. package/dist/core/p-bb7f0a66.entry.js +0 -2
  1034. package/dist/core/p-bb7f0a66.entry.js.map +0 -1
  1035. package/dist/core/p-bbc7a0b0.entry.js +0 -2
  1036. package/dist/core/p-bbc7a0b0.entry.js.map +0 -1
  1037. package/dist/core/p-be4aab0e.js +0 -2
  1038. package/dist/core/p-be4aab0e.js.map +0 -1
  1039. package/dist/core/p-c574ecc8.entry.js +0 -2
  1040. package/dist/core/p-c574ecc8.entry.js.map +0 -1
  1041. package/dist/core/p-ccf73a1a.entry.js +0 -2
  1042. package/dist/core/p-ccf73a1a.entry.js.map +0 -1
  1043. package/dist/core/p-d298dd9c.entry.js +0 -2
  1044. package/dist/core/p-d298dd9c.entry.js.map +0 -1
  1045. package/dist/core/p-d69599bc.entry.js +0 -2
  1046. package/dist/core/p-d69599bc.entry.js.map +0 -1
  1047. package/dist/core/p-db1f0452.js +0 -2
  1048. package/dist/core/p-db1f0452.js.map +0 -1
  1049. package/dist/core/p-dcb5fb35.js +0 -2
  1050. package/dist/core/p-dcb5fb35.js.map +0 -1
  1051. package/dist/core/p-de3429ab.entry.js +0 -2
  1052. package/dist/core/p-de3429ab.entry.js.map +0 -1
  1053. package/dist/core/p-e24236b0.entry.js +0 -2
  1054. package/dist/core/p-e24236b0.entry.js.map +0 -1
  1055. package/dist/core/p-e5c2f601.entry.js +0 -2
  1056. package/dist/core/p-e5c2f601.entry.js.map +0 -1
  1057. package/dist/core/p-ee4c58e3.entry.js +0 -2
  1058. package/dist/core/p-ee4c58e3.entry.js.map +0 -1
  1059. package/dist/core/p-f1227928.entry.js +0 -2
  1060. package/dist/core/p-f1227928.entry.js.map +0 -1
  1061. package/dist/core/p-f29b0193.entry.js +0 -2
  1062. package/dist/core/p-f29b0193.entry.js.map +0 -1
  1063. package/dist/core/p-f636a1ca.entry.js +0 -2
  1064. package/dist/core/p-f636a1ca.entry.js.map +0 -1
  1065. package/dist/core/p-fa1e4aea.js +0 -2
  1066. package/dist/core/p-fa1e4aea.js.map +0 -1
  1067. package/dist/core/p-fb51d693.entry.js +0 -2
  1068. package/dist/core/p-fb51d693.entry.js.map +0 -1
  1069. package/dist/core/p-fc2a1e14.entry.js +0 -2
  1070. package/dist/core/p-fc2a1e14.entry.js.map +0 -1
  1071. package/dist/core/p-fc8a29e9.entry.js +0 -2
  1072. package/dist/core/p-fc8a29e9.entry.js.map +0 -1
  1073. package/dist/core/p-fd4b0f54.entry.js +0 -2
  1074. package/dist/core/p-fd4b0f54.entry.js.map +0 -1
  1075. package/dist/core/p-ff7365ae.js +0 -2
  1076. package/dist/core/p-ff7365ae.js.map +0 -1
  1077. package/dist/core/p-ffb7495c.js +0 -2
  1078. package/dist/core/p-ffb7495c.js.map +0 -1
  1079. package/dist/esm/Fragment-8d8d54fb.js +0 -5
  1080. package/dist/esm/Fragment-8d8d54fb.js.map +0 -1
  1081. package/dist/esm/constants-09bda759.js +0 -25
  1082. package/dist/esm/constants-09bda759.js.map +0 -1
  1083. package/dist/esm/constants-2499979c.js +0 -24
  1084. package/dist/esm/constants-2499979c.js.map +0 -1
  1085. package/dist/esm/constants-27b48cd1.js +0 -22
  1086. package/dist/esm/constants-27b48cd1.js.map +0 -1
  1087. package/dist/esm/constants-2a283e9a.js +0 -18
  1088. package/dist/esm/constants-2a283e9a.js.map +0 -1
  1089. package/dist/esm/constants-2b14bb01.js +0 -10
  1090. package/dist/esm/constants-2b14bb01.js.map +0 -1
  1091. package/dist/esm/constants-34a29ae2.js +0 -33
  1092. package/dist/esm/constants-34a29ae2.js.map +0 -1
  1093. package/dist/esm/constants-3786b01b.js +0 -22
  1094. package/dist/esm/constants-3786b01b.js.map +0 -1
  1095. package/dist/esm/constants-3df712e2.js +0 -13
  1096. package/dist/esm/constants-3df712e2.js.map +0 -1
  1097. package/dist/esm/constants-47d7a8bc.js +0 -17
  1098. package/dist/esm/constants-47d7a8bc.js.map +0 -1
  1099. package/dist/esm/constants-6df4edc4.js +0 -29
  1100. package/dist/esm/constants-6df4edc4.js.map +0 -1
  1101. package/dist/esm/constants-78474786.js +0 -25
  1102. package/dist/esm/constants-78474786.js.map +0 -1
  1103. package/dist/esm/constants-867ac6e2.js +0 -19
  1104. package/dist/esm/constants-867ac6e2.js.map +0 -1
  1105. package/dist/esm/constants-887c5391.js +0 -23
  1106. package/dist/esm/constants-887c5391.js.map +0 -1
  1107. package/dist/esm/constants-d71c09e0.js +0 -12
  1108. package/dist/esm/constants-d71c09e0.js.map +0 -1
  1109. package/dist/esm/constants-ebec7de8.js +0 -12
  1110. package/dist/esm/constants-ebec7de8.js.map +0 -1
  1111. package/dist/esm/core.js +0 -43
  1112. package/dist/esm/core.js.map +0 -1
  1113. package/dist/esm/form-39dc6896.js +0 -145
  1114. package/dist/esm/form-39dc6896.js.map +0 -1
  1115. package/dist/esm/gov-accordion-item.entry.js +0 -98
  1116. package/dist/esm/gov-accordion-item.entry.js.map +0 -1
  1117. package/dist/esm/gov-accordion.entry.js +0 -73
  1118. package/dist/esm/gov-accordion.entry.js.map +0 -1
  1119. package/dist/esm/gov-app.entry.js +0 -9445
  1120. package/dist/esm/gov-app.entry.js.map +0 -1
  1121. package/dist/esm/gov-attachments_3.entry.js +0 -114
  1122. package/dist/esm/gov-attachments_3.entry.js.map +0 -1
  1123. package/dist/esm/gov-backdrop.entry.js +0 -46
  1124. package/dist/esm/gov-backdrop.entry.js.map +0 -1
  1125. package/dist/esm/gov-breadcrumbs.entry.js +0 -46
  1126. package/dist/esm/gov-breadcrumbs.entry.js.map +0 -1
  1127. package/dist/esm/gov-button.entry.js +0 -176
  1128. package/dist/esm/gov-button.entry.js.map +0 -1
  1129. package/dist/esm/gov-card.entry.js +0 -108
  1130. package/dist/esm/gov-card.entry.js.map +0 -1
  1131. package/dist/esm/gov-chip.entry.js +0 -104
  1132. package/dist/esm/gov-chip.entry.js.map +0 -1
  1133. package/dist/esm/gov-container.entry.js +0 -32
  1134. package/dist/esm/gov-container.entry.js.map +0 -1
  1135. package/dist/esm/gov-control-group.entry.js +0 -39
  1136. package/dist/esm/gov-control-group.entry.js.map +0 -1
  1137. package/dist/esm/gov-cookiebar.entry.js +0 -29
  1138. package/dist/esm/gov-cookiebar.entry.js.map +0 -1
  1139. package/dist/esm/gov-dropdown.entry.js +0 -131
  1140. package/dist/esm/gov-dropdown.entry.js.map +0 -1
  1141. package/dist/esm/gov-empty.entry.js +0 -27
  1142. package/dist/esm/gov-empty.entry.js.map +0 -1
  1143. package/dist/esm/gov-error-code.entry.js +0 -27
  1144. package/dist/esm/gov-error-code.entry.js.map +0 -1
  1145. package/dist/esm/gov-form-autocomplete.entry.js +0 -241
  1146. package/dist/esm/gov-form-autocomplete.entry.js.map +0 -1
  1147. package/dist/esm/gov-form-checkbox.entry.js +0 -127
  1148. package/dist/esm/gov-form-checkbox.entry.js.map +0 -1
  1149. package/dist/esm/gov-form-control.entry.js +0 -103
  1150. package/dist/esm/gov-form-control.entry.js.map +0 -1
  1151. package/dist/esm/gov-form-file.entry.js +0 -236
  1152. package/dist/esm/gov-form-file.entry.js.map +0 -1
  1153. package/dist/esm/gov-form-group.entry.js +0 -55
  1154. package/dist/esm/gov-form-group.entry.js.map +0 -1
  1155. package/dist/esm/gov-form-input.entry.js +0 -186
  1156. package/dist/esm/gov-form-input.entry.js.map +0 -1
  1157. package/dist/esm/gov-form-label.entry.js +0 -26
  1158. package/dist/esm/gov-form-label.entry.js.map +0 -1
  1159. package/dist/esm/gov-form-multi-select.entry.js +0 -300
  1160. package/dist/esm/gov-form-multi-select.entry.js.map +0 -1
  1161. package/dist/esm/gov-form-password-power.entry.js +0 -24
  1162. package/dist/esm/gov-form-password-power.entry.js.map +0 -1
  1163. package/dist/esm/gov-form-radio.entry.js +0 -127
  1164. package/dist/esm/gov-form-radio.entry.js.map +0 -1
  1165. package/dist/esm/gov-form-search.entry.js +0 -28
  1166. package/dist/esm/gov-form-search.entry.js.map +0 -1
  1167. package/dist/esm/gov-form-select.entry.js +0 -163
  1168. package/dist/esm/gov-form-select.entry.js.map +0 -1
  1169. package/dist/esm/gov-form-switch.entry.js +0 -127
  1170. package/dist/esm/gov-form-switch.entry.js.map +0 -1
  1171. package/dist/esm/gov-grid-item.entry.js +0 -26
  1172. package/dist/esm/gov-grid-item.entry.js.map +0 -1
  1173. package/dist/esm/gov-grid.entry.js +0 -24
  1174. package/dist/esm/gov-grid.entry.js.map +0 -1
  1175. package/dist/esm/gov-icon.entry.js +0 -131
  1176. package/dist/esm/gov-icon.entry.js.map +0 -1
  1177. package/dist/esm/gov-infobar.entry.js +0 -87
  1178. package/dist/esm/gov-infobar.entry.js.map +0 -1
  1179. package/dist/esm/gov-layout-column.entry.js +0 -21
  1180. package/dist/esm/gov-layout-column.entry.js.map +0 -1
  1181. package/dist/esm/gov-layout.entry.js +0 -30
  1182. package/dist/esm/gov-layout.entry.js.map +0 -1
  1183. package/dist/esm/gov-loading.entry.js +0 -26
  1184. package/dist/esm/gov-loading.entry.js.map +0 -1
  1185. package/dist/esm/gov-message.entry.js +0 -40
  1186. package/dist/esm/gov-message.entry.js.map +0 -1
  1187. package/dist/esm/gov-modal.entry.js +0 -102
  1188. package/dist/esm/gov-modal.entry.js.map +0 -1
  1189. package/dist/esm/gov-nav-item.entry.js +0 -35
  1190. package/dist/esm/gov-nav-item.entry.js.map +0 -1
  1191. package/dist/esm/gov-nav.entry.js +0 -38
  1192. package/dist/esm/gov-nav.entry.js.map +0 -1
  1193. package/dist/esm/gov-pagination.entry.js +0 -220
  1194. package/dist/esm/gov-pagination.entry.js.map +0 -1
  1195. package/dist/esm/gov-prompt.entry.js +0 -99
  1196. package/dist/esm/gov-prompt.entry.js.map +0 -1
  1197. package/dist/esm/gov-side-nav-item.entry.js +0 -83
  1198. package/dist/esm/gov-side-nav-item.entry.js.map +0 -1
  1199. package/dist/esm/gov-side-nav.entry.js +0 -52
  1200. package/dist/esm/gov-side-nav.entry.js.map +0 -1
  1201. package/dist/esm/gov-skeleton.entry.js +0 -113
  1202. package/dist/esm/gov-skeleton.entry.js.map +0 -1
  1203. package/dist/esm/gov-spacer.entry.js +0 -54
  1204. package/dist/esm/gov-spacer.entry.js.map +0 -1
  1205. package/dist/esm/gov-statsbar-item.entry.js +0 -36
  1206. package/dist/esm/gov-statsbar-item.entry.js.map +0 -1
  1207. package/dist/esm/gov-statsbar.entry.js +0 -49
  1208. package/dist/esm/gov-statsbar.entry.js.map +0 -1
  1209. package/dist/esm/gov-stepper-item.entry.js +0 -74
  1210. package/dist/esm/gov-stepper-item.entry.js.map +0 -1
  1211. package/dist/esm/gov-stepper.entry.js +0 -47
  1212. package/dist/esm/gov-stepper.entry.js.map +0 -1
  1213. package/dist/esm/gov-tabs-item.entry.js +0 -49
  1214. package/dist/esm/gov-tabs-item.entry.js.map +0 -1
  1215. package/dist/esm/gov-tabs.entry.js +0 -194
  1216. package/dist/esm/gov-tabs.entry.js.map +0 -1
  1217. package/dist/esm/gov-tag.entry.js +0 -53
  1218. package/dist/esm/gov-tag.entry.js.map +0 -1
  1219. package/dist/esm/gov-tile.entry.js +0 -38
  1220. package/dist/esm/gov-tile.entry.js.map +0 -1
  1221. package/dist/esm/gov-tiles.entry.js +0 -29
  1222. package/dist/esm/gov-tiles.entry.js.map +0 -1
  1223. package/dist/esm/gov-toast.entry.js +0 -97
  1224. package/dist/esm/gov-toast.entry.js.map +0 -1
  1225. package/dist/esm/gov-tooltip-content.entry.js +0 -50
  1226. package/dist/esm/gov-tooltip-content.entry.js.map +0 -1
  1227. package/dist/esm/gov-tooltip.entry.js +0 -220
  1228. package/dist/esm/gov-tooltip.entry.js.map +0 -1
  1229. package/dist/esm/gov-wizard-item.entry.js +0 -111
  1230. package/dist/esm/gov-wizard-item.entry.js.map +0 -1
  1231. package/dist/esm/gov-wizard.entry.js +0 -65
  1232. package/dist/esm/gov-wizard.entry.js.map +0 -1
  1233. package/dist/esm/gov.log-49da0221.js +0 -25
  1234. package/dist/esm/gov.log-49da0221.js.map +0 -1
  1235. package/dist/esm/helpers-bc0fd116.js +0 -17
  1236. package/dist/esm/helpers-bc0fd116.js.map +0 -1
  1237. package/dist/esm/index-eb59f132.js +0 -2686
  1238. package/dist/esm/index-eb59f132.js.map +0 -1
  1239. package/dist/esm/index.js +0 -3
  1240. package/dist/esm/index.js.map +0 -1
  1241. package/dist/esm/loader.js +0 -11
  1242. package/dist/esm/loader.js.map +0 -1
  1243. package/dist/esm/polyfills/core-js.js +0 -11
  1244. package/dist/esm/polyfills/dom.js +0 -79
  1245. package/dist/esm/polyfills/es5-html-element.js +0 -1
  1246. package/dist/esm/polyfills/index.js +0 -34
  1247. package/dist/esm/polyfills/system.js +0 -6
  1248. package/dist/esm/props-a85d9c89.js +0 -14
  1249. package/dist/esm/props-a85d9c89.js.map +0 -1
  1250. package/dist/esm/sizes-6c5943b4.js +0 -18
  1251. package/dist/esm/sizes-6c5943b4.js.map +0 -1
  1252. package/dist/esm/string.utils-f268fc6b.js +0 -20
  1253. package/dist/esm/string.utils-f268fc6b.js.map +0 -1
  1254. package/dist/esm/template-df429738.js +0 -120
  1255. package/dist/esm/template-df429738.js.map +0 -1
  1256. package/dist/esm/utils-c057a3fa.js +0 -35
  1257. package/dist/esm/utils-c057a3fa.js.map +0 -1
  1258. package/dist/esm/variants-2b936d58.js +0 -18
  1259. package/dist/esm/variants-2b936d58.js.map +0 -1
  1260. package/dist/esm/wcag-7d25e12b.js +0 -62
  1261. package/dist/esm/wcag-7d25e12b.js.map +0 -1
  1262. package/dist/esm/win-1dbd3f5c.js +0 -31
  1263. package/dist/esm/win-1dbd3f5c.js.map +0 -1
  1264. package/dist/globals.d.ts +0 -2
  1265. package/dist/hydrate/index.d.ts +0 -218
  1266. package/dist/hydrate/index.js +0 -22095
  1267. package/dist/hydrate/package.json +0 -6
  1268. package/dist/index.cjs.js +0 -1
  1269. package/dist/index.js +0 -1
  1270. package/dist/stencil.config.js +0 -75
  1271. package/dist/stencil.config.js.map +0 -1
  1272. package/dist/types/Users/iwory/iWork/asseco/mv/gov-design-system-ce/packages/core/.stencil/packages/core/stencil.config.d.ts +0 -2
  1273. package/dist/types/components/gov-accordion/constants.d.ts +0 -22
  1274. package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +0 -58
  1275. package/dist/types/components/gov-accordion/gov-accordion.d.ts +0 -42
  1276. package/dist/types/components/gov-accordion/gov-accordion.types.d.ts +0 -9
  1277. package/dist/types/components/gov-app/gov-app.d.ts +0 -40
  1278. package/dist/types/components/gov-attachments/constants.d.ts +0 -11
  1279. package/dist/types/components/gov-attachments/gov-attachments-item.d.d.ts +0 -4
  1280. package/dist/types/components/gov-attachments/gov-attachments-item.d.ts +0 -24
  1281. package/dist/types/components/gov-attachments/gov-attachments.d.ts +0 -19
  1282. package/dist/types/components/gov-backdrop/constants.d.ts +0 -4
  1283. package/dist/types/components/gov-backdrop/gov-backdrop.d.ts +0 -28
  1284. package/dist/types/components/gov-breadcrumbs/constants.d.ts +0 -3
  1285. package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.d.ts +0 -4
  1286. package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +0 -33
  1287. package/dist/types/components/gov-button/button/constants.d.ts +0 -30
  1288. package/dist/types/components/gov-button/button/gov-button.d.ts +0 -180
  1289. package/dist/types/components/gov-button/button/gov-button.types.d.ts +0 -4
  1290. package/dist/types/components/gov-button/dropdown/constants.d.ts +0 -10
  1291. package/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +0 -34
  1292. package/dist/types/components/gov-button/dropdown/gov-dropdown.types.d.ts +0 -4
  1293. package/dist/types/components/gov-card/constants.d.ts +0 -13
  1294. package/dist/types/components/gov-card/gov-card.d.ts +0 -60
  1295. package/dist/types/components/gov-card/interfaces.d.ts +0 -4
  1296. package/dist/types/components/gov-chip/constants.d.ts +0 -13
  1297. package/dist/types/components/gov-chip/gov-chip.d.ts +0 -93
  1298. package/dist/types/components/gov-container/constants.d.ts +0 -3
  1299. package/dist/types/components/gov-container/gov-container.d.ts +0 -12
  1300. package/dist/types/components/gov-control-group/constants.d.ts +0 -7
  1301. package/dist/types/components/gov-control-group/gov-control-group.d.ts +0 -16
  1302. package/dist/types/components/gov-cookiebar/constants.d.ts +0 -8
  1303. package/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +0 -7
  1304. package/dist/types/components/gov-empty/constants.d.ts +0 -6
  1305. package/dist/types/components/gov-empty/gov-empty.d.ts +0 -6
  1306. package/dist/types/components/gov-error-code/constants.d.ts +0 -6
  1307. package/dist/types/components/gov-error-code/gov-error-code.d.ts +0 -6
  1308. package/dist/types/components/gov-form/autocomplete/constants.d.ts +0 -14
  1309. package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +0 -151
  1310. package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +0 -9
  1311. package/dist/types/components/gov-form/checkbox/constants.d.ts +0 -9
  1312. package/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +0 -87
  1313. package/dist/types/components/gov-form/checkbox/gov-form-checkbox.types.d.ts +0 -5
  1314. package/dist/types/components/gov-form/control/constants.d.ts +0 -9
  1315. package/dist/types/components/gov-form/control/gov-form-control.d.ts +0 -47
  1316. package/dist/types/components/gov-form/file/constants.d.ts +0 -9
  1317. package/dist/types/components/gov-form/file/gov-form-file.d.ts +0 -133
  1318. package/dist/types/components/gov-form/file/gov-form-file.types.d.ts +0 -11
  1319. package/dist/types/components/gov-form/group/constants.d.ts +0 -12
  1320. package/dist/types/components/gov-form/group/gov-form-group.d.ts +0 -18
  1321. package/dist/types/components/gov-form/input/constants.d.ts +0 -30
  1322. package/dist/types/components/gov-form/input/gov-form-input.d.ts +0 -181
  1323. package/dist/types/components/gov-form/input/gov-form-input.types.d.ts +0 -4
  1324. package/dist/types/components/gov-form/label/constants.d.ts +0 -8
  1325. package/dist/types/components/gov-form/label/gov-form-label.d.ts +0 -26
  1326. package/dist/types/components/gov-form/message/constants.d.ts +0 -9
  1327. package/dist/types/components/gov-form/message/gov-form-message.d.ts +0 -19
  1328. package/dist/types/components/gov-form/multiselect/constants.d.ts +0 -13
  1329. package/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +0 -157
  1330. package/dist/types/components/gov-form/multiselect/gov-form-multi-select.types.d.ts +0 -9
  1331. package/dist/types/components/gov-form/password-power/constants.d.ts +0 -5
  1332. package/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +0 -7
  1333. package/dist/types/components/gov-form/radio/constants.d.ts +0 -11
  1334. package/dist/types/components/gov-form/radio/gov-form-radio.d.ts +0 -87
  1335. package/dist/types/components/gov-form/radio/gov-form-radio.types.d.ts +0 -5
  1336. package/dist/types/components/gov-form/search/constants.d.ts +0 -9
  1337. package/dist/types/components/gov-form/search/gov-form-search.d.ts +0 -9
  1338. package/dist/types/components/gov-form/select/constants.d.ts +0 -11
  1339. package/dist/types/components/gov-form/select/gov-form-select.d.ts +0 -115
  1340. package/dist/types/components/gov-form/select/gov-form-select.types.d.ts +0 -9
  1341. package/dist/types/components/gov-form/switch/constants.d.ts +0 -10
  1342. package/dist/types/components/gov-form/switch/gov-form-switch.d.ts +0 -87
  1343. package/dist/types/components/gov-form/switch/gov-form-switch.types.d.ts +0 -5
  1344. package/dist/types/components/gov-grid/constants.d.ts +0 -6
  1345. package/dist/types/components/gov-grid/gov-grid-item.d.ts +0 -26
  1346. package/dist/types/components/gov-grid/gov-grid.d.ts +0 -14
  1347. package/dist/types/components/gov-icon/constants.d.ts +0 -12
  1348. package/dist/types/components/gov-icon/gov-icon.d.ts +0 -23
  1349. package/dist/types/components/gov-icon/helpers.d.ts +0 -5
  1350. package/dist/types/components/gov-icon/list.d.ts +0 -3
  1351. package/dist/types/components/gov-infobar/constants.d.ts +0 -13
  1352. package/dist/types/components/gov-infobar/gov-infobar.d.ts +0 -47
  1353. package/dist/types/components/gov-infobar/gov-infobar.types.d.ts +0 -4
  1354. package/dist/types/components/gov-layout/constants.d.ts +0 -20
  1355. package/dist/types/components/gov-layout/gov-layout-column.d.ts +0 -6
  1356. package/dist/types/components/gov-layout/gov-layout.d.ts +0 -20
  1357. package/dist/types/components/gov-loading/loading/constants.d.ts +0 -5
  1358. package/dist/types/components/gov-loading/loading/gov-loading.d.ts +0 -6
  1359. package/dist/types/components/gov-loading/skeleton/constants.d.ts +0 -20
  1360. package/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +0 -52
  1361. package/dist/types/components/gov-message/constants.d.ts +0 -10
  1362. package/dist/types/components/gov-message/gov-message.d.ts +0 -12
  1363. package/dist/types/components/gov-modal/constants.d.ts +0 -14
  1364. package/dist/types/components/gov-modal/gov-modal.d.ts +0 -69
  1365. package/dist/types/components/gov-nav/constants.d.ts +0 -8
  1366. package/dist/types/components/gov-nav/gov-nav-item.d.ts +0 -12
  1367. package/dist/types/components/gov-nav/gov-nav.d.ts +0 -17
  1368. package/dist/types/components/gov-pagination/constants.d.ts +0 -22
  1369. package/dist/types/components/gov-pagination/gov-pagination.d.ts +0 -87
  1370. package/dist/types/components/gov-pagination/gov-pagination.types.d.ts +0 -5
  1371. package/dist/types/components/gov-pagination/pagination.d.ts +0 -12
  1372. package/dist/types/components/gov-promp/constants.d.ts +0 -12
  1373. package/dist/types/components/gov-promp/gov-prompt.d.ts +0 -65
  1374. package/dist/types/components/gov-side-nav/constants.d.ts +0 -15
  1375. package/dist/types/components/gov-side-nav/gov-side-nav-item.d.d.ts +0 -4
  1376. package/dist/types/components/gov-side-nav/gov-side-nav-item.d.ts +0 -67
  1377. package/dist/types/components/gov-side-nav/gov-side-nav.d.ts +0 -32
  1378. package/dist/types/components/gov-spacer/constants.d.ts +0 -15
  1379. package/dist/types/components/gov-spacer/gov-spacer.d.ts +0 -18
  1380. package/dist/types/components/gov-statsbar/constants.d.ts +0 -18
  1381. package/dist/types/components/gov-statsbar/gov-statsbar-item.d.ts +0 -14
  1382. package/dist/types/components/gov-statsbar/gov-statsbar.d.ts +0 -19
  1383. package/dist/types/components/gov-stepper/constants.d.ts +0 -22
  1384. package/dist/types/components/gov-stepper/gov-stepper-item.d.d.ts +0 -4
  1385. package/dist/types/components/gov-stepper/gov-stepper-item.d.ts +0 -48
  1386. package/dist/types/components/gov-stepper/gov-stepper.d.ts +0 -20
  1387. package/dist/types/components/gov-tabs/constants.d.ts +0 -25
  1388. package/dist/types/components/gov-tabs/gov-tabs-item.d.ts +0 -37
  1389. package/dist/types/components/gov-tabs/gov-tabs.d.ts +0 -72
  1390. package/dist/types/components/gov-tabs/gov-tabs.types.d.ts +0 -8
  1391. package/dist/types/components/gov-tag/constants.d.ts +0 -3
  1392. package/dist/types/components/gov-tag/gov-tag.d.ts +0 -30
  1393. package/dist/types/components/gov-tile/constants.d.ts +0 -9
  1394. package/dist/types/components/gov-tile/container/constants.d.ts +0 -3
  1395. package/dist/types/components/gov-tile/container/gov-tiles.d.ts +0 -15
  1396. package/dist/types/components/gov-tile/gov-tile.d.ts +0 -21
  1397. package/dist/types/components/gov-toast/constants.d.ts +0 -14
  1398. package/dist/types/components/gov-toast/gov-toast.d.ts +0 -53
  1399. package/dist/types/components/gov-tooltip/constants.d.ts +0 -20
  1400. package/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +0 -28
  1401. package/dist/types/components/gov-tooltip/gov-tooltip.d.ts +0 -54
  1402. package/dist/types/components/gov-wizard/constants.d.ts +0 -21
  1403. package/dist/types/components/gov-wizard/gov-wizard-item.d.d.ts +0 -4
  1404. package/dist/types/components/gov-wizard/gov-wizard-item.d.ts +0 -72
  1405. package/dist/types/components/gov-wizard/gov-wizard-item.types.d.ts +0 -4
  1406. package/dist/types/components/gov-wizard/gov-wizard.d.ts +0 -33
  1407. package/dist/types/components.d.ts +0 -4461
  1408. package/dist/types/core/constants/sizes.d.ts +0 -13
  1409. package/dist/types/core/constants/tags.d.ts +0 -12
  1410. package/dist/types/core/constants/tokens.d.ts +0 -1
  1411. package/dist/types/core/constants/variants.d.ts +0 -12
  1412. package/dist/types/helpers/Dom/form.d.ts +0 -3
  1413. package/dist/types/helpers/Dom/form.types.d.ts +0 -11
  1414. package/dist/types/helpers/Dom/template.d.ts +0 -10
  1415. package/dist/types/helpers/Dom/template.types.d.ts +0 -13
  1416. package/dist/types/helpers/Dom/win.d.ts +0 -18
  1417. package/dist/types/helpers/Fragment.d.ts +0 -2
  1418. package/dist/types/helpers/Log/gov.log.d.ts +0 -8
  1419. package/dist/types/helpers/Validate/props.d.ts +0 -1
  1420. package/dist/types/helpers/Validate/wcag.d.ts +0 -4
  1421. package/dist/types/index.d.ts +0 -1
  1422. package/dist/types/interfaces.d.ts +0 -1
  1423. package/dist/types/pages/Accordion.d.ts +0 -3
  1424. package/dist/types/pages/Breadcrumbs.d.ts +0 -3
  1425. package/dist/types/pages/Button.d.ts +0 -3
  1426. package/dist/types/pages/Card.d.ts +0 -3
  1427. package/dist/types/pages/Chip.d.ts +0 -3
  1428. package/dist/types/pages/Container.d.ts +0 -3
  1429. package/dist/types/pages/ControlGroup.d.ts +0 -3
  1430. package/dist/types/pages/Cookiebar.d.ts +0 -3
  1431. package/dist/types/pages/Empty.d.ts +0 -3
  1432. package/dist/types/pages/Error.d.ts +0 -3
  1433. package/dist/types/pages/FormLabel.d.ts +0 -3
  1434. package/dist/types/pages/FormMessage.d.ts +0 -3
  1435. package/dist/types/pages/Forms.d.ts +0 -8
  1436. package/dist/types/pages/FormsRestructure.d.ts +0 -3
  1437. package/dist/types/pages/Grid.d.ts +0 -3
  1438. package/dist/types/pages/Home.d.ts +0 -3
  1439. package/dist/types/pages/Infobar.d.ts +0 -3
  1440. package/dist/types/pages/Layout.d.ts +0 -3
  1441. package/dist/types/pages/Loading.d.ts +0 -3
  1442. package/dist/types/pages/Message.d.ts +0 -3
  1443. package/dist/types/pages/Modal.d.ts +0 -3
  1444. package/dist/types/pages/Nav.d.ts +0 -3
  1445. package/dist/types/pages/Pagination.d.ts +0 -3
  1446. package/dist/types/pages/Prompt.d.ts +0 -3
  1447. package/dist/types/pages/SideNav.d.ts +0 -3
  1448. package/dist/types/pages/Spacer.d.ts +0 -3
  1449. package/dist/types/pages/Statsbar.d.ts +0 -3
  1450. package/dist/types/pages/Stepper.d.ts +0 -3
  1451. package/dist/types/pages/Tabs.d.ts +0 -3
  1452. package/dist/types/pages/Tag.d.ts +0 -3
  1453. package/dist/types/pages/Tiles.d.ts +0 -3
  1454. package/dist/types/pages/ToastMessage.d.ts +0 -3
  1455. package/dist/types/pages/ToastMessageCountdown.d.ts +0 -3
  1456. package/dist/types/pages/Tooltip.d.ts +0 -3
  1457. package/dist/types/pages/Typography.d.ts +0 -3
  1458. package/dist/types/pages/Wizard.d.ts +0 -3
  1459. package/dist/types/stencil-public-runtime.d.ts +0 -1652
  1460. package/dist/types/types/event.types.d.ts +0 -4
  1461. package/dist/types/types/interfaces.d.ts +0 -2
  1462. package/dist/types/types/typings.d.ts +0 -6
  1463. package/dist/types/utils/array.utils.d.ts +0 -1
  1464. package/dist/types/utils/bool.utils.d.ts +0 -1
  1465. package/dist/types/utils/ds.utils.d.ts +0 -1
  1466. package/dist/types/utils/file.utils.d.ts +0 -3
  1467. package/dist/types/utils/helpers.types.d.ts +0 -49
  1468. package/dist/types/utils/icon.utils.d.ts +0 -4
  1469. package/dist/types/utils/number.utils.d.ts +0 -1
  1470. package/dist/types/utils/string.utils.d.ts +0 -3
  1471. package/dist/types/utils/utils.d.ts +0 -20
  1472. package/loader/cdn.js +0 -3
  1473. package/loader/index.cjs.js +0 -3
  1474. package/loader/index.d.ts +0 -21
  1475. package/loader/index.es2017.js +0 -3
  1476. package/loader/index.js +0 -4
  1477. package/loader/package.json +0 -11
@@ -1 +0,0 @@
1
- {"file":"gov-pagination.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;AAKO,MAAM,eAAe,GAAGA,UAAI,CAACC,WAAK,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAA;AAGjD,MAAM,kBAAkB,GAAGD,UAAI,CAACE,iBAAQ,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC,CAAA;AAG1E,IAAY,eAGX;AAHD,WAAY,eAAe;EAC1B,oCAAiB,CAAA;EACjB,oCAAiB,CAAA;AAClB,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;AAGM,MAAM,eAAe,GAAG;EAC9B,IAAI,EAAE,gBAAgB;EACtB,IAAI,EAAE,sBAAsB;EAC5B,IAAI,EAAE,sBAAsB;EAC5B,SAAS,EAAE,6BAA6B;EACxC,QAAQ,EAAE,4BAA4B;EACtC,UAAU,EAAE,8BAA8B;EAC1C,KAAK,EAAE,uBAAuB;EAC9B,KAAK,EAAE,uBAAuB;CAC9B;;SCde,QAAQ,CAAC,UAAkB,EAAE,WAAW,GAAG,CAAC,EAAE,QAAQ,G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CAAA;IAC7EC,sBAAiB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE,eAAe,CAAC,IAAI,CAAC,CAAA;GAC5E;;;;;;;;;;;;;;;;","names":["pick","Sizes","Variants","govHost","createID","validateProp","canValidateWcagOnRender","delay","toBoolAttrIfDefined","h","Host","prepareClasses","Fragment","validateWcagProp","validateWcagLabel"],"sources":["../../../packages/core/src/components/gov-pagination/constants.ts","../../../packages/core/src/components/gov-pagination/pagination.ts","../../../packages/core/src/utils/array.utils.ts","../../../packages/core/src/components/gov-pagination/gov-pagination.scss?tag=gov-pagination","../../../packages/core/src/components/gov-pagination/gov-pagination.tsx"],"sourcesContent":["import { Sizes } from '../../core/constants/sizes'\nimport { Variants } from '../../core/constants/variants'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const PaginationSizes = pick(Sizes, ['_S', '_M'])\nexport type PaginationSizeType = `${ValueOf<typeof PaginationSizes>}`\n\nexport const PaginationVariants = pick(Variants, ['PRIMARY', 'SECONDARY'])\nexport type PaginationVariantType = `${ValueOf<typeof PaginationVariants>}`\n\nexport enum PaginationTypes {\n\tBUTTON = 'button',\n\tSELECT = 'select',\n}\nexport type PaginationType = `${ValueOf<typeof PaginationTypes>}`\n\nexport const PaginationClass = {\n\troot: 'gov-pagination',\n\tlist: 'gov-pagination__list',\n\titem: 'gov-pagination__item',\n\titemArrow: 'gov-pagination__item--arrow',\n\titemMore: 'gov-pagination__item--more',\n\titemSelect: 'gov-pagination__item--select',\n\tinner: 'gov-pagination__inner',\n\tarrow: 'gov-pagination__arrow',\n}\n","export interface Pagination {\n\ttotalItems: number\n\tcurrentPage: number\n\tpageSize: number\n\ttotalPages: number\n\tstartPage: number\n\tendPage: number\n\tstartIndex: number\n\tendIndex: number\n\tpages: number[]\n}\n\nexport function paginate(totalItems: number, currentPage = 1, pageSize = 10, maxPages = 10): Pagination {\n\t// calculate total pages\n\tconst totalPages = Math.ceil(totalItems / pageSize)\n\n\t// ensure current page isn't out of range\n\tif (currentPage < 1) {\n\t\tcurrentPage = 1\n\t} else if (currentPage > totalPages) {\n\t\tcurrentPage = totalPages\n\t}\n\n\tlet startPage: number, endPage: number\n\tif (totalPages <= maxPages) {\n\t\t// total pages less than max so show all pages\n\t\tstartPage = 1\n\t\tendPage = totalPages\n\t} else {\n\t\t// total pages more than max so calculate start and end pages\n\t\tconst maxPagesBeforeCurrentPage = Math.floor(maxPages / 2)\n\t\tconst maxPagesAfterCurrentPage = Math.ceil(maxPages / 2) - 1\n\t\tif (currentPage <= maxPagesBeforeCurrentPage) {\n\t\t\t// current page near the start\n\t\t\tstartPage = 1\n\t\t\tendPage = maxPages\n\t\t} else if (currentPage + maxPagesAfterCurrentPage >= totalPages) {\n\t\t\t// current page near the end\n\t\t\tstartPage = totalPages - maxPages + 1\n\t\t\tendPage = totalPages\n\t\t} else {\n\t\t\t// current page somewhere in the middle\n\t\t\tstartPage = currentPage - maxPagesBeforeCurrentPage\n\t\t\tendPage = currentPage + maxPagesAfterCurrentPage\n\t\t}\n\t}\n\n\t// calculate start and end item indexes\n\tconst startIndex = (currentPage - 1) * pageSize\n\tconst endIndex = Math.min(startIndex + pageSize - 1, totalItems - 1)\n\n\t// create an array of pages to ng-repeat in the pager control\n\tconst pages = Array.from(Array(endPage + 1 - startPage).keys()).map(i => startPage + i)\n\n\t// return object with all pager properties required by the view\n\treturn {\n\t\ttotalItems: totalItems,\n\t\tcurrentPage: currentPage,\n\t\tpageSize: pageSize,\n\t\ttotalPages: totalPages,\n\t\tstartPage: startPage,\n\t\tendPage: endPage,\n\t\tstartIndex: startIndex,\n\t\tendIndex: endIndex,\n\t\tpages: pages,\n\t}\n}\n","export const createArrayRange = (from: number, to: number): number[] => {\n\tif (Number.isInteger(from) && Number.isInteger(to)) {\n\t\treturn [...Array(to + 1).keys()].slice(from)\n\t}\n\treturn []\n}\n","/*\n * Pagination\n */\n\n$class: \".gov-pagination\";\n\n#{$class} {\n\t@include base();\n\t&__list {\n\t\t@extend %reset-ul;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tflex-wrap: wrap;\n\t\tfont-weight: bold;\n\t\ttext-align: center;\n\t}\n\t&__list &__item {\n\t\t@extend %reset-ul-li;\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\tmargin: 0;\n\t\tpadding: rem-calc(2);\n\t\tborder-radius: $border-radius;\n\t\toverflow: hidden;\n\t\t&--arrow {\n\t\t\tdisplay: flex;\n\t\t}\n\t\t&--select {\n\t\t\tz-index: 1;\n\t\t\tdisplay: flex;\n\t\t\toverflow: visible;\n\t\t\tpadding: rem-calc(0 16);\n\t\t}\n\t}\n\t&__arrow {\n\t\tmargin: 0;\n\t}\n\t&__item--more {\n\t\t.gov-form-select {\n\t\t\tselect {\n\t\t\t\tborder: none !important;\n\t\t\t\tpadding-right: rem-calc(12) !important;\n\t\t\t}\n\t\t\t.gov-icon {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n\t&__inner {\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\talign-self: stretch;\n\t\twidth: 100%;\n\t\ttext-decoration: none;\n\t\t// Use hover styles from gov-button to active page button\n\t\t&[wcag-current=\"true\"] {\n\t\t\t@each $variant, $types in $button-variants {\n\t\t\t\t@each $type, $definitions in $types {\n\t\t\t\t\t&[type=\"#{$type}\"][variant=\"#{$variant}\"] {\n\t\t\t\t\t\t.element {\n\t\t\t\t\t\t\tbackground-color: deep-map-get($button-variants, $variant, $type, \"hover-bg\");\n\t\t\t\t\t\t\tcolor: deep-map-get($button-variants, $variant, $type, \"hover-color\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// VARIANTS\n\t@each $size, $definitions in $pagination-sizes {\n\t\t&[size=\"#{$size}\"] {\n\t\t\t#{$class} {\n\t\t\t\t&__inner {\n\t\t\t\t\t@include typography(get(\"font\", $definitions));\n\t\t\t\t\tfont-weight: inherit;\n\t\t\t\t\t.element {\n\t\t\t\t\t\tmin-width: get(\"button-size\", $definitions);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","import Fragment from \"../../helpers/Fragment\"\nimport { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch } from \"@stencil/core\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport {\n\tPaginationClass,\n\tPaginationSizeType,\n\tPaginationSizes,\n\tPaginationVariantType,\n\tPaginationType,\n\tPaginationTypes,\n\tPaginationVariants,\n} from \"./constants\"\nimport { govHost, prepareClasses } from \"../../helpers/Dom/template\"\nimport { paginate, Pagination } from \"./pagination\"\nimport { toBoolAttrIfDefined } from \"../../helpers/Dom/template\"\nimport { validateWcagLabel, validateWcagProp } from \"../../helpers/Validate/wcag\"\nimport { canValidateWcagOnRender } from \"../../helpers/Dom/win\"\nimport { delay } from \"../../utils/utils\"\nimport { createID } from \"../../utils/string.utils\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\nimport {createArrayRange } from \"../../utils/array.utils\"\nimport { FormSelectEvent } from \"../gov-form/select/gov-form-select.types\"\nimport { PaginationEvent } from \"./gov-pagination.types\"\n\n@Component({\n\ttag: \"gov-pagination\",\n\tstyleUrl: \"gov-pagination.scss\",\n})\nexport class GovPagination {\n\tprivate h: GovHost\n\tprivate readonly pageSelectId: string\n\n\tprivate spreadSelectRef?: HTMLGovFormSelectElement\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.pageSelectId = createID(\"GovPageSelect\")\n\t}\n\n\t@Element() readonly host: HTMLGovPaginationElement\n\t/**\n\t * Pagination type\n\t */\n\t@Prop() readonly type: PaginationType = \"button\"\n\t/**\n\t * Currently displayed page\n\t */\n\t@Prop() readonly current: number = 1\n\t/**\n\t * Total count of entries\n\t */\n\t@Prop() readonly total: number = 0\n\t/**\n\t * Set on active page\n\t */\n\t@Prop() readonly inverse: boolean\n\t/**\n\t * Pagination's size\n\t */\n\t@Prop() readonly size?: PaginationSizeType = \"m\"\n\t/**\n\t * Style variation of the pagination.\n\t */\n\t@Prop() readonly variant?: PaginationVariantType = \"primary\"\n\t/**\n\t * Maximum number of entries per page\n\t */\n\t@Prop({ attribute: \"page-size\" }) readonly pageSize: number = 10\n\t/**\n\t * Maximum pages displayed for selection\n\t */\n\t@Prop({ attribute: \"max-pages\" }) readonly maxPages: number = 5\n\t/**\n\t * Setting a link to redirect to a given page.\n\t * The {PAGE} wildcard can be used in the link to replace the page number.\n\t * Note that in the case of paging through a link, it is always necessary to send to the component the current page where the user is.\n\t */\n\t@Prop() readonly link: string\n\t/**\n\t * Adds accessible label for the pagination that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: \"wcag-label\" }) readonly wcagLabel: string\n\t/**\n\t * Indicates the id of a component that labels the pagination.\n\t */\n\t@Prop({ attribute: \"wcag-labelled-by\" }) readonly wcagLabelledBy: string\n\t/**\n\t * Adds accessible label for the page select\n\t */\n\t@Prop({ attribute: \"wcag-select-label\" }) readonly wcagSelectLabel: string = \"Vybrat stranu\"\n\t/**\n\t * Adds accessible label for the page item\n\t */\n\t@Prop({ attribute: \"wcag-page-label\" }) readonly wcagPageLabel: string = \"Strana\"\n\t/**\n\t * Event called when changing the page with the current setting of the whole paging\n\t */\n\t@Event({ eventName: \"gov-page\" }) govPage: EventEmitter<PaginationEvent>\n\n\t@State() pagination: Pagination\n\n\t@Watch(\"type\")\n\tvalidateType(newValue: string): void {\n\t\tvalidateProp(PaginationTypes, newValue, PaginationClass.root)\n\t}\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(PaginationSizes, newValue, PaginationClass.root)\n\t}\n\n\t@Watch(\"variant\")\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(PaginationVariants, newValue, PaginationClass.root)\n\t}\n\n\t@Watch(\"current\")\n\t@Watch(\"total\")\n\t@Watch(\"pageSize\")\n\t@Watch(\"maxPages\")\n\trecalculate(): void {\n\t\tthis.recalculatePagination(this.current)\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.recalculatePagination(this.current)\n\t\tthis.validateSize(this.size)\n\t\tthis.validateVariant(this.variant)\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\tprivate recalculatePagination(currentPage: number) {\n\t\tthis.pagination = paginate(this.total, currentPage, this.pageSize, this.maxPages)\n\t}\n\n\tprivate isActivePageClass(originalClass: string, page: number) {\n\t\tif (this.pagination.currentPage === page) {\n\t\t\treturn originalClass + \" is-active\"\n\t\t} else {\n\t\t\treturn originalClass\n\t\t}\n\t}\n\n\tprivate prepareLinkUrl(page: number) {\n\t\tif (this.link) {\n\t\t\treturn String(this.link).replace(\"{PAGE}\", String(page))\n\t\t}\n\t\treturn undefined\n\t}\n\n\tprivate resetSelectValue() {\n\t\tif (this.spreadSelectRef) {\n\t\t\tthis.spreadSelectRef.getRef()\n\t\t\t\t.then((el: HTMLSelectElement) => {\n\t\t\t\t\tel.value = '...'\n\t\t\t\t})\n\t\t}\n\t}\n\n\trender() {\n\t\tconst pageResolver = (page: number, content: any) => {\n\t\t\tconst isDisabled = page === -1\n\t\t\tconst ariaCurrent = toBoolAttrIfDefined(this.pagination.currentPage === page ? true : undefined)\n\t\t\treturn (\n\t\t\t\t<gov-button\n\t\t\t\t\thref={this.prepareLinkUrl(page)}\n\t\t\t\t\tvariant={this.variant}\n\t\t\t\t\tsize={this.size}\n\t\t\t\t\ttype=\"base\"\n\t\t\t\t\tdisabled={isDisabled}\n\t\t\t\t\ton-gov-click={(e) => this.onClickHandler(e, page)}\n\t\t\t\t\twcag-label={page > -1 ? this.wcagPageLabel + \" \" + page : undefined}\n\t\t\t\t\twcag-current={ariaCurrent}\n\t\t\t\t\tclass={PaginationClass.inner}>\n\t\t\t\t\t{content}\n\t\t\t\t</gov-button>\n\t\t\t)\n\t\t}\n\t\treturn (\n\t\t\t<Host class={this.h.classes(PaginationClass.root)} type={this.type} variant={this.variant} size={this.size}>\n\t\t\t\t<nav aria-label={this.wcagLabel} aria-labelledby={this.wcagLabelledBy}>\n\t\t\t\t\t<ul class={PaginationClass.list}>\n\t\t\t\t\t\t<li class={prepareClasses([PaginationClass.item, PaginationClass.itemArrow])}>\n\t\t\t\t\t\t\t{pageResolver(\n\t\t\t\t\t\t\t\tthis.pagination.currentPage > 1 ? 1 : -1,\n\t\t\t\t\t\t\t\t<gov-icon class={PaginationClass.arrow} name=\"chevron-double-left\"></gov-icon>,\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</li>\n\n\t\t\t\t\t\t<li class={prepareClasses([PaginationClass.item, PaginationClass.itemArrow])}>\n\t\t\t\t\t\t\t{pageResolver(\n\t\t\t\t\t\t\t\tthis.pagination.startPage < this.pagination.currentPage ? this.pagination.currentPage - 1 : -1,\n\t\t\t\t\t\t\t\t<gov-icon class={PaginationClass.arrow} name=\"chevron-left\"></gov-icon>,\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</li>\n\n\t\t\t\t\t\t{this.type == \"select\" ? (\n\t\t\t\t\t\t\t<li class={prepareClasses([PaginationClass.item, PaginationClass.itemSelect])}>\n\t\t\t\t\t\t\t\t<span class={PaginationClass.inner}>\n\t\t\t\t\t\t\t\t\t<span id={this.pageSelectId} hidden>\n\t\t\t\t\t\t\t\t\t\t{this.wcagSelectLabel}\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t<gov-form-select\n\t\t\t\t\t\t\t\t\t\tsize=\"m\"\n\t\t\t\t\t\t\t\t\t\tvariant={this.variant}\n\t\t\t\t\t\t\t\t\t\twcag-labelled-by={this.pageSelectId}\n\t\t\t\t\t\t\t\t\t\ton-gov-change={this.onSelectHandler.bind(this)}>\n\t\t\t\t\t\t\t\t\t\t{createArrayRange(1, this.pagination.totalPages).map(page => (\n\t\t\t\t\t\t\t\t\t\t\t<option value={page} selected={this.pagination.currentPage === page}>\n\t\t\t\t\t\t\t\t\t\t\t\t{page}\n\t\t\t\t\t\t\t\t\t\t\t</option>\n\t\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t\t</gov-form-select>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t\t{this.pagination.pages.map(page => (\n\t\t\t\t\t\t\t\t\t<li class={this.isActivePageClass(PaginationClass.item, page)}>{pageResolver(page, page)}</li>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t{this.pagination.totalPages ? (\n\t\t\t\t\t\t\t\t\t<li class={prepareClasses([PaginationClass.item, PaginationClass.itemMore])}>\n\t\t\t\t\t\t\t\t\t<span class={PaginationClass.inner}>\n\t\t\t\t\t\t\t\t\t\t<span id={this.pageSelectId} hidden>\n\t\t\t\t\t\t\t\t\t\t\t{this.wcagSelectLabel}\n\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t\t<gov-form-select\n\t\t\t\t\t\t\t\t\t\t\tsize=\"m\"\n\t\t\t\t\t\t\t\t\t\t\tvariant={this.variant}\n\t\t\t\t\t\t\t\t\t\t\twcag-labelled-by={this.pageSelectId}\n\t\t\t\t\t\t\t\t\t\t\tref={el => (this.spreadSelectRef = el as HTMLGovFormSelectElement)}\n\t\t\t\t\t\t\t\t\t\t\ton-gov-change={this.onSelectHandler.bind(this)}>\n\t\t\t\t\t\t\t\t\t\t\t<option selected hidden>...</option>\n\t\t\t\t\t\t\t\t\t\t\t{createArrayRange(1, this.pagination.totalPages).map(page => (\n\t\t\t\t\t\t\t\t\t\t\t\t<option value={page} selected={false}>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{page}\n\t\t\t\t\t\t\t\t\t\t\t\t</option>\n\t\t\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t\t\t</gov-form-select>\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t<li class={prepareClasses([PaginationClass.item, PaginationClass.itemArrow])}>\n\t\t\t\t\t\t\t{pageResolver(\n\t\t\t\t\t\t\t\tthis.pagination.totalPages > this.pagination.currentPage ? this.pagination.currentPage + 1 : -1,\n\t\t\t\t\t\t\t\t<gov-icon class={PaginationClass.arrow} name=\"chevron-right\"></gov-icon>,\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</li>\n\n\t\t\t\t\t\t<li class={prepareClasses([PaginationClass.item, PaginationClass.itemArrow])}>\n\t\t\t\t\t\t\t{pageResolver(\n\t\t\t\t\t\t\t\tthis.pagination.totalPages > this.pagination.currentPage ? this.pagination.totalPages : -1,\n\t\t\t\t\t\t\t\t<gov-icon class={PaginationClass.arrow} name=\"chevron-double-right\"></gov-icon>,\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</nav>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e: CustomEvent, page: number): void {\n\t\te.stopPropagation()\n\t\tthis.recalculatePagination(page)\n\t\tthis.govPage.emit({\n\t\t\tcomponent: PaginationClass.root,\n\t\t\tpagination: this.pagination\n\t\t})\n\t}\n\n\tprivate onSelectHandler(e: CustomEvent<FormSelectEvent>): void {\n\t\te.stopPropagation()\n\t\tconst value = e.detail.value\n\t\tconst page = parseInt(value)\n\t\tthis.resetSelectValue()\n\t\tif (isNaN(page) === false) {\n\t\t\tthis.recalculatePagination(page)\n\t\t\tif (this.link) {\n\t\t\t\twindow.location.href = this.prepareLinkUrl(page)\n\t\t\t} else {\n\t\t\t\tthis.govPage.emit({\n\t\t\t\t\tcomponent: PaginationClass.root,\n\t\t\t\t\tpagination: this.pagination\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagProp(this.wcagPageLabel, \"wcag-page-label\", PaginationClass.root)\n\t\tvalidateWcagLabel(this.wcagLabel, this.wcagLabelledBy, PaginationClass.root)\n\t}\n}\n"],"version":3}
@@ -1,103 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-7b6bba34.js');
6
- const template = require('./template-4b951d1d.js');
7
- const win = require('./win-5521073d.js');
8
- const gov_log = require('./gov.log-b842920d.js');
9
- const wcag = require('./wcag-e6257f27.js');
10
- const string_utils = require('./string.utils-0f08c48c.js');
11
- const utils = require('./utils-c9b1bba3.js');
12
- const constants = require('./constants-66cb0615.js');
13
-
14
- const govPromptCss = ".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)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-modal{display:none}.gov-modal__dialog{z-index:101;position:fixed;top:50%;left:50%;display:flex;justify-content:center;align-items:center;width:100%;max-width:var(--gov-modal-max-width, 52.5rem);height:100%;padding:0.5rem;border:none;background:transparent;transform:translate(-50%, -50%);pointer-events:none}.gov-modal__inner{position:relative;display:flex;flex-direction:column;width:100%;max-height:100%;border-radius:var(--gov-border-radius, 0.1875rem);background:var(--gov-modal-bg, var(--gov-color-neutral-white));overflow:hidden;pointer-events:auto;box-shadow:0 0 1.5rem rgba(var(--gov-color-secondary-800-rgb), 0.24)}.gov-modal__header{display:flex;gap:1rem;align-items:flex-start;padding:1.5rem 1rem;border-bottom:var(--gov-modal-border-color, 0.0625rem solid var(--gov-color-secondary-500))}.gov-modal__icon{flex:0 0 auto;padding-top:calc((var(--gov-text-3xl-font-size) * 1.5 - 1.5rem) / 2)}.gov-modal__icon>*{width:1.5rem;height:1.5rem}.gov-modal__title{font-weight:var(--gov-text-3xl-font-weight);font-size:var(--gov-text-3xl-font-size);line-height:var(--gov-text-3xl-line-height);letter-spacing:var(--gov-text-3xl-letter-spacing);margin:0}.gov-modal__close{flex:0 0 auto;margin-left:auto}.gov-modal__content{height:100%;padding:1.5rem 1rem;color:var(--gov-modal-text-color, var(--gov-color-secondary-700));overflow:auto}.gov-modal__content>*:last-child{margin-bottom:0}.gov-modal__footer,.gov-modal__actions{padding:1.5rem 1rem;border-top:var(--gov-modal-border-color, 0.0625rem solid var(--gov-color-secondary-500))}.gov-modal__actions{display:flex;gap:0.5rem 1rem;flex-wrap:wrap;justify-content:flex-end}.gov-modal__dialog:focus .gov-modal__inner{outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base)}.gov-modal[open=\"\"],.gov-modal[open=true i],.gov-modal[open=\"1\"]{display:block}@media (min-width: 30em){.gov-modal__dialog{max-width:calc(var(--gov-modal-max-width, 52.5rem) + 3rem);padding:1.5rem}.gov-modal__dialog:focus{outline-offset:-1.5rem}.gov-modal__inner{box-shadow:0 0 2rem rgba(var(--gov-color-secondary-800-rgb), 0.32)}.gov-modal--prompt .gov-modal__dialog{max-width:calc(var(--gov-modal-prompt-max-width, 33.125rem) + 3rem)}}@media (min-width: 48em){.gov-modal__header{gap:1.25rem;padding:2rem 2.5rem 2rem 3rem}.gov-modal__content{padding:2rem 3rem}.gov-modal__footer{padding:1rem 3rem}.gov-modal--prompt .gov-modal__header,.gov-modal--prompt .gov-modal__content,.gov-modal--prompt .gov-modal__footer,.gov-modal--prompt .gov-modal__actions{padding:1.5rem}}";
15
-
16
- const GovPrompt = class {
17
- constructor(hostRef) {
18
- index.registerInstance(this, hostRef);
19
- this.govClose = index.createEvent(this, "gov-close", 7);
20
- this.open = false;
21
- this.label = undefined;
22
- this.role = 'dialog';
23
- this.labelTag = 'h2';
24
- this.wcagLabelledBy = undefined;
25
- this.wcagDescribedBy = undefined;
26
- this.wcagCloseLabel = 'Zavřít okno';
27
- this.wcagCloseLabelledBy = undefined;
28
- this.h = template.govHost(this.host);
29
- this.labelId = string_utils.createID('GovPromptLabel');
30
- this.contentId = string_utils.createID('GovPromptContent');
31
- }
32
- validateLabelTag(newValue) {
33
- const validTags = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
34
- if (newValue) {
35
- if (!validTags.includes(newValue)) {
36
- gov_log.govErrorLog(`[${constants.ModalClass.root}]: Tag ${newValue} is not allowed.`);
37
- }
38
- }
39
- }
40
- watchOpen(newValue) {
41
- this.open = newValue;
42
- }
43
- showModal() {
44
- this.open = true;
45
- document.body.classList.add(constants.ModalClass.bodyFix);
46
- }
47
- hideModal() {
48
- this.open = false;
49
- document.body.classList.remove(constants.ModalClass.bodyFix);
50
- }
51
- async componentWillRender() {
52
- if (this.open) {
53
- this.showModal();
54
- }
55
- else {
56
- this.hideModal();
57
- }
58
- }
59
- async componentDidRender() {
60
- if (win.canValidateWcagOnRender()) {
61
- await utils.delay(500);
62
- await this.validateWcag();
63
- }
64
- }
65
- render() {
66
- const LabelTag = this.labelTag;
67
- return (index.h(index.Host, { class: this.h.classes(constants.ModalClass.rootPrompt), open: this.open }, index.h("dialog", { class: constants.ModalClass.dialog, hidden: !this.open, tabindex: "-1", open: this.open, "aria-modal": "true", "aria-hidden": template.toBoolAttr(!this.open), "aria-labelledby": this.wcagLabelledBy || this.labelId, "aria-describedby": this.wcagDescribedBy || this.contentId, role: this.role }, index.h("div", { class: constants.ModalClass.inner }, index.h("div", { class: constants.ModalClass.header }, this.h.hasSlot('icon') && (index.h("div", { class: constants.ModalClass.icon }, index.h("slot", { name: "icon" }))), this.label && (index.h(LabelTag, { class: constants.ModalClass.title, id: this.labelId }, this.label)), index.h("gov-button", { class: constants.ModalClass.close, variant: "primary", wcagLabel: this.wcagCloseLabel, wcagLabelledBy: this.wcagCloseLabelledBy, type: "base", "on-gov-click": this.onCloseHandler.bind(this) }, index.h("gov-icon", { name: "x-lg" }))), index.h("div", { class: constants.ModalClass.content, id: this.contentId }, index.h("slot", null)), index.h("div", { class: constants.ModalClass.actions }, index.h("slot", { name: "actions" })))), this.open ? (index.h("gov-backdrop", { "wcag-label": this.wcagCloseLabel, "wcag-labelled-by": this.wcagCloseLabelledBy, "on-gov-click": this.onCloseHandler.bind(this) })) : null));
68
- }
69
- onCloseHandler(e) {
70
- e.stopPropagation();
71
- this.hideModal();
72
- this.govClose.emit(e);
73
- }
74
- /**
75
- * Showing the modal
76
- */
77
- async show() {
78
- this.showModal();
79
- }
80
- /**
81
- * Hiding the modal
82
- */
83
- async hide() {
84
- this.hideModal();
85
- }
86
- /**
87
- * Validate the WCAG attributes of the component
88
- */
89
- async validateWcag() {
90
- wcag.validateWcagRef(this.wcagLabelledBy, 'wcag-labelled-by', constants.ModalClass.root);
91
- wcag.validateWcagRef(this.wcagDescribedBy, 'wcag-described-by', constants.ModalClass.root);
92
- }
93
- get host() { return index.getElement(this); }
94
- static get watchers() { return {
95
- "labelTag": ["validateLabelTag"],
96
- "open": ["watchOpen"]
97
- }; }
98
- };
99
- GovPrompt.style = govPromptCss;
100
-
101
- exports.gov_prompt = GovPrompt;
102
-
103
- //# sourceMappingURL=gov-prompt.cjs.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"gov-prompt.entry.cjs.js","mappings":";;;;;;;;;;;;;AAAA,MAAM,YAAY,GAAG,2yFAA2yF;;MCenzF,SAAS;EAKrB;;;gBAUgC,KAAK;;gBAQiB,QAAQ;oBAIA,IAAI;;;0BAYS,aAAa;;IAjCvF,IAAI,CAAC,CAAC,GAAGA,gBAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC3B,IAAI,CAAC,OAAO,GAAGC,qBAAQ,CAAC,gBAAgB,CAAC,CAAA;IACzC,IAAI,CAAC,SAAS,GAAGA,qBAAQ,CAAC,kBAAkB,CAAC,C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I,CAAC,cAAc,sBAAoB,IAAI,CAAC,mBAAmB,kBAAgB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,GAAI,IACxI,IAAI,CACF,EACP;GACD;EAEO,cAAc,CAAC,CAAe;IACrC,CAAC,CAAC,eAAe,EAAE,CAAA;IACnB,IAAI,CAAC,SAAS,EAAE,CAAA;IAChB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;GACrB;;;;EAMD,MAAM,IAAI;IACT,IAAI,CAAC,SAAS,EAAE,CAAA;GAChB;;;;EAMD,MAAM,IAAI;IACT,IAAI,CAAC,SAAS,EAAE,CAAA;GAChB;;;;EAMD,MAAM,YAAY;IACjBG,oBAAe,CAAC,IAAI,CAAC,cAAc,EAAE,kBAAkB,EAAEN,oBAAU,CAAC,IAAI,CAAC,CAAA;IACzEM,oBAAe,CAAC,IAAI,CAAC,eAAe,EAAE,mBAAmB,EAAEN,oBAAU,CAAC,IAAI,CAAC,CAAA;GAC3E;;;;;;;;;;;","names":["govHost","createID","govErrorLog","ModalClass","canValidateWcagOnRender","delay","h","Host","toBoolAttr","validateWcagRef"],"sources":["../../../packages/core/src/components/gov-promp/gov-prompt.scss?tag=gov-prompt","../../../packages/core/src/components/gov-promp/gov-prompt.tsx"],"sourcesContent":["/*\n * Prompt\n */\n\n// $class: \".gov-prompt\";\n@import \"../gov-modal/gov-modal.scss\";\n\n// #{$class} {\n// \t//\n// }\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch } from '@stencil/core'\nimport { govHost, toBoolAttr } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { canValidateWcagOnRender } from '../../helpers/Dom/win'\nimport { govErrorLog } from '../../helpers/Log/gov.log'\nimport { validateWcagRef } from '../../helpers/Validate/wcag'\nimport { Nullable } from '../../types/interfaces'\nimport { createID } from '../../utils/string.utils'\nimport { delay } from '../../utils/utils'\nimport { ModalClass } from '../gov-modal/constants'\n\n@Component({\n\ttag: 'gov-prompt',\n\tstyleUrl: 'gov-prompt.scss',\n})\nexport class GovPrompt {\n\tprivate h: GovHost\n\tprivate readonly labelId: string\n\tprivate readonly contentId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.labelId = createID('GovPromptLabel')\n\t\tthis.contentId = createID('GovPromptContent')\n\t}\n\n\t@Element() host: HTMLGovPromptElement\n\t/**\n\t * Attribute for modal window display\n\t */\n\t@Prop({ mutable: true }) open = false\n\t/**\n\t * Title of modal window\n\t */\n\t@Prop() label: string\n\t/**\n\t * Role of modal\n\t */\n\t@Prop({ attribute: 'role' }) role: Nullable<string> = 'dialog'\n\t/**\n\t * Used to change the HTML tag in the modal label for correct semantic structure\n\t */\n\t@Prop({ attribute: 'label-tag' }) readonly labelTag: string = 'h2'\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({ attribute: 'wcag-labelled-by' }) wcagLabelledBy: string\n\t/**\n\t * Indicates the id of a component that describes the modal.\n\t */\n\t@Prop({ attribute: 'wcag-described-by' }) wcagDescribedBy: string\n\t/**\n\t * Adds accessible label for the modal close button that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-close-label' }) readonly wcagCloseLabel: string = 'Zavřít okno'\n\t/**\n\t * A string of identifiers that indicate alternative label elements for closing the modal window\n\t */\n\t@Prop({ attribute: 'wcag-close-labelled-by' }) wcagCloseLabelledBy: string\n\t/**\n\t * Emitted when modal window closes.\n\t */\n\t@Event({ eventName: 'gov-close' }) govClose: EventEmitter<PointerEvent>\n\n\t@Watch('labelTag')\n\tvalidateLabelTag(newValue: string): void {\n\t\tconst validTags = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6']\n\t\tif (newValue) {\n\t\t\tif (!validTags.includes(newValue)) {\n\t\t\t\tgovErrorLog(`[${ModalClass.root}]: Tag ${newValue} is not allowed.`)\n\t\t\t}\n\t\t}\n\t}\n\n\t@Watch('open')\n\twatchOpen(newValue: boolean): void {\n\t\tthis.open = newValue\n\t}\n\n\tprivate showModal() {\n\t\tthis.open = true\n\t\tdocument.body.classList.add(ModalClass.bodyFix)\n\t}\n\n\tprivate hideModal() {\n\t\tthis.open = false\n\t\tdocument.body.classList.remove(ModalClass.bodyFix)\n\t}\n\n\tasync componentWillRender() {\n\t\tif (this.open) {\n\t\t\tthis.showModal()\n\t\t} else {\n\t\t\tthis.hideModal()\n\t\t}\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\tconst LabelTag = this.labelTag\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ModalClass.rootPrompt)} open={this.open}>\n\t\t\t\t<dialog\n\t\t\t\t\tclass={ModalClass.dialog}\n\t\t\t\t\thidden={!this.open}\n\t\t\t\t\ttabindex=\"-1\"\n\t\t\t\t\topen={this.open}\n\t\t\t\t\taria-modal=\"true\"\n\t\t\t\t\taria-hidden={toBoolAttr(!this.open)}\n\t\t\t\t\taria-labelledby={this.wcagLabelledBy || this.labelId}\n\t\t\t\t\taria-describedby={this.wcagDescribedBy || this.contentId}\n\t\t\t\t\trole={this.role}\n\t\t\t\t>\n\t\t\t\t\t<div class={ModalClass.inner}>\n\t\t\t\t\t\t<div class={ModalClass.header}>\n\t\t\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t\t\t<div class={ModalClass.icon}>\n\t\t\t\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t{this.label && (\n\t\t\t\t\t\t\t\t<LabelTag class={ModalClass.title} id={this.labelId}>\n\t\t\t\t\t\t\t\t\t{this.label}\n\t\t\t\t\t\t\t\t</LabelTag>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t<gov-button\n\t\t\t\t\t\t\t\tclass={ModalClass.close}\n\t\t\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\t\t\twcagLabel={this.wcagCloseLabel}\n\t\t\t\t\t\t\t\twcagLabelledBy={this.wcagCloseLabelledBy}\n\t\t\t\t\t\t\t\ttype=\"base\"\n\t\t\t\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<gov-icon name=\"x-lg\" />\n\t\t\t\t\t\t\t</gov-button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class={ModalClass.content} id={this.contentId}>\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class={ModalClass.actions}>\n\t\t\t\t\t\t\t<slot name=\"actions\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</dialog>\n\n\t\t\t\t{this.open ? (\n\t\t\t\t\t<gov-backdrop wcag-label={this.wcagCloseLabel} wcag-labelled-by={this.wcagCloseLabelledBy} on-gov-click={this.onCloseHandler.bind(this)} />\n\t\t\t\t) : null}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onCloseHandler(e: PointerEvent) {\n\t\te.stopPropagation()\n\t\tthis.hideModal()\n\t\tthis.govClose.emit(e)\n\t}\n\n\t/**\n\t * Showing the modal\n\t */\n\t@Method()\n\tasync show(): Promise<void> {\n\t\tthis.showModal()\n\t}\n\n\t/**\n\t * Hiding the modal\n\t */\n\t@Method()\n\tasync hide(): Promise<void> {\n\t\tthis.hideModal()\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagRef(this.wcagLabelledBy, 'wcag-labelled-by', ModalClass.root)\n\t\tvalidateWcagRef(this.wcagDescribedBy, 'wcag-described-by', ModalClass.root)\n\t}\n}\n"],"version":3}
@@ -1,87 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-7b6bba34.js');
6
- const gov_log = require('./gov.log-b842920d.js');
7
- const constants = require('./constants-25f7a6be.js');
8
- const template = require('./template-4b951d1d.js');
9
- require('./win-5521073d.js');
10
- require('./utils-c9b1bba3.js');
11
-
12
- const govSideNavItemCss = ".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)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-side-nav-item{position:relative;display:block;width:100%}.gov-side-nav-item__header{display:flex;align-items:center;border-bottom:var(--gov-side-nav-border, 0.0625rem solid var(--gov-color-secondary-500))}.gov-side-nav-item__name{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;border:0;background-color:transparent;text-align:center;text-decoration:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;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);display:flex;gap:1rem;flex:1 1 auto;justify-content:flex-start;padding:0.75rem 1rem 0.75rem 0.5rem;color:var(--gov-side-nav-color, var(--gov-color-secondary));text-align:left;transition:background-color 150ms}.gov-side-nav-item__name:focus{outline:none}.gov-side-nav-item__name:focus{outline:none}.gov-side-nav-item__name: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}button.gov-side-nav-item__name{padding-right:0 !important}@media not all and (pointer: coarse){.gov-side-nav-item__name:hover{background:var(--gov-side-nav-hover-bg, var(--gov-color-primary-200))}}.gov-side-nav-item__icon{display:flex;flex:0 0 auto;width:1rem;height:1rem}.gov-side-nav-item__icon .gov-icon{margin:0;color:var(--gov-side-nav-color, var(--gov-color-secondary))}.gov-side-nav-item__label{color:inherit}.gov-side-nav-item__chip{display:flex;flex:0 0 auto}.gov-side-nav-item__arrow{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;border:0;background-color:transparent;text-align:center;text-decoration:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:0 0 auto;align-self:stretch;width:3rem;margin-left:auto;color:var(--gov-side-nav-arrow-color, var(--gov-color-primary));transition:background-color 150ms}.gov-side-nav-item__arrow:focus{outline:none}.gov-side-nav-item__arrow:focus{outline:none}.gov-side-nav-item__arrow: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-side-nav-item__arrow .gov-icon{width:0.75rem;height:0.75rem}@media not all and (pointer: coarse){.gov-side-nav-item__arrow:hover{background:var(--gov-side-nav-hover-bg, var(--gov-color-primary-200))}}.gov-side-nav-item__content{display:none}.gov-side-nav-item--w-icon .gov-side-nav-item__label{margin-left:2rem}.gov-side-nav-item--w-icon .gov-side-nav-item__icon+.gov-side-nav-item__label{margin-left:0}.gov-side-nav-item .gov-side-nav-item .gov-side-nav-item__header{border:none !important}.gov-side-nav-item .gov-side-nav-item .gov-side-nav-item__name{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);padding:0.625rem 0.5rem;font-weight:bold}.gov-side-nav-item .gov-side-nav-item[aria-expanded=\"\"],.gov-side-nav-item .gov-side-nav-item[aria-expanded=true i],.gov-side-nav-item .gov-side-nav-item[aria-expanded=\"1\"]{background:var(--gov-side-nav-bg-level-2, var(--gov-color-secondary-300))}.gov-side-nav-item .gov-side-nav-item[aria-expanded=\"\"][inverse=\"\"],.gov-side-nav-item .gov-side-nav-item[aria-expanded=\"\"][inverse=true i],.gov-side-nav-item .gov-side-nav-item[aria-expanded=\"\"][inverse=\"1\"],.gov-side-nav-item .gov-side-nav-item[aria-expanded=true i][inverse=\"\"],.gov-side-nav-item .gov-side-nav-item[aria-expanded=true i][inverse=true i],.gov-side-nav-item .gov-side-nav-item[aria-expanded=true i][inverse=\"1\"],.gov-side-nav-item .gov-side-nav-item[aria-expanded=\"1\"][inverse=\"\"],.gov-side-nav-item .gov-side-nav-item[aria-expanded=\"1\"][inverse=true i],.gov-side-nav-item .gov-side-nav-item[aria-expanded=\"1\"][inverse=\"1\"]{background:var(--gov-side-nav-bg-level-2, var(--gov-color-neutral-white))}.gov-side-nav-item .gov-side-nav-item .gov-side-nav-item .gov-side-nav-item__name{gap:0.75rem;font-weight:inherit}.gov-side-nav-item[compact=\"\"] .gov-side-nav-item__header,.gov-side-nav-item[compact=true i] .gov-side-nav-item__header,.gov-side-nav-item[compact=\"1\"] .gov-side-nav-item__header{border-bottom:none}.gov-side-nav-item[aria-expanded=\"\"]>.gov-side-nav-item__header .gov-side-nav-item__arrow .gov-icon,.gov-side-nav-item[aria-expanded=true i]>.gov-side-nav-item__header .gov-side-nav-item__arrow .gov-icon,.gov-side-nav-item[aria-expanded=\"1\"]>.gov-side-nav-item__header .gov-side-nav-item__arrow .gov-icon{transform:scale(-1)}.gov-side-nav-item[aria-expanded=\"\"]>.gov-side-nav-item__content,.gov-side-nav-item[aria-expanded=true i]>.gov-side-nav-item__content,.gov-side-nav-item[aria-expanded=\"1\"]>.gov-side-nav-item__content{display:block}";
13
-
14
- const GovSideNavItem = class {
15
- constructor(hostRef) {
16
- index.registerInstance(this, hostRef);
17
- this.govChange = index.createEvent(this, "gov-change", 7);
18
- this.isExpandedState = undefined;
19
- this.inverse = false;
20
- this.compact = false;
21
- this.identifier = undefined;
22
- this.count = false;
23
- this.label = undefined;
24
- this.disabled = false;
25
- this.href = undefined;
26
- this.isExpanded = false;
27
- this.h = template.govHost(this.host);
28
- }
29
- validateLabel(newValue) {
30
- if (!newValue) {
31
- gov_log.govErrorLog(`[${constants.SideNavItemClass.root}]: Parameter label is required.`);
32
- }
33
- }
34
- emmitChange() {
35
- this.govChange.emit({ open: this.isExpandedState, element: this.host });
36
- }
37
- componentWillLoad() {
38
- this.isExpandedState = this.isExpanded;
39
- this.validateLabel(this.label);
40
- }
41
- get classNames() {
42
- const { h } = this;
43
- return template.prepareClasses([constants.SideNavItemClass.root, h.hasSlot('icon') && constants.SideNavItemClass.rootWithIcon]);
44
- }
45
- render() {
46
- const { isExpandedState, label } = this;
47
- // TODO: správný počet zanořených childů
48
- const hasChilds = this.host.children.length > 1;
49
- return (index.h(index.Host, { class: this.classNames, role: "listitem", inverse: this.inverse, "aria-expanded": template.booleanString(isExpandedState) }, this.href ? (index.h("div", { class: constants.SideNavItemClass.header }, index.h("a", { class: constants.SideNavItemClass.name, href: this.href }, this.h.hasSlot('icon') && (index.h("span", { class: constants.SideNavItemClass.icon }, index.h("slot", { name: "icon" }))), index.h("span", { class: constants.SideNavItemClass.label }, label), this.count && (index.h("span", { class: constants.SideNavItemClass.chip }, index.h("gov-chip", { variant: "secondary", size: "s", inverse: this.inverse }, "3")))), hasChilds && (index.h("button", { type: "button", class: constants.SideNavItemClass.arrow, onClick: () => this.toggle() }, index.h("gov-icon", { name: "chevron-down" }))))) : (index.h("div", { class: constants.SideNavItemClass.header }, index.h("button", { class: constants.SideNavItemClass.name, type: "button", onClick: () => this.toggle() }, this.h.hasSlot('icon') && (index.h("span", { class: constants.SideNavItemClass.icon }, index.h("slot", { name: "icon" }))), index.h("span", { class: constants.SideNavItemClass.label }, label), hasChilds && (index.h("span", { class: constants.SideNavItemClass.arrow }, index.h("gov-icon", { name: "chevron-down" })))))), hasChilds && (index.h("div", { class: constants.SideNavItemClass.content }, index.h("slot", null)))));
50
- }
51
- /**
52
- * Opening the sidenav
53
- */
54
- async open() {
55
- this.isExpandedState = true;
56
- this.emmitChange();
57
- }
58
- /**
59
- * Closing the sidenav
60
- */
61
- async close() {
62
- this.isExpandedState = false;
63
- this.emmitChange();
64
- }
65
- /**
66
- * sidenav switch
67
- */
68
- async toggle() {
69
- this.isExpandedState = !this.isExpandedState;
70
- this.emmitChange();
71
- }
72
- /**
73
- * Returns the current state of the component
74
- */
75
- async currentState() {
76
- return this.isExpandedState;
77
- }
78
- get host() { return index.getElement(this); }
79
- static get watchers() { return {
80
- "label": ["validateLabel"]
81
- }; }
82
- };
83
- GovSideNavItem.style = govSideNavItemCss;
84
-
85
- exports.gov_side_nav_item = GovSideNavItem;
86
-
87
- //# sourceMappingURL=gov-side-nav-item.cjs.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"gov-side-nav-item.entry.cjs.js","mappings":";;;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,soKAAsoK;;MCYnpK,cAAc;EAG1B;;;;mBAUoC,KAAK;mBAIL,KAAK;;iBAQP,KAAK;;oBASF,KAAK;;sBASyB,KAAK;IAvCvE,IAAI,CAAC,CAAC,GAAGA,gBAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;GAC3B;EA6CD,aAAa,CAAC,QAAgB;IAC7B,IAAI,CAAC,QAAQ,EAAE;MACdC,mBAAW,CAAC,IAAIC,0BAAgB,CAAC,IAAI,iCAAiC,CAAC,CAAA;KACvE;GACD;EAEO,WAAW;IAClB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,eAAe,EAAE,OAAO,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAA;GACvE;EAED,iBAAiB;IAChB,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,UAAU,CAAA;IACtC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;GAC9B;EAED,IAAI,UAAU;IACb,MAAM,EAAE,CAAC,EAAE,GAAG,IAAI,CAAA;IAElB,OAAOC,uBAAc,CAAC,CAACD,0BAAgB,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,IAAIA,0BAAgB,CAAC,YAAY,CAAC,CAAC,CAAA;GAClG;EAED,MAAM;IACL,MAAM,EAAE,eAAe,EAAE,KAAK,EAAE,GA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tBE,kBAAM,KAAK,EAAEF,0BAAgB,CAAC,IAAI,IACjCE,kBAAM,IAAI,EAAC,MAAM,GAAG,CACd,CACP,EACDA,kBAAM,KAAK,EAAEF,0BAAgB,CAAC,KAAK,IAAG,KAAK,CAAQ,EAElD,SAAS,KACTE,kBAAM,KAAK,EAAEF,0BAAgB,CAAC,KAAK,IAClCE,sBAAU,IAAI,EAAC,cAAc,GAAY,CACnC,CACP,CACO,CACJ,CACN,EAEA,SAAS,KACTA,iBAAK,KAAK,EAAEF,0BAAgB,CAAC,OAAO,IACnCE,qBAAQ,CACH,CACN,CACK,EACP;GACD;;;;EAMD,MAAM,IAAI;IACT,IAAI,CAAC,eAAe,GAAG,IAAI,CAAA;IAC3B,IAAI,CAAC,WAAW,EAAE,CAAA;GAClB;;;;EAMD,MAAM,KAAK;IACV,IAAI,CAAC,eAAe,GAAG,KAAK,CAAA;IAC5B,IAAI,CAAC,WAAW,EAAE,CAAA;GAClB;;;;EAMD,MAAM,MAAM;IACX,IAAI,CAAC,eAAe,GAAG,CAAC,IAAI,CAAC,eAAe,CAAA;IAC5C,IAAI,CAAC,WAAW,EAAE,CAAA;GAClB;;;;EAMD,MAAM,YAAY;IACjB,OAAO,IAAI,CAAC,eAAe,CAAA;GAC3B;;;;;;;;;;","names":["govHost","govErrorLog","SideNavItemClass","prepareClasses","h","Host","booleanString"],"sources":["../../../packages/core/src/components/gov-side-nav/gov-side-nav-item.scss?tag=gov-side-nav-item","../../../packages/core/src/components/gov-side-nav/gov-side-nav-item.tsx"],"sourcesContent":["/*\n * Side nav - Item\n */\n\n$class: \".gov-side-nav-item\";\n\n#{$class} {\n\t@include base();\n\t&__header {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tborder-bottom: $side-nav-border;\n\t}\n\t&__name {\n\t\t@include button-core();\n\t\t@include typography($font-size-m);\n\t\t@include focus-outline();\n\t\tdisplay: flex;\n\t\tgap: rem-calc(16);\n\t\tflex: 1 1 auto;\n\t\tjustify-content: flex-start;\n\t\tpadding: rem-calc(12 16 12 8);\n\t\tcolor: $side-nav-color;\n\t\ttext-align: left;\n\t\ttransition: background-color $t;\n\t\t@at-root button#{&} {\n\t\t\tpadding-right: 0 !important;\n\t\t}\n\n\t\t// HOVERS\n\t\t@include hover() {\n\t\t\tbackground: $side-nav-hover-bg;\n\t\t}\n\t}\n\t&__icon {\n\t\tdisplay: flex;\n\t\tflex: 0 0 auto;\n\t\twidth: rem-calc(16);\n\t\theight: rem-calc(16);\n\t\t.gov-icon {\n\t\t\tmargin: 0;\n\t\t\tcolor: $side-nav-color;\n\t\t}\n\t}\n\t&__label {\n\t\tcolor: inherit;\n\t}\n\t&__chip {\n\t\tdisplay: flex;\n\t\tflex: 0 0 auto;\n\t}\n\t&__arrow {\n\t\t@include button-core();\n\t\t@include focus-outline();\n\t\tflex: 0 0 auto;\n\t\talign-self: stretch;\n\t\twidth: rem-calc(48);\n\t\tmargin-left: auto;\n\t\tcolor: $side-nav-arrow-color;\n\t\ttransition: background-color $t;\n\t\t.gov-icon {\n\t\t\twidth: rem-calc(12);\n\t\t\theight: rem-calc(12);\n\t\t}\n\t\t@include hover() {\n\t\t\tbackground: $side-nav-hover-bg;\n\t\t}\n\t}\n\t&__content {\n\t\tdisplay: none;\n\t}\n\n\t// VARIANTS\n\t&--w-icon &__label {\n\t\tmargin-left: rem-calc(32);\n\t}\n\t&--w-icon &__icon + &__label {\n\t\tmargin-left: 0;\n\t}\n\t// nested styles\n\t& & {\n\t\t#{$class} {\n\t\t\t&__header {\n\t\t\t\tborder: none !important;\n\t\t\t}\n\t\t\t&__name {\n\t\t\t\t@include typography($font-size-s);\n\t\t\t\tpadding: rem-calc(10 8);\n\t\t\t\tfont-weight: bold;\n\t\t\t}\n\t\t}\n\t\t@include parameter(\"aria-expanded\") {\n\t\t\tbackground: $side-nav-bg-level-2;\n\t\t\t@include parameter(\"inverse\") {\n\t\t\t\tbackground: $side-nav-bg-level-2-inverse;\n\t\t\t}\n\t\t}\n\t}\n\t& & & {\n\t\t#{$class} {\n\t\t\t&__name {\n\t\t\t\tgap: rem-calc(12);\n\t\t\t\tfont-weight: inherit;\n\t\t\t}\n\t\t}\n\t}\n\t@include parameter(\"compact\") {\n\t\t#{$class} {\n\t\t\t&__header {\n\t\t\t\tborder-bottom: none;\n\t\t\t}\n\t\t}\n\t}\n\n\t// STATES\n\t@include parameter(\"aria-expanded\") {\n\t\t& > #{$class}__header #{$class}__arrow .gov-icon {\n\t\t\ttransform: scale(-1);\n\t\t}\n\t\t& > #{$class}__content {\n\t\t\tdisplay: block;\n\t\t}\n\t}\n}\n","import { Component, Element, h, Prop, State, Watch, Host, Method, Event, EventEmitter } from '@stencil/core'\nimport { govErrorLog } from '../../helpers/Log/gov.log'\nimport { SideNavItemClass } from './constants'\nimport { booleanString, prepareClasses } from '../../helpers/Dom/template'\nimport { GovSideNavItemChangeEvent } from './gov-side-nav-item.d'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-side-nav-item',\n\tstyleUrl: 'gov-side-nav-item.scss',\n})\nexport class GovSideNavItem {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovSideNavItemElement\n\t@State() isExpandedState: boolean\n\n\t/**\n\t * Determide if component should have inversed colors to be used on dark background\n\t */\n\t@Prop() readonly inverse: boolean = false\n\t/**\n\t * Determide if component should have compact styles.\n\t */\n\t@Prop() readonly compact: boolean = false\n\t/**\n\t * Custom sidenav item identifier. Otherwise, it will be generated\n\t */\n\t@Prop() readonly identifier: string\n\t/**\n\t * Defined the count of nested items\n\t */\n\t@Prop() readonly count: boolean = false\n\t/**\n\t * Item name of the sidenav\n\t */\n\t@Prop() readonly label: string\n\t/**\n\t * Makes the button component disabled.\n\t * This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href\n\t */\n\t@Prop() readonly href: string\n\t/**\n\t * Defines whether the sidenav is open or closed by button\n\t */\n\t@Prop({ attribute: 'is-expanded' }) readonly isExpanded: boolean = false\n\t/**\n\t * Called when the sidenav state changes\n\t */\n\t@Event({ eventName: 'gov-change' }) govChange: EventEmitter<GovSideNavItemChangeEvent>\n\n\t@Watch('label')\n\tvalidateLabel(newValue: string): void {\n\t\tif (!newValue) {\n\t\t\tgovErrorLog(`[${SideNavItemClass.root}]: Parameter label is required.`)\n\t\t}\n\t}\n\n\tprivate emmitChange(): void {\n\t\tthis.govChange.emit({ open: this.isExpandedState, element: this.host })\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.isExpandedState = this.isExpanded\n\t\tthis.validateLabel(this.label)\n\t}\n\n\tget classNames(): string {\n\t\tconst { h } = this\n\n\t\treturn prepareClasses([SideNavItemClass.root, h.hasSlot('icon') && SideNavItemClass.rootWithIcon])\n\t}\n\n\trender() {\n\t\tconst { isExpandedState, label } = this\n\t\t// TODO: správný počet zanořených childů\n\t\tconst hasChilds = this.host.children.length > 1\n\n\t\treturn (\n\t\t\t<Host class={this.classNames} role=\"listitem\" inverse={this.inverse} aria-expanded={booleanString(isExpandedState)}>\n\t\t\t\t{this.href ? (\n\t\t\t\t\t<div class={SideNavItemClass.header}>\n\t\t\t\t\t\t<a class={SideNavItemClass.name} href={this.href}>\n\t\t\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t\t\t<span class={SideNavItemClass.icon}>\n\t\t\t\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t<span class={SideNavItemClass.label}>{label}</span>\n\n\t\t\t\t\t\t\t{this.count && (\n\t\t\t\t\t\t\t\t<span class={SideNavItemClass.chip}>\n\t\t\t\t\t\t\t\t\t<gov-chip variant=\"secondary\" size=\"s\" inverse={this.inverse}>\n\t\t\t\t\t\t\t\t\t\t{/* // TODO: správný počet zanořených childů */}3\n\t\t\t\t\t\t\t\t\t</gov-chip>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</a>\n\n\t\t\t\t\t\t{hasChilds && (\n\t\t\t\t\t\t\t<button type=\"button\" class={SideNavItemClass.arrow} onClick={() => this.toggle()}>\n\t\t\t\t\t\t\t\t<gov-icon name=\"chevron-down\"></gov-icon>\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t) : (\n\t\t\t\t\t<div class={SideNavItemClass.header}>\n\t\t\t\t\t\t<button class={SideNavItemClass.name} type=\"button\" onClick={() => this.toggle()}>\n\t\t\t\t\t\t\t{this.h.hasSlot('icon') && (\n\t\t\t\t\t\t\t\t<span class={SideNavItemClass.icon}>\n\t\t\t\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t<span class={SideNavItemClass.label}>{label}</span>\n\n\t\t\t\t\t\t\t{hasChilds && (\n\t\t\t\t\t\t\t\t<span class={SideNavItemClass.arrow}>\n\t\t\t\t\t\t\t\t\t<gov-icon name=\"chevron-down\"></gov-icon>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\n\t\t\t\t{hasChilds && (\n\t\t\t\t\t<div class={SideNavItemClass.content}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Opening the sidenav\n\t */\n\t@Method()\n\tasync open(): Promise<void> {\n\t\tthis.isExpandedState = true\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Closing the sidenav\n\t */\n\t@Method()\n\tasync close(): Promise<void> {\n\t\tthis.isExpandedState = false\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * sidenav switch\n\t */\n\t@Method()\n\tasync toggle(): Promise<void> {\n\t\tthis.isExpandedState = !this.isExpandedState\n\t\tthis.emmitChange()\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tasync currentState(): Promise<boolean> {\n\t\treturn this.isExpandedState\n\t}\n}\n"],"version":3}
@@ -1,56 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-7b6bba34.js');
6
- const constants = require('./constants-25f7a6be.js');
7
- const wcag = require('./wcag-e6257f27.js');
8
- const win = require('./win-5521073d.js');
9
- const utils = require('./utils-c9b1bba3.js');
10
- const template = require('./template-4b951d1d.js');
11
- require('./gov.log-b842920d.js');
12
- require('./string.utils-0f08c48c.js');
13
-
14
- const govSideNavCss = ".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)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-side-nav{position:relative;display:block;width:100%}";
15
-
16
- const GovSideNav = class {
17
- constructor(hostRef) {
18
- index.registerInstance(this, hostRef);
19
- this.govChange = index.createEvent(this, "gov-change", 7);
20
- this.inverse = false;
21
- this.compact = false;
22
- this.wcagLabel = undefined;
23
- this.wcagLabelledBy = undefined;
24
- }
25
- componentDidLoad() {
26
- this.host.querySelectorAll(constants.SideNavItemClass.root).forEach((child) => {
27
- child.setAttribute('inverse', template.booleanString(this.inverse));
28
- child.setAttribute('compact', template.booleanString(this.compact));
29
- child.addEventListener('gov-change', (e) => {
30
- e.stopPropagation();
31
- this.govChange.emit(e.detail);
32
- });
33
- });
34
- }
35
- async componentDidRender() {
36
- if (win.canValidateWcagOnRender()) {
37
- await utils.delay(500);
38
- await this.validateWcag();
39
- }
40
- }
41
- render() {
42
- return (index.h(index.Host, { class: constants.SideNavClass.root, compact: this.compact, inverse: this.inverse, "arial-label": this.wcagLabel, "arial-labelledby": this.wcagLabelledBy }, index.h("aside", { class: constants.SideNavClass.aside, role: 'list' }, index.h("slot", null))));
43
- }
44
- /**
45
- * Validate the WCAG attributes of the component
46
- */
47
- async validateWcag() {
48
- wcag.validateWcagLabel(this.wcagLabel, this.wcagLabelledBy, constants.SideNavClass.root);
49
- }
50
- get host() { return index.getElement(this); }
51
- };
52
- GovSideNav.style = govSideNavCss;
53
-
54
- exports.gov_side_nav = GovSideNav;
55
-
56
- //# sourceMappingURL=gov-side-nav.cjs.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"gov-side-nav.entry.cjs.js","mappings":";;;;;;;;;;;;;AAAA,MAAM,aAAa,GAAG,iZAAiZ;;MCa1Z,UAAU;;;;mBAMc,KAAK;mBAIL,KAAK;;;;EAczC,gBAAgB;IACf,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAACA,0BAAgB,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,KAAgC;MAC1F,KAAK,CAAC,YAAY,CAAC,SAAS,EAAEC,sBAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;MAC1D,KAAK,CAAC,YAAY,CAAC,SAAS,EAAEA,sBAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;MAC1D,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,CAAC,CAAuD;QAC5F,CAAC,CAAC,eAAe,EAAE,CAAA;QACnB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;OAC7B,CAAC,CAAA;KACF,CAAC,CAAA;GACF;EAED,MAAM,kBAAkB;IACvB,IAAIC,2BAAuB,EAAE,EAAE;MAC9B,MAAMC,WAAK,CAAC,GAAG,CAAC,CAAA;MAChB,MAAM,IAAI,CAAC,YAAY,EAAE,CAAA;KACzB;GACD;EAED,MAAM;IACL,QACCC,QAACC,UAAI,IAAC,KAAK,EAAEC,sBAAY,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,iBAAe,IAAI,CAAC,SAAS,sBAAoB,IAAI,CAAC,cAAc,IAC/IF,mBAAO,KAAK,EAAEE,sBAAY,CAAC,KAAK,EAAE,IAAI,EAAE,MAAM,IAC7CF,qBAAQ,CACD,CACF,EACP;GACD;;;;EAMD,MAAM,YAAY;IACjBG,sBAAiB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,cAAc,EAAED,sBAAY,CAAC,IAAI,CAAC,CAAA;GACzE;;;;;;;","names":["SideNavItemClass","booleanString","canValidateWcagOnRender","delay","h","Host","SideNavClass","validateWcagLabel"],"sources":["../../../packages/core/src/components/gov-side-nav/gov-side-nav.scss?tag=gov-side-nav","../../../packages/core/src/components/gov-side-nav/gov-side-nav.tsx"],"sourcesContent":["/*\n * Side nav\n */\n\n$class: \".gov-side-nav\";\n\n#{$class} {\n\t@include base();\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop } from '@stencil/core'\nimport { SideNavClass, SideNavItemClass } from './constants'\nimport { GovSideNavItemCustomEvent } from '../../components'\nimport { GovSideNavItemChangeEvent } from './gov-side-nav-item.d'\nimport { validateWcagLabel } from '../../helpers/Validate/wcag'\nimport { canValidateWcagOnRender } from '../../helpers/Dom/win'\nimport { delay } from '../../utils/utils'\nimport { booleanString } from '../../helpers/Dom/template'\n\n@Component({\n\ttag: 'gov-side-nav',\n\tstyleUrl: 'gov-side-nav.scss',\n})\nexport class GovSideNav {\n\t@Element() readonly host: HTMLGovSideNavElement\n\n\t/**\n\t * Determide if component should have inversed colors to be used on dark background.\n\t */\n\t@Prop() readonly inverse: boolean = false\n\t/**\n\t * Determide if component should have compact styles.\n\t */\n\t@Prop() readonly compact: boolean = false\n\t/**\n\t * Adds accessible label for the sidenav that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-label' }) readonly wcagLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({ attribute: 'wcag-labelled-by' }) readonly wcagLabelledBy: string\n\t/**\n\t * Called when the sidenav state changes\n\t */\n\t@Event({ eventName: 'gov-change' }) govChange: EventEmitter<GovSideNavItemChangeEvent>\n\n\tcomponentDidLoad() {\n\t\tthis.host.querySelectorAll(SideNavItemClass.root).forEach((child: HTMLGovSideNavItemElement) => {\n\t\t\tchild.setAttribute('inverse', booleanString(this.inverse))\n\t\t\tchild.setAttribute('compact', booleanString(this.compact))\n\t\t\tchild.addEventListener('gov-change', (e: GovSideNavItemCustomEvent<GovSideNavItemChangeEvent>) => {\n\t\t\t\te.stopPropagation()\n\t\t\t\tthis.govChange.emit(e.detail)\n\t\t\t})\n\t\t})\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={SideNavClass.root} compact={this.compact} inverse={this.inverse} arial-label={this.wcagLabel} arial-labelledby={this.wcagLabelledBy}>\n\t\t\t\t<aside class={SideNavClass.aside} role={'list'}>\n\t\t\t\t\t<slot />\n\t\t\t\t</aside>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagLabel(this.wcagLabel, this.wcagLabelledBy, SideNavClass.root)\n\t}\n}\n"],"version":3}
@@ -1,117 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-7b6bba34.js');
6
- const utils = require('./utils-c9b1bba3.js');
7
- const variants = require('./variants-f5ffeef3.js');
8
- const template = require('./template-4b951d1d.js');
9
- const props = require('./props-d6146e54.js');
10
- const win = require('./win-5521073d.js');
11
- const wcag = require('./wcag-e6257f27.js');
12
- require('./gov.log-b842920d.js');
13
- require('./string.utils-0f08c48c.js');
14
-
15
- const SkeletonVariants = utils.pick(variants.Variants, ["PRIMARY", "SECONDARY", "SUCCESS", "ERROR", "WARNING"]);
16
- var SkeletonShapes;
17
- (function (SkeletonShapes) {
18
- SkeletonShapes["CIRCLE"] = "circle";
19
- SkeletonShapes["REACT"] = "rect";
20
- SkeletonShapes["TEXT"] = "text";
21
- })(SkeletonShapes || (SkeletonShapes = {}));
22
- var SkeletonAnimation;
23
- (function (SkeletonAnimation) {
24
- SkeletonAnimation["PULSE"] = "pulse";
25
- SkeletonAnimation["PROGRESS"] = "progress";
26
- SkeletonAnimation["FALSE"] = "false";
27
- })(SkeletonAnimation || (SkeletonAnimation = {}));
28
- const SkeletonClass = {
29
- root: 'gov-skeleton',
30
- loader: 'gov-skeleton__loader',
31
- };
32
-
33
- const govSkeletonCss = ".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)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-skeleton__loader{position:relative;display:inline-block;width:var(--gov-skeleton-width, 100%);height:var(--gov-skeleton-height, 20px);border-radius:var(--gov-skeleton-border-radius, var(--gov-border-radius, 0.1875rem));outline:none;overflow:hidden;box-sizing:border-box;will-change:transform}.gov-skeleton__loader+.gov-skeleton__loader{margin-top:var(--gov-skeleton-margin-top, 8px)}.gov-skeleton__loader.circle{width:var(--gov-skeleton-circle-size, 60px);height:var(--gov-skeleton-circle-size, 60px);border-radius:var(--gov-skeleton-circle-radius, 50%)}.gov-skeleton__loader.rect{border-radius:var(--gov-skeleton-rect-radius, 0)}.gov-skeleton__loader.progress{background-size:200px 100%;animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite}.gov-skeleton__loader.pulse{animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation-delay:0.5s}@media (prefers-reduced-motion: reduce){.gov-skeleton__loader.pulse,.gov-skeleton__loader.progress{background-image:none;animation:none}}.gov-skeleton[variant=warning] .gov-skeleton__loader{background-color:var(--gov-skeleton-warning-background, var(--gov-color-warning-100));background-repeat:no-repeat}.gov-skeleton[variant=warning] .gov-skeleton__loader.progress{background-image:linear-gradient(90deg, var(--gov-skeleton-warning-background, var(--gov-color-warning-100)), var(--gov-skeleton-warning-foreground, var(--gov-color-warning-200)), var(--gov-skeleton-warning-background, var(--gov-color-warning-100)))}.gov-skeleton[variant=error] .gov-skeleton__loader{background-color:var(--gov-skeleton-error-background, var(--gov-color-error-100));background-repeat:no-repeat}.gov-skeleton[variant=error] .gov-skeleton__loader.progress{background-image:linear-gradient(90deg, var(--gov-skeleton-error-background, var(--gov-color-error-100)), var(--gov-skeleton-error-foreground, var(--gov-color-error-200)), var(--gov-skeleton-error-background, var(--gov-color-error-100)))}.gov-skeleton[variant=secondary] .gov-skeleton__loader{background-color:var(--gov-skeleton-secondary-background, var(--gov-color-secondary-300));background-repeat:no-repeat}.gov-skeleton[variant=secondary] .gov-skeleton__loader.progress{background-image:linear-gradient(90deg, var(--gov-skeleton-secondary-background, var(--gov-color-secondary-300)), var(--gov-skeleton-secondary-foreground, var(--gov-color-secondary-100)), var(--gov-skeleton-secondary-background, var(--gov-color-secondary-300)))}.gov-skeleton[variant=success] .gov-skeleton__loader{background-color:var(--gov-skeleton-success-background, var(--gov-color-success-100));background-repeat:no-repeat}.gov-skeleton[variant=success] .gov-skeleton__loader.progress{background-image:linear-gradient(90deg, var(--gov-skeleton-success-background, var(--gov-color-success-100)), var(--gov-skeleton-success-foreground, var(--gov-color-success-200)), var(--gov-skeleton-success-background, var(--gov-color-success-100)))}.gov-skeleton[variant=primary] .gov-skeleton__loader{background-color:var(--gov-skeleton-primary-background, var(--gov-color-primary-100));background-repeat:no-repeat}.gov-skeleton[variant=primary] .gov-skeleton__loader.progress{background-image:linear-gradient(90deg, var(--gov-skeleton-primary-background, var(--gov-color-primary-100)), var(--gov-skeleton-primary-foreground, var(--gov-color-primary-200)), var(--gov-skeleton-primary-background, var(--gov-color-primary-100)))}";
34
-
35
- const GovSkeleton = class {
36
- constructor(hostRef) {
37
- index.registerInstance(this, hostRef);
38
- this.items = [];
39
- this.variant = "secondary";
40
- this.count = 1;
41
- this.shape = "text";
42
- this.width = null;
43
- this.height = null;
44
- this.animation = "progress";
45
- this.wcagLabel = undefined;
46
- this.h = template.govHost(this.host);
47
- }
48
- validateVariant(newValue) {
49
- props.validateProp(SkeletonVariants, newValue, SkeletonClass.root);
50
- }
51
- validateShape(newValue) {
52
- props.validateProp(SkeletonShapes, newValue, SkeletonClass.root);
53
- }
54
- validateAnimation(newValue) {
55
- props.validateProp(SkeletonAnimation, newValue, SkeletonClass.root);
56
- }
57
- componentWillLoad() {
58
- this.validateVariant(this.variant);
59
- this.validateShape(this.shape);
60
- this.validateAnimation(this.animation);
61
- this.init();
62
- }
63
- componentWillUpdate() {
64
- this.init();
65
- }
66
- async componentDidRender() {
67
- if (win.canValidateWcagOnRender()) {
68
- await utils.delay(500);
69
- await this.validateWcag();
70
- }
71
- }
72
- init() {
73
- this.items.length = this.count;
74
- this.items.fill(1);
75
- }
76
- get style() {
77
- const dimenssionsStyles = {
78
- width: null,
79
- height: null,
80
- };
81
- if (this.width) {
82
- dimenssionsStyles.width = this.width;
83
- }
84
- if (this.height) {
85
- dimenssionsStyles.height = this.height;
86
- }
87
- return Object.assign({}, dimenssionsStyles);
88
- }
89
- render() {
90
- return (index.h(index.Host, { class: this.h.classes(SkeletonClass.root), variant: this.variant }, this.items.map((_, index$1) => {
91
- return (index.h("span", { key: index$1, class: {
92
- circle: this.shape === "circle",
93
- rect: this.shape === "rect",
94
- progress: this.animation === "progress",
95
- pulse: this.animation === "pulse",
96
- [SkeletonClass.loader]: true,
97
- }, "aria-busy": "true", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuetext": this.wcagLabel, role: "progressbar", tabindex: "0", style: this.style }));
98
- })));
99
- }
100
- /**
101
- * Validate the WCAG attributes of the component
102
- */
103
- async validateWcag() {
104
- wcag.validateWcagLabel(this.wcagLabel, undefined, SkeletonClass.root);
105
- }
106
- get host() { return index.getElement(this); }
107
- static get watchers() { return {
108
- "variant": ["validateVariant"],
109
- "shape": ["validateShape"],
110
- "animation": ["validateAnimation"]
111
- }; }
112
- };
113
- GovSkeleton.style = govSkeletonCss;
114
-
115
- exports.gov_skeleton = GovSkeleton;
116
-
117
- //# sourceMappingURL=gov-skeleton.cjs.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"gov-skeleton.entry.cjs.js","mappings":";;;;;;;;;;;;;;AAIO,MAAM,gBAAgB,GAAGA,UAAI,CAACC,iBAAQ,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC,CAAA;AAGvG,IAAY,cAIX;AAJD,WAAY,cAAc;EACzB,mCAAiB,CAAA;EACjB,gCAAc,CAAA;EACd,+BAAa,CAAA;AACd,CAAC,EAJW,cAAc,KAAd,cAAc,QAIzB;AAGD,IAAY,iBAIX;AAJD,WAAY,iBAAiB;EAC5B,oCAAe,CAAA;EACf,0CAAqB,CAAA;EACrB,oCAAe,CAAA;AAChB,CAAC,EAJW,iBAAiB,KAAjB,iBAAiB,QAI5B;AAGM,MAAM,aAAa,GAAG;EAC5B,IAAI,EAAE,cAAc;EACpB,MAAM,EAAE,sBAAsB;CAC9B;;ACxBD,MAAM,cAAc,GAAG,ypHAAypH;;MCmBnqH,WAAW;EAGvB;;IAkCA,UAAK,GAAa,EAAE,CAAA;mBA1B8B,WAAW;iBAI7C,CAAC;iBAIoB,MAAM;iBAInB,IAAI;kBAIH,IAAI;qBAIe,UAAU;;IA3BrD,IAAI,CAAC,CAAC,GAAGC,gBAAO,CAAC,IAAI,CAAC,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AA;KACtC;IAED,yBAAY,iBAAiB,EAAE;GAC/B;EAED,MAAM;IACL,QACCC,QAACC,UAAI,IAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,IACpE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAEC,OAAK;MACxB,QACCF,kBACC,GAAG,EAAEE,OAAK,EACV,KAAK,EAAE;UACN,MAAM,EAAE,IAAI,CAAC,KAAK,KAAK,QAAQ;UAC/B,IAAI,EAAE,IAAI,CAAC,KAAK,KAAK,MAAM;UAC3B,QAAQ,EAAE,IAAI,CAAC,SAAS,KAAK,UAAU;UACvC,KAAK,EAAE,IAAI,CAAC,SAAS,KAAK,OAAO;UACjC,CAAC,aAAa,CAAC,MAAM,GAAG,IAAI;SAC5B,eAES,MAAM,mBACF,GAAG,mBACH,KAAK,oBACH,IAAI,CAAC,SAAS,EAC9B,IAAI,EAAC,aAAa,EAClB,QAAQ,EAAC,GAAG,EACZ,KAAK,EAAE,IAAI,CAAC,KAAK,GACV,EACR;KACD,CAAC,CACI,EACP;GACD;;;;EAMD,MAAM,YAAY;IACjBC,sBAAiB,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,EAAE,aAAa,CAAC,IAAI,CAAC,CAAA;GAChE;;;;;;;;;;;;","names":["pick","Variants","govHost","validateProp","canValidateWcagOnRender","delay","h","Host","index","validateWcagLabel"],"sources":["../../../packages/core/src/components/gov-loading/skeleton/constants.ts","../../../packages/core/src/components/gov-loading/skeleton/gov-skeleton.scss?tag=gov-skeleton","../../../packages/core/src/components/gov-loading/skeleton/gov-skeleton.tsx"],"sourcesContent":["import { pick } from \"../../../utils/utils\"\nimport { Variants } from \"../../../core/constants/variants\"\nimport { ValueOf } from \"../../../types/interfaces\"\n\nexport const SkeletonVariants = pick(Variants, [\"PRIMARY\", \"SECONDARY\", \"SUCCESS\", \"ERROR\", \"WARNING\"])\nexport type SkeletonVariantsType = `${ValueOf<typeof SkeletonVariants>}`\n\nexport enum SkeletonShapes {\n\tCIRCLE = 'circle',\n\tREACT = 'rect',\n\tTEXT = 'text'\n}\nexport type SkeletonShapesType = `${ValueOf<typeof SkeletonShapes>}`\n\nexport enum SkeletonAnimation {\n\tPULSE = 'pulse',\n\tPROGRESS = 'progress',\n\tFALSE = 'false'\n}\nexport type SkeletonAnimationType = `${ValueOf<typeof SkeletonAnimation>}`\n\nexport const SkeletonClass = {\n\troot: 'gov-skeleton',\n\tloader: 'gov-skeleton__loader',\n}\n","$class: \".gov-skeleton\";\n\n#{$class} {\n\t&__loader {\n\t\tposition: relative;\n\t\tdisplay: inline-block;\n\t\twidth: $skeleton-width;\n\t\theight: $skeleton-height;\n\t\tborder-radius: $skeleton-border-radius;\n\t\toutline: none;\n\t\toverflow: hidden;\n\t\tbox-sizing: border-box;\n\t\twill-change: transform;\n\n\t\t+ #{$class}__loader {\n\t\t\tmargin-top: $skeleton-margin-top;\n\t\t}\n\n\t\t&.circle {\n\t\t\twidth: $skeleton-circle-size;\n\t\t\theight: $skeleton-circle-size;\n\t\t\tborder-radius: $skeleton-circle-radius;\n\t\t}\n\n\t\t&.rect {\n\t\t\tborder-radius: $skeleton-rect-radius;\n\t\t}\n\n\t\t&.progress {\n\t\t\tbackground-size: 200px 100%;\n\t\t\tanimation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n\t\t}\n\n\t\t&.pulse {\n\t\t\tanimation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n\t\t\tanimation-delay: 0.5s;\n\t\t}\n\n\t\t@media (prefers-reduced-motion: reduce) {\n\t\t\t&.pulse,\n\t\t\t&.progress {\n\t\t\t\tbackground-image: none;\n\t\t\t\tanimation: none;\n\t\t\t}\n\t\t}\n\t}\n\n\t@each $variant, $definitions in $skeleton-variants {\n\t\t&[variant=\"#{$variant}\"] {\n\t\t\t#{$class}__loader {\n\t\t\t\tbackground-color: get(\"background\", $definitions);\n\t\t\t\tbackground-repeat: no-repeat;\n\n\t\t\t\t&.progress {\n\t\t\t\t\tbackground-image: linear-gradient(90deg, get(\"background\", $definitions), get(\"foreground\", $definitions), get(\"background\", $definitions));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host, Method, Prop, Watch } from \"@stencil/core\"\nimport {\n\tSkeletonAnimation,\n\tSkeletonAnimationType,\n\tSkeletonClass, SkeletonShapes,\n\tSkeletonShapesType, SkeletonVariants,\n\tSkeletonVariantsType,\n} from \"./constants\"\nimport { GovHost } from \"../../../helpers/Dom/template.types\"\nimport { govHost } from \"../../../helpers/Dom/template\"\nimport { validateProp } from \"../../../helpers/Validate/props\"\nimport { canValidateWcagOnRender } from \"../../../helpers/Dom/win\"\nimport { delay } from \"../../../utils/utils\"\nimport { validateWcagLabel } from \"../../../helpers/Validate/wcag\"\n\n@Component({\n\ttag: \"gov-skeleton\",\n\tstyleUrl: \"gov-skeleton.scss\",\n})\nexport class GovSkeleton {\n\th: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovSkeletonElement\n\t/**\n\t * Style variation of the skeleton.\n\t */\n\t@Prop() readonly variant?: SkeletonVariantsType = \"secondary\"\n\t/**\n\t * Number of rows of current skeleton type\n\t */\n\t@Prop() count = 1\n\t/**\n\t * Shape of the skeleton\n\t */\n\t@Prop() shape?: SkeletonShapesType = \"text\"\n\t/**\n\t * Width of the skeleton ex. 100px, 100%, auto etc.\n\t */\n\t@Prop() width: string = null\n\t/**\n\t * Height of the skeleton ex. 100px, 100%, auto etc.\n\t */\n\t@Prop() height: string = null\n\t/**\n\t * Animation type\n\t */\n\t@Prop() animation?: SkeletonAnimationType = \"progress\"\n\t/**\n\t * Adds accessible label for the skeleton that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-label' }) readonly wcagLabel: string\n\n\titems: number[] = []\n\n\t@Watch('variant')\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(SkeletonVariants, newValue, SkeletonClass.root)\n\t}\n\n\t@Watch('shape')\n\tvalidateShape(newValue: string): void {\n\t\tvalidateProp(SkeletonShapes, newValue, SkeletonClass.root)\n\t}\n\n\t@Watch('animation')\n\tvalidateAnimation(newValue: string): void {\n\t\tvalidateProp(SkeletonAnimation, newValue, SkeletonClass.root)\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.validateVariant(this.variant)\n\t\tthis.validateShape(this.shape)\n\t\tthis.validateAnimation(this.animation)\n\t\tthis.init()\n\t}\n\n\tcomponentWillUpdate() {\n\t\tthis.init()\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\tinit() {\n\t\tthis.items.length = this.count\n\t\tthis.items.fill(1)\n\t}\n\n\tget style() {\n\t\tconst dimenssionsStyles: {\n\t\t\twidth?: string,\n\t\t\theight?: string,\n\t\t} = {\n\t\t\twidth: null,\n\t\t\theight: null,\n\t\t}\n\t\tif (this.width) {\n\t\t\tdimenssionsStyles.width = this.width\n\t\t}\n\n\t\tif (this.height) {\n\t\t\tdimenssionsStyles.height = this.height\n\t\t}\n\n\t\treturn { ...dimenssionsStyles }\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(SkeletonClass.root)} variant={this.variant}>\n\t\t\t\t{this.items.map((_, index) => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\t<span\n\t\t\t\t\t\t\tkey={index}\n\t\t\t\t\t\t\tclass={{\n\t\t\t\t\t\t\t\tcircle: this.shape === \"circle\",\n\t\t\t\t\t\t\t\trect: this.shape === \"rect\",\n\t\t\t\t\t\t\t\tprogress: this.animation === \"progress\",\n\t\t\t\t\t\t\t\tpulse: this.animation === \"pulse\",\n\t\t\t\t\t\t\t\t[SkeletonClass.loader]: true,\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\taria-busy=\"true\"\n\t\t\t\t\t\t\taria-valuemin=\"0\"\n\t\t\t\t\t\t\taria-valuemax=\"100\"\n\t\t\t\t\t\t\taria-valuetext={this.wcagLabel}\n\t\t\t\t\t\t\trole=\"progressbar\"\n\t\t\t\t\t\t\ttabindex=\"0\"\n\t\t\t\t\t\t\tstyle={this.style}\n\t\t\t\t\t\t></span>\n\t\t\t\t\t)\n\t\t\t\t})}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagLabel(this.wcagLabel, undefined, SkeletonClass.root)\n\t}\n}\n"],"version":3}
@@ -1,58 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-7b6bba34.js');
6
- const props = require('./props-d6146e54.js');
7
- const sizes = require('./sizes-79872c2a.js');
8
- const utils = require('./utils-c9b1bba3.js');
9
- const template = require('./template-4b951d1d.js');
10
- require('./gov.log-b842920d.js');
11
- require('./win-5521073d.js');
12
-
13
- const SpacerSize = utils.pick(sizes.Sizes, ['_2XS', '_XS', '_S', '_M', '_L', '_XL', '_2XL', '_3XL', '_4XL']);
14
- var SpacerBreakpoints;
15
- (function (SpacerBreakpoints) {
16
- SpacerBreakpoints["NONE"] = "none";
17
- SpacerBreakpoints["SM"] = "sm";
18
- SpacerBreakpoints["MD"] = "md";
19
- SpacerBreakpoints["LG"] = "lg";
20
- SpacerBreakpoints["XL"] = "xl";
21
- })(SpacerBreakpoints || (SpacerBreakpoints = {}));
22
- const SpacerClass = {
23
- root: 'gov-spacer',
24
- };
25
-
26
- const govSpacerCss = ".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)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-spacer{position:relative;display:block;width:100%}.gov-spacer[size=unset]{height:0}.gov-spacer[size=\"2xs\"]{height:0.25rem}.gov-spacer[size=xs]{height:0.5rem}.gov-spacer[size=s]{height:0.75rem}.gov-spacer[size=m]{height:1rem}.gov-spacer[size=l]{height:1.25rem}.gov-spacer[size=xl]{height:1.75rem}.gov-spacer[size=\"2xl\"]{height:2rem}.gov-spacer[size=\"3xl\"]{height:3rem}.gov-spacer[size=\"4xl\"]{height:4.5rem}.gov-spacer[breakpoint=none]{display:none}.gov-spacer[breakpoint=sm]{display:none}@media (min-width: 30em){.gov-spacer[breakpoint=sm]{display:block}}.gov-spacer[breakpoint=md]{display:none}@media (min-width: 48em){.gov-spacer[breakpoint=md]{display:block}}.gov-spacer[breakpoint=lg]{display:none}@media (min-width: 64em){.gov-spacer[breakpoint=lg]{display:block}}.gov-spacer[breakpoint=xl]{display:none}@media (min-width: 75em){.gov-spacer[breakpoint=xl]{display:block}}";
27
-
28
- const GovSpacer = class {
29
- constructor(hostRef) {
30
- index.registerInstance(this, hostRef);
31
- this.size = undefined;
32
- this.breakpoint = undefined;
33
- this.h = template.govHost(this.host);
34
- }
35
- validateSize(newValue) {
36
- props.validateProp(SpacerSize, newValue, SpacerClass.root);
37
- }
38
- validateBreakpoint(newValue) {
39
- props.validateProp(SpacerBreakpoints, newValue, SpacerClass.root);
40
- }
41
- componentWillLoad() {
42
- this.validateSize(this.size);
43
- this.validateBreakpoint(this.breakpoint);
44
- }
45
- render() {
46
- return index.h(index.Host, { class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
47
- }
48
- get host() { return index.getElement(this); }
49
- static get watchers() { return {
50
- "size": ["validateSize"],
51
- "breakpoint": ["validateBreakpoint"]
52
- }; }
53
- };
54
- GovSpacer.style = govSpacerCss;
55
-
56
- exports.gov_spacer = GovSpacer;
57
-
58
- //# sourceMappingURL=g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;;","names":["pick","Sizes","govHost","validateProp","h","Host"],"sources":["../../../packages/core/src/components/gov-spacer/constants.tsx","../../../packages/core/src/components/gov-spacer/gov-spacer.scss?tag=gov-spacer","../../../packages/core/src/components/gov-spacer/gov-spacer.tsx"],"sourcesContent":["import { Sizes } from '../../core/constants/sizes'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const SpacerSize = pick(Sizes, ['_2XS', '_XS', '_S', '_M', '_L', '_XL', '_2XL', '_3XL', '_4XL'])\nexport type SpacerSizeType = `${ValueOf<typeof SpacerSize>}`\n\nexport enum SpacerBreakpoints {\n\tNONE = 'none',\n\tSM = 'sm',\n\tMD = 'md',\n\tLG = 'lg',\n\tXL = 'xl',\n}\nexport type SpacerBreakpointsType = `${ValueOf<typeof SpacerBreakpoints>}`\n\nexport const SpacerClass = {\n\troot: 'gov-spacer',\n}\n","/*\n * Spacer\n */\n\n$class: \".gov-spacer\";\n\n#{$class} {\n\t@include base();\n\n\t// VARIANTS\n\t@each $name, $value in $sizes {\n\t\t&[size=\"#{$name}\"] {\n\t\t\theight: #{$value};\n\t\t}\n\t}\n\t@each $name, $value in $mq-breakpoints {\n\t\t&[breakpoint=\"#{$name}\"] {\n\t\t\tdisplay: none;\n\n\t\t\t@if #{$value} != \"0\" {\n\t\t\t\t@include mq($from: #{$name}) {\n\t\t\t\t\tdisplay: block;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host, Prop, Watch } from '@stencil/core'\nimport { validateProp } from '../../helpers/Validate/props'\nimport { SpacerBreakpoints, SpacerBreakpointsType, SpacerClass, SpacerSize, SpacerSizeType } from './constants'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { govHost } from '../../helpers/Dom/template'\n\n@Component({\n\ttag: 'gov-spacer',\n\tstyleUrl: 'gov-spacer.scss',\n})\nexport class GovSpacer {\n\tprivate h: GovHost\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\t@Element() host: HTMLGovSpacerElement\n\t/**\n\t * Spacer’s size\n\t */\n\t@Prop() readonly size?: SpacerSizeType\n\t/**\n\t * Breakpoint\n\t */\n\t@Prop() readonly breakpoint?: SpacerBreakpointsType = undefined\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(SpacerSize, newValue, SpacerClass.root)\n\t}\n\n\t@Watch('breakpoint')\n\tvalidateBreakpoint(newValue: string): void {\n\t\tvalidateProp(SpacerBreakpoints, newValue, SpacerClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t\tthis.validateBreakpoint(this.breakpoint)\n\t}\n\n\trender() {\n\t\treturn <Host class={this.h.classes(SpacerClass.root)} size={this.size} breakpoint={this.breakpoint}></Host>\n\t}\n}\n"],"version":3}