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

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 (450) hide show
  1. package/dist/cjs/{constants-5f6bbc50.js → constants-245999e7.js} +3 -2
  2. package/dist/cjs/constants-245999e7.js.map +1 -0
  3. package/dist/cjs/{constants-dc2ba6bd.js → constants-61f8be34.js} +3 -3
  4. package/dist/cjs/constants-61f8be34.js.map +1 -0
  5. package/dist/cjs/core.cjs.js +1 -1
  6. package/dist/cjs/gov-accordion-item.cjs.entry.js +2 -2
  7. package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
  8. package/dist/cjs/gov-accordion.cjs.entry.js +2 -1
  9. package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -1
  10. package/dist/cjs/gov-alert.cjs.entry.js +1 -1
  11. package/dist/cjs/gov-alert.cjs.entry.js.map +1 -1
  12. package/dist/cjs/gov-app.cjs.entry.js +658 -159
  13. package/dist/cjs/gov-app.cjs.entry.js.map +1 -1
  14. package/dist/cjs/gov-attachments_3.cjs.entry.js +1 -1
  15. package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
  16. package/dist/cjs/gov-backdrop.cjs.entry.js +4 -3
  17. package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -1
  18. package/dist/cjs/gov-badge.cjs.entry.js +17 -17
  19. package/dist/cjs/gov-badge.cjs.entry.js.map +1 -1
  20. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +1 -1
  21. package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
  22. package/dist/cjs/gov-button.cjs.entry.js +2 -2
  23. package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
  24. package/dist/cjs/gov-card.cjs.entry.js +1 -1
  25. package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
  26. package/dist/cjs/gov-form-checkbox.cjs.entry.js +1 -1
  27. package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
  28. package/dist/cjs/gov-form-file.cjs.entry.js +1 -1
  29. package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
  30. package/dist/cjs/gov-form-input.cjs.entry.js +2 -2
  31. package/dist/cjs/gov-form-input.cjs.entry.js.map +1 -1
  32. package/dist/cjs/gov-form-multi-select.cjs.entry.js +3 -3
  33. package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
  34. package/dist/cjs/gov-form-password-power.cjs.entry.js +28 -0
  35. package/dist/cjs/gov-form-password-power.cjs.entry.js.map +1 -0
  36. package/dist/cjs/gov-form-select.cjs.entry.js +3 -3
  37. package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
  38. package/dist/cjs/gov-icon.cjs.entry.js +1 -1
  39. package/dist/cjs/gov-modal.cjs.entry.js +19 -13
  40. package/dist/cjs/gov-modal.cjs.entry.js.map +1 -1
  41. package/dist/cjs/gov-pagination.cjs.entry.js +49 -14
  42. package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
  43. package/dist/cjs/gov-prompt.cjs.entry.js +12 -6
  44. package/dist/cjs/gov-prompt.cjs.entry.js.map +1 -1
  45. package/dist/cjs/gov-side-nav-item.cjs.entry.js +1 -1
  46. package/dist/cjs/gov-side-nav-item.cjs.entry.js.map +1 -1
  47. package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
  48. package/dist/cjs/gov-spacer.cjs.entry.js.map +1 -1
  49. package/dist/cjs/gov-statsbar-item.cjs.entry.js +1 -1
  50. package/dist/cjs/gov-statsbar.cjs.entry.js +2 -2
  51. package/dist/cjs/gov-statsbar.cjs.entry.js.map +1 -1
  52. package/dist/cjs/gov-tabs.cjs.entry.js +1 -1
  53. package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
  54. package/dist/cjs/gov-tile.cjs.entry.js +2 -2
  55. package/dist/cjs/gov-tile.cjs.entry.js.map +1 -1
  56. package/dist/cjs/gov-tiles.cjs.entry.js +2 -1
  57. package/dist/cjs/gov-tiles.cjs.entry.js.map +1 -1
  58. package/dist/cjs/gov-toast.cjs.entry.js +1 -1
  59. package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
  60. package/dist/cjs/gov-wizzard-item.cjs.entry.js +1 -1
  61. package/dist/cjs/gov-wizzard-item.cjs.entry.js.map +1 -1
  62. package/dist/cjs/index-356717ae.js +4 -0
  63. package/dist/cjs/loader.cjs.js +1 -1
  64. package/dist/collection/collection-manifest.json +1 -0
  65. package/dist/collection/components/gov-accordion/gov-accordion-item.css +37 -5
  66. package/dist/collection/components/gov-accordion/gov-accordion-item.js +1 -1
  67. package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
  68. package/dist/collection/components/gov-accordion/gov-accordion.css +6 -0
  69. package/dist/collection/components/gov-accordion/gov-accordion.js +19 -0
  70. package/dist/collection/components/gov-accordion/gov-accordion.js.map +1 -1
  71. package/dist/collection/components/gov-alert/gov-alert.css +3 -0
  72. package/dist/collection/components/gov-alert/gov-alert.js +1 -1
  73. package/dist/collection/components/gov-alert/gov-alert.js.map +1 -1
  74. package/dist/collection/components/gov-app/gov-app.css +3 -0
  75. package/dist/collection/components/gov-attachments/gov-attachments-item.css +3 -0
  76. package/dist/collection/components/gov-attachments/gov-attachments-item.js +1 -1
  77. package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +1 -1
  78. package/dist/collection/components/gov-attachments/gov-attachments.css +3 -0
  79. package/dist/collection/components/gov-backdrop/gov-backdrop.css +3 -0
  80. package/dist/collection/components/gov-backdrop/gov-backdrop.js +5 -4
  81. package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -1
  82. package/dist/collection/components/gov-badge/constants.js +4 -1
  83. package/dist/collection/components/gov-badge/constants.js.map +1 -1
  84. package/dist/collection/components/gov-badge/gov-badge.css +204 -96
  85. package/dist/collection/components/gov-badge/gov-badge.js +26 -47
  86. package/dist/collection/components/gov-badge/gov-badge.js.map +1 -1
  87. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +3 -0
  88. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +1 -1
  89. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
  90. package/dist/collection/components/gov-button/constants.js +2 -1
  91. package/dist/collection/components/gov-button/constants.js.map +1 -1
  92. package/dist/collection/components/gov-button/gov-button.css +210 -131
  93. package/dist/collection/components/gov-button/gov-button.js +6 -6
  94. package/dist/collection/components/gov-button/gov-button.js.map +1 -1
  95. package/dist/collection/components/gov-card/gov-card.css +3 -0
  96. package/dist/collection/components/gov-card/gov-card.js +1 -1
  97. package/dist/collection/components/gov-card/gov-card.js.map +1 -1
  98. package/dist/collection/components/gov-container/gov-container.css +3 -0
  99. package/dist/collection/components/gov-cookiebar/gov-cookiebar.css +3 -0
  100. package/dist/collection/components/gov-empty/gov-empty.css +3 -0
  101. package/dist/collection/components/gov-error-code/gov-error-code.css +3 -0
  102. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.css +3 -0
  103. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.css +3 -0
  104. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +1 -1
  105. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -1
  106. package/dist/collection/components/gov-form/control/gov-form-control.css +3 -0
  107. package/dist/collection/components/gov-form/file/gov-form-file.css +3 -0
  108. package/dist/collection/components/gov-form/file/gov-form-file.js +1 -1
  109. package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
  110. package/dist/collection/components/gov-form/group/gov-form-group.css +3 -0
  111. package/dist/collection/components/gov-form/input/gov-form-input.css +6 -3
  112. package/dist/collection/components/gov-form/input/gov-form-input.js +1 -1
  113. package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
  114. package/dist/collection/components/gov-form/label/gov-form-label.css +3 -0
  115. package/dist/collection/components/gov-form/message/gov-form-message.css +3 -0
  116. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.css +3 -3
  117. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +2 -2
  118. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
  119. package/dist/collection/components/gov-form/password-power/constants.js +6 -0
  120. package/dist/collection/components/gov-form/password-power/constants.js.map +1 -0
  121. package/dist/collection/components/gov-form/password-power/gov-form-password-power.css +246 -0
  122. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +43 -0
  123. package/dist/collection/components/gov-form/password-power/gov-form-password-power.js.map +1 -0
  124. package/dist/collection/components/gov-form/radio/gov-form-radio.css +3 -0
  125. package/dist/collection/components/gov-form/search/gov-form-search.css +3 -0
  126. package/dist/collection/components/gov-form/select/gov-form-select.css +3 -3
  127. package/dist/collection/components/gov-form/select/gov-form-select.js +2 -2
  128. package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
  129. package/dist/collection/components/gov-form/switch/gov-form-switch.css +3 -0
  130. package/dist/collection/components/gov-grid/gov-grid-item.css +3 -0
  131. package/dist/collection/components/gov-grid/gov-grid.css +3 -0
  132. package/dist/collection/components/gov-icon/gov-icon.css +3 -0
  133. package/dist/collection/components/gov-icon/list.js +148 -5
  134. package/dist/collection/components/gov-icon/list.js.map +1 -1
  135. package/dist/collection/components/gov-layout/gov-layout-column.css +3 -0
  136. package/dist/collection/components/gov-layout/gov-layout.css +3 -0
  137. package/dist/collection/components/gov-loading/gov-loading.css +3 -0
  138. package/dist/collection/components/gov-message/gov-message.css +3 -0
  139. package/dist/collection/components/gov-modal/gov-modal.css +6 -3
  140. package/dist/collection/components/gov-modal/gov-modal.js +35 -22
  141. package/dist/collection/components/gov-modal/gov-modal.js.map +1 -1
  142. package/dist/collection/components/gov-nav/gov-nav-item.css +3 -0
  143. package/dist/collection/components/gov-nav/gov-nav.css +3 -0
  144. package/dist/collection/components/gov-pagination/gov-pagination.css +87 -39
  145. package/dist/collection/components/gov-pagination/gov-pagination.js +63 -29
  146. package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
  147. package/dist/collection/components/gov-promp/gov-prompt.css +6 -3
  148. package/dist/collection/components/gov-promp/gov-prompt.js +18 -5
  149. package/dist/collection/components/gov-promp/gov-prompt.js.map +1 -1
  150. package/dist/collection/components/gov-side-nav/gov-side-nav-item.css +3 -0
  151. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js +1 -1
  152. package/dist/collection/components/gov-side-nav/gov-side-nav-item.js.map +1 -1
  153. package/dist/collection/components/gov-side-nav/gov-side-nav.css +3 -0
  154. package/dist/collection/components/gov-spacer/gov-spacer.css +3 -0
  155. package/dist/collection/components/gov-spacer/gov-spacer.js +3 -2
  156. package/dist/collection/components/gov-spacer/gov-spacer.js.map +1 -1
  157. package/dist/collection/components/gov-statsbar/constants.js +1 -1
  158. package/dist/collection/components/gov-statsbar/constants.js.map +1 -1
  159. package/dist/collection/components/gov-statsbar/gov-statsbar-item.css +3 -0
  160. package/dist/collection/components/gov-statsbar/gov-statsbar.css +3 -0
  161. package/dist/collection/components/gov-statsbar/gov-statsbar.js +2 -2
  162. package/dist/collection/components/gov-statsbar/gov-statsbar.js.map +1 -1
  163. package/dist/collection/components/gov-stepper/gov-stepper-item.css +3 -0
  164. package/dist/collection/components/gov-stepper/gov-stepper.css +3 -0
  165. package/dist/collection/components/gov-tabs/gov-tabs-item.css +3 -0
  166. package/dist/collection/components/gov-tabs/gov-tabs.css +3 -0
  167. package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
  168. package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -1
  169. package/dist/collection/components/gov-tile/gov-tile.css +4 -1
  170. package/dist/collection/components/gov-tile/gov-tile.js +1 -1
  171. package/dist/collection/components/gov-tile/gov-tile.js.map +1 -1
  172. package/dist/collection/components/gov-tiles/gov-tiles.css +6 -0
  173. package/dist/collection/components/gov-tiles/gov-tiles.js +19 -0
  174. package/dist/collection/components/gov-tiles/gov-tiles.js.map +1 -1
  175. package/dist/collection/components/gov-toast/gov-toast.css +3 -0
  176. package/dist/collection/components/gov-toast/gov-toast.js +1 -1
  177. package/dist/collection/components/gov-toast/gov-toast.js.map +1 -1
  178. package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +3 -0
  179. package/dist/collection/components/gov-tooltip/gov-tooltip.css +3 -0
  180. package/dist/collection/components/gov-wizzard/gov-wizzard-item.css +3 -0
  181. package/dist/collection/components/gov-wizzard/gov-wizzard-item.js +1 -1
  182. package/dist/collection/components/gov-wizzard/gov-wizzard-item.js.map +1 -1
  183. package/dist/collection/components/gov-wizzard/gov-wizzard.css +3 -0
  184. package/dist/collection/pages/Accordion.js +97 -2
  185. package/dist/collection/pages/Accordion.js.map +1 -1
  186. package/dist/collection/pages/Badge.js +27 -0
  187. package/dist/collection/pages/Badge.js.map +1 -1
  188. package/dist/collection/pages/Button.js +440 -120
  189. package/dist/collection/pages/Button.js.map +1 -1
  190. package/dist/collection/pages/Error.js +1 -1
  191. package/dist/collection/pages/Error.js.map +1 -1
  192. package/dist/collection/pages/Forms.js +31 -23
  193. package/dist/collection/pages/Forms.js.map +1 -1
  194. package/dist/collection/pages/Pagination.js +12 -2
  195. package/dist/collection/pages/Pagination.js.map +1 -1
  196. package/dist/collection/pages/Stepper.js +6 -6
  197. package/dist/collection/pages/Stepper.js.map +1 -1
  198. package/dist/collection/pages/Tiles.js +39 -0
  199. package/dist/collection/pages/Tiles.js.map +1 -1
  200. package/dist/collection/pages/ToastMessage.js +1 -1
  201. package/dist/collection/pages/ToastMessage.js.map +1 -1
  202. package/dist/collection/pages/ToastMessageCountdown.js +1 -1
  203. package/dist/collection/pages/ToastMessageCountdown.js.map +1 -1
  204. package/dist/collection/pages/Wizzard.js +3 -3
  205. package/dist/collection/pages/Wizzard.js.map +1 -1
  206. package/dist/collection/utils/array.utils.js +2 -0
  207. package/dist/collection/utils/array.utils.js.map +1 -0
  208. package/dist/components/constants11.js +2 -2
  209. package/dist/components/constants11.js.map +1 -1
  210. package/dist/components/constants3.js +2 -1
  211. package/dist/components/constants3.js.map +1 -1
  212. package/dist/components/gov-accordion-item.js +2 -2
  213. package/dist/components/gov-accordion-item.js.map +1 -1
  214. package/dist/components/gov-accordion.js +3 -1
  215. package/dist/components/gov-accordion.js.map +1 -1
  216. package/dist/components/gov-alert.js +1 -1
  217. package/dist/components/gov-alert.js.map +1 -1
  218. package/dist/components/gov-app.js +658 -159
  219. package/dist/components/gov-app.js.map +1 -1
  220. package/dist/components/gov-attachments-item2.js +1 -1
  221. package/dist/components/gov-attachments-item2.js.map +1 -1
  222. package/dist/components/gov-backdrop2.js +5 -4
  223. package/dist/components/gov-backdrop2.js.map +1 -1
  224. package/dist/components/gov-badge2.js +16 -17
  225. package/dist/components/gov-badge2.js.map +1 -1
  226. package/dist/components/gov-breadcrumbs.js +1 -1
  227. package/dist/components/gov-breadcrumbs.js.map +1 -1
  228. package/dist/components/gov-button2.js +5 -5
  229. package/dist/components/gov-button2.js.map +1 -1
  230. package/dist/components/gov-card.js +1 -1
  231. package/dist/components/gov-card.js.map +1 -1
  232. package/dist/components/gov-form-checkbox.js +1 -1
  233. package/dist/components/gov-form-checkbox.js.map +1 -1
  234. package/dist/components/gov-form-file.js +1 -1
  235. package/dist/components/gov-form-file.js.map +1 -1
  236. package/dist/components/gov-form-input2.js +2 -2
  237. package/dist/components/gov-form-input2.js.map +1 -1
  238. package/dist/components/gov-form-multi-select.js +3 -3
  239. package/dist/components/gov-form-multi-select.js.map +1 -1
  240. package/dist/components/gov-form-password-power.d.ts +11 -0
  241. package/dist/components/gov-form-password-power.js +44 -0
  242. package/dist/components/gov-form-password-power.js.map +1 -0
  243. package/dist/components/gov-form-select2.js +3 -3
  244. package/dist/components/gov-form-select2.js.map +1 -1
  245. package/dist/components/gov-icon2.js +1 -1
  246. package/dist/components/gov-modal.js +20 -13
  247. package/dist/components/gov-modal.js.map +1 -1
  248. package/dist/components/gov-pagination.js +49 -14
  249. package/dist/components/gov-pagination.js.map +1 -1
  250. package/dist/components/gov-prompt.js +13 -6
  251. package/dist/components/gov-prompt.js.map +1 -1
  252. package/dist/components/gov-side-nav-item.js +1 -1
  253. package/dist/components/gov-side-nav-item.js.map +1 -1
  254. package/dist/components/gov-spacer.js +1 -1
  255. package/dist/components/gov-spacer.js.map +1 -1
  256. package/dist/components/gov-statsbar.js +2 -2
  257. package/dist/components/gov-statsbar.js.map +1 -1
  258. package/dist/components/gov-tabs.js +1 -1
  259. package/dist/components/gov-tabs.js.map +1 -1
  260. package/dist/components/gov-tile.js +2 -2
  261. package/dist/components/gov-tile.js.map +1 -1
  262. package/dist/components/gov-tiles.js +4 -2
  263. package/dist/components/gov-tiles.js.map +1 -1
  264. package/dist/components/gov-toast.js +1 -1
  265. package/dist/components/gov-toast.js.map +1 -1
  266. package/dist/components/gov-wizzard-item.js +1 -1
  267. package/dist/components/gov-wizzard-item.js.map +1 -1
  268. package/dist/components/index.d.ts +1 -0
  269. package/dist/components/index.js +1 -0
  270. package/dist/components/index.js.map +1 -1
  271. package/dist/core/core.esm.js +1 -1
  272. package/dist/core/core.esm.js.map +1 -1
  273. package/dist/core/{p-e7dd2002.entry.js → p-00e1e600.entry.js} +2 -2
  274. package/dist/core/p-00e1e600.entry.js.map +1 -0
  275. package/dist/core/p-0950ba85.entry.js +2 -0
  276. package/dist/core/p-0950ba85.entry.js.map +1 -0
  277. package/dist/core/{p-5fa41af9.js → p-1020a160.js} +1 -1
  278. package/dist/core/p-1020a160.js.map +1 -0
  279. package/dist/core/p-165fe5f4.entry.js +2 -0
  280. package/dist/core/{p-0a152bb7.entry.js.map → p-165fe5f4.entry.js.map} +1 -1
  281. package/dist/core/{p-9e6a41cc.entry.js → p-16608a87.entry.js} +2 -2
  282. package/dist/core/p-16608a87.entry.js.map +1 -0
  283. package/dist/core/{p-f5ee7634.entry.js → p-1bb5184f.entry.js} +2 -2
  284. package/dist/core/{p-f5ee7634.entry.js.map → p-1bb5184f.entry.js.map} +1 -1
  285. package/dist/core/p-1cc7b8d3.entry.js +2 -0
  286. package/dist/core/p-1cc7b8d3.entry.js.map +1 -0
  287. package/dist/core/{p-b48a3112.entry.js → p-4b375a4d.entry.js} +2 -2
  288. package/dist/core/{p-b48a3112.entry.js.map → p-4b375a4d.entry.js.map} +1 -1
  289. package/dist/core/{p-ad0cc981.entry.js → p-54f367db.entry.js} +2 -2
  290. package/dist/core/{p-ad0cc981.entry.js.map → p-54f367db.entry.js.map} +1 -1
  291. package/dist/core/p-5b4e3bdf.entry.js +2 -0
  292. package/dist/core/p-5b4e3bdf.entry.js.map +1 -0
  293. package/dist/core/p-613d8ed8.entry.js +2 -0
  294. package/dist/core/p-613d8ed8.entry.js.map +1 -0
  295. package/dist/core/{p-6d40721b.entry.js → p-63d2e8ec.entry.js} +2 -2
  296. package/dist/core/{p-6d40721b.entry.js.map → p-63d2e8ec.entry.js.map} +1 -1
  297. package/dist/core/{p-38fb2d42.entry.js → p-692eb701.entry.js} +2 -2
  298. package/dist/core/p-692eb701.entry.js.map +1 -0
  299. package/dist/core/{p-5cecdaaf.entry.js → p-72f16a95.entry.js} +2 -2
  300. package/dist/core/p-7ac5f119.entry.js +2 -0
  301. package/dist/core/{p-63079b80.entry.js.map → p-7ac5f119.entry.js.map} +1 -1
  302. package/dist/core/{p-03d40bf4.entry.js → p-833ab414.entry.js} +2 -2
  303. package/dist/core/{p-03d40bf4.entry.js.map → p-833ab414.entry.js.map} +1 -1
  304. package/dist/core/{p-34360f92.entry.js → p-84fda9dd.entry.js} +2 -2
  305. package/dist/core/{p-34360f92.entry.js.map → p-84fda9dd.entry.js.map} +1 -1
  306. package/dist/core/p-86a3c0d5.entry.js +2 -0
  307. package/dist/core/p-86a3c0d5.entry.js.map +1 -0
  308. package/dist/core/p-8dacc8dc.entry.js +2 -0
  309. package/dist/core/p-8dacc8dc.entry.js.map +1 -0
  310. package/dist/core/p-99155ec0.entry.js +2 -0
  311. package/dist/core/p-99155ec0.entry.js.map +1 -0
  312. package/dist/core/{p-7591ecd4.entry.js → p-9ca0a11c.entry.js} +2 -2
  313. package/dist/core/{p-7591ecd4.entry.js.map → p-9ca0a11c.entry.js.map} +1 -1
  314. package/dist/core/p-a0c491a6.entry.js +2 -0
  315. package/dist/core/p-a0c491a6.entry.js.map +1 -0
  316. package/dist/core/p-a0dd0a95.entry.js +2 -0
  317. package/dist/core/{p-e52a042f.entry.js.map → p-a0dd0a95.entry.js.map} +1 -1
  318. package/dist/core/p-b966062a.entry.js +2 -0
  319. package/dist/core/p-b966062a.entry.js.map +1 -0
  320. package/dist/core/{p-fc1581f9.entry.js → p-bd560ffc.entry.js} +2 -2
  321. package/dist/core/{p-fc1581f9.entry.js.map → p-bd560ffc.entry.js.map} +1 -1
  322. package/dist/core/p-c9948e57.entry.js +2 -0
  323. package/dist/core/p-c9948e57.entry.js.map +1 -0
  324. package/dist/core/p-cd869237.js +2 -0
  325. package/dist/core/p-cd869237.js.map +1 -0
  326. package/dist/core/{p-93facb4a.entry.js → p-da2b921e.entry.js} +2 -2
  327. package/dist/core/p-da2b921e.entry.js.map +1 -0
  328. package/dist/core/{p-9cc6ed83.entry.js → p-e57d250f.entry.js} +2 -2
  329. package/dist/core/p-e57d250f.entry.js.map +1 -0
  330. package/dist/core/{p-f5ffcb3d.entry.js → p-e9c94ef7.entry.js} +2 -2
  331. package/dist/core/p-fac1c202.entry.js +2 -0
  332. package/dist/core/p-fac1c202.entry.js.map +1 -0
  333. package/dist/custom-elements/index.d.ts +6 -0
  334. package/dist/custom-elements/index.js +1 -1
  335. package/dist/custom-elements/index.js.map +1 -1
  336. package/dist/esm/{constants-d550c816.js → constants-037c35bc.js} +3 -3
  337. package/dist/esm/constants-037c35bc.js.map +1 -0
  338. package/dist/esm/{constants-1a2146b2.js → constants-45f6db4c.js} +3 -2
  339. package/dist/esm/constants-45f6db4c.js.map +1 -0
  340. package/dist/esm/core.js +1 -1
  341. package/dist/esm/gov-accordion-item.entry.js +2 -2
  342. package/dist/esm/gov-accordion-item.entry.js.map +1 -1
  343. package/dist/esm/gov-accordion.entry.js +2 -1
  344. package/dist/esm/gov-accordion.entry.js.map +1 -1
  345. package/dist/esm/gov-alert.entry.js +1 -1
  346. package/dist/esm/gov-alert.entry.js.map +1 -1
  347. package/dist/esm/gov-app.entry.js +658 -159
  348. package/dist/esm/gov-app.entry.js.map +1 -1
  349. package/dist/esm/gov-attachments_3.entry.js +1 -1
  350. package/dist/esm/gov-attachments_3.entry.js.map +1 -1
  351. package/dist/esm/gov-backdrop.entry.js +5 -4
  352. package/dist/esm/gov-backdrop.entry.js.map +1 -1
  353. package/dist/esm/gov-badge.entry.js +17 -17
  354. package/dist/esm/gov-badge.entry.js.map +1 -1
  355. package/dist/esm/gov-breadcrumbs.entry.js +1 -1
  356. package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
  357. package/dist/esm/gov-button.entry.js +2 -2
  358. package/dist/esm/gov-button.entry.js.map +1 -1
  359. package/dist/esm/gov-card.entry.js +1 -1
  360. package/dist/esm/gov-card.entry.js.map +1 -1
  361. package/dist/esm/gov-form-checkbox.entry.js +1 -1
  362. package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
  363. package/dist/esm/gov-form-file.entry.js +1 -1
  364. package/dist/esm/gov-form-file.entry.js.map +1 -1
  365. package/dist/esm/gov-form-input.entry.js +2 -2
  366. package/dist/esm/gov-form-input.entry.js.map +1 -1
  367. package/dist/esm/gov-form-multi-select.entry.js +3 -3
  368. package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
  369. package/dist/esm/gov-form-password-power.entry.js +24 -0
  370. package/dist/esm/gov-form-password-power.entry.js.map +1 -0
  371. package/dist/esm/gov-form-select.entry.js +3 -3
  372. package/dist/esm/gov-form-select.entry.js.map +1 -1
  373. package/dist/esm/gov-icon.entry.js +1 -1
  374. package/dist/esm/gov-modal.entry.js +19 -13
  375. package/dist/esm/gov-modal.entry.js.map +1 -1
  376. package/dist/esm/gov-pagination.entry.js +49 -14
  377. package/dist/esm/gov-pagination.entry.js.map +1 -1
  378. package/dist/esm/gov-prompt.entry.js +12 -6
  379. package/dist/esm/gov-prompt.entry.js.map +1 -1
  380. package/dist/esm/gov-side-nav-item.entry.js +1 -1
  381. package/dist/esm/gov-side-nav-item.entry.js.map +1 -1
  382. package/dist/esm/gov-spacer.entry.js +1 -1
  383. package/dist/esm/gov-spacer.entry.js.map +1 -1
  384. package/dist/esm/gov-statsbar-item.entry.js +1 -1
  385. package/dist/esm/gov-statsbar.entry.js +2 -2
  386. package/dist/esm/gov-statsbar.entry.js.map +1 -1
  387. package/dist/esm/gov-tabs.entry.js +1 -1
  388. package/dist/esm/gov-tabs.entry.js.map +1 -1
  389. package/dist/esm/gov-tile.entry.js +2 -2
  390. package/dist/esm/gov-tile.entry.js.map +1 -1
  391. package/dist/esm/gov-tiles.entry.js +2 -1
  392. package/dist/esm/gov-tiles.entry.js.map +1 -1
  393. package/dist/esm/gov-toast.entry.js +1 -1
  394. package/dist/esm/gov-toast.entry.js.map +1 -1
  395. package/dist/esm/gov-wizzard-item.entry.js +1 -1
  396. package/dist/esm/gov-wizzard-item.entry.js.map +1 -1
  397. package/dist/esm/index-00e9a0d5.js +4 -0
  398. package/dist/esm/loader.js +1 -1
  399. package/dist/hydrate/index.js +830 -247
  400. package/dist/types/components/gov-accordion/gov-accordion.d.ts +4 -0
  401. package/dist/types/components/gov-badge/constants.d.ts +4 -2
  402. package/dist/types/components/gov-badge/gov-badge.d.ts +4 -9
  403. package/dist/types/components/gov-button/constants.d.ts +3 -2
  404. package/dist/types/components/gov-form/password-power/constants.d.ts +5 -0
  405. package/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +7 -0
  406. package/dist/types/components/gov-modal/gov-modal.d.ts +3 -1
  407. package/dist/types/components/gov-pagination/gov-pagination.d.ts +7 -3
  408. package/dist/types/components/gov-promp/gov-prompt.d.ts +3 -1
  409. package/dist/types/components/gov-statsbar/constants.d.ts +2 -2
  410. package/dist/types/components/gov-tiles/gov-tiles.d.ts +4 -0
  411. package/dist/types/components.d.ts +39 -10
  412. package/dist/types/utils/array.utils.d.ts +1 -0
  413. package/package.json +1 -1
  414. package/dist/cjs/constants-5f6bbc50.js.map +0 -1
  415. package/dist/cjs/constants-dc2ba6bd.js.map +0 -1
  416. package/dist/core/p-00182e76.entry.js +0 -2
  417. package/dist/core/p-00182e76.entry.js.map +0 -1
  418. package/dist/core/p-0278fcb3.entry.js +0 -2
  419. package/dist/core/p-0278fcb3.entry.js.map +0 -1
  420. package/dist/core/p-08f14c8b.entry.js +0 -2
  421. package/dist/core/p-08f14c8b.entry.js.map +0 -1
  422. package/dist/core/p-0a152bb7.entry.js +0 -2
  423. package/dist/core/p-14f8f2fb.js +0 -2
  424. package/dist/core/p-14f8f2fb.js.map +0 -1
  425. package/dist/core/p-2128abe1.entry.js +0 -2
  426. package/dist/core/p-2128abe1.entry.js.map +0 -1
  427. package/dist/core/p-2419f4cd.entry.js +0 -2
  428. package/dist/core/p-2419f4cd.entry.js.map +0 -1
  429. package/dist/core/p-38fb2d42.entry.js.map +0 -1
  430. package/dist/core/p-4681cb3a.entry.js +0 -2
  431. package/dist/core/p-4681cb3a.entry.js.map +0 -1
  432. package/dist/core/p-469273be.entry.js +0 -2
  433. package/dist/core/p-469273be.entry.js.map +0 -1
  434. package/dist/core/p-5547dbb0.entry.js +0 -2
  435. package/dist/core/p-5547dbb0.entry.js.map +0 -1
  436. package/dist/core/p-5fa41af9.js.map +0 -1
  437. package/dist/core/p-63079b80.entry.js +0 -2
  438. package/dist/core/p-93facb4a.entry.js.map +0 -1
  439. package/dist/core/p-9cc6ed83.entry.js.map +0 -1
  440. package/dist/core/p-9e6a41cc.entry.js.map +0 -1
  441. package/dist/core/p-e52a042f.entry.js +0 -2
  442. package/dist/core/p-e7dd2002.entry.js.map +0 -1
  443. package/dist/core/p-f2dc8ce3.entry.js +0 -2
  444. package/dist/core/p-f2dc8ce3.entry.js.map +0 -1
  445. package/dist/core/p-fc91591d.entry.js +0 -2
  446. package/dist/core/p-fc91591d.entry.js.map +0 -1
  447. package/dist/esm/constants-1a2146b2.js.map +0 -1
  448. package/dist/esm/constants-d550c816.js.map +0 -1
  449. /package/dist/core/{p-5cecdaaf.entry.js.map → p-72f16a95.entry.js.map} +0 -0
  450. /package/dist/core/{p-f5ffcb3d.entry.js.map → p-e9c94ef7.entry.js.map} +0 -0
