@gov-design-system-ce/components 4.1.0-rc03 → 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 +4 -4
- package/dist/cjs/gov-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +3 -3
- package/dist/cjs/gov-button.cjs.entry.js +3 -3
- package/dist/cjs/gov-card.cjs.entry.js +3 -3
- package/dist/cjs/gov-chip.cjs.entry.js +2 -2
- package/dist/cjs/gov-container.cjs.entry.js +1 -1
- package/dist/cjs/gov-control-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-cookiebar.cjs.entry.js +1 -1
- package/dist/cjs/gov-dialog.cjs.entry.js +3 -3
- package/dist/cjs/gov-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/gov-empty.cjs.entry.js +1 -1
- package/dist/cjs/gov-error-code.cjs.entry.js +1 -1
- package/dist/cjs/gov-flex.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 +6 -21
- package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-password-power.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-radio.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-select.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-switch.cjs.entry.js +2 -2
- package/dist/cjs/gov-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-grid.cjs.entry.js +1 -1
- package/dist/cjs/gov-icon.cjs.entry.js +2 -2
- package/dist/cjs/gov-infobar.cjs.entry.js +1 -1
- package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
- package/dist/cjs/gov-layout.cjs.entry.js +1 -1
- package/dist/cjs/gov-lifecycle.cjs.entry.js +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 +2 -2
- 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 +2 -2
- 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} +18 -2
- 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 -0
- 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-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 +3 -27
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +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-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-button.js +1 -1
- package/dist/components/gov-card.js +1 -1
- package/dist/components/gov-chip.js +1 -1
- package/dist/components/gov-container.js +1 -1
- package/dist/components/gov-control-group.js +1 -1
- package/dist/components/gov-cookiebar.js +1 -1
- package/dist/components/gov-dialog.js +1 -1
- package/dist/components/gov-dialog.js.map +1 -1
- package/dist/components/gov-dropdown.js +1 -1
- package/dist/components/gov-empty.js +1 -1
- package/dist/components/gov-error-code.js +1 -1
- package/dist/components/gov-flex.d.ts +11 -0
- 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-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-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-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.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-4a92317f.js → p-02da2aee.js} +2 -2
- package/dist/components/p-1d3019f3.js +2 -0
- package/dist/components/{p-de8656dd.js → p-1f3bb41d.js} +2 -2
- package/dist/components/{p-a99d125a.js → p-23b7e680.js} +2 -2
- package/dist/components/{p-a14f8877.js → p-387052e1.js} +2 -2
- package/dist/components/{p-3dece5f7.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-4ffeb83f.js → p-5cc316bc.js} +2 -2
- package/dist/components/{p-dd8d3279.js → p-6ea84137.js} +2 -2
- package/dist/components/{p-de3103e8.js → p-820b66c0.js} +2 -2
- package/dist/components/p-880743a5.js.map +1 -1
- package/dist/components/{p-1e82b99e.js → p-bd22e21d.js} +2 -2
- package/dist/components/{p-c0bb26c2.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-0d2c4d31.entry.js +2 -0
- package/dist/core/{p-3db35bee.entry.js → p-10f9bf55.entry.js} +2 -2
- package/dist/core/{p-0225a96a.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-c5375a8a.entry.js.map → p-18025823.entry.js.map} +1 -1
- package/dist/core/p-18dbe177.entry.js +2 -0
- package/dist/core/p-18dbe177.entry.js.map +1 -0
- package/dist/core/{p-987388fd.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-111e1a63.entry.js.map → p-1fdc2457.entry.js.map} +1 -1
- package/dist/core/{p-4e98412a.entry.js → p-212759be.entry.js} +2 -2
- package/dist/core/p-215504c1.entry.js +2 -0
- package/dist/core/p-2c3ddc57.entry.js +2 -0
- package/dist/core/p-31e7d262.entry.js +2 -0
- package/dist/core/p-31e7d262.entry.js.map +1 -0
- package/dist/core/p-32bba4e7.entry.js +2 -0
- package/dist/core/{p-3e8b94c2.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-0d7b9167.entry.js → p-4cb4de7b.entry.js} +2 -2
- package/dist/core/p-56f9e026.entry.js +2 -0
- package/dist/core/{p-acff78c5.entry.js → p-57b0e670.entry.js} +2 -2
- 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-a42514f9.entry.js.map → p-5ad3097c.entry.js.map} +1 -1
- package/dist/core/p-668ca722.entry.js +2 -0
- package/dist/core/{p-74e20474.entry.js.map → p-668ca722.entry.js.map} +1 -1
- package/dist/core/{p-1bbc10c9.entry.js → p-67200095.entry.js} +2 -2
- package/dist/core/p-731fe7d8.entry.js +2 -0
- package/dist/core/{p-97927e2a.entry.js.map → p-731fe7d8.entry.js.map} +1 -1
- package/dist/core/{p-c6431085.entry.js → p-7591976a.entry.js} +2 -2
- package/dist/core/p-75ea368b.entry.js +2 -0
- package/dist/core/{p-a4886f2d.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-ea6cb030.entry.js.map → p-83aa4327.entry.js.map} +1 -1
- 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-4898c95f.entry.js → p-89b69743.entry.js} +2 -2
- package/dist/core/p-8a796fbe.entry.js +2 -0
- package/dist/core/p-8f10919c.entry.js +2 -0
- package/dist/core/{p-033bbbaa.entry.js.map → p-8f10919c.entry.js.map} +1 -1
- package/dist/core/p-8fe36a5b.entry.js +2 -0
- package/dist/core/{p-5f776da7.entry.js.map → p-8fe36a5b.entry.js.map} +1 -1
- package/dist/core/p-915e53ac.entry.js +2 -0
- 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-899e504a.entry.js → p-ab68c0b7.entry.js} +2 -2
- package/dist/core/{p-1638b12b.entry.js → p-b50ffab3.entry.js} +2 -2
- package/dist/core/p-b70cc248.entry.js +2 -0
- package/dist/core/{p-964f1729.entry.js → p-b822b9ff.entry.js} +2 -2
- package/dist/core/p-c0a5a3f7.entry.js +2 -0
- package/dist/core/p-c5b5fd69.entry.js +2 -0
- package/dist/core/{p-bdf1864e.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-8321da17.entry.js → p-d1c4eb91.entry.js} +2 -2
- package/dist/core/{p-b215f99f.entry.js → p-d3963396.entry.js} +2 -2
- package/dist/core/p-d4fbc249.entry.js +2 -0
- package/dist/core/{p-21bdd725.entry.js → p-d949aac7.entry.js} +2 -2
- package/dist/core/{p-2ee0d589.entry.js → p-e6af4c58.entry.js} +2 -2
- 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-33ecbb38.entry.js → p-eebf7ad8.entry.js} +2 -2
- package/dist/core/{p-378e5294.entry.js → p-f1c8a96b.entry.js} +2 -2
- package/dist/core/{p-35e66bef.entry.js → p-f963bb2f.entry.js} +2 -2
- package/dist/core/{p-393a281e.entry.js → p-fb0df3a5.entry.js} +2 -2
- 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 +4 -4
- package/dist/esm/gov-backdrop.entry.js +3 -3
- package/dist/esm/gov-breadcrumbs.entry.js +3 -3
- package/dist/esm/gov-button.entry.js +3 -3
- package/dist/esm/gov-card.entry.js +3 -3
- package/dist/esm/gov-chip.entry.js +2 -2
- package/dist/esm/gov-container.entry.js +1 -1
- package/dist/esm/gov-control-group.entry.js +1 -1
- package/dist/esm/gov-cookiebar.entry.js +1 -1
- package/dist/esm/gov-dialog.entry.js +3 -3
- package/dist/esm/gov-dropdown.entry.js +2 -2
- package/dist/esm/gov-empty.entry.js +1 -1
- package/dist/esm/gov-error-code.entry.js +1 -1
- 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 +6 -21
- package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
- package/dist/esm/gov-form-password-power.entry.js +1 -1
- package/dist/esm/gov-form-radio-group.entry.js +2 -2
- package/dist/esm/gov-form-radio.entry.js +2 -2
- package/dist/esm/gov-form-search.entry.js +1 -1
- package/dist/esm/gov-form-select.entry.js +2 -2
- package/dist/esm/gov-form-switch.entry.js +2 -2
- package/dist/esm/gov-grid-item.entry.js +1 -1
- package/dist/esm/gov-grid.entry.js +1 -1
- package/dist/esm/gov-icon.entry.js +2 -2
- package/dist/esm/gov-infobar.entry.js +1 -1
- package/dist/esm/gov-layout-column.entry.js +1 -1
- package/dist/esm/gov-layout.entry.js +1 -1
- package/dist/esm/gov-lifecycle.entry.js +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 +2 -2
- 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 +2 -2
- 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} +18 -2
- 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 +147 -65
- package/dist/hydrate/index.mjs +147 -65
- 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 -0
- package/dist/types/utils/string.utils.d.ts +1 -0
- package/package.json +2 -2
- package/dist/cjs/index-1af4880c.js.map +0 -1
- package/dist/cjs/string.utils-2335838f.js.map +0 -1
- package/dist/components/p-95d41a3b.js.map +0 -1
- package/dist/components/p-a5975d22.js +0 -2
- package/dist/components/p-ae3dada7.js.map +0 -1
- package/dist/core/p-023787b3.entry.js +0 -2
- package/dist/core/p-023787b3.entry.js.map +0 -1
- package/dist/core/p-033bbbaa.entry.js +0 -2
- package/dist/core/p-111e1a63.entry.js +0 -2
- package/dist/core/p-235869e6.entry.js +0 -2
- package/dist/core/p-39d8e408.entry.js +0 -2
- package/dist/core/p-3a519b02.entry.js +0 -2
- package/dist/core/p-3a519b02.entry.js.map +0 -1
- package/dist/core/p-3ddfbc05.entry.js +0 -2
- package/dist/core/p-3f5f36e4.entry.js +0 -2
- package/dist/core/p-59c4574a.entry.js +0 -2
- package/dist/core/p-5f776da7.entry.js +0 -2
- package/dist/core/p-74e20474.entry.js +0 -2
- package/dist/core/p-7cd2c877.entry.js +0 -2
- package/dist/core/p-7cd2c877.entry.js.map +0 -1
- package/dist/core/p-9100d24f.entry.js +0 -2
- package/dist/core/p-95d41a3b.js.map +0 -1
- package/dist/core/p-97927e2a.entry.js +0 -2
- package/dist/core/p-98091397.entry.js +0 -2
- package/dist/core/p-9d0c3dee.entry.js +0 -2
- package/dist/core/p-9d0f20ec.entry.js +0 -2
- package/dist/core/p-a1e95a5f.js.map +0 -1
- package/dist/core/p-a42514f9.entry.js +0 -2
- package/dist/core/p-bdf1864e.entry.js +0 -2
- package/dist/core/p-c5375a8a.entry.js +0 -2
- package/dist/core/p-ca093025.entry.js +0 -2
- package/dist/core/p-d56632e1.entry.js +0 -2
- package/dist/core/p-e49b1737.entry.js +0 -2
- package/dist/core/p-e49b1737.entry.js.map +0 -1
- package/dist/core/p-e5b95316.entry.js +0 -2
- package/dist/core/p-ea6cb030.entry.js +0 -2
- package/dist/core/p-eb2af67a.entry.js +0 -2
- package/dist/core/p-eb2af67a.entry.js.map +0 -1
- package/dist/core/p-f0781e29.entry.js +0 -2
- package/dist/core/p-f4e04e98.entry.js +0 -2
- package/dist/core/p-fe147dbf.entry.js +0 -2
- package/dist/esm/index-d8b4eb6c.js.map +0 -1
- package/dist/esm/string.utils-5ce3f551.js.map +0 -1
- /package/dist/components/{p-4a92317f.js.map → p-02da2aee.js.map} +0 -0
- /package/dist/components/{p-a5975d22.js.map → p-1d3019f3.js.map} +0 -0
- /package/dist/components/{p-de8656dd.js.map → p-1f3bb41d.js.map} +0 -0
- /package/dist/components/{p-a99d125a.js.map → p-23b7e680.js.map} +0 -0
- /package/dist/components/{p-a14f8877.js.map → p-387052e1.js.map} +0 -0
- /package/dist/components/{p-3dece5f7.js.map → p-3b807239.js.map} +0 -0
- /package/dist/components/{p-4ffeb83f.js.map → p-5cc316bc.js.map} +0 -0
- /package/dist/components/{p-dd8d3279.js.map → p-6ea84137.js.map} +0 -0
- /package/dist/components/{p-de3103e8.js.map → p-820b66c0.js.map} +0 -0
- /package/dist/components/{p-1e82b99e.js.map → p-bd22e21d.js.map} +0 -0
- /package/dist/components/{p-c0bb26c2.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-e5b95316.entry.js.map → p-0d2c4d31.entry.js.map} +0 -0
- /package/dist/core/{p-3db35bee.entry.js.map → p-10f9bf55.entry.js.map} +0 -0
- /package/dist/core/{p-0225a96a.entry.js.map → p-12680890.entry.js.map} +0 -0
- /package/dist/core/{p-fe147dbf.entry.js.map → p-1600c1fb.entry.js.map} +0 -0
- /package/dist/core/{p-987388fd.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-4e98412a.entry.js.map → p-212759be.entry.js.map} +0 -0
- /package/dist/core/{p-39d8e408.entry.js.map → p-215504c1.entry.js.map} +0 -0
- /package/dist/core/{p-3f5f36e4.entry.js.map → p-2c3ddc57.entry.js.map} +0 -0
- /package/dist/core/{p-235869e6.entry.js.map → p-32bba4e7.entry.js.map} +0 -0
- /package/dist/core/{p-3e8b94c2.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-0d7b9167.entry.js.map → p-4cb4de7b.entry.js.map} +0 -0
- /package/dist/core/{p-f4e04e98.entry.js.map → p-56f9e026.entry.js.map} +0 -0
- /package/dist/core/{p-acff78c5.entry.js.map → p-57b0e670.entry.js.map} +0 -0
- /package/dist/core/{p-1bbc10c9.entry.js.map → p-67200095.entry.js.map} +0 -0
- /package/dist/core/{p-c6431085.entry.js.map → p-7591976a.entry.js.map} +0 -0
- /package/dist/core/{p-9d0c3dee.entry.js.map → p-75ea368b.entry.js.map} +0 -0
- /package/dist/core/{p-a4886f2d.entry.js.map → p-7b48b1b8.entry.js.map} +0 -0
- /package/dist/core/{p-28a7d3f7.js.map → p-842cb87f.js.map} +0 -0
- /package/dist/core/{p-4898c95f.entry.js.map → p-89b69743.entry.js.map} +0 -0
- /package/dist/core/{p-d56632e1.entry.js.map → p-8a796fbe.entry.js.map} +0 -0
- /package/dist/core/{p-f0781e29.entry.js.map → p-915e53ac.entry.js.map} +0 -0
- /package/dist/core/{p-98091397.entry.js.map → p-92e13f9d.entry.js.map} +0 -0
- /package/dist/core/{p-899e504a.entry.js.map → p-ab68c0b7.entry.js.map} +0 -0
- /package/dist/core/{p-1638b12b.entry.js.map → p-b50ffab3.entry.js.map} +0 -0
- /package/dist/core/{p-3ddfbc05.entry.js.map → p-b70cc248.entry.js.map} +0 -0
- /package/dist/core/{p-964f1729.entry.js.map → p-b822b9ff.entry.js.map} +0 -0
- /package/dist/core/{p-9100d24f.entry.js.map → p-c0a5a3f7.entry.js.map} +0 -0
- /package/dist/core/{p-8321da17.entry.js.map → p-d1c4eb91.entry.js.map} +0 -0
- /package/dist/core/{p-b215f99f.entry.js.map → p-d3963396.entry.js.map} +0 -0
- /package/dist/core/{p-59c4574a.entry.js.map → p-d4fbc249.entry.js.map} +0 -0
- /package/dist/core/{p-21bdd725.entry.js.map → p-d949aac7.entry.js.map} +0 -0
- /package/dist/core/{p-2ee0d589.entry.js.map → p-e6af4c58.entry.js.map} +0 -0
- /package/dist/core/{p-ca093025.entry.js.map → p-eebc9e71.entry.js.map} +0 -0
- /package/dist/core/{p-33ecbb38.entry.js.map → p-eebf7ad8.entry.js.map} +0 -0
- /package/dist/core/{p-378e5294.entry.js.map → p-f1c8a96b.entry.js.map} +0 -0
- /package/dist/core/{p-35e66bef.entry.js.map → p-f963bb2f.entry.js.map} +0 -0
- /package/dist/core/{p-393a281e.entry.js.map → p-fb0df3a5.entry.js.map} +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-7ff4447c.js');
|
|
6
6
|
const utils = require('./utils-d263c5c6.js');
|
|
7
7
|
const sizes = require('./sizes-89f8d3b2.js');
|
|
8
8
|
const template = require('./template-b070338f.js');
|
|
@@ -30,7 +30,7 @@ const GovLoading = class {
|
|
|
30
30
|
this.validateSize(this.size);
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (index.h(index.Host, { key: '
|
|
33
|
+
return (index.h(index.Host, { key: '513f13c80fc2af7545772534af1cc04ded202ec3', class: this.h.classes(LoadingClass.root), size: this.size }, index.h("div", { key: 'f4c66ec827f34cd2498c69b44d8dbbfba69aa3c7', class: LoadingClass.content }, index.h("gov-icon", { key: 'fceceebd341d720f4d1d38b234ff5770110392d8', class: template.prepareClasses([LoadingClass.icon, "gov-spin-animation"]), name: "loader" }), index.h("slot", { key: '85e34ce7d618a4b73668d80e3419a98e14ec524b' })), index.h("gov-backdrop", { key: 'a240f9f8b15dbc422adeda6674e019f6b118dc6a', inverse: true })));
|
|
34
34
|
}
|
|
35
35
|
get host() { return index.getElement(this); }
|
|
36
36
|
static get watchers() { return {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-7ff4447c.js');
|
|
6
6
|
const props = require('./props-b8a955b2.js');
|
|
7
7
|
const colors = require('./colors-976f6dff.js');
|
|
8
8
|
const utils = require('./utils-d263c5c6.js');
|
|
@@ -32,7 +32,7 @@ const GovMessage = class {
|
|
|
32
32
|
props.validateProp(colors.Colors, newValue, MessageClass.root);
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (index.h(index.Host, { key: '
|
|
35
|
+
return (index.h(index.Host, { key: '9379d874b17b448a37771cf06fde7ac8a87ea7c7', class: this.h.classes(MessageClass.root), color: this.color, type: this.type, role: "status" }, this.h.hasSlot("icon") && (index.h("slot", { key: '4ff98ecd6b2b9e97d8083e9e907265e6bb265f79', name: "icon" })), index.h("div", { key: '2be09cb7021a713e90008ac8180c153361620a65', class: MessageClass.content }, index.h("slot", { key: '54f7fe2ade82698f072eae27eb58cf4ade008553' }))));
|
|
36
36
|
}
|
|
37
37
|
get host() { return index.getElement(this); }
|
|
38
38
|
static get watchers() { return {
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-7ff4447c.js');
|
|
6
6
|
const Fragment = require('./Fragment-52846f79.js');
|
|
7
7
|
const props = require('./props-b8a955b2.js');
|
|
8
8
|
const sizes = require('./sizes-89f8d3b2.js');
|
|
9
9
|
const colors = require('./colors-976f6dff.js');
|
|
10
10
|
const utils = require('./utils-d263c5c6.js');
|
|
11
11
|
const template = require('./template-b070338f.js');
|
|
12
|
-
const string_utils = require('./string.utils-
|
|
12
|
+
const string_utils = require('./string.utils-b84c81cf.js');
|
|
13
13
|
const array_utils = require('./array.utils-96eadde3.js');
|
|
14
14
|
const attribute = require('./attribute-06dc5228.js');
|
|
15
15
|
const accessibility = require('./accessibility-c475826b.js');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-7ff4447c.js');
|
|
6
6
|
const props = require('./props-b8a955b2.js');
|
|
7
7
|
const sizes = require('./sizes-89f8d3b2.js');
|
|
8
8
|
const utils = require('./utils-d263c5c6.js');
|
|
@@ -41,7 +41,7 @@ const GovSpacer = class {
|
|
|
41
41
|
this.validateBreakpoint(this.breakpoint);
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return index.h(index.Host, { key: '
|
|
44
|
+
return index.h(index.Host, { key: '392e2cf96739ff4bf0b7b9a27fb5730aa0160689', class: this.h.classes(SpacerClass.root), size: this.size, breakpoint: this.breakpoint });
|
|
45
45
|
}
|
|
46
46
|
get host() { return index.getElement(this); }
|
|
47
47
|
static get watchers() { return {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-7ff4447c.js');
|
|
6
6
|
const props = require('./props-b8a955b2.js');
|
|
7
7
|
const constants = require('./constants-43c0c51b.js');
|
|
8
|
-
const string_utils = require('./string.utils-
|
|
8
|
+
const string_utils = require('./string.utils-b84c81cf.js');
|
|
9
9
|
const template = require('./template-b070338f.js');
|
|
10
10
|
require('./gov.log-1e8bab6e.js');
|
|
11
11
|
require('./win-587f4614.js');
|
|
@@ -37,7 +37,7 @@ const GovStepperItem = class {
|
|
|
37
37
|
render() {
|
|
38
38
|
const triggerId = this.identifier || this.triggerId;
|
|
39
39
|
const contentId = this.contentId;
|
|
40
|
-
return (index.h(index.Host, { key: '
|
|
40
|
+
return (index.h(index.Host, { key: '59f5a619a9f304b4803a337f1f4152b3e1e782f0', id: triggerId, class: this.h.classes(constants.StepperItemClass.root), color: this.color, role: "listitem", hydrated: this.hydrated }, this.h.hasSlot('prefix') && (index.h("span", { key: '0a618406f8e04faaddc8b02d3b277a0e2e388847', class: constants.StepperItemClass.prefix }, index.h("slot", { key: '2371e91f2f48450117f9c2b473139330d2cceaef', name: "prefix" }))), index.h("div", { key: '0fbbc509c202a02192020dd6d6873b74c523038f' }, index.h("span", { key: '1489ceb7a1557fcdb08d95c105ee6019946fbe84', class: constants.StepperItemClass.headline }, index.h("slot", { key: '629b41afb4f3d1944e0345df1968239992e26b3a', name: "headline" })), index.h("slot", { key: '6ba1168f9080cde7d67e5a80187a44c530f53ea0', name: "annotation" }), this.h.hasSlot('content') && (index.h("div", { key: '4886f8d72a15405d70c8012947c5132a44a0b0b9', class: constants.StepperItemClass.content, id: contentId, "aria-labelledby": triggerId, role: "tabpanel" }, index.h("slot", { key: '20f8e29aa50aa7d2240aa27d266a8d9364c89ab2', name: "content" }))))));
|
|
41
41
|
}
|
|
42
42
|
get host() { return index.getElement(this); }
|
|
43
43
|
static get watchers() { return {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-7ff4447c.js');
|
|
6
6
|
const props = require('./props-b8a955b2.js');
|
|
7
7
|
const constants = require('./constants-43c0c51b.js');
|
|
8
8
|
const template = require('./template-b070338f.js');
|
|
@@ -39,7 +39,7 @@ const GovStepper = class {
|
|
|
39
39
|
this.hydrated = true;
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (index.h(index.Host, { key: '
|
|
42
|
+
return (index.h(index.Host, { key: '885b23b98b9b669e3cea12183ba42354c763316b', class: this.h.classes(constants.StepperClass.root), role: "list", size: this.size, hydrated: this.hydrated }, index.h("slot", { key: '1f90bbd052f015f8b5ed7afeb49f8585a016f3da' })));
|
|
43
43
|
}
|
|
44
44
|
get host() { return index.getElement(this); }
|
|
45
45
|
static get watchers() { return {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const string_utils = require('./string.utils-
|
|
5
|
+
const index = require('./index-7ff4447c.js');
|
|
6
|
+
const string_utils = require('./string.utils-b84c81cf.js');
|
|
7
7
|
const template = require('./template-b070338f.js');
|
|
8
8
|
const constants = require('./constants-e2807da6.js');
|
|
9
9
|
require('./utils-d263c5c6.js');
|
|
@@ -32,7 +32,7 @@ const GovTabsItem = class {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (index.h(index.Host, { key: '
|
|
35
|
+
return (index.h(index.Host, { key: 'b26a20e7a512debcb5215528f453b1dc66ffa938', class: this.h.classes(constants.TabsItemClass.root), default: this.default }, index.h("div", { key: '4b5eef881f0c9b57860f4f28aa3ea9df030d3500', class: constants.TabsItemClass.inner, role: "tabpanel", id: this.identifier || this.contentId, hidden: !this.isActive, "aria-labelledby": this.triggerIdentifier || this.triggerId, "aria-hidden": template.toBoolAttrIfDefined(!this.isActive) }, index.h("slot", { key: '3bd8840a7abecb46565d7333c281a90524838db1' }))));
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* Returns a unique tab content identifier
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-7ff4447c.js');
|
|
6
6
|
const props = require('./props-b8a955b2.js');
|
|
7
7
|
const constants = require('./constants-e2807da6.js');
|
|
8
8
|
const template = require('./template-b070338f.js');
|
|
@@ -123,7 +123,7 @@ const GovTabs = class {
|
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
|
-
return (index.h(index.Host, { key: '
|
|
126
|
+
return (index.h(index.Host, { key: '70bfa4d8f60de5da1821018592afe44611cb0195', class: this.h.classes(constants.TabsClass.root), size: this.size, color: this.color, type: this.type, direction: this.direction, onKeyDown: this.onKeydownHandler.bind(this) }, index.h("div", Object.assign({ key: 'f81df06e4fd9deb6c282b7d0036e45eaedd10e7f', class: constants.TabsClass.tabs, role: "tablist" }, this.inheritedAttributes), index.h("ul", { key: '603f06fc099271e5133b0d803696a36576df100b', class: constants.TabsClass.list }, this.controllers.map(control => (index.h("li", { class: constants.TabsClass.item }, this.type == "text" ? (index.h("button", { class: constants.TabsClass.btn, id: control.triggerIdentifier, role: "tab", onClick: () => this.onSelectHandler(control), disabled: control.disabled, "aria-disabled": template.toBoolAttr(control.disabled), "aria-selected": template.toBoolAttr(control.active), "aria-controls": control.contentIdentifier, tabindex: control.active && !control.disabled ? 0 : -1, ref: el => (this.triggerRefs[control.triggerIdentifier] = el) }, control.iconStart ? (index.h("gov-icon", { name: control.iconStart.name, type: control.iconStart.type })) : null, control.label, control.iconEnd ? (index.h("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type })) : null)) : (index.h("gov-chip", { role: "tab", tag: 'button', identifier: control.triggerIdentifier, "aria-selected": template.booleanString(control.active), "aria-controls": control.contentIdentifier, focusable: control.active, disabled: control.disabled, color: this.color, size: this.size === "xs" ? "xs" : (this.size === "s" ? "s" : "m"), type: control.active ? "solid" : "outlined", ref: el => (this.triggerRefs[control.triggerIdentifier] = el), "on-gov-click": () => this.onSelectHandler(control) }, control.iconStart ? (index.h("gov-icon", { name: control.iconStart.name, type: control.iconStart.type, slot: "left-icon" })) : null, control.label, control.iconEnd ? (index.h("gov-icon", { name: control.iconEnd.name, type: control.iconEnd.type, slot: "right-icon" })) : null))))))), index.h("slot", { key: 'e6abc783cb893d3b630d585fc30c2b3abb340d3a' })));
|
|
127
127
|
}
|
|
128
128
|
getCurrentTab() {
|
|
129
129
|
return this.controllers.find(control => control.active) || null;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-7ff4447c.js');
|
|
6
6
|
const template = require('./template-b070338f.js');
|
|
7
7
|
const props = require('./props-b8a955b2.js');
|
|
8
8
|
const constants = require('./constants-861428a4.js');
|
|
@@ -46,7 +46,7 @@ const GovTag = class {
|
|
|
46
46
|
render() {
|
|
47
47
|
const iconLeft = helpers.prepareIconFormat(this.iconLeft);
|
|
48
48
|
const iconRight = helpers.prepareIconFormat(this.iconRight);
|
|
49
|
-
return (index.h(index.Host, { key: '
|
|
49
|
+
return (index.h(index.Host, { key: '9dede4ae44585315490e2ebad775381cd77a86c4', class: this.h.classes(TagClass.root), color: this.color, size: this.size, type: this.type }, index.h("span", { key: '84529d30dcf3f26a59b9320234dc05d4bfb1ac8c', class: "element" }, index.h("slot", { key: '07e19e9e805572c5efa3e5138d6dc97255c58c3f', name: "left-icon" }, iconLeft && index.h("gov-icon", { key: '14aee821e6e2f75d0fe178dcc9680633ec15de57', type: iconLeft.type, name: iconLeft.name })), index.h("slot", { key: '973d6bcd03d962830b061d6b98acbc2ff8eb099b' }), index.h("slot", { key: '74def1aa50e02199d3160cbb90bd219fbf5863e6', name: "right-icon" }, iconRight && index.h("gov-icon", { key: '7a72370126731b4bb285e8d557c3fd7cd84b2499', type: iconRight.type, name: iconRight.name })))));
|
|
50
50
|
}
|
|
51
51
|
get host() { return index.getElement(this); }
|
|
52
52
|
static get watchers() { return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"gov-tag.entry.cjs.js","mappings":";;;;;;;;;;;;;;;AAIO,MAAM,QAAQ,GAAGA,UAAI,CAACC,WAAK,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAA;AAGxD,IAAY,OAGX;AAHD,WAAY,OAAO;IAClB,wBAAa,CAAA;IACb,4BAAiB,CAAA;AAClB,CAAC,EAHW,OAAO,KAAP,OAAO,QAGlB;AAGM,MAAM,QAAQ,GAAG;IACvB,IAAI,E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components/gov-tag/constants.ts","../../../packages/core/src/components/gov-tag/gov-tag.tsx"],"sourcesContent":["import {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const TagSizes = pick(Sizes, ['_XS', '_S', '_M'])\nexport type TagSizesType = `${ValueOf<typeof TagSizes>}`\n\nexport enum TagType {\n\tBOLD = 'bold',\n\tSUBTLE = 'subtle',\n}\nexport type TagTypesType = `${ValueOf<typeof TagType>}`\n\nexport const TagClass = {\n\troot: 'gov-tag',\n}\n","import {Component, Element, h, Host, Prop, Watch} from '@stencil/core'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\nimport {validateProp} from '../../helpers/Validate/props'\nimport {ButtonSizes, ButtonColors, ButtonColorType} from '../gov-button/button/constants'\nimport {TagClass, TagSizes, TagSizesType, TagTypesType} from './constants'\nimport {prepareIconFormat} from \"../gov-icon/helpers\";\n\n@Component({\n\ttag: 'gov-tag',\n})\nexport class GovTag {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovTagElement\n\n\t/**\n\t * Definition of the button icon on the left. The icon must be defined in the form \"type/name\".\n\t */\n\t@Prop({attribute: \"icon-left\"}) readonly iconLeft?: string\n\t/**\n\t * Definition of the button icon on the left. The icon must be defined in the form \"type/name\".\n\t */\n\t@Prop({attribute: \"icon-right\"}) readonly iconRight?: string\n\t/**\n\t * Tag’s size.\n\t */\n\t@Prop({reflect: true}) readonly size: TagSizesType = TagSizes._S\n\t/**\n\t * Style variation of the tag.\n\t */\n\t@Prop({reflect: true}) readonly color: ButtonColorType = ButtonColors.PRIMARY\n\t/**\n\t * Tag’s type\n\t */\n\t@Prop({reflect: true}) readonly type: TagTypesType\n\n\t@Watch('color')\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(ButtonColors, newValue, TagClass.root)\n\t}\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ButtonSizes, newValue, TagClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t\tthis.validateSize(this.size)\n\t}\n\n\trender() {\n\t\tconst iconLeft = prepareIconFormat(this.iconLeft)\n\t\tconst iconRight = prepareIconFormat(this.iconRight)\n\t\treturn (\n\t\t\t<Host class={this.h.classes(TagClass.root)}\n\t\t\t\tcolor={this.color}\n\t\t\t\tsize={this.size}\n\t\t\t\ttype={this.type}\n\t\t\t>\n\t\t\t\t<span class=\"element\">\n\t\t\t\t\t<slot name=\"left-icon\">\n\t\t\t\t\t\t{iconLeft && <gov-icon type={iconLeft.type} name={iconLeft.name}></gov-icon>}\n\t\t\t\t\t</slot>\n\t\t\t\t\t<slot/>\n\t\t\t\t\t<slot name=\"right-icon\">\n\t\t\t\t\t\t{iconRight && <gov-icon type={iconRight.type} name={iconRight.name}></gov-icon>}\n\t\t\t\t\t</slot>\n\t\t\t\t</span>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-7ff4447c.js');
|
|
6
6
|
const template = require('./template-b070338f.js');
|
|
7
7
|
const win = require('./win-587f4614.js');
|
|
8
8
|
require('./utils-d263c5c6.js');
|
|
@@ -63,7 +63,7 @@ const GovThemeSwitch = class {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (index.h(index.Host, { key: '
|
|
66
|
+
return (index.h(index.Host, { key: '139c85bffa33cbcbe42cc9e62be6e31683fd107b', class: this.h.classes(ThemeSwitchClass.root) }, index.h("button", { key: '81f2ff7e246341d67d422ea39f405f1071a0b733', onClick: () => this.setThemeState(ThemeList.light) }, "light"), index.h("button", { key: '32559e57bde0843bc75512bd89398ec3e4aa5147', onClick: () => this.setThemeState(ThemeList.dark) }, "dark")));
|
|
67
67
|
}
|
|
68
68
|
get host() { return index.getElement(this); }
|
|
69
69
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-7ff4447c.js');
|
|
6
6
|
const utils = require('./utils-d263c5c6.js');
|
|
7
7
|
const sizes = require('./sizes-89f8d3b2.js');
|
|
8
8
|
const template = require('./template-b070338f.js');
|
|
@@ -29,7 +29,7 @@ const GovTile = class {
|
|
|
29
29
|
this.h = template.govHost(this.host);
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (index.h(index.Host, { key: '
|
|
32
|
+
return (index.h(index.Host, { key: '423d9bc7b52a7408c4b9513612cdbac6c5a7df9c', class: this.h.classes(TileClass.root), size: this.size, orientation: this.orientation, clickable: this.href ? true : null }, index.h("slot", { key: 'b56ff3ed2dc8fd6f4de661e7892fe1513202da5e', name: "icon" }), index.h("div", { key: 'e35827cda3520c1532de79be0a2d8fca8b952617', class: TileClass.content }, index.h("div", { key: '79c97706744f088c671b0cebf6969425226341d0', class: TileClass.text }, index.h("div", { key: 'f5799184ba8a0040a74638fa4a37759c35a4cdec', class: TileClass.title }, this.href ? (index.h(index.Fragment, null, index.h("a", { href: this.href, target: this.target, class: TileClass.link, ref: el => (this.triggerRef = el) }, index.h("slot", { name: "title" })), index.h("span", { class: TileClass.icon }, index.h("gov-icon", { name: "chevron-right" })))) : (index.h("slot", { name: "title" }))), index.h("div", { key: 'eba9d4e70c1a295834adf26577ee965db054fbb2', class: `${TileClass.annotation} ${this.href ? `${TileClass.annotation}--padding` : ''}` }, index.h("slot", { key: 'ce4b626ae9551d82c3ff614f50379e6c1100dd07' }))), index.h("slot", { key: 'c5ac0203d657d60469c64ea2afc1469f08cc867f', name: "button" }))));
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Returns a clickable element instance
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-7ff4447c.js');
|
|
6
6
|
const template = require('./template-b070338f.js');
|
|
7
7
|
|
|
8
8
|
const TilesClass = {
|
|
@@ -16,7 +16,7 @@ const GovTiles = class {
|
|
|
16
16
|
this.h = template.govHost(this.host);
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (index.h(index.Host, { key: '
|
|
19
|
+
return (index.h(index.Host, { key: '98fc98abea209d53790a2a06b1ce6e1feda7c53d', class: this.h.classes(TilesClass.root) }, index.h("slot", { key: 'e074660d6ed9b773e68ef5f0523ab7b8bd57ea9e' })));
|
|
20
20
|
}
|
|
21
21
|
get host() { return index.getElement(this); }
|
|
22
22
|
};
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-7ff4447c.js');
|
|
6
6
|
const props = require('./props-b8a955b2.js');
|
|
7
7
|
const colors = require('./colors-976f6dff.js');
|
|
8
8
|
const utils = require('./utils-d263c5c6.js');
|
|
9
9
|
const template = require('./template-b070338f.js');
|
|
10
|
-
const string_utils = require('./string.utils-
|
|
10
|
+
const string_utils = require('./string.utils-b84c81cf.js');
|
|
11
11
|
const attribute = require('./attribute-06dc5228.js');
|
|
12
12
|
const accessibility = require('./accessibility-c475826b.js');
|
|
13
13
|
require('./gov.log-1e8bab6e.js');
|
|
@@ -76,12 +76,11 @@ const GovToast = class {
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (index.h(index.Host, { key: '
|
|
79
|
+
return (index.h(index.Host, { key: '595478e5b0bc6df5256332f59eb1fb8c5a186d47', class: this.h.classes(ToastClass.root), "data-toast-id": this.toastId, gravity: this.gravity, position: this.position, color: this.color, type: this.type, style: { "--toast-duration": this.time + "ms" } }, this.h.hasSlot("icon") && (index.h("slot", { key: 'd515d7be4fcad971f825b953a7ee6354cb7a36c8', name: "icon" })), index.h("div", Object.assign({ key: '9e9e2895921e6309de75acba2c8340a1073ae243', class: ToastClass.content }, this.inheritedAttributes, { "aria-live": "polite", role: "status" }), index.h("slot", { key: 'd373fbf45bd63a84e116614971b8d6ccacc041e5' })), index.h("gov-button", { key: '0e3cc61c61632f5e3f2a9056299e86453a4cac3f', size: "s", "aria-label": this.accessibleCloseLabel, color: this.isBold ? this.color : "neutral", type: "base", "on-gov-click": this.onCloseHandler.bind(this), class: ToastClass.close }, this.closeLabel ? this.closeLabel : index.h("gov-icon", { name: "x-lg" })), index.h("div", { key: '90ff65de7a67d968bbfb2726a5642052d7c125ce', class: ToastClass.timer })));
|
|
80
80
|
}
|
|
81
81
|
onCloseHandler() {
|
|
82
|
-
this.
|
|
83
|
-
|
|
84
|
-
.catch();
|
|
82
|
+
this.govClose.emit(this.toastId);
|
|
83
|
+
this.destroy().catch();
|
|
85
84
|
}
|
|
86
85
|
get isBold() {
|
|
87
86
|
return this.type === "bold";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"gov-toast.entry.cjs.js","mappings":";;;;;;;;;;;;;;;AAIO,MAAM,WAAW,GAAGA,UAAI,CAACC,aAAM,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,CAAA;AAG9F,IAAY,SAGX;AAHD,WAAY,SAAS;IACpB,0BAAa,CAAA;IACb,8BAAiB,CAAA;AAClB,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAGM,MAAM,UAAU,GAAG;IACzB,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,mBAAmB;IAC3B,OAAO,EAAE,oBAAoB;IAC7B,KAAK,EAAE,kBAAkB;IACzB,KAA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I,KAAK,EAAE;YACV,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,CAAA;YACtC,IAAI,OAAO,KAAK,CAAC,MAAM,KAAK,UAAU,EAAE;gBACvC,KAAK,CAAC,MAAM,EAAE,CAAA;aACd;SACD;KACD;;;;;;;;;","names":["pick","Colors","govHost","createID","validateProp","AttributeObserver","ariaAttributes","inheritAriaAttributes","h","Host"],"sources":["../../../packages/core/src/components/gov-toast/constants.ts","../../../packages/core/src/components/gov-toast/gov-toast.tsx"],"sourcesContent":["import { Colors } from '../../core/constants/colors'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const ToastColors = pick(Colors, ['PRIMARY', 'NEUTRAL', 'ERROR', 'SUCCESS', 'WARNING'])\nexport type ToastColorType = `${ValueOf<typeof ToastColors>}`\n\nexport enum ToastType {\n\tBOLD = 'bold',\n\tSUBTLE = 'subtle',\n}\nexport type ToastTypesType = `${ValueOf<typeof ToastType>}`\n\nexport const ToastClass = {\n\troot: 'gov-toast',\n\thidden: 'gov-toast--hidden',\n\tcontent: 'gov-toast__content',\n\tclose: 'gov-toast__close',\n\ttimer: 'gov-toast__timer',\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch} from \"@stencil/core\"\nimport {validateProp} from \"../../helpers/Validate/props\"\nimport {ToastClass, ToastColors, ToastColorType, ToastTypesType} from \"./constants\"\nimport {govHost} from \"../../helpers/Dom/template\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {createID} from \"../../utils/string.utils\"\nimport {AttributeObserver, Attributes} from \"../../helpers/Dom/attribute\";\nimport {ariaAttributes} from \"../../helpers/Accessibility/attributes\";\nimport {inheritAriaAttributes} from \"../../helpers/Accessibility/accessibility\";\n\n@Component({\n\ttag: \"gov-toast\",\n})\nexport class GovToast {\n\tprivate h: GovHost\n\tprivate timeout\n\tprivate readonly toastId: string\n\tprivate attributeObserver: AttributeObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.toastId = createID(\"GovToast\")\n\t}\n\n\t@Element() host: HTMLGovToastElement\n\t/**\n\t * Style variation of the toast message.\n\t */\n\t@Prop() readonly color?: ToastColorType = \"primary\"\n\n\t/**\n\t * Toast’s gravity\n\t */\n\t@Prop() readonly gravity: \"top\" | \"bottom\" = \"top\"\n\t/**\n\t * Toast’s position\n\t */\n\t@Prop() readonly position: \"left\" | \"center\" | \"right\" = \"right\"\n\t/**\n\t * Toast type\n\t */\n\t@Prop() readonly type?: ToastTypesType = \"bold\"\n\t/**\n\t * Number of milliseconds to wait before Toast disappear\n\t */\n\t@Prop() readonly time: number = 0\n\t/**\n\t * Closing button texting instead of icons\n\t */\n\t@Prop({attribute: \"close-label\"}) readonly closeLabel: string\n\t/**\n\t * Aria label for the closing button. It is mandatory if the alert is closable\n\t */\n\t@Prop({attribute: \"accessible-close-label\"}) readonly accessibleCloseLabel: string\n\t/**\n\t * Called when the close button is clicked\n\t */\n\t@Event({eventName: \"gov-close\"}) govClose: EventEmitter<string>\n\n\t@Watch(\"color\")\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(ToastColors, newValue, ToastClass.root)\n\t}\n\n\t@State() inheritedAttributes: Attributes = {}\n\n\tcomponentDidLoad() {\n\t\tthis.attributeObserver = new AttributeObserver(this.host, (attributeName, newValue) => {\n\t\t\tthis.onAriaAttributeChange(attributeName, newValue);\n\t\t});\n\n\t\tthis.attributeObserver.startObserving(ariaAttributes);\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateColor(this.color)\n\t\tthis.runTimer()\n\t\tthis.inheritedAttributes = inheritAriaAttributes(this.host);\n\t}\n\n\n\tdisconnectedCallback() {\n\t\tclearTimeout(this.timeout)\n\t\tthis.attributeObserver.stopObserving();\n\t}\n\n\tonAriaAttributeChange(attributeName: string, newValue: string) {\n\t\tthis.host.removeAttribute(attributeName)\n\t\tthis.inheritedAttributes = {...this.inheritedAttributes, [attributeName]: newValue};\n\t}\n\n\tprivate runTimer() {\n\t\tif (this.isTimer) {\n\t\t\tthis.timeout = setTimeout(() => {\n\t\t\t\tthis.host.classList.add(ToastClass.hidden)\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.destroy().catch()\n\t\t\t\t\tthis.govClose.emit(this.toastId)\n\t\t\t\t}, 600)\n\t\t\t}, this.time)\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={this.h.classes(ToastClass.root)}\n\t\t\t\tdata-toast-id={this.toastId}\n\t\t\t\tgravity={this.gravity}\n\t\t\t\tposition={this.position}\n\t\t\t\tcolor={this.color}\n\t\t\t\ttype={this.type}\n\t\t\t\tstyle={{\"--toast-duration\": this.time + \"ms\"}}\n\t\t\t>\n\t\t\t\t{this.h.hasSlot(\"icon\") && (\n\t\t\t\t\t<slot name=\"icon\"/>\n\t\t\t\t)}\n\n\t\t\t\t<div class={ToastClass.content} {...this.inheritedAttributes} aria-live=\"polite\" role=\"status\">\n\t\t\t\t\t<slot/>\n\t\t\t\t</div>\n\n\t\t\t\t<gov-button\n\t\t\t\t\tsize=\"s\"\n\t\t\t\t\taria-label={this.accessibleCloseLabel}\n\t\t\t\t\tcolor={this.isBold ? this.color : \"neutral\"}\n\t\t\t\t\ttype=\"base\"\n\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t\tclass={ToastClass.close}\n\t\t\t\t>\n\t\t\t\t\t{this.closeLabel ? this.closeLabel : <gov-icon name=\"x-lg\"></gov-icon>}\n\t\t\t\t</gov-button>\n\n\t\t\t\t<div class={ToastClass.timer}></div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onCloseHandler(): void {\n\t\tthis.govClose.emit(this.toastId)\n\t\tthis.destroy().catch()\n\t}\n\n\tget isBold(): boolean {\n\t\treturn this.type === \"bold\"\n\t}\n\n\tget isTimer(): boolean {\n\t\treturn Number.isInteger(this.time) && this.time > 0\n\t}\n\n\t/**\n\t * Remove toast from dom\n\t */\n\t@Method()\n\tasync destroy(): Promise<void> {\n\t\tclearTimeout(this.timeout)\n\t\tconst toast = document.querySelector(`[data-toast-id=\"${this.toastId}\"]`)\n\t\tif (toast) {\n\t\t\ttoast.classList.add(ToastClass.hidden)\n\t\t\tif (typeof toast.remove === \"function\") {\n\t\t\t\ttoast.remove()\n\t\t\t}\n\t\t}\n\t}\n}\n"],"version":3}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-7ff4447c.js');
|
|
6
6
|
const constants = require('./constants-5037cdc9.js');
|
|
7
7
|
const template = require('./template-b070338f.js');
|
|
8
8
|
require('./colors-976f6dff.js');
|
|
@@ -38,7 +38,7 @@ const GovTooltipContent = class {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (index.h(index.Host, { key: '
|
|
41
|
+
return (index.h(index.Host, { key: 'f57a1f6fb8d74271b6fc993838115ab419d9b429', class: constants.TooltipContentClass.root, role: "tooltip", hidden: !this.isVisible, "aria-hidden": !template.toBoolAttr(this.isVisible), "is-visible": this.isVisible }, index.h("slot", { key: '921baaaaa6286be7365cefaaaea8ecc20c16bebf' }), this.persist ? (index.h("gov-button", { "on-gov-click": this.hideContent.bind(this), color: this.color, size: this.size, type: "base" }, index.h("gov-icon", { slot: "left-icon", name: "x-lg", type: "basic" }))) : null));
|
|
42
42
|
}
|
|
43
43
|
get host() { return index.getElement(this); }
|
|
44
44
|
static get watchers() { return {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-7ff4447c.js');
|
|
6
6
|
const props = require('./props-b8a955b2.js');
|
|
7
7
|
const constants = require('./constants-5037cdc9.js');
|
|
8
|
-
const string_utils = require('./string.utils-
|
|
8
|
+
const string_utils = require('./string.utils-b84c81cf.js');
|
|
9
9
|
const template = require('./template-b070338f.js');
|
|
10
10
|
const win = require('./win-587f4614.js');
|
|
11
11
|
const stencil_utils = require('./stencil.utils-182382ee.js');
|
|
@@ -206,11 +206,11 @@ const GovTooltip = class {
|
|
|
206
206
|
}
|
|
207
207
|
render() {
|
|
208
208
|
var _a;
|
|
209
|
-
return (index.h(index.Host, { key: '
|
|
209
|
+
return (index.h(index.Host, { key: '062963ab589de44e81d5b8c99e60e52caed85373', id: this.tooltipId, class: this.h.classes(constants.TooltipClass.root), position: this.position }, index.h("span", { key: '2e9be2bc7a907ff709b4e7468f590d44a2936352', role: 'button', tabindex: 0, onKeyPress: () => this.showTooltip(), onBlur: () => {
|
|
210
210
|
if (this.persist === false) {
|
|
211
211
|
this.hideTooltip();
|
|
212
212
|
}
|
|
213
|
-
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, index.h("slot", { key: '
|
|
213
|
+
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, index.h("slot", { key: 'e8c852804d1e84f31ca4bc6a8f9454c8ce98e6a6' }))));
|
|
214
214
|
}
|
|
215
215
|
/**
|
|
216
216
|
* Showing the modal
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-7ff4447c.js');
|
|
6
6
|
const props = require('./props-b8a955b2.js');
|
|
7
7
|
const constants = require('./constants-441d1af4.js');
|
|
8
|
-
const string_utils = require('./string.utils-
|
|
8
|
+
const string_utils = require('./string.utils-b84c81cf.js');
|
|
9
9
|
const template = require('./template-b070338f.js');
|
|
10
10
|
require('./gov.log-1e8bab6e.js');
|
|
11
11
|
require('./win-587f4614.js');
|
|
@@ -48,8 +48,8 @@ const GovWizardItem = class {
|
|
|
48
48
|
render() {
|
|
49
49
|
const triggerId = this.identifier || this.triggerId;
|
|
50
50
|
const Tag = this.collapsible ? Tags.BUTTON : Tags.DIV;
|
|
51
|
-
const prefixSlot = this.h.hasSlot("prefix") && (index.h("span", { key: '
|
|
52
|
-
return (index.h(index.Host, { key: '
|
|
51
|
+
const prefixSlot = this.h.hasSlot("prefix") && (index.h("span", { key: '89a426f07ecb1d1b32fbdb39052a2ac7d8049c2a', class: constants.WizardItemClass.prefix }, index.h("slot", { key: '26e071baf3858a37ce9bda6cf9f09947abd21db0', name: "prefix" })));
|
|
52
|
+
return (index.h(index.Host, { key: 'e8e377730b03812ee75737606565ddd968e209fd', class: this.h.classes(constants.WizardItemClass.root), "is-expanded": this.isExpanded, color: this.color, size: this.size, role: "listitem", collapsible: this.collapsible, hydrated: this.hydrated }, index.h("div", { key: '4ea2d580649e6183df0aafdef2de7262bffbe7c0', class: constants.WizardItemClass.header }, prefixSlot, this.collapsible ? (index.h(Tag, { id: triggerId, class: this.h.classes(constants.WizardItemClass.label), "aria-expanded": template.booleanString(this.isExpanded), "aria-controls": this.contentId, disabled: this.disabled, "aria-disabled": template.toBoolAttrIfDefined(this.disabled), onClick: (e) => {
|
|
53
53
|
e.preventDefault();
|
|
54
54
|
e.stopPropagation();
|
|
55
55
|
this.toggle();
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-7ff4447c.js');
|
|
6
6
|
const props = require('./props-b8a955b2.js');
|
|
7
7
|
const constants = require('./constants-441d1af4.js');
|
|
8
8
|
const template = require('./template-b070338f.js');
|
|
9
|
-
const wcag = require('./wcag-
|
|
9
|
+
const wcag = require('./wcag-b8d80c7d.js');
|
|
10
10
|
const win = require('./win-587f4614.js');
|
|
11
11
|
const utils = require('./utils-d263c5c6.js');
|
|
12
12
|
require('./gov.log-1e8bab6e.js');
|
|
13
13
|
require('./colors-976f6dff.js');
|
|
14
14
|
require('./sizes-89f8d3b2.js');
|
|
15
|
-
require('./string.utils-
|
|
15
|
+
require('./string.utils-b84c81cf.js');
|
|
16
16
|
require('./helpers.types-ff60c9bd.js');
|
|
17
17
|
|
|
18
18
|
const GovWizard = class {
|
|
@@ -52,7 +52,7 @@ const GovWizard = class {
|
|
|
52
52
|
this.hydrated = true;
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (index.h(index.Host, { key: '
|
|
55
|
+
return (index.h(index.Host, { key: 'b31f7b2d27605da982cb379036be995ec9ef98ab', class: this.h.classes(constants.WizardClass.root), role: "list", size: this.size, hydrated: this.hydrated }, index.h("slot", { key: '4ccb835a27be7fed0be15809854bf33dbc7e48a3' })));
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
58
|
* Validate the WCAG attributes of the component
|
|
@@ -21,7 +21,7 @@ function _interopNamespace(e) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const NAMESPACE = 'core';
|
|
24
|
-
const BUILD = /* core */ { allRenderFn: true, appendChildSlotFix: true, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: true, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate:
|
|
24
|
+
const BUILD = /* core */ { allRenderFn: true, appendChildSlotFix: true, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: true, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: true, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: true, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: true, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: false, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: true, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, slot: true, slotChildNodesFix: true, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
27
|
Stencil Client Platform v4.20.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -122,6 +122,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
122
122
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
123
123
|
/* webpackMode: "lazy" */
|
|
124
124
|
'./gov-error-code.cjs.entry.js')); }).then(processMod, consoleError);
|
|
125
|
+
case 'gov-flex.cjs':
|
|
126
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
127
|
+
/* webpackMode: "lazy" */
|
|
128
|
+
'./gov-flex.cjs.entry.js')); }).then(processMod, consoleError);
|
|
125
129
|
case 'gov-form-checkbox.cjs':
|
|
126
130
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
127
131
|
/* webpackMode: "lazy" */
|
|
@@ -190,6 +194,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
190
194
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
191
195
|
/* webpackMode: "lazy" */
|
|
192
196
|
'./gov-layout-column.cjs.entry.js')); }).then(processMod, consoleError);
|
|
197
|
+
case 'gov-lifecycle.cjs':
|
|
198
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
199
|
+
/* webpackMode: "lazy" */
|
|
200
|
+
'./gov-lifecycle.cjs.entry.js')); }).then(processMod, consoleError);
|
|
193
201
|
case 'gov-loading.cjs':
|
|
194
202
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
195
203
|
/* webpackMode: "lazy" */
|
|
@@ -1510,6 +1518,9 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
1510
1518
|
maybePromise = safeCall(instance, "componentWillUpdate");
|
|
1511
1519
|
}
|
|
1512
1520
|
}
|
|
1521
|
+
{
|
|
1522
|
+
maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender"));
|
|
1523
|
+
}
|
|
1513
1524
|
endSchedule();
|
|
1514
1525
|
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
1515
1526
|
};
|
|
@@ -1666,6 +1677,11 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1666
1677
|
}
|
|
1667
1678
|
}
|
|
1668
1679
|
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1680
|
+
if (instance.componentShouldUpdate) {
|
|
1681
|
+
if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
|
|
1682
|
+
return;
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1669
1685
|
scheduleUpdate(hostRef, false);
|
|
1670
1686
|
}
|
|
1671
1687
|
}
|
|
@@ -2026,4 +2042,4 @@ exports.promiseResolve = promiseResolve;
|
|
|
2026
2042
|
exports.registerInstance = registerInstance;
|
|
2027
2043
|
exports.setNonce = setNonce;
|
|
2028
2044
|
|
|
2029
|
-
//# sourceMappingURL=index-
|
|
2045
|
+
//# sourceMappingURL=index-7ff4447c.js.map
|