@gov-design-system-ce/components 4.2.0 → 4.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{array.utils-96eadde3.js → array.utils-211fffc0.js} +2 -2
- package/dist/cjs/{array.utils-96eadde3.js.map → array.utils-211fffc0.js.map} +1 -1
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/gov-attachments_3.cjs.entry.js +3 -3
- package/dist/cjs/gov-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/gov-banner.cjs.entry.js +21 -20
- package/dist/cjs/gov-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-blockquote.cjs.entry.js +1 -1
- package/dist/cjs/gov-blockquote.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +3 -3
- package/dist/cjs/gov-button.cjs.entry.js +5 -5
- package/dist/cjs/gov-card.cjs.entry.js +11 -3
- package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-chip.cjs.entry.js +2 -2
- package/dist/cjs/gov-container.cjs.entry.js +1 -1
- package/dist/cjs/gov-control-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-cookiebar.cjs.entry.js +1 -1
- package/dist/cjs/gov-dialog.cjs.entry.js +3 -3
- package/dist/cjs/gov-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gov-empty.cjs.entry.js +1 -1
- package/dist/cjs/gov-error-code.cjs.entry.js +1 -1
- package/dist/cjs/gov-flex_3.cjs.entry.js +3 -3
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js +3 -3
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +3 -3
- package/dist/cjs/gov-form-control.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-file.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-input_2.cjs.entry.js +6 -6
- package/dist/cjs/gov-form-label.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +4 -4
- package/dist/cjs/gov-form-password-power.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-range.cjs.entry.js +207 -0
- package/dist/cjs/gov-form-range.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-select.cjs.entry.js +4 -4
- package/dist/cjs/gov-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-grid.cjs.entry.js +1 -1
- package/dist/cjs/gov-infobar.cjs.entry.js +2 -2
- package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
- package/dist/cjs/gov-layout.cjs.entry.js +1 -1
- package/dist/cjs/gov-lifecycle.cjs.entry.js +1 -1
- package/dist/cjs/gov-link.cjs.entry.js +2 -1
- package/dist/cjs/gov-link.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-loading.cjs.entry.js +1 -1
- package/dist/cjs/gov-message.cjs.entry.js +1 -1
- package/dist/cjs/gov-pagination.cjs.entry.js +2 -2
- package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs.cjs.entry.js +2 -2
- package/dist/cjs/gov-tag.cjs.entry.js +1 -1
- package/dist/cjs/gov-tile.cjs.entry.js +1 -1
- package/dist/cjs/gov-toast.cjs.entry.js +1 -1
- package/dist/cjs/gov-tooltip-content.cjs.entry.js +1 -1
- package/dist/cjs/gov-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/gov-wizard-item.cjs.entry.js +2 -2
- package/dist/cjs/gov-wizard.cjs.entry.js +3 -3
- package/dist/cjs/{helpers.types-ff60c9bd.js → helpers.types-9066e4a4.js} +3 -1
- package/dist/cjs/helpers.types-9066e4a4.js.map +1 -0
- package/dist/cjs/index-0e4f24f9.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{wcag-2927ff73.js → wcag-f8da82da.js} +2 -2
- package/dist/cjs/{wcag-2927ff73.js.map → wcag-f8da82da.js.map} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/gov-banner/gov-banner.js +26 -73
- package/dist/collection/components/gov-banner/gov-banner.js.map +1 -1
- package/dist/collection/components/gov-blockquote/constants.js.map +1 -0
- package/dist/collection/components/{gov-blocquote → gov-blockquote}/gov-blockquote.js +2 -2
- package/dist/collection/components/gov-blockquote/gov-blockquote.js.map +1 -0
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +1 -1
- package/dist/collection/components/gov-button/button/gov-button.js +3 -3
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +1 -1
- package/dist/collection/components/gov-card/gov-card.js +52 -1
- package/dist/collection/components/gov-card/gov-card.js.map +1 -1
- package/dist/collection/components/gov-chip/gov-chip.js +2 -2
- package/dist/collection/components/gov-container/gov-container.js +1 -1
- package/dist/collection/components/gov-control-group/gov-control-group.js +1 -1
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +1 -1
- package/dist/collection/components/gov-dialog/gov-dialog.js +1 -1
- package/dist/collection/components/gov-empty/gov-empty.js +1 -1
- package/dist/collection/components/gov-error-code/gov-error-code.js +1 -1
- package/dist/collection/components/gov-flex/gov-flex.js +1 -1
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +1 -1
- package/dist/collection/components/gov-form/control/gov-form-control.js +1 -1
- package/dist/collection/components/gov-form/file/gov-form-file.js +1 -1
- package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +1 -1
- package/dist/collection/components/gov-form/group/gov-form-group.js +1 -1
- package/dist/collection/components/gov-form/group/gov-form-radio-group.js +1 -1
- package/dist/collection/components/gov-form/input/gov-form-input.js +5 -5
- package/dist/collection/components/gov-form/label/gov-form-label.js +1 -1
- package/dist/collection/components/gov-form/message/gov-form-message.js +1 -1
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +2 -2
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +1 -1
- package/dist/collection/components/gov-form/range/constants.js +9 -0
- package/dist/collection/components/gov-form/range/constants.js.map +1 -0
- package/dist/collection/components/gov-form/range/gov-form-range.js +610 -0
- package/dist/collection/components/gov-form/range/gov-form-range.js.map +1 -0
- package/dist/collection/components/gov-form/search/gov-form-search.js +1 -1
- package/dist/collection/components/gov-form/select/gov-form-select.js +2 -2
- package/dist/collection/components/gov-grid/gov-grid-item.js +1 -1
- package/dist/collection/components/gov-grid/gov-grid.js +1 -1
- package/dist/collection/components/gov-infobar/gov-infobar.js +2 -2
- package/dist/collection/components/gov-layout/gov-layout-column.js +1 -1
- package/dist/collection/components/gov-layout/gov-layout.js +1 -1
- package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js +1 -1
- package/dist/collection/components/gov-link/gov-link.js +20 -1
- package/dist/collection/components/gov-link/gov-link.js.map +1 -1
- package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +1 -1
- package/dist/collection/components/gov-message/gov-message.js +1 -1
- package/dist/collection/components/gov-spacer/gov-spacer.js +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper-item.js +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper.js +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs-item.js +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
- package/dist/collection/components/gov-tag/gov-tag.js +1 -1
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +1 -1
- package/dist/collection/components/gov-tile/gov-tile.js +1 -1
- package/dist/collection/components/gov-toast/gov-toast.js +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +2 -2
- package/dist/collection/components/gov-wizard/gov-wizard-item.js +2 -2
- package/dist/collection/components/gov-wizard/gov-wizard.js +1 -1
- package/dist/collection/data/color-definitions.js +13 -13
- package/dist/collection/data/font-definitions.js +86 -48
- package/dist/collection/pages/Banner.js +112 -112
- package/dist/collection/pages/Banner.js.map +1 -1
- package/dist/collection/pages/Blockquote.js +3 -3
- package/dist/collection/pages/Blockquote.js.map +1 -1
- package/dist/collection/pages/Card.js +27 -17
- package/dist/collection/pages/Card.js.map +1 -1
- package/dist/collection/pages/Forms.js +209 -4
- package/dist/collection/pages/Forms.js.map +1 -1
- package/dist/collection/pages/Message.js +10 -10
- package/dist/collection/pages/Message.js.map +1 -1
- package/dist/collection/pages/Typography.js +7 -0
- package/dist/collection/pages/Typography.js.map +1 -1
- package/dist/components/gov-accordion-item.js +1 -1
- package/dist/components/gov-attachments-item.js +1 -1
- package/dist/components/gov-attachments.js +1 -1
- package/dist/components/gov-backdrop.js +1 -1
- package/dist/components/gov-banner.js +1 -1
- package/dist/components/gov-banner.js.map +1 -1
- package/dist/components/gov-blockquote.js +1 -1
- package/dist/components/gov-blockquote.js.map +1 -1
- package/dist/components/gov-breadcrumbs.js +1 -1
- package/dist/components/gov-breadcrumbs.js.map +1 -1
- package/dist/components/gov-button.js +1 -1
- package/dist/components/gov-card.js +1 -1
- package/dist/components/gov-card.js.map +1 -1
- package/dist/components/gov-chip.js +1 -1
- package/dist/components/gov-container.js +1 -1
- package/dist/components/gov-control-group.js +1 -1
- package/dist/components/gov-cookiebar.js +1 -1
- package/dist/components/gov-dialog.js +1 -1
- package/dist/components/gov-dropdown.js +1 -1
- package/dist/components/gov-empty.js +1 -1
- package/dist/components/gov-error-code.js +1 -1
- package/dist/components/gov-flex.js +1 -1
- package/dist/components/gov-form-autocomplete.js +1 -1
- package/dist/components/gov-form-checkbox-group.js +1 -1
- package/dist/components/gov-form-checkbox.js +1 -1
- package/dist/components/gov-form-control.js +1 -1
- package/dist/components/gov-form-file.js +1 -1
- package/dist/components/gov-form-group.js +1 -1
- package/dist/components/gov-form-input.js +1 -1
- package/dist/components/gov-form-label.js +1 -1
- package/dist/components/gov-form-message.js +1 -1
- package/dist/components/gov-form-multi-select.js +1 -1
- package/dist/components/gov-form-password-power.js +1 -1
- package/dist/components/gov-form-radio-group.js +1 -1
- package/dist/components/gov-form-range.d.ts +11 -0
- package/dist/components/gov-form-range.js +2 -0
- package/dist/components/gov-form-range.js.map +1 -0
- package/dist/components/gov-form-search.js +1 -1
- package/dist/components/gov-form-select.js +1 -1
- package/dist/components/gov-form-switch.js +1 -1
- package/dist/components/gov-grid-item.js +1 -1
- package/dist/components/gov-grid.js +1 -1
- package/dist/components/gov-icon.js +1 -1
- package/dist/components/gov-infobar.js +1 -1
- package/dist/components/gov-infobar.js.map +1 -1
- package/dist/components/gov-layout-column.js +1 -1
- package/dist/components/gov-layout-column.js.map +1 -1
- package/dist/components/gov-layout.js +1 -1
- package/dist/components/gov-lifecycle.js +1 -1
- package/dist/components/gov-link.js +1 -1
- package/dist/components/gov-link.js.map +1 -1
- package/dist/components/gov-loading.js +1 -1
- package/dist/components/gov-loading.js.map +1 -1
- package/dist/components/gov-message.js +1 -1
- package/dist/components/gov-pagination.js +1 -1
- package/dist/components/gov-skeleton.js +1 -1
- package/dist/components/gov-spacer.js +1 -1
- package/dist/components/gov-stepper-item.js +1 -1
- package/dist/components/gov-stepper.js +1 -1
- package/dist/components/gov-tabs-item.js +1 -1
- package/dist/components/gov-tabs.js +1 -1
- package/dist/components/gov-tag.js +1 -1
- package/dist/components/gov-theme-switch.js +1 -1
- package/dist/components/gov-tile.js +1 -1
- package/dist/components/gov-toast.js +1 -1
- package/dist/components/gov-tooltip-content.js +1 -1
- package/dist/components/gov-tooltip.js +1 -1
- package/dist/components/gov-tooltip.js.map +1 -1
- package/dist/components/gov-wizard-item.js +1 -1
- package/dist/components/gov-wizard.js +1 -1
- package/dist/components/{p-73938936.js → p-022e49cf.js} +2 -2
- package/dist/components/p-10cad7f1.js +2 -0
- package/dist/components/p-2fe7d728.js +2 -0
- package/dist/components/p-2fe7d728.js.map +1 -0
- package/dist/components/{p-b533871a.js → p-313b4611.js} +2 -2
- package/dist/components/{p-3fead64a.js → p-5a861cd2.js} +2 -2
- package/dist/components/{p-0327a469.js → p-5b0934a8.js} +2 -2
- package/dist/components/{p-3c90521b.js → p-5d60b866.js} +2 -2
- package/dist/components/{p-69a31c96.js → p-6ce6e14f.js} +2 -2
- package/dist/components/{p-2fc08a71.js → p-7fb16042.js} +2 -2
- package/dist/components/p-be086357.js +2 -0
- package/dist/components/{p-4fba9df0.js → p-d3435179.js} +2 -2
- package/dist/components/p-de989dfe.js +2 -0
- package/dist/components/{p-7be2301a.js → p-e0c3b1a7.js} +2 -2
- package/dist/components/{p-b5dc6bae.js → p-f9b1a12b.js} +2 -2
- package/dist/core/core.css +708 -733
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-07590d84.entry.js +2 -0
- package/dist/core/p-07590d84.entry.js.map +1 -0
- package/dist/core/p-08552a0e.entry.js +2 -0
- package/dist/core/{p-16f44a0b.entry.js.map → p-08552a0e.entry.js.map} +1 -1
- package/dist/core/p-0abc38e8.entry.js +2 -0
- package/dist/core/{p-28d1bc01.entry.js.map → p-0abc38e8.entry.js.map} +1 -1
- package/dist/core/p-0c393d2f.entry.js +2 -0
- package/dist/core/p-16ece889.entry.js +2 -0
- package/dist/core/p-171e2a2f.entry.js +2 -0
- package/dist/core/p-25615325.entry.js +2 -0
- package/dist/core/{p-132c9a87.entry.js → p-2a7bcce0.entry.js} +2 -2
- package/dist/core/{p-f120ba66.entry.js → p-2f966102.entry.js} +2 -2
- package/dist/core/p-2fe7d728.js +2 -0
- package/dist/core/p-2fe7d728.js.map +1 -0
- package/dist/core/{p-9ae280b2.entry.js → p-3583dcf7.entry.js} +2 -2
- package/dist/core/p-3b2267a1.entry.js +2 -0
- package/dist/core/p-4216d8f3.entry.js +2 -0
- package/dist/core/p-44c912e2.entry.js +2 -0
- package/dist/core/p-4d5f768f.entry.js +2 -0
- package/dist/core/p-52bb8e4f.entry.js +2 -0
- package/dist/core/{p-f7e47c0a.entry.js.map → p-52bb8e4f.entry.js.map} +1 -1
- package/dist/core/p-52c74fc5.entry.js +2 -0
- package/dist/core/p-548806cb.entry.js +2 -0
- package/dist/core/{p-ab868410.entry.js → p-5fa4965e.entry.js} +2 -2
- package/dist/core/p-6d54ce5f.js +2 -0
- package/dist/core/p-6f74eb08.entry.js +2 -0
- package/dist/core/{p-5108eb37.entry.js → p-75dae924.entry.js} +2 -2
- package/dist/core/p-774ea182.entry.js +2 -0
- package/dist/core/p-843f980a.entry.js +2 -0
- package/dist/core/p-8a72ebcd.entry.js +2 -0
- package/dist/core/{p-94119ad4.entry.js → p-8cd7a120.entry.js} +2 -2
- package/dist/core/{p-99f192c1.entry.js → p-8f469270.entry.js} +2 -2
- package/dist/core/{p-564555e6.entry.js → p-947804a8.entry.js} +2 -2
- package/dist/core/p-979ff58c.entry.js +2 -0
- package/dist/core/p-979ff58c.entry.js.map +1 -0
- package/dist/core/{p-5242b51b.entry.js → p-981f217e.entry.js} +2 -2
- package/dist/core/p-9c1f3e9e.entry.js +2 -0
- package/dist/core/p-9c1f3e9e.entry.js.map +1 -0
- package/dist/core/{p-ab11081d.entry.js → p-a1c825f3.entry.js} +2 -2
- package/dist/core/p-a440365f.entry.js +2 -0
- package/dist/core/p-a440365f.entry.js.map +1 -0
- package/dist/core/p-a70c7959.entry.js +2 -0
- package/dist/core/{p-1cf1dd10.entry.js.map → p-a70c7959.entry.js.map} +1 -1
- package/dist/core/{p-59fe6cbc.entry.js → p-a8a7ae96.entry.js} +2 -2
- package/dist/core/p-aacafa40.entry.js +2 -0
- package/dist/core/{p-e89471ef.entry.js.map → p-aacafa40.entry.js.map} +1 -1
- package/dist/core/{p-a02f2547.entry.js → p-aeaba3ef.entry.js} +2 -2
- package/dist/core/p-b87e5429.entry.js +2 -0
- package/dist/core/p-b87e5429.entry.js.map +1 -0
- package/dist/core/p-b9f1c2ef.entry.js +2 -0
- package/dist/core/{p-3d7fb8f8.entry.js.map → p-b9f1c2ef.entry.js.map} +1 -1
- package/dist/core/p-bca478fd.entry.js +2 -0
- package/dist/core/{p-f98f19f6.entry.js.map → p-bca478fd.entry.js.map} +1 -1
- package/dist/core/p-be086357.js +2 -0
- package/dist/core/p-bea685cb.entry.js +2 -0
- package/dist/core/{p-49cd4d0d.entry.js.map → p-bea685cb.entry.js.map} +1 -1
- package/dist/core/{p-c07f6bb4.entry.js → p-c1584cfe.entry.js} +2 -2
- package/dist/core/p-c5a49469.entry.js +2 -0
- package/dist/core/{p-650fe9e8.entry.js.map → p-c5a49469.entry.js.map} +1 -1
- package/dist/core/{p-eb8a9705.entry.js → p-c88d8659.entry.js} +2 -2
- package/dist/core/p-cba1ebca.entry.js +2 -0
- package/dist/core/{p-16d3a79a.entry.js.map → p-cba1ebca.entry.js.map} +1 -1
- package/dist/core/p-ccb64e4e.entry.js +2 -0
- package/dist/core/p-d383f977.entry.js +2 -0
- package/dist/core/p-d990aae8.entry.js +2 -0
- package/dist/core/p-ddb3772f.entry.js +2 -0
- package/dist/core/{p-46ecf09e.entry.js.map → p-ddb3772f.entry.js.map} +1 -1
- package/dist/core/{p-ae88fe6b.entry.js → p-e2655cb7.entry.js} +2 -2
- package/dist/core/{p-3acaa012.entry.js → p-e29c9924.entry.js} +2 -2
- package/dist/core/p-ead1f58d.entry.js +2 -0
- package/dist/core/{p-f0e001c7.entry.js.map → p-ead1f58d.entry.js.map} +1 -1
- package/dist/core/{p-ee950038.entry.js → p-f83b3b08.entry.js} +2 -2
- package/dist/esm/{array.utils-85696abd.js → array.utils-3b213795.js} +2 -2
- package/dist/esm/{array.utils-85696abd.js.map → array.utils-3b213795.js.map} +1 -1
- package/dist/esm/core.js +1 -1
- package/dist/esm/gov-attachments_3.entry.js +3 -3
- package/dist/esm/gov-backdrop.entry.js +2 -2
- package/dist/esm/gov-banner.entry.js +21 -20
- package/dist/esm/gov-banner.entry.js.map +1 -1
- package/dist/esm/gov-blockquote.entry.js +1 -1
- package/dist/esm/gov-blockquote.entry.js.map +1 -1
- package/dist/esm/gov-breadcrumbs.entry.js +3 -3
- package/dist/esm/gov-button.entry.js +5 -5
- package/dist/esm/gov-card.entry.js +11 -3
- package/dist/esm/gov-card.entry.js.map +1 -1
- package/dist/esm/gov-chip.entry.js +2 -2
- package/dist/esm/gov-container.entry.js +1 -1
- package/dist/esm/gov-control-group.entry.js +1 -1
- package/dist/esm/gov-cookiebar.entry.js +1 -1
- package/dist/esm/gov-dialog.entry.js +3 -3
- package/dist/esm/gov-dropdown.entry.js +1 -1
- package/dist/esm/gov-empty.entry.js +1 -1
- package/dist/esm/gov-error-code.entry.js +1 -1
- package/dist/esm/gov-flex_3.entry.js +3 -3
- package/dist/esm/gov-form-autocomplete.entry.js +3 -3
- package/dist/esm/gov-form-checkbox-group.entry.js +3 -3
- package/dist/esm/gov-form-control.entry.js +1 -1
- package/dist/esm/gov-form-file.entry.js +1 -1
- package/dist/esm/gov-form-group.entry.js +1 -1
- package/dist/esm/gov-form-input_2.entry.js +6 -6
- package/dist/esm/gov-form-label.entry.js +1 -1
- package/dist/esm/gov-form-multi-select.entry.js +4 -4
- package/dist/esm/gov-form-password-power.entry.js +1 -1
- package/dist/esm/gov-form-radio-group.entry.js +1 -1
- package/dist/esm/gov-form-range.entry.js +203 -0
- package/dist/esm/gov-form-range.entry.js.map +1 -0
- package/dist/esm/gov-form-search.entry.js +1 -1
- package/dist/esm/gov-form-select.entry.js +4 -4
- package/dist/esm/gov-grid-item.entry.js +1 -1
- package/dist/esm/gov-grid.entry.js +1 -1
- package/dist/esm/gov-infobar.entry.js +2 -2
- package/dist/esm/gov-layout-column.entry.js +1 -1
- package/dist/esm/gov-layout.entry.js +1 -1
- package/dist/esm/gov-lifecycle.entry.js +1 -1
- package/dist/esm/gov-link.entry.js +2 -1
- package/dist/esm/gov-link.entry.js.map +1 -1
- package/dist/esm/gov-loading.entry.js +1 -1
- package/dist/esm/gov-message.entry.js +1 -1
- package/dist/esm/gov-pagination.entry.js +2 -2
- package/dist/esm/gov-spacer.entry.js +1 -1
- package/dist/esm/gov-stepper-item.entry.js +1 -1
- package/dist/esm/gov-stepper.entry.js +1 -1
- package/dist/esm/gov-tabs-item.entry.js +1 -1
- package/dist/esm/gov-tabs.entry.js +2 -2
- package/dist/esm/gov-tag.entry.js +1 -1
- package/dist/esm/gov-tile.entry.js +1 -1
- package/dist/esm/gov-toast.entry.js +1 -1
- package/dist/esm/gov-tooltip-content.entry.js +1 -1
- package/dist/esm/gov-tooltip.entry.js +2 -2
- package/dist/esm/gov-wizard-item.entry.js +2 -2
- package/dist/esm/gov-wizard.entry.js +3 -3
- package/dist/esm/{helpers.types-43ddbdb8.js → helpers.types-fe2f0447.js} +3 -2
- package/dist/esm/helpers.types-fe2f0447.js.map +1 -0
- package/dist/esm/index-bf8a6f64.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{wcag-253a4421.js → wcag-bd11d341.js} +2 -2
- package/dist/esm/{wcag-253a4421.js.map → wcag-bd11d341.js.map} +1 -1
- package/dist/hydrate/index.js +313 -86
- package/dist/hydrate/index.mjs +313 -86
- package/dist/stencil.config.js +1 -1
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/components/gov-banner/gov-banner.d.ts +4 -14
- package/dist/types/components/gov-card/gov-card.d.ts +10 -0
- package/dist/types/components/gov-form/range/constants.d.ts +9 -0
- package/dist/types/components/gov-form/range/gov-form-range.d.ts +116 -0
- package/dist/types/components/gov-link/gov-link.d.ts +4 -0
- package/dist/types/components.d.ts +200 -22
- package/package.json +2 -2
- package/dist/cjs/helpers.types-ff60c9bd.js.map +0 -1
- package/dist/collection/components/gov-blocquote/constants.js.map +0 -1
- package/dist/collection/components/gov-blocquote/gov-blockquote.js.map +0 -1
- package/dist/components/p-2aedc81e.js +0 -2
- package/dist/components/p-2aedc81e.js.map +0 -1
- package/dist/components/p-80dad64b.js +0 -2
- package/dist/components/p-ded281e6.js +0 -2
- package/dist/components/p-f9a1ff6e.js +0 -2
- package/dist/core/p-005214d1.entry.js +0 -2
- package/dist/core/p-0fc9ea97.entry.js +0 -2
- package/dist/core/p-16d3a79a.entry.js +0 -2
- package/dist/core/p-16f44a0b.entry.js +0 -2
- package/dist/core/p-1c7c9144.entry.js +0 -2
- package/dist/core/p-1cf1dd10.entry.js +0 -2
- package/dist/core/p-23b4dcd3.entry.js +0 -2
- package/dist/core/p-28d1bc01.entry.js +0 -2
- package/dist/core/p-29ac15d2.js +0 -2
- package/dist/core/p-2aedc81e.js +0 -2
- package/dist/core/p-2aedc81e.js.map +0 -1
- package/dist/core/p-3d7fb8f8.entry.js +0 -2
- package/dist/core/p-46ecf09e.entry.js +0 -2
- package/dist/core/p-49cd4d0d.entry.js +0 -2
- package/dist/core/p-650fe9e8.entry.js +0 -2
- package/dist/core/p-6e41cf69.entry.js +0 -2
- package/dist/core/p-7399ad59.entry.js +0 -2
- package/dist/core/p-79ec86da.entry.js +0 -2
- package/dist/core/p-80bebb7f.entry.js +0 -2
- package/dist/core/p-8cbe8add.entry.js +0 -2
- package/dist/core/p-8f73f8e0.entry.js +0 -2
- package/dist/core/p-952ab9e5.entry.js +0 -2
- package/dist/core/p-9c1601b3.entry.js +0 -2
- package/dist/core/p-c2abc031.entry.js +0 -2
- package/dist/core/p-c688349d.entry.js +0 -2
- package/dist/core/p-c6fdc0a9.entry.js +0 -2
- package/dist/core/p-c6fdc0a9.entry.js.map +0 -1
- package/dist/core/p-c91512dd.entry.js +0 -2
- package/dist/core/p-cf9d5c2f.entry.js +0 -2
- package/dist/core/p-cf9d5c2f.entry.js.map +0 -1
- package/dist/core/p-d1270d72.entry.js +0 -2
- package/dist/core/p-d1270d72.entry.js.map +0 -1
- package/dist/core/p-d141e9ca.entry.js +0 -2
- package/dist/core/p-d141e9ca.entry.js.map +0 -1
- package/dist/core/p-de852480.entry.js +0 -2
- package/dist/core/p-ded281e6.js +0 -2
- package/dist/core/p-e89471ef.entry.js +0 -2
- package/dist/core/p-f0e001c7.entry.js +0 -2
- package/dist/core/p-f333c673.entry.js +0 -2
- package/dist/core/p-f7e47c0a.entry.js +0 -2
- package/dist/core/p-f98f19f6.entry.js +0 -2
- package/dist/esm/helpers.types-43ddbdb8.js.map +0 -1
- /package/dist/collection/components/{gov-blocquote → gov-blockquote}/constants.js +0 -0
- /package/dist/components/{p-73938936.js.map → p-022e49cf.js.map} +0 -0
- /package/dist/components/{p-80dad64b.js.map → p-10cad7f1.js.map} +0 -0
- /package/dist/components/{p-b533871a.js.map → p-313b4611.js.map} +0 -0
- /package/dist/components/{p-3fead64a.js.map → p-5a861cd2.js.map} +0 -0
- /package/dist/components/{p-0327a469.js.map → p-5b0934a8.js.map} +0 -0
- /package/dist/components/{p-3c90521b.js.map → p-5d60b866.js.map} +0 -0
- /package/dist/components/{p-69a31c96.js.map → p-6ce6e14f.js.map} +0 -0
- /package/dist/components/{p-2fc08a71.js.map → p-7fb16042.js.map} +0 -0
- /package/dist/components/{p-ded281e6.js.map → p-be086357.js.map} +0 -0
- /package/dist/components/{p-4fba9df0.js.map → p-d3435179.js.map} +0 -0
- /package/dist/components/{p-f9a1ff6e.js.map → p-de989dfe.js.map} +0 -0
- /package/dist/components/{p-7be2301a.js.map → p-e0c3b1a7.js.map} +0 -0
- /package/dist/components/{p-b5dc6bae.js.map → p-f9b1a12b.js.map} +0 -0
- /package/dist/core/{p-7399ad59.entry.js.map → p-0c393d2f.entry.js.map} +0 -0
- /package/dist/core/{p-9c1601b3.entry.js.map → p-16ece889.entry.js.map} +0 -0
- /package/dist/core/{p-1c7c9144.entry.js.map → p-171e2a2f.entry.js.map} +0 -0
- /package/dist/core/{p-23b4dcd3.entry.js.map → p-25615325.entry.js.map} +0 -0
- /package/dist/core/{p-132c9a87.entry.js.map → p-2a7bcce0.entry.js.map} +0 -0
- /package/dist/core/{p-f120ba66.entry.js.map → p-2f966102.entry.js.map} +0 -0
- /package/dist/core/{p-9ae280b2.entry.js.map → p-3583dcf7.entry.js.map} +0 -0
- /package/dist/core/{p-8cbe8add.entry.js.map → p-3b2267a1.entry.js.map} +0 -0
- /package/dist/core/{p-de852480.entry.js.map → p-4216d8f3.entry.js.map} +0 -0
- /package/dist/core/{p-80bebb7f.entry.js.map → p-44c912e2.entry.js.map} +0 -0
- /package/dist/core/{p-952ab9e5.entry.js.map → p-4d5f768f.entry.js.map} +0 -0
- /package/dist/core/{p-f333c673.entry.js.map → p-52c74fc5.entry.js.map} +0 -0
- /package/dist/core/{p-0fc9ea97.entry.js.map → p-548806cb.entry.js.map} +0 -0
- /package/dist/core/{p-ab868410.entry.js.map → p-5fa4965e.entry.js.map} +0 -0
- /package/dist/core/{p-29ac15d2.js.map → p-6d54ce5f.js.map} +0 -0
- /package/dist/core/{p-c688349d.entry.js.map → p-6f74eb08.entry.js.map} +0 -0
- /package/dist/core/{p-5108eb37.entry.js.map → p-75dae924.entry.js.map} +0 -0
- /package/dist/core/{p-005214d1.entry.js.map → p-774ea182.entry.js.map} +0 -0
- /package/dist/core/{p-79ec86da.entry.js.map → p-843f980a.entry.js.map} +0 -0
- /package/dist/core/{p-c91512dd.entry.js.map → p-8a72ebcd.entry.js.map} +0 -0
- /package/dist/core/{p-94119ad4.entry.js.map → p-8cd7a120.entry.js.map} +0 -0
- /package/dist/core/{p-99f192c1.entry.js.map → p-8f469270.entry.js.map} +0 -0
- /package/dist/core/{p-564555e6.entry.js.map → p-947804a8.entry.js.map} +0 -0
- /package/dist/core/{p-5242b51b.entry.js.map → p-981f217e.entry.js.map} +0 -0
- /package/dist/core/{p-ab11081d.entry.js.map → p-a1c825f3.entry.js.map} +0 -0
- /package/dist/core/{p-59fe6cbc.entry.js.map → p-a8a7ae96.entry.js.map} +0 -0
- /package/dist/core/{p-a02f2547.entry.js.map → p-aeaba3ef.entry.js.map} +0 -0
- /package/dist/core/{p-ded281e6.js.map → p-be086357.js.map} +0 -0
- /package/dist/core/{p-c07f6bb4.entry.js.map → p-c1584cfe.entry.js.map} +0 -0
- /package/dist/core/{p-eb8a9705.entry.js.map → p-c88d8659.entry.js.map} +0 -0
- /package/dist/core/{p-6e41cf69.entry.js.map → p-ccb64e4e.entry.js.map} +0 -0
- /package/dist/core/{p-c2abc031.entry.js.map → p-d383f977.entry.js.map} +0 -0
- /package/dist/core/{p-8f73f8e0.entry.js.map → p-d990aae8.entry.js.map} +0 -0
- /package/dist/core/{p-ae88fe6b.entry.js.map → p-e2655cb7.entry.js.map} +0 -0
- /package/dist/core/{p-3acaa012.entry.js.map → p-e29c9924.entry.js.map} +0 -0
- /package/dist/core/{p-ee950038.entry.js.map → p-f83b3b08.entry.js.map} +0 -0
- /package/dist/types/components/{gov-blocquote → gov-blockquote}/constants.d.ts +0 -0
- /package/dist/types/components/{gov-blocquote → gov-blockquote}/gov-blockquote.d.ts +0 -0
|
@@ -82,10 +82,10 @@ export class GovFormSelect {
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: 'ece22604354a3bc7b27aebb52b767e720c470fb2', class: FormSelectClass.root, size: this.size }, this.h.hasSlot('prefix') && h("slot", { key: 'fdff42c0ad6111e691b8246a8cbe3d77cbb9ab94', name: "prefix" }), h("span", { key: '726341bdd8a76bb6dde8af330505d97273007bb3', class: "element" }, h("select", Object.assign({ key: 'cb51afcb898b91f87236cdfd416cd26013e01fc7', id: this.identifier || this.selectId, onFocus: this.onFocusHandler.bind(this), onChange: this.onChangeHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, name: this.name, disabled: this.disabled, ref: el => (this.selectRef = el) }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid) }), h("slot", { key: '8a81f952601ac949f68047eca18cd7aab61f5ffa' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
|
|
86
86
|
var _a;
|
|
87
87
|
return (h("option", { value: option.value, selected: option.value === this.value, disabled: option === null || option === void 0 ? void 0 : option.disabled }, (_a = option.label) !== null && _a !== void 0 ? _a : option.value));
|
|
88
|
-
})), this.success && h("gov-icon", { key: '
|
|
88
|
+
})), this.success && h("gov-icon", { key: '4567f0e75b9f9b9eba7a2a624107699ee531c580', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && h("gov-icon", { key: '818e5fe59f78b86280abdf117cb9b786e9ac103a', class: "validation-icon", name: "exclamation-lg", type: "components" }), h("gov-icon", { key: '9705a3e034da03543a074eb206224f3e63236b7c', class: "arrow-icon", name: "chevron-down", type: "components" })), this.h.hasSlot('sufix') && h("slot", { key: 'dd8fcce83d933ce39a8195d288472d013f708870', name: "sufix" })));
|
|
89
89
|
}
|
|
90
90
|
onFocusHandler(e) {
|
|
91
91
|
this.focused = true;
|
|
@@ -16,7 +16,7 @@ export class GovGridItem {
|
|
|
16
16
|
this.h = govHost(this.host);
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '30f35aa2a7d4c2456164b6f0001a915796a07b9c', class: this.h.classes(GridItemClass.root), role: "listitem" }, h("slot", { key: '25e3d4f401f56697a3f90abd01b9add8fa1d238b' })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "gov-grid-item"; }
|
|
22
22
|
static get properties() {
|
|
@@ -10,7 +10,7 @@ export class GovGrid {
|
|
|
10
10
|
this.h = govHost(this.host);
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: 'e5ca7f6e3554f0e3bd52731a81c3ae4cc809a8dd', class: this.h.classes(GridClass.root), role: "list" }, h("slot", { key: 'e99880d69919891b5b22c0eab933069fbcb4852c' })));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "gov-grid"; }
|
|
16
16
|
static get properties() {
|
|
@@ -40,8 +40,8 @@ export class GovInfobar {
|
|
|
40
40
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
const closeButton = (h("gov-button", { key: '
|
|
44
|
-
return (h(Host, { key: '
|
|
43
|
+
const closeButton = (h("gov-button", { key: 'bf4dbf4e33374f5827d51c7fab56ce1de0e86103', size: "s", "aria-label": this.accessibleCloseLabel, type: "base", color: this.isBold ? this.color : "neutral", "on-gov-click": this.onCloseHandler.bind(this), class: InfobarClass.close }, h("gov-icon", { key: 'c85cebe33a0b06adc79c0adb97d9cabe3d648651', name: "x-lg", type: "components" })));
|
|
44
|
+
return (h(Host, { key: '82fe497b7f6d4f3aba3bcad0295bb626587952c1', class: this.h.classes(InfobarClass.root), color: this.color, type: this.type }, h("section", Object.assign({ key: 'd2b1a013623206d9662c252f189a5b9edeff009d', class: InfobarClass.section }, this.inheritedAttributes, { role: this.role }), this.h.hasSlot("icon") && (h("span", { key: '18efd7eecd6eeb683ba2982f9abb2cfc09e90dab' }, h("slot", { key: 'cc093214b7fd417c1baec6918e5613f843a7bb55', name: "icon" }))), h("div", { key: '07d2db35c654390b08318273dbd76456b75ae5e4', class: InfobarClass.content }, this.h.hasSlot('headline') ? (h(Fragment, null, h("div", { class: InfobarClass.headline }, h("slot", { name: "headline" }), h("gov-button", { size: "s", type: "base", color: this.isBold ? this.color : "neutral", "aria-label": this.accessibleToggleLabel, "on-gov-click": () => (this.toggleContent = !this.toggleContent) }, h("gov-icon", { name: this.toggleContent ? 'chevron-up' : 'chevron-down', type: "components" }))), h("div", { hidden: !this.toggleContent, "aria-hidden": toBoolAttr(this.toggleContent) }, h("slot", null)))) : (h("slot", null))), this.closable && closeButton)));
|
|
45
45
|
}
|
|
46
46
|
onCloseHandler(e) {
|
|
47
47
|
this.govClose.emit({
|
|
@@ -6,7 +6,7 @@ export class GovLayoutColumn {
|
|
|
6
6
|
this.h = govHost(this.host);
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '48f578ba8365e6f3748a4ac6766784a4062846e1', class: this.h.classes(LayoutColumnClass.root) }, h("slot", { key: 'd5aca194eda1174fa71401f66d17743d1f260a50' })));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "gov-layout-column"; }
|
|
12
12
|
static get elementRef() { return "host"; }
|
|
@@ -15,7 +15,7 @@ export class GovLayout {
|
|
|
15
15
|
return originalClass + ' ' + originalClass + isType + isVariant + isInverse;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: 'f22ec016a02ac1c97f570f167ac14fbcd1a82f21', type: this.type, class: this.h.classes(LayoutClass.root) }, h("section", { key: 'b6e46bbe21ac021b63f6afa1f96f2195afd9d456', class: this.typeClass(LayoutClass.section, this.type, this.variant, this.inverse) }, h("slot", { key: '789e8b9c425651966356c485a140dfa7fd549e50' }))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "gov-layout"; }
|
|
21
21
|
static get properties() {
|
|
@@ -32,7 +32,7 @@ export class GovLifecycle {
|
|
|
32
32
|
console.log('componentDidUpdate', this.uniqueId);
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '8c519b9d20ae1a95fc4ac207fe447916219deaf4', identifier: this.uniqueId }, h("span", { key: 'd034bb091344d475bbb1a420d35e88dd1291ba45' }, "lifecycle ", this.uniqueId)));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "gov-lifecycle"; }
|
|
38
38
|
}
|
|
@@ -7,6 +7,7 @@ export class GovLink {
|
|
|
7
7
|
constructor() {
|
|
8
8
|
this.size = 'm';
|
|
9
9
|
this.external = false;
|
|
10
|
+
this.truncate = false;
|
|
10
11
|
this.href = undefined;
|
|
11
12
|
this.target = undefined;
|
|
12
13
|
this.inheritedAttributes = {};
|
|
@@ -24,7 +25,7 @@ export class GovLink {
|
|
|
24
25
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
25
26
|
}
|
|
26
27
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '1e7fe110dd7ffc47364765cd01d17adf78db675c', class: this.h.classes(LinkClass.root), size: this.size, href: this.href, external: this.external, truncate: this.truncate }, h("a", Object.assign({ key: '4a9148c0adfd79bc7cb0953768929b702530c298', class: "element", href: this.href, target: this.external ? '_blank' : this.target, rel: this.external ? "noreferrer" : null }, this.inheritedAttributes), h("slot", { key: 'ca80033f0525c11e0f16bb9cb93c746816144e54', name: "icon-start" }), h("span", { key: '0338222112b926d141ff42538489d7d019997560' }, h("slot", { key: 'a492aed90aed29892e4522f602858d8a84c5f010' })), h("slot", { key: 'f9f60c054849df9980b26ca09804218476d3b4ed', name: "icon-end" }), this.external && h("gov-icon", { key: 'fbe4cd9d42ae1bcc1f3666271f49ee96ff49d112', name: "box-arrow-up-right", type: "components", size: this.size, class: LinkClass.external }))));
|
|
28
29
|
}
|
|
29
30
|
static get is() { return "gov-link"; }
|
|
30
31
|
static get properties() {
|
|
@@ -71,6 +72,24 @@ export class GovLink {
|
|
|
71
72
|
"reflect": false,
|
|
72
73
|
"defaultValue": "false"
|
|
73
74
|
},
|
|
75
|
+
"truncate": {
|
|
76
|
+
"type": "boolean",
|
|
77
|
+
"mutable": false,
|
|
78
|
+
"complexType": {
|
|
79
|
+
"original": "boolean",
|
|
80
|
+
"resolved": "boolean",
|
|
81
|
+
"references": {}
|
|
82
|
+
},
|
|
83
|
+
"required": false,
|
|
84
|
+
"optional": true,
|
|
85
|
+
"docs": {
|
|
86
|
+
"tags": [],
|
|
87
|
+
"text": "Cutting text to one line"
|
|
88
|
+
},
|
|
89
|
+
"attribute": "truncate",
|
|
90
|
+
"reflect": false,
|
|
91
|
+
"defaultValue": "false"
|
|
92
|
+
},
|
|
74
93
|
"href": {
|
|
75
94
|
"type": "string",
|
|
76
95
|
"mutable": false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gov-link.js","sourceRoot":"","sources":["../../../../../../src/components/gov-link/gov-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AAC7E,OAAO,EAAC,SAAS,EAAE,SAAS,EAAgB,MAAM,aAAa,CAAA;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAE1D,OAAO,EAAC,qBAAqB,EAAC,MAAM,2CAA2C,CAAC;AAKhF,MAAM,OAAO,OAAO;IAGnB;oBAQwC,GAAG;wBAIL,KAAK;;;mCAkBA,EAAE;
|
|
1
|
+
{"version":3,"file":"gov-link.js","sourceRoot":"","sources":["../../../../../../src/components/gov-link/gov-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AAC7E,OAAO,EAAC,SAAS,EAAE,SAAS,EAAgB,MAAM,aAAa,CAAA;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAE1D,OAAO,EAAC,qBAAqB,EAAC,MAAM,2CAA2C,CAAC;AAKhF,MAAM,OAAO,OAAO;IAGnB;oBAQwC,GAAG;wBAIL,KAAK;wBAIL,KAAK;;;mCAkBA,EAAE;QAjC5C,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IA4BD,YAAY,CAAC,QAAgB;QAC5B,YAAY,CAAC,SAAS,EAAE,QAAQ,EAAE,SAAS,CAAC,IAAI,CAAC,CAAA;IAClD,CAAC;IAID,iBAAiB;QAChB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAC5B,IAAI,CAAC,mBAAmB,GAAG,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC5D,CAAC;IAED,qBAAqB,CAAC,aAAqB,EAAE,QAAgB;QAC5D,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,aAAa,CAAC,CAAA;QACxC,IAAI,CAAC,mBAAmB,mCAAO,IAAI,CAAC,mBAAmB,KAAE,CAAC,aAAa,CAAC,EAAE,QAAQ,GAAC,CAAC;IACrF,CAAC;IAED,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,EACxC,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACzB,wEAAG,KAAK,EAAC,SAAS,EACf,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,EAC9C,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,IACpC,IAAI,CAAC,mBAAmB;gBAC9B,6DAAM,IAAI,EAAC,YAAY,GAAE;gBACzB;oBAAM,8DAAO,CAAO;gBACpB,6DAAM,IAAI,EAAC,UAAU,GAAE;gBACtB,IAAI,CAAC,QAAQ,IAAI,iEAAU,IAAI,EAAC,oBAAoB,EAAC,IAAI,EAAC,YAAY,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,SAAS,CAAC,QAAQ,GAAa,CAC5H,CACE,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Host, h, Prop, Watch, State} from '@stencil/core'\nimport {LinkClass, LinkSizes, LinkSizesType} from './constants'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport {validateProp} from \"../../helpers/Validate/props\";\nimport {Attributes} from \"../../helpers/Dom/attribute\";\nimport {inheritAriaAttributes} from \"../../helpers/Accessibility/accessibility\";\n\n@Component({\n\ttag: 'gov-link',\n})\nexport class GovLink {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovLinkElement\n\t/**\n\t * Element size.\n\t */\n\t@Prop() readonly size?: LinkSizesType = 'm'\n\t/**\n\t * Element size.\n\t */\n\t@Prop() readonly external?: boolean = false\n\t/**\n\t * Cutting text to one line\n\t */\n\t@Prop() readonly truncate?: 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\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(LinkSizes, newValue, LinkClass.root)\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host)\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(LinkClass.root)}\n\t\t\t\t size={this.size}\n\t\t\t\t href={this.href}\n\t\t\t\t external={this.external}\n\t\t\t\t truncate={this.truncate}>\n\t\t\t\t<a class=\"element\"\n\t\t\t\t href={this.href}\n\t\t\t\t target={this.external ? '_blank' : this.target}\n\t\t\t\t rel={this.external ? \"noreferrer\" : null}\n\t\t\t\t {...this.inheritedAttributes}>\n\t\t\t\t\t<slot name=\"icon-start\"/>\n\t\t\t\t\t<span><slot/></span>\n\t\t\t\t\t<slot name=\"icon-end\"/>\n\t\t\t\t\t{this.external && <gov-icon name=\"box-arrow-up-right\" type=\"components\" size={this.size} class={LinkClass.external}></gov-icon>}\n\t\t\t\t</a>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
|
|
@@ -14,7 +14,7 @@ export class GovLoading {
|
|
|
14
14
|
this.validateSize(this.size);
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '84c4d73523ef359fc224441d2b3ee700b9d563b3', class: this.h.classes(LoadingClass.root), size: this.size }, h("div", { key: 'e8e9bda9cb6d86fdec2022b8a9b3fba9f5ee423a', class: LoadingClass.content }, h("gov-icon", { key: '7adafe593b0c37da48dc3da5eb43bc25c504e9a4', class: prepareClasses([LoadingClass.icon, "gov-spin-animation"]), name: "loader", type: "components" }), h("slot", { key: 'e4b8461f84f519b70eea2a1bb10cf86e9e3d14ca' })), h("gov-backdrop", { key: '0c044675ab012d028dcc7772c2ad0dfb0aa08de2', inverse: true })));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "gov-loading"; }
|
|
20
20
|
static get properties() {
|
|
@@ -67,7 +67,7 @@ export class GovSkeleton {
|
|
|
67
67
|
return Object.assign({}, dimenssionsStyles);
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
|
-
return (h(Host, Object.assign({ key: '
|
|
70
|
+
return (h(Host, Object.assign({ key: 'fa43a5bc92210a51bb681449542c6f5c2863e3ad', size: this.size, color: this.color, class: {
|
|
71
71
|
[SkeletonClass.root]: true,
|
|
72
72
|
circle: this.shape === "circle",
|
|
73
73
|
line: this.shape === "line",
|
|
@@ -13,7 +13,7 @@ export class GovMessage {
|
|
|
13
13
|
validateProp(Colors, newValue, MessageClass.root);
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '6cdca867db0d3576076bba0518cbfc844762aa9e', class: this.h.classes(MessageClass.root), color: this.color, type: this.type, role: "status" }, this.h.hasSlot("icon") && (h("span", { key: 'b28876f005e857aaddaf2afb6372745978abb926' }, h("slot", { key: 'b88920a480dfdd18ddcdcc013ff36a81d6de1707', name: "icon" }))), h("div", { key: 'ad9e4ef4894877d53f0b7c598035c0c35e317054', class: MessageClass.content }, h("slot", { key: '78f8e1a9ee32eddaeb7b78e029476a525975ee6d' }))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "gov-message"; }
|
|
19
19
|
static get properties() {
|
|
@@ -19,7 +19,7 @@ export class GovSpacer {
|
|
|
19
19
|
this.validateBreakpoint(this.breakpoint);
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return h(Host, { key: '
|
|
22
|
+
return h(Host, { key: 'f4c81a7820625de045b36a5bee9ced0eebe8e433', class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "gov-spacer"; }
|
|
25
25
|
static get properties() {
|
|
@@ -25,7 +25,7 @@ export class GovStepperItem {
|
|
|
25
25
|
render() {
|
|
26
26
|
const triggerId = this.identifier || this.triggerId;
|
|
27
27
|
const contentId = this.contentId;
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: 'ef017294b38b6fda6da1bceb8a85185a4f088270', id: triggerId, class: this.h.classes(StepperItemClass.root), color: this.color, role: "listitem", hydrated: this.hydrated }, h("div", { key: '37ebc08427d94722ff4127b6aa39b4f28e2844f5' }, h("div", { key: '0f74091afd24d44a77249cadcfc51a3618985632', class: StepperItemClass.steps }, h("span", { key: '397c1a50f02498ff849d0b93dbca66cae076761e' }), h("span", { key: '5b70a1ada896d1f3092acf345eae2d6265513cc5', class: StepperItemClass.prefix }, h("slot", { key: 'e6b30945934e11db11d0ee035224b1969bb3808d', name: "prefix" })), h("span", { key: 'd0ab63fc8038726b39ca41a79f8d73c5cad9b670' })), h("div", { key: '76366242f47074a4e5f18062d7cc0a5ad54c22aa', class: StepperItemClass.main }, h("span", { key: 'f28fcf03b8abe71de585c41d378d4a9a8fda4f5a', class: StepperItemClass.headline }, h("slot", { key: '41dac89031060fbb12d36ba2ca1d0d65f0bfc372', name: "headline" })), h("slot", { key: 'c4ce96cb0625d66244887874de84981101014d39', name: "annotation" }), this.h.hasSlot('content') && (h("div", { key: 'd45cd14c4e1b8cfd48cb73673be3d7da76a662e6', class: StepperItemClass.content, id: contentId, "aria-labelledby": triggerId, role: "tabpanel" }, h("slot", { key: '3a2896b00d01c76ecb0346d601801c538ab9ba8f', name: "content" })))))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "gov-stepper-item"; }
|
|
31
31
|
static get properties() {
|
|
@@ -27,7 +27,7 @@ export class GovStepper {
|
|
|
27
27
|
this.hydrated = true;
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: 'bd6e7b6f72fd48d41b692c92beb9446cf1e5e943', class: this.h.classes(StepperClass.root), role: "list", size: this.size, hydrated: this.hydrated }, h("slot", { key: '81ca63a0aa077cbcfe944c22aed8e3d6cb05af83' })));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "gov-stepper"; }
|
|
33
33
|
static get properties() {
|
|
@@ -23,7 +23,7 @@ export class GovTabsItem {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: 'e82ff844f1965fe51e3ac002c266c5598b986942', class: this.h.classes(TabsItemClass.root), default: this.default }, h("div", { key: 'e76bdcd16fc36489d53657075b9a55f7864578c9', class: TabsItemClass.inner, role: "tabpanel", id: this.identifier || this.contentId, hidden: !this.isActive, "aria-labelledby": this.triggerIdentifier || this.triggerId, "aria-hidden": toBoolAttrIfDefined(!this.isActive) }, h("slot", { key: '8fbe8e26b722c3d6a2cdbb1f7f5003c85f71227e' }))));
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Returns a unique tab content identifier
|
|
@@ -113,7 +113,7 @@ export class GovTabs {
|
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h(Host, { key: '
|
|
116
|
+
return (h(Host, { key: '38d228c9ed6d09ab8d3b49dd3c51f6573b1d991b', class: this.h.classes(TabsClass.root), size: this.size, color: this.color, type: this.type, direction: this.direction, onKeyDown: this.onKeydownHandler.bind(this) }, h("div", Object.assign({ key: 'f88f5af844c12ce180507ca5b1ffff72885440d1', class: TabsClass.tabs, role: "tablist" }, this.inheritedAttributes), h("ul", { key: '0a0ef5e51d29fcdbba61a0139ae51eb0cf96cf04', class: TabsClass.list }, this.controllers.map(control => (h("li", { class: TabsClass.item }, this.type == "text" ? (h("button", { class: TabsClass.btn, id: control.triggerIdentifier, role: "tab", onClick: () => this.onSelectHandler(control), disabled: control.disabled, "aria-disabled": toBoolAttr(control.disabled), "aria-selected": toBoolAttr(control.active), "aria-controls": control.contentIdentifier, tabindex: control.active && !control.disabled ? 0 : -1, ref: el => (this.triggerRefs[control.triggerIdentifier] = el) }, control.iconStart ? (h("gov-icon", { name: control.iconStart.name, type: control.iconStart.type })) : null, control.label, control.iconEnd ? (h("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type })) : null)) : (h("gov-chip", { role: "tab", tag: 'button', identifier: control.triggerIdentifier, "aria-selected": booleanString(control.active), "aria-controls": control.contentIdentifier, focusable: control.active, disabled: control.disabled, color: this.color, size: this.size === "xs" ? "xs" : (this.size === "s" ? "s" : "m"), type: control.active ? "solid" : "outlined", ref: el => (this.triggerRefs[control.triggerIdentifier] = el), "on-gov-click": () => this.onSelectHandler(control) }, control.iconStart ? (h("gov-icon", { name: control.iconStart.name, type: control.iconStart.type, slot: "icon-start" })) : null, control.label, control.iconEnd ? (h("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type, slot: "icon-end" })) : null))))))), h("slot", { key: '031978d82e01e604b306c6e37948dc67ce9ed89a' })));
|
|
117
117
|
}
|
|
118
118
|
getCurrentTab() {
|
|
119
119
|
return this.controllers.find(control => control.active) || null;
|
|
@@ -27,7 +27,7 @@ export class GovTag {
|
|
|
27
27
|
render() {
|
|
28
28
|
const iconStart = prepareIconFormat(this.iconStart);
|
|
29
29
|
const iconEnd = prepareIconFormat(this.iconEnd);
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: 'df3988a7cb0dbf8e7ee418918e9f65e7cca6ba87', class: this.h.classes(TagClass.root), color: this.color, size: this.size, type: this.type }, h("span", { key: 'bcb9b024178012722badffe0b0faaf79e2e8a933', class: "element" }, h("slot", { key: '2651a7dbce1b7a893dfc703e1393235286353e4b', name: "icon-start" }, iconStart && h("gov-icon", { key: '111e55c5ee1edaf6b578af8f37667e18c4d2487c', type: iconStart.type, name: iconStart.name })), h("slot", { key: 'fb60c7f3f3f25168f062134a93c4c4bb039fc29b' }), h("slot", { key: '20e64ee3addb1e45de10d486d25d7f024725626e', name: "icon-end" }, iconEnd && h("gov-icon", { key: 'e11b23de2ce9b35a27367c7ba7bb1b907bded75b', type: iconEnd.type, name: iconEnd.name })))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "gov-tag"; }
|
|
33
33
|
static get properties() {
|
|
@@ -65,7 +65,7 @@ export class GovThemeSwitch {
|
|
|
65
65
|
if (this.theme === ThemeList.auto) {
|
|
66
66
|
isDark = this.isSystemPrefersColorDark;
|
|
67
67
|
}
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: '492cf756810462ba0764668a134b2ecd5133d562', class: this.h.classes(ThemeSwitchClass.root), theme: isDark ? ThemeList.dark : ThemeList.light, size: this.size }, h("button", { key: '02b94994619dd3fbb998acdcc16c907c69ea6723', onClick: () => this.setThemeState(isDark ? ThemeList.light : ThemeList.dark), "aria-current": this.theme, "aria-label": isDark ? this.ariaLabelDark : this.ariaLabelLight }, h("span", { key: '0beb069c94ed4337a6c2de4d8ee8640123bc3bc5' }, h("span", { key: '57d9fc00520b8cf98108d9b5a9710d6066861157', class: ThemeSwitchClass.indicator }, ThemeList.light && h("gov-icon", { key: '3cd1693dcf28658943146386c97b834e5cf4534a', name: "sun", class: ThemeSwitchClass.iconLight, type: "components" }), ThemeList.dark && h("gov-icon", { key: '139adcafc399eed5482c15273a37331598bbe179', name: "moon", class: ThemeSwitchClass.iconDark, type: "components" })), this.displayLabel ? (h("span", { class: ThemeSwitchClass.label }, isDark ? this.labelDark : this.labelLight)) : null))));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "gov-theme-switch"; }
|
|
71
71
|
static get properties() {
|
|
@@ -11,7 +11,7 @@ export class GovTile {
|
|
|
11
11
|
this.h = govHost(this.host);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'ab52fb23f84579e2b32b063e45f7bf23605011d6', class: this.h.classes(TileClass.root), size: this.size, orientation: this.orientation, clickable: this.href ? true : null }, h("slot", { key: '6a2bf399f6767b74a29e2372d84025bd5046377f', name: "icon" }), h("div", { key: '64b519f3b42dc5c9f51d4564a083aa95448c61b3', class: TileClass.content }, h("div", { key: '56b85285dd5151ca428889fe78888289a1ce75bb', class: TileClass.text }, h("div", { key: '2f26093e140f3db65d5fdb08daf834686b0b5743', class: TileClass.title }, this.href ? (h(Fragment, null, h("a", { href: this.href, target: this.target, class: TileClass.link, ref: el => (this.triggerRef = el) }, h("slot", { name: "title" })), h("span", { class: TileClass.icon }, h("gov-icon", { name: "chevron-right", type: "components" })))) : (h("slot", { name: "title" }))), h("div", { key: '25d8abd31e31062bd2da487c0ff9946b1893278c', class: `${TileClass.annotation} ${this.href ? `${TileClass.annotation}--padding` : ''}` }, h("slot", { key: 'bebce043085e0440e2eca20c3af4abee18b292e4' }))), h("slot", { key: 'e34513bbd6c59b113f6c8f39d6ebfaf61696d2fe', name: "button" }))));
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* Returns a clickable element instance
|
|
@@ -54,7 +54,7 @@ export class GovToast {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: '1e6e189eb820b1d3cc2b8404ad449ad91d0d81cb', class: this.h.classes(ToastClass.root), "data-toast-id": this.toastId, gravity: this.gravity, position: this.position, color: this.color, type: this.type, style: { "--toast-duration": this.time + "ms" } }, this.h.hasSlot("icon") && (h("span", { key: 'e55556b89b1e667e3eded15cc0293afad61a55b5', class: ToastClass.icon }, h("slot", { key: '918cd31f3e80f36ea346ad1be27d093baab60eef', name: "icon" }))), h("div", Object.assign({ key: '6232d63367c11301b626620211b8a7cc30f171cf', class: ToastClass.content }, this.inheritedAttributes, { "aria-live": "polite", role: "status" }), h("slot", { key: 'bfd4174fae30924135ca10b1a1f2a2338179de24' })), h("gov-button", { key: 'd1f68ef7ed4933bd15987843df78d142c9d4e588', size: "s", "aria-label": this.accessibleCloseLabel, color: this.isBold ? this.color : "neutral", type: "base", "on-gov-click": this.onCloseHandler.bind(this), class: ToastClass.close }, this.closeLabel ? this.closeLabel : h("gov-icon", { name: "x-lg", type: "components" })), h("div", { key: 'f863b0cb33027641fff15771b051a091d4fdf782', class: ToastClass.timer })));
|
|
58
58
|
}
|
|
59
59
|
onCloseHandler() {
|
|
60
60
|
this.govClose.emit(this.toastId);
|
|
@@ -29,7 +29,7 @@ export class GovTooltipContent {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: 'f147a718b5c556b3314f48a86edfd9ee4db6d93e', class: TooltipContentClass.root, role: "tooltip", hidden: !this.isVisible, "aria-hidden": !toBoolAttr(this.isVisible), "is-visible": this.isVisible }, h("slot", { key: '4cde158814765edfb1fc6ab1e8cce6ad1d98e175' }), this.persist ? (h("gov-button", { "on-gov-click": this.hideContent.bind(this), color: this.color, size: this.size, type: "base" }, h("gov-icon", { slot: "icon-start", name: "x-lg", type: "components" }))) : null));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "gov-tooltip-content"; }
|
|
35
35
|
static get properties() {
|
|
@@ -196,11 +196,11 @@ export class GovTooltip {
|
|
|
196
196
|
}
|
|
197
197
|
render() {
|
|
198
198
|
var _a;
|
|
199
|
-
return (h(Host, { key: '
|
|
199
|
+
return (h(Host, { key: '8bb512960020b0945a8f54f5c6bd52062b426a26', id: this.tooltipId, class: this.h.classes(TooltipClass.root), position: this.position }, h("span", { key: 'd47065c5bef5f580101322a95e18905ec489ce29', role: 'button', tabindex: 0, onKeyPress: () => this.showTooltip(), onBlur: () => {
|
|
200
200
|
if (this.persist === false) {
|
|
201
201
|
this.hideTooltip();
|
|
202
202
|
}
|
|
203
|
-
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, h("slot", { key: '
|
|
203
|
+
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, h("slot", { key: 'a206caa511be168a6df2a34110b2aeeffe732354' }))));
|
|
204
204
|
}
|
|
205
205
|
/**
|
|
206
206
|
* Showing the modal
|
|
@@ -36,8 +36,8 @@ export class GovWizardItem {
|
|
|
36
36
|
render() {
|
|
37
37
|
const triggerId = this.identifier || this.triggerId;
|
|
38
38
|
const Tag = this.collapsible ? Tags.BUTTON : Tags.DIV;
|
|
39
|
-
const prefixSlot = this.h.hasSlot("prefix") && (h("span", { key: '
|
|
40
|
-
return (h(Host, { key: '
|
|
39
|
+
const prefixSlot = this.h.hasSlot("prefix") && (h("span", { key: '394a8843e47dd540dd1b22ba6cec699f73d55870', class: WizardItemClass.prefix }, h("slot", { key: '811680c41b1729b689a0679e16e3aba4455d4d17', name: "prefix" })));
|
|
40
|
+
return (h(Host, { key: 'e99661de092cfa2f0476faf5fb9c266e52bb3b0b', class: this.h.classes(WizardItemClass.root), "is-expanded": this.isExpanded, color: this.color, size: this.size, role: "listitem", collapsible: this.collapsible, hydrated: this.hydrated }, h("div", { key: 'a2a2218a1b036da0c9a6edb7b0c0ce1be5a214ff', class: WizardItemClass.header }, prefixSlot, this.collapsible ? (h(Tag, { id: triggerId, class: this.h.classes(WizardItemClass.label), "aria-expanded": booleanString(this.isExpanded), "aria-controls": this.contentId, disabled: this.disabled, "aria-disabled": toBoolAttrIfDefined(this.disabled), onClick: (e) => {
|
|
41
41
|
e.preventDefault();
|
|
42
42
|
e.stopPropagation();
|
|
43
43
|
this.toggle();
|
|
@@ -40,7 +40,7 @@ export class GovWizard {
|
|
|
40
40
|
this.hydrated = true;
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '139efd57338b63026c56d3feea4aea70de7e0784', class: this.h.classes(WizardClass.root), role: "list", size: this.size, hydrated: this.hydrated }, h("slot", { key: '7ac5d8219bea45ef32ded0785cb94c052a001f35' })));
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
46
|
* Validate the WCAG attributes of the component
|
|
@@ -74,14 +74,8 @@ export const primaryColors = [
|
|
|
74
74
|
{
|
|
75
75
|
name: "--color-primary-1050",
|
|
76
76
|
description: null,
|
|
77
|
-
hex: "#070f20",
|
|
78
|
-
tokens: ["var(--gov-color-primary-1050)"],
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
name: "--color-primary-1100",
|
|
82
|
-
description: null,
|
|
83
77
|
hex: "#010409",
|
|
84
|
-
tokens: ["var(--gov-color-primary-
|
|
78
|
+
tokens: ["var(--gov-color-primary-1050)"],
|
|
85
79
|
},
|
|
86
80
|
];
|
|
87
81
|
|
|
@@ -155,7 +149,7 @@ export const secondaryColors = [
|
|
|
155
149
|
{
|
|
156
150
|
name: "--color-secondary-1000",
|
|
157
151
|
description: null,
|
|
158
|
-
hex: "#
|
|
152
|
+
hex: "#241B04",
|
|
159
153
|
tokens: ["var(--gov-color-secondary-1000)"],
|
|
160
154
|
},
|
|
161
155
|
];
|
|
@@ -293,25 +287,25 @@ export const errorColors = [
|
|
|
293
287
|
{
|
|
294
288
|
name: "--color-error-700",
|
|
295
289
|
description: null,
|
|
296
|
-
hex: "#
|
|
290
|
+
hex: "#7e1414",
|
|
297
291
|
tokens: ["var(--gov-color-error-700)"],
|
|
298
292
|
},
|
|
299
293
|
{
|
|
300
294
|
name: "--color-error-800",
|
|
301
295
|
description: null,
|
|
302
|
-
hex: "#
|
|
296
|
+
hex: "#490c0c",
|
|
303
297
|
tokens: ["var(--gov-color-error-800)"],
|
|
304
298
|
},
|
|
305
299
|
{
|
|
306
300
|
name: "--color-error-900",
|
|
307
301
|
description: null,
|
|
308
|
-
hex: "#
|
|
302
|
+
hex: "#300606",
|
|
309
303
|
tokens: ["var(--gov-color-error-900)"],
|
|
310
304
|
},
|
|
311
305
|
{
|
|
312
306
|
name: "--color-error-950",
|
|
313
307
|
description: null,
|
|
314
|
-
hex: "#
|
|
308
|
+
hex: "#240303",
|
|
315
309
|
tokens: ["var(--gov-color-error-950)"],
|
|
316
310
|
},
|
|
317
311
|
];
|
|
@@ -458,6 +452,12 @@ export const successColors = [
|
|
|
458
452
|
hex: "#0d260f",
|
|
459
453
|
tokens: ["var(--gov-color-success-950)"],
|
|
460
454
|
},
|
|
455
|
+
{
|
|
456
|
+
name: "--color-success-1000",
|
|
457
|
+
description: null,
|
|
458
|
+
hex: "#061b08",
|
|
459
|
+
tokens: ["var(--gov-color-success-1000)"],
|
|
460
|
+
},
|
|
461
461
|
];
|
|
462
462
|
|
|
463
463
|
export const otherColors = [
|
|
@@ -476,7 +476,7 @@ export const otherColors = [
|
|
|
476
476
|
{
|
|
477
477
|
name: "--color-visited-300",
|
|
478
478
|
description: null,
|
|
479
|
-
hex: "#
|
|
479
|
+
hex: "#C4a7e6",
|
|
480
480
|
tokens: ["var(--gov-color-visited-300)"],
|
|
481
481
|
},
|
|
482
482
|
{
|