@gov-design-system-ce/components 4.1.3-BETA-10 → 4.2.0
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/{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 +2 -2
- package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-banner.cjs.entry.js +79 -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 +1 -1
- package/dist/cjs/gov-button.cjs.entry.js +5 -4
- package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-card.cjs.entry.js +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 +1 -1
- 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 +3 -2
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +3 -3
- 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 +4 -3
- 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-search.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-select.cjs.entry.js +4 -3
- 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 +2 -1
- package/dist/cjs/gov-link.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-loading.cjs.entry.js +1 -1
- package/dist/cjs/gov-message.cjs.entry.js +1 -1
- package/dist/cjs/gov-message.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-pagination.cjs.entry.js +2 -1
- 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 +3 -2
- 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 +1 -1
- package/dist/cjs/index-0e4f24f9.js +8 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -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 +202 -0
- package/dist/collection/components/gov-banner/gov-banner.js.map +1 -0
- package/dist/collection/components/gov-blocquote/constants.js +10 -0
- package/dist/collection/components/gov-blocquote/constants.js.map +1 -0
- package/dist/collection/components/gov-blocquote/gov-blockquote.js +61 -0
- package/dist/collection/components/gov-blocquote/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 +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/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 +1 -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/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 +2 -2
- 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/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/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 +110 -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-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-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-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.js +1 -1
- package/dist/components/gov-lifecycle.js +1 -1
- package/dist/components/gov-link.js +1 -1
- package/dist/components/gov-link.js.map +1 -1
- package/dist/components/gov-loading.js +1 -1
- package/dist/components/gov-loading.js.map +1 -1
- package/dist/components/gov-message.js +1 -1
- package/dist/components/gov-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-tooltip.js.map +1 -1
- package/dist/components/gov-wizard-item.js +1 -1
- package/dist/components/gov-wizard.js +1 -1
- package/dist/components/p-0327a469.js +2 -0
- package/dist/components/p-0327a469.js.map +1 -0
- package/dist/components/p-2ca5423c.js +2 -0
- package/dist/components/p-2ca5423c.js.map +1 -0
- package/dist/components/p-2fc08a71.js +2 -0
- package/dist/components/p-2fc08a71.js.map +1 -0
- package/dist/components/p-3c90521b.js +2 -0
- package/dist/components/p-3c90521b.js.map +1 -0
- package/dist/components/p-3fead64a.js +2 -0
- package/dist/components/p-3fead64a.js.map +1 -0
- package/dist/components/p-4fba9df0.js +2 -0
- package/dist/components/p-4fba9df0.js.map +1 -0
- package/dist/components/p-69a31c96.js +2 -0
- package/dist/components/p-69a31c96.js.map +1 -0
- package/dist/components/p-b533871a.js +2 -0
- package/dist/components/p-b533871a.js.map +1 -0
- package/dist/components/p-b5dc6bae.js +2 -0
- package/dist/components/p-b5dc6bae.js.map +1 -0
- package/dist/components/p-ea128b8b.js +2 -0
- package/dist/components/p-ea128b8b.js.map +1 -0
- package/dist/components/p-f9a1ff6e.js +2 -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 +2711 -1506
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-005214d1.entry.js +2 -0
- package/dist/core/p-0ef1f684.entry.js +2 -0
- package/dist/core/p-0ef1f684.entry.js.map +1 -0
- package/dist/core/p-0fc9ea97.entry.js +2 -0
- package/dist/core/p-0fc9ea97.entry.js.map +1 -0
- package/dist/core/p-132c9a87.entry.js +2 -0
- package/dist/core/p-132c9a87.entry.js.map +1 -0
- package/dist/core/p-16d3a79a.entry.js +2 -0
- package/dist/core/{p-49ebfe10.entry.js.map → p-16d3a79a.entry.js.map} +1 -1
- package/dist/core/p-16f44a0b.entry.js +2 -0
- package/dist/core/p-16f44a0b.entry.js.map +1 -0
- package/dist/core/p-1c7c9144.entry.js +2 -0
- package/dist/core/p-1cf1dd10.entry.js +2 -0
- package/dist/core/{p-bd667900.entry.js.map → p-1cf1dd10.entry.js.map} +1 -1
- package/dist/core/{p-9fcb2ba7.entry.js → p-23b4dcd3.entry.js} +2 -2
- package/dist/core/p-2536a8ff.entry.js +2 -0
- package/dist/core/p-2536a8ff.entry.js.map +1 -0
- package/dist/core/p-28d1bc01.entry.js +2 -0
- package/dist/core/p-28d1bc01.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-a5648769.entry.js → p-3acaa012.entry.js} +2 -2
- package/dist/core/{p-a5648769.entry.js.map → p-3acaa012.entry.js.map} +1 -1
- package/dist/core/p-3d7fb8f8.entry.js +2 -0
- package/dist/core/p-3d7fb8f8.entry.js.map +1 -0
- package/dist/core/{p-fd7a3951.entry.js → p-46ecf09e.entry.js} +2 -2
- package/dist/core/p-49cd4d0d.entry.js +2 -0
- package/dist/core/{p-0932c74d.entry.js.map → p-49cd4d0d.entry.js.map} +1 -1
- package/dist/core/{p-eed4e606.entry.js → p-5108eb37.entry.js} +2 -2
- package/dist/core/{p-eed4e606.entry.js.map → p-5108eb37.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-ab500948.entry.js → p-5242b51b.entry.js} +2 -2
- package/dist/core/p-564555e6.entry.js +2 -0
- package/dist/core/p-59fe6cbc.entry.js +2 -0
- package/dist/core/p-59fe6cbc.entry.js.map +1 -0
- package/dist/core/p-650fe9e8.entry.js +2 -0
- package/dist/core/{p-9e77f076.entry.js.map → p-650fe9e8.entry.js.map} +1 -1
- package/dist/core/p-6e41cf69.entry.js +2 -0
- package/dist/core/p-7399ad59.entry.js +2 -0
- package/dist/core/p-7399ad59.entry.js.map +1 -0
- package/dist/core/p-79ec86da.entry.js +2 -0
- package/dist/core/p-80bebb7f.entry.js +2 -0
- package/dist/core/p-80bebb7f.entry.js.map +1 -0
- package/dist/core/p-8cbe8add.entry.js +2 -0
- package/dist/core/{p-e078dab3.entry.js.map → p-8cbe8add.entry.js.map} +1 -1
- package/dist/core/p-8f73f8e0.entry.js +2 -0
- package/dist/core/p-94119ad4.entry.js +2 -0
- package/dist/core/p-94119ad4.entry.js.map +1 -0
- package/dist/core/p-952ab9e5.entry.js +2 -0
- package/dist/core/{p-a8a5e8ca.entry.js.map → p-952ab9e5.entry.js.map} +1 -1
- package/dist/core/{p-5ff7f0c4.entry.js → p-99f192c1.entry.js} +2 -2
- package/dist/core/p-9ae280b2.entry.js +2 -0
- package/dist/core/p-9ae280b2.entry.js.map +1 -0
- package/dist/core/p-9c1601b3.entry.js +2 -0
- package/dist/core/p-9c1601b3.entry.js.map +1 -0
- package/dist/core/p-a02f2547.entry.js +2 -0
- package/dist/core/p-ab11081d.entry.js +2 -0
- package/dist/core/p-ab11081d.entry.js.map +1 -0
- package/dist/core/p-ab868410.entry.js +2 -0
- package/dist/core/{p-f9474bb3.entry.js.map → p-ab868410.entry.js.map} +1 -1
- package/dist/core/{p-a58f4e2b.entry.js → p-ae88fe6b.entry.js} +2 -2
- package/dist/core/p-c07f6bb4.entry.js +2 -0
- package/dist/core/p-c07f6bb4.entry.js.map +1 -0
- package/dist/core/{p-d512059d.entry.js → p-c2abc031.entry.js} +2 -2
- package/dist/core/p-c688349d.entry.js +2 -0
- package/dist/core/p-c6fdc0a9.entry.js +2 -0
- package/dist/core/p-c6fdc0a9.entry.js.map +1 -0
- package/dist/core/p-c91512dd.entry.js +2 -0
- package/dist/core/p-cf9d5c2f.entry.js +2 -0
- package/dist/core/p-cf9d5c2f.entry.js.map +1 -0
- package/dist/core/p-d1270d72.entry.js +2 -0
- package/dist/core/{p-93179cbf.entry.js.map → p-d1270d72.entry.js.map} +1 -1
- package/dist/core/p-d141e9ca.entry.js +2 -0
- package/dist/core/p-d141e9ca.entry.js.map +1 -0
- package/dist/core/p-de852480.entry.js +2 -0
- package/dist/core/p-e89471ef.entry.js +2 -0
- package/dist/core/p-ea128b8b.js +2 -0
- package/dist/core/p-ea128b8b.js.map +1 -0
- package/dist/core/p-eb8a9705.entry.js +2 -0
- package/dist/core/p-eb8a9705.entry.js.map +1 -0
- package/dist/core/p-ee950038.entry.js +2 -0
- package/dist/core/p-ee950038.entry.js.map +1 -0
- package/dist/core/p-f0e001c7.entry.js +2 -0
- package/dist/core/{p-c9d70c7a.entry.js.map → p-f0e001c7.entry.js.map} +1 -1
- package/dist/core/{p-9514520c.entry.js → p-f120ba66.entry.js} +2 -2
- package/dist/core/p-f120ba66.entry.js.map +1 -0
- package/dist/core/p-f333c673.entry.js +2 -0
- package/dist/core/{p-07b1fa1c.entry.js.map → p-f333c673.entry.js.map} +1 -1
- package/dist/core/p-f7e47c0a.entry.js +2 -0
- package/dist/core/p-f7e47c0a.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/{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 +2 -2
- package/dist/esm/gov-attachments_3.entry.js.map +1 -1
- package/dist/esm/gov-banner.entry.js +75 -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 +1 -1
- package/dist/esm/gov-button.entry.js +5 -4
- package/dist/esm/gov-button.entry.js.map +1 -1
- package/dist/esm/gov-card.entry.js +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 +1 -1
- 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 +3 -2
- package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
- package/dist/esm/gov-form-checkbox-group.entry.js +3 -3
- 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 +4 -3
- 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-search.entry.js +1 -1
- package/dist/esm/gov-form-select.entry.js +4 -3
- 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 +2 -1
- package/dist/esm/gov-link.entry.js.map +1 -1
- package/dist/esm/gov-loading.entry.js +1 -1
- package/dist/esm/gov-message.entry.js +1 -1
- package/dist/esm/gov-message.entry.js.map +1 -1
- package/dist/esm/gov-pagination.entry.js +2 -1
- 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 +3 -2
- 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 +1 -1
- package/dist/esm/index-bf8a6f64.js +8 -4
- package/dist/esm/loader.js +1 -1
- package/dist/hydrate/index.js +246 -128
- package/dist/hydrate/index.mjs +246 -128
- package/dist/stencil.config.js +2 -1
- 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 +38 -0
- package/dist/types/components/gov-blocquote/constants.d.ts +10 -0
- package/dist/types/components/gov-blocquote/gov-blockquote.d.ts +15 -0
- package/dist/types/components/gov-button/button/constants.d.ts +1 -1
- 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-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-stepper/constants.d.ts +2 -0
- package/dist/types/components/gov-theme-switch/constants.d.ts +1 -0
- package/dist/types/components.d.ts +179 -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/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-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-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/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-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-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-49ebfe10.entry.js +0 -2
- 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-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-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-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-bd667900.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-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/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/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-c438a723.js.map → p-f9a1ff6e.js.map} +0 -0
- /package/dist/core/{p-8e5f45d0.entry.js.map → p-005214d1.entry.js.map} +0 -0
- /package/dist/core/{p-93b747c1.entry.js.map → p-1c7c9144.entry.js.map} +0 -0
- /package/dist/core/{p-9fcb2ba7.entry.js.map → p-23b4dcd3.entry.js.map} +0 -0
- /package/dist/core/{p-fd7a3951.entry.js.map → p-46ecf09e.entry.js.map} +0 -0
- /package/dist/core/{p-ab500948.entry.js.map → p-5242b51b.entry.js.map} +0 -0
- /package/dist/core/{p-b319674e.entry.js.map → p-564555e6.entry.js.map} +0 -0
- /package/dist/core/{p-b404f53c.entry.js.map → p-6e41cf69.entry.js.map} +0 -0
- /package/dist/core/{p-f60265c3.entry.js.map → p-79ec86da.entry.js.map} +0 -0
- /package/dist/core/{p-3b8b331f.entry.js.map → p-8f73f8e0.entry.js.map} +0 -0
- /package/dist/core/{p-5ff7f0c4.entry.js.map → p-99f192c1.entry.js.map} +0 -0
- /package/dist/core/{p-c34dad75.entry.js.map → p-a02f2547.entry.js.map} +0 -0
- /package/dist/core/{p-a58f4e2b.entry.js.map → p-ae88fe6b.entry.js.map} +0 -0
- /package/dist/core/{p-d512059d.entry.js.map → p-c2abc031.entry.js.map} +0 -0
- /package/dist/core/{p-72cdac94.entry.js.map → p-c688349d.entry.js.map} +0 -0
- /package/dist/core/{p-8ede0622.entry.js.map → p-c91512dd.entry.js.map} +0 -0
- /package/dist/core/{p-9256cf6c.entry.js.map → p-de852480.entry.js.map} +0 -0
- /package/dist/core/{p-72c4ebcd.entry.js.map → p-e89471ef.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"gov-toast.entry.cjs.js","mappings":";;;;;;;;;;;;;;AAIO,MAAM,WAAW,GAAGA,UAAI,CAACC,aAAM,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,CAAA;AAG9F,IAAY,SAGX;AAHD,WAAY,SAAS;IACpB,0BAAa,CAAA;IACb,8BAAiB,CAAA;AAClB,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAGM,MAAM,UAAU,GAAG;IACzB,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,mBAAmB;IAC3B,OAAO,EAAE,oBAAoB;IAC7B,IAAI,EAAE,iBAAiB;IACvB,KAAK,EAAE,kBAAkB;IACzB,KAAK,EAAE,kBAAkB;CACzB;;MCPY,QAAQ;IAMpB;;;qBAS0C,SAAS;uBAKN,KAAK;wBAIO,OAAO;oBAIvB,MAAM;oBAIf,CAAC;;;mCAmBU,EAAE;QA5C5C,IAAI,CAAC,CAAC,GAAGC,gBAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAC3B,IAAI,CAAC,OAAO,GAAGC,qBAAQ,CAAC,UAAU,CAAC,CAAA;KACnC;IAsCD,aAAa,CAAC,QAAgB;QAC7BC,kBAAY,CAAC,WAAW,EAAE,QAAQ,EAAE,UAAU,CAAC,IAAI,CAAC,CAAA;KACpD;IAID,gBAAgB;QACf,IAAI,CAAC,iBAAiB,GAAG,IAAIC,2BAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,aAAa,EAAE,QAAQ;YACjF,IAAI,CAAC,qBAAqB,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;SACpD,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAACC,wBAAc,CAAC,CAAC;KACtD;IAED,iBAAiB;QAChB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QAC9B,IAAI,CAAC,QAAQ,EAAE,CAAA;QACf,IAAI,CAAC,mBAAmB,GAAGC,mCAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAC5D;IAGD,oBAAoB
|
|
1
|
+
{"file":"gov-toast.entry.cjs.js","mappings":";;;;;;;;;;;;;;AAIO,MAAM,WAAW,GAAGA,UAAI,CAACC,aAAM,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,CAAA;AAG9F,IAAY,SAGX;AAHD,WAAY,SAAS;IACpB,0BAAa,CAAA;IACb,8BAAiB,CAAA;AAClB,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAGM,MAAM,UAAU,GAAG;IACzB,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,mBAAmB;IAC3B,OAAO,EAAE,oBAAoB;IAC7B,IAAI,EAAE,iBAAiB;IACvB,KAAK,EAAE,kBAAkB;IACzB,KAAK,EAAE,kBAAkB;CACzB;;MCPY,QAAQ;IAMpB;;;qBAS0C,SAAS;uBAKN,KAAK;wBAIO,OAAO;oBAIvB,MAAM;oBAIf,CAAC;;;mCAmBU,EAAE;QA5C5C,IAAI,CAAC,CAAC,GAAGC,gBAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAC3B,IAAI,CAAC,OAAO,GAAGC,qBAAQ,CAAC,UAAU,CAAC,CAAA;KACnC;IAsCD,aAAa,CAAC,QAAgB;QAC7BC,kBAAY,CAAC,WAAW,EAAE,QAAQ,EAAE,UAAU,CAAC,IAAI,CAAC,CAAA;KACpD;IAID,gBAAgB;QACf,IAAI,CAAC,iBAAiB,GAAG,IAAIC,2BAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,aAAa,EAAE,QAAQ;YACjF,IAAI,CAAC,qBAAqB,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;SACpD,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAACC,wBAAc,CAAC,CAAC;KACtD;IAED,iBAAiB;QAChB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QAC9B,IAAI,CAAC,QAAQ,EAAE,CAAA;QACf,IAAI,CAAC,mBAAmB,GAAGC,mCAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAC5D;IAGD,oBAAoB;;QACnB,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAC1B,MAAA,IAAI,CAAC,iBAAiB,0CAAE,aAAa,EAAE,CAAC;KACxC;IAED,qBAAqB,CAAC,aAAqB,EAAE,QAAgB;QAC5D,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,aAAa,CAAC,CAAA;QACxC,IAAI,CAAC,mBAAmB,mCAAO,IAAI,CAAC,mBAAmB,KAAE,CAAC,aAAa,GAAG,QAAQ,GAAC,CAAC;KACpF;IAEO,QAAQ;QACf,IAAI,IAAI,CAAC,OAAO,EAAE;YACjB,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC;gBACzB,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,CAAA;gBAC1C,UAAU,CAAC;oBACV,IAAI,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,CAAA;oBACtB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;iBAChC,EAAE,GAAG,CAAC,CAAA;aACP,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;SACb;KACD;IAED,MAAM;QACL,QACCC,QAACC,UAAI,qDACJ,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,mBACvB,IAAI,CAAC,OAAO,EAC3B,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,EAAC,kBAAkB,EAAE,IAAI,CAAC,IAAI,GAAG,IAAI,EAAC,IAE5C,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,KACtBD,mEAAM,KAAK,EAAE,UAAU,CAAC,IAAI,IAC3BA,mEAAM,IAAI,EAAC,MAAM,GAAE,CACb,CACP,EAEDA,gFAAK,KAAK,EAAE,UAAU,CAAC,OAAO,IAAM,IAAI,CAAC,mBAAmB,iBAAY,QAAQ,EAAC,IAAI,EAAC,QAAQ,KAC7FA,oEAAO,CACF,EAENA,yEACC,IAAI,EAAC,GAAG,gBACI,IAAI,CAAC,oBAAoB,EACrC,KAAK,EAAE,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,KAAK,GAAG,SAAS,EAC3C,IAAI,EAAC,MAAM,kBACG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,EAC5C,KAAK,EAAE,UAAU,CAAC,KAAK,IAEtB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,GAAGA,sBAAU,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,YAAY,GAAY,CAC5E,EAEbA,kEAAK,KAAK,EAAE,UAAU,CAAC,KAAK,GAAQ,CAC9B,EACP;KACD;IAEO,cAAc;QACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAChC,IAAI,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,CAAA;KACtB;IAED,IAAI,MAAM;QACT,OAAO,IAAI,CAAC,IAAI,KAAK,MAAM,CAAA;KAC3B;IAED,IAAI,OAAO;QACV,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,GAAG,CAAC,CAAA;KACnD;;;;IAMD,MAAM,OAAO;QACZ,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAC1B,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,mBAAmB,IAAI,CAAC,OAAO,IAAI,CAAC,CAAA;QACzE,IAAI,KAAK,EAAE;YACV,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,CAAA;YACtC,IAAI,OAAO,KAAK,CAAC,MAAM,KAAK,UAAU,EAAE;gBACvC,KAAK,CAAC,MAAM,EAAE,CAAA;aACd;SACD;KACD;;;;;;;;;","names":["pick","Colors","govHost","createID","validateProp","AttributeObserver","ariaAttributes","inheritAriaAttributes","h","Host"],"sources":["../../../packages/core/src/components/gov-toast/constants.ts","../../../packages/core/src/components/gov-toast/gov-toast.tsx"],"sourcesContent":["import { Colors } from '../../core/constants/colors'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const ToastColors = pick(Colors, ['PRIMARY', 'NEUTRAL', 'ERROR', 'SUCCESS', 'WARNING'])\nexport type ToastColorType = `${ValueOf<typeof ToastColors>}`\n\nexport enum ToastType {\n\tBOLD = 'bold',\n\tSUBTLE = 'subtle',\n}\nexport type ToastTypesType = `${ValueOf<typeof ToastType>}`\n\nexport const ToastClass = {\n\troot: 'gov-toast',\n\thidden: 'gov-toast--hidden',\n\tcontent: 'gov-toast__content',\n\ticon: 'gov-toast__icon',\n\tclose: 'gov-toast__close',\n\ttimer: 'gov-toast__timer',\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {validateProp} from \"../../helpers/Validate/props\"\nimport {ToastClass, ToastColors, ToastColorType, ToastTypesType} from \"./constants\"\nimport {govHost} from \"../../helpers/Dom/template\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {createID} from \"../../utils/string.utils\"\nimport {AttributeObserver, Attributes} from \"../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../helpers/Accessibility/accessibility\";\n\n@Component({\n\ttag: \"gov-toast\",\n})\nexport class GovToast {\n\tprivate h: GovHost\n\tprivate timeout\n\tprivate readonly toastId: string\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.toastId = createID(\"GovToast\")\n\t}\n\n\t@Element() host: HTMLGovToastElement\n\t/**\n\t * Style variation of the toast message.\n\t */\n\t@Prop() readonly color?: ToastColorType = \"primary\"\n\n\t/**\n\t * Toast’s gravity\n\t */\n\t@Prop() readonly gravity: \"top\" | \"bottom\" = \"top\"\n\t/**\n\t * Toast’s position\n\t */\n\t@Prop() readonly position: \"left\" | \"center\" | \"right\" = \"right\"\n\t/**\n\t * Toast type\n\t */\n\t@Prop() readonly type?: ToastTypesType = \"bold\"\n\t/**\n\t * Number of milliseconds to wait before Toast disappear\n\t */\n\t@Prop() readonly time: number = 0\n\t/**\n\t * Closing button texting instead of icons\n\t */\n\t@Prop({attribute: \"close-label\"}) readonly closeLabel: string\n\t/**\n\t * Aria label for the closing button. It is mandatory if the alert is closable\n\t */\n\t@Prop({attribute: \"accessible-close-label\"}) readonly accessibleCloseLabel: string\n\t/**\n\t * Called when the close button is clicked\n\t */\n\t@Event({eventName: \"gov-close\"}) govClose: EventEmitter<string>\n\n\t@Watch(\"color\")\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(ToastColors, newValue, ToastClass.root)\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t\tthis.runTimer()\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\n\tdisconnectedCallback() {\n\t\tclearTimeout(this.timeout)\n\t\tthis.attributeObserver?.stopObserving();\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\tprivate runTimer() {\n\t\tif (this.isTimer) {\n\t\t\tthis.timeout = setTimeout(() => {\n\t\t\t\tthis.host.classList.add(ToastClass.hidden)\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.destroy().catch()\n\t\t\t\t\tthis.govClose.emit(this.toastId)\n\t\t\t\t}, 600)\n\t\t\t}, this.time)\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={this.h.classes(ToastClass.root)}\n\t\t\t\tdata-toast-id={this.toastId}\n\t\t\t\tgravity={this.gravity}\n\t\t\t\tposition={this.position}\n\t\t\t\tcolor={this.color}\n\t\t\t\ttype={this.type}\n\t\t\t\tstyle={{\"--toast-duration\": this.time + \"ms\"}}\n\t\t\t>\n\t\t\t\t{this.h.hasSlot(\"icon\") && (\n\t\t\t\t\t<span class={ToastClass.icon}>\n\t\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t\t</span>\n\t\t\t\t)}\n\n\t\t\t\t<div class={ToastClass.content} {...this.inheritedAttributes} aria-live=\"polite\" role=\"status\">\n\t\t\t\t\t<slot/>\n\t\t\t\t</div>\n\n\t\t\t\t<gov-button\n\t\t\t\t\tsize=\"s\"\n\t\t\t\t\taria-label={this.accessibleCloseLabel}\n\t\t\t\t\tcolor={this.isBold ? this.color : \"neutral\"}\n\t\t\t\t\ttype=\"base\"\n\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\tclass={ToastClass.close}\n\t\t\t\t>\n\t\t\t\t\t{this.closeLabel ? this.closeLabel : <gov-icon name=\"x-lg\" type=\"components\"></gov-icon>}\n\t\t\t\t</gov-button>\n\n\t\t\t\t<div class={ToastClass.timer}></div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onCloseHandler(): void {\n\t\tthis.govClose.emit(this.toastId)\n\t\tthis.destroy().catch()\n\t}\n\n\tget isBold(): boolean {\n\t\treturn this.type === \"bold\"\n\t}\n\n\tget isTimer(): boolean {\n\t\treturn Number.isInteger(this.time) && this.time > 0\n\t}\n\n\t/**\n\t * Remove toast from dom\n\t */\n\t@Method()\n\tasync destroy(): Promise<void> {\n\t\tclearTimeout(this.timeout)\n\t\tconst toast = document.querySelector(`[data-toast-id=\"${this.toastId}\"]`)\n\t\tif (toast) {\n\t\t\ttoast.classList.add(ToastClass.hidden)\n\t\t\tif (typeof toast.remove === \"function\") {\n\t\t\t\ttoast.remove()\n\t\t\t}\n\t\t}\n\t}\n}\n"],"version":3}
|
|
@@ -38,7 +38,7 @@ const GovTooltipContent = class {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (index.h(index.Host, { key: '
|
|
41
|
+
return (index.h(index.Host, { key: '28e778cbda440ea6026ed604d5713c451ed49f36', class: constants.TooltipContentClass.root, role: "tooltip", hidden: !this.isVisible, "aria-hidden": !template.toBoolAttr(this.isVisible), "is-visible": this.isVisible }, index.h("slot", { key: 'f7e08e2fb6029b4d5bca3f7fdce286f67c7f77d0' }), this.persist ? (index.h("gov-button", { "on-gov-click": this.hideContent.bind(this), color: this.color, size: this.size, type: "base" }, index.h("gov-icon", { slot: "icon-start", name: "x-lg", type: "components" }))) : null));
|
|
42
42
|
}
|
|
43
43
|
get host() { return index.getElement(this); }
|
|
44
44
|
static get watchers() { return {
|
|
@@ -205,11 +205,11 @@ const GovTooltip = class {
|
|
|
205
205
|
}
|
|
206
206
|
render() {
|
|
207
207
|
var _a;
|
|
208
|
-
return (index.h(index.Host, { key: '
|
|
208
|
+
return (index.h(index.Host, { key: '07a76faeb64a6487ab5d2fe50caf2af04be01365', id: this.tooltipId, class: this.h.classes(constants.TooltipClass.root), position: this.position }, index.h("span", { key: 'c38c8e9eef234298a424a5d3e55664e1fe9ebbbe', role: 'button', tabindex: 0, onKeyPress: () => this.showTooltip(), onBlur: () => {
|
|
209
209
|
if (this.persist === false) {
|
|
210
210
|
this.hideTooltip();
|
|
211
211
|
}
|
|
212
|
-
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, index.h("slot", { key: '
|
|
212
|
+
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, index.h("slot", { key: '0ec9ab85c4242040aedfc1369946de4f1bea3e3a' }))));
|
|
213
213
|
}
|
|
214
214
|
/**
|
|
215
215
|
* Showing the modal
|
|
@@ -47,8 +47,8 @@ const GovWizardItem = class {
|
|
|
47
47
|
render() {
|
|
48
48
|
const triggerId = this.identifier || this.triggerId;
|
|
49
49
|
const Tag = this.collapsible ? Tags.BUTTON : Tags.DIV;
|
|
50
|
-
const prefixSlot = this.h.hasSlot("prefix") && (index.h("span", { key: '
|
|
51
|
-
return (index.h(index.Host, { key: '
|
|
50
|
+
const prefixSlot = this.h.hasSlot("prefix") && (index.h("span", { key: '3557f69ef4f08fa89200283444c12b36051ef5cd', class: constants.WizardItemClass.prefix }, index.h("slot", { key: '0847a8d5c4dbb458d712162842dc06ebb643ded4', name: "prefix" })));
|
|
51
|
+
return (index.h(index.Host, { key: 'df368a1f27a0ed3b6cd0291cd8aeed3defbccdb8', class: this.h.classes(constants.WizardItemClass.root), "is-expanded": this.isExpanded, color: this.color, size: this.size, role: "listitem", collapsible: this.collapsible, hydrated: this.hydrated }, index.h("div", { key: '72e83e2b44b458055a82e874e47078197e797db9', class: constants.WizardItemClass.header }, prefixSlot, this.collapsible ? (index.h(Tag, { id: triggerId, class: this.h.classes(constants.WizardItemClass.label), "aria-expanded": template.booleanString(this.isExpanded), "aria-controls": this.contentId, disabled: this.disabled, "aria-disabled": template.toBoolAttrIfDefined(this.disabled), onClick: (e) => {
|
|
52
52
|
e.preventDefault();
|
|
53
53
|
e.stopPropagation();
|
|
54
54
|
this.toggle();
|
|
@@ -51,7 +51,7 @@ const GovWizard = class {
|
|
|
51
51
|
this.hydrated = true;
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (index.h(index.Host, { key: '
|
|
54
|
+
return (index.h(index.Host, { key: '1b9c171c02a8fc7526742f8270bc6459dd717621', class: this.h.classes(constants.WizardClass.root), role: "list", size: this.size, hydrated: this.hydrated }, index.h("slot", { key: 'b2f89e63d7572f9e0df90a326f8cb50598dca1cb' })));
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
* Validate the WCAG attributes of the component
|
|
@@ -86,6 +86,14 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
86
86
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
87
87
|
/* webpackMode: "lazy" */
|
|
88
88
|
'./gov-accordion-item.cjs.entry.js')); }).then(processMod, consoleError);
|
|
89
|
+
case 'gov-banner.cjs':
|
|
90
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
91
|
+
/* webpackMode: "lazy" */
|
|
92
|
+
'./gov-banner.cjs.entry.js')); }).then(processMod, consoleError);
|
|
93
|
+
case 'gov-blockquote.cjs':
|
|
94
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
95
|
+
/* webpackMode: "lazy" */
|
|
96
|
+
'./gov-blockquote.cjs.entry.js')); }).then(processMod, consoleError);
|
|
89
97
|
case 'gov-breadcrumbs.cjs':
|
|
90
98
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
91
99
|
/* webpackMode: "lazy" */
|
|
@@ -238,10 +246,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
238
246
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
239
247
|
/* webpackMode: "lazy" */
|
|
240
248
|
'./gov-tile.cjs.entry.js')); }).then(processMod, consoleError);
|
|
241
|
-
case 'gov-tiles.cjs':
|
|
242
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
243
|
-
/* webpackMode: "lazy" */
|
|
244
|
-
'./gov-tiles.cjs.entry.js')); }).then(processMod, consoleError);
|
|
245
249
|
case 'gov-toast.cjs':
|
|
246
250
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
247
251
|
/* webpackMode: "lazy" */
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
|
10
10
|
await appGlobals.globalScripts();
|
|
11
|
-
return index.bootstrapLazy(JSON.parse("[[\"gov-form-file.cjs\",[[4,\"gov-form-file\",{\"expanded\":[4],\"required\":[4],\"disabled\":[516],\"resetAfterPick\":[4,\"reset-after-pick\"],\"ignoreFileDuplicationCheck\":[4,\"ignore-file-duplication-check\"],\"displayAttachments\":[4,\"display-attachments\"],\"name\":[1],\"accept\":[1],\"multiple\":[4],\"maxFileSize\":[2,\"max-file-size\"],\"identifier\":[1],\"invalid\":[4],\"errorSize\":[1,\"error-size\"],\"errorAccept\":[1,\"error-accept\"],\"accessibleRemoveLabel\":[1,\"accessible-remove-label\"],\"accessibleAttachmentsLabel\":[1,\"accessible-attachments-label\"],\"files\":[32],\"inheritedAttributes\":[32],\"getRef\":[64],\"getAreaRef\":[64],\"reset\":[64]},null,{\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"]}]]],[\"gov-form-multi-select.cjs\",[[4,\"gov-form-multi-select\",{\"value\":[1537],\"options\":[1537],\"identifier\":[1],\"placeholder\":[1],\"size\":[1],\"name\":[1],\"hideSelectedList\":[4,\"hide-selected-list\"],\"required\":[4],\"disabled\":[516],\"invalid\":[516],\"success\":[4],\"messageEmpty\":[1,\"message-empty\"],\"messageLoading\":[1,\"message-loading\"],\"focused\":[32],\"valueState\":[32],\"selectedOptionsState\":[32],\"optionsState\":[32],\"inheritedAttributes\":[32],\"setFocus\":[64],\"setValue\":[64],\"getRef\":[64]},null,{\"size\":[\"validateSize\"],\"options\":[\"watchOptions\"],\"value\":[\"watchValue\"]}]]],[\"gov-dialog.cjs\",[[4,\"gov-dialog\",{\"open\":[1540],\"blockClose\":[4,\"block-close\"],\"blockBackdropClose\":[4,\"block-backdrop-close\"],\"role\":[1],\"labelTag\":[1,\"label-tag\"],\"accessibleLabelledBy\":[1,\"accessible-labelled-by\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"accessibleCloseLabel\":[1,\"accessible-close-label\"],\"accessibleCloseLabelledBy\":[1,\"accessible-close-labelled-by\"],\"setFocus\":[64],\"validateAccessibility\":[64]},null,{\"open\":[\"watchOpen\"]}]]],[\"gov-pagination.cjs\",[[0,\"gov-pagination\",{\"type\":[1],\"current\":[2],\"total\":[2],\"selectIdentifier\":[1,\"select-identifier\"],\"size\":[1],\"color\":[1],\"pageSize\":[2,\"page-size\"],\"maxPages\":[2,\"max-pages\"],\"link\":[1],\"accessibleSelectLabel\":[1,\"accessible-select-label\"],\"accessiblePageLabel\":[1,\"accessible-page-label\"],\"labelPrev\":[1,\"label-prev\"],\"labelStart\":[1,\"label-start\"],\"labelNext\":[1,\"label-next\"],\"labelEnd\":[1,\"label-end\"],\"pagination\":[32],\"inheritedAttributes\":[32]},null,{\"type\":[\"validateType\"],\"size\":[\"validateSize\"],\"color\":[\"validateColor\"],\"current\":[\"recalculate\"],\"total\":[\"recalculate\"],\"pageSize\":[\"recalculate\"],\"maxPages\":[\"recalculate\"]}]]],[\"gov-breadcrumbs.cjs\",[[4,\"gov-breadcrumbs\",{\"collapsible\":[4],\"isExpanded\":[4,\"is-expanded\"],\"accessibleLabel\":[1,\"accessible-label\"],\"accessibleLabelledBy\":[1,\"accessible-labelledby\"],\"accessibleToggleLabel\":[1,\"accessible-toggle-label\"],\"expanded\":[32],\"toggleOption\":[32],\"validateAccessibility\":[64]}]]],[\"gov-infobar.cjs\",[[4,\"gov-infobar\",{\"color\":[1],\"type\":[1],\"role\":[1],\"accessibleCloseLabel\":[1,\"accessible-close-label\"],\"accessibleToggleLabel\":[1,\"accessible-toggle-label\"],\"closable\":[4],\"toggleContent\":[32],\"inheritedAttributes\":[32]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-loading.cjs\",[[4,\"gov-loading\",{\"size\":[1]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-tabs.cjs\",[[4,\"gov-tabs\",{\"type\":[1],\"size\":[1],\"color\":[1],\"orientation\":[1],\"direction\":[513],\"controllers\":[32],\"focusIndex\":[32],\"inheritedAttributes\":[32],\"refresh\":[64],\"currentTab\":[64],\"setActiveTab\":[64],\"rerender\":[64]},null,{\"type\":[\"validateType\"],\"color\":[\"validateColor\"],\"size\":[\"validateSize\"]}]]],[\"gov-toast.cjs\",[[4,\"gov-toast\",{\"color\":[1],\"gravity\":[1],\"position\":[1],\"type\":[1],\"time\":[2],\"closeLabel\":[1,\"close-label\"],\"accessibleCloseLabel\":[1,\"accessible-close-label\"],\"inheritedAttributes\":[32],\"destroy\":[64]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-tooltip-content.cjs\",[[4,\"gov-tooltip-content\",{\"color\":[1],\"size\":[1],\"persist\":[4],\"isVisible\":[1028,\"is-visible\"],\"parentId\":[1,\"parent-id\"]},null,{\"isVisible\":[\"visibleContent\"]}]]],[\"gov-accordion-item.cjs\",[[4,\"gov-accordion-item\",{\"identifier\":[1],\"size\":[1025],\"disabled\":[4],\"open\":[1028],\"openState\":[32],\"toggle\":[64],\"currentState\":[64]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-card.cjs\",[[4,\"gov-card\",{\"direction\":[1],\"collapsible\":[4],\"open\":[1540],\"accessibleTriggerLabel\":[1,\"accessible-label\"],\"accessibleTriggerLabelledBy\":[1,\"accessible-labelledby\"],\"validateAccessibility\":[64]}]]],[\"gov-form-checkbox.cjs\",[[4,\"gov-form-checkbox\",{\"value\":[1],\"checked\":[1540],\"required\":[4],\"disabled\":[516],\"indeterminate\":[516],\"name\":[1],\"size\":[513],\"identifier\":[1],\"noLabel\":[4,\"no-label\"],\"invalid\":[4],\"inheritedAttributes\":[32],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchControlAttrs\"],\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"]}]]],[\"gov-form-switch.cjs\",[[4,\"gov-form-switch\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[1540],\"required\":[4],\"disabled\":[516],\"name\":[1],\"size\":[513],\"identifier\":[1],\"invalid\":[4],\"inheritedAttributes\":[32],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchDisabled\"],\"disabled\":[\"watchDisabled\"],\"invalid\":[\"watchDisabled\"]}]]],[\"gov-link.cjs\",[[4,\"gov-link\",{\"size\":[1],\"external\":[4],\"href\":[1],\"target\":[1],\"inheritedAttributes\":[32]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-tag.cjs\",[[4,\"gov-tag\",{\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"size\":[513],\"color\":[513],\"type\":[513],\"expanded\":[516]},null,{\"color\":[\"validateColor\"],\"size\":[\"validateSize\"]}]]],[\"gov-tile.cjs\",[[4,\"gov-tile\",{\"size\":[513],\"orientation\":[1],\"noBorder\":[4,\"no-border\"],\"href\":[513],\"target\":[1],\"getTriggerRef\":[64]}]]],[\"gov-wizard-item.cjs\",[[4,\"gov-wizard-item\",{\"color\":[1],\"size\":[1],\"identifier\":[1],\"collapsible\":[4],\"disabled\":[4],\"isExpanded\":[1028,\"is-expanded\"],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-accordion.cjs\",[[4,\"gov-accordion\",{\"size\":[1],\"noBorder\":[4,\"no-border\"]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-container.cjs\",[[4,\"gov-container\"]]],[\"gov-control-group.cjs\",[[4,\"gov-control-group\",{\"color\":[1],\"noBorder\":[4,\"no-border\"],\"fitContent\":[4,\"fit-content\"]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-cookiebar.cjs\",[[4,\"gov-cookiebar\"]]],[\"gov-dropdown.cjs\",[[4,\"gov-dropdown\",{\"identifier\":[1],\"open\":[1028],\"position\":[1],\"getState\":[64],\"toggle\":[64]},null,{\"open\":[\"watchOpen\"]}]]],[\"gov-empty.cjs\",[[4,\"gov-empty\",{\"size\":[1]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-error-code.cjs\",[[4,\"gov-error-code\"]]],[\"gov-form-checkbox-group.cjs\",[[4,\"gov-form-checkbox-group\",{\"gap\":[1],\"orientation\":[1],\"value\":[1025]},null,{\"gap\":[\"validateGap\"],\"orientation\":[\"validateOrientation\"]}]]],[\"gov-form-control.cjs\",[[4,\"gov-form-control\",{\"identifier\":[1],\"invalid\":[516],\"disabled\":[516],\"success\":[516],\"fieldset\":[4],\"size\":[1]}]]],[\"gov-form-group.cjs\",[[4,\"gov-form-group\",{\"gap\":[1],\"orientation\":[1]},null,{\"gap\":[\"validateGap\"],\"orientation\":[\"validateOrientation\"]}]]],[\"gov-form-label.cjs\",[[4,\"gov-form-label\",{\"identifier\":[1],\"size\":[1],\"required\":[4],\"legend\":[4]}]]],[\"gov-form-password-power.cjs\",[[4,\"gov-form-password-power\",{\"power\":[514]}]]],[\"gov-form-radio.cjs\",[[4,\"gov-form-radio\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[1540],\"required\":[4],\"disabled\":[516],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"inheritedAttributes\":[32],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchControlAttrs\"],\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"]}]]],[\"gov-form-radio-group.cjs\",[[4,\"gov-form-radio-group\",{\"gap\":[1],\"orientation\":[1],\"value\":[1025]},null,{\"gap\":[\"validateGap\"],\"orientation\":[\"validateOrientation\"]}]]],[\"gov-form-search.cjs\",[[4,\"gov-form-search\",{\"size\":[1],\"color\":[513]}]]],[\"gov-grid.cjs\",[[4,\"gov-grid\",{\"alignX\":[1,\"align-x\"],\"alignY\":[1,\"align-y\"]}]]],[\"gov-grid-item.cjs\",[[4,\"gov-grid-item\",{\"size\":[1],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]}]]],[\"gov-layout.cjs\",[[4,\"gov-layout\",{\"type\":[1],\"variant\":[1],\"inverse\":[4]}]]],[\"gov-layout-column.cjs\",[[4,\"gov-layout-column\"]]],[\"gov-lifecycle.cjs\",[[0,\"gov-lifecycle\"]]],[\"gov-message.cjs\",[[4,\"gov-message\",{\"color\":[1],\"type\":[1]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-spacer.cjs\",[[0,\"gov-spacer\",{\"size\":[1],\"breakpoint\":[1]},null,{\"size\":[\"validateSize\"],\"breakpoint\":[\"validateBreakpoint\"]}]]],[\"gov-stepper.cjs\",[[4,\"gov-stepper\",{\"size\":[1]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-stepper-item.cjs\",[[4,\"gov-stepper-item\",{\"color\":[1],\"size\":[1],\"identifier\":[1]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-tabs-item.cjs\",[[4,\"gov-tabs-item\",{\"identifier\":[1],\"triggerIdentifier\":[1,\"trigger-identifier\"],\"label\":[513],\"disabled\":[516],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"],\"default\":[4],\"isActive\":[32],\"getIdentifier\":[64],\"getTriggerIdentifier\":[64],\"getDisableState\":[64],\"setActiveStatus\":[64]},null,{\"label\":[\"rerenderParent\"],\"disabled\":[\"rerenderParent\"]}]]],[\"gov-tiles.cjs\",[[4,\"gov-tiles\",{\"columns\":[514]}]]],[\"gov-tooltip.cjs\",[[4,\"gov-tooltip\",{\"color\":[1],\"size\":[1],\"position\":[1025],\"message\":[1],\"identifier\":[1],\"icon\":[516],\"persist\":[32],\"show\":[64],\"hide\":[64]},null,{\"color\":[\"validateColor\"],\"size\":[\"validateSize\"],\"position\":[\"validatePosition\"],\"message\":[\"rerenderMessage\"]}]]],[\"gov-wizard.cjs\",[[4,\"gov-wizard\",{\"size\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-flex_3.cjs\",[[0,\"gov-theme-switch\",{\"size\":[1],\"displayLabel\":[4,\"display-label\"],\"ariaLabelLight\":[1,\"aria-label-light\"],\"ariaLabelDark\":[1,\"aria-label-dark\"],\"labelLight\":[1,\"label-light\"],\"labelDark\":[1,\"label-dark\"],\"theme\":[32]},null,{\"size\":[\"validateSize\"],\"theme\":[\"watchTheme\"]}],[4,\"gov-flex\",{\"direction\":[1],\"justifyContent\":[513,\"justify-content\"],\"alignItems\":[513,\"align-items\"],\"wrap\":[513],\"alignContent\":[513,\"align-content\"],\"alignSelf\":[513,\"align-self\"],\"gap\":[513]}],[0,\"gov-icon\",{\"size\":[513],\"color\":[513],\"name\":[513],\"type\":[513],\"visible\":[32],\"error\":[32]},null,{\"size\":[\"validateSize\"],\"color\":[\"validateColor\"],\"name\":[\"loadIconPathData\"]}]]],[\"gov-button.cjs\",[[4,\"gov-button\",{\"color\":[513],\"size\":[513],\"type\":[513],\"expanded\":[516],\"name\":[1],\"disabled\":[516],\"nativeType\":[1,\"native-type\"],\"href\":[1],\"target\":[1],\"download\":[4],\"hreflang\":[1],\"referrerpolicy\":[1],\"rel\":[1],\"loading\":[1],\"focusable\":[4],\"identifier\":[1],\"inheritedAttributes\":[32],\"setFocus\":[64],\"getRef\":[64],\"validateAccessibility\":[64]},null,{\"color\":[\"validateColor\"],\"type\":[\"validateType\"],\"size\":[\"validateSize\"],\"nativeType\":[\"validateNativeType\"]}]]],[\"gov-form-autocomplete.cjs\",[[4,\"gov-form-autocomplete\",{\"value\":[1537],\"options\":[1537],\"identifier\":[1],\"success\":[4],\"size\":[1],\"nameKey\":[1,\"name-key\"],\"name\":[1],\"required\":[4],\"disabled\":[516],\"placeholder\":[1],\"readonly\":[4],\"invalid\":[4],\"minlength\":[2],\"maxlength\":[2],\"throttleTime\":[2,\"throttle-time\"],\"messageEmpty\":[1,\"message-empty\"],\"focused\":[32],\"processing\":[32],\"arrowCounter\":[32],\"list\":[32],\"inheritedAttributes\":[32],\"setFocus\":[64],\"setBlur\":[64],\"setOptions\":[64],\"clearValue\":[64],\"setProcessing\":[64],\"setSearchCallback\":[64],\"setTemplateResolver\":[64]},null,{\"size\":[\"validateSize\"],\"options\":[\"watchOptions\"]}]]],[\"gov-chip.cjs\",[[4,\"gov-chip\",{\"disabled\":[516],\"href\":[1],\"target\":[1],\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"size\":[1],\"tag\":[1],\"color\":[1],\"type\":[513],\"focusable\":[4],\"identifier\":[1],\"inheritedAttributes\":[32],\"geRef\":[64],\"setFocus\":[64]},null,{\"color\":[\"validateColor\"],\"size\":[\"validateSize\"]}]]],[\"gov-form-select.cjs\",[[4,\"gov-form-select\",{\"value\":[1537],\"options\":[1537],\"identifier\":[1],\"size\":[1],\"name\":[1],\"required\":[4],\"success\":[516],\"disabled\":[516],\"invalid\":[4],\"focused\":[32],\"optionsState\":[32],\"inheritedAttributes\":[32],\"setFocus\":[64],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchControlAttrs\"],\"options\":[\"watchOptions\"],\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"],\"success\":[\"watchControlAttrs\"],\"value\":[\"watchValue\"]}]]],[\"gov-backdrop.cjs\",[[0,\"gov-backdrop\",{\"inverse\":[4],\"disabled\":[1540],\"accessibleLabel\":[1,\"accessible-label\"],\"accessibleLabelledBy\":[1,\"accessible-labelledby\"],\"validateAccessibility\":[64]}]]],[\"gov-attachments_3.cjs\",[[4,\"gov-attachments-item\",{\"accessibleRemoveLabel\":[1,\"accessible-remove-label\"],\"accessibleRemoveLabelledBy\":[1,\"accessible-remove-labelledby\"],\"validateAccessibility\":[64]}],[4,\"gov-attachments\",{\"label\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"validateWcag\":[64]}],[4,\"gov-form-message\",{\"color\":[1],\"size\":[1],\"identifier\":[64]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-form-input_2.cjs\",[[4,\"gov-form-input\",{\"value\":[1537],\"identifier\":[1],\"success\":[516],\"size\":[1],\"name\":[1],\"multiline\":[4],\"rows\":[2],\"cols\":[2],\"required\":[516],\"disabled\":[516],\"placeholder\":[1],\"readonly\":[4],\"minlength\":[2],\"maxlength\":[2],\"min\":[8],\"max\":[8],\"autocomplete\":[4],\"autocorrect\":[4],\"spellcheck\":[4],\"inputLang\":[1,\"input-lang\"],\"type\":[1],\"inputType\":[1,\"input-type\"],\"role\":[1],\"invalid\":[516],\"accessibleShowPasswordLabel\":[1,\"accessible-show-password-label\"],\"accessibleHidePasswordLabel\":[1,\"accessible-hide-password-label\"],\"focused\":[32],\"showPassword\":[32],\"inheritedAttributes\":[32],\"setFocus\":[64],\"setValue\":[64],\"clearValue\":[64],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchControlAttrs\"],\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"],\"success\":[\"watchControlAttrs\"]}],[0,\"gov-skeleton\",{\"size\":[1],\"color\":[1],\"shape\":[1],\"width\":[1],\"height\":[1],\"animation\":[1],\"inheritedAttributes\":[32]},null,{\"size\":[\"validateSize\"],\"shape\":[\"validateShape\"],\"animation\":[\"validateAnimation\"]}]]]]"), options);
|
|
11
|
+
return index.bootstrapLazy(JSON.parse("[[\"gov-form-file.cjs\",[[4,\"gov-form-file\",{\"expanded\":[4],\"required\":[4],\"disabled\":[516],\"resetAfterPick\":[4,\"reset-after-pick\"],\"ignoreFileDuplicationCheck\":[4,\"ignore-file-duplication-check\"],\"displayAttachments\":[4,\"display-attachments\"],\"name\":[1],\"accept\":[1],\"multiple\":[4],\"maxFileSize\":[2,\"max-file-size\"],\"identifier\":[1],\"invalid\":[4],\"errorSize\":[1,\"error-size\"],\"errorAccept\":[1,\"error-accept\"],\"accessibleRemoveLabel\":[1,\"accessible-remove-label\"],\"accessibleAttachmentsLabel\":[1,\"accessible-attachments-label\"],\"files\":[32],\"inheritedAttributes\":[32],\"getRef\":[64],\"getAreaRef\":[64],\"reset\":[64]},null,{\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"]}]]],[\"gov-form-multi-select.cjs\",[[4,\"gov-form-multi-select\",{\"value\":[1537],\"options\":[1537],\"identifier\":[1],\"placeholder\":[1],\"size\":[1],\"name\":[1],\"hideSelectedList\":[4,\"hide-selected-list\"],\"required\":[4],\"disabled\":[516],\"invalid\":[516],\"success\":[4],\"messageEmpty\":[1,\"message-empty\"],\"messageLoading\":[1,\"message-loading\"],\"focused\":[32],\"valueState\":[32],\"selectedOptionsState\":[32],\"optionsState\":[32],\"inheritedAttributes\":[32],\"setFocus\":[64],\"setValue\":[64],\"getRef\":[64]},null,{\"size\":[\"validateSize\"],\"options\":[\"watchOptions\"],\"value\":[\"watchValue\"]}]]],[\"gov-dialog.cjs\",[[4,\"gov-dialog\",{\"open\":[1540],\"blockClose\":[4,\"block-close\"],\"blockBackdropClose\":[4,\"block-backdrop-close\"],\"role\":[1],\"labelTag\":[1,\"label-tag\"],\"accessibleLabelledBy\":[1,\"accessible-labelled-by\"],\"accessibleDescribedBy\":[1,\"accessible-described-by\"],\"accessibleCloseLabel\":[1,\"accessible-close-label\"],\"accessibleCloseLabelledBy\":[1,\"accessible-close-labelled-by\"],\"setFocus\":[64],\"validateAccessibility\":[64]},null,{\"open\":[\"watchOpen\"]}]]],[\"gov-pagination.cjs\",[[0,\"gov-pagination\",{\"type\":[1],\"current\":[2],\"total\":[2],\"selectIdentifier\":[1,\"select-identifier\"],\"size\":[1],\"color\":[1],\"pageSize\":[2,\"page-size\"],\"maxPages\":[2,\"max-pages\"],\"link\":[1],\"accessibleSelectLabel\":[1,\"accessible-select-label\"],\"accessiblePageLabel\":[1,\"accessible-page-label\"],\"labelPrev\":[1,\"label-prev\"],\"labelStart\":[1,\"label-start\"],\"labelNext\":[1,\"label-next\"],\"labelEnd\":[1,\"label-end\"],\"pagination\":[32],\"inheritedAttributes\":[32]},null,{\"type\":[\"validateType\"],\"size\":[\"validateSize\"],\"color\":[\"validateColor\"],\"current\":[\"recalculate\"],\"total\":[\"recalculate\"],\"pageSize\":[\"recalculate\"],\"maxPages\":[\"recalculate\"]}]]],[\"gov-banner.cjs\",[[4,\"gov-banner\",{\"size\":[513],\"background\":[1],\"foreground\":[1],\"textColor\":[1,\"text-color\"],\"accessibleLabel\":[1,\"accessible-label\"],\"accessibleLabelledBy\":[1,\"accessible-labelledby\"],\"validateAccessibility\":[64]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-breadcrumbs.cjs\",[[4,\"gov-breadcrumbs\",{\"collapsible\":[4],\"isExpanded\":[4,\"is-expanded\"],\"accessibleLabel\":[1,\"accessible-label\"],\"accessibleLabelledBy\":[1,\"accessible-labelledby\"],\"accessibleToggleLabel\":[1,\"accessible-toggle-label\"],\"expanded\":[32],\"toggleOption\":[32],\"validateAccessibility\":[64]}]]],[\"gov-infobar.cjs\",[[4,\"gov-infobar\",{\"color\":[1],\"type\":[1],\"role\":[1],\"accessibleCloseLabel\":[1,\"accessible-close-label\"],\"accessibleToggleLabel\":[1,\"accessible-toggle-label\"],\"closable\":[4],\"toggleContent\":[32],\"inheritedAttributes\":[32]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-loading.cjs\",[[4,\"gov-loading\",{\"size\":[1]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-tabs.cjs\",[[4,\"gov-tabs\",{\"type\":[1],\"size\":[1],\"color\":[1],\"orientation\":[1],\"direction\":[513],\"controllers\":[32],\"focusIndex\":[32],\"inheritedAttributes\":[32],\"refresh\":[64],\"currentTab\":[64],\"setActiveTab\":[64],\"rerender\":[64]},null,{\"type\":[\"validateType\"],\"color\":[\"validateColor\"],\"size\":[\"validateSize\"]}]]],[\"gov-toast.cjs\",[[4,\"gov-toast\",{\"color\":[1],\"gravity\":[1],\"position\":[1],\"type\":[1],\"time\":[2],\"closeLabel\":[1,\"close-label\"],\"accessibleCloseLabel\":[1,\"accessible-close-label\"],\"inheritedAttributes\":[32],\"destroy\":[64]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-tooltip-content.cjs\",[[4,\"gov-tooltip-content\",{\"color\":[1],\"size\":[1],\"persist\":[4],\"isVisible\":[1028,\"is-visible\"],\"parentId\":[1,\"parent-id\"]},null,{\"isVisible\":[\"visibleContent\"]}]]],[\"gov-accordion-item.cjs\",[[4,\"gov-accordion-item\",{\"identifier\":[1],\"size\":[1025],\"disabled\":[4],\"open\":[1028],\"openState\":[32],\"toggle\":[64],\"currentState\":[64]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-blockquote.cjs\",[[4,\"gov-blockquote\",{\"type\":[513],\"cite\":[1]}]]],[\"gov-form-checkbox.cjs\",[[4,\"gov-form-checkbox\",{\"value\":[1],\"checked\":[1540],\"required\":[4],\"disabled\":[516],\"indeterminate\":[516],\"name\":[1],\"size\":[513],\"identifier\":[1],\"noLabel\":[4,\"no-label\"],\"invalid\":[4],\"inheritedAttributes\":[32],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchControlAttrs\"],\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"]}]]],[\"gov-form-switch.cjs\",[[4,\"gov-form-switch\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[1540],\"required\":[4],\"disabled\":[516],\"name\":[1],\"size\":[513],\"identifier\":[1],\"invalid\":[4],\"inheritedAttributes\":[32],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchDisabled\"],\"disabled\":[\"watchDisabled\"],\"invalid\":[\"watchDisabled\"]}]]],[\"gov-link.cjs\",[[4,\"gov-link\",{\"size\":[1],\"external\":[4],\"href\":[1],\"target\":[1],\"inheritedAttributes\":[32]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-tag.cjs\",[[4,\"gov-tag\",{\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"size\":[513],\"color\":[513],\"type\":[513],\"expanded\":[516]},null,{\"color\":[\"validateColor\"],\"size\":[\"validateSize\"]}]]],[\"gov-tile.cjs\",[[4,\"gov-tile\",{\"size\":[513],\"orientation\":[1],\"noBorder\":[4,\"no-border\"],\"href\":[513],\"target\":[1],\"getTriggerRef\":[64]}]]],[\"gov-wizard-item.cjs\",[[4,\"gov-wizard-item\",{\"color\":[1],\"size\":[1],\"identifier\":[1],\"collapsible\":[4],\"disabled\":[4],\"isExpanded\":[1028,\"is-expanded\"],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-accordion.cjs\",[[4,\"gov-accordion\",{\"size\":[1],\"noBorder\":[4,\"no-border\"]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-container.cjs\",[[4,\"gov-container\"]]],[\"gov-control-group.cjs\",[[4,\"gov-control-group\",{\"color\":[1],\"noBorder\":[4,\"no-border\"],\"fitContent\":[4,\"fit-content\"]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-cookiebar.cjs\",[[4,\"gov-cookiebar\"]]],[\"gov-empty.cjs\",[[4,\"gov-empty\",{\"size\":[1]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-error-code.cjs\",[[4,\"gov-error-code\"]]],[\"gov-form-control.cjs\",[[4,\"gov-form-control\",{\"identifier\":[1],\"invalid\":[516],\"disabled\":[516],\"success\":[516],\"fieldset\":[4],\"size\":[1]}]]],[\"gov-form-group.cjs\",[[4,\"gov-form-group\",{\"gap\":[1],\"orientation\":[1]},null,{\"gap\":[\"validateGap\"],\"orientation\":[\"validateOrientation\"]}]]],[\"gov-form-password-power.cjs\",[[4,\"gov-form-password-power\",{\"power\":[514]}]]],[\"gov-form-radio.cjs\",[[4,\"gov-form-radio\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[1540],\"required\":[4],\"disabled\":[516],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"inheritedAttributes\":[32],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchControlAttrs\"],\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"]}]]],[\"gov-form-search.cjs\",[[4,\"gov-form-search\",{\"size\":[1],\"color\":[513]}]]],[\"gov-grid.cjs\",[[4,\"gov-grid\",{\"columns\":[513],\"alignItems\":[513,\"align-items\"],\"justifyItems\":[513,\"justify-items\"],\"gap\":[513]}]]],[\"gov-layout.cjs\",[[4,\"gov-layout\",{\"type\":[1],\"variant\":[1],\"inverse\":[4]}]]],[\"gov-layout-column.cjs\",[[4,\"gov-layout-column\"]]],[\"gov-message.cjs\",[[4,\"gov-message\",{\"color\":[1],\"type\":[1]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-stepper.cjs\",[[4,\"gov-stepper\",{\"size\":[1]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-stepper-item.cjs\",[[4,\"gov-stepper-item\",{\"color\":[1],\"size\":[1],\"identifier\":[1]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-wizard.cjs\",[[4,\"gov-wizard\",{\"size\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]},null,{\"size\":[\"validateSize\"]}]]],[\"gov-flex_3.cjs\",[[0,\"gov-theme-switch\",{\"size\":[1],\"displayLabel\":[4,\"display-label\"],\"ariaLabelLight\":[1,\"aria-label-light\"],\"ariaLabelDark\":[1,\"aria-label-dark\"],\"labelLight\":[1,\"label-light\"],\"labelDark\":[1,\"label-dark\"],\"theme\":[32]},null,{\"size\":[\"validateSize\"],\"theme\":[\"watchTheme\"]}],[4,\"gov-flex\",{\"direction\":[513],\"justifyContent\":[513,\"justify-content\"],\"alignItems\":[513,\"align-items\"],\"wrap\":[513],\"alignContent\":[513,\"align-content\"],\"alignSelf\":[513,\"align-self\"],\"gap\":[513],\"responsive\":[513]}],[0,\"gov-icon\",{\"size\":[513],\"color\":[513],\"name\":[513],\"type\":[513],\"visible\":[32],\"error\":[32]},null,{\"size\":[\"validateSize\"],\"color\":[\"validateColor\"],\"name\":[\"loadIconPathData\"]}]]],[\"gov-card.cjs\",[[4,\"gov-card\",{\"direction\":[1],\"collapsible\":[4],\"open\":[1540],\"accessibleTriggerLabel\":[1,\"accessible-label\"],\"accessibleTriggerLabelledBy\":[1,\"accessible-labelledby\"],\"validateAccessibility\":[64]}]]],[\"gov-dropdown.cjs\",[[4,\"gov-dropdown\",{\"identifier\":[1],\"open\":[1028],\"position\":[1],\"getState\":[64],\"toggle\":[64]},null,{\"open\":[\"watchOpen\"]}]]],[\"gov-form-checkbox-group.cjs\",[[4,\"gov-form-checkbox-group\",{\"gap\":[1],\"orientation\":[1],\"value\":[1025]},null,{\"gap\":[\"validateGap\"],\"orientation\":[\"validateOrientation\"]}]]],[\"gov-form-label.cjs\",[[4,\"gov-form-label\",{\"identifier\":[1],\"size\":[1],\"required\":[4],\"legend\":[4]}]]],[\"gov-form-radio-group.cjs\",[[4,\"gov-form-radio-group\",{\"gap\":[1],\"orientation\":[1],\"value\":[1025]},null,{\"gap\":[\"validateGap\"],\"orientation\":[\"validateOrientation\"]}]]],[\"gov-grid-item.cjs\",[[4,\"gov-grid-item\",{\"column\":[1,\"col-span\"],\"columnSm\":[1,\"col-span-sm\"],\"columnMd\":[1,\"col-span-md\"],\"columnLg\":[1,\"col-span-lg\"],\"columnXl\":[1,\"col-span-xl\"],\"row\":[1,\"row-span\"],\"rowSm\":[1,\"row-span-sm\"],\"rowMd\":[1,\"row-span-md\"],\"rowLg\":[1,\"row-span-lg\"],\"rowXl\":[1,\"row-span-xl\"]}]]],[\"gov-lifecycle.cjs\",[[0,\"gov-lifecycle\"]]],[\"gov-spacer.cjs\",[[0,\"gov-spacer\",{\"size\":[1],\"breakpoint\":[1]},null,{\"size\":[\"validateSize\"],\"breakpoint\":[\"validateBreakpoint\"]}]]],[\"gov-tabs-item.cjs\",[[4,\"gov-tabs-item\",{\"identifier\":[1],\"triggerIdentifier\":[1,\"trigger-identifier\"],\"label\":[513],\"disabled\":[516],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"],\"default\":[4],\"isActive\":[32],\"getIdentifier\":[64],\"getTriggerIdentifier\":[64],\"getDisableState\":[64],\"setActiveStatus\":[64]},null,{\"label\":[\"rerenderParent\"],\"disabled\":[\"rerenderParent\"]}]]],[\"gov-tooltip.cjs\",[[4,\"gov-tooltip\",{\"color\":[1],\"size\":[1],\"position\":[1025],\"message\":[1],\"identifier\":[1],\"icon\":[516],\"persist\":[32],\"show\":[64],\"hide\":[64]},null,{\"color\":[\"validateColor\"],\"size\":[\"validateSize\"],\"position\":[\"validatePosition\"],\"message\":[\"rerenderMessage\"]}]]],[\"gov-button.cjs\",[[4,\"gov-button\",{\"color\":[513],\"size\":[513],\"type\":[513],\"expanded\":[516],\"name\":[1],\"disabled\":[516],\"nativeType\":[1,\"native-type\"],\"href\":[1],\"target\":[1],\"download\":[4],\"hreflang\":[1],\"referrerpolicy\":[1],\"rel\":[1],\"loading\":[1],\"focusable\":[4],\"identifier\":[1],\"inheritedAttributes\":[32],\"setFocus\":[64],\"getRef\":[64],\"validateAccessibility\":[64]},null,{\"color\":[\"validateColor\"],\"type\":[\"validateType\"],\"size\":[\"validateSize\"],\"nativeType\":[\"validateNativeType\"]}]]],[\"gov-form-autocomplete.cjs\",[[4,\"gov-form-autocomplete\",{\"value\":[1537],\"options\":[1537],\"identifier\":[1],\"success\":[4],\"size\":[1],\"nameKey\":[1,\"name-key\"],\"name\":[1],\"required\":[4],\"disabled\":[516],\"placeholder\":[1],\"readonly\":[4],\"invalid\":[4],\"minlength\":[2],\"maxlength\":[2],\"throttleTime\":[2,\"throttle-time\"],\"messageEmpty\":[1,\"message-empty\"],\"focused\":[32],\"processing\":[32],\"arrowCounter\":[32],\"list\":[32],\"inheritedAttributes\":[32],\"setFocus\":[64],\"setBlur\":[64],\"setOptions\":[64],\"clearValue\":[64],\"setProcessing\":[64],\"setSearchCallback\":[64],\"setTemplateResolver\":[64]},null,{\"size\":[\"validateSize\"],\"options\":[\"watchOptions\"]}]]],[\"gov-chip.cjs\",[[4,\"gov-chip\",{\"disabled\":[516],\"href\":[1],\"target\":[1],\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"size\":[1],\"tag\":[1],\"color\":[1],\"type\":[513],\"focusable\":[4],\"identifier\":[1],\"inheritedAttributes\":[32],\"geRef\":[64],\"setFocus\":[64]},null,{\"color\":[\"validateColor\"],\"size\":[\"validateSize\"]}]]],[\"gov-form-select.cjs\",[[4,\"gov-form-select\",{\"value\":[1537],\"options\":[1537],\"identifier\":[1],\"size\":[1],\"name\":[1],\"required\":[4],\"success\":[516],\"disabled\":[516],\"invalid\":[4],\"focused\":[32],\"optionsState\":[32],\"inheritedAttributes\":[32],\"setFocus\":[64],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchControlAttrs\"],\"options\":[\"watchOptions\"],\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"],\"success\":[\"watchControlAttrs\"],\"value\":[\"watchValue\"]}]]],[\"gov-backdrop.cjs\",[[0,\"gov-backdrop\",{\"inverse\":[4],\"disabled\":[1540],\"accessibleLabel\":[1,\"accessible-label\"],\"accessibleLabelledBy\":[1,\"accessible-labelledby\"],\"validateAccessibility\":[64]}]]],[\"gov-attachments_3.cjs\",[[4,\"gov-attachments-item\",{\"accessibleRemoveLabel\":[1,\"accessible-remove-label\"],\"accessibleRemoveLabelledBy\":[1,\"accessible-remove-labelledby\"],\"validateAccessibility\":[64]}],[4,\"gov-attachments\",{\"label\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"validateWcag\":[64]}],[4,\"gov-form-message\",{\"color\":[1],\"size\":[1],\"identifier\":[64]},null,{\"color\":[\"validateColor\"]}]]],[\"gov-form-input_2.cjs\",[[4,\"gov-form-input\",{\"value\":[1537],\"identifier\":[1],\"success\":[516],\"size\":[1],\"name\":[1],\"multiline\":[4],\"rows\":[2],\"cols\":[2],\"required\":[516],\"disabled\":[516],\"placeholder\":[1],\"readonly\":[4],\"minlength\":[2],\"maxlength\":[2],\"min\":[8],\"max\":[8],\"autocomplete\":[4],\"autocorrect\":[4],\"spellcheck\":[4],\"inputLang\":[1,\"input-lang\"],\"type\":[1],\"inputType\":[1,\"input-type\"],\"role\":[1],\"invalid\":[516],\"accessibleShowPasswordLabel\":[1,\"accessible-show-password-label\"],\"accessibleHidePasswordLabel\":[1,\"accessible-hide-password-label\"],\"focused\":[32],\"showPassword\":[32],\"inheritedAttributes\":[32],\"setFocus\":[64],\"setValue\":[64],\"clearValue\":[64],\"getRef\":[64]},null,{\"size\":[\"validateSize\",\"watchControlAttrs\"],\"disabled\":[\"watchControlAttrs\"],\"invalid\":[\"watchControlAttrs\"],\"success\":[\"watchControlAttrs\"]}],[0,\"gov-skeleton\",{\"size\":[1],\"color\":[1],\"shape\":[1],\"width\":[1],\"height\":[1],\"animation\":[1],\"inheritedAttributes\":[32]},null,{\"size\":[\"validateSize\"],\"shape\":[\"validateShape\"],\"animation\":[\"validateAnimation\"]}]]]]"), options);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
"components/gov-attachments/gov-attachments-item.js",
|
|
6
6
|
"components/gov-attachments/gov-attachments.js",
|
|
7
7
|
"components/gov-backdrop/gov-backdrop.js",
|
|
8
|
+
"components/gov-banner/gov-banner.js",
|
|
9
|
+
"components/gov-blocquote/gov-blockquote.js",
|
|
8
10
|
"components/gov-breadcrumbs/gov-breadcrumbs.js",
|
|
9
11
|
"components/gov-button/button/gov-button.js",
|
|
10
12
|
"components/gov-button/dropdown/gov-dropdown.js",
|
|
@@ -53,7 +55,6 @@
|
|
|
53
55
|
"components/gov-tag/gov-tag.js",
|
|
54
56
|
"components/gov-theme-switch/gov-theme-switch.js",
|
|
55
57
|
"components/gov-tile/gov-tile.js",
|
|
56
|
-
"components/gov-tile/container/gov-tiles.js",
|
|
57
58
|
"components/gov-toast/gov-toast.js",
|
|
58
59
|
"components/gov-tooltip/gov-tooltip-content.js",
|
|
59
60
|
"components/gov-tooltip/gov-tooltip.js",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
/* stylelint-enable order/order */
|
|
11
11
|
/* stylelint-disable order/order */
|
|
12
12
|
/* stylelint-enable order/order */
|
|
13
|
-
/* Variables - breakpoints */ /* Variables - Colors */ /* Variables - Sizes */ /* Variables - General */ /* Variables - Typography */ /* Variables -
|
|
13
|
+
/* Variables - breakpoints */ /* Variables - Colors */ /* Variables - Sizes */ /* Variables - General */ /* Variables - Typography */ /* Variables - Forms */ /* Variables - shadows */ /* Variables - z-index */ /* stylelint-disable order/order */
|
|
14
14
|
/* stylelint-enable order/order */
|
|
15
15
|
/* Attachments - Item */
|
|
16
16
|
gov-attachments-item, .gov-attachments-item {
|
|
@@ -36,9 +36,8 @@ gov-attachments-item__name, .gov-attachments-item__name {
|
|
|
36
36
|
color: var(--name-color, var(--text-primary));
|
|
37
37
|
}
|
|
38
38
|
gov-attachments-item__name span, .gov-attachments-item__name span {
|
|
39
|
-
font-size: var(--font-size-xs);
|
|
40
|
-
line-height:
|
|
41
|
-
letter-spacing: 0.0125rem;
|
|
39
|
+
font-size: var(--font-size-body-xs);
|
|
40
|
+
line-height: 150%;
|
|
42
41
|
font-weight: 400;
|
|
43
42
|
color: var(--decor-color, var(--text-secondary));
|
|
44
43
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { pick } from "../../utils/utils";
|
|
2
|
+
import { Sizes } from "../../core/constants/sizes";
|
|
3
|
+
export const BannerSizes = pick(Sizes, ['_S', '_M', '_L', '_XL']);
|
|
4
|
+
export var BannerBackground;
|
|
5
|
+
(function (BannerBackground) {
|
|
6
|
+
BannerBackground["SIMPLE"] = "simple";
|
|
7
|
+
BannerBackground["WAVES"] = "waves";
|
|
8
|
+
BannerBackground["STRIPES"] = "stripes";
|
|
9
|
+
BannerBackground["LINES"] = "lines";
|
|
10
|
+
})(BannerBackground || (BannerBackground = {}));
|
|
11
|
+
export var BannerForeground;
|
|
12
|
+
(function (BannerForeground) {
|
|
13
|
+
BannerForeground["IMAGE"] = "image";
|
|
14
|
+
BannerForeground["LOGO"] = "logo";
|
|
15
|
+
BannerForeground["ICON"] = "icon";
|
|
16
|
+
})(BannerForeground || (BannerForeground = {}));
|
|
17
|
+
export var BannerTextColor;
|
|
18
|
+
(function (BannerTextColor) {
|
|
19
|
+
BannerTextColor["LIGHT"] = "light";
|
|
20
|
+
BannerTextColor["DARK"] = "dark";
|
|
21
|
+
})(BannerTextColor || (BannerTextColor = {}));
|
|
22
|
+
export const BannerClass = {
|
|
23
|
+
root: 'gov-banner',
|
|
24
|
+
content: 'gov-banner__content',
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-banner/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,KAAK,EAAC,MAAM,4BAA4B,CAAC;AAEjD,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAA;AAGjE,MAAM,CAAN,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC3B,qCAAiB,CAAA;IACjB,mCAAe,CAAA;IACf,uCAAmB,CAAA;IACnB,mCAAe,CAAA;AAChB,CAAC,EALW,gBAAgB,KAAhB,gBAAgB,QAK3B;AAGD,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,mCAAe,CAAA;IACf,iCAAa,CAAA;IACb,iCAAa,CAAA;AACd,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B;AAGD,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,kCAAe,CAAA;IACf,gCAAa,CAAA;AACd,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;AAGD,MAAM,CAAC,MAAM,WAAW,GAAG;IAC1B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,qBAAqB;CAC9B,CAAA","sourcesContent":["import {ValueOf} from \"../../types/interfaces\";\nimport {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\n\nexport const BannerSizes = pick(Sizes, ['_S', '_M', '_L', '_XL'])\nexport type BannerSizesType = `${ValueOf<typeof BannerSizes>}`\n\nexport enum BannerBackground {\n\tSIMPLE = 'simple',\n\tWAVES = 'waves',\n\tSTRIPES = 'stripes',\n\tLINES = 'lines',\n}\nexport type BannerBackgroundsType = `${ValueOf<typeof BannerBackground>}`\n\nexport enum BannerForeground {\n\tIMAGE = 'image',\n\tLOGO = 'logo',\n\tICON = 'icon',\n}\nexport type BannerForegroundsType = `${ValueOf<typeof BannerForeground>}`\n\nexport enum BannerTextColor {\n\tLIGHT = 'light',\n\tDARK = 'dark',\n}\nexport type BannerTextColorsType = `${ValueOf<typeof BannerTextColor>}`\n\nexport const BannerClass = {\n\troot: 'gov-banner',\n\tcontent: 'gov-banner__content',\n}\n"]}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { validateAccessibleLabel } from "../../helpers/Validate/wcag";
|
|
3
|
+
import { canValidateWcagOnRender } from "../../helpers/Dom/win";
|
|
4
|
+
import { govHost } from "../../helpers/Dom/template";
|
|
5
|
+
import { tick } from "../../utils/stencil.utils";
|
|
6
|
+
import { BannerClass, BannerSizes, BannerBackground, BannerForeground, BannerTextColor } from "./constants";
|
|
7
|
+
import { validateProp } from "../../helpers/Validate/props";
|
|
8
|
+
export class GovBanner {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.size = BannerSizes._M;
|
|
11
|
+
this.background = BannerBackground.SIMPLE;
|
|
12
|
+
this.foreground = BannerForeground.LOGO;
|
|
13
|
+
this.textColor = BannerTextColor.LIGHT;
|
|
14
|
+
this.accessibleLabel = undefined;
|
|
15
|
+
this.accessibleLabelledBy = undefined;
|
|
16
|
+
this.h = govHost(this.host);
|
|
17
|
+
}
|
|
18
|
+
validateSize(newValue) {
|
|
19
|
+
validateProp(BannerSizes, newValue, BannerClass.root);
|
|
20
|
+
}
|
|
21
|
+
componentWillLoad() {
|
|
22
|
+
this.validateSize(this.size);
|
|
23
|
+
}
|
|
24
|
+
async componentDidRender() {
|
|
25
|
+
if (canValidateWcagOnRender()) {
|
|
26
|
+
tick(() => this.validateAccessibility());
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
render() {
|
|
30
|
+
return (h(Host, Object.assign({ key: '2e74fec76a2919885f1ffcf0d5b5b43f4da9634f', class: this.h.classes(BannerClass.root), size: this.size }, (this.size !== "xl" ? { background: this.background, foreground: this.foreground } : { 'text-color': this.textColor })), h("div", { key: 'e96d0155618a4d8703869f9d41a16e6dca148d8f' }, h("div", { key: '1ca80fec0a9918753727bdbbde993c650f464e44', class: BannerClass.content }, h("slot", { key: '6649fb9ad5c08b9cb7fe44a633fbdf8a7c1070cf', name: "headline" }), h("slot", { key: '615031f7ca60d053f08822a497d59cb123103bae' })), this.h.hasSlot('button') && (h("gov-button", { key: '256dcef6425d21dfd6ea47b2dc9dbcfe2bbc0a19', color: "secondary", type: "solid", size: "l" }, h("slot", { key: '2553414cc5541ec8f4e8d22d4cd394d9d57f40ef', name: "button" })))), h("slot", { key: 'b87320fc0d4ea2415f2c2e3565942fd8944c8f7c', name: "image" })));
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Validate the accessibility attributes of the component
|
|
34
|
+
*/
|
|
35
|
+
async validateAccessibility() {
|
|
36
|
+
validateAccessibleLabel(this.accessibleLabel, this.accessibleLabelledBy, BannerClass.root, this.host);
|
|
37
|
+
}
|
|
38
|
+
static get is() { return "gov-banner"; }
|
|
39
|
+
static get properties() {
|
|
40
|
+
return {
|
|
41
|
+
"size": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"mutable": false,
|
|
44
|
+
"complexType": {
|
|
45
|
+
"original": "BannerSizesType",
|
|
46
|
+
"resolved": "\"l\" | \"m\" | \"s\" | \"xl\"",
|
|
47
|
+
"references": {
|
|
48
|
+
"BannerSizesType": {
|
|
49
|
+
"location": "import",
|
|
50
|
+
"path": "./constants",
|
|
51
|
+
"id": "../../../packages/core/src/components/gov-banner/constants.ts::BannerSizesType"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"required": false,
|
|
56
|
+
"optional": false,
|
|
57
|
+
"docs": {
|
|
58
|
+
"tags": [],
|
|
59
|
+
"text": "Banner\u2019s size."
|
|
60
|
+
},
|
|
61
|
+
"attribute": "size",
|
|
62
|
+
"reflect": true,
|
|
63
|
+
"defaultValue": "BannerSizes._M"
|
|
64
|
+
},
|
|
65
|
+
"background": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"mutable": false,
|
|
68
|
+
"complexType": {
|
|
69
|
+
"original": "BannerBackgroundsType",
|
|
70
|
+
"resolved": "\"lines\" | \"simple\" | \"stripes\" | \"waves\"",
|
|
71
|
+
"references": {
|
|
72
|
+
"BannerBackgroundsType": {
|
|
73
|
+
"location": "import",
|
|
74
|
+
"path": "./constants",
|
|
75
|
+
"id": "../../../packages/core/src/components/gov-banner/constants.ts::BannerBackgroundsType"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"required": false,
|
|
80
|
+
"optional": false,
|
|
81
|
+
"docs": {
|
|
82
|
+
"tags": [],
|
|
83
|
+
"text": "Banner\u2019s background"
|
|
84
|
+
},
|
|
85
|
+
"attribute": "background",
|
|
86
|
+
"reflect": false,
|
|
87
|
+
"defaultValue": "BannerBackground.SIMPLE"
|
|
88
|
+
},
|
|
89
|
+
"foreground": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"mutable": false,
|
|
92
|
+
"complexType": {
|
|
93
|
+
"original": "BannerForegroundsType",
|
|
94
|
+
"resolved": "\"icon\" | \"image\" | \"logo\"",
|
|
95
|
+
"references": {
|
|
96
|
+
"BannerForegroundsType": {
|
|
97
|
+
"location": "import",
|
|
98
|
+
"path": "./constants",
|
|
99
|
+
"id": "../../../packages/core/src/components/gov-banner/constants.ts::BannerForegroundsType"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"required": false,
|
|
104
|
+
"optional": false,
|
|
105
|
+
"docs": {
|
|
106
|
+
"tags": [],
|
|
107
|
+
"text": "Banner\u2019s foreground"
|
|
108
|
+
},
|
|
109
|
+
"attribute": "foreground",
|
|
110
|
+
"reflect": false,
|
|
111
|
+
"defaultValue": "BannerForeground.LOGO"
|
|
112
|
+
},
|
|
113
|
+
"textColor": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"mutable": false,
|
|
116
|
+
"complexType": {
|
|
117
|
+
"original": "BannerTextColorsType",
|
|
118
|
+
"resolved": "\"dark\" | \"light\"",
|
|
119
|
+
"references": {
|
|
120
|
+
"BannerTextColorsType": {
|
|
121
|
+
"location": "import",
|
|
122
|
+
"path": "./constants",
|
|
123
|
+
"id": "../../../packages/core/src/components/gov-banner/constants.ts::BannerTextColorsType"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"required": false,
|
|
128
|
+
"optional": false,
|
|
129
|
+
"docs": {
|
|
130
|
+
"tags": [],
|
|
131
|
+
"text": "XL Banner\u2019s text color"
|
|
132
|
+
},
|
|
133
|
+
"attribute": "text-color",
|
|
134
|
+
"reflect": false,
|
|
135
|
+
"defaultValue": "BannerTextColor.LIGHT"
|
|
136
|
+
},
|
|
137
|
+
"accessibleLabel": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"mutable": false,
|
|
140
|
+
"complexType": {
|
|
141
|
+
"original": "string",
|
|
142
|
+
"resolved": "string",
|
|
143
|
+
"references": {}
|
|
144
|
+
},
|
|
145
|
+
"required": false,
|
|
146
|
+
"optional": false,
|
|
147
|
+
"docs": {
|
|
148
|
+
"tags": [],
|
|
149
|
+
"text": "Adds accessible label for the banner that is only shown for screen readers."
|
|
150
|
+
},
|
|
151
|
+
"attribute": "accessible-label",
|
|
152
|
+
"reflect": false
|
|
153
|
+
},
|
|
154
|
+
"accessibleLabelledBy": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"mutable": false,
|
|
157
|
+
"complexType": {
|
|
158
|
+
"original": "string",
|
|
159
|
+
"resolved": "string",
|
|
160
|
+
"references": {}
|
|
161
|
+
},
|
|
162
|
+
"required": false,
|
|
163
|
+
"optional": false,
|
|
164
|
+
"docs": {
|
|
165
|
+
"tags": [],
|
|
166
|
+
"text": "String of id's that indicate alternative labels elements"
|
|
167
|
+
},
|
|
168
|
+
"attribute": "accessible-labelledby",
|
|
169
|
+
"reflect": false
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
static get methods() {
|
|
174
|
+
return {
|
|
175
|
+
"validateAccessibility": {
|
|
176
|
+
"complexType": {
|
|
177
|
+
"signature": "() => Promise<void>",
|
|
178
|
+
"parameters": [],
|
|
179
|
+
"references": {
|
|
180
|
+
"Promise": {
|
|
181
|
+
"location": "global",
|
|
182
|
+
"id": "global::Promise"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"return": "Promise<void>"
|
|
186
|
+
},
|
|
187
|
+
"docs": {
|
|
188
|
+
"text": "Validate the accessibility attributes of the component",
|
|
189
|
+
"tags": []
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
static get elementRef() { return "host"; }
|
|
195
|
+
static get watchers() {
|
|
196
|
+
return [{
|
|
197
|
+
"propName": "size",
|
|
198
|
+
"methodName": "validateSize"
|
|
199
|
+
}];
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
//# sourceMappingURL=gov-banner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gov-banner.js","sourceRoot":"","sources":["../../../../../../src/components/gov-banner/gov-banner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AAC9E,OAAO,EAAC,uBAAuB,EAAC,MAAM,6BAA6B,CAAA;AACnE,OAAO,EAAC,uBAAuB,EAAC,MAAM,uBAAuB,CAAA;AAC7D,OAAO,EAAC,OAAO,EAAC,MAAM,4BAA4B,CAAA;AAElD,OAAO,EAAC,IAAI,EAAC,MAAM,2BAA2B,CAAC;AAC/C,OAAO,EACN,WAAW,EACX,WAAW,EAEX,gBAAgB,EAEO,gBAAgB,EAAE,eAAe,EACxD,MAAM,aAAa,CAAC;AACrB,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAM1D,MAAM,OAAO,SAAS;IAGrB;oBAQwD,WAAW,CAAC,EAAE;0BAIjB,gBAAgB,CAAC,MAAM;0BAIvB,gBAAgB,CAAC,IAAI;yBAII,eAAe,CAAC,KAAK;;;QAnBlG,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IA6BD,YAAY,CAAC,QAAgB;QAC5B,YAAY,CAAC,WAAW,EAAE,QAAQ,EAAE,WAAW,CAAC,IAAI,CAAC,CAAA;IACtD,CAAC;IAED,iBAAiB;QAChB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC7B,CAAC;IAED,KAAK,CAAC,kBAAkB;QACvB,IAAI,uBAAuB,EAAE,EAAE,CAAC;YAC/B,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,qBAAqB,EAAE,CAAC,CAAA;QACzC,CAAC;IACF,CAAC;IAED,MAAM;QACL,OAAO,CACN,EAAC,IAAI,mEAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAC1C,IAAI,EAAE,IAAI,CAAC,IAAI,IACX,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,EAAC,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,EAAC,CAAC,CAAC,CAAC,EAAC,YAAY,EAAE,IAAI,CAAC,SAAS,EAAC,CAAC;YACxH;gBACC,4DAAK,KAAK,EAAE,WAAW,CAAC,OAAO;oBAC9B,6DAAM,IAAI,EAAC,UAAU,GAAE;oBACvB,8DAAO,CACF;gBACL,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAC5B,mEAAY,KAAK,EAAC,WAAW,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,GAAG;oBAClD,6DAAM,IAAI,EAAC,QAAQ,GAAE,CACT,CACb,CACI;YACN,6DAAM,IAAI,EAAC,OAAO,GAAE,CACd,CACP,CAAA;IACF,CAAC;IAED;;OAEG;IAEH,KAAK,CAAC,qBAAqB;QAC1B,uBAAuB,CAAC,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,oBAAoB,EAAE,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;IACtG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, h, Host, Method, Prop, Watch} from '@stencil/core'\nimport {validateAccessibleLabel} from '../../helpers/Validate/wcag'\nimport {canValidateWcagOnRender} from '../../helpers/Dom/win'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {tick} from \"../../utils/stencil.utils\";\nimport {\n\tBannerClass,\n\tBannerSizes,\n\tBannerSizesType,\n\tBannerBackground,\n\tBannerBackgroundsType,\n\tBannerForegroundsType, BannerForeground, BannerTextColor, BannerTextColorsType\n} from \"./constants\";\nimport {validateProp} from \"../../helpers/Validate/props\";\n\n\n@Component({\n\ttag: 'gov-banner',\n})\nexport class GovBanner {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovBannerElement\n\t/**\n\t * Banner’s size.\n\t */\n\t@Prop({reflect: true}) readonly size: BannerSizesType = BannerSizes._M\n\t/**\n\t * Banner’s background\n\t */\n\t@Prop() readonly background: BannerBackgroundsType = BannerBackground.SIMPLE\n\t/**\n\t * Banner’s foreground\n\t */\n\t@Prop() readonly foreground: BannerForegroundsType = BannerForeground.LOGO\n\t/**\n\t * XL Banner’s text color\n\t */\n\t@Prop({ attribute: 'text-color' }) readonly textColor: BannerTextColorsType = BannerTextColor.LIGHT\n\t/**\n\t * Adds accessible label for the banner that is only shown for screen readers.\n\t */\n\t@Prop({attribute: 'accessible-label'}) readonly accessibleLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({attribute: 'accessible-labelledby'}) readonly accessibleLabelledBy: string\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(BannerSizes, newValue, BannerClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\ttick(() => this.validateAccessibility())\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(BannerClass.root)}\n\t\t\t\t size={this.size}\n\t\t\t\t {...(this.size !== \"xl\" ? {background: this.background, foreground: this.foreground} : {'text-color': this.textColor})}>\n\t\t\t\t<div>\n\t\t\t\t\t<div class={BannerClass.content}>\n\t\t\t\t\t\t<slot name=\"headline\"/>\n\t\t\t\t\t\t<slot/>\n\t\t\t\t\t</div>\n\t\t\t\t\t{this.h.hasSlot('button') && (\n\t\t\t\t\t\t<gov-button color=\"secondary\" type=\"solid\" size=\"l\">\n\t\t\t\t\t\t\t<slot name=\"button\"/>\n\t\t\t\t\t\t</gov-button>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t\t<slot name=\"image\"/>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the accessibility attributes of the component\n\t */\n\t@Method()\n\tasync validateAccessibility(): Promise<void> {\n\t\tvalidateAccessibleLabel(this.accessibleLabel, this.accessibleLabelledBy, BannerClass.root, this.host)\n\t}\n}\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export var BlockquoteType;
|
|
2
|
+
(function (BlockquoteType) {
|
|
3
|
+
BlockquoteType["PRIMARY"] = "primary";
|
|
4
|
+
BlockquoteType["SUBTLE"] = "subtle";
|
|
5
|
+
BlockquoteType["NEUTRAL"] = "neutral";
|
|
6
|
+
})(BlockquoteType || (BlockquoteType = {}));
|
|
7
|
+
export const BlockquoteClass = {
|
|
8
|
+
root: 'gov-blockquote',
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../src/components/gov-blocquote/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IACjB,qCAAmB,CAAA;AACpB,CAAC,EAJW,cAAc,KAAd,cAAc,QAIzB;AAGD,MAAM,CAAC,MAAM,eAAe,GAAG;IAC9B,IAAI,EAAE,gBAAgB;CACtB,CAAA","sourcesContent":["import {ValueOf} from \"../../types/interfaces\";\n\nexport enum BlockquoteType {\n\tPRIMARY = 'primary',\n\tSUBTLE = 'subtle',\n\tNEUTRAL = 'neutral',\n}\nexport type BlockquoteTypesType = `${ValueOf<typeof BlockquoteType>}`\n\nexport const BlockquoteClass = {\n\troot: 'gov-blockquote',\n}\n"]}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { govHost } from "../../helpers/Dom/template";
|
|
3
|
+
import { BlockquoteClass, BlockquoteType } from "./constants";
|
|
4
|
+
export class GovBlockquote {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.type = BlockquoteType.SUBTLE;
|
|
7
|
+
this.cite = undefined;
|
|
8
|
+
this.h = govHost(this.host);
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return (h(Host, { key: '2d6d6f8731e3cf3a7697b1e5c9cb9628b120a9c0', class: this.h.classes(BlockquoteClass.root), type: this.type }, h("gov-icon", { key: 'a34dc43b0a8336830f7f8bd49a04f3fd36ccac5d', type: "components", name: "quote", size: "3xl" }), h("blockquote", { key: '1f74006947ad7d8d90ea3425be7d8f66291dbfc5', cite: this.cite }, h("slot", { key: '1e0413bfdcfec33d487998f88407b000d2cbd376' })), h("slot", { key: '9c61d787603bf343546af51e25ac9b6ad47191e9', name: "image" }), h("slot", { key: '7f7956a01aef3d1fe2ecc21428facc932e69ab03', name: "author" })));
|
|
12
|
+
}
|
|
13
|
+
static get is() { return "gov-blockquote"; }
|
|
14
|
+
static get properties() {
|
|
15
|
+
return {
|
|
16
|
+
"type": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"mutable": false,
|
|
19
|
+
"complexType": {
|
|
20
|
+
"original": "BlockquoteTypesType",
|
|
21
|
+
"resolved": "\"neutral\" | \"primary\" | \"subtle\"",
|
|
22
|
+
"references": {
|
|
23
|
+
"BlockquoteTypesType": {
|
|
24
|
+
"location": "import",
|
|
25
|
+
"path": "./constants",
|
|
26
|
+
"id": "../../../packages/core/src/components/gov-blocquote/constants.ts::BlockquoteTypesType"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"required": false,
|
|
31
|
+
"optional": false,
|
|
32
|
+
"docs": {
|
|
33
|
+
"tags": [],
|
|
34
|
+
"text": "Blockquote\u2019s type"
|
|
35
|
+
},
|
|
36
|
+
"attribute": "type",
|
|
37
|
+
"reflect": true,
|
|
38
|
+
"defaultValue": "BlockquoteType.SUBTLE"
|
|
39
|
+
},
|
|
40
|
+
"cite": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"mutable": false,
|
|
43
|
+
"complexType": {
|
|
44
|
+
"original": "string",
|
|
45
|
+
"resolved": "string",
|
|
46
|
+
"references": {}
|
|
47
|
+
},
|
|
48
|
+
"required": false,
|
|
49
|
+
"optional": false,
|
|
50
|
+
"docs": {
|
|
51
|
+
"tags": [],
|
|
52
|
+
"text": "Blockquote\u2019s cite url"
|
|
53
|
+
},
|
|
54
|
+
"attribute": "cite",
|
|
55
|
+
"reflect": false
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
static get elementRef() { return "host"; }
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=gov-blockquote.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gov-blockquote.js","sourceRoot":"","sources":["../../../../../../src/components/gov-blocquote/gov-blockquote.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,eAAe,CAAA;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAC,eAAe,EAAE,cAAc,EAAsB,MAAM,aAAa,CAAC;AAMjF,MAAM,OAAO,aAAa;IAGzB;oBAQ4D,cAAc,CAAC,MAAM;;QAPhF,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAYD,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI;YACjE,iEAAU,IAAI,EAAC,YAAY,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,GAAY;YAC/D,mEAAY,IAAI,EAAE,IAAI,CAAC,IAAI;gBAC1B,8DAAQ,CACI;YACb,6DAAM,IAAI,EAAC,OAAO,GAAG;YACrB,6DAAM,IAAI,EAAC,QAAQ,GAAG,CAChB,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {Component, Element, Host, h, Prop} from '@stencil/core'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport {BlockquoteClass, BlockquoteType, BlockquoteTypesType} from \"./constants\";\n\n\n@Component({\n\ttag: 'gov-blockquote',\n})\nexport class GovBlockquote {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovBlockquoteElement\n\t/**\n\t * Blockquote’s type\n\t */\n\t@Prop({reflect: true}) readonly type: BlockquoteTypesType = BlockquoteType.SUBTLE\n\t/**\n\t * Blockquote’s cite url\n\t */\n\t@Prop({attribute: 'cite'}) readonly cite: string\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(BlockquoteClass.root)} type={this.type}>\n\t\t\t\t<gov-icon type=\"components\" name=\"quote\" size=\"3xl\"></gov-icon>\n\t\t\t\t<blockquote cite={this.cite}>\n\t\t\t\t\t<slot />\n\t\t\t\t</blockquote>\n\t\t\t\t<slot name=\"image\" />\n\t\t\t\t<slot name=\"author\" />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
|