@@ -1,10 +1,13 @@
1
- var NativeType;
1
+ export var NativeType;
2
2
  (function (NativeType) {
3
+ NativeType["A"] = "a";
3
4
  NativeType["SPAN"] = "span";
4
5
  NativeType["BUTTON"] = "button";
5
6
  })(NativeType || (NativeType = {}));
6
7
  export const BadgeClass = {
7
8
  root: 'gov-badge',
8
9
  inner: 'gov-badge__inner',
10
+ hasRight: 'gov-badge--has-right',
11
+ hasLeft: 'gov-badge--has-left',
9
12
  };
10
13
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-badge/constants.ts"],"names":[],"mappings":"AAEA,IAAK,UAGJ;AAHD,WAAK,UAAU;EACd,2BAAa,CAAA;EACb,+BAAiB,CAAA;AAClB,CAAC,EAHI,UAAU,KAAV,UAAU,QAGd;AAID,MAAM,CAAC,MAAM,UAAU,GAAG;EACzB,IAAI,EAAE,WAAW;EACjB,KAAK,EAAE,kBAAkB;CACzB,CAAA","sourcesContent":["import { ValueOf } from '../../types/interfaces'\n\nenum NativeType {\n\tSPAN = 'span',\n\tBUTTON = 'button',\n}\n\nexport type NativeTypesType = `${ValueOf<typeof NativeType>}`\n\nexport const BadgeClass = {\n\troot: 'gov-badge',\n\tinner: 'gov-badge__inner',\n}\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-badge/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,UAIX;AAJD,WAAY,UAAU;EACrB,qBAAO,CAAA;EACP,2BAAa,CAAA;EACb,+BAAiB,CAAA;AAClB,CAAC,EAJW,UAAU,KAAV,UAAU,QAIrB;AAID,MAAM,CAAC,MAAM,UAAU,GAAG;EACzB,IAAI,EAAE,WAAW;EACjB,KAAK,EAAE,kBAAkB;EACzB,QAAQ,EAAE,sBAAsB;EAChC,OAAO,EAAE,qBAAqB;CAC9B,CAAA","sourcesContent":["import { ValueOf } from '../../types/interfaces'\n\nexport enum NativeType {\n\tA = 'a',\n\tSPAN = 'span',\n\tBUTTON = 'button',\n}\n\nexport type NativeTypesType = `${ValueOf<typeof NativeType>}`\n\nexport const BadgeClass = {\n\troot: 'gov-badge',\n\tinner: 'gov-badge__inner',\n\thasRight: 'gov-badge--has-right',\n\thasLeft: 'gov-badge--has-left',\n}\n"]}
@@ -148,6 +148,9 @@
148
148
  /*
149
149
  - Variables - Form multiselect
150
150
  */
