@gov-design-system-ce/components 4.1.0-rc04 → 4.1.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/{colors-976f6dff.js → colors-f7c8eadd.js} +7 -9
- package/dist/cjs/colors-f7c8eadd.js.map +1 -0
- package/dist/cjs/{constants-e2807da6.js → constants-49f0efa6.js} +2 -2
- package/dist/cjs/{constants-e2807da6.js.map → constants-49f0efa6.js.map} +1 -1
- package/dist/cjs/{constants-43c0c51b.js → constants-4dfa23e3.js} +2 -2
- package/dist/cjs/{constants-43c0c51b.js.map → constants-4dfa23e3.js.map} +1 -1
- package/dist/cjs/{constants-441d1af4.js → constants-82929d01.js} +2 -2
- package/dist/cjs/{constants-441d1af4.js.map → constants-82929d01.js.map} +1 -1
- package/dist/cjs/{constants-bd0d66ac.js → constants-b9fece07.js} +2 -2
- package/dist/cjs/{constants-bd0d66ac.js.map → constants-b9fece07.js.map} +1 -1
- package/dist/cjs/{constants-5037cdc9.js → constants-c0886404.js} +2 -2
- package/dist/cjs/{constants-5037cdc9.js.map → constants-c0886404.js.map} +1 -1
- package/dist/cjs/{constants-861428a4.js → constants-f464dc4c.js} +2 -2
- package/dist/cjs/{constants-861428a4.js.map → constants-f464dc4c.js.map} +1 -1
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{form-c1aec07a.js → form-4e66039a.js} +4 -3
- package/dist/cjs/form-4e66039a.js.map +1 -0
- package/dist/cjs/gov-accordion-item.cjs.entry.js +4 -5
- package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-accordion.cjs.entry.js +3 -4
- package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-attachments_3.cjs.entry.js +11 -12
- package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-backdrop.cjs.entry.js +4 -5
- package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +5 -6
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-button.cjs.entry.js +10 -11
- package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-card.cjs.entry.js +5 -6
- package/dist/cjs/gov-card.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-chip.cjs.entry.js +11 -12
- package/dist/cjs/gov-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-container.cjs.entry.js +2 -10
- package/dist/cjs/gov-container.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-control-group.cjs.entry.js +4 -5
- package/dist/cjs/gov-control-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-cookiebar.cjs.entry.js +1 -1
- package/dist/cjs/gov-dialog.cjs.entry.js +5 -6
- package/dist/cjs/gov-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/gov-empty.cjs.entry.js +3 -4
- package/dist/cjs/gov-empty.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-error-code.cjs.entry.js +1 -1
- package/dist/cjs/gov-flex_4.cjs.entry.js +322 -0
- package/dist/cjs/gov-flex_4.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js +4 -6
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +5 -6
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-checkbox.cjs.entry.js +7 -8
- package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-control.cjs.entry.js +5 -5
- package/dist/cjs/gov-form-file.cjs.entry.js +5 -6
- package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-group.cjs.entry.js +4 -5
- package/dist/cjs/gov-form-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-input_2.cjs.entry.js +12 -11
- package/dist/cjs/gov-form-input_2.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +9 -10
- 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 +5 -6
- package/dist/cjs/gov-form-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-radio.cjs.entry.js +6 -7
- package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-search.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-select.cjs.entry.js +8 -9
- package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-switch.cjs.entry.js +7 -8
- package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-grid-item.cjs.entry.js +2 -2
- package/dist/cjs/gov-grid.cjs.entry.js +2 -2
- package/dist/cjs/gov-infobar.cjs.entry.js +6 -7
- package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-layout-column.cjs.entry.js +2 -2
- package/dist/cjs/gov-layout.cjs.entry.js +2 -2
- package/dist/cjs/gov-lifecycle.cjs.entry.js +1 -1
- package/dist/cjs/gov-link.cjs.entry.js +51 -0
- package/dist/cjs/gov-link.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-loading.cjs.entry.js +4 -5
- package/dist/cjs/gov-loading.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-message.cjs.entry.js +5 -6
- package/dist/cjs/gov-message.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-pagination.cjs.entry.js +5 -6
- package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-spacer.cjs.entry.js +4 -5
- package/dist/cjs/gov-spacer.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-stepper-item.cjs.entry.js +6 -7
- package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-stepper.cjs.entry.js +6 -7
- package/dist/cjs/gov-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tabs-item.cjs.entry.js +4 -4
- package/dist/cjs/gov-tabs.cjs.entry.js +6 -7
- package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tag.cjs.entry.js +10 -11
- package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tile.cjs.entry.js +2 -2
- package/dist/cjs/gov-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tiles.cjs.entry.js +2 -2
- package/dist/cjs/gov-toast.cjs.entry.js +6 -6
- package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tooltip-content.cjs.entry.js +4 -4
- package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tooltip.cjs.entry.js +10 -11
- package/dist/cjs/gov-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-wizard-item.cjs.entry.js +8 -9
- package/dist/cjs/gov-wizard-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-wizard.cjs.entry.js +8 -9
- package/dist/cjs/gov-wizard.cjs.entry.js.map +1 -1
- package/dist/cjs/{win-587f4614.js → gov.log-bfea3151.js} +16 -4
- package/dist/cjs/gov.log-bfea3151.js.map +1 -0
- package/dist/cjs/index-7ff4447c.js +6 -14
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{props-b8a955b2.js → props-d189860c.js} +2 -2
- package/dist/cjs/{props-b8a955b2.js.map → props-d189860c.js.map} +1 -1
- package/dist/cjs/{template-b070338f.js → template-39939fd6.js} +1 -20
- package/dist/cjs/template-39939fd6.js.map +1 -0
- package/dist/cjs/{wcag-b8d80c7d.js → wcag-2927ff73.js} +4 -5
- package/dist/cjs/wcag-2927ff73.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/gov-accordion/gov-accordion-item.js +1 -1
- package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
- package/dist/collection/components/gov-attachments/gov-attachments-item.css +6 -35
- package/dist/collection/components/gov-attachments/gov-attachments-item.js +1 -1
- package/dist/collection/components/gov-attachments/gov-attachments-item.js.map +1 -1
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +1 -1
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
- package/dist/collection/components/gov-button/button/gov-button.js +9 -9
- package/dist/collection/components/gov-button/button/gov-button.js.map +1 -1
- package/dist/collection/components/gov-card/gov-card.js +1 -1
- package/dist/collection/components/gov-card/gov-card.js.map +1 -1
- package/dist/collection/components/gov-chip/gov-chip.js +16 -16
- package/dist/collection/components/gov-chip/gov-chip.js.map +1 -1
- package/dist/collection/components/gov-container/gov-container.js +2 -38
- package/dist/collection/components/gov-container/gov-container.js.map +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-form/autocomplete/gov-form-autocomplete.js +1 -20
- 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 +1 -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 +1 -20
- package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
- package/dist/collection/components/gov-form/group/gov-form-checkbox-group.js +1 -1
- package/dist/collection/components/gov-form/group/gov-form-group.css +7 -36
- package/dist/collection/components/gov-form/group/gov-form-group.js +1 -1
- package/dist/collection/components/gov-form/group/gov-form-radio-group.js +1 -1
- package/dist/collection/components/gov-form/input/constants.js +1 -0
- package/dist/collection/components/gov-form/input/constants.js.map +1 -1
- package/dist/collection/components/gov-form/input/gov-form-input.js +5 -3
- 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 -4
- 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/search/gov-form-search.js +1 -1
- package/dist/collection/components/gov-form/select/gov-form-select.js +2 -2
- package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
- package/dist/collection/components/gov-form/switch/constants.js +1 -1
- package/dist/collection/components/gov-form/switch/constants.js.map +1 -1
- package/dist/collection/components/gov-form/switch/gov-form-switch.js +2 -2
- package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
- package/dist/collection/components/gov-grid/gov-grid-item.js +1 -1
- package/dist/collection/components/gov-grid/gov-grid.js +1 -1
- package/dist/collection/components/gov-icon/constants.js +8 -7
- package/dist/collection/components/gov-icon/constants.js.map +1 -1
- package/dist/collection/components/gov-icon/gov-icon.js +38 -6
- package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
- package/dist/collection/components/gov-icon/list.js +37 -151
- package/dist/collection/components/gov-icon/list.js.map +1 -1
- package/dist/collection/components/gov-infobar/gov-infobar.js +2 -2
- 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 +7 -0
- package/dist/collection/components/gov-link/constants.js.map +1 -0
- package/dist/collection/components/gov-link/gov-link.js +129 -0
- package/dist/collection/components/gov-link/gov-link.js.map +1 -0
- package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
- package/dist/collection/components/gov-loading/loading/gov-loading.js.map +1 -1
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +1 -1
- package/dist/collection/components/gov-message/gov-message.js +1 -1
- package/dist/collection/components/gov-pagination/gov-pagination.js +1 -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/gov-stepper-item.js +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper.js +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs-item.js +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -1
- package/dist/collection/components/gov-tag/gov-tag.js +9 -9
- package/dist/collection/components/gov-tag/gov-tag.js.map +1 -1
- package/dist/collection/components/gov-theme-switch/constants.js +9 -1
- package/dist/collection/components/gov-theme-switch/constants.js.map +1 -1
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +134 -10
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js.map +1 -1
- package/dist/collection/components/gov-tile/container/gov-tiles.js +1 -1
- package/dist/collection/components/gov-tile/gov-tile.js +7 -7
- package/dist/collection/components/gov-tile/gov-tile.js.map +1 -1
- package/dist/collection/components/gov-toast/constants.js +1 -0
- package/dist/collection/components/gov-toast/constants.js.map +1 -1
- package/dist/collection/components/gov-toast/gov-toast.js +1 -1
- 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-content.js.map +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +2 -2
- package/dist/collection/components/gov-wizard/gov-wizard-item.js +3 -3
- package/dist/collection/components/gov-wizard/gov-wizard-item.js.map +1 -1
- package/dist/collection/components/gov-wizard/gov-wizard.js +1 -1
- package/dist/collection/core/constants/colors.js +6 -8
- package/dist/collection/core/constants/colors.js.map +1 -1
- package/dist/collection/data/color-definitions.js +359 -172
- package/dist/collection/helpers/Dom/document.js +28 -0
- package/dist/collection/helpers/Dom/document.js.map +1 -0
- package/dist/collection/helpers/Dom/template.js +0 -18
- package/dist/collection/helpers/Dom/template.js.map +1 -1
- package/dist/collection/helpers/Dom/template.types.js.map +1 -1
- package/dist/collection/pages/Accordion.js +30 -30
- package/dist/collection/pages/Accordion.js.map +1 -1
- package/dist/collection/pages/Button.js +383 -383
- package/dist/collection/pages/Button.js.map +1 -1
- package/dist/collection/pages/Chip.js +53 -53
- package/dist/collection/pages/Chip.js.map +1 -1
- package/dist/collection/pages/ControlGroup.js +18 -18
- package/dist/collection/pages/ControlGroup.js.map +1 -1
- package/dist/collection/pages/Dialog.js +1 -1
- package/dist/collection/pages/Dialog.js.map +1 -1
- package/dist/collection/pages/Forms.js +47 -37
- package/dist/collection/pages/Forms.js.map +1 -1
- package/dist/collection/pages/Icon.js +10 -0
- package/dist/collection/pages/Icon.js.map +1 -1
- package/dist/collection/pages/Infobar.js +16 -16
- package/dist/collection/pages/Infobar.js.map +1 -1
- package/dist/collection/pages/Message.js +20 -20
- package/dist/collection/pages/Message.js.map +1 -1
- package/dist/collection/pages/Stepper.js +15 -15
- package/dist/collection/pages/Stepper.js.map +1 -1
- package/dist/collection/pages/Tag.js +23 -23
- package/dist/collection/pages/Tag.js.map +1 -1
- package/dist/collection/pages/ToastMessage.js +4 -4
- package/dist/collection/pages/ToastMessage.js.map +1 -1
- package/dist/collection/pages/ToastMessageCountdown.js +4 -4
- package/dist/collection/pages/ToastMessageCountdown.js.map +1 -1
- package/dist/collection/pages/Tooltip.js +2 -2
- package/dist/collection/pages/Tooltip.js.map +1 -1
- package/dist/collection/pages/Typography.js +20 -0
- package/dist/collection/pages/Typography.js.map +1 -1
- package/dist/collection/pages/Wizard.js +1 -1
- package/dist/collection/pages/Wizard.js.map +1 -1
- package/dist/components/gov-accordion-item.js +1 -1
- package/dist/components/gov-accordion-item.js.map +1 -1
- package/dist/components/gov-accordion.js +1 -1
- package/dist/components/gov-attachments-item.js +1 -1
- package/dist/components/gov-attachments.js +1 -1
- package/dist/components/gov-backdrop.js +1 -1
- package/dist/components/gov-breadcrumbs.js +1 -1
- package/dist/components/gov-breadcrumbs.js.map +1 -1
- package/dist/components/gov-button.js +1 -1
- package/dist/components/gov-card.js +1 -1
- package/dist/components/gov-card.js.map +1 -1
- package/dist/components/gov-chip.js +1 -1
- package/dist/components/gov-container.js +1 -1
- package/dist/components/gov-container.js.map +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-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-label.js.map +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-password-power.js.map +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.js +1 -1
- package/dist/components/gov-icon.js +1 -1
- package/dist/components/gov-infobar.js +1 -1
- package/dist/components/gov-infobar.js.map +1 -1
- package/dist/components/gov-layout-column.js +1 -1
- package/dist/components/gov-layout.js +1 -1
- package/dist/components/gov-lifecycle.js +1 -1
- package/dist/components/gov-link.d.ts +11 -0
- package/dist/components/gov-link.js +2 -0
- package/dist/components/gov-link.js.map +1 -0
- package/dist/components/gov-loading.js +1 -1
- package/dist/components/gov-loading.js.map +1 -1
- package/dist/components/gov-message.js +1 -1
- package/dist/components/gov-pagination.js +1 -1
- package/dist/components/gov-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.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-tag.js.map +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-tile.js.map +1 -1
- package/dist/components/gov-tiles.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-content.js.map +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-item.js.map +1 -1
- package/dist/components/gov-wizard.js +1 -1
- package/dist/components/p-20c2203a.js +2 -0
- package/dist/components/p-20c2203a.js.map +1 -0
- package/dist/components/p-227eb30d.js +2 -0
- package/dist/components/{p-dcee21ca.js.map → p-227eb30d.js.map} +1 -1
- package/dist/components/p-2b87c27b.js +2 -0
- package/dist/components/{p-3b807239.js.map → p-2b87c27b.js.map} +1 -1
- package/dist/components/p-31a99bfc.js +2 -0
- package/dist/components/{p-bd22e21d.js → p-4149f195.js} +2 -2
- package/dist/components/p-44a8a668.js +2 -0
- package/dist/components/p-45097b4c.js +2 -0
- package/dist/components/p-45097b4c.js.map +1 -0
- package/dist/components/{p-1f3bb41d.js → p-5952a5d0.js} +2 -2
- package/dist/components/p-5aad3497.js +2 -0
- package/dist/components/p-5aad3497.js.map +1 -0
- package/dist/components/p-68a1aaec.js +2 -0
- package/dist/components/p-68a1aaec.js.map +1 -0
- package/dist/components/p-76d604c6.js +2 -0
- package/dist/components/p-7d4f2214.js +2 -0
- package/dist/components/{p-6ea84137.js.map → p-7d4f2214.js.map} +1 -1
- package/dist/components/p-7f3becc5.js +2 -0
- package/dist/components/p-859a4f0d.js +2 -0
- package/dist/components/{p-820b66c0.js.map → p-859a4f0d.js.map} +1 -1
- package/dist/components/{p-7f8a24a7.js → p-860520b0.js} +2 -2
- package/dist/components/p-929ebfb5.js +2 -0
- package/dist/components/p-929ebfb5.js.map +1 -0
- package/dist/components/p-9908b9f0.js +2 -0
- package/dist/components/p-9908b9f0.js.map +1 -0
- package/dist/components/{p-19c681a3.js → p-a2435993.js} +2 -2
- package/dist/components/{p-59737af9.js → p-a521c59a.js} +2 -2
- package/dist/components/{p-0c93dd39.js → p-c61a5830.js} +2 -2
- package/dist/components/p-dc952cc2.js +2 -0
- package/dist/components/p-dc952cc2.js.map +1 -0
- package/dist/components/{p-23b7e680.js → p-dfb5794a.js} +2 -2
- package/dist/components/p-ea7fdd2e.js +2 -0
- package/dist/components/p-ea7fdd2e.js.map +1 -0
- package/dist/components/p-f44899e1.js +2 -0
- package/dist/components/p-f44899e1.js.map +1 -0
- package/dist/core/core.css +7985 -7198
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-00d153bf.entry.js +2 -0
- package/dist/core/p-019e967c.entry.js +2 -0
- package/dist/core/{p-83aa4327.entry.js.map → p-019e967c.entry.js.map} +1 -1
- package/dist/core/p-0be19b89.entry.js +2 -0
- package/dist/core/p-1abdcb62.entry.js +2 -0
- package/dist/core/p-1abdcb62.entry.js.map +1 -0
- package/dist/core/p-1ac9544f.entry.js +2 -0
- package/dist/core/{p-f963bb2f.entry.js.map → p-1ac9544f.entry.js.map} +1 -1
- package/dist/core/p-1b3c808d.entry.js +2 -0
- package/dist/core/p-1b3c808d.entry.js.map +1 -0
- package/dist/core/p-20c2203a.js +2 -0
- package/dist/core/p-20c2203a.js.map +1 -0
- package/dist/core/p-22fa411d.entry.js +2 -0
- package/dist/core/p-2c290fe5.entry.js +2 -0
- package/dist/core/p-2c290fe5.entry.js.map +1 -0
- package/dist/core/p-2c59483f.entry.js +2 -0
- package/dist/core/p-2c59483f.entry.js.map +1 -0
- package/dist/core/p-30eaeeec.entry.js +2 -0
- package/dist/core/p-3bbb77a0.js +2 -0
- package/dist/core/p-3fc3c26b.entry.js +2 -0
- package/dist/core/{p-212759be.entry.js.map → p-3fc3c26b.entry.js.map} +1 -1
- package/dist/core/p-40d764ac.entry.js +2 -0
- package/dist/core/{p-0d2c4d31.entry.js.map → p-40d764ac.entry.js.map} +1 -1
- package/dist/core/p-410ec0dd.entry.js +2 -0
- package/dist/core/{p-10f9bf55.entry.js.map → p-410ec0dd.entry.js.map} +1 -1
- package/dist/core/p-439b66a5.entry.js +2 -0
- package/dist/core/{p-92e13f9d.entry.js.map → p-439b66a5.entry.js.map} +1 -1
- package/dist/core/p-443a813a.entry.js +2 -0
- package/dist/core/{p-eebf7ad8.entry.js.map → p-443a813a.entry.js.map} +1 -1
- package/dist/core/p-48c93ac0.entry.js +2 -0
- package/dist/core/p-48c93ac0.entry.js.map +1 -0
- package/dist/core/p-52ca31be.entry.js +2 -0
- package/dist/core/{p-378e0723.entry.js.map → p-52ca31be.entry.js.map} +1 -1
- package/dist/core/p-535316b4.entry.js +2 -0
- package/dist/core/{p-b822b9ff.entry.js → p-5396935e.entry.js} +2 -2
- package/dist/core/{p-42d9924c.js → p-56efd4a2.js} +2 -2
- package/dist/core/p-5aad3497.js +2 -0
- package/dist/core/p-5aad3497.js.map +1 -0
- package/dist/core/p-5b2131c1.entry.js +2 -0
- package/dist/core/p-5ed63e9c.entry.js +2 -0
- package/dist/core/{p-1fdc2457.entry.js.map → p-5ed63e9c.entry.js.map} +1 -1
- package/dist/core/{p-60658ae9.js → p-5f1000da.js} +2 -2
- package/dist/core/p-6454af62.entry.js +2 -0
- package/dist/core/{p-56f9e026.entry.js.map → p-6454af62.entry.js.map} +1 -1
- package/dist/core/p-74458da3.entry.js +2 -0
- package/dist/core/p-74458da3.entry.js.map +1 -0
- package/dist/core/p-76d604c6.js +2 -0
- package/dist/core/{p-a21dc94f.js.map → p-76d604c6.js.map} +1 -1
- package/dist/core/p-773f71f6.entry.js +2 -0
- package/dist/core/{p-67200095.entry.js.map → p-773f71f6.entry.js.map} +1 -1
- package/dist/core/p-783a6b5b.entry.js +2 -0
- package/dist/core/{p-0a24806a.entry.js.map → p-783a6b5b.entry.js.map} +1 -1
- package/dist/core/p-7b7e502b.entry.js +2 -0
- package/dist/core/p-7ba4daf4.js +2 -0
- package/dist/core/p-7bf52eb9.entry.js +2 -0
- package/dist/core/p-7bf52eb9.entry.js.map +1 -0
- package/dist/core/p-7d6073aa.entry.js +2 -0
- package/dist/core/{p-fb0df3a5.entry.js.map → p-7d6073aa.entry.js.map} +1 -1
- package/dist/core/p-7f3becc5.js +2 -0
- package/dist/core/{p-e9a6cd71.js → p-860520b0.js} +2 -2
- package/dist/core/p-8701c28e.entry.js +2 -0
- package/dist/core/p-8701c28e.entry.js.map +1 -0
- package/dist/core/p-951823cb.entry.js +2 -0
- package/dist/core/{p-75ea368b.entry.js.map → p-951823cb.entry.js.map} +1 -1
- package/dist/core/p-9da91318.entry.js +2 -0
- package/dist/core/{p-1f1895c0.entry.js.map → p-9da91318.entry.js.map} +1 -1
- package/dist/core/p-a218e2eb.entry.js +2 -0
- package/dist/core/{p-d3963396.entry.js.map → p-a218e2eb.entry.js.map} +1 -1
- package/dist/core/{p-169b67af.js → p-a2435993.js} +2 -2
- package/dist/core/p-a521c59a.js +2 -0
- package/dist/core/p-b1efeb41.entry.js +2 -0
- package/dist/core/p-b1efeb41.entry.js.map +1 -0
- package/dist/core/p-b4af0bec.entry.js +2 -0
- package/dist/core/p-b4af0bec.entry.js.map +1 -0
- package/dist/core/p-bc966c46.entry.js +2 -0
- package/dist/core/p-bdc51179.entry.js +2 -0
- package/dist/core/p-bdc51179.entry.js.map +1 -0
- package/dist/core/p-c20fe3da.entry.js +2 -0
- package/dist/core/{p-8f10919c.entry.js.map → p-c20fe3da.entry.js.map} +1 -1
- package/dist/core/p-c4ffcc37.entry.js +2 -0
- package/dist/core/p-c4ffcc37.entry.js.map +1 -0
- package/dist/core/p-c52afdfc.js +2 -0
- package/dist/core/{p-842cb87f.js.map → p-c52afdfc.js.map} +1 -1
- package/dist/core/{p-c990d746.js → p-c61a5830.js} +2 -2
- package/dist/core/p-cb557873.entry.js +2 -0
- package/dist/core/{p-3844a27d.entry.js.map → p-cb557873.entry.js.map} +1 -1
- package/dist/core/p-d24710ff.entry.js +2 -0
- package/dist/core/p-d24710ff.entry.js.map +1 -0
- package/dist/core/p-d65cef62.entry.js +2 -0
- package/dist/core/{p-4cb4de7b.entry.js.map → p-d65cef62.entry.js.map} +1 -1
- package/dist/core/p-da1db6fd.js +2 -0
- package/dist/core/p-da1db6fd.js.map +1 -0
- package/dist/core/p-db22d51c.entry.js +2 -0
- package/dist/core/{p-f1c8a96b.entry.js.map → p-db22d51c.entry.js.map} +1 -1
- package/dist/core/p-dec3f948.entry.js +2 -0
- package/dist/core/{p-7b48b1b8.entry.js.map → p-dec3f948.entry.js.map} +1 -1
- package/dist/core/{p-45a30859.js → p-e0e2e9c1.js} +2 -2
- package/dist/core/p-e2517a72.entry.js +2 -0
- package/dist/core/{p-57b0e670.entry.js.map → p-e2517a72.entry.js.map} +1 -1
- package/dist/core/p-e44a0fee.js +2 -0
- package/dist/core/{p-58dc3ec3.entry.js → p-e834ee73.entry.js} +2 -2
- package/dist/core/p-ea7fdd2e.js +2 -0
- package/dist/core/p-ea7fdd2e.js.map +1 -0
- package/dist/core/p-ed1131cb.entry.js +2 -0
- package/dist/core/{p-c5b5fd69.entry.js.map → p-ed1131cb.entry.js.map} +1 -1
- package/dist/core/p-f1056a83.entry.js +2 -0
- package/dist/core/{p-32bba4e7.entry.js.map → p-f1056a83.entry.js.map} +1 -1
- package/dist/core/p-f1fa5e1e.entry.js +2 -0
- package/dist/core/{p-1600c1fb.entry.js.map → p-f1fa5e1e.entry.js.map} +1 -1
- package/dist/core/p-f4bcf817.entry.js +2 -0
- package/dist/core/p-f4bcf817.entry.js.map +1 -0
- package/dist/core/p-f6709826.entry.js +2 -0
- package/dist/core/p-f6709826.entry.js.map +1 -0
- package/dist/core/{p-5ad3097c.entry.js → p-f7a4da9d.entry.js} +2 -2
- package/dist/core/p-fca60e04.entry.js +2 -0
- package/dist/core/{p-8fe36a5b.entry.js.map → p-fca60e04.entry.js.map} +1 -1
- package/dist/core/p-fe6fed11.entry.js +2 -0
- package/dist/core/p-fe6fed11.entry.js.map +1 -0
- package/dist/esm/{colors-02c1ea96.js → colors-4cf64720.js} +7 -9
- package/dist/esm/colors-4cf64720.js.map +1 -0
- package/dist/esm/{constants-6d727976.js → constants-085f9943.js} +2 -2
- package/dist/esm/{constants-6d727976.js.map → constants-085f9943.js.map} +1 -1
- package/dist/esm/{constants-990365f1.js → constants-372455eb.js} +3 -3
- package/dist/esm/{constants-990365f1.js.map → constants-372455eb.js.map} +1 -1
- package/dist/esm/{constants-d6418889.js → constants-3ab65c42.js} +2 -2
- package/dist/esm/{constants-d6418889.js.map → constants-3ab65c42.js.map} +1 -1
- package/dist/esm/{constants-48177684.js → constants-3b914c35.js} +3 -3
- package/dist/esm/{constants-48177684.js.map → constants-3b914c35.js.map} +1 -1
- package/dist/esm/{constants-d42abf99.js → constants-43f10674.js} +2 -2
- package/dist/esm/{constants-d42abf99.js.map → constants-43f10674.js.map} +1 -1
- package/dist/esm/{constants-501eb756.js → constants-4da2b3c0.js} +2 -2
- package/dist/esm/{constants-501eb756.js.map → constants-4da2b3c0.js.map} +1 -1
- package/dist/esm/{constants-c716fa44.js → constants-51f51588.js} +3 -3
- package/dist/esm/{constants-c716fa44.js.map → constants-51f51588.js.map} +1 -1
- package/dist/esm/{constants-f4e4ede6.js → constants-8429b68f.js} +3 -3
- package/dist/esm/{constants-f4e4ede6.js.map → constants-8429b68f.js.map} +1 -1
- package/dist/esm/{constants-47e20524.js → constants-9177ea52.js} +3 -3
- package/dist/esm/{constants-47e20524.js.map → constants-9177ea52.js.map} +1 -1
- package/dist/esm/{constants-7307438d.js → constants-bc210662.js} +3 -3
- package/dist/esm/{constants-7307438d.js.map → constants-bc210662.js.map} +1 -1
- package/dist/esm/core.js +1 -1
- package/dist/esm/{form-472e078d.js → form-713f26fd.js} +7 -6
- package/dist/esm/form-713f26fd.js.map +1 -0
- package/dist/esm/gov-accordion-item.entry.js +6 -7
- package/dist/esm/gov-accordion-item.entry.js.map +1 -1
- package/dist/esm/gov-accordion.entry.js +5 -6
- package/dist/esm/gov-accordion.entry.js.map +1 -1
- package/dist/esm/gov-attachments_3.entry.js +10 -11
- package/dist/esm/gov-attachments_3.entry.js.map +1 -1
- package/dist/esm/gov-backdrop.entry.js +4 -5
- package/dist/esm/gov-backdrop.entry.js.map +1 -1
- package/dist/esm/gov-breadcrumbs.entry.js +5 -6
- package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
- package/dist/esm/gov-button.entry.js +10 -11
- package/dist/esm/gov-button.entry.js.map +1 -1
- package/dist/esm/gov-card.entry.js +5 -6
- package/dist/esm/gov-card.entry.js.map +1 -1
- package/dist/esm/gov-chip.entry.js +12 -13
- package/dist/esm/gov-chip.entry.js.map +1 -1
- package/dist/esm/gov-container.entry.js +2 -10
- package/dist/esm/gov-container.entry.js.map +1 -1
- package/dist/esm/gov-control-group.entry.js +5 -6
- package/dist/esm/gov-control-group.entry.js.map +1 -1
- package/dist/esm/gov-cookiebar.entry.js +1 -1
- package/dist/esm/gov-dialog.entry.js +5 -6
- package/dist/esm/gov-dialog.entry.js.map +1 -1
- package/dist/esm/gov-dropdown.entry.js +4 -4
- package/dist/esm/gov-empty.entry.js +5 -6
- package/dist/esm/gov-empty.entry.js.map +1 -1
- package/dist/esm/gov-error-code.entry.js +1 -1
- package/dist/esm/gov-flex_4.entry.js +315 -0
- package/dist/esm/gov-flex_4.entry.js.map +1 -0
- package/dist/esm/gov-form-autocomplete.entry.js +6 -8
- package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
- package/dist/esm/gov-form-checkbox-group.entry.js +7 -8
- package/dist/esm/gov-form-checkbox-group.entry.js.map +1 -1
- package/dist/esm/gov-form-checkbox.entry.js +10 -11
- package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
- package/dist/esm/gov-form-control.entry.js +8 -8
- package/dist/esm/gov-form-file.entry.js +8 -9
- package/dist/esm/gov-form-file.entry.js.map +1 -1
- package/dist/esm/gov-form-group.entry.js +6 -7
- package/dist/esm/gov-form-group.entry.js.map +1 -1
- package/dist/esm/gov-form-input_2.entry.js +15 -14
- package/dist/esm/gov-form-input_2.entry.js.map +1 -1
- package/dist/esm/gov-form-multi-select.entry.js +12 -13
- 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 +7 -8
- package/dist/esm/gov-form-radio-group.entry.js.map +1 -1
- package/dist/esm/gov-form-radio.entry.js +9 -10
- package/dist/esm/gov-form-radio.entry.js.map +1 -1
- package/dist/esm/gov-form-search.entry.js +3 -3
- package/dist/esm/gov-form-select.entry.js +11 -12
- package/dist/esm/gov-form-select.entry.js.map +1 -1
- package/dist/esm/gov-form-switch.entry.js +10 -11
- package/dist/esm/gov-form-switch.entry.js.map +1 -1
- package/dist/esm/gov-grid-item.entry.js +2 -2
- package/dist/esm/gov-grid.entry.js +2 -2
- package/dist/esm/gov-infobar.entry.js +7 -8
- package/dist/esm/gov-infobar.entry.js.map +1 -1
- package/dist/esm/gov-layout-column.entry.js +2 -2
- package/dist/esm/gov-layout.entry.js +2 -2
- package/dist/esm/gov-lifecycle.entry.js +1 -1
- package/dist/esm/gov-link.entry.js +47 -0
- package/dist/esm/gov-link.entry.js.map +1 -0
- package/dist/esm/gov-loading.entry.js +5 -6
- package/dist/esm/gov-loading.entry.js.map +1 -1
- package/dist/esm/gov-message.entry.js +6 -7
- package/dist/esm/gov-message.entry.js.map +1 -1
- package/dist/esm/gov-pagination.entry.js +6 -7
- package/dist/esm/gov-pagination.entry.js.map +1 -1
- package/dist/esm/gov-spacer.entry.js +5 -6
- package/dist/esm/gov-spacer.entry.js.map +1 -1
- package/dist/esm/gov-stepper-item.entry.js +7 -8
- package/dist/esm/gov-stepper-item.entry.js.map +1 -1
- package/dist/esm/gov-stepper.entry.js +7 -8
- package/dist/esm/gov-stepper.entry.js.map +1 -1
- package/dist/esm/gov-tabs-item.entry.js +5 -5
- package/dist/esm/gov-tabs.entry.js +7 -8
- package/dist/esm/gov-tabs.entry.js.map +1 -1
- package/dist/esm/gov-tag.entry.js +11 -12
- package/dist/esm/gov-tag.entry.js.map +1 -1
- package/dist/esm/gov-tile.entry.js +3 -3
- package/dist/esm/gov-tile.entry.js.map +1 -1
- package/dist/esm/gov-tiles.entry.js +2 -2
- package/dist/esm/gov-toast.entry.js +7 -7
- package/dist/esm/gov-toast.entry.js.map +1 -1
- package/dist/esm/gov-tooltip-content.entry.js +5 -5
- package/dist/esm/gov-tooltip-content.entry.js.map +1 -1
- package/dist/esm/gov-tooltip.entry.js +8 -9
- package/dist/esm/gov-tooltip.entry.js.map +1 -1
- package/dist/esm/gov-wizard-item.entry.js +9 -10
- package/dist/esm/gov-wizard-item.entry.js.map +1 -1
- package/dist/esm/gov-wizard.entry.js +8 -9
- package/dist/esm/gov-wizard.entry.js.map +1 -1
- package/dist/esm/{win-cec370ad.js → gov.log-066c3139.js} +17 -3
- package/dist/esm/gov.log-066c3139.js.map +1 -0
- package/dist/esm/index-c263e031.js +6 -14
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{props-c82e1abf.js → props-fb6587c3.js} +2 -2
- package/dist/esm/{props-c82e1abf.js.map → props-fb6587c3.js.map} +1 -1
- package/dist/esm/{template-3d84d705.js → template-7ecee4d1.js} +2 -20
- package/dist/esm/template-7ecee4d1.js.map +1 -0
- package/dist/esm/{utils-2b4ef320.js → utils-e10e994d.js} +2 -2
- package/dist/esm/{utils-2b4ef320.js.map → utils-e10e994d.js.map} +1 -1
- package/dist/esm/{wcag-d7c6c252.js → wcag-de9a3dc6.js} +2 -3
- package/dist/esm/wcag-de9a3dc6.js.map +1 -0
- package/dist/hydrate/index.js +224 -138
- package/dist/hydrate/index.mjs +224 -138
- package/dist/stencil.config.js +6 -4
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/components/gov-button/button/gov-button.d.ts +1 -1
- package/dist/types/components/gov-chip/gov-chip.d.ts +3 -3
- package/dist/types/components/gov-container/gov-container.d.ts +0 -6
- package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +0 -4
- package/dist/types/components/gov-form/file/gov-form-file.d.ts +0 -4
- package/dist/types/components/gov-form/input/constants.d.ts +1 -0
- package/dist/types/components/gov-form/switch/constants.d.ts +1 -1
- package/dist/types/components/gov-icon/constants.d.ts +4 -1
- package/dist/types/components/gov-icon/gov-icon.d.ts +8 -2
- package/dist/types/components/gov-icon/list.d.ts +1 -1
- package/dist/types/components/gov-link/constants.d.ts +7 -0
- package/dist/types/components/gov-link/gov-link.d.ts +30 -0
- package/dist/types/components/gov-tag/gov-tag.d.ts +2 -2
- package/dist/types/components/gov-theme-switch/constants.d.ts +9 -0
- package/dist/types/components/gov-theme-switch/gov-theme-switch.d.ts +26 -2
- package/dist/types/components/gov-tile/gov-tile.d.ts +1 -1
- package/dist/types/components/gov-toast/constants.d.ts +1 -0
- package/dist/types/components.d.ts +117 -37
- package/dist/types/core/constants/colors.d.ts +6 -8
- package/dist/types/helpers/Dom/document.d.ts +3 -0
- package/dist/types/helpers/Dom/template.d.ts +0 -1
- package/dist/types/helpers/Dom/template.types.d.ts +0 -1
- package/package.json +3 -3
- package/dist/cjs/colors-976f6dff.js.map +0 -1
- package/dist/cjs/form-c1aec07a.js.map +0 -1
- package/dist/cjs/gov-flex.cjs.entry.js +0 -31
- package/dist/cjs/gov-flex.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-form-label.cjs.entry.js +0 -27
- package/dist/cjs/gov-form-label.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-icon.cjs.entry.js +0 -161
- package/dist/cjs/gov-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/gov-theme-switch.cjs.entry.js +0 -73
- package/dist/cjs/gov-theme-switch.cjs.entry.js.map +0 -1
- package/dist/cjs/gov.log-1e8bab6e.js +0 -21
- package/dist/cjs/gov.log-1e8bab6e.js.map +0 -1
- package/dist/cjs/template-b070338f.js.map +0 -1
- package/dist/cjs/wcag-b8d80c7d.js.map +0 -1
- package/dist/cjs/win-587f4614.js.map +0 -1
- package/dist/components/p-0075138f.js +0 -2
- package/dist/components/p-0075138f.js.map +0 -1
- package/dist/components/p-02da2aee.js +0 -2
- package/dist/components/p-02da2aee.js.map +0 -1
- package/dist/components/p-08621bdf.js +0 -2
- package/dist/components/p-1a0b3b4f.js +0 -2
- package/dist/components/p-1a0b3b4f.js.map +0 -1
- package/dist/components/p-1d3019f3.js +0 -2
- package/dist/components/p-255d0471.js +0 -2
- package/dist/components/p-255d0471.js.map +0 -1
- package/dist/components/p-387052e1.js +0 -2
- package/dist/components/p-387052e1.js.map +0 -1
- package/dist/components/p-3b807239.js +0 -2
- package/dist/components/p-565120d5.js +0 -2
- package/dist/components/p-5cc316bc.js +0 -2
- package/dist/components/p-5cc316bc.js.map +0 -1
- package/dist/components/p-6ea84137.js +0 -2
- package/dist/components/p-7501abe8.js +0 -2
- package/dist/components/p-7501abe8.js.map +0 -1
- package/dist/components/p-820b66c0.js +0 -2
- package/dist/components/p-c211c3e1.js +0 -2
- package/dist/components/p-c211c3e1.js.map +0 -1
- package/dist/components/p-dcee21ca.js +0 -2
- package/dist/components/p-e3aeaca0.js +0 -2
- package/dist/components/p-e3aeaca0.js.map +0 -1
- package/dist/components/p-edd1417b.js +0 -2
- package/dist/core/p-0075138f.js +0 -2
- package/dist/core/p-0075138f.js.map +0 -1
- package/dist/core/p-052cc573.js +0 -2
- package/dist/core/p-0a24806a.entry.js +0 -2
- package/dist/core/p-0d2c4d31.entry.js +0 -2
- package/dist/core/p-10f9bf55.entry.js +0 -2
- package/dist/core/p-12680890.entry.js +0 -2
- package/dist/core/p-12680890.entry.js.map +0 -1
- package/dist/core/p-1600c1fb.entry.js +0 -2
- package/dist/core/p-18025823.entry.js +0 -2
- package/dist/core/p-18025823.entry.js.map +0 -1
- package/dist/core/p-18dbe177.entry.js +0 -2
- package/dist/core/p-18dbe177.entry.js.map +0 -1
- package/dist/core/p-1a550eee.entry.js +0 -2
- package/dist/core/p-1a550eee.entry.js.map +0 -1
- package/dist/core/p-1f1895c0.entry.js +0 -2
- package/dist/core/p-1fdc2457.entry.js +0 -2
- package/dist/core/p-212759be.entry.js +0 -2
- package/dist/core/p-215504c1.entry.js +0 -2
- package/dist/core/p-2614044c.js +0 -2
- package/dist/core/p-2c3ddc57.entry.js +0 -2
- package/dist/core/p-31e7d262.entry.js +0 -2
- package/dist/core/p-31e7d262.entry.js.map +0 -1
- package/dist/core/p-32bba4e7.entry.js +0 -2
- package/dist/core/p-378e0723.entry.js +0 -2
- package/dist/core/p-3844a27d.entry.js +0 -2
- package/dist/core/p-4bce896c.js +0 -2
- package/dist/core/p-4cb4de7b.entry.js +0 -2
- package/dist/core/p-56f9e026.entry.js +0 -2
- package/dist/core/p-57b0e670.entry.js +0 -2
- package/dist/core/p-668ca722.entry.js +0 -2
- package/dist/core/p-67200095.entry.js +0 -2
- package/dist/core/p-69d56f17.js +0 -2
- package/dist/core/p-6aa40794.js +0 -2
- package/dist/core/p-731fe7d8.entry.js +0 -2
- package/dist/core/p-731fe7d8.entry.js.map +0 -1
- package/dist/core/p-7591976a.entry.js +0 -2
- package/dist/core/p-75ea368b.entry.js +0 -2
- package/dist/core/p-7b48b1b8.entry.js +0 -2
- package/dist/core/p-7de47344.entry.js +0 -2
- package/dist/core/p-7de47344.entry.js.map +0 -1
- package/dist/core/p-83aa4327.entry.js +0 -2
- package/dist/core/p-842cb87f.js +0 -2
- package/dist/core/p-89b69743.entry.js +0 -2
- package/dist/core/p-89b69743.entry.js.map +0 -1
- package/dist/core/p-8a796fbe.entry.js +0 -2
- package/dist/core/p-8f10919c.entry.js +0 -2
- package/dist/core/p-8fe36a5b.entry.js +0 -2
- package/dist/core/p-915e53ac.entry.js +0 -2
- package/dist/core/p-915e53ac.entry.js.map +0 -1
- package/dist/core/p-92e13f9d.entry.js +0 -2
- package/dist/core/p-a21dc94f.js +0 -2
- package/dist/core/p-a274cdaa.entry.js +0 -2
- package/dist/core/p-a274cdaa.entry.js.map +0 -1
- package/dist/core/p-a693ffbf.js +0 -2
- package/dist/core/p-a693ffbf.js.map +0 -1
- package/dist/core/p-a9a095c2.entry.js +0 -2
- package/dist/core/p-a9a095c2.entry.js.map +0 -1
- package/dist/core/p-ab68c0b7.entry.js +0 -2
- package/dist/core/p-ab68c0b7.entry.js.map +0 -1
- package/dist/core/p-b48a4aa0.js +0 -2
- package/dist/core/p-b48a4aa0.js.map +0 -1
- package/dist/core/p-b50ffab3.entry.js +0 -2
- package/dist/core/p-b70cc248.entry.js +0 -2
- package/dist/core/p-c0a5a3f7.entry.js +0 -2
- package/dist/core/p-c0a5a3f7.entry.js.map +0 -1
- package/dist/core/p-c5b5fd69.entry.js +0 -2
- package/dist/core/p-d1c4eb91.entry.js +0 -2
- package/dist/core/p-d3963396.entry.js +0 -2
- package/dist/core/p-d4fbc249.entry.js +0 -2
- package/dist/core/p-d4fbc249.entry.js.map +0 -1
- package/dist/core/p-d949aac7.entry.js +0 -2
- package/dist/core/p-d949aac7.entry.js.map +0 -1
- package/dist/core/p-e0d428c9.js +0 -2
- package/dist/core/p-e0d428c9.js.map +0 -1
- package/dist/core/p-e3aeaca0.js +0 -2
- package/dist/core/p-e3aeaca0.js.map +0 -1
- package/dist/core/p-e6af4c58.entry.js +0 -2
- package/dist/core/p-e6af4c58.entry.js.map +0 -1
- package/dist/core/p-ede7af0a.entry.js +0 -2
- package/dist/core/p-ede7af0a.entry.js.map +0 -1
- package/dist/core/p-eebc9e71.entry.js +0 -2
- package/dist/core/p-eebc9e71.entry.js.map +0 -1
- package/dist/core/p-eebf7ad8.entry.js +0 -2
- package/dist/core/p-f1c8a96b.entry.js +0 -2
- package/dist/core/p-f963bb2f.entry.js +0 -2
- package/dist/core/p-fb0df3a5.entry.js +0 -2
- package/dist/esm/colors-02c1ea96.js.map +0 -1
- package/dist/esm/form-472e078d.js.map +0 -1
- package/dist/esm/gov-flex.entry.js +0 -27
- package/dist/esm/gov-flex.entry.js.map +0 -1
- package/dist/esm/gov-form-label.entry.js +0 -23
- package/dist/esm/gov-form-label.entry.js.map +0 -1
- package/dist/esm/gov-icon.entry.js +0 -157
- package/dist/esm/gov-icon.entry.js.map +0 -1
- package/dist/esm/gov-theme-switch.entry.js +0 -69
- package/dist/esm/gov-theme-switch.entry.js.map +0 -1
- package/dist/esm/gov.log-6e9faad2.js +0 -19
- package/dist/esm/gov.log-6e9faad2.js.map +0 -1
- package/dist/esm/template-3d84d705.js.map +0 -1
- package/dist/esm/wcag-d7c6c252.js.map +0 -1
- package/dist/esm/win-cec370ad.js.map +0 -1
- /package/dist/components/{p-1d3019f3.js.map → p-31a99bfc.js.map} +0 -0
- /package/dist/components/{p-bd22e21d.js.map → p-4149f195.js.map} +0 -0
- /package/dist/components/{p-08621bdf.js.map → p-44a8a668.js.map} +0 -0
- /package/dist/components/{p-1f3bb41d.js.map → p-5952a5d0.js.map} +0 -0
- /package/dist/components/{p-565120d5.js.map → p-76d604c6.js.map} +0 -0
- /package/dist/components/{p-edd1417b.js.map → p-7f3becc5.js.map} +0 -0
- /package/dist/components/{p-7f8a24a7.js.map → p-860520b0.js.map} +0 -0
- /package/dist/components/{p-19c681a3.js.map → p-a2435993.js.map} +0 -0
- /package/dist/components/{p-59737af9.js.map → p-a521c59a.js.map} +0 -0
- /package/dist/components/{p-0c93dd39.js.map → p-c61a5830.js.map} +0 -0
- /package/dist/components/{p-23b7e680.js.map → p-dfb5794a.js.map} +0 -0
- /package/dist/core/{p-b50ffab3.entry.js.map → p-00d153bf.entry.js.map} +0 -0
- /package/dist/core/{p-d1c4eb91.entry.js.map → p-0be19b89.entry.js.map} +0 -0
- /package/dist/core/{p-215504c1.entry.js.map → p-22fa411d.entry.js.map} +0 -0
- /package/dist/core/{p-668ca722.entry.js.map → p-30eaeeec.entry.js.map} +0 -0
- /package/dist/core/{p-69d56f17.js.map → p-3bbb77a0.js.map} +0 -0
- /package/dist/core/{p-7591976a.entry.js.map → p-535316b4.entry.js.map} +0 -0
- /package/dist/core/{p-b822b9ff.entry.js.map → p-5396935e.entry.js.map} +0 -0
- /package/dist/core/{p-42d9924c.js.map → p-56efd4a2.js.map} +0 -0
- /package/dist/core/{p-8a796fbe.entry.js.map → p-5b2131c1.entry.js.map} +0 -0
- /package/dist/core/{p-60658ae9.js.map → p-5f1000da.js.map} +0 -0
- /package/dist/core/{p-b70cc248.entry.js.map → p-7b7e502b.entry.js.map} +0 -0
- /package/dist/core/{p-2614044c.js.map → p-7ba4daf4.js.map} +0 -0
- /package/dist/core/{p-6aa40794.js.map → p-7f3becc5.js.map} +0 -0
- /package/dist/core/{p-e9a6cd71.js.map → p-860520b0.js.map} +0 -0
- /package/dist/core/{p-169b67af.js.map → p-a2435993.js.map} +0 -0
- /package/dist/core/{p-4bce896c.js.map → p-a521c59a.js.map} +0 -0
- /package/dist/core/{p-2c3ddc57.entry.js.map → p-bc966c46.entry.js.map} +0 -0
- /package/dist/core/{p-c990d746.js.map → p-c61a5830.js.map} +0 -0
- /package/dist/core/{p-45a30859.js.map → p-e0e2e9c1.js.map} +0 -0
- /package/dist/core/{p-052cc573.js.map → p-e44a0fee.js.map} +0 -0
- /package/dist/core/{p-58dc3ec3.entry.js.map → p-e834ee73.entry.js.map} +0 -0
- /package/dist/core/{p-5ad3097c.entry.js.map → p-f7a4da9d.entry.js.map} +0 -0
package/dist/hydrate/index.mjs
CHANGED
|
@@ -2328,15 +2328,6 @@ const prepareClasses = (classes) => {
|
|
|
2328
2328
|
.join(' ')
|
|
2329
2329
|
.trim();
|
|
2330
2330
|
};
|
|
2331
|
-
const slottedChildren = (host) => {
|
|
2332
|
-
const slotted = host.querySelector('slot');
|
|
2333
|
-
if (slotted) {
|
|
2334
|
-
return slotted.assignedNodes().filter(node => {
|
|
2335
|
-
return node.nodeName !== '#text';
|
|
2336
|
-
});
|
|
2337
|
-
}
|
|
2338
|
-
return [];
|
|
2339
|
-
};
|
|
2340
2331
|
const booleanString = (value) => {
|
|
2341
2332
|
return value ? 'true' : 'false';
|
|
2342
2333
|
};
|
|
@@ -2385,15 +2376,6 @@ const govHost = (host) => {
|
|
|
2385
2376
|
this.hostElement.querySelectorAll(selector).forEach(child => child.removeAttribute(name));
|
|
2386
2377
|
}
|
|
2387
2378
|
},
|
|
2388
|
-
get slottedChildren() {
|
|
2389
|
-
const slotted = this.hostElement.shadowRoot.querySelector('slot');
|
|
2390
|
-
if (slotted) {
|
|
2391
|
-
return slotted.assignedNodes().filter(node => {
|
|
2392
|
-
return node.nodeName !== '#text';
|
|
2393
|
-
});
|
|
2394
|
-
}
|
|
2395
|
-
return [];
|
|
2396
|
-
},
|
|
2397
2379
|
classes(classes) {
|
|
2398
2380
|
const clearClasses = Array.isArray(classes) ? classes.join(' ') : classes;
|
|
2399
2381
|
if (this.hostElement) {
|
|
@@ -2635,7 +2617,7 @@ class GovAccordionItem {
|
|
|
2635
2617
|
e.preventDefault();
|
|
2636
2618
|
!this.disabled && this.toggle().finally();
|
|
2637
2619
|
}, class: AccordionItemClass.summary, tabIndex: this.disabled ? -1 : 0, "aria-expanded": booleanString(this.open) }, this.inheritedAttributes), this.h.hasSlot('icon') &&
|
|
2638
|
-
hAsync("span", { key: '19254947c22fa2b1a2fa4e26eacb22c0c89b40c9', class: AccordionItemClass.icon }, hAsync("slot", { key: '262be1640f250fabf9918f4162c071bb68dc4fb3', name: "icon" })), hAsync("span", { key: 'ebb5ef762ef51921b68a8063fd09c979d7d0d32d', class: AccordionItemClass.title }, hAsync("slot", { key: '75783345d2276f06e53c401761cb4e57d241e5e0', name: "label" }), hAsync("slot", { key: 'f2d9cdff693edbcae6293921fde7996d1b1251b6', name: "annotation" })), hAsync("span", { key: 'f7e28ea54455756c7d146c7b88be7001e80b07a8', class: AccordionItemClass.right }, hAsync("slot", { key: 'e76b31bf1c349a8a86d4b91ec1cfa650a75edf60', name: "suffix" }), hAsync("span", { key: '87ea99c9862deb3ff9820fa383cec52956b4655a', class: AccordionItemClass.arrow }, hAsync("slot", { key: 'c8b64a90455a731f359e12550664ba5aa905abbc', name: "toggle-icon" }, hAsync("gov-icon", { key: '
|
|
2620
|
+
hAsync("span", { key: '19254947c22fa2b1a2fa4e26eacb22c0c89b40c9', class: AccordionItemClass.icon }, hAsync("slot", { key: '262be1640f250fabf9918f4162c071bb68dc4fb3', name: "icon" })), hAsync("span", { key: 'ebb5ef762ef51921b68a8063fd09c979d7d0d32d', class: AccordionItemClass.title }, hAsync("slot", { key: '75783345d2276f06e53c401761cb4e57d241e5e0', name: "label" }), hAsync("slot", { key: 'f2d9cdff693edbcae6293921fde7996d1b1251b6', name: "annotation" })), hAsync("span", { key: 'f7e28ea54455756c7d146c7b88be7001e80b07a8', class: AccordionItemClass.right }, hAsync("slot", { key: 'e76b31bf1c349a8a86d4b91ec1cfa650a75edf60', name: "suffix" }), hAsync("span", { key: '87ea99c9862deb3ff9820fa383cec52956b4655a', class: AccordionItemClass.arrow }, hAsync("slot", { key: 'c8b64a90455a731f359e12550664ba5aa905abbc', name: "toggle-icon" }, hAsync("gov-icon", { key: '867406c5634d6446683529f5f647492b9b289a31', name: "chevron-down", type: "components" }))))), hAsync("div", { key: '2adf7441dd470ae1b32a08fb374cd1d9e2d1f789', class: AccordionItemClass.content }, hAsync("slot", { key: '8eb27d0b33689933b6e71850324c35c89d71c4c0' })))));
|
|
2639
2621
|
}
|
|
2640
2622
|
/**
|
|
2641
2623
|
* Accordion switch
|
|
@@ -2793,7 +2775,7 @@ class GovAttachments {
|
|
|
2793
2775
|
}; }
|
|
2794
2776
|
}
|
|
2795
2777
|
|
|
2796
|
-
const govAttachmentsItemCss = "
|
|
2778
|
+
const govAttachmentsItemCss = ":root{--roboto:Roboto, sans-serif}gov-attachments-item,.gov-attachments-item{position:relative;display:flex;width:100%;gap:var(--spacing-s)}gov-attachments-item__messages>*:last-child,.gov-attachments-item__messages>*:last-child{margin-bottom:0 !important}gov-attachments-item__file,.gov-attachments-item__file{display:flex;gap:var(--spacing-s)}gov-attachments-item__name,.gov-attachments-item__name{display:flex;gap:var(--spacing-s);flex-wrap:wrap;align-items:center;margin:0;color:var(--name-color, var(--text-primary))}gov-attachments-item__name span,.gov-attachments-item__name span{font-size:var(--font-size-xs);line-height:var(--height-line-xs);letter-spacing:0.0125rem;font-weight:400;color:var(--decor-color, var(--text-secondary))}";
|
|
2797
2779
|
var GovAttachmentsItemStyle0 = govAttachmentsItemCss;
|
|
2798
2780
|
|
|
2799
2781
|
class GovAttachmentsItem {
|
|
@@ -2811,7 +2793,7 @@ class GovAttachmentsItem {
|
|
|
2811
2793
|
}
|
|
2812
2794
|
}
|
|
2813
2795
|
render() {
|
|
2814
|
-
return (hAsync(Host, { key: 'a8fffc03fb890c1aaae5a1d63240747f5fcb013e', class: this.h.classes(AttachmentsItemClass.root), role: "listitem" }, hAsync("div", { key: '0aa555d1c5b3bdf089cf020db1271e40389522f9', class: AttachmentsItemClass.file }, hAsync("p", { key: '46014b9e9d9a46fea6f813ef271815be6ab6dfc4', class: AttachmentsItemClass.name }, hAsync("slot", { key: '806f9dc2b2ee44248f7fe613e8362d92ed938ba8' }), hAsync("slot", { key: '97d69e72afd5063f41ea7b41e50012893ee5027c', name: "info" })), hAsync("gov-button", { key: '6c40ff9ae6be99cde30fde276db287a3d14dccd1', color: "primary", type: "base", size: "s", "aria-label": this.accessibleRemoveLabel, "aria-labelledby": this.accessibleRemoveLabelledBy, "on-gov-click": this.govRemove.emit }, hAsync("gov-icon", { key: '
|
|
2796
|
+
return (hAsync(Host, { key: 'a8fffc03fb890c1aaae5a1d63240747f5fcb013e', class: this.h.classes(AttachmentsItemClass.root), role: "listitem" }, hAsync("div", { key: '0aa555d1c5b3bdf089cf020db1271e40389522f9', class: AttachmentsItemClass.file }, hAsync("p", { key: '46014b9e9d9a46fea6f813ef271815be6ab6dfc4', class: AttachmentsItemClass.name }, hAsync("slot", { key: '806f9dc2b2ee44248f7fe613e8362d92ed938ba8' }), hAsync("slot", { key: '97d69e72afd5063f41ea7b41e50012893ee5027c', name: "info" })), hAsync("gov-button", { key: '6c40ff9ae6be99cde30fde276db287a3d14dccd1', color: "primary", type: "base", size: "s", "aria-label": this.accessibleRemoveLabel, "aria-labelledby": this.accessibleRemoveLabelledBy, "on-gov-click": this.govRemove.emit }, hAsync("gov-icon", { key: '24871273b10ca807811acd15dabb49c6a45d76d1', slot: "icon-start", name: "x-lg", type: "components" }))), this.h.hasSlot('message') && (hAsync("div", { key: '7683c6c6bfd1ca4b9660ee56ec190472970d0ac8', class: AttachmentsItemClass.messages }, hAsync("slot", { key: '20b46c868809d19f9c67105a4c4774df9688a2c1', name: "message" })))));
|
|
2815
2797
|
}
|
|
2816
2798
|
/**
|
|
2817
2799
|
* Validate the accessible attributes of the component
|
|
@@ -2927,7 +2909,7 @@ class GovBreadcrumbs {
|
|
|
2927
2909
|
this.toggleOption = sumOfWidths > hostWidth;
|
|
2928
2910
|
}
|
|
2929
2911
|
render() {
|
|
2930
|
-
return (hAsync(Host, { key: '81d7a8e273e1ce4740ee35ebe4a570ee8c5e73a4', class: this.h.classes(BreadcrumbsClass.root), expanded: this.expanded }, hAsync("nav", { key: 'dc37fa314f5d84c6c517f64229ef601b256f3ad5', "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy }, hAsync("slot", { key: '4ead548352e642c0994360d74a98123782790a04' })), this.toggleOption ? (hAsync("gov-button", { size: 'xs', color: 'primary', type: 'base', "aria-label": this.accessibleToggleLabel, "aria-pressed": this.expanded, "aria-expanded": this.expanded, "on-gov-click": () => this.expanded = !this.expanded }, hAsync("gov-icon", { name: this.expanded ? 'chevron-up' : 'chevron-down' }))) : null));
|
|
2912
|
+
return (hAsync(Host, { key: '81d7a8e273e1ce4740ee35ebe4a570ee8c5e73a4', class: this.h.classes(BreadcrumbsClass.root), expanded: this.expanded }, hAsync("nav", { key: 'dc37fa314f5d84c6c517f64229ef601b256f3ad5', "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy }, hAsync("slot", { key: '4ead548352e642c0994360d74a98123782790a04' })), this.toggleOption ? (hAsync("gov-button", { size: 'xs', color: 'primary', type: 'base', "aria-label": this.accessibleToggleLabel, "aria-pressed": this.expanded, "aria-expanded": this.expanded, "on-gov-click": () => this.expanded = !this.expanded }, hAsync("gov-icon", { name: this.expanded ? 'chevron-up' : 'chevron-down', type: "components" }))) : null));
|
|
2931
2913
|
}
|
|
2932
2914
|
/**
|
|
2933
2915
|
* Validate the WCAG attributes of the component
|
|
@@ -2958,18 +2940,16 @@ class GovBreadcrumbs {
|
|
|
2958
2940
|
|
|
2959
2941
|
var Colors;
|
|
2960
2942
|
(function (Colors) {
|
|
2961
|
-
Colors["PRIMARY"] = "primary";
|
|
2962
2943
|
Colors["DEFAULT"] = "default";
|
|
2963
|
-
Colors["
|
|
2964
|
-
Colors["ERROR"] = "error";
|
|
2965
|
-
Colors["NEUTRAL"] = "neutral";
|
|
2944
|
+
Colors["PRIMARY"] = "primary";
|
|
2966
2945
|
Colors["SECONDARY"] = "secondary";
|
|
2946
|
+
Colors["NEUTRAL"] = "neutral";
|
|
2947
|
+
Colors["ERROR"] = "error";
|
|
2967
2948
|
Colors["SUCCESS"] = "success";
|
|
2968
2949
|
Colors["WARNING"] = "warning";
|
|
2969
|
-
Colors["
|
|
2970
|
-
Colors["
|
|
2971
|
-
Colors["
|
|
2972
|
-
Colors["WHITE_FIXED"] = "white-fixed";
|
|
2950
|
+
Colors["DISABLED"] = "disabled";
|
|
2951
|
+
Colors["BLACK"] = "black";
|
|
2952
|
+
Colors["WHITE"] = "white";
|
|
2973
2953
|
Colors["CUSTOM"] = "custom";
|
|
2974
2954
|
})(Colors || (Colors = {}));
|
|
2975
2955
|
|
|
@@ -3088,9 +3068,9 @@ class GovButton {
|
|
|
3088
3068
|
render() {
|
|
3089
3069
|
const Tag = this.href ? Tags$2.A : Tags$2.BUTTON;
|
|
3090
3070
|
const nativeType = Tag === Tags$2.A ? undefined : this.nativeType;
|
|
3091
|
-
return (hAsync(Host, { key: '4e5ef3fbf897b81b07452a9383985353d673fdd6', size: this.size, hydrated: this.hydrated, color: this.color, class: this.h.classes(ButtonClass.root), type: this.type }, hAsync(Tag, Object.assign({ key: 'd0689b6c773257059fa9334d4bb1d003a0ec58c3', class: "element", ref: el => (this.triggerRef = el), onClick: this.onClickHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), disabled: this.disabled, id: this.identifier, href: this.href, target: this.target, download: this.download, hreflang: this.hreflang, rel: this.rel, name: this.name, type: nativeType, tabindex: this.disabled ? "-1" : "0" }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled) }), toBool(this.loading) && !this.h.hasSlot("
|
|
3092
|
-
hAsync("gov-icon", { key: '
|
|
3093
|
-
hAsync("gov-icon", { key: '
|
|
3071
|
+
return (hAsync(Host, { key: '4e5ef3fbf897b81b07452a9383985353d673fdd6', size: this.size, hydrated: this.hydrated, color: this.color, class: this.h.classes(ButtonClass.root), type: this.type }, hAsync(Tag, Object.assign({ key: 'd0689b6c773257059fa9334d4bb1d003a0ec58c3', class: "element", ref: el => (this.triggerRef = el), onClick: this.onClickHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), disabled: this.disabled, id: this.identifier, href: this.href, target: this.target, download: this.download, hreflang: this.hreflang, rel: this.rel, name: this.name, type: nativeType, tabindex: this.disabled ? "-1" : "0" }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled) }), toBool(this.loading) && !this.h.hasSlot("icon-end") &&
|
|
3072
|
+
hAsync("gov-icon", { key: '16a969ee29897508924e61d70b40589d0410f649', name: "loader", class: "gov-spin-animation", type: "components" }), this.h.hasSlot("icon-start") && hAsync("slot", { key: '7d208cc950fedd5b6bbf376152a0c641d8885846', name: "icon-start" }), hAsync("slot", { key: '7c43309c657363dbcc1df14ae3c21d977ec3eb20' }), this.h.hasSlot("icon-end") && hAsync("slot", { key: 'd90b7831900331fe8482757f33847295207f73d2', name: "icon-end" }), toBool(this.loading) && this.h.hasSlot("icon-end") &&
|
|
3073
|
+
hAsync("gov-icon", { key: 'd23e2000e5bf5b78a81e78d6c3e30aa0e1f3f42c', name: "loader", class: "gov-spin-animation", type: "components" }))));
|
|
3094
3074
|
}
|
|
3095
3075
|
onClickHandler(e) {
|
|
3096
3076
|
e.stopPropagation();
|
|
@@ -3213,7 +3193,7 @@ class GovCard {
|
|
|
3213
3193
|
this.hydrated = true;
|
|
3214
3194
|
}
|
|
3215
3195
|
render() {
|
|
3216
|
-
return (hAsync(Host, { key: 'c7dd00e1eee01b7005b98b39ddfccf784dc2808e', class: this.h.classes(CardClass.root), open: this.open, collapsible: booleanString(this.collapsible), promotion: this.promotion, hydrated: this.hydrated }, this.collapsible ? (hAsync("button", { id: this.headlineId, class: CardClass.header, "aria-label": this.accessibleTriggerLabel, "aria-labelledby": this.accessibleTriggerLabelledBy, "aria-expanded": booleanString(this.open), "aria-controls": this.contentId, onClick: this.onClickHandler.bind(this) }, hAsync("slot", { name: "headline" }), hAsync("gov-icon", { class: CardClass.arrow, name: "chevron-down" }))) : this.h.hasSlot("headline") ? (hAsync("div", { class: CardClass.header }, hAsync("slot", { name: "headline" }))) : null, hAsync("div", { key: '
|
|
3196
|
+
return (hAsync(Host, { key: 'c7dd00e1eee01b7005b98b39ddfccf784dc2808e', class: this.h.classes(CardClass.root), open: this.open, collapsible: booleanString(this.collapsible), promotion: this.promotion, hydrated: this.hydrated }, this.collapsible ? (hAsync("button", { id: this.headlineId, class: CardClass.header, "aria-label": this.accessibleTriggerLabel, "aria-labelledby": this.accessibleTriggerLabelledBy, "aria-expanded": booleanString(this.open), "aria-controls": this.contentId, onClick: this.onClickHandler.bind(this) }, hAsync("slot", { name: "headline" }), hAsync("gov-icon", { class: CardClass.arrow, name: "chevron-down", type: "components" }))) : this.h.hasSlot("headline") ? (hAsync("div", { class: CardClass.header }, hAsync("slot", { name: "headline" }))) : null, hAsync("div", { key: '369364ba24e3d93c1ac78a584dd1fd48c44b892b', class: CardClass.inner, id: this.contentId, "aria-hidden": this.collapsible ? booleanString(!this.open) : undefined, hidden: this.collapsible ? !this.open : undefined, "aria-labelledby": this.collapsible ? this.headlineId : undefined }, this.h.hasSlot('img') && (hAsync("p", { key: '813afe326da050fc90039355853617f267505fab', class: CardClass.img }, hAsync("slot", { key: '5817f673e65eeb32c5740c7524518d726a98364c', name: "img" }))), hAsync("div", { key: 'd47df9920b2ce96f2c535bb0bfd3723c2a7b7a9e', class: CardClass.main }, this.h.hasSlot('icon') && this.promotion && (hAsync("div", { key: 'c2649f05b9e7c25b7d77a02f692d45f0e30caa60', class: CardClass.icon }, hAsync("slot", { key: '9c5c54d2bf6c4a83bd6490b2ad7ef7a1ca9d53d5', name: "icon" }))), hAsync("slot", { key: '49608def955a9fa5f5c1ed957ca63bc698b9aeab' }), this.h.hasSlot('btn') && this.promotion && (hAsync("div", { key: '2bfc4a6c551fe33c4da625f800a796eb619746d3', class: CardClass.btns }, hAsync("slot", { key: '050552b970e6d16586f57ed3dab46e6fcff9d95b', name: "btn" })))), this.h.hasSlot('footer') && (hAsync("div", { key: '364cdbd90941b2e93cecc9742ff08479f82d0c14', class: CardClass.footer }, hAsync("slot", { key: '0352680a92293ddfe93c055b1d7e5555967f870b', name: "footer" }))))));
|
|
3217
3197
|
}
|
|
3218
3198
|
onClickHandler(e) {
|
|
3219
3199
|
e.stopPropagation();
|
|
@@ -3289,8 +3269,8 @@ class GovChip {
|
|
|
3289
3269
|
this.disabled = false;
|
|
3290
3270
|
this.href = undefined;
|
|
3291
3271
|
this.target = undefined;
|
|
3292
|
-
this.
|
|
3293
|
-
this.
|
|
3272
|
+
this.iconStart = undefined;
|
|
3273
|
+
this.iconEnd = undefined;
|
|
3294
3274
|
this.size = ChipSizes._M;
|
|
3295
3275
|
this.tag = "span";
|
|
3296
3276
|
this.color = ButtonColors.PRIMARY;
|
|
@@ -3331,13 +3311,13 @@ class GovChip {
|
|
|
3331
3311
|
render() {
|
|
3332
3312
|
const Tag = this.href ? NativeType.A : this.tag;
|
|
3333
3313
|
const nativeType = Tag == NativeType.BUTTON ? NativeType.BUTTON : undefined;
|
|
3334
|
-
const
|
|
3335
|
-
const
|
|
3336
|
-
return (hAsync(Host, { key: '
|
|
3314
|
+
const iconStart = prepareIconFormat(this.iconStart);
|
|
3315
|
+
const iconEnd = prepareIconFormat(this.iconEnd);
|
|
3316
|
+
return (hAsync(Host, { key: 'cb016dddaaadd7de70e72707d7ad44e87a597a34', class: this.h.classes([
|
|
3337
3317
|
ChipClass.root,
|
|
3338
3318
|
this.h.hasSlot("right") ? ChipClass.hasRight : undefined,
|
|
3339
3319
|
this.h.hasSlot("left") ? ChipClass.hasLeft : undefined,
|
|
3340
|
-
]), disabled: this.disabled, href: this.href, color: this.color, type: this.type, size: this.size, hoverable: Tag == NativeType.A || Tag == NativeType.BUTTON, hydrated: this.hydrated }, hAsync(Tag, Object.assign({ key: '
|
|
3320
|
+
]), disabled: this.disabled, href: this.href, color: this.color, type: this.type, size: this.size, hoverable: Tag == NativeType.A || Tag == NativeType.BUTTON, hydrated: this.hydrated }, hAsync(Tag, Object.assign({ key: 'd34d8a67eeb4b6d3f1b79118224a50f394e31003', class: "element", href: this.href, target: this.target, ref: el => (this.triggerRef = el), onClick: this.onClickHandler.bind(this), tabindex: (this.h.hasSlot("left") || this.h.hasSlot("right") || this.disabled) && !this.focusable ? "-1" : "0", id: this.identifier || this.chipId, type: nativeType }, this.inheritedAttributes, { "aria-disabled": this.disabled }), hAsync("slot", { key: '1927da9845f36a47d30d7aef2e5292b0fd14a9e9', name: "left" }), hAsync("slot", { key: 'c8334498b94e4d3caa6f7db5e7ec638bbce52cbc', name: "icon-start" }, iconStart && hAsync("gov-icon", { key: '310fb65c135105ee26cc6d58f810768843700b0a', type: iconStart.type, name: iconStart.name })), hAsync("slot", { key: '4a089b176703b5c600d2a519f90be655397d5f27' }), hAsync("slot", { key: '0dfede9f85605499bdbd09f43b642a1cee68fcf2', name: "icon-end" }, iconEnd && hAsync("gov-icon", { key: 'beb20c5691f2ed1a6cb556d440d72a86de280a73', type: iconEnd.type, name: iconEnd.name })), hAsync("slot", { key: '92e05b922fe474e259e18301eba6c13586794a1e', name: "right" }))));
|
|
3341
3321
|
}
|
|
3342
3322
|
onClickHandler(e) {
|
|
3343
3323
|
e.stopPropagation();
|
|
@@ -3369,8 +3349,8 @@ class GovChip {
|
|
|
3369
3349
|
"disabled": [516],
|
|
3370
3350
|
"href": [1],
|
|
3371
3351
|
"target": [1],
|
|
3372
|
-
"
|
|
3373
|
-
"
|
|
3352
|
+
"iconStart": [1, "icon-start"],
|
|
3353
|
+
"iconEnd": [1, "icon-end"],
|
|
3374
3354
|
"size": [1],
|
|
3375
3355
|
"tag": [1],
|
|
3376
3356
|
"color": [1],
|
|
@@ -3397,23 +3377,13 @@ class GovContainer {
|
|
|
3397
3377
|
this.h = govHost(this.host);
|
|
3398
3378
|
}
|
|
3399
3379
|
render() {
|
|
3400
|
-
return (hAsync(Host, { key: '
|
|
3401
|
-
}
|
|
3402
|
-
/**
|
|
3403
|
-
* Returns slotted children
|
|
3404
|
-
*
|
|
3405
|
-
* @return {Promise<Node[]>}
|
|
3406
|
-
*/
|
|
3407
|
-
async slottedChildren() {
|
|
3408
|
-
return Promise.resolve(slottedChildren(this.host));
|
|
3380
|
+
return (hAsync(Host, { key: '72c32b930fe5a024a469c2d8170a7597e990e659', class: this.h.classes(ContainerClass.root) }, hAsync("slot", { key: 'a4ad5247d403cd17ba46529cc204c936b82dd97d' })));
|
|
3409
3381
|
}
|
|
3410
3382
|
get host() { return getElement(this); }
|
|
3411
3383
|
static get cmpMeta() { return {
|
|
3412
3384
|
"$flags$": 4,
|
|
3413
3385
|
"$tagName$": "gov-container",
|
|
3414
|
-
"$members$":
|
|
3415
|
-
"slottedChildren": [64]
|
|
3416
|
-
},
|
|
3386
|
+
"$members$": undefined,
|
|
3417
3387
|
"$listeners$": undefined,
|
|
3418
3388
|
"$lazyBundleId$": "-",
|
|
3419
3389
|
"$attrsToReflect$": []
|
|
@@ -3544,7 +3514,7 @@ class GovDialog {
|
|
|
3544
3514
|
document.body.classList.remove(DialogClass.bodyFix);
|
|
3545
3515
|
}
|
|
3546
3516
|
render() {
|
|
3547
|
-
return (hAsync(Host, { key: 'fe34cd83c969ab539a47c4f851231085f34b21f6', class: this.h.classes(DialogClass.root), open: this.open, hydrated: this.hydrated }, hAsync("dialog", { key: 'd013f87f499635ed0d0f1cc016cc1e84410154b4', class: DialogClass.dialog, hidden: !this.open, tabindex: boolToFocusValue(this.open), open: this.open, "aria-modal": "true", "aria-hidden": toBoolAttr(!this.open), "aria-labelledby": this.accessibleLabelledBy || this.labelId, "aria-describedby": this.accessibleDescribedBy || this.contentId, role: this.role }, hAsync("div", { key: '6018f61d5a335583dc05a0f8cdef6c4562977558', class: DialogClass.inner }, hAsync("div", { key: '9ab56eb94d92f67291b783ec8310fec2c3da9d33', class: DialogClass.header }, hAsync("slot", { key: 'b2248113ca181acbd9e0c960c4e7b13c3e114ae3', name: "icon" }), this.h.hasSlot('title') && (hAsync("span", { key: 'fce7d93f476553e3cc53c8dc987d65cb64538552', class: DialogClass.title, id: this.labelId }, hAsync("slot", { key: 'b151367fda2f5f87d6de3cabbf46cacc9d427f0f', name: "title" }))), hAsync("gov-button", { key: 'e3622dc8601452c2d52a5d17a611d27cd0d17e97', ref: el => (this.closeCtaRef = el), disabled: this.blockClose, class: DialogClass.close, color: "primary", "aria-label": this.accessibleCloseLabel, "aria-labelledby": this.accessibleCloseLabelledBy, type: "base", "on-gov-click": this.onCloseHandler.bind(this) }, hAsync("gov-icon", { key: '
|
|
3517
|
+
return (hAsync(Host, { key: 'fe34cd83c969ab539a47c4f851231085f34b21f6', class: this.h.classes(DialogClass.root), open: this.open, hydrated: this.hydrated }, hAsync("dialog", { key: 'd013f87f499635ed0d0f1cc016cc1e84410154b4', class: DialogClass.dialog, hidden: !this.open, tabindex: boolToFocusValue(this.open), open: this.open, "aria-modal": "true", "aria-hidden": toBoolAttr(!this.open), "aria-labelledby": this.accessibleLabelledBy || this.labelId, "aria-describedby": this.accessibleDescribedBy || this.contentId, role: this.role }, hAsync("div", { key: '6018f61d5a335583dc05a0f8cdef6c4562977558', class: DialogClass.inner }, hAsync("div", { key: '9ab56eb94d92f67291b783ec8310fec2c3da9d33', class: DialogClass.header }, hAsync("slot", { key: 'b2248113ca181acbd9e0c960c4e7b13c3e114ae3', name: "icon" }), this.h.hasSlot('title') && (hAsync("span", { key: 'fce7d93f476553e3cc53c8dc987d65cb64538552', class: DialogClass.title, id: this.labelId }, hAsync("slot", { key: 'b151367fda2f5f87d6de3cabbf46cacc9d427f0f', name: "title" }))), hAsync("gov-button", { key: 'e3622dc8601452c2d52a5d17a611d27cd0d17e97', ref: el => (this.closeCtaRef = el), disabled: this.blockClose, class: DialogClass.close, color: "primary", "aria-label": this.accessibleCloseLabel, "aria-labelledby": this.accessibleCloseLabelledBy, type: "base", "on-gov-click": this.onCloseHandler.bind(this) }, hAsync("gov-icon", { key: 'aa75b37c5aa82566d2e9f6b49351dba0550052de', slot: "icon-start", name: "x-lg", type: "components" }))), hAsync("div", { key: '608ac5fe732219559583cfb512d14b9221619a6b', class: DialogClass.content, id: this.contentId }, hAsync("slot", { key: 'cd93b5061448c1d4c4d2dece9a349a8fa11f6c28' })), this.h.hasSlot('footer') && (hAsync("div", { key: '759319b3fb204e9f8f869d3839fc3f91f42b494f', class: DialogClass.footer }, hAsync("slot", { key: '5937ba641d297c61645f6216d63656cd883e5280', name: "footer" }))))), this.open ? (hAsync("gov-backdrop", { disabled: this.blockBackdropClose, "aria-label": this.accessibleCloseLabel, "aria-labelled-by": this.accessibleCloseLabelledBy, "on-gov-click": this.onCloseHandler.bind(this) })) : null));
|
|
3548
3518
|
}
|
|
3549
3519
|
onCloseHandler(e) {
|
|
3550
3520
|
e.stopPropagation();
|
|
@@ -3902,7 +3872,6 @@ class GovFormAutocomplete {
|
|
|
3902
3872
|
this.maxlength = undefined;
|
|
3903
3873
|
this.throttleTime = 200;
|
|
3904
3874
|
this.messageEmpty = 'Nebyly nalezeny žádné výsledky';
|
|
3905
|
-
this.messageLoading = 'Načítám...';
|
|
3906
3875
|
this.focused = undefined;
|
|
3907
3876
|
this.processing = false;
|
|
3908
3877
|
this.arrowCounter = -1;
|
|
@@ -3987,7 +3956,7 @@ class GovFormAutocomplete {
|
|
|
3987
3956
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
3988
3957
|
}
|
|
3989
3958
|
render() {
|
|
3990
|
-
return (hAsync(Host, { key: '
|
|
3959
|
+
return (hAsync(Host, { key: 'd5ddd1d65a70f4a9839262831b6207a0fe8ae726', class: FormAutocompleteClass.root, size: this.size }, hAsync("gov-form-input", Object.assign({ key: 'd656134c3a756de2c4178dcfcdd703f301d6c890', placeholder: this.placeholder, name: this.name, disabled: this.disabled, readonly: this.readonly, autocomplete: false, size: this.size, required: this.required, invalid: this.invalid, success: this.success, role: 'searchbox', value: this.value, minlength: this.minlength, maxlength: this.maxlength, "on-gov-input": throttle(this.onInputHandler.bind(this), this.throttleTime), "on-gov-keyup": this.onKeyUpHandler.bind(this), "on-gov-keydown": this.onKeyDownHandler.bind(this), "on-gov-focus": this.onFocusHandler.bind(this), "on-gov-blur": this.onBlurHandler.bind(this) }, this.inheritedAttributes, { "aria-autocomplete": 'list', "aria-owns": [this.listBoxId, this.inheritedAttributes['aria-owns']].join(' '), "aria-expanded": booleanString(this.list.length && this.focused ? true : false), ref: el => (this.inputRef = el) }), hAsync("slot", { key: '1d697820c14669a9e6c81f844f15e20743593f97', name: "validation-icon" }), hAsync("slot", { key: '297ccc852764688a34102363beb428ab81d6de26', name: "icon-end" })), hAsync("ul", { key: '3ed420a696852fad4183d16ef31a2db1dcb8f572', class: FormAutocompleteClass.list, role: 'listbox', "aria-hidden": toBoolAttr(!this.focused), hidden: !this.focused, id: this.listBoxId, ref: el => (this.listRef = el) }, this.focused && this.list.length === 0 && this.processing === false && this.isValueAccepted && this.messageEmpty ? (hAsync("li", { class: FormAutocompleteClass.empty }, this.messageEmpty)) : null, this.focused && this.processing === true && this.isValueAccepted ? (hAsync("li", { class: FormAutocompleteClass.loading }, hAsync("gov-skeleton", { size: "m" }))) : null, this.focused ? this.list.map((item, index) => {
|
|
3991
3960
|
const isSelected = this.arrowCounter === index;
|
|
3992
3961
|
return (hAsync("li", { class: FormAutocompleteClass.item, innerHTML: this.templateResolver(item, isSelected), role: 'option', "aria-posinset": index, tabindex: isSelected ? 0 : -1, "aria-setsize": this.list.length, onTouchStart: (e) => this.onSelectHandler(e, index), onMouseDown: (e) => this.onSelectHandler(e, index), "aria-selected": toBoolAttr(isSelected) }, hAsync("slot", { name: "list-item-left" }), hAsync("slot", { name: "list-item-right" })));
|
|
3993
3962
|
}) : null)));
|
|
@@ -4144,7 +4113,6 @@ class GovFormAutocomplete {
|
|
|
4144
4113
|
"maxlength": [2],
|
|
4145
4114
|
"throttleTime": [2, "throttle-time"],
|
|
4146
4115
|
"messageEmpty": [1, "message-empty"],
|
|
4147
|
-
"messageLoading": [1, "message-loading"],
|
|
4148
4116
|
"focused": [32],
|
|
4149
4117
|
"processing": [32],
|
|
4150
4118
|
"arrowCounter": [32],
|
|
@@ -4202,6 +4170,7 @@ var Type;
|
|
|
4202
4170
|
})(Type || (Type = {}));
|
|
4203
4171
|
const FormInputClass = {
|
|
4204
4172
|
root: 'gov-form-input',
|
|
4173
|
+
icons: 'gov-form-input__icons',
|
|
4205
4174
|
};
|
|
4206
4175
|
|
|
4207
4176
|
const FormSelectSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL']);
|
|
@@ -4218,7 +4187,7 @@ const FormMultiSelectClass = {
|
|
|
4218
4187
|
item: 'gov-form-multi-select__item',
|
|
4219
4188
|
};
|
|
4220
4189
|
|
|
4221
|
-
const FormSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L']);
|
|
4190
|
+
const FormSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL']);
|
|
4222
4191
|
const FormSwitchClass = {
|
|
4223
4192
|
root: 'gov-form-switch',
|
|
4224
4193
|
holder: 'gov-form-switch__holder',
|
|
@@ -4378,7 +4347,7 @@ class GovFormCheckbox {
|
|
|
4378
4347
|
}
|
|
4379
4348
|
return children;
|
|
4380
4349
|
};
|
|
4381
|
-
return (hAsync(Host, { class: FormCheckboxClass.root, hydrated: this.hydrated, checked: this.checked, size: this.size, invalid: toBoolAttrIfDefined(this.invalid) }, wrapCheckbox(hAsync(Fragment, null, hAsync("input", Object.assign({ id: this.identifier || this.checkboxId, type: "checkbox", value: this.value, name: this.name, checked: this.checked, onClick: this.onClickHandler.bind(this), onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, disabled: this.disabled, indeterminate: this.indeterminate, ref: el => (this.inputRef = el) }, this.inheritedAttributes, { "aria-checked": toBoolAttr(this.checked), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) })), hAsync("span", null, hAsync("slot", { name: "label" }), hAsync("gov-icon", { class: FormCheckboxClass.check, name: "check-lg" }), hAsync("gov-icon", { class: FormCheckboxClass.indeterminate, name: "dash-lg" }))))));
|
|
4350
|
+
return (hAsync(Host, { class: FormCheckboxClass.root, hydrated: this.hydrated, checked: this.checked, size: this.size, invalid: toBoolAttrIfDefined(this.invalid) }, wrapCheckbox(hAsync(Fragment, null, hAsync("input", Object.assign({ id: this.identifier || this.checkboxId, type: "checkbox", value: this.value, name: this.name, checked: this.checked, onClick: this.onClickHandler.bind(this), onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, disabled: this.disabled, indeterminate: this.indeterminate, ref: el => (this.inputRef = el) }, this.inheritedAttributes, { "aria-checked": toBoolAttr(this.checked), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) })), hAsync("span", null, hAsync("slot", { name: "label" }), hAsync("gov-icon", { class: FormCheckboxClass.check, name: "check-lg", type: "components" }), hAsync("gov-icon", { class: FormCheckboxClass.indeterminate, name: "dash-lg", type: "components" }))))));
|
|
4382
4351
|
}
|
|
4383
4352
|
onFocusHandler(e) {
|
|
4384
4353
|
e.stopPropagation();
|
|
@@ -4462,7 +4431,7 @@ const FormCheckboxGroupClass = {
|
|
|
4462
4431
|
root: 'gov-form-checkbox-group',
|
|
4463
4432
|
};
|
|
4464
4433
|
|
|
4465
|
-
const govFormGroupCss$1 = "
|
|
4434
|
+
const govFormGroupCss$1 = ":root{--roboto:Roboto, sans-serif}gov-form-group,.gov-form-group,gov-form-radio-group,.gov-form-radio-group,gov-form-checkbox-group,.gov-form-checkbox-group{margin-top:0 !important;margin-bottom:0 !important;position:relative;display:flex;width:100%;flex-direction:column;align-items:flex-start}gov-form-group .gov-form-label__label,.gov-form-group .gov-form-label__label,gov-form-radio-group .gov-form-label__label,.gov-form-radio-group .gov-form-label__label,gov-form-checkbox-group .gov-form-label__label,.gov-form-checkbox-group .gov-form-label__label{margin:0}gov-form-group[orientation=horizontal],.gov-form-group[orientation=horizontal],gov-form-radio-group[orientation=horizontal],.gov-form-radio-group[orientation=horizontal],gov-form-checkbox-group[orientation=horizontal],.gov-form-checkbox-group[orientation=horizontal]{flex-direction:row;flex-wrap:wrap}gov-form-group[orientation=horizontal] .gov-form-label__label,.gov-form-group[orientation=horizontal] .gov-form-label__label,gov-form-radio-group[orientation=horizontal] .gov-form-label__label,.gov-form-radio-group[orientation=horizontal] .gov-form-label__label,gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label,.gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label{white-space:nowrap}gov-form-group[gap=xs],.gov-form-group[gap=xs],gov-form-radio-group[gap=xs],.gov-form-radio-group[gap=xs],gov-form-checkbox-group[gap=xs],.gov-form-checkbox-group[gap=xs]{gap:var(--gap, var(--spacing-xs-nudge))}gov-form-group[gap=s],.gov-form-group[gap=s],gov-form-radio-group[gap=s],.gov-form-radio-group[gap=s],gov-form-checkbox-group[gap=s],.gov-form-checkbox-group[gap=s]{gap:var(--gap, var(--spacing-s))}gov-form-group[gap=m],.gov-form-group[gap=m],gov-form-radio-group[gap=m],.gov-form-radio-group[gap=m],gov-form-checkbox-group[gap=m],.gov-form-checkbox-group[gap=m]{gap:var(--gap, var(--spacing-s-nudge))}gov-form-group[gap=l],.gov-form-group[gap=l],gov-form-radio-group[gap=l],.gov-form-radio-group[gap=l],gov-form-checkbox-group[gap=l],.gov-form-checkbox-group[gap=l]{gap:var(--gap, var(--spacing-m))}gov-form-group[gap=xl],.gov-form-group[gap=xl],gov-form-radio-group[gap=xl],.gov-form-radio-group[gap=xl],gov-form-checkbox-group[gap=xl],.gov-form-checkbox-group[gap=xl]{gap:var(--gap, var(--spacing-m-nudge))}";
|
|
4466
4435
|
var GovFormCheckboxGroupStyle0 = govFormGroupCss$1;
|
|
4467
4436
|
|
|
4468
4437
|
class GovFormCheckboxGroup {
|
|
@@ -4519,7 +4488,7 @@ class GovFormCheckboxGroup {
|
|
|
4519
4488
|
});
|
|
4520
4489
|
}
|
|
4521
4490
|
render() {
|
|
4522
|
-
return (hAsync(Host, { key: '
|
|
4491
|
+
return (hAsync(Host, { key: '9f0b69dea278df308a3ad5dacf989d4a89687b2a', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, hAsync("slot", { key: '14abf79a5ef9bc899b2732f6ae159781afa51fe2' })));
|
|
4523
4492
|
}
|
|
4524
4493
|
get host() { return getElement(this); }
|
|
4525
4494
|
static get watchers() { return {
|
|
@@ -4586,7 +4555,7 @@ class GovFormControl {
|
|
|
4586
4555
|
}
|
|
4587
4556
|
render() {
|
|
4588
4557
|
const Tag = this.fieldset ? "fieldset" : "div";
|
|
4589
|
-
return (hAsync(Host, { key: '
|
|
4558
|
+
return (hAsync(Host, { key: '5d1b7313e297a68d4349290d98190e7a0e3039b2', size: this.size, class: this.h.classes(FormControlClass.root) }, hAsync(Tag, { key: 'd4af40d1dcd012c374e0cd43a6d6777945b8e7d7', class: FormControlClass.holder }, this.h.hasSlot("top") && hAsync("slot", { key: 'd46ee92af80770af49c075387f534b9d538a7e39', name: "top" }), hAsync("slot", { key: 'ce46e5d88ca4a1069436d702b27ad0c5051e63b5' }), this.h.hasSlot("bottom") && (hAsync("div", { key: 'b9da32bf3ad735b0c8bc187fb32528c710e3383c', class: FormControlClass.bottom }, hAsync("slot", { key: '06f43763e2e0a88a2919e33d730898dd2048dcd0', name: "bottom" }))))));
|
|
4590
4559
|
}
|
|
4591
4560
|
get host() { return getElement(this); }
|
|
4592
4561
|
static get cmpMeta() { return {
|
|
@@ -4662,7 +4631,6 @@ class GovFormFile {
|
|
|
4662
4631
|
this.invalid = undefined;
|
|
4663
4632
|
this.errorSize = "Soubor je větší než povolená velikost {FILE_SIZE}";
|
|
4664
4633
|
this.errorAccept = "Soubor tohoto typu není povolen";
|
|
4665
|
-
this.attachmentsLabel = "Přílohy";
|
|
4666
4634
|
this.accessibleRemoveLabel = "Odebrat soubor {FILE_NAME}";
|
|
4667
4635
|
this.accessibleAttachmentsLabel = "Přílohy";
|
|
4668
4636
|
this.files = [];
|
|
@@ -4776,7 +4744,7 @@ class GovFormFile {
|
|
|
4776
4744
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
4777
4745
|
}
|
|
4778
4746
|
render() {
|
|
4779
|
-
return (hAsync(Host, { key: '
|
|
4747
|
+
return (hAsync(Host, { key: 'fda855fd13b98ed5ec1cfca65467a076a88a5fa0', class: this.h.classes([FormFileClass.root]), invalid: toBoolAttrIfDefined(this.invalid), expanded: toBoolAttrIfDefined(this.expanded) }, hAsync("div", { key: 'b1045cecb8e17259cd01b8856987da468e0e9396', class: FormFileClass.area, ref: el => (this.areaRef = el) }, hAsync("slot", { key: '0d06955bac8c995f95078f706988058a50b72e55' }), hAsync("input", Object.assign({ key: 'ec52abcad54909f6c0af0b7957765b8cadb26a10', class: FormFileClass.input, ref: el => (this.inputRef = el), id: this.identifier || this.fileId, type: "file", name: this.name, accept: this.accept, multiple: this.multiple, onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, disabled: this.disabled }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) }))), this.h.hasSlot("attachments") ? (hAsync("div", { class: FormFileClass.attachments }, hAsync("slot", { name: "attachments" }))) : null, this.files.length && this.displayAttachments ? (hAsync("div", { class: FormFileClass.attachments }, hAsync("gov-attachments", { label: this.accessibleAttachmentsLabel, "accessible-label": this.accessibleAttachmentsLabel }, this.files.map(item => (hAsync("gov-attachments-item", { "accessible-remove-labelledby": item.id, "on-gov-remove": () => this.onRemoveFileHandler(item) }, hAsync("span", { class: "sr-only", id: item.id }, this.accessibleRemoveLabel.replace("{FILE_NAME}", item.file.name)), item.file.name, item.acceptValid === false ? (hAsync("gov-form-message", { slot: "message", color: "error" }, hAsync("gov-icon", { slot: "icon", name: "exclamation-triangle-fill", type: "components" }), item.acceptValid === false ? this.errorAccept : null)) : null, item.sizeValid === false ? (hAsync("gov-form-message", { slot: "message", color: "error" }, hAsync("gov-icon", { slot: "icon", name: "exclamation-triangle-fill", type: "components" }), this.errorSize.replace("{FILE_SIZE}", formatBytes(this.maxFileSize)))) : null, hAsync("span", { slot: "info" }, "(", formatBytes(item.file.size), ")"))))))) : null));
|
|
4780
4748
|
}
|
|
4781
4749
|
onRemoveFileHandler(file) {
|
|
4782
4750
|
const index = this.files.findIndex(item => item.id === file.id);
|
|
@@ -4854,7 +4822,6 @@ class GovFormFile {
|
|
|
4854
4822
|
"invalid": [4],
|
|
4855
4823
|
"errorSize": [1, "error-size"],
|
|
4856
4824
|
"errorAccept": [1, "error-accept"],
|
|
4857
|
-
"attachmentsLabel": [1, "attachments-label"],
|
|
4858
4825
|
"accessibleRemoveLabel": [1, "accessible-remove-label"],
|
|
4859
4826
|
"accessibleAttachmentsLabel": [1, "accessible-attachments-label"],
|
|
4860
4827
|
"files": [32],
|
|
@@ -4891,7 +4858,7 @@ class GovFormGroup {
|
|
|
4891
4858
|
this.validateOrientation(this.orientation);
|
|
4892
4859
|
}
|
|
4893
4860
|
render() {
|
|
4894
|
-
return (hAsync(Host, { key: '
|
|
4861
|
+
return (hAsync(Host, { key: 'a6b2a022f3c8573fb1bb7424d6a5ac2dc54b101b', gap: this.gap, class: this.h.classes(FormGroupClass.root) }, hAsync("slot", { key: 'e1b5f38d87e9f46f555e2fc3d247a9c3c10b5872' })));
|
|
4895
4862
|
}
|
|
4896
4863
|
get host() { return getElement(this); }
|
|
4897
4864
|
static get watchers() { return {
|
|
@@ -4995,9 +4962,11 @@ class GovFormInput {
|
|
|
4995
4962
|
}
|
|
4996
4963
|
render() {
|
|
4997
4964
|
const Tag = this.multiline ? Tags$1.TEXTAREA : Tags$1.INPUT;
|
|
4998
|
-
return (hAsync(Host, { key: '
|
|
4999
|
-
hAsync("
|
|
5000
|
-
hAsync("
|
|
4965
|
+
return (hAsync(Host, { key: '5210373fd88e2b80df5a4206c5b25b5695f2894b', class: FormInputClass.root, size: this.size, type: this.type }, this.h.hasSlot("prefix") && hAsync("slot", { key: '9215c45132a4b9dc8fd0da79ef8d082dcce0789b', name: "prefix" }), hAsync("span", { key: 'e58ab94aa7926dbd8488ce8323b6c8dbec9ce765', class: "element" }, (this.h.hasSlot("icon-start") && !this.multiline) &&
|
|
4966
|
+
hAsync("div", { key: '8e67ba10cfb47232f6c0d817df292668c2a4a7e8', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, hAsync("slot", { key: 'a186f1fbe47936219f6a6a26cb2d0c2b0dbe08f8', name: "icon-start" })), hAsync(Tag, Object.assign({ key: '1090f6e6705365ffc83b5397ad669638d996f5bd', type: this.inputType === 'password' && this.showPassword ? 'text' : this.inputType, disabled: this.disabled, id: this.identifier || this.inputId, name: this.name, onFocus: this.onFocusHandler.bind(this), onInput: this.onInputHandler.bind(this), onBlur: this.onBlurHandler.bind(this), onKeyUp: this.onKeyUpHandler.bind(this), onKeyDown: this.onKeyDownHandler.bind(this), ref: el => (this.inputRef = el), placeholder: this.placeholder, spellcheck: toBoolAttrIfDefined(this.spellcheck), lang: this.inputLang, readonly: toBoolAttrIfDefined(this.readonly), autocomplete: toOnOffAttrIfDefined(this.autocomplete), autocorrect: toOnOffAttrIfDefined(this.autocorrect), minlength: this.minlength, maxlength: this.maxlength, min: this.min, max: this.max, required: this.required, rows: this.rows, cols: this.cols, role: this.role, value: this.value }, this.inheritedAttributes, { "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) })), ((this.success || this.invalid || this.h.hasSlot("icon-end") || this.inputType === 'password') && !this.multiline) &&
|
|
4967
|
+
hAsync("div", { key: '49cb072b3448735677c47883d851557f107dd6cb', class: FormInputClass.icons, onClick: () => this.inputRef.focus() }, this.success && !this.multiline &&
|
|
4968
|
+
hAsync("gov-icon", { key: 'f00df3e88ba3a0d695bf9f33ddb51af7a8fb4a96', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && !this.multiline &&
|
|
4969
|
+
hAsync("gov-icon", { key: '523966e75d3f3d49eff396226673c3c96cf6de60', class: "validation-icon", name: "exclamation-lg", type: "components" }), this.h.hasSlot("icon-end") && this.inputType !== 'password' && hAsync("slot", { key: 'b707c094fe32bf5864c66e40a95a22f2b27d79b3', name: "icon-end" }), this.inputType === 'password' ? (hAsync("gov-button", { color: 'primary', type: 'base', size: this.size, "aria-label": this.showPassword ? this.accessibleHidePasswordLabel : this.accessibleShowPasswordLabel, "on-gov-click": () => this.showPassword = !this.showPassword }, hAsync("gov-icon", { slot: "icon-start", name: "eye", type: "components" }))) : null)), this.h.hasSlot("sufix") && hAsync("slot", { key: '945df71d1a6c3edd76769ae3310bdd33df694d2b', name: "sufix" })));
|
|
5001
4970
|
}
|
|
5002
4971
|
onFocusHandler(e) {
|
|
5003
4972
|
e.stopPropagation();
|
|
@@ -5129,7 +5098,7 @@ class GovFormLabel {
|
|
|
5129
5098
|
}
|
|
5130
5099
|
render() {
|
|
5131
5100
|
const Tag = this.legend ? 'legend' : 'label';
|
|
5132
|
-
return (hAsync(Host, { key: '
|
|
5101
|
+
return (hAsync(Host, { key: '3e02eaa899126807c31fac8d3b6f352a07a73a9d', class: FormLabelClass.root, size: this.size }, hAsync(Tag, { key: 'a1213cf879e26565c4c84d31ab6a46dac2a9ee4e', class: FormLabelClass.label, htmlFor: this.identifier, onClick: () => this.govClick.emit() }, hAsync("slot", { key: '46a6a39821d6f3f786b843c037b0b423ba2445ae' }), this.required ? hAsync("span", { class: "gov-color--error-500" }, "\u00A0*") : null)));
|
|
5133
5102
|
}
|
|
5134
5103
|
static get cmpMeta() { return {
|
|
5135
5104
|
"$flags$": 4,
|
|
@@ -5161,7 +5130,7 @@ class GovFormMessage {
|
|
|
5161
5130
|
this.validateColor(this.color);
|
|
5162
5131
|
}
|
|
5163
5132
|
render() {
|
|
5164
|
-
return (hAsync(Host, { key: '
|
|
5133
|
+
return (hAsync(Host, { key: '0fc757895a58267edf28d9139e460a14e664de04', class: this.h.classes(FormMessageClass.root), color: this.color, size: this.size }, this.h.hasSlot('icon') && (hAsync("slot", { key: 'bca8235bbaebcd7066efb8e8e3fdbff7ba8e011c', name: "icon" })), hAsync("span", { key: 'a0e46336d6a661bf6d6f2ee8f0cb89c967f5321d', id: this.messageId, class: FormMessageClass.content }, hAsync("slot", { key: '2e0e474f9f9d35fc5cda1db690d2b7b4e2addb68' }))));
|
|
5165
5134
|
}
|
|
5166
5135
|
/**
|
|
5167
5136
|
* Returns unique identifier of message
|
|
@@ -5350,16 +5319,16 @@ class GovFormMultiSelect {
|
|
|
5350
5319
|
});
|
|
5351
5320
|
}
|
|
5352
5321
|
render() {
|
|
5353
|
-
return (hAsync(Host, { key: '
|
|
5322
|
+
return (hAsync(Host, { key: '8c36a19951ed5931adea3e023209e8c6b271a98f', class: FormMultiSelectClass.root, size: this.size }, hAsync("div", { key: '97ed4682166e9f9261bdde9f8e9261eb350f2a85', class: FormMultiSelectClass.wrap }, this.h.hasSlot('prefix') && hAsync("slot", { key: 'e49357d489985785acb2fd4917ec0eea02e420e4', name: "prefix" }), hAsync("gov-form-autocomplete", { key: '9aba6a6e6208107e62e916505e30f56a03707cf1', value: this.valueState, disabled: this.disabled, identifier: this.identifier || this.selectId, required: false, invalid: this.invalid, success: this.success, size: this.size, placeholder: this.placeholder, "message-empty": this.messageEmpty, "message-loading": this.messageLoading, ref: el => (this.autocompleteRef = el), minlength: 0, "aria-owns": this.listId }, this.success && hAsync("gov-icon", { key: '0ecf17afa6bef85ac0666e206b0d84bc63cdde2f', slot: "validation-icon", class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && hAsync("gov-icon", { key: '7573420027300e8951adb1bafe934dbafe5be4a4', slot: "validation-icon", class: "validation-icon", name: "exclamation-lg", type: "components" }), hAsync("gov-icon", { key: '461f2108ddd524153d5f684b0fea218913410737', slot: "icon-end", class: "arrow-icon", name: "chevron-down", type: "components" })), hAsync("select", Object.assign({ key: '61aad9d04d5ce5778f66c794d447e45f8d605492', hidden: true, class: 'hidden-select-list', "aria-hidden": toBoolAttr(true), multiple: true, required: this.required, name: this.name, disabled: this.disabled, ref: el => (this.selectRef = el) }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid) }), hAsync("slot", { key: '6dda21eb97bab4a943d51f3f4d0593f7580740ed' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
|
|
5354
5323
|
var _a;
|
|
5355
5324
|
const selectedOption = this.selectedValueIndex(option.value);
|
|
5356
5325
|
return (hAsync("option", { value: option.value, selected: selectedOption > -1, disabled: option === null || option === void 0 ? void 0 : option.disabled }, (_a = option.label) !== null && _a !== void 0 ? _a : option.value));
|
|
5357
|
-
})), this.h.hasSlot('sufix') && hAsync("slot", { key: '
|
|
5326
|
+
})), this.h.hasSlot('sufix') && hAsync("slot", { key: '91c91489ce3167f9e0e9eda66e1fab3553750472', name: "sufix" })), this.hideSelectedList === false ? (hAsync("ul", { role: "listbox", id: this.listId, class: FormMultiSelectClass.list }, Array.isArray(this.selectedOptionsState) && this.selectedOptionsState.map(selected => {
|
|
5358
5327
|
var _a, _b;
|
|
5359
5328
|
const option = this.getOption(selected);
|
|
5360
5329
|
if (!option)
|
|
5361
5330
|
return null;
|
|
5362
|
-
return (hAsync("li", { class: FormMultiSelectClass.item, role: "option" }, (_a = option.label) !== null && _a !== void 0 ? _a : option.value, hAsync("gov-button", { "aria-label": (_b = 'Odebrat vybranou položku ' + option.label) !== null && _b !== void 0 ? _b : option.value, color: "primary", type: "base", size: this.size, "on-gov-click": () => this.onTagRemove(selected) }, hAsync("gov-icon", { name: "x-lg" }))));
|
|
5331
|
+
return (hAsync("li", { class: FormMultiSelectClass.item, role: "option" }, (_a = option.label) !== null && _a !== void 0 ? _a : option.value, hAsync("gov-button", { "aria-label": (_b = 'Odebrat vybranou položku ' + option.label) !== null && _b !== void 0 ? _b : option.value, color: "primary", type: "base", size: this.size, "on-gov-click": () => this.onTagRemove(selected) }, hAsync("gov-icon", { name: "x-lg", type: "components" }))));
|
|
5363
5332
|
}))) : null));
|
|
5364
5333
|
}
|
|
5365
5334
|
onFocusHandler(e) {
|
|
@@ -5433,7 +5402,7 @@ class GovFormMultiSelect {
|
|
|
5433
5402
|
"hideSelectedList": [4, "hide-selected-list"],
|
|
5434
5403
|
"required": [4],
|
|
5435
5404
|
"disabled": [4],
|
|
5436
|
-
"invalid": [
|
|
5405
|
+
"invalid": [516],
|
|
5437
5406
|
"success": [4],
|
|
5438
5407
|
"messageEmpty": [1, "message-empty"],
|
|
5439
5408
|
"messageLoading": [1, "message-loading"],
|
|
@@ -5448,7 +5417,7 @@ class GovFormMultiSelect {
|
|
|
5448
5417
|
},
|
|
5449
5418
|
"$listeners$": undefined,
|
|
5450
5419
|
"$lazyBundleId$": "-",
|
|
5451
|
-
"$attrsToReflect$": [["value", "value"], ["options", "options"]]
|
|
5420
|
+
"$attrsToReflect$": [["value", "value"], ["options", "options"], ["invalid", "invalid"]]
|
|
5452
5421
|
}; }
|
|
5453
5422
|
}
|
|
5454
5423
|
|
|
@@ -5464,7 +5433,7 @@ class GovFormPasswordPower {
|
|
|
5464
5433
|
this.power = undefined;
|
|
5465
5434
|
}
|
|
5466
5435
|
render() {
|
|
5467
|
-
return (hAsync(Host, { key: '
|
|
5436
|
+
return (hAsync(Host, { key: '9125566cb99bfc49e2e61edb5af71b5b052d6790', class: FormPasswordPowerClass.root }, hAsync("span", { key: 'b293292f3b8faca38bbbd6cb03fdd49d8601aab3', class: FormPasswordPowerClass.bar }, hAsync("span", { key: '20995fbc87342a8e0db8031b0ff23a9cb01b4068' }), hAsync("span", { key: '4fec375a3f27cc35025c165badbff731c8fb26ab' }), hAsync("span", { key: '426f641b8b8e179e25e8a1006a0afd0394615058' })), hAsync("span", { key: '7aeaf7222b484ad59084bb20fcbff4660cdcb1db', class: FormPasswordPowerClass.text }, hAsync("slot", { key: '57c3415c9b2dfc688ec5762c33cdad473b8110bd' }))));
|
|
5468
5437
|
}
|
|
5469
5438
|
static get cmpMeta() { return {
|
|
5470
5439
|
"$flags$": 4,
|
|
@@ -5609,7 +5578,7 @@ class GovFormRadio {
|
|
|
5609
5578
|
}; }
|
|
5610
5579
|
}
|
|
5611
5580
|
|
|
5612
|
-
const govFormGroupCss = "
|
|
5581
|
+
const govFormGroupCss = ":root{--roboto:Roboto, sans-serif}gov-form-group,.gov-form-group,gov-form-radio-group,.gov-form-radio-group,gov-form-checkbox-group,.gov-form-checkbox-group{margin-top:0 !important;margin-bottom:0 !important;position:relative;display:flex;width:100%;flex-direction:column;align-items:flex-start}gov-form-group .gov-form-label__label,.gov-form-group .gov-form-label__label,gov-form-radio-group .gov-form-label__label,.gov-form-radio-group .gov-form-label__label,gov-form-checkbox-group .gov-form-label__label,.gov-form-checkbox-group .gov-form-label__label{margin:0}gov-form-group[orientation=horizontal],.gov-form-group[orientation=horizontal],gov-form-radio-group[orientation=horizontal],.gov-form-radio-group[orientation=horizontal],gov-form-checkbox-group[orientation=horizontal],.gov-form-checkbox-group[orientation=horizontal]{flex-direction:row;flex-wrap:wrap}gov-form-group[orientation=horizontal] .gov-form-label__label,.gov-form-group[orientation=horizontal] .gov-form-label__label,gov-form-radio-group[orientation=horizontal] .gov-form-label__label,.gov-form-radio-group[orientation=horizontal] .gov-form-label__label,gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label,.gov-form-checkbox-group[orientation=horizontal] .gov-form-label__label{white-space:nowrap}gov-form-group[gap=xs],.gov-form-group[gap=xs],gov-form-radio-group[gap=xs],.gov-form-radio-group[gap=xs],gov-form-checkbox-group[gap=xs],.gov-form-checkbox-group[gap=xs]{gap:var(--gap, var(--spacing-xs-nudge))}gov-form-group[gap=s],.gov-form-group[gap=s],gov-form-radio-group[gap=s],.gov-form-radio-group[gap=s],gov-form-checkbox-group[gap=s],.gov-form-checkbox-group[gap=s]{gap:var(--gap, var(--spacing-s))}gov-form-group[gap=m],.gov-form-group[gap=m],gov-form-radio-group[gap=m],.gov-form-radio-group[gap=m],gov-form-checkbox-group[gap=m],.gov-form-checkbox-group[gap=m]{gap:var(--gap, var(--spacing-s-nudge))}gov-form-group[gap=l],.gov-form-group[gap=l],gov-form-radio-group[gap=l],.gov-form-radio-group[gap=l],gov-form-checkbox-group[gap=l],.gov-form-checkbox-group[gap=l]{gap:var(--gap, var(--spacing-m))}gov-form-group[gap=xl],.gov-form-group[gap=xl],gov-form-radio-group[gap=xl],.gov-form-radio-group[gap=xl],gov-form-checkbox-group[gap=xl],.gov-form-checkbox-group[gap=xl]{gap:var(--gap, var(--spacing-m-nudge))}";
|
|
5613
5582
|
var GovFormRadioGroupStyle0 = govFormGroupCss;
|
|
5614
5583
|
|
|
5615
5584
|
class GovFormRadioGroup {
|
|
@@ -5656,7 +5625,7 @@ class GovFormRadioGroup {
|
|
|
5656
5625
|
});
|
|
5657
5626
|
}
|
|
5658
5627
|
render() {
|
|
5659
|
-
return (hAsync(Host, { key: '
|
|
5628
|
+
return (hAsync(Host, { key: '5a9b1bd507ef9c0a57cdb25fb200ab6c9fb46604', gap: this.gap, class: this.h.classes(FormGroupClass.root), value: this.value }, hAsync("slot", { key: '34b587d61d716b51729431c52879b6fcd0285fee' })));
|
|
5660
5629
|
}
|
|
5661
5630
|
get host() { return getElement(this); }
|
|
5662
5631
|
static get watchers() { return {
|
|
@@ -5691,7 +5660,7 @@ class GovFormSearch {
|
|
|
5691
5660
|
this.color = 'neutral';
|
|
5692
5661
|
}
|
|
5693
5662
|
render() {
|
|
5694
|
-
return (hAsync(Host, { key: '
|
|
5663
|
+
return (hAsync(Host, { key: '9d628d34bd6f19132ea398437faf9023a322bdcf', class: FormSearchClass.root, color: this.color, size: this.size }, hAsync("slot", { key: 'aa70625f5e6b754a18b36ad87634fe5be1a34fb7', name: "input" }), hAsync("slot", { key: 'd098e011406c85877131ee57c04bc9a3f05ded18', name: "button-erase" }), hAsync("slot", { key: '6a5226ae29cf22f4ec33ecf5604db44d8154d2fa', name: "button" })));
|
|
5695
5664
|
}
|
|
5696
5665
|
get host() { return getElement(this); }
|
|
5697
5666
|
static get cmpMeta() { return {
|
|
@@ -5783,10 +5752,10 @@ class GovFormSelect {
|
|
|
5783
5752
|
});
|
|
5784
5753
|
}
|
|
5785
5754
|
render() {
|
|
5786
|
-
return (hAsync(Host, { key: '
|
|
5755
|
+
return (hAsync(Host, { key: '2eaa50cdab69d7ea87e86b33a69728b735f24e89', class: FormSelectClass.root, size: this.size }, this.h.hasSlot('prefix') && hAsync("slot", { key: 'ef57fa4df7417a583738b7863af7b8903dc92ced', name: "prefix" }), hAsync("span", { key: 'f7c8e78bab4ddfe8315ec641b99077d963c3023f', class: "element" }, hAsync("select", Object.assign({ key: '1e7502585fc0c59ad024ad6607ae8f8b4461e1ea', id: this.identifier || this.selectId, onFocus: this.onFocusHandler.bind(this), onChange: this.onChangeHandler.bind(this), onBlur: this.onBlurHandler.bind(this), required: this.required, name: this.name, disabled: this.disabled, ref: el => (this.selectRef = el) }, this.inheritedAttributes, { "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid) }), hAsync("slot", { key: '2d657c57207d93d0054f410f274a6b9e163c6a79' }), Array.isArray(this.optionsState) && this.optionsState.map((option) => {
|
|
5787
5756
|
var _a;
|
|
5788
5757
|
return (hAsync("option", { value: option.value, selected: option.value === this.value, disabled: option === null || option === void 0 ? void 0 : option.disabled }, (_a = option.label) !== null && _a !== void 0 ? _a : option.value));
|
|
5789
|
-
}))), this.h.hasSlot('sufix') && hAsync("slot", { key: '
|
|
5758
|
+
})), this.success && hAsync("gov-icon", { key: 'cec630f5f88b883d6873d3f8fd4157d56af540ca', class: "validation-icon", name: "check-lg", type: "components" }), this.invalid && hAsync("gov-icon", { key: 'd079d76edc2e8db801d8ff840af595a67c9db8e5', class: "validation-icon", name: "exclamation-lg", type: "components" }), hAsync("gov-icon", { key: '349bc31354f24d96a279ea9f0967b416b8357af9', class: "arrow-icon", name: "chevron-down", type: "components" })), this.h.hasSlot('sufix') && hAsync("slot", { key: '3d45a1c71ce49f8a207144b8d72401d593f7d712', name: "sufix" })));
|
|
5790
5759
|
}
|
|
5791
5760
|
onFocusHandler(e) {
|
|
5792
5761
|
this.focused = true;
|
|
@@ -5924,7 +5893,7 @@ class GovFormSwitch {
|
|
|
5924
5893
|
}
|
|
5925
5894
|
return children;
|
|
5926
5895
|
};
|
|
5927
|
-
return (hAsync(Host, { class: this.h.classes(FormSwitchClass.root), hydrated: this.hydrated, checked: this.checked, size: this.size, invalid: toBoolAttrIfDefined(this.invalid) }, wrapCheckbox(hAsync(Fragment, null, hAsync("input", Object.assign({ class: FormSwitchClass.input, id: this.identifier || this.checkboxId, type: "checkbox", value: this.value, name: this.name, disabled: this.disabled, checked: this.checked, onClick: this.onClickHandler.bind(this), onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), ref: el => (this.inputRef = el), required: this.required }, this.inheritedAttributes, { "aria-checked": this.checked, "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) })), hAsync("span", null, hAsync("span", { class: FormSwitchClass.indicator }, this.checked && hAsync("gov-icon", {
|
|
5896
|
+
return (hAsync(Host, { class: this.h.classes(FormSwitchClass.root), hydrated: this.hydrated, checked: this.checked, size: this.size, invalid: toBoolAttrIfDefined(this.invalid) }, wrapCheckbox(hAsync(Fragment, null, hAsync("input", Object.assign({ class: FormSwitchClass.input, id: this.identifier || this.checkboxId, type: "checkbox", value: this.value, name: this.name, disabled: this.disabled, checked: this.checked, onClick: this.onClickHandler.bind(this), onChange: this.onChangeHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), ref: el => (this.inputRef = el), required: this.required }, this.inheritedAttributes, { "aria-checked": this.checked, "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled) })), hAsync("span", null, hAsync("span", { class: FormSwitchClass.indicator }, this.checked && hAsync("gov-icon", { name: "check-lg", type: "components" })), hAsync("slot", { name: "label" }))))));
|
|
5928
5897
|
}
|
|
5929
5898
|
onClickHandler(e) {
|
|
5930
5899
|
e.stopPropagation();
|
|
@@ -6007,7 +5976,7 @@ class GovGrid {
|
|
|
6007
5976
|
}
|
|
6008
5977
|
// vertical / horizontal align
|
|
6009
5978
|
render() {
|
|
6010
|
-
return (hAsync(Host, { key: '
|
|
5979
|
+
return (hAsync(Host, { key: '81e96a065c6472ae76e4768cf2b8373b94f0d0a4', class: this.h.classes(GridClass.root), "align-x": this.alignX, "align-y": this.alignY, role: "list" }, hAsync("slot", { key: 'c3965bafe6a5870352a7cded3fc96adfbeb41724' })));
|
|
6011
5980
|
}
|
|
6012
5981
|
get host() { return getElement(this); }
|
|
6013
5982
|
static get cmpMeta() { return {
|
|
@@ -6034,7 +6003,7 @@ class GovGridItem {
|
|
|
6034
6003
|
this.h = govHost(this.host);
|
|
6035
6004
|
}
|
|
6036
6005
|
render() {
|
|
6037
|
-
return (hAsync(Host, { key: '
|
|
6006
|
+
return (hAsync(Host, { key: 'd830b7cb16e1ad4a07b5b5348c05434eb31a1f9e', class: this.h.classes(GridItemClass.root), role: "listitem", size: this.size, "size-sm": this.sizeSm, "size-md": this.sizeMd, "size-lg": this.sizeLg, "size-xl": this.sizeXl }, hAsync("slot", { key: '235bd47e47d94457cdbbf1d4530cf2e0bcddc4a3' })));
|
|
6038
6007
|
}
|
|
6039
6008
|
get host() { return getElement(this); }
|
|
6040
6009
|
static get cmpMeta() { return {
|
|
@@ -6053,18 +6022,18 @@ class GovGridItem {
|
|
|
6053
6022
|
}; }
|
|
6054
6023
|
}
|
|
6055
6024
|
|
|
6025
|
+
pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL', '_2XL', '_3XL', '_4XL', '_5XL']);
|
|
6056
6026
|
const IconColors = pick(Colors, [
|
|
6057
6027
|
'DEFAULT',
|
|
6058
|
-
'
|
|
6059
|
-
'ERROR',
|
|
6060
|
-
'NEUTRAL',
|
|
6028
|
+
'PRIMARY',
|
|
6061
6029
|
'SECONDARY',
|
|
6030
|
+
'NEUTRAL',
|
|
6031
|
+
'ERROR',
|
|
6062
6032
|
'SUCCESS',
|
|
6063
6033
|
'WARNING',
|
|
6064
|
-
'
|
|
6065
|
-
'
|
|
6066
|
-
'
|
|
6067
|
-
'WHITE_FIXED'
|
|
6034
|
+
'DISABLED',
|
|
6035
|
+
'WHITE',
|
|
6036
|
+
'BLACK',
|
|
6068
6037
|
]);
|
|
6069
6038
|
var Types;
|
|
6070
6039
|
(function (Types) {
|
|
@@ -6077,7 +6046,7 @@ const IconClass = {
|
|
|
6077
6046
|
holder: 'gov-icon__holder',
|
|
6078
6047
|
};
|
|
6079
6048
|
|
|
6080
|
-
const version = "4.1.0
|
|
6049
|
+
const version = "4.1.0";
|
|
6081
6050
|
|
|
6082
6051
|
const dsVersion = () => {
|
|
6083
6052
|
return version;
|
|
@@ -6115,13 +6084,17 @@ async function fetchIcon({ name, type }) {
|
|
|
6115
6084
|
class GovIcon {
|
|
6116
6085
|
constructor(hostRef) {
|
|
6117
6086
|
registerInstance(this, hostRef);
|
|
6087
|
+
this.size = undefined;
|
|
6118
6088
|
this.color = undefined;
|
|
6119
6089
|
this.name = null;
|
|
6120
|
-
this.type = "
|
|
6090
|
+
this.type = "components";
|
|
6121
6091
|
this.visible = false;
|
|
6122
6092
|
this.error = false;
|
|
6123
6093
|
this.h = govHost(this.host);
|
|
6124
6094
|
}
|
|
6095
|
+
validateSize(newValue) {
|
|
6096
|
+
validateProp(Sizes, newValue, IconClass.root);
|
|
6097
|
+
}
|
|
6125
6098
|
validateColor(newValue) {
|
|
6126
6099
|
validateProp(IconColors, newValue, IconClass.root);
|
|
6127
6100
|
}
|
|
@@ -6149,6 +6122,7 @@ class GovIcon {
|
|
|
6149
6122
|
}
|
|
6150
6123
|
}
|
|
6151
6124
|
async componentWillLoad() {
|
|
6125
|
+
this.validateSize(this.size);
|
|
6152
6126
|
this.validateColor(this.color);
|
|
6153
6127
|
await this.loadIconPathData();
|
|
6154
6128
|
}
|
|
@@ -6174,11 +6148,12 @@ class GovIcon {
|
|
|
6174
6148
|
if (this.error) {
|
|
6175
6149
|
return null;
|
|
6176
6150
|
}
|
|
6177
|
-
return (hAsync(Host, { class: this.h.classes(IconClass.root), color: this.color }));
|
|
6151
|
+
return (hAsync(Host, { class: this.h.classes(IconClass.root), size: this.size, color: this.color }));
|
|
6178
6152
|
}
|
|
6179
6153
|
static get assetsDirs() { return ["assets"]; }
|
|
6180
6154
|
get host() { return getElement(this); }
|
|
6181
6155
|
static get watchers() { return {
|
|
6156
|
+
"size": ["validateSize"],
|
|
6182
6157
|
"color": ["validateColor"],
|
|
6183
6158
|
"name": ["loadIconPathData"]
|
|
6184
6159
|
}; }
|
|
@@ -6186,6 +6161,7 @@ class GovIcon {
|
|
|
6186
6161
|
"$flags$": 0,
|
|
6187
6162
|
"$tagName$": "gov-icon",
|
|
6188
6163
|
"$members$": {
|
|
6164
|
+
"size": [513],
|
|
6189
6165
|
"color": [513],
|
|
6190
6166
|
"name": [513],
|
|
6191
6167
|
"type": [513],
|
|
@@ -6194,7 +6170,7 @@ class GovIcon {
|
|
|
6194
6170
|
},
|
|
6195
6171
|
"$listeners$": undefined,
|
|
6196
6172
|
"$lazyBundleId$": "-",
|
|
6197
|
-
"$attrsToReflect$": [["color", "color"], ["name", "name"], ["type", "type"]]
|
|
6173
|
+
"$attrsToReflect$": [["size", "size"], ["color", "color"], ["name", "name"], ["type", "type"]]
|
|
6198
6174
|
}; }
|
|
6199
6175
|
}
|
|
6200
6176
|
|
|
@@ -6247,8 +6223,8 @@ class GovInfobar {
|
|
|
6247
6223
|
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
6248
6224
|
}
|
|
6249
6225
|
render() {
|
|
6250
|
-
const closeButton = (hAsync("gov-button", { key: '
|
|
6251
|
-
return (hAsync(Host, { key: '
|
|
6226
|
+
const closeButton = (hAsync("gov-button", { key: '4569d98296984f33ff83947f92a95a0a3bf0d3e3', size: "s", "aria-label": this.accessibleCloseLabel, type: "base", color: this.isBold ? this.color : "neutral", "on-gov-click": this.onCloseHandler.bind(this), class: InfobarClass.close }, hAsync("gov-icon", { key: 'aafcdbde7ca0e13d9e733036da6cc6085143966d', name: "x-lg", type: "components" })));
|
|
6227
|
+
return (hAsync(Host, { key: '9b558a0c786862d032ed6fb5d274fc0c3cdae617', class: this.h.classes(InfobarClass.root), color: this.color, type: this.type }, hAsync("section", Object.assign({ key: '9bded4750afdfef6ace0e5a39be2d6283b30d725', class: InfobarClass.section }, this.inheritedAttributes, { role: this.role }), hAsync("slot", { key: '011f9d52f9f971a560fd0220be40b5a221a5f4b3', name: "icon" }), hAsync("div", { key: 'd613d4ab22f89da935fe60b866ea262802c5d18f', class: InfobarClass.content }, this.h.hasSlot('headline') ? (hAsync(Fragment, null, hAsync("div", { class: InfobarClass.headline }, hAsync("slot", { name: "headline" }), hAsync("gov-button", { size: "s", type: "base", color: this.isBold ? this.color : "neutral", "aria-label": this.accessibleToggleLabel, "on-gov-click": () => (this.toggleContent = !this.toggleContent) }, hAsync("gov-icon", { name: this.toggleContent ? 'chevron-up' : 'chevron-down', type: "components" }))), hAsync("div", { hidden: !this.toggleContent, "aria-hidden": toBoolAttr(this.toggleContent) }, hAsync("slot", null)))) : (hAsync("slot", null))), this.closable && closeButton)));
|
|
6252
6228
|
}
|
|
6253
6229
|
onCloseHandler(e) {
|
|
6254
6230
|
this.govClose.emit({
|
|
@@ -6317,7 +6293,7 @@ class GovLayout {
|
|
|
6317
6293
|
return originalClass + ' ' + originalClass + isType + isVariant + isInverse;
|
|
6318
6294
|
}
|
|
6319
6295
|
render() {
|
|
6320
|
-
return (hAsync(Host, { key: '
|
|
6296
|
+
return (hAsync(Host, { key: 'ba8fc53df2f13fcf8b87f25f073d0284b68b0a3a', type: this.type, class: this.h.classes(LayoutClass.root) }, hAsync("section", { key: 'f645a9b32495c4fc1c0c86a0078c78c4bc00a1e8', class: this.typeClass(LayoutClass.section, this.type, this.variant, this.inverse) }, hAsync("slot", { key: '5b0d1a3a137a8fe3bb90ae5dff2dbc179575af56' }))));
|
|
6321
6297
|
}
|
|
6322
6298
|
get host() { return getElement(this); }
|
|
6323
6299
|
static get cmpMeta() { return {
|
|
@@ -6340,7 +6316,7 @@ class GovLayoutColumn {
|
|
|
6340
6316
|
this.h = govHost(this.host);
|
|
6341
6317
|
}
|
|
6342
6318
|
render() {
|
|
6343
|
-
return (hAsync(Host, { key: '
|
|
6319
|
+
return (hAsync(Host, { key: '8566cc892984b1ce728c679107e228d8320f3048', class: this.h.classes(LayoutColumnClass.root) }, hAsync("slot", { key: 'e3a085ef568fa75ef813b775344adbd6f4ef2773' })));
|
|
6344
6320
|
}
|
|
6345
6321
|
get host() { return getElement(this); }
|
|
6346
6322
|
static get cmpMeta() { return {
|
|
@@ -6386,7 +6362,7 @@ class GovLifecycle {
|
|
|
6386
6362
|
console.log('componentDidUpdate', this.uniqueId);
|
|
6387
6363
|
}
|
|
6388
6364
|
render() {
|
|
6389
|
-
return (hAsync(Host, { key: '
|
|
6365
|
+
return (hAsync(Host, { key: '7bd4b9b30b6fe4e1732232fa4e70d66756c2139d', identifier: this.uniqueId }, hAsync("span", { key: '70d6b8d178133ee89b795c4018687c7afb2576f0' }, "lifecycle ", this.uniqueId)));
|
|
6390
6366
|
}
|
|
6391
6367
|
static get cmpMeta() { return {
|
|
6392
6368
|
"$flags$": 0,
|
|
@@ -6398,6 +6374,55 @@ class GovLifecycle {
|
|
|
6398
6374
|
}; }
|
|
6399
6375
|
}
|
|
6400
6376
|
|
|
6377
|
+
const LinkSizes = pick(Sizes, ['_S', '_M', '_L']);
|
|
6378
|
+
const LinkClass = {
|
|
6379
|
+
root: 'gov-link',
|
|
6380
|
+
};
|
|
6381
|
+
|
|
6382
|
+
class GovLink {
|
|
6383
|
+
constructor(hostRef) {
|
|
6384
|
+
registerInstance(this, hostRef);
|
|
6385
|
+
this.size = 'm';
|
|
6386
|
+
this.external = false;
|
|
6387
|
+
this.href = undefined;
|
|
6388
|
+
this.target = undefined;
|
|
6389
|
+
this.inheritedAttributes = {};
|
|
6390
|
+
this.h = govHost(this.host);
|
|
6391
|
+
}
|
|
6392
|
+
validateSize(newValue) {
|
|
6393
|
+
validateProp(LinkSizes, newValue, LinkClass.root);
|
|
6394
|
+
}
|
|
6395
|
+
componentWillLoad() {
|
|
6396
|
+
this.validateSize(this.size);
|
|
6397
|
+
this.inheritedAttributes = inheritAriaAttributes(this.host);
|
|
6398
|
+
}
|
|
6399
|
+
onAriaAttributeChange(attributeName, newValue) {
|
|
6400
|
+
this.host.removeAttribute(attributeName);
|
|
6401
|
+
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attributeName]: newValue });
|
|
6402
|
+
}
|
|
6403
|
+
render() {
|
|
6404
|
+
return (hAsync(Host, { key: '8723fc6fc0cf3faf4a0fb48b38ad2f0d0a21704b', class: this.h.classes(LinkClass.root), size: this.size, href: this.href, external: this.external }, hAsync("a", Object.assign({ key: '1bfe7837dab38690789ec818f6134a50a93d1e4e', class: "element", href: this.href, target: this.target }, this.inheritedAttributes), hAsync("slot", { key: '96d6ce9e164a8fa5b6d5c115d52988bdfff3eceb', name: "icon-start" }), hAsync("slot", { key: 'bcc373fec9e7e159c6b31a2ad846dd929d189d1e' }), this.external ? hAsync("gov-icon", { name: "box-arrow-up-right", type: "components" }) : hAsync("slot", { name: "icon-end" }))));
|
|
6405
|
+
}
|
|
6406
|
+
get host() { return getElement(this); }
|
|
6407
|
+
static get watchers() { return {
|
|
6408
|
+
"size": ["validateSize"]
|
|
6409
|
+
}; }
|
|
6410
|
+
static get cmpMeta() { return {
|
|
6411
|
+
"$flags$": 4,
|
|
6412
|
+
"$tagName$": "gov-link",
|
|
6413
|
+
"$members$": {
|
|
6414
|
+
"size": [1],
|
|
6415
|
+
"external": [4],
|
|
6416
|
+
"href": [1],
|
|
6417
|
+
"target": [1],
|
|
6418
|
+
"inheritedAttributes": [32]
|
|
6419
|
+
},
|
|
6420
|
+
"$listeners$": undefined,
|
|
6421
|
+
"$lazyBundleId$": "-",
|
|
6422
|
+
"$attrsToReflect$": []
|
|
6423
|
+
}; }
|
|
6424
|
+
}
|
|
6425
|
+
|
|
6401
6426
|
const LoadingSizes = pick(Sizes, ['_S', '_M', '_L']);
|
|
6402
6427
|
const LoadingClass = {
|
|
6403
6428
|
root: 'gov-loading',
|
|
@@ -6418,7 +6443,7 @@ class GovLoading {
|
|
|
6418
6443
|
this.validateSize(this.size);
|
|
6419
6444
|
}
|
|
6420
6445
|
render() {
|
|
6421
|
-
return (hAsync(Host, { key: '
|
|
6446
|
+
return (hAsync(Host, { key: '3f7cec1f98aa0c68f42eb3049ae8d34270e17258', class: this.h.classes(LoadingClass.root), size: this.size }, hAsync("div", { key: '9ad1ca86b0221f2668f47eb72c080e9ecd05ed68', class: LoadingClass.content }, hAsync("gov-icon", { key: '5d75c634386c8226c553b787355b29b0581601c5', class: prepareClasses([LoadingClass.icon, "gov-spin-animation"]), name: "loader", type: "components" }), hAsync("slot", { key: '99ff7f6f1c8bd8135959ea36bc484eab6c9a4b6b' })), hAsync("gov-backdrop", { key: 'dcaa2ab6dbcca347d5934df52e0f4989701c0259', inverse: true })));
|
|
6422
6447
|
}
|
|
6423
6448
|
get host() { return getElement(this); }
|
|
6424
6449
|
static get watchers() { return {
|
|
@@ -6458,7 +6483,7 @@ class GovMessage {
|
|
|
6458
6483
|
validateProp(Colors, newValue, MessageClass.root);
|
|
6459
6484
|
}
|
|
6460
6485
|
render() {
|
|
6461
|
-
return (hAsync(Host, { key: '
|
|
6486
|
+
return (hAsync(Host, { key: 'e9250a61d94bf14a9d32eef5a69a9347df89a1e2', class: this.h.classes(MessageClass.root), color: this.color, type: this.type, role: "status" }, this.h.hasSlot("icon") && (hAsync("slot", { key: '00a69ab91656245790d88c02cbaa14d365f48140', name: "icon" })), hAsync("div", { key: 'c95cb839c2f24f744aff2a9580c44c18102d1fc9', class: MessageClass.content }, hAsync("slot", { key: '71d8d21cff90b5498940d99947d62fec1f400f1e' }))));
|
|
6462
6487
|
}
|
|
6463
6488
|
get host() { return getElement(this); }
|
|
6464
6489
|
static get watchers() { return {
|
|
@@ -6637,7 +6662,7 @@ class GovPagination {
|
|
|
6637
6662
|
const ariaCurrent = toBoolAttrIfDefined(this.pagination.currentPage === page ? true : undefined);
|
|
6638
6663
|
return (hAsync("gov-button", { href: this.prepareLinkUrl(page), color: this.color, size: this.size, type: "base", disabled: isDisabled, "on-gov-click": (e) => this.onClickHandler(e, page), "aria-label": description ? description : page > -1 ? `${this.accessiblePageLabel} ${page}` : undefined, "aria-current": ariaCurrent, class: PaginationClass.inner, focusable: true }, content));
|
|
6639
6664
|
};
|
|
6640
|
-
return (hAsync(Host, { class: this.h.classes(PaginationClass.root), type: this.type, color: this.color, size: this.size }, hAsync("nav", Object.assign({}, this.inheritedAttributes), hAsync("ul", { class: PaginationClass.list }, hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.currentPage > 1 ? 1 : -1, hAsync("gov-icon", { class: PaginationClass.arrow, name: "chevron-double-left" }), this.labelStart)), hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.startPage < this.pagination.currentPage ? this.pagination.currentPage - 1 : -1, hAsync("gov-icon", { class: PaginationClass.arrow, name: "chevron-left" }), this.labelPrev)), this.type == "select" ? (hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemSelect]) }, hAsync("span", { class: PaginationClass.inner }, hAsync("span", { id: this.pageSelectId, hidden: true }, this.accessibleSelectLabel), hAsync("gov-form-select", { size: this.size, color: this.color, identifier: this.selectIdentifier || this.selectId, "aria-labelledby": this.pageSelectId, "on-gov-change": this.onSelectHandler.bind(this) }, createArrayRange(1, this.pagination.totalPages).map(page => (hAsync("option", { value: page, selected: this.pagination.currentPage === page }, page))))))) : (hAsync(Fragment, null, this.pagination.pages.map(page => (hAsync("li", { class: this.isActivePageClass(PaginationClass.item, page) }, pageResolver(page, page, '')))), this.pagination.totalPages ? (hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemMore]) }, hAsync("span", { class: PaginationClass.inner }, hAsync("span", { id: this.pageSelectId, hidden: true }, this.accessibleSelectLabel), hAsync("gov-form-select", { size: this.size, color: this.color, identifier: this.selectIdentifier || this.selectId, "aria-labelledby": this.pageSelectId, ref: el => (this.spreadSelectRef = el), "on-gov-change": this.onSelectHandler.bind(this) }, hAsync("option", { selected: true, hidden: true }, "..."), createArrayRange(1, this.pagination.totalPages).map(page => (hAsync("option", { value: page, selected: false }, page))))))) : null)), hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.totalPages > this.pagination.currentPage ? this.pagination.currentPage + 1 : -1, hAsync("gov-icon", { class: PaginationClass.arrow, name: "chevron-right" }), this.labelNext)), hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.totalPages > this.pagination.currentPage ? this.pagination.totalPages : -1, hAsync("gov-icon", { class: PaginationClass.arrow, name: "chevron-double-right" }), this.labelEnd))))));
|
|
6665
|
+
return (hAsync(Host, { class: this.h.classes(PaginationClass.root), type: this.type, color: this.color, size: this.size }, hAsync("nav", Object.assign({}, this.inheritedAttributes), hAsync("ul", { class: PaginationClass.list }, hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.currentPage > 1 ? 1 : -1, hAsync("gov-icon", { class: PaginationClass.arrow, name: "chevron-double-left", type: "components" }), this.labelStart)), hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.startPage < this.pagination.currentPage ? this.pagination.currentPage - 1 : -1, hAsync("gov-icon", { class: PaginationClass.arrow, name: "chevron-left", type: "components" }), this.labelPrev)), this.type == "select" ? (hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemSelect]) }, hAsync("span", { class: PaginationClass.inner }, hAsync("span", { id: this.pageSelectId, hidden: true }, this.accessibleSelectLabel), hAsync("gov-form-select", { size: this.size, color: this.color, identifier: this.selectIdentifier || this.selectId, "aria-labelledby": this.pageSelectId, "on-gov-change": this.onSelectHandler.bind(this) }, createArrayRange(1, this.pagination.totalPages).map(page => (hAsync("option", { value: page, selected: this.pagination.currentPage === page }, page))))))) : (hAsync(Fragment, null, this.pagination.pages.map(page => (hAsync("li", { class: this.isActivePageClass(PaginationClass.item, page) }, pageResolver(page, page, '')))), this.pagination.totalPages ? (hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemMore]) }, hAsync("span", { class: PaginationClass.inner }, hAsync("span", { id: this.pageSelectId, hidden: true }, this.accessibleSelectLabel), hAsync("gov-form-select", { size: this.size, color: this.color, identifier: this.selectIdentifier || this.selectId, "aria-labelledby": this.pageSelectId, ref: el => (this.spreadSelectRef = el), "on-gov-change": this.onSelectHandler.bind(this) }, hAsync("option", { selected: true, hidden: true }, "..."), createArrayRange(1, this.pagination.totalPages).map(page => (hAsync("option", { value: page, selected: false }, page))))))) : null)), hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.totalPages > this.pagination.currentPage ? this.pagination.currentPage + 1 : -1, hAsync("gov-icon", { class: PaginationClass.arrow, name: "chevron-right", type: "components" }), this.labelNext)), hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.totalPages > this.pagination.currentPage ? this.pagination.totalPages : -1, hAsync("gov-icon", { class: PaginationClass.arrow, name: "chevron-double-right", type: "components" }), this.labelEnd))))));
|
|
6641
6666
|
}
|
|
6642
6667
|
onClickHandler(e, page) {
|
|
6643
6668
|
e.stopPropagation();
|
|
@@ -6782,7 +6807,7 @@ class GovSkeleton {
|
|
|
6782
6807
|
return Object.assign({}, dimenssionsStyles);
|
|
6783
6808
|
}
|
|
6784
6809
|
render() {
|
|
6785
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
6810
|
+
return (hAsync(Host, Object.assign({ key: '9e026075a3ee04f09546bb686ec04309374da466', size: this.size, color: this.color, class: {
|
|
6786
6811
|
[SkeletonClass.root]: true,
|
|
6787
6812
|
circle: this.shape === "circle",
|
|
6788
6813
|
line: this.shape === "line",
|
|
@@ -6845,7 +6870,7 @@ class GovSpacer {
|
|
|
6845
6870
|
this.validateBreakpoint(this.breakpoint);
|
|
6846
6871
|
}
|
|
6847
6872
|
render() {
|
|
6848
|
-
return hAsync(Host, { key: '
|
|
6873
|
+
return hAsync(Host, { key: '49415f0b2a4bfb25ececcd115bd1e8bfad250938', class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
|
|
6849
6874
|
}
|
|
6850
6875
|
get host() { return getElement(this); }
|
|
6851
6876
|
static get watchers() { return {
|
|
@@ -6907,7 +6932,7 @@ class GovStepper {
|
|
|
6907
6932
|
this.hydrated = true;
|
|
6908
6933
|
}
|
|
6909
6934
|
render() {
|
|
6910
|
-
return (hAsync(Host, { key: '
|
|
6935
|
+
return (hAsync(Host, { key: '208bca5b06fce13b8f87f0cc4497860c01d2d56b', class: this.h.classes(StepperClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: 'a0ec9b8b5e03062e4b9547cb9fbfc73fddaa0519' })));
|
|
6911
6936
|
}
|
|
6912
6937
|
get host() { return getElement(this); }
|
|
6913
6938
|
static get watchers() { return {
|
|
@@ -6949,7 +6974,7 @@ class GovStepperItem {
|
|
|
6949
6974
|
render() {
|
|
6950
6975
|
const triggerId = this.identifier || this.triggerId;
|
|
6951
6976
|
const contentId = this.contentId;
|
|
6952
|
-
return (hAsync(Host, { key: '
|
|
6977
|
+
return (hAsync(Host, { key: 'f722a022748d8fcb4ca0a27108a7e2e2980a1602', id: triggerId, class: this.h.classes(StepperItemClass.root), color: this.color, role: "listitem", hydrated: this.hydrated }, this.h.hasSlot('prefix') && (hAsync("span", { key: 'eed745cace26ca1d31c6441dd7be76d3dfa6bd4c', class: StepperItemClass.prefix }, hAsync("slot", { key: 'd5cab6411231cd082468bcc5c244ee75e0dba147', name: "prefix" }))), hAsync("div", { key: 'c13c92aa7890f8406eb5870caa93d186801c0a75' }, hAsync("span", { key: 'ad456eb4699a3d32dfa2d5d477bd346cb1814473', class: StepperItemClass.headline }, hAsync("slot", { key: '0dfdb036dcc108943be0795269e7e0b5f8ac0a29', name: "headline" })), hAsync("slot", { key: '24220b19c2f3c6af35407da423bb1900dc363db8', name: "annotation" }), this.h.hasSlot('content') && (hAsync("div", { key: '2bdd3feeaeafdcf73534bfadb5ff29d90eb9e037', class: StepperItemClass.content, id: contentId, "aria-labelledby": triggerId, role: "tabpanel" }, hAsync("slot", { key: 'f2f70633c3c2adcc7bd407a23863e0a6fba5ec89', name: "content" }))))));
|
|
6953
6978
|
}
|
|
6954
6979
|
get host() { return getElement(this); }
|
|
6955
6980
|
static get watchers() { return {
|
|
@@ -7100,7 +7125,7 @@ class GovTabs {
|
|
|
7100
7125
|
});
|
|
7101
7126
|
}
|
|
7102
7127
|
render() {
|
|
7103
|
-
return (hAsync(Host, { key: '
|
|
7128
|
+
return (hAsync(Host, { key: '75a6dc2d1bb8afb13e3d63b44bdd00e230a49fe6', class: this.h.classes(TabsClass.root), size: this.size, color: this.color, type: this.type, direction: this.direction, onKeyDown: this.onKeydownHandler.bind(this) }, hAsync("div", Object.assign({ key: '1fc7ff9eafaaab713727787a1bb0c7364ad3cf4e', class: TabsClass.tabs, role: "tablist" }, this.inheritedAttributes), hAsync("ul", { key: '82a67f585c9a394175bb64be57e669d886b3d4f6', class: TabsClass.list }, this.controllers.map(control => (hAsync("li", { class: TabsClass.item }, this.type == "text" ? (hAsync("button", { class: TabsClass.btn, id: control.triggerIdentifier, role: "tab", onClick: () => this.onSelectHandler(control), disabled: control.disabled, "aria-disabled": toBoolAttr(control.disabled), "aria-selected": toBoolAttr(control.active), "aria-controls": control.contentIdentifier, tabindex: control.active && !control.disabled ? 0 : -1, ref: el => (this.triggerRefs[control.triggerIdentifier] = el) }, control.iconStart ? (hAsync("gov-icon", { name: control.iconStart.name, type: control.iconStart.type })) : null, control.label, control.iconEnd ? (hAsync("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type })) : null)) : (hAsync("gov-chip", { role: "tab", tag: 'button', identifier: control.triggerIdentifier, "aria-selected": booleanString(control.active), "aria-controls": control.contentIdentifier, focusable: control.active, disabled: control.disabled, color: this.color, size: this.size === "xs" ? "xs" : (this.size === "s" ? "s" : "m"), type: control.active ? "solid" : "outlined", ref: el => (this.triggerRefs[control.triggerIdentifier] = el), "on-gov-click": () => this.onSelectHandler(control) }, control.iconStart ? (hAsync("gov-icon", { name: control.iconStart.name, type: control.iconStart.type, slot: "icon-start" })) : null, control.label, control.iconEnd ? (hAsync("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type, slot: "icon-end" })) : null))))))), hAsync("slot", { key: '8af7e27c0410ba9a4c0f79a1c44275e5811e9463' })));
|
|
7104
7129
|
}
|
|
7105
7130
|
getCurrentTab() {
|
|
7106
7131
|
return this.controllers.find(control => control.active) || null;
|
|
@@ -7233,7 +7258,7 @@ class GovTabsItem {
|
|
|
7233
7258
|
}
|
|
7234
7259
|
}
|
|
7235
7260
|
render() {
|
|
7236
|
-
return (hAsync(Host, { key: '
|
|
7261
|
+
return (hAsync(Host, { key: '7cf18cf8a10a4c03dd51922e31e18dac86aa217d', class: this.h.classes(TabsItemClass.root), default: this.default }, hAsync("div", { key: '3a707d9494c5055c3763f4cdf840522fae5e7a2a', class: TabsItemClass.inner, role: "tabpanel", id: this.identifier || this.contentId, hidden: !this.isActive, "aria-labelledby": this.triggerIdentifier || this.triggerId, "aria-hidden": toBoolAttrIfDefined(!this.isActive) }, hAsync("slot", { key: '289b661851fc6d68a5d6dd376a6e31b691e25aea' }))));
|
|
7237
7262
|
}
|
|
7238
7263
|
/**
|
|
7239
7264
|
* Returns a unique tab content identifier
|
|
@@ -7300,8 +7325,8 @@ const TagClass = {
|
|
|
7300
7325
|
class GovTag {
|
|
7301
7326
|
constructor(hostRef) {
|
|
7302
7327
|
registerInstance(this, hostRef);
|
|
7303
|
-
this.
|
|
7304
|
-
this.
|
|
7328
|
+
this.iconStart = undefined;
|
|
7329
|
+
this.iconEnd = undefined;
|
|
7305
7330
|
this.size = TagSizes._S;
|
|
7306
7331
|
this.color = ButtonColors.PRIMARY;
|
|
7307
7332
|
this.type = undefined;
|
|
@@ -7318,9 +7343,9 @@ class GovTag {
|
|
|
7318
7343
|
this.validateSize(this.size);
|
|
7319
7344
|
}
|
|
7320
7345
|
render() {
|
|
7321
|
-
const
|
|
7322
|
-
const
|
|
7323
|
-
return (hAsync(Host, { key: '
|
|
7346
|
+
const iconStart = prepareIconFormat(this.iconStart);
|
|
7347
|
+
const iconEnd = prepareIconFormat(this.iconEnd);
|
|
7348
|
+
return (hAsync(Host, { key: 'c883cf9721b32aa8c06609bf09272ef196456e18', class: this.h.classes(TagClass.root), color: this.color, size: this.size, type: this.type }, hAsync("span", { key: '614f39f6f1004d6c3ee1d0f13990a4e52dee66bc', class: "element" }, hAsync("slot", { key: 'f7d4dc9576768e917a363bc7cafa86567213ea82', name: "icon-start" }, iconStart && hAsync("gov-icon", { key: '8d57b52a0314e8d76461872116b4ce04e546c180', type: iconStart.type, name: iconStart.name })), hAsync("slot", { key: '4cd134377c3ea7843aa899b0a2962aa19f5d569e' }), hAsync("slot", { key: '4dc1cccaced24ef26bb15e648788590a4b7d1838', name: "icon-end" }, iconEnd && hAsync("gov-icon", { key: '7946e18900c98bdff4c610813b2422bf75b30049', type: iconEnd.type, name: iconEnd.name })))));
|
|
7324
7349
|
}
|
|
7325
7350
|
get host() { return getElement(this); }
|
|
7326
7351
|
static get watchers() { return {
|
|
@@ -7331,8 +7356,8 @@ class GovTag {
|
|
|
7331
7356
|
"$flags$": 4,
|
|
7332
7357
|
"$tagName$": "gov-tag",
|
|
7333
7358
|
"$members$": {
|
|
7334
|
-
"
|
|
7335
|
-
"
|
|
7359
|
+
"iconStart": [1, "icon-start"],
|
|
7360
|
+
"iconEnd": [1, "icon-end"],
|
|
7336
7361
|
"size": [513],
|
|
7337
7362
|
"color": [513],
|
|
7338
7363
|
"type": [513]
|
|
@@ -7343,8 +7368,14 @@ class GovTag {
|
|
|
7343
7368
|
}; }
|
|
7344
7369
|
}
|
|
7345
7370
|
|
|
7371
|
+
const ThemeSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL']);
|
|
7346
7372
|
const ThemeSwitchClass = {
|
|
7347
|
-
root: 'gov-theme-switch'
|
|
7373
|
+
root: 'gov-theme-switch',
|
|
7374
|
+
indicator: 'gov-theme-switch__indicator',
|
|
7375
|
+
iconLight: 'gov-theme-switch__icon-light',
|
|
7376
|
+
iconDark: 'gov-theme-switch__icon-dark',
|
|
7377
|
+
labelLight: 'gov-theme-switch__label-light',
|
|
7378
|
+
labelDark: 'gov-theme-switch__label-dark',
|
|
7348
7379
|
};
|
|
7349
7380
|
const ATTRIBUTE_THEME_NAME = 'data-theme';
|
|
7350
7381
|
|
|
@@ -7355,13 +7386,38 @@ var ThemeList;
|
|
|
7355
7386
|
ThemeList["dark"] = "dark";
|
|
7356
7387
|
})(ThemeList || (ThemeList = {}));
|
|
7357
7388
|
|
|
7389
|
+
const setCookie = (name, value, days) => {
|
|
7390
|
+
if (!isWindow) {
|
|
7391
|
+
return;
|
|
7392
|
+
}
|
|
7393
|
+
let expires = "";
|
|
7394
|
+
if (days) {
|
|
7395
|
+
const date = new Date();
|
|
7396
|
+
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
|
|
7397
|
+
expires = "; expires=" + date.toUTCString();
|
|
7398
|
+
}
|
|
7399
|
+
document.cookie = `${name}=${encodeURIComponent(value)}${expires}; path=/`;
|
|
7400
|
+
};
|
|
7401
|
+
const getCookie = (name) => {
|
|
7402
|
+
if (!isWindow) {
|
|
7403
|
+
return null;
|
|
7404
|
+
}
|
|
7405
|
+
const nameEQ = name + "=";
|
|
7406
|
+
const cookies = document.cookie.split(';');
|
|
7407
|
+
for (let i = 0; i < cookies.length; i++) {
|
|
7408
|
+
let cookie = cookies[i].trim();
|
|
7409
|
+
if (cookie.startsWith(nameEQ)) {
|
|
7410
|
+
return decodeURIComponent(cookie.substring(nameEQ.length));
|
|
7411
|
+
}
|
|
7412
|
+
}
|
|
7413
|
+
return null;
|
|
7414
|
+
};
|
|
7415
|
+
|
|
7358
7416
|
class GovThemeSwitch {
|
|
7359
7417
|
constructor(hostRef) {
|
|
7360
7418
|
registerInstance(this, hostRef);
|
|
7361
7419
|
this.govChange = createEvent(this, "gov-change", 7);
|
|
7362
7420
|
this.setThemeState = (state) => {
|
|
7363
|
-
this.htmlElement.setAttribute(ATTRIBUTE_THEME_NAME, state);
|
|
7364
|
-
localStorage.setItem(ATTRIBUTE_THEME_NAME, state);
|
|
7365
7421
|
this.theme = state;
|
|
7366
7422
|
this.govChange.emit({
|
|
7367
7423
|
component: ThemeSwitchClass.root,
|
|
@@ -7369,43 +7425,71 @@ class GovThemeSwitch {
|
|
|
7369
7425
|
ref: this.host
|
|
7370
7426
|
});
|
|
7371
7427
|
};
|
|
7428
|
+
this.size = "m";
|
|
7429
|
+
this.ariaLabelLight = undefined;
|
|
7430
|
+
this.ariaLabelDark = undefined;
|
|
7431
|
+
this.labelLight = undefined;
|
|
7432
|
+
this.labelDark = undefined;
|
|
7372
7433
|
this.theme = ThemeList.auto;
|
|
7373
7434
|
this.h = govHost(this.host);
|
|
7374
7435
|
}
|
|
7375
|
-
|
|
7376
|
-
|
|
7436
|
+
validateSize(newValue) {
|
|
7437
|
+
validateProp(ThemeSwitchSizes, newValue, ThemeSwitchClass.root);
|
|
7438
|
+
}
|
|
7439
|
+
watchTheme(newValue) {
|
|
7440
|
+
this.htmlElement.setAttribute(ATTRIBUTE_THEME_NAME, newValue);
|
|
7441
|
+
this.htmlElement.classList.remove(...Object.keys(ThemeList));
|
|
7442
|
+
this.htmlElement.classList.add(newValue);
|
|
7443
|
+
setCookie(ATTRIBUTE_THEME_NAME, newValue);
|
|
7444
|
+
}
|
|
7445
|
+
get storageValue() {
|
|
7446
|
+
return getCookie(ATTRIBUTE_THEME_NAME);
|
|
7377
7447
|
}
|
|
7378
7448
|
get htmlElement() {
|
|
7379
7449
|
return document.documentElement;
|
|
7380
7450
|
}
|
|
7451
|
+
get isSystemPrefersColorDark() {
|
|
7452
|
+
return isWindow && window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
|
|
7453
|
+
}
|
|
7381
7454
|
componentWillLoad() {
|
|
7382
7455
|
this.initDefaultState();
|
|
7456
|
+
this.validateSize(this.size);
|
|
7383
7457
|
}
|
|
7384
7458
|
initDefaultState() {
|
|
7385
7459
|
const options = Object.keys(ThemeList);
|
|
7386
|
-
let currentState = this.
|
|
7460
|
+
let currentState = this.storageValue;
|
|
7387
7461
|
const htmlState = this.htmlElement.getAttribute(ATTRIBUTE_THEME_NAME);
|
|
7388
7462
|
if (currentState && options.includes(currentState)) {
|
|
7389
|
-
this.htmlElement.setAttribute(ATTRIBUTE_THEME_NAME, currentState);
|
|
7390
7463
|
this.theme = currentState;
|
|
7391
7464
|
}
|
|
7392
7465
|
else if (htmlState && options.includes(htmlState)) {
|
|
7393
|
-
localStorage.setItem(ATTRIBUTE_THEME_NAME, htmlState);
|
|
7394
7466
|
this.theme = htmlState;
|
|
7395
7467
|
}
|
|
7396
7468
|
else {
|
|
7397
|
-
localStorage.setItem(ATTRIBUTE_THEME_NAME, ThemeList.auto);
|
|
7398
7469
|
this.theme = ThemeList.auto;
|
|
7399
7470
|
}
|
|
7400
7471
|
}
|
|
7401
7472
|
render() {
|
|
7402
|
-
|
|
7473
|
+
let isDark = this.theme === ThemeList.dark;
|
|
7474
|
+
if (this.theme === ThemeList.auto) {
|
|
7475
|
+
isDark = this.isSystemPrefersColorDark;
|
|
7476
|
+
}
|
|
7477
|
+
return (hAsync(Host, { key: 'a83f030f54527f8e8a2d23c3769f3f1b41c4af4f', class: this.h.classes(ThemeSwitchClass.root), theme: isDark ? ThemeList.dark : ThemeList.light, size: this.size }, hAsync("button", { key: '54f8337d911cf64f24c8db089b9092b806c3a926', onClick: () => this.setThemeState(isDark ? ThemeList.light : ThemeList.dark), "aria-label": isDark ? this.ariaLabelLight : this.ariaLabelDark }, hAsync("span", { key: '483310b54df8e8de42c087f04b7e0758067c22b8' }, hAsync("span", { key: '88b822cac4b5dc3897fa19252b5b1e1a559b8d6d', class: ThemeSwitchClass.indicator }, ThemeList.light && hAsync("gov-icon", { key: 'f6f162cda66facba8940ba55f7f3283e7796d157', name: "sun", class: ThemeSwitchClass.iconLight, type: "components" }), ThemeList.dark && hAsync("gov-icon", { key: 'b36b009c1787e37a3fd5108618c6bb5993f97a23', name: "moon", class: ThemeSwitchClass.iconDark, type: "components" })), hAsync("gov-form-label", { key: 'dff2b2b454a87faa1d7e471d2a271c333c983aad', class: ThemeSwitchClass.labelLight, size: this.size }, this.labelLight), hAsync("gov-form-label", { key: '1b682ccaff92cc4cfe8462ff2a59507fd61b114b', class: ThemeSwitchClass.labelDark, size: this.size }, this.labelDark)))));
|
|
7403
7478
|
}
|
|
7404
7479
|
get host() { return getElement(this); }
|
|
7480
|
+
static get watchers() { return {
|
|
7481
|
+
"size": ["validateSize"],
|
|
7482
|
+
"theme": ["watchTheme"]
|
|
7483
|
+
}; }
|
|
7405
7484
|
static get cmpMeta() { return {
|
|
7406
7485
|
"$flags$": 0,
|
|
7407
7486
|
"$tagName$": "gov-theme-switch",
|
|
7408
7487
|
"$members$": {
|
|
7488
|
+
"size": [1],
|
|
7489
|
+
"ariaLabelLight": [1, "aria-label-light"],
|
|
7490
|
+
"ariaLabelDark": [1, "aria-label-dark"],
|
|
7491
|
+
"labelLight": [1, "label-light"],
|
|
7492
|
+
"labelDark": [1, "label-dark"],
|
|
7409
7493
|
"theme": [32]
|
|
7410
7494
|
},
|
|
7411
7495
|
"$listeners$": undefined,
|
|
@@ -7436,7 +7520,7 @@ class GovTile {
|
|
|
7436
7520
|
this.h = govHost(this.host);
|
|
7437
7521
|
}
|
|
7438
7522
|
render() {
|
|
7439
|
-
return (hAsync(Host, { key: '
|
|
7523
|
+
return (hAsync(Host, { key: '3fd4f5bb8f7cdcdb5a6bbed610ed4ab6ec2837f5', class: this.h.classes(TileClass.root), size: this.size, orientation: this.orientation, clickable: this.href ? true : null }, hAsync("slot", { key: '97179af17c8f8b16de49ca36a7c548d20e53cbdf', name: "icon" }), hAsync("div", { key: 'a60a8e60effd1337cc11c5afb347ab395673d724', class: TileClass.content }, hAsync("div", { key: 'b27682c73305417442d9ebfd27e02cc80d10034c', class: TileClass.text }, hAsync("div", { key: '0c891f670607dde529d5ef6b1c86a843b7600a30', class: TileClass.title }, this.href ? (hAsync(Fragment$1, null, hAsync("a", { href: this.href, target: this.target, class: TileClass.link, ref: el => (this.triggerRef = el) }, hAsync("slot", { name: "title" })), hAsync("span", { class: TileClass.icon }, hAsync("gov-icon", { name: "chevron-right", type: "components" })))) : (hAsync("slot", { name: "title" }))), hAsync("div", { key: 'dcb5f3be57fa6ebaa507c12c9394f1b12837856e', class: `${TileClass.annotation} ${this.href ? `${TileClass.annotation}--padding` : ''}` }, hAsync("slot", { key: 'c3b7fe9ef111769219f1d915929112fe083927c8' }))), hAsync("slot", { key: '98173ea276fedd176720b79e5a55b3b2d5272536', name: "button" }))));
|
|
7440
7524
|
}
|
|
7441
7525
|
/**
|
|
7442
7526
|
* Returns a clickable element instance
|
|
@@ -7473,7 +7557,7 @@ class GovTiles {
|
|
|
7473
7557
|
this.h = govHost(this.host);
|
|
7474
7558
|
}
|
|
7475
7559
|
render() {
|
|
7476
|
-
return (hAsync(Host, { key: '
|
|
7560
|
+
return (hAsync(Host, { key: 'edb08ecaceb976d51978baf7ba3779d7e4e333cc', class: this.h.classes(TilesClass.root) }, hAsync("slot", { key: 'a4aa065a8e108b9ceb692c264dec8c4fc559f80e' })));
|
|
7477
7561
|
}
|
|
7478
7562
|
get host() { return getElement(this); }
|
|
7479
7563
|
static get cmpMeta() { return {
|
|
@@ -7498,6 +7582,7 @@ const ToastClass = {
|
|
|
7498
7582
|
root: 'gov-toast',
|
|
7499
7583
|
hidden: 'gov-toast--hidden',
|
|
7500
7584
|
content: 'gov-toast__content',
|
|
7585
|
+
icon: 'gov-toast__icon',
|
|
7501
7586
|
close: 'gov-toast__close',
|
|
7502
7587
|
timer: 'gov-toast__timer',
|
|
7503
7588
|
};
|
|
@@ -7551,7 +7636,7 @@ class GovToast {
|
|
|
7551
7636
|
}
|
|
7552
7637
|
}
|
|
7553
7638
|
render() {
|
|
7554
|
-
return (hAsync(Host, { key: '
|
|
7639
|
+
return (hAsync(Host, { key: '897da92a579e5854078657783d54c4fcca1f0311', class: this.h.classes(ToastClass.root), "data-toast-id": this.toastId, gravity: this.gravity, position: this.position, color: this.color, type: this.type, style: { "--toast-duration": this.time + "ms" } }, this.h.hasSlot("icon") && (hAsync("span", { key: '50b2dde54f6e566f95c81bbd5dd6c27870338a70', class: ToastClass.icon }, hAsync("slot", { key: 'f47d01268f3098f56b064fc41dc18bab64771073', name: "icon" }))), hAsync("div", Object.assign({ key: '4e508603bd41bc5375ecf2d84e5a1df239fcc6c4', class: ToastClass.content }, this.inheritedAttributes, { "aria-live": "polite", role: "status" }), hAsync("slot", { key: 'ff7e107c1486319621a1832bdcc0387f56dc56db' })), hAsync("gov-button", { key: 'dfe2964f40d66df0335219b9bc66f5a316ecf8ca', size: "s", "aria-label": this.accessibleCloseLabel, color: this.isBold ? this.color : "neutral", type: "base", "on-gov-click": this.onCloseHandler.bind(this), class: ToastClass.close }, this.closeLabel ? this.closeLabel : hAsync("gov-icon", { name: "x-lg", type: "components" })), hAsync("div", { key: '5f0c872a74f8cac07431903519ecc191322d4397', class: ToastClass.timer })));
|
|
7555
7640
|
}
|
|
7556
7641
|
onCloseHandler() {
|
|
7557
7642
|
this.govClose.emit(this.toastId);
|
|
@@ -7808,11 +7893,11 @@ class GovTooltip {
|
|
|
7808
7893
|
}
|
|
7809
7894
|
render() {
|
|
7810
7895
|
var _a;
|
|
7811
|
-
return (hAsync(Host, { key: '
|
|
7896
|
+
return (hAsync(Host, { key: 'bc4cfa206b2e4060ca6070f0d4796df1a5df1bfc', id: this.tooltipId, class: this.h.classes(TooltipClass.root), position: this.position }, hAsync("span", { key: '8ce3bf37e9ab13190c476db7cf47b7d0319719fe', role: 'button', tabindex: 0, onKeyPress: () => this.showTooltip(), onBlur: () => {
|
|
7812
7897
|
if (this.persist === false) {
|
|
7813
7898
|
this.hideTooltip();
|
|
7814
7899
|
}
|
|
7815
|
-
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '
|
|
7900
|
+
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: 'c622fcd797a2c0dd303395d2d6391fbc747e4d18' }))));
|
|
7816
7901
|
}
|
|
7817
7902
|
/**
|
|
7818
7903
|
* Showing the modal
|
|
@@ -7883,7 +7968,7 @@ class GovTooltipContent {
|
|
|
7883
7968
|
}
|
|
7884
7969
|
}
|
|
7885
7970
|
render() {
|
|
7886
|
-
return (hAsync(Host, { key: '
|
|
7971
|
+
return (hAsync(Host, { key: '9775080ab420c435e879ee1516f16bd7fb35f18d', class: TooltipContentClass.root, role: "tooltip", hidden: !this.isVisible, "aria-hidden": !toBoolAttr(this.isVisible), "is-visible": this.isVisible }, hAsync("slot", { key: 'b5a4adc4ff5ce735d2c1d3688a031e08cb8a97a1' }), this.persist ? (hAsync("gov-button", { "on-gov-click": this.hideContent.bind(this), color: this.color, size: this.size, type: "base" }, hAsync("gov-icon", { slot: "icon-start", name: "x-lg", type: "components" }))) : null));
|
|
7887
7972
|
}
|
|
7888
7973
|
get host() { return getElement(this); }
|
|
7889
7974
|
static get watchers() { return {
|
|
@@ -7957,7 +8042,7 @@ class GovWizard {
|
|
|
7957
8042
|
this.hydrated = true;
|
|
7958
8043
|
}
|
|
7959
8044
|
render() {
|
|
7960
|
-
return (hAsync(Host, { key: '
|
|
8045
|
+
return (hAsync(Host, { key: '3aa896212e044cc3952da66a72b1ca7a708ea0b3', class: this.h.classes(WizardClass.root), role: "list", size: this.size, hydrated: this.hydrated }, hAsync("slot", { key: 'aeb21d97bb87dd3c9b5cd01abe2482c39e2ba8cf' })));
|
|
7961
8046
|
}
|
|
7962
8047
|
/**
|
|
7963
8048
|
* Validate the WCAG attributes of the component
|
|
@@ -8019,12 +8104,12 @@ class GovWizardItem {
|
|
|
8019
8104
|
render() {
|
|
8020
8105
|
const triggerId = this.identifier || this.triggerId;
|
|
8021
8106
|
const Tag = this.collapsible ? Tags.BUTTON : Tags.DIV;
|
|
8022
|
-
const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: '
|
|
8023
|
-
return (hAsync(Host, { key: '
|
|
8107
|
+
const prefixSlot = this.h.hasSlot("prefix") && (hAsync("span", { key: '5b4e2b9c66285827959d4df9801cef2b8de29764', class: WizardItemClass.prefix }, hAsync("slot", { key: '6ffa576fe3be8febb899186208d8aa7ae1fecd96', name: "prefix" })));
|
|
8108
|
+
return (hAsync(Host, { key: '60fd0ec72cb212f73dddeec698c2003117b1fc02', class: this.h.classes(WizardItemClass.root), "is-expanded": this.isExpanded, color: this.color, size: this.size, role: "listitem", collapsible: this.collapsible, hydrated: this.hydrated }, hAsync("div", { key: '02e7e16d0d559a3fd3f88a85b23d6263dfb3eeb8', class: WizardItemClass.header }, prefixSlot, this.collapsible ? (hAsync(Tag, { id: triggerId, class: this.h.classes(WizardItemClass.label), "aria-expanded": booleanString(this.isExpanded), "aria-controls": this.contentId, disabled: this.disabled, "aria-disabled": toBoolAttrIfDefined(this.disabled), onClick: (e) => {
|
|
8024
8109
|
e.preventDefault();
|
|
8025
8110
|
e.stopPropagation();
|
|
8026
8111
|
this.toggle();
|
|
8027
|
-
} }, hAsync("span", { class: WizardItemClass.headline }, hAsync("slot", { name: "headline" }), this.collapsible && hAsync("gov-icon", { class: WizardItemClass.chevron, name: "chevron-down" })), hAsync("slot", { name: "annotation" }))) : (hAsync(Tag, { class: this.h.classes(WizardItemClass.label) }, hAsync("span", { class: WizardItemClass.headline }, hAsync("slot", { name: "headline" }), this.collapsible && hAsync("gov-icon", { class: WizardItemClass.chevron, name: "chevron-down" })), hAsync("slot", { name: "annotation" })))), this.collapsible ? (hAsync("div", { class: WizardItemClass.content, id: this.contentId, "aria-hidden": booleanString(!this.isExpanded), hidden: !this.isExpanded, "aria-labelledby": triggerId }, hAsync("slot", null))) : (hAsync("div", { class: WizardItemClass.content, "aria-hidden": booleanString(!this.isExpanded), hidden: !this.isExpanded }, hAsync("slot", null)))));
|
|
8112
|
+
} }, hAsync("span", { class: WizardItemClass.headline }, hAsync("slot", { name: "headline" }), this.collapsible && hAsync("gov-icon", { class: WizardItemClass.chevron, name: "chevron-down", type: "components" })), hAsync("slot", { name: "annotation" }))) : (hAsync(Tag, { class: this.h.classes(WizardItemClass.label) }, hAsync("span", { class: WizardItemClass.headline }, hAsync("slot", { name: "headline" }), this.collapsible && hAsync("gov-icon", { class: WizardItemClass.chevron, name: "chevron-down", type: "components" })), hAsync("slot", { name: "annotation" })))), this.collapsible ? (hAsync("div", { class: WizardItemClass.content, id: this.contentId, "aria-hidden": booleanString(!this.isExpanded), hidden: !this.isExpanded, "aria-labelledby": triggerId }, hAsync("slot", null))) : (hAsync("div", { class: WizardItemClass.content, "aria-hidden": booleanString(!this.isExpanded), hidden: !this.isExpanded }, hAsync("slot", null)))));
|
|
8028
8113
|
}
|
|
8029
8114
|
/**
|
|
8030
8115
|
* Opening the Wizard
|
|
@@ -8119,6 +8204,7 @@ registerComponents([
|
|
|
8119
8204
|
GovLayout,
|
|
8120
8205
|
GovLayoutColumn,
|
|
8121
8206
|
GovLifecycle,
|
|
8207
|
+
GovLink,
|
|
8122
8208
|
GovLoading,
|
|
8123
8209
|
GovMessage,
|
|
8124
8210
|
GovPagination,
|