@gov-design-system-ce/components 0.0.57 → 0.0.59
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 +1 -1
- package/dist/cjs/gov-app.cjs.entry.js +96 -37
- package/dist/cjs/gov-app.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -1
- 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-button.cjs.entry.js +1 -1
- package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-label.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-icon.cjs.entry.js +1 -1
- package/dist/cjs/gov-infobar.cjs.entry.js +90 -0
- package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -0
- package/dist/cjs/gov-loading.cjs.entry.js +2 -3
- package/dist/cjs/gov-loading.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-toast.cjs.entry.js +10 -16
- package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tooltip-content.cjs.entry.js +16 -4
- package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tooltip.cjs.entry.js +73 -46
- package/dist/cjs/gov-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/index-83edd4fe.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/gov-accordion/gov-accordion-item.css +1 -1
- package/dist/collection/components/gov-accordion/gov-accordion.css +1 -1
- package/dist/collection/components/gov-app/gov-app.css +1 -1
- package/dist/collection/components/gov-app/gov-app.js +2 -2
- package/dist/collection/components/gov-app/gov-app.js.map +1 -1
- package/dist/collection/components/gov-attachments/gov-attachments-item.css +1 -1
- package/dist/collection/components/gov-attachments/gov-attachments.css +1 -1
- package/dist/collection/components/gov-backdrop/gov-backdrop.css +1 -1
- package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -1
- package/dist/collection/components/gov-badge/gov-badge.css +41 -11
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +1 -1
- package/dist/collection/components/gov-button/default/gov-button.css +10 -1
- package/dist/collection/components/gov-button/dropdown/gov-dropdown.css +1 -1
- package/dist/collection/components/gov-card/gov-card.css +1 -1
- package/dist/collection/components/gov-container/gov-container.css +1 -1
- package/dist/collection/components/gov-control-group/gov-control-group.css +1 -1
- package/dist/collection/components/gov-cookiebar/gov-cookiebar.css +1 -1
- package/dist/collection/components/gov-empty/gov-empty.css +1 -1
- package/dist/collection/components/gov-error-code/gov-error-code.css +1 -1
- package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.css +1 -1
- package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.css +1 -1
- package/dist/collection/components/gov-form/control/gov-form-control.css +1 -1
- package/dist/collection/components/gov-form/file/gov-form-file.css +1 -1
- package/dist/collection/components/gov-form/group/gov-form-group.css +1 -1
- package/dist/collection/components/gov-form/input/gov-form-input.css +1 -1
- package/dist/collection/components/gov-form/label/gov-form-label.css +5 -1
- package/dist/collection/components/gov-form/message/gov-form-message.css +1 -1
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.css +1 -1
- package/dist/collection/components/gov-form/password-power/gov-form-password-power.css +1 -1
- package/dist/collection/components/gov-form/radio/gov-form-radio.css +1 -1
- package/dist/collection/components/gov-form/search/gov-form-search.css +1 -1
- package/dist/collection/components/gov-form/select/gov-form-select.css +1 -1
- package/dist/collection/components/gov-form/switch/gov-form-switch.css +1 -1
- package/dist/collection/components/gov-grid/gov-grid-item.css +1 -1
- package/dist/collection/components/gov-grid/gov-grid.css +1 -1
- package/dist/collection/components/gov-icon/gov-icon.css +1 -1
- package/dist/collection/components/gov-infobar/default/constants.js +12 -0
- package/dist/collection/components/gov-infobar/default/constants.js.map +1 -0
- package/dist/collection/components/gov-infobar/default/gov-infobar.css +384 -0
- package/dist/collection/components/{gov-alert/gov-alert.js → gov-infobar/default/gov-infobar.js} +27 -27
- package/dist/collection/components/gov-infobar/default/gov-infobar.js.map +1 -0
- package/dist/collection/components/gov-infobar/default/gov-infobar.types.js +2 -0
- package/dist/collection/components/gov-infobar/default/gov-infobar.types.js.map +1 -0
- package/dist/collection/components/gov-layout/gov-layout-column.css +1 -1
- package/dist/collection/components/gov-layout/gov-layout.css +1 -1
- package/dist/collection/components/gov-loading/loading/gov-loading.css +5 -4
- package/dist/collection/components/gov-loading/loading/gov-loading.js +1 -24
- package/dist/collection/components/gov-loading/loading/gov-loading.js.map +1 -1
- package/dist/collection/components/gov-loading/skeleton/gov-skeleton.css +1 -1
- package/dist/collection/components/gov-message/gov-message.css +1 -1
- package/dist/collection/components/gov-modal/gov-modal.css +1 -1
- package/dist/collection/components/gov-nav/gov-nav-item.css +1 -1
- package/dist/collection/components/gov-nav/gov-nav.css +1 -1
- package/dist/collection/components/gov-pagination/gov-pagination.css +1 -1
- package/dist/collection/components/gov-promp/gov-prompt.css +1 -1
- package/dist/collection/components/gov-side-nav/gov-side-nav-item.css +1 -1
- package/dist/collection/components/gov-side-nav/gov-side-nav.css +1 -1
- package/dist/collection/components/gov-spacer/gov-spacer.css +1 -1
- package/dist/collection/components/gov-statsbar/gov-statsbar-item.css +1 -1
- package/dist/collection/components/gov-statsbar/gov-statsbar.css +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper-item.css +1 -1
- package/dist/collection/components/gov-stepper/gov-stepper.css +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs-item.css +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.css +1 -1
- package/dist/collection/components/gov-tile/container/gov-tiles.css +1 -1
- package/dist/collection/components/gov-tile/gov-tile.css +1 -1
- package/dist/collection/components/gov-toast/gov-toast.css +2 -2
- package/dist/collection/components/gov-toast/gov-toast.js +15 -21
- package/dist/collection/components/gov-toast/gov-toast.js.map +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +32 -27
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +101 -5
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip.css +1 -17
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +83 -51
- package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -1
- package/dist/collection/components/gov-wizard/gov-wizard-item.css +1 -1
- package/dist/collection/components/gov-wizard/gov-wizard.css +1 -1
- package/dist/collection/pages/Card.js +11 -9
- package/dist/collection/pages/Card.js.map +1 -1
- package/dist/collection/pages/Home.js +43 -1
- package/dist/collection/pages/Home.js.map +1 -1
- package/dist/collection/pages/{Alert.js → Infobar.js} +42 -27
- package/dist/collection/pages/Infobar.js.map +1 -0
- package/dist/components/gov-accordion-item.js +1 -1
- package/dist/components/gov-app.js +1 -1
- package/dist/components/gov-app.js.map +1 -1
- package/dist/components/gov-attachments-item.js +1 -1
- package/dist/components/gov-badge.js +1 -1
- package/dist/components/gov-button.js +1 -1
- package/dist/components/gov-card.js +1 -1
- package/dist/components/gov-form-autocomplete.js +1 -1
- package/dist/components/gov-form-checkbox.js +1 -1
- package/dist/components/gov-form-file.js +1 -1
- package/dist/components/gov-form-input.js +1 -1
- package/dist/components/gov-form-label.js +1 -1
- package/dist/components/gov-form-label.js.map +1 -1
- package/dist/components/gov-form-multi-select.js +1 -1
- package/dist/components/gov-form-select.js +1 -1
- package/dist/components/gov-icon.js +1 -1
- package/dist/components/{gov-alert.d.ts → gov-infobar.d.ts} +4 -4
- package/dist/components/gov-infobar.js +2 -0
- package/dist/components/gov-infobar.js.map +1 -0
- package/dist/components/gov-loading.js +1 -1
- package/dist/components/gov-loading.js.map +1 -1
- package/dist/components/gov-modal.js +1 -1
- package/dist/components/gov-pagination.js +1 -1
- package/dist/components/gov-prompt.js +1 -1
- package/dist/components/gov-side-nav-item.js +1 -1
- package/dist/components/gov-tabs.js +1 -1
- package/dist/components/gov-tile.js +1 -1
- package/dist/components/gov-toast.js +1 -1
- package/dist/components/gov-toast.js.map +1 -1
- package/dist/components/gov-tooltip-content.js +1 -1
- package/dist/components/gov-tooltip-content.js.map +1 -1
- package/dist/components/gov-tooltip.js +1 -1
- package/dist/components/gov-tooltip.js.map +1 -1
- package/dist/components/gov-wizard-item.js +1 -1
- package/dist/components/{p-8d9c2f0a.js → p-30af8d08.js} +2 -2
- package/dist/components/p-3e8a9e92.js.map +1 -1
- package/dist/components/{p-1a0f8d13.js → p-5d8154f9.js} +2 -2
- package/dist/components/{p-0378da4d.js → p-8d44ca3c.js} +2 -2
- package/dist/components/p-8d44ca3c.js.map +1 -0
- package/dist/components/{p-404f469e.js → p-9a4c910d.js} +2 -2
- package/dist/components/{p-8449a4cf.js → p-ae179d8a.js} +2 -2
- package/dist/components/p-ae179d8a.js.map +1 -0
- package/dist/components/{p-80f0ed50.js → p-afb7fc88.js} +2 -2
- package/dist/components/{p-839e8965.js → p-b430ee05.js} +2 -2
- package/dist/components/{p-d4f30d9b.js → p-e24896b9.js} +2 -2
- package/dist/core/core.css +1 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-3d0ab343.entry.js → p-0c57e410.entry.js} +2 -2
- package/dist/core/{p-42c1935f.entry.js → p-243a61bf.entry.js} +2 -2
- package/dist/core/p-2bb9f781.entry.js +2 -0
- package/dist/core/p-2bb9f781.entry.js.map +1 -0
- package/dist/core/{p-18ef9623.entry.js → p-2bf0c1c5.entry.js} +2 -2
- package/dist/core/p-2c0ac7ab.entry.js +2 -0
- package/dist/core/{p-85258200.entry.js.map → p-2c0ac7ab.entry.js.map} +1 -1
- package/dist/core/p-307d4c56.entry.js +2 -0
- package/dist/core/p-307d4c56.entry.js.map +1 -0
- package/dist/core/{p-6a65af35.entry.js → p-32a4b7e3.entry.js} +2 -2
- package/dist/core/p-32a4b7e3.entry.js.map +1 -0
- package/dist/core/{p-bd1cb5bd.entry.js → p-4452c278.entry.js} +2 -2
- package/dist/core/{p-a85f4a62.entry.js → p-49729bd4.entry.js} +2 -2
- package/dist/core/{p-ae894a40.js → p-570ef4e5.js} +2 -2
- package/dist/core/p-5cc3e768.entry.js +2 -0
- package/dist/core/p-5cc3e768.entry.js.map +1 -0
- package/dist/core/{p-33bf5974.entry.js → p-7372b066.entry.js} +2 -2
- package/dist/core/{p-69f944d1.entry.js → p-73fb7ac7.entry.js} +2 -2
- package/dist/core/{p-87aca157.entry.js → p-7702c8c2.entry.js} +2 -2
- package/dist/core/{p-9d72d80b.entry.js → p-7e8d2066.entry.js} +2 -2
- package/dist/core/{p-a5d00433.entry.js → p-7fa1290e.entry.js} +2 -2
- package/dist/core/{p-62e9bbf3.entry.js → p-8033916b.entry.js} +2 -2
- package/dist/core/p-82b4b522.entry.js +2 -0
- package/dist/core/p-82b4b522.entry.js.map +1 -0
- package/dist/core/{p-8fce08d1.entry.js → p-8667d5df.entry.js} +2 -2
- package/dist/core/{p-41e88980.entry.js → p-93897e60.entry.js} +2 -2
- package/dist/core/{p-41e88980.entry.js.map → p-93897e60.entry.js.map} +1 -1
- package/dist/core/{p-cacd0fed.entry.js → p-998c3336.entry.js} +2 -2
- package/dist/core/{p-404f469e.js → p-9a4c910d.js} +2 -2
- package/dist/core/{p-667dc3de.entry.js → p-afa12399.entry.js} +2 -2
- package/dist/core/{p-70140f70.entry.js → p-b0c97376.entry.js} +2 -2
- package/dist/core/p-bcf71ab5.entry.js +2 -0
- package/dist/core/p-bcf71ab5.entry.js.map +1 -0
- package/dist/core/{p-0c1697ce.entry.js → p-c4c9ff83.entry.js} +2 -2
- package/dist/core/{p-af646ce2.entry.js → p-c61444f7.entry.js} +2 -2
- package/dist/core/p-c61444f7.entry.js.map +1 -0
- package/dist/core/{p-d4cfa93a.entry.js → p-cb37644f.entry.js} +2 -2
- package/dist/core/{p-9bfab069.entry.js → p-ce262a72.entry.js} +2 -2
- package/dist/core/p-f9dfaff1.entry.js +2 -0
- package/dist/core/p-f9dfaff1.entry.js.map +1 -0
- package/dist/core/{p-13624a77.entry.js → p-fea58abc.entry.js} +2 -2
- package/dist/core/{p-3858e2c8.entry.js → p-ff97a688.entry.js} +2 -2
- package/dist/core/p-ff97a688.entry.js.map +1 -0
- package/dist/esm/{constants-f7b618c2.js → constants-887c5391.js} +2 -2
- package/dist/esm/{constants-f7b618c2.js.map → constants-887c5391.js.map} +1 -1
- package/dist/esm/core.js +1 -1
- package/dist/esm/gov-accordion.entry.js +1 -1
- package/dist/esm/gov-app.entry.js +96 -37
- package/dist/esm/gov-app.entry.js.map +1 -1
- package/dist/esm/gov-attachments_3.entry.js +1 -1
- package/dist/esm/gov-backdrop.entry.js +1 -1
- package/dist/esm/gov-backdrop.entry.js.map +1 -1
- 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 +1 -1
- package/dist/esm/gov-button.entry.js +2 -2
- package/dist/esm/gov-button.entry.js.map +1 -1
- package/dist/esm/gov-card.entry.js +1 -1
- package/dist/esm/gov-form-checkbox.entry.js +1 -1
- package/dist/esm/gov-form-file.entry.js +1 -1
- package/dist/esm/gov-form-input.entry.js +1 -1
- package/dist/esm/gov-form-label.entry.js +1 -1
- package/dist/esm/gov-form-label.entry.js.map +1 -1
- package/dist/esm/gov-form-multi-select.entry.js +1 -1
- package/dist/esm/gov-form-radio.entry.js +1 -1
- package/dist/esm/gov-form-select.entry.js +1 -1
- package/dist/esm/gov-form-switch.entry.js +1 -1
- package/dist/esm/gov-icon.entry.js +1 -1
- package/dist/esm/gov-infobar.entry.js +86 -0
- package/dist/esm/gov-infobar.entry.js.map +1 -0
- package/dist/esm/gov-loading.entry.js +2 -3
- package/dist/esm/gov-loading.entry.js.map +1 -1
- package/dist/esm/gov-modal.entry.js +1 -1
- package/dist/esm/gov-nav.entry.js +1 -1
- package/dist/esm/gov-pagination.entry.js +1 -1
- package/dist/esm/gov-prompt.entry.js +1 -1
- package/dist/esm/gov-side-nav.entry.js +1 -1
- package/dist/esm/gov-skeleton.entry.js +1 -1
- package/dist/esm/gov-tabs.entry.js +1 -1
- package/dist/esm/gov-toast.entry.js +10 -16
- package/dist/esm/gov-toast.entry.js.map +1 -1
- package/dist/esm/gov-tooltip-content.entry.js +17 -5
- package/dist/esm/gov-tooltip-content.entry.js.map +1 -1
- package/dist/esm/gov-tooltip.entry.js +74 -47
- package/dist/esm/gov-tooltip.entry.js.map +1 -1
- package/dist/esm/gov-wizard.entry.js +1 -1
- package/dist/esm/index-ae3c50f1.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{wcag-062e7ca9.js → wcag-06bd4d01.js} +2 -2
- package/dist/esm/{wcag-062e7ca9.js.map → wcag-06bd4d01.js.map} +1 -1
- package/dist/hydrate/index.js +299 -205
- package/dist/types/components/gov-app/gov-app.d.ts +1 -1
- package/dist/types/components/gov-backdrop/gov-backdrop.d.ts +1 -1
- package/dist/types/components/gov-infobar/default/constants.d.ts +12 -0
- package/dist/types/components/{gov-alert/gov-alert.d.ts → gov-infobar/default/gov-infobar.d.ts} +9 -9
- package/dist/types/components/gov-infobar/default/gov-infobar.types.d.ts +4 -0
- package/dist/types/components/gov-loading/loading/gov-loading.d.ts +0 -4
- package/dist/types/components/gov-toast/gov-toast.d.ts +4 -6
- package/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +19 -1
- package/dist/types/components/gov-tooltip/gov-tooltip.d.ts +7 -3
- package/dist/types/components.d.ts +120 -96
- package/dist/types/pages/Infobar.d.ts +3 -0
- package/package.json +2 -2
- package/dist/cjs/gov-alert.cjs.entry.js +0 -90
- package/dist/cjs/gov-alert.cjs.entry.js.map +0 -1
- package/dist/collection/components/gov-alert/constants.js +0 -12
- package/dist/collection/components/gov-alert/constants.js.map +0 -1
- package/dist/collection/components/gov-alert/gov-alert.css +0 -398
- package/dist/collection/components/gov-alert/gov-alert.js.map +0 -1
- package/dist/collection/components/gov-alert/gov-alert.types.js +0 -2
- package/dist/collection/components/gov-alert/gov-alert.types.js.map +0 -1
- package/dist/collection/pages/Alert.js.map +0 -1
- package/dist/components/gov-alert.js +0 -2
- package/dist/components/gov-alert.js.map +0 -1
- package/dist/components/p-0378da4d.js.map +0 -1
- package/dist/components/p-8449a4cf.js.map +0 -1
- package/dist/core/p-3858e2c8.entry.js.map +0 -1
- package/dist/core/p-3b9df792.entry.js +0 -2
- package/dist/core/p-3b9df792.entry.js.map +0 -1
- package/dist/core/p-3e5432d7.entry.js +0 -2
- package/dist/core/p-3e5432d7.entry.js.map +0 -1
- package/dist/core/p-4c79a97a.entry.js +0 -2
- package/dist/core/p-4c79a97a.entry.js.map +0 -1
- package/dist/core/p-6a65af35.entry.js.map +0 -1
- package/dist/core/p-85258200.entry.js +0 -2
- package/dist/core/p-aa4e716e.entry.js +0 -2
- package/dist/core/p-aa4e716e.entry.js.map +0 -1
- package/dist/core/p-af646ce2.entry.js.map +0 -1
- package/dist/core/p-bbcbe1cc.entry.js +0 -2
- package/dist/core/p-bbcbe1cc.entry.js.map +0 -1
- package/dist/core/p-dfc080f2.entry.js +0 -2
- package/dist/core/p-dfc080f2.entry.js.map +0 -1
- package/dist/esm/gov-alert.entry.js +0 -86
- package/dist/esm/gov-alert.entry.js.map +0 -1
- package/dist/types/components/gov-alert/constants.d.ts +0 -12
- package/dist/types/components/gov-alert/gov-alert.types.d.ts +0 -4
- package/dist/types/pages/Alert.d.ts +0 -3
- /package/dist/components/{p-8d9c2f0a.js.map → p-30af8d08.js.map} +0 -0
- /package/dist/components/{p-1a0f8d13.js.map → p-5d8154f9.js.map} +0 -0
- /package/dist/components/{p-404f469e.js.map → p-9a4c910d.js.map} +0 -0
- /package/dist/components/{p-80f0ed50.js.map → p-afb7fc88.js.map} +0 -0
- /package/dist/components/{p-839e8965.js.map → p-b430ee05.js.map} +0 -0
- /package/dist/components/{p-d4f30d9b.js.map → p-e24896b9.js.map} +0 -0
- /package/dist/core/{p-3d0ab343.entry.js.map → p-0c57e410.entry.js.map} +0 -0
- /package/dist/core/{p-42c1935f.entry.js.map → p-243a61bf.entry.js.map} +0 -0
- /package/dist/core/{p-18ef9623.entry.js.map → p-2bf0c1c5.entry.js.map} +0 -0
- /package/dist/core/{p-bd1cb5bd.entry.js.map → p-4452c278.entry.js.map} +0 -0
- /package/dist/core/{p-a85f4a62.entry.js.map → p-49729bd4.entry.js.map} +0 -0
- /package/dist/core/{p-ae894a40.js.map → p-570ef4e5.js.map} +0 -0
- /package/dist/core/{p-33bf5974.entry.js.map → p-7372b066.entry.js.map} +0 -0
- /package/dist/core/{p-69f944d1.entry.js.map → p-73fb7ac7.entry.js.map} +0 -0
- /package/dist/core/{p-87aca157.entry.js.map → p-7702c8c2.entry.js.map} +0 -0
- /package/dist/core/{p-9d72d80b.entry.js.map → p-7e8d2066.entry.js.map} +0 -0
- /package/dist/core/{p-a5d00433.entry.js.map → p-7fa1290e.entry.js.map} +0 -0
- /package/dist/core/{p-62e9bbf3.entry.js.map → p-8033916b.entry.js.map} +0 -0
- /package/dist/core/{p-8fce08d1.entry.js.map → p-8667d5df.entry.js.map} +0 -0
- /package/dist/core/{p-cacd0fed.entry.js.map → p-998c3336.entry.js.map} +0 -0
- /package/dist/core/{p-404f469e.js.map → p-9a4c910d.js.map} +0 -0
- /package/dist/core/{p-667dc3de.entry.js.map → p-afa12399.entry.js.map} +0 -0
- /package/dist/core/{p-70140f70.entry.js.map → p-b0c97376.entry.js.map} +0 -0
- /package/dist/core/{p-0c1697ce.entry.js.map → p-c4c9ff83.entry.js.map} +0 -0
- /package/dist/core/{p-d4cfa93a.entry.js.map → p-cb37644f.entry.js.map} +0 -0
- /package/dist/core/{p-9bfab069.entry.js.map → p-ce262a72.entry.js.map} +0 -0
- /package/dist/core/{p-13624a77.entry.js.map → p-fea58abc.entry.js.map} +0 -0
|
@@ -2,7 +2,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
2
2
|
export declare class GovBackdrop {
|
|
3
3
|
private h;
|
|
4
4
|
constructor();
|
|
5
|
-
host:
|
|
5
|
+
host: HTMLGovBackdropElement;
|
|
6
6
|
/**
|
|
7
7
|
* Determine if component should have inverse colors to be used on dark background.
|
|
8
8
|
*/
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Variants } from '../../../core/constants/variants';
|
|
2
|
+
import { ValueOf } from '../../../types/interfaces';
|
|
3
|
+
export declare const InfobarVariants: Pick<typeof Variants, "PRIMARY" | "SECONDARY" | "SUCCESS" | "ERROR" | "WARNING">;
|
|
4
|
+
export type VariantType = `${ValueOf<typeof InfobarVariants>}`;
|
|
5
|
+
export declare const InfobarClass: {
|
|
6
|
+
root: string;
|
|
7
|
+
section: string;
|
|
8
|
+
icon: string;
|
|
9
|
+
content: string;
|
|
10
|
+
headline: string;
|
|
11
|
+
close: string;
|
|
12
|
+
};
|
package/dist/types/components/{gov-alert/gov-alert.d.ts → gov-infobar/default/gov-infobar.d.ts}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { EventEmitter } from "
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
2
|
import { VariantType } from "./constants";
|
|
3
|
-
import {
|
|
4
|
-
import { ButtonEvent } from "
|
|
5
|
-
export declare class
|
|
3
|
+
import { InfobarEvent } from "./gov-infobar.types";
|
|
4
|
+
import { ButtonEvent } from "../../gov-button/default/gov-button.types";
|
|
5
|
+
export declare class GovInfobar {
|
|
6
6
|
private h;
|
|
7
7
|
constructor();
|
|
8
|
-
host:
|
|
8
|
+
host: HTMLGovInfobarElement;
|
|
9
9
|
/**
|
|
10
10
|
* Style variation of the button.
|
|
11
11
|
*/
|
|
@@ -19,19 +19,19 @@ export declare class GovAlert {
|
|
|
19
19
|
*/
|
|
20
20
|
readonly inverse: boolean;
|
|
21
21
|
/**
|
|
22
|
-
* Aria label for the closing button. It is mandatory if the
|
|
22
|
+
* Aria label for the closing button. It is mandatory if the infobar is closable
|
|
23
23
|
*/
|
|
24
24
|
readonly wcagCloseLabel: string;
|
|
25
25
|
/**
|
|
26
|
-
* Aria label for the toggle button. It is mandatory if the
|
|
26
|
+
* Aria label for the toggle button. It is mandatory if the infobar has headline
|
|
27
27
|
*/
|
|
28
28
|
readonly wcagToggleLabel: string;
|
|
29
29
|
/**
|
|
30
30
|
* Called when the close button is clicked
|
|
31
31
|
*/
|
|
32
|
-
govClose: EventEmitter<
|
|
32
|
+
govClose: EventEmitter<InfobarEvent>;
|
|
33
33
|
/**
|
|
34
|
-
* Displays the option to close the
|
|
34
|
+
* Displays the option to close the infobar
|
|
35
35
|
*/
|
|
36
36
|
readonly closable?: boolean;
|
|
37
37
|
toggleContent: boolean;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EventEmitter } from
|
|
2
|
-
import { ToastTypesType } from
|
|
3
|
-
import { ToastVariantType } from './constants';
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
import { ToastTypesType, ToastVariantType } from "./constants";
|
|
4
3
|
export declare class GovToast {
|
|
5
4
|
private h;
|
|
6
5
|
private timeout;
|
|
@@ -14,11 +13,11 @@ export declare class GovToast {
|
|
|
14
13
|
/**
|
|
15
14
|
* Toast’s gravity
|
|
16
15
|
*/
|
|
17
|
-
readonly gravity:
|
|
16
|
+
readonly gravity: "top" | "bottom";
|
|
18
17
|
/**
|
|
19
18
|
* Toast’s position
|
|
20
19
|
*/
|
|
21
|
-
readonly position:
|
|
20
|
+
readonly position: "left" | "center" | "right";
|
|
22
21
|
/**
|
|
23
22
|
* Toast type
|
|
24
23
|
*/
|
|
@@ -41,7 +40,6 @@ export declare class GovToast {
|
|
|
41
40
|
govClose: EventEmitter<string>;
|
|
42
41
|
validateVariant(newValue: string): void;
|
|
43
42
|
componentWillLoad(): void;
|
|
44
|
-
componentDidLoad(): void;
|
|
45
43
|
disconnectedCallback(): void;
|
|
46
44
|
private runTimer;
|
|
47
45
|
render(): any;
|
|
@@ -1,10 +1,28 @@
|
|
|
1
|
+
import { TooltipSizeType, TooltipVariantType } from "./constants";
|
|
1
2
|
export declare class GovTooltipContent {
|
|
2
3
|
private timeout;
|
|
3
4
|
host: HTMLGovTooltipContentElement;
|
|
5
|
+
/**
|
|
6
|
+
* Style variation of the tooltip
|
|
7
|
+
*/
|
|
8
|
+
readonly variant?: TooltipVariantType;
|
|
9
|
+
/**
|
|
10
|
+
* Tooltip’s size.
|
|
11
|
+
*/
|
|
12
|
+
readonly size?: TooltipSizeType;
|
|
13
|
+
/**
|
|
14
|
+
* Tooltip is still visible.
|
|
15
|
+
*/
|
|
16
|
+
persist?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Indicates display of tooltip content
|
|
19
|
+
*/
|
|
20
|
+
isVisible: boolean;
|
|
4
21
|
/**
|
|
5
22
|
* Indicates display of tooltip content
|
|
6
23
|
*/
|
|
7
|
-
|
|
24
|
+
parentId: string;
|
|
8
25
|
visibleContent(newValue: boolean): void;
|
|
26
|
+
hideContent(): void;
|
|
9
27
|
render(): any;
|
|
10
28
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { TooltipPositionType, TooltipSizeType, TooltipVariantType } from
|
|
1
|
+
import { TooltipPositionType, TooltipSizeType, TooltipVariantType } from "./constants";
|
|
2
2
|
export declare class GovTooltip {
|
|
3
3
|
private h;
|
|
4
4
|
private content;
|
|
5
|
+
private readonly tooltipContentId;
|
|
5
6
|
private readonly tooltipId;
|
|
6
7
|
constructor();
|
|
7
8
|
host: HTMLGovTooltipElement;
|
|
@@ -18,7 +19,7 @@ export declare class GovTooltip {
|
|
|
18
19
|
*/
|
|
19
20
|
position: TooltipPositionType;
|
|
20
21
|
/**
|
|
21
|
-
* Information contained in the
|
|
22
|
+
* Information contained in the tooltip
|
|
22
23
|
*/
|
|
23
24
|
readonly message: string;
|
|
24
25
|
/**
|
|
@@ -29,22 +30,25 @@ export declare class GovTooltip {
|
|
|
29
30
|
* Trigger is just an icon
|
|
30
31
|
*/
|
|
31
32
|
readonly icon: boolean;
|
|
33
|
+
persist: boolean;
|
|
32
34
|
validateVariant(newValue: string): void;
|
|
33
35
|
validateSize(newValue: string): void;
|
|
34
36
|
validatePosition(newValue: string): void;
|
|
35
37
|
componentWillLoad(): void;
|
|
38
|
+
disconnectedCallback(): void;
|
|
36
39
|
private createContentWrapper;
|
|
37
40
|
private registerListeners;
|
|
38
41
|
private verifyPositionSpace;
|
|
39
42
|
private showTooltip;
|
|
40
43
|
private hideTooltip;
|
|
44
|
+
private removeContent;
|
|
41
45
|
render(): any;
|
|
42
46
|
/**
|
|
43
47
|
* Showing the modal
|
|
44
48
|
*/
|
|
45
49
|
show(): Promise<void>;
|
|
46
50
|
/**
|
|
47
|
-
*
|
|
51
|
+
* Hiding the modal
|
|
48
52
|
*/
|
|
49
53
|
hide(): Promise<void>;
|
|
50
54
|
}
|
|
@@ -7,8 +7,6 @@
|
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { AccordionSizeType, AccordionVariantType } from "./components/gov-accordion/constants";
|
|
9
9
|
import { AccordionEvent, AccordionItemEvent } from "./components/gov-accordion/gov-accordion.types";
|
|
10
|
-
import { VariantType } from "./components/gov-alert/constants";
|
|
11
|
-
import { AlertEvent } from "./components/gov-alert/gov-alert.types";
|
|
12
10
|
import { ButtonSizesType, ButtonTargetType, ButtonVariantType, NativeTypesType as NativeTypesType1, TypesType } from "./components/gov-button/default/constants";
|
|
13
11
|
import { NativeTypesType } from "./components/gov-badge/constants";
|
|
14
12
|
import { GovBreadcrumbsChangeEvent } from "./components/gov-breadcrumbs/gov-breadcrumbs.d";
|
|
@@ -17,7 +15,7 @@ import { GovCardChangeEvent } from "./components/gov-card/interfaces";
|
|
|
17
15
|
import { ControlGroupVariantType } from "./components/gov-control-group/constants";
|
|
18
16
|
import { PositionType } from "./components/gov-button/dropdown/constants";
|
|
19
17
|
import { DropdownEvent } from "./components/gov-button/dropdown/gov-dropdown.types";
|
|
20
|
-
import { SizesType, VariantType
|
|
18
|
+
import { SizesType, VariantType } from "./components/gov-form/autocomplete/constants";
|
|
21
19
|
import { FormAutocompleteEvent, GovFormAutocompleteItem } from "./components/gov-form/autocomplete/gov-form-autocomplete.types";
|
|
22
20
|
import { FormCheckboxSizesType } from "./components/gov-form/checkbox/constants";
|
|
23
21
|
import { FormCheckboxEvent } from "./components/gov-form/checkbox/gov-form-checkbox.types";
|
|
@@ -39,6 +37,8 @@ import { FormSelectEvent } from "./components/gov-form/select/gov-form-select.ty
|
|
|
39
37
|
import { FormSwitchSizesType } from "./components/gov-form/switch/constants";
|
|
40
38
|
import { FormSwitchEvent } from "./components/gov-form/switch/gov-form-switch.types";
|
|
41
39
|
import { Type as Type1 } from "./components/gov-icon/constants";
|
|
40
|
+
import { VariantType as VariantType1 } from "./components/gov-infobar/default/constants";
|
|
41
|
+
import { InfobarEvent } from "./components/gov-infobar/default/gov-infobar.types";
|
|
42
42
|
import { LayoutType, LayoutVariantType } from "./components/gov-layout/constants";
|
|
43
43
|
import { MessageVariantType } from "./components/gov-message/constants";
|
|
44
44
|
import { PaginationSizeType, PaginationType, PaginationVariantType } from "./components/gov-pagination/constants";
|
|
@@ -57,8 +57,6 @@ import { GovWizardItemChangeEvent } from "./components/gov-wizard/gov-wizard-ite
|
|
|
57
57
|
import { WizardItemEvent } from "./components/gov-wizard/gov-wizard-item.types";
|
|
58
58
|
export { AccordionSizeType, AccordionVariantType } from "./components/gov-accordion/constants";
|
|
59
59
|
export { AccordionEvent, AccordionItemEvent } from "./components/gov-accordion/gov-accordion.types";
|
|
60
|
-
export { VariantType } from "./components/gov-alert/constants";
|
|
61
|
-
export { AlertEvent } from "./components/gov-alert/gov-alert.types";
|
|
62
60
|
export { ButtonSizesType, ButtonTargetType, ButtonVariantType, NativeTypesType as NativeTypesType1, TypesType } from "./components/gov-button/default/constants";
|
|
63
61
|
export { NativeTypesType } from "./components/gov-badge/constants";
|
|
64
62
|
export { GovBreadcrumbsChangeEvent } from "./components/gov-breadcrumbs/gov-breadcrumbs.d";
|
|
@@ -67,7 +65,7 @@ export { GovCardChangeEvent } from "./components/gov-card/interfaces";
|
|
|
67
65
|
export { ControlGroupVariantType } from "./components/gov-control-group/constants";
|
|
68
66
|
export { PositionType } from "./components/gov-button/dropdown/constants";
|
|
69
67
|
export { DropdownEvent } from "./components/gov-button/dropdown/gov-dropdown.types";
|
|
70
|
-
export { SizesType, VariantType
|
|
68
|
+
export { SizesType, VariantType } from "./components/gov-form/autocomplete/constants";
|
|
71
69
|
export { FormAutocompleteEvent, GovFormAutocompleteItem } from "./components/gov-form/autocomplete/gov-form-autocomplete.types";
|
|
72
70
|
export { FormCheckboxSizesType } from "./components/gov-form/checkbox/constants";
|
|
73
71
|
export { FormCheckboxEvent } from "./components/gov-form/checkbox/gov-form-checkbox.types";
|
|
@@ -89,6 +87,8 @@ export { FormSelectEvent } from "./components/gov-form/select/gov-form-select.ty
|
|
|
89
87
|
export { FormSwitchSizesType } from "./components/gov-form/switch/constants";
|
|
90
88
|
export { FormSwitchEvent } from "./components/gov-form/switch/gov-form-switch.types";
|
|
91
89
|
export { Type as Type1 } from "./components/gov-icon/constants";
|
|
90
|
+
export { VariantType as VariantType1 } from "./components/gov-infobar/default/constants";
|
|
91
|
+
export { InfobarEvent } from "./components/gov-infobar/default/gov-infobar.types";
|
|
92
92
|
export { LayoutType, LayoutVariantType } from "./components/gov-layout/constants";
|
|
93
93
|
export { MessageVariantType } from "./components/gov-message/constants";
|
|
94
94
|
export { PaginationSizeType, PaginationType, PaginationVariantType } from "./components/gov-pagination/constants";
|
|
@@ -170,36 +170,6 @@ export namespace Components {
|
|
|
170
170
|
*/
|
|
171
171
|
"variant"?: AccordionVariantType;
|
|
172
172
|
}
|
|
173
|
-
interface GovAlert {
|
|
174
|
-
/**
|
|
175
|
-
* Displays the option to close the alert
|
|
176
|
-
*/
|
|
177
|
-
"closable"?: boolean;
|
|
178
|
-
/**
|
|
179
|
-
* Style variation of the button.
|
|
180
|
-
*/
|
|
181
|
-
"headline": string;
|
|
182
|
-
/**
|
|
183
|
-
* Determine if component should have inverse colors to be used on dark background
|
|
184
|
-
*/
|
|
185
|
-
"inverse": boolean;
|
|
186
|
-
/**
|
|
187
|
-
* Validate the WCAG attributes of the component
|
|
188
|
-
*/
|
|
189
|
-
"validateWcag": () => Promise<void>;
|
|
190
|
-
/**
|
|
191
|
-
* Style variation of the button.
|
|
192
|
-
*/
|
|
193
|
-
"variant": VariantType;
|
|
194
|
-
/**
|
|
195
|
-
* Aria label for the closing button. It is mandatory if the alert is closable
|
|
196
|
-
*/
|
|
197
|
-
"wcagCloseLabel": string;
|
|
198
|
-
/**
|
|
199
|
-
* Aria label for the toggle button. It is mandatory if the alert has headline
|
|
200
|
-
*/
|
|
201
|
-
"wcagToggleLabel": string;
|
|
202
|
-
}
|
|
203
173
|
interface GovApp {
|
|
204
174
|
}
|
|
205
175
|
interface GovAttachments {
|
|
@@ -619,7 +589,7 @@ export namespace Components {
|
|
|
619
589
|
/**
|
|
620
590
|
* Style variation of the form input.
|
|
621
591
|
*/
|
|
622
|
-
"variant"?:
|
|
592
|
+
"variant"?: VariantType;
|
|
623
593
|
/**
|
|
624
594
|
* Indicates the id of a component that describes the input.
|
|
625
595
|
*/
|
|
@@ -1273,6 +1243,36 @@ export namespace Components {
|
|
|
1273
1243
|
*/
|
|
1274
1244
|
"type": Type1;
|
|
1275
1245
|
}
|
|
1246
|
+
interface GovInfobar {
|
|
1247
|
+
/**
|
|
1248
|
+
* Displays the option to close the infobar
|
|
1249
|
+
*/
|
|
1250
|
+
"closable"?: boolean;
|
|
1251
|
+
/**
|
|
1252
|
+
* Style variation of the button.
|
|
1253
|
+
*/
|
|
1254
|
+
"headline": string;
|
|
1255
|
+
/**
|
|
1256
|
+
* Determine if component should have inverse colors to be used on dark background
|
|
1257
|
+
*/
|
|
1258
|
+
"inverse": boolean;
|
|
1259
|
+
/**
|
|
1260
|
+
* Validate the WCAG attributes of the component
|
|
1261
|
+
*/
|
|
1262
|
+
"validateWcag": () => Promise<void>;
|
|
1263
|
+
/**
|
|
1264
|
+
* Style variation of the button.
|
|
1265
|
+
*/
|
|
1266
|
+
"variant": VariantType1;
|
|
1267
|
+
/**
|
|
1268
|
+
* Aria label for the closing button. It is mandatory if the infobar is closable
|
|
1269
|
+
*/
|
|
1270
|
+
"wcagCloseLabel": string;
|
|
1271
|
+
/**
|
|
1272
|
+
* Aria label for the toggle button. It is mandatory if the infobar has headline
|
|
1273
|
+
*/
|
|
1274
|
+
"wcagToggleLabel": string;
|
|
1275
|
+
}
|
|
1276
1276
|
interface GovLayout {
|
|
1277
1277
|
/**
|
|
1278
1278
|
* Determine if component should have inverse column order
|
|
@@ -1290,10 +1290,6 @@ export namespace Components {
|
|
|
1290
1290
|
interface GovLayoutColumn {
|
|
1291
1291
|
}
|
|
1292
1292
|
interface GovLoading {
|
|
1293
|
-
/**
|
|
1294
|
-
* Determine if loading is active
|
|
1295
|
-
*/
|
|
1296
|
-
"loading": boolean;
|
|
1297
1293
|
}
|
|
1298
1294
|
interface GovMessage {
|
|
1299
1295
|
/**
|
|
@@ -1750,11 +1746,11 @@ export namespace Components {
|
|
|
1750
1746
|
/**
|
|
1751
1747
|
* Toast’s gravity
|
|
1752
1748
|
*/
|
|
1753
|
-
"gravity":
|
|
1749
|
+
"gravity": "top" | "bottom";
|
|
1754
1750
|
/**
|
|
1755
1751
|
* Toast’s position
|
|
1756
1752
|
*/
|
|
1757
|
-
"position":
|
|
1753
|
+
"position": "left" | "center" | "right";
|
|
1758
1754
|
/**
|
|
1759
1755
|
* Number of milliseconds to wait before Toast disappear
|
|
1760
1756
|
*/
|
|
@@ -1774,7 +1770,7 @@ export namespace Components {
|
|
|
1774
1770
|
}
|
|
1775
1771
|
interface GovTooltip {
|
|
1776
1772
|
/**
|
|
1777
|
-
*
|
|
1773
|
+
* Hiding the modal
|
|
1778
1774
|
*/
|
|
1779
1775
|
"hide": () => Promise<void>;
|
|
1780
1776
|
/**
|
|
@@ -1786,7 +1782,7 @@ export namespace Components {
|
|
|
1786
1782
|
*/
|
|
1787
1783
|
"identifier": string;
|
|
1788
1784
|
/**
|
|
1789
|
-
* Information contained in the
|
|
1785
|
+
* Information contained in the tooltip
|
|
1790
1786
|
*/
|
|
1791
1787
|
"message": string;
|
|
1792
1788
|
/**
|
|
@@ -1811,6 +1807,22 @@ export namespace Components {
|
|
|
1811
1807
|
* Indicates display of tooltip content
|
|
1812
1808
|
*/
|
|
1813
1809
|
"isVisible": boolean;
|
|
1810
|
+
/**
|
|
1811
|
+
* Indicates display of tooltip content
|
|
1812
|
+
*/
|
|
1813
|
+
"parentId": string;
|
|
1814
|
+
/**
|
|
1815
|
+
* Tooltip is still visible.
|
|
1816
|
+
*/
|
|
1817
|
+
"persist"?: boolean;
|
|
1818
|
+
/**
|
|
1819
|
+
* Tooltip’s size.
|
|
1820
|
+
*/
|
|
1821
|
+
"size"?: TooltipSizeType;
|
|
1822
|
+
/**
|
|
1823
|
+
* Style variation of the tooltip
|
|
1824
|
+
*/
|
|
1825
|
+
"variant"?: TooltipVariantType;
|
|
1814
1826
|
}
|
|
1815
1827
|
interface GovWizard {
|
|
1816
1828
|
/**
|
|
@@ -1893,10 +1905,6 @@ export interface GovAccordionItemCustomEvent<T> extends CustomEvent<T> {
|
|
|
1893
1905
|
detail: T;
|
|
1894
1906
|
target: HTMLGovAccordionItemElement;
|
|
1895
1907
|
}
|
|
1896
|
-
export interface GovAlertCustomEvent<T> extends CustomEvent<T> {
|
|
1897
|
-
detail: T;
|
|
1898
|
-
target: HTMLGovAlertElement;
|
|
1899
|
-
}
|
|
1900
1908
|
export interface GovAttachmentsItemCustomEvent<T> extends CustomEvent<T> {
|
|
1901
1909
|
detail: T;
|
|
1902
1910
|
target: HTMLGovAttachmentsItemElement;
|
|
@@ -1961,6 +1969,10 @@ export interface GovFormSwitchCustomEvent<T> extends CustomEvent<T> {
|
|
|
1961
1969
|
detail: T;
|
|
1962
1970
|
target: HTMLGovFormSwitchElement;
|
|
1963
1971
|
}
|
|
1972
|
+
export interface GovInfobarCustomEvent<T> extends CustomEvent<T> {
|
|
1973
|
+
detail: T;
|
|
1974
|
+
target: HTMLGovInfobarElement;
|
|
1975
|
+
}
|
|
1964
1976
|
export interface GovModalCustomEvent<T> extends CustomEvent<T> {
|
|
1965
1977
|
detail: T;
|
|
1966
1978
|
target: HTMLGovModalElement;
|
|
@@ -2018,12 +2030,6 @@ declare global {
|
|
|
2018
2030
|
prototype: HTMLGovAccordionItemElement;
|
|
2019
2031
|
new (): HTMLGovAccordionItemElement;
|
|
2020
2032
|
};
|
|
2021
|
-
interface HTMLGovAlertElement extends Components.GovAlert, HTMLStencilElement {
|
|
2022
|
-
}
|
|
2023
|
-
var HTMLGovAlertElement: {
|
|
2024
|
-
prototype: HTMLGovAlertElement;
|
|
2025
|
-
new (): HTMLGovAlertElement;
|
|
2026
|
-
};
|
|
2027
2033
|
interface HTMLGovAppElement extends Components.GovApp, HTMLStencilElement {
|
|
2028
2034
|
}
|
|
2029
2035
|
var HTMLGovAppElement: {
|
|
@@ -2210,6 +2216,12 @@ declare global {
|
|
|
2210
2216
|
prototype: HTMLGovIconElement;
|
|
2211
2217
|
new (): HTMLGovIconElement;
|
|
2212
2218
|
};
|
|
2219
|
+
interface HTMLGovInfobarElement extends Components.GovInfobar, HTMLStencilElement {
|
|
2220
|
+
}
|
|
2221
|
+
var HTMLGovInfobarElement: {
|
|
2222
|
+
prototype: HTMLGovInfobarElement;
|
|
2223
|
+
new (): HTMLGovInfobarElement;
|
|
2224
|
+
};
|
|
2213
2225
|
interface HTMLGovLayoutElement extends Components.GovLayout, HTMLStencilElement {
|
|
2214
2226
|
}
|
|
2215
2227
|
var HTMLGovLayoutElement: {
|
|
@@ -2369,7 +2381,6 @@ declare global {
|
|
|
2369
2381
|
interface HTMLElementTagNameMap {
|
|
2370
2382
|
"gov-accordion": HTMLGovAccordionElement;
|
|
2371
2383
|
"gov-accordion-item": HTMLGovAccordionItemElement;
|
|
2372
|
-
"gov-alert": HTMLGovAlertElement;
|
|
2373
2384
|
"gov-app": HTMLGovAppElement;
|
|
2374
2385
|
"gov-attachments": HTMLGovAttachmentsElement;
|
|
2375
2386
|
"gov-attachments-item": HTMLGovAttachmentsItemElement;
|
|
@@ -2401,6 +2412,7 @@ declare global {
|
|
|
2401
2412
|
"gov-grid": HTMLGovGridElement;
|
|
2402
2413
|
"gov-grid-item": HTMLGovGridItemElement;
|
|
2403
2414
|
"gov-icon": HTMLGovIconElement;
|
|
2415
|
+
"gov-infobar": HTMLGovInfobarElement;
|
|
2404
2416
|
"gov-layout": HTMLGovLayoutElement;
|
|
2405
2417
|
"gov-layout-column": HTMLGovLayoutColumnElement;
|
|
2406
2418
|
"gov-loading": HTMLGovLoadingElement;
|
|
@@ -2482,36 +2494,6 @@ declare namespace LocalJSX {
|
|
|
2482
2494
|
*/
|
|
2483
2495
|
"variant"?: AccordionVariantType;
|
|
2484
2496
|
}
|
|
2485
|
-
interface GovAlert {
|
|
2486
|
-
/**
|
|
2487
|
-
* Displays the option to close the alert
|
|
2488
|
-
*/
|
|
2489
|
-
"closable"?: boolean;
|
|
2490
|
-
/**
|
|
2491
|
-
* Style variation of the button.
|
|
2492
|
-
*/
|
|
2493
|
-
"headline"?: string;
|
|
2494
|
-
/**
|
|
2495
|
-
* Determine if component should have inverse colors to be used on dark background
|
|
2496
|
-
*/
|
|
2497
|
-
"inverse"?: boolean;
|
|
2498
|
-
/**
|
|
2499
|
-
* Called when the close button is clicked
|
|
2500
|
-
*/
|
|
2501
|
-
"onGov-close"?: (event: GovAlertCustomEvent<AlertEvent>) => void;
|
|
2502
|
-
/**
|
|
2503
|
-
* Style variation of the button.
|
|
2504
|
-
*/
|
|
2505
|
-
"variant"?: VariantType;
|
|
2506
|
-
/**
|
|
2507
|
-
* Aria label for the closing button. It is mandatory if the alert is closable
|
|
2508
|
-
*/
|
|
2509
|
-
"wcagCloseLabel"?: string;
|
|
2510
|
-
/**
|
|
2511
|
-
* Aria label for the toggle button. It is mandatory if the alert has headline
|
|
2512
|
-
*/
|
|
2513
|
-
"wcagToggleLabel"?: string;
|
|
2514
|
-
}
|
|
2515
2497
|
interface GovApp {
|
|
2516
2498
|
}
|
|
2517
2499
|
interface GovAttachments {
|
|
@@ -2901,7 +2883,7 @@ declare namespace LocalJSX {
|
|
|
2901
2883
|
/**
|
|
2902
2884
|
* Style variation of the form input.
|
|
2903
2885
|
*/
|
|
2904
|
-
"variant"?:
|
|
2886
|
+
"variant"?: VariantType;
|
|
2905
2887
|
/**
|
|
2906
2888
|
* Indicates the id of a component that describes the input.
|
|
2907
2889
|
*/
|
|
@@ -3563,6 +3545,36 @@ declare namespace LocalJSX {
|
|
|
3563
3545
|
*/
|
|
3564
3546
|
"type"?: Type1;
|
|
3565
3547
|
}
|
|
3548
|
+
interface GovInfobar {
|
|
3549
|
+
/**
|
|
3550
|
+
* Displays the option to close the infobar
|
|
3551
|
+
*/
|
|
3552
|
+
"closable"?: boolean;
|
|
3553
|
+
/**
|
|
3554
|
+
* Style variation of the button.
|
|
3555
|
+
*/
|
|
3556
|
+
"headline"?: string;
|
|
3557
|
+
/**
|
|
3558
|
+
* Determine if component should have inverse colors to be used on dark background
|
|
3559
|
+
*/
|
|
3560
|
+
"inverse"?: boolean;
|
|
3561
|
+
/**
|
|
3562
|
+
* Called when the close button is clicked
|
|
3563
|
+
*/
|
|
3564
|
+
"onGov-close"?: (event: GovInfobarCustomEvent<InfobarEvent>) => void;
|
|
3565
|
+
/**
|
|
3566
|
+
* Style variation of the button.
|
|
3567
|
+
*/
|
|
3568
|
+
"variant"?: VariantType1;
|
|
3569
|
+
/**
|
|
3570
|
+
* Aria label for the closing button. It is mandatory if the infobar is closable
|
|
3571
|
+
*/
|
|
3572
|
+
"wcagCloseLabel"?: string;
|
|
3573
|
+
/**
|
|
3574
|
+
* Aria label for the toggle button. It is mandatory if the infobar has headline
|
|
3575
|
+
*/
|
|
3576
|
+
"wcagToggleLabel"?: string;
|
|
3577
|
+
}
|
|
3566
3578
|
interface GovLayout {
|
|
3567
3579
|
/**
|
|
3568
3580
|
* Determine if component should have inverse column order
|
|
@@ -3580,10 +3592,6 @@ declare namespace LocalJSX {
|
|
|
3580
3592
|
interface GovLayoutColumn {
|
|
3581
3593
|
}
|
|
3582
3594
|
interface GovLoading {
|
|
3583
|
-
/**
|
|
3584
|
-
* Determine if loading is active
|
|
3585
|
-
*/
|
|
3586
|
-
"loading"?: boolean;
|
|
3587
3595
|
}
|
|
3588
3596
|
interface GovMessage {
|
|
3589
3597
|
/**
|
|
@@ -3976,7 +3984,7 @@ declare namespace LocalJSX {
|
|
|
3976
3984
|
/**
|
|
3977
3985
|
* Toast’s gravity
|
|
3978
3986
|
*/
|
|
3979
|
-
"gravity"?:
|
|
3987
|
+
"gravity"?: "top" | "bottom";
|
|
3980
3988
|
/**
|
|
3981
3989
|
* Called when the close button is clicked
|
|
3982
3990
|
*/
|
|
@@ -3984,7 +3992,7 @@ declare namespace LocalJSX {
|
|
|
3984
3992
|
/**
|
|
3985
3993
|
* Toast’s position
|
|
3986
3994
|
*/
|
|
3987
|
-
"position"?:
|
|
3995
|
+
"position"?: "left" | "center" | "right";
|
|
3988
3996
|
/**
|
|
3989
3997
|
* Number of milliseconds to wait before Toast disappear
|
|
3990
3998
|
*/
|
|
@@ -4012,7 +4020,7 @@ declare namespace LocalJSX {
|
|
|
4012
4020
|
*/
|
|
4013
4021
|
"identifier"?: string;
|
|
4014
4022
|
/**
|
|
4015
|
-
* Information contained in the
|
|
4023
|
+
* Information contained in the tooltip
|
|
4016
4024
|
*/
|
|
4017
4025
|
"message"?: string;
|
|
4018
4026
|
/**
|
|
@@ -4033,6 +4041,22 @@ declare namespace LocalJSX {
|
|
|
4033
4041
|
* Indicates display of tooltip content
|
|
4034
4042
|
*/
|
|
4035
4043
|
"isVisible"?: boolean;
|
|
4044
|
+
/**
|
|
4045
|
+
* Indicates display of tooltip content
|
|
4046
|
+
*/
|
|
4047
|
+
"parentId"?: string;
|
|
4048
|
+
/**
|
|
4049
|
+
* Tooltip is still visible.
|
|
4050
|
+
*/
|
|
4051
|
+
"persist"?: boolean;
|
|
4052
|
+
/**
|
|
4053
|
+
* Tooltip’s size.
|
|
4054
|
+
*/
|
|
4055
|
+
"size"?: TooltipSizeType;
|
|
4056
|
+
/**
|
|
4057
|
+
* Style variation of the tooltip
|
|
4058
|
+
*/
|
|
4059
|
+
"variant"?: TooltipVariantType;
|
|
4036
4060
|
}
|
|
4037
4061
|
interface GovWizard {
|
|
4038
4062
|
/**
|
|
@@ -4097,7 +4121,6 @@ declare namespace LocalJSX {
|
|
|
4097
4121
|
interface IntrinsicElements {
|
|
4098
4122
|
"gov-accordion": GovAccordion;
|
|
4099
4123
|
"gov-accordion-item": GovAccordionItem;
|
|
4100
|
-
"gov-alert": GovAlert;
|
|
4101
4124
|
"gov-app": GovApp;
|
|
4102
4125
|
"gov-attachments": GovAttachments;
|
|
4103
4126
|
"gov-attachments-item": GovAttachmentsItem;
|
|
@@ -4129,6 +4152,7 @@ declare namespace LocalJSX {
|
|
|
4129
4152
|
"gov-grid": GovGrid;
|
|
4130
4153
|
"gov-grid-item": GovGridItem;
|
|
4131
4154
|
"gov-icon": GovIcon;
|
|
4155
|
+
"gov-infobar": GovInfobar;
|
|
4132
4156
|
"gov-layout": GovLayout;
|
|
4133
4157
|
"gov-layout-column": GovLayoutColumn;
|
|
4134
4158
|
"gov-loading": GovLoading;
|
|
@@ -4163,7 +4187,6 @@ declare module "@stencil/core" {
|
|
|
4163
4187
|
interface IntrinsicElements {
|
|
4164
4188
|
"gov-accordion": LocalJSX.GovAccordion & JSXBase.HTMLAttributes<HTMLGovAccordionElement>;
|
|
4165
4189
|
"gov-accordion-item": LocalJSX.GovAccordionItem & JSXBase.HTMLAttributes<HTMLGovAccordionItemElement>;
|
|
4166
|
-
"gov-alert": LocalJSX.GovAlert & JSXBase.HTMLAttributes<HTMLGovAlertElement>;
|
|
4167
4190
|
"gov-app": LocalJSX.GovApp & JSXBase.HTMLAttributes<HTMLGovAppElement>;
|
|
4168
4191
|
"gov-attachments": LocalJSX.GovAttachments & JSXBase.HTMLAttributes<HTMLGovAttachmentsElement>;
|
|
4169
4192
|
"gov-attachments-item": LocalJSX.GovAttachmentsItem & JSXBase.HTMLAttributes<HTMLGovAttachmentsItemElement>;
|
|
@@ -4195,6 +4218,7 @@ declare module "@stencil/core" {
|
|
|
4195
4218
|
"gov-grid": LocalJSX.GovGrid & JSXBase.HTMLAttributes<HTMLGovGridElement>;
|
|
4196
4219
|
"gov-grid-item": LocalJSX.GovGridItem & JSXBase.HTMLAttributes<HTMLGovGridItemElement>;
|
|
4197
4220
|
"gov-icon": LocalJSX.GovIcon & JSXBase.HTMLAttributes<HTMLGovIconElement>;
|
|
4221
|
+
"gov-infobar": LocalJSX.GovInfobar & JSXBase.HTMLAttributes<HTMLGovInfobarElement>;
|
|
4198
4222
|
"gov-layout": LocalJSX.GovLayout & JSXBase.HTMLAttributes<HTMLGovLayoutElement>;
|
|
4199
4223
|
"gov-layout-column": LocalJSX.GovLayoutColumn & JSXBase.HTMLAttributes<HTMLGovLayoutColumnElement>;
|
|
4200
4224
|
"gov-loading": LocalJSX.GovLoading & JSXBase.HTMLAttributes<HTMLGovLoadingElement>;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@gov-design-system-ce/components",
|
|
3
3
|
"description": "This package includes Gov Design System Web Components and related utilities.",
|
|
4
4
|
"author": "Zdeněk Vítek",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.59",
|
|
6
6
|
"license": "EUPL v1.2 Licensed",
|
|
7
7
|
"main": "./dist/index.cjs.js",
|
|
8
8
|
"unpkg": "./dist/core/core.esm.js",
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"dependencies" : {
|
|
25
25
|
"@gov-design-system-ce/icons": "0.0.11",
|
|
26
26
|
"@gov-design-system-ce/fonts": "0.0.2",
|
|
27
|
-
"@gov-design-system-ce/styles": "0.0.
|
|
27
|
+
"@gov-design-system-ce/styles": "0.0.9"
|
|
28
28
|
}
|
|
29
29
|
}
|