151
+ /*
152
+ - Variables - Form password power
153
+ */
151
154
  /*
152
155
  - Variables - Form checkbox & radio
153
156
  */
@@ -379,6 +382,41 @@
379
382
  color: var(--gov-button-primary-base-inverse-active-color, var(--gov-color-neutral-white));
380
383
  }
381
384
  }
385
+ [type=link][variant=primary].gov-badge .element {
386
+ color: var(--gov-button-primary-link-color, var(--gov-color-primary));
387
+ border-width: 0;
388
+ }
389
+ [type=link][variant=primary][inverse=""].gov-badge .element, [type=link][variant=primary][inverse=true i].gov-badge .element, [type=link][variant=primary][inverse="1"].gov-badge .element {
390
+ color: var(--gov-button-primary-link-inverse-color, var(--gov-color-neutral-white));
391
+ background-color: var(--gov-button-primary-link-inverse-bg, transparent);
392
+ }
393
+ [type=link][variant=primary][disabled=""].gov-badge .element, [type=link][variant=primary][disabled=true i].gov-badge .element, [type=link][variant=primary][disabled="1"].gov-badge .element {
394
+ color: var(--gov-button-primary-link-disabled-color, var(--gov-color-primary-400));
395
+ }
396
+ [type=link][variant=primary][disabled=""][inverse=""].gov-badge .element, [type=link][variant=primary][disabled=""][inverse=true i].gov-badge .element, [type=link][variant=primary][disabled=""][inverse="1"].gov-badge .element, [type=link][variant=primary][disabled=true i][inverse=""].gov-badge .element, [type=link][variant=primary][disabled=true i][inverse=true i].gov-badge .element, [type=link][variant=primary][disabled=true i][inverse="1"].gov-badge .element, [type=link][variant=primary][disabled="1"][inverse=""].gov-badge .element, [type=link][variant=primary][disabled="1"][inverse=true i].gov-badge .element, [type=link][variant=primary][disabled="1"][inverse="1"].gov-badge .element {
397
+ background-color: var(--gov-button-primary-link-inverse-disabled-bg, transparent);
398
+ color: var(--gov-button-primary-link-inverse-disabled-color, var(--gov-color-primary-400));
399
+ }
400
+ @media not all and (pointer: coarse) {
401
+ [type=link][variant=primary][hoverable].gov-badge .element:hover {
402
+ background-color: var(--gov-button-primary-link-hover-bg, transparent);
403
+ color: var(--gov-button-primary-link-hover-color, var(--gov-color-primary));
404
+ }
405
+ [type=link][variant=primary][hoverable].gov-badge .element:hover:active {
406
+ background-color: var(--gov-button-primary-link-active-bg, transparent);
407
+ color: var(--gov-button-primary-link-active-color, var(--gov-color-primary-700));
408
+ }
409
+ }
410
+ @media not all and (pointer: coarse) {
411
+ [type=link][variant=primary][hoverable][inverse=""].gov-badge .element:hover, [type=link][variant=primary][hoverable][inverse=true i].gov-badge .element:hover, [type=link][variant=primary][hoverable][inverse="1"].gov-badge .element:hover {
412
+ background-color: var(--gov-button-primary-link-inverse-hover-bg, transparent);
413
+ color: var(--gov-button-primary-link-inverse-hover-color, var(--gov-color-neutral-white));
414
+ }
415
+ [type=link][variant=primary][hoverable][inverse=""].gov-badge .element:hover:active, [type=link][variant=primary][hoverable][inverse=true i].gov-badge .element:hover:active, [type=link][variant=primary][hoverable][inverse="1"].gov-badge .element:hover:active {
416
+ background-color: var(--gov-button-primary-link-inverse-active-bg, transparent);
417
+ color: var(--gov-button-primary-link-inverse-active-color, var(--gov-color-primary-200));
418
+ }
419
+ }
382
420
  [type=solid][variant=secondary].gov-badge .element {
383
421
  background-color: var(--gov-button-secondary-solid-bg, var(--gov-color-secondary));
384
422
  color: var(--gov-button-secondary-solid-color, var(--gov-color-neutral-white));
@@ -493,6 +531,41 @@
493
531
  color: var(--gov-button-secondary-base-inverse-active-color, var(--gov-color-secondary));
494
532
  }
