@gov-design-system-ce/components 4.0.5-alpha.1 → 4.0.6-alpha.1
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-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gov-attachments_3.cjs.entry.js +1 -1
- package/dist/cjs/gov-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +26 -3
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-button.cjs.entry.js +2 -3
- package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-card.cjs.entry.js +1 -1
- package/dist/cjs/gov-chip.cjs.entry.js +1 -1
- package/dist/cjs/gov-container.cjs.entry.js +1 -1
- package/dist/cjs/gov-control-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-cookiebar.cjs.entry.js +1 -1
- package/dist/cjs/gov-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gov-empty.cjs.entry.js +1 -1
- package/dist/cjs/gov-error-code.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-control.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-file.cjs.entry.js +8 -2
- package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-input.cjs.entry.js +5 -1
- package/dist/cjs/gov-form-input.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-radio.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-select.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-switch.cjs.entry.js +1 -1
- package/dist/cjs/gov-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-grid.cjs.entry.js +1 -1
- package/dist/cjs/gov-icon.cjs.entry.js +2 -2
- package/dist/cjs/gov-infobar.cjs.entry.js +3 -2
- package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
- package/dist/cjs/gov-layout.cjs.entry.js +1 -1
- package/dist/cjs/gov-loading.cjs.entry.js +1 -1
- package/dist/cjs/gov-message.cjs.entry.js +1 -1
- package/dist/cjs/gov-modal.cjs.entry.js +5 -2
- package/dist/cjs/gov-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-pagination.cjs.entry.js +8 -4
- package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-prompt.cjs.entry.js +5 -2
- package/dist/cjs/gov-prompt.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-side-nav-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-side-nav.cjs.entry.js +1 -1
- package/dist/cjs/gov-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
- package/dist/cjs/gov-statsbar-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-statsbar.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gov-tag.cjs.entry.js +1 -1
- package/dist/cjs/gov-tile.cjs.entry.js +3 -3
- package/dist/cjs/gov-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tiles.cjs.entry.js +1 -1
- package/dist/cjs/gov-toast.cjs.entry.js +1 -1
- package/dist/cjs/gov-tooltip-content.cjs.entry.js +2 -2
- package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tooltip.cjs.entry.js +7 -8
- package/dist/cjs/gov-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-wizard-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-wizard.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{template-4b951d1d.js → template-9534c584.js} +5 -1
- package/dist/cjs/template-9534c584.js.map +1 -0
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +36 -9
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +48 -1
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
- package/dist/collection/components/gov-button/button/gov-button.js +5 -11
- package/dist/collection/components/gov-button/button/gov-button.js.map +1 -1
- package/dist/collection/components/gov-form/file/gov-form-file.js +43 -1
- package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
- package/dist/collection/components/gov-form/input/gov-form-input.js +18 -0
- package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
- package/dist/collection/components/gov-form/search/gov-form-search.css +1 -1
- package/dist/collection/components/gov-infobar/gov-infobar.js +25 -1
- package/dist/collection/components/gov-infobar/gov-infobar.js.map +1 -1
- package/dist/collection/components/gov-modal/gov-modal.js +6 -3
- package/dist/collection/components/gov-modal/gov-modal.js.map +1 -1
- package/dist/collection/components/gov-pagination/gov-pagination.js +80 -5
- package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
- package/dist/collection/components/gov-promp/gov-prompt.js +4 -1
- package/dist/collection/components/gov-promp/gov-prompt.js.map +1 -1
- package/dist/collection/components/gov-tile/gov-tile.css +3 -5
- package/dist/collection/components/gov-tile/gov-tile.js +1 -1
- package/dist/collection/components/gov-tile/gov-tile.js.map +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +2 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +6 -7
- package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -1
- package/dist/collection/helpers/Dom/template.js +3 -0
- package/dist/collection/helpers/Dom/template.js.map +1 -1
- package/dist/collection/pages/Breadcrumbs.js +3 -2
- package/dist/collection/pages/Breadcrumbs.js.map +1 -1
- package/dist/collection/pages/Forms.js +17 -7
- package/dist/collection/pages/Forms.js.map +1 -1
- package/dist/collection/pages/Tooltip.js +13 -16
- package/dist/collection/pages/Tooltip.js.map +1 -1
- package/dist/components/gov-accordion-item.js +1 -1
- package/dist/components/gov-accordion.js +1 -1
- package/dist/components/gov-attachments-item.js +1 -1
- package/dist/components/gov-attachments.js +1 -1
- package/dist/components/gov-backdrop.js +1 -1
- package/dist/components/gov-breadcrumbs.js +1 -1
- package/dist/components/gov-breadcrumbs.js.map +1 -1
- package/dist/components/gov-button.js +1 -1
- package/dist/components/gov-card.js +1 -1
- package/dist/components/gov-chip.js +1 -1
- package/dist/components/gov-container.js +1 -1
- package/dist/components/gov-control-group.js +1 -1
- package/dist/components/gov-cookiebar.js +1 -1
- package/dist/components/gov-dropdown.js +1 -1
- package/dist/components/gov-empty.js +1 -1
- package/dist/components/gov-error-code.js +1 -1
- package/dist/components/gov-form-autocomplete.js +1 -1
- package/dist/components/gov-form-checkbox.js +1 -1
- package/dist/components/gov-form-control.js +1 -1
- package/dist/components/gov-form-file.js +1 -1
- package/dist/components/gov-form-file.js.map +1 -1
- package/dist/components/gov-form-group.js +1 -1
- package/dist/components/gov-form-input.js +1 -1
- package/dist/components/gov-form-message.js +1 -1
- package/dist/components/gov-form-multi-select.js +1 -1
- package/dist/components/gov-form-radio.js +1 -1
- package/dist/components/gov-form-search.js +1 -1
- package/dist/components/gov-form-search.js.map +1 -1
- package/dist/components/gov-form-select.js +1 -1
- package/dist/components/gov-form-switch.js +1 -1
- package/dist/components/gov-grid-item.js +1 -1
- package/dist/components/gov-grid.js +1 -1
- package/dist/components/gov-icon.js +1 -1
- package/dist/components/gov-infobar.js +1 -1
- package/dist/components/gov-infobar.js.map +1 -1
- package/dist/components/gov-layout-column.js +1 -1
- package/dist/components/gov-layout.js +1 -1
- package/dist/components/gov-loading.js +1 -1
- package/dist/components/gov-message.js +1 -1
- package/dist/components/gov-modal.js +1 -1
- package/dist/components/gov-modal.js.map +1 -1
- package/dist/components/gov-pagination.js +1 -1
- package/dist/components/gov-pagination.js.map +1 -1
- package/dist/components/gov-prompt.js +1 -1
- package/dist/components/gov-prompt.js.map +1 -1
- package/dist/components/gov-side-nav-item.js +1 -1
- package/dist/components/gov-side-nav.js +1 -1
- package/dist/components/gov-side-nav.js.map +1 -1
- package/dist/components/gov-skeleton.js +1 -1
- package/dist/components/gov-skeleton.js.map +1 -1
- package/dist/components/gov-spacer.js +1 -1
- package/dist/components/gov-statsbar-item.js +1 -1
- package/dist/components/gov-statsbar.js +1 -1
- package/dist/components/gov-stepper-item.js +1 -1
- package/dist/components/gov-stepper.js +1 -1
- package/dist/components/gov-tabs-item.js +1 -1
- package/dist/components/gov-tabs.js +1 -1
- package/dist/components/gov-tag.js +1 -1
- package/dist/components/gov-tile.js +1 -1
- package/dist/components/gov-tile.js.map +1 -1
- package/dist/components/gov-tiles.js +1 -1
- package/dist/components/gov-toast.js +1 -1
- package/dist/components/gov-tooltip-content.js +1 -1
- package/dist/components/gov-tooltip-content.js.map +1 -1
- package/dist/components/gov-tooltip.js +1 -1
- package/dist/components/gov-tooltip.js.map +1 -1
- package/dist/components/gov-wizard-item.js +1 -1
- package/dist/components/gov-wizard.js +1 -1
- package/dist/components/{p-b526e440.js → p-033f8bda.js} +2 -2
- package/dist/components/p-15f4916d.js +2 -0
- package/dist/components/p-15f4916d.js.map +1 -0
- package/dist/components/{p-758c31bd.js → p-2af02cbd.js} +2 -2
- package/dist/components/{p-e00b2707.js → p-5459708d.js} +2 -2
- package/dist/components/{p-ae462f9e.js → p-7b41bbaf.js} +2 -2
- package/dist/components/{p-2468fe3a.js → p-7ca3be1b.js} +2 -2
- package/dist/components/p-7ca3be1b.js.map +1 -0
- package/dist/components/{p-9795ad94.js → p-b9ee51d6.js} +2 -2
- package/dist/components/{p-28e59384.js → p-c353678b.js} +2 -2
- package/dist/components/p-c353678b.js.map +1 -0
- package/dist/components/{p-cc508639.js → p-dee8dc92.js} +2 -2
- package/dist/components/{p-1ddab9ab.js → p-efda0473.js} +2 -2
- package/dist/components/{p-570803ab.js → p-f8b7ea69.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-96d141a3.entry.js → p-0028fadc.entry.js} +2 -2
- package/dist/core/{p-2969eb69.entry.js → p-0ab12526.entry.js} +2 -2
- package/dist/core/{p-22abe742.entry.js → p-0c5c6dee.entry.js} +2 -2
- package/dist/core/{p-1116fec6.entry.js → p-127af1b4.entry.js} +2 -2
- package/dist/core/p-13414324.entry.js +2 -0
- package/dist/core/p-13414324.entry.js.map +1 -0
- package/dist/core/{p-fd4b0f54.entry.js → p-148501cc.entry.js} +2 -2
- package/dist/core/{p-fb51d693.entry.js → p-151f1b89.entry.js} +2 -2
- package/dist/core/{p-bb7f0a66.entry.js → p-1bc2f62c.entry.js} +2 -2
- package/dist/core/p-2aaf310a.entry.js +2 -0
- package/dist/core/p-2aaf310a.entry.js.map +1 -0
- package/dist/core/p-30673e46.entry.js +2 -0
- package/dist/core/p-30673e46.entry.js.map +1 -0
- package/dist/core/{p-de3429ab.entry.js → p-3975851f.entry.js} +2 -2
- package/dist/core/{p-141d9af4.entry.js → p-4988c0bb.entry.js} +2 -2
- package/dist/core/{p-83e998d8.entry.js → p-529ce9a4.entry.js} +2 -2
- package/dist/core/{p-2712444e.entry.js → p-531c350f.entry.js} +2 -2
- package/dist/core/p-531c350f.entry.js.map +1 -0
- package/dist/core/{p-fc2a1e14.entry.js → p-53e0ad52.entry.js} +2 -2
- package/dist/core/{p-81593c86.entry.js → p-54fa7af5.entry.js} +2 -2
- package/dist/core/{p-41c18f64.entry.js → p-555eaa93.entry.js} +2 -2
- package/dist/core/{p-e24236b0.entry.js → p-55cb727e.entry.js} +2 -2
- package/dist/core/{p-28e59384.js → p-5de606f8.js} +2 -2
- package/dist/core/p-5de606f8.js.map +1 -0
- package/dist/core/{p-3c12c766.entry.js → p-60d681a6.entry.js} +2 -2
- package/dist/core/{p-b4a59c79.entry.js → p-64c5748e.entry.js} +2 -2
- package/dist/core/p-64c5748e.entry.js.map +1 -0
- package/dist/core/p-67096d72.entry.js +2 -0
- package/dist/core/p-67096d72.entry.js.map +1 -0
- package/dist/core/{p-b49293dc.entry.js → p-6bf8e7bf.entry.js} +2 -2
- package/dist/core/{p-8418fce1.entry.js → p-728201f5.entry.js} +2 -2
- package/dist/core/{p-89b3e4d4.entry.js → p-72c5997f.entry.js} +2 -2
- package/dist/core/p-7f158b6f.entry.js +2 -0
- package/dist/core/p-7f158b6f.entry.js.map +1 -0
- package/dist/core/{p-01d928c5.entry.js → p-90c068ff.entry.js} +2 -2
- package/dist/core/{p-cf86a858.entry.js → p-927880d6.entry.js} +2 -2
- package/dist/core/{p-fc8a29e9.entry.js → p-9402e4cc.entry.js} +2 -2
- package/dist/core/{p-b4ab0d15.entry.js → p-9469ecc2.entry.js} +2 -2
- package/dist/core/{p-f29b0193.entry.js → p-984b36f7.entry.js} +2 -2
- package/dist/core/{p-ccf73a1a.entry.js → p-a35484ed.entry.js} +2 -2
- package/dist/core/{p-b7d23697.entry.js → p-ac856de6.entry.js} +2 -2
- package/dist/core/p-ac856de6.entry.js.map +1 -0
- package/dist/core/{p-b580666b.entry.js → p-adf276b0.entry.js} +2 -2
- package/dist/core/{p-e5c2f601.entry.js → p-b7e0b030.entry.js} +2 -2
- package/dist/core/p-b8ff6287.entry.js +2 -0
- package/dist/core/p-b8ff6287.entry.js.map +1 -0
- package/dist/core/{p-78942f76.entry.js → p-be8eec3f.entry.js} +2 -2
- package/dist/core/{p-f1227928.entry.js → p-c6a4ca41.entry.js} +2 -2
- package/dist/core/{p-6dc942b8.entry.js → p-c9e1e6fe.entry.js} +2 -2
- package/dist/core/{p-67138ae9.entry.js → p-ce1486b8.entry.js} +2 -2
- package/dist/core/{p-ee4c58e3.entry.js → p-d2c370d6.entry.js} +2 -2
- package/dist/core/p-d513468a.entry.js +2 -0
- package/dist/core/p-d513468a.entry.js.map +1 -0
- package/dist/core/{p-ac5e5b2c.entry.js → p-dd4445ee.entry.js} +2 -2
- package/dist/core/{p-92af05f2.entry.js → p-e4f11ddf.entry.js} +2 -2
- package/dist/core/{p-6675a0f0.entry.js → p-eaedc9e3.entry.js} +2 -2
- package/dist/core/{p-b5e1ee46.entry.js → p-ed580ac7.entry.js} +2 -2
- package/dist/core/{p-3b42950e.entry.js → p-f1031bac.entry.js} +2 -2
- package/dist/core/{p-9c6699d6.entry.js → p-f12b1ebe.entry.js} +2 -2
- package/dist/core/p-f12b1ebe.entry.js.map +1 -0
- package/dist/core/{p-f636a1ca.entry.js → p-f2206bbb.entry.js} +2 -2
- package/dist/core/{p-497c90ea.entry.js → p-f4f969d0.entry.js} +2 -2
- package/dist/core/p-f4f969d0.entry.js.map +1 -0
- package/dist/core/{p-4a235ef5.entry.js → p-f59b858f.entry.js} +2 -2
- package/dist/core/{p-d69599bc.entry.js → p-f7065042.entry.js} +2 -2
- package/dist/core/{p-b1184db4.entry.js → p-f9dcaafb.entry.js} +2 -2
- package/dist/core/{p-7757e4a1.entry.js → p-fc710edb.entry.js} +2 -2
- package/dist/core/{p-b127c8a8.entry.js → p-fddbe065.entry.js} +2 -2
- package/dist/esm/core.js +1 -1
- package/dist/esm/gov-accordion-item.entry.js +1 -1
- package/dist/esm/gov-accordion.entry.js +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-breadcrumbs.entry.js +26 -3
- package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
- package/dist/esm/gov-button.entry.js +2 -3
- package/dist/esm/gov-button.entry.js.map +1 -1
- package/dist/esm/gov-card.entry.js +1 -1
- package/dist/esm/gov-chip.entry.js +1 -1
- package/dist/esm/gov-container.entry.js +1 -1
- package/dist/esm/gov-control-group.entry.js +1 -1
- package/dist/esm/gov-cookiebar.entry.js +1 -1
- package/dist/esm/gov-dropdown.entry.js +1 -1
- package/dist/esm/gov-empty.entry.js +1 -1
- package/dist/esm/gov-error-code.entry.js +1 -1
- package/dist/esm/gov-form-autocomplete.entry.js +1 -1
- package/dist/esm/gov-form-checkbox.entry.js +1 -1
- package/dist/esm/gov-form-control.entry.js +1 -1
- package/dist/esm/gov-form-file.entry.js +8 -2
- package/dist/esm/gov-form-file.entry.js.map +1 -1
- package/dist/esm/gov-form-group.entry.js +1 -1
- package/dist/esm/gov-form-input.entry.js +5 -1
- package/dist/esm/gov-form-input.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-search.entry.js +1 -1
- package/dist/esm/gov-form-search.entry.js.map +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-grid-item.entry.js +1 -1
- package/dist/esm/gov-grid.entry.js +1 -1
- package/dist/esm/gov-icon.entry.js +2 -2
- package/dist/esm/gov-infobar.entry.js +3 -2
- package/dist/esm/gov-infobar.entry.js.map +1 -1
- package/dist/esm/gov-layout-column.entry.js +1 -1
- package/dist/esm/gov-layout.entry.js +1 -1
- package/dist/esm/gov-loading.entry.js +1 -1
- package/dist/esm/gov-message.entry.js +1 -1
- package/dist/esm/gov-modal.entry.js +5 -2
- package/dist/esm/gov-modal.entry.js.map +1 -1
- package/dist/esm/gov-pagination.entry.js +8 -4
- package/dist/esm/gov-pagination.entry.js.map +1 -1
- package/dist/esm/gov-prompt.entry.js +5 -2
- package/dist/esm/gov-prompt.entry.js.map +1 -1
- package/dist/esm/gov-side-nav-item.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-spacer.entry.js +1 -1
- package/dist/esm/gov-statsbar-item.entry.js +1 -1
- package/dist/esm/gov-statsbar.entry.js +1 -1
- package/dist/esm/gov-stepper-item.entry.js +1 -1
- package/dist/esm/gov-stepper.entry.js +1 -1
- package/dist/esm/gov-tabs-item.entry.js +1 -1
- package/dist/esm/gov-tabs.entry.js +1 -1
- package/dist/esm/gov-tag.entry.js +1 -1
- package/dist/esm/gov-tile.entry.js +3 -3
- package/dist/esm/gov-tile.entry.js.map +1 -1
- package/dist/esm/gov-tiles.entry.js +1 -1
- package/dist/esm/gov-toast.entry.js +1 -1
- package/dist/esm/gov-tooltip-content.entry.js +2 -2
- package/dist/esm/gov-tooltip-content.entry.js.map +1 -1
- package/dist/esm/gov-tooltip.entry.js +7 -8
- package/dist/esm/gov-tooltip.entry.js.map +1 -1
- package/dist/esm/gov-wizard-item.entry.js +1 -1
- package/dist/esm/gov-wizard.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{template-df429738.js → template-a0067bb6.js} +5 -2
- package/dist/esm/template-a0067bb6.js.map +1 -0
- package/dist/hydrate/index.js +78 -24
- package/dist/stencil.config.js +23 -1
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/Users/iwory/iWork/asseco/mv/gov-design-system-ce/packages/core/.stencil/packages/core/stencil.config.d.ts +2 -0
- package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +9 -0
- package/dist/types/components/gov-button/button/gov-button.d.ts +1 -2
- package/dist/types/components/gov-form/file/gov-form-file.d.ts +9 -0
- package/dist/types/components/gov-form/input/gov-form-input.d.ts +5 -0
- package/dist/types/components/gov-infobar/gov-infobar.d.ts +4 -0
- package/dist/types/components/gov-modal/gov-modal.d.ts +1 -0
- package/dist/types/components/gov-pagination/gov-pagination.d.ts +17 -1
- package/dist/types/components/gov-promp/gov-prompt.d.ts +1 -0
- package/dist/types/components/gov-tile/gov-tile.d.ts +3 -3
- package/dist/types/components.d.ts +70 -2
- package/dist/types/helpers/Dom/template.d.ts +1 -0
- package/package.json +2 -2
- package/dist/cjs/template-4b951d1d.js.map +0 -1
- package/dist/components/p-2468fe3a.js.map +0 -1
- package/dist/components/p-28e59384.js.map +0 -1
- package/dist/components/p-841fff80.js +0 -2
- package/dist/components/p-841fff80.js.map +0 -1
- package/dist/core/p-044f4c35.entry.js +0 -2
- package/dist/core/p-044f4c35.entry.js.map +0 -1
- package/dist/core/p-09966eaa.entry.js +0 -2
- package/dist/core/p-09966eaa.entry.js.map +0 -1
- package/dist/core/p-2712444e.entry.js.map +0 -1
- package/dist/core/p-28e59384.js.map +0 -1
- package/dist/core/p-2f858bf5.entry.js +0 -2
- package/dist/core/p-2f858bf5.entry.js.map +0 -1
- package/dist/core/p-497c90ea.entry.js.map +0 -1
- package/dist/core/p-73b7585b.entry.js +0 -2
- package/dist/core/p-73b7585b.entry.js.map +0 -1
- package/dist/core/p-9c6699d6.entry.js.map +0 -1
- package/dist/core/p-a63bb91e.entry.js +0 -2
- package/dist/core/p-a63bb91e.entry.js.map +0 -1
- package/dist/core/p-a6b6dc73.entry.js +0 -2
- package/dist/core/p-a6b6dc73.entry.js.map +0 -1
- package/dist/core/p-b4a59c79.entry.js.map +0 -1
- package/dist/core/p-b7d23697.entry.js.map +0 -1
- package/dist/core/p-c574ecc8.entry.js +0 -2
- package/dist/core/p-c574ecc8.entry.js.map +0 -1
- package/dist/esm/template-df429738.js.map +0 -1
- package/dist/globals.d.ts +0 -2
- package/dist/types/Users/leo/Projects/repos/asseco/design-system/gov-design-system-ce/packages/core/.stencil/packages/core/stencil.config.d.ts +0 -2
- package/dist/types/types/typings.d.ts +0 -6
- /package/dist/components/{p-b526e440.js.map → p-033f8bda.js.map} +0 -0
- /package/dist/components/{p-758c31bd.js.map → p-2af02cbd.js.map} +0 -0
- /package/dist/components/{p-e00b2707.js.map → p-5459708d.js.map} +0 -0
- /package/dist/components/{p-ae462f9e.js.map → p-7b41bbaf.js.map} +0 -0
- /package/dist/components/{p-9795ad94.js.map → p-b9ee51d6.js.map} +0 -0
- /package/dist/components/{p-cc508639.js.map → p-dee8dc92.js.map} +0 -0
- /package/dist/components/{p-1ddab9ab.js.map → p-efda0473.js.map} +0 -0
- /package/dist/components/{p-570803ab.js.map → p-f8b7ea69.js.map} +0 -0
- /package/dist/core/{p-96d141a3.entry.js.map → p-0028fadc.entry.js.map} +0 -0
- /package/dist/core/{p-2969eb69.entry.js.map → p-0ab12526.entry.js.map} +0 -0
- /package/dist/core/{p-22abe742.entry.js.map → p-0c5c6dee.entry.js.map} +0 -0
- /package/dist/core/{p-1116fec6.entry.js.map → p-127af1b4.entry.js.map} +0 -0
- /package/dist/core/{p-fd4b0f54.entry.js.map → p-148501cc.entry.js.map} +0 -0
- /package/dist/core/{p-fb51d693.entry.js.map → p-151f1b89.entry.js.map} +0 -0
- /package/dist/core/{p-bb7f0a66.entry.js.map → p-1bc2f62c.entry.js.map} +0 -0
- /package/dist/core/{p-de3429ab.entry.js.map → p-3975851f.entry.js.map} +0 -0
- /package/dist/core/{p-141d9af4.entry.js.map → p-4988c0bb.entry.js.map} +0 -0
- /package/dist/core/{p-83e998d8.entry.js.map → p-529ce9a4.entry.js.map} +0 -0
- /package/dist/core/{p-fc2a1e14.entry.js.map → p-53e0ad52.entry.js.map} +0 -0
- /package/dist/core/{p-81593c86.entry.js.map → p-54fa7af5.entry.js.map} +0 -0
- /package/dist/core/{p-41c18f64.entry.js.map → p-555eaa93.entry.js.map} +0 -0
- /package/dist/core/{p-e24236b0.entry.js.map → p-55cb727e.entry.js.map} +0 -0
- /package/dist/core/{p-3c12c766.entry.js.map → p-60d681a6.entry.js.map} +0 -0
- /package/dist/core/{p-b49293dc.entry.js.map → p-6bf8e7bf.entry.js.map} +0 -0
- /package/dist/core/{p-8418fce1.entry.js.map → p-728201f5.entry.js.map} +0 -0
- /package/dist/core/{p-89b3e4d4.entry.js.map → p-72c5997f.entry.js.map} +0 -0
- /package/dist/core/{p-01d928c5.entry.js.map → p-90c068ff.entry.js.map} +0 -0
- /package/dist/core/{p-cf86a858.entry.js.map → p-927880d6.entry.js.map} +0 -0
- /package/dist/core/{p-fc8a29e9.entry.js.map → p-9402e4cc.entry.js.map} +0 -0
- /package/dist/core/{p-b4ab0d15.entry.js.map → p-9469ecc2.entry.js.map} +0 -0
- /package/dist/core/{p-f29b0193.entry.js.map → p-984b36f7.entry.js.map} +0 -0
- /package/dist/core/{p-ccf73a1a.entry.js.map → p-a35484ed.entry.js.map} +0 -0
- /package/dist/core/{p-b580666b.entry.js.map → p-adf276b0.entry.js.map} +0 -0
- /package/dist/core/{p-e5c2f601.entry.js.map → p-b7e0b030.entry.js.map} +0 -0
- /package/dist/core/{p-78942f76.entry.js.map → p-be8eec3f.entry.js.map} +0 -0
- /package/dist/core/{p-f1227928.entry.js.map → p-c6a4ca41.entry.js.map} +0 -0
- /package/dist/core/{p-6dc942b8.entry.js.map → p-c9e1e6fe.entry.js.map} +0 -0
- /package/dist/core/{p-67138ae9.entry.js.map → p-ce1486b8.entry.js.map} +0 -0
- /package/dist/core/{p-ee4c58e3.entry.js.map → p-d2c370d6.entry.js.map} +0 -0
- /package/dist/core/{p-ac5e5b2c.entry.js.map → p-dd4445ee.entry.js.map} +0 -0
- /package/dist/core/{p-92af05f2.entry.js.map → p-e4f11ddf.entry.js.map} +0 -0
- /package/dist/core/{p-6675a0f0.entry.js.map → p-eaedc9e3.entry.js.map} +0 -0
- /package/dist/core/{p-b5e1ee46.entry.js.map → p-ed580ac7.entry.js.map} +0 -0
- /package/dist/core/{p-3b42950e.entry.js.map → p-f1031bac.entry.js.map} +0 -0
- /package/dist/core/{p-f636a1ca.entry.js.map → p-f2206bbb.entry.js.map} +0 -0
- /package/dist/core/{p-4a235ef5.entry.js.map → p-f59b858f.entry.js.map} +0 -0
- /package/dist/core/{p-d69599bc.entry.js.map → p-f7065042.entry.js.map} +0 -0
- /package/dist/core/{p-b1184db4.entry.js.map → p-f9dcaafb.entry.js.map} +0 -0
- /package/dist/core/{p-7757e4a1.entry.js.map → p-fc710edb.entry.js.map} +0 -0
- /package/dist/core/{p-b127c8a8.entry.js.map → p-fddbe065.entry.js.map} +0 -0
package/dist/hydrate/index.js
CHANGED
|
@@ -6069,6 +6069,9 @@ const toBoolAttrIfDefined = (value) => {
|
|
|
6069
6069
|
const toOnOffAttrIfDefined = (value) => {
|
|
6070
6070
|
return typeof value === 'undefined' ? undefined : toOnOffAttr(value);
|
|
6071
6071
|
};
|
|
6072
|
+
const boolToFocusValue = (value) => {
|
|
6073
|
+
return value ? '0' : '-1';
|
|
6074
|
+
};
|
|
6072
6075
|
|
|
6073
6076
|
const govAccordionCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-accordion{position:relative;display:block;width:100%}.gov-accordion[no-border] .gov-accordion-item::before{background-color:transparent !important}";
|
|
6074
6077
|
|
|
@@ -6391,32 +6394,55 @@ const BreadcrumbsClass = {
|
|
|
6391
6394
|
root: 'gov-breadcrumbs',
|
|
6392
6395
|
};
|
|
6393
6396
|
|
|
6394
|
-
const govBreadcrumbsCss = ".gov-breadcrumbs ul{margin:0;padding:0}.gov-breadcrumbs li{margin:0;padding:0;background:none}.gov-breadcrumbs li::before{display:none}.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-breadcrumbs ul{position:relative;display:flex;width:100%;
|
|
6397
|
+
const govBreadcrumbsCss = ".gov-breadcrumbs ul{margin:0;padding:0}.gov-breadcrumbs li{margin:0;padding:0;background:none}.gov-breadcrumbs li::before{display:none}.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-breadcrumbs{position:relative;display:flex;width:100%;justify-content:space-between;align-items:flex-start;gap:1rem}.gov-breadcrumbs nav{overflow:hidden;width:100%}.gov-breadcrumbs ul{position:relative;display:flex;width:100%;flex-direction:column;margin-bottom:0}.gov-breadcrumbs li{display:flex;justify-content:flex-start;align-items:center;white-space:nowrap;margin-bottom:0 !important}.gov-breadcrumbs li .gov-icon{width:var(--gov-breadcrumbs-icon-size, 0.625rem);height:var(--gov-breadcrumbs-icon-size, 0.625rem);margin:0rem 1rem;color:var(--gov-breadcrumbs-arrow-color, var(--gov-color-secondary-600))}.gov-breadcrumbs li>a:first-child,.gov-breadcrumbs li>button:first-child{margin-left:calc(var(--gov-breadcrumbs-icon-size, 0.625rem) + 32px)}.gov-breadcrumbs button{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);padding:0;border:none;background:none;color:var(--gov-breadcrumbs-link-color, var(--gov-color-primary));text-decoration:underline}.gov-breadcrumbs[collapsed=\"\"],.gov-breadcrumbs[collapsed=true i],.gov-breadcrumbs[collapsed=\"1\"]{align-items:center}.gov-breadcrumbs[collapsed=\"\"] ul,.gov-breadcrumbs[collapsed=true i] ul,.gov-breadcrumbs[collapsed=\"1\"] ul{overflow-x:hidden;flex-direction:row}.gov-breadcrumbs[collapsed=\"\"] li>a:first-child,.gov-breadcrumbs[collapsed=\"\"] li>button:first-child,.gov-breadcrumbs[collapsed=true i] li>a:first-child,.gov-breadcrumbs[collapsed=true i] li>button:first-child,.gov-breadcrumbs[collapsed=\"1\"] li>a:first-child,.gov-breadcrumbs[collapsed=\"1\"] li>button:first-child{margin-left:0}";
|
|
6395
6398
|
|
|
6396
6399
|
class GovBreadcrumbs {
|
|
6397
6400
|
constructor(hostRef) {
|
|
6398
6401
|
registerInstance(this, hostRef);
|
|
6399
6402
|
this.govChange = createEvent(this, "gov-change", 7);
|
|
6403
|
+
this.inited = false;
|
|
6400
6404
|
this.collapsible = false;
|
|
6401
6405
|
this.isExpanded = false;
|
|
6402
6406
|
this.wcagLabel = undefined;
|
|
6403
6407
|
this.wcagLabelledBy = undefined;
|
|
6408
|
+
this.wcagToggleLabel = 'Zobrazit či skrýt navigaci';
|
|
6409
|
+
this.collapsed = true;
|
|
6410
|
+
this.toggleOption = false;
|
|
6404
6411
|
this.h = govHost(this.host);
|
|
6405
6412
|
}
|
|
6406
6413
|
async componentDidRender() {
|
|
6414
|
+
this.scheduleContentVerification();
|
|
6407
6415
|
if (canValidateWcagOnRender()) {
|
|
6408
6416
|
await delay(500);
|
|
6409
6417
|
await this.validateWcag();
|
|
6410
6418
|
}
|
|
6411
6419
|
}
|
|
6420
|
+
scheduleContentVerification() {
|
|
6421
|
+
if (this.inited)
|
|
6422
|
+
return;
|
|
6423
|
+
this.inited = true;
|
|
6424
|
+
requestAnimationFrame(() => {
|
|
6425
|
+
this.calculateWidthOfItems();
|
|
6426
|
+
this.inited = false;
|
|
6427
|
+
});
|
|
6428
|
+
}
|
|
6429
|
+
calculateWidthOfItems() {
|
|
6430
|
+
const hostWidth = this.host.getBoundingClientRect().width;
|
|
6431
|
+
let sumOfWidths = 0;
|
|
6432
|
+
this.host.querySelectorAll('li').forEach((li) => {
|
|
6433
|
+
sumOfWidths += li.getBoundingClientRect().width;
|
|
6434
|
+
});
|
|
6435
|
+
this.toggleOption = sumOfWidths > hostWidth;
|
|
6436
|
+
}
|
|
6412
6437
|
render() {
|
|
6413
|
-
return (hAsync(Host, { class: this.h.classes(BreadcrumbsClass.root) }, hAsync("nav", { "aria-label": this.wcagLabel, "aria-labelledby": this.wcagLabelledBy }, hAsync("slot", null))));
|
|
6438
|
+
return (hAsync(Host, { class: this.h.classes(BreadcrumbsClass.root), collapsed: this.collapsed }, hAsync("nav", { "aria-label": this.wcagLabel, "aria-labelledby": this.wcagLabelledBy }, hAsync("slot", null)), this.toggleOption ? (hAsync("gov-button", { size: 'xs', variant: 'primary', type: 'base', wcagLabel: this.wcagToggleLabel, wcagPressed: !this.collapsed, wcagExpanded: !this.collapsed, "on-gov-click": () => this.collapsed = !this.collapsed }, hAsync("gov-icon", { name: this.collapsed ? 'chevron-down' : 'chevron-up' }))) : null));
|
|
6414
6439
|
}
|
|
6415
6440
|
/**
|
|
6416
6441
|
* Validate the WCAG attributes of the component
|
|
6417
6442
|
*/
|
|
6418
6443
|
async validateWcag() {
|
|
6419
6444
|
validateWcagLabel(this.wcagLabel, this.wcagLabelledBy, BreadcrumbsClass.root);
|
|
6445
|
+
validateWcagLabel(this.wcagToggleLabel, undefined, BreadcrumbsClass.root);
|
|
6420
6446
|
}
|
|
6421
6447
|
get host() { return getElement(this); }
|
|
6422
6448
|
static get style() { return govBreadcrumbsCss; }
|
|
@@ -6428,6 +6454,9 @@ class GovBreadcrumbs {
|
|
|
6428
6454
|
"isExpanded": [4, "is-expanded"],
|
|
6429
6455
|
"wcagLabel": [1, "wcag-label"],
|
|
6430
6456
|
"wcagLabelledBy": [1, "wcag-labeled-by"],
|
|
6457
|
+
"wcagToggleLabel": [1, "wcag-toggle-label"],
|
|
6458
|
+
"collapsed": [32],
|
|
6459
|
+
"toggleOption": [32],
|
|
6431
6460
|
"validateWcag": [64]
|
|
6432
6461
|
},
|
|
6433
6462
|
"$listeners$": undefined,
|
|
@@ -6535,7 +6564,6 @@ class GovButton {
|
|
|
6535
6564
|
this.wcagHasPopup = undefined;
|
|
6536
6565
|
this.wcagPressed = undefined;
|
|
6537
6566
|
this.wcagCurrent = undefined;
|
|
6538
|
-
this.isPressed = false;
|
|
6539
6567
|
this.h = govHost(this.host);
|
|
6540
6568
|
}
|
|
6541
6569
|
validateVariant(newValue) {
|
|
@@ -6571,7 +6599,7 @@ class GovButton {
|
|
|
6571
6599
|
const nativeType = Tag === Tags$2.A ? undefined : this.nativeType;
|
|
6572
6600
|
const iconLeft = prepareIconFormat(this.iconLeft);
|
|
6573
6601
|
const iconRight = prepareIconFormat(this.iconRight);
|
|
6574
|
-
return (hAsync(Host, { hoverable: true, size: this.size, variant: this.variant, class: this.h.classes(this.classNames), type: this.type, inverse: this.inverse }, hAsync(Tag, { class: "element", ref: el => (this.triggerRef = el), onClick: this.onClickHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this),
|
|
6602
|
+
return (hAsync(Host, { hoverable: true, size: this.size, variant: this.variant, class: this.h.classes(this.classNames), type: this.type, inverse: this.inverse }, hAsync(Tag, { class: "element", ref: el => (this.triggerRef = el), onClick: this.onClickHandler.bind(this), onFocus: this.onFocusHandler.bind(this), onBlur: this.onBlurHandler.bind(this), disabled: this.disabled, id: this.identifier, href: this.href, target: this.target, download: this.download, hreflang: this.hreflang, rel: this.rel, name: this.name, type: nativeType, tabindex: this.focusable ? "0" : "-1", "aria-activedescendant": this.wcagActiveDescendant, "aria-describedby": this.wcagActiveDescendant, "aria-description": this.wcagDescription, "aria-controls": this.wcagControls, "aria-details": this.wcagDetails, "aria-expanded": toBoolAttrIfDefined(this.wcagExpanded), "aria-label": this.wcagLabel, "aria-labelledby": this.wcagLabelledBy, "aria-owns": this.wcagOwns, "aria-haspopup": toBoolAttrIfDefined(this.wcagHasPopup), "aria-pressed": toBoolAttrIfDefined(this.wcagPressed), "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-current": this.wcagCurrent }, toBool(this.loading) && !this.h.hasSlot("right-icon") &&
|
|
6575
6603
|
hAsync("gov-icon", { name: "loader", class: "gov-spin-animation" }), this.h.hasSlot("left-icon") && hAsync("slot", { name: "left-icon" }), iconLeft && hAsync("gov-icon", { type: iconLeft.type, name: iconLeft.name }), hAsync("slot", null), this.h.hasSlot("right-icon") && hAsync("slot", { name: "right-icon" }), iconRight && hAsync("gov-icon", { type: iconRight.type, name: iconRight.name }), toBool(this.loading) && this.h.hasSlot("right-icon") &&
|
|
6576
6604
|
hAsync("gov-icon", { name: "loader", class: "gov-spin-animation" }))));
|
|
6577
6605
|
}
|
|
@@ -6667,9 +6695,8 @@ class GovButton {
|
|
|
6667
6695
|
"wcagLabelledBy": [1, "wcag-labelled-by"],
|
|
6668
6696
|
"wcagOwns": [1, "wcag-owns"],
|
|
6669
6697
|
"wcagHasPopup": [1, "wcag-has-popup"],
|
|
6670
|
-
"wcagPressed": [
|
|
6698
|
+
"wcagPressed": [4, "wcag-pressed"],
|
|
6671
6699
|
"wcagCurrent": [1, "wcag-current"],
|
|
6672
|
-
"isPressed": [32],
|
|
6673
6700
|
"setFocus": [64],
|
|
6674
6701
|
"getTriggerRef": [64],
|
|
6675
6702
|
"validateWcag": [64]
|
|
@@ -7918,6 +7945,8 @@ class GovFormFile {
|
|
|
7918
7945
|
this.expanded = false;
|
|
7919
7946
|
this.required = false;
|
|
7920
7947
|
this.disabled = false;
|
|
7948
|
+
this.resetAfterPick = true;
|
|
7949
|
+
this.ignoreFileDuplicationCheck = false;
|
|
7921
7950
|
this.displayAttachments = true;
|
|
7922
7951
|
this.name = undefined;
|
|
7923
7952
|
this.accept = undefined;
|
|
@@ -7980,7 +8009,7 @@ class GovFormFile {
|
|
|
7980
8009
|
let filesBuffer = [];
|
|
7981
8010
|
Array.from(files).map(file => {
|
|
7982
8011
|
const isFile = this.files.find(item => item.file.name === file.name && item.file.size === file.size) || null;
|
|
7983
|
-
if (isFile === null) {
|
|
8012
|
+
if (isFile === null || this.ignoreFileDuplicationCheck) {
|
|
7984
8013
|
const isSizeValid = typeof this.maxFileSize === "number" && this.maxFileSize > 0 ? fileSizeValidation(file, this.maxFileSize) : true;
|
|
7985
8014
|
const isAcceptValid = fileAcceptValidation(file, this.accept);
|
|
7986
8015
|
const newFile = {
|
|
@@ -8005,6 +8034,9 @@ class GovFormFile {
|
|
|
8005
8034
|
component: FormFileClass.root,
|
|
8006
8035
|
files: filesBuffer.length ? filesBuffer : this.files,
|
|
8007
8036
|
});
|
|
8037
|
+
if (this.resetAfterPick) {
|
|
8038
|
+
this.reset().finally();
|
|
8039
|
+
}
|
|
8008
8040
|
}
|
|
8009
8041
|
componentWillLoad() {
|
|
8010
8042
|
this.f.passAttrToLabel("required", String(this.required));
|
|
@@ -8071,6 +8103,7 @@ class GovFormFile {
|
|
|
8071
8103
|
*/
|
|
8072
8104
|
async reset() {
|
|
8073
8105
|
this.files = [];
|
|
8106
|
+
this.inputRef.value = '';
|
|
8074
8107
|
}
|
|
8075
8108
|
/**
|
|
8076
8109
|
* Validate the WCAG attributes of the component
|
|
@@ -8093,6 +8126,8 @@ class GovFormFile {
|
|
|
8093
8126
|
"expanded": [4],
|
|
8094
8127
|
"required": [4],
|
|
8095
8128
|
"disabled": [4],
|
|
8129
|
+
"resetAfterPick": [4, "reset-after-pick"],
|
|
8130
|
+
"ignoreFileDuplicationCheck": [4, "ignore-file-duplication-check"],
|
|
8096
8131
|
"displayAttachments": [4, "display-attachments"],
|
|
8097
8132
|
"name": [1],
|
|
8098
8133
|
"accept": [1],
|
|
@@ -8188,6 +8223,7 @@ class GovFormInput {
|
|
|
8188
8223
|
this.govBlur = createEvent(this, "gov-blur", 7);
|
|
8189
8224
|
this.govInput = createEvent(this, "gov-input", 7);
|
|
8190
8225
|
this.govKeyUp = createEvent(this, "gov-keyup", 7);
|
|
8226
|
+
this.govHydrated = createEvent(this, "gov-hydrated", 7);
|
|
8191
8227
|
this.govKeyDown = createEvent(this, "gov-keydown", 7);
|
|
8192
8228
|
this.value = undefined;
|
|
8193
8229
|
this.identifier = undefined;
|
|
@@ -8248,6 +8284,9 @@ class GovFormInput {
|
|
|
8248
8284
|
await this.validateWcag();
|
|
8249
8285
|
}
|
|
8250
8286
|
}
|
|
8287
|
+
componentDidLoad() {
|
|
8288
|
+
this.govHydrated.emit();
|
|
8289
|
+
}
|
|
8251
8290
|
render() {
|
|
8252
8291
|
const Tag = this.multiline ? Tags$1.TEXTAREA : Tags$1.INPUT;
|
|
8253
8292
|
return (hAsync(Host, { class: FormInputClass.root, size: this.size, variant: this.variant, type: this.type }, this.h.hasSlot("prefix") && hAsync("slot", { name: "prefix" }), hAsync("span", { class: "element" }, this.h.hasSlot("left-icon") && hAsync("slot", { name: "left-icon" }), this.h.hasSlot("right-icon") && !(this.success || this.invalid) && hAsync("slot", { name: "right-icon" }), this.success && !this.multiline &&
|
|
@@ -8944,7 +8983,7 @@ const FormSearchClass = {
|
|
|
8944
8983
|
button: 'gov-form-search__button',
|
|
8945
8984
|
};
|
|
8946
8985
|
|
|
8947
|
-
const govFormSearchCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-form-search{position:relative;display:flex;width:100%;gap:0.5rem;align-items:center;border-radius:var(--gov-border-radius, 0.1875rem);background-color:var(--gov-form-bg-color, var(--gov-color-neutral-white))}.gov-form-search:focus{outline:none}.gov-form-search:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0}.gov-form-search:focus-within{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0}.gov-form-search__input{flex:1 1 auto}.gov-form-search__input input{height:auto;border-width:0 !important}.gov-form-search__input input:focus-visible{outline:none !important}.gov-form-search__button{flex:0 0 auto
|
|
8986
|
+
const govFormSearchCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-form-search{position:relative;display:flex;width:100%;gap:0.5rem;align-items:center;border-radius:var(--gov-border-radius, 0.1875rem);background-color:var(--gov-form-bg-color, var(--gov-color-neutral-white));padding:0.1875rem 0.1875rem 0.1875rem 0}.gov-form-search:focus{outline:none}.gov-form-search:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0}.gov-form-search:focus-within{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0}.gov-form-search__input{flex:1 1 auto}.gov-form-search__input input{height:auto;border-width:0 !important}.gov-form-search__input input:focus-visible{outline:none !important}.gov-form-search__button{flex:0 0 auto}.gov-form-search[variant=primary]{border:var(--gov-form-input-border-primary, 0.0625rem solid var(--gov-color-primary-600))}.gov-form-search[variant=secondary]{border:var(--gov-form-input-border-secondary, 0.0625rem solid var(--gov-color-secondary-700))}";
|
|
8948
8987
|
|
|
8949
8988
|
class GovFormSearch {
|
|
8950
8989
|
constructor(hostRef) {
|
|
@@ -9443,6 +9482,7 @@ class GovInfobar {
|
|
|
9443
9482
|
this.govClose = createEvent(this, "gov-close", 7);
|
|
9444
9483
|
this.headline = undefined;
|
|
9445
9484
|
this.variant = 'primary';
|
|
9485
|
+
this.role = undefined;
|
|
9446
9486
|
this.inverse = false;
|
|
9447
9487
|
this.wcagCloseLabel = 'Zavřít informační lištu';
|
|
9448
9488
|
this.wcagToggleLabel = 'Zobrazit více informací';
|
|
@@ -9470,7 +9510,7 @@ class GovInfobar {
|
|
|
9470
9510
|
variant = 'secondary';
|
|
9471
9511
|
}
|
|
9472
9512
|
const closeButton = (hAsync("div", { class: InfobarClass.close }, hAsync("gov-button", { size: "s", wcagLabel: this.wcagCloseLabel, type: "base", variant: variant, inverse: inverse, "on-gov-click": this.onCloseHandler.bind(this) }, hAsync("gov-icon", { name: "x-lg" }))));
|
|
9473
|
-
return (hAsync(Host, { class: this.h.classes(InfobarClass.root), variant: this.variant }, hAsync("section", { class: InfobarClass.section, role:
|
|
9513
|
+
return (hAsync(Host, { class: this.h.classes(InfobarClass.root), variant: this.variant }, hAsync("section", { class: InfobarClass.section, role: this.role }, this.h.hasSlot('icon') && (hAsync("div", { class: InfobarClass.icon }, hAsync("slot", { name: "icon" }))), hAsync("div", { class: InfobarClass.content + (this.closable ? ' ' + InfobarClass.closable : '') }, this.headline ? (hAsync(Fragment, null, hAsync("div", { class: InfobarClass.headline }, hAsync("p", null, this.headline), hAsync("gov-button", { size: "s", wcagLabel: this.wcagToggleLabel, type: "base", variant: variant, inverse: inverse, "on-gov-click": () => (this.toggleContent = !this.toggleContent) }, hAsync("gov-icon", { name: this.toggleContent ? 'chevron-up' : 'chevron-down' }))), hAsync("div", { hidden: !this.toggleContent, "aria-hidden": toBoolAttr(this.toggleContent) }, hAsync("slot", null)))) : (hAsync("slot", null)))), this.closable && closeButton));
|
|
9474
9514
|
}
|
|
9475
9515
|
onCloseHandler(e) {
|
|
9476
9516
|
this.govClose.emit({
|
|
@@ -9501,6 +9541,7 @@ class GovInfobar {
|
|
|
9501
9541
|
"$members$": {
|
|
9502
9542
|
"headline": [1],
|
|
9503
9543
|
"variant": [1],
|
|
9544
|
+
"role": [1],
|
|
9504
9545
|
"inverse": [4],
|
|
9505
9546
|
"wcagCloseLabel": [1, "wcag-close-label"],
|
|
9506
9547
|
"wcagToggleLabel": [1, "wcag-toggle-label"],
|
|
@@ -9701,6 +9742,9 @@ class GovModal {
|
|
|
9701
9742
|
}
|
|
9702
9743
|
watchOpen(newValue) {
|
|
9703
9744
|
this.open = newValue;
|
|
9745
|
+
if (newValue && this.closeCtaRef) {
|
|
9746
|
+
this.closeCtaRef.setFocus().catch();
|
|
9747
|
+
}
|
|
9704
9748
|
}
|
|
9705
9749
|
showModal() {
|
|
9706
9750
|
this.open = true;
|
|
@@ -9726,7 +9770,7 @@ class GovModal {
|
|
|
9726
9770
|
}
|
|
9727
9771
|
render() {
|
|
9728
9772
|
const LabelTag = this.labelTag;
|
|
9729
|
-
return (hAsync(Host, { class: this.h.classes(ModalClass.root), open: this.open }, hAsync("dialog", { class: ModalClass.dialog, hidden: !this.open, tabindex:
|
|
9773
|
+
return (hAsync(Host, { class: this.h.classes(ModalClass.root), open: this.open }, hAsync("dialog", { class: ModalClass.dialog, hidden: !this.open, tabindex: boolToFocusValue(this.open), open: this.open, "aria-modal": "true", "aria-hidden": toBoolAttr(!this.open), "aria-labelledby": this.wcagLabelledBy || this.labelId, "aria-describedby": this.wcagDescribedBy || this.contentId, role: this.role }, hAsync("div", { class: ModalClass.inner }, hAsync("div", { class: ModalClass.header }, this.h.hasSlot('icon') && (hAsync("div", { class: ModalClass.icon }, hAsync("slot", { name: "icon" }))), this.label && (hAsync(LabelTag, { class: ModalClass.title, id: this.labelId }, this.label)), hAsync("gov-button", { ref: el => (this.closeCtaRef = el), disabled: this.blockClose, class: ModalClass.close, variant: "primary", wcagLabel: this.wcagCloseLabel, wcagLabelledBy: this.wcagCloseLabelledBy, type: "base", "on-gov-click": this.onCloseHandler.bind(this) }, hAsync("gov-icon", { name: "x-lg" }))), hAsync("div", { class: ModalClass.content, id: this.contentId }, hAsync("slot", null)), this.h.hasSlot('footer') && (hAsync("div", { class: ModalClass.footer }, hAsync("slot", { name: "footer" }))))), this.open ? (hAsync("gov-backdrop", { "wcag-label": this.wcagCloseLabel, "wcag-labelled-by": this.wcagCloseLabelledBy, "on-gov-click": this.onCloseHandler.bind(this) })) : null));
|
|
9730
9774
|
}
|
|
9731
9775
|
onCloseHandler(e) {
|
|
9732
9776
|
e.stopPropagation();
|
|
@@ -9967,6 +10011,10 @@ class GovPagination {
|
|
|
9967
10011
|
this.wcagLabelledBy = undefined;
|
|
9968
10012
|
this.wcagSelectLabel = "Vybrat stranu";
|
|
9969
10013
|
this.wcagPageLabel = "Strana";
|
|
10014
|
+
this.labelPrev = 'Přejít o stranu zpět';
|
|
10015
|
+
this.labelStart = 'Přejít na začátek';
|
|
10016
|
+
this.labelNext = 'Přejít na další stranu';
|
|
10017
|
+
this.labelEnd = 'Přejít na konec';
|
|
9970
10018
|
this.pagination = undefined;
|
|
9971
10019
|
this.h = govHost(this.host);
|
|
9972
10020
|
this.pageSelectId = createID("GovPageSelect");
|
|
@@ -10020,12 +10068,12 @@ class GovPagination {
|
|
|
10020
10068
|
}
|
|
10021
10069
|
}
|
|
10022
10070
|
render() {
|
|
10023
|
-
const pageResolver = (page, content) => {
|
|
10071
|
+
const pageResolver = (page, content, description) => {
|
|
10024
10072
|
const isDisabled = page === -1;
|
|
10025
10073
|
const ariaCurrent = toBoolAttrIfDefined(this.pagination.currentPage === page ? true : undefined);
|
|
10026
|
-
return (hAsync("gov-button", { href: this.prepareLinkUrl(page), variant: this.variant, size: this.size, type: "base", disabled: isDisabled, "on-gov-click": (e) => this.onClickHandler(e, page), "wcag-label": page > -1 ? this.wcagPageLabel + " " + page : undefined, "wcag-current": ariaCurrent, class: PaginationClass.inner }, content));
|
|
10074
|
+
return (hAsync("gov-button", { href: this.prepareLinkUrl(page), variant: this.variant, size: this.size, type: "base", disabled: isDisabled, "on-gov-click": (e) => this.onClickHandler(e, page), "wcag-label": description ? description : page > -1 ? this.wcagPageLabel + " " + page : undefined, "wcag-current": ariaCurrent, class: PaginationClass.inner }, content));
|
|
10027
10075
|
};
|
|
10028
|
-
return (hAsync(Host, { class: this.h.classes(PaginationClass.root), type: this.type, variant: this.variant, size: this.size }, hAsync("nav", { "aria-label": this.wcagLabel, "aria-labelledby": this.wcagLabelledBy }, hAsync("ul", { class: PaginationClass.list }, hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.currentPage > 1 ? 1 : -1, hAsync("gov-icon", { class: PaginationClass.arrow, name: "chevron-double-left" }))), hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.startPage < this.pagination.currentPage ? this.pagination.currentPage - 1 : -1, hAsync("gov-icon", { class: PaginationClass.arrow, name: "chevron-left" }))), this.type == "select" ? (hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemSelect]) }, hAsync("span", { class: PaginationClass.inner }, hAsync("span", { id: this.pageSelectId, hidden: true }, this.wcagSelectLabel), hAsync("gov-form-select", { size: "m", variant: this.variant, "wcag-labelled-by": this.pageSelectId, "on-gov-change": this.onSelectHandler.bind(this) }, createArrayRange(1, this.pagination.totalPages).map(page => (hAsync("option", { value: page, selected: this.pagination.currentPage === page }, page))))))) : (hAsync(Fragment, null, this.pagination.pages.map(page => (hAsync("li", { class: this.isActivePageClass(PaginationClass.item, page) }, pageResolver(page, page)))), this.pagination.totalPages ? (hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemMore]) }, hAsync("span", { class: PaginationClass.inner }, hAsync("span", { id: this.pageSelectId, hidden: true }, this.wcagSelectLabel), hAsync("gov-form-select", { size: "m", variant: this.variant, "wcag-labelled-by": this.pageSelectId, ref: el => (this.spreadSelectRef = el), "on-gov-change": this.onSelectHandler.bind(this) }, hAsync("option", { selected: true, hidden: true }, "..."), createArrayRange(1, this.pagination.totalPages).map(page => (hAsync("option", { value: page, selected: false }, page))))))) : null)), hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.totalPages > this.pagination.currentPage ? this.pagination.currentPage + 1 : -1, hAsync("gov-icon", { class: PaginationClass.arrow, name: "chevron-right" }))), hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.totalPages > this.pagination.currentPage ? this.pagination.totalPages : -1, hAsync("gov-icon", { class: PaginationClass.arrow, name: "chevron-double-right" })))))));
|
|
10076
|
+
return (hAsync(Host, { class: this.h.classes(PaginationClass.root), type: this.type, variant: this.variant, size: this.size }, hAsync("nav", { "aria-label": this.wcagLabel, "aria-labelledby": this.wcagLabelledBy }, hAsync("ul", { class: PaginationClass.list }, hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.currentPage > 1 ? 1 : -1, hAsync("gov-icon", { class: PaginationClass.arrow, name: "chevron-double-left" }), this.labelStart)), hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.startPage < this.pagination.currentPage ? this.pagination.currentPage - 1 : -1, hAsync("gov-icon", { class: PaginationClass.arrow, name: "chevron-left" }), this.labelPrev)), this.type == "select" ? (hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemSelect]) }, hAsync("span", { class: PaginationClass.inner }, hAsync("span", { id: this.pageSelectId, hidden: true }, this.wcagSelectLabel), hAsync("gov-form-select", { size: "m", variant: this.variant, "wcag-labelled-by": this.pageSelectId, "on-gov-change": this.onSelectHandler.bind(this) }, createArrayRange(1, this.pagination.totalPages).map(page => (hAsync("option", { value: page, selected: this.pagination.currentPage === page }, page))))))) : (hAsync(Fragment, null, this.pagination.pages.map(page => (hAsync("li", { class: this.isActivePageClass(PaginationClass.item, page) }, pageResolver(page, page, '')))), this.pagination.totalPages ? (hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemMore]) }, hAsync("span", { class: PaginationClass.inner }, hAsync("span", { id: this.pageSelectId, hidden: true }, this.wcagSelectLabel), hAsync("gov-form-select", { size: "m", variant: this.variant, "wcag-labelled-by": this.pageSelectId, ref: el => (this.spreadSelectRef = el), "on-gov-change": this.onSelectHandler.bind(this) }, hAsync("option", { selected: true, hidden: true }, "..."), createArrayRange(1, this.pagination.totalPages).map(page => (hAsync("option", { value: page, selected: false }, page))))))) : null)), hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.totalPages > this.pagination.currentPage ? this.pagination.currentPage + 1 : -1, hAsync("gov-icon", { class: PaginationClass.arrow, name: "chevron-right" }), this.labelNext)), hAsync("li", { class: prepareClasses([PaginationClass.item, PaginationClass.itemArrow]) }, pageResolver(this.pagination.totalPages > this.pagination.currentPage ? this.pagination.totalPages : -1, hAsync("gov-icon", { class: PaginationClass.arrow, name: "chevron-double-right" }), this.labelEnd))))));
|
|
10029
10077
|
}
|
|
10030
10078
|
onClickHandler(e, page) {
|
|
10031
10079
|
e.stopPropagation();
|
|
@@ -10088,6 +10136,10 @@ class GovPagination {
|
|
|
10088
10136
|
"wcagLabelledBy": [1, "wcag-labelled-by"],
|
|
10089
10137
|
"wcagSelectLabel": [1, "wcag-select-label"],
|
|
10090
10138
|
"wcagPageLabel": [1, "wcag-page-label"],
|
|
10139
|
+
"labelPrev": [1, "label-prev"],
|
|
10140
|
+
"labelStart": [1, "label-start"],
|
|
10141
|
+
"labelNext": [1, "label-next"],
|
|
10142
|
+
"labelEnd": [1, "label-end"],
|
|
10091
10143
|
"pagination": [32],
|
|
10092
10144
|
"validateWcag": [64]
|
|
10093
10145
|
},
|
|
@@ -10125,6 +10177,9 @@ class GovPrompt {
|
|
|
10125
10177
|
}
|
|
10126
10178
|
watchOpen(newValue) {
|
|
10127
10179
|
this.open = newValue;
|
|
10180
|
+
if (newValue && this.closeCtaRef) {
|
|
10181
|
+
this.closeCtaRef.setFocus().catch();
|
|
10182
|
+
}
|
|
10128
10183
|
}
|
|
10129
10184
|
showModal() {
|
|
10130
10185
|
this.open = true;
|
|
@@ -10150,7 +10205,7 @@ class GovPrompt {
|
|
|
10150
10205
|
}
|
|
10151
10206
|
render() {
|
|
10152
10207
|
const LabelTag = this.labelTag;
|
|
10153
|
-
return (hAsync(Host, { class: this.h.classes(ModalClass.rootPrompt), open: this.open }, hAsync("dialog", { class: ModalClass.dialog, hidden: !this.open, tabindex: "-1", open: this.open, "aria-modal": "true", "aria-hidden": toBoolAttr(!this.open), "aria-labelledby": this.wcagLabelledBy || this.labelId, "aria-describedby": this.wcagDescribedBy || this.contentId, role: this.role }, hAsync("div", { class: ModalClass.inner }, hAsync("div", { class: ModalClass.header }, this.h.hasSlot('icon') && (hAsync("div", { class: ModalClass.icon }, hAsync("slot", { name: "icon" }))), this.label && (hAsync(LabelTag, { class: ModalClass.title, id: this.labelId }, this.label)), hAsync("gov-button", { class: ModalClass.close, variant: "primary", wcagLabel: this.wcagCloseLabel, wcagLabelledBy: this.wcagCloseLabelledBy, type: "base", "on-gov-click": this.onCloseHandler.bind(this) }, hAsync("gov-icon", { name: "x-lg" }))), hAsync("div", { class: ModalClass.content, id: this.contentId }, hAsync("slot", null)), hAsync("div", { class: ModalClass.actions }, hAsync("slot", { name: "actions" })))), this.open ? (hAsync("gov-backdrop", { "wcag-label": this.wcagCloseLabel, "wcag-labelled-by": this.wcagCloseLabelledBy, "on-gov-click": this.onCloseHandler.bind(this) })) : null));
|
|
10208
|
+
return (hAsync(Host, { class: this.h.classes(ModalClass.rootPrompt), open: this.open }, hAsync("dialog", { class: ModalClass.dialog, hidden: !this.open, tabindex: "-1", open: this.open, "aria-modal": "true", "aria-hidden": toBoolAttr(!this.open), "aria-labelledby": this.wcagLabelledBy || this.labelId, "aria-describedby": this.wcagDescribedBy || this.contentId, role: this.role }, hAsync("div", { class: ModalClass.inner }, hAsync("div", { class: ModalClass.header }, this.h.hasSlot('icon') && (hAsync("div", { class: ModalClass.icon }, hAsync("slot", { name: "icon" }))), this.label && (hAsync(LabelTag, { class: ModalClass.title, id: this.labelId }, this.label)), hAsync("gov-button", { class: ModalClass.close, variant: "primary", wcagLabel: this.wcagCloseLabel, wcagLabelledBy: this.wcagCloseLabelledBy, type: "base", ref: el => (this.closeCtaRef = el), "on-gov-click": this.onCloseHandler.bind(this) }, hAsync("gov-icon", { name: "x-lg" }))), hAsync("div", { class: ModalClass.content, id: this.contentId }, hAsync("slot", null)), hAsync("div", { class: ModalClass.actions }, hAsync("slot", { name: "actions" })))), this.open ? (hAsync("gov-backdrop", { "wcag-label": this.wcagCloseLabel, "wcag-labelled-by": this.wcagCloseLabelledBy, "on-gov-click": this.onCloseHandler.bind(this) })) : null));
|
|
10154
10209
|
}
|
|
10155
10210
|
onCloseHandler(e) {
|
|
10156
10211
|
e.stopPropagation();
|
|
@@ -11121,7 +11176,7 @@ const TileClass = {
|
|
|
11121
11176
|
heading: 'gov-tile__heading',
|
|
11122
11177
|
};
|
|
11123
11178
|
|
|
11124
|
-
const govTileCss = ".gov-
|
|
11179
|
+
const govTileCss = ".gov-tile__link::before{content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-tile{position:relative;display:block;width:100%;padding:0.75rem;transition:background-color 150ms}.gov-tile__icon{display:block;margin:0rem 0rem 1.5rem 0rem;color:var(--gov-tile-main-color, var(--gov-color-primary))}.gov-tile__icon .gov-icon{display:block;width:2.5rem;height:2.5rem}.gov-tile__title{display:flex;gap:0.5rem;justify-content:space-between;align-items:flex-start;color:var(--gov-tile-main-color, var(--gov-color-primary));text-decoration:none;margin-bottom:0.5rem}.gov-tile__title [slot=title]{font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing);margin:0}.gov-tile__arrow{flex:0 0 auto;width:1.25rem;height:1.25rem;position:relative;top:0.3125rem;color:inherit}.gov-tile__content{color:var(--gov-tile-text-color, var(--gov-color-secondary-700))}.gov-tile__content>*:last-child{margin-bottom:0}.gov-tile__content a{position:relative;z-index:1}.gov-tile__link{display:block;text-decoration:none}@media not all and (pointer: coarse){.gov-tile[href]:hover{background:var(--gov-tile-hover-bg, var(--gov-color-primary-200))}.gov-tile[href]:hover .gov-tile__title{color:var(--gov-tile-main-color, var(--gov-color-primary))}}@media (min-width: 48em){.gov-tile{padding:1.5rem}.gov-tile__icon .gov-icon{width:3rem;height:3rem}}";
|
|
11125
11180
|
|
|
11126
11181
|
class GovTile {
|
|
11127
11182
|
constructor(hostRef) {
|
|
@@ -11131,7 +11186,7 @@ class GovTile {
|
|
|
11131
11186
|
this.h = govHost(this.host);
|
|
11132
11187
|
}
|
|
11133
11188
|
render() {
|
|
11134
|
-
return (hAsync(Host, { class: this.h.classes(TileClass.root) }, this.
|
|
11189
|
+
return (hAsync(Host, { class: this.h.classes(TileClass.root) }, this.h.hasSlot("icon") && (hAsync("span", { class: TileClass.icon }, hAsync("slot", { name: "icon" }))), this.href ? (hAsync("a", { href: this.href, target: this.target, class: TileClass.link, ref: el => (this.triggerRef = el) }, this.h.hasSlot("title") && (hAsync("span", { class: TileClass.title }, hAsync("slot", { name: "title" }))))) : (this.h.hasSlot("title") && (hAsync("span", { class: TileClass.title }, hAsync("slot", { name: "title" })))), hAsync("div", { class: TileClass.content }, hAsync("slot", null))));
|
|
11135
11190
|
}
|
|
11136
11191
|
/**
|
|
11137
11192
|
* Returns a clickable element instance
|
|
@@ -11355,10 +11410,6 @@ class GovTooltip {
|
|
|
11355
11410
|
this.content.innerHTML = this.message;
|
|
11356
11411
|
this.host.appendChild(this.content);
|
|
11357
11412
|
}
|
|
11358
|
-
const trigger = this.host.getBoundingClientRect();
|
|
11359
|
-
this.content.style.left = trigger.left + 'px';
|
|
11360
|
-
this.content.style.top = trigger.top + 'px';
|
|
11361
|
-
this.content.style.visibility = 'hidden';
|
|
11362
11413
|
this.content.setAttribute("id", (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId);
|
|
11363
11414
|
this.content.setAttribute("parent-id", this.tooltipId);
|
|
11364
11415
|
this.content.setAttribute("variant", this.variant);
|
|
@@ -11465,20 +11516,23 @@ class GovTooltip {
|
|
|
11465
11516
|
this.content.setAttribute("position", TooltipPosition.BOTTOM);
|
|
11466
11517
|
this.content.style.top = (triggerPos.top + (trgHeight + offset)) + "px";
|
|
11467
11518
|
}
|
|
11468
|
-
this.content.setAttribute("is-visible", "true");
|
|
11469
11519
|
this.content.style.opacity = '1';
|
|
11470
11520
|
}
|
|
11471
11521
|
showTooltip() {
|
|
11472
11522
|
if (this.content) {
|
|
11473
11523
|
this.content.style.opacity = '0';
|
|
11474
11524
|
this.content.hidden = false;
|
|
11475
|
-
this.
|
|
11525
|
+
this.content.setAttribute("is-visible", "true");
|
|
11526
|
+
requestAnimationFrame(() => {
|
|
11527
|
+
this.verifyPositionSpace();
|
|
11528
|
+
});
|
|
11476
11529
|
}
|
|
11477
11530
|
}
|
|
11478
11531
|
hideTooltip() {
|
|
11479
11532
|
if (this.content) {
|
|
11480
11533
|
this.content.setAttribute("is-visible", "false");
|
|
11481
11534
|
this.content.setAttribute("persist", "false");
|
|
11535
|
+
this.content.removeAttribute('style');
|
|
11482
11536
|
}
|
|
11483
11537
|
}
|
|
11484
11538
|
removeContent() {
|
|
@@ -11489,7 +11543,7 @@ class GovTooltip {
|
|
|
11489
11543
|
}
|
|
11490
11544
|
render() {
|
|
11491
11545
|
var _a;
|
|
11492
|
-
return (hAsync(Host, { id: this.tooltipId, class: this.h.classes(TooltipClass.root), position: this.position, tabindex: 0, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", null)));
|
|
11546
|
+
return (hAsync(Host, { id: this.tooltipId, class: this.h.classes(TooltipClass.root), position: this.position }, hAsync("span", { role: 'button', tabindex: 0, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", null))));
|
|
11493
11547
|
}
|
|
11494
11548
|
/**
|
|
11495
11549
|
* Showing the modal
|
|
@@ -11531,7 +11585,7 @@ class GovTooltip {
|
|
|
11531
11585
|
}; }
|
|
11532
11586
|
}
|
|
11533
11587
|
|
|
11534
|
-
const govTooltipContentCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-tooltip-content{z-index:51;font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);position:absolute;display:
|
|
11588
|
+
const govTooltipContentCss = ".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-tooltip-content{z-index:51;font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);position:absolute;display:none;width:-moz-max-content;width:max-content;max-width:var(--gov-tooltip-content-max-width, 21rem);padding:1rem;border-radius:0.1875rem;background-color:var(--gov-tooltip-content-bg-color, var(--gov-color-primary-300));color:var(--gov-tooltip-content-text-color, var(--gov-color-secondary));letter-spacing:0.0125rem;visibility:hidden;opacity:0;transition:opacity 0.2s ease-in}.gov-tooltip-content::before{content:\"\";position:absolute;display:block;width:0;height:0;border:0.625rem solid transparent}.gov-tooltip-content gov-button{position:absolute;right:0;top:0}.gov-tooltip-content[persist=\"\"],.gov-tooltip-content[persist=true i],.gov-tooltip-content[persist=\"1\"]{padding-right:3.25rem}.gov-tooltip-content[is-visible=\"\"],.gov-tooltip-content[is-visible=true i],.gov-tooltip-content[is-visible=\"1\"]{display:block;opacity:1}.gov-tooltip-content[variant=secondary]{--gov-tooltip-content-bg-color:var(--gov-tooltip-secondary-bg-color, var(--gov-color-secondary));--gov-tooltip-content-text-color:var(--gov-tooltip-secondary-text-color, var(--gov-color-neutral-white))}.gov-tooltip-content[variant=secondary][inverse=\"\"],.gov-tooltip-content[variant=secondary][inverse=true i],.gov-tooltip-content[variant=secondary][inverse=\"1\"]{--gov-tooltip-content-bg-color:var(--gov-color-neutral-white);--gov-tooltip-content-text-color:var(--gov-tooltip-secondary-text-color-inverse, var(--gov-color-secondary))}.gov-tooltip-content[variant=primary]{--gov-tooltip-content-bg-color:var(--gov-tooltip-primary-bg-color, var(--gov-color-primary-300));--gov-tooltip-content-text-color:var(--gov-tooltip-primary-text-color, var(--gov-color-secondary))}.gov-tooltip-content[variant=primary][inverse=\"\"],.gov-tooltip-content[variant=primary][inverse=true i],.gov-tooltip-content[variant=primary][inverse=\"1\"]{--gov-tooltip-content-bg-color:var(--gov-color-neutral-white);--gov-tooltip-content-text-color:var(--gov-tooltip-primary-text-color-inverse, var(--gov-color-primary))}.gov-tooltip-content[size=s]{--gov-tooltip-content-padding:var(--gov-tooltip-s-padding, 0.5rem);--gov-tooltip-content-arrow-size:var(--gov-tooltip-s-arrow-size, 0.4375rem);--gov-tooltip-content-letter-spacing:var(--gov-tooltip-s-letter-spacing, 0.0125rem);font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing)}.gov-tooltip-content[size=s][persist=true i]{padding-right:var(--gov-tooltip-s-persist-space, 3rem)}.gov-tooltip-content[size=l]{--gov-tooltip-content-padding:var(--gov-tooltip-l-padding, 1rem);--gov-tooltip-content-arrow-size:var(--gov-tooltip-l-arrow-size, 0.875rem);--gov-tooltip-content-letter-spacing:var(--gov-tooltip-l-letter-spacing, 0.002rem);font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing)}.gov-tooltip-content[size=l][persist=true i]{padding-right:var(--gov-tooltip-s-persist-space, 4rem)}.gov-tooltip-content[position=top]::before{left:50%;transform:translateX(-50%)}.gov-tooltip-content[position=top]::before{top:100%;border-bottom-width:0;border-top-color:var(--gov-tooltip-content-bg-color, var(--gov-color-primary-300))}.gov-tooltip-content[position=bottom]::before{left:50%;transform:translateX(-50%)}.gov-tooltip-content[position=bottom]::before{bottom:100%;border-top-width:0;border-bottom-color:var(--gov-tooltip-content-bg-color, var(--gov-color-primary-300))}.gov-tooltip-content[position=left]::before{top:50%;transform:translateY(-50%)}.gov-tooltip-content[position=left]::before{left:100%;border-right-width:0;border-left-color:var(--gov-tooltip-content-bg-color, var(--gov-color-primary-300))}.gov-tooltip-content[position=right]::before{top:50%;transform:translateY(-50%)}.gov-tooltip-content[position=right]::before{right:100%;border-left-width:0;border-right-color:var(--gov-tooltip-content-bg-color, var(--gov-color-primary-300))}";
|
|
11535
11589
|
|
|
11536
11590
|
class GovTooltipContent {
|
|
11537
11591
|
constructor(hostRef) {
|
package/dist/stencil.config.js
CHANGED
|
@@ -62,7 +62,29 @@ export const config = {
|
|
|
62
62
|
vueOutputTarget({
|
|
63
63
|
componentCorePackage: "@gov-design-system-ce",
|
|
64
64
|
proxiesFile: "../../../packages/core-vue/lib/index.ts",
|
|
65
|
-
includeImportCustomElements: true
|
|
65
|
+
includeImportCustomElements: true,
|
|
66
|
+
componentModels: [
|
|
67
|
+
{
|
|
68
|
+
elements: ['gov-form-autocomplete', 'gov-form-input'],
|
|
69
|
+
event: 'gov-input',
|
|
70
|
+
targetAttr: 'value',
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
elements: ['gov-form-autocomplete'],
|
|
74
|
+
event: 'gov-select',
|
|
75
|
+
targetAttr: 'value',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
elements: ['gov-form-checkbox', 'gov-form-switch'],
|
|
79
|
+
event: 'gov-change',
|
|
80
|
+
targetAttr: 'checked',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
elements: ['gov-form-multiselect', 'gov-form-select', 'gov-form-radio',],
|
|
84
|
+
event: 'gov-change',
|
|
85
|
+
targetAttr: 'value',
|
|
86
|
+
},
|
|
87
|
+
],
|
|
66
88
|
}),
|
|
67
89
|
angularOutputTarget({
|
|
68
90
|
componentCorePackage: "@gov-design-system-ce/components",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stencil.config.js","sourceRoot":"","sources":["../../../stencil.config.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"stencil.config.js","sourceRoot":"","sources":["../../../stencil.config.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,OAAO,EAAC,MAAM,kBAAkB,CAAA;AACxC,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAA;AAClC,OAAO,YAAY,MAAM,cAAc,CAAA;AACvC,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAC,iBAAiB,EAAC,MAAM,8BAA8B,CAAA;AAC9D,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAC,mBAAmB,EAAC,MAAM,gCAAgC,CAAC;AAEnE,MAAM,CAAC,MAAM,MAAM,GAAW;EAC7B,SAAS,EAAE,MAAM;EACjB,WAAW,EAAE,sBAAsB;EACnC,SAAS,EAAE,OAAO;EAClB,SAAS,EAAE,IAAI;EACf,qBAAqB,EAAE,KAAK;EAC5B,MAAM,EAAE;IACP,qBAAqB,EAAE,IAAI;IAC3B,qBAAqB,EAAE,IAAI;IAC3B,YAAY,EAAE,IAAI;GAClB;EACD,OAAO,EAAE;IACR,IAAI,CAAC;MACJ,iBAAiB,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;KACtF,CAAC;IACF,OAAO,CAAC;MACP,OAAO,EAAE,CAAC,YAAY,EAAE,CAAC;KACzB,CAAC;GACF;EACD,aAAa,EAAE;IACd;MACC,IAAI,EAAE,MAAM;MACZ,aAAa,EAAE,WAAW;KAC1B;IACD;MACC,IAAI,EAAE,aAAa;MACnB,MAAM,EAAE,IAAI;KACZ;IACD;MACC,IAAI,EAAE,KAAK;MACX,IAAI,EAAE;QACL,EAAC,GAAG,EAAE,iBAAiB,EAAE,IAAI,EAAE,oBAAoB,EAAC;QACpD,EAAC,GAAG,EAAE,iBAAiB,EAAE,IAAI,EAAE,oBAAoB,EAAC;QACpD,EAAC,GAAG,EAAE,kBAAkB,EAAE,IAAI,EAAE,qBAAqB,EAAC;OACtD;MACD,aAAa,EAAE,IAAI;KACnB;IACD;MACC,IAAI,EAAE,qBAAqB;MAC3B,GAAG,EAAE,cAAc;KACnB;IACD;MACC,IAAI,EAAE,sBAAsB;MAC5B,oBAAoB,EAAE,KAAK;MAC3B,eAAe,EAAE,KAAK;MACtB,MAAM,EAAE,IAAI;MACZ,4BAA4B,EAAE,6BAA6B;KAC3D;IAED,iBAAiB,CAAC;MACjB,oBAAoB,EAAE,kCAAkC;MACxD,WAAW,EAAE,2CAA2C;MACxD,2BAA2B,EAAE,IAAI;MACjC,gBAAgB,EAAE,IAAI;KACtB,CAAC;IACF,eAAe,CAAC;MACf,oBAAoB,EAAE,uBAAuB;MAC7C,WAAW,EAAE,yCAAyC;MACtD,2BAA2B,EAAE,IAAI;MACjC,eAAe,EAAE;QAChB;UACC,QAAQ,EAAE,CAAC,uBAAuB,EAAE,gBAAgB,CAAC;UACrD,KAAK,EAAE,WAAW;UAClB,UAAU,EAAE,OAAO;SACnB;QACD;UACC,QAAQ,EAAE,CAAC,uBAAuB,CAAC;UACnC,KAAK,EAAE,YAAY;UACnB,UAAU,EAAE,OAAO;SACnB;QACD;UACC,QAAQ,EAAE,CAAC,mBAAmB,EAAE,iBAAiB,CAAC;UAClD,KAAK,EAAE,YAAY;UACnB,UAAU,EAAE,SAAS;SACrB;QACD;UACC,QAAQ,EAAE,CAAC,sBAAsB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE;UACxE,KAAK,EAAE,YAAY;UACnB,UAAU,EAAE,OAAO;SACnB;OACD;KACD,CAAC;IACF,mBAAmB,CAAC;MACnB,oBAAoB,EAAE,kCAAkC;MACxD,UAAU,EAAE,WAAW;MACvB,mBAAmB,EAAE,0DAA0D;MAC/E,mBAAmB,EAAE,+DAA+D;KACpF,CAAC;GACF;CACD,CAAA","sourcesContent":["import {Config} from \"@stencil/core\"\nimport {postcss} from \"@stencil/postcss\"\nimport {sass} from \"@stencil/sass\"\nimport autoprefixer from \"autoprefixer\"\nimport path from \"path\"\nimport {reactOutputTarget} from \"@stencil/react-output-target\"\nimport {vueOutputTarget} from \"@stencil/vue-output-target\"\nimport {angularOutputTarget} from '@stencil/angular-output-target';\n\nexport const config: Config = {\n\tnamespace: \"core\",\n\tglobalStyle: \"src/sass/global.scss\",\n\ttaskQueue: \"async\",\n\tsourceMap: true,\n\tinvisiblePrehydration: false,\n\textras: {\n\t\texperimentalSlotFixes: true,\n\t\tenableImportInjection: true,\n\t\tcloneNodeFix: true,\n\t},\n\tplugins: [\n\t\tsass({\n\t\t\tinjectGlobalPaths: [path.resolve(__dirname, `src/sass/core.scss`).replace(/\\\\/g, \"/\")],\n\t\t}),\n\t\tpostcss({\n\t\t\tplugins: [autoprefixer()],\n\t\t}),\n\t],\n\toutputTargets: [\n\t\t{\n\t\t\ttype: \"dist\",\n\t\t\tesmLoaderPath: \"../loader\",\n\t\t},\n\t\t{\n\t\t\ttype: \"docs-readme\",\n\t\t\tstrict: true,\n\t\t},\n\t\t{\n\t\t\ttype: \"www\",\n\t\t\tcopy: [\n\t\t\t\t{src: \"../../fonts/lib\", dest: \"build/assets/fonts\"},\n\t\t\t\t{src: \"../../icons/lib\", dest: \"build/assets/icons\"},\n\t\t\t\t{src: \"../../styles/lib\", dest: \"build/assets/styles\"},\n\t\t\t],\n\t\t\tserviceWorker: null,\n\t\t},\n\t\t{\n\t\t\ttype: \"dist-hydrate-script\",\n\t\t\tdir: \"dist/hydrate\",\n\t\t},\n\t\t{\n\t\t\ttype: \"dist-custom-elements\",\n\t\t\tincludeGlobalScripts: false,\n\t\t\texternalRuntime: false,\n\t\t\tminify: true,\n\t\t\tcustomElementsExportBehavior: 'auto-define-custom-elements'\n\t\t},\n\n\t\treactOutputTarget({\n\t\t\tcomponentCorePackage: \"@gov-design-system-ce/components\",\n\t\t\tproxiesFile: \"../../../packages/core-react/lib/index.ts\",\n\t\t\tincludeDefineCustomElements: true,\n\t\t\tincludePolyfills: true\n\t\t}),\n\t\tvueOutputTarget({\n\t\t\tcomponentCorePackage: \"@gov-design-system-ce\",\n\t\t\tproxiesFile: \"../../../packages/core-vue/lib/index.ts\",\n\t\t\tincludeImportCustomElements: true,\n\t\t\tcomponentModels: [\n\t\t\t\t{\n\t\t\t\t\telements: ['gov-form-autocomplete', 'gov-form-input'],\n\t\t\t\t\tevent: 'gov-input',\n\t\t\t\t\ttargetAttr: 'value',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\telements: ['gov-form-autocomplete'],\n\t\t\t\t\tevent: 'gov-select',\n\t\t\t\t\ttargetAttr: 'value',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\telements: ['gov-form-checkbox', 'gov-form-switch'],\n\t\t\t\t\tevent: 'gov-change',\n\t\t\t\t\ttargetAttr: 'checked',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\telements: ['gov-form-multiselect', 'gov-form-select', 'gov-form-radio',],\n\t\t\t\t\tevent: 'gov-change',\n\t\t\t\t\ttargetAttr: 'value',\n\t\t\t\t},\n\t\t\t],\n\t\t}),\n\t\tangularOutputTarget({\n\t\t\tcomponentCorePackage: \"@gov-design-system-ce/components\",\n\t\t\toutputType: 'component',\n\t\t\tdirectivesProxyFile: '../../../packages/core-angular/src/directives/proxies.ts',\n\t\t\tdirectivesArrayFile: '../../../packages/core-angular/src/directives/proxies-list.ts',\n\t\t}),\n\t],\n}\n"]}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { GovBreadcrumbsChangeEvent } from './gov-breadcrumbs.d';
|
|
3
3
|
export declare class GovBreadcrumbs {
|
|
4
|
+
private inited;
|
|
4
5
|
private h;
|
|
5
6
|
constructor();
|
|
6
7
|
readonly host: HTMLGovBreadcrumbsElement;
|
|
@@ -20,11 +21,19 @@ export declare class GovBreadcrumbs {
|
|
|
20
21
|
* Indicates the id of a component that labels the pagination.
|
|
21
22
|
*/
|
|
22
23
|
readonly wcagLabelledBy: string;
|
|
24
|
+
/**
|
|
25
|
+
* Adds an accessible label to display the full breadcrumb navigation that only screen readers can see.
|
|
26
|
+
*/
|
|
27
|
+
readonly wcagToggleLabel: string;
|
|
23
28
|
/**
|
|
24
29
|
* Called when the Breadcrumbs state changes
|
|
25
30
|
*/
|
|
26
31
|
govChange: EventEmitter<GovBreadcrumbsChangeEvent>;
|
|
32
|
+
collapsed: boolean;
|
|
33
|
+
toggleOption: boolean;
|
|
27
34
|
componentDidRender(): Promise<void>;
|
|
35
|
+
private scheduleContentVerification;
|
|
36
|
+
private calculateWidthOfItems;
|
|
28
37
|
render(): any;
|
|
29
38
|
/**
|
|
30
39
|
* Validate the WCAG attributes of the component
|
|
@@ -136,7 +136,7 @@ export declare class GovButton {
|
|
|
136
136
|
/**
|
|
137
137
|
* Tells screen reader the element is pressed
|
|
138
138
|
*/
|
|
139
|
-
readonly wcagPressed:
|
|
139
|
+
readonly wcagPressed: boolean;
|
|
140
140
|
/**
|
|
141
141
|
* Indicates the current item within a container or set of related elements
|
|
142
142
|
*/
|
|
@@ -157,7 +157,6 @@ export declare class GovButton {
|
|
|
157
157
|
validateType(newValue: string): void;
|
|
158
158
|
validateSize(newValue: string): void;
|
|
159
159
|
validateNativeType(newValue: string): void;
|
|
160
|
-
isPressed: boolean;
|
|
161
160
|
componentWillLoad(): void;
|
|
162
161
|
componentDidRender(): Promise<void>;
|
|
163
162
|
get classNames(): string;
|
|
@@ -22,6 +22,15 @@ export declare class GovFormFile {
|
|
|
22
22
|
* This prevents users from being able to interact with the File, and conveys its inactive state to assistive technologies.
|
|
23
23
|
*/
|
|
24
24
|
readonly disabled: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* After selecting the files, the main input element will be reset.
|
|
27
|
+
* The propagation of the event with the selected files will not be affected.
|
|
28
|
+
*/
|
|
29
|
+
readonly resetAfterPick: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Selected files will not be checked for duplicates based on name and size.
|
|
32
|
+
*/
|
|
33
|
+
readonly ignoreFileDuplicationCheck: boolean;
|
|
25
34
|
/**
|
|
26
35
|
* Show list of attachments
|
|
27
36
|
*/
|
|
@@ -141,6 +141,10 @@ export declare class GovFormInput {
|
|
|
141
141
|
* Emitted when the input change value.
|
|
142
142
|
*/
|
|
143
143
|
govKeyUp: EventEmitter<FormInputEvent>;
|
|
144
|
+
/**
|
|
145
|
+
* Emitted when the input change value.
|
|
146
|
+
*/
|
|
147
|
+
govHydrated: EventEmitter<void>;
|
|
144
148
|
/**
|
|
145
149
|
* Emitted when the input change value.
|
|
146
150
|
*/
|
|
@@ -152,6 +156,7 @@ export declare class GovFormInput {
|
|
|
152
156
|
private passControlAttrs;
|
|
153
157
|
componentWillLoad(): void;
|
|
154
158
|
componentDidRender(): Promise<void>;
|
|
159
|
+
componentDidLoad(): void;
|
|
155
160
|
render(): any;
|
|
156
161
|
private onFocusHandler;
|
|
157
162
|
private onBlurHandler;
|
|
@@ -14,6 +14,10 @@ export declare class GovInfobar {
|
|
|
14
14
|
* Style variation of the button.
|
|
15
15
|
*/
|
|
16
16
|
readonly variant: VariantType;
|
|
17
|
+
/**
|
|
18
|
+
* Style variation of the button.
|
|
19
|
+
*/
|
|
20
|
+
readonly role: HTMLElement['role'];
|
|
17
21
|
/**
|
|
18
22
|
* Determine if component should have inverse colors to be used on dark background
|
|
19
23
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
import { PaginationSizeType,
|
|
2
|
+
import { PaginationSizeType, PaginationType, PaginationVariantType } from "./constants";
|
|
3
3
|
import { Pagination } from "./pagination";
|
|
4
4
|
import { PaginationEvent } from "./gov-pagination.types";
|
|
5
5
|
export declare class GovPagination {
|
|
@@ -62,6 +62,22 @@ export declare class GovPagination {
|
|
|
62
62
|
* Adds accessible label for the page item
|
|
63
63
|
*/
|
|
64
64
|
readonly wcagPageLabel: string;
|
|
65
|
+
/**
|
|
66
|
+
* Description of the possibility to go back one page
|
|
67
|
+
*/
|
|
68
|
+
readonly labelPrev = "P\u0159ej\u00EDt o stranu zp\u011Bt";
|
|
69
|
+
/**
|
|
70
|
+
* Description of the option to go to the top of paging
|
|
71
|
+
*/
|
|
72
|
+
readonly labelStart = "P\u0159ej\u00EDt na za\u010D\u00E1tek";
|
|
73
|
+
/**
|
|
74
|
+
* Description of the option to go to the end of paging
|
|
75
|
+
*/
|
|
76
|
+
readonly labelNext = "P\u0159ej\u00EDt na dal\u0161\u00ED stranu";
|
|
77
|
+
/**
|
|
78
|
+
* Description of the option to move one page forward
|
|
79
|
+
*/
|
|
80
|
+
readonly labelEnd = "P\u0159ej\u00EDt na konec";
|
|
65
81
|
/**
|
|
66
82
|
* Event called when changing the page with the current setting of the whole paging
|
|
67
83
|
*/
|