@gov-design-system-ce/components 0.0.37 → 0.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{constants-245999e7.js → constants-ff12205f.js} +1 -1
- package/dist/cjs/constants-ff12205f.js.map +1 -0
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{form-8c6daa83.js → form-f68d13c6.js} +7 -7
- package/dist/cjs/form-f68d13c6.js.map +1 -0
- package/dist/cjs/gov-accordion.cjs.entry.js +2 -2
- package/dist/cjs/gov-alert.cjs.entry.js +2 -2
- package/dist/cjs/gov-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-app.cjs.entry.js +113 -201
- package/dist/cjs/gov-app.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-attachments_3.cjs.entry.js +2 -2
- package/dist/cjs/gov-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/gov-badge.cjs.entry.js +1 -1
- package/dist/cjs/gov-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/gov-button.cjs.entry.js +3 -3
- package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-card.cjs.entry.js +2 -2
- package/dist/cjs/gov-control-group.cjs.entry.js +5 -25
- package/dist/cjs/gov-control-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-dropdown.cjs.entry.js +129 -0
- package/dist/cjs/gov-dropdown.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-form-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/gov-form-control.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-file.cjs.entry.js +3 -3
- package/dist/cjs/gov-form-input.cjs.entry.js +3 -3
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +3 -3
- package/dist/cjs/gov-form-radio.cjs.entry.js +3 -3
- package/dist/cjs/gov-form-select.cjs.entry.js +9 -4
- package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-switch.cjs.entry.js +3 -3
- package/dist/cjs/gov-icon.cjs.entry.js +2 -2
- package/dist/cjs/gov-modal.cjs.entry.js +2 -2
- package/dist/cjs/gov-nav.cjs.entry.js +2 -2
- package/dist/cjs/gov-pagination.cjs.entry.js +2 -2
- package/dist/cjs/gov-prompt.cjs.entry.js +2 -2
- package/dist/cjs/gov-side-nav.cjs.entry.js +2 -2
- package/dist/cjs/gov-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/gov-tabs.cjs.entry.js +2 -2
- package/dist/cjs/gov-wizzard.cjs.entry.js +2 -2
- package/dist/cjs/index-29ac07f6.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{wcag-6efc0ab7.js → wcag-b0321f09.js} +2 -2
- package/dist/cjs/{wcag-6efc0ab7.js.map → wcag-b0321f09.js.map} +1 -1
- package/dist/cjs/{win-84bda0aa.js → win-53f637d4.js} +3 -2
- package/dist/cjs/win-53f637d4.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/gov-accordion/gov-accordion-item.css +3 -0
- package/dist/collection/components/gov-accordion/gov-accordion.css +3 -0
- package/dist/collection/components/gov-alert/gov-alert.css +3 -0
- package/dist/collection/components/gov-alert/gov-alert.js.map +1 -1
- package/dist/collection/components/gov-app/gov-app.css +3 -0
- package/dist/collection/components/gov-attachments/gov-attachments-item.css +3 -0
- package/dist/collection/components/gov-attachments/gov-attachments.css +3 -0
- package/dist/collection/components/gov-backdrop/gov-backdrop.css +3 -0
- package/dist/collection/components/gov-badge/gov-badge.css +3 -0
- package/dist/collection/components/gov-badge/gov-badge.js +4 -4
- package/dist/collection/components/gov-badge/gov-badge.js.map +1 -1
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +3 -0
- package/dist/collection/components/gov-button/{constants.js → default/constants.js} +3 -3
- package/dist/collection/components/gov-button/default/constants.js.map +1 -0
- package/dist/collection/components/gov-button/{gov-button.css → default/gov-button.css} +3 -0
- package/dist/collection/components/gov-button/{gov-button.js → default/gov-button.js} +7 -7
- package/dist/collection/components/gov-button/default/gov-button.js.map +1 -0
- package/dist/collection/components/gov-button/default/gov-button.types.js.map +1 -0
- package/dist/collection/components/gov-button/dropdown/constants.js +10 -0
- package/dist/collection/components/gov-button/dropdown/constants.js.map +1 -0
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.css +263 -0
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.js +148 -0
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.js.map +1 -0
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.types.js +2 -0
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.types.js.map +1 -0
- package/dist/collection/components/gov-card/gov-card.css +3 -0
- package/dist/collection/components/gov-container/gov-container.css +3 -0
- package/dist/collection/components/gov-control-group/gov-control-group.css +9 -18
- package/dist/collection/components/gov-control-group/gov-control-group.js +10 -64
- package/dist/collection/components/gov-control-group/gov-control-group.js.map +1 -1
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.css +3 -0
- package/dist/collection/components/gov-empty/gov-empty.css +3 -0
- package/dist/collection/components/gov-error-code/gov-error-code.css +3 -0
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.css +3 -0
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.css +3 -0
- package/dist/collection/components/gov-form/control/gov-form-control.css +3 -0
- package/dist/collection/components/gov-form/file/gov-form-file.css +3 -0
- package/dist/collection/components/gov-form/group/gov-form-group.css +3 -0
- package/dist/collection/components/gov-form/input/gov-form-input.css +3 -0
- package/dist/collection/components/gov-form/label/gov-form-label.css +3 -0
- package/dist/collection/components/gov-form/message/gov-form-message.css +3 -0
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.css +3 -0
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.css +3 -0
- package/dist/collection/components/gov-form/radio/gov-form-radio.css +3 -0
- package/dist/collection/components/gov-form/search/gov-form-search.css +3 -0
- package/dist/collection/components/gov-form/select/gov-form-select.css +3 -0
- package/dist/collection/components/gov-form/select/gov-form-select.js +6 -1
- package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
- package/dist/collection/components/gov-form/switch/gov-form-switch.css +3 -0
- package/dist/collection/components/gov-grid/gov-grid-item.css +3 -0
- package/dist/collection/components/gov-grid/gov-grid.css +3 -0
- package/dist/collection/components/gov-icon/gov-icon.css +3 -0
- package/dist/collection/components/gov-icon/list.js +10 -0
- package/dist/collection/components/gov-icon/list.js.map +1 -1
- package/dist/collection/components/gov-layout/gov-layout-column.css +3 -0
- package/dist/collection/components/gov-layout/gov-layout.css +3 -0
- package/dist/collection/components/gov-loading/loading/gov-loading.css +3 -0
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.css +3 -0
- package/dist/collection/components/gov-message/gov-message.css +3 -0
- package/dist/collection/components/gov-modal/gov-modal.css +3 -0
- package/dist/collection/components/gov-nav/gov-nav-item.css +3 -0
- package/dist/collection/components/gov-nav/gov-nav.css +3 -0
- package/dist/collection/components/gov-pagination/gov-pagination.css +3 -0
- package/dist/collection/components/gov-promp/gov-prompt.css +3 -0
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.css +3 -0
- package/dist/collection/components/gov-side-nav/gov-side-nav.css +3 -0
- package/dist/collection/components/gov-spacer/gov-spacer.css +3 -0
- package/dist/collection/components/gov-statsbar/gov-statsbar-item.css +3 -0
- package/dist/collection/components/gov-statsbar/gov-statsbar.css +3 -0
- package/dist/collection/components/gov-stepper/gov-stepper-item.css +3 -0
- package/dist/collection/components/gov-stepper/gov-stepper.css +3 -0
- package/dist/collection/components/gov-tabs/gov-tabs-item.css +3 -0
- package/dist/collection/components/gov-tabs/gov-tabs.css +3 -0
- package/dist/collection/components/gov-tile/container/gov-tiles.css +3 -0
- package/dist/collection/components/gov-tile/gov-tile.css +3 -0
- package/dist/collection/components/gov-toast/gov-toast.css +3 -0
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +3 -0
- package/dist/collection/components/gov-tooltip/gov-tooltip.css +3 -0
- package/dist/collection/components/gov-wizzard/gov-wizzard-item.css +3 -0
- package/dist/collection/components/gov-wizzard/gov-wizzard.css +3 -0
- package/dist/collection/helpers/Dom/win.js +2 -1
- package/dist/collection/helpers/Dom/win.js.map +1 -1
- package/dist/collection/pages/Alert.js +1 -1
- package/dist/collection/pages/Alert.js.map +1 -1
- package/dist/collection/pages/Button.js +65 -41
- package/dist/collection/pages/Button.js.map +1 -1
- package/dist/collection/pages/ControlGroup.js +33 -151
- package/dist/collection/pages/ControlGroup.js.map +1 -1
- package/dist/collection/pages/Spacer.js +14 -8
- package/dist/collection/pages/Spacer.js.map +1 -1
- package/dist/components/constants3.js +1 -1
- package/dist/components/constants3.js.map +1 -1
- package/dist/components/form.js +10 -10
- package/dist/components/form.js.map +1 -1
- package/dist/components/gov-accordion-item.js +1 -0
- package/dist/components/gov-accordion-item.js.map +1 -1
- package/dist/components/gov-accordion.js +1 -0
- package/dist/components/gov-accordion.js.map +1 -1
- package/dist/components/gov-alert.js +1 -0
- package/dist/components/gov-alert.js.map +1 -1
- package/dist/components/gov-app.js +114 -201
- package/dist/components/gov-app.js.map +1 -1
- package/dist/components/gov-attachments-item2.js +1 -0
- package/dist/components/gov-attachments-item2.js.map +1 -1
- package/dist/components/gov-attachments2.js +1 -0
- package/dist/components/gov-attachments2.js.map +1 -1
- package/dist/components/gov-backdrop2.js +1 -0
- package/dist/components/gov-backdrop2.js.map +1 -1
- package/dist/components/gov-badge2.js +2 -1
- package/dist/components/gov-badge2.js.map +1 -1
- package/dist/components/gov-breadcrumbs.js +1 -0
- package/dist/components/gov-breadcrumbs.js.map +1 -1
- package/dist/components/gov-button2.js +2 -1
- package/dist/components/gov-button2.js.map +1 -1
- package/dist/components/gov-card.js +1 -0
- package/dist/components/gov-card.js.map +1 -1
- package/dist/components/gov-container.js +1 -0
- package/dist/components/gov-container.js.map +1 -1
- package/dist/components/gov-control-group.js +8 -25
- package/dist/components/gov-control-group.js.map +1 -1
- package/dist/components/gov-cookiebar.js +1 -0
- package/dist/components/gov-cookiebar.js.map +1 -1
- package/dist/components/gov-dropdown.d.ts +11 -0
- package/dist/components/gov-dropdown.js +144 -0
- package/dist/components/gov-dropdown.js.map +1 -0
- package/dist/components/gov-empty.js +1 -0
- package/dist/components/gov-empty.js.map +1 -1
- package/dist/components/gov-error-code.js +1 -0
- package/dist/components/gov-error-code.js.map +1 -1
- package/dist/components/gov-form-autocomplete2.js +1 -0
- package/dist/components/gov-form-autocomplete2.js.map +1 -1
- package/dist/components/gov-form-checkbox.js +1 -0
- package/dist/components/gov-form-checkbox.js.map +1 -1
- package/dist/components/gov-form-control.js +1 -0
- package/dist/components/gov-form-control.js.map +1 -1
- package/dist/components/gov-form-file.js +1 -0
- package/dist/components/gov-form-file.js.map +1 -1
- package/dist/components/gov-form-group.js +1 -0
- package/dist/components/gov-form-group.js.map +1 -1
- package/dist/components/gov-form-input2.js +1 -0
- package/dist/components/gov-form-input2.js.map +1 -1
- package/dist/components/gov-form-label.js +1 -0
- package/dist/components/gov-form-label.js.map +1 -1
- package/dist/components/gov-form-message2.js +1 -0
- package/dist/components/gov-form-message2.js.map +1 -1
- package/dist/components/gov-form-multi-select.js +1 -0
- package/dist/components/gov-form-multi-select.js.map +1 -1
- package/dist/components/gov-form-password-power.js +1 -0
- package/dist/components/gov-form-password-power.js.map +1 -1
- package/dist/components/gov-form-radio.js +1 -0
- package/dist/components/gov-form-radio.js.map +1 -1
- package/dist/components/gov-form-search.js +1 -0
- package/dist/components/gov-form-search.js.map +1 -1
- package/dist/components/gov-form-select2.js +7 -1
- package/dist/components/gov-form-select2.js.map +1 -1
- package/dist/components/gov-form-switch.js +1 -0
- package/dist/components/gov-form-switch.js.map +1 -1
- package/dist/components/gov-grid-item.js +1 -0
- package/dist/components/gov-grid-item.js.map +1 -1
- package/dist/components/gov-grid.js +1 -0
- package/dist/components/gov-grid.js.map +1 -1
- package/dist/components/gov-icon2.js +2 -1
- package/dist/components/gov-icon2.js.map +1 -1
- package/dist/components/gov-layout-column.js +1 -0
- package/dist/components/gov-layout-column.js.map +1 -1
- package/dist/components/gov-layout.js +1 -0
- package/dist/components/gov-layout.js.map +1 -1
- package/dist/components/gov-loading.js +1 -0
- package/dist/components/gov-loading.js.map +1 -1
- package/dist/components/gov-message.js +1 -0
- package/dist/components/gov-message.js.map +1 -1
- package/dist/components/gov-modal.js +1 -0
- package/dist/components/gov-modal.js.map +1 -1
- package/dist/components/gov-nav-item.js +1 -0
- package/dist/components/gov-nav-item.js.map +1 -1
- package/dist/components/gov-nav.js +1 -0
- package/dist/components/gov-nav.js.map +1 -1
- package/dist/components/gov-pagination.js +1 -0
- package/dist/components/gov-pagination.js.map +1 -1
- package/dist/components/gov-prompt.js +1 -0
- package/dist/components/gov-prompt.js.map +1 -1
- package/dist/components/gov-side-nav-item.js +1 -0
- package/dist/components/gov-side-nav-item.js.map +1 -1
- package/dist/components/gov-side-nav.js +1 -0
- package/dist/components/gov-side-nav.js.map +1 -1
- package/dist/components/gov-skeleton.js +1 -0
- package/dist/components/gov-skeleton.js.map +1 -1
- package/dist/components/gov-spacer.js +1 -0
- package/dist/components/gov-spacer.js.map +1 -1
- package/dist/components/gov-statsbar-item.js +1 -0
- package/dist/components/gov-statsbar-item.js.map +1 -1
- package/dist/components/gov-statsbar.js +1 -0
- package/dist/components/gov-statsbar.js.map +1 -1
- package/dist/components/gov-stepper-item.js +1 -0
- package/dist/components/gov-stepper-item.js.map +1 -1
- package/dist/components/gov-stepper.js +1 -0
- package/dist/components/gov-stepper.js.map +1 -1
- package/dist/components/gov-tabs-item.js +1 -0
- package/dist/components/gov-tabs-item.js.map +1 -1
- package/dist/components/gov-tabs.js +1 -0
- package/dist/components/gov-tabs.js.map +1 -1
- package/dist/components/gov-tile.js +1 -0
- package/dist/components/gov-tile.js.map +1 -1
- package/dist/components/gov-tiles.js +1 -0
- package/dist/components/gov-tiles.js.map +1 -1
- package/dist/components/gov-toast.js +1 -0
- package/dist/components/gov-toast.js.map +1 -1
- package/dist/components/gov-tooltip-content.js +1 -0
- package/dist/components/gov-tooltip-content.js.map +1 -1
- package/dist/components/gov-tooltip.js +1 -0
- package/dist/components/gov-tooltip.js.map +1 -1
- package/dist/components/gov-wizzard-item.js +1 -0
- package/dist/components/gov-wizzard-item.js.map +1 -1
- package/dist/components/gov-wizzard.js +1 -0
- package/dist/components/gov-wizzard.js.map +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/win.js +2 -1
- package/dist/components/win.js.map +1 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-6044a1e7.entry.js → p-02fb27e8.entry.js} +2 -2
- package/dist/core/p-0574a26a.entry.js +2 -0
- package/dist/core/{p-cc9e9a31.entry.js.map → p-0574a26a.entry.js.map} +1 -1
- package/dist/core/{p-a9c57f72.entry.js → p-070f9684.entry.js} +2 -2
- package/dist/core/p-09cda4ea.entry.js +2 -0
- package/dist/core/p-09cda4ea.entry.js.map +1 -0
- package/dist/core/p-0f5e2b0a.js +2 -0
- package/dist/core/{p-1bdec1f4.entry.js → p-14a475a8.entry.js} +2 -2
- package/dist/core/{p-fd555dce.entry.js → p-1c4ad772.entry.js} +2 -2
- package/dist/core/p-1c4ad772.entry.js.map +1 -0
- package/dist/core/{p-227a9e9b.entry.js → p-20cb0742.entry.js} +2 -2
- package/dist/core/{p-3e1a1bd4.entry.js → p-22222994.entry.js} +2 -2
- package/dist/core/{p-54b17f4d.entry.js → p-2e2be66b.entry.js} +2 -2
- package/dist/core/{p-ef7a1780.entry.js → p-2e94d2d3.entry.js} +2 -2
- package/dist/core/p-2f0f56fc.entry.js +2 -0
- package/dist/core/p-2f0f56fc.entry.js.map +1 -0
- package/dist/core/{p-3a69322b.entry.js → p-304f2d62.entry.js} +2 -2
- package/dist/core/p-304f2d62.entry.js.map +1 -0
- package/dist/core/p-34152b51.js +2 -0
- package/dist/core/p-34152b51.js.map +1 -0
- package/dist/core/p-34ed07f6.js +2 -0
- package/dist/core/p-34ed07f6.js.map +1 -0
- package/dist/core/{p-005bfb42.entry.js → p-3d7ea15c.entry.js} +2 -2
- package/dist/core/{p-cd869237.js → p-3dbf7f49.js} +2 -2
- package/dist/core/p-3dbf7f49.js.map +1 -0
- package/dist/core/{p-5e865538.entry.js → p-4c6d7b65.entry.js} +2 -2
- package/dist/core/{p-bbbc4e43.entry.js → p-529363af.entry.js} +2 -2
- package/dist/core/p-58047fab.entry.js +2 -0
- package/dist/core/p-58047fab.entry.js.map +1 -0
- package/dist/core/p-60ff8457.entry.js +2 -0
- package/dist/core/{p-acfd00a2.entry.js.map → p-60ff8457.entry.js.map} +1 -1
- package/dist/core/{p-42db4603.entry.js → p-65aa3b0c.entry.js} +2 -2
- package/dist/core/{p-75a4c838.entry.js → p-683fc65e.entry.js} +2 -2
- package/dist/core/{p-75a4c838.entry.js.map → p-683fc65e.entry.js.map} +1 -1
- package/dist/core/{p-c69cd34e.entry.js → p-70a7e7f6.entry.js} +2 -2
- package/dist/core/{p-3da88ddb.entry.js → p-7cde4bc8.entry.js} +2 -2
- package/dist/core/{p-9584f413.entry.js → p-90330543.entry.js} +2 -2
- package/dist/core/{p-6dc65816.entry.js → p-bfc5e0f7.entry.js} +2 -2
- package/dist/core/{p-41f07da7.entry.js → p-ce59c2ee.entry.js} +2 -2
- package/dist/core/{p-207ba616.entry.js → p-d9e28400.entry.js} +2 -2
- package/dist/core/{p-f7275b59.entry.js → p-ec63daab.entry.js} +2 -2
- package/dist/core/{p-c289af04.entry.js → p-ed1e9d01.entry.js} +2 -2
- package/dist/core/{p-c39004f5.entry.js → p-f5d42069.entry.js} +2 -2
- package/dist/core/p-f5d42069.entry.js.map +1 -0
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +1 -1
- package/dist/custom-elements/index.js.map +1 -1
- package/dist/esm/{constants-45f6db4c.js → constants-5708696f.js} +2 -2
- package/dist/esm/constants-5708696f.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/{form-cd65d95e.js → form-2d9f68d9.js} +7 -7
- package/dist/esm/form-2d9f68d9.js.map +1 -0
- package/dist/esm/gov-accordion.entry.js +2 -2
- package/dist/esm/gov-alert.entry.js +2 -2
- package/dist/esm/gov-alert.entry.js.map +1 -1
- package/dist/esm/gov-app.entry.js +113 -201
- package/dist/esm/gov-app.entry.js.map +1 -1
- package/dist/esm/gov-attachments_3.entry.js +2 -2
- package/dist/esm/gov-backdrop.entry.js +2 -2
- package/dist/esm/gov-badge.entry.js +1 -1
- package/dist/esm/gov-badge.entry.js.map +1 -1
- package/dist/esm/gov-breadcrumbs.entry.js +2 -2
- package/dist/esm/gov-button.entry.js +3 -3
- package/dist/esm/gov-button.entry.js.map +1 -1
- package/dist/esm/gov-card.entry.js +2 -2
- package/dist/esm/gov-control-group.entry.js +6 -26
- package/dist/esm/gov-control-group.entry.js.map +1 -1
- package/dist/esm/gov-dropdown.entry.js +125 -0
- package/dist/esm/gov-dropdown.entry.js.map +1 -0
- package/dist/esm/gov-form-checkbox.entry.js +3 -3
- package/dist/esm/gov-form-control.entry.js +1 -1
- package/dist/esm/gov-form-file.entry.js +3 -3
- package/dist/esm/gov-form-input.entry.js +3 -3
- package/dist/esm/gov-form-multi-select.entry.js +3 -3
- package/dist/esm/gov-form-radio.entry.js +3 -3
- package/dist/esm/gov-form-select.entry.js +9 -4
- package/dist/esm/gov-form-select.entry.js.map +1 -1
- package/dist/esm/gov-form-switch.entry.js +3 -3
- package/dist/esm/gov-icon.entry.js +2 -2
- package/dist/esm/gov-modal.entry.js +2 -2
- package/dist/esm/gov-nav.entry.js +2 -2
- package/dist/esm/gov-pagination.entry.js +2 -2
- package/dist/esm/gov-prompt.entry.js +2 -2
- package/dist/esm/gov-side-nav.entry.js +2 -2
- package/dist/esm/gov-skeleton.entry.js +2 -2
- package/dist/esm/gov-tabs.entry.js +2 -2
- package/dist/esm/gov-wizzard.entry.js +2 -2
- package/dist/esm/index-b010bfb4.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{wcag-d588d144.js → wcag-afdfdddb.js} +2 -2
- package/dist/esm/{wcag-d588d144.js.map → wcag-afdfdddb.js.map} +1 -1
- package/dist/esm/{win-9c8460bb.js → win-7a1a8ac8.js} +3 -2
- package/dist/esm/win-7a1a8ac8.js.map +1 -0
- package/dist/hydrate/index.js +410 -382
- package/dist/types/components/gov-alert/gov-alert.d.ts +1 -1
- package/dist/types/components/gov-badge/gov-badge.d.ts +1 -1
- package/dist/types/components/gov-button/{constants.d.ts → default/constants.d.ts} +3 -3
- package/dist/types/components/gov-button/{gov-button.d.ts → default/gov-button.d.ts} +1 -1
- package/dist/types/components/gov-button/{gov-button.types.d.ts → default/gov-button.types.d.ts} +1 -1
- package/dist/types/components/gov-button/dropdown/constants.d.ts +10 -0
- package/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +30 -0
- package/dist/types/components/gov-button/dropdown/gov-dropdown.types.d.ts +4 -0
- package/dist/types/components/gov-control-group/gov-control-group.d.ts +3 -16
- package/dist/types/components.d.ts +47 -20
- package/dist/types/helpers/Dom/win.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/constants-245999e7.js.map +0 -1
- package/dist/cjs/form-8c6daa83.js.map +0 -1
- package/dist/cjs/win-84bda0aa.js.map +0 -1
- package/dist/collection/components/gov-button/constants.js.map +0 -1
- package/dist/collection/components/gov-button/gov-button.js.map +0 -1
- package/dist/collection/components/gov-button/gov-button.types.js.map +0 -1
- package/dist/core/p-06e938d7.entry.js +0 -2
- package/dist/core/p-06e938d7.entry.js.map +0 -1
- package/dist/core/p-3a69322b.entry.js.map +0 -1
- package/dist/core/p-61af5a2c.js +0 -2
- package/dist/core/p-61af5a2c.js.map +0 -1
- package/dist/core/p-670b4f93.js +0 -2
- package/dist/core/p-9bd90cc4.entry.js +0 -2
- package/dist/core/p-9bd90cc4.entry.js.map +0 -1
- package/dist/core/p-acfd00a2.entry.js +0 -2
- package/dist/core/p-c20102ff.js +0 -2
- package/dist/core/p-c20102ff.js.map +0 -1
- package/dist/core/p-c39004f5.entry.js.map +0 -1
- package/dist/core/p-cc9e9a31.entry.js +0 -2
- package/dist/core/p-cd869237.js.map +0 -1
- package/dist/core/p-fd555dce.entry.js.map +0 -1
- package/dist/esm/constants-45f6db4c.js.map +0 -1
- package/dist/esm/form-cd65d95e.js.map +0 -1
- package/dist/esm/win-9c8460bb.js.map +0 -1
- /package/dist/collection/components/gov-button/{gov-button.types.js → default/gov-button.types.js} +0 -0
- /package/dist/core/{p-6044a1e7.entry.js.map → p-02fb27e8.entry.js.map} +0 -0
- /package/dist/core/{p-a9c57f72.entry.js.map → p-070f9684.entry.js.map} +0 -0
- /package/dist/core/{p-670b4f93.js.map → p-0f5e2b0a.js.map} +0 -0
- /package/dist/core/{p-1bdec1f4.entry.js.map → p-14a475a8.entry.js.map} +0 -0
- /package/dist/core/{p-227a9e9b.entry.js.map → p-20cb0742.entry.js.map} +0 -0
- /package/dist/core/{p-3e1a1bd4.entry.js.map → p-22222994.entry.js.map} +0 -0
- /package/dist/core/{p-54b17f4d.entry.js.map → p-2e2be66b.entry.js.map} +0 -0
- /package/dist/core/{p-ef7a1780.entry.js.map → p-2e94d2d3.entry.js.map} +0 -0
- /package/dist/core/{p-005bfb42.entry.js.map → p-3d7ea15c.entry.js.map} +0 -0
- /package/dist/core/{p-5e865538.entry.js.map → p-4c6d7b65.entry.js.map} +0 -0
- /package/dist/core/{p-bbbc4e43.entry.js.map → p-529363af.entry.js.map} +0 -0
- /package/dist/core/{p-42db4603.entry.js.map → p-65aa3b0c.entry.js.map} +0 -0
- /package/dist/core/{p-c69cd34e.entry.js.map → p-70a7e7f6.entry.js.map} +0 -0
- /package/dist/core/{p-3da88ddb.entry.js.map → p-7cde4bc8.entry.js.map} +0 -0
- /package/dist/core/{p-9584f413.entry.js.map → p-90330543.entry.js.map} +0 -0
- /package/dist/core/{p-6dc65816.entry.js.map → p-bfc5e0f7.entry.js.map} +0 -0
- /package/dist/core/{p-41f07da7.entry.js.map → p-ce59c2ee.entry.js.map} +0 -0
- /package/dist/core/{p-207ba616.entry.js.map → p-d9e28400.entry.js.map} +0 -0
- /package/dist/core/{p-f7275b59.entry.js.map → p-ec63daab.entry.js.map} +0 -0
- /package/dist/core/{p-c289af04.entry.js.map → p-ed1e9d01.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"gov-accordion.js","mappings":";;;;;;;;;AAAA,MAAM,eAAe,GAAG,wfAAwf;;MCengBA,cAAY;EAGxB;;;;gBAQ4C,GAAG;mBAIG,SAAS;oBAII,KAAK;;;IAfnE,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;GAC3B;EA6BD,YAAY,CAAC,QAAgB;IAC5B,YAAY,CAAC,cAAc,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;GAC3D;EAGD,eAAe,CAAC,QAAgB;IAC/B,YAAY,CAAC,QAAQ,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;GACrD;EAED,iBAAiB;IAChB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC5B,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;GAClC;EAED,gBAAgB;IACf,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,KAAkC;MAC9F,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,CAAC,CAAkC;QACvE,CAAC,CAAC,eAAe,EAAE,CAAA;QACnB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;UACnB,SAAS,EAAE,cAAc,CAAC,IAAI;UAC9B,IAAI,EAAE,CAAC,CAAC,MAAM,CAA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IAAI,CAAC,OAAO,CAAC,CAAA;GAClC;EAED,gBAAgB;IACf,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,KAAkC;MAC9F,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,CAAC,CAAkC;QACvE,CAAC,CAAC,eAAe,EAAE,CAAA;QACnB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;UACnB,SAAS,EAAE,cAAc,CAAC,IAAI;UAC9B,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI;UACnB,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG;SACjB,CAAC,CAAA;OACF,CAAC,CAAA;KACF,CAAC,CAAA;GACF;EAED,MAAM,kBAAkB;IACvB,IAAI,uBAAuB,EAAE,EAAE;MAC9B,MAAM,KAAK,CAAC,GAAG,CAAC,CAAA;MAChB,MAAM,IAAI,CAAC,YAAY,EAAE,CAAA;KACzB;GACD;EAED,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,IACvF,WAAK,IAAI,EAAE,MAAM,iBAAe,IAAI,CAAC,SAAS,sBAAoB,IAAI,CAAC,cAAc,IACpF,eAAQ,CACH,CACA,EACP;GACD;;;;EAMD,MAAM,YAAY;IACjB,iBAAiB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;GAC3E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["GovAccordion"],"sources":["../../../packages/core/src/components/gov-accordion/gov-accordion.scss?tag=gov-accordion","../../../packages/core/src/components/gov-accordion/gov-accordion.tsx"],"sourcesContent":["/*\n * Accordion\n */\n\n$class: \".gov-accordion\";\n\n#{$class} {\n\t@include base();\n\n\t&[no-border] {\n\t\t.gov-accordion-item__header::before {\n\t\t\tbackground-color: transparent !important;\n\t\t}\n\t}\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, Watch } from '@stencil/core'\nimport { validateProp } from '../../helpers/Validate/props'\nimport { AccordionClass, AccordionSizes, AccordionSizeType, AccordionItemClass, AccordionVariantType } from './constants'\nimport { Variants } from '../../core/constants/variants'\nimport { validateWcagLabel } from '../../helpers/Validate/wcag'\nimport { canValidateWcagOnRender } from '../../helpers/Dom/win'\nimport { delay } from '../../utils/utils'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\nimport { AccordionEvent, AccordionItemEvent } from \"./gov-accordion.types\"\n\n@Component({\n\ttag: 'gov-accordion',\n\tstyleUrl: 'gov-accordion.scss',\n})\nexport class GovAccordion {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovAccordionElement\n\t/**\n\t * Accordion’s size.\n\t */\n\t@Prop() readonly size?: AccordionSizeType = 'm'\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() readonly variant?: AccordionVariantType = 'primary'\n\t/**\n\t * Accordion item underline\n\t */\n\t@Prop({ attribute: 'no-border' }) readonly noBorder: boolean = false\n\t/**\n\t * Adds accessible label for the accordion that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-label' }) readonly wcagLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({ attribute: 'wcag-labelled-by' }) readonly wcagLabelledBy: string\n\t/**\n\t * Called when the accordion state changes\n\t */\n\t@Event({ eventName: 'gov-change' }) govChange: EventEmitter<AccordionEvent>\n\n\t@Watch('size')\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(AccordionSizes, newValue, AccordionClass.root)\n\t}\n\n\t@Watch('variant')\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(Variants, newValue, AccordionClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateSize(this.size)\n\t\tthis.validateVariant(this.variant)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.host.querySelectorAll(AccordionItemClass.root).forEach((child: HTMLGovAccordionItemElement) => {\n\t\t\tchild.addEventListener('gov-change', (e: CustomEvent<AccordionItemEvent>) => {\n\t\t\t\te.stopPropagation()\n\t\t\t\tthis.govChange.emit({\n\t\t\t\t\tcomponent: AccordionClass.root,\n\t\t\t\t\topen: e.detail.open,\n\t\t\t\t\tref: e.detail.ref\n\t\t\t\t})\n\t\t\t})\n\t\t})\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(AccordionClass.root)} size={this.size} variant={this.variant}>\n\t\t\t\t<div role={'list'} arial-label={this.wcagLabel} arial-labelledby={this.wcagLabelledBy}>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagLabel(this.wcagLabel, this.wcagLabelledBy, AccordionClass.root)\n\t}\n}\n"],"version":3}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"gov-alert.js","mappings":";;;;;;;;;;;AAIO,MAAM,aAAa,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC,CAAA;AAG7F,MAAM,UAAU,GAAG;EACzB,IAAI,EAAE,WAAW;EACjB,OAAO,EAAE,oBAAoB;EAC7B,IAAI,EAAE,iBAAiB;EACvB,OAAO,EAAE,oBAAoB;EAC7B,QAAQ,EAAE,qBAAqB;EAC/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AAC,IAC5E,eAAQ,CACH,CACI,KAEX,eAAQ,CACR,CACI,CACG,EACT,IAAI,CAAC,QAAQ,IAAI,WAAW,CACvB,EACP;GACD;EAED,cAAc,CAAC,CAA2B;IACzC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;MAClB,SAAS,EAAE,UAAU,CAAC,IAAI;MAC1B,GAAG,EAAE,IAAI,CAAC,IAAI;MACd,aAAa,EAAE,CAAC;KAChB,CAAC,CAAA;GACF;;;;EAMD,MAAM,YAAY;IACjB,IAAI,IAAI,CAAC,QAAQ,EAAE;MAClB,gBAAgB,CAAC,IAAI,CAAC,cAAc,EAAE,kBAAkB,EAAE,UAAU,CAAC,IAAI,CAAC,CAAA;KAC1E;IACD,IAAI,IAAI,CAAC,QAAQ,EAAE;MAClB,gBAAgB,CAAC,IAAI,CAAC,eAAe,EAAE,mBAAmB,EAAE,UAAU,CAAC,IAAI,CAAC,CAAA;KAC5E;GACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["GovAlert"],"sources":["../../../packages/core/src/components/gov-alert/constants.ts","../../../packages/core/src/components/gov-alert/gov-alert.scss?tag=gov-alert","../../../packages/core/src/components/gov-alert/gov-alert.tsx"],"sourcesContent":["import { Variants } from '../../core/constants/variants'\nimport { pick } from '../../utils/utils'\nimport { ValueOf } from '../../types/interfaces'\n\nexport const AlertVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'WARNING', 'ERROR', 'SUCCESS'])\nexport type VariantType = `${ValueOf<typeof AlertVariants>}`\n\nexport const AlertClass = {\n\troot: 'gov-alert',\n\tsection: 'gov-alert__section',\n\ticon: 'gov-alert__icon',\n\tcontent: 'gov-alert__content',\n\theadline: 'gov-alert__headline',\n\tclose: 'gov-alert__close',\n}\n","/*\n * Alert\n */\n\n$class: \".gov-alert\";\n\n#{$class} {\n\t@include base();\n\t&__section {\n\t\t@include container();\n\t\tdisplay: flex;\n\t\tgap: rem-calc(16);\n\t\tpadding-top: rem-calc(16);\n\t\tpadding-bottom: rem-calc(16);\n\t}\n\t&__icon {\n\t\tflex: 0 0 auto;\n\t\t& > * {\n\t\t\twidth: rem-calc(20);\n\t\t\theight: rem-calc(20);\n\t\t}\n\t}\n\t&__headline {\n\t\tdisplay: flex;\n\t\tgap: rem-calc(16);\n\n\t\t+ div {\n\t\t\tmargin-top: rem-calc(8);\n\t\t}\n\n\t\tp {\n\t\t\tmargin-bottom: 0;\n\t\t}\n\n\t\tgov-button {\n\t\t\tmargin-top: rem-calc(-4);\n\t\t}\n\t}\n\t&__content {\n\t\t@include reset-last-margin();\n\t\tpadding-right: rem-calc(52);\n\t\tp {\n\t\t\t@include typography($font-size-m);\n\t\t}\n\t\ta {\n\t\t\tcolor: inherit;\n\t\t\t@include hover() {\n\t\t\t\tcolor: inherit;\n\t\t\t}\n\t\t}\n\t}\n\t&__close {\n\t\tposition: absolute;\n\t\ttop: rem-calc(10);\n\t\tright: rem-calc(16);\n\t}\n\n\t// VARIANTS\n\t@each $variant, $definitions in $alert-variants {\n\t\t&[variant=\"#{$variant}\"] {\n\t\t\tbackground-color: get(\"bg-color\", $definitions);\n\t\t\t#{$class} {\n\t\t\t\t&__icon {\n\t\t\t\t\tcolor: get(\"icon-color\", $definitions);\n\t\t\t\t}\n\t\t\t\t&__content {\n\t\t\t\t\tcolor: get(\"text-color\", $definitions);\n\t\t\t\t}\n\t\t\t}\n\t\t\t@if deep-map-check($definitions, \"border\") {\n\t\t\t\tborder-bottom: $alert-border;\n\t\t\t}\n\n\t\t\t// STATES\n\t\t\t@include parameter(\"inverse\") {\n\t\t\t\tborder-bottom: $alert-border;\n\t\t\t\tbackground-color: $alert-inverse-bg;\n\t\t\t\t#{$class} {\n\t\t\t\t\t&__icon {\n\t\t\t\t\t\tcolor: get(\"bg-color\", $definitions);\n\t\t\t\t\t}\n\t\t\t\t\t&__content {\n\t\t\t\t\t\tcolor: $alert-inverse-color;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// MQ\n\t@include mq($from: xl) {\n\t\t&__content {\n\t\t\tpadding-right: rem-calc(32);\n\t\t}\n\t}\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch } from \"@stencil/core\"\nimport { validateProp } from \"../../helpers/Validate/props\"\nimport { AlertClass, AlertVariants, VariantType } from \"./constants\"\nimport { govHost, toBoolAttr } from \"../../helpers/Dom/template\"\nimport { GovHost } from \"../../helpers/Dom/template.types\"\nimport { AlertEvent } from \"./gov-alert.types\"\nimport { ButtonEvent } from \"../gov-button/default/gov-button.types\"\nimport Fragment from \"../../helpers/Fragment\"\nimport { validateWcagProp } from \"../../helpers/Validate/wcag\"\nimport { canValidateWcagOnRender } from \"../../helpers/Dom/win\"\nimport { delay } from \"../../utils/utils\"\n\n@Component({\n\ttag: \"gov-alert\",\n\tstyleUrl: \"gov-alert.scss\",\n})\nexport class GovAlert {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovAlertElement\n\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() readonly headline: string\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() readonly variant: VariantType = \"primary\"\n\t/**\n\t * Determine if component should have inverse colors to be used on dark background\n\t */\n\t@Prop() readonly inverse: boolean = false\n\t/**\n\t * Aria label for the closing button. It is mandatory if the alert is closable\n\t */\n\t@Prop({ attribute: \"wcag-close-label\" }) readonly wcagCloseLabel: string\n\t/**\n\t * Aria label for the toggle button. It is mandatory if the alert has headline\n\t */\n\t@Prop({ attribute: \"wcag-toggle-label\" }) readonly wcagToggleLabel: string\n\t/**\n\t * Called when the close button is clicked\n\t */\n\t@Event({ eventName: \"gov-close\" }) govClose: EventEmitter<AlertEvent>\n\t/**\n\t * Displays the option to close the alert\n\t */\n\t@Prop() readonly closable?: boolean = false\n\n\t@State() toggleContent = false\n\n\t@Watch(\"variant\")\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(AlertVariants, newValue, AlertClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateVariant(this.variant)\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\tlet inverse = !this.inverse\n\t\tlet variant = this.inverse ? \"secondary\" : this.variant\n\n\t\tif (this.variant == \"warning\") {\n\t\t\tinverse = false\n\t\t\tvariant = \"secondary\"\n\t\t}\n\n\t\tconst closeButton = (\n\t\t\t<div class={AlertClass.close}>\n\t\t\t\t<gov-button\n\t\t\t\t\tsize=\"s\"\n\t\t\t\t\taria-label={this.wcagCloseLabel}\n\t\t\t\t\ttype=\"base\"\n\t\t\t\t\tvariant={variant}\n\t\t\t\t\tinverse={inverse}\n\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t>\n\t\t\t\t\t<gov-icon name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</div>\n\t\t)\n\n\t\treturn (\n\t\t\t<Host class={this.h.classes(AlertClass.root)} variant={this.variant}>\n\t\t\t\t<section class={AlertClass.section} role=\"alert\">\n\t\t\t\t\t{this.h.hasSlot(\"icon\") && (\n\t\t\t\t\t\t<div class={AlertClass.icon}>\n\t\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t\t<div class={AlertClass.content}>\n\t\t\t\t\t\t{this.headline ? (\n\t\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t\t<div class={AlertClass.headline}>\n\t\t\t\t\t\t\t\t\t<p>{this.headline}</p>\n\t\t\t\t\t\t\t\t\t<gov-button\n\t\t\t\t\t\t\t\t\t\tsize=\"s\"\n\t\t\t\t\t\t\t\t\t\taria-label={this.wcagToggleLabel}\n\t\t\t\t\t\t\t\t\t\ttype=\"base\"\n\t\t\t\t\t\t\t\t\t\tvariant={variant}\n\t\t\t\t\t\t\t\t\t\tinverse={inverse}\n\t\t\t\t\t\t\t\t\t\ton-gov-click={() => this.toggleContent = !this.toggleContent}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t<gov-icon name={this.toggleContent ? 'chevron-up' : 'chevron-down'}></gov-icon>\n\t\t\t\t\t\t\t\t\t</gov-button>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div hidden={!this.toggleContent} aria-hidden={toBoolAttr(this.toggleContent)}>\n\t\t\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t</section>\n\t\t\t\t{this.closable && closeButton}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tonCloseHandler(e: CustomEvent<ButtonEvent>) {\n\t\tthis.govClose.emit({\n\t\t\tcomponent: AlertClass.root,\n\t\t\tref: this.host,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tif (this.closable) {\n\t\t\tvalidateWcagProp(this.wcagCloseLabel, 'wcag-close-label', AlertClass.root)\n\t\t}\n\t\tif (this.headline) {\n\t\t\tvalidateWcagProp(this.wcagToggleLabel, 'wcag-toggle-label', AlertClass.root)\n\t\t}\n\t}\n}\n"],"version":3}
|
|
@@ -3263,7 +3263,7 @@ class AlertPage extends HTMLElement {
|
|
|
3263
3263
|
connectedCallback() {
|
|
3264
3264
|
this.innerHTML = `
|
|
3265
3265
|
<h2>Alert</h2>
|
|
3266
|
-
|
|
3266
|
+
|
|
3267
3267
|
<gov-alert variant="secondary" headline="Tohle bude super nadpis pro všechno" closable>
|
|
3268
3268
|
<gov-icon name="info" slot="icon"></gov-icon>
|
|
3269
3269
|
<p>
|
|
@@ -3764,48 +3764,72 @@ class ButtonPage extends HTMLElement {
|
|
|
3764
3764
|
connectedCallback() {
|
|
3765
3765
|
this.innerHTML = `
|
|
3766
3766
|
<h1>Buttons</h1>
|
|
3767
|
+
|
|
3768
|
+
<h4>Dropdown</h4>
|
|
3769
|
+
|
|
3770
|
+
<gov-layout>
|
|
3771
|
+
<gov-layout-column>
|
|
3772
|
+
<div class="container-view">
|
|
3773
|
+
<gov-dropdown>
|
|
3774
|
+
<gov-button variant="primary" size="s">
|
|
3775
|
+
Více
|
|
3776
|
+
</gov-button>
|
|
3777
|
+
<ul slot="list">
|
|
3778
|
+
<li>
|
|
3779
|
+
<gov-button variant="primary" type="base" size="s">
|
|
3780
|
+
A další nabídka
|
|
3781
|
+
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
3782
|
+
</gov-button>
|
|
3783
|
+
</li>
|
|
3784
|
+
<li>
|
|
3785
|
+
<gov-button variant="primary" type="base" size="s">
|
|
3786
|
+
A další dlouhá nabídka
|
|
3787
|
+
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
3788
|
+
</gov-button>
|
|
3789
|
+
</li>
|
|
3790
|
+
<li>
|
|
3791
|
+
<gov-button variant="primary" type="base" size="s">
|
|
3792
|
+
A další
|
|
3793
|
+
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
3794
|
+
</gov-button>
|
|
3795
|
+
</li>
|
|
3796
|
+
</ul>
|
|
3797
|
+
</gov-dropdown>
|
|
3798
|
+
</div>
|
|
3799
|
+
</gov-layout-column>
|
|
3800
|
+
<gov-layout-column>
|
|
3801
|
+
<div class="container-view">
|
|
3802
|
+
<gov-dropdown position="right">
|
|
3803
|
+
<gov-button variant="primary" size="s">
|
|
3804
|
+
Více
|
|
3805
|
+
</gov-button>
|
|
3806
|
+
<ul slot="list">
|
|
3807
|
+
<li>
|
|
3808
|
+
<gov-button variant="secondary" type="base" size="s">
|
|
3809
|
+
A další nabídka
|
|
3810
|
+
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
3811
|
+
</gov-button>
|
|
3812
|
+
</li>
|
|
3813
|
+
<li>
|
|
3814
|
+
<gov-button variant="secondary" type="base" size="s">
|
|
3815
|
+
A další dlouhá nabídka
|
|
3816
|
+
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
3817
|
+
</gov-button>
|
|
3818
|
+
</li>
|
|
3819
|
+
<li>
|
|
3820
|
+
<gov-button variant="secondary" type="base" size="s">
|
|
3821
|
+
A další
|
|
3822
|
+
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
3823
|
+
</gov-button>
|
|
3824
|
+
</li>
|
|
3825
|
+
</ul>
|
|
3826
|
+
</gov-dropdown>
|
|
3827
|
+
</div>
|
|
3828
|
+
</gov-layout-column>
|
|
3829
|
+
</gov-layout>
|
|
3830
|
+
|
|
3767
3831
|
<h4>Buttons - primary (default)</h4>
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
<gov-button-test type="solid" variant="primary" size="s" href="http://localhost:3333/button">
|
|
3771
|
-
Small Primary
|
|
3772
|
-
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
3773
|
-
</gov-button-test>
|
|
3774
|
-
|
|
3775
|
-
<gov-form-input size="m" placeholder="Co hledáte" input-type="datetime-local"></gov-form-input>
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
<br/>
|
|
3780
|
-
<br/>
|
|
3781
|
-
<br/>
|
|
3782
|
-
<br/>
|
|
3783
|
-
<br/>
|
|
3784
|
-
<hr/>
|
|
3785
|
-
<br/>
|
|
3786
|
-
<br/>
|
|
3787
|
-
<br/>
|
|
3788
|
-
<br/>
|
|
3789
|
-
|
|
3790
|
-
<gov-control-group>
|
|
3791
|
-
<gov-button variant="primary" size="s" href="http://localhost:3333/button">
|
|
3792
|
-
Small Primary
|
|
3793
|
-
</gov-button>
|
|
3794
|
-
<gov-button variant="primary" size="s" href="http://localhost:3333/button">
|
|
3795
|
-
Small Primary
|
|
3796
|
-
</gov-button>
|
|
3797
|
-
<gov-form-input multiline rows="3" name="test-me" disabled value="Value of textarea"></gov-form-input>
|
|
3798
|
-
<gov-form-select size="l" name="test-me">
|
|
3799
|
-
<option value="" selected>Placeholder</option>
|
|
3800
|
-
<option value="b">Value B</option>
|
|
3801
|
-
<option value="c">Value C</option>
|
|
3802
|
-
<option value="d">Value D</option>
|
|
3803
|
-
</gov-form-select>
|
|
3804
|
-
<gov-button variant="primary" size="s" href="http://localhost:3333/button">
|
|
3805
|
-
Small Primary
|
|
3806
|
-
</gov-button>
|
|
3807
|
-
</gov-control-group>
|
|
3808
|
-
|
|
3832
|
+
|
|
3809
3833
|
<div class="container-view">
|
|
3810
3834
|
<gov-button variant="primary" size="s" href="http://localhost:3333/button">
|
|
3811
3835
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
@@ -5200,7 +5224,7 @@ class ControlGroupPage extends HTMLElement {
|
|
|
5200
5224
|
this.innerHTML = `
|
|
5201
5225
|
<h2>Control Group</h2>
|
|
5202
5226
|
|
|
5203
|
-
<gov-control-group
|
|
5227
|
+
<gov-control-group>
|
|
5204
5228
|
<gov-form-input type="number" id="kapr" name="test-me" placeholder="Placeholder" size="s"></gov-form-input>
|
|
5205
5229
|
<gov-button variant="primary" type="outlined" size="s">
|
|
5206
5230
|
<gov-icon slot="left-icon" name="chevron-up"></gov-icon>
|
|
@@ -5211,9 +5235,31 @@ class ControlGroupPage extends HTMLElement {
|
|
|
5211
5235
|
<gov-button variant="primary" type="outlined" size="s">
|
|
5212
5236
|
<gov-icon slot="left-icon" name="x-lg"></gov-icon>
|
|
5213
5237
|
</gov-button>
|
|
5238
|
+
<gov-dropdown position="right">
|
|
5239
|
+
<gov-button variant="primary" size="s">
|
|
5240
|
+
Více
|
|
5241
|
+
</gov-button>
|
|
5242
|
+
<ul slot="list">
|
|
5243
|
+
<li>
|
|
5244
|
+
<gov-button variant="primary" type="base" size="s">
|
|
5245
|
+
A další nabídka
|
|
5246
|
+
</gov-button>
|
|
5247
|
+
</li>
|
|
5248
|
+
<li>
|
|
5249
|
+
<gov-button variant="primary" type="base" size="s">
|
|
5250
|
+
A další nabídka
|
|
5251
|
+
</gov-button>
|
|
5252
|
+
</li>
|
|
5253
|
+
<li>
|
|
5254
|
+
<gov-button variant="primary" type="base" size="s">
|
|
5255
|
+
A další nabídka
|
|
5256
|
+
</gov-button>
|
|
5257
|
+
</li>
|
|
5258
|
+
</ul>
|
|
5259
|
+
</gov-dropdown>
|
|
5214
5260
|
</gov-control-group>
|
|
5215
5261
|
<br />
|
|
5216
|
-
<gov-control-group variant="primary"
|
|
5262
|
+
<gov-control-group variant="primary">
|
|
5217
5263
|
<gov-form-select name="test-me" size="m">
|
|
5218
5264
|
<option value="" selected>Placeholder</option>
|
|
5219
5265
|
<option value="b">Value B</option>
|
|
@@ -5225,7 +5271,7 @@ class ControlGroupPage extends HTMLElement {
|
|
|
5225
5271
|
</gov-button>
|
|
5226
5272
|
</gov-control-group>
|
|
5227
5273
|
<br />
|
|
5228
|
-
<gov-control-group
|
|
5274
|
+
<gov-control-group>
|
|
5229
5275
|
<gov-button variant="primary" type="outlined" size="l">
|
|
5230
5276
|
<gov-icon slot="left-icon" name="gear"></gov-icon>
|
|
5231
5277
|
</gov-button>
|
|
@@ -5239,7 +5285,7 @@ class ControlGroupPage extends HTMLElement {
|
|
|
5239
5285
|
</gov-button>
|
|
5240
5286
|
</gov-control-group>
|
|
5241
5287
|
<br />
|
|
5242
|
-
<gov-control-group variant="primary"
|
|
5288
|
+
<gov-control-group variant="primary" no-border>
|
|
5243
5289
|
<gov-button variant="primary" type="outlined" size="xl">
|
|
5244
5290
|
<gov-icon slot="left-icon" name="chevron-up"></gov-icon>
|
|
5245
5291
|
</gov-button>
|
|
@@ -5258,7 +5304,7 @@ class ControlGroupPage extends HTMLElement {
|
|
|
5258
5304
|
</gov-control-group>
|
|
5259
5305
|
<br><br>
|
|
5260
5306
|
|
|
5261
|
-
<gov-control-group variant="secondary"
|
|
5307
|
+
<gov-control-group variant="secondary" no-border>
|
|
5262
5308
|
<gov-form-input type="number" id="kapr" name="test-me" placeholder="Placeholder" variant="primary" size="s"></gov-form-input>
|
|
5263
5309
|
<gov-button variant="primary" type="outlined" size="s">
|
|
5264
5310
|
<gov-icon slot="left-icon" name="chevron-up"></gov-icon>
|
|
@@ -5283,7 +5329,7 @@ class ControlGroupPage extends HTMLElement {
|
|
|
5283
5329
|
</gov-button>
|
|
5284
5330
|
</gov-control-group>
|
|
5285
5331
|
<br />
|
|
5286
|
-
<gov-control-group variant="secondary"
|
|
5332
|
+
<gov-control-group variant="secondary">
|
|
5287
5333
|
<gov-button variant="primary" type="outlined" size="l">
|
|
5288
5334
|
<gov-icon slot="left-icon" name="gear"></gov-icon>
|
|
5289
5335
|
</gov-button>
|
|
@@ -5297,7 +5343,7 @@ class ControlGroupPage extends HTMLElement {
|
|
|
5297
5343
|
</gov-button>
|
|
5298
5344
|
</gov-control-group>
|
|
5299
5345
|
<br />
|
|
5300
|
-
<gov-control-group variant="secondary"
|
|
5346
|
+
<gov-control-group variant="secondary">
|
|
5301
5347
|
<gov-button variant="primary" type="outlined" size="xl">
|
|
5302
5348
|
<gov-icon slot="left-icon" name="chevron-up"></gov-icon>
|
|
5303
5349
|
</gov-button>
|
|
@@ -5316,7 +5362,7 @@ class ControlGroupPage extends HTMLElement {
|
|
|
5316
5362
|
</gov-control-group>
|
|
5317
5363
|
<br><br>
|
|
5318
5364
|
|
|
5319
|
-
<gov-control-group variant="secondary"
|
|
5365
|
+
<gov-control-group variant="secondary">
|
|
5320
5366
|
<gov-form-input type="number" id="kapr" name="test-me" placeholder="Placeholder" variant="secondary" size="s"></gov-form-input>
|
|
5321
5367
|
<gov-button variant="secondary" type="outlined" size="s">
|
|
5322
5368
|
<gov-icon slot="left-icon" name="chevron-up"></gov-icon>
|
|
@@ -5329,7 +5375,7 @@ class ControlGroupPage extends HTMLElement {
|
|
|
5329
5375
|
</gov-button>
|
|
5330
5376
|
</gov-control-group>
|
|
5331
5377
|
<br />
|
|
5332
|
-
<gov-control-group variant="secondary">
|
|
5378
|
+
<gov-control-group variant="secondary" no-border>
|
|
5333
5379
|
<gov-form-select name="test-me" size="m">
|
|
5334
5380
|
<option value="" selected>Placeholder</option>
|
|
5335
5381
|
<option value="b">Value B</option>
|
|
@@ -5341,7 +5387,7 @@ class ControlGroupPage extends HTMLElement {
|
|
|
5341
5387
|
</gov-button>
|
|
5342
5388
|
</gov-control-group>
|
|
5343
5389
|
<br />
|
|
5344
|
-
<gov-control-group variant="secondary"
|
|
5390
|
+
<gov-control-group variant="secondary">
|
|
5345
5391
|
<gov-button variant="secondary" type="outlined" size="l">
|
|
5346
5392
|
<gov-icon slot="left-icon" name="gear"></gov-icon>
|
|
5347
5393
|
</gov-button>
|
|
@@ -5355,7 +5401,7 @@ class ControlGroupPage extends HTMLElement {
|
|
|
5355
5401
|
</gov-button>
|
|
5356
5402
|
</gov-control-group>
|
|
5357
5403
|
<br />
|
|
5358
|
-
<gov-control-group variant="secondary"
|
|
5404
|
+
<gov-control-group variant="secondary">
|
|
5359
5405
|
<gov-button variant="secondary" type="outlined" size="xl">
|
|
5360
5406
|
<gov-icon slot="left-icon" name="chevron-up"></gov-icon>
|
|
5361
5407
|
</gov-button>
|
|
@@ -5372,146 +5418,6 @@ class ControlGroupPage extends HTMLElement {
|
|
|
5372
5418
|
<gov-icon slot="left-icon" name="x-lg"></gov-icon>
|
|
5373
5419
|
</gov-button>
|
|
5374
5420
|
</gov-control-group>
|
|
5375
|
-
|
|
5376
|
-
<h2>Invalid</h2>
|
|
5377
|
-
<gov-form-control type="input" id="metro2">
|
|
5378
|
-
<gov-control-group bordered invalid="true">
|
|
5379
|
-
<gov-form-input type="number" id="kapr" name="test-me" placeholder="Placeholder" size="s"></gov-form-input>
|
|
5380
|
-
<gov-button variant="primary" type="outlined" size="s">
|
|
5381
|
-
<gov-icon slot="left-icon" name="chevron-up"></gov-icon>
|
|
5382
|
-
</gov-button>
|
|
5383
|
-
<gov-button variant="primary" type="outlined" size="s">
|
|
5384
|
-
<gov-icon slot="left-icon" name="chevron-down"></gov-icon>
|
|
5385
|
-
</gov-button>
|
|
5386
|
-
<gov-button variant="primary" type="outlined" size="s">
|
|
5387
|
-
<gov-icon slot="left-icon" name="x-lg"></gov-icon>
|
|
5388
|
-
</gov-button>
|
|
5389
|
-
</gov-control-group>
|
|
5390
|
-
<gov-form-message slot="bottom" variant="error">
|
|
5391
|
-
<gov-icon slot="icon" name="exclamation-triangle-fill"></gov-icon>
|
|
5392
|
-
Required
|
|
5393
|
-
</gov-form-message>
|
|
5394
|
-
</gov-form-control>
|
|
5395
|
-
<br />
|
|
5396
|
-
<gov-form-control type="input" id="metro2">
|
|
5397
|
-
<gov-control-group invalid="true">
|
|
5398
|
-
<gov-form-select name="test-me" size="m">
|
|
5399
|
-
<option value="" selected>Placeholder</option>
|
|
5400
|
-
<option value="b">Value B</option>
|
|
5401
|
-
<option value="c">Value C</option>
|
|
5402
|
-
<option value="d">Value D</option>
|
|
5403
|
-
</gov-form-select>
|
|
5404
|
-
<gov-button variant="primary" type="outlined" size="m">
|
|
5405
|
-
<gov-icon slot="left-icon" name="x-lg"></gov-icon>
|
|
5406
|
-
</gov-button>
|
|
5407
|
-
</gov-control-group>
|
|
5408
|
-
<gov-form-message slot="bottom" variant="error">
|
|
5409
|
-
<gov-icon slot="icon" name="exclamation-triangle-fill"></gov-icon>
|
|
5410
|
-
Required
|
|
5411
|
-
</gov-form-message>
|
|
5412
|
-
</gov-form-control>
|
|
5413
|
-
<br />
|
|
5414
|
-
<gov-form-control type="input" id="metro2">
|
|
5415
|
-
<gov-control-group bordered invalid="true">
|
|
5416
|
-
<gov-button variant="primary" type="outlined" size="l">
|
|
5417
|
-
<gov-icon slot="left-icon" name="gear"></gov-icon>
|
|
5418
|
-
</gov-button>
|
|
5419
|
-
<gov-form-file name="test-me-c" accept="image/*" max-file-size="1024">
|
|
5420
|
-
<gov-button variant="primary" type="outlined" size="l" tabindex="-1">
|
|
5421
|
-
Nahrát soubor ze zařízení
|
|
5422
|
-
</gov-button>
|
|
5423
|
-
</gov-form-file>
|
|
5424
|
-
<gov-button variant="primary" type="outlined" size="l">
|
|
5425
|
-
<gov-icon slot="left-icon" name="x-lg"></gov-icon>
|
|
5426
|
-
</gov-button>
|
|
5427
|
-
</gov-control-group>
|
|
5428
|
-
<gov-form-message slot="bottom" variant="error">
|
|
5429
|
-
<gov-icon slot="icon" name="exclamation-triangle-fill"></gov-icon>
|
|
5430
|
-
Required
|
|
5431
|
-
</gov-form-message>
|
|
5432
|
-
</gov-form-control>
|
|
5433
|
-
<br />
|
|
5434
|
-
<gov-form-control type="input" id="metro2">
|
|
5435
|
-
<gov-control-group bordered invalid="true">
|
|
5436
|
-
<gov-button variant="primary" type="outlined" size="xl">
|
|
5437
|
-
<gov-icon slot="left-icon" name="chevron-up"></gov-icon>
|
|
5438
|
-
</gov-button>
|
|
5439
|
-
<gov-button variant="primary" type="outlined" size="xl">
|
|
5440
|
-
<gov-icon slot="left-icon" name="chevron-down"></gov-icon>
|
|
5441
|
-
</gov-button>
|
|
5442
|
-
<gov-form-select name="test-me" size="xl">
|
|
5443
|
-
<option value="" selected>Placeholder</option>
|
|
5444
|
-
<option value="b">Value B</option>
|
|
5445
|
-
<option value="c">Value C</option>
|
|
5446
|
-
<option value="d">Value D</option>
|
|
5447
|
-
</gov-form-select>
|
|
5448
|
-
<gov-button variant="primary" type="outlined" size="xl">
|
|
5449
|
-
<gov-icon slot="left-icon" name="x-lg"></gov-icon>
|
|
5450
|
-
</gov-button>
|
|
5451
|
-
</gov-control-group>
|
|
5452
|
-
<gov-form-message slot="bottom" variant="error">
|
|
5453
|
-
<gov-icon slot="icon" name="exclamation-triangle-fill"></gov-icon>
|
|
5454
|
-
Required
|
|
5455
|
-
</gov-form-message>
|
|
5456
|
-
</gov-form-control>
|
|
5457
|
-
|
|
5458
|
-
<h2>Disabled</h2>
|
|
5459
|
-
<gov-control-group bordered disabled="true">
|
|
5460
|
-
<gov-form-input type="number" id="kapr" name="test-me" placeholder="Placeholder" size="s"></gov-form-input>
|
|
5461
|
-
<gov-button variant="primary" type="outlined" size="s">
|
|
5462
|
-
<gov-icon slot="left-icon" name="chevron-up"></gov-icon>
|
|
5463
|
-
</gov-button>
|
|
5464
|
-
<gov-button variant="primary" type="outlined" size="s">
|
|
5465
|
-
<gov-icon slot="left-icon" name="chevron-down"></gov-icon>
|
|
5466
|
-
</gov-button>
|
|
5467
|
-
<gov-button variant="primary" type="outlined" size="s">
|
|
5468
|
-
<gov-icon slot="left-icon" name="x-lg"></gov-icon>
|
|
5469
|
-
</gov-button>
|
|
5470
|
-
</gov-control-group>
|
|
5471
|
-
<br />
|
|
5472
|
-
<gov-control-group disabled="true">
|
|
5473
|
-
<gov-form-select name="test-me" size="m">
|
|
5474
|
-
<option value="" selected>Placeholder</option>
|
|
5475
|
-
<option value="b">Value B</option>
|
|
5476
|
-
<option value="c">Value C</option>
|
|
5477
|
-
<option value="d">Value D</option>
|
|
5478
|
-
</gov-form-select>
|
|
5479
|
-
<gov-button variant="primary" type="outlined" size="m">
|
|
5480
|
-
<gov-icon slot="left-icon" name="x-lg"></gov-icon>
|
|
5481
|
-
</gov-button>
|
|
5482
|
-
</gov-control-group>
|
|
5483
|
-
<br />
|
|
5484
|
-
<gov-control-group bordered disabled="true">
|
|
5485
|
-
<gov-button variant="primary" type="outlined" size="l">
|
|
5486
|
-
<gov-icon slot="left-icon" name="gear"></gov-icon>
|
|
5487
|
-
</gov-button>
|
|
5488
|
-
<gov-form-file name="test-me-c" accept="image/*" max-file-size="1024">
|
|
5489
|
-
<gov-button variant="primary" type="outlined" size="l" tabindex="-1">
|
|
5490
|
-
Nahrát soubor ze zařízení
|
|
5491
|
-
</gov-button>
|
|
5492
|
-
</gov-form-file>
|
|
5493
|
-
<gov-button variant="primary" type="outlined" size="l">
|
|
5494
|
-
<gov-icon slot="left-icon" name="x-lg"></gov-icon>
|
|
5495
|
-
</gov-button>
|
|
5496
|
-
</gov-control-group>
|
|
5497
|
-
<br />
|
|
5498
|
-
<gov-control-group bordered disabled="true">
|
|
5499
|
-
<gov-button variant="primary" type="outlined" size="xl">
|
|
5500
|
-
<gov-icon slot="left-icon" name="chevron-up"></gov-icon>
|
|
5501
|
-
</gov-button>
|
|
5502
|
-
<gov-button variant="primary" type="outlined" size="xl">
|
|
5503
|
-
<gov-icon slot="left-icon" name="chevron-down"></gov-icon>
|
|
5504
|
-
</gov-button>
|
|
5505
|
-
<gov-form-select name="test-me" size="xl">
|
|
5506
|
-
<option value="" selected>Placeholder</option>
|
|
5507
|
-
<option value="b">Value B</option>
|
|
5508
|
-
<option value="c">Value C</option>
|
|
5509
|
-
<option value="d">Value D</option>
|
|
5510
|
-
</gov-form-select>
|
|
5511
|
-
<gov-button variant="primary" type="outlined" size="xl">
|
|
5512
|
-
<gov-icon slot="left-icon" name="x-lg"></gov-icon>
|
|
5513
|
-
</gov-button>
|
|
5514
|
-
</gov-control-group>
|
|
5515
5421
|
`;
|
|
5516
5422
|
}
|
|
5517
5423
|
}
|
|
@@ -7765,15 +7671,21 @@ if (customElements.get('side-nav-page') === undefined) {
|
|
|
7765
7671
|
class SpacerPage extends HTMLElement {
|
|
7766
7672
|
connectedCallback() {
|
|
7767
7673
|
this.innerHTML = `
|
|
7768
|
-
<
|
|
7769
|
-
|
|
7770
|
-
|
|
7771
|
-
|
|
7674
|
+
<style>
|
|
7675
|
+
gov-spacer {
|
|
7676
|
+
background: lightgray;
|
|
7677
|
+
margin-bottom: 10px;
|
|
7678
|
+
}
|
|
7679
|
+
</style>
|
|
7680
|
+
<gov-spacer size="2xs" breakpoint="sm"></gov-spacer>
|
|
7681
|
+
<gov-spacer size="xs" breakpoint="sm"></gov-spacer>
|
|
7682
|
+
<gov-spacer size="s" breakpoint="sm"></gov-spacer>
|
|
7683
|
+
<gov-spacer size="m" breakpoint="sm"></gov-spacer>
|
|
7772
7684
|
<gov-spacer size="l" breakpoint="sm"></gov-spacer>
|
|
7773
|
-
<gov-spacer size="xl"></gov-spacer>
|
|
7774
|
-
<gov-spacer size="2xl"></gov-spacer>
|
|
7775
|
-
<gov-spacer size="3xl"></gov-spacer>
|
|
7776
|
-
<gov-spacer size="4xl"></gov-spacer>
|
|
7685
|
+
<gov-spacer size="xl" breakpoint="sm"></gov-spacer>
|
|
7686
|
+
<gov-spacer size="2xl" breakpoint="sm"></gov-spacer>
|
|
7687
|
+
<gov-spacer size="3xl" breakpoint="sm"></gov-spacer>
|
|
7688
|
+
<gov-spacer size="4xl" breakpoint="sm"></gov-spacer>
|
|
7777
7689
|
`;
|
|
7778
7690
|
}
|
|
7779
7691
|
}
|
|
@@ -8996,6 +8908,7 @@ function defineCustomElement$1() {
|
|
|
8996
8908
|
break;
|
|
8997
8909
|
} });
|
|
8998
8910
|
}
|
|
8911
|
+
defineCustomElement$1();
|
|
8999
8912
|
|
|
9000
8913
|
const GovApp = GovApp$1;
|
|
9001
8914
|
const defineCustomElement = defineCustomElement$1;
|