@gov-design-system-ce/components 4.1.0-rc02 → 4.1.0-rc04
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/core.cjs.js +2 -2
- package/dist/cjs/gov-accordion-item.cjs.entry.js +8 -5
- package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gov-attachments_3.cjs.entry.js +6 -6
- package/dist/cjs/gov-attachments_3.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-backdrop.cjs.entry.js +4 -4
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +4 -4
- package/dist/cjs/gov-button.cjs.entry.js +6 -6
- package/dist/cjs/gov-card.cjs.entry.js +4 -4
- package/dist/cjs/gov-chip.cjs.entry.js +4 -4
- package/dist/cjs/gov-container.cjs.entry.js +2 -2
- package/dist/cjs/gov-control-group.cjs.entry.js +2 -2
- package/dist/cjs/gov-cookiebar.cjs.entry.js +2 -2
- package/dist/cjs/gov-dialog.cjs.entry.js +4 -4
- 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 +2 -2
- package/dist/cjs/gov-error-code.cjs.entry.js +2 -2
- package/dist/cjs/gov-flex.cjs.entry.js +31 -0
- package/dist/cjs/gov-flex.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js +3 -3
- package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-control.cjs.entry.js +3 -3
- package/dist/cjs/gov-form-file.cjs.entry.js +8 -3
- package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-group.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-input_2.cjs.entry.js +6 -6
- package/dist/cjs/gov-form-label.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +7 -22
- package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-password-power.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-radio.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-search.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-select.cjs.entry.js +4 -4
- package/dist/cjs/gov-form-switch.cjs.entry.js +2 -2
- 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-icon.cjs.entry.js +2 -2
- package/dist/cjs/gov-infobar.cjs.entry.js +3 -3
- 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 +47 -0
- package/dist/cjs/gov-lifecycle.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-loading.cjs.entry.js +2 -2
- package/dist/cjs/gov-message.cjs.entry.js +2 -2
- package/dist/cjs/gov-pagination.cjs.entry.js +3 -3
- package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-spacer.cjs.entry.js +2 -2
- package/dist/cjs/gov-stepper-item.cjs.entry.js +3 -3
- package/dist/cjs/gov-stepper.cjs.entry.js +2 -2
- package/dist/cjs/gov-tabs-item.cjs.entry.js +3 -3
- package/dist/cjs/gov-tabs.cjs.entry.js +2 -2
- package/dist/cjs/gov-tag.cjs.entry.js +2 -2
- package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-theme-switch.cjs.entry.js +73 -0
- package/dist/cjs/gov-theme-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-tile.cjs.entry.js +2 -2
- package/dist/cjs/gov-tiles.cjs.entry.js +2 -2
- package/dist/cjs/gov-toast.cjs.entry.js +5 -6
- package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tooltip-content.cjs.entry.js +2 -2
- package/dist/cjs/gov-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/gov-wizard-item.cjs.entry.js +4 -4
- package/dist/cjs/gov-wizard.cjs.entry.js +4 -4
- package/dist/cjs/{index-1af4880c.js → index-7ff4447c.js} +20 -4
- package/dist/cjs/index-7ff4447c.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{string.utils-2335838f.js → string.utils-b84c81cf.js} +2 -1
- package/dist/cjs/string.utils-b84c81cf.js.map +1 -0
- package/dist/cjs/{wcag-31089f70.js → wcag-b8d80c7d.js} +2 -2
- package/dist/cjs/{wcag-31089f70.js.map → wcag-b8d80c7d.js.map} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/gov-accordion/gov-accordion-item.js +8 -5
- package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
- 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-attachments/gov-attachments.js +1 -1
- package/dist/collection/components/gov-backdrop/gov-backdrop.js +1 -1
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +1 -1
- package/dist/collection/components/gov-button/button/gov-button.js +3 -3
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +1 -1
- package/dist/collection/components/gov-card/gov-card.js +1 -1
- package/dist/collection/components/gov-chip/gov-chip.js +2 -2
- package/dist/collection/components/gov-container/gov-container.js +1 -1
- package/dist/collection/components/gov-control-group/gov-control-group.js +1 -1
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.js +1 -1
- package/dist/collection/components/gov-dialog/gov-dialog.js +1 -1
- package/dist/collection/components/gov-dialog/gov-dialog.js.map +1 -1
- package/dist/collection/components/gov-empty/gov-empty.js +1 -1
- package/dist/collection/components/gov-error-code/gov-error-code.js +1 -1
- package/dist/collection/components/gov-flex/constants.js +4 -0
- package/dist/collection/components/gov-flex/constants.js.map +1 -0
- package/dist/collection/components/gov-flex/gov-flex.js +127 -0
- package/dist/collection/components/gov-flex/gov-flex.js.map +1 -0
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +1 -1
- package/dist/collection/components/gov-form/control/gov-form-control.js +1 -1
- package/dist/collection/components/gov-form/file/gov-form-file.js +6 -1
- 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.js +1 -1
- package/dist/collection/components/gov-form/group/gov-form-radio-group.js +1 -1
- package/dist/collection/components/gov-form/input/gov-form-input.js +3 -3
- 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 -28
- 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-grid/gov-grid-item.js +1 -1
- package/dist/collection/components/gov-grid/gov-grid.js +1 -1
- package/dist/collection/components/gov-infobar/gov-infobar.js +2 -2
- package/dist/collection/components/gov-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 +39 -0
- package/dist/collection/components/gov-lifecycle-tester/gov-lifecycle-tester.js.map +1 -0
- package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -1
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.js +1 -1
- package/dist/collection/components/gov-message/gov-message.js +1 -1
- package/dist/collection/components/gov-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-tag/gov-tag.js +1 -1
- package/dist/collection/components/gov-tag/gov-tag.js.map +1 -1
- package/dist/collection/components/gov-theme-switch/gov-theme-switch.js +1 -1
- package/dist/collection/components/gov-tile/container/gov-tiles.js +1 -1
- package/dist/collection/components/gov-tile/gov-tile.js +1 -1
- package/dist/collection/components/gov-toast/gov-toast.js +3 -4
- package/dist/collection/components/gov-toast/gov-toast.js.map +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +2 -2
- package/dist/collection/components/gov-wizard/gov-wizard-item.js +2 -2
- package/dist/collection/components/gov-wizard/gov-wizard.js +1 -1
- package/dist/collection/pages/Forms.js +159 -159
- package/dist/collection/pages/Forms.js.map +1 -1
- package/dist/collection/pages/Grid.js +1 -1
- package/dist/collection/pages/Grid.js.map +1 -1
- package/dist/collection/pages/Spacer.js +1 -1
- package/dist/collection/pages/Spacer.js.map +1 -1
- package/dist/collection/pages/Tag.js +135 -160
- package/dist/collection/pages/Tag.js.map +1 -1
- package/dist/collection/pages/Wizard.js +1 -1
- package/dist/collection/pages/Wizard.js.map +1 -1
- package/dist/collection/utils/string.utils.js +1 -1
- package/dist/collection/utils/string.utils.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-chip.js +1 -1
- package/dist/components/gov-container.js +1 -1
- package/dist/components/gov-control-group.js +1 -1
- package/dist/components/gov-cookiebar.js +1 -1
- package/dist/components/gov-dialog.js +1 -1
- package/dist/components/gov-dialog.js.map +1 -1
- package/dist/components/gov-dropdown.js +1 -1
- package/dist/components/gov-dropdown.js.map +1 -1
- package/dist/components/gov-empty.js +1 -1
- package/dist/components/gov-error-code.js +1 -1
- package/dist/components/{gov-app.d.ts → gov-flex.d.ts} +4 -4
- package/dist/components/gov-flex.js +2 -0
- package/dist/components/gov-flex.js.map +1 -0
- package/dist/components/gov-form-autocomplete.js +1 -1
- package/dist/components/gov-form-checkbox-group.js +1 -1
- package/dist/components/gov-form-checkbox.js +1 -1
- package/dist/components/gov-form-control.js +1 -1
- package/dist/components/gov-form-file.js +1 -1
- package/dist/components/gov-form-file.js.map +1 -1
- package/dist/components/gov-form-group.js +1 -1
- package/dist/components/gov-form-input.js +1 -1
- package/dist/components/gov-form-label.js +1 -1
- package/dist/components/gov-form-message.js +1 -1
- package/dist/components/gov-form-multi-select.js +1 -1
- package/dist/components/gov-form-multi-select.js.map +1 -1
- package/dist/components/gov-form-password-power.js +1 -1
- package/dist/components/gov-form-password-power.js.map +1 -1
- package/dist/components/gov-form-radio-group.js +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-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.d.ts +11 -0
- package/dist/components/gov-lifecycle.js +2 -0
- package/dist/components/gov-lifecycle.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-tile.js +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-wizard-item.js +1 -1
- package/dist/components/gov-wizard.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-02da2aee.js +2 -0
- package/dist/components/{p-e9b35956.js.map → p-02da2aee.js.map} +1 -1
- package/dist/components/p-1d3019f3.js +2 -0
- package/dist/components/{p-e183a7c7.js → p-1f3bb41d.js} +2 -2
- package/dist/components/{p-6e19816b.js → p-23b7e680.js} +2 -2
- package/dist/components/{p-5caf1fe1.js → p-387052e1.js} +2 -2
- package/dist/components/{p-c9a15c52.js → p-3b807239.js} +2 -2
- package/dist/components/{p-ae3dada7.js → p-42200001.js} +3 -3
- package/dist/components/p-42200001.js.map +1 -0
- package/dist/components/{p-ff0cf148.js → p-5cc316bc.js} +2 -2
- package/dist/components/{p-e20bb5dc.js → p-6ea84137.js} +2 -2
- package/dist/components/p-820b66c0.js +2 -0
- package/dist/components/{p-fe1842da.js.map → p-820b66c0.js.map} +1 -1
- package/dist/components/p-880743a5.js.map +1 -1
- package/dist/components/{p-736e4917.js → p-bd22e21d.js} +2 -2
- package/dist/components/{p-2da35aa8.js → p-c211c3e1.js} +2 -2
- package/dist/components/{p-95d41a3b.js → p-cd6c2938.js} +2 -2
- package/dist/components/p-cd6c2938.js.map +1 -0
- package/dist/components/{p-9a93146e.js → p-dcee21ca.js} +2 -2
- package/dist/core/core.css +158 -29
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-0a24806a.entry.js +2 -0
- package/dist/core/{p-9d0f20ec.entry.js.map → p-0a24806a.entry.js.map} +1 -1
- package/dist/core/{p-9ff8f059.entry.js → p-0d2c4d31.entry.js} +2 -2
- package/dist/core/p-10f9bf55.entry.js +2 -0
- package/dist/core/{p-17015e36.entry.js.map → p-10f9bf55.entry.js.map} +1 -1
- package/dist/core/{p-0a952b3c.entry.js → p-12680890.entry.js} +2 -2
- package/dist/core/p-1600c1fb.entry.js +2 -0
- package/dist/core/p-18025823.entry.js +2 -0
- package/dist/core/p-18025823.entry.js.map +1 -0
- package/dist/core/p-18dbe177.entry.js +2 -0
- package/dist/core/p-18dbe177.entry.js.map +1 -0
- package/dist/core/{p-74e9ad9d.entry.js → p-1a550eee.entry.js} +2 -2
- package/dist/core/{p-9b41ac88.entry.js → p-1f1895c0.entry.js} +2 -2
- package/dist/core/p-1fdc2457.entry.js +2 -0
- package/dist/core/p-212759be.entry.js +2 -0
- package/dist/core/{p-db940455.entry.js.map → p-212759be.entry.js.map} +1 -1
- package/dist/core/p-215504c1.entry.js +2 -0
- package/dist/core/p-2c3ddc57.entry.js +2 -0
- package/dist/core/{p-83039b10.entry.js.map → p-2c3ddc57.entry.js.map} +1 -1
- package/dist/core/p-31e7d262.entry.js +2 -0
- package/dist/core/p-31e7d262.entry.js.map +1 -0
- package/dist/core/{p-b3acb156.entry.js → p-32bba4e7.entry.js} +2 -2
- package/dist/core/{p-fa7caad6.entry.js → p-378e0723.entry.js} +2 -2
- package/dist/core/{p-0ebc8365.entry.js → p-3844a27d.entry.js} +2 -2
- package/dist/core/p-4cb4de7b.entry.js +2 -0
- package/dist/core/{p-aa8adc45.entry.js.map → p-4cb4de7b.entry.js.map} +1 -1
- package/dist/core/p-56f9e026.entry.js +2 -0
- package/dist/core/p-57b0e670.entry.js +2 -0
- package/dist/core/{p-b55fc943.entry.js.map → p-57b0e670.entry.js.map} +1 -1
- package/dist/core/p-58dc3ec3.entry.js +2 -0
- package/dist/core/p-58dc3ec3.entry.js.map +1 -0
- package/dist/core/p-5ad3097c.entry.js +2 -0
- package/dist/core/{p-a5489b0e.entry.js.map → p-5ad3097c.entry.js.map} +1 -1
- package/dist/core/p-668ca722.entry.js +2 -0
- package/dist/core/{p-f1be099b.entry.js → p-67200095.entry.js} +2 -2
- package/dist/core/p-731fe7d8.entry.js +2 -0
- package/dist/core/{p-5c88f415.entry.js.map → p-731fe7d8.entry.js.map} +1 -1
- package/dist/core/p-7591976a.entry.js +2 -0
- package/dist/core/p-75ea368b.entry.js +2 -0
- package/dist/core/{p-ab9ae7ba.entry.js → p-7b48b1b8.entry.js} +2 -2
- package/dist/core/p-7de47344.entry.js +2 -0
- package/dist/core/p-7de47344.entry.js.map +1 -0
- package/dist/core/p-83aa4327.entry.js +2 -0
- package/dist/core/{p-28a7d3f7.js → p-842cb87f.js} +2 -2
- package/dist/core/{p-a1e95a5f.js → p-8506b611.js} +3 -3
- package/dist/core/p-8506b611.js.map +1 -0
- package/dist/core/p-880743a5.js.map +1 -1
- package/dist/core/p-89b69743.entry.js +2 -0
- package/dist/core/p-8a796fbe.entry.js +2 -0
- package/dist/core/p-8f10919c.entry.js +2 -0
- package/dist/core/{p-f456bd71.entry.js.map → p-8f10919c.entry.js.map} +1 -1
- package/dist/core/p-8fe36a5b.entry.js +2 -0
- package/dist/core/p-915e53ac.entry.js +2 -0
- package/dist/core/{p-47e364bb.entry.js.map → p-915e53ac.entry.js.map} +1 -1
- package/dist/core/p-92e13f9d.entry.js +2 -0
- package/dist/core/p-a274cdaa.entry.js +2 -0
- package/dist/core/p-a274cdaa.entry.js.map +1 -0
- package/dist/core/p-a9a095c2.entry.js +2 -0
- package/dist/core/p-a9a095c2.entry.js.map +1 -0
- package/dist/core/{p-81b0848c.entry.js → p-ab68c0b7.entry.js} +2 -2
- package/dist/core/p-b50ffab3.entry.js +2 -0
- package/dist/core/p-b70cc248.entry.js +2 -0
- package/dist/core/p-b822b9ff.entry.js +2 -0
- package/dist/core/p-c0a5a3f7.entry.js +2 -0
- package/dist/core/p-c5b5fd69.entry.js +2 -0
- package/dist/core/{p-6d772ff9.entry.js.map → p-c5b5fd69.entry.js.map} +1 -1
- package/dist/core/{p-95d41a3b.js → p-cd6c2938.js} +2 -2
- package/dist/core/p-cd6c2938.js.map +1 -0
- package/dist/core/{p-3f2b803c.entry.js → p-d1c4eb91.entry.js} +2 -2
- package/dist/core/{p-d2351924.entry.js → p-d3963396.entry.js} +2 -2
- package/dist/core/p-d4fbc249.entry.js +2 -0
- package/dist/core/{p-5dc0af54.entry.js.map → p-d4fbc249.entry.js.map} +1 -1
- package/dist/core/{p-fc90bf06.entry.js → p-d949aac7.entry.js} +2 -2
- package/dist/core/p-e6af4c58.entry.js +2 -0
- package/dist/core/p-ede7af0a.entry.js +2 -0
- package/dist/core/p-ede7af0a.entry.js.map +1 -0
- package/dist/core/p-eebc9e71.entry.js +2 -0
- package/dist/core/{p-2ed3afef.entry.js → p-eebf7ad8.entry.js} +2 -2
- package/dist/core/{p-dc3fab19.entry.js → p-f1c8a96b.entry.js} +2 -2
- package/dist/core/{p-dc3fab19.entry.js.map → p-f1c8a96b.entry.js.map} +1 -1
- package/dist/core/{p-35e66bef.entry.js → p-f963bb2f.entry.js} +2 -2
- package/dist/core/p-fb0df3a5.entry.js +2 -0
- package/dist/core/{p-7cf554e6.entry.js.map → p-fb0df3a5.entry.js.map} +1 -1
- package/dist/esm/core.js +3 -3
- package/dist/esm/gov-accordion-item.entry.js +8 -5
- package/dist/esm/gov-accordion-item.entry.js.map +1 -1
- package/dist/esm/gov-accordion.entry.js +1 -1
- package/dist/esm/gov-attachments_3.entry.js +6 -6
- package/dist/esm/gov-attachments_3.entry.js.map +1 -1
- package/dist/esm/gov-backdrop.entry.js +4 -4
- package/dist/esm/gov-breadcrumbs.entry.js +4 -4
- package/dist/esm/gov-button.entry.js +6 -6
- package/dist/esm/gov-card.entry.js +4 -4
- package/dist/esm/gov-chip.entry.js +4 -4
- package/dist/esm/gov-container.entry.js +2 -2
- package/dist/esm/gov-control-group.entry.js +2 -2
- package/dist/esm/gov-cookiebar.entry.js +2 -2
- package/dist/esm/gov-dialog.entry.js +4 -4
- package/dist/esm/gov-dialog.entry.js.map +1 -1
- package/dist/esm/gov-dropdown.entry.js +3 -3
- package/dist/esm/gov-empty.entry.js +2 -2
- package/dist/esm/gov-error-code.entry.js +2 -2
- package/dist/esm/gov-flex.entry.js +27 -0
- package/dist/esm/gov-flex.entry.js.map +1 -0
- package/dist/esm/gov-form-autocomplete.entry.js +3 -3
- package/dist/esm/gov-form-checkbox-group.entry.js +2 -2
- package/dist/esm/gov-form-checkbox.entry.js +2 -2
- package/dist/esm/gov-form-control.entry.js +3 -3
- package/dist/esm/gov-form-file.entry.js +8 -3
- package/dist/esm/gov-form-file.entry.js.map +1 -1
- package/dist/esm/gov-form-group.entry.js +2 -2
- package/dist/esm/gov-form-input_2.entry.js +6 -6
- package/dist/esm/gov-form-label.entry.js +2 -2
- package/dist/esm/gov-form-multi-select.entry.js +7 -22
- package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
- package/dist/esm/gov-form-password-power.entry.js +2 -2
- package/dist/esm/gov-form-radio-group.entry.js +2 -2
- package/dist/esm/gov-form-radio.entry.js +2 -2
- package/dist/esm/gov-form-search.entry.js +2 -2
- package/dist/esm/gov-form-select.entry.js +4 -4
- package/dist/esm/gov-form-switch.entry.js +2 -2
- package/dist/esm/gov-grid-item.entry.js +2 -2
- package/dist/esm/gov-grid.entry.js +2 -2
- package/dist/esm/gov-icon.entry.js +2 -2
- package/dist/esm/gov-infobar.entry.js +3 -3
- 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 +43 -0
- package/dist/esm/gov-lifecycle.entry.js.map +1 -0
- package/dist/esm/gov-loading.entry.js +2 -2
- package/dist/esm/gov-message.entry.js +2 -2
- package/dist/esm/gov-pagination.entry.js +3 -3
- package/dist/esm/gov-pagination.entry.js.map +1 -1
- package/dist/esm/gov-spacer.entry.js +2 -2
- package/dist/esm/gov-stepper-item.entry.js +3 -3
- package/dist/esm/gov-stepper.entry.js +2 -2
- package/dist/esm/gov-tabs-item.entry.js +3 -3
- package/dist/esm/gov-tabs.entry.js +2 -2
- package/dist/esm/gov-tag.entry.js +2 -2
- package/dist/esm/gov-tag.entry.js.map +1 -1
- package/dist/esm/gov-theme-switch.entry.js +69 -0
- package/dist/esm/gov-theme-switch.entry.js.map +1 -0
- package/dist/esm/gov-tile.entry.js +2 -2
- package/dist/esm/gov-tiles.entry.js +2 -2
- package/dist/esm/gov-toast.entry.js +5 -6
- package/dist/esm/gov-toast.entry.js.map +1 -1
- package/dist/esm/gov-tooltip-content.entry.js +2 -2
- package/dist/esm/gov-tooltip.entry.js +4 -4
- package/dist/esm/gov-wizard-item.entry.js +4 -4
- package/dist/esm/gov-wizard.entry.js +4 -4
- package/dist/esm/{index-d8b4eb6c.js → index-c263e031.js} +20 -4
- package/dist/esm/index-c263e031.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{string.utils-5ce3f551.js → string.utils-1da8f8fb.js} +2 -2
- package/dist/esm/string.utils-1da8f8fb.js.map +1 -0
- package/dist/esm/{wcag-fa5ce56c.js → wcag-d7c6c252.js} +2 -2
- package/dist/esm/{wcag-fa5ce56c.js.map → wcag-d7c6c252.js.map} +1 -1
- package/dist/hydrate/index.js +277 -10021
- package/dist/hydrate/index.mjs +277 -10021
- package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +1 -0
- package/dist/types/components/gov-flex/constants.d.ts +3 -0
- package/dist/types/components/gov-flex/gov-flex.d.ts +33 -0
- package/dist/types/components/gov-form/file/gov-form-file.d.ts +1 -0
- package/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +0 -2
- package/dist/types/components/gov-lifecycle-tester/gov-lifecycle-tester.d.ts +14 -0
- package/dist/types/components.d.ts +74 -13
- package/dist/types/utils/string.utils.d.ts +1 -0
- package/package.json +2 -2
- package/dist/cjs/gov-app_2.cjs.entry.js +0 -9891
- package/dist/cjs/gov-app_2.cjs.entry.js.map +0 -1
- package/dist/cjs/index-1af4880c.js.map +0 -1
- package/dist/cjs/string.utils-2335838f.js.map +0 -1
- package/dist/collection/components/gov-app/gov-app.css +0 -68
- package/dist/collection/components/gov-app/gov-app.js +0 -93
- package/dist/collection/components/gov-app/gov-app.js.map +0 -1
- package/dist/components/gov-app.js +0 -2
- package/dist/components/gov-app.js.map +0 -1
- package/dist/components/p-95d41a3b.js.map +0 -1
- package/dist/components/p-ae3dada7.js.map +0 -1
- package/dist/components/p-ae7e6127.js +0 -2
- package/dist/components/p-e9b35956.js +0 -2
- package/dist/components/p-fe1842da.js +0 -2
- package/dist/core/p-006e52f1.entry.js +0 -2
- package/dist/core/p-023787b3.entry.js +0 -2
- package/dist/core/p-023787b3.entry.js.map +0 -1
- package/dist/core/p-17015e36.entry.js +0 -2
- package/dist/core/p-182189d2.entry.js +0 -2
- package/dist/core/p-2effdd60.entry.js +0 -2
- package/dist/core/p-2effdd60.entry.js.map +0 -1
- package/dist/core/p-477a5027.entry.js +0 -2
- package/dist/core/p-477a5027.entry.js.map +0 -1
- package/dist/core/p-47e364bb.entry.js +0 -2
- package/dist/core/p-5c88f415.entry.js +0 -2
- package/dist/core/p-5dc0af54.entry.js +0 -2
- package/dist/core/p-5dcbfca3.entry.js +0 -2
- package/dist/core/p-663d3db2.entry.js +0 -2
- package/dist/core/p-6b42a387.entry.js +0 -2
- package/dist/core/p-6d772ff9.entry.js +0 -2
- package/dist/core/p-6ed147a6.entry.js +0 -2
- package/dist/core/p-6ed147a6.entry.js.map +0 -1
- package/dist/core/p-7cf554e6.entry.js +0 -2
- package/dist/core/p-83039b10.entry.js +0 -2
- package/dist/core/p-904de5e6.entry.js +0 -2
- package/dist/core/p-91a9cd24.entry.js +0 -2
- package/dist/core/p-95d41a3b.js.map +0 -1
- package/dist/core/p-963f9fcd.entry.js +0 -2
- package/dist/core/p-9d0f20ec.entry.js +0 -2
- package/dist/core/p-9dde00d8.entry.js +0 -2
- package/dist/core/p-a1e95a5f.js.map +0 -1
- package/dist/core/p-a1ebb4da.entry.js +0 -2
- package/dist/core/p-a53a277a.entry.js +0 -2
- package/dist/core/p-a5489b0e.entry.js +0 -2
- package/dist/core/p-a54f1db9.entry.js +0 -2
- package/dist/core/p-aa8adc45.entry.js +0 -2
- package/dist/core/p-b55fc943.entry.js +0 -2
- package/dist/core/p-b838bb27.entry.js +0 -2
- package/dist/core/p-c214c202.entry.js +0 -2
- package/dist/core/p-c214c202.entry.js.map +0 -1
- package/dist/core/p-c4c7cb24.entry.js +0 -2
- package/dist/core/p-db940455.entry.js +0 -2
- package/dist/core/p-e134b123.entry.js +0 -2
- package/dist/core/p-e4978aab.entry.js +0 -2
- package/dist/core/p-edc05eff.entry.js +0 -2
- package/dist/core/p-edc05eff.entry.js.map +0 -1
- package/dist/core/p-eeb9cb73.entry.js +0 -2
- package/dist/core/p-f141ad5e.entry.js +0 -2
- package/dist/core/p-f456bd71.entry.js +0 -2
- package/dist/esm/gov-app_2.entry.js +0 -9886
- package/dist/esm/gov-app_2.entry.js.map +0 -1
- package/dist/esm/index-d8b4eb6c.js.map +0 -1
- package/dist/esm/string.utils-5ce3f551.js.map +0 -1
- package/dist/types/components/gov-app/gov-app.d.ts +0 -37
- /package/dist/components/{p-ae7e6127.js.map → p-1d3019f3.js.map} +0 -0
- /package/dist/components/{p-e183a7c7.js.map → p-1f3bb41d.js.map} +0 -0
- /package/dist/components/{p-6e19816b.js.map → p-23b7e680.js.map} +0 -0
- /package/dist/components/{p-5caf1fe1.js.map → p-387052e1.js.map} +0 -0
- /package/dist/components/{p-c9a15c52.js.map → p-3b807239.js.map} +0 -0
- /package/dist/components/{p-ff0cf148.js.map → p-5cc316bc.js.map} +0 -0
- /package/dist/components/{p-e20bb5dc.js.map → p-6ea84137.js.map} +0 -0
- /package/dist/components/{p-736e4917.js.map → p-bd22e21d.js.map} +0 -0
- /package/dist/components/{p-2da35aa8.js.map → p-c211c3e1.js.map} +0 -0
- /package/dist/components/{p-9a93146e.js.map → p-dcee21ca.js.map} +0 -0
- /package/dist/core/{p-9ff8f059.entry.js.map → p-0d2c4d31.entry.js.map} +0 -0
- /package/dist/core/{p-0a952b3c.entry.js.map → p-12680890.entry.js.map} +0 -0
- /package/dist/core/{p-e4978aab.entry.js.map → p-1600c1fb.entry.js.map} +0 -0
- /package/dist/core/{p-74e9ad9d.entry.js.map → p-1a550eee.entry.js.map} +0 -0
- /package/dist/core/{p-9b41ac88.entry.js.map → p-1f1895c0.entry.js.map} +0 -0
- /package/dist/core/{p-5dcbfca3.entry.js.map → p-1fdc2457.entry.js.map} +0 -0
- /package/dist/core/{p-f141ad5e.entry.js.map → p-215504c1.entry.js.map} +0 -0
- /package/dist/core/{p-b3acb156.entry.js.map → p-32bba4e7.entry.js.map} +0 -0
- /package/dist/core/{p-fa7caad6.entry.js.map → p-378e0723.entry.js.map} +0 -0
- /package/dist/core/{p-0ebc8365.entry.js.map → p-3844a27d.entry.js.map} +0 -0
- /package/dist/core/{p-182189d2.entry.js.map → p-56f9e026.entry.js.map} +0 -0
- /package/dist/core/{p-b838bb27.entry.js.map → p-668ca722.entry.js.map} +0 -0
- /package/dist/core/{p-f1be099b.entry.js.map → p-67200095.entry.js.map} +0 -0
- /package/dist/core/{p-6b42a387.entry.js.map → p-7591976a.entry.js.map} +0 -0
- /package/dist/core/{p-963f9fcd.entry.js.map → p-75ea368b.entry.js.map} +0 -0
- /package/dist/core/{p-ab9ae7ba.entry.js.map → p-7b48b1b8.entry.js.map} +0 -0
- /package/dist/core/{p-eeb9cb73.entry.js.map → p-83aa4327.entry.js.map} +0 -0
- /package/dist/core/{p-28a7d3f7.js.map → p-842cb87f.js.map} +0 -0
- /package/dist/core/{p-904de5e6.entry.js.map → p-89b69743.entry.js.map} +0 -0
- /package/dist/core/{p-e134b123.entry.js.map → p-8a796fbe.entry.js.map} +0 -0
- /package/dist/core/{p-663d3db2.entry.js.map → p-8fe36a5b.entry.js.map} +0 -0
- /package/dist/core/{p-a53a277a.entry.js.map → p-92e13f9d.entry.js.map} +0 -0
- /package/dist/core/{p-81b0848c.entry.js.map → p-ab68c0b7.entry.js.map} +0 -0
- /package/dist/core/{p-a54f1db9.entry.js.map → p-b50ffab3.entry.js.map} +0 -0
- /package/dist/core/{p-c4c7cb24.entry.js.map → p-b70cc248.entry.js.map} +0 -0
- /package/dist/core/{p-91a9cd24.entry.js.map → p-b822b9ff.entry.js.map} +0 -0
- /package/dist/core/{p-a1ebb4da.entry.js.map → p-c0a5a3f7.entry.js.map} +0 -0
- /package/dist/core/{p-3f2b803c.entry.js.map → p-d1c4eb91.entry.js.map} +0 -0
- /package/dist/core/{p-d2351924.entry.js.map → p-d3963396.entry.js.map} +0 -0
- /package/dist/core/{p-fc90bf06.entry.js.map → p-d949aac7.entry.js.map} +0 -0
- /package/dist/core/{p-006e52f1.entry.js.map → p-e6af4c58.entry.js.map} +0 -0
- /package/dist/core/{p-9dde00d8.entry.js.map → p-eebc9e71.entry.js.map} +0 -0
- /package/dist/core/{p-2ed3afef.entry.js.map → p-eebf7ad8.entry.js.map} +0 -0
- /package/dist/core/{p-35e66bef.entry.js.map → p-f963bb2f.entry.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["chr4","Math","random","toString","slice","createID","prefix","removeDiacritics","string","normalize","replace","splitByWhitespace","split"],"sources":["../../../packages/core/src/utils/string.utils.ts"],"sourcesContent":["export function chr4(): string {\n\treturn Math.random().toString(16).slice(-4)\n}\n\nexport function createID(prefix: string): string {\n\treturn `${prefix}-${chr4()}${chr4()}-${chr4()}-${chr4()}-${chr4()}-${chr4()}${chr4()}${chr4()}`\n}\n\nexport function removeDiacritics(string: any): string | any {\n\tif (typeof string !== 'string') return string\n\treturn string.normalize('NFD').replace(/[\\u0300-\\u036f]/g, '')\n}\n\nexport function splitByWhitespace(string: any): string | any {\n\tif (typeof string !== 'string') return string\n\treturn string.split(/(\\s+)/)\n}\n"],"mappings":"SAAgBA,IACf,OAAOC,KAAKC,SAASC,SAAS,IAAIC,OAAO,EAC1C,C,SAEgBC,EAASC,GACxB,MAAO,GAAGA,KAAUN,MAASA,OAAUA,OAAUA,OAAUA,OAAUA,MAASA,MAASA,KACxF,C,SAEgBO,EAAiBC,GAChC,UAAWA,IAAW,SAAU,OAAOA,EACvC,OAAOA,EAAOC,UAAU,OAAOC,QAAQ,mBAAoB,GAC5D,C,SAEgBC,EAAkBH,GACjC,UAAWA,IAAW,SAAU,OAAOA,EACvC,OAAOA,EAAOI,MAAM,QACrB,Q","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{g as e}from"./p-1a0b3b4f.js";import{s as r}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{g as e}from"./p-1a0b3b4f.js";import{s as r}from"./p-cd6c2938.js";import{e as t}from"./p-7501abe8.js";import{i}from"./p-2aedc81e.js";const n=(r,t,i)=>{if(r===undefined||String(r).length===0){e(`[${i}]: The (${t}) attribute is important for correct accessibility.`)}};const a=(i,n,a)=>{if(typeof i==="undefined"||i===undefined){return true}if(String(i).length===0){e(`[${a}]: Attribute (${n}) is defined with an empty value.`);return false}let s=[];const f=r(i);if(Array.isArray(f)){s=f.filter((function(e){return e.trim().length>0}))}return!!s.filter((e=>{if(t().getElementById(e)===null){return false}else{return true}})).length};const s=(r,n,a,s=undefined)=>{if(i(r)&&r.length>0){return true}if(typeof n==="string"&&n.length>0){const e=t().getElementById(n);if(e){return true}}e(`[${a}]: The element has no defined aria-label or aria-labelledby attribute.`,s);return false};export{s as a,a as b,n as v};
|
|
2
|
+
//# sourceMappingURL=p-dcee21ca.js.map
|
package/dist/core/core.css
CHANGED
|
@@ -238,7 +238,7 @@ gov-tile__link::before, .gov-tile__link::before {
|
|
|
238
238
|
--icon-white-fixed: var(--color-neutral-0);
|
|
239
239
|
--interactive-active: var(--color-primary-600);
|
|
240
240
|
--interactive-disabled: var(--color-neutral-200);
|
|
241
|
-
--interactive-error: var(--
|
|
241
|
+
--interactive-error: var(--status-error);
|
|
242
242
|
--interactive-inactive: var(--color-neutral-500);
|
|
243
243
|
--interactive-timer-primary-solid: var(--color-primary-800);
|
|
244
244
|
--interactive-timer-primary-subtle: var(--color-primary-200);
|
|
@@ -273,11 +273,11 @@ gov-tile__link::before, .gov-tile__link::before {
|
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
/* Tokens - Colors dark mode */
|
|
276
|
-
:root
|
|
277
|
-
--background-block-primary:
|
|
276
|
+
:root[data-theme=dark] {
|
|
277
|
+
--background-block-primary: rgba(7, 15, 32, 1);
|
|
278
278
|
--background-block-secondary: var(--color-neutral-950);
|
|
279
279
|
--background-overlay: var(--color-neutral-900);
|
|
280
|
-
--background-page:
|
|
280
|
+
--background-page: rgba(1, 4, 9, 1);
|
|
281
281
|
--background-neutral-disabled: var(--color-neutral-900);
|
|
282
282
|
--background-neutral-primary: var(--color-neutral-900);
|
|
283
283
|
--background-neutral-secondary: var(--color-neutral-1000);
|
|
@@ -334,7 +334,7 @@ gov-tile__link::before, .gov-tile__link::before {
|
|
|
334
334
|
--button-solid-error-active: var(--color-error-900);
|
|
335
335
|
--button-solid-error-disabled: var(--color-error-950);
|
|
336
336
|
--button-solid-error-hover: var(--color-error-500);
|
|
337
|
-
--button-solid-neutral: var(--color-neutral-
|
|
337
|
+
--button-solid-neutral: var(--color-neutral-900);
|
|
338
338
|
--button-solid-neutral-active: var(--color-neutral-600);
|
|
339
339
|
--button-solid-neutral-disabled: var(--color-neutral-900);
|
|
340
340
|
--button-solid-neutral-hover: var(--color-neutral-900);
|
|
@@ -368,7 +368,7 @@ gov-tile__link::before, .gov-tile__link::before {
|
|
|
368
368
|
--icon-white-fixed: var(--color-neutral-0);
|
|
369
369
|
--interactive-active: var(--color-primary-400);
|
|
370
370
|
--interactive-disabled: var(--color-neutral-800);
|
|
371
|
-
--interactive-error: var(--
|
|
371
|
+
--interactive-error: var(--status-error);
|
|
372
372
|
--interactive-inactive: var(--color-neutral-300);
|
|
373
373
|
--interactive-timer-primary-solid: var(--color-primary-800);
|
|
374
374
|
--interactive-timer-primary-subtle: var(--color-primary-800);
|
|
@@ -376,7 +376,7 @@ gov-tile__link::before, .gov-tile__link::before {
|
|
|
376
376
|
--interactive-timer-neutral-subtle: var(--color-neutral-500);
|
|
377
377
|
--interactive-timer-error-solid: var(--color-error-800);
|
|
378
378
|
--interactive-timer-error-subtle: var(--color-error-900);
|
|
379
|
-
--interactive-timer-success-solid: var(--color-success-
|
|
379
|
+
--interactive-timer-success-solid: var(--color-success-800);
|
|
380
380
|
--interactive-timer-success-subtle: var(--color-success-800);
|
|
381
381
|
--interactive-timer-warning-solid: var(--color-warning-400);
|
|
382
382
|
--interactive-timer-warning-subtle: var(--color-warning-900);
|
|
@@ -616,6 +616,7 @@ body {
|
|
|
616
616
|
padding: 0;
|
|
617
617
|
color: var(--text-secondary);
|
|
618
618
|
font-family: var(--font-family, "Roboto", sans-serif);
|
|
619
|
+
background-color: var(--background-page);
|
|
619
620
|
}
|
|
620
621
|
body.body-fixed {
|
|
621
622
|
overflow: hidden;
|
|
@@ -2090,7 +2091,7 @@ gov-button[type=solid][color=success][disabled=""] gov-icon, gov-button[type=sol
|
|
|
2090
2091
|
background-color: var(--hover-background, var(--button-solid-success-hover));
|
|
2091
2092
|
}
|
|
2092
2093
|
gov-button[type=solid][color=success]:hover:active, .gov-button[type=solid][color=success]:hover:active {
|
|
2093
|
-
background-color: var(--active-background, var(--button-
|
|
2094
|
+
background-color: var(--active-background, var(--button-solid-success-active));
|
|
2094
2095
|
}
|
|
2095
2096
|
gov-button[type=solid][color=success]:hover[disabled=""], gov-button[type=solid][color=success]:hover[disabled=true i], gov-button[type=solid][color=success]:hover[disabled="1"], .gov-button[type=solid][color=success]:hover[disabled=""], .gov-button[type=solid][color=success]:hover[disabled=true i], .gov-button[type=solid][color=success]:hover[disabled="1"] {
|
|
2096
2097
|
background-color: var(--disabled-background, var(--button-solid-disabled));
|
|
@@ -2758,7 +2759,7 @@ gov-chip[type=solid][color=primary][disabled=""], gov-chip[type=solid][color=pri
|
|
|
2758
2759
|
background-color: var(--active-background, var(--button-solid-primary-active));
|
|
2759
2760
|
}
|
|
2760
2761
|
}
|
|
2761
|
-
gov-chip[type=solid][color=primary][disabled=""], gov-chip[type=solid][color=primary][disabled=true i], gov-chip[type=solid][color=primary][disabled="1"], .gov-chip[type=solid][color=primary][disabled=""], .gov-chip[type=solid][color=primary][disabled=true i], .gov-chip[type=solid][color=primary][disabled="1"] {
|
|
2762
|
+
gov-chip[type=solid][color=primary][disabled=""] *:not(span), gov-chip[type=solid][color=primary][disabled=true i] *:not(span), gov-chip[type=solid][color=primary][disabled="1"] *:not(span), .gov-chip[type=solid][color=primary][disabled=""] *:not(span), .gov-chip[type=solid][color=primary][disabled=true i] *:not(span), .gov-chip[type=solid][color=primary][disabled="1"] *:not(span) {
|
|
2762
2763
|
background-color: var(--disabled-background, var(--button-solid-disabled));
|
|
2763
2764
|
}
|
|
2764
2765
|
@media not all and (pointer: coarse) {
|
|
@@ -2806,7 +2807,7 @@ gov-chip[type=outlined][color=primary][disabled=""], gov-chip[type=outlined][col
|
|
|
2806
2807
|
background-color: var(--active-background, var(--button-outlined-primary-active));
|
|
2807
2808
|
}
|
|
2808
2809
|
}
|
|
2809
|
-
gov-chip[type=outlined][color=primary][disabled=""], gov-chip[type=outlined][color=primary][disabled=true i], gov-chip[type=outlined][color=primary][disabled="1"], .gov-chip[type=outlined][color=primary][disabled=""], .gov-chip[type=outlined][color=primary][disabled=true i], .gov-chip[type=outlined][color=primary][disabled="1"] {
|
|
2810
|
+
gov-chip[type=outlined][color=primary][disabled=""] *:not(span), gov-chip[type=outlined][color=primary][disabled=true i] *:not(span), gov-chip[type=outlined][color=primary][disabled="1"] *:not(span), .gov-chip[type=outlined][color=primary][disabled=""] *:not(span), .gov-chip[type=outlined][color=primary][disabled=true i] *:not(span), .gov-chip[type=outlined][color=primary][disabled="1"] *:not(span) {
|
|
2810
2811
|
background-color: var(--disabled-background, transparent);
|
|
2811
2812
|
border-color: var(--disabled-border, var(--border-disabled));
|
|
2812
2813
|
}
|
|
@@ -2853,7 +2854,7 @@ gov-chip[type=base][color=primary][disabled=""], gov-chip[type=base][color=prima
|
|
|
2853
2854
|
background-color: var(--active-background, var(--button-outlined-primary-active));
|
|
2854
2855
|
}
|
|
2855
2856
|
}
|
|
2856
|
-
gov-chip[type=base][color=primary][disabled=""], gov-chip[type=base][color=primary][disabled=true i], gov-chip[type=base][color=primary][disabled="1"], .gov-chip[type=base][color=primary][disabled=""], .gov-chip[type=base][color=primary][disabled=true i], .gov-chip[type=base][color=primary][disabled="1"] {
|
|
2857
|
+
gov-chip[type=base][color=primary][disabled=""] *:not(span), gov-chip[type=base][color=primary][disabled=true i] *:not(span), gov-chip[type=base][color=primary][disabled="1"] *:not(span), .gov-chip[type=base][color=primary][disabled=""] *:not(span), .gov-chip[type=base][color=primary][disabled=true i] *:not(span), .gov-chip[type=base][color=primary][disabled="1"] *:not(span) {
|
|
2857
2858
|
background-color: var(--disabled-background, transparent);
|
|
2858
2859
|
}
|
|
2859
2860
|
@media not all and (pointer: coarse) {
|
|
@@ -2923,7 +2924,7 @@ gov-chip[type=solid][color=secondary][disabled=""], gov-chip[type=solid][color=s
|
|
|
2923
2924
|
background-color: var(--active-background, var(--button-solid-secondary-active));
|
|
2924
2925
|
}
|
|
2925
2926
|
}
|
|
2926
|
-
gov-chip[type=solid][color=secondary][disabled=""], gov-chip[type=solid][color=secondary][disabled=true i], gov-chip[type=solid][color=secondary][disabled="1"], .gov-chip[type=solid][color=secondary][disabled=""], .gov-chip[type=solid][color=secondary][disabled=true i], .gov-chip[type=solid][color=secondary][disabled="1"] {
|
|
2927
|
+
gov-chip[type=solid][color=secondary][disabled=""] *:not(span), gov-chip[type=solid][color=secondary][disabled=true i] *:not(span), gov-chip[type=solid][color=secondary][disabled="1"] *:not(span), .gov-chip[type=solid][color=secondary][disabled=""] *:not(span), .gov-chip[type=solid][color=secondary][disabled=true i] *:not(span), .gov-chip[type=solid][color=secondary][disabled="1"] *:not(span) {
|
|
2927
2928
|
background-color: var(--disabled-background, var(--button-solid-disabled));
|
|
2928
2929
|
}
|
|
2929
2930
|
@media not all and (pointer: coarse) {
|
|
@@ -2971,7 +2972,7 @@ gov-chip[type=outlined][color=secondary][disabled=""], gov-chip[type=outlined][c
|
|
|
2971
2972
|
background-color: var(--active-background, var(--button-outlined-secondary-active));
|
|
2972
2973
|
}
|
|
2973
2974
|
}
|
|
2974
|
-
gov-chip[type=outlined][color=secondary][disabled=""], gov-chip[type=outlined][color=secondary][disabled=true i], gov-chip[type=outlined][color=secondary][disabled="1"], .gov-chip[type=outlined][color=secondary][disabled=""], .gov-chip[type=outlined][color=secondary][disabled=true i], .gov-chip[type=outlined][color=secondary][disabled="1"] {
|
|
2975
|
+
gov-chip[type=outlined][color=secondary][disabled=""] *:not(span), gov-chip[type=outlined][color=secondary][disabled=true i] *:not(span), gov-chip[type=outlined][color=secondary][disabled="1"] *:not(span), .gov-chip[type=outlined][color=secondary][disabled=""] *:not(span), .gov-chip[type=outlined][color=secondary][disabled=true i] *:not(span), .gov-chip[type=outlined][color=secondary][disabled="1"] *:not(span) {
|
|
2975
2976
|
background-color: var(--disabled-background, transparent);
|
|
2976
2977
|
border-color: var(--disabled-border, var(--border-disabled));
|
|
2977
2978
|
}
|
|
@@ -3018,7 +3019,7 @@ gov-chip[type=base][color=secondary][disabled=""], gov-chip[type=base][color=sec
|
|
|
3018
3019
|
background-color: var(--active-background, var(--button-outlined-secondary-active));
|
|
3019
3020
|
}
|
|
3020
3021
|
}
|
|
3021
|
-
gov-chip[type=base][color=secondary][disabled=""], gov-chip[type=base][color=secondary][disabled=true i], gov-chip[type=base][color=secondary][disabled="1"], .gov-chip[type=base][color=secondary][disabled=""], .gov-chip[type=base][color=secondary][disabled=true i], .gov-chip[type=base][color=secondary][disabled="1"] {
|
|
3022
|
+
gov-chip[type=base][color=secondary][disabled=""] *:not(span), gov-chip[type=base][color=secondary][disabled=true i] *:not(span), gov-chip[type=base][color=secondary][disabled="1"] *:not(span), .gov-chip[type=base][color=secondary][disabled=""] *:not(span), .gov-chip[type=base][color=secondary][disabled=true i] *:not(span), .gov-chip[type=base][color=secondary][disabled="1"] *:not(span) {
|
|
3022
3023
|
background-color: var(--disabled-background, transparent);
|
|
3023
3024
|
}
|
|
3024
3025
|
@media not all and (pointer: coarse) {
|
|
@@ -3088,7 +3089,7 @@ gov-chip[type=solid][color=neutral][disabled=""], gov-chip[type=solid][color=neu
|
|
|
3088
3089
|
background-color: var(--active-background, var(--button-solid-neutral-active));
|
|
3089
3090
|
}
|
|
3090
3091
|
}
|
|
3091
|
-
gov-chip[type=solid][color=neutral][disabled=""], gov-chip[type=solid][color=neutral][disabled=true i], gov-chip[type=solid][color=neutral][disabled="1"], .gov-chip[type=solid][color=neutral][disabled=""], .gov-chip[type=solid][color=neutral][disabled=true i], .gov-chip[type=solid][color=neutral][disabled="1"] {
|
|
3092
|
+
gov-chip[type=solid][color=neutral][disabled=""] *:not(span), gov-chip[type=solid][color=neutral][disabled=true i] *:not(span), gov-chip[type=solid][color=neutral][disabled="1"] *:not(span), .gov-chip[type=solid][color=neutral][disabled=""] *:not(span), .gov-chip[type=solid][color=neutral][disabled=true i] *:not(span), .gov-chip[type=solid][color=neutral][disabled="1"] *:not(span) {
|
|
3092
3093
|
background-color: var(--disabled-background, var(--button-solid-disabled));
|
|
3093
3094
|
}
|
|
3094
3095
|
@media not all and (pointer: coarse) {
|
|
@@ -3136,7 +3137,7 @@ gov-chip[type=outlined][color=neutral][disabled=""], gov-chip[type=outlined][col
|
|
|
3136
3137
|
background-color: var(--active-background, var(--button-outlined-neutral-active));
|
|
3137
3138
|
}
|
|
3138
3139
|
}
|
|
3139
|
-
gov-chip[type=outlined][color=neutral][disabled=""], gov-chip[type=outlined][color=neutral][disabled=true i], gov-chip[type=outlined][color=neutral][disabled="1"], .gov-chip[type=outlined][color=neutral][disabled=""], .gov-chip[type=outlined][color=neutral][disabled=true i], .gov-chip[type=outlined][color=neutral][disabled="1"] {
|
|
3140
|
+
gov-chip[type=outlined][color=neutral][disabled=""] *:not(span), gov-chip[type=outlined][color=neutral][disabled=true i] *:not(span), gov-chip[type=outlined][color=neutral][disabled="1"] *:not(span), .gov-chip[type=outlined][color=neutral][disabled=""] *:not(span), .gov-chip[type=outlined][color=neutral][disabled=true i] *:not(span), .gov-chip[type=outlined][color=neutral][disabled="1"] *:not(span) {
|
|
3140
3141
|
background-color: var(--disabled-background, transparent);
|
|
3141
3142
|
border-color: var(--disabled-border, var(--border-disabled));
|
|
3142
3143
|
}
|
|
@@ -3183,7 +3184,7 @@ gov-chip[type=base][color=neutral][disabled=""], gov-chip[type=base][color=neutr
|
|
|
3183
3184
|
background-color: var(--active-background, var(--button-outlined-neutral-active));
|
|
3184
3185
|
}
|
|
3185
3186
|
}
|
|
3186
|
-
gov-chip[type=base][color=neutral][disabled=""], gov-chip[type=base][color=neutral][disabled=true i], gov-chip[type=base][color=neutral][disabled="1"], .gov-chip[type=base][color=neutral][disabled=""], .gov-chip[type=base][color=neutral][disabled=true i], .gov-chip[type=base][color=neutral][disabled="1"] {
|
|
3187
|
+
gov-chip[type=base][color=neutral][disabled=""] *:not(span), gov-chip[type=base][color=neutral][disabled=true i] *:not(span), gov-chip[type=base][color=neutral][disabled="1"] *:not(span), .gov-chip[type=base][color=neutral][disabled=""] *:not(span), .gov-chip[type=base][color=neutral][disabled=true i] *:not(span), .gov-chip[type=base][color=neutral][disabled="1"] *:not(span) {
|
|
3187
3188
|
background-color: var(--disabled-background, transparent);
|
|
3188
3189
|
}
|
|
3189
3190
|
@media not all and (pointer: coarse) {
|
|
@@ -3253,7 +3254,7 @@ gov-chip[type=solid][color=error][disabled=""], gov-chip[type=solid][color=error
|
|
|
3253
3254
|
background-color: var(--active-background, var(--button-solid-error-active));
|
|
3254
3255
|
}
|
|
3255
3256
|
}
|
|
3256
|
-
gov-chip[type=solid][color=error][disabled=""], gov-chip[type=solid][color=error][disabled=true i], gov-chip[type=solid][color=error][disabled="1"], .gov-chip[type=solid][color=error][disabled=""], .gov-chip[type=solid][color=error][disabled=true i], .gov-chip[type=solid][color=error][disabled="1"] {
|
|
3257
|
+
gov-chip[type=solid][color=error][disabled=""] *:not(span), gov-chip[type=solid][color=error][disabled=true i] *:not(span), gov-chip[type=solid][color=error][disabled="1"] *:not(span), .gov-chip[type=solid][color=error][disabled=""] *:not(span), .gov-chip[type=solid][color=error][disabled=true i] *:not(span), .gov-chip[type=solid][color=error][disabled="1"] *:not(span) {
|
|
3257
3258
|
background-color: var(--disabled-background, var(--button-solid-disabled));
|
|
3258
3259
|
}
|
|
3259
3260
|
@media not all and (pointer: coarse) {
|
|
@@ -3301,7 +3302,7 @@ gov-chip[type=outlined][color=error][disabled=""], gov-chip[type=outlined][color
|
|
|
3301
3302
|
background-color: var(--active-background, var(--button-outlined-error-active));
|
|
3302
3303
|
}
|
|
3303
3304
|
}
|
|
3304
|
-
gov-chip[type=outlined][color=error][disabled=""], gov-chip[type=outlined][color=error][disabled=true i], gov-chip[type=outlined][color=error][disabled="1"], .gov-chip[type=outlined][color=error][disabled=""], .gov-chip[type=outlined][color=error][disabled=true i], .gov-chip[type=outlined][color=error][disabled="1"] {
|
|
3305
|
+
gov-chip[type=outlined][color=error][disabled=""] *:not(span), gov-chip[type=outlined][color=error][disabled=true i] *:not(span), gov-chip[type=outlined][color=error][disabled="1"] *:not(span), .gov-chip[type=outlined][color=error][disabled=""] *:not(span), .gov-chip[type=outlined][color=error][disabled=true i] *:not(span), .gov-chip[type=outlined][color=error][disabled="1"] *:not(span) {
|
|
3305
3306
|
background-color: var(--disabled-background, transparent);
|
|
3306
3307
|
border-color: var(--disabled-border, var(--border-disabled));
|
|
3307
3308
|
}
|
|
@@ -3348,7 +3349,7 @@ gov-chip[type=base][color=error][disabled=""], gov-chip[type=base][color=error][
|
|
|
3348
3349
|
background-color: var(--active-background, var(--button-outlined-error-active));
|
|
3349
3350
|
}
|
|
3350
3351
|
}
|
|
3351
|
-
gov-chip[type=base][color=error][disabled=""], gov-chip[type=base][color=error][disabled=true i], gov-chip[type=base][color=error][disabled="1"], .gov-chip[type=base][color=error][disabled=""], .gov-chip[type=base][color=error][disabled=true i], .gov-chip[type=base][color=error][disabled="1"] {
|
|
3352
|
+
gov-chip[type=base][color=error][disabled=""] *:not(span), gov-chip[type=base][color=error][disabled=true i] *:not(span), gov-chip[type=base][color=error][disabled="1"] *:not(span), .gov-chip[type=base][color=error][disabled=""] *:not(span), .gov-chip[type=base][color=error][disabled=true i] *:not(span), .gov-chip[type=base][color=error][disabled="1"] *:not(span) {
|
|
3352
3353
|
background-color: var(--disabled-background, transparent);
|
|
3353
3354
|
}
|
|
3354
3355
|
@media not all and (pointer: coarse) {
|
|
@@ -3415,10 +3416,10 @@ gov-chip[type=solid][color=success][disabled=""], gov-chip[type=solid][color=suc
|
|
|
3415
3416
|
background-color: var(--hover-background, var(--button-solid-success-hover));
|
|
3416
3417
|
}
|
|
3417
3418
|
gov-chip[type=solid][color=success] *:not(span):hover:active, .gov-chip[type=solid][color=success] *:not(span):hover:active {
|
|
3418
|
-
background-color: var(--active-background, var(--button-
|
|
3419
|
+
background-color: var(--active-background, var(--button-solid-success-active));
|
|
3419
3420
|
}
|
|
3420
3421
|
}
|
|
3421
|
-
gov-chip[type=solid][color=success][disabled=""], gov-chip[type=solid][color=success][disabled=true i], gov-chip[type=solid][color=success][disabled="1"], .gov-chip[type=solid][color=success][disabled=""], .gov-chip[type=solid][color=success][disabled=true i], .gov-chip[type=solid][color=success][disabled="1"] {
|
|
3422
|
+
gov-chip[type=solid][color=success][disabled=""] *:not(span), gov-chip[type=solid][color=success][disabled=true i] *:not(span), gov-chip[type=solid][color=success][disabled="1"] *:not(span), .gov-chip[type=solid][color=success][disabled=""] *:not(span), .gov-chip[type=solid][color=success][disabled=true i] *:not(span), .gov-chip[type=solid][color=success][disabled="1"] *:not(span) {
|
|
3422
3423
|
background-color: var(--disabled-background, var(--button-solid-disabled));
|
|
3423
3424
|
}
|
|
3424
3425
|
@media not all and (pointer: coarse) {
|
|
@@ -3466,7 +3467,7 @@ gov-chip[type=outlined][color=success][disabled=""], gov-chip[type=outlined][col
|
|
|
3466
3467
|
background-color: var(--active-background, var(--button-outlined-success-active));
|
|
3467
3468
|
}
|
|
3468
3469
|
}
|
|
3469
|
-
gov-chip[type=outlined][color=success][disabled=""], gov-chip[type=outlined][color=success][disabled=true i], gov-chip[type=outlined][color=success][disabled="1"], .gov-chip[type=outlined][color=success][disabled=""], .gov-chip[type=outlined][color=success][disabled=true i], .gov-chip[type=outlined][color=success][disabled="1"] {
|
|
3470
|
+
gov-chip[type=outlined][color=success][disabled=""] *:not(span), gov-chip[type=outlined][color=success][disabled=true i] *:not(span), gov-chip[type=outlined][color=success][disabled="1"] *:not(span), .gov-chip[type=outlined][color=success][disabled=""] *:not(span), .gov-chip[type=outlined][color=success][disabled=true i] *:not(span), .gov-chip[type=outlined][color=success][disabled="1"] *:not(span) {
|
|
3470
3471
|
background-color: var(--disabled-background, transparent);
|
|
3471
3472
|
border-color: var(--disabled-border, var(--border-disabled));
|
|
3472
3473
|
}
|
|
@@ -3513,7 +3514,7 @@ gov-chip[type=base][color=success][disabled=""], gov-chip[type=base][color=succe
|
|
|
3513
3514
|
background-color: var(--active-background, var(--button-outlined-success-active));
|
|
3514
3515
|
}
|
|
3515
3516
|
}
|
|
3516
|
-
gov-chip[type=base][color=success][disabled=""], gov-chip[type=base][color=success][disabled=true i], gov-chip[type=base][color=success][disabled="1"], .gov-chip[type=base][color=success][disabled=""], .gov-chip[type=base][color=success][disabled=true i], .gov-chip[type=base][color=success][disabled="1"] {
|
|
3517
|
+
gov-chip[type=base][color=success][disabled=""] *:not(span), gov-chip[type=base][color=success][disabled=true i] *:not(span), gov-chip[type=base][color=success][disabled="1"] *:not(span), .gov-chip[type=base][color=success][disabled=""] *:not(span), .gov-chip[type=base][color=success][disabled=true i] *:not(span), .gov-chip[type=base][color=success][disabled="1"] *:not(span) {
|
|
3517
3518
|
background-color: var(--disabled-background, transparent);
|
|
3518
3519
|
}
|
|
3519
3520
|
@media not all and (pointer: coarse) {
|
|
@@ -3583,7 +3584,7 @@ gov-chip[type=solid][color=warning][disabled=""], gov-chip[type=solid][color=war
|
|
|
3583
3584
|
background-color: var(--active-background, var(--button-solid-warning-active));
|
|
3584
3585
|
}
|
|
3585
3586
|
}
|
|
3586
|
-
gov-chip[type=solid][color=warning][disabled=""], gov-chip[type=solid][color=warning][disabled=true i], gov-chip[type=solid][color=warning][disabled="1"], .gov-chip[type=solid][color=warning][disabled=""], .gov-chip[type=solid][color=warning][disabled=true i], .gov-chip[type=solid][color=warning][disabled="1"] {
|
|
3587
|
+
gov-chip[type=solid][color=warning][disabled=""] *:not(span), gov-chip[type=solid][color=warning][disabled=true i] *:not(span), gov-chip[type=solid][color=warning][disabled="1"] *:not(span), .gov-chip[type=solid][color=warning][disabled=""] *:not(span), .gov-chip[type=solid][color=warning][disabled=true i] *:not(span), .gov-chip[type=solid][color=warning][disabled="1"] *:not(span) {
|
|
3587
3588
|
background-color: var(--disabled-background, var(--button-solid-disabled));
|
|
3588
3589
|
}
|
|
3589
3590
|
@media not all and (pointer: coarse) {
|
|
@@ -3631,7 +3632,7 @@ gov-chip[type=outlined][color=warning][disabled=""], gov-chip[type=outlined][col
|
|
|
3631
3632
|
background-color: var(--active-background, var(--button-outlined-warning-active));
|
|
3632
3633
|
}
|
|
3633
3634
|
}
|
|
3634
|
-
gov-chip[type=outlined][color=warning][disabled=""], gov-chip[type=outlined][color=warning][disabled=true i], gov-chip[type=outlined][color=warning][disabled="1"], .gov-chip[type=outlined][color=warning][disabled=""], .gov-chip[type=outlined][color=warning][disabled=true i], .gov-chip[type=outlined][color=warning][disabled="1"] {
|
|
3635
|
+
gov-chip[type=outlined][color=warning][disabled=""] *:not(span), gov-chip[type=outlined][color=warning][disabled=true i] *:not(span), gov-chip[type=outlined][color=warning][disabled="1"] *:not(span), .gov-chip[type=outlined][color=warning][disabled=""] *:not(span), .gov-chip[type=outlined][color=warning][disabled=true i] *:not(span), .gov-chip[type=outlined][color=warning][disabled="1"] *:not(span) {
|
|
3635
3636
|
background-color: var(--disabled-background, transparent);
|
|
3636
3637
|
border-color: var(--disabled-border, var(--border-disabled));
|
|
3637
3638
|
}
|
|
@@ -3678,7 +3679,7 @@ gov-chip[type=base][color=warning][disabled=""], gov-chip[type=base][color=warni
|
|
|
3678
3679
|
background-color: var(--active-background, var(--button-outlined-warning-active));
|
|
3679
3680
|
}
|
|
3680
3681
|
}
|
|
3681
|
-
gov-chip[type=base][color=warning][disabled=""], gov-chip[type=base][color=warning][disabled=true i], gov-chip[type=base][color=warning][disabled="1"], .gov-chip[type=base][color=warning][disabled=""], .gov-chip[type=base][color=warning][disabled=true i], .gov-chip[type=base][color=warning][disabled="1"] {
|
|
3682
|
+
gov-chip[type=base][color=warning][disabled=""] *:not(span), gov-chip[type=base][color=warning][disabled=true i] *:not(span), gov-chip[type=base][color=warning][disabled="1"] *:not(span), .gov-chip[type=base][color=warning][disabled=""] *:not(span), .gov-chip[type=base][color=warning][disabled=true i] *:not(span), .gov-chip[type=base][color=warning][disabled="1"] *:not(span) {
|
|
3682
3683
|
background-color: var(--disabled-background, transparent);
|
|
3683
3684
|
}
|
|
3684
3685
|
@media not all and (pointer: coarse) {
|
|
@@ -4078,6 +4079,133 @@ gov-tag[size=m][icon-right]:has(gov-icon), gov-tag[size=m][icon-right]:has(.gov-
|
|
|
4078
4079
|
padding-right: var(--padding-x, var(--spacing-m));
|
|
4079
4080
|
}
|
|
4080
4081
|
|
|
4082
|
+
/* Flex */ /* Variables - Flex */
|
|
4083
|
+
gov-flex, .gov-flex {
|
|
4084
|
+
margin-top: 0;
|
|
4085
|
+
margin-bottom: 0;
|
|
4086
|
+
display: flex;
|
|
4087
|
+
}
|
|
4088
|
+
gov-flex[direction=row], .gov-flex[direction=row] {
|
|
4089
|
+
flex-direction: row;
|
|
4090
|
+
}
|
|
4091
|
+
gov-flex[direction=row-reverse], .gov-flex[direction=row-reverse] {
|
|
4092
|
+
flex-direction: row-reverse;
|
|
4093
|
+
}
|
|
4094
|
+
gov-flex[direction=column], .gov-flex[direction=column] {
|
|
4095
|
+
flex-direction: column;
|
|
4096
|
+
}
|
|
4097
|
+
gov-flex[direction=column-reverse], .gov-flex[direction=column-reverse] {
|
|
4098
|
+
flex-direction: column-reverse;
|
|
4099
|
+
}
|
|
4100
|
+
gov-flex[justify-content=flex-start], .gov-flex[justify-content=flex-start] {
|
|
4101
|
+
justify-content: flex-start;
|
|
4102
|
+
}
|
|
4103
|
+
gov-flex[justify-content=flex-end], .gov-flex[justify-content=flex-end] {
|
|
4104
|
+
justify-content: flex-end;
|
|
4105
|
+
}
|
|
4106
|
+
gov-flex[justify-content=center], .gov-flex[justify-content=center] {
|
|
4107
|
+
justify-content: center;
|
|
4108
|
+
}
|
|
4109
|
+
gov-flex[justify-content=space-between], .gov-flex[justify-content=space-between] {
|
|
4110
|
+
justify-content: space-between;
|
|
4111
|
+
}
|
|
4112
|
+
gov-flex[justify-content=space-around], .gov-flex[justify-content=space-around] {
|
|
4113
|
+
justify-content: space-around;
|
|
4114
|
+
}
|
|
4115
|
+
gov-flex[justify-content=space-evenly], .gov-flex[justify-content=space-evenly] {
|
|
4116
|
+
justify-content: space-evenly;
|
|
4117
|
+
}
|
|
4118
|
+
gov-flex[align-items=stretch], .gov-flex[align-items=stretch] {
|
|
4119
|
+
align-items: stretch;
|
|
4120
|
+
}
|
|
4121
|
+
gov-flex[align-items=flex-start], .gov-flex[align-items=flex-start] {
|
|
4122
|
+
align-items: flex-start;
|
|
4123
|
+
}
|
|
4124
|
+
gov-flex[align-items=flex-end], .gov-flex[align-items=flex-end] {
|
|
4125
|
+
align-items: flex-end;
|
|
4126
|
+
}
|
|
4127
|
+
gov-flex[align-items=center], .gov-flex[align-items=center] {
|
|
4128
|
+
align-items: center;
|
|
4129
|
+
}
|
|
4130
|
+
gov-flex[align-items=baseline], .gov-flex[align-items=baseline] {
|
|
4131
|
+
align-items: baseline;
|
|
4132
|
+
}
|
|
4133
|
+
gov-flex[wrap=nowrap], .gov-flex[wrap=nowrap] {
|
|
4134
|
+
flex-wrap: nowrap;
|
|
4135
|
+
}
|
|
4136
|
+
gov-flex[wrap=wrap], .gov-flex[wrap=wrap] {
|
|
4137
|
+
flex-wrap: wrap;
|
|
4138
|
+
}
|
|
4139
|
+
gov-flex[wrap=wrap-reverse], .gov-flex[wrap=wrap-reverse] {
|
|
4140
|
+
flex-wrap: wrap-reverse;
|
|
4141
|
+
}
|
|
4142
|
+
gov-flex[align-content=flex-start], .gov-flex[align-content=flex-start] {
|
|
4143
|
+
align-content: flex-start;
|
|
4144
|
+
}
|
|
4145
|
+
gov-flex[align-content=flex-end], .gov-flex[align-content=flex-end] {
|
|
4146
|
+
align-content: flex-end;
|
|
4147
|
+
}
|
|
4148
|
+
gov-flex[align-content=center], .gov-flex[align-content=center] {
|
|
4149
|
+
align-content: center;
|
|
4150
|
+
}
|
|
4151
|
+
gov-flex[align-content=space-between], .gov-flex[align-content=space-between] {
|
|
4152
|
+
align-content: space-between;
|
|
4153
|
+
}
|
|
4154
|
+
gov-flex[align-content=space-around], .gov-flex[align-content=space-around] {
|
|
4155
|
+
align-content: space-around;
|
|
4156
|
+
}
|
|
4157
|
+
gov-flex[align-content=stretch], .gov-flex[align-content=stretch] {
|
|
4158
|
+
align-content: stretch;
|
|
4159
|
+
}
|
|
4160
|
+
gov-flex[align-self=auto], .gov-flex[align-self=auto] {
|
|
4161
|
+
align-self: auto;
|
|
4162
|
+
}
|
|
4163
|
+
gov-flex[align-self=flex-start], .gov-flex[align-self=flex-start] {
|
|
4164
|
+
align-self: flex-start;
|
|
4165
|
+
}
|
|
4166
|
+
gov-flex[align-self=flex-end], .gov-flex[align-self=flex-end] {
|
|
4167
|
+
align-self: flex-end;
|
|
4168
|
+
}
|
|
4169
|
+
gov-flex[align-self=center], .gov-flex[align-self=center] {
|
|
4170
|
+
align-self: center;
|
|
4171
|
+
}
|
|
4172
|
+
gov-flex[align-self=baseline], .gov-flex[align-self=baseline] {
|
|
4173
|
+
align-self: baseline;
|
|
4174
|
+
}
|
|
4175
|
+
gov-flex[align-self=stretch], .gov-flex[align-self=stretch] {
|
|
4176
|
+
align-self: stretch;
|
|
4177
|
+
}
|
|
4178
|
+
gov-flex[gap=unset], .gov-flex[gap=unset] {
|
|
4179
|
+
gap: var(--spacing-none);
|
|
4180
|
+
}
|
|
4181
|
+
gov-flex[gap="2xs"], .gov-flex[gap="2xs"] {
|
|
4182
|
+
gap: var(--spacing-2xs);
|
|
4183
|
+
}
|
|
4184
|
+
gov-flex[gap=xs], .gov-flex[gap=xs] {
|
|
4185
|
+
gap: var(--spacing-xs);
|
|
4186
|
+
}
|
|
4187
|
+
gov-flex[gap=s], .gov-flex[gap=s] {
|
|
4188
|
+
gap: var(--spacing-s);
|
|
4189
|
+
}
|
|
4190
|
+
gov-flex[gap=m], .gov-flex[gap=m] {
|
|
4191
|
+
gap: var(--spacing-m);
|
|
4192
|
+
}
|
|
4193
|
+
gov-flex[gap=l], .gov-flex[gap=l] {
|
|
4194
|
+
gap: var(--spacing-l);
|
|
4195
|
+
}
|
|
4196
|
+
gov-flex[gap=xl], .gov-flex[gap=xl] {
|
|
4197
|
+
gap: var(--spacing-xl);
|
|
4198
|
+
}
|
|
4199
|
+
gov-flex[gap="2xl"], .gov-flex[gap="2xl"] {
|
|
4200
|
+
gap: var(--spacing-2xl);
|
|
4201
|
+
}
|
|
4202
|
+
gov-flex[gap="3xl"], .gov-flex[gap="3xl"] {
|
|
4203
|
+
gap: var(--spacing-3xl);
|
|
4204
|
+
}
|
|
4205
|
+
gov-flex[gap="4xl"], .gov-flex[gap="4xl"] {
|
|
4206
|
+
gap: var(--spacing-4xl);
|
|
4207
|
+
}
|
|
4208
|
+
|
|
4081
4209
|
/* Form Control */
|
|
4082
4210
|
gov-form-control, .gov-form-control {
|
|
4083
4211
|
/* Variables - Form label */ /* Variables - Form checkbox & radio */ /* Variables - Form switch */
|
|
@@ -9012,7 +9140,7 @@ gov-empty *[slot=icon], .gov-empty *[slot=icon] {
|
|
|
9012
9140
|
justify-content: center;
|
|
9013
9141
|
align-items: center;
|
|
9014
9142
|
border-radius: 50%;
|
|
9015
|
-
background: var(--icon-circle-background, linear-gradient(to bottom, var(--
|
|
9143
|
+
background: var(--icon-circle-background, linear-gradient(to bottom, var(--background-primary-subtle), var(--background-block-primary)));
|
|
9016
9144
|
color: var(--icon-color, var(--background-primary));
|
|
9017
9145
|
}
|
|
9018
9146
|
gov-empty__content, .gov-empty__content {
|
|
@@ -9149,7 +9277,7 @@ gov-error-code *[slot=icon], .gov-error-code *[slot=icon] {
|
|
|
9149
9277
|
justify-content: center;
|
|
9150
9278
|
align-items: center;
|
|
9151
9279
|
border-radius: 50%;
|
|
9152
|
-
background: var(--icon-circle-background, linear-gradient(to bottom, var(--
|
|
9280
|
+
background: var(--icon-circle-background, linear-gradient(to bottom, var(--background-primary-subtle), var(--background-block-primary)));
|
|
9153
9281
|
color: var(--icon-color, var(--icon-on-subtle));
|
|
9154
9282
|
width: 6.25rem;
|
|
9155
9283
|
height: 6.25rem;
|
|
@@ -9637,6 +9765,7 @@ gov-dialog__dialog, .gov-dialog__dialog {
|
|
|
9637
9765
|
max-width: var(--max-width, 52.5rem);
|
|
9638
9766
|
height: 100%;
|
|
9639
9767
|
padding: var(--spacing-s);
|
|
9768
|
+
color: var(--text-secondary);
|
|
9640
9769
|
border: none;
|
|
9641
9770
|
background: transparent;
|
|
9642
9771
|
transform: translate(-50%, -50%);
|
package/dist/core/core.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as i,b as a}from"./p-a1e95a5f.js";export{s as setNonce}from"./p-a1e95a5f.js";import{g as l}from"./p-e1255160.js";var t=()=>{{o(i.prototype)}const a=import.meta.url;const l={};if(a!==""){l.resourcesUrl=new URL(".",a).href}return e(l)};var o=e=>{const i=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return i.call(this,e)}const a=i.call(this,false);const l=this.childNodes;if(e){for(let e=0;e<l.length;e++){if(l[e].nodeType!==2){a.appendChild(l[e].cloneNode(true))}}}return a}};t().then((async e=>{await l();return a(JSON.parse('[["p-edc05eff",[[4,"gov-form-file",{"expanded":[4],"required":[4],"disabled":[4],"resetAfterPick":[4,"reset-after-pick"],"ignoreFileDuplicationCheck":[4,"ignore-file-duplication-check"],"displayAttachments":[4,"display-attachments"],"name":[1],"accept":[1],"multiple":[4],"maxFileSize":[2,"max-file-size"],"identifier":[1],"invalid":[4],"errorSize":[1,"error-size"],"errorAccept":[1,"error-accept"],"attachmentsLabel":[1,"attachments-label"],"accessibleRemoveLabel":[1,"accessible-remove-label"],"accessibleAttachmentsLabel":[1,"accessible-attachments-label"],"files":[32],"inheritedAttributes":[32],"getRef":[64],"getAreaRef":[64],"reset":[64]},null,{"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"]}]]],["p-6ed147a6",[[4,"gov-form-multi-select",{"value":[1537],"options":[1537],"identifier":[1],"placeholder":[1],"size":[1],"name":[1],"hideSelectedList":[4,"hide-selected-list"],"required":[4],"disabled":[4],"invalid":[4],"success":[4],"messageEmpty":[1,"message-empty"],"messageLoading":[1,"message-loading"],"focused":[32],"valueState":[32],"selectedOptionsState":[32],"optionsState":[32],"inheritedAttributes":[32],"setFocus":[64],"setValue":[64],"getRef":[64]},null,{"size":["validateSize","watchControlAttrs"],"options":["watchOptions"],"value":["watchValue"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"],"success":["watchControlAttrs"]}]]],["p-f456bd71",[[4,"gov-dialog",{"open":[1540],"blockClose":[4,"block-close"],"blockBackdropClose":[4,"block-backdrop-close"],"role":[1],"labelTag":[1,"label-tag"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleCloseLabel":[1,"accessible-close-label"],"accessibleCloseLabelledBy":[1,"accessible-close-labelled-by"],"setFocus":[64],"validateAccessibility":[64]},null,{"open":["watchOpen"]}]]],["p-dc3fab19",[[0,"gov-pagination",{"type":[1],"current":[2],"total":[2],"selectIdentifier":[1,"select-identifier"],"size":[1],"color":[1],"pageSize":[2,"page-size"],"maxPages":[2,"max-pages"],"link":[1],"accessibleSelectLabel":[1,"accessible-select-label"],"accessiblePageLabel":[1,"accessible-page-label"],"labelPrev":[1,"label-prev"],"labelStart":[1,"label-start"],"labelNext":[1,"label-next"],"labelEnd":[1,"label-end"],"pagination":[32],"inheritedAttributes":[32]},null,{"type":["validateType"],"size":["validateSize"],"color":["validateColor"],"current":["recalculate"],"total":["recalculate"],"pageSize":["recalculate"],"maxPages":["recalculate"]}]]],["p-b55fc943",[[4,"gov-breadcrumbs",{"collapsible":[4],"isExpanded":[4,"is-expanded"],"accessibleLabel":[1,"accessible-label"],"accessibleLabelledBy":[1,"accessible-labelledby"],"accessibleToggleLabel":[1,"accessible-toggle-label"],"expanded":[32],"toggleOption":[32],"validateAccessibility":[64]}]]],["p-7cf554e6",[[4,"gov-infobar",{"color":[1],"type":[1],"role":[1],"accessibleCloseLabel":[1,"accessible-close-label"],"accessibleToggleLabel":[1,"accessible-toggle-label"],"closable":[4],"toggleContent":[32],"inheritedAttributes":[32]},null,{"color":["validateColor"]}]]],["p-a1ebb4da",[[4,"gov-loading",{"size":[1]},null,{"size":["validateSize"]}]]],["p-0a952b3c",[[4,"gov-tabs",{"type":[1],"size":[1],"color":[1],"orientation":[1],"direction":[513],"controllers":[32],"focusIndex":[32],"inheritedAttributes":[32],"refresh":[64],"currentTab":[64],"setActiveTab":[64],"rerender":[64]},null,{"type":["validateType"],"color":["validateColor"],"size":["validateSize"]}]]],["p-c214c202",[[4,"gov-toast",{"color":[1],"gravity":[1],"position":[1],"type":[1],"time":[2],"closeLabel":[1,"close-label"],"accessibleCloseLabel":[1,"accessible-close-label"],"inheritedAttributes":[32],"destroy":[64]},null,{"color":["validateColor"]}]]],["p-aa8adc45",[[4,"gov-tooltip-content",{"color":[1],"size":[1],"persist":[4],"isVisible":[1028,"is-visible"],"parentId":[1,"parent-id"]},null,{"isVisible":["visibleContent"]}]]],["p-023787b3",[[4,"gov-accordion-item",{"identifier":[1],"size":[1],"disabled":[4],"open":[1028],"openState":[32],"toggle":[64],"currentState":[64]},null,{"size":["validateSize"]}]]],["p-904de5e6",[[4,"gov-card",{"promotion":[4],"collapsible":[4],"open":[1540],"accessibleTriggerLabel":[1,"accessible-label"],"accessibleTriggerLabelledBy":[1,"accessible-labelledby"],"validateAccessibility":[64]}]]],["p-0ebc8365",[[4,"gov-form-checkbox",{"value":[1],"checked":[1540],"required":[4],"disabled":[4],"indeterminate":[516],"name":[1],"size":[1],"identifier":[1],"noLabel":[4,"no-label"],"invalid":[4],"inheritedAttributes":[32],"getRef":[64]},null,{"size":["validateSize","watchControlAttrs"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"]}]]],["p-35e66bef",[[4,"gov-form-switch",{"value":[1],"noLabel":[4,"no-label"],"checked":[1540],"required":[4],"disabled":[4],"name":[1],"size":[1],"identifier":[1],"invalid":[4],"inheritedAttributes":[32],"getRef":[64]},null,{"size":["validateSize","watchDisabled"],"disabled":["watchDisabled"],"invalid":["watchDisabled"]}]]],["p-2effdd60",[[4,"gov-tag",{"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"size":[513],"color":[513],"type":[513]},null,{"color":["validateColor"],"size":["validateSize"]}]]],["p-9dde00d8",[[4,"gov-tile",{"size":[513],"orientation":[1],"noBorder":[4,"no-border"],"href":[513],"target":[1],"getTriggerRef":[64]}]]],["p-5dc0af54",[[4,"gov-wizard-item",{"color":[1],"size":[1],"identifier":[1],"collapsible":[4],"disabled":[4],"isExpanded":[1028,"is-expanded"],"open":[64],"close":[64],"toggle":[64],"currentState":[64]},null,{"color":["validateColor"]}]]],["p-477a5027",[[0,"gov-app"],[0,"gov-theme-switch",{"theme":[32]}]]],["p-9b41ac88",[[4,"gov-accordion",{"size":[1],"noBorder":[4,"no-border"]},null,{"size":["validateSize"]}]]],["p-006e52f1",[[4,"gov-container",{"slottedChildren":[64]}]]],["p-5dcbfca3",[[4,"gov-control-group",{"color":[1],"noBorder":[4,"no-border"],"fitContent":[4,"fit-content"]},null,{"color":["validateColor"]}]]],["p-e134b123",[[4,"gov-cookiebar"]]],["p-a5489b0e",[[4,"gov-dropdown",{"identifier":[1],"open":[1028],"position":[1],"getState":[64],"toggle":[64]},null,{"open":["watchOpen"]}]]],["p-17015e36",[[4,"gov-empty",{"size":[1]},null,{"size":["validateSize"]}]]],["p-91a9cd24",[[4,"gov-error-code"]]],["p-f1be099b",[[4,"gov-form-checkbox-group",{"gap":[1],"orientation":[1],"value":[1025]},null,{"gap":["validateGap"],"orientation":["validateOrientation"]}]]],["p-6b42a387",[[4,"gov-form-control",{"identifier":[1],"invalid":[516],"disabled":[516],"success":[516],"fieldset":[4],"size":[1]}]]],["p-9ff8f059",[[4,"gov-form-group",{"gap":[1],"orientation":[1]},null,{"gap":["validateGap"],"orientation":["validateOrientation"]}]]],["p-47e364bb",[[4,"gov-form-label",{"identifier":[1],"size":[1],"required":[4],"legend":[4]}]]],["p-f141ad5e",[[4,"gov-form-password-power",{"power":[514]}]]],["p-9d0f20ec",[[4,"gov-form-radio",{"value":[1],"noLabel":[4,"no-label"],"checked":[1540],"required":[4],"disabled":[4],"name":[1],"size":[1],"identifier":[1],"invalid":[4],"inheritedAttributes":[32],"getRef":[64]},null,{"size":["validateSize","watchControlAttrs"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"]}]]],["p-d2351924",[[4,"gov-form-radio-group",{"gap":[1],"orientation":[1],"value":[1025]},null,{"gap":["validateGap"],"orientation":["validateOrientation"]}]]],["p-eeb9cb73",[[4,"gov-form-search",{"size":[1],"color":[513]}]]],["p-a54f1db9",[[4,"gov-grid",{"alignX":[1,"align-x"],"alignY":[1,"align-y"]}]]],["p-83039b10",[[4,"gov-grid-item",{"size":[1],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]}]]],["p-a53a277a",[[4,"gov-layout",{"type":[1],"variant":[1],"inverse":[4]}]]],["p-b838bb27",[[4,"gov-layout-column"]]],["p-b3acb156",[[4,"gov-message",{"color":[1],"type":[1]},null,{"color":["validateColor"]}]]],["p-182189d2",[[0,"gov-spacer",{"size":[1],"breakpoint":[1]},null,{"size":["validateSize"],"breakpoint":["validateBreakpoint"]}]]],["p-2ed3afef",[[4,"gov-stepper",{"size":[1]},null,{"size":["validateSize"]}]]],["p-e4978aab",[[4,"gov-stepper-item",{"color":[1],"size":[1],"identifier":[1]},null,{"color":["validateColor"]}]]],["p-3f2b803c",[[4,"gov-tabs-item",{"identifier":[1],"triggerIdentifier":[1,"trigger-identifier"],"label":[513],"disabled":[516],"iconStart":[513,"icon-start"],"iconEnd":[513,"icon-end"],"default":[4],"isActive":[32],"getIdentifier":[64],"getTriggerIdentifier":[64],"getDisableState":[64],"setActiveStatus":[64]},null,{"label":["rerenderParent"],"disabled":["rerenderParent"]}]]],["p-c4c7cb24",[[4,"gov-tiles",{"columns":[514]}]]],["p-db940455",[[4,"gov-tooltip",{"color":[1],"size":[1],"position":[1025],"message":[1],"identifier":[1],"icon":[516],"persist":[32],"show":[64],"hide":[64]},null,{"color":["validateColor"],"size":["validateSize"],"position":["validatePosition"],"message":["rerenderMessage"]}]]],["p-963f9fcd",[[4,"gov-wizard",{"size":[1],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"validateWcag":[64]},null,{"size":["validateSize"]}]]],["p-74e9ad9d",[[0,"gov-icon",{"color":[513],"name":[513],"type":[513],"visible":[32],"error":[32]},null,{"color":["validateColor"],"name":["loadIconPathData"]}]]],["p-ab9ae7ba",[[4,"gov-button",{"color":[513],"size":[513],"type":[513],"expanded":[516],"name":[1],"disabled":[516],"nativeType":[1,"native-type"],"href":[1],"target":[1],"download":[4],"hreflang":[1],"referrerpolicy":[1],"rel":[1],"loading":[1],"focusable":[4],"identifier":[1],"inheritedAttributes":[32],"setFocus":[64],"getRef":[64],"validateAccessibility":[64]},null,{"color":["validateColor"],"type":["validateType"],"size":["validateSize"],"nativeType":["validateNativeType"]}]]],["p-fc90bf06",[[4,"gov-form-autocomplete",{"value":[1537],"options":[1537],"identifier":[1],"success":[4],"size":[1],"nameKey":[1,"name-key"],"name":[1],"required":[4],"disabled":[4],"placeholder":[1],"readonly":[4],"invalid":[4],"minlength":[2],"maxlength":[2],"throttleTime":[2,"throttle-time"],"messageEmpty":[1,"message-empty"],"messageLoading":[1,"message-loading"],"focused":[32],"processing":[32],"arrowCounter":[32],"list":[32],"inheritedAttributes":[32],"setFocus":[64],"setBlur":[64],"setOptions":[64],"clearValue":[64],"setProcessing":[64],"setSearchCallback":[64],"setTemplateResolver":[64]},null,{"size":["validateSize"],"options":["watchOptions"]}]]],["p-81b0848c",[[4,"gov-chip",{"disabled":[516],"href":[1],"target":[1],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"size":[1],"tag":[1],"color":[1],"type":[513],"focusable":[4],"identifier":[1],"inheritedAttributes":[32],"geRef":[64],"setFocus":[64]},null,{"color":["validateColor"],"size":["validateSize"]}]]],["p-fa7caad6",[[4,"gov-form-select",{"value":[1537],"options":[1537],"identifier":[1],"size":[1],"name":[1],"required":[4],"success":[4],"disabled":[4],"invalid":[4],"focused":[32],"optionsState":[32],"inheritedAttributes":[32],"setFocus":[64],"getRef":[64]},null,{"size":["validateSize","watchControlAttrs"],"options":["watchOptions"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"],"success":["watchControlAttrs"],"value":["watchValue"]}]]],["p-663d3db2",[[0,"gov-backdrop",{"inverse":[4],"disabled":[1540],"accessibleLabel":[1,"accessible-label"],"accessibleLabelledBy":[1,"accessible-labelledby"],"validateAccessibility":[64]}]]],["p-6d772ff9",[[4,"gov-attachments-item",{"accessibleRemoveLabel":[1,"accessible-remove-label"],"accessibleRemoveLabelledBy":[1,"accessible-remove-labelledby"],"validateAccessibility":[64]}],[4,"gov-attachments",{"label":[1],"wcagLabel":[1,"wcag-label"],"validateWcag":[64]}],[4,"gov-form-message",{"color":[1],"size":[1],"identifier":[64]},null,{"color":["validateColor"]}]]],["p-5c88f415",[[4,"gov-form-input",{"value":[1537],"identifier":[1],"success":[516],"size":[1],"name":[1],"multiline":[4],"rows":[2],"cols":[2],"required":[516],"disabled":[516],"placeholder":[1],"readonly":[4],"minlength":[2],"maxlength":[2],"min":[8],"max":[8],"autocomplete":[4],"autocorrect":[4],"spellcheck":[4],"inputLang":[1,"input-lang"],"type":[1],"inputType":[1,"input-type"],"role":[1],"invalid":[516],"accessibleShowPasswordLabel":[1,"accessible-show-password-label"],"accessibleHidePasswordLabel":[1,"accessible-hide-password-label"],"focused":[32],"showPassword":[32],"inheritedAttributes":[32],"setFocus":[64],"setValue":[64],"clearValue":[64],"getRef":[64]},null,{"size":["validateSize","watchControlAttrs"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"],"success":["watchControlAttrs"]}],[0,"gov-skeleton",{"size":[1],"color":[1],"shape":[1],"width":[1],"height":[1],"animation":[1],"inheritedAttributes":[32]},null,{"size":["validateSize"],"shape":["validateShape"],"animation":["validateAnimation"]}]]]]'),e)}));
|
|
1
|
+
import{p as e,H as i,b as l}from"./p-8506b611.js";export{s as setNonce}from"./p-8506b611.js";import{g as a}from"./p-e1255160.js";var t=()=>{{o(i.prototype)}const l=import.meta.url;const a={};if(l!==""){a.resourcesUrl=new URL(".",l).href}return e(a)};var o=e=>{const i=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return i.call(this,e)}const l=i.call(this,false);const a=this.childNodes;if(e){for(let e=0;e<a.length;e++){if(a[e].nodeType!==2){l.appendChild(a[e].cloneNode(true))}}}return l}};t().then((async e=>{await a();return l(JSON.parse('[["p-7de47344",[[4,"gov-form-file",{"expanded":[4],"required":[4],"disabled":[4],"resetAfterPick":[4,"reset-after-pick"],"ignoreFileDuplicationCheck":[4,"ignore-file-duplication-check"],"displayAttachments":[4,"display-attachments"],"name":[1],"accept":[1],"multiple":[4],"maxFileSize":[2,"max-file-size"],"identifier":[1],"invalid":[4],"errorSize":[1,"error-size"],"errorAccept":[1,"error-accept"],"attachmentsLabel":[1,"attachments-label"],"accessibleRemoveLabel":[1,"accessible-remove-label"],"accessibleAttachmentsLabel":[1,"accessible-attachments-label"],"files":[32],"inheritedAttributes":[32],"getRef":[64],"getAreaRef":[64],"reset":[64]},null,{"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"]}]]],["p-a274cdaa",[[4,"gov-form-multi-select",{"value":[1537],"options":[1537],"identifier":[1],"placeholder":[1],"size":[1],"name":[1],"hideSelectedList":[4,"hide-selected-list"],"required":[4],"disabled":[4],"invalid":[4],"success":[4],"messageEmpty":[1,"message-empty"],"messageLoading":[1,"message-loading"],"focused":[32],"valueState":[32],"selectedOptionsState":[32],"optionsState":[32],"inheritedAttributes":[32],"setFocus":[64],"setValue":[64],"getRef":[64]},null,{"size":["validateSize"],"options":["watchOptions"],"value":["watchValue"]}]]],["p-8f10919c",[[4,"gov-dialog",{"open":[1540],"blockClose":[4,"block-close"],"blockBackdropClose":[4,"block-backdrop-close"],"role":[1],"labelTag":[1,"label-tag"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleCloseLabel":[1,"accessible-close-label"],"accessibleCloseLabelledBy":[1,"accessible-close-labelled-by"],"setFocus":[64],"validateAccessibility":[64]},null,{"open":["watchOpen"]}]]],["p-f1c8a96b",[[0,"gov-pagination",{"type":[1],"current":[2],"total":[2],"selectIdentifier":[1,"select-identifier"],"size":[1],"color":[1],"pageSize":[2,"page-size"],"maxPages":[2,"max-pages"],"link":[1],"accessibleSelectLabel":[1,"accessible-select-label"],"accessiblePageLabel":[1,"accessible-page-label"],"labelPrev":[1,"label-prev"],"labelStart":[1,"label-start"],"labelNext":[1,"label-next"],"labelEnd":[1,"label-end"],"pagination":[32],"inheritedAttributes":[32]},null,{"type":["validateType"],"size":["validateSize"],"color":["validateColor"],"current":["recalculate"],"total":["recalculate"],"pageSize":["recalculate"],"maxPages":["recalculate"]}]]],["p-57b0e670",[[4,"gov-breadcrumbs",{"collapsible":[4],"isExpanded":[4,"is-expanded"],"accessibleLabel":[1,"accessible-label"],"accessibleLabelledBy":[1,"accessible-labelledby"],"accessibleToggleLabel":[1,"accessible-toggle-label"],"expanded":[32],"toggleOption":[32],"validateAccessibility":[64]}]]],["p-fb0df3a5",[[4,"gov-infobar",{"color":[1],"type":[1],"role":[1],"accessibleCloseLabel":[1,"accessible-close-label"],"accessibleToggleLabel":[1,"accessible-toggle-label"],"closable":[4],"toggleContent":[32],"inheritedAttributes":[32]},null,{"color":["validateColor"]}]]],["p-c0a5a3f7",[[4,"gov-loading",{"size":[1]},null,{"size":["validateSize"]}]]],["p-12680890",[[4,"gov-tabs",{"type":[1],"size":[1],"color":[1],"orientation":[1],"direction":[513],"controllers":[32],"focusIndex":[32],"inheritedAttributes":[32],"refresh":[64],"currentTab":[64],"setActiveTab":[64],"rerender":[64]},null,{"type":["validateType"],"color":["validateColor"],"size":["validateSize"]}]]],["p-ede7af0a",[[4,"gov-toast",{"color":[1],"gravity":[1],"position":[1],"type":[1],"time":[2],"closeLabel":[1,"close-label"],"accessibleCloseLabel":[1,"accessible-close-label"],"inheritedAttributes":[32],"destroy":[64]},null,{"color":["validateColor"]}]]],["p-4cb4de7b",[[4,"gov-tooltip-content",{"color":[1],"size":[1],"persist":[4],"isVisible":[1028,"is-visible"],"parentId":[1,"parent-id"]},null,{"isVisible":["visibleContent"]}]]],["p-31e7d262",[[4,"gov-accordion-item",{"identifier":[1],"size":[1025],"disabled":[4],"open":[1028],"openState":[32],"toggle":[64],"currentState":[64]},null,{"size":["validateSize"]}]]],["p-89b69743",[[4,"gov-card",{"promotion":[4],"collapsible":[4],"open":[1540],"accessibleTriggerLabel":[1,"accessible-label"],"accessibleTriggerLabelledBy":[1,"accessible-labelledby"],"validateAccessibility":[64]}]]],["p-3844a27d",[[4,"gov-form-checkbox",{"value":[1],"checked":[1540],"required":[4],"disabled":[4],"indeterminate":[516],"name":[1],"size":[1],"identifier":[1],"noLabel":[4,"no-label"],"invalid":[4],"inheritedAttributes":[32],"getRef":[64]},null,{"size":["validateSize","watchControlAttrs"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"]}]]],["p-f963bb2f",[[4,"gov-form-switch",{"value":[1],"noLabel":[4,"no-label"],"checked":[1540],"required":[4],"disabled":[4],"name":[1],"size":[1],"identifier":[1],"invalid":[4],"inheritedAttributes":[32],"getRef":[64]},null,{"size":["validateSize","watchDisabled"],"disabled":["watchDisabled"],"invalid":["watchDisabled"]}]]],["p-18dbe177",[[4,"gov-tag",{"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"size":[513],"color":[513],"type":[513]},null,{"color":["validateColor"],"size":["validateSize"]}]]],["p-eebc9e71",[[4,"gov-tile",{"size":[513],"orientation":[1],"noBorder":[4,"no-border"],"href":[513],"target":[1],"getTriggerRef":[64]}]]],["p-d4fbc249",[[4,"gov-wizard-item",{"color":[1],"size":[1],"identifier":[1],"collapsible":[4],"disabled":[4],"isExpanded":[1028,"is-expanded"],"open":[64],"close":[64],"toggle":[64],"currentState":[64]},null,{"color":["validateColor"]}]]],["p-1f1895c0",[[4,"gov-accordion",{"size":[1],"noBorder":[4,"no-border"]},null,{"size":["validateSize"]}]]],["p-e6af4c58",[[4,"gov-container",{"slottedChildren":[64]}]]],["p-1fdc2457",[[4,"gov-control-group",{"color":[1],"noBorder":[4,"no-border"],"fitContent":[4,"fit-content"]},null,{"color":["validateColor"]}]]],["p-8a796fbe",[[4,"gov-cookiebar"]]],["p-5ad3097c",[[4,"gov-dropdown",{"identifier":[1],"open":[1028],"position":[1],"getState":[64],"toggle":[64]},null,{"open":["watchOpen"]}]]],["p-10f9bf55",[[4,"gov-empty",{"size":[1]},null,{"size":["validateSize"]}]]],["p-b822b9ff",[[4,"gov-error-code"]]],["p-a9a095c2",[[4,"gov-flex",{"direction":[1],"justifyContent":[513,"justify-content"],"alignItems":[513,"align-items"],"wrap":[513],"alignContent":[513,"align-content"],"alignSelf":[513,"align-self"]}]]],["p-67200095",[[4,"gov-form-checkbox-group",{"gap":[1],"orientation":[1],"value":[1025]},null,{"gap":["validateGap"],"orientation":["validateOrientation"]}]]],["p-7591976a",[[4,"gov-form-control",{"identifier":[1],"invalid":[516],"disabled":[516],"success":[516],"fieldset":[4],"size":[1]}]]],["p-0d2c4d31",[[4,"gov-form-group",{"gap":[1],"orientation":[1]},null,{"gap":["validateGap"],"orientation":["validateOrientation"]}]]],["p-915e53ac",[[4,"gov-form-label",{"identifier":[1],"size":[1],"required":[4],"legend":[4]}]]],["p-215504c1",[[4,"gov-form-password-power",{"power":[514]}]]],["p-0a24806a",[[4,"gov-form-radio",{"value":[1],"noLabel":[4,"no-label"],"checked":[1540],"required":[4],"disabled":[4],"name":[1],"size":[1],"identifier":[1],"invalid":[4],"inheritedAttributes":[32],"getRef":[64]},null,{"size":["validateSize","watchControlAttrs"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"]}]]],["p-d3963396",[[4,"gov-form-radio-group",{"gap":[1],"orientation":[1],"value":[1025]},null,{"gap":["validateGap"],"orientation":["validateOrientation"]}]]],["p-83aa4327",[[4,"gov-form-search",{"size":[1],"color":[513]}]]],["p-b50ffab3",[[4,"gov-grid",{"alignX":[1,"align-x"],"alignY":[1,"align-y"]}]]],["p-2c3ddc57",[[4,"gov-grid-item",{"size":[1],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]}]]],["p-92e13f9d",[[4,"gov-layout",{"type":[1],"variant":[1],"inverse":[4]}]]],["p-668ca722",[[4,"gov-layout-column"]]],["p-58dc3ec3",[[0,"gov-lifecycle"]]],["p-32bba4e7",[[4,"gov-message",{"color":[1],"type":[1]},null,{"color":["validateColor"]}]]],["p-56f9e026",[[0,"gov-spacer",{"size":[1],"breakpoint":[1]},null,{"size":["validateSize"],"breakpoint":["validateBreakpoint"]}]]],["p-eebf7ad8",[[4,"gov-stepper",{"size":[1]},null,{"size":["validateSize"]}]]],["p-1600c1fb",[[4,"gov-stepper-item",{"color":[1],"size":[1],"identifier":[1]},null,{"color":["validateColor"]}]]],["p-d1c4eb91",[[4,"gov-tabs-item",{"identifier":[1],"triggerIdentifier":[1,"trigger-identifier"],"label":[513],"disabled":[516],"iconStart":[513,"icon-start"],"iconEnd":[513,"icon-end"],"default":[4],"isActive":[32],"getIdentifier":[64],"getTriggerIdentifier":[64],"getDisableState":[64],"setActiveStatus":[64]},null,{"label":["rerenderParent"],"disabled":["rerenderParent"]}]]],["p-18025823",[[0,"gov-theme-switch",{"theme":[32]}]]],["p-b70cc248",[[4,"gov-tiles",{"columns":[514]}]]],["p-212759be",[[4,"gov-tooltip",{"color":[1],"size":[1],"position":[1025],"message":[1],"identifier":[1],"icon":[516],"persist":[32],"show":[64],"hide":[64]},null,{"color":["validateColor"],"size":["validateSize"],"position":["validatePosition"],"message":["rerenderMessage"]}]]],["p-75ea368b",[[4,"gov-wizard",{"size":[1],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"validateWcag":[64]},null,{"size":["validateSize"]}]]],["p-1a550eee",[[0,"gov-icon",{"color":[513],"name":[513],"type":[513],"visible":[32],"error":[32]},null,{"color":["validateColor"],"name":["loadIconPathData"]}]]],["p-7b48b1b8",[[4,"gov-button",{"color":[513],"size":[513],"type":[513],"expanded":[516],"name":[1],"disabled":[516],"nativeType":[1,"native-type"],"href":[1],"target":[1],"download":[4],"hreflang":[1],"referrerpolicy":[1],"rel":[1],"loading":[1],"focusable":[4],"identifier":[1],"inheritedAttributes":[32],"setFocus":[64],"getRef":[64],"validateAccessibility":[64]},null,{"color":["validateColor"],"type":["validateType"],"size":["validateSize"],"nativeType":["validateNativeType"]}]]],["p-d949aac7",[[4,"gov-form-autocomplete",{"value":[1537],"options":[1537],"identifier":[1],"success":[4],"size":[1],"nameKey":[1,"name-key"],"name":[1],"required":[4],"disabled":[4],"placeholder":[1],"readonly":[4],"invalid":[4],"minlength":[2],"maxlength":[2],"throttleTime":[2,"throttle-time"],"messageEmpty":[1,"message-empty"],"messageLoading":[1,"message-loading"],"focused":[32],"processing":[32],"arrowCounter":[32],"list":[32],"inheritedAttributes":[32],"setFocus":[64],"setBlur":[64],"setOptions":[64],"clearValue":[64],"setProcessing":[64],"setSearchCallback":[64],"setTemplateResolver":[64]},null,{"size":["validateSize"],"options":["watchOptions"]}]]],["p-ab68c0b7",[[4,"gov-chip",{"disabled":[516],"href":[1],"target":[1],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"size":[1],"tag":[1],"color":[1],"type":[513],"focusable":[4],"identifier":[1],"inheritedAttributes":[32],"geRef":[64],"setFocus":[64]},null,{"color":["validateColor"],"size":["validateSize"]}]]],["p-378e0723",[[4,"gov-form-select",{"value":[1537],"options":[1537],"identifier":[1],"size":[1],"name":[1],"required":[4],"success":[4],"disabled":[4],"invalid":[4],"focused":[32],"optionsState":[32],"inheritedAttributes":[32],"setFocus":[64],"getRef":[64]},null,{"size":["validateSize","watchControlAttrs"],"options":["watchOptions"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"],"success":["watchControlAttrs"],"value":["watchValue"]}]]],["p-8fe36a5b",[[0,"gov-backdrop",{"inverse":[4],"disabled":[1540],"accessibleLabel":[1,"accessible-label"],"accessibleLabelledBy":[1,"accessible-labelledby"],"validateAccessibility":[64]}]]],["p-c5b5fd69",[[4,"gov-attachments-item",{"accessibleRemoveLabel":[1,"accessible-remove-label"],"accessibleRemoveLabelledBy":[1,"accessible-remove-labelledby"],"validateAccessibility":[64]}],[4,"gov-attachments",{"label":[1],"wcagLabel":[1,"wcag-label"],"validateWcag":[64]}],[4,"gov-form-message",{"color":[1],"size":[1],"identifier":[64]},null,{"color":["validateColor"]}]]],["p-731fe7d8",[[4,"gov-form-input",{"value":[1537],"identifier":[1],"success":[516],"size":[1],"name":[1],"multiline":[4],"rows":[2],"cols":[2],"required":[516],"disabled":[516],"placeholder":[1],"readonly":[4],"minlength":[2],"maxlength":[2],"min":[8],"max":[8],"autocomplete":[4],"autocorrect":[4],"spellcheck":[4],"inputLang":[1,"input-lang"],"type":[1],"inputType":[1,"input-type"],"role":[1],"invalid":[516],"accessibleShowPasswordLabel":[1,"accessible-show-password-label"],"accessibleHidePasswordLabel":[1,"accessible-hide-password-label"],"focused":[32],"showPassword":[32],"inheritedAttributes":[32],"setFocus":[64],"setValue":[64],"clearValue":[64],"getRef":[64]},null,{"size":["validateSize","watchControlAttrs"],"disabled":["watchControlAttrs"],"invalid":["watchControlAttrs"],"success":["watchControlAttrs"]}],[0,"gov-skeleton",{"size":[1],"color":[1],"shape":[1],"width":[1],"height":[1],"animation":[1],"inheritedAttributes":[32]},null,{"size":["validateSize"],"shape":["validateShape"],"animation":["validateAnimation"]}]]]]'),e)}));
|
|
2
2
|
//# sourceMappingURL=core.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["patchBrowser","patchCloneNodeFix","H","prototype","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","HTMLElementPrototype","nativeCloneNodeFn","cloneNode","deep","this","nodeName","call","clonedNode","srcChildNodes","childNodes","i","length","nodeType","appendChild","then","async","options","globalScripts","bootstrapLazy","JSON","parse"],"sources":["../../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"iIAOA,IAAIA,EAAe,KAIO,CACtBC,EAAkBC,EAAEC,UACxB,CAIE,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,EAAeJ,EAAK,EAE7B,IAAIL,EAAqBU,IACvB,MAAMC,EAAoBD,EAAqBE,UAC/CF,EAAqBE,UAAY,SAASC,GACxC,GAAIC,KAAKC,WAAa,WAAY,CAChC,OAAOJ,EAAkBK,KAAKF,KAAMD,EAC1C,CACI,MAAMI,EAAaN,EAAkBK,KAAKF,KAAM,OAChD,MAAMI,EAAgBJ,KAAKK,WAC3B,GAAIN,EAAM,CACR,IAAK,IAAIO,EAAI,EAAGA,EAAIF,EAAcG,OAAQD,IAAK,CAC7C,GAAIF,EAAcE,GAAGE,WAAa,EAAG,CACnCL,EAAWM,YAAYL,EAAcE,GAAGR,UAAU,MAC5D,CACA,CACA,CACI,OAAOK,CACX,CAAG,ECpCHlB,IAAeyB,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAcC,KAAAC,MAAA,
|
|
1
|
+
{"version":3,"names":["patchBrowser","patchCloneNodeFix","H","prototype","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","HTMLElementPrototype","nativeCloneNodeFn","cloneNode","deep","this","nodeName","call","clonedNode","srcChildNodes","childNodes","i","length","nodeType","appendChild","then","async","options","globalScripts","bootstrapLazy","JSON","parse"],"sources":["../../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"iIAOA,IAAIA,EAAe,KAIO,CACtBC,EAAkBC,EAAEC,UACxB,CAIE,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,EAAeJ,EAAK,EAE7B,IAAIL,EAAqBU,IACvB,MAAMC,EAAoBD,EAAqBE,UAC/CF,EAAqBE,UAAY,SAASC,GACxC,GAAIC,KAAKC,WAAa,WAAY,CAChC,OAAOJ,EAAkBK,KAAKF,KAAMD,EAC1C,CACI,MAAMI,EAAaN,EAAkBK,KAAKF,KAAM,OAChD,MAAMI,EAAgBJ,KAAKK,WAC3B,GAAIN,EAAM,CACR,IAAK,IAAIO,EAAI,EAAGA,EAAIF,EAAcG,OAAQD,IAAK,CAC7C,GAAIF,EAAcE,GAAGE,WAAa,EAAG,CACnCL,EAAWM,YAAYL,EAAcE,GAAGR,UAAU,MAC5D,CACA,CACA,CACI,OAAOK,CACX,CAAG,ECpCHlB,IAAeyB,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAcC,KAAAC,MAAA,oiZAAuCJ,EAAA","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,c as s,h as i,a as e,g as a}from"./p-8506b611.js";import{c as h}from"./p-cd6c2938.js";import{v as r}from"./p-169b67af.js";import{g as o,e as n,f as c}from"./p-a693ffbf.js";import{g as d,c as l,t as p}from"./p-0075138f.js";import{F as m}from"./p-1c1d0bbe.js";import{A as f,a as u}from"./p-9ac55bd1.js";import{i as b}from"./p-d9a299a4.js";import"./p-b48a4aa0.js";import"./p-e0d428c9.js";import"./p-45a30859.js";import"./p-92f420cb.js";import"./p-6aa40794.js";import"./p-e3aeaca0.js";import"./p-42d9924c.js";import"./p-2614044c.js";const j=class{constructor(i){t(this,i);this.govFocus=s(this,"gov-focus",7);this.govBlur=s(this,"gov-blur",7);this.govChange=s(this,"gov-change",7);this.hydrated=false;this.value=undefined;this.noLabel=false;this.checked=false;this.required=false;this.disabled=false;this.name=undefined;this.size="m";this.identifier=undefined;this.invalid=undefined;this.inheritedAttributes={};this.radioId=h("GovRadio");this.h=d(this.host);this.f=o(this.h)}validateSize(t){r(c,t,n.root)}watchControlAttrs(){this.passControlAttrs()}passControlAttrs(){this.f.passAttrToControl("size",this.size);this.f.passAttrToControl("invalid",l(this.invalid));this.f.passAttrToControl("disabled",l(this.disabled));this.f.passAttrToControl("type","radio")}componentWillLoad(){this.inheritedAttributes=b(this.host)}componentDidLoad(){this.attributeObserver=new f(this.host,((t,s)=>{this.onAriaAttributeChange(t,s)}));this.attributeObserver.startObserving(u)}async componentDidRender(){this.f.passAttrToLabel("identifier",this.identifier||this.radioId);this.f.passAttrToLabel("required",String(this.required));this.passControlAttrs()}connectedCallback(){this.hydrated=true}disconnectedCallback(){this.attributeObserver.stopObserving()}onAriaAttributeChange(t,s){this.host.removeAttribute(t);this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:s})}render(){const t=t=>{if(this.noLabel){return i("label",{class:n.label},t)}return t};return i(e,{class:n.root,hydrated:this.hydrated,checked:this.checked,size:this.size,invalid:p(this.invalid)},t(i(m,null,i("input",Object.assign({class:n.input,id:this.identifier||this.radioId,type:"radio",value:this.value,name:this.name,checked:this.checked,disabled:this.disabled,onClick:this.onClickHandler.bind(this),onChange:this.onChangeHandler.bind(this),onFocus:this.onFocusHandler.bind(this),onBlur:this.onBlurHandler.bind(this),ref:t=>this.inputRef=t,required:this.required},this.inheritedAttributes,{"aria-checked":this.checked,"aria-required":p(this.required),"aria-invalid":p(this.invalid),"aria-disabled":p(this.disabled)})),i("span",null,i("slot",{name:"label"})))))}onClickHandler(t){t.stopPropagation()}onFocusHandler(t){t.stopPropagation();this.govFocus.emit({component:n.root,value:this.value,checked:this.checked,originalEvent:t})}onBlurHandler(t){t.stopPropagation();this.govBlur.emit({component:n.root,value:this.value,checked:this.checked,originalEvent:t})}onChangeHandler(t){this.checked=t.target.checked;t.stopPropagation();this.govChange.emit({component:n.root,value:this.value,checked:this.checked,originalEvent:t})}async getRef(){return this.inputRef}get host(){return a(this)}static get watchers(){return{size:["validateSize","watchControlAttrs"],disabled:["watchControlAttrs"],invalid:["watchControlAttrs"]}}};export{j as gov_form_radio};
|
|
2
|
+
//# sourceMappingURL=p-0a24806a.entry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["GovFormRadio","constructor","hostRef","this","hydrated","radioId","createID","h","govHost","host","f","govForm","validateSize","newValue","validateProp","FormRadioSizes","FormRadioClass","root","watchControlAttrs","passControlAttrs","passAttrToControl","size","toBoolAttr","invalid","disabled","componentWillLoad","inheritedAttributes","inheritAriaAttributes","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","componentDidRender","passAttrToLabel","identifier","String","required","connectedCallback","disconnectedCallback","stopObserving","removeAttribute","Object","assign","render","wrapRadio","children","noLabel","class","label","Host","checked","toBoolAttrIfDefined","Fragment","input","id","type","value","name","onClick","onClickHandler","bind","onChange","onChangeHandler","onFocus","onFocusHandler","onBlur","onBlurHandler","ref","el","inputRef","e","stopPropagation","govFocus","emit","component","originalEvent","govBlur","target","govChange","getRef"],"sources":["../../../packages/core/src/components/gov-form/radio/gov-form-radio.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {createID} from \"../../../utils/string.utils\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {FormRadioClass, FormRadioSizes, FormRadioSizesType} from \"./constants\"\nimport {govHost, toBoolAttr, toBoolAttrIfDefined} from \"../../../helpers/Dom/template\"\nimport {GovForm} from \"../../../helpers/Dom/form.types\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govForm} from \"../../../helpers/Dom/form\"\nimport Fragment from \"../../../helpers/Fragment\"\nimport {FormRadioEvent} from \"./gov-form-radio.types\"\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\n\n@Component({\n\ttag: \"gov-form-radio\",\n})\nexport class GovFormRadio {\n\tprivate readonly h: GovHost\n\tprivate f: GovForm\n\tprivate inputRef?: HTMLInputElement\n\tprivate attributeObserver: AttributeObserver\n\n\tprivate readonly radioId: string\n\tprivate hydrated = false\n\n\tconstructor() {\n\t\tthis.radioId = createID(\"GovRadio\")\n\n\t\tthis.h = govHost(this.host)\n\t\tthis.f = govForm(this.h)\n\t}\n\n\t@Element() host: HTMLGovFormRadioElement\n\t/**\n\t * Value of radio\n\t */\n\t@Prop() readonly value: string\n\t/**\n\t * When you can't use the form label.\n\t */\n\t@Prop({attribute: \"no-label\"}) readonly noLabel: boolean = false\n\t/**\n\t * Radio button state\n\t */\n\t@Prop({reflect: true, mutable: true}) checked = false\n\t/**\n\t * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\n\t * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.\n\t */\n\t@Prop() readonly required: boolean = false\n\t/**\n\t * Makes the radio component disabled.\n\t * This prevents users from being able to interact with the radio, and conveys its inactive state to assistive technologies.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Name of the radio.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Radio's size.\n\t */\n\t@Prop() readonly size?: FormRadioSizesType = \"m\"\n\t/**\n\t * Custom radio identifier.\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * Indicates the entered value does not conform to the format expected by the application.\n\t */\n\t@Prop() readonly invalid: boolean\n\t/**\n\t * Emitted when the radio has focus.\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<FormRadioEvent>\n\t/**\n\t * Emitted when the radio loses focus.\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<FormRadioEvent>\n\t/**\n\t * Emitted when the radio change value.\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<FormRadioEvent>\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormRadioSizes, newValue, FormRadioClass.root)\n\t}\n\n\t@Watch(\"disabled\")\n\t@Watch(\"invalid\")\n\t@Watch(\"size\")\n\twatchControlAttrs(): void {\n\t\tthis.passControlAttrs()\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tprivate passControlAttrs() {\n\t\tthis.f.passAttrToControl(\"size\", this.size)\n\t\tthis.f.passAttrToControl(\"invalid\", toBoolAttr(this.invalid))\n\t\tthis.f.passAttrToControl(\"disabled\", toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl(\"type\", \"radio\")\n\t}\n\n\n\tcomponentWillLoad() {\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tasync componentDidRender() {\n\t\tthis.f.passAttrToLabel(\"identifier\", this.identifier || this.radioId)\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\n\t\tthis.passControlAttrs()\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver.stopObserving();\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\trender() {\n\t\tconst wrapRadio = (children) => {\n\t\t\tif (this.noLabel) {\n\t\t\t\treturn <label class={FormRadioClass.label}>{children}</label>\n\t\t\t}\n\t\t\treturn children\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class={FormRadioClass.root} hydrated={this.hydrated} checked={this.checked} size={this.size}\n\t\t\t\t invalid={toBoolAttrIfDefined(this.invalid)}>\n\t\t\t\t{wrapRadio(\n\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclass={FormRadioClass.input}\n\t\t\t\t\t\t\tid={this.identifier || this.radioId}\n\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\t\tchecked={this.checked}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\t\t\tonChange={this.onChangeHandler.bind(this)}\n\t\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\n\t\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t\t\taria-checked={this.checked}\n\t\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t<slot name=\"label\"/>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</Fragment>,\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e: PointerEvent) {\n\t\te.stopPropagation()\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormRadioClass.root,\n\t\t\tvalue: this.value,\n\t\t\tchecked: this.checked,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: FormRadioClass.root,\n\t\t\tvalue: this.value,\n\t\t\tchecked: this.checked,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onChangeHandler(e: Event) {\n\t\tthis.checked = (e.target as HTMLInputElement).checked\n\t\te.stopPropagation()\n\t\tthis.govChange.emit({\n\t\t\tcomponent: FormRadioClass.root,\n\t\t\tvalue: this.value,\n\t\t\tchecked: this.checked,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the reference of the native element\n\t */\n\t@Method()\n\tasync getRef(): Promise<HTMLInputElement> {\n\t\treturn this.inputRef\n\t}\n}\n"],"mappings":"giBAiBaA,EAAY,MASxB,WAAAC,CAAAC,G,sHAFQC,KAAAC,SAAW,M,kCAiBwC,M,aAIX,M,cAKX,M,cAKA,M,8BAQQ,I,0EAkCF,GAtE1CD,KAAKE,QAAUC,EAAS,YAExBH,KAAKI,EAAIC,EAAQL,KAAKM,MACtBN,KAAKO,EAAIC,EAAQR,KAAKI,E,CAwDvB,YAAAK,CAAaC,GACZC,EAAaC,EAAgBF,EAAUG,EAAeC,K,CAMvD,iBAAAC,GACCf,KAAKgB,kB,CAKE,gBAAAA,GACPhB,KAAKO,EAAEU,kBAAkB,OAAQjB,KAAKkB,MACtClB,KAAKO,EAAEU,kBAAkB,UAAWE,EAAWnB,KAAKoB,UACpDpB,KAAKO,EAAEU,kBAAkB,WAAYE,EAAWnB,KAAKqB,WACrDrB,KAAKO,EAAEU,kBAAkB,OAAQ,Q,CAIlC,iBAAAK,GACCtB,KAAKuB,oBAAsBC,EAAsBxB,KAAKM,K,CAGvD,gBAAAmB,GACCzB,KAAK0B,kBAAoB,IAAIC,EAAkB3B,KAAKM,MAAM,CAACsB,EAAelB,KACzEV,KAAK6B,sBAAsBD,EAAelB,EAAS,IAGpDV,KAAK0B,kBAAkBI,eAAeC,E,CAGvC,wBAAMC,GACLhC,KAAKO,EAAE0B,gBAAgB,aAAcjC,KAAKkC,YAAclC,KAAKE,SAC7DF,KAAKO,EAAE0B,gBAAgB,WAAYE,OAAOnC,KAAKoC,WAC/CpC,KAAKgB,kB,CAGN,iBAAAqB,GACCrC,KAAKC,SAAW,I,CAGjB,oBAAAqC,GACCtC,KAAK0B,kBAAkBa,e,CAGxB,qBAAAV,CAAsBD,EAAuBlB,GAC5CV,KAAKM,KAAKkC,gBAAgBZ,GAC1B5B,KAAKuB,oBAAmBkB,OAAAC,OAAAD,OAAAC,OAAA,GAAO1C,KAAKuB,qBAAmB,CAAEK,CAACA,GAAgBlB,G,CAG3E,MAAAiC,GACC,MAAMC,EAAaC,IAClB,GAAI7C,KAAK8C,QAAS,CACjB,OAAO1C,EAAA,SAAO2C,MAAOlC,EAAemC,OAAQH,E,CAE7C,OAAOA,CAAQ,EAGhB,OACCzC,EAAC6C,EAAI,CAACF,MAAOlC,EAAeC,KAAMb,SAAUD,KAAKC,SAAUiD,QAASlD,KAAKkD,QAAShC,KAAMlB,KAAKkB,KAC1FE,QAAS+B,EAAoBnD,KAAKoB,UACnCwB,EACAxC,EAACgD,EAAQ,KACRhD,EAAA,QAAAqC,OAAAC,OAAA,CACCK,MAAOlC,EAAewC,MACtBC,GAAItD,KAAKkC,YAAclC,KAAKE,QAC5BqD,KAAK,QACLC,MAAOxD,KAAKwD,MACZC,KAAMzD,KAAKyD,KACXP,QAASlD,KAAKkD,QACd7B,SAAUrB,KAAKqB,SACfqC,QAAS1D,KAAK2D,eAAeC,KAAK5D,MAClC6D,SAAU7D,KAAK8D,gBAAgBF,KAAK5D,MACpC+D,QAAS/D,KAAKgE,eAAeJ,KAAK5D,MAClCiE,OAAQjE,KAAKkE,cAAcN,KAAK5D,MAChCmE,IAAKC,GAAOpE,KAAKqE,SAAWD,EAC5BhC,SAAUpC,KAAKoC,UACXpC,KAAKuB,oBAAmB,gBACdvB,KAAKkD,QAAO,gBACXC,EAAoBnD,KAAKoC,UAAS,eACnCe,EAAoBnD,KAAKoB,SAAQ,gBAChC+B,EAAoBnD,KAAKqB,aAEzCjB,EAAA,YACCA,EAAA,QAAMqD,KAAK,a,CAQT,cAAAE,CAAeW,GACtBA,EAAEC,iB,CAGK,cAAAP,CAAeM,GACtBA,EAAEC,kBACFvE,KAAKwE,SAASC,KAAK,CAClBC,UAAW7D,EAAeC,KAC1B0C,MAAOxD,KAAKwD,MACZN,QAASlD,KAAKkD,QACdyB,cAAeL,G,CAIT,aAAAJ,CAAcI,GACrBA,EAAEC,kBACFvE,KAAK4E,QAAQH,KAAK,CACjBC,UAAW7D,EAAeC,KAC1B0C,MAAOxD,KAAKwD,MACZN,QAASlD,KAAKkD,QACdyB,cAAeL,G,CAIT,eAAAR,CAAgBQ,GACvBtE,KAAKkD,QAAWoB,EAAEO,OAA4B3B,QAC9CoB,EAAEC,kBACFvE,KAAK8E,UAAUL,KAAK,CACnBC,UAAW7D,EAAeC,KAC1B0C,MAAOxD,KAAKwD,MACZN,QAASlD,KAAKkD,QACdyB,cAAeL,G,CAQjB,YAAMS,GACL,OAAO/E,KAAKqE,Q","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["GovFormRadio","constructor","hostRef","this","hydrated","radioId","createID","h","govHost","host","f","govForm","validateSize","newValue","validateProp","FormRadioSizes","FormRadioClass","root","watchControlAttrs","passControlAttrs","passAttrToControl","size","toBoolAttr","invalid","disabled","componentWillLoad","inheritedAttributes","inheritAriaAttributes","componentDidLoad","attributeObserver","AttributeObserver","attributeName","onAriaAttributeChange","startObserving","ariaAttributes","componentDidRender","passAttrToLabel","identifier","String","required","connectedCallback","disconnectedCallback","stopObserving","removeAttribute","Object","assign","render","wrapRadio","children","noLabel","class","label","Host","checked","toBoolAttrIfDefined","Fragment","input","id","type","value","name","onClick","onClickHandler","bind","onChange","onChangeHandler","onFocus","onFocusHandler","onBlur","onBlurHandler","ref","el","inputRef","e","stopPropagation","govFocus","emit","component","originalEvent","govBlur","target","govChange","getRef"],"sources":["../../../packages/core/src/components/gov-form/radio/gov-form-radio.tsx"],"sourcesContent":["import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {createID} from \"../../../utils/string.utils\"\nimport {validateProp} from \"../../../helpers/Validate/props\"\nimport {FormRadioClass, FormRadioSizes, FormRadioSizesType} from \"./constants\"\nimport {govHost, toBoolAttr, toBoolAttrIfDefined} from \"../../../helpers/Dom/template\"\nimport {GovForm} from \"../../../helpers/Dom/form.types\"\nimport {GovHost} from \"../../../helpers/Dom/template.types\"\nimport {govForm} from \"../../../helpers/Dom/form\"\nimport Fragment from \"../../../helpers/Fragment\"\nimport {FormRadioEvent} from \"./gov-form-radio.types\"\nimport {AttributeObserver, Attributes} from \"../../../helpers/Dom/attribute\";\nimport {inheritAriaAttributes} from \"../../../helpers/Accessibility/accessibility\";\nimport {ariaAttributes} from \"../../../helpers/Accessibility/attributes\";\n\n@Component({\n\ttag: \"gov-form-radio\",\n})\nexport class GovFormRadio {\n\tprivate readonly h: GovHost\n\tprivate f: GovForm\n\tprivate inputRef?: HTMLInputElement\n\tprivate attributeObserver: AttributeObserver\n\n\tprivate readonly radioId: string\n\tprivate hydrated = false\n\n\tconstructor() {\n\t\tthis.radioId = createID(\"GovRadio\")\n\n\t\tthis.h = govHost(this.host)\n\t\tthis.f = govForm(this.h)\n\t}\n\n\t@Element() host: HTMLGovFormRadioElement\n\t/**\n\t * Value of radio\n\t */\n\t@Prop() readonly value: string\n\t/**\n\t * When you can't use the form label.\n\t */\n\t@Prop({attribute: \"no-label\"}) readonly noLabel: boolean = false\n\t/**\n\t * Radio button state\n\t */\n\t@Prop({reflect: true, mutable: true}) checked = false\n\t/**\n\t * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\n\t * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.\n\t */\n\t@Prop() readonly required: boolean = false\n\t/**\n\t * Makes the radio component disabled.\n\t * This prevents users from being able to interact with the radio, and conveys its inactive state to assistive technologies.\n\t */\n\t@Prop() readonly disabled: boolean = false\n\t/**\n\t * Name of the radio.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Radio's size.\n\t */\n\t@Prop() readonly size?: FormRadioSizesType = \"m\"\n\t/**\n\t * Custom radio identifier.\n\t */\n\t@Prop({attribute: \"identifier\"}) readonly identifier: string\n\t/**\n\t * Indicates the entered value does not conform to the format expected by the application.\n\t */\n\t@Prop() readonly invalid: boolean\n\t/**\n\t * Emitted when the radio has focus.\n\t */\n\t@Event({eventName: \"gov-focus\"}) govFocus: EventEmitter<FormRadioEvent>\n\t/**\n\t * Emitted when the radio loses focus.\n\t */\n\t@Event({eventName: \"gov-blur\"}) govBlur: EventEmitter<FormRadioEvent>\n\t/**\n\t * Emitted when the radio change value.\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<FormRadioEvent>\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormRadioSizes, newValue, FormRadioClass.root)\n\t}\n\n\t@Watch(\"disabled\")\n\t@Watch(\"invalid\")\n\t@Watch(\"size\")\n\twatchControlAttrs(): void {\n\t\tthis.passControlAttrs()\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tprivate passControlAttrs() {\n\t\tthis.f.passAttrToControl(\"size\", this.size)\n\t\tthis.f.passAttrToControl(\"invalid\", toBoolAttr(this.invalid))\n\t\tthis.f.passAttrToControl(\"disabled\", toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl(\"type\", \"radio\")\n\t}\n\n\n\tcomponentWillLoad() {\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tasync componentDidRender() {\n\t\tthis.f.passAttrToLabel(\"identifier\", this.identifier || this.radioId)\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\n\t\tthis.passControlAttrs()\n\t}\n\n\tconnectedCallback() {\n\t\tthis.hydrated = true\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis.attributeObserver.stopObserving();\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\trender() {\n\t\tconst wrapRadio = (children) => {\n\t\t\tif (this.noLabel) {\n\t\t\t\treturn <label class={FormRadioClass.label}>{children}</label>\n\t\t\t}\n\t\t\treturn children\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class={FormRadioClass.root} hydrated={this.hydrated} checked={this.checked} size={this.size}\n\t\t\t\t invalid={toBoolAttrIfDefined(this.invalid)}>\n\t\t\t\t{wrapRadio(\n\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclass={FormRadioClass.input}\n\t\t\t\t\t\t\tid={this.identifier || this.radioId}\n\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\t\tchecked={this.checked}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\t\t\tonChange={this.onChangeHandler.bind(this)}\n\t\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\n\t\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\t\t{...this.inheritedAttributes}\n\t\t\t\t\t\t\taria-checked={this.checked}\n\t\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t<slot name=\"label\"/>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</Fragment>,\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e: PointerEvent) {\n\t\te.stopPropagation()\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormRadioClass.root,\n\t\t\tvalue: this.value,\n\t\t\tchecked: this.checked,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: FormRadioClass.root,\n\t\t\tvalue: this.value,\n\t\t\tchecked: this.checked,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onChangeHandler(e: Event) {\n\t\tthis.checked = (e.target as HTMLInputElement).checked\n\t\te.stopPropagation()\n\t\tthis.govChange.emit({\n\t\t\tcomponent: FormRadioClass.root,\n\t\t\tvalue: this.value,\n\t\t\tchecked: this.checked,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the reference of the native element\n\t */\n\t@Method()\n\tasync getRef(): Promise<HTMLInputElement> {\n\t\treturn this.inputRef\n\t}\n}\n"],"mappings":"qiBAiBaA,EAAY,MASxB,WAAAC,CAAAC,G,sHAFQC,KAAAC,SAAW,M,kCAiBwC,M,aAIX,M,cAKX,M,cAKA,M,8BAQQ,I,0EAkCF,GAtE1CD,KAAKE,QAAUC,EAAS,YAExBH,KAAKI,EAAIC,EAAQL,KAAKM,MACtBN,KAAKO,EAAIC,EAAQR,KAAKI,E,CAwDvB,YAAAK,CAAaC,GACZC,EAAaC,EAAgBF,EAAUG,EAAeC,K,CAMvD,iBAAAC,GACCf,KAAKgB,kB,CAKE,gBAAAA,GACPhB,KAAKO,EAAEU,kBAAkB,OAAQjB,KAAKkB,MACtClB,KAAKO,EAAEU,kBAAkB,UAAWE,EAAWnB,KAAKoB,UACpDpB,KAAKO,EAAEU,kBAAkB,WAAYE,EAAWnB,KAAKqB,WACrDrB,KAAKO,EAAEU,kBAAkB,OAAQ,Q,CAIlC,iBAAAK,GACCtB,KAAKuB,oBAAsBC,EAAsBxB,KAAKM,K,CAGvD,gBAAAmB,GACCzB,KAAK0B,kBAAoB,IAAIC,EAAkB3B,KAAKM,MAAM,CAACsB,EAAelB,KACzEV,KAAK6B,sBAAsBD,EAAelB,EAAS,IAGpDV,KAAK0B,kBAAkBI,eAAeC,E,CAGvC,wBAAMC,GACLhC,KAAKO,EAAE0B,gBAAgB,aAAcjC,KAAKkC,YAAclC,KAAKE,SAC7DF,KAAKO,EAAE0B,gBAAgB,WAAYE,OAAOnC,KAAKoC,WAC/CpC,KAAKgB,kB,CAGN,iBAAAqB,GACCrC,KAAKC,SAAW,I,CAGjB,oBAAAqC,GACCtC,KAAK0B,kBAAkBa,e,CAGxB,qBAAAV,CAAsBD,EAAuBlB,GAC5CV,KAAKM,KAAKkC,gBAAgBZ,GAC1B5B,KAAKuB,oBAAmBkB,OAAAC,OAAAD,OAAAC,OAAA,GAAO1C,KAAKuB,qBAAmB,CAAEK,CAACA,GAAgBlB,G,CAG3E,MAAAiC,GACC,MAAMC,EAAaC,IAClB,GAAI7C,KAAK8C,QAAS,CACjB,OAAO1C,EAAA,SAAO2C,MAAOlC,EAAemC,OAAQH,E,CAE7C,OAAOA,CAAQ,EAGhB,OACCzC,EAAC6C,EAAI,CAACF,MAAOlC,EAAeC,KAAMb,SAAUD,KAAKC,SAAUiD,QAASlD,KAAKkD,QAAShC,KAAMlB,KAAKkB,KAC1FE,QAAS+B,EAAoBnD,KAAKoB,UACnCwB,EACAxC,EAACgD,EAAQ,KACRhD,EAAA,QAAAqC,OAAAC,OAAA,CACCK,MAAOlC,EAAewC,MACtBC,GAAItD,KAAKkC,YAAclC,KAAKE,QAC5BqD,KAAK,QACLC,MAAOxD,KAAKwD,MACZC,KAAMzD,KAAKyD,KACXP,QAASlD,KAAKkD,QACd7B,SAAUrB,KAAKqB,SACfqC,QAAS1D,KAAK2D,eAAeC,KAAK5D,MAClC6D,SAAU7D,KAAK8D,gBAAgBF,KAAK5D,MACpC+D,QAAS/D,KAAKgE,eAAeJ,KAAK5D,MAClCiE,OAAQjE,KAAKkE,cAAcN,KAAK5D,MAChCmE,IAAKC,GAAOpE,KAAKqE,SAAWD,EAC5BhC,SAAUpC,KAAKoC,UACXpC,KAAKuB,oBAAmB,gBACdvB,KAAKkD,QAAO,gBACXC,EAAoBnD,KAAKoC,UAAS,eACnCe,EAAoBnD,KAAKoB,SAAQ,gBAChC+B,EAAoBnD,KAAKqB,aAEzCjB,EAAA,YACCA,EAAA,QAAMqD,KAAK,a,CAQT,cAAAE,CAAeW,GACtBA,EAAEC,iB,CAGK,cAAAP,CAAeM,GACtBA,EAAEC,kBACFvE,KAAKwE,SAASC,KAAK,CAClBC,UAAW7D,EAAeC,KAC1B0C,MAAOxD,KAAKwD,MACZN,QAASlD,KAAKkD,QACdyB,cAAeL,G,CAIT,aAAAJ,CAAcI,GACrBA,EAAEC,kBACFvE,KAAK4E,QAAQH,KAAK,CACjBC,UAAW7D,EAAeC,KAC1B0C,MAAOxD,KAAKwD,MACZN,QAASlD,KAAKkD,QACdyB,cAAeL,G,CAIT,eAAAR,CAAgBQ,GACvBtE,KAAKkD,QAAWoB,EAAEO,OAA4B3B,QAC9CoB,EAAEC,kBACFvE,KAAK8E,UAAUL,KAAK,CACnBC,UAAW7D,EAAeC,KAC1B0C,MAAOxD,KAAKwD,MACZN,QAASlD,KAAKkD,QACdyB,cAAeL,G,CAQjB,YAAMS,GACL,OAAO/E,KAAKqE,Q","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,h as a,a as s,g as i}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,h as a,a as s,g as i}from"./p-8506b611.js";import{a as r,b as e,c as o}from"./p-052cc573.js";import{g as p}from"./p-0075138f.js";import{v as c}from"./p-169b67af.js";import"./p-45a30859.js";import"./p-92f420cb.js";import"./p-b48a4aa0.js";import"./p-e0d428c9.js";const d=class{constructor(a){t(this,a);this.gap=undefined;this.orientation="vertical";this.h=p(this.host)}validateGap(t){if(t){c(e,t,r.root)}}validateOrientation(t){if(t){c(o,t,r.root)}}componentWillLoad(){this.validateGap(this.gap);this.validateOrientation(this.orientation)}render(){return a(s,{key:"6fd3c85b2114ff4eb9176cb12dd4ea60db5d205c",gap:this.gap,class:this.h.classes(r.root)},a("slot",{key:"f55fd159742c7b988fed38a8e425ec850443c0da"}))}get host(){return i(this)}static get watchers(){return{gap:["validateGap"],orientation:["validateOrientation"]}}};export{d as gov_form_group};
|
|
2
|
+
//# sourceMappingURL=p-0d2c4d31.entry.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as a,h as e,a as t,g as s}from"./p-8506b611.js";import{a as o}from"./p-45a30859.js";import{S as c}from"./p-92f420cb.js";import{g as i}from"./p-0075138f.js";import{v as r}from"./p-169b67af.js";import{a as f,b as m}from"./p-60658ae9.js";import"./p-b48a4aa0.js";import"./p-e0d428c9.js";o(c,["_S","_M","_L"]);const p={root:"gov-empty",content:"gov-empty__content"};const b=class{constructor(e){a(this,e);this.size="m";this.h=i(this.host)}validateSize(a){r(m,a,f.root)}componentWillLoad(){this.validateSize(this.size)}render(){return e(t,{key:"25d3813acc796b96c6e51aec4a55fc2efa725aa6",class:this.h.classes(p.root),size:this.size},this.h.hasSlot("icon")&&e("slot",{key:"7fccad0fe25b57219f06cfbcf18a2f2bff19c905",name:"icon"}),e("div",{key:"a4cffd5e7175ba9273a5ea74ba622e2a577ba0fe",class:p.content},e("slot",{key:"53fd435d43baa4841ecb5e3d5817efcb57433eab",name:"headline"}),e("slot",{key:"314e7a0fd7a381dbc4a85da4df2082ce4946b7b5"})))}get host(){return s(this)}static get watchers(){return{size:["validateSize"]}}};export{b as gov_empty};
|
|
2
|
+
//# sourceMappingURL=p-10f9bf55.entry.js.map
|