495
533
  }
534
+ [type=link][variant=secondary].gov-badge .element {
535
+ color: var(--gov-button-secondary-link-color, var(--gov-color-secondary));
536
+ border-width: 0;
537
+ }
538
+ [type=link][variant=secondary][inverse=""].gov-badge .element, [type=link][variant=secondary][inverse=true i].gov-badge .element, [type=link][variant=secondary][inverse="1"].gov-badge .element {
539
+ color: var(--gov-button-secondary-link-inverse-color, var(--gov-color-neutral-white));
540
+ background-color: var(--gov-button-secondary-link-inverse-bg, transparent);
541
+ }
542
+ [type=link][variant=secondary][disabled=""].gov-badge .element, [type=link][variant=secondary][disabled=true i].gov-badge .element, [type=link][variant=secondary][disabled="1"].gov-badge .element {
543
+ color: var(--gov-button-secondary-link-disabled-color, var(--gov-color-secondary-600));
544
+ }
545
+ [type=link][variant=secondary][disabled=""][inverse=""].gov-badge .element, [type=link][variant=secondary][disabled=""][inverse=true i].gov-badge .element, [type=link][variant=secondary][disabled=""][inverse="1"].gov-badge .element, [type=link][variant=secondary][disabled=true i][inverse=""].gov-badge .element, [type=link][variant=secondary][disabled=true i][inverse=true i].gov-badge .element, [type=link][variant=secondary][disabled=true i][inverse="1"].gov-badge .element, [type=link][variant=secondary][disabled="1"][inverse=""].gov-badge .element, [type=link][variant=secondary][disabled="1"][inverse=true i].gov-badge .element, [type=link][variant=secondary][disabled="1"][inverse="1"].gov-badge .element {
546
+ background-color: var(--gov-button-secondary-link-inverse-disabled-bg, transparent);
547
+ color: var(--gov-button-secondary-link-inverse-disabled-color, var(--gov-color-secondary-600));
548
+ }
549
+ @media not all and (pointer: coarse) {
550
+ [type=link][variant=secondary][hoverable].gov-badge .element:hover {
551
+ background-color: var(--gov-button-secondary-link-hover-bg, transparent);
552
+ color: var(--gov-button-secondary-link-hover-color, var(--gov-color-secondary));
553
+ }
554
+ [type=link][variant=secondary][hoverable].gov-badge .element:hover:active {
555
+ background-color: var(--gov-button-secondary-link-active-bg, transparent);
556
+ color: var(--gov-button-primary-link-active-color, var(--gov-color-secondary));
557
+ }
558
+ }
559
+ @media not all and (pointer: coarse) {
560
+ [type=link][variant=secondary][hoverable][inverse=""].gov-badge .element:hover, [type=link][variant=secondary][hoverable][inverse=true i].gov-badge .element:hover, [type=link][variant=secondary][hoverable][inverse="1"].gov-badge .element:hover {
561
+ background-color: var(--gov-button-secondary-link-inverse-hover-bg, transparent);
562
+ color: var(--gov-button-secondary-link-inverse-hover-color, var(--gov-color-neutral-white));
563
+ }
564
+ [type=link][variant=secondary][hoverable][inverse=""].gov-badge .element:hover:active, [type=link][variant=secondary][hoverable][inverse=true i].gov-badge .element:hover:active, [type=link][variant=secondary][hoverable][inverse="1"].gov-badge .element:hover:active {
565
+ background-color: var(--gov-button-secondary-link-inverse-active-bg, transparent);
566
+ color: var(--gov-button-secondary-link-inverse-active-color, var(--gov-color-secondary-500));
567
+ }
568
+ }
496
569
  [type=solid][variant=error].gov-badge .element {
497
570
  background-color: var(--gov-button-error-solid-bg, var(--gov-color-error));
498
571
  color: var(--gov-button-error-solid-color, var(--gov-color-neutral-white));
@@ -605,6 +678,41 @@
605
678
  color: var(--gov-button-error-base-inverse-active-color, var(--gov-color-neutral-white));
606
679
  }
