@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.js
CHANGED
|
@@ -2691,6 +2691,7 @@ const hasOwnProperty = (obj, prop) => {
|
|
|
2691
2691
|
};
|
|
2692
2692
|
const isObject = (obj) => typeof obj === 'object';
|
|
2693
2693
|
const isString = (input) => is(input) && typeof input === 'string';
|
|
2694
|
+
const isNumber = (input) => is(input) && typeof input === 'number';
|
|
2694
2695
|
|
|
2695
2696
|
const validateWcagProp = (value, propName, component) => {
|
|
2696
2697
|
if (value === undefined || String(value).length === 0) {
|
|
@@ -2773,7 +2774,7 @@ class GovAttachments {
|
|
|
2773
2774
|
}; }
|
|
2774
2775
|
}
|
|
2775
2776
|
|
|
2776
|
-
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:
|
|
2777
|
+
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))}";
|
|
2777
2778
|
var GovAttachmentsItemStyle0 = govAttachmentsItemCss;
|
|
2778
2779
|
|
|
2779
2780
|
class GovAttachmentsItem {
|
|
@@ -2865,6 +2866,119 @@ class GovBackdrop {
|
|
|
2865
2866
|
}; }
|
|
2866
2867
|
}
|
|
2867
2868
|
|
|
2869
|
+
const BannerSizes = pick(Sizes, ['_S', '_M', '_L', '_XL']);
|
|
2870
|
+
var BannerBackground;
|
|
2871
|
+
(function (BannerBackground) {
|
|
2872
|
+
BannerBackground["SIMPLE"] = "simple";
|
|
2873
|
+
BannerBackground["WAVES"] = "waves";
|
|
2874
|
+
BannerBackground["STRIPES"] = "stripes";
|
|
2875
|
+
BannerBackground["LINES"] = "lines";
|
|
2876
|
+
})(BannerBackground || (BannerBackground = {}));
|
|
2877
|
+
var BannerForeground;
|
|
2878
|
+
(function (BannerForeground) {
|
|
2879
|
+
BannerForeground["IMAGE"] = "image";
|
|
2880
|
+
BannerForeground["LOGO"] = "logo";
|
|
2881
|
+
BannerForeground["ICON"] = "icon";
|
|
2882
|
+
})(BannerForeground || (BannerForeground = {}));
|
|
2883
|
+
var BannerTextColor;
|
|
2884
|
+
(function (BannerTextColor) {
|
|
2885
|
+
BannerTextColor["LIGHT"] = "light";
|
|
2886
|
+
BannerTextColor["DARK"] = "dark";
|
|
2887
|
+
})(BannerTextColor || (BannerTextColor = {}));
|
|
2888
|
+
const BannerClass = {
|
|
2889
|
+
root: 'gov-banner',
|
|
2890
|
+
content: 'gov-banner__content',
|
|
2891
|
+
};
|
|
2892
|
+
|
|
2893
|
+
class GovBanner {
|
|
2894
|
+
constructor(hostRef) {
|
|
2895
|
+
registerInstance(this, hostRef);
|
|
2896
|
+
this.size = BannerSizes._M;
|
|
2897
|
+
this.background = BannerBackground.SIMPLE;
|
|
2898
|
+
this.foreground = BannerForeground.LOGO;
|
|
2899
|
+
this.textColor = BannerTextColor.LIGHT;
|
|
2900
|
+
this.h = govHost(this.host);
|
|
2901
|
+
}
|
|
2902
|
+
validateSize(newValue) {
|
|
2903
|
+
validateProp(BannerSizes, newValue, BannerClass.root);
|
|
2904
|
+
}
|
|
2905
|
+
validateBackground(newValue) {
|
|
2906
|
+
validateProp(BannerBackground, newValue, BannerClass.root);
|
|
2907
|
+
}
|
|
2908
|
+
validateForeground(newValue) {
|
|
2909
|
+
validateProp(BannerForeground, newValue, BannerClass.root);
|
|
2910
|
+
}
|
|
2911
|
+
validateTextColor(newValue) {
|
|
2912
|
+
validateProp(BannerTextColor, newValue, BannerClass.root);
|
|
2913
|
+
}
|
|
2914
|
+
componentWillLoad() {
|
|
2915
|
+
this.validateSize(this.size);
|
|
2916
|
+
this.validateBackground(this.background);
|
|
2917
|
+
this.validateForeground(this.foreground);
|
|
2918
|
+
this.validateTextColor(this.textColor);
|
|
2919
|
+
}
|
|
2920
|
+
render() {
|
|
2921
|
+
return (hAsync(Host, Object.assign({ key: '67c767ffc6ac1912bb691c8bb11158dac573e70f', class: this.h.classes(BannerClass.root), role: "region", size: this.size }, (this.size !== "xl" ? {
|
|
2922
|
+
background: this.background,
|
|
2923
|
+
foreground: this.foreground
|
|
2924
|
+
} : { '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" })));
|
|
2925
|
+
}
|
|
2926
|
+
get host() { return getElement(this); }
|
|
2927
|
+
static get watchers() { return {
|
|
2928
|
+
"size": ["validateSize"],
|
|
2929
|
+
"background": ["validateBackground"],
|
|
2930
|
+
"foreground": ["validateForeground"],
|
|
2931
|
+
"text-color": ["validateTextColor"]
|
|
2932
|
+
}; }
|
|
2933
|
+
static get cmpMeta() { return {
|
|
2934
|
+
"$flags$": 4,
|
|
2935
|
+
"$tagName$": "gov-banner",
|
|
2936
|
+
"$members$": {
|
|
2937
|
+
"size": [513],
|
|
2938
|
+
"background": [1],
|
|
2939
|
+
"foreground": [1],
|
|
2940
|
+
"textColor": [1, "text-color"]
|
|
2941
|
+
},
|
|
2942
|
+
"$listeners$": undefined,
|
|
2943
|
+
"$lazyBundleId$": "-",
|
|
2944
|
+
"$attrsToReflect$": [["size", "size"]]
|
|
2945
|
+
}; }
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2948
|
+
var BlockquoteType;
|
|
2949
|
+
(function (BlockquoteType) {
|
|
2950
|
+
BlockquoteType["PRIMARY"] = "primary";
|
|
2951
|
+
BlockquoteType["SUBTLE"] = "subtle";
|
|
2952
|
+
BlockquoteType["NEUTRAL"] = "neutral";
|
|
2953
|
+
})(BlockquoteType || (BlockquoteType = {}));
|
|
2954
|
+
const BlockquoteClass = {
|
|
2955
|
+
root: 'gov-blockquote',
|
|
2956
|
+
};
|
|
2957
|
+
|
|
2958
|
+
class GovBlockquote {
|
|
2959
|
+
constructor(hostRef) {
|
|
2960
|
+
registerInstance(this, hostRef);
|
|
2961
|
+
this.type = BlockquoteType.SUBTLE;
|
|
2962
|
+
this.cite = undefined;
|
|
2963
|
+
this.h = govHost(this.host);
|
|
2964
|
+
}
|
|
2965
|
+
render() {
|
|
2966
|
+
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" })));
|
|
2967
|
+
}
|
|
2968
|
+
get host() { return getElement(this); }
|
|
2969
|
+
static get cmpMeta() { return {
|
|
2970
|
+
"$flags$": 4,
|
|
2971
|
+
"$tagName$": "gov-blockquote",
|
|
2972
|
+
"$members$": {
|
|
2973
|
+
"type": [513],
|
|
2974
|
+
"cite": [1]
|
|
2975
|
+
},
|
|
2976
|
+
"$listeners$": undefined,
|
|
2977
|
+
"$lazyBundleId$": "-",
|
|
2978
|
+
"$attrsToReflect$": [["type", "type"]]
|
|
2979
|
+
}; }
|
|
2980
|
+
}
|
|
2981
|
+
|
|
2868
2982
|
const BreadcrumbsClass = {
|
|
2869
2983
|
root: 'gov-breadcrumbs',
|
|
2870
2984
|
};
|
|
@@ -2907,7 +3021,7 @@ class GovBreadcrumbs {
|
|
|
2907
3021
|
this.toggleOption = sumOfWidths > hostWidth;
|
|
2908
3022
|
}
|
|
2909
3023
|
render() {
|
|
2910
|
-
return (hAsync(Host, { key: '
|
|
3024
|
+
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));
|
|
2911
3025
|
}
|
|
2912
3026
|
/**
|
|
2913
3027
|
* Validate the WCAG attributes of the component
|
|
@@ -2991,11 +3105,11 @@ function toBool(value) {
|
|
|
2991
3105
|
}
|
|
2992
3106
|
}
|
|
2993
3107
|
|
|
2994
|
-
var Tags$
|
|
3108
|
+
var Tags$3;
|
|
2995
3109
|
(function (Tags) {
|
|
2996
3110
|
Tags["A"] = "a";
|
|
2997
3111
|
Tags["BUTTON"] = "button";
|
|
2998
|
-
})(Tags$
|
|
3112
|
+
})(Tags$3 || (Tags$3 = {}));
|
|
2999
3113
|
class GovButton {
|
|
3000
3114
|
constructor(hostRef) {
|
|
3001
3115
|
registerInstance(this, hostRef);
|
|
@@ -3045,7 +3159,8 @@ class GovButton {
|
|
|
3045
3159
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
3046
3160
|
}
|
|
3047
3161
|
disconnectedCallback() {
|
|
3048
|
-
|
|
3162
|
+
var _a;
|
|
3163
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
3049
3164
|
}
|
|
3050
3165
|
componentWillLoad() {
|
|
3051
3166
|
this.validateColor(this.color);
|
|
@@ -3064,11 +3179,11 @@ class GovButton {
|
|
|
3064
3179
|
this.hydrated = true;
|
|
3065
3180
|
}
|
|
3066
3181
|
render() {
|
|
3067
|
-
const Tag = this.href ? Tags$
|
|
3068
|
-
const nativeType = Tag === Tags$
|
|
3069
|
-
return (hAsync(Host, { key: '
|
|
3070
|
-
hAsync("gov-icon", { key: '
|
|
3071
|
-
hAsync("gov-icon", { key: '
|
|
3182
|
+
const Tag = this.href ? Tags$3.A : Tags$3.BUTTON;
|
|
3183
|
+
const nativeType = Tag === Tags$3.A ? undefined : this.nativeType;
|
|
3184
|
+
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") &&
|
|
3185
|
+
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") &&
|
|
3186
|
+
hAsync("gov-icon", { key: '607c848e0a9e4abf1c4232658a38922ade4accf9', name: "loader", class: "gov-spin-animation", type: "components" }))));
|
|
3072
3187
|
}
|
|
3073
3188
|
onClickHandler(e) {
|
|
3074
3189
|
e.stopPropagation();
|
|
@@ -3170,6 +3285,11 @@ const CardClass = {
|
|
|
3170
3285
|
footer: 'gov-card__footer',
|
|
3171
3286
|
};
|
|
3172
3287
|
|
|
3288
|
+
var Tags$2;
|
|
3289
|
+
(function (Tags) {
|
|
3290
|
+
Tags["A"] = "a";
|
|
3291
|
+
Tags["DIV"] = "div";
|
|
3292
|
+
})(Tags$2 || (Tags$2 = {}));
|
|
3173
3293
|
class GovCard {
|
|
3174
3294
|
constructor(hostRef) {
|
|
3175
3295
|
registerInstance(this, hostRef);
|
|
@@ -3178,6 +3298,8 @@ class GovCard {
|
|
|
3178
3298
|
this.direction = "vertical";
|
|
3179
3299
|
this.collapsible = false;
|
|
3180
3300
|
this.open = true;
|
|
3301
|
+
this.href = undefined;
|
|
3302
|
+
this.target = undefined;
|
|
3181
3303
|
this.accessibleTriggerLabel = undefined;
|
|
3182
3304
|
this.accessibleTriggerLabelledBy = undefined;
|
|
3183
3305
|
this.h = govHost(this.host);
|
|
@@ -3194,7 +3316,8 @@ class GovCard {
|
|
|
3194
3316
|
this.hydrated = true;
|
|
3195
3317
|
}
|
|
3196
3318
|
render() {
|
|
3197
|
-
|
|
3319
|
+
const Tag = this.href ? Tags$2.A : Tags$2.DIV;
|
|
3320
|
+
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" }))))));
|
|
3198
3321
|
}
|
|
3199
3322
|
onClickHandler(e) {
|
|
3200
3323
|
e.stopPropagation();
|
|
@@ -3219,13 +3342,15 @@ class GovCard {
|
|
|
3219
3342
|
"direction": [1],
|
|
3220
3343
|
"collapsible": [4],
|
|
3221
3344
|
"open": [1540],
|
|
3345
|
+
"href": [513],
|
|
3346
|
+
"target": [1],
|
|
3222
3347
|
"accessibleTriggerLabel": [1, "accessible-label"],
|
|
3223
3348
|
"accessibleTriggerLabelledBy": [1, "accessible-labelledby"],
|
|
3224
3349
|
"validateAccessibility": [64]
|
|
3225
3350
|
},
|
|
3226
3351
|
"$listeners$": undefined,
|
|
3227
3352
|
"$lazyBundleId$": "-",
|
|
3228
|
-
"$attrsToReflect$": [["open", "open"]]
|
|
3353
|
+
"$attrsToReflect$": [["open", "open"], ["href", "href"]]
|
|
3229
3354
|
}; }
|
|
3230
3355
|
}
|
|
3231
3356
|
|
|
@@ -3300,7 +3425,8 @@ class GovChip {
|
|
|
3300
3425
|
this.attributeObserver.startObserving(ariaAttributes);
|
|
3301
3426
|
}
|
|
3302
3427
|
disconnectedCallback() {
|
|
3303
|
-
|
|
3428
|
+
var _a;
|
|
3429
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
3304
3430
|
}
|
|
3305
3431
|
connectedCallback() {
|
|
3306
3432
|
this.hydrated = true;
|
|
@@ -3314,11 +3440,11 @@ class GovChip {
|
|
|
3314
3440
|
const nativeType = Tag == NativeType.BUTTON ? NativeType.BUTTON : undefined;
|
|
3315
3441
|
const iconStart = prepareIconFormat(this.iconStart);
|
|
3316
3442
|
const iconEnd = prepareIconFormat(this.iconEnd);
|
|
3317
|
-
return (hAsync(Host, { key: '
|
|
3443
|
+
return (hAsync(Host, { key: '6891a65866779d31691de4842180ae22767c4268', class: this.h.classes([
|
|
3318
3444
|
ChipClass.root,
|
|
3319
3445
|
this.h.hasSlot("right") ? ChipClass.hasRight : undefined,
|
|
3320
3446
|
this.h.hasSlot("left") ? ChipClass.hasLeft : undefined,
|
|
3321
|
-
]), 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: '
|
|
3447
|
+
]), 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" }))));
|
|
3322
3448
|
}
|
|
3323
3449
|
onClickHandler(e) {
|
|
3324
3450
|
e.stopPropagation();
|
|
@@ -3378,7 +3504,7 @@ class GovContainer {
|
|
|
3378
3504
|
this.h = govHost(this.host);
|
|
3379
3505
|
}
|
|
3380
3506
|
render() {
|
|
3381
|
-
return (hAsync(Host, { key: '
|
|
3507
|
+
return (hAsync(Host, { key: '82f7c451b4196138a062e9e807c0b264b5f8e1fe', class: this.h.classes(ContainerClass.root) }, hAsync("slot", { key: '04a40aeafe57c99f4a148d04320bf390e3444ea8' })));
|
|
3382
3508
|
}
|
|
3383
3509
|
get host() { return getElement(this); }
|
|
3384
3510
|
static get cmpMeta() { return {
|
|
@@ -3408,7 +3534,7 @@ class GovControlGroup {
|
|
|
3408
3534
|
validateProp(Colors, newValue, ControlGroupClass.root);
|
|
3409
3535
|
}
|
|
3410
3536
|
render() {
|
|
3411
|
-
return (hAsync(Host, { key: '
|
|
3537
|
+
return (hAsync(Host, { key: '74d339e88105be80b3f335aa2af1155ab23099c8', class: this.h.classes(ControlGroupClass.root), color: this.color }, hAsync("slot", { key: 'e3af09285370470ad4e1ca9e6b225ca98708cebc' })));
|
|
3412
3538
|
}
|
|
3413
3539
|
get host() { return getElement(this); }
|
|
3414
3540
|
static get watchers() { return {
|
|
@@ -3442,7 +3568,7 @@ class GovCookiebar {
|
|
|
3442
3568
|
this.h = govHost(this.host);
|
|
3443
3569
|
}
|
|
3444
3570
|
render() {
|
|
3445
|
-
return (hAsync(Host, { key: '
|
|
3571
|
+
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" })))))));
|
|
3446
3572
|
}
|
|
3447
3573
|
get host() { return getElement(this); }
|
|
3448
3574
|
static get cmpMeta() { return {
|
|
@@ -3515,7 +3641,7 @@ class GovDialog {
|
|
|
3515
3641
|
document.body.classList.remove(DialogClass.bodyFix);
|
|
3516
3642
|
}
|
|
3517
3643
|
render() {
|
|
3518
|
-
return (hAsync(Host, { key: '
|
|
3644
|
+
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));
|
|
3519
3645
|
}
|
|
3520
3646
|
onCloseHandler(e) {
|
|
3521
3647
|
e.stopPropagation();
|
|
@@ -3673,7 +3799,7 @@ class GovDropdown {
|
|
|
3673
3799
|
});
|
|
3674
3800
|
}
|
|
3675
3801
|
render() {
|
|
3676
|
-
return (hAsync(Host, { key: '
|
|
3802
|
+
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" }))));
|
|
3677
3803
|
}
|
|
3678
3804
|
/**
|
|
3679
3805
|
* Returns the current state of the dropdown
|
|
@@ -3726,7 +3852,7 @@ class GovEmpty {
|
|
|
3726
3852
|
this.validateSize(this.size);
|
|
3727
3853
|
}
|
|
3728
3854
|
render() {
|
|
3729
|
-
return (hAsync(Host, { key: '
|
|
3855
|
+
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' }))));
|
|
3730
3856
|
}
|
|
3731
3857
|
get host() { return getElement(this); }
|
|
3732
3858
|
static get watchers() { return {
|
|
@@ -3755,7 +3881,7 @@ class GovErrorCode {
|
|
|
3755
3881
|
this.h = govHost(this.host);
|
|
3756
3882
|
}
|
|
3757
3883
|
render() {
|
|
3758
|
-
return (hAsync(Host, { key: '
|
|
3884
|
+
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' }))));
|
|
3759
3885
|
}
|
|
3760
3886
|
get host() { return getElement(this); }
|
|
3761
3887
|
static get cmpMeta() { return {
|
|
@@ -3782,27 +3908,29 @@ class GovFlex {
|
|
|
3782
3908
|
this.alignContent = undefined;
|
|
3783
3909
|
this.alignSelf = undefined;
|
|
3784
3910
|
this.gap = undefined;
|
|
3911
|
+
this.responsive = "true";
|
|
3785
3912
|
this.h = govHost(this.host);
|
|
3786
3913
|
}
|
|
3787
3914
|
render() {
|
|
3788
|
-
return (hAsync(Host, { key: '
|
|
3915
|
+
return (hAsync(Host, { key: '71dadfbe4c7ddd45b36ffe74d8fd0c38e5069756', class: this.h.classes(FlexClass.root) }, hAsync("slot", { key: 'b86bd5e8abbf157f2476cad87134ff9eedd307cc' })));
|
|
3789
3916
|
}
|
|
3790
3917
|
get host() { return getElement(this); }
|
|
3791
3918
|
static get cmpMeta() { return {
|
|
3792
3919
|
"$flags$": 4,
|
|
3793
3920
|
"$tagName$": "gov-flex",
|
|
3794
3921
|
"$members$": {
|
|
3795
|
-
"direction": [
|
|
3922
|
+
"direction": [513],
|
|
3796
3923
|
"justifyContent": [513, "justify-content"],
|
|
3797
3924
|
"alignItems": [513, "align-items"],
|
|
3798
3925
|
"wrap": [513],
|
|
3799
3926
|
"alignContent": [513, "align-content"],
|
|
3800
3927
|
"alignSelf": [513, "align-self"],
|
|
3801
|
-
"gap": [513]
|
|
3928
|
+
"gap": [513],
|
|
3929
|
+
"responsive": [513]
|
|
3802
3930
|
},
|
|
3803
3931
|
"$listeners$": undefined,
|
|
3804
3932
|
"$lazyBundleId$": "-",
|
|
3805
|
-
"$attrsToReflect$": [["justifyContent", "justify-content"], ["alignItems", "align-items"], ["wrap", "wrap"], ["alignContent", "align-content"], ["alignSelf", "align-self"], ["gap", "gap"]]
|
|
3933
|
+
"$attrsToReflect$": [["direction", "direction"], ["justifyContent", "justify-content"], ["alignItems", "align-items"], ["wrap", "wrap"], ["alignContent", "align-content"], ["alignSelf", "align-self"], ["gap", "gap"], ["responsive", "responsive"]]
|
|
3806
3934
|
}; }
|
|
3807
3935
|
}
|
|
3808
3936
|
|
|
@@ -3952,14 +4080,15 @@ class GovFormAutocomplete {
|
|
|
3952
4080
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
3953
4081
|
}
|
|
3954
4082
|
disconnectedCallback() {
|
|
3955
|
-
|
|
4083
|
+
var _a;
|
|
4084
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
3956
4085
|
}
|
|
3957
4086
|
onAriaAttributeChange(attributeName, newValue) {
|
|
3958
4087
|
this.host.removeAttribute(attributeName);
|
|
3959
4088
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
3960
4089
|
}
|
|
3961
4090
|
render() {
|
|
3962
|
-
return (hAsync(Host, { key: '
|
|
4091
|
+
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) => {
|
|
3963
4092
|
const isSelected = this.arrowCounter === index;
|
|
3964
4093
|
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" })));
|
|
3965
4094
|
}) : null)));
|
|
@@ -4337,7 +4466,8 @@ class GovFormCheckbox {
|
|
|
4337
4466
|
this.hydrated = true;
|
|
4338
4467
|
}
|
|
4339
4468
|
disconnectedCallback() {
|
|
4340
|
-
|
|
4469
|
+
var _a;
|
|
4470
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
4341
4471
|
}
|
|
4342
4472
|
onAriaAttributeChange(attributeName, newValue) {
|
|
4343
4473
|
this.host.removeAttribute(attributeName);
|
|
@@ -4418,7 +4548,7 @@ class GovFormCheckbox {
|
|
|
4418
4548
|
}; }
|
|
4419
4549
|
}
|
|
4420
4550
|
|
|
4421
|
-
const FormGroupSizes = pick(Sizes, ['
|
|
4551
|
+
const FormGroupSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_2XL']);
|
|
4422
4552
|
var FormGroupOrientation;
|
|
4423
4553
|
(function (FormGroupOrientation) {
|
|
4424
4554
|
FormGroupOrientation["HORIZONTAL"] = "horizontal";
|
|
@@ -4434,7 +4564,7 @@ const FormCheckboxGroupClass = {
|
|
|
4434
4564
|
root: 'gov-form-checkbox-group',
|
|
4435
4565
|
};
|
|
4436
4566
|
|
|
4437
|
-
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-
|
|
4567
|
+
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))}";
|
|
4438
4568
|
var GovFormCheckboxGroupStyle0 = govFormGroupCss$1;
|
|
4439
4569
|
|
|
4440
4570
|
class GovFormCheckboxGroup {
|
|
@@ -4491,7 +4621,7 @@ class GovFormCheckboxGroup {
|
|
|
4491
4621
|
});
|
|
4492
4622
|
}
|
|
4493
4623
|
render() {
|
|
4494
|
-
return (hAsync(Host, { key: '
|
|
4624
|
+
return (hAsync(Host, { key: '332a7e45344ebd6bafbcf20813ab7a06a99aae7e', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, hAsync("slot", { key: 'd00028b250fa309ee22d25bd07f0f940fec0590e' })));
|
|
4495
4625
|
}
|
|
4496
4626
|
get host() { return getElement(this); }
|
|
4497
4627
|
static get watchers() { return {
|
|
@@ -4558,7 +4688,7 @@ class GovFormControl {
|
|
|
4558
4688
|
}
|
|
4559
4689
|
render() {
|
|
4560
4690
|
const Tag = this.fieldset ? "fieldset" : "div";
|
|
4561
|
-
return (hAsync(Host, { key: '
|
|
4691
|
+
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" }))))));
|
|
4562
4692
|
}
|
|
4563
4693
|
get host() { return getElement(this); }
|
|
4564
4694
|
static get cmpMeta() { return {
|
|
@@ -4739,14 +4869,15 @@ class GovFormFile {
|
|
|
4739
4869
|
this.registerListeners();
|
|
4740
4870
|
}
|
|
4741
4871
|
disconnectedCallback() {
|
|
4742
|
-
|
|
4872
|
+
var _a;
|
|
4873
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
4743
4874
|
}
|
|
4744
4875
|
onAriaAttributeChange(attributeName, newValue) {
|
|
4745
4876
|
this.host.removeAttribute(attributeName);
|
|
4746
4877
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
4747
4878
|
}
|
|
4748
4879
|
render() {
|
|
4749
|
-
return (hAsync(Host, { key: '
|
|
4880
|
+
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));
|
|
4750
4881
|
}
|
|
4751
4882
|
onRemoveFileHandler(file) {
|
|
4752
4883
|
const index = this.files.findIndex(item => item.id === file.id);
|
|
@@ -4860,7 +4991,7 @@ class GovFormGroup {
|
|
|
4860
4991
|
this.validateOrientation(this.orientation);
|
|
4861
4992
|
}
|
|
4862
4993
|
render() {
|
|
4863
|
-
return (hAsync(Host, { key: '
|
|
4994
|
+
return (hAsync(Host, { key: 'a16a99205899fe2a9e49702708c8f879c363b111', gap: this.gap, class: this.h.classes(FormGroupClass.root) }, hAsync("slot", { key: '871900cb0682f57fa0856d90b38a683a005240dd' })));
|
|
4864
4995
|
}
|
|
4865
4996
|
get host() { return getElement(this); }
|
|
4866
4997
|
static get watchers() { return {
|
|
@@ -4960,15 +5091,16 @@ class GovFormInput {
|
|
|
4960
5091
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
4961
5092
|
}
|
|
4962
5093
|
disconnectedCallback() {
|
|
4963
|
-
|
|
5094
|
+
var _a;
|
|
5095
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
4964
5096
|
}
|
|
4965
5097
|
render() {
|
|
4966
5098
|
const Tag = this.multiline ? Tags$1.TEXTAREA : Tags$1.INPUT;
|
|
4967
|
-
return (hAsync(Host, { key: '
|
|
4968
|
-
hAsync("div", { key: '
|
|
4969
|
-
hAsync("div", { key: '
|
|
4970
|
-
hAsync("gov-icon", { key: '
|
|
4971
|
-
hAsync("gov-icon", { key: '
|
|
5099
|
+
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) &&
|
|
5100
|
+
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) &&
|
|
5101
|
+
hAsync("div", { key: 'ab940283ca797a54590c73881aabe6e4032d4a77', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, this.success && !this.multiline &&
|
|
5102
|
+
hAsync("gov-icon", { key: 'af0b7c6e3c815eb74318052f490db2241f246707', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && !this.multiline &&
|
|
5103
|
+
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" })));
|
|
4972
5104
|
}
|
|
4973
5105
|
onFocusHandler(e) {
|
|
4974
5106
|
e.stopPropagation();
|
|
@@ -5100,7 +5232,7 @@ class GovFormLabel {
|
|
|
5100
5232
|
}
|
|
5101
5233
|
render() {
|
|
5102
5234
|
const Tag = this.legend ? 'legend' : 'label';
|
|
5103
|
-
return (hAsync(Host, { key: '
|
|
5235
|
+
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)));
|
|
5104
5236
|
}
|
|
5105
5237
|
static get cmpMeta() { return {
|
|
5106
5238
|
"$flags$": 4,
|
|
@@ -5132,7 +5264,7 @@ class GovFormMessage {
|
|
|
5132
5264
|
this.validateColor(this.color);
|
|
5133
5265
|
}
|
|
5134
5266
|
render() {
|
|
5135
|
-
return (hAsync(Host, { key: '
|
|
5267
|
+
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' }))));
|
|
5136
5268
|
}
|
|
5137
5269
|
/**
|
|
5138
5270
|
* Returns unique identifier of message
|
|
@@ -5211,7 +5343,8 @@ class GovFormMultiSelect {
|
|
|
5211
5343
|
this.selectedOptionsState = propsValueToArray(this.value);
|
|
5212
5344
|
}
|
|
5213
5345
|
disconnectedCallback() {
|
|
5214
|
-
|
|
5346
|
+
var _a;
|
|
5347
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
5215
5348
|
}
|
|
5216
5349
|
onAriaAttributeChange(attributeName, newValue) {
|
|
5217
5350
|
this.host.removeAttribute(attributeName);
|
|
@@ -5321,11 +5454,11 @@ class GovFormMultiSelect {
|
|
|
5321
5454
|
});
|
|
5322
5455
|
}
|
|
5323
5456
|
render() {
|
|
5324
|
-
return (hAsync(Host, { key: '
|
|
5457
|
+
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) => {
|
|
5325
5458
|
var _a;
|
|
5326
5459
|
const selectedOption = this.selectedValueIndex(option.value);
|
|
5327
5460
|
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));
|
|
5328
|
-
})), this.h.hasSlot('sufix') && hAsync("slot", { key: '
|
|
5461
|
+
})), 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 => {
|
|
5329
5462
|
var _a, _b;
|
|
5330
5463
|
const option = this.getOption(selected);
|
|
5331
5464
|
if (!option)
|
|
@@ -5435,7 +5568,7 @@ class GovFormPasswordPower {
|
|
|
5435
5568
|
this.power = undefined;
|
|
5436
5569
|
}
|
|
5437
5570
|
render() {
|
|
5438
|
-
return (hAsync(Host, { key: '
|
|
5571
|
+
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' }))));
|
|
5439
5572
|
}
|
|
5440
5573
|
static get cmpMeta() { return {
|
|
5441
5574
|
"$flags$": 4,
|
|
@@ -5500,7 +5633,8 @@ class GovFormRadio {
|
|
|
5500
5633
|
this.hydrated = true;
|
|
5501
5634
|
}
|
|
5502
5635
|
disconnectedCallback() {
|
|
5503
|
-
|
|
5636
|
+
var _a;
|
|
5637
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
5504
5638
|
}
|
|
5505
5639
|
onAriaAttributeChange(attributeName, newValue) {
|
|
5506
5640
|
this.host.removeAttribute(attributeName);
|
|
@@ -5580,7 +5714,7 @@ class GovFormRadio {
|
|
|
5580
5714
|
}; }
|
|
5581
5715
|
}
|
|
5582
5716
|
|
|
5583
|
-
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-
|
|
5717
|
+
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))}";
|
|
5584
5718
|
var GovFormRadioGroupStyle0 = govFormGroupCss;
|
|
5585
5719
|
|
|
5586
5720
|
class GovFormRadioGroup {
|
|
@@ -5627,7 +5761,7 @@ class GovFormRadioGroup {
|
|
|
5627
5761
|
});
|
|
5628
5762
|
}
|
|
5629
5763
|
render() {
|
|
5630
|
-
return (hAsync(Host, { key: '
|
|
5764
|
+
return (hAsync(Host, { key: '332ec3c5c0582167e5543304daa8508cc354ecc5', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, hAsync("slot", { key: '7bfbcec04a7f39226709c9546dbd0f121678d075' })));
|
|
5631
5765
|
}
|
|
5632
5766
|
get host() { return getElement(this); }
|
|
5633
5767
|
static get watchers() { return {
|
|
@@ -5649,6 +5783,217 @@ class GovFormRadioGroup {
|
|
|
5649
5783
|
}; }
|
|
5650
5784
|
}
|
|
5651
5785
|
|
|
5786
|
+
const FormRangeSizes = pick(Sizes, ['_S', '_M', '_L']);
|
|
5787
|
+
const FormRangeClass = {
|
|
5788
|
+
root: 'gov-form-range',
|
|
5789
|
+
fill: 'gov-form-range--fill',
|
|
5790
|
+
input: 'gov-form-range--input',
|
|
5791
|
+
};
|
|
5792
|
+
|
|
5793
|
+
class GovFormRange {
|
|
5794
|
+
constructor(hostRef) {
|
|
5795
|
+
registerInstance(this, hostRef);
|
|
5796
|
+
this.govFocus = createEvent(this, "gov-focus", 7);
|
|
5797
|
+
this.govBlur = createEvent(this, "gov-blur", 7);
|
|
5798
|
+
this.govInput = createEvent(this, "gov-input", 7);
|
|
5799
|
+
this.size = "m";
|
|
5800
|
+
this.value = undefined;
|
|
5801
|
+
this.identifier = undefined;
|
|
5802
|
+
this.name = undefined;
|
|
5803
|
+
this.min = undefined;
|
|
5804
|
+
this.max = undefined;
|
|
5805
|
+
this.step = undefined;
|
|
5806
|
+
this.tooltip = false;
|
|
5807
|
+
this.input = false;
|
|
5808
|
+
this.listIdentifier = undefined;
|
|
5809
|
+
this.required = false;
|
|
5810
|
+
this.success = undefined;
|
|
5811
|
+
this.invalid = undefined;
|
|
5812
|
+
this.disabled = false;
|
|
5813
|
+
this.inheritedAttributes = {};
|
|
5814
|
+
this.h = govHost(this.host);
|
|
5815
|
+
this.f = govForm(this.h);
|
|
5816
|
+
this.inputId = createID("GovInput");
|
|
5817
|
+
}
|
|
5818
|
+
validateSize(newValue) {
|
|
5819
|
+
validateProp(FormRangeSizes, newValue, FormRangeClass.root);
|
|
5820
|
+
}
|
|
5821
|
+
watchValue() {
|
|
5822
|
+
this.controlOutputPosition();
|
|
5823
|
+
}
|
|
5824
|
+
watchControlAttrs() {
|
|
5825
|
+
this.passControlAttrs();
|
|
5826
|
+
}
|
|
5827
|
+
passControlAttrs() {
|
|
5828
|
+
this.f.passAttrToControl("size", this.size);
|
|
5829
|
+
this.f.passAttrToControl("success", toBoolAttr(this.success));
|
|
5830
|
+
this.f.passAttrToControl("disabled", toBoolAttr(this.disabled));
|
|
5831
|
+
this.f.passAttrToControl("invalid", toBoolAttr(this.invalid));
|
|
5832
|
+
}
|
|
5833
|
+
get getThumbWidth() {
|
|
5834
|
+
const styles = window.getComputedStyle(this.inputRef);
|
|
5835
|
+
return parseFloat(styles.getPropertyValue('--thumb-size')) || 1;
|
|
5836
|
+
}
|
|
5837
|
+
controlOutputPosition() {
|
|
5838
|
+
const valueInt = +this.value;
|
|
5839
|
+
const min = +this.inputRef.min;
|
|
5840
|
+
const max = +this.inputRef.max;
|
|
5841
|
+
const thumbWidth = (this.getThumbWidth * 16);
|
|
5842
|
+
const rangeWidth = this.inputRef.offsetWidth;
|
|
5843
|
+
const percentage = ((valueInt - min) / (max - min)) * 100;
|
|
5844
|
+
let tooltipOffset = ((percentage / 100) * (rangeWidth - thumbWidth)) + (thumbWidth / 2);
|
|
5845
|
+
if (this.outputRef) {
|
|
5846
|
+
this.outputRef.textContent = this.value;
|
|
5847
|
+
const outputWidth = this.outputRef.offsetWidth / 2;
|
|
5848
|
+
this.outputRef.style.left = `${tooltipOffset - outputWidth}px`;
|
|
5849
|
+
}
|
|
5850
|
+
if (this.fillRef) {
|
|
5851
|
+
this.fillRef.style.width = `${tooltipOffset}px`;
|
|
5852
|
+
}
|
|
5853
|
+
}
|
|
5854
|
+
componentDidLoad() {
|
|
5855
|
+
this.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {
|
|
5856
|
+
this.onAriaAttributeChange(attributeName, newValue);
|
|
5857
|
+
});
|
|
5858
|
+
this.attributeObserver.startObserving(ariaAttributes);
|
|
5859
|
+
}
|
|
5860
|
+
componentWillLoad() {
|
|
5861
|
+
this.validateSize(this.size);
|
|
5862
|
+
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
5863
|
+
}
|
|
5864
|
+
componentDidRender() {
|
|
5865
|
+
this.passControlAttrs();
|
|
5866
|
+
this.f.passAttrToLabel("required", String(this.required));
|
|
5867
|
+
tick(this.controlOutputPosition.bind(this));
|
|
5868
|
+
}
|
|
5869
|
+
onAriaAttributeChange(attributeName, newValue) {
|
|
5870
|
+
this.host.removeAttribute(attributeName);
|
|
5871
|
+
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
5872
|
+
}
|
|
5873
|
+
disconnectedCallback() {
|
|
5874
|
+
var _a;
|
|
5875
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
5876
|
+
}
|
|
5877
|
+
render() {
|
|
5878
|
+
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 ?
|
|
5879
|
+
hAsync("output", { htmlFor: this.name, ref: el => (this.outputRef = el) }, this.value)
|
|
5880
|
+
: null, hAsync("slot", { key: '4e346163e119d7508942a31bc35b28acd807bdb3', name: "datalist" })), this.h.hasSlot("sufix") && hAsync("slot", { key: '3faaf9ba94069c9a7f3a147e9a6ecfec7a38edc7', name: "sufix" }), this.input ?
|
|
5881
|
+
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))
|
|
5882
|
+
: null));
|
|
5883
|
+
}
|
|
5884
|
+
onCustomInputHandler(e) {
|
|
5885
|
+
const value = e.target.value;
|
|
5886
|
+
if (this.step && isNumber(+this.step)) {
|
|
5887
|
+
const numValue = +value;
|
|
5888
|
+
const numMin = +this.min;
|
|
5889
|
+
const numMax = +this.max;
|
|
5890
|
+
const numStep = +this.step;
|
|
5891
|
+
if (isNaN(numValue)) {
|
|
5892
|
+
return false;
|
|
5893
|
+
}
|
|
5894
|
+
if (numValue < numMin || numValue > numMax) {
|
|
5895
|
+
return false;
|
|
5896
|
+
}
|
|
5897
|
+
const diff = numValue - numMin;
|
|
5898
|
+
if (diff % numStep !== 0) {
|
|
5899
|
+
return false;
|
|
5900
|
+
}
|
|
5901
|
+
this.value = value;
|
|
5902
|
+
this.govInput.emit({
|
|
5903
|
+
component: FormRangeClass.root,
|
|
5904
|
+
value: this.value,
|
|
5905
|
+
originalEvent: e,
|
|
5906
|
+
});
|
|
5907
|
+
}
|
|
5908
|
+
}
|
|
5909
|
+
onInputHandler(e) {
|
|
5910
|
+
this.value = e.target.value;
|
|
5911
|
+
e.stopPropagation();
|
|
5912
|
+
this.govInput.emit({
|
|
5913
|
+
component: FormRangeClass.root,
|
|
5914
|
+
value: this.value,
|
|
5915
|
+
originalEvent: e,
|
|
5916
|
+
});
|
|
5917
|
+
}
|
|
5918
|
+
onFocusHandler(e) {
|
|
5919
|
+
e.stopPropagation();
|
|
5920
|
+
this.govFocus.emit({
|
|
5921
|
+
component: FormRangeClass.root,
|
|
5922
|
+
value: this.value,
|
|
5923
|
+
originalEvent: e,
|
|
5924
|
+
});
|
|
5925
|
+
}
|
|
5926
|
+
onBlurHandler(e) {
|
|
5927
|
+
e.stopPropagation();
|
|
5928
|
+
this.govBlur.emit({
|
|
5929
|
+
component: FormRangeClass.root,
|
|
5930
|
+
value: this.value,
|
|
5931
|
+
originalEvent: e,
|
|
5932
|
+
});
|
|
5933
|
+
}
|
|
5934
|
+
/**
|
|
5935
|
+
* Returns the current state of the component
|
|
5936
|
+
*/
|
|
5937
|
+
async setFocus(options) {
|
|
5938
|
+
return this.inputRef.focus(options);
|
|
5939
|
+
}
|
|
5940
|
+
/**
|
|
5941
|
+
* Sets the ordered value of the element
|
|
5942
|
+
*/
|
|
5943
|
+
async setValue(value) {
|
|
5944
|
+
this.value = value;
|
|
5945
|
+
}
|
|
5946
|
+
/**
|
|
5947
|
+
* Clears input value
|
|
5948
|
+
*/
|
|
5949
|
+
async clearValue() {
|
|
5950
|
+
this.value = "";
|
|
5951
|
+
this.inputRef.value = "";
|
|
5952
|
+
}
|
|
5953
|
+
/**
|
|
5954
|
+
* Returns an instance of the native html input element
|
|
5955
|
+
*/
|
|
5956
|
+
async getRef() {
|
|
5957
|
+
return this.inputRef;
|
|
5958
|
+
}
|
|
5959
|
+
get host() { return getElement(this); }
|
|
5960
|
+
static get watchers() { return {
|
|
5961
|
+
"size": ["validateSize", "watchControlAttrs"],
|
|
5962
|
+
"value": ["watchValue"],
|
|
5963
|
+
"disabled": ["watchControlAttrs"],
|
|
5964
|
+
"invalid": ["watchControlAttrs"],
|
|
5965
|
+
"success": ["watchControlAttrs"]
|
|
5966
|
+
}; }
|
|
5967
|
+
static get cmpMeta() { return {
|
|
5968
|
+
"$flags$": 4,
|
|
5969
|
+
"$tagName$": "gov-form-range",
|
|
5970
|
+
"$members$": {
|
|
5971
|
+
"size": [1],
|
|
5972
|
+
"value": [1537],
|
|
5973
|
+
"identifier": [1],
|
|
5974
|
+
"name": [1],
|
|
5975
|
+
"min": [8],
|
|
5976
|
+
"max": [8],
|
|
5977
|
+
"step": [8],
|
|
5978
|
+
"tooltip": [4],
|
|
5979
|
+
"input": [4],
|
|
5980
|
+
"listIdentifier": [1, "list-identifier"],
|
|
5981
|
+
"required": [516],
|
|
5982
|
+
"success": [516],
|
|
5983
|
+
"invalid": [516],
|
|
5984
|
+
"disabled": [516],
|
|
5985
|
+
"inheritedAttributes": [32],
|
|
5986
|
+
"setFocus": [64],
|
|
5987
|
+
"setValue": [64],
|
|
5988
|
+
"clearValue": [64],
|
|
5989
|
+
"getRef": [64]
|
|
5990
|
+
},
|
|
5991
|
+
"$listeners$": undefined,
|
|
5992
|
+
"$lazyBundleId$": "-",
|
|
5993
|
+
"$attrsToReflect$": [["value", "value"], ["required", "required"], ["success", "success"], ["invalid", "invalid"], ["disabled", "disabled"]]
|
|
5994
|
+
}; }
|
|
5995
|
+
}
|
|
5996
|
+
|
|
5652
5997
|
pick(Sizes, ['_S', '_M', '_L']);
|
|
5653
5998
|
pick(Colors, ['PRIMARY', 'NEUTRAL']);
|
|
5654
5999
|
const FormSearchClass = {
|
|
@@ -5662,7 +6007,7 @@ class GovFormSearch {
|
|
|
5662
6007
|
this.color = 'neutral';
|
|
5663
6008
|
}
|
|
5664
6009
|
render() {
|
|
5665
|
-
return (hAsync(Host, { key: '
|
|
6010
|
+
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" })));
|
|
5666
6011
|
}
|
|
5667
6012
|
get host() { return getElement(this); }
|
|
5668
6013
|
static get cmpMeta() { return {
|
|
@@ -5726,7 +6071,8 @@ class GovFormSelect {
|
|
|
5726
6071
|
this.attributeObserver.startObserving(ariaAttributes);
|
|
5727
6072
|
}
|
|
5728
6073
|
disconnectedCallback() {
|
|
5729
|
-
|
|
6074
|
+
var _a;
|
|
6075
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
5730
6076
|
}
|
|
5731
6077
|
componentWillLoad() {
|
|
5732
6078
|
this.validateSize(this.size);
|
|
@@ -5754,10 +6100,10 @@ class GovFormSelect {
|
|
|
5754
6100
|
});
|
|
5755
6101
|
}
|
|
5756
6102
|
render() {
|
|
5757
|
-
return (hAsync(Host, { key: '
|
|
6103
|
+
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) => {
|
|
5758
6104
|
var _a;
|
|
5759
6105
|
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));
|
|
5760
|
-
})), this.success && hAsync("gov-icon", { key: '
|
|
6106
|
+
})), 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" })));
|
|
5761
6107
|
}
|
|
5762
6108
|
onFocusHandler(e) {
|
|
5763
6109
|
this.focused = true;
|
|
@@ -5874,7 +6220,8 @@ class GovFormSwitch {
|
|
|
5874
6220
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
5875
6221
|
}
|
|
5876
6222
|
disconnectedCallback() {
|
|
5877
|
-
|
|
6223
|
+
var _a;
|
|
6224
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
5878
6225
|
}
|
|
5879
6226
|
async componentDidRender() {
|
|
5880
6227
|
this.f.passAttrToLabel("identifier", this.identifier || this.checkboxId);
|
|
@@ -5972,51 +6319,64 @@ const GridItemClass = {
|
|
|
5972
6319
|
class GovGrid {
|
|
5973
6320
|
constructor(hostRef) {
|
|
5974
6321
|
registerInstance(this, hostRef);
|
|
5975
|
-
this.
|
|
5976
|
-
this.
|
|
6322
|
+
this.columns = "12";
|
|
6323
|
+
this.alignItems = undefined;
|
|
6324
|
+
this.justifyItems = undefined;
|
|
6325
|
+
this.gap = undefined;
|
|
5977
6326
|
this.h = govHost(this.host);
|
|
5978
6327
|
}
|
|
5979
|
-
// vertical / horizontal align
|
|
5980
6328
|
render() {
|
|
5981
|
-
return (hAsync(Host, { key: '
|
|
6329
|
+
return (hAsync(Host, { key: 'e5ca7f6e3554f0e3bd52731a81c3ae4cc809a8dd', class: this.h.classes(GridClass.root), role: "list" }, hAsync("slot", { key: 'e99880d69919891b5b22c0eab933069fbcb4852c' })));
|
|
5982
6330
|
}
|
|
5983
6331
|
get host() { return getElement(this); }
|
|
5984
6332
|
static get cmpMeta() { return {
|
|
5985
6333
|
"$flags$": 4,
|
|
5986
6334
|
"$tagName$": "gov-grid",
|
|
5987
6335
|
"$members$": {
|
|
5988
|
-
"
|
|
5989
|
-
"
|
|
6336
|
+
"columns": [513],
|
|
6337
|
+
"alignItems": [513, "align-items"],
|
|
6338
|
+
"justifyItems": [513, "justify-items"],
|
|
6339
|
+
"gap": [513]
|
|
5990
6340
|
},
|
|
5991
6341
|
"$listeners$": undefined,
|
|
5992
6342
|
"$lazyBundleId$": "-",
|
|
5993
|
-
"$attrsToReflect$": []
|
|
6343
|
+
"$attrsToReflect$": [["columns", "columns"], ["alignItems", "align-items"], ["justifyItems", "justify-items"], ["gap", "gap"]]
|
|
5994
6344
|
}; }
|
|
5995
6345
|
}
|
|
5996
6346
|
|
|
5997
6347
|
class GovGridItem {
|
|
5998
6348
|
constructor(hostRef) {
|
|
5999
6349
|
registerInstance(this, hostRef);
|
|
6000
|
-
this.
|
|
6001
|
-
this.
|
|
6002
|
-
this.
|
|
6003
|
-
this.
|
|
6004
|
-
this.
|
|
6350
|
+
this.column = "12";
|
|
6351
|
+
this.columnSm = undefined;
|
|
6352
|
+
this.columnMd = undefined;
|
|
6353
|
+
this.columnLg = undefined;
|
|
6354
|
+
this.columnXl = undefined;
|
|
6355
|
+
this.row = "1";
|
|
6356
|
+
this.rowSm = undefined;
|
|
6357
|
+
this.rowMd = undefined;
|
|
6358
|
+
this.rowLg = undefined;
|
|
6359
|
+
this.rowXl = undefined;
|
|
6005
6360
|
this.h = govHost(this.host);
|
|
6006
6361
|
}
|
|
6007
6362
|
render() {
|
|
6008
|
-
return (hAsync(Host, { key: '
|
|
6363
|
+
return (hAsync(Host, { key: '30f35aa2a7d4c2456164b6f0001a915796a07b9c', class: this.h.classes(GridItemClass.root), role: "listitem" }, hAsync("slot", { key: '25e3d4f401f56697a3f90abd01b9add8fa1d238b' })));
|
|
6009
6364
|
}
|
|
6010
6365
|
get host() { return getElement(this); }
|
|
6011
6366
|
static get cmpMeta() { return {
|
|
6012
6367
|
"$flags$": 4,
|
|
6013
6368
|
"$tagName$": "gov-grid-item",
|
|
6014
6369
|
"$members$": {
|
|
6015
|
-
"
|
|
6016
|
-
"
|
|
6017
|
-
"
|
|
6018
|
-
"
|
|
6019
|
-
"
|
|
6370
|
+
"column": [1, "col-span"],
|
|
6371
|
+
"columnSm": [1, "col-span-sm"],
|
|
6372
|
+
"columnMd": [1, "col-span-md"],
|
|
6373
|
+
"columnLg": [1, "col-span-lg"],
|
|
6374
|
+
"columnXl": [1, "col-span-xl"],
|
|
6375
|
+
"row": [1, "row-span"],
|
|
6376
|
+
"rowSm": [1, "row-span-sm"],
|
|
6377
|
+
"rowMd": [1, "row-span-md"],
|
|
6378
|
+
"rowLg": [1, "row-span-lg"],
|
|
6379
|
+
"rowXl": [1, "row-span-xl"]
|
|
6020
6380
|
},
|
|
6021
6381
|
"$listeners$": undefined,
|
|
6022
6382
|
"$lazyBundleId$": "-",
|
|
@@ -6048,7 +6408,7 @@ const IconClass = {
|
|
|
6048
6408
|
holder: 'gov-icon__holder',
|
|
6049
6409
|
};
|
|
6050
6410
|
|
|
6051
|
-
const version = "4.1
|
|
6411
|
+
const version = "4.2.1";
|
|
6052
6412
|
|
|
6053
6413
|
const dsVersion = () => {
|
|
6054
6414
|
return version;
|
|
@@ -6187,8 +6547,6 @@ class GovIcon {
|
|
|
6187
6547
|
this.host.innerHTML = isValid ? data : null;
|
|
6188
6548
|
}
|
|
6189
6549
|
catch (e) {
|
|
6190
|
-
console.log(e);
|
|
6191
|
-
console.log(JSON.stringify(e));
|
|
6192
6550
|
this.host.innerHTML = '';
|
|
6193
6551
|
this.error = true;
|
|
6194
6552
|
}
|
|
@@ -6265,15 +6623,16 @@ class GovInfobar {
|
|
|
6265
6623
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
6266
6624
|
}
|
|
6267
6625
|
disconnectedCallback() {
|
|
6268
|
-
|
|
6626
|
+
var _a;
|
|
6627
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
6269
6628
|
}
|
|
6270
6629
|
onAriaAttributeChange(attributeName, newValue) {
|
|
6271
6630
|
this.host.removeAttribute(attributeName);
|
|
6272
6631
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
6273
6632
|
}
|
|
6274
6633
|
render() {
|
|
6275
|
-
const closeButton = (hAsync("gov-button", { key: '
|
|
6276
|
-
return (hAsync(Host, { key: '
|
|
6634
|
+
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" })));
|
|
6635
|
+
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)));
|
|
6277
6636
|
}
|
|
6278
6637
|
onCloseHandler(e) {
|
|
6279
6638
|
this.govClose.emit({
|
|
@@ -6342,7 +6701,7 @@ class GovLayout {
|
|
|
6342
6701
|
return originalClass + ' ' + originalClass + isType + isVariant + isInverse;
|
|
6343
6702
|
}
|
|
6344
6703
|
render() {
|
|
6345
|
-
return (hAsync(Host, { key: '
|
|
6704
|
+
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' }))));
|
|
6346
6705
|
}
|
|
6347
6706
|
get host() { return getElement(this); }
|
|
6348
6707
|
static get cmpMeta() { return {
|
|
@@ -6365,7 +6724,7 @@ class GovLayoutColumn {
|
|
|
6365
6724
|
this.h = govHost(this.host);
|
|
6366
6725
|
}
|
|
6367
6726
|
render() {
|
|
6368
|
-
return (hAsync(Host, { key: '
|
|
6727
|
+
return (hAsync(Host, { key: '48f578ba8365e6f3748a4ac6766784a4062846e1', class: this.h.classes(LayoutColumnClass.root) }, hAsync("slot", { key: 'd5aca194eda1174fa71401f66d17743d1f260a50' })));
|
|
6369
6728
|
}
|
|
6370
6729
|
get host() { return getElement(this); }
|
|
6371
6730
|
static get cmpMeta() { return {
|
|
@@ -6411,7 +6770,7 @@ class GovLifecycle {
|
|
|
6411
6770
|
console.log('componentDidUpdate', this.uniqueId);
|
|
6412
6771
|
}
|
|
6413
6772
|
render() {
|
|
6414
|
-
return (hAsync(Host, { key: '
|
|
6773
|
+
return (hAsync(Host, { key: '8c519b9d20ae1a95fc4ac207fe447916219deaf4', identifier: this.uniqueId }, hAsync("span", { key: 'd034bb091344d475bbb1a420d35e88dd1291ba45' }, "lifecycle ", this.uniqueId)));
|
|
6415
6774
|
}
|
|
6416
6775
|
static get cmpMeta() { return {
|
|
6417
6776
|
"$flags$": 0,
|
|
@@ -6426,6 +6785,7 @@ class GovLifecycle {
|
|
|
6426
6785
|
const LinkSizes = pick(Sizes, ['_S', '_M', '_L']);
|
|
6427
6786
|
const LinkClass = {
|
|
6428
6787
|
root: 'gov-link',
|
|
6788
|
+
external: 'gov-link--external',
|
|
6429
6789
|
};
|
|
6430
6790
|
|
|
6431
6791
|
class GovLink {
|
|
@@ -6433,6 +6793,7 @@ class GovLink {
|
|
|
6433
6793
|
registerInstance(this, hostRef);
|
|
6434
6794
|
this.size = 'm';
|
|
6435
6795
|
this.external = false;
|
|
6796
|
+
this.truncate = false;
|
|
6436
6797
|
this.href = undefined;
|
|
6437
6798
|
this.target = undefined;
|
|
6438
6799
|
this.inheritedAttributes = {};
|
|
@@ -6450,7 +6811,7 @@ class GovLink {
|
|
|
6450
6811
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
6451
6812
|
}
|
|
6452
6813
|
render() {
|
|
6453
|
-
return (hAsync(Host, { key: '
|
|
6814
|
+
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 }))));
|
|
6454
6815
|
}
|
|
6455
6816
|
get host() { return getElement(this); }
|
|
6456
6817
|
static get watchers() { return {
|
|
@@ -6462,6 +6823,7 @@ class GovLink {
|
|
|
6462
6823
|
"$members$": {
|
|
6463
6824
|
"size": [1],
|
|
6464
6825
|
"external": [4],
|
|
6826
|
+
"truncate": [4],
|
|
6465
6827
|
"href": [1],
|
|
6466
6828
|
"target": [1],
|
|
6467
6829
|
"inheritedAttributes": [32]
|
|
@@ -6492,7 +6854,7 @@ class GovLoading {
|
|
|
6492
6854
|
this.validateSize(this.size);
|
|
6493
6855
|
}
|
|
6494
6856
|
render() {
|
|
6495
|
-
return (hAsync(Host, { key: '
|
|
6857
|
+
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 })));
|
|
6496
6858
|
}
|
|
6497
6859
|
get host() { return getElement(this); }
|
|
6498
6860
|
static get watchers() { return {
|
|
@@ -6532,7 +6894,7 @@ class GovMessage {
|
|
|
6532
6894
|
validateProp(Colors, newValue, MessageClass.root);
|
|
6533
6895
|
}
|
|
6534
6896
|
render() {
|
|
6535
|
-
return (hAsync(Host, { key: '
|
|
6897
|
+
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' }))));
|
|
6536
6898
|
}
|
|
6537
6899
|
get host() { return getElement(this); }
|
|
6538
6900
|
static get watchers() { return {
|
|
@@ -6674,7 +7036,8 @@ class GovPagination {
|
|
|
6674
7036
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
6675
7037
|
}
|
|
6676
7038
|
disconnectedCallback() {
|
|
6677
|
-
|
|
7039
|
+
var _a;
|
|
7040
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
6678
7041
|
}
|
|
6679
7042
|
onAriaAttributeChange(attributeName, newValue) {
|
|
6680
7043
|
this.host.removeAttribute(attributeName);
|
|
@@ -6833,7 +7196,8 @@ class GovSkeleton {
|
|
|
6833
7196
|
this.init();
|
|
6834
7197
|
}
|
|
6835
7198
|
disconnectedCallback() {
|
|
6836
|
-
|
|
7199
|
+
var _a;
|
|
7200
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
6837
7201
|
}
|
|
6838
7202
|
onAriaAttributeChange(attributeName, newValue) {
|
|
6839
7203
|
this.host.removeAttribute(attributeName);
|
|
@@ -6856,7 +7220,7 @@ class GovSkeleton {
|
|
|
6856
7220
|
return Object.assign({}, dimenssionsStyles);
|
|
6857
7221
|
}
|
|
6858
7222
|
render() {
|
|
6859
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
7223
|
+
return (hAsync(Host, Object.assign({ key: 'fa43a5bc92210a51bb681449542c6f5c2863e3ad', size: this.size, color: this.color, class: {
|
|
6860
7224
|
[SkeletonClass.root]: true,
|
|
6861
7225
|
circle: this.shape === "circle",
|
|
6862
7226
|
line: this.shape === "line",
|
|
@@ -6919,7 +7283,7 @@ class GovSpacer {
|
|
|
6919
7283
|
this.validateBreakpoint(this.breakpoint);
|
|
6920
7284
|
}
|
|
6921
7285
|
render() {
|
|
6922
|
-
return hAsync(Host, { key: '
|
|
7286
|
+
return hAsync(Host, { key: 'f4c81a7820625de045b36a5bee9ced0eebe8e433', class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
|
|
6923
7287
|
}
|
|
6924
7288
|
get host() { return getElement(this); }
|
|
6925
7289
|
static get watchers() { return {
|
|
@@ -6948,7 +7312,9 @@ const StepperItemClass = {
|
|
|
6948
7312
|
root: 'gov-stepper-item',
|
|
6949
7313
|
header: 'gov-stepper-item__header',
|
|
6950
7314
|
label: 'gov-stepper-item__label',
|
|
7315
|
+
steps: 'gov-stepper-item__steps',
|
|
6951
7316
|
prefix: 'gov-stepper-item__prefix',
|
|
7317
|
+
main: 'gov-stepper-item__main',
|
|
6952
7318
|
headline: 'gov-stepper-item__headline',
|
|
6953
7319
|
annotation: 'gov-stepper-item__annotation',
|
|
6954
7320
|
content: 'gov-stepper-item__content',
|
|
@@ -6981,7 +7347,7 @@ class GovStepper {
|
|
|
6981
7347
|
this.hydrated = true;
|
|
6982
7348
|
}
|
|
6983
7349
|
render() {
|
|
6984
|
-
return (hAsync(Host, { key: '
|
|
7350
|
+
return (hAsync(Host, { key: 'bd6e7b6f72fd48d41b692c92beb9446cf1e5e943', class: this.h.classes(StepperClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: '81ca63a0aa077cbcfe944c22aed8e3d6cb05af83' })));
|
|
6985
7351
|
}
|
|
6986
7352
|
get host() { return getElement(this); }
|
|
6987
7353
|
static get watchers() { return {
|
|
@@ -7023,7 +7389,7 @@ class GovStepperItem {
|
|
|
7023
7389
|
render() {
|
|
7024
7390
|
const triggerId = this.identifier || this.triggerId;
|
|
7025
7391
|
const contentId = this.contentId;
|
|
7026
|
-
return (hAsync(Host, { key: '
|
|
7392
|
+
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" })))))));
|
|
7027
7393
|
}
|
|
7028
7394
|
get host() { return getElement(this); }
|
|
7029
7395
|
static get watchers() { return {
|
|
@@ -7103,7 +7469,8 @@ class GovTabs {
|
|
|
7103
7469
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
7104
7470
|
}
|
|
7105
7471
|
disconnectedCallback() {
|
|
7106
|
-
|
|
7472
|
+
var _a;
|
|
7473
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
7107
7474
|
}
|
|
7108
7475
|
onAriaAttributeChange(attributeName, newValue) {
|
|
7109
7476
|
this.host.removeAttribute(attributeName);
|
|
@@ -7174,7 +7541,7 @@ class GovTabs {
|
|
|
7174
7541
|
});
|
|
7175
7542
|
}
|
|
7176
7543
|
render() {
|
|
7177
|
-
return (hAsync(Host, { key: '
|
|
7544
|
+
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' })));
|
|
7178
7545
|
}
|
|
7179
7546
|
getCurrentTab() {
|
|
7180
7547
|
return this.controllers.find(control => control.active) || null;
|
|
@@ -7307,7 +7674,7 @@ class GovTabsItem {
|
|
|
7307
7674
|
}
|
|
7308
7675
|
}
|
|
7309
7676
|
render() {
|
|
7310
|
-
return (hAsync(Host, { key: '
|
|
7677
|
+
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' }))));
|
|
7311
7678
|
}
|
|
7312
7679
|
/**
|
|
7313
7680
|
* Returns a unique tab content identifier
|
|
@@ -7395,7 +7762,7 @@ class GovTag {
|
|
|
7395
7762
|
render() {
|
|
7396
7763
|
const iconStart = prepareIconFormat(this.iconStart);
|
|
7397
7764
|
const iconEnd = prepareIconFormat(this.iconEnd);
|
|
7398
|
-
return (hAsync(Host, { key: '
|
|
7765
|
+
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 })))));
|
|
7399
7766
|
}
|
|
7400
7767
|
get host() { return getElement(this); }
|
|
7401
7768
|
static get watchers() { return {
|
|
@@ -7423,6 +7790,7 @@ const ThemeSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL']);
|
|
|
7423
7790
|
const ThemeSwitchClass = {
|
|
7424
7791
|
root: 'gov-theme-switch',
|
|
7425
7792
|
indicator: 'gov-theme-switch__indicator',
|
|
7793
|
+
label: 'gov-theme-switch__label',
|
|
7426
7794
|
iconLight: 'gov-theme-switch__icon-light',
|
|
7427
7795
|
iconDark: 'gov-theme-switch__icon-dark',
|
|
7428
7796
|
};
|
|
@@ -7497,7 +7865,7 @@ class GovThemeSwitch {
|
|
|
7497
7865
|
if (this.theme === ThemeList.auto) {
|
|
7498
7866
|
isDark = this.isSystemPrefersColorDark;
|
|
7499
7867
|
}
|
|
7500
|
-
return (hAsync(Host, { key: '
|
|
7868
|
+
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))));
|
|
7501
7869
|
}
|
|
7502
7870
|
get host() { return getElement(this); }
|
|
7503
7871
|
static get watchers() { return {
|
|
@@ -7544,7 +7912,7 @@ class GovTile {
|
|
|
7544
7912
|
this.h = govHost(this.host);
|
|
7545
7913
|
}
|
|
7546
7914
|
render() {
|
|
7547
|
-
return (hAsync(Host, { key: '
|
|
7915
|
+
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" }))));
|
|
7548
7916
|
}
|
|
7549
7917
|
/**
|
|
7550
7918
|
* Returns a clickable element instance
|
|
@@ -7570,32 +7938,6 @@ class GovTile {
|
|
|
7570
7938
|
}; }
|
|
7571
7939
|
}
|
|
7572
7940
|
|
|
7573
|
-
const TilesClass = {
|
|
7574
|
-
root: 'gov-tiles',
|
|
7575
|
-
};
|
|
7576
|
-
|
|
7577
|
-
class GovTiles {
|
|
7578
|
-
constructor(hostRef) {
|
|
7579
|
-
registerInstance(this, hostRef);
|
|
7580
|
-
this.columns = 4;
|
|
7581
|
-
this.h = govHost(this.host);
|
|
7582
|
-
}
|
|
7583
|
-
render() {
|
|
7584
|
-
return (hAsync(Host, { key: '18eb380e2fe62b54a90c5c758c62c985107c98d4', class: this.h.classes(TilesClass.root) }, hAsync("slot", { key: '9746ede80d0daa8776208afb5cef44b7adb0d7fc' })));
|
|
7585
|
-
}
|
|
7586
|
-
get host() { return getElement(this); }
|
|
7587
|
-
static get cmpMeta() { return {
|
|
7588
|
-
"$flags$": 4,
|
|
7589
|
-
"$tagName$": "gov-tiles",
|
|
7590
|
-
"$members$": {
|
|
7591
|
-
"columns": [514]
|
|
7592
|
-
},
|
|
7593
|
-
"$listeners$": undefined,
|
|
7594
|
-
"$lazyBundleId$": "-",
|
|
7595
|
-
"$attrsToReflect$": [["columns", "columns"]]
|
|
7596
|
-
}; }
|
|
7597
|
-
}
|
|
7598
|
-
|
|
7599
7941
|
const ToastColors = pick(Colors, ['PRIMARY', 'NEUTRAL', 'ERROR', 'SUCCESS', 'WARNING']);
|
|
7600
7942
|
var ToastType;
|
|
7601
7943
|
(function (ToastType) {
|
|
@@ -7641,8 +7983,9 @@ class GovToast {
|
|
|
7641
7983
|
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
7642
7984
|
}
|
|
7643
7985
|
disconnectedCallback() {
|
|
7986
|
+
var _a;
|
|
7644
7987
|
clearTimeout(this.timeout);
|
|
7645
|
-
this.attributeObserver.stopObserving();
|
|
7988
|
+
(_a = this.attributeObserver) === null || _a === void 0 ? void 0 : _a.stopObserving();
|
|
7646
7989
|
}
|
|
7647
7990
|
onAriaAttributeChange(attributeName, newValue) {
|
|
7648
7991
|
this.host.removeAttribute(attributeName);
|
|
@@ -7660,7 +8003,7 @@ class GovToast {
|
|
|
7660
8003
|
}
|
|
7661
8004
|
}
|
|
7662
8005
|
render() {
|
|
7663
|
-
return (hAsync(Host, { key: '
|
|
8006
|
+
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 })));
|
|
7664
8007
|
}
|
|
7665
8008
|
onCloseHandler() {
|
|
7666
8009
|
this.govClose.emit(this.toastId);
|
|
@@ -7917,11 +8260,11 @@ class GovTooltip {
|
|
|
7917
8260
|
}
|
|
7918
8261
|
render() {
|
|
7919
8262
|
var _a;
|
|
7920
|
-
return (hAsync(Host, { key: '
|
|
8263
|
+
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: () => {
|
|
7921
8264
|
if (this.persist === false) {
|
|
7922
8265
|
this.hideTooltip();
|
|
7923
8266
|
}
|
|
7924
|
-
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '
|
|
8267
|
+
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: 'a206caa511be168a6df2a34110b2aeeffe732354' }))));
|
|
7925
8268
|
}
|
|
7926
8269
|
/**
|
|
7927
8270
|
* Showing the modal
|
|
@@ -7992,7 +8335,7 @@ class GovTooltipContent {
|
|
|
7992
8335
|
}
|
|
7993
8336
|
}
|
|
7994
8337
|
render() {
|
|
7995
|
-
return (hAsync(Host, { key: '
|
|
8338
|
+
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));
|
|
7996
8339
|
}
|
|
7997
8340
|
get host() { return getElement(this); }
|
|
7998
8341
|
static get watchers() { return {
|
|
@@ -8066,7 +8409,7 @@ class GovWizard {
|
|
|
8066
8409
|
this.hydrated = true;
|
|
8067
8410
|
}
|
|
8068
8411
|
render() {
|
|
8069
|
-
return (hAsync(Host, { key: '
|
|
8412
|
+
return (hAsync(Host, { key: '139efd57338b63026c56d3feea4aea70de7e0784', class: this.h.classes(WizardClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: '7ac5d8219bea45ef32ded0785cb94c052a001f35' })));
|
|
8070
8413
|
}
|
|
8071
8414
|
/**
|
|
8072
8415
|
* Validate the WCAG attributes of the component
|
|
@@ -8128,8 +8471,8 @@ class GovWizardItem {
|
|
|
8128
8471
|
render() {
|
|
8129
8472
|
const triggerId = this.identifier || this.triggerId;
|
|
8130
8473
|
const Tag = this.collapsible ? Tags.BUTTON : Tags.DIV;
|
|
8131
|
-
const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: '
|
|
8132
|
-
return (hAsync(Host, { key: '
|
|
8474
|
+
const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: '394a8843e47dd540dd1b22ba6cec699f73d55870', class: WizardItemClass.prefix }, hAsync("slot", { key: '811680c41b1729b689a0679e16e3aba4455d4d17', name: "prefix" })));
|
|
8475
|
+
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) => {
|
|
8133
8476
|
e.preventDefault();
|
|
8134
8477
|
e.stopPropagation();
|
|
8135
8478
|
this.toggle();
|
|
@@ -8193,6 +8536,8 @@ registerComponents([
|
|
|
8193
8536
|
GovAttachments,
|
|
8194
8537
|
GovAttachmentsItem,
|
|
8195
8538
|
GovBackdrop,
|
|
8539
|
+
GovBanner,
|
|
8540
|
+
GovBlockquote,
|
|
8196
8541
|
GovBreadcrumbs,
|
|
8197
8542
|
GovButton,
|
|
8198
8543
|
GovCard,
|
|
@@ -8218,6 +8563,7 @@ registerComponents([
|
|
|
8218
8563
|
GovFormPasswordPower,
|
|
8219
8564
|
GovFormRadio,
|
|
8220
8565
|
GovFormRadioGroup,
|
|
8566
|
+
GovFormRange,
|
|
8221
8567
|
GovFormSearch,
|
|
8222
8568
|
GovFormSelect,
|
|
8223
8569
|
GovFormSwitch,
|
|
@@ -8241,7 +8587,6 @@ registerComponents([
|
|
|
8241
8587
|
GovTag,
|
|
8242
8588
|
GovThemeSwitch,
|
|
8243
8589
|
GovTile,
|
|
8244
|
-
GovTiles,
|
|
8245
8590
|
GovToast,
|
|
8246
8591
|
GovTooltip,
|
|
8247
8592
|
GovTooltipContent,
|