@gov-design-system-ce/components 4.1.3-BETA-10 → 4.2.1
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/{constants-02aec493.js → constants-7f713d6c.js} +2 -2
- package/dist/cjs/{constants-02aec493.js.map → constants-7f713d6c.js.map} +1 -1
- package/dist/cjs/{constants-4dfa23e3.js → constants-c7447ffd.js} +3 -1
- package/dist/cjs/constants-c7447ffd.js.map +1 -0
- package/dist/cjs/{constants-52053f2d.js → constants-c84c60d6.js} +3 -1
- package/dist/cjs/constants-c84c60d6.js.map +1 -0
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/gov-attachments_3.cjs.entry.js +4 -4
- package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/gov-banner.cjs.entry.js +80 -0
- package/dist/cjs/gov-banner.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-blockquote.cjs.entry.js +33 -0
- package/dist/cjs/gov-blockquote.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +3 -3
- package/dist/cjs/gov-button.cjs.entry.js +7 -6
- package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
- 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 +4 -3
- package/dist/cjs/gov-chip.cjs.entry.js.map +1 -1
- 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-dialog.cjs.entry.js.map +1 -1
- 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 +5 -5
- package/dist/cjs/gov-flex_3.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js +5 -4
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +5 -5
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-checkbox.cjs.entry.js +2 -1
- package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-control.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-file.cjs.entry.js +3 -2
- package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-group.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-input_2.cjs.entry.js +10 -8
- package/dist/cjs/gov-form-input_2.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-label.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +6 -5
- package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-password-power.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-radio-group.cjs.entry.js +3 -3
- package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-radio.cjs.entry.js +2 -1
- package/dist/cjs/gov-form-radio.cjs.entry.js.map +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 +6 -5
- package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-switch.cjs.entry.js +2 -1
- package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-grid-item.cjs.entry.js +13 -7
- package/dist/cjs/gov-grid-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-grid.cjs.entry.js +7 -5
- package/dist/cjs/gov-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-infobar.cjs.entry.js +4 -3
- package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -1
- 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 +3 -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-message.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-pagination.cjs.entry.js +4 -3
- package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-stepper.cjs.entry.js +2 -2
- package/dist/cjs/gov-tabs-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs.cjs.entry.js +4 -3
- package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
- 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 +3 -2
- package/dist/cjs/gov-toast.cjs.entry.js.map +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 +12 -4
- 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 +3 -1
- package/dist/collection/components/gov-attachments/gov-attachments-item.css +3 -4
- package/dist/collection/components/gov-banner/constants.js +26 -0
- package/dist/collection/components/gov-banner/constants.js.map +1 -0
- package/dist/collection/components/gov-banner/gov-banner.js +155 -0
- package/dist/collection/components/gov-banner/gov-banner.js.map +1 -0
- package/dist/collection/components/gov-blockquote/constants.js +10 -0
- package/dist/collection/components/gov-blockquote/constants.js.map +1 -0
- package/dist/collection/components/gov-blockquote/gov-blockquote.js +61 -0
- 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 +5 -4
- package/dist/collection/components/gov-button/button/gov-button.js.map +1 -1
- 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 +4 -3
- package/dist/collection/components/gov-chip/gov-chip.js.map +1 -1
- 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-dialog/gov-dialog.js.map +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 +22 -3
- package/dist/collection/components/gov-flex/gov-flex.js.map +1 -1
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +3 -2
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -1
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +2 -1
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +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 +3 -2
- package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
- package/dist/collection/components/gov-form/group/constants.js +1 -1
- package/dist/collection/components/gov-form/group/constants.js.map +1 -1
- package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +2 -2
- package/dist/collection/components/gov-form/group/gov-form-group.css +4 -4
- package/dist/collection/components/gov-form/group/gov-form-group.js +2 -2
- package/dist/collection/components/gov-form/group/gov-form-radio-group.js +2 -2
- package/dist/collection/components/gov-form/input/gov-form-input.js +7 -6
- package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
- 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 +4 -3
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.js +1 -1
- package/dist/collection/components/gov-form/radio/gov-form-radio.js +2 -1
- package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +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 +4 -3
- package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
- package/dist/collection/components/gov-form/switch/gov-form-switch.js +2 -1
- package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
- package/dist/collection/components/gov-grid/constants.js +2 -0
- package/dist/collection/components/gov-grid/constants.js.map +1 -1
- package/dist/collection/components/gov-grid/gov-grid-item.js +111 -20
- package/dist/collection/components/gov-grid/gov-grid-item.js.map +1 -1
- package/dist/collection/components/gov-grid/gov-grid.js +56 -14
- package/dist/collection/components/gov-grid/gov-grid.js.map +1 -1
- package/dist/collection/components/gov-icon/gov-icon.js +0 -2
- package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
- package/dist/collection/components/gov-infobar/gov-infobar.js +4 -3
- package/dist/collection/components/gov-infobar/gov-infobar.js.map +1 -1
- 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/constants.js +1 -0
- package/dist/collection/components/gov-link/constants.js.map +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 +3 -2
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js.map +1 -1
- package/dist/collection/components/gov-message/gov-message.js +1 -1
- package/dist/collection/components/gov-message/gov-message.js.map +1 -1
- package/dist/collection/components/gov-pagination/gov-pagination.js +2 -1
- package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
- package/dist/collection/components/gov-spacer/gov-spacer.js +1 -1
- package/dist/collection/components/gov-stepper/constants.js +2 -0
- package/dist/collection/components/gov-stepper/constants.js.map +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper-item.js +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper-item.js.map +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 +3 -2
- package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -1
- package/dist/collection/components/gov-tag/gov-tag.js +1 -1
- package/dist/collection/components/gov-theme-switch/constants.js +1 -0
- package/dist/collection/components/gov-theme-switch/constants.js.map +1 -1
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +1 -1
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js.map +1 -1
- package/dist/collection/components/gov-tile/gov-tile.js +1 -1
- package/dist/collection/components/gov-toast/gov-toast.js +3 -2
- package/dist/collection/components/gov-toast/gov-toast.js.map +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 +268 -0
- package/dist/collection/pages/Banner.js.map +1 -0
- package/dist/collection/pages/Blockquote.js +25 -0
- package/dist/collection/pages/Blockquote.js.map +1 -0
- package/dist/collection/pages/Breadcrumbs.js +2 -2
- package/dist/collection/pages/Breadcrumbs.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/Flex.js +1 -1
- package/dist/collection/pages/Flex.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/Grid.js +61 -40
- package/dist/collection/pages/Grid.js.map +1 -1
- package/dist/collection/pages/Home.js +57 -0
- package/dist/collection/pages/Home.js.map +1 -1
- package/dist/collection/pages/Infobar.js +36 -56
- package/dist/collection/pages/Infobar.js.map +1 -1
- package/dist/collection/pages/Layout.js +10 -10
- package/dist/collection/pages/Layout.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/Tag.js +14 -0
- package/dist/collection/pages/Tag.js.map +1 -1
- package/dist/collection/pages/Tiles.js +8 -235
- package/dist/collection/pages/Tiles.js.map +1 -1
- package/dist/collection/pages/Typography.js +117 -51
- 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-tiles.d.ts → gov-banner.d.ts} +4 -4
- package/dist/components/gov-banner.js +2 -0
- package/dist/components/gov-banner.js.map +1 -0
- package/dist/components/gov-blockquote.d.ts +11 -0
- package/dist/components/gov-blockquote.js +2 -0
- package/dist/components/gov-blockquote.js.map +1 -0
- 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-dialog.js.map +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-flex.js.map +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-group.js.map +1 -1
- package/dist/components/gov-form-checkbox.js +1 -1
- package/dist/components/gov-form-checkbox.js.map +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-file.js.map +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-multi-select.js.map +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-radio-group.js.map +1 -1
- package/dist/components/gov-form-radio.js +1 -1
- package/dist/components/gov-form-radio.js.map +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-form-switch.js.map +1 -1
- package/dist/components/gov-grid-item.js +1 -1
- package/dist/components/gov-grid-item.js.map +1 -1
- package/dist/components/gov-grid.js +1 -1
- package/dist/components/gov-grid.js.map +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-message.js +1 -1
- package/dist/components/gov-message.js.map +1 -1
- package/dist/components/gov-pagination.js +1 -1
- package/dist/components/gov-pagination.js.map +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-item.js.map +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-tabs.js.map +1 -1
- package/dist/components/gov-tag.js +1 -1
- package/dist/components/gov-theme-switch.js +1 -1
- package/dist/components/gov-theme-switch.js.map +1 -1
- package/dist/components/gov-tile.js +1 -1
- package/dist/components/gov-toast.js +1 -1
- package/dist/components/gov-toast.js.map +1 -1
- package/dist/components/gov-tooltip-content.js +1 -1
- package/dist/components/gov-tooltip.js +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-2ca5423c.js +2 -0
- package/dist/components/p-2ca5423c.js.map +1 -0
- package/dist/components/p-2fe7d728.js +2 -0
- package/dist/components/p-2fe7d728.js.map +1 -0
- package/dist/components/p-313b4611.js +2 -0
- package/dist/components/p-313b4611.js.map +1 -0
- package/dist/components/p-5a861cd2.js +2 -0
- package/dist/components/p-5a861cd2.js.map +1 -0
- package/dist/components/p-5b0934a8.js +2 -0
- package/dist/components/p-5b0934a8.js.map +1 -0
- package/dist/components/p-5d60b866.js +2 -0
- package/dist/components/p-5d60b866.js.map +1 -0
- package/dist/components/p-6ce6e14f.js +2 -0
- package/dist/components/p-6ce6e14f.js.map +1 -0
- package/dist/components/p-7fb16042.js +2 -0
- package/dist/components/p-7fb16042.js.map +1 -0
- package/dist/components/p-be086357.js +2 -0
- package/dist/components/p-d3435179.js +2 -0
- package/dist/components/p-d3435179.js.map +1 -0
- package/dist/components/p-de989dfe.js +2 -0
- package/dist/components/{p-7be2301a.js → p-e0c3b1a7.js} +2 -2
- package/dist/components/p-ea128b8b.js +2 -0
- package/dist/components/p-ea128b8b.js.map +1 -0
- package/dist/components/p-f9b1a12b.js +2 -0
- package/dist/components/p-f9b1a12b.js.map +1 -0
- package/dist/components/{p-e44a0fee.js → p-fc2afe61.js} +2 -2
- package/dist/components/{p-e44a0fee.js.map → p-fc2afe61.js.map} +1 -1
- package/dist/core/core.css +3541 -2361
- 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-08552a0e.entry.js.map +1 -0
- package/dist/core/p-0abc38e8.entry.js +2 -0
- package/dist/core/p-0abc38e8.entry.js.map +1 -0
- package/dist/core/p-0c393d2f.entry.js +2 -0
- package/dist/core/p-0c393d2f.entry.js.map +1 -0
- package/dist/core/p-0ef1f684.entry.js +2 -0
- package/dist/core/p-0ef1f684.entry.js.map +1 -0
- package/dist/core/p-16ece889.entry.js +2 -0
- package/dist/core/p-16ece889.entry.js.map +1 -0
- package/dist/core/p-171e2a2f.entry.js +2 -0
- package/dist/core/p-2536a8ff.entry.js +2 -0
- package/dist/core/p-2536a8ff.entry.js.map +1 -0
- package/dist/core/p-25615325.entry.js +2 -0
- package/dist/core/p-2a7bcce0.entry.js +2 -0
- package/dist/core/p-2a7bcce0.entry.js.map +1 -0
- package/dist/core/p-2ca5423c.js +2 -0
- package/dist/core/p-2ca5423c.js.map +1 -0
- package/dist/core/{p-9514520c.entry.js → p-2f966102.entry.js} +2 -2
- package/dist/core/p-2f966102.entry.js.map +1 -0
- package/dist/core/p-2fe7d728.js +2 -0
- package/dist/core/p-2fe7d728.js.map +1 -0
- package/dist/core/p-3583dcf7.entry.js +2 -0
- package/dist/core/p-3583dcf7.entry.js.map +1 -0
- package/dist/core/p-3b2267a1.entry.js +2 -0
- package/dist/core/{p-e078dab3.entry.js.map → p-3b2267a1.entry.js.map} +1 -1
- package/dist/core/p-4216d8f3.entry.js +2 -0
- package/dist/core/p-44c912e2.entry.js +2 -0
- package/dist/core/p-44c912e2.entry.js.map +1 -0
- package/dist/core/p-4d5f768f.entry.js +2 -0
- package/dist/core/{p-a8a5e8ca.entry.js.map → p-4d5f768f.entry.js.map} +1 -1
- package/dist/core/p-52103c05.entry.js +2 -0
- package/dist/core/p-52103c05.entry.js.map +1 -0
- package/dist/core/p-52bb8e4f.entry.js +2 -0
- package/dist/core/p-52bb8e4f.entry.js.map +1 -0
- package/dist/core/p-52c74fc5.entry.js +2 -0
- package/dist/core/{p-07b1fa1c.entry.js.map → p-52c74fc5.entry.js.map} +1 -1
- package/dist/core/p-548806cb.entry.js +2 -0
- package/dist/core/p-548806cb.entry.js.map +1 -0
- package/dist/core/p-5fa4965e.entry.js +2 -0
- package/dist/core/{p-f9474bb3.entry.js.map → p-5fa4965e.entry.js.map} +1 -1
- package/dist/core/p-6d54ce5f.js +2 -0
- package/dist/core/p-6f74eb08.entry.js +2 -0
- package/dist/core/{p-eed4e606.entry.js → p-75dae924.entry.js} +2 -2
- package/dist/core/{p-eed4e606.entry.js.map → p-75dae924.entry.js.map} +1 -1
- 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-8cd7a120.entry.js +2 -0
- package/dist/core/p-8cd7a120.entry.js.map +1 -0
- package/dist/core/{p-5ff7f0c4.entry.js → p-8f469270.entry.js} +2 -2
- package/dist/core/p-947804a8.entry.js +2 -0
- package/dist/core/p-979ff58c.entry.js +2 -0
- package/dist/core/p-979ff58c.entry.js.map +1 -0
- package/dist/core/{p-ab500948.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-a1c825f3.entry.js +2 -0
- package/dist/core/p-a1c825f3.entry.js.map +1 -0
- package/dist/core/p-a440365f.entry.js +2 -0
- package/dist/core/p-a440365f.entry.js.map +1 -0
- package/dist/core/{p-bd667900.entry.js → p-a70c7959.entry.js} +2 -2
- package/dist/core/p-a8a7ae96.entry.js +2 -0
- package/dist/core/p-a8a7ae96.entry.js.map +1 -0
- package/dist/core/p-aacafa40.entry.js +2 -0
- package/dist/core/{p-72c4ebcd.entry.js.map → p-aacafa40.entry.js.map} +1 -1
- package/dist/core/p-aeaba3ef.entry.js +2 -0
- 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-b9f1c2ef.entry.js.map +1 -0
- 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-c1584cfe.entry.js +2 -0
- package/dist/core/p-c1584cfe.entry.js.map +1 -0
- package/dist/core/p-c5a49469.entry.js +2 -0
- package/dist/core/p-c88d8659.entry.js +2 -0
- package/dist/core/p-c88d8659.entry.js.map +1 -0
- package/dist/core/{p-49ebfe10.entry.js → p-cba1ebca.entry.js} +2 -2
- 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-fd7a3951.entry.js.map → p-ddb3772f.entry.js.map} +1 -1
- package/dist/core/{p-a58f4e2b.entry.js → p-e2655cb7.entry.js} +2 -2
- package/dist/core/p-e29c9924.entry.js +2 -0
- package/dist/core/{p-a5648769.entry.js.map → p-e29c9924.entry.js.map} +1 -1
- package/dist/core/p-ea128b8b.js +2 -0
- package/dist/core/p-ea128b8b.js.map +1 -0
- package/dist/core/p-ead1f58d.entry.js +2 -0
- package/dist/core/p-f83b3b08.entry.js +2 -0
- package/dist/core/p-f83b3b08.entry.js.map +1 -0
- package/dist/core/{p-e44a0fee.js → p-fc2afe61.js} +2 -2
- package/dist/core/{p-e44a0fee.js.map → p-fc2afe61.js.map} +1 -1
- 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/{constants-4da2b3c0.js → constants-1548499a.js} +2 -2
- package/dist/esm/{constants-4da2b3c0.js.map → constants-1548499a.js.map} +1 -1
- package/dist/esm/{constants-372455eb.js → constants-7b1ce2ec.js} +3 -1
- package/dist/esm/constants-7b1ce2ec.js.map +1 -0
- package/dist/esm/{constants-2d5a0e18.js → constants-dc2115cb.js} +3 -1
- package/dist/esm/constants-dc2115cb.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/gov-attachments_3.entry.js +4 -4
- package/dist/esm/gov-attachments_3.entry.js.map +1 -1
- package/dist/esm/gov-backdrop.entry.js +2 -2
- package/dist/esm/gov-banner.entry.js +76 -0
- package/dist/esm/gov-banner.entry.js.map +1 -0
- package/dist/esm/gov-blockquote.entry.js +29 -0
- package/dist/esm/gov-blockquote.entry.js.map +1 -0
- package/dist/esm/gov-breadcrumbs.entry.js +3 -3
- package/dist/esm/gov-button.entry.js +7 -6
- package/dist/esm/gov-button.entry.js.map +1 -1
- 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 +4 -3
- package/dist/esm/gov-chip.entry.js.map +1 -1
- 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-dialog.entry.js.map +1 -1
- 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 +5 -5
- package/dist/esm/gov-flex_3.entry.js.map +1 -1
- package/dist/esm/gov-form-autocomplete.entry.js +5 -4
- package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
- package/dist/esm/gov-form-checkbox-group.entry.js +5 -5
- package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -1
- package/dist/esm/gov-form-checkbox.entry.js +2 -1
- package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
- package/dist/esm/gov-form-control.entry.js +1 -1
- package/dist/esm/gov-form-file.entry.js +3 -2
- package/dist/esm/gov-form-file.entry.js.map +1 -1
- package/dist/esm/gov-form-group.entry.js +2 -2
- package/dist/esm/gov-form-input_2.entry.js +10 -8
- package/dist/esm/gov-form-input_2.entry.js.map +1 -1
- package/dist/esm/gov-form-label.entry.js +1 -1
- package/dist/esm/gov-form-multi-select.entry.js +6 -5
- package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
- package/dist/esm/gov-form-password-power.entry.js +1 -1
- package/dist/esm/gov-form-radio-group.entry.js +3 -3
- package/dist/esm/gov-form-radio-group.entry.js.map +1 -1
- package/dist/esm/gov-form-radio.entry.js +2 -1
- package/dist/esm/gov-form-radio.entry.js.map +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 +6 -5
- package/dist/esm/gov-form-select.entry.js.map +1 -1
- package/dist/esm/gov-form-switch.entry.js +2 -1
- package/dist/esm/gov-form-switch.entry.js.map +1 -1
- package/dist/esm/gov-grid-item.entry.js +13 -7
- package/dist/esm/gov-grid-item.entry.js.map +1 -1
- package/dist/esm/gov-grid.entry.js +7 -5
- package/dist/esm/gov-grid.entry.js.map +1 -1
- package/dist/esm/gov-infobar.entry.js +4 -3
- package/dist/esm/gov-infobar.entry.js.map +1 -1
- 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 +3 -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-message.entry.js.map +1 -1
- package/dist/esm/gov-pagination.entry.js +4 -3
- package/dist/esm/gov-pagination.entry.js.map +1 -1
- package/dist/esm/gov-spacer.entry.js +1 -1
- package/dist/esm/gov-stepper-item.entry.js +2 -2
- package/dist/esm/gov-stepper-item.entry.js.map +1 -1
- package/dist/esm/gov-stepper.entry.js +2 -2
- package/dist/esm/gov-tabs-item.entry.js +1 -1
- package/dist/esm/gov-tabs.entry.js +4 -3
- package/dist/esm/gov-tabs.entry.js.map +1 -1
- 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 +3 -2
- package/dist/esm/gov-toast.entry.js.map +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 +12 -4
- 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 +478 -133
- package/dist/hydrate/index.mjs +478 -133
- package/dist/stencil.config.js +3 -2
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/components/gov-banner/constants.d.ts +26 -0
- package/dist/types/components/gov-banner/gov-banner.d.ts +28 -0
- package/dist/types/components/gov-blockquote/constants.d.ts +10 -0
- package/dist/types/components/gov-blockquote/gov-blockquote.d.ts +15 -0
- package/dist/types/components/gov-button/button/constants.d.ts +1 -1
- package/dist/types/components/gov-card/gov-card.d.ts +10 -0
- package/dist/types/components/gov-control-group/constants.d.ts +1 -1
- package/dist/types/components/gov-flex/gov-flex.d.ts +5 -1
- package/dist/types/components/gov-form/group/constants.d.ts +1 -1
- 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-grid/constants.d.ts +4 -0
- package/dist/types/components/gov-grid/gov-grid-item.d.ts +25 -5
- package/dist/types/components/gov-grid/gov-grid.d.ts +11 -2
- package/dist/types/components/gov-icon/constants.d.ts +1 -1
- package/dist/types/components/gov-infobar/constants.d.ts +1 -1
- package/dist/types/components/gov-link/constants.d.ts +1 -0
- package/dist/types/components/gov-link/gov-link.d.ts +4 -0
- package/dist/types/components/gov-stepper/constants.d.ts +2 -0
- package/dist/types/components/gov-theme-switch/constants.d.ts +1 -0
- package/dist/types/components.d.ts +357 -36
- package/dist/types/pages/Banner.d.ts +3 -0
- package/dist/types/pages/Blockquote.d.ts +3 -0
- package/package.json +3 -3
- package/dist/cjs/constants-4dfa23e3.js.map +0 -1
- package/dist/cjs/constants-52053f2d.js.map +0 -1
- package/dist/cjs/gov-tiles.cjs.entry.js +0 -26
- package/dist/cjs/gov-tiles.cjs.entry.js.map +0 -1
- package/dist/cjs/helpers.types-ff60c9bd.js.map +0 -1
- package/dist/collection/components/gov-tile/container/constants.js +0 -4
- package/dist/collection/components/gov-tile/container/constants.js.map +0 -1
- package/dist/collection/components/gov-tile/container/gov-tiles.js +0 -37
- package/dist/collection/components/gov-tile/container/gov-tiles.js.map +0 -1
- package/dist/components/gov-tiles.js +0 -2
- package/dist/components/gov-tiles.js.map +0 -1
- package/dist/components/p-076c8b31.js +0 -2
- package/dist/components/p-076c8b31.js.map +0 -1
- package/dist/components/p-13a70392.js +0 -2
- package/dist/components/p-13a70392.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-4d513423.js +0 -2
- package/dist/components/p-4d513423.js.map +0 -1
- package/dist/components/p-4faecdb2.js +0 -2
- package/dist/components/p-4faecdb2.js.map +0 -1
- package/dist/components/p-558cbab0.js +0 -2
- package/dist/components/p-558cbab0.js.map +0 -1
- package/dist/components/p-80dad64b.js +0 -2
- package/dist/components/p-880743a5.js +0 -2
- package/dist/components/p-880743a5.js.map +0 -1
- package/dist/components/p-a521c59a.js +0 -2
- package/dist/components/p-a521c59a.js.map +0 -1
- package/dist/components/p-a877bf8a.js +0 -2
- package/dist/components/p-a877bf8a.js.map +0 -1
- package/dist/components/p-b97d8edd.js +0 -2
- package/dist/components/p-b97d8edd.js.map +0 -1
- package/dist/components/p-c438a723.js +0 -2
- package/dist/components/p-c5e91e5a.js +0 -2
- package/dist/components/p-c5e91e5a.js.map +0 -1
- package/dist/components/p-ded281e6.js +0 -2
- package/dist/core/p-07b1fa1c.entry.js +0 -2
- package/dist/core/p-0932c74d.entry.js +0 -2
- package/dist/core/p-13c6da90.entry.js +0 -2
- package/dist/core/p-13c6da90.entry.js.map +0 -1
- package/dist/core/p-15a7b952.entry.js +0 -2
- package/dist/core/p-15a7b952.entry.js.map +0 -1
- package/dist/core/p-2470194a.entry.js +0 -2
- package/dist/core/p-2470194a.entry.js.map +0 -1
- package/dist/core/p-29ac15d2.js +0 -2
- package/dist/core/p-2abdce2d.entry.js +0 -2
- package/dist/core/p-2abdce2d.entry.js.map +0 -1
- package/dist/core/p-2ae8b8d5.entry.js +0 -2
- package/dist/core/p-2ae8b8d5.entry.js.map +0 -1
- package/dist/core/p-2aedc81e.js +0 -2
- package/dist/core/p-2aedc81e.js.map +0 -1
- package/dist/core/p-3627773f.entry.js +0 -2
- package/dist/core/p-3627773f.entry.js.map +0 -1
- package/dist/core/p-36b35592.entry.js +0 -2
- package/dist/core/p-36b35592.entry.js.map +0 -1
- package/dist/core/p-3974176f.entry.js +0 -2
- package/dist/core/p-3974176f.entry.js.map +0 -1
- package/dist/core/p-3b8b331f.entry.js +0 -2
- package/dist/core/p-41e0ad2e.entry.js +0 -2
- package/dist/core/p-41e0ad2e.entry.js.map +0 -1
- package/dist/core/p-4aa5db49.entry.js +0 -2
- package/dist/core/p-4aa5db49.entry.js.map +0 -1
- package/dist/core/p-5e42395f.entry.js +0 -2
- package/dist/core/p-5e42395f.entry.js.map +0 -1
- package/dist/core/p-72c4ebcd.entry.js +0 -2
- package/dist/core/p-72cdac94.entry.js +0 -2
- package/dist/core/p-77bf7b01.entry.js +0 -2
- package/dist/core/p-77bf7b01.entry.js.map +0 -1
- package/dist/core/p-7a44bd0a.entry.js +0 -2
- package/dist/core/p-7a44bd0a.entry.js.map +0 -1
- package/dist/core/p-7c0be05a.entry.js +0 -2
- package/dist/core/p-7c0be05a.entry.js.map +0 -1
- package/dist/core/p-80c7db1f.entry.js +0 -2
- package/dist/core/p-80c7db1f.entry.js.map +0 -1
- package/dist/core/p-880743a5.js +0 -2
- package/dist/core/p-880743a5.js.map +0 -1
- package/dist/core/p-8e5f45d0.entry.js +0 -2
- package/dist/core/p-8ede0622.entry.js +0 -2
- package/dist/core/p-9256cf6c.entry.js +0 -2
- package/dist/core/p-93179cbf.entry.js +0 -2
- package/dist/core/p-93179cbf.entry.js.map +0 -1
- package/dist/core/p-93b747c1.entry.js +0 -2
- package/dist/core/p-9514520c.entry.js.map +0 -1
- package/dist/core/p-9897ac81.entry.js +0 -2
- package/dist/core/p-9897ac81.entry.js.map +0 -1
- package/dist/core/p-9e77f076.entry.js +0 -2
- package/dist/core/p-9fcb2ba7.entry.js +0 -2
- package/dist/core/p-a0728f09.entry.js +0 -2
- package/dist/core/p-a0728f09.entry.js.map +0 -1
- package/dist/core/p-a22517e2.entry.js +0 -2
- package/dist/core/p-a22517e2.entry.js.map +0 -1
- package/dist/core/p-a521c59a.js +0 -2
- package/dist/core/p-a521c59a.js.map +0 -1
- package/dist/core/p-a5648769.entry.js +0 -2
- package/dist/core/p-a8a5e8ca.entry.js +0 -2
- package/dist/core/p-b319674e.entry.js +0 -2
- package/dist/core/p-b404f53c.entry.js +0 -2
- package/dist/core/p-c34dad75.entry.js +0 -2
- package/dist/core/p-c9d70c7a.entry.js +0 -2
- package/dist/core/p-d512059d.entry.js +0 -2
- package/dist/core/p-ded281e6.js +0 -2
- package/dist/core/p-e078dab3.entry.js +0 -2
- package/dist/core/p-e4ac787c.entry.js +0 -2
- package/dist/core/p-e4ac787c.entry.js.map +0 -1
- package/dist/core/p-e7b3b5db.entry.js +0 -2
- package/dist/core/p-e7b3b5db.entry.js.map +0 -1
- package/dist/core/p-f60265c3.entry.js +0 -2
- package/dist/core/p-f6863a64.entry.js +0 -2
- package/dist/core/p-f6863a64.entry.js.map +0 -1
- package/dist/core/p-f9474bb3.entry.js +0 -2
- package/dist/core/p-f98f19f6.entry.js +0 -2
- package/dist/core/p-fd7a3951.entry.js +0 -2
- package/dist/esm/constants-2d5a0e18.js.map +0 -1
- package/dist/esm/constants-372455eb.js.map +0 -1
- package/dist/esm/gov-tiles.entry.js +0 -22
- package/dist/esm/gov-tiles.entry.js.map +0 -1
- package/dist/esm/helpers.types-43ddbdb8.js.map +0 -1
- package/dist/types/components/gov-tile/container/constants.d.ts +0 -3
- package/dist/types/components/gov-tile/container/gov-tiles.d.ts +0 -10
- /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-ded281e6.js.map → p-be086357.js.map} +0 -0
- /package/dist/components/{p-c438a723.js.map → p-de989dfe.js.map} +0 -0
- /package/dist/components/{p-7be2301a.js.map → p-e0c3b1a7.js.map} +0 -0
- /package/dist/core/{p-93b747c1.entry.js.map → p-171e2a2f.entry.js.map} +0 -0
- /package/dist/core/{p-9fcb2ba7.entry.js.map → p-25615325.entry.js.map} +0 -0
- /package/dist/core/{p-9256cf6c.entry.js.map → p-4216d8f3.entry.js.map} +0 -0
- /package/dist/core/{p-29ac15d2.js.map → p-6d54ce5f.js.map} +0 -0
- /package/dist/core/{p-72cdac94.entry.js.map → p-6f74eb08.entry.js.map} +0 -0
- /package/dist/core/{p-8e5f45d0.entry.js.map → p-774ea182.entry.js.map} +0 -0
- /package/dist/core/{p-f60265c3.entry.js.map → p-843f980a.entry.js.map} +0 -0
- /package/dist/core/{p-8ede0622.entry.js.map → p-8a72ebcd.entry.js.map} +0 -0
- /package/dist/core/{p-5ff7f0c4.entry.js.map → p-8f469270.entry.js.map} +0 -0
- /package/dist/core/{p-b319674e.entry.js.map → p-947804a8.entry.js.map} +0 -0
- /package/dist/core/{p-ab500948.entry.js.map → p-981f217e.entry.js.map} +0 -0
- /package/dist/core/{p-bd667900.entry.js.map → p-a70c7959.entry.js.map} +0 -0
- /package/dist/core/{p-c34dad75.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-0932c74d.entry.js.map → p-bea685cb.entry.js.map} +0 -0
- /package/dist/core/{p-9e77f076.entry.js.map → p-c5a49469.entry.js.map} +0 -0
- /package/dist/core/{p-49ebfe10.entry.js.map → p-cba1ebca.entry.js.map} +0 -0
- /package/dist/core/{p-b404f53c.entry.js.map → p-ccb64e4e.entry.js.map} +0 -0
- /package/dist/core/{p-d512059d.entry.js.map → p-d383f977.entry.js.map} +0 -0
- /package/dist/core/{p-3b8b331f.entry.js.map → p-d990aae8.entry.js.map} +0 -0
- /package/dist/core/{p-a58f4e2b.entry.js.map → p-e2655cb7.entry.js.map} +0 -0
- /package/dist/core/{p-c9d70c7a.entry.js.map → p-ead1f58d.entry.js.map} +0 -0
package/dist/hydrate/index.mjs
CHANGED
|
@@ -2687,6 +2687,7 @@ const hasOwnProperty = (obj, prop) => {
|
|
|
2687
2687
|
};
|
|
2688
2688
|
const isObject = (obj) => typeof obj === 'object';
|
|
2689
2689
|
const isString = (input) => is(input) && typeof input === 'string';
|
|
2690
|
+
const isNumber = (input) => is(input) && typeof input === 'number';
|
|
2690
2691
|
|
|
2691
2692
|
const validateWcagProp = (value, propName, component) => {
|
|
2692
2693
|
if (value === undefined || String(value).length === 0) {
|
|
@@ -2769,7 +2770,7 @@ class GovAttachments {
|
|
|
2769
2770
|
}; }
|
|
2770
2771
|
}
|
|
2771
2772
|
|
|
2772
|
-
const govAttachmentsItemCss = "gov-attachments-item,.gov-attachments-item{position:relative;display:flex;width:100%;gap:var(--spacing-s)}gov-attachments-item__messages>*:last-child,.gov-attachments-item__messages>*:last-child{margin-bottom:0}gov-attachments-item__file,.gov-attachments-item__file{display:flex;gap:var(--spacing-s)}gov-attachments-item__name,.gov-attachments-item__name{display:flex;gap:var(--spacing-s);flex-wrap:wrap;align-items:center;margin:0;color:var(--name-color, var(--text-primary))}gov-attachments-item__name span,.gov-attachments-item__name span{font-size:var(--font-size-xs);line-height:
|
|
2773
|
+
const govAttachmentsItemCss = "gov-attachments-item,.gov-attachments-item{position:relative;display:flex;width:100%;gap:var(--spacing-s)}gov-attachments-item__messages>*:last-child,.gov-attachments-item__messages>*:last-child{margin-bottom:0}gov-attachments-item__file,.gov-attachments-item__file{display:flex;gap:var(--spacing-s)}gov-attachments-item__name,.gov-attachments-item__name{display:flex;gap:var(--spacing-s);flex-wrap:wrap;align-items:center;margin:0;color:var(--name-color, var(--text-primary))}gov-attachments-item__name span,.gov-attachments-item__name span{font-size:var(--font-size-body-xs);line-height:150%;font-weight:400;color:var(--decor-color, var(--text-secondary))}";
|
|
2773
2774
|
var GovAttachmentsItemStyle0 = govAttachmentsItemCss;
|
|
2774
2775
|
|
|
2775
2776
|
class GovAttachmentsItem {
|
|
@@ -2861,6 +2862,119 @@ class GovBackdrop {
|
|
|
2861
2862
|
}; }
|
|
2862
2863
|
}
|
|
2863
2864
|
|
|
2865
|
+
const BannerSizes = pick(Sizes, ['_S', '_M', '_L', '_XL']);
|
|
2866
|
+
var BannerBackground;
|
|
2867
|
+
(function (BannerBackground) {
|
|
2868
|
+
BannerBackground["SIMPLE"] = "simple";
|
|
2869
|
+
BannerBackground["WAVES"] = "waves";
|
|
2870
|
+
BannerBackground["STRIPES"] = "stripes";
|
|
2871
|
+
BannerBackground["LINES"] = "lines";
|
|
2872
|
+
})(BannerBackground || (BannerBackground = {}));
|
|
2873
|
+
var BannerForeground;
|
|
2874
|
+
(function (BannerForeground) {
|
|
2875
|
+
BannerForeground["IMAGE"] = "image";
|
|
2876
|
+
BannerForeground["LOGO"] = "logo";
|
|
2877
|
+
BannerForeground["ICON"] = "icon";
|
|
2878
|
+
})(BannerForeground || (BannerForeground = {}));
|
|
2879
|
+
var BannerTextColor;
|
|
2880
|
+
(function (BannerTextColor) {
|
|
2881
|
+
BannerTextColor["LIGHT"] = "light";
|
|
2882
|
+
BannerTextColor["DARK"] = "dark";
|
|
2883
|
+
})(BannerTextColor || (BannerTextColor = {}));
|
|
2884
|
+
const BannerClass = {
|
|
2885
|
+
root: 'gov-banner',
|
|
2886
|
+
content: 'gov-banner__content',
|
|
2887
|
+
};
|
|
2888
|
+
|
|
2889
|
+
class GovBanner {
|
|
2890
|
+
constructor(hostRef) {
|
|
2891
|
+
registerInstance(this, hostRef);
|
|
2892
|
+
this.size = BannerSizes._M;
|
|
2893
|
+
this.background = BannerBackground.SIMPLE;
|
|
2894
|
+
this.foreground = BannerForeground.LOGO;
|
|
2895
|
+
this.textColor = BannerTextColor.LIGHT;
|
|
2896
|
+
this.h = govHost(this.host);
|
|
2897
|
+
}
|
|
2898
|
+
validateSize(newValue) {
|
|
2899
|
+
validateProp(BannerSizes, newValue, BannerClass.root);
|
|
2900
|
+
}
|
|
2901
|
+
validateBackground(newValue) {
|
|
2902
|
+
validateProp(BannerBackground, newValue, BannerClass.root);
|
|
2903
|
+
}
|
|
2904
|
+
validateForeground(newValue) {
|
|
2905
|
+
validateProp(BannerForeground, newValue, BannerClass.root);
|
|
2906
|
+
}
|
|
2907
|
+
validateTextColor(newValue) {
|
|
2908
|
+
validateProp(BannerTextColor, newValue, BannerClass.root);
|
|
2909
|
+
}
|
|
2910
|
+
componentWillLoad() {
|
|
2911
|
+
this.validateSize(this.size);
|
|
2912
|
+
this.validateBackground(this.background);
|
|
2913
|
+
this.validateForeground(this.foreground);
|
|
2914
|
+
this.validateTextColor(this.textColor);
|
|
2915
|
+
}
|
|
2916
|
+
render() {
|
|
2917
|
+
return (hAsync(Host, Object.assign({ key: '67c767ffc6ac1912bb691c8bb11158dac573e70f', class: this.h.classes(BannerClass.root), role: "region", size: this.size }, (this.size !== "xl" ? {
|
|
2918
|
+
background: this.background,
|
|
2919
|
+
foreground: this.foreground
|
|
2920
|
+
} : { 'text-color': this.textColor })), hAsync("div", { key: '624b24b1e621ef7f7ad4666b56f48ffec9881aee' }, hAsync("div", { key: '90b322dca74ca90be13489d519534ebff0656593', class: BannerClass.content }, hAsync("slot", { key: '272f89cbe0649af7edfd7230861f6232272c8da4', name: "headline" }), hAsync("slot", { key: '1bfa7690842ba1a023af5b7da4edec5acb6c65fe' })), this.h.hasSlot('button') && (hAsync("slot", { key: '5d9611292a76aee4654b16429a89fd46ad610884', name: "button" }))), hAsync("slot", { key: '00000b185434b0d85112beaa2374c7f7b12c19b0', name: "image" })));
|
|
2921
|
+
}
|
|
2922
|
+
get host() { return getElement(this); }
|
|
2923
|
+
static get watchers() { return {
|
|
2924
|
+
"size": ["validateSize"],
|
|
2925
|
+
"background": ["validateBackground"],
|
|
2926
|
+
"foreground": ["validateForeground"],
|
|
2927
|
+
"text-color": ["validateTextColor"]
|
|
2928
|
+
}; }
|
|
2929
|
+
static get cmpMeta() { return {
|
|
2930
|
+
"$flags$": 4,
|
|
2931
|
+
"$tagName$": "gov-banner",
|
|
2932
|
+
"$members$": {
|
|
2933
|
+
"size": [513],
|
|
2934
|
+
"background": [1],
|
|
2935
|
+
"foreground": [1],
|
|
2936
|
+
"textColor": [1, "text-color"]
|
|
2937
|
+
},
|
|
2938
|
+
"$listeners$": undefined,
|
|
2939
|
+
"$lazyBundleId$": "-",
|
|
2940
|
+
"$attrsToReflect$": [["size", "size"]]
|
|
2941
|
+
}; }
|
|
2942
|
+
}
|
|
2943
|
+
|
|
2944
|
+
var BlockquoteType;
|
|
2945
|
+
(function (BlockquoteType) {
|
|
2946
|
+
BlockquoteType["PRIMARY"] = "primary";
|
|
2947
|
+
BlockquoteType["SUBTLE"] = "subtle";
|
|
2948
|
+
BlockquoteType["NEUTRAL"] = "neutral";
|
|
2949
|
+
})(BlockquoteType || (BlockquoteType = {}));
|
|
2950
|
+
const BlockquoteClass = {
|
|
2951
|
+
root: 'gov-blockquote',
|
|
2952
|
+
};
|
|
2953
|
+
|
|
2954
|
+
class GovBlockquote {
|
|
2955
|
+
constructor(hostRef) {
|
|
2956
|
+
registerInstance(this, hostRef);
|
|
2957
|
+
this.type = BlockquoteType.SUBTLE;
|
|
2958
|
+
this.cite = undefined;
|
|
2959
|
+
this.h = govHost(this.host);
|
|
2960
|
+
}
|
|
2961
|
+
render() {
|
|
2962
|
+
return (hAsync(Host, { key: '0d4b930791ee54ea55552b1a8ab9a2f248b5109e', class: this.h.classes(BlockquoteClass.root), type: this.type }, hAsync("gov-icon", { key: 'f27a6a5059203b000bede13c47aa7e5eb150e4cd', type: "components", name: "quote", size: "3xl" }), hAsync("blockquote", { key: '3206cd993309f5636920e5b552e3cd97be98b334', cite: this.cite }, hAsync("slot", { key: '16ac7ec3098d37e1c5b444fe18e47986a5afa915' })), hAsync("slot", { key: 'ae4f20fbf0820346cc9919014ab6a3fc9f9ef96e', name: "image" }), hAsync("slot", { key: 'f43c96fef744f2d6147f8579fad0c808c064c81a', name: "author" })));
|
|
2963
|
+
}
|
|
2964
|
+
get host() { return getElement(this); }
|
|
2965
|
+
static get cmpMeta() { return {
|
|
2966
|
+
"$flags$": 4,
|
|
2967
|
+
"$tagName$": "gov-blockquote",
|
|
2968
|
+
"$members$": {
|
|
2969
|
+
"type": [513],
|
|
2970
|
+
"cite": [1]
|
|
2971
|
+
},
|
|
2972
|
+
"$listeners$": undefined,
|
|
2973
|
+
"$lazyBundleId$": "-",
|
|
2974
|
+
"$attrsToReflect$": [["type", "type"]]
|
|
2975
|
+
}; }
|
|
2976
|
+
}
|
|
2977
|
+
|
|
2864
2978
|
const BreadcrumbsClass = {
|
|
2865
2979
|
root: 'gov-breadcrumbs',
|
|
2866
2980
|
};
|
|
@@ -2903,7 +3017,7 @@ class GovBreadcrumbs {
|
|
|
2903
3017
|
this.toggleOption = sumOfWidths > hostWidth;
|
|
2904
3018
|
}
|
|
2905
3019
|
render() {
|
|
2906
|
-
return (hAsync(Host, { key: '
|
|
3020
|
+
return (hAsync(Host, { key: 'dadd8de710050476be68e3f6fa0b317d6ccedfc1', class: this.h.classes(BreadcrumbsClass.root), expanded: this.expanded }, hAsync("nav", { key: '468a3b605408c943421243024733b0381809f931', "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy }, hAsync("slot", { key: '2c9f85b826c8c54340ab5abba51c1861282c9cb7' })), this.toggleOption ? (hAsync("gov-button", { size: 'xs', color: 'primary', type: 'base', "aria-label": this.accessibleToggleLabel, "aria-pressed": this.expanded, "aria-expanded": this.expanded, "on-gov-click": () => this.expanded = !this.expanded }, hAsync("gov-icon", { name: this.expanded ? 'chevron-up' : 'chevron-down', type: "components" }))) : null));
|
|
2907
3021
|
}
|
|
2908
3022
|
/**
|
|
2909
3023
|
* Validate the WCAG attributes of the component
|
|
@@ -2987,11 +3101,11 @@ function toBool(value) {
|
|
|
2987
3101
|
}
|
|
2988
3102
|
}
|
|
2989
3103
|
|
|
2990
|
-
var Tags$
|
|
3104
|
+
var Tags$3;
|
|
2991
3105
|
(function (Tags) {
|
|
2992
3106
|
Tags["A"] = "a";
|
|
2993
3107
|
Tags["BUTTON"] = "button";
|
|
2994
|
-
})(Tags$
|
|
3108
|
+
})(Tags$3 || (Tags$3 = {}));
|
|
2995
3109
|
class GovButton {
|
|
2996
3110
|
constructor(hostRef) {
|
|
2997
3111
|
registerInstance(this, hostRef);
|
|
@@ -3041,7 +3155,8 @@ class GovButton {
|
|
|
3041
3155
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
3042
3156
|
}
|
|
3043
3157
|
disconnectedCallback() {
|
|
3044
|
-
|
|
3158
|
+
var _a;
|
|
3159
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
3045
3160
|
}
|
|
3046
3161
|
componentWillLoad() {
|
|
3047
3162
|
this.validateColor(this.color);
|
|
@@ -3060,11 +3175,11 @@ class GovButton {
|
|
|
3060
3175
|
this.hydrated = true;
|
|
3061
3176
|
}
|
|
3062
3177
|
render() {
|
|
3063
|
-
const Tag = this.href ? Tags$
|
|
3064
|
-
const nativeType = Tag === Tags$
|
|
3065
|
-
return (hAsync(Host, { key: '
|
|
3066
|
-
hAsync("gov-icon", { key: '
|
|
3067
|
-
hAsync("gov-icon", { key: '
|
|
3178
|
+
const Tag = this.href ? Tags$3.A : Tags$3.BUTTON;
|
|
3179
|
+
const nativeType = Tag === Tags$3.A ? undefined : this.nativeType;
|
|
3180
|
+
return (hAsync(Host, { key: 'cd3d644c54ac882be5adf1645391a873d426e549', size: this.size, hydrated: this.hydrated, color: this.color, class: this.h.classes(ButtonClass.root), type: this.type }, hAsync(Tag, Object.assign({ key: '39c76efc161144865f6bde8cf50e2808d0566415', class: "element", ref: el => (this.triggerRef = el), onClick: this.onClickHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), disabled: this.disabled, id: this.identifier, href: this.href, target: this.target, download: this.download, hreflang: this.hreflang, rel: this.rel, name: this.name, type: nativeType, tabindex: this.disabled ? "-1" : "0" }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled) }), toBool(this.loading) && !this.h.hasSlot("icon-end") &&
|
|
3181
|
+
hAsync("gov-icon", { key: 'b75ed857aacc2b914810fbdbb3c0d39ede423639', name: "loader", class: "gov-spin-animation", type: "components" }), this.h.hasSlot("icon-start") && hAsync("slot", { key: '838152233ab4f51b36217ae0b4077a3f3efc3ecf', name: "icon-start" }), hAsync("slot", { key: '0dbfd16b6de4ea9c0bb92a97297262f10b9a335c' }), this.h.hasSlot("icon-end") && hAsync("slot", { key: '8854b0bced36cabfe85988e22d10d49f9761a910', name: "icon-end" }), toBool(this.loading) && this.h.hasSlot("icon-end") &&
|
|
3182
|
+
hAsync("gov-icon", { key: '607c848e0a9e4abf1c4232658a38922ade4accf9', name: "loader", class: "gov-spin-animation", type: "components" }))));
|
|
3068
3183
|
}
|
|
3069
3184
|
onClickHandler(e) {
|
|
3070
3185
|
e.stopPropagation();
|
|
@@ -3166,6 +3281,11 @@ const CardClass = {
|
|
|
3166
3281
|
footer: 'gov-card__footer',
|
|
3167
3282
|
};
|
|
3168
3283
|
|
|
3284
|
+
var Tags$2;
|
|
3285
|
+
(function (Tags) {
|
|
3286
|
+
Tags["A"] = "a";
|
|
3287
|
+
Tags["DIV"] = "div";
|
|
3288
|
+
})(Tags$2 || (Tags$2 = {}));
|
|
3169
3289
|
class GovCard {
|
|
3170
3290
|
constructor(hostRef) {
|
|
3171
3291
|
registerInstance(this, hostRef);
|
|
@@ -3174,6 +3294,8 @@ class GovCard {
|
|
|
3174
3294
|
this.direction = "vertical";
|
|
3175
3295
|
this.collapsible = false;
|
|
3176
3296
|
this.open = true;
|
|
3297
|
+
this.href = undefined;
|
|
3298
|
+
this.target = undefined;
|
|
3177
3299
|
this.accessibleTriggerLabel = undefined;
|
|
3178
3300
|
this.accessibleTriggerLabelledBy = undefined;
|
|
3179
3301
|
this.h = govHost(this.host);
|
|
@@ -3190,7 +3312,8 @@ class GovCard {
|
|
|
3190
3312
|
this.hydrated = true;
|
|
3191
3313
|
}
|
|
3192
3314
|
render() {
|
|
3193
|
-
|
|
3315
|
+
const Tag = this.href ? Tags$2.A : Tags$2.DIV;
|
|
3316
|
+
return (hAsync(Host, { key: '3a11dfeface1fa81d0c27f4ee3644c1c3b3a0191', class: this.h.classes(CardClass.root), open: this.open, collapsible: booleanString(this.collapsible), clickable: this.href ? true : null, direction: this.direction, hydrated: this.hydrated }, this.collapsible ? (hAsync("button", { id: this.headlineId, class: CardClass.header, "aria-label": this.accessibleTriggerLabel, "aria-labelledby": this.accessibleTriggerLabelledBy, "aria-expanded": booleanString(this.open), "aria-controls": this.contentId, onClick: this.onClickHandler.bind(this) }, hAsync("slot", { name: "headline" }), hAsync("gov-icon", { class: CardClass.arrow, name: "chevron-down", type: "components" }))) : this.h.hasSlot("headline") ? (hAsync("div", { class: CardClass.header }, hAsync("slot", { name: "headline" }))) : null, hAsync(Tag, { key: 'bdf47c610db6c937ebe9f6fa45124b5df8e2847f', href: this.href, target: this.target, id: this.contentId, "aria-hidden": this.collapsible ? booleanString(!this.open) : undefined, hidden: this.collapsible ? !this.open : undefined, "aria-labelledby": this.collapsible ? this.headlineId : undefined, class: CardClass.inner }, this.h.hasSlot('img') && (hAsync("div", { key: '11ed1b55fe67d05382d538c903726ffd84fb7d48', class: CardClass.img }, hAsync("slot", { key: 'b1c362609163af2748256ecd1370bd074b8cd396', name: "img" }))), this.h.hasSlot('icon') && (hAsync("div", { key: '70b848927a86419442be3a84ee060c27a87fa12b', class: CardClass.icon }, hAsync("slot", { key: '357b5dffa7c0970495ed167ca9a5db0b8d67c721', name: "icon" }))), hAsync("div", { key: '0bec7d7dc66dda27ba05e9041caeca8f20def8c4', class: CardClass.content }, hAsync("slot", { key: 'e3b08eb1097e0d788df4a45f78711bd0a5f02656' })), this.h.hasSlot('footer') && (hAsync("div", { key: '0f4ef687f88e18a935d8f651bb7d2a9ea2c3df97', class: CardClass.footer }, hAsync("slot", { key: 'd645292f3ee9f007d9aeffdefcf2c26a1e5415b1', name: "footer" }))))));
|
|
3194
3317
|
}
|
|
3195
3318
|
onClickHandler(e) {
|
|
3196
3319
|
e.stopPropagation();
|
|
@@ -3215,13 +3338,15 @@ class GovCard {
|
|
|
3215
3338
|
"direction": [1],
|
|
3216
3339
|
"collapsible": [4],
|
|
3217
3340
|
"open": [1540],
|
|
3341
|
+
"href": [513],
|
|
3342
|
+
"target": [1],
|
|
3218
3343
|
"accessibleTriggerLabel": [1, "accessible-label"],
|
|
3219
3344
|
"accessibleTriggerLabelledBy": [1, "accessible-labelledby"],
|
|
3220
3345
|
"validateAccessibility": [64]
|
|
3221
3346
|
},
|
|
3222
3347
|
"$listeners$": undefined,
|
|
3223
3348
|
"$lazyBundleId$": "-",
|
|
3224
|
-
"$attrsToReflect$": [["open", "open"]]
|
|
3349
|
+
"$attrsToReflect$": [["open", "open"], ["href", "href"]]
|
|
3225
3350
|
}; }
|
|
3226
3351
|
}
|
|
3227
3352
|
|
|
@@ -3296,7 +3421,8 @@ class GovChip {
|
|
|
3296
3421
|
this.attributeObserver.startObserving(ariaAttributes);
|
|
3297
3422
|
}
|
|
3298
3423
|
disconnectedCallback() {
|
|
3299
|
-
|
|
3424
|
+
var _a;
|
|
3425
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
3300
3426
|
}
|
|
3301
3427
|
connectedCallback() {
|
|
3302
3428
|
this.hydrated = true;
|
|
@@ -3310,11 +3436,11 @@ class GovChip {
|
|
|
3310
3436
|
const nativeType = Tag == NativeType.BUTTON ? NativeType.BUTTON : undefined;
|
|
3311
3437
|
const iconStart = prepareIconFormat(this.iconStart);
|
|
3312
3438
|
const iconEnd = prepareIconFormat(this.iconEnd);
|
|
3313
|
-
return (hAsync(Host, { key: '
|
|
3439
|
+
return (hAsync(Host, { key: '6891a65866779d31691de4842180ae22767c4268', class: this.h.classes([
|
|
3314
3440
|
ChipClass.root,
|
|
3315
3441
|
this.h.hasSlot("right") ? ChipClass.hasRight : undefined,
|
|
3316
3442
|
this.h.hasSlot("left") ? ChipClass.hasLeft : undefined,
|
|
3317
|
-
]), disabled: this.disabled, href: this.href, color: this.color, type: this.type, size: this.size, hoverable: Tag == NativeType.A || Tag == NativeType.BUTTON, hydrated: this.hydrated }, hAsync(Tag, Object.assign({ key: '
|
|
3443
|
+
]), disabled: this.disabled, href: this.href, color: this.color, type: this.type, size: this.size, hoverable: Tag == NativeType.A || Tag == NativeType.BUTTON, hydrated: this.hydrated }, hAsync(Tag, Object.assign({ key: '32a2696de42de539438caa0842d0fefa31804b77', class: "element", href: this.href, target: this.target, ref: el => (this.triggerRef = el), onClick: this.onClickHandler.bind(this), tabindex: (this.h.hasSlot("left") || this.h.hasSlot("right") || this.disabled) && !this.focusable ? "-1" : "0", id: this.identifier || this.chipId, type: nativeType }, this.inheritedAttributes, { "aria-disabled": this.disabled }), hAsync("slot", { key: '93a5178477cbd4e0e09789c3ff0941e0972943f3', name: "left" }), hAsync("slot", { key: '7d019aa4f2e543a8cb22e7d694c6994656e92065', name: "icon-start" }, iconStart && hAsync("gov-icon", { key: '6077e90d13e1fe7945c43abf142e308fa88b10b9', type: iconStart.type, name: iconStart.name })), hAsync("slot", { key: '8c2fbc69cade5187c4dc3805e2eb9b2639620687' }), hAsync("slot", { key: 'ba590e6f48cf44ceb293917dbdecf34472db28ad', name: "icon-end" }, iconEnd && hAsync("gov-icon", { key: '030988484d52eb2a47b192888a8e4a1e8773bd74', type: iconEnd.type, name: iconEnd.name })), hAsync("slot", { key: 'b62f2b1359a70b2aba874686d33f3dd5b7d0c8a2', name: "right" }))));
|
|
3318
3444
|
}
|
|
3319
3445
|
onClickHandler(e) {
|
|
3320
3446
|
e.stopPropagation();
|
|
@@ -3374,7 +3500,7 @@ class GovContainer {
|
|
|
3374
3500
|
this.h = govHost(this.host);
|
|
3375
3501
|
}
|
|
3376
3502
|
render() {
|
|
3377
|
-
return (hAsync(Host, { key: '
|
|
3503
|
+
return (hAsync(Host, { key: '82f7c451b4196138a062e9e807c0b264b5f8e1fe', class: this.h.classes(ContainerClass.root) }, hAsync("slot", { key: '04a40aeafe57c99f4a148d04320bf390e3444ea8' })));
|
|
3378
3504
|
}
|
|
3379
3505
|
get host() { return getElement(this); }
|
|
3380
3506
|
static get cmpMeta() { return {
|
|
@@ -3404,7 +3530,7 @@ class GovControlGroup {
|
|
|
3404
3530
|
validateProp(Colors, newValue, ControlGroupClass.root);
|
|
3405
3531
|
}
|
|
3406
3532
|
render() {
|
|
3407
|
-
return (hAsync(Host, { key: '
|
|
3533
|
+
return (hAsync(Host, { key: '74d339e88105be80b3f335aa2af1155ab23099c8', class: this.h.classes(ControlGroupClass.root), color: this.color }, hAsync("slot", { key: 'e3af09285370470ad4e1ca9e6b225ca98708cebc' })));
|
|
3408
3534
|
}
|
|
3409
3535
|
get host() { return getElement(this); }
|
|
3410
3536
|
static get watchers() { return {
|
|
@@ -3438,7 +3564,7 @@ class GovCookiebar {
|
|
|
3438
3564
|
this.h = govHost(this.host);
|
|
3439
3565
|
}
|
|
3440
3566
|
render() {
|
|
3441
|
-
return (hAsync(Host, { key: '
|
|
3567
|
+
return (hAsync(Host, { key: 'ad50c5414cb7d3dc0c5b2d378e2484dea094b1de', class: this.h.classes(CookieConsentClass.root) }, hAsync("div", { key: 'aeedb06244acdb5bf57f11c37132d7fec2871cc5', class: CookieConsentClass.content }, hAsync("slot", { key: '90ac710208833ac2c6349792a02f13c4e80741c4', name: "headline" }), hAsync("slot", { key: '67c6c377aa6255bd31fefa8d20b55bfa3c90b489' })), (this.h.hasSlot('actions-primary') || this.h.hasSlot('actions-secondary')) && (hAsync("div", { key: 'aa9b2f1162adcd6d9a2d81da2262046ec8886f50', class: CookieConsentClass.actions }, this.h.hasSlot('actions-primary') && (hAsync("div", { key: 'b152aebaef3031dc48fe569fef4f1f8119dbaf6b', class: CookieConsentClass.actionsPrimary }, hAsync("slot", { key: '16b3e328ddc88528d877052b445855dc909605d4', name: "actions-primary" }))), this.h.hasSlot('actions-secondary') && (hAsync("div", { key: 'a825b255261a36cfd192d8936de9eb2b78d5d941', class: CookieConsentClass.actionsSecondary }, hAsync("slot", { key: 'f651dfbf6756682711b2c4415df6acf4a2c9a479', name: "actions-secondary" })))))));
|
|
3442
3568
|
}
|
|
3443
3569
|
get host() { return getElement(this); }
|
|
3444
3570
|
static get cmpMeta() { return {
|
|
@@ -3511,7 +3637,7 @@ class GovDialog {
|
|
|
3511
3637
|
document.body.classList.remove(DialogClass.bodyFix);
|
|
3512
3638
|
}
|
|
3513
3639
|
render() {
|
|
3514
|
-
return (hAsync(Host, { key: '
|
|
3640
|
+
return (hAsync(Host, { key: 'd4185a1b611db509ebf08509afa23b6e1682fe6f', class: this.h.classes(DialogClass.root), open: this.open, hydrated: this.hydrated }, hAsync("dialog", { key: '6a9624025826c1bd0eb7e83739112cf7b2d56dbc', class: DialogClass.dialog, hidden: !this.open, tabindex: boolToFocusValue(this.open), open: this.open, "aria-modal": "true", "aria-hidden": toBoolAttr(!this.open), "aria-labelledby": this.accessibleLabelledBy || this.labelId, "aria-describedby": this.accessibleDescribedBy || this.contentId, role: this.role }, hAsync("div", { key: '1f93dc885aad9898151e00ca4717c8dd8eeea1ff', class: DialogClass.inner }, hAsync("div", { key: '4455c3f5f5e6aa9e6ec84ce400ead24a3e526374', class: DialogClass.header }, this.h.hasSlot("icon") && (hAsync("span", { key: '40bd7dba7f121d87e00b48b5c4f3ed0c01f5d4a0' }, hAsync("slot", { key: '911f36f5199cde0f6561da2385934bb88e668c68', name: "icon" }))), this.h.hasSlot('title') && (hAsync("span", { key: '1e45df978ffc0f360d242d24e826b4df41188196', class: DialogClass.title, id: this.labelId }, hAsync("slot", { key: '920d60a3305db5b2b7963e6e0c795dbe49101f40', name: "title" }))), hAsync("gov-button", { key: '42a64cd1706ba71362bc0bc0b8d69e9867ec5fb1', ref: el => (this.closeCtaRef = el), disabled: this.blockClose, class: DialogClass.close, color: "primary", "aria-label": this.accessibleCloseLabel, "aria-labelledby": this.accessibleCloseLabelledBy, type: "base", size: "m", "on-gov-click": this.onCloseHandler.bind(this) }, hAsync("gov-icon", { key: '480265e99c21126cbb755df8e6c6f482f69fb92b', slot: "icon-start", name: "x-lg", type: "components" }))), hAsync("div", { key: 'dc16ca442fbb779b8d0c127253324d2894e1b1e5', class: DialogClass.content, id: this.contentId }, hAsync("slot", { key: 'a721e2e66951a436c2a7c946648e15cd1043a7c1' })), this.h.hasSlot('footer') && (hAsync("div", { key: 'ea53d2a6284285c3b33a346784f783e69cc6ff4a', class: DialogClass.footer }, hAsync("slot", { key: '1693aec930d48ffd79505638b4b03df4e50529f5', name: "footer" }))))), this.open ? (hAsync("gov-backdrop", { disabled: this.blockBackdropClose, "aria-label": this.accessibleCloseLabel, "aria-labelled-by": this.accessibleCloseLabelledBy, "on-gov-click": this.onCloseHandler.bind(this) })) : null));
|
|
3515
3641
|
}
|
|
3516
3642
|
onCloseHandler(e) {
|
|
3517
3643
|
e.stopPropagation();
|
|
@@ -3669,7 +3795,7 @@ class GovDropdown {
|
|
|
3669
3795
|
});
|
|
3670
3796
|
}
|
|
3671
3797
|
render() {
|
|
3672
|
-
return (hAsync(Host, { key: '
|
|
3798
|
+
return (hAsync(Host, { key: 'ed9beb8952cacb4b76fc73ab31345bbe8c5d206d', class: this.h.classes([DropdownClass.root]), open: this.open, position: this.position }, hAsync("slot", { key: '49d4da21a53be27e687622d17e21474c7cedb26d' }), hAsync("div", { key: '941b05aab703a6bfd981d912763f4576899fd617', ref: el => registerClickOutside(this, el, () => this.open = false), class: DropdownClass.list, id: this.listId, "aria-labelledby": this.controlId, "aria-hidden": toBoolAttr(!this.open), hidden: !this.open }, hAsync("slot", { key: 'cd0c1f28b7d717efd0fe8faa964df78dfbeca49f', name: "list" }))));
|
|
3673
3799
|
}
|
|
3674
3800
|
/**
|
|
3675
3801
|
* Returns the current state of the dropdown
|
|
@@ -3722,7 +3848,7 @@ class GovEmpty {
|
|
|
3722
3848
|
this.validateSize(this.size);
|
|
3723
3849
|
}
|
|
3724
3850
|
render() {
|
|
3725
|
-
return (hAsync(Host, { key: '
|
|
3851
|
+
return (hAsync(Host, { key: '93155f92af0574538fd919e52f312b0f02d07e21', class: this.h.classes(EmptyClass.root), size: this.size }, this.h.hasSlot('icon') && (hAsync("slot", { key: 'e9504c9396c9743ea7e454bb2df5d0f2a046aabe', name: "icon" })), hAsync("div", { key: '78f2d30f570c6123a58d2ac93db58b4e471796b3', class: EmptyClass.content }, hAsync("slot", { key: '7b5e1121dbfccf6d647e168e80c60cad4a1ca136', name: "headline" }), hAsync("slot", { key: 'd435390c88c0304f9ee129b268c454b2147fddb0' }))));
|
|
3726
3852
|
}
|
|
3727
3853
|
get host() { return getElement(this); }
|
|
3728
3854
|
static get watchers() { return {
|
|
@@ -3751,7 +3877,7 @@ class GovErrorCode {
|
|
|
3751
3877
|
this.h = govHost(this.host);
|
|
3752
3878
|
}
|
|
3753
3879
|
render() {
|
|
3754
|
-
return (hAsync(Host, { key: '
|
|
3880
|
+
return (hAsync(Host, { key: 'b253a0e9141dca1662d4d2b792f4c9d25f869a38', class: this.h.classes(ErrorCodeClass.root), align: "center" }, this.h.hasSlot('icon') && (hAsync("slot", { key: '4ca7e5788170cdf49d969d1a6ed3e12a0f368914', name: "icon" })), hAsync("div", { key: '1822320601777bba88b698375f8ccfc55e33567e', class: ErrorCodeClass.content }, hAsync("slot", { key: 'f3b7e46e878f7ff87291bae34a043d5e228dac4c', name: "headline" }), hAsync("slot", { key: 'f63ac6838e3397bd6828853f96f476454a0bcda7' }))));
|
|
3755
3881
|
}
|
|
3756
3882
|
get host() { return getElement(this); }
|
|
3757
3883
|
static get cmpMeta() { return {
|
|
@@ -3778,27 +3904,29 @@ class GovFlex {
|
|
|
3778
3904
|
this.alignContent = undefined;
|
|
3779
3905
|
this.alignSelf = undefined;
|
|
3780
3906
|
this.gap = undefined;
|
|
3907
|
+
this.responsive = "true";
|
|
3781
3908
|
this.h = govHost(this.host);
|
|
3782
3909
|
}
|
|
3783
3910
|
render() {
|
|
3784
|
-
return (hAsync(Host, { key: '
|
|
3911
|
+
return (hAsync(Host, { key: '71dadfbe4c7ddd45b36ffe74d8fd0c38e5069756', class: this.h.classes(FlexClass.root) }, hAsync("slot", { key: 'b86bd5e8abbf157f2476cad87134ff9eedd307cc' })));
|
|
3785
3912
|
}
|
|
3786
3913
|
get host() { return getElement(this); }
|
|
3787
3914
|
static get cmpMeta() { return {
|
|
3788
3915
|
"$flags$": 4,
|
|
3789
3916
|
"$tagName$": "gov-flex",
|
|
3790
3917
|
"$members$": {
|
|
3791
|
-
"direction": [
|
|
3918
|
+
"direction": [513],
|
|
3792
3919
|
"justifyContent": [513, "justify-content"],
|
|
3793
3920
|
"alignItems": [513, "align-items"],
|
|
3794
3921
|
"wrap": [513],
|
|
3795
3922
|
"alignContent": [513, "align-content"],
|
|
3796
3923
|
"alignSelf": [513, "align-self"],
|
|
3797
|
-
"gap": [513]
|
|
3924
|
+
"gap": [513],
|
|
3925
|
+
"responsive": [513]
|
|
3798
3926
|
},
|
|
3799
3927
|
"$listeners$": undefined,
|
|
3800
3928
|
"$lazyBundleId$": "-",
|
|
3801
|
-
"$attrsToReflect$": [["justifyContent", "justify-content"], ["alignItems", "align-items"], ["wrap", "wrap"], ["alignContent", "align-content"], ["alignSelf", "align-self"], ["gap", "gap"]]
|
|
3929
|
+
"$attrsToReflect$": [["direction", "direction"], ["justifyContent", "justify-content"], ["alignItems", "align-items"], ["wrap", "wrap"], ["alignContent", "align-content"], ["alignSelf", "align-self"], ["gap", "gap"], ["responsive", "responsive"]]
|
|
3802
3930
|
}; }
|
|
3803
3931
|
}
|
|
3804
3932
|
|
|
@@ -3948,14 +4076,15 @@ class GovFormAutocomplete {
|
|
|
3948
4076
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
3949
4077
|
}
|
|
3950
4078
|
disconnectedCallback() {
|
|
3951
|
-
|
|
4079
|
+
var _a;
|
|
4080
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
3952
4081
|
}
|
|
3953
4082
|
onAriaAttributeChange(attributeName, newValue) {
|
|
3954
4083
|
this.host.removeAttribute(attributeName);
|
|
3955
4084
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
3956
4085
|
}
|
|
3957
4086
|
render() {
|
|
3958
|
-
return (hAsync(Host, { key: '
|
|
4087
|
+
return (hAsync(Host, { key: '22d9a81f648404e942ee680acddda83165af4dc2', class: FormAutocompleteClass.root, size: this.size }, hAsync("gov-form-input", Object.assign({ key: '4b60cfea2591a4bde6c97dee3c11b75461db3c5d', placeholder: this.placeholder, name: this.name, disabled: this.disabled, readonly: this.readonly, autocomplete: false, size: this.size, required: this.required, invalid: this.invalid, success: this.success, role: 'searchbox', value: this.value, minlength: this.minlength, maxlength: this.maxlength, "on-gov-input": throttle(this.onInputHandler.bind(this), this.throttleTime), "on-gov-keyup": this.onKeyUpHandler.bind(this), "on-gov-keydown": this.onKeyDownHandler.bind(this), "on-gov-focus": this.onFocusHandler.bind(this), "on-gov-blur": this.onBlurHandler.bind(this) }, this.inheritedAttributes, { "aria-autocomplete": 'list', "aria-owns": [this.listBoxId, this.inheritedAttributes['aria-owns']].join(' '), "aria-expanded": booleanString(this.list.length && this.focused ? true : false), ref: el => (this.inputRef = el) }), hAsync("slot", { key: '739722e49f8062d3ebec84dc2a1f840413439c7c', name: "validation-icon" }), hAsync("slot", { key: '6f3b3c7695a5c7d56276fbc41f854b9afff3800e', name: "icon-end" })), hAsync("ul", { key: '52b34c8501d976b438350104594b02137d40a386', class: FormAutocompleteClass.list, role: 'listbox', "aria-hidden": toBoolAttr(!this.focused), hidden: !this.focused, id: this.listBoxId, ref: el => (this.listRef = el) }, this.focused && this.list.length === 0 && this.processing === false && this.isValueAccepted && this.messageEmpty ? (hAsync("li", { class: FormAutocompleteClass.empty }, this.messageEmpty)) : null, this.focused && this.processing === true && this.isValueAccepted ? (hAsync("li", { class: FormAutocompleteClass.loading }, hAsync("gov-skeleton", { size: "m" }))) : null, this.focused ? this.list.map((item, index) => {
|
|
3959
4088
|
const isSelected = this.arrowCounter === index;
|
|
3960
4089
|
return (hAsync("li", { class: FormAutocompleteClass.item, innerHTML: this.templateResolver(item, isSelected), role: 'option', "aria-posinset": index, tabindex: isSelected ? 0 : -1, "aria-setsize": this.list.length, onTouchStart: (e) => this.onSelectHandler(e, index), onMouseDown: (e) => this.onSelectHandler(e, index), "aria-selected": toBoolAttr(isSelected) }, hAsync("slot", { name: "list-item-left" }), hAsync("slot", { name: "list-item-right" })));
|
|
3961
4090
|
}) : null)));
|
|
@@ -4333,7 +4462,8 @@ class GovFormCheckbox {
|
|
|
4333
4462
|
this.hydrated = true;
|
|
4334
4463
|
}
|
|
4335
4464
|
disconnectedCallback() {
|
|
4336
|
-
|
|
4465
|
+
var _a;
|
|
4466
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
4337
4467
|
}
|
|
4338
4468
|
onAriaAttributeChange(attributeName, newValue) {
|
|
4339
4469
|
this.host.removeAttribute(attributeName);
|
|
@@ -4414,7 +4544,7 @@ class GovFormCheckbox {
|
|
|
4414
4544
|
}; }
|
|
4415
4545
|
}
|
|
4416
4546
|
|
|
4417
|
-
const FormGroupSizes = pick(Sizes, ['
|
|
4547
|
+
const FormGroupSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_2XL']);
|
|
4418
4548
|
var FormGroupOrientation;
|
|
4419
4549
|
(function (FormGroupOrientation) {
|
|
4420
4550
|
FormGroupOrientation["HORIZONTAL"] = "horizontal";
|
|
@@ -4430,7 +4560,7 @@ const FormCheckboxGroupClass = {
|
|
|
4430
4560
|
root: 'gov-form-checkbox-group',
|
|
4431
4561
|
};
|
|
4432
4562
|
|
|
4433
|
-
const govFormGroupCss$1 = "gov-form-group,.gov-form-group,gov-form-radio-group,.gov-form-radio-group,gov-form-checkbox-group,.gov-form-checkbox-group{margin-top:0;margin-bottom:0;position:relative;display:flex;width:100%;flex-direction:column;align-items:flex-start}gov-form-group .gov-form-label__label,.gov-form-group .gov-form-label__label,gov-form-radio-group .gov-form-label__label,.gov-form-radio-group .gov-form-label__label,gov-form-checkbox-group .gov-form-label__label,.gov-form-checkbox-group .gov-form-label__label{margin:0}gov-form-group[orientation=horizontal],.gov-form-group[orientation=horizontal],gov-form-radio-group[orientation=horizontal],.gov-form-radio-group[orientation=horizontal],gov-form-checkbox-group[orientation=horizontal],.gov-form-checkbox-group[orientation=horizontal]{flex-direction:row;flex-wrap:wrap}gov-form-group[orientation=horizontal] .gov-form-label__label,.gov-form-group[orientation=horizontal] .gov-form-label__label,gov-form-radio-group[orientation=horizontal] .gov-form-label__label,.gov-form-radio-group[orientation=horizontal] .gov-form-label__label,gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label,.gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label{white-space:nowrap}gov-form-group[gap=xs],.gov-form-group[gap=xs],gov-form-radio-group[gap=xs],.gov-form-radio-group[gap=xs],gov-form-checkbox-group[gap=xs],.gov-form-checkbox-group[gap=xs]{gap:var(--gap, var(--spacing-xs-nudge))}gov-form-group[gap=s],.gov-form-group[gap=s],gov-form-radio-group[gap=s],.gov-form-radio-group[gap=s],gov-form-checkbox-group[gap=s],.gov-form-checkbox-group[gap=s]{gap:var(--gap, var(--spacing-s))}gov-form-group[gap=m],.gov-form-group[gap=m],gov-form-radio-group[gap=m],.gov-form-radio-group[gap=m],gov-form-checkbox-group[gap=m],.gov-form-checkbox-group[gap=m]{gap:var(--gap, var(--spacing-
|
|
4563
|
+
const govFormGroupCss$1 = "gov-form-group,.gov-form-group,gov-form-radio-group,.gov-form-radio-group,gov-form-checkbox-group,.gov-form-checkbox-group{margin-top:0;margin-bottom:0;position:relative;display:flex;width:100%;flex-direction:column;align-items:flex-start}gov-form-group .gov-form-label__label,.gov-form-group .gov-form-label__label,gov-form-radio-group .gov-form-label__label,.gov-form-radio-group .gov-form-label__label,gov-form-checkbox-group .gov-form-label__label,.gov-form-checkbox-group .gov-form-label__label{margin:0}gov-form-group[orientation=horizontal],.gov-form-group[orientation=horizontal],gov-form-radio-group[orientation=horizontal],.gov-form-radio-group[orientation=horizontal],gov-form-checkbox-group[orientation=horizontal],.gov-form-checkbox-group[orientation=horizontal]{flex-direction:row;flex-wrap:wrap}gov-form-group[orientation=horizontal] .gov-form-label__label,.gov-form-group[orientation=horizontal] .gov-form-label__label,gov-form-radio-group[orientation=horizontal] .gov-form-label__label,.gov-form-radio-group[orientation=horizontal] .gov-form-label__label,gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label,.gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label{white-space:nowrap}gov-form-group[gap=xs],.gov-form-group[gap=xs],gov-form-radio-group[gap=xs],.gov-form-radio-group[gap=xs],gov-form-checkbox-group[gap=xs],.gov-form-checkbox-group[gap=xs]{gap:var(--gap, var(--spacing-xs-nudge))}gov-form-group[gap=s],.gov-form-group[gap=s],gov-form-radio-group[gap=s],.gov-form-radio-group[gap=s],gov-form-checkbox-group[gap=s],.gov-form-checkbox-group[gap=s]{gap:var(--gap, var(--spacing-s))}gov-form-group[gap=m],.gov-form-group[gap=m],gov-form-radio-group[gap=m],.gov-form-radio-group[gap=m],gov-form-checkbox-group[gap=m],.gov-form-checkbox-group[gap=m]{gap:var(--gap, var(--spacing-m))}gov-form-group[gap=l],.gov-form-group[gap=l],gov-form-radio-group[gap=l],.gov-form-radio-group[gap=l],gov-form-checkbox-group[gap=l],.gov-form-checkbox-group[gap=l]{gap:var(--gap, var(--spacing-l))}gov-form-group[gap=xl],.gov-form-group[gap=xl],gov-form-radio-group[gap=xl],.gov-form-radio-group[gap=xl],gov-form-checkbox-group[gap=xl],.gov-form-checkbox-group[gap=xl]{gap:var(--gap, var(--spacing-xl))}";
|
|
4434
4564
|
var GovFormCheckboxGroupStyle0 = govFormGroupCss$1;
|
|
4435
4565
|
|
|
4436
4566
|
class GovFormCheckboxGroup {
|
|
@@ -4487,7 +4617,7 @@ class GovFormCheckboxGroup {
|
|
|
4487
4617
|
});
|
|
4488
4618
|
}
|
|
4489
4619
|
render() {
|
|
4490
|
-
return (hAsync(Host, { key: '
|
|
4620
|
+
return (hAsync(Host, { key: '332a7e45344ebd6bafbcf20813ab7a06a99aae7e', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, hAsync("slot", { key: 'd00028b250fa309ee22d25bd07f0f940fec0590e' })));
|
|
4491
4621
|
}
|
|
4492
4622
|
get host() { return getElement(this); }
|
|
4493
4623
|
static get watchers() { return {
|
|
@@ -4554,7 +4684,7 @@ class GovFormControl {
|
|
|
4554
4684
|
}
|
|
4555
4685
|
render() {
|
|
4556
4686
|
const Tag = this.fieldset ? "fieldset" : "div";
|
|
4557
|
-
return (hAsync(Host, { key: '
|
|
4687
|
+
return (hAsync(Host, { key: '1502fcaa64e9c9839e7393573f10aa7a98161f8a', size: this.size, class: this.h.classes(FormControlClass.root) }, hAsync(Tag, { key: 'ea3147966c1e34366293c19228793679f5065d53', class: FormControlClass.holder }, this.h.hasSlot("top") && hAsync("slot", { key: '803c63b94d671bdcd30eeb2bf4a9ab9f23633358', name: "top" }), hAsync("slot", { key: 'c46d8faf4cea51bc15e6f57e0f2e9bea895b4454' }), this.h.hasSlot("bottom") && (hAsync("div", { key: '78fcf2aa671f3741f6d38f0519cd8983be5d6082', class: FormControlClass.bottom }, hAsync("slot", { key: '0d25b0c2d06a1f5612c2bf85dc428715e2a8f97a', name: "bottom" }))))));
|
|
4558
4688
|
}
|
|
4559
4689
|
get host() { return getElement(this); }
|
|
4560
4690
|
static get cmpMeta() { return {
|
|
@@ -4735,14 +4865,15 @@ class GovFormFile {
|
|
|
4735
4865
|
this.registerListeners();
|
|
4736
4866
|
}
|
|
4737
4867
|
disconnectedCallback() {
|
|
4738
|
-
|
|
4868
|
+
var _a;
|
|
4869
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
4739
4870
|
}
|
|
4740
4871
|
onAriaAttributeChange(attributeName, newValue) {
|
|
4741
4872
|
this.host.removeAttribute(attributeName);
|
|
4742
4873
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
4743
4874
|
}
|
|
4744
4875
|
render() {
|
|
4745
|
-
return (hAsync(Host, { key: '
|
|
4876
|
+
return (hAsync(Host, { key: '6fe6eb71a8275871bb0aeebae9531d846123ae06', class: this.h.classes([FormFileClass.root]), invalid: toBoolAttrIfDefined(this.invalid), expanded: toBoolAttrIfDefined(this.expanded) }, hAsync("div", { key: 'cd7ab5a0c223214f5d825c8695993e8c64b9ea78', class: FormFileClass.area, ref: el => (this.areaRef = el) }, hAsync("slot", { key: '6197c08c6a50725a261da65069159f75e3e47834' }), hAsync("input", Object.assign({ key: 'f6897d875af8c47268118ef5d7dd9c19cec6e9a1', class: FormFileClass.input, ref: el => (this.inputRef = el), id: this.identifier || this.fileId, type: "file", name: this.name, accept: this.accept, multiple: this.multiple, onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, disabled: this.disabled }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) }))), this.h.hasSlot("attachments") ? (hAsync("div", { class: FormFileClass.attachments }, hAsync("slot", { name: "attachments" }))) : null, this.files.length && this.displayAttachments ? (hAsync("div", { class: FormFileClass.attachments }, hAsync("gov-attachments", { label: this.accessibleAttachmentsLabel, "accessible-label": this.accessibleAttachmentsLabel }, this.files.map(item => (hAsync("gov-attachments-item", { "accessible-remove-labelledby": item.id, "on-gov-remove": () => this.onRemoveFileHandler(item) }, hAsync("span", { class: "sr-only", id: item.id }, this.accessibleRemoveLabel.replace("{FILE_NAME}", item.file.name)), item.file.name, item.acceptValid === false ? (hAsync("gov-form-message", { slot: "message", color: "error" }, hAsync("gov-icon", { slot: "icon", name: "exclamation-triangle-fill", type: "components" }), item.acceptValid === false ? this.errorAccept : null)) : null, item.sizeValid === false ? (hAsync("gov-form-message", { slot: "message", color: "error" }, hAsync("gov-icon", { slot: "icon", name: "exclamation-triangle-fill", type: "components" }), this.errorSize.replace("{FILE_SIZE}", formatBytes(this.maxFileSize)))) : null, hAsync("span", { slot: "info" }, "(", formatBytes(item.file.size), ")"))))))) : null));
|
|
4746
4877
|
}
|
|
4747
4878
|
onRemoveFileHandler(file) {
|
|
4748
4879
|
const index = this.files.findIndex(item => item.id === file.id);
|
|
@@ -4856,7 +4987,7 @@ class GovFormGroup {
|
|
|
4856
4987
|
this.validateOrientation(this.orientation);
|
|
4857
4988
|
}
|
|
4858
4989
|
render() {
|
|
4859
|
-
return (hAsync(Host, { key: '
|
|
4990
|
+
return (hAsync(Host, { key: 'a16a99205899fe2a9e49702708c8f879c363b111', gap: this.gap, class: this.h.classes(FormGroupClass.root) }, hAsync("slot", { key: '871900cb0682f57fa0856d90b38a683a005240dd' })));
|
|
4860
4991
|
}
|
|
4861
4992
|
get host() { return getElement(this); }
|
|
4862
4993
|
static get watchers() { return {
|
|
@@ -4956,15 +5087,16 @@ class GovFormInput {
|
|
|
4956
5087
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
4957
5088
|
}
|
|
4958
5089
|
disconnectedCallback() {
|
|
4959
|
-
|
|
5090
|
+
var _a;
|
|
5091
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
4960
5092
|
}
|
|
4961
5093
|
render() {
|
|
4962
5094
|
const Tag = this.multiline ? Tags$1.TEXTAREA : Tags$1.INPUT;
|
|
4963
|
-
return (hAsync(Host, { key: '
|
|
4964
|
-
hAsync("div", { key: '
|
|
4965
|
-
hAsync("div", { key: '
|
|
4966
|
-
hAsync("gov-icon", { key: '
|
|
4967
|
-
hAsync("gov-icon", { key: '
|
|
5095
|
+
return (hAsync(Host, { key: 'f2b0e3a105b6a3904d59821bc68e13bfa01acea9', class: FormInputClass.root, size: this.size, type: this.type }, this.h.hasSlot("prefix") && hAsync("slot", { key: '13ff8da008e08322cd0eb241600751f8e896416b', name: "prefix" }), hAsync("span", { key: '22c1467190afaf1a2c8e98d0cd4500f123494885', class: "element" }, (this.h.hasSlot("icon-start") && !this.multiline) &&
|
|
5096
|
+
hAsync("div", { key: '1ab85a6556b44fd92959c0311b57028a8e3b8d74', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, hAsync("slot", { key: 'dcc9f5a1da1245bd4eccc0a919b08b73a556efe7', name: "icon-start" })), hAsync(Tag, Object.assign({ key: 'f05f59a1ad7d28acfd005942fdd22e7ba04e2d73', type: this.inputType === 'password' && this.showPassword ? 'text' : this.inputType, disabled: this.disabled, id: this.identifier || this.inputId, name: this.name, onFocus: this.onFocusHandler.bind(this), onInput: this.onInputHandler.bind(this), onBlur: this.onBlurHandler.bind(this), onKeyUp: this.onKeyUpHandler.bind(this), onKeyDown: this.onKeyDownHandler.bind(this), ref: el => (this.inputRef = el), placeholder: this.placeholder, spellcheck: toBoolAttrIfDefined(this.spellcheck), lang: this.inputLang, readonly: toBoolAttrIfDefined(this.readonly), autocomplete: toOnOffAttrIfDefined(this.autocomplete), autocorrect: toOnOffAttrIfDefined(this.autocorrect), minlength: this.minlength, maxlength: this.maxlength, min: this.min, max: this.max, required: this.required, rows: this.rows, cols: this.cols, role: this.role, value: this.value }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) })), ((this.success || this.invalid || this.h.hasSlot("icon-end") || this.inputType === 'password') && !this.multiline) &&
|
|
5097
|
+
hAsync("div", { key: 'ab940283ca797a54590c73881aabe6e4032d4a77', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, this.success && !this.multiline &&
|
|
5098
|
+
hAsync("gov-icon", { key: 'af0b7c6e3c815eb74318052f490db2241f246707', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && !this.multiline &&
|
|
5099
|
+
hAsync("gov-icon", { key: '4feef0479c061b9b073dea6c04e2bc428464a9de', class: "validation-icon", name: "exclamation-lg", type: "components" }), this.h.hasSlot("icon-end") && this.inputType !== 'password' && hAsync("slot", { key: 'fa3f4ac957a08d066706c273b008edef401f0a2b', name: "icon-end" }), this.inputType === 'password' ? (hAsync("gov-button", { color: 'primary', type: 'base', size: this.size, "aria-label": this.showPassword ? this.accessibleHidePasswordLabel : this.accessibleShowPasswordLabel, "on-gov-click": () => this.showPassword = !this.showPassword }, hAsync("gov-icon", { slot: "icon-start", name: "eye", type: "components" }))) : null)), this.h.hasSlot("sufix") && hAsync("slot", { key: 'ce4b50ff45632098c4457339538bac4a5a685df8', name: "sufix" })));
|
|
4968
5100
|
}
|
|
4969
5101
|
onFocusHandler(e) {
|
|
4970
5102
|
e.stopPropagation();
|
|
@@ -5096,7 +5228,7 @@ class GovFormLabel {
|
|
|
5096
5228
|
}
|
|
5097
5229
|
render() {
|
|
5098
5230
|
const Tag = this.legend ? 'legend' : 'label';
|
|
5099
|
-
return (hAsync(Host, { key: '
|
|
5231
|
+
return (hAsync(Host, { key: '5227d00ebe3e8923687d4e8d0f3a74bad0da82b3', class: FormLabelClass.root, size: this.size }, hAsync(Tag, { key: '981d363fdf7435a0b242b9610a7dd68e11d4f05e', class: FormLabelClass.label, htmlFor: this.identifier, onClick: () => this.govClick.emit() }, hAsync("slot", { key: 'bdf282178e200fa69d9f871354786ecbd024fa90' }), this.required ? hAsync("span", { class: "gov-color--error-500" }, "\u00A0*") : null)));
|
|
5100
5232
|
}
|
|
5101
5233
|
static get cmpMeta() { return {
|
|
5102
5234
|
"$flags$": 4,
|
|
@@ -5128,7 +5260,7 @@ class GovFormMessage {
|
|
|
5128
5260
|
this.validateColor(this.color);
|
|
5129
5261
|
}
|
|
5130
5262
|
render() {
|
|
5131
|
-
return (hAsync(Host, { key: '
|
|
5263
|
+
return (hAsync(Host, { key: 'd9acfd066e2f1c0445cfee56131f4717668a25b9', class: this.h.classes(FormMessageClass.root), color: this.color, size: this.size }, this.h.hasSlot('icon') && (hAsync("slot", { key: 'd09fb037cf1b719bf5b23638e5660f60efc045e2', name: "icon" })), hAsync("span", { key: '8168614d9f47c5d48282c9d11c74745a307cddf6', id: this.messageId, class: FormMessageClass.content }, hAsync("slot", { key: '3dbb35561437881e2f58235d9472fb9abe1684b9' }))));
|
|
5132
5264
|
}
|
|
5133
5265
|
/**
|
|
5134
5266
|
* Returns unique identifier of message
|
|
@@ -5207,7 +5339,8 @@ class GovFormMultiSelect {
|
|
|
5207
5339
|
this.selectedOptionsState = propsValueToArray(this.value);
|
|
5208
5340
|
}
|
|
5209
5341
|
disconnectedCallback() {
|
|
5210
|
-
|
|
5342
|
+
var _a;
|
|
5343
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
5211
5344
|
}
|
|
5212
5345
|
onAriaAttributeChange(attributeName, newValue) {
|
|
5213
5346
|
this.host.removeAttribute(attributeName);
|
|
@@ -5317,11 +5450,11 @@ class GovFormMultiSelect {
|
|
|
5317
5450
|
});
|
|
5318
5451
|
}
|
|
5319
5452
|
render() {
|
|
5320
|
-
return (hAsync(Host, { key: '
|
|
5453
|
+
return (hAsync(Host, { key: 'efc41cd22f35a7c326f8321f11c875a6ee6d44fe', class: FormMultiSelectClass.root, size: this.size }, hAsync("div", { key: '229b01f0a9b0cb35e59cda5ce5a78c14309ab1ee', class: FormMultiSelectClass.wrap }, this.h.hasSlot('prefix') && hAsync("slot", { key: '48cefdbe753f57acca0aa5fc74bc7cc6f902e4b7', name: "prefix" }), hAsync("gov-form-autocomplete", { key: 'a4a3e0f0fb0f9e3d9ec0ce8d24b390a169f0749a', value: this.valueState, disabled: this.disabled, identifier: this.identifier || this.selectId, required: false, invalid: this.invalid, success: this.success, size: this.size, placeholder: this.placeholder, "message-empty": this.messageEmpty, "message-loading": this.messageLoading, ref: el => (this.autocompleteRef = el), minlength: 0, "aria-owns": this.listId }, this.success && hAsync("gov-icon", { key: '8a43c6c12f16773956b669b7cd08608d6aeb3bb9', slot: "validation-icon", class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && hAsync("gov-icon", { key: '6eaee1ebf4ac9c337e22b071edf77fbeec012a3c', slot: "validation-icon", class: "validation-icon", name: "exclamation-lg", type: "components" }), hAsync("gov-icon", { key: 'c9f7f2f83f37abdab373bfb2aa43c36ec08dfede', slot: "icon-end", class: "arrow-icon", name: "chevron-down", type: "components" })), hAsync("select", Object.assign({ key: 'd4623e47694c6b28b5e201f083e6d73fa6a331aa', hidden: true, class: 'hidden-select-list', "aria-hidden": toBoolAttr(true), multiple: true, 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) }), hAsync("slot", { key: 'f5e03e3e33a1bb97b00c544765332b67812c5fd5' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
|
|
5321
5454
|
var _a;
|
|
5322
5455
|
const selectedOption = this.selectedValueIndex(option.value);
|
|
5323
5456
|
return (hAsync("option", { value: option.value, selected: selectedOption > -1, disabled: option === null || option === void 0 ? void 0 : option.disabled }, (_a = option.label) !== null && _a !== void 0 ? _a : option.value));
|
|
5324
|
-
})), this.h.hasSlot('sufix') && hAsync("slot", { key: '
|
|
5457
|
+
})), this.h.hasSlot('sufix') && hAsync("slot", { key: 'aa9c37047083aa68a9ccaf8066a62a2eb9a3797f', name: "sufix" })), this.hideSelectedList === false ? (hAsync("ul", { role: "listbox", id: this.listId, class: FormMultiSelectClass.list }, Array.isArray(this.selectedOptionsState) && this.selectedOptionsState.map(selected => {
|
|
5325
5458
|
var _a, _b;
|
|
5326
5459
|
const option = this.getOption(selected);
|
|
5327
5460
|
if (!option)
|
|
@@ -5431,7 +5564,7 @@ class GovFormPasswordPower {
|
|
|
5431
5564
|
this.power = undefined;
|
|
5432
5565
|
}
|
|
5433
5566
|
render() {
|
|
5434
|
-
return (hAsync(Host, { key: '
|
|
5567
|
+
return (hAsync(Host, { key: 'db698558cba39d591c1119a07d6aafd66880a478', class: FormPasswordPowerClass.root }, hAsync("span", { key: '24b61cba713d7ba1d56ea385889f89d40c181b9b', class: FormPasswordPowerClass.bar }, hAsync("span", { key: '01b941d9082565c4673cc5a5f24c083500d216fc' }), hAsync("span", { key: '8c87f443b4571a9a98cbf88c7adaa39b663cda5d' }), hAsync("span", { key: 'ab9d769c365e6c9ed09bca718b5ef226a0e5c456' })), hAsync("span", { key: '5cd85486880615d0732c65bb40b89ccf3b1c381e', class: FormPasswordPowerClass.text }, hAsync("slot", { key: '11fd5c8d7584ac5a129b4f4a64304ceb05aa498f' }))));
|
|
5435
5568
|
}
|
|
5436
5569
|
static get cmpMeta() { return {
|
|
5437
5570
|
"$flags$": 4,
|
|
@@ -5496,7 +5629,8 @@ class GovFormRadio {
|
|
|
5496
5629
|
this.hydrated = true;
|
|
5497
5630
|
}
|
|
5498
5631
|
disconnectedCallback() {
|
|
5499
|
-
|
|
5632
|
+
var _a;
|
|
5633
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
5500
5634
|
}
|
|
5501
5635
|
onAriaAttributeChange(attributeName, newValue) {
|
|
5502
5636
|
this.host.removeAttribute(attributeName);
|
|
@@ -5576,7 +5710,7 @@ class GovFormRadio {
|
|
|
5576
5710
|
}; }
|
|
5577
5711
|
}
|
|
5578
5712
|
|
|
5579
|
-
const govFormGroupCss = "gov-form-group,.gov-form-group,gov-form-radio-group,.gov-form-radio-group,gov-form-checkbox-group,.gov-form-checkbox-group{margin-top:0;margin-bottom:0;position:relative;display:flex;width:100%;flex-direction:column;align-items:flex-start}gov-form-group .gov-form-label__label,.gov-form-group .gov-form-label__label,gov-form-radio-group .gov-form-label__label,.gov-form-radio-group .gov-form-label__label,gov-form-checkbox-group .gov-form-label__label,.gov-form-checkbox-group .gov-form-label__label{margin:0}gov-form-group[orientation=horizontal],.gov-form-group[orientation=horizontal],gov-form-radio-group[orientation=horizontal],.gov-form-radio-group[orientation=horizontal],gov-form-checkbox-group[orientation=horizontal],.gov-form-checkbox-group[orientation=horizontal]{flex-direction:row;flex-wrap:wrap}gov-form-group[orientation=horizontal] .gov-form-label__label,.gov-form-group[orientation=horizontal] .gov-form-label__label,gov-form-radio-group[orientation=horizontal] .gov-form-label__label,.gov-form-radio-group[orientation=horizontal] .gov-form-label__label,gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label,.gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label{white-space:nowrap}gov-form-group[gap=xs],.gov-form-group[gap=xs],gov-form-radio-group[gap=xs],.gov-form-radio-group[gap=xs],gov-form-checkbox-group[gap=xs],.gov-form-checkbox-group[gap=xs]{gap:var(--gap, var(--spacing-xs-nudge))}gov-form-group[gap=s],.gov-form-group[gap=s],gov-form-radio-group[gap=s],.gov-form-radio-group[gap=s],gov-form-checkbox-group[gap=s],.gov-form-checkbox-group[gap=s]{gap:var(--gap, var(--spacing-s))}gov-form-group[gap=m],.gov-form-group[gap=m],gov-form-radio-group[gap=m],.gov-form-radio-group[gap=m],gov-form-checkbox-group[gap=m],.gov-form-checkbox-group[gap=m]{gap:var(--gap, var(--spacing-
|
|
5713
|
+
const govFormGroupCss = "gov-form-group,.gov-form-group,gov-form-radio-group,.gov-form-radio-group,gov-form-checkbox-group,.gov-form-checkbox-group{margin-top:0;margin-bottom:0;position:relative;display:flex;width:100%;flex-direction:column;align-items:flex-start}gov-form-group .gov-form-label__label,.gov-form-group .gov-form-label__label,gov-form-radio-group .gov-form-label__label,.gov-form-radio-group .gov-form-label__label,gov-form-checkbox-group .gov-form-label__label,.gov-form-checkbox-group .gov-form-label__label{margin:0}gov-form-group[orientation=horizontal],.gov-form-group[orientation=horizontal],gov-form-radio-group[orientation=horizontal],.gov-form-radio-group[orientation=horizontal],gov-form-checkbox-group[orientation=horizontal],.gov-form-checkbox-group[orientation=horizontal]{flex-direction:row;flex-wrap:wrap}gov-form-group[orientation=horizontal] .gov-form-label__label,.gov-form-group[orientation=horizontal] .gov-form-label__label,gov-form-radio-group[orientation=horizontal] .gov-form-label__label,.gov-form-radio-group[orientation=horizontal] .gov-form-label__label,gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label,.gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label{white-space:nowrap}gov-form-group[gap=xs],.gov-form-group[gap=xs],gov-form-radio-group[gap=xs],.gov-form-radio-group[gap=xs],gov-form-checkbox-group[gap=xs],.gov-form-checkbox-group[gap=xs]{gap:var(--gap, var(--spacing-xs-nudge))}gov-form-group[gap=s],.gov-form-group[gap=s],gov-form-radio-group[gap=s],.gov-form-radio-group[gap=s],gov-form-checkbox-group[gap=s],.gov-form-checkbox-group[gap=s]{gap:var(--gap, var(--spacing-s))}gov-form-group[gap=m],.gov-form-group[gap=m],gov-form-radio-group[gap=m],.gov-form-radio-group[gap=m],gov-form-checkbox-group[gap=m],.gov-form-checkbox-group[gap=m]{gap:var(--gap, var(--spacing-m))}gov-form-group[gap=l],.gov-form-group[gap=l],gov-form-radio-group[gap=l],.gov-form-radio-group[gap=l],gov-form-checkbox-group[gap=l],.gov-form-checkbox-group[gap=l]{gap:var(--gap, var(--spacing-l))}gov-form-group[gap=xl],.gov-form-group[gap=xl],gov-form-radio-group[gap=xl],.gov-form-radio-group[gap=xl],gov-form-checkbox-group[gap=xl],.gov-form-checkbox-group[gap=xl]{gap:var(--gap, var(--spacing-xl))}";
|
|
5580
5714
|
var GovFormRadioGroupStyle0 = govFormGroupCss;
|
|
5581
5715
|
|
|
5582
5716
|
class GovFormRadioGroup {
|
|
@@ -5623,7 +5757,7 @@ class GovFormRadioGroup {
|
|
|
5623
5757
|
});
|
|
5624
5758
|
}
|
|
5625
5759
|
render() {
|
|
5626
|
-
return (hAsync(Host, { key: '
|
|
5760
|
+
return (hAsync(Host, { key: '332ec3c5c0582167e5543304daa8508cc354ecc5', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, hAsync("slot", { key: '7bfbcec04a7f39226709c9546dbd0f121678d075' })));
|
|
5627
5761
|
}
|
|
5628
5762
|
get host() { return getElement(this); }
|
|
5629
5763
|
static get watchers() { return {
|
|
@@ -5645,6 +5779,217 @@ class GovFormRadioGroup {
|
|
|
5645
5779
|
}; }
|
|
5646
5780
|
}
|
|
5647
5781
|
|
|
5782
|
+
const FormRangeSizes = pick(Sizes, ['_S', '_M', '_L']);
|
|
5783
|
+
const FormRangeClass = {
|
|
5784
|
+
root: 'gov-form-range',
|
|
5785
|
+
fill: 'gov-form-range--fill',
|
|
5786
|
+
input: 'gov-form-range--input',
|
|
5787
|
+
};
|
|
5788
|
+
|
|
5789
|
+
class GovFormRange {
|
|
5790
|
+
constructor(hostRef) {
|
|
5791
|
+
registerInstance(this, hostRef);
|
|
5792
|
+
this.govFocus = createEvent(this, "gov-focus", 7);
|
|
5793
|
+
this.govBlur = createEvent(this, "gov-blur", 7);
|
|
5794
|
+
this.govInput = createEvent(this, "gov-input", 7);
|
|
5795
|
+
this.size = "m";
|
|
5796
|
+
this.value = undefined;
|
|
5797
|
+
this.identifier = undefined;
|
|
5798
|
+
this.name = undefined;
|
|
5799
|
+
this.min = undefined;
|
|
5800
|
+
this.max = undefined;
|
|
5801
|
+
this.step = undefined;
|
|
5802
|
+
this.tooltip = false;
|
|
5803
|
+
this.input = false;
|
|
5804
|
+
this.listIdentifier = undefined;
|
|
5805
|
+
this.required = false;
|
|
5806
|
+
this.success = undefined;
|
|
5807
|
+
this.invalid = undefined;
|
|
5808
|
+
this.disabled = false;
|
|
5809
|
+
this.inheritedAttributes = {};
|
|
5810
|
+
this.h = govHost(this.host);
|
|
5811
|
+
this.f = govForm(this.h);
|
|
5812
|
+
this.inputId = createID("GovInput");
|
|
5813
|
+
}
|
|
5814
|
+
validateSize(newValue) {
|
|
5815
|
+
validateProp(FormRangeSizes, newValue, FormRangeClass.root);
|
|
5816
|
+
}
|
|
5817
|
+
watchValue() {
|
|
5818
|
+
this.controlOutputPosition();
|
|
5819
|
+
}
|
|
5820
|
+
watchControlAttrs() {
|
|
5821
|
+
this.passControlAttrs();
|
|
5822
|
+
}
|
|
5823
|
+
passControlAttrs() {
|
|
5824
|
+
this.f.passAttrToControl("size", this.size);
|
|
5825
|
+
this.f.passAttrToControl("success", toBoolAttr(this.success));
|
|
5826
|
+
this.f.passAttrToControl("disabled", toBoolAttr(this.disabled));
|
|
5827
|
+
this.f.passAttrToControl("invalid", toBoolAttr(this.invalid));
|
|
5828
|
+
}
|
|
5829
|
+
get getThumbWidth() {
|
|
5830
|
+
const styles = window.getComputedStyle(this.inputRef);
|
|
5831
|
+
return parseFloat(styles.getPropertyValue('--thumb-size')) || 1;
|
|
5832
|
+
}
|
|
5833
|
+
controlOutputPosition() {
|
|
5834
|
+
const valueInt = +this.value;
|
|
5835
|
+
const min = +this.inputRef.min;
|
|
5836
|
+
const max = +this.inputRef.max;
|
|
5837
|
+
const thumbWidth = (this.getThumbWidth * 16);
|
|
5838
|
+
const rangeWidth = this.inputRef.offsetWidth;
|
|
5839
|
+
const percentage = ((valueInt - min) / (max - min)) * 100;
|
|
5840
|
+
let tooltipOffset = ((percentage / 100) * (rangeWidth - thumbWidth)) + (thumbWidth / 2);
|
|
5841
|
+
if (this.outputRef) {
|
|
5842
|
+
this.outputRef.textContent = this.value;
|
|
5843
|
+
const outputWidth = this.outputRef.offsetWidth / 2;
|
|
5844
|
+
this.outputRef.style.left = `${tooltipOffset - outputWidth}px`;
|
|
5845
|
+
}
|
|
5846
|
+
if (this.fillRef) {
|
|
5847
|
+
this.fillRef.style.width = `${tooltipOffset}px`;
|
|
5848
|
+
}
|
|
5849
|
+
}
|
|
5850
|
+
componentDidLoad() {
|
|
5851
|
+
this.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {
|
|
5852
|
+
this.onAriaAttributeChange(attributeName, newValue);
|
|
5853
|
+
});
|
|
5854
|
+
this.attributeObserver.startObserving(ariaAttributes);
|
|
5855
|
+
}
|
|
5856
|
+
componentWillLoad() {
|
|
5857
|
+
this.validateSize(this.size);
|
|
5858
|
+
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
5859
|
+
}
|
|
5860
|
+
componentDidRender() {
|
|
5861
|
+
this.passControlAttrs();
|
|
5862
|
+
this.f.passAttrToLabel("required", String(this.required));
|
|
5863
|
+
tick(this.controlOutputPosition.bind(this));
|
|
5864
|
+
}
|
|
5865
|
+
onAriaAttributeChange(attributeName, newValue) {
|
|
5866
|
+
this.host.removeAttribute(attributeName);
|
|
5867
|
+
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
5868
|
+
}
|
|
5869
|
+
disconnectedCallback() {
|
|
5870
|
+
var _a;
|
|
5871
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
5872
|
+
}
|
|
5873
|
+
render() {
|
|
5874
|
+
return (hAsync(Host, { key: '87236e8cdb0534dbefc72286517c353d41860260', class: FormRangeClass.root, size: this.size }, this.h.hasSlot("prefix") && hAsync("slot", { key: '83f2b5ff50d7638d1e13de9e0f4774d747a8e374', name: "prefix" }), hAsync("span", { key: '7cef4eac6144ee71dd6b3ffcdc2e992f33f97740', class: "element" }, hAsync("input", Object.assign({ key: '1c2fda25454dc11bdfab17065f07bb38959a2941', type: "range", ref: el => (this.inputRef = el), onInput: this.onInputHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), id: this.identifier || this.inputId, name: this.name, min: this.min, max: this.max, step: this.step, list: this.listIdentifier, value: this.value, required: this.required, disabled: this.disabled }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) })), hAsync("div", { key: 'bdece1cc0cad1614eb090e9183d9dd96389b7568', class: FormRangeClass.fill, ref: el => (this.fillRef = el) }), this.tooltip ?
|
|
5875
|
+
hAsync("output", { htmlFor: this.name, ref: el => (this.outputRef = el) }, this.value)
|
|
5876
|
+
: null, hAsync("slot", { key: '4e346163e119d7508942a31bc35b28acd807bdb3', name: "datalist" })), this.h.hasSlot("sufix") && hAsync("slot", { key: '3faaf9ba94069c9a7f3a147e9a6ecfec7a38edc7', name: "sufix" }), this.input ?
|
|
5877
|
+
hAsync("gov-form-input", Object.assign({ "on-gov-input": this.onCustomInputHandler.bind(this), class: FormRangeClass.input, size: this.size, value: this.value, disabled: this.disabled }, this.inheritedAttributes))
|
|
5878
|
+
: null));
|
|
5879
|
+
}
|
|
5880
|
+
onCustomInputHandler(e) {
|
|
5881
|
+
const value = e.target.value;
|
|
5882
|
+
if (this.step && isNumber(+this.step)) {
|
|
5883
|
+
const numValue = +value;
|
|
5884
|
+
const numMin = +this.min;
|
|
5885
|
+
const numMax = +this.max;
|
|
5886
|
+
const numStep = +this.step;
|
|
5887
|
+
if (isNaN(numValue)) {
|
|
5888
|
+
return false;
|
|
5889
|
+
}
|
|
5890
|
+
if (numValue < numMin || numValue > numMax) {
|
|
5891
|
+
return false;
|
|
5892
|
+
}
|
|
5893
|
+
const diff = numValue - numMin;
|
|
5894
|
+
if (diff % numStep !== 0) {
|
|
5895
|
+
return false;
|
|
5896
|
+
}
|
|
5897
|
+
this.value = value;
|
|
5898
|
+
this.govInput.emit({
|
|
5899
|
+
component: FormRangeClass.root,
|
|
5900
|
+
value: this.value,
|
|
5901
|
+
originalEvent: e,
|
|
5902
|
+
});
|
|
5903
|
+
}
|
|
5904
|
+
}
|
|
5905
|
+
onInputHandler(e) {
|
|
5906
|
+
this.value = e.target.value;
|
|
5907
|
+
e.stopPropagation();
|
|
5908
|
+
this.govInput.emit({
|
|
5909
|
+
component: FormRangeClass.root,
|
|
5910
|
+
value: this.value,
|
|
5911
|
+
originalEvent: e,
|
|
5912
|
+
});
|
|
5913
|
+
}
|
|
5914
|
+
onFocusHandler(e) {
|
|
5915
|
+
e.stopPropagation();
|
|
5916
|
+
this.govFocus.emit({
|
|
5917
|
+
component: FormRangeClass.root,
|
|
5918
|
+
value: this.value,
|
|
5919
|
+
originalEvent: e,
|
|
5920
|
+
});
|
|
5921
|
+
}
|
|
5922
|
+
onBlurHandler(e) {
|
|
5923
|
+
e.stopPropagation();
|
|
5924
|
+
this.govBlur.emit({
|
|
5925
|
+
component: FormRangeClass.root,
|
|
5926
|
+
value: this.value,
|
|
5927
|
+
originalEvent: e,
|
|
5928
|
+
});
|
|
5929
|
+
}
|
|
5930
|
+
/**
|
|
5931
|
+
* Returns the current state of the component
|
|
5932
|
+
*/
|
|
5933
|
+
async setFocus(options) {
|
|
5934
|
+
return this.inputRef.focus(options);
|
|
5935
|
+
}
|
|
5936
|
+
/**
|
|
5937
|
+
* Sets the ordered value of the element
|
|
5938
|
+
*/
|
|
5939
|
+
async setValue(value) {
|
|
5940
|
+
this.value = value;
|
|
5941
|
+
}
|
|
5942
|
+
/**
|
|
5943
|
+
* Clears input value
|
|
5944
|
+
*/
|
|
5945
|
+
async clearValue() {
|
|
5946
|
+
this.value = "";
|
|
5947
|
+
this.inputRef.value = "";
|
|
5948
|
+
}
|
|
5949
|
+
/**
|
|
5950
|
+
* Returns an instance of the native html input element
|
|
5951
|
+
*/
|
|
5952
|
+
async getRef() {
|
|
5953
|
+
return this.inputRef;
|
|
5954
|
+
}
|
|
5955
|
+
get host() { return getElement(this); }
|
|
5956
|
+
static get watchers() { return {
|
|
5957
|
+
"size": ["validateSize", "watchControlAttrs"],
|
|
5958
|
+
"value": ["watchValue"],
|
|
5959
|
+
"disabled": ["watchControlAttrs"],
|
|
5960
|
+
"invalid": ["watchControlAttrs"],
|
|
5961
|
+
"success": ["watchControlAttrs"]
|
|
5962
|
+
}; }
|
|
5963
|
+
static get cmpMeta() { return {
|
|
5964
|
+
"$flags$": 4,
|
|
5965
|
+
"$tagName$": "gov-form-range",
|
|
5966
|
+
"$members$": {
|
|
5967
|
+
"size": [1],
|
|
5968
|
+
"value": [1537],
|
|
5969
|
+
"identifier": [1],
|
|
5970
|
+
"name": [1],
|
|
5971
|
+
"min": [8],
|
|
5972
|
+
"max": [8],
|
|
5973
|
+
"step": [8],
|
|
5974
|
+
"tooltip": [4],
|
|
5975
|
+
"input": [4],
|
|
5976
|
+
"listIdentifier": [1, "list-identifier"],
|
|
5977
|
+
"required": [516],
|
|
5978
|
+
"success": [516],
|
|
5979
|
+
"invalid": [516],
|
|
5980
|
+
"disabled": [516],
|
|
5981
|
+
"inheritedAttributes": [32],
|
|
5982
|
+
"setFocus": [64],
|
|
5983
|
+
"setValue": [64],
|
|
5984
|
+
"clearValue": [64],
|
|
5985
|
+
"getRef": [64]
|
|
5986
|
+
},
|
|
5987
|
+
"$listeners$": undefined,
|
|
5988
|
+
"$lazyBundleId$": "-",
|
|
5989
|
+
"$attrsToReflect$": [["value", "value"], ["required", "required"], ["success", "success"], ["invalid", "invalid"], ["disabled", "disabled"]]
|
|
5990
|
+
}; }
|
|
5991
|
+
}
|
|
5992
|
+
|
|
5648
5993
|
pick(Sizes, ['_S', '_M', '_L']);
|
|
5649
5994
|
pick(Colors, ['PRIMARY', 'NEUTRAL']);
|
|
5650
5995
|
const FormSearchClass = {
|
|
@@ -5658,7 +6003,7 @@ class GovFormSearch {
|
|
|
5658
6003
|
this.color = 'neutral';
|
|
5659
6004
|
}
|
|
5660
6005
|
render() {
|
|
5661
|
-
return (hAsync(Host, { key: '
|
|
6006
|
+
return (hAsync(Host, { key: 'aac69369eafa76eee7e1117601008ac8d34b5417', class: FormSearchClass.root, color: this.color, size: this.size }, hAsync("slot", { key: '7f20815a61d662cbfde7f85f40e45277c5494315', name: "input" }), hAsync("slot", { key: 'd2db24dda8aad0577f8d84ea39377df3dd1b9b19', name: "button-erase" }), hAsync("slot", { key: 'd7f38530eb623e1f230e0ec42db0a68f775eec8e', name: "button" })));
|
|
5662
6007
|
}
|
|
5663
6008
|
get host() { return getElement(this); }
|
|
5664
6009
|
static get cmpMeta() { return {
|
|
@@ -5722,7 +6067,8 @@ class GovFormSelect {
|
|
|
5722
6067
|
this.attributeObserver.startObserving(ariaAttributes);
|
|
5723
6068
|
}
|
|
5724
6069
|
disconnectedCallback() {
|
|
5725
|
-
|
|
6070
|
+
var _a;
|
|
6071
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
5726
6072
|
}
|
|
5727
6073
|
componentWillLoad() {
|
|
5728
6074
|
this.validateSize(this.size);
|
|
@@ -5750,10 +6096,10 @@ class GovFormSelect {
|
|
|
5750
6096
|
});
|
|
5751
6097
|
}
|
|
5752
6098
|
render() {
|
|
5753
|
-
return (hAsync(Host, { key: '
|
|
6099
|
+
return (hAsync(Host, { key: 'ece22604354a3bc7b27aebb52b767e720c470fb2', class: FormSelectClass.root, size: this.size }, this.h.hasSlot('prefix') && hAsync("slot", { key: 'fdff42c0ad6111e691b8246a8cbe3d77cbb9ab94', name: "prefix" }), hAsync("span", { key: '726341bdd8a76bb6dde8af330505d97273007bb3', class: "element" }, hAsync("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) }), hAsync("slot", { key: '8a81f952601ac949f68047eca18cd7aab61f5ffa' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
|
|
5754
6100
|
var _a;
|
|
5755
6101
|
return (hAsync("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));
|
|
5756
|
-
})), this.success && hAsync("gov-icon", { key: '
|
|
6102
|
+
})), this.success && hAsync("gov-icon", { key: '4567f0e75b9f9b9eba7a2a624107699ee531c580', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && hAsync("gov-icon", { key: '818e5fe59f78b86280abdf117cb9b786e9ac103a', class: "validation-icon", name: "exclamation-lg", type: "components" }), hAsync("gov-icon", { key: '9705a3e034da03543a074eb206224f3e63236b7c', class: "arrow-icon", name: "chevron-down", type: "components" })), this.h.hasSlot('sufix') && hAsync("slot", { key: 'dd8fcce83d933ce39a8195d288472d013f708870', name: "sufix" })));
|
|
5757
6103
|
}
|
|
5758
6104
|
onFocusHandler(e) {
|
|
5759
6105
|
this.focused = true;
|
|
@@ -5870,7 +6216,8 @@ class GovFormSwitch {
|
|
|
5870
6216
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
5871
6217
|
}
|
|
5872
6218
|
disconnectedCallback() {
|
|
5873
|
-
|
|
6219
|
+
var _a;
|
|
6220
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
5874
6221
|
}
|
|
5875
6222
|
async componentDidRender() {
|
|
5876
6223
|
this.f.passAttrToLabel("identifier", this.identifier || this.checkboxId);
|
|
@@ -5968,51 +6315,64 @@ const GridItemClass = {
|
|
|
5968
6315
|
class GovGrid {
|
|
5969
6316
|
constructor(hostRef) {
|
|
5970
6317
|
registerInstance(this, hostRef);
|
|
5971
|
-
this.
|
|
5972
|
-
this.
|
|
6318
|
+
this.columns = "12";
|
|
6319
|
+
this.alignItems = undefined;
|
|
6320
|
+
this.justifyItems = undefined;
|
|
6321
|
+
this.gap = undefined;
|
|
5973
6322
|
this.h = govHost(this.host);
|
|
5974
6323
|
}
|
|
5975
|
-
// vertical / horizontal align
|
|
5976
6324
|
render() {
|
|
5977
|
-
return (hAsync(Host, { key: '
|
|
6325
|
+
return (hAsync(Host, { key: 'e5ca7f6e3554f0e3bd52731a81c3ae4cc809a8dd', class: this.h.classes(GridClass.root), role: "list" }, hAsync("slot", { key: 'e99880d69919891b5b22c0eab933069fbcb4852c' })));
|
|
5978
6326
|
}
|
|
5979
6327
|
get host() { return getElement(this); }
|
|
5980
6328
|
static get cmpMeta() { return {
|
|
5981
6329
|
"$flags$": 4,
|
|
5982
6330
|
"$tagName$": "gov-grid",
|
|
5983
6331
|
"$members$": {
|
|
5984
|
-
"
|
|
5985
|
-
"
|
|
6332
|
+
"columns": [513],
|
|
6333
|
+
"alignItems": [513, "align-items"],
|
|
6334
|
+
"justifyItems": [513, "justify-items"],
|
|
6335
|
+
"gap": [513]
|
|
5986
6336
|
},
|
|
5987
6337
|
"$listeners$": undefined,
|
|
5988
6338
|
"$lazyBundleId$": "-",
|
|
5989
|
-
"$attrsToReflect$": []
|
|
6339
|
+
"$attrsToReflect$": [["columns", "columns"], ["alignItems", "align-items"], ["justifyItems", "justify-items"], ["gap", "gap"]]
|
|
5990
6340
|
}; }
|
|
5991
6341
|
}
|
|
5992
6342
|
|
|
5993
6343
|
class GovGridItem {
|
|
5994
6344
|
constructor(hostRef) {
|
|
5995
6345
|
registerInstance(this, hostRef);
|
|
5996
|
-
this.
|
|
5997
|
-
this.
|
|
5998
|
-
this.
|
|
5999
|
-
this.
|
|
6000
|
-
this.
|
|
6346
|
+
this.column = "12";
|
|
6347
|
+
this.columnSm = undefined;
|
|
6348
|
+
this.columnMd = undefined;
|
|
6349
|
+
this.columnLg = undefined;
|
|
6350
|
+
this.columnXl = undefined;
|
|
6351
|
+
this.row = "1";
|
|
6352
|
+
this.rowSm = undefined;
|
|
6353
|
+
this.rowMd = undefined;
|
|
6354
|
+
this.rowLg = undefined;
|
|
6355
|
+
this.rowXl = undefined;
|
|
6001
6356
|
this.h = govHost(this.host);
|
|
6002
6357
|
}
|
|
6003
6358
|
render() {
|
|
6004
|
-
return (hAsync(Host, { key: '
|
|
6359
|
+
return (hAsync(Host, { key: '30f35aa2a7d4c2456164b6f0001a915796a07b9c', class: this.h.classes(GridItemClass.root), role: "listitem" }, hAsync("slot", { key: '25e3d4f401f56697a3f90abd01b9add8fa1d238b' })));
|
|
6005
6360
|
}
|
|
6006
6361
|
get host() { return getElement(this); }
|
|
6007
6362
|
static get cmpMeta() { return {
|
|
6008
6363
|
"$flags$": 4,
|
|
6009
6364
|
"$tagName$": "gov-grid-item",
|
|
6010
6365
|
"$members$": {
|
|
6011
|
-
"
|
|
6012
|
-
"
|
|
6013
|
-
"
|
|
6014
|
-
"
|
|
6015
|
-
"
|
|
6366
|
+
"column": [1, "col-span"],
|
|
6367
|
+
"columnSm": [1, "col-span-sm"],
|
|
6368
|
+
"columnMd": [1, "col-span-md"],
|
|
6369
|
+
"columnLg": [1, "col-span-lg"],
|
|
6370
|
+
"columnXl": [1, "col-span-xl"],
|
|
6371
|
+
"row": [1, "row-span"],
|
|
6372
|
+
"rowSm": [1, "row-span-sm"],
|
|
6373
|
+
"rowMd": [1, "row-span-md"],
|
|
6374
|
+
"rowLg": [1, "row-span-lg"],
|
|
6375
|
+
"rowXl": [1, "row-span-xl"]
|
|
6016
6376
|
},
|
|
6017
6377
|
"$listeners$": undefined,
|
|
6018
6378
|
"$lazyBundleId$": "-",
|
|
@@ -6044,7 +6404,7 @@ const IconClass = {
|
|
|
6044
6404
|
holder: 'gov-icon__holder',
|
|
6045
6405
|
};
|
|
6046
6406
|
|
|
6047
|
-
const version = "4.1
|
|
6407
|
+
const version = "4.2.1";
|
|
6048
6408
|
|
|
6049
6409
|
const dsVersion = () => {
|
|
6050
6410
|
return version;
|
|
@@ -6183,8 +6543,6 @@ class GovIcon {
|
|
|
6183
6543
|
this.host.innerHTML = isValid ? data : null;
|
|
6184
6544
|
}
|
|
6185
6545
|
catch (e) {
|
|
6186
|
-
console.log(e);
|
|
6187
|
-
console.log(JSON.stringify(e));
|
|
6188
6546
|
this.host.innerHTML = '';
|
|
6189
6547
|
this.error = true;
|
|
6190
6548
|
}
|
|
@@ -6261,15 +6619,16 @@ class GovInfobar {
|
|
|
6261
6619
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
6262
6620
|
}
|
|
6263
6621
|
disconnectedCallback() {
|
|
6264
|
-
|
|
6622
|
+
var _a;
|
|
6623
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
6265
6624
|
}
|
|
6266
6625
|
onAriaAttributeChange(attributeName, newValue) {
|
|
6267
6626
|
this.host.removeAttribute(attributeName);
|
|
6268
6627
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
6269
6628
|
}
|
|
6270
6629
|
render() {
|
|
6271
|
-
const closeButton = (hAsync("gov-button", { key: '
|
|
6272
|
-
return (hAsync(Host, { key: '
|
|
6630
|
+
const closeButton = (hAsync("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 }, hAsync("gov-icon", { key: 'c85cebe33a0b06adc79c0adb97d9cabe3d648651', name: "x-lg", type: "components" })));
|
|
6631
|
+
return (hAsync(Host, { key: '82fe497b7f6d4f3aba3bcad0295bb626587952c1', class: this.h.classes(InfobarClass.root), color: this.color, type: this.type }, hAsync("section", Object.assign({ key: 'd2b1a013623206d9662c252f189a5b9edeff009d', class: InfobarClass.section }, this.inheritedAttributes, { role: this.role }), this.h.hasSlot("icon") && (hAsync("span", { key: '18efd7eecd6eeb683ba2982f9abb2cfc09e90dab' }, hAsync("slot", { key: 'cc093214b7fd417c1baec6918e5613f843a7bb55', name: "icon" }))), hAsync("div", { key: '07d2db35c654390b08318273dbd76456b75ae5e4', class: InfobarClass.content }, this.h.hasSlot('headline') ? (hAsync(Fragment, null, hAsync("div", { class: InfobarClass.headline }, hAsync("slot", { name: "headline" }), hAsync("gov-button", { size: "s", type: "base", color: this.isBold ? this.color : "neutral", "aria-label": this.accessibleToggleLabel, "on-gov-click": () => (this.toggleContent = !this.toggleContent) }, hAsync("gov-icon", { name: this.toggleContent ? 'chevron-up' : 'chevron-down', type: "components" }))), hAsync("div", { hidden: !this.toggleContent, "aria-hidden": toBoolAttr(this.toggleContent) }, hAsync("slot", null)))) : (hAsync("slot", null))), this.closable && closeButton)));
|
|
6273
6632
|
}
|
|
6274
6633
|
onCloseHandler(e) {
|
|
6275
6634
|
this.govClose.emit({
|
|
@@ -6338,7 +6697,7 @@ class GovLayout {
|
|
|
6338
6697
|
return originalClass + ' ' + originalClass + isType + isVariant + isInverse;
|
|
6339
6698
|
}
|
|
6340
6699
|
render() {
|
|
6341
|
-
return (hAsync(Host, { key: '
|
|
6700
|
+
return (hAsync(Host, { key: 'f22ec016a02ac1c97f570f167ac14fbcd1a82f21', type: this.type, class: this.h.classes(LayoutClass.root) }, hAsync("section", { key: 'b6e46bbe21ac021b63f6afa1f96f2195afd9d456', class: this.typeClass(LayoutClass.section, this.type, this.variant, this.inverse) }, hAsync("slot", { key: '789e8b9c425651966356c485a140dfa7fd549e50' }))));
|
|
6342
6701
|
}
|
|
6343
6702
|
get host() { return getElement(this); }
|
|
6344
6703
|
static get cmpMeta() { return {
|
|
@@ -6361,7 +6720,7 @@ class GovLayoutColumn {
|
|
|
6361
6720
|
this.h = govHost(this.host);
|
|
6362
6721
|
}
|
|
6363
6722
|
render() {
|
|
6364
|
-
return (hAsync(Host, { key: '
|
|
6723
|
+
return (hAsync(Host, { key: '48f578ba8365e6f3748a4ac6766784a4062846e1', class: this.h.classes(LayoutColumnClass.root) }, hAsync("slot", { key: 'd5aca194eda1174fa71401f66d17743d1f260a50' })));
|
|
6365
6724
|
}
|
|
6366
6725
|
get host() { return getElement(this); }
|
|
6367
6726
|
static get cmpMeta() { return {
|
|
@@ -6407,7 +6766,7 @@ class GovLifecycle {
|
|
|
6407
6766
|
console.log('componentDidUpdate', this.uniqueId);
|
|
6408
6767
|
}
|
|
6409
6768
|
render() {
|
|
6410
|
-
return (hAsync(Host, { key: '
|
|
6769
|
+
return (hAsync(Host, { key: '8c519b9d20ae1a95fc4ac207fe447916219deaf4', identifier: this.uniqueId }, hAsync("span", { key: 'd034bb091344d475bbb1a420d35e88dd1291ba45' }, "lifecycle ", this.uniqueId)));
|
|
6411
6770
|
}
|
|
6412
6771
|
static get cmpMeta() { return {
|
|
6413
6772
|
"$flags$": 0,
|
|
@@ -6422,6 +6781,7 @@ class GovLifecycle {
|
|
|
6422
6781
|
const LinkSizes = pick(Sizes, ['_S', '_M', '_L']);
|
|
6423
6782
|
const LinkClass = {
|
|
6424
6783
|
root: 'gov-link',
|
|
6784
|
+
external: 'gov-link--external',
|
|
6425
6785
|
};
|
|
6426
6786
|
|
|
6427
6787
|
class GovLink {
|
|
@@ -6429,6 +6789,7 @@ class GovLink {
|
|
|
6429
6789
|
registerInstance(this, hostRef);
|
|
6430
6790
|
this.size = 'm';
|
|
6431
6791
|
this.external = false;
|
|
6792
|
+
this.truncate = false;
|
|
6432
6793
|
this.href = undefined;
|
|
6433
6794
|
this.target = undefined;
|
|
6434
6795
|
this.inheritedAttributes = {};
|
|
@@ -6446,7 +6807,7 @@ class GovLink {
|
|
|
6446
6807
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
6447
6808
|
}
|
|
6448
6809
|
render() {
|
|
6449
|
-
return (hAsync(Host, { key: '
|
|
6810
|
+
return (hAsync(Host, { key: '1e7fe110dd7ffc47364765cd01d17adf78db675c', class: this.h.classes(LinkClass.root), size: this.size, href: this.href, external: this.external, truncate: this.truncate }, hAsync("a", Object.assign({ key: '4a9148c0adfd79bc7cb0953768929b702530c298', class: "element", href: this.href, target: this.external ? '_blank' : this.target, rel: this.external ? "noreferrer" : null }, this.inheritedAttributes), hAsync("slot", { key: 'ca80033f0525c11e0f16bb9cb93c746816144e54', name: "icon-start" }), hAsync("span", { key: '0338222112b926d141ff42538489d7d019997560' }, hAsync("slot", { key: 'a492aed90aed29892e4522f602858d8a84c5f010' })), hAsync("slot", { key: 'f9f60c054849df9980b26ca09804218476d3b4ed', name: "icon-end" }), this.external && hAsync("gov-icon", { key: 'fbe4cd9d42ae1bcc1f3666271f49ee96ff49d112', name: "box-arrow-up-right", type: "components", size: this.size, class: LinkClass.external }))));
|
|
6450
6811
|
}
|
|
6451
6812
|
get host() { return getElement(this); }
|
|
6452
6813
|
static get watchers() { return {
|
|
@@ -6458,6 +6819,7 @@ class GovLink {
|
|
|
6458
6819
|
"$members$": {
|
|
6459
6820
|
"size": [1],
|
|
6460
6821
|
"external": [4],
|
|
6822
|
+
"truncate": [4],
|
|
6461
6823
|
"href": [1],
|
|
6462
6824
|
"target": [1],
|
|
6463
6825
|
"inheritedAttributes": [32]
|
|
@@ -6488,7 +6850,7 @@ class GovLoading {
|
|
|
6488
6850
|
this.validateSize(this.size);
|
|
6489
6851
|
}
|
|
6490
6852
|
render() {
|
|
6491
|
-
return (hAsync(Host, { key: '
|
|
6853
|
+
return (hAsync(Host, { key: '84c4d73523ef359fc224441d2b3ee700b9d563b3', class: this.h.classes(LoadingClass.root), size: this.size }, hAsync("div", { key: 'e8e9bda9cb6d86fdec2022b8a9b3fba9f5ee423a', class: LoadingClass.content }, hAsync("gov-icon", { key: '7adafe593b0c37da48dc3da5eb43bc25c504e9a4', class: prepareClasses([LoadingClass.icon, "gov-spin-animation"]), name: "loader", type: "components" }), hAsync("slot", { key: 'e4b8461f84f519b70eea2a1bb10cf86e9e3d14ca' })), hAsync("gov-backdrop", { key: '0c044675ab012d028dcc7772c2ad0dfb0aa08de2', inverse: true })));
|
|
6492
6854
|
}
|
|
6493
6855
|
get host() { return getElement(this); }
|
|
6494
6856
|
static get watchers() { return {
|
|
@@ -6528,7 +6890,7 @@ class GovMessage {
|
|
|
6528
6890
|
validateProp(Colors, newValue, MessageClass.root);
|
|
6529
6891
|
}
|
|
6530
6892
|
render() {
|
|
6531
|
-
return (hAsync(Host, { key: '
|
|
6893
|
+
return (hAsync(Host, { key: '6cdca867db0d3576076bba0518cbfc844762aa9e', class: this.h.classes(MessageClass.root), color: this.color, type: this.type, role: "status" }, this.h.hasSlot("icon") && (hAsync("span", { key: 'b28876f005e857aaddaf2afb6372745978abb926' }, hAsync("slot", { key: 'b88920a480dfdd18ddcdcc013ff36a81d6de1707', name: "icon" }))), hAsync("div", { key: 'ad9e4ef4894877d53f0b7c598035c0c35e317054', class: MessageClass.content }, hAsync("slot", { key: '78f8e1a9ee32eddaeb7b78e029476a525975ee6d' }))));
|
|
6532
6894
|
}
|
|
6533
6895
|
get host() { return getElement(this); }
|
|
6534
6896
|
static get watchers() { return {
|
|
@@ -6670,7 +7032,8 @@ class GovPagination {
|
|
|
6670
7032
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
6671
7033
|
}
|
|
6672
7034
|
disconnectedCallback() {
|
|
6673
|
-
|
|
7035
|
+
var _a;
|
|
7036
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
6674
7037
|
}
|
|
6675
7038
|
onAriaAttributeChange(attributeName, newValue) {
|
|
6676
7039
|
this.host.removeAttribute(attributeName);
|
|
@@ -6829,7 +7192,8 @@ class GovSkeleton {
|
|
|
6829
7192
|
this.init();
|
|
6830
7193
|
}
|
|
6831
7194
|
disconnectedCallback() {
|
|
6832
|
-
|
|
7195
|
+
var _a;
|
|
7196
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
6833
7197
|
}
|
|
6834
7198
|
onAriaAttributeChange(attributeName, newValue) {
|
|
6835
7199
|
this.host.removeAttribute(attributeName);
|
|
@@ -6852,7 +7216,7 @@ class GovSkeleton {
|
|
|
6852
7216
|
return Object.assign({}, dimenssionsStyles);
|
|
6853
7217
|
}
|
|
6854
7218
|
render() {
|
|
6855
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
7219
|
+
return (hAsync(Host, Object.assign({ key: 'fa43a5bc92210a51bb681449542c6f5c2863e3ad', size: this.size, color: this.color, class: {
|
|
6856
7220
|
[SkeletonClass.root]: true,
|
|
6857
7221
|
circle: this.shape === "circle",
|
|
6858
7222
|
line: this.shape === "line",
|
|
@@ -6915,7 +7279,7 @@ class GovSpacer {
|
|
|
6915
7279
|
this.validateBreakpoint(this.breakpoint);
|
|
6916
7280
|
}
|
|
6917
7281
|
render() {
|
|
6918
|
-
return hAsync(Host, { key: '
|
|
7282
|
+
return hAsync(Host, { key: 'f4c81a7820625de045b36a5bee9ced0eebe8e433', class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
|
|
6919
7283
|
}
|
|
6920
7284
|
get host() { return getElement(this); }
|
|
6921
7285
|
static get watchers() { return {
|
|
@@ -6944,7 +7308,9 @@ const StepperItemClass = {
|
|
|
6944
7308
|
root: 'gov-stepper-item',
|
|
6945
7309
|
header: 'gov-stepper-item__header',
|
|
6946
7310
|
label: 'gov-stepper-item__label',
|
|
7311
|
+
steps: 'gov-stepper-item__steps',
|
|
6947
7312
|
prefix: 'gov-stepper-item__prefix',
|
|
7313
|
+
main: 'gov-stepper-item__main',
|
|
6948
7314
|
headline: 'gov-stepper-item__headline',
|
|
6949
7315
|
annotation: 'gov-stepper-item__annotation',
|
|
6950
7316
|
content: 'gov-stepper-item__content',
|
|
@@ -6977,7 +7343,7 @@ class GovStepper {
|
|
|
6977
7343
|
this.hydrated = true;
|
|
6978
7344
|
}
|
|
6979
7345
|
render() {
|
|
6980
|
-
return (hAsync(Host, { key: '
|
|
7346
|
+
return (hAsync(Host, { key: 'bd6e7b6f72fd48d41b692c92beb9446cf1e5e943', class: this.h.classes(StepperClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: '81ca63a0aa077cbcfe944c22aed8e3d6cb05af83' })));
|
|
6981
7347
|
}
|
|
6982
7348
|
get host() { return getElement(this); }
|
|
6983
7349
|
static get watchers() { return {
|
|
@@ -7019,7 +7385,7 @@ class GovStepperItem {
|
|
|
7019
7385
|
render() {
|
|
7020
7386
|
const triggerId = this.identifier || this.triggerId;
|
|
7021
7387
|
const contentId = this.contentId;
|
|
7022
|
-
return (hAsync(Host, { key: '
|
|
7388
|
+
return (hAsync(Host, { key: 'ef017294b38b6fda6da1bceb8a85185a4f088270', id: triggerId, class: this.h.classes(StepperItemClass.root), color: this.color, role: "listitem", hydrated: this.hydrated }, hAsync("div", { key: '37ebc08427d94722ff4127b6aa39b4f28e2844f5' }, hAsync("div", { key: '0f74091afd24d44a77249cadcfc51a3618985632', class: StepperItemClass.steps }, hAsync("span", { key: '397c1a50f02498ff849d0b93dbca66cae076761e' }), hAsync("span", { key: '5b70a1ada896d1f3092acf345eae2d6265513cc5', class: StepperItemClass.prefix }, hAsync("slot", { key: 'e6b30945934e11db11d0ee035224b1969bb3808d', name: "prefix" })), hAsync("span", { key: 'd0ab63fc8038726b39ca41a79f8d73c5cad9b670' })), hAsync("div", { key: '76366242f47074a4e5f18062d7cc0a5ad54c22aa', class: StepperItemClass.main }, hAsync("span", { key: 'f28fcf03b8abe71de585c41d378d4a9a8fda4f5a', class: StepperItemClass.headline }, hAsync("slot", { key: '41dac89031060fbb12d36ba2ca1d0d65f0bfc372', name: "headline" })), hAsync("slot", { key: 'c4ce96cb0625d66244887874de84981101014d39', name: "annotation" }), this.h.hasSlot('content') && (hAsync("div", { key: 'd45cd14c4e1b8cfd48cb73673be3d7da76a662e6', class: StepperItemClass.content, id: contentId, "aria-labelledby": triggerId, role: "tabpanel" }, hAsync("slot", { key: '3a2896b00d01c76ecb0346d601801c538ab9ba8f', name: "content" })))))));
|
|
7023
7389
|
}
|
|
7024
7390
|
get host() { return getElement(this); }
|
|
7025
7391
|
static get watchers() { return {
|
|
@@ -7099,7 +7465,8 @@ class GovTabs {
|
|
|
7099
7465
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
7100
7466
|
}
|
|
7101
7467
|
disconnectedCallback() {
|
|
7102
|
-
|
|
7468
|
+
var _a;
|
|
7469
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
7103
7470
|
}
|
|
7104
7471
|
onAriaAttributeChange(attributeName, newValue) {
|
|
7105
7472
|
this.host.removeAttribute(attributeName);
|
|
@@ -7170,7 +7537,7 @@ class GovTabs {
|
|
|
7170
7537
|
});
|
|
7171
7538
|
}
|
|
7172
7539
|
render() {
|
|
7173
|
-
return (hAsync(Host, { key: '
|
|
7540
|
+
return (hAsync(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) }, hAsync("div", Object.assign({ key: 'f88f5af844c12ce180507ca5b1ffff72885440d1', class: TabsClass.tabs, role: "tablist" }, this.inheritedAttributes), hAsync("ul", { key: '0a0ef5e51d29fcdbba61a0139ae51eb0cf96cf04', class: TabsClass.list }, this.controllers.map(control => (hAsync("li", { class: TabsClass.item }, this.type == "text" ? (hAsync("button", { class: TabsClass.btn, id: control.triggerIdentifier, role: "tab", onClick: () => this.onSelectHandler(control), disabled: control.disabled, "aria-disabled": toBoolAttr(control.disabled), "aria-selected": toBoolAttr(control.active), "aria-controls": control.contentIdentifier, tabindex: control.active && !control.disabled ? 0 : -1, ref: el => (this.triggerRefs[control.triggerIdentifier] = el) }, control.iconStart ? (hAsync("gov-icon", { name: control.iconStart.name, type: control.iconStart.type })) : null, control.label, control.iconEnd ? (hAsync("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type })) : null)) : (hAsync("gov-chip", { role: "tab", tag: 'button', identifier: control.triggerIdentifier, "aria-selected": booleanString(control.active), "aria-controls": control.contentIdentifier, focusable: control.active, disabled: control.disabled, color: this.color, size: this.size === "xs" ? "xs" : (this.size === "s" ? "s" : "m"), type: control.active ? "solid" : "outlined", ref: el => (this.triggerRefs[control.triggerIdentifier] = el), "on-gov-click": () => this.onSelectHandler(control) }, control.iconStart ? (hAsync("gov-icon", { name: control.iconStart.name, type: control.iconStart.type, slot: "icon-start" })) : null, control.label, control.iconEnd ? (hAsync("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type, slot: "icon-end" })) : null))))))), hAsync("slot", { key: '031978d82e01e604b306c6e37948dc67ce9ed89a' })));
|
|
7174
7541
|
}
|
|
7175
7542
|
getCurrentTab() {
|
|
7176
7543
|
return this.controllers.find(control => control.active) || null;
|
|
@@ -7303,7 +7670,7 @@ class GovTabsItem {
|
|
|
7303
7670
|
}
|
|
7304
7671
|
}
|
|
7305
7672
|
render() {
|
|
7306
|
-
return (hAsync(Host, { key: '
|
|
7673
|
+
return (hAsync(Host, { key: 'e82ff844f1965fe51e3ac002c266c5598b986942', class: this.h.classes(TabsItemClass.root), default: this.default }, hAsync("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) }, hAsync("slot", { key: '8fbe8e26b722c3d6a2cdbb1f7f5003c85f71227e' }))));
|
|
7307
7674
|
}
|
|
7308
7675
|
/**
|
|
7309
7676
|
* Returns a unique tab content identifier
|
|
@@ -7391,7 +7758,7 @@ class GovTag {
|
|
|
7391
7758
|
render() {
|
|
7392
7759
|
const iconStart = prepareIconFormat(this.iconStart);
|
|
7393
7760
|
const iconEnd = prepareIconFormat(this.iconEnd);
|
|
7394
|
-
return (hAsync(Host, { key: '
|
|
7761
|
+
return (hAsync(Host, { key: 'df3988a7cb0dbf8e7ee418918e9f65e7cca6ba87', class: this.h.classes(TagClass.root), color: this.color, size: this.size, type: this.type }, hAsync("span", { key: 'bcb9b024178012722badffe0b0faaf79e2e8a933', class: "element" }, hAsync("slot", { key: '2651a7dbce1b7a893dfc703e1393235286353e4b', name: "icon-start" }, iconStart && hAsync("gov-icon", { key: '111e55c5ee1edaf6b578af8f37667e18c4d2487c', type: iconStart.type, name: iconStart.name })), hAsync("slot", { key: 'fb60c7f3f3f25168f062134a93c4c4bb039fc29b' }), hAsync("slot", { key: '20e64ee3addb1e45de10d486d25d7f024725626e', name: "icon-end" }, iconEnd && hAsync("gov-icon", { key: 'e11b23de2ce9b35a27367c7ba7bb1b907bded75b', type: iconEnd.type, name: iconEnd.name })))));
|
|
7395
7762
|
}
|
|
7396
7763
|
get host() { return getElement(this); }
|
|
7397
7764
|
static get watchers() { return {
|
|
@@ -7419,6 +7786,7 @@ const ThemeSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL']);
|
|
|
7419
7786
|
const ThemeSwitchClass = {
|
|
7420
7787
|
root: 'gov-theme-switch',
|
|
7421
7788
|
indicator: 'gov-theme-switch__indicator',
|
|
7789
|
+
label: 'gov-theme-switch__label',
|
|
7422
7790
|
iconLight: 'gov-theme-switch__icon-light',
|
|
7423
7791
|
iconDark: 'gov-theme-switch__icon-dark',
|
|
7424
7792
|
};
|
|
@@ -7493,7 +7861,7 @@ class GovThemeSwitch {
|
|
|
7493
7861
|
if (this.theme === ThemeList.auto) {
|
|
7494
7862
|
isDark = this.isSystemPrefersColorDark;
|
|
7495
7863
|
}
|
|
7496
|
-
return (hAsync(Host, { key: '
|
|
7864
|
+
return (hAsync(Host, { key: '492cf756810462ba0764668a134b2ecd5133d562', class: this.h.classes(ThemeSwitchClass.root), theme: isDark ? ThemeList.dark : ThemeList.light, size: this.size }, hAsync("button", { key: '02b94994619dd3fbb998acdcc16c907c69ea6723', onClick: () => this.setThemeState(isDark ? ThemeList.light : ThemeList.dark), "aria-current": this.theme, "aria-label": isDark ? this.ariaLabelDark : this.ariaLabelLight }, hAsync("span", { key: '0beb069c94ed4337a6c2de4d8ee8640123bc3bc5' }, hAsync("span", { key: '57d9fc00520b8cf98108d9b5a9710d6066861157', class: ThemeSwitchClass.indicator }, ThemeList.light && hAsync("gov-icon", { key: '3cd1693dcf28658943146386c97b834e5cf4534a', name: "sun", class: ThemeSwitchClass.iconLight, type: "components" }), ThemeList.dark && hAsync("gov-icon", { key: '139adcafc399eed5482c15273a37331598bbe179', name: "moon", class: ThemeSwitchClass.iconDark, type: "components" })), this.displayLabel ? (hAsync("span", { class: ThemeSwitchClass.label }, isDark ? this.labelDark : this.labelLight)) : null))));
|
|
7497
7865
|
}
|
|
7498
7866
|
get host() { return getElement(this); }
|
|
7499
7867
|
static get watchers() { return {
|
|
@@ -7540,7 +7908,7 @@ class GovTile {
|
|
|
7540
7908
|
this.h = govHost(this.host);
|
|
7541
7909
|
}
|
|
7542
7910
|
render() {
|
|
7543
|
-
return (hAsync(Host, { key: '
|
|
7911
|
+
return (hAsync(Host, { key: 'ab52fb23f84579e2b32b063e45f7bf23605011d6', class: this.h.classes(TileClass.root), size: this.size, orientation: this.orientation, clickable: this.href ? true : null }, hAsync("slot", { key: '6a2bf399f6767b74a29e2372d84025bd5046377f', name: "icon" }), hAsync("div", { key: '64b519f3b42dc5c9f51d4564a083aa95448c61b3', class: TileClass.content }, hAsync("div", { key: '56b85285dd5151ca428889fe78888289a1ce75bb', class: TileClass.text }, hAsync("div", { key: '2f26093e140f3db65d5fdb08daf834686b0b5743', class: TileClass.title }, this.href ? (hAsync(Fragment$1, null, hAsync("a", { href: this.href, target: this.target, class: TileClass.link, ref: el => (this.triggerRef = el) }, hAsync("slot", { name: "title" })), hAsync("span", { class: TileClass.icon }, hAsync("gov-icon", { name: "chevron-right", type: "components" })))) : (hAsync("slot", { name: "title" }))), hAsync("div", { key: '25d8abd31e31062bd2da487c0ff9946b1893278c', class: `${TileClass.annotation} ${this.href ? `${TileClass.annotation}--padding` : ''}` }, hAsync("slot", { key: 'bebce043085e0440e2eca20c3af4abee18b292e4' }))), hAsync("slot", { key: 'e34513bbd6c59b113f6c8f39d6ebfaf61696d2fe', name: "button" }))));
|
|
7544
7912
|
}
|
|
7545
7913
|
/**
|
|
7546
7914
|
* Returns a clickable element instance
|
|
@@ -7566,32 +7934,6 @@ class GovTile {
|
|
|
7566
7934
|
}; }
|
|
7567
7935
|
}
|
|
7568
7936
|
|
|
7569
|
-
const TilesClass = {
|
|
7570
|
-
root: 'gov-tiles',
|
|
7571
|
-
};
|
|
7572
|
-
|
|
7573
|
-
class GovTiles {
|
|
7574
|
-
constructor(hostRef) {
|
|
7575
|
-
registerInstance(this, hostRef);
|
|
7576
|
-
this.columns = 4;
|
|
7577
|
-
this.h = govHost(this.host);
|
|
7578
|
-
}
|
|
7579
|
-
render() {
|
|
7580
|
-
return (hAsync(Host, { key: '18eb380e2fe62b54a90c5c758c62c985107c98d4', class: this.h.classes(TilesClass.root) }, hAsync("slot", { key: '9746ede80d0daa8776208afb5cef44b7adb0d7fc' })));
|
|
7581
|
-
}
|
|
7582
|
-
get host() { return getElement(this); }
|
|
7583
|
-
static get cmpMeta() { return {
|
|
7584
|
-
"$flags$": 4,
|
|
7585
|
-
"$tagName$": "gov-tiles",
|
|
7586
|
-
"$members$": {
|
|
7587
|
-
"columns": [514]
|
|
7588
|
-
},
|
|
7589
|
-
"$listeners$": undefined,
|
|
7590
|
-
"$lazyBundleId$": "-",
|
|
7591
|
-
"$attrsToReflect$": [["columns", "columns"]]
|
|
7592
|
-
}; }
|
|
7593
|
-
}
|
|
7594
|
-
|
|
7595
7937
|
const ToastColors = pick(Colors, ['PRIMARY', 'NEUTRAL', 'ERROR', 'SUCCESS', 'WARNING']);
|
|
7596
7938
|
var ToastType;
|
|
7597
7939
|
(function (ToastType) {
|
|
@@ -7637,8 +7979,9 @@ class GovToast {
|
|
|
7637
7979
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
7638
7980
|
}
|
|
7639
7981
|
disconnectedCallback() {
|
|
7982
|
+
var _a;
|
|
7640
7983
|
clearTimeout(this.timeout);
|
|
7641
|
-
this.attributeObserver.stopObserving();
|
|
7984
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
7642
7985
|
}
|
|
7643
7986
|
onAriaAttributeChange(attributeName, newValue) {
|
|
7644
7987
|
this.host.removeAttribute(attributeName);
|
|
@@ -7656,7 +7999,7 @@ class GovToast {
|
|
|
7656
7999
|
}
|
|
7657
8000
|
}
|
|
7658
8001
|
render() {
|
|
7659
|
-
return (hAsync(Host, { key: '
|
|
8002
|
+
return (hAsync(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") && (hAsync("span", { key: 'e55556b89b1e667e3eded15cc0293afad61a55b5', class: ToastClass.icon }, hAsync("slot", { key: '918cd31f3e80f36ea346ad1be27d093baab60eef', name: "icon" }))), hAsync("div", Object.assign({ key: '6232d63367c11301b626620211b8a7cc30f171cf', class: ToastClass.content }, this.inheritedAttributes, { "aria-live": "polite", role: "status" }), hAsync("slot", { key: 'bfd4174fae30924135ca10b1a1f2a2338179de24' })), hAsync("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 : hAsync("gov-icon", { name: "x-lg", type: "components" })), hAsync("div", { key: 'f863b0cb33027641fff15771b051a091d4fdf782', class: ToastClass.timer })));
|
|
7660
8003
|
}
|
|
7661
8004
|
onCloseHandler() {
|
|
7662
8005
|
this.govClose.emit(this.toastId);
|
|
@@ -7913,11 +8256,11 @@ class GovTooltip {
|
|
|
7913
8256
|
}
|
|
7914
8257
|
render() {
|
|
7915
8258
|
var _a;
|
|
7916
|
-
return (hAsync(Host, { key: '
|
|
8259
|
+
return (hAsync(Host, { key: '8bb512960020b0945a8f54f5c6bd52062b426a26', id: this.tooltipId, class: this.h.classes(TooltipClass.root), position: this.position }, hAsync("span", { key: 'd47065c5bef5f580101322a95e18905ec489ce29', role: 'button', tabindex: 0, onKeyPress: () => this.showTooltip(), onBlur: () => {
|
|
7917
8260
|
if (this.persist === false) {
|
|
7918
8261
|
this.hideTooltip();
|
|
7919
8262
|
}
|
|
7920
|
-
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '
|
|
8263
|
+
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: 'a206caa511be168a6df2a34110b2aeeffe732354' }))));
|
|
7921
8264
|
}
|
|
7922
8265
|
/**
|
|
7923
8266
|
* Showing the modal
|
|
@@ -7988,7 +8331,7 @@ class GovTooltipContent {
|
|
|
7988
8331
|
}
|
|
7989
8332
|
}
|
|
7990
8333
|
render() {
|
|
7991
|
-
return (hAsync(Host, { key: '
|
|
8334
|
+
return (hAsync(Host, { key: 'f147a718b5c556b3314f48a86edfd9ee4db6d93e', class: TooltipContentClass.root, role: "tooltip", hidden: !this.isVisible, "aria-hidden": !toBoolAttr(this.isVisible), "is-visible": this.isVisible }, hAsync("slot", { key: '4cde158814765edfb1fc6ab1e8cce6ad1d98e175' }), this.persist ? (hAsync("gov-button", { "on-gov-click": this.hideContent.bind(this), color: this.color, size: this.size, type: "base" }, hAsync("gov-icon", { slot: "icon-start", name: "x-lg", type: "components" }))) : null));
|
|
7992
8335
|
}
|
|
7993
8336
|
get host() { return getElement(this); }
|
|
7994
8337
|
static get watchers() { return {
|
|
@@ -8062,7 +8405,7 @@ class GovWizard {
|
|
|
8062
8405
|
this.hydrated = true;
|
|
8063
8406
|
}
|
|
8064
8407
|
render() {
|
|
8065
|
-
return (hAsync(Host, { key: '
|
|
8408
|
+
return (hAsync(Host, { key: '139efd57338b63026c56d3feea4aea70de7e0784', class: this.h.classes(WizardClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: '7ac5d8219bea45ef32ded0785cb94c052a001f35' })));
|
|
8066
8409
|
}
|
|
8067
8410
|
/**
|
|
8068
8411
|
* Validate the WCAG attributes of the component
|
|
@@ -8124,8 +8467,8 @@ class GovWizardItem {
|
|
|
8124
8467
|
render() {
|
|
8125
8468
|
const triggerId = this.identifier || this.triggerId;
|
|
8126
8469
|
const Tag = this.collapsible ? Tags.BUTTON : Tags.DIV;
|
|
8127
|
-
const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: '
|
|
8128
|
-
return (hAsync(Host, { key: '
|
|
8470
|
+
const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: '394a8843e47dd540dd1b22ba6cec699f73d55870', class: WizardItemClass.prefix }, hAsync("slot", { key: '811680c41b1729b689a0679e16e3aba4455d4d17', name: "prefix" })));
|
|
8471
|
+
return (hAsync(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 }, hAsync("div", { key: 'a2a2218a1b036da0c9a6edb7b0c0ce1be5a214ff', class: WizardItemClass.header }, prefixSlot, this.collapsible ? (hAsync(Tag, { id: triggerId, class: this.h.classes(WizardItemClass.label), "aria-expanded": booleanString(this.isExpanded), "aria-controls": this.contentId, disabled: this.disabled, "aria-disabled": toBoolAttrIfDefined(this.disabled), onClick: (e) => {
|
|
8129
8472
|
e.preventDefault();
|
|
8130
8473
|
e.stopPropagation();
|
|
8131
8474
|
this.toggle();
|
|
@@ -8189,6 +8532,8 @@ registerComponents([
|
|
|
8189
8532
|
GovAttachments,
|
|
8190
8533
|
GovAttachmentsItem,
|
|
8191
8534
|
GovBackdrop,
|
|
8535
|
+
GovBanner,
|
|
8536
|
+
GovBlockquote,
|
|
8192
8537
|
GovBreadcrumbs,
|
|
8193
8538
|
GovButton,
|
|
8194
8539
|
GovCard,
|
|
@@ -8214,6 +8559,7 @@ registerComponents([
|
|
|
8214
8559
|
GovFormPasswordPower,
|
|
8215
8560
|
GovFormRadio,
|
|
8216
8561
|
GovFormRadioGroup,
|
|
8562
|
+
GovFormRange,
|
|
8217
8563
|
GovFormSearch,
|
|
8218
8564
|
GovFormSelect,
|
|
8219
8565
|
GovFormSwitch,
|
|
@@ -8237,7 +8583,6 @@ registerComponents([
|
|
|
8237
8583
|
GovTag,
|
|
8238
8584
|
GovThemeSwitch,
|
|
8239
8585
|
GovTile,
|
|
8240
|
-
GovTiles,
|
|
8241
8586
|
GovToast,
|
|
8242
8587
|
GovTooltip,
|
|
8243
8588
|
GovTooltipContent,
|