607
680
  }
681
+ [type=link][variant=error].gov-badge .element {
682
+ color: var(--gov-button-error-link-color, var(--gov-color-error));
683
+ border-width: 0;
684
+ }
685
+ [type=link][variant=error][inverse=""].gov-badge .element, [type=link][variant=error][inverse=true i].gov-badge .element, [type=link][variant=error][inverse="1"].gov-badge .element {
686
+ color: var(--gov-button-error-link-inverse-color, var(--gov-color-neutral-white));
687
+ background-color: var(--gov-button-error-link-inverse-bg, transparent);
688
+ }
689
+ [type=link][variant=error][disabled=""].gov-badge .element, [type=link][variant=error][disabled=true i].gov-badge .element, [type=link][variant=error][disabled="1"].gov-badge .element {
690
+ color: var(--gov-button-error-link-disabled-color, var(--gov-color-error-200));
691
+ }
692
+ [type=link][variant=error][disabled=""][inverse=""].gov-badge .element, [type=link][variant=error][disabled=""][inverse=true i].gov-badge .element, [type=link][variant=error][disabled=""][inverse="1"].gov-badge .element, [type=link][variant=error][disabled=true i][inverse=""].gov-badge .element, [type=link][variant=error][disabled=true i][inverse=true i].gov-badge .element, [type=link][variant=error][disabled=true i][inverse="1"].gov-badge .element, [type=link][variant=error][disabled="1"][inverse=""].gov-badge .element, [type=link][variant=error][disabled="1"][inverse=true i].gov-badge .element, [type=link][variant=error][disabled="1"][inverse="1"].gov-badge .element {
693
+ background-color: var(--gov-button-error-link-inverse-disabled-bg, transparent);
694
+ color: var(--gov-button-error-link-inverse-disabled-color, var(--gov-color-error-200));
695
+ }
696
+ @media not all and (pointer: coarse) {
697
+ [type=link][variant=error][hoverable].gov-badge .element:hover {
698
+ background-color: var(--gov-button-error-link-hover-bg, transparent);
699
+ color: var(--gov-button-error-link-hover-color, var(--gov-color-error));
700
+ }
701
+ [type=link][variant=error][hoverable].gov-badge .element:hover:active {
702
+ background-color: var(--gov-button-error-link-active-bg, transparent);
703
+ color: var(--gov-button-primary-link-active-color, var(--gov-color-error-500));
704
+ }
705
+ }
706
+ @media not all and (pointer: coarse) {
707
+ [type=link][variant=error][hoverable][inverse=""].gov-badge .element:hover, [type=link][variant=error][hoverable][inverse=true i].gov-badge .element:hover, [type=link][variant=error][hoverable][inverse="1"].gov-badge .element:hover {
708
+ background-color: var(--gov-button-error-link-inverse-hover-bg, transparent);
709
+ color: var(--gov-button-error-link-inverse-hover-color, var(--gov-color-neutral-white));
710
+ }
711
+ [type=link][variant=error][hoverable][inverse=""].gov-badge .element:hover:active, [type=link][variant=error][hoverable][inverse=true i].gov-badge .element:hover:active, [type=link][variant=error][hoverable][inverse="1"].gov-badge .element:hover:active {
712
+ background-color: var(--gov-button-error-link-inverse-active-bg, transparent);
713
+ color: var(--gov-button-error-link-inverse-active-color, var(--gov-color-neutral-white));
714
+ }
715
+ }
608
716
  [type=solid][variant=success].gov-badge .element {
609
717
  background-color: var(--gov-button-success-solid-bg, var(--gov-color-success-500));
610
718
  color: var(--gov-button-success-solid-color, var(--gov-color-neutral-white));
@@ -717,6 +825,41 @@
717
825
  color: var(--gov-button-success-base-inverse-active-color, var(--gov-color-neutral-white));
718
826
  }
719
827
  }
828
+ [type=link][variant=success].gov-badge .element {
829
+ color: var(--gov-button-success-link-color, var(--gov-color-success-500));
830
+ border-width: 0;
831
+ }
832
+ [type=link][variant=success][inverse=""].gov-badge .element, [type=link][variant=success][inverse=true i].gov-badge .element, [type=link][variant=success][inverse="1"].gov-badge .element {
833
+ color: var(--gov-button-success-link-inverse-color, var(--gov-color-neutral-white));
834
+ background-color: var(--gov-button-success-link-inverse-bg, transparent);
835
+ }
836
+ [type=link][variant=success][disabled=""].gov-badge .element, [type=link][variant=success][disabled=true i].gov-badge .element, [type=link][variant=success][disabled="1"].gov-badge .element {
837
+ color: var(--gov-button-success-link-disabled-color, var(--gov-color-success-300));
838
+ }
839
+ [type=link][variant=success][disabled=""][inverse=""].gov-badge .element, [type=link][variant=success][disabled=""][inverse=true i].gov-badge .element, [type=link][variant=success][disabled=""][inverse="1"].gov-badge .element, [type=link][variant=success][disabled=true i][inverse=""].gov-badge .element, [type=link][variant=success][disabled=true i][inverse=true i].gov-badge .element, [type=link][variant=success][disabled=true i][inverse="1"].gov-badge .element, [type=link][variant=success][disabled="1"][inverse=""].gov-badge .element, [type=link][variant=success][disabled="1"][inverse=true i].gov-badge .element, [type=link][variant=success][disabled="1"][inverse="1"].gov-badge .element {
840
+ background-color: var(--gov-button-success-link-inverse-disabled-bg, transparent);
841
+ color: var(--gov-button-success-link-inverse-disabled-color, var(--gov-color-success-400));
842
+ }
843
+ @media not all and (pointer: coarse) {
844
+ [type=link][variant=success][hoverable].gov-badge .element:hover {
845
+ background-color: var(--gov-button-success-link-hover-bg, transparent);
846
+ color: var(--gov-button-success-link-hover-color, var(--gov-color-success-500));
847
+ }
848
+ [type=link][variant=success][hoverable].gov-badge .element:hover:active {
849
+ background-color: var(--gov-button-success-link-active-bg, transparent);
850
+ color: var(--gov-button-primary-link-active-color, var(--gov-color-success-600));
851
+ }
852
+ }
853
+ @media not all and (pointer: coarse) {
854
+ [type=link][variant=success][hoverable][inverse=""].gov-badge .element:hover, [type=link][variant=success][hoverable][inverse=true i].gov-badge .element:hover, [type=link][variant=success][hoverable][inverse="1"].gov-badge .element:hover {
855
+ background-color: var(--gov-button-success-link-inverse-hover-bg, transparent);
856
+ color: var(--gov-button-success-link-inverse-hover-color, var(--gov-color-neutral-white));
857
+ }
858
+ [type=link][variant=success][hoverable][inverse=""].gov-badge .element:hover:active, [type=link][variant=success][hoverable][inverse=true i].gov-badge .element:hover:active, [type=link][variant=success][hoverable][inverse="1"].gov-badge .element:hover:active {
859
+ background-color: var(--gov-button-success-link-inverse-active-bg, transparent);
860
+ color: var(--gov-button-success-link-inverse-active-color, var(--gov-color-neutral-white));
861
+ }
862
+ }
720
863
  [type=solid][variant=warning].gov-badge .element {
721
864
  background-color: var(--gov-button-warning-solid-bg, var(--gov-color-warning-500));
722
865
  color: var(--gov-button-warning-solid-color, var(--gov-color-neutral-white));
@@ -829,6 +972,41 @@
829
972
  color: var(--gov-button-warning-base-inverse-active-color, var(--gov-color-neutral-white));
830
973
  }
831
974
  }
