@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.js
CHANGED
|
@@ -124,7 +124,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
const NAMESPACE = 'core';
|
|
127
|
-
const BUILD = /* core */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate:
|
|
127
|
+
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 };
|
|
128
128
|
|
|
129
129
|
/*
|
|
130
130
|
Stencil Hydrate Platform v4.20.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -1343,6 +1343,9 @@ var postUpdateComponent = (hostRef) => {
|
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
1345
|
} else {
|
|
1346
|
+
{
|
|
1347
|
+
safeCall(instance, "componentDidUpdate");
|
|
1348
|
+
}
|
|
1346
1349
|
endPostUpdate();
|
|
1347
1350
|
}
|
|
1348
1351
|
{
|
|
@@ -4870,6 +4873,7 @@ class GovFormInput {
|
|
|
4870
4873
|
this.autocomplete = undefined;
|
|
4871
4874
|
this.autocorrect = undefined;
|
|
4872
4875
|
this.spellcheck = undefined;
|
|
4876
|
+
this.inputLang = undefined;
|
|
4873
4877
|
this.type = undefined;
|
|
4874
4878
|
this.inputType = "text";
|
|
4875
4879
|
this.role = undefined;
|
|
@@ -4915,9 +4919,9 @@ class GovFormInput {
|
|
|
4915
4919
|
}
|
|
4916
4920
|
render() {
|
|
4917
4921
|
const Tag = this.multiline ? Tags$1.TEXTAREA : Tags$1.INPUT;
|
|
4918
|
-
return (hAsync(Host, { key: '
|
|
4919
|
-
hAsync("gov-icon", { key: '
|
|
4920
|
-
hAsync("gov-icon", { key: '
|
|
4922
|
+
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 &&
|
|
4923
|
+
hAsync("gov-icon", { key: '1dad15f0bbab72fef2f2d596fb2ce27b097eb3a4', slot: "right-icon", class: "icon-validation", name: "check-lg" }), this.invalid && !this.multiline &&
|
|
4924
|
+
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" })));
|
|
4921
4925
|
}
|
|
4922
4926
|
onFocusHandler(e) {
|
|
4923
4927
|
e.stopPropagation();
|
|
@@ -5029,6 +5033,7 @@ class GovFormInput {
|
|
|
5029
5033
|
"autocomplete": [4],
|
|
5030
5034
|
"autocorrect": [4],
|
|
5031
5035
|
"spellcheck": [4],
|
|
5036
|
+
"inputLang": [1, "input-lang"],
|
|
5032
5037
|
"type": [1],
|
|
5033
5038
|
"inputType": [1, "input-type"],
|
|
5034
5039
|
"role": [1],
|
|
@@ -6687,6 +6692,7 @@ class GovPagination {
|
|
|
6687
6692
|
this.current = 1;
|
|
6688
6693
|
this.total = 0;
|
|
6689
6694
|
this.inverse = undefined;
|
|
6695
|
+
this.selectIdentifier = undefined;
|
|
6690
6696
|
this.size = "m";
|
|
6691
6697
|
this.variant = "primary";
|
|
6692
6698
|
this.pageSize = 10;
|
|
@@ -6703,6 +6709,7 @@ class GovPagination {
|
|
|
6703
6709
|
this.pagination = undefined;
|
|
6704
6710
|
this.h = govHost(this.host);
|
|
6705
6711
|
this.pageSelectId = createID("GovPageSelect");
|
|
6712
|
+
this.selectId = createID("GovSelect");
|
|
6706
6713
|
}
|
|
6707
6714
|
validateType(newValue) {
|
|
6708
6715
|
validateProp(PaginationTypes, newValue, PaginationClass.root);
|
|
@@ -6758,7 +6765,7 @@ class GovPagination {
|
|
|
6758
6765
|
const ariaCurrent = toBoolAttrIfDefined(this.pagination.currentPage === page ? true : undefined);
|
|
6759
6766
|
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));
|
|
6760
6767
|
};
|
|
6761
|
-
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))))));
|
|
6768
|
+
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))))));
|
|
6762
6769
|
}
|
|
6763
6770
|
onClickHandler(e, page) {
|
|
6764
6771
|
e.stopPropagation();
|
|
@@ -6812,6 +6819,7 @@ class GovPagination {
|
|
|
6812
6819
|
"current": [2],
|
|
6813
6820
|
"total": [2],
|
|
6814
6821
|
"inverse": [4],
|
|
6822
|
+
"selectIdentifier": [1, "select-identifier"],
|
|
6815
6823
|
"size": [1],
|
|
6816
6824
|
"variant": [1],
|
|
6817
6825
|
"pageSize": [2, "page-size"],
|
|
@@ -7557,7 +7565,7 @@ class GovTabs {
|
|
|
7557
7565
|
registerInstance(this, hostRef);
|
|
7558
7566
|
this.govChange = createEvent(this, "gov-change", 7);
|
|
7559
7567
|
this.triggerRefs = {};
|
|
7560
|
-
this.
|
|
7568
|
+
this.controllers = [];
|
|
7561
7569
|
this.focusIndex = 0;
|
|
7562
7570
|
this.compactControls = false;
|
|
7563
7571
|
this.type = "text";
|
|
@@ -7576,17 +7584,16 @@ class GovTabs {
|
|
|
7576
7584
|
validateProp(TabVariants, newValue, TabsClass.root);
|
|
7577
7585
|
}
|
|
7578
7586
|
componentWillLoad() {
|
|
7579
|
-
this.
|
|
7587
|
+
this.prepareControllers();
|
|
7580
7588
|
}
|
|
7581
7589
|
async componentDidRender() {
|
|
7582
7590
|
if (canValidateWcagOnRender()) {
|
|
7583
7591
|
await delay(500);
|
|
7584
7592
|
await this.validateWcag();
|
|
7585
7593
|
}
|
|
7586
|
-
this.resizeObserver();
|
|
7587
7594
|
}
|
|
7588
|
-
|
|
7589
|
-
this.
|
|
7595
|
+
prepareControllers() {
|
|
7596
|
+
this.controllers = [];
|
|
7590
7597
|
const promises = [];
|
|
7591
7598
|
this.host.querySelectorAll(TabsItemClass.root).forEach((tab) => {
|
|
7592
7599
|
const controlItem = Promise.all([
|
|
@@ -7608,49 +7615,36 @@ class GovTabs {
|
|
|
7608
7615
|
promises.push(controlItem);
|
|
7609
7616
|
});
|
|
7610
7617
|
Promise.all(promises).then(controllers => {
|
|
7611
|
-
let
|
|
7612
|
-
if (
|
|
7613
|
-
|
|
7614
|
-
this.focusIndex =
|
|
7615
|
-
controllers[
|
|
7616
|
-
this.
|
|
7618
|
+
let defaultTabIndex = controllers.findIndex(controller => controller.default);
|
|
7619
|
+
if (defaultTabIndex === -1)
|
|
7620
|
+
defaultTabIndex = 0;
|
|
7621
|
+
this.focusIndex = defaultTabIndex;
|
|
7622
|
+
controllers[defaultTabIndex].active = true;
|
|
7623
|
+
this.controllers = [...controllers];
|
|
7617
7624
|
this.reRender();
|
|
7618
7625
|
});
|
|
7619
7626
|
}
|
|
7620
7627
|
setActiveByIdentifier(identifier) {
|
|
7621
7628
|
const temp = [];
|
|
7622
|
-
this.
|
|
7629
|
+
this.controllers.map(item => {
|
|
7623
7630
|
item.active = identifier === item.triggerIdentifier || identifier === item.contentIdentifier;
|
|
7624
7631
|
temp.push(item);
|
|
7625
7632
|
});
|
|
7626
|
-
this.
|
|
7633
|
+
this.controllers = [...temp];
|
|
7627
7634
|
}
|
|
7628
7635
|
reRender() {
|
|
7629
|
-
this.
|
|
7630
|
-
control.element.setActiveStatus(control.active);
|
|
7636
|
+
this.controllers.map(control => {
|
|
7637
|
+
control.element.setActiveStatus(control.active).catch();
|
|
7631
7638
|
});
|
|
7632
7639
|
}
|
|
7633
|
-
/*
|
|
7634
|
-
private evaluateControls() {
|
|
7635
|
-
this.compactControls = false
|
|
7636
|
-
let sumOfWidth = this.tabsRef.querySelector("ul").offsetWidth
|
|
7637
|
-
this.compactControls = this.tabsRef.offsetWidth < sumOfWidth
|
|
7638
|
-
}
|
|
7639
|
-
*/
|
|
7640
|
-
resizeObserver() {
|
|
7641
|
-
const resizeObserver = new ResizeObserver(throttle(() => {
|
|
7642
|
-
// this.evaluateControls()
|
|
7643
|
-
}, 200));
|
|
7644
|
-
resizeObserver.observe(this.tabsRef);
|
|
7645
|
-
}
|
|
7646
7640
|
render() {
|
|
7647
|
-
return (hAsync(Host, { key: '
|
|
7641
|
+
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' })));
|
|
7648
7642
|
}
|
|
7649
7643
|
getCurrentTab() {
|
|
7650
|
-
return this.
|
|
7644
|
+
return this.controllers.find(control => control.active) || null;
|
|
7651
7645
|
}
|
|
7652
7646
|
onSelectHandler(control) {
|
|
7653
|
-
const index = this.
|
|
7647
|
+
const index = this.controllers.findIndex(t => t.triggerIdentifier === control.triggerIdentifier);
|
|
7654
7648
|
this.focusIndex = index;
|
|
7655
7649
|
this.setActiveByIdentifier(control.triggerIdentifier);
|
|
7656
7650
|
this.reRender();
|
|
@@ -7670,30 +7664,30 @@ class GovTabs {
|
|
|
7670
7664
|
}
|
|
7671
7665
|
goToPrevNext(keyCode) {
|
|
7672
7666
|
if ([37, 38, 39, 40].includes(keyCode)) {
|
|
7673
|
-
if (false === (this.focusIndex >= 0 && this.focusIndex <= this.
|
|
7667
|
+
if (false === (this.focusIndex >= 0 && this.focusIndex <= this.controllers.length - 1)) {
|
|
7674
7668
|
return;
|
|
7675
7669
|
}
|
|
7676
|
-
this.
|
|
7670
|
+
this.controllers[this.focusIndex].active = false;
|
|
7677
7671
|
if (keyCode === 39 || keyCode === 40) {
|
|
7678
7672
|
this.focusIndex++;
|
|
7679
|
-
if (this.focusIndex >= this.
|
|
7673
|
+
if (this.focusIndex >= this.controllers.length) {
|
|
7680
7674
|
this.focusIndex = 0;
|
|
7681
7675
|
}
|
|
7682
|
-
if (this.
|
|
7676
|
+
if (this.controllers[this.focusIndex].disabled) {
|
|
7683
7677
|
this.goToPrevNext(40);
|
|
7684
7678
|
}
|
|
7685
7679
|
}
|
|
7686
7680
|
else if (keyCode === 37 || keyCode === 38) {
|
|
7687
7681
|
this.focusIndex--;
|
|
7688
7682
|
if (this.focusIndex < 0) {
|
|
7689
|
-
this.focusIndex = this.
|
|
7683
|
+
this.focusIndex = this.controllers.length - 1;
|
|
7690
7684
|
}
|
|
7691
|
-
if (this.
|
|
7685
|
+
if (this.controllers[this.focusIndex].disabled) {
|
|
7692
7686
|
this.goToPrevNext(38);
|
|
7693
7687
|
}
|
|
7694
7688
|
}
|
|
7695
|
-
if (this.focusIndex >= 0 && this.focusIndex <= this.
|
|
7696
|
-
const current = this.
|
|
7689
|
+
if (this.focusIndex >= 0 && this.focusIndex <= this.controllers.length - 1) {
|
|
7690
|
+
const current = this.controllers[this.focusIndex];
|
|
7697
7691
|
current.active = true;
|
|
7698
7692
|
const trigger = this.triggerRefs[current.triggerIdentifier];
|
|
7699
7693
|
if (trigger.nodeName.toLowerCase() === 'gov-chip') {
|
|
@@ -7702,7 +7696,7 @@ class GovTabs {
|
|
|
7702
7696
|
else {
|
|
7703
7697
|
this.triggerRefs[current.triggerIdentifier].focus();
|
|
7704
7698
|
}
|
|
7705
|
-
this.
|
|
7699
|
+
this.controllers = [...this.controllers];
|
|
7706
7700
|
this.reRender();
|
|
7707
7701
|
this.govChange.emit(this.getCurrentTab().element);
|
|
7708
7702
|
}
|
|
@@ -7712,7 +7706,7 @@ class GovTabs {
|
|
|
7712
7706
|
* Regenerate tabs controllers
|
|
7713
7707
|
*/
|
|
7714
7708
|
async refresh() {
|
|
7715
|
-
this.
|
|
7709
|
+
this.prepareControllers();
|
|
7716
7710
|
}
|
|
7717
7711
|
/**
|
|
7718
7712
|
* Returns the currently selected tabs-item
|
|
@@ -7727,6 +7721,12 @@ class GovTabs {
|
|
|
7727
7721
|
this.setActiveByIdentifier(identifier);
|
|
7728
7722
|
this.reRender();
|
|
7729
7723
|
}
|
|
7724
|
+
/**
|
|
7725
|
+
* Regenerate tabs controllers
|
|
7726
|
+
*/
|
|
7727
|
+
async rerender() {
|
|
7728
|
+
this.prepareControllers();
|
|
7729
|
+
}
|
|
7730
7730
|
/**
|
|
7731
7731
|
* Validate the WCAG attributes of the component
|
|
7732
7732
|
*/
|
|
@@ -7750,12 +7750,13 @@ class GovTabs {
|
|
|
7750
7750
|
"wcagLabel": [1, "wcag-label"],
|
|
7751
7751
|
"wcagSelectLabel": [1, "wcag-select-label"],
|
|
7752
7752
|
"wcagLabelledBy": [1, "wcag-labelled-by"],
|
|
7753
|
-
"
|
|
7753
|
+
"controllers": [32],
|
|
7754
7754
|
"focusIndex": [32],
|
|
7755
7755
|
"compactControls": [32],
|
|
7756
7756
|
"refresh": [64],
|
|
7757
7757
|
"currentTab": [64],
|
|
7758
7758
|
"setActiveTab": [64],
|
|
7759
|
+
"rerender": [64],
|
|
7759
7760
|
"validateWcag": [64]
|
|
7760
7761
|
},
|
|
7761
7762
|
"$listeners$": undefined,
|
|
@@ -7780,8 +7781,14 @@ class GovTabsItem {
|
|
|
7780
7781
|
this.contentId = createID('GovTabContent');
|
|
7781
7782
|
this.triggerId = createID('GovTabTrigger');
|
|
7782
7783
|
}
|
|
7784
|
+
rerenderParent() {
|
|
7785
|
+
const element = this.h.getParent(TabsClass.root);
|
|
7786
|
+
if (element) {
|
|
7787
|
+
element.rerender().catch();
|
|
7788
|
+
}
|
|
7789
|
+
}
|
|
7783
7790
|
render() {
|
|
7784
|
-
return (hAsync(Host, { key: '
|
|
7791
|
+
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' }))));
|
|
7785
7792
|
}
|
|
7786
7793
|
/**
|
|
7787
7794
|
* Returns a unique tab content identifier
|
|
@@ -7808,6 +7815,11 @@ class GovTabsItem {
|
|
|
7808
7815
|
this.isActive = status;
|
|
7809
7816
|
}
|
|
7810
7817
|
get host() { return getElement(this); }
|
|
7818
|
+
static get watchers() { return {
|
|
7819
|
+
"label": ["rerenderParent"],
|
|
7820
|
+
"disabled": ["rerenderParent"],
|
|
7821
|
+
"default": ["rerenderParent"]
|
|
7822
|
+
}; }
|
|
7811
7823
|
static get style() { return GovTabsItemStyle0; }
|
|
7812
7824
|
static get cmpMeta() { return {
|
|
7813
7825
|
"$flags$": 4,
|
|
@@ -8112,11 +8124,7 @@ class GovTooltip {
|
|
|
8112
8124
|
validateProp(TooltipPosition, newValue, TooltipClass.root);
|
|
8113
8125
|
}
|
|
8114
8126
|
rerenderMessage() {
|
|
8115
|
-
|
|
8116
|
-
const isContent = document.body.querySelector(`#${(_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId}`);
|
|
8117
|
-
if (!isContent) {
|
|
8118
|
-
this.createContentWrapper();
|
|
8119
|
-
}
|
|
8127
|
+
this.createContentWrapper();
|
|
8120
8128
|
}
|
|
8121
8129
|
componentWillLoad() {
|
|
8122
8130
|
this.validateVariant(this.variant);
|
|
@@ -8125,45 +8133,53 @@ class GovTooltip {
|
|
|
8125
8133
|
this.createContentWrapper();
|
|
8126
8134
|
this.registerListeners();
|
|
8127
8135
|
}
|
|
8136
|
+
componentDidUpdate() {
|
|
8137
|
+
this.createContentWrapper();
|
|
8138
|
+
}
|
|
8128
8139
|
disconnectedCallback() {
|
|
8129
8140
|
this.removeContent();
|
|
8130
8141
|
}
|
|
8131
8142
|
createContentWrapper() {
|
|
8132
8143
|
var _a;
|
|
8133
|
-
|
|
8134
|
-
|
|
8135
|
-
|
|
8144
|
+
if (this.tooltipContent) {
|
|
8145
|
+
if (this.message) {
|
|
8146
|
+
this.tooltipContent.innerHTML = this.message;
|
|
8147
|
+
}
|
|
8148
|
+
else if (this.insideContent) {
|
|
8149
|
+
this.tooltipContent.innerHTML = this.insideContent.innerHTML;
|
|
8150
|
+
}
|
|
8151
|
+
return;
|
|
8152
|
+
}
|
|
8153
|
+
let content;
|
|
8154
|
+
if (this.insideContent) {
|
|
8155
|
+
content = this.insideContent;
|
|
8136
8156
|
}
|
|
8137
8157
|
else {
|
|
8138
|
-
|
|
8139
|
-
|
|
8140
|
-
this.host.appendChild(this.content);
|
|
8158
|
+
content = documentNode().createElement(TooltipContentClass.root);
|
|
8159
|
+
content.innerHTML = this.message;
|
|
8141
8160
|
}
|
|
8142
|
-
|
|
8143
|
-
|
|
8144
|
-
|
|
8145
|
-
|
|
8146
|
-
|
|
8161
|
+
content.setAttribute("id", (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId);
|
|
8162
|
+
content.setAttribute("parent-id", this.tooltipId);
|
|
8163
|
+
content.setAttribute("variant", this.variant);
|
|
8164
|
+
content.setAttribute("size", this.size);
|
|
8165
|
+
documentNode().body.appendChild(content);
|
|
8166
|
+
}
|
|
8167
|
+
get tooltipContent() {
|
|
8168
|
+
var _a;
|
|
8169
|
+
return documentNode().body.querySelector(`#${(_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId}`);
|
|
8170
|
+
}
|
|
8171
|
+
get insideContent() {
|
|
8172
|
+
return this.host.querySelector(TooltipContentClass.root);
|
|
8147
8173
|
}
|
|
8148
8174
|
registerListeners() {
|
|
8149
8175
|
this.host.addEventListener("click", e => {
|
|
8150
8176
|
e.preventDefault();
|
|
8151
8177
|
this.persist = true;
|
|
8152
|
-
if (this.
|
|
8153
|
-
this.
|
|
8178
|
+
if (this.tooltipContent) {
|
|
8179
|
+
this.tooltipContent.setAttribute("persist", "true");
|
|
8154
8180
|
}
|
|
8155
8181
|
this.showTooltip();
|
|
8156
8182
|
});
|
|
8157
|
-
this.host.addEventListener("focus", e => {
|
|
8158
|
-
e.preventDefault();
|
|
8159
|
-
this.showTooltip();
|
|
8160
|
-
});
|
|
8161
|
-
this.host.addEventListener("blur", e => {
|
|
8162
|
-
e.preventDefault();
|
|
8163
|
-
if (this.persist === false) {
|
|
8164
|
-
this.hideTooltip();
|
|
8165
|
-
}
|
|
8166
|
-
});
|
|
8167
8183
|
this.host.addEventListener("mouseenter", e => {
|
|
8168
8184
|
e.preventDefault();
|
|
8169
8185
|
this.showTooltip();
|
|
@@ -8181,8 +8197,8 @@ class GovTooltip {
|
|
|
8181
8197
|
const trigger = this.host.getBoundingClientRect();
|
|
8182
8198
|
const trgWidth = this.host.offsetWidth;
|
|
8183
8199
|
const trgHeight = this.host.offsetHeight;
|
|
8184
|
-
const contentWidth = this.
|
|
8185
|
-
const contentHeight = this.
|
|
8200
|
+
const contentWidth = this.tooltipContent.offsetWidth;
|
|
8201
|
+
const contentHeight = this.tooltipContent.offsetHeight;
|
|
8186
8202
|
const triggerPos = {
|
|
8187
8203
|
left: trigger.left + document.documentElement.scrollLeft,
|
|
8188
8204
|
top: trigger.top + document.documentElement.scrollTop,
|
|
@@ -8191,10 +8207,10 @@ class GovTooltip {
|
|
|
8191
8207
|
const isLeftSpace = triggerPos.left > contentWidth;
|
|
8192
8208
|
// LEFT/RIGHT
|
|
8193
8209
|
if (this.position === TooltipPosition.LEFT || this.position === TooltipPosition.RIGHT) {
|
|
8194
|
-
this.
|
|
8210
|
+
this.tooltipContent.style.top = (triggerPos.top - ((contentHeight - trgHeight) / 2)) + "px";
|
|
8195
8211
|
if (isRightSpace === false && isLeftSpace === false) {
|
|
8196
8212
|
this.position = TooltipPosition.TOP;
|
|
8197
|
-
this.
|
|
8213
|
+
this.tooltipContent.setAttribute("position", TooltipPosition.TOP);
|
|
8198
8214
|
}
|
|
8199
8215
|
if (isLeftSpace && isRightSpace === false && this.position === TooltipPosition.RIGHT) {
|
|
8200
8216
|
this.position = TooltipPosition.LEFT;
|
|
@@ -8204,12 +8220,12 @@ class GovTooltip {
|
|
|
8204
8220
|
}
|
|
8205
8221
|
}
|
|
8206
8222
|
if (this.position === TooltipPosition.RIGHT) {
|
|
8207
|
-
this.
|
|
8208
|
-
this.
|
|
8223
|
+
this.tooltipContent.setAttribute("position", TooltipPosition.RIGHT);
|
|
8224
|
+
this.tooltipContent.style.left = (triggerPos.left + offset + trigger.width) + "px";
|
|
8209
8225
|
}
|
|
8210
8226
|
if (this.position === TooltipPosition.LEFT) {
|
|
8211
|
-
this.
|
|
8212
|
-
this.
|
|
8227
|
+
this.tooltipContent.setAttribute("position", TooltipPosition.LEFT);
|
|
8228
|
+
this.tooltipContent.style.left = (triggerPos.left - (contentWidth + offset)) + "px";
|
|
8213
8229
|
}
|
|
8214
8230
|
// LEFT/RIGHT FOR TOP/BOTTOM
|
|
8215
8231
|
if (this.position === TooltipPosition.TOP || this.position === TooltipPosition.BOTTOM) {
|
|
@@ -8218,9 +8234,9 @@ class GovTooltip {
|
|
|
8218
8234
|
const isNotLeftSpace = leftPosition < 0;
|
|
8219
8235
|
const isNotRightSpace = (leftPosition + contentWidth) > windowWidth;
|
|
8220
8236
|
if (isNotLeftSpace && isNotRightSpace) {
|
|
8221
|
-
this.
|
|
8222
|
-
this.
|
|
8223
|
-
this.
|
|
8237
|
+
this.tooltipContent.style.width = "auto";
|
|
8238
|
+
this.tooltipContent.style.left = offset + "px";
|
|
8239
|
+
this.tooltipContent.style.right = offset + "px";
|
|
8224
8240
|
}
|
|
8225
8241
|
else {
|
|
8226
8242
|
if (isNotLeftSpace) {
|
|
@@ -8229,39 +8245,39 @@ class GovTooltip {
|
|
|
8229
8245
|
if (isNotRightSpace) {
|
|
8230
8246
|
leftPosition = leftPosition - ((windowWidth - (leftPosition + contentWidth + offset)) * -1);
|
|
8231
8247
|
}
|
|
8232
|
-
this.
|
|
8248
|
+
this.tooltipContent.style.left = leftPosition + "px";
|
|
8233
8249
|
}
|
|
8234
8250
|
}
|
|
8235
8251
|
else {
|
|
8236
8252
|
const leftPosition = (triggerPos.left + ((trgWidth - contentWidth) / 2));
|
|
8237
|
-
this.
|
|
8253
|
+
this.tooltipContent.style.left = leftPosition + "px";
|
|
8238
8254
|
}
|
|
8239
8255
|
}
|
|
8240
8256
|
if (this.position === TooltipPosition.TOP) {
|
|
8241
|
-
this.
|
|
8242
|
-
this.
|
|
8257
|
+
this.tooltipContent.setAttribute("position", TooltipPosition.TOP);
|
|
8258
|
+
this.tooltipContent.style.top = (triggerPos.top - (contentHeight + offset)) + "px";
|
|
8243
8259
|
}
|
|
8244
8260
|
if (this.position === TooltipPosition.BOTTOM) {
|
|
8245
|
-
this.
|
|
8246
|
-
this.
|
|
8261
|
+
this.tooltipContent.setAttribute("position", TooltipPosition.BOTTOM);
|
|
8262
|
+
this.tooltipContent.style.top = (triggerPos.top + (trgHeight + offset)) + "px";
|
|
8247
8263
|
}
|
|
8248
|
-
this.
|
|
8264
|
+
this.tooltipContent.style.opacity = '1';
|
|
8249
8265
|
}
|
|
8250
8266
|
showTooltip() {
|
|
8251
|
-
if (this.
|
|
8252
|
-
this.
|
|
8253
|
-
this.
|
|
8254
|
-
this.
|
|
8255
|
-
|
|
8267
|
+
if (this.tooltipContent) {
|
|
8268
|
+
this.tooltipContent.style.opacity = '0';
|
|
8269
|
+
this.tooltipContent.hidden = false;
|
|
8270
|
+
this.tooltipContent.setAttribute("is-visible", "true");
|
|
8271
|
+
tick(() => {
|
|
8256
8272
|
this.verifyPositionSpace();
|
|
8257
8273
|
});
|
|
8258
8274
|
}
|
|
8259
8275
|
}
|
|
8260
8276
|
hideTooltip() {
|
|
8261
|
-
if (this.
|
|
8262
|
-
this.
|
|
8263
|
-
this.
|
|
8264
|
-
this.
|
|
8277
|
+
if (this.tooltipContent) {
|
|
8278
|
+
this.tooltipContent.setAttribute("is-visible", "false");
|
|
8279
|
+
this.tooltipContent.setAttribute("persist", "false");
|
|
8280
|
+
this.tooltipContent.removeAttribute('style');
|
|
8265
8281
|
}
|
|
8266
8282
|
}
|
|
8267
8283
|
removeContent() {
|
|
@@ -8272,7 +8288,11 @@ class GovTooltip {
|
|
|
8272
8288
|
}
|
|
8273
8289
|
render() {
|
|
8274
8290
|
var _a;
|
|
8275
|
-
return (hAsync(Host, { key: '
|
|
8291
|
+
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: () => {
|
|
8292
|
+
if (this.persist === false) {
|
|
8293
|
+
this.hideTooltip();
|
|
8294
|
+
}
|
|
8295
|
+
}, "aria-describedby": (_a = this.identifier) !== null && _a !== void 0 ? _a : this.tooltipContentId }, hAsync("slot", { key: '1ccc180def543def370a189a5c10351fc166dcdd' }))));
|
|
8276
8296
|
}
|
|
8277
8297
|
/**
|
|
8278
8298
|
* Showing the modal
|