@gov-design-system-ce/components 4.0.8-rc11 → 4.0.8-rc13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/core.cjs.js +2 -2
- package/dist/cjs/gov-accordion-item.cjs.entry.js +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 +1 -1
- package/dist/cjs/gov-button.cjs.entry.js +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-group.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 +1 -1
- package/dist/cjs/gov-form-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-input.cjs.entry.js +5 -4
- package/dist/cjs/gov-form-input.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-label.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-password-power.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-radio-group.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-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 +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 +1 -1
- package/dist/cjs/gov-nav-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-nav.cjs.entry.js +1 -1
- package/dist/cjs/gov-pagination.cjs.entry.js +4 -2
- package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-prompt.cjs.entry.js +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 +13 -2
- package/dist/cjs/gov-tabs-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tabs.cjs.entry.js +34 -42
- package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tag.cjs.entry.js +1 -1
- package/dist/cjs/gov-tile.cjs.entry.js +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 +1 -1
- package/dist/cjs/gov-tooltip.cjs.entry.js +68 -59
- 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/{index-d7a6145d.js → index-cfb57f19.js} +5 -2
- package/dist/cjs/index-cfb57f19.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/gov-form/input/gov-form-input.js +22 -4
- package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
- package/dist/collection/components/gov-pagination/gov-pagination.js +20 -1
- package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs-item.js +20 -2
- package/dist/collection/components/gov-tabs/gov-tabs-item.js.map +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.js +52 -43
- package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +66 -56
- package/dist/collection/components/gov-tooltip/gov-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-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-group.js +1 -1
- package/dist/components/gov-form-checkbox.js +1 -1
- package/dist/components/gov-form-control.js +1 -1
- package/dist/components/gov-form-file.js +1 -1
- package/dist/components/gov-form-group.js +1 -1
- package/dist/components/gov-form-input.js +1 -1
- package/dist/components/gov-form-label.js +1 -1
- package/dist/components/gov-form-message.js +1 -1
- package/dist/components/gov-form-multi-select.js +1 -1
- package/dist/components/gov-form-password-power.js +1 -1
- package/dist/components/gov-form-radio-group.js +1 -1
- package/dist/components/gov-form-radio.js +1 -1
- package/dist/components/gov-form-search.js +1 -1
- package/dist/components/gov-form-select.js +1 -1
- package/dist/components/gov-form-switch.js +1 -1
- package/dist/components/gov-grid-item.js +1 -1
- package/dist/components/gov-grid.js +1 -1
- package/dist/components/gov-icon.js +1 -1
- package/dist/components/gov-infobar.js +1 -1
- package/dist/components/gov-layout-column.js +1 -1
- package/dist/components/gov-layout.js +1 -1
- package/dist/components/gov-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-nav-item.js +1 -1
- package/dist/components/gov-nav.js +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-side-nav-item.js +1 -1
- package/dist/components/gov-side-nav.js +1 -1
- package/dist/components/gov-skeleton.js +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-item.js.map +1 -1
- package/dist/components/gov-tabs.js +1 -1
- package/dist/components/gov-tabs.js.map +1 -1
- package/dist/components/gov-tag.js +1 -1
- package/dist/components/gov-tile.js +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.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/index.js +1 -1
- package/dist/components/{p-0ef9ca38.js → p-137f86d1.js} +2 -2
- package/dist/components/{p-38129200.js → p-3605bf8d.js} +2 -2
- package/dist/components/{p-67f93e2f.js → p-4489a1da.js} +2 -2
- package/dist/components/{p-8f752a63.js → p-479edf55.js} +2 -2
- package/dist/components/p-479edf55.js.map +1 -0
- package/dist/components/{p-e6b44c13.js → p-84d0a332.js} +2 -2
- package/dist/components/{p-850f41a3.js → p-8df7c635.js} +2 -2
- package/dist/components/{p-5a881c4f.js → p-92c6c6aa.js} +2 -2
- package/dist/components/{p-f0e6e095.js → p-9c9fc4ae.js} +2 -2
- package/dist/components/{p-cff54227.js → p-d6759ac3.js} +3 -3
- package/dist/components/p-d6759ac3.js.map +1 -0
- package/dist/components/{p-cc51369e.js → p-d9dda24d.js} +2 -2
- package/dist/components/{p-3d3231ab.js → p-e01962d9.js} +2 -2
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-7eeb23c5.entry.js → p-02745628.entry.js} +2 -2
- package/dist/core/{p-5cf78f1c.entry.js → p-04e48d5d.entry.js} +2 -2
- package/dist/core/{p-b25da41e.entry.js → p-0790a27c.entry.js} +2 -2
- package/dist/core/p-0a5b0f7d.js +3 -0
- package/dist/core/p-0a5b0f7d.js.map +1 -0
- package/dist/core/{p-aaad919f.entry.js → p-0d99a3d8.entry.js} +2 -2
- package/dist/core/p-0d99a3d8.entry.js.map +1 -0
- package/dist/core/{p-893bc0ef.entry.js → p-10dbd2e1.entry.js} +2 -2
- package/dist/core/{p-d51fa875.entry.js → p-13a80dc5.entry.js} +2 -2
- package/dist/core/{p-35a77e2d.entry.js → p-14e5fd00.entry.js} +2 -2
- package/dist/core/{p-6378b5af.entry.js → p-185a46b9.entry.js} +2 -2
- package/dist/core/{p-e7845795.entry.js → p-1b212799.entry.js} +2 -2
- package/dist/core/{p-a82a8d9c.entry.js → p-1d67220c.entry.js} +2 -2
- package/dist/core/{p-9f08ac81.entry.js → p-212e297e.entry.js} +2 -2
- package/dist/core/{p-92bef3b8.entry.js → p-290773da.entry.js} +2 -2
- package/dist/core/{p-2cc5dda1.entry.js → p-2e647c00.entry.js} +2 -2
- package/dist/core/{p-f6416cb8.entry.js → p-2fb0e1cf.entry.js} +2 -2
- package/dist/core/{p-51f069f2.entry.js → p-332a43c7.entry.js} +2 -2
- package/dist/core/{p-071857ce.entry.js → p-33b1f5d8.entry.js} +2 -2
- package/dist/core/{p-314df6e2.entry.js → p-3483a6e8.entry.js} +2 -2
- package/dist/core/{p-854e705c.entry.js → p-34cf509a.entry.js} +2 -2
- package/dist/core/{p-dd45944f.entry.js → p-36312bef.entry.js} +2 -2
- package/dist/core/{p-a0b01f1b.entry.js → p-389edb54.entry.js} +2 -2
- package/dist/core/{p-ecbb9731.entry.js → p-3e3a1607.entry.js} +2 -2
- package/dist/core/{p-c9bd2a6e.entry.js → p-3f62cf30.entry.js} +2 -2
- package/dist/core/{p-28d8b65c.entry.js → p-4978aa0a.entry.js} +2 -2
- package/dist/core/{p-b5ceb3ba.entry.js → p-4b048e19.entry.js} +2 -2
- package/dist/core/{p-680c0fee.entry.js → p-4c83f443.entry.js} +2 -2
- package/dist/core/{p-37f5729b.entry.js → p-4dbaff99.entry.js} +2 -2
- package/dist/core/p-56d42f3e.entry.js +2 -0
- package/dist/core/p-56d42f3e.entry.js.map +1 -0
- package/dist/core/{p-5fa30ebf.entry.js → p-58c875bb.entry.js} +2 -2
- package/dist/core/{p-a14aa161.entry.js → p-5d33cb6e.entry.js} +2 -2
- package/dist/core/{p-ee1637ef.entry.js → p-5e7e7cb1.entry.js} +2 -2
- package/dist/core/{p-4c68eb90.entry.js → p-5facceb9.entry.js} +2 -2
- package/dist/core/{p-c1911b6a.entry.js → p-6092fd22.entry.js} +2 -2
- package/dist/core/p-618df4db.entry.js +2 -0
- package/dist/core/p-618df4db.entry.js.map +1 -0
- package/dist/core/{p-8c80d1aa.entry.js → p-650ac6c6.entry.js} +2 -2
- package/dist/core/{p-671041de.entry.js → p-6977b168.entry.js} +2 -2
- package/dist/core/{p-b4b79f0a.entry.js → p-6c745c3e.entry.js} +2 -2
- package/dist/core/{p-a01a9f16.entry.js → p-718d0198.entry.js} +2 -2
- package/dist/core/{p-c366f797.entry.js → p-761c33c7.entry.js} +2 -2
- package/dist/core/{p-16ed4995.entry.js → p-7695610a.entry.js} +2 -2
- package/dist/core/p-7a0b3094.entry.js +2 -0
- package/dist/core/p-7a0b3094.entry.js.map +1 -0
- package/dist/core/{p-b7e96a9d.entry.js → p-7b598f56.entry.js} +2 -2
- package/dist/core/{p-37a58991.entry.js → p-7d1dd58a.entry.js} +2 -2
- package/dist/core/{p-8fc87295.entry.js → p-8ab827a1.entry.js} +2 -2
- package/dist/core/{p-443894aa.entry.js → p-a87d8f17.entry.js} +2 -2
- package/dist/core/{p-de924143.entry.js → p-aa9b5731.entry.js} +2 -2
- package/dist/core/p-aa9b5731.entry.js.map +1 -0
- package/dist/core/{p-49f584a3.entry.js → p-ab9d9655.entry.js} +2 -2
- package/dist/core/{p-5d1f350b.entry.js → p-aba11ab4.entry.js} +2 -2
- package/dist/core/{p-47efa303.entry.js → p-b58ed9ce.entry.js} +2 -2
- package/dist/core/{p-e1a5a373.entry.js → p-bc2ec133.entry.js} +2 -2
- package/dist/core/{p-fccbecd3.entry.js → p-c7e8faec.entry.js} +2 -2
- package/dist/core/{p-94bc809d.entry.js → p-cc3c6319.entry.js} +2 -2
- package/dist/core/{p-307906c9.entry.js → p-cce125de.entry.js} +2 -2
- package/dist/core/{p-3e4a8fa7.entry.js → p-d2fc217d.entry.js} +2 -2
- package/dist/core/{p-f10ad856.entry.js → p-dbad9256.entry.js} +2 -2
- package/dist/core/{p-815d86ed.entry.js → p-dbb67e76.entry.js} +2 -2
- package/dist/core/{p-0c78bb6a.entry.js → p-dbde347f.entry.js} +2 -2
- package/dist/core/{p-fbbd1e5d.entry.js → p-eb403270.entry.js} +2 -2
- package/dist/core/{p-372910de.entry.js → p-f11f707f.entry.js} +2 -2
- package/dist/core/{p-a45a55eb.entry.js → p-f54fe20e.entry.js} +2 -2
- package/dist/core/{p-45411344.entry.js → p-f9fee460.entry.js} +2 -2
- package/dist/esm/core.js +3 -3
- 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 +1 -1
- package/dist/esm/gov-button.entry.js +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-group.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 +1 -1
- package/dist/esm/gov-form-group.entry.js +1 -1
- package/dist/esm/gov-form-input.entry.js +5 -4
- package/dist/esm/gov-form-input.entry.js.map +1 -1
- package/dist/esm/gov-form-label.entry.js +1 -1
- package/dist/esm/gov-form-multi-select.entry.js +1 -1
- package/dist/esm/gov-form-password-power.entry.js +1 -1
- package/dist/esm/gov-form-radio-group.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-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 +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 +1 -1
- package/dist/esm/gov-nav-item.entry.js +1 -1
- package/dist/esm/gov-nav.entry.js +1 -1
- package/dist/esm/gov-pagination.entry.js +4 -2
- package/dist/esm/gov-pagination.entry.js.map +1 -1
- package/dist/esm/gov-prompt.entry.js +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 +14 -3
- package/dist/esm/gov-tabs-item.entry.js.map +1 -1
- package/dist/esm/gov-tabs.entry.js +35 -43
- package/dist/esm/gov-tabs.entry.js.map +1 -1
- package/dist/esm/gov-tag.entry.js +1 -1
- package/dist/esm/gov-tile.entry.js +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 +1 -1
- package/dist/esm/gov-tooltip.entry.js +68 -59
- 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/{index-84a63a3e.js → index-b44c6c92.js} +5 -2
- package/dist/esm/index-b44c6c92.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/hydrate/index.js +124 -104
- package/dist/hydrate/index.mjs +124 -104
- package/dist/types/components/gov-form/input/gov-form-input.d.ts +5 -1
- package/dist/types/components/gov-pagination/gov-pagination.d.ts +5 -0
- package/dist/types/components/gov-tabs/gov-tabs-item.d.ts +1 -0
- package/dist/types/components/gov-tabs/gov-tabs.d.ts +6 -4
- package/dist/types/components/gov-tooltip/gov-tooltip.d.ts +3 -1
- package/dist/types/components.d.ts +22 -2
- package/package.json +1 -1
- package/dist/cjs/index-d7a6145d.js.map +0 -1
- package/dist/components/p-8f752a63.js.map +0 -1
- package/dist/components/p-cff54227.js.map +0 -1
- package/dist/core/p-4382ee13.entry.js +0 -2
- package/dist/core/p-4382ee13.entry.js.map +0 -1
- package/dist/core/p-46ddd055.entry.js +0 -2
- package/dist/core/p-46ddd055.entry.js.map +0 -1
- package/dist/core/p-9de457bf.entry.js +0 -2
- package/dist/core/p-9de457bf.entry.js.map +0 -1
- package/dist/core/p-a6221940.js +0 -3
- package/dist/core/p-a6221940.js.map +0 -1
- package/dist/core/p-aaad919f.entry.js.map +0 -1
- package/dist/core/p-de924143.entry.js.map +0 -1
- package/dist/esm/index-84a63a3e.js.map +0 -1
- /package/dist/components/{p-0ef9ca38.js.map → p-137f86d1.js.map} +0 -0
- /package/dist/components/{p-38129200.js.map → p-3605bf8d.js.map} +0 -0
- /package/dist/components/{p-67f93e2f.js.map → p-4489a1da.js.map} +0 -0
- /package/dist/components/{p-e6b44c13.js.map → p-84d0a332.js.map} +0 -0
- /package/dist/components/{p-850f41a3.js.map → p-8df7c635.js.map} +0 -0
- /package/dist/components/{p-5a881c4f.js.map → p-92c6c6aa.js.map} +0 -0
- /package/dist/components/{p-f0e6e095.js.map → p-9c9fc4ae.js.map} +0 -0
- /package/dist/components/{p-cc51369e.js.map → p-d9dda24d.js.map} +0 -0
- /package/dist/components/{p-3d3231ab.js.map → p-e01962d9.js.map} +0 -0
- /package/dist/core/{p-7eeb23c5.entry.js.map → p-02745628.entry.js.map} +0 -0
- /package/dist/core/{p-5cf78f1c.entry.js.map → p-04e48d5d.entry.js.map} +0 -0
- /package/dist/core/{p-b25da41e.entry.js.map → p-0790a27c.entry.js.map} +0 -0
- /package/dist/core/{p-893bc0ef.entry.js.map → p-10dbd2e1.entry.js.map} +0 -0
- /package/dist/core/{p-d51fa875.entry.js.map → p-13a80dc5.entry.js.map} +0 -0
- /package/dist/core/{p-35a77e2d.entry.js.map → p-14e5fd00.entry.js.map} +0 -0
- /package/dist/core/{p-6378b5af.entry.js.map → p-185a46b9.entry.js.map} +0 -0
- /package/dist/core/{p-e7845795.entry.js.map → p-1b212799.entry.js.map} +0 -0
- /package/dist/core/{p-a82a8d9c.entry.js.map → p-1d67220c.entry.js.map} +0 -0
- /package/dist/core/{p-9f08ac81.entry.js.map → p-212e297e.entry.js.map} +0 -0
- /package/dist/core/{p-92bef3b8.entry.js.map → p-290773da.entry.js.map} +0 -0
- /package/dist/core/{p-2cc5dda1.entry.js.map → p-2e647c00.entry.js.map} +0 -0
- /package/dist/core/{p-f6416cb8.entry.js.map → p-2fb0e1cf.entry.js.map} +0 -0
- /package/dist/core/{p-51f069f2.entry.js.map → p-332a43c7.entry.js.map} +0 -0
- /package/dist/core/{p-071857ce.entry.js.map → p-33b1f5d8.entry.js.map} +0 -0
- /package/dist/core/{p-314df6e2.entry.js.map → p-3483a6e8.entry.js.map} +0 -0
- /package/dist/core/{p-854e705c.entry.js.map → p-34cf509a.entry.js.map} +0 -0
- /package/dist/core/{p-dd45944f.entry.js.map → p-36312bef.entry.js.map} +0 -0
- /package/dist/core/{p-a0b01f1b.entry.js.map → p-389edb54.entry.js.map} +0 -0
- /package/dist/core/{p-ecbb9731.entry.js.map → p-3e3a1607.entry.js.map} +0 -0
- /package/dist/core/{p-c9bd2a6e.entry.js.map → p-3f62cf30.entry.js.map} +0 -0
- /package/dist/core/{p-28d8b65c.entry.js.map → p-4978aa0a.entry.js.map} +0 -0
- /package/dist/core/{p-b5ceb3ba.entry.js.map → p-4b048e19.entry.js.map} +0 -0
- /package/dist/core/{p-680c0fee.entry.js.map → p-4c83f443.entry.js.map} +0 -0
- /package/dist/core/{p-37f5729b.entry.js.map → p-4dbaff99.entry.js.map} +0 -0
- /package/dist/core/{p-5fa30ebf.entry.js.map → p-58c875bb.entry.js.map} +0 -0
- /package/dist/core/{p-a14aa161.entry.js.map → p-5d33cb6e.entry.js.map} +0 -0
- /package/dist/core/{p-ee1637ef.entry.js.map → p-5e7e7cb1.entry.js.map} +0 -0
- /package/dist/core/{p-4c68eb90.entry.js.map → p-5facceb9.entry.js.map} +0 -0
- /package/dist/core/{p-c1911b6a.entry.js.map → p-6092fd22.entry.js.map} +0 -0
- /package/dist/core/{p-8c80d1aa.entry.js.map → p-650ac6c6.entry.js.map} +0 -0
- /package/dist/core/{p-671041de.entry.js.map → p-6977b168.entry.js.map} +0 -0
- /package/dist/core/{p-b4b79f0a.entry.js.map → p-6c745c3e.entry.js.map} +0 -0
- /package/dist/core/{p-a01a9f16.entry.js.map → p-718d0198.entry.js.map} +0 -0
- /package/dist/core/{p-c366f797.entry.js.map → p-761c33c7.entry.js.map} +0 -0
- /package/dist/core/{p-16ed4995.entry.js.map → p-7695610a.entry.js.map} +0 -0
- /package/dist/core/{p-b7e96a9d.entry.js.map → p-7b598f56.entry.js.map} +0 -0
- /package/dist/core/{p-37a58991.entry.js.map → p-7d1dd58a.entry.js.map} +0 -0
- /package/dist/core/{p-8fc87295.entry.js.map → p-8ab827a1.entry.js.map} +0 -0
- /package/dist/core/{p-443894aa.entry.js.map → p-a87d8f17.entry.js.map} +0 -0
- /package/dist/core/{p-49f584a3.entry.js.map → p-ab9d9655.entry.js.map} +0 -0
- /package/dist/core/{p-5d1f350b.entry.js.map → p-aba11ab4.entry.js.map} +0 -0
- /package/dist/core/{p-47efa303.entry.js.map → p-b58ed9ce.entry.js.map} +0 -0
- /package/dist/core/{p-e1a5a373.entry.js.map → p-bc2ec133.entry.js.map} +0 -0
- /package/dist/core/{p-fccbecd3.entry.js.map → p-c7e8faec.entry.js.map} +0 -0
- /package/dist/core/{p-94bc809d.entry.js.map → p-cc3c6319.entry.js.map} +0 -0
- /package/dist/core/{p-307906c9.entry.js.map → p-cce125de.entry.js.map} +0 -0
- /package/dist/core/{p-3e4a8fa7.entry.js.map → p-d2fc217d.entry.js.map} +0 -0
- /package/dist/core/{p-f10ad856.entry.js.map → p-dbad9256.entry.js.map} +0 -0
- /package/dist/core/{p-815d86ed.entry.js.map → p-dbb67e76.entry.js.map} +0 -0
- /package/dist/core/{p-0c78bb6a.entry.js.map → p-dbde347f.entry.js.map} +0 -0
- /package/dist/core/{p-fbbd1e5d.entry.js.map → p-eb403270.entry.js.map} +0 -0
- /package/dist/core/{p-372910de.entry.js.map → p-f11f707f.entry.js.map} +0 -0
- /package/dist/core/{p-a45a55eb.entry.js.map → p-f54fe20e.entry.js.map} +0 -0
- /package/dist/core/{p-45411344.entry.js.map → p-f9fee460.entry.js.map} +0 -0
package/dist/hydrate/index.mjs
CHANGED
|
@@ -120,7 +120,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
const NAMESPACE = 'core';
|
|
123
|
-
const BUILD = /* core */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate:
|
|
123
|
+
const BUILD = /* core */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: true, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", invisiblePrehydration: false, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: true, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
|
|
124
124
|
|
|
125
125
|
/*
|
|
126
126
|
Stencil Hydrate Platform v4.20.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -1339,6 +1339,9 @@ var postUpdateComponent = (hostRef) => {
|
|
|
1339
1339
|
}
|
|
1340
1340
|
}
|
|
1341
1341
|
} else {
|
|
1342
|
+
{
|
|
1343
|
+
safeCall(instance, "componentDidUpdate");
|
|
1344
|
+
}
|
|
1342
1345
|
endPostUpdate();
|
|
1343
1346
|
}
|
|
1344
1347
|
{
|
|
@@ -4866,6 +4869,7 @@ class GovFormInput {
|
|
|
4866
4869
|
this.autocomplete = undefined;
|
|
4867
4870
|
this.autocorrect = undefined;
|
|
4868
4871
|
this.spellcheck = undefined;
|
|
4872
|
+
this.inputLang = undefined;
|
|
4869
4873
|
this.type = undefined;
|
|
4870
4874
|
this.inputType = "text";
|
|
4871
4875
|
this.role = undefined;
|
|
@@ -4911,9 +4915,9 @@ class GovFormInput {
|
|
|
4911
4915
|
}
|
|
4912
4916
|
render() {
|
|
4913
4917
|
const Tag = this.multiline ? Tags$1.TEXTAREA : Tags$1.INPUT;
|
|
4914
|
-
return (hAsync(Host, { key: '
|
|
4915
|
-
hAsync("gov-icon", { key: '
|
|
4916
|
-
hAsync("gov-icon", { key: '
|
|
4918
|
+
return (hAsync(Host, { key: '1d217855ba964b9c637373529e2b677fb09f8034', class: FormInputClass.root, size: this.size, variant: this.variant, type: this.type }, this.h.hasSlot("prefix") && hAsync("slot", { key: '75b989d2f4b70cf43e9a5315fdb6eb56af832118', name: "prefix" }), hAsync("span", { key: '39f063be627ad300abe364adfa4a32b79a879773', class: "element" }, this.h.hasSlot("left-icon") && hAsync("slot", { key: '84da6d8d05274f5a9760b871ffb89dec870122f8', name: "left-icon" }), this.h.hasSlot("right-icon") && !(this.success || this.invalid) && hAsync("slot", { key: 'b8ede08c703cc88e526593cb5aac4a868293543c', name: "right-icon" }), this.success && !this.multiline &&
|
|
4919
|
+
hAsync("gov-icon", { key: '1dad15f0bbab72fef2f2d596fb2ce27b097eb3a4', slot: "right-icon", class: "icon-validation", name: "check-lg" }), this.invalid && !this.multiline &&
|
|
4920
|
+
hAsync("gov-icon", { key: '9d8ed110a2640133ecc462c6b06f1f5496fb61f7', slot: "right-icon", class: "icon-validation", name: "exclamation-lg" }), hAsync(Tag, { key: '62ac8ee0c14c5289c377685fabf535947a43f4c5', type: this.inputType, disabled: this.disabled, id: this.identifier || this.inputId, name: this.name, onFocus: this.onFocusHandler.bind(this), onInput: this.onInputHandler.bind(this), onBlur: this.onBlurHandler.bind(this), onKeyUp: this.onKeyUpHandler.bind(this), onKeyDown: this.onKeyDownHandler.bind(this), ref: el => (this.inputRef = el), placeholder: this.placeholder, value: this.value, spellcheck: toBoolAttrIfDefined(this.spellcheck), lang: this.inputLang, readonly: toBoolAttrIfDefined(this.readonly), autocomplete: toOnOffAttrIfDefined(this.autocomplete), autocorrect: toOnOffAttrIfDefined(this.autocorrect), minlength: this.minlength, maxlength: this.maxlength, min: this.min, max: this.max, required: this.required, rows: this.rows, cols: this.cols, role: this.role, "aria-required": toBoolAttrIfDefined(this.required), "aria-invalid": toBoolAttrIfDefined(this.invalid), "aria-disabled": toBoolAttrIfDefined(this.disabled), "aria-describedby": this.wcagDescribedBy, "aria-labelledby": this.wcagLabelledBy, "aria-owns": this.wcagOwns, "aria-expanded": toBoolAttrIfDefined(this.wcagExpanded), "aria-autocomplete": this.wcagAutocomplete })), this.h.hasSlot("sufix") && hAsync("slot", { key: '9746bac959c672b37d1c5529cbbe0da13ecf4ce8', name: "sufix" })));
|
|
4917
4921
|
}
|
|
4918
4922
|
onFocusHandler(e) {
|
|
4919
4923
|
e.stopPropagation();
|
|
@@ -5025,6 +5029,7 @@ class GovFormInput {
|
|
|
5025
5029
|
"autocomplete": [4],
|
|
5026
5030
|
"autocorrect": [4],
|
|
5027
5031
|
"spellcheck": [4],
|
|
5032
|
+
"inputLang": [1, "input-lang"],
|
|
5028
5033
|
"type": [1],
|
|
5029
5034
|
"inputType": [1, "input-type"],
|
|
5030
5035
|
"role": [1],
|
|
@@ -6683,6 +6688,7 @@ class GovPagination {
|
|
|
6683
6688
|
this.current = 1;
|
|
6684
6689
|
this.total = 0;
|
|
6685
6690
|
this.inverse = undefined;
|
|
6691
|
+
this.selectIdentifier = undefined;
|
|
6686
6692
|
this.size = "m";
|
|
6687
6693
|
this.variant = "primary";
|
|
6688
6694
|
this.pageSize = 10;
|
|
@@ -6699,6 +6705,7 @@ class GovPagination {
|
|
|
6699
6705
|
this.pagination = undefined;
|
|
6700
6706
|
this.h = govHost(this.host);
|
|
6701
6707
|
this.pageSelectId = createID("GovPageSelect");
|
|
6708
|
+
this.selectId = createID("GovSelect");
|
|
6702
6709
|
}
|
|
6703
6710
|
validateType(newValue) {
|
|
6704
6711
|
validateProp(PaginationTypes, newValue, PaginationClass.root);
|
|
@@ -6754,7 +6761,7 @@ class GovPagination {
|
|
|
6754
6761
|
const ariaCurrent = toBoolAttrIfDefined(this.pagination.currentPage === page ? true : undefined);
|
|
6755
6762
|
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));
|
|
6756
6763
|
};
|
|
6757
|
-
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: this.size, 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: this.size, 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))))));
|
|
6764
|
+
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: this.size, variant: this.variant, identifier: this.selectIdentifier || this.selectId, "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: this.size, variant: this.variant, identifier: this.selectIdentifier || this.selectId, "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))))));
|
|
6758
6765
|
}
|
|
6759
6766
|
onClickHandler(e, page) {
|
|
6760
6767
|
e.stopPropagation();
|
|
@@ -6808,6 +6815,7 @@ class GovPagination {
|
|
|
6808
6815
|
"current": [2],
|
|
6809
6816
|
"total": [2],
|
|
6810
6817
|
"inverse": [4],
|
|
6818
|
+
"selectIdentifier": [1, "select-identifier"],
|
|
6811
6819
|
"size": [1],
|
|
6812
6820
|
"variant": [1],
|
|
6813
6821
|
"pageSize": [2, "page-size"],
|
|
@@ -7553,7 +7561,7 @@ class GovTabs {
|
|
|
7553
7561
|
registerInstance(this, hostRef);
|
|
7554
7562
|
this.govChange = createEvent(this, "gov-change", 7);
|
|
7555
7563
|
this.triggerRefs = {};
|
|
7556
|
-
this.
|
|
7564
|
+
this.controllers = [];
|
|
7557
7565
|
this.focusIndex = 0;
|
|
7558
7566
|
this.compactControls = false;
|
|
7559
7567
|
this.type = "text";
|
|
@@ -7572,17 +7580,16 @@ class GovTabs {
|
|
|
7572
7580
|
validateProp(TabVariants, newValue, TabsClass.root);
|
|
7573
7581
|
}
|
|
7574
7582
|
componentWillLoad() {
|
|
7575
|
-
this.
|
|
7583
|
+
this.prepareControllers();
|
|
7576
7584
|
}
|
|
7577
7585
|
async componentDidRender() {
|
|
7578
7586
|
if (canValidateWcagOnRender()) {
|
|
7579
7587
|
await delay(500);
|
|
7580
7588
|
await this.validateWcag();
|
|
7581
7589
|
}
|
|
7582
|
-
this.resizeObserver();
|
|
7583
7590
|
}
|
|
7584
|
-
|
|
7585
|
-
this.
|
|
7591
|
+
prepareControllers() {
|
|
7592
|
+
this.controllers = [];
|
|
7586
7593
|
const promises = [];
|
|
7587
7594
|
this.host.querySelectorAll(TabsItemClass.root).forEach((tab) => {
|
|
7588
7595
|
const controlItem = Promise.all([
|
|
@@ -7604,49 +7611,36 @@ class GovTabs {
|
|
|
7604
7611
|
promises.push(controlItem);
|
|
7605
7612
|
});
|
|
7606
7613
|
Promise.all(promises).then(controllers => {
|
|
7607
|
-
let
|
|
7608
|
-
if (
|
|
7609
|
-
|
|
7610
|
-
this.focusIndex =
|
|
7611
|
-
controllers[
|
|
7612
|
-
this.
|
|
7614
|
+
let defaultTabIndex = controllers.findIndex(controller => controller.default);
|
|
7615
|
+
if (defaultTabIndex === -1)
|
|
7616
|
+
defaultTabIndex = 0;
|
|
7617
|
+
this.focusIndex = defaultTabIndex;
|
|
7618
|
+
controllers[defaultTabIndex].active = true;
|
|
7619
|
+
this.controllers = [...controllers];
|
|
7613
7620
|
this.reRender();
|
|
7614
7621
|
});
|
|
7615
7622
|
}
|
|
7616
7623
|
setActiveByIdentifier(identifier) {
|
|
7617
7624
|
const temp = [];
|
|
7618
|
-
this.
|
|
7625
|
+
this.controllers.map(item => {
|
|
7619
7626
|
item.active = identifier === item.triggerIdentifier || identifier === item.contentIdentifier;
|
|
7620
7627
|
temp.push(item);
|
|
7621
7628
|
});
|
|
7622
|
-
this.
|
|
7629
|
+
this.controllers = [...temp];
|
|
7623
7630
|
}
|
|
7624
7631
|
reRender() {
|
|
7625
|
-
this.
|
|
7626
|
-
control.element.setActiveStatus(control.active);
|
|
7632
|
+
this.controllers.map(control => {
|
|
7633
|
+
control.element.setActiveStatus(control.active).catch();
|
|
7627
7634
|
});
|
|
7628
7635
|
}
|
|
7629
|
-
/*
|
|
7630
|
-
private evaluateControls() {
|
|
7631
|
-
this.compactControls = false
|
|
7632
|
-
let sumOfWidth = this.tabsRef.querySelector("ul").offsetWidth
|
|
7633
|
-
this.compactControls = this.tabsRef.offsetWidth < sumOfWidth
|
|
7634
|
-
}
|
|
7635
|
-
*/
|
|
7636
|
-
resizeObserver() {
|
|
7637
|
-
const resizeObserver = new ResizeObserver(throttle(() => {
|
|
7638
|
-
// this.evaluateControls()
|
|
7639
|
-
}, 200));
|
|
7640
|
-
resizeObserver.observe(this.tabsRef);
|
|
7641
|
-
}
|
|
7642
7636
|
render() {
|
|
7643
|
-
return (hAsync(Host, { key: '
|
|
7637
|
+
return (hAsync(Host, { key: 'fa6bb0777c56edcb61f5acfa4cac75fae2f8bb78', class: this.h.classes(TabsClass.root), variant: this.variant, type: this.type, role: "tablist", "aria-label": this.wcagLabel, "aria-labelledby": this.wcagLabelledBy, onKeyDown: this.onKeydownHandler.bind(this) }, hAsync("div", { key: '3e764b20b9a1e3221232d7567e45acae8701a963', class: TabsClass.tabs, "aria-hidden": toBoolAttr(this.compactControls) }, hAsync("ul", { key: 'adedeb20cd2d5608502410f1b843ba6293000e7c', class: TabsClass.list }, this.controllers.map(control => (hAsync("li", { class: TabsClass.item }, this.type == "text" ? (hAsync("button", { class: TabsClass.btn, id: control.triggerIdentifier, role: "tab", onClick: () => this.onSelectHandler(control), disabled: control.disabled, "aria-disabled": toBoolAttr(control.disabled), "aria-selected": toBoolAttr(control.active), "aria-controls": control.contentIdentifier, tabindex: control.active && !control.disabled ? 0 : -1, ref: el => (this.triggerRefs[control.triggerIdentifier] = el) }, control.label)) : (hAsync("gov-chip", { role: "tab", tag: 'button', identifier: control.triggerIdentifier, "wcag-selected": control.active, "wcag-controls": control.contentIdentifier, focusable: control.active, disabled: control.disabled, variant: this.variant, inverse: !control.active, ref: el => (this.triggerRefs[control.triggerIdentifier] = el), "on-gov-click": () => this.onSelectHandler(control) }, control.label))))))), hAsync("span", { key: '6d855cd5195673b6a13aaf4b357b74bdcfd0ef4d', id: this.formSelectId, hidden: true }, this.wcagSelectLabel), this.compactControls ? (hAsync("gov-form-select", { "wcag-labelled-by": this.formSelectId, "onGov-change": this.onChangeHandler.bind(this) }, this.controllers.map(control => (hAsync("option", { value: control.triggerIdentifier, selected: control.active }, control.label))))) : null, hAsync("slot", { key: 'd7ea30baebad93b05c1f978fcca0c19989be7227' })));
|
|
7644
7638
|
}
|
|
7645
7639
|
getCurrentTab() {
|
|
7646
|
-
return this.
|
|
7640
|
+
return this.controllers.find(control => control.active) || null;
|
|
7647
7641
|
}
|
|
7648
7642
|
onSelectHandler(control) {
|
|
7649
|
-
const index = this.
|
|
7643
|
+
const index = this.controllers.findIndex(t => t.triggerIdentifier === control.triggerIdentifier);
|
|
7650
7644
|
this.focusIndex = index;
|
|
7651
7645
|
this.setActiveByIdentifier(control.triggerIdentifier);
|
|
7652
7646
|
this.reRender();
|
|
@@ -7666,30 +7660,30 @@ class GovTabs {
|
|
|
7666
7660
|
}
|
|
7667
7661
|
goToPrevNext(keyCode) {
|
|
7668
7662
|
if ([37, 38, 39, 40].includes(keyCode)) {
|
|
7669
|
-
if (false === (this.focusIndex >= 0 && this.focusIndex <= this.
|
|
7663
|
+
if (false === (this.focusIndex >= 0 && this.focusIndex <= this.controllers.length - 1)) {
|
|
7670
7664
|
return;
|
|
7671
7665
|
}
|
|
7672
|
-
this.
|
|
7666
|
+
this.controllers[this.focusIndex].active = false;
|
|
7673
7667
|
if (keyCode === 39 || keyCode === 40) {
|
|
7674
7668
|
this.focusIndex++;
|
|
7675
|
-
if (this.focusIndex >= this.
|
|
7669
|
+
if (this.focusIndex >= this.controllers.length) {
|
|
7676
7670
|
this.focusIndex = 0;
|
|
7677
7671
|
}
|
|
7678
|
-
if (this.
|
|
7672
|
+
if (this.controllers[this.focusIndex].disabled) {
|
|
7679
7673
|
this.goToPrevNext(40);
|
|
7680
7674
|
}
|
|
7681
7675
|
}
|
|
7682
7676
|
else if (keyCode === 37 || keyCode === 38) {
|
|
7683
7677
|
this.focusIndex--;
|
|
7684
7678
|
if (this.focusIndex < 0) {
|
|
7685
|
-
this.focusIndex = this.
|
|
7679
|
+
this.focusIndex = this.controllers.length - 1;
|
|
7686
7680
|
}
|
|
7687
|
-
if (this.
|
|
7681
|
+
if (this.controllers[this.focusIndex].disabled) {
|
|
7688
7682
|
this.goToPrevNext(38);
|
|
7689
7683
|
}
|
|
7690
7684
|
}
|
|
7691
|
-
if (this.focusIndex >= 0 && this.focusIndex <= this.
|
|
7692
|
-
const current = this.
|
|
7685
|
+
if (this.focusIndex >= 0 && this.focusIndex <= this.controllers.length - 1) {
|
|
7686
|
+
const current = this.controllers[this.focusIndex];
|
|
7693
7687
|
current.active = true;
|
|
7694
7688
|
const trigger = this.triggerRefs[current.triggerIdentifier];
|
|
7695
7689
|
if (trigger.nodeName.toLowerCase() === 'gov-chip') {
|
|
@@ -7698,7 +7692,7 @@ class GovTabs {
|
|
|
7698
7692
|
else {
|
|
7699
7693
|
this.triggerRefs[current.triggerIdentifier].focus();
|
|
7700
7694
|
}
|
|
7701
|
-
this.
|
|
7695
|
+
this.controllers = [...this.controllers];
|
|
7702
7696
|
this.reRender();
|
|
7703
7697
|
this.govChange.emit(this.getCurrentTab().element);
|
|
7704
7698
|
}
|
|
@@ -7708,7 +7702,7 @@ class GovTabs {
|
|
|
7708
7702
|
* Regenerate tabs controllers
|
|
7709
7703
|
*/
|
|
7710
7704
|
async refresh() {
|
|
7711
|
-
this.
|
|
7705
|
+
this.prepareControllers();
|
|
7712
7706
|
}
|
|
7713
7707
|
/**
|
|
7714
7708
|
* Returns the currently selected tabs-item
|
|
@@ -7723,6 +7717,12 @@ class GovTabs {
|
|
|
7723
7717
|
this.setActiveByIdentifier(identifier);
|
|
7724
7718
|
this.reRender();
|
|
7725
7719
|
}
|
|
7720
|
+
/**
|
|
7721
|
+
* Regenerate tabs controllers
|
|
7722
|
+
*/
|
|
7723
|
+
async rerender() {
|
|
7724
|
+
this.prepareControllers();
|
|
7725
|
+
}
|
|
7726
7726
|
/**
|
|
7727
7727
|
* Validate the WCAG attributes of the component
|
|
7728
7728
|
*/
|
|
@@ -7746,12 +7746,13 @@ class GovTabs {
|
|
|
7746
7746
|
"wcagLabel": [1, "wcag-label"],
|
|
7747
7747
|
"wcagSelectLabel": [1, "wcag-select-label"],
|
|
7748
7748
|
"wcagLabelledBy": [1, "wcag-labelled-by"],
|
|
7749
|
-
"
|
|
7749
|
+
"controllers": [32],
|
|
7750
7750
|
"focusIndex": [32],
|
|
7751
7751
|
"compactControls": [32],
|
|
7752
7752
|
"refresh": [64],
|
|
7753
7753
|
"currentTab": [64],
|
|
7754
7754
|
"setActiveTab": [64],
|
|
7755
|
+
"rerender": [64],
|
|
7755
7756
|
"validateWcag": [64]
|
|
7756
7757
|
},
|
|
7757
7758
|
"$listeners$": undefined,
|
|
@@ -7776,8 +7777,14 @@ class GovTabsItem {
|
|
|
7776
7777
|
this.contentId = createID('GovTabContent');
|
|
7777
7778
|
this.triggerId = createID('GovTabTrigger');
|
|
7778
7779
|
}
|
|
7780
|
+
rerenderParent() {
|
|
7781
|
+
const element = this.h.getParent(TabsClass.root);
|
|
7782
|
+
if (element) {
|
|
7783
|
+
element.rerender().catch();
|
|
7784
|
+
}
|
|
7785
|
+
}
|
|
7779
7786
|
render() {
|
|
7780
|
-
return (hAsync(Host, { key: '
|
|
7787
|
+
return (hAsync(Host, { key: 'b316d961cabc1aed647deaa504ddca1184860f70', class: this.h.classes(TabsItemClass.root), default: this.default }, hAsync("div", { key: 'd73aa35cc5131b81eaceff6afab13250b2587aec', class: TabsItemClass.inner, role: "tabpanel", id: this.identifier || this.contentId, hidden: !this.isActive, "aria-labelledby": this.triggerIdentifier || this.triggerId, "aria-hidden": toBoolAttrIfDefined(!this.isActive) }, hAsync("slot", { key: '4bdf7cd566204ab3ac1883a5194abce6526fc0f0' }))));
|
|
7781
7788
|
}
|
|
7782
7789
|
/**
|
|
7783
7790
|
* Returns a unique tab content identifier
|
|
@@ -7804,6 +7811,11 @@ class GovTabsItem {
|
|
|
7804
7811
|
this.isActive = status;
|
|
7805
7812
|
}
|
|
7806
7813
|
get host() { return getElement(this); }
|
|
7814
|
+
static get watchers() { return {
|
|
7815
|
+
"label": ["rerenderParent"],
|
|
7816
|
+
"disabled": ["rerenderParent"],
|
|
7817
|
+
"default": ["rerenderParent"]
|
|
7818
|
+
}; }
|
|
7807
7819
|
static get style() { return GovTabsItemStyle0; }
|
|
7808
7820
|
static get cmpMeta() { return {
|
|
7809
7821
|
"$flags$": 4,
|
|
@@ -8108,11 +8120,7 @@ class GovTooltip {
|
|
|
8108
8120
|
validateProp(TooltipPosition, newValue, TooltipClass.root);
|
|
8109
8121
|
}
|
|
8110
8122
|
rerenderMessage() {
|
|
8111
|
-
|
|
8112
|
-
const isContent = document.body.querySelector(`#${(_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId}`);
|
|
8113
|
-
if (!isContent) {
|
|
8114
|
-
this.createContentWrapper();
|
|
8115
|
-
}
|
|
8123
|
+
this.createContentWrapper();
|
|
8116
8124
|
}
|
|
8117
8125
|
componentWillLoad() {
|
|
8118
8126
|
this.validateVariant(this.variant);
|
|
@@ -8121,45 +8129,53 @@ class GovTooltip {
|
|
|
8121
8129
|
this.createContentWrapper();
|
|
8122
8130
|
this.registerListeners();
|
|
8123
8131
|
}
|
|
8132
|
+
componentDidUpdate() {
|
|
8133
|
+
this.createContentWrapper();
|
|
8134
|
+
}
|
|
8124
8135
|
disconnectedCallback() {
|
|
8125
8136
|
this.removeContent();
|
|
8126
8137
|
}
|
|
8127
8138
|
createContentWrapper() {
|
|
8128
8139
|
var _a;
|
|
8129
|
-
|
|
8130
|
-
|
|
8131
|
-
|
|
8140
|
+
if (this.tooltipContent) {
|
|
8141
|
+
if (this.message) {
|
|
8142
|
+
this.tooltipContent.innerHTML = this.message;
|
|
8143
|
+
}
|
|
8144
|
+
else if (this.insideContent) {
|
|
8145
|
+
this.tooltipContent.innerHTML = this.insideContent.innerHTML;
|
|
8146
|
+
}
|
|
8147
|
+
return;
|
|
8148
|
+
}
|
|
8149
|
+
let content;
|
|
8150
|
+
if (this.insideContent) {
|
|
8151
|
+
content = this.insideContent;
|
|
8132
8152
|
}
|
|
8133
8153
|
else {
|
|
8134
|
-
|
|
8135
|
-
|
|
8136
|
-
this.host.appendChild(this.content);
|
|
8154
|
+
content = documentNode().createElement(TooltipContentClass.root);
|
|
8155
|
+
content.innerHTML = this.message;
|
|
8137
8156
|
}
|
|
8138
|
-
|
|
8139
|
-
|
|
8140
|
-
|
|
8141
|
-
|
|
8142
|
-
|
|
8157
|
+
content.setAttribute("id", (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId);
|
|
8158
|
+
content.setAttribute("parent-id", this.tooltipId);
|
|
8159
|
+
content.setAttribute("variant", this.variant);
|
|
8160
|
+
content.setAttribute("size", this.size);
|
|
8161
|
+
documentNode().body.appendChild(content);
|
|
8162
|
+
}
|
|
8163
|
+
get tooltipContent() {
|
|
8164
|
+
var _a;
|
|
8165
|
+
return documentNode().body.querySelector(`#${(_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId}`);
|
|
8166
|
+
}
|
|
8167
|
+
get insideContent() {
|
|
8168
|
+
return this.host.querySelector(TooltipContentClass.root);
|
|
8143
8169
|
}
|
|
8144
8170
|
registerListeners() {
|
|
8145
8171
|
this.host.addEventListener("click", e => {
|
|
8146
8172
|
e.preventDefault();
|
|
8147
8173
|
this.persist = true;
|
|
8148
|
-
if (this.
|
|
8149
|
-
this.
|
|
8174
|
+
if (this.tooltipContent) {
|
|
8175
|
+
this.tooltipContent.setAttribute("persist", "true");
|
|
8150
8176
|
}
|
|
8151
8177
|
this.showTooltip();
|
|
8152
8178
|
});
|
|
8153
|
-
this.host.addEventListener("focus", e => {
|
|
8154
|
-
e.preventDefault();
|
|
8155
|
-
this.showTooltip();
|
|
8156
|
-
});
|
|
8157
|
-
this.host.addEventListener("blur", e => {
|
|
8158
|
-
e.preventDefault();
|
|
8159
|
-
if (this.persist === false) {
|
|
8160
|
-
this.hideTooltip();
|
|
8161
|
-
}
|
|
8162
|
-
});
|
|
8163
8179
|
this.host.addEventListener("mouseenter", e => {
|
|
8164
8180
|
e.preventDefault();
|
|
8165
8181
|
this.showTooltip();
|
|
@@ -8177,8 +8193,8 @@ class GovTooltip {
|
|
|
8177
8193
|
const trigger = this.host.getBoundingClientRect();
|
|
8178
8194
|
const trgWidth = this.host.offsetWidth;
|
|
8179
8195
|
const trgHeight = this.host.offsetHeight;
|
|
8180
|
-
const contentWidth = this.
|
|
8181
|
-
const contentHeight = this.
|
|
8196
|
+
const contentWidth = this.tooltipContent.offsetWidth;
|
|
8197
|
+
const contentHeight = this.tooltipContent.offsetHeight;
|
|
8182
8198
|
const triggerPos = {
|
|
8183
8199
|
left: trigger.left + document.documentElement.scrollLeft,
|
|
8184
8200
|
top: trigger.top + document.documentElement.scrollTop,
|
|
@@ -8187,10 +8203,10 @@ class GovTooltip {
|
|
|
8187
8203
|
const isLeftSpace = triggerPos.left > contentWidth;
|
|
8188
8204
|
// LEFT/RIGHT
|
|
8189
8205
|
if (this.position === TooltipPosition.LEFT || this.position === TooltipPosition.RIGHT) {
|
|
8190
|
-
this.
|
|
8206
|
+
this.tooltipContent.style.top = (triggerPos.top - ((contentHeight - trgHeight) / 2)) + "px";
|
|
8191
8207
|
if (isRightSpace === false && isLeftSpace === false) {
|
|
8192
8208
|
this.position = TooltipPosition.TOP;
|
|
8193
|
-
this.
|
|
8209
|
+
this.tooltipContent.setAttribute("position", TooltipPosition.TOP);
|
|
8194
8210
|
}
|
|
8195
8211
|
if (isLeftSpace && isRightSpace === false && this.position === TooltipPosition.RIGHT) {
|
|
8196
8212
|
this.position = TooltipPosition.LEFT;
|
|
@@ -8200,12 +8216,12 @@ class GovTooltip {
|
|
|
8200
8216
|
}
|
|
8201
8217
|
}
|
|
8202
8218
|
if (this.position === TooltipPosition.RIGHT) {
|
|
8203
|
-
this.
|
|
8204
|
-
this.
|
|
8219
|
+
this.tooltipContent.setAttribute("position", TooltipPosition.RIGHT);
|
|
8220
|
+
this.tooltipContent.style.left = (triggerPos.left + offset + trigger.width) + "px";
|
|
8205
8221
|
}
|
|
8206
8222
|
if (this.position === TooltipPosition.LEFT) {
|
|
8207
|
-
this.
|
|
8208
|
-
this.
|
|
8223
|
+
this.tooltipContent.setAttribute("position", TooltipPosition.LEFT);
|
|
8224
|
+
this.tooltipContent.style.left = (triggerPos.left - (contentWidth + offset)) + "px";
|
|
8209
8225
|
}
|
|
8210
8226
|
// LEFT/RIGHT FOR TOP/BOTTOM
|
|
8211
8227
|
if (this.position === TooltipPosition.TOP || this.position === TooltipPosition.BOTTOM) {
|
|
@@ -8214,9 +8230,9 @@ class GovTooltip {
|
|
|
8214
8230
|
const isNotLeftSpace = leftPosition < 0;
|
|
8215
8231
|
const isNotRightSpace = (leftPosition + contentWidth) > windowWidth;
|
|
8216
8232
|
if (isNotLeftSpace && isNotRightSpace) {
|
|
8217
|
-
this.
|
|
8218
|
-
this.
|
|
8219
|
-
this.
|
|
8233
|
+
this.tooltipContent.style.width = "auto";
|
|
8234
|
+
this.tooltipContent.style.left = offset + "px";
|
|
8235
|
+
this.tooltipContent.style.right = offset + "px";
|
|
8220
8236
|
}
|
|
8221
8237
|
else {
|
|
8222
8238
|
if (isNotLeftSpace) {
|
|
@@ -8225,39 +8241,39 @@ class GovTooltip {
|
|
|
8225
8241
|
if (isNotRightSpace) {
|
|
8226
8242
|
leftPosition = leftPosition - ((windowWidth - (leftPosition + contentWidth + offset)) * -1);
|
|
8227
8243
|
}
|
|
8228
|
-
this.
|
|
8244
|
+
this.tooltipContent.style.left = leftPosition + "px";
|
|
8229
8245
|
}
|
|
8230
8246
|
}
|
|
8231
8247
|
else {
|
|
8232
8248
|
const leftPosition = (triggerPos.left + ((trgWidth - contentWidth) / 2));
|
|
8233
|
-
this.
|
|
8249
|
+
this.tooltipContent.style.left = leftPosition + "px";
|
|
8234
8250
|
}
|
|
8235
8251
|
}
|
|
8236
8252
|
if (this.position === TooltipPosition.TOP) {
|
|
8237
|
-
this.
|
|
8238
|
-
this.
|
|
8253
|
+
this.tooltipContent.setAttribute("position", TooltipPosition.TOP);
|
|
8254
|
+
this.tooltipContent.style.top = (triggerPos.top - (contentHeight + offset)) + "px";
|
|
8239
8255
|
}
|
|
8240
8256
|
if (this.position === TooltipPosition.BOTTOM) {
|
|
8241
|
-
this.
|
|
8242
|
-
this.
|
|
8257
|
+
this.tooltipContent.setAttribute("position", TooltipPosition.BOTTOM);
|
|
8258
|
+
this.tooltipContent.style.top = (triggerPos.top + (trgHeight + offset)) + "px";
|
|
8243
8259
|
}
|
|
8244
|
-
this.
|
|
8260
|
+
this.tooltipContent.style.opacity = '1';
|
|
8245
8261
|
}
|
|
8246
8262
|
showTooltip() {
|
|
8247
|
-
if (this.
|
|
8248
|
-
this.
|
|
8249
|
-
this.
|
|
8250
|
-
this.
|
|
8251
|
-
|
|
8263
|
+
if (this.tooltipContent) {
|
|
8264
|
+
this.tooltipContent.style.opacity = '0';
|
|
8265
|
+
this.tooltipContent.hidden = false;
|
|
8266
|
+
this.tooltipContent.setAttribute("is-visible", "true");
|
|
8267
|
+
tick(() => {
|
|
8252
8268
|
this.verifyPositionSpace();
|
|
8253
8269
|
});
|
|
8254
8270
|
}
|
|
8255
8271
|
}
|
|
8256
8272
|
hideTooltip() {
|
|
8257
|
-
if (this.
|
|
8258
|
-
this.
|
|
8259
|
-
this.
|
|
8260
|
-
this.
|
|
8273
|
+
if (this.tooltipContent) {
|
|
8274
|
+
this.tooltipContent.setAttribute("is-visible", "false");
|
|
8275
|
+
this.tooltipContent.setAttribute("persist", "false");
|
|
8276
|
+
this.tooltipContent.removeAttribute('style');
|
|
8261
8277
|
}
|
|
8262
8278
|
}
|
|
8263
8279
|
removeContent() {
|
|
@@ -8268,7 +8284,11 @@ class GovTooltip {
|
|
|
8268
8284
|
}
|
|
8269
8285
|
render() {
|
|
8270
8286
|
var _a;
|
|
8271
|
-
return (hAsync(Host, { key: '
|
|
8287
|
+
return (hAsync(Host, { key: 'd16d7493cc470032d16e762e75c426c919b683d5', id: this.tooltipId, class: this.h.classes(TooltipClass.root), position: this.position }, hAsync("span", { key: 'd80316da39311fde00a00bb7867fd4c73864bd7e', role: 'button', tabindex: 0, onKeyPress: () => this.showTooltip(), onBlur: () => {
|
|
8288
|
+
if (this.persist === false) {
|
|
8289
|
+
this.hideTooltip();
|
|
8290
|
+
}
|
|
8291
|
+
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '1ccc180def543def370a189a5c10351fc166dcdd' }))));
|
|
8272
8292
|
}
|
|
8273
8293
|
/**
|
|
8274
8294
|
* Showing the modal
|
|
@@ -92,7 +92,11 @@ export declare class GovFormInput {
|
|
|
92
92
|
*/
|
|
93
93
|
readonly spellcheck: boolean;
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
95
|
+
* Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang
|
|
96
|
+
*/
|
|
97
|
+
readonly inputLang: string;
|
|
98
|
+
/**
|
|
99
|
+
* Defined the visual style of input
|
|
96
100
|
*/
|
|
97
101
|
readonly type?: Type;
|
|
98
102
|
/**
|
|
@@ -5,6 +5,7 @@ import { PaginationEvent } from "./gov-pagination.types";
|
|
|
5
5
|
export declare class GovPagination {
|
|
6
6
|
private h;
|
|
7
7
|
private readonly pageSelectId;
|
|
8
|
+
private readonly selectId;
|
|
8
9
|
private spreadSelectRef?;
|
|
9
10
|
constructor();
|
|
10
11
|
readonly host: HTMLGovPaginationElement;
|
|
@@ -24,6 +25,10 @@ export declare class GovPagination {
|
|
|
24
25
|
* Set on active page
|
|
25
26
|
*/
|
|
26
27
|
readonly inverse: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Custom select identifier.
|
|
30
|
+
*/
|
|
31
|
+
readonly selectIdentifier: string;
|
|
27
32
|
/**
|
|
28
33
|
* Pagination's size
|
|
29
34
|
*/
|
|
@@ -5,11 +5,10 @@ import { GovTabControllerItem } from "./gov-tabs.types";
|
|
|
5
5
|
export declare class GovTabs {
|
|
6
6
|
private h;
|
|
7
7
|
private triggerRefs;
|
|
8
|
-
private tabsRef?;
|
|
9
8
|
private readonly formSelectId;
|
|
10
9
|
constructor();
|
|
11
10
|
host: HTMLGovTabsElement;
|
|
12
|
-
|
|
11
|
+
controllers: GovTabControllerItem[];
|
|
13
12
|
focusIndex: number;
|
|
14
13
|
compactControls: boolean;
|
|
15
14
|
/**
|
|
@@ -44,10 +43,9 @@ export declare class GovTabs {
|
|
|
44
43
|
validateVariant(newValue: string): void;
|
|
45
44
|
componentWillLoad(): void;
|
|
46
45
|
componentDidRender(): Promise<void>;
|
|
47
|
-
private
|
|
46
|
+
private prepareControllers;
|
|
48
47
|
private setActiveByIdentifier;
|
|
49
48
|
private reRender;
|
|
50
|
-
private resizeObserver;
|
|
51
49
|
render(): any;
|
|
52
50
|
private getCurrentTab;
|
|
53
51
|
private onSelectHandler;
|
|
@@ -66,6 +64,10 @@ export declare class GovTabs {
|
|
|
66
64
|
* Regenerate tabs controllers
|
|
67
65
|
*/
|
|
68
66
|
setActiveTab(identifier: string): Promise<void>;
|
|
67
|
+
/**
|
|
68
|
+
* Regenerate tabs controllers
|
|
69
|
+
*/
|
|
70
|
+
rerender(): Promise<void>;
|
|
69
71
|
/**
|
|
70
72
|
* Validate the WCAG attributes of the component
|
|
71
73
|
*/
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TooltipPositionType, TooltipSizeType, TooltipVariantType } from "./constants";
|
|
2
2
|
export declare class GovTooltip {
|
|
3
3
|
private h;
|
|
4
|
-
private content;
|
|
5
4
|
private readonly tooltipContentId;
|
|
6
5
|
private readonly tooltipId;
|
|
7
6
|
constructor();
|
|
@@ -36,8 +35,11 @@ export declare class GovTooltip {
|
|
|
36
35
|
validatePosition(newValue: string): void;
|
|
37
36
|
rerenderMessage(): void;
|
|
38
37
|
componentWillLoad(): void;
|
|
38
|
+
componentDidUpdate(): void;
|
|
39
39
|
disconnectedCallback(): void;
|
|
40
40
|
private createContentWrapper;
|
|
41
|
+
private get tooltipContent();
|
|
42
|
+
private get insideContent();
|
|
41
43
|
private registerListeners;
|
|
42
44
|
private verifyPositionSpace;
|
|
43
45
|
private showTooltip;
|