975
+ [type=link][variant=warning].gov-badge .element {
976
+ color: var(--gov-button-warning-link-color, var(--gov-color-warning-500));
977
+ border-width: 0;
978
+ }
979
+ [type=link][variant=warning][inverse=""].gov-badge .element, [type=link][variant=warning][inverse=true i].gov-badge .element, [type=link][variant=warning][inverse="1"].gov-badge .element {
980
+ color: var(--gov-button-warning-link-inverse-color, var(--gov-color-neutral-white));
981
+ background-color: var(--gov-button-warning-link-inverse-bg, transparent);
982
+ }
983
+ [type=link][variant=warning][disabled=""].gov-badge .element, [type=link][variant=warning][disabled=true i].gov-badge .element, [type=link][variant=warning][disabled="1"].gov-badge .element {
984
+ color: var(--gov-button-warning-link-disabled-color, var(--gov-color-warning));
985
+ }
986
+ [type=link][variant=warning][disabled=""][inverse=""].gov-badge .element, [type=link][variant=warning][disabled=""][inverse=true i].gov-badge .element, [type=link][variant=warning][disabled=""][inverse="1"].gov-badge .element, [type=link][variant=warning][disabled=true i][inverse=""].gov-badge .element, [type=link][variant=warning][disabled=true i][inverse=true i].gov-badge .element, [type=link][variant=warning][disabled=true i][inverse="1"].gov-badge .element, [type=link][variant=warning][disabled="1"][inverse=""].gov-badge .element, [type=link][variant=warning][disabled="1"][inverse=true i].gov-badge .element, [type=link][variant=warning][disabled="1"][inverse="1"].gov-badge .element {
987
+ background-color: var(--gov-button-warning-link-inverse-disabled-bg, transparent);
988
+ color: var(--gov-button-warning-link-inverse-disabled-color, var(--gov-color-warning-400));
989
+ }
990
+ @media not all and (pointer: coarse) {
991
+ [type=link][variant=warning][hoverable].gov-badge .element:hover {
992
+ background-color: var(--gov-button-warning-link-hover-bg, transparent);
993
+ color: var(--gov-button-warning-link-hover-color, var(--gov-color-warning-500));
994
+ }
995
+ [type=link][variant=warning][hoverable].gov-badge .element:hover:active {
996
+ background-color: var(--gov-button-warning-link-active-bg, transparent);
997
+ color: var(--gov-button-primary-link-active-color, var(--gov-color-warning-600));
998
+ }
999
+ }
1000
+ @media not all and (pointer: coarse) {
1001
+ [type=link][variant=warning][hoverable][inverse=""].gov-badge .element:hover, [type=link][variant=warning][hoverable][inverse=true i].gov-badge .element:hover, [type=link][variant=warning][hoverable][inverse="1"].gov-badge .element:hover {
1002
+ background-color: var(--gov-button-warning-link-inverse-hover-bg, transparent);
1003
+ color: var(--gov-button-warning-link-inverse-hover-color, var(--gov-color-neutral-white));
1004
+ }
1005
+ [type=link][variant=warning][hoverable][inverse=""].gov-badge .element:hover:active, [type=link][variant=warning][hoverable][inverse=true i].gov-badge .element:hover:active, [type=link][variant=warning][hoverable][inverse="1"].gov-badge .element:hover:active {
1006
+ background-color: var(--gov-button-warning-link-inverse-active-bg, transparent);
1007
+ color: var(--gov-button-warning-link-inverse-active-color, var(--gov-color-neutral-white));
1008
+ }
1009
+ }
832
1010
  [size=xs].gov-badge .element {
833
1011
  font-weight: var(--gov-button-text-xs-font-weight, var(--gov-text-xs-font-weight));
834
1012
  font-size: var(--gov-button-text-xs-font-size, var(--gov-text-xs-font-size));
@@ -843,22 +1021,6 @@
843
1021
  width: var(--gov-button-xs-icon-size, 1rem);
844
1022
  height: var(--gov-button-xs-icon-size, 1rem);
845
1023
  }
846
- @media (min-width: 48em) {
847
- [size=xs].gov-badge .element {
848
- font-weight: var(--gov-button-text-xs-font-weight, var(--gov-text-xs-font-weight));
849
- font-size: var(--gov-button-text-xs-font-size, var(--gov-text-xs-font-size));
850
- line-height: var(--gov-button-text-xs-line-height, var(--gov-text-xs-line-height));
851
- letter-spacing: var(--gov-button-text-xs-letter-spacing, var(--gov-text-xs-letter-spacing));
852
- -moz-column-gap: var(--gov-button-xs-padding-x, 0.625rem);
853
- column-gap: var(--gov-button-xs-padding-x, 0.625rem);
854
- min-height: var(--gov-button-xs-min-height, 1.5rem);
855
- padding: var(--gov-button-xs-padding-y, 0.125rem) var(--gov-button-xs-padding-x, 0.625rem);
856
- }
857
- [size=xs].gov-badge .element .gov-icon {
858
- width: var(--gov-button-xs-icon-size, 1rem);
859
- height: var(--gov-button-xs-icon-size, 1rem);
860
- }
861
- }
862
1024
  [size=s].gov-badge .element {
863
1025
  font-weight: var(--gov-button-text-s-font-weight, var(--gov-text-s-font-weight));
864
1026
  font-size: var(--gov-button-text-s-font-size, var(--gov-text-s-font-size));
@@ -873,53 +1035,7 @@
873
1035
  width: var(--gov-button-s-icon-size, 1rem);
874
1036
  height: var(--gov-button-s-icon-size, 1rem);
875
1037
  }
876
- @media (min-width: 48em) {
877
- [size=s].gov-badge .element {
878
- font-weight: var(--gov-button-text-s-font-weight, var(--gov-text-s-font-weight));
879
- font-size: var(--gov-button-text-s-font-size, var(--gov-text-s-font-size));
880
- line-height: var(--gov-button-text-s-line-height, var(--gov-text-s-line-height));
881
- letter-spacing: var(--gov-button-text-s-letter-spacing, var(--gov-text-s-letter-spacing));
882
- -moz-column-gap: var(--gov-button-s-padding-x, 0.75rem);
883
- column-gap: var(--gov-button-s-padding-x, 0.75rem);
884
- min-height: var(--gov-button-s-min-height, 2rem);
885
- padding: var(--gov-button-s-padding-y, 0.25rem) var(--gov-button-s-padding-x, 0.75rem);
886
- }
887
- [size=s].gov-badge .element .gov-icon {
888
- width: var(--gov-button-s-icon-size, 1rem);
889
- height: var(--gov-button-s-icon-size, 1rem);
890
- }
891
- }
892
1038
  [size=m].gov-badge .element {
893
- font-weight: var(--gov-button-text-s-font-weight, var(--gov-text-s-font-weight));
894
- font-size: var(--gov-button-text-s-font-size, var(--gov-text-s-font-size));
895
- line-height: var(--gov-button-text-s-line-height, var(--gov-text-s-line-height));
896
- letter-spacing: var(--gov-button-text-s-letter-spacing, var(--gov-text-s-letter-spacing));
897
- -moz-column-gap: var(--gov-button-s-padding-x, 0.75rem);
898
- column-gap: var(--gov-button-s-padding-x, 0.75rem);
899
- min-height: var(--gov-button-s-min-height, 2rem);
900
- padding: var(--gov-button-s-padding-y, 0.25rem) var(--gov-button-s-padding-x, 0.75rem);
901
- }
902
- [size=m].gov-badge .element .gov-icon {
903
- width: var(--gov-button-s-icon-size, 1rem);
904
- height: var(--gov-button-s-icon-size, 1rem);
905
- }
906
- @media (min-width: 48em) {
907
- [size=m].gov-badge .element {
908
- font-weight: var(--gov-button-text-m-font-weight, var(--gov-text-m-font-weight));
909
- font-size: var(--gov-button-text-m-font-size, var(--gov-text-m-font-size));
910
- line-height: var(--gov-button-text-m-line-height, var(--gov-text-m-line-height));
911
- letter-spacing: var(--gov-button-text-m-letter-spacing, var(--gov-text-m-letter-spacing));
912
- -moz-column-gap: var(--gov-button-m-padding-x, 0.75rem);
913
- column-gap: var(--gov-button-m-padding-x, 0.75rem);
914
- min-height: var(--gov-button-m-min-height, 2.5rem);
915
- padding: var(--gov-button-m-padding-y, 0.375rem) var(--gov-button-m-padding-x, 0.75rem);
916
- }
917
- [size=m].gov-badge .element .gov-icon {
918
- width: var(--gov-button-m-icon-size, 1.25rem);
919
- height: var(--gov-button-m-icon-size, 1.25rem);
920
- }
921
- }
922
- [size=l].gov-badge .element {
923
1039
  font-weight: var(--gov-button-text-m-font-weight, var(--gov-text-m-font-weight));
924
1040
  font-size: var(--gov-button-text-m-font-size, var(--gov-text-m-font-size));
925
1041
  line-height: var(--gov-button-text-m-line-height, var(--gov-text-m-line-height));
@@ -929,27 +1045,11 @@
929
1045
  min-height: var(--gov-button-m-min-height, 2.5rem);
930
1046
  padding: var(--gov-button-m-padding-y, 0.375rem) var(--gov-button-m-padding-x, 0.75rem);
931
1047
  }
932
- [size=l].gov-badge .element .gov-icon {
1048
+ [size=m].gov-badge .element .gov-icon {
933
1049
  width: var(--gov-button-m-icon-size, 1.25rem);
934
1050
  height: var(--gov-button-m-icon-size, 1.25rem);
935
1051
  }
936
- @media (min-width: 48em) {
937
- [size=l].gov-badge .element {
938
- font-weight: var(--gov-button-text-l-font-weight, var(--gov-text-l-font-weight));
939
- font-size: var(--gov-button-text-l-font-size, var(--gov-text-l-font-size));
940
- line-height: var(--gov-button-text-l-line-height, var(--gov-text-l-line-height));
941
- letter-spacing: var(--gov-button-text-l-letter-spacing, var(--gov-text-l-letter-spacing));
942
- -moz-column-gap: var(--gov-button-l-padding-x, 1rem);
943
- column-gap: var(--gov-button-l-padding-x, 1rem);
944
- min-height: var(--gov-button-l-min-height, 3rem);
945
- padding: var(--gov-button-l-padding-y, 0.5rem) var(--gov-button-l-padding-x, 1rem);
946
- }
947
- [size=l].gov-badge .element .gov-icon {
948
- width: var(--gov-button-l-icon-size, 1.5rem);
949
- height: var(--gov-button-l-icon-size, 1.5rem);
950
- }
951
- }
952
- [size=xl].gov-badge .element {
1052
+ [size=l].gov-badge .element {
953
1053
  font-weight: var(--gov-button-text-l-font-weight, var(--gov-text-l-font-weight));
954
1054
  font-size: var(--gov-button-text-l-font-size, var(--gov-text-l-font-size));
955
1055
  line-height: var(--gov-button-text-l-line-height, var(--gov-text-l-line-height));
@@ -959,25 +1059,23 @@
959
1059
  min-height: var(--gov-button-l-min-height, 3rem);
960
1060
  padding: var(--gov-button-l-padding-y, 0.5rem) var(--gov-button-l-padding-x, 1rem);
961
1061
  }
962
- [size=xl].gov-badge .element .gov-icon {
1062
+ [size=l].gov-badge .element .gov-icon {
963
1063
  width: var(--gov-button-l-icon-size, 1.5rem);
964
1064
  height: var(--gov-button-l-icon-size, 1.5rem);
965
1065
  }
966
- @media (min-width: 48em) {
967
- [size=xl].gov-badge .element {
968
- font-weight: var(--gov-button-text-xl-font-weight, var(--gov-text-xl-font-weight));
969
- font-size: var(--gov-button-text-xl-font-size, var(--gov-text-xl-font-size));
970
- line-height: var(--gov-button-text-xl-line-height, var(--gov-text-xl-line-height));
971
- letter-spacing: var(--gov-button-text-xl-letter-spacing, var(--gov-text-xl-letter-spacing));
972
- -moz-column-gap: var(--gov-button-xl-padding-x, 1.25rem);
973
- column-gap: var(--gov-button-xl-padding-x, 1.25rem);
974
- min-height: var(--gov-button-xl-min-height, 3.5rem);
975
- padding: var(--gov-button-xl-padding-y, 0.75rem) var(--gov-button-xl-padding-x, 1.25rem);
976
- }
977
- [size=xl].gov-badge .element .gov-icon {
978
- width: var(--gov-button-xl-icon-size, 1.75rem);
979
- height: var(--gov-button-xl-icon-size, 1.75rem);
980
- }
1066
+ [size=xl].gov-badge .element {
1067
+ font-weight: var(--gov-button-text-xl-font-weight, var(--gov-text-xl-font-weight));
1068
+ font-size: var(--gov-button-text-xl-font-size, var(--gov-text-xl-font-size));
1069
+ line-height: var(--gov-button-text-xl-line-height, var(--gov-text-xl-line-height));
1070
+ letter-spacing: var(--gov-button-text-xl-letter-spacing, var(--gov-text-xl-letter-spacing));
1071
+ -moz-column-gap: var(--gov-button-xl-padding-x, 1.25rem);
1072
+ column-gap: var(--gov-button-xl-padding-x, 1.25rem);
1073
+ min-height: var(--gov-button-xl-min-height, 3.5rem);
1074
+ padding: var(--gov-button-xl-padding-y, 0.75rem) var(--gov-button-xl-padding-x, 1.25rem);
1075
+ }
1076
+ [size=xl].gov-badge .element .gov-icon {
1077
+ width: var(--gov-button-xl-icon-size, 1.75rem);
1078
+ height: var(--gov-button-xl-icon-size, 1.75rem);
981
1079
  }
982
1080
 
983
1081
  .gov-badge a .gov-icon {
@@ -1073,4 +1171,14 @@
1073
1171
  border-color: var(--gov-badge-inverse-error-border-color, var(--gov-color-error-200));
1074
1172
  background-color: var(--gov-badge-inverse-error-bg, var(--gov-color-error-100));
1075
1173
  color: var(--gov-badge-inverse-error-color, var(--gov-color-error-500));
1174
+ }
1175
+ .gov-badge--has-right > .element {
1176
+ padding-top: 0 !important;
1177
+ padding-bottom: 0 !important;
1178
+ padding-right: 0 !important;
1179
+ }
1180
+ .gov-badge--has-left > .element {
1181
+ padding-top: 0 !important;
1182
+ padding-bottom: 0 !important;
1183
+ padding-left: 0 !important;
1076
1184
  }
@@ -1,25 +1,18 @@
1
- import { h, Host } from '@stencil/core';
2
- import { validateProp } from '../../helpers/Validate/props';
3
- import { govHost } from '../../helpers/Dom/template';
4
- import { BadgeClass } from './constants';
5
- import { Type, ButtonVariants, ButtonSizes } from '../gov-button/constants';
6
- var Tags;
7
- (function (Tags) {
8
- Tags["A"] = "a";
9
- Tags["SPAN"] = "span";
10
- Tags["BUTTON"] = "button";
11
- })(Tags || (Tags = {}));
1
+ import { h, Host } from "@stencil/core";
2
+ import { validateProp } from "../../helpers/Validate/props";
3
+ import { govHost } from "../../helpers/Dom/template";
4
+ import { BadgeClass, NativeType } from "./constants";
5
+ import { Type, ButtonVariants, ButtonSizes, } from "../gov-button/constants";
12
6
  export class GovBadge {
13
7
  constructor() {
14
8
  this.inverse = false;
15
9
  this.disabled = false;
16
10
  this.href = undefined;
17
11
  this.target = undefined;
18
- this.size = 'm';
19
- this.type = 'solid';
20
- this.tag = 'span';
21
- this.nativeType = 'span';
22
- this.variant = 'primary';
12
+ this.size = "m";
13
+ this.type = "solid";
14
+ this.tag = "span";
15
+ this.variant = "primary";
23
16
  this.wcagLabel = undefined;
24
17
  this.h = govHost(this.host);
25
18
  }
@@ -38,13 +31,17 @@ export class GovBadge {
38
31
  this.validateType(this.type);
39
32
  }
40
33
  render() {
41
- const Tag = this.href ? Tags.A : this.nativeType == 'button' ? Tags.BUTTON : this.tag;
42
- const nativeType = Tag == Tags.BUTTON ? this.nativeType : undefined;
43
- return (h(Host, { class: this.h.classes(BadgeClass.root), disabled: this.disabled, href: this.href, variant: this.variant, size: this.size, type: this.type, inverse: this.inverse, hoverable: Tag == Tags.A || Tag == Tags.BUTTON }, h(Tag, { class: "element", href: this.href, target: this.target, "aria-label": this.wcagLabel, onClick: this.onClickHandler.bind(this), type: nativeType }, this.h.hasSlot('left-icon') && h("slot", { name: "left-icon" }), h("slot", null), this.h.hasSlot('right-icon') && h("slot", { name: "right-icon" }))));
34
+ const Tag = this.href ? NativeType.A : this.tag;
35
+ const nativeType = Tag == NativeType.BUTTON ? NativeType.BUTTON : undefined;
36
+ return (h(Host, { class: this.h.classes([
37
+ BadgeClass.root,
38
+ this.h.hasSlot("right") ? BadgeClass.hasRight : undefined,
39
+ this.h.hasSlot("left") ? BadgeClass.hasLeft : undefined,
40
+ ]), disabled: this.disabled, href: this.href, variant: this.variant, size: this.size, type: this.type, inverse: this.inverse, hoverable: Tag == NativeType.A || Tag == NativeType.BUTTON }, h(Tag, { class: "element", href: this.href, target: this.target, "aria-label": this.wcagLabel, onClick: this.onClickHandler.bind(this), type: nativeType }, this.h.hasSlot("left") && h("slot", { name: "left" }), this.h.hasSlot("left-icon") && h("slot", { name: "left-icon" }), h("slot", null), this.h.hasSlot("right-icon") && h("slot", { name: "right-icon" }), this.h.hasSlot("right") && h("slot", { name: "right" }))));
44
41
  }
45
42
  onClickHandler(e) {
46
43
  e.stopPropagation();
47
- if (this.disabled === false) {
44
+ if (this.disabled === false && this.tag === NativeType.BUTTON) {
48
45
  this.govClick.emit(e);
49
46
  }
50
47
  }
@@ -142,7 +139,7 @@ export class GovBadge {
142
139
  "mutable": false,
143
140
  "complexType": {
144
141
  "original": "ButtonSizesType",
145
- "resolved": "\"l\" | \"m\" | \"s\" | \"xl\"",
142
+ "resolved": "\"l\" | \"m\" | \"s\" | \"xl\" | \"xs\"",
146
143
  "references": {
147
144
  "ButtonSizesType": {
148
145
  "location": "import",
@@ -158,14 +155,14 @@ export class GovBadge {
158
155
  },
159
156
  "attribute": "size",
160
157
  "reflect": false,
161
- "defaultValue": "'m'"
158
+ "defaultValue": "\"m\""
162
159
  },
163
160
  "type": {
164
161
  "type": "string",
165
162
  "mutable": false,
166
163
  "complexType": {
167
164
  "original": "TypesType",
168
- "resolved": "\"base\" | \"outlined\" | \"solid\"",
165
+ "resolved": "\"base\" | \"link\" | \"outlined\" | \"solid\"",
169
166
  "references": {
170
167
  "TypesType": {
171
168
  "location": "import",
@@ -181,32 +178,14 @@ export class GovBadge {
181
178
  },
182
179
  "attribute": "type",
183
180
  "reflect": false,
184
- "defaultValue": "'solid'"
181
+ "defaultValue": "\"solid\""
185
182
  },
186
183
  "tag": {
187
- "type": "string",
188
- "mutable": false,
189
- "complexType": {
190
- "original": "string",
191
- "resolved": "string",
192
- "references": {}
193
- },
194
- "required": false,
195
- "optional": false,
196
- "docs": {
197
- "tags": [],
198
- "text": "Used to change the HMTL tag in the badge"
199
- },
200
- "attribute": "tag",
201
- "reflect": false,
202
- "defaultValue": "'span'"
203
- },
204
- "nativeType": {
205
184
  "type": "string",
206
185
  "mutable": false,
207
186
  "complexType": {
208
187
  "original": "NativeTypesType",
209
- "resolved": "\"button\" | \"span\"",
188
+ "resolved": "\"a\" | \"button\" | \"span\"",
210
189
  "references": {
211
190
  "NativeTypesType": {
212
191
  "location": "import",
@@ -218,11 +197,11 @@ export class GovBadge {
218
197
  "optional": false,
219
198
  "docs": {
220
199
  "tags": [],
221
- "text": "Same as original parameter\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type"
200
+ "text": "Used to change the HMTL tag in the badge"
222
201
  },
223
- "attribute": "native-type",
202
+ "attribute": "tag",
224
203
  "reflect": false,
225
- "defaultValue": "'span'"
204
+ "defaultValue": "\"span\""
226
205
  },
227
206
  "variant": {
228
207
  "type": "string",
@@ -245,7 +224,7 @@ export class GovBadge {
245
224
  },
246
225
  "attribute": "variant",
247
226
  "reflect": false,
248
- "defaultValue": "'primary'"
227
+ "defaultValue": "\"primary\""
249
228
  },
250
229
  "wcagLabel": {
251
230
  "type": "string",
@@ -1 +1 @@
1
- {"version":3,"file":"gov-badge.js","sourceRoot":"","sources":["../../../../../../src/components/gov-badge/gov-badge.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Element, h, Host, Prop, Watch, Event, EventEmitter } from '@stencil/core'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { validateProp } from '../../helpers/Validate/props'\nimport { govHost } from '../../helpers/Dom/template'\nimport { BadgeClass, NativeTypesType } from './constants'\nimport { ButtonSizesType, TypesType, Type, ButtonVariantType, ButtonVariants, ButtonSizes } from '../gov-button/constants'\n\nenum Tags {\n\tA = 'a',\n\tSPAN = 'span',\n\tBUTTON = 'button',\n}\n\n@Component({\n\ttag: 'gov-badge',\n\tstyleUrl: 'gov-badge.scss',\n})\nexport class GovBadge {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovBadgeElement\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 * Makes the badge 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 * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target\n\t */\n\t@Prop() readonly target: string\n\t/**\n\t * Badge’s size.\n\t */\n\t@Prop() readonly size: ButtonSizesType = 'm'\n\t/**\n\t * Badges's type\n\t */\n\t@Prop() readonly type: TypesType = 'solid'\n\t/**\n\t * Used to change the HMTL tag in the badge\n\t */\n\t@Prop() readonly tag: string = 'span'\n\t/**\n\t * Same as original parameter\n\t * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type\n\t */\n\t@Prop() readonly nativeType: NativeTypesType = 'span'\n\t/**\n\t * Style variation of the badge.\n\t */\n\t@Prop() readonly variant: ButtonVariantType = 'primary'\n\t/**\n\t * Adds accessible label for the button that is only shown for screen readers.\n\t * Typically, this label text replaces the visible text on the button for users who use assistive technology.\n\t */\n\t@Prop({ attribute: 'wcag-label' }) readonly wcagLabel: string\n\t/**\n\t * Emitted when the button click.\n\t */\n\t@Event({ eventName: 'gov-click' }) govClick: EventEmitter<PointerEvent>\n\n\t@Watch('variant')\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(ButtonVariants, newValue, BadgeClass.root)\n\t}\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ButtonSizes, newValue, BadgeClass.root)\n\t}\n\n\t@Watch('type')\n\tvalidateType(newValue: string): void {\n\t\tvalidateProp(Type, newValue, BadgeClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateVariant(this.variant)\n\t\tthis.validateSize(this.size)\n\t\tthis.validateType(this.type)\n\t}\n\n\trender() {\n\t\tconst Tag = this.href ? Tags.A : this.nativeType == 'button' ? Tags.BUTTON : this.tag\n\t\tconst nativeType = Tag == Tags.BUTTON ? this.nativeType : undefined\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={this.h.classes(BadgeClass.root)}\n\t\t\t\tdisabled={this.disabled}\n\t\t\t\thref={this.href}\n\t\t\t\tvariant={this.variant}\n\t\t\t\tsize={this.size}\n\t\t\t\ttype={this.type}\n\t\t\t\tinverse={this.inverse}\n\t\t\t\thoverable={Tag == Tags.A || Tag == Tags.BUTTON}\n\t\t\t>\n\t\t\t\t<Tag class=\"element\" href={this.href} target={this.target} aria-label={this.wcagLabel} onClick={this.onClickHandler.bind(this)} type={nativeType}>\n\t\t\t\t\t{this.h.hasSlot('left-icon') && <slot name=\"left-icon\"></slot>}\n\t\t\t\t\t<slot />\n\t\t\t\t\t{this.h.hasSlot('right-icon') && <slot name=\"right-icon\"></slot>}\n\t\t\t\t</Tag>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e: PointerEvent): void {\n\t\te.stopPropagation()\n\t\tif (this.disabled === false) {\n\t\t\tthis.govClick.emit(e)\n\t\t}\n\t}\n}\n"]}
1
+ {"version":3,"file":"gov-badge.js","sourceRoot":"","sources":["../../../../../../src/components/gov-badge/gov-badge.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Element, h, Host, Prop, Watch, Event, EventEmitter } from \"@stencil/core\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport { govHost } from \"../../helpers/Dom/template\"\nimport { BadgeClass, NativeTypesType, NativeType } from \"./constants\"\nimport {\n\tButtonSizesType,\n\tTypesType,\n\tType,\n\tButtonVariantType,\n\tButtonVariants,\n\tButtonSizes,\n} from \"../gov-button/constants\"\n\n@Component({\n\ttag: \"gov-badge\",\n\tstyleUrl: \"gov-badge.scss\",\n})\nexport class GovBadge {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovBadgeElement\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 * Makes the badge 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 * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target\n\t */\n\t@Prop() readonly target: string\n\t/**\n\t * Badge’s size.\n\t */\n\t@Prop() readonly size: ButtonSizesType = \"m\"\n\t/**\n\t * Badges's type\n\t */\n\t@Prop() readonly type: TypesType = \"solid\"\n\t/**\n\t * Used to change the HMTL tag in the badge\n\t */\n\t@Prop() readonly tag: NativeTypesType = \"span\"\n\t/**\n\t * Style variation of the badge.\n\t */\n\t@Prop() readonly variant: ButtonVariantType = \"primary\"\n\t/**\n\t * Adds accessible label for the button that is only shown for screen readers.\n\t * Typically, this label text replaces the visible text on the button for users who use assistive technology.\n\t */\n\t@Prop({ attribute: \"wcag-label\" }) readonly wcagLabel: string\n\t/**\n\t * Emitted when the button click.\n\t */\n\t@Event({ eventName: \"gov-click\" }) govClick: EventEmitter<PointerEvent>\n\n\t@Watch(\"variant\")\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(ButtonVariants, newValue, BadgeClass.root)\n\t}\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ButtonSizes, newValue, BadgeClass.root)\n\t}\n\n\t@Watch(\"type\")\n\tvalidateType(newValue: string): void {\n\t\tvalidateProp(Type, newValue, BadgeClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateVariant(this.variant)\n\t\tthis.validateSize(this.size)\n\t\tthis.validateType(this.type)\n\t}\n\n\trender() {\n\t\tconst Tag = this.href ? NativeType.A : this.tag\n\t\tconst nativeType = Tag == NativeType.BUTTON ? NativeType.BUTTON : undefined\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={this.h.classes([\n\t\t\t\t\tBadgeClass.root,\n\t\t\t\t\tthis.h.hasSlot(\"right\") ? BadgeClass.hasRight : undefined,\n\t\t\t\t\tthis.h.hasSlot(\"left\") ? BadgeClass.hasLeft : undefined,\n\t\t\t\t])}\n\t\t\t\tdisabled={this.disabled}\n\t\t\t\thref={this.href}\n\t\t\t\tvariant={this.variant}\n\t\t\t\tsize={this.size}\n\t\t\t\ttype={this.type}\n\t\t\t\tinverse={this.inverse}\n\t\t\t\thoverable={Tag == NativeType.A || Tag == NativeType.BUTTON}\n\t\t\t>\n\t\t\t\t<Tag\n\t\t\t\t\tclass=\"element\"\n\t\t\t\t\thref={this.href}\n\t\t\t\t\ttarget={this.target}\n\t\t\t\t\taria-label={this.wcagLabel}\n\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\ttype={nativeType}>\n\t\t\t\t\t{this.h.hasSlot(\"left\") && <slot name=\"left\"></slot>}\n\t\t\t\t\t{this.h.hasSlot(\"left-icon\") && <slot name=\"left-icon\"></slot>}\n\t\t\t\t\t<slot />\n\t\t\t\t\t{this.h.hasSlot(\"right-icon\") && <slot name=\"right-icon\"></slot>}\n\t\t\t\t\t{this.h.hasSlot(\"right\") && <slot name=\"right\"></slot>}\n\t\t\t\t</Tag>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e: PointerEvent): void {\n\t\te.stopPropagation()\n\t\tif (this.disabled === false && this.tag === NativeType.BUTTON) {\n\t\t\tthis.govClick.emit(e)\n\t\t}\n\t}\n}\n"]}
@@ -162,6 +162,9 @@
162
162
  /*
163
163
  - Variables - Form multiselect
164
164
  */
165
+ /*
166
+ - Variables - Form password power
167
+ */
165
168
  /*
166
169
  - Variables - Form checkbox & radio
167
170
  */
@@ -24,7 +24,7 @@ export class GovBreadcrumbs {
24
24
  }
25
25
  render() {
26
26
  const { isExpandedState } = this;
27
- return (h(Host, { class: this.h.classes(BreadcrumbsClass.root), collapsible: this.collapsible }, h("nav", { "aria-label": this.wcagLabel, "aria-labelledby": this.wcagLabelledBy }, h("ul", { class: BreadcrumbsClass.list }, h("li", { class: BreadcrumbsClass.item }, h("a", { href: "#", class: "gov-link" }, "Dom\u016F"), h("gov-icon", { class: BreadcrumbsClass.arrow, name: "arrow-right" })), h("li", { class: BreadcrumbsClass.item }, h("a", { href: "#", class: "gov-link" }, "Kam d\u00E1l"), h("gov-icon", { class: BreadcrumbsClass.arrow, name: "arrow-right" })), h("li", { class: BreadcrumbsClass.item }, h("a", { href: "#", class: "gov-link" }, "\u010Cesk\u00FD eGovernment"), h("gov-icon", { class: BreadcrumbsClass.arrow, name: "arrow-right" })), h("li", { class: BreadcrumbsClass.item }, h("strong", null, "Czech POINT")))), this.collapsible && (h("gov-button", { "aria-expanded": booleanString(isExpandedState), class: BreadcrumbsClass.button, variant: "primary", size: "s", inverse: true }, h("gov-icon", { slot: "left-icon", name: "arrow-down", onClick: () => this.toggle() })))));
27
+ return (h(Host, { class: this.h.classes(BreadcrumbsClass.root), collapsible: this.collapsible }, h("nav", { "aria-label": this.wcagLabel, "aria-labelledby": this.wcagLabelledBy }, h("ul", { class: BreadcrumbsClass.list }, h("li", { class: BreadcrumbsClass.item }, h("a", { href: "#", class: "gov-link" }, "Dom\u016F"), h("gov-icon", { class: BreadcrumbsClass.arrow, name: "chevron-right" })), h("li", { class: BreadcrumbsClass.item }, h("a", { href: "#", class: "gov-link" }, "Kam d\u00E1l"), h("gov-icon", { class: BreadcrumbsClass.arrow, name: "chevron-right" })), h("li", { class: BreadcrumbsClass.item }, h("a", { href: "#", class: "gov-link" }, "\u010Cesk\u00FD eGovernment"), h("gov-icon", { class: BreadcrumbsClass.arrow, name: "chevron-right" })), h("li", { class: BreadcrumbsClass.item }, h("strong", null, "Czech POINT")))), this.collapsible && (h("gov-button", { "aria-expanded": booleanString(isExpandedState), class: BreadcrumbsClass.button, variant: "primary", size: "s", inverse: true }, h("gov-icon", { slot: "left-icon", name: "chevron-down", onClick: () => this.toggle() })))));
28
28
  }
29
29
  /**
30
30
  * Opening the Breadcrumbs