@ukho/admiralty-core 0.0.0
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/LICENSE +21 -0
- package/README.md +86 -0
- package/dist/admiralty/admiralty.esm.js +2 -0
- package/dist/admiralty/admiralty.esm.js.map +1 -0
- package/dist/admiralty/index.esm.js +2 -0
- package/dist/admiralty/index.esm.js.map +1 -0
- package/dist/admiralty/p-01cb7adb.entry.js +2 -0
- package/dist/admiralty/p-01cb7adb.entry.js.map +1 -0
- package/dist/admiralty/p-05415353.entry.js +2 -0
- package/dist/admiralty/p-05415353.entry.js.map +1 -0
- package/dist/admiralty/p-08baadfe.entry.js +2 -0
- package/dist/admiralty/p-08baadfe.entry.js.map +1 -0
- package/dist/admiralty/p-1156fb5a.entry.js +2 -0
- package/dist/admiralty/p-1156fb5a.entry.js.map +1 -0
- package/dist/admiralty/p-1597c067.entry.js +2 -0
- package/dist/admiralty/p-1597c067.entry.js.map +1 -0
- package/dist/admiralty/p-18cff2de.js +2 -0
- package/dist/admiralty/p-18cff2de.js.map +1 -0
- package/dist/admiralty/p-1e0fcbb0.entry.js +2 -0
- package/dist/admiralty/p-1e0fcbb0.entry.js.map +1 -0
- package/dist/admiralty/p-281fb779.entry.js +2 -0
- package/dist/admiralty/p-281fb779.entry.js.map +1 -0
- package/dist/admiralty/p-31b52c40.entry.js +2 -0
- package/dist/admiralty/p-31b52c40.entry.js.map +1 -0
- package/dist/admiralty/p-33b7244b.entry.js +2 -0
- package/dist/admiralty/p-33b7244b.entry.js.map +1 -0
- package/dist/admiralty/p-34cbc7a1.entry.js +2 -0
- package/dist/admiralty/p-34cbc7a1.entry.js.map +1 -0
- package/dist/admiralty/p-3c9dee38.entry.js +2 -0
- package/dist/admiralty/p-3c9dee38.entry.js.map +1 -0
- package/dist/admiralty/p-3dfc9fc0.entry.js +2 -0
- package/dist/admiralty/p-3dfc9fc0.entry.js.map +1 -0
- package/dist/admiralty/p-52cb5c3d.entry.js +2 -0
- package/dist/admiralty/p-52cb5c3d.entry.js.map +1 -0
- package/dist/admiralty/p-573407ef.entry.js +2 -0
- package/dist/admiralty/p-573407ef.entry.js.map +1 -0
- package/dist/admiralty/p-61a86783.entry.js +2 -0
- package/dist/admiralty/p-61a86783.entry.js.map +1 -0
- package/dist/admiralty/p-6293fffb.entry.js +2 -0
- package/dist/admiralty/p-6293fffb.entry.js.map +1 -0
- package/dist/admiralty/p-69e7a596.entry.js +2 -0
- package/dist/admiralty/p-69e7a596.entry.js.map +1 -0
- package/dist/admiralty/p-6b102dd7.entry.js +2 -0
- package/dist/admiralty/p-6b102dd7.entry.js.map +1 -0
- package/dist/admiralty/p-80c03397.entry.js +2 -0
- package/dist/admiralty/p-80c03397.entry.js.map +1 -0
- package/dist/admiralty/p-914567f9.entry.js +2 -0
- package/dist/admiralty/p-914567f9.entry.js.map +1 -0
- package/dist/admiralty/p-96a33adb.entry.js +2 -0
- package/dist/admiralty/p-96a33adb.entry.js.map +1 -0
- package/dist/admiralty/p-aa03be54.entry.js +2 -0
- package/dist/admiralty/p-aa03be54.entry.js.map +1 -0
- package/dist/admiralty/p-bbe4dd68.entry.js +2 -0
- package/dist/admiralty/p-bbe4dd68.entry.js.map +1 -0
- package/dist/admiralty/p-c63b9703.entry.js +2 -0
- package/dist/admiralty/p-c63b9703.entry.js.map +1 -0
- package/dist/admiralty/p-c7dd53e5.js +2 -0
- package/dist/admiralty/p-c7dd53e5.js.map +1 -0
- package/dist/admiralty/p-c9625a50.entry.js +2 -0
- package/dist/admiralty/p-c9625a50.entry.js.map +1 -0
- package/dist/admiralty/p-d23537cc.entry.js +2 -0
- package/dist/admiralty/p-d23537cc.entry.js.map +1 -0
- package/dist/admiralty/p-d5680d2f.entry.js +2 -0
- package/dist/admiralty/p-d5680d2f.entry.js.map +1 -0
- package/dist/admiralty/p-da4c6170.entry.js +2 -0
- package/dist/admiralty/p-da4c6170.entry.js.map +1 -0
- package/dist/admiralty/p-dae5bfda.entry.js +2 -0
- package/dist/admiralty/p-dae5bfda.entry.js.map +1 -0
- package/dist/admiralty/p-de48be42.entry.js +2 -0
- package/dist/admiralty/p-de48be42.entry.js.map +1 -0
- package/dist/admiralty/p-e1457fd2.entry.js +2 -0
- package/dist/admiralty/p-e1457fd2.entry.js.map +1 -0
- package/dist/admiralty/p-e1680782.js +3 -0
- package/dist/admiralty/p-e1680782.js.map +1 -0
- package/dist/admiralty/p-e5f9308a.entry.js +2 -0
- package/dist/admiralty/p-e5f9308a.entry.js.map +1 -0
- package/dist/admiralty/p-e7bb0eca.entry.js +2 -0
- package/dist/admiralty/p-e7bb0eca.entry.js.map +1 -0
- package/dist/admiralty/p-eba5b551.entry.js +2 -0
- package/dist/admiralty/p-eba5b551.entry.js.map +1 -0
- package/dist/admiralty/p-eefe699d.entry.js +2 -0
- package/dist/admiralty/p-eefe699d.entry.js.map +1 -0
- package/dist/admiralty/p-f049a682.entry.js +2 -0
- package/dist/admiralty/p-f049a682.entry.js.map +1 -0
- package/dist/admiralty/p-f268e1dd.entry.js +2 -0
- package/dist/admiralty/p-f268e1dd.entry.js.map +1 -0
- package/dist/admiralty/p-f9815502.entry.js +2 -0
- package/dist/admiralty/p-f9815502.entry.js.map +1 -0
- package/dist/admiralty/p-ffb0dae5.entry.js +2 -0
- package/dist/admiralty/p-ffb0dae5.entry.js.map +1 -0
- package/dist/admiralty/p-ffe3ca07.entry.js +2 -0
- package/dist/admiralty/p-ffe3ca07.entry.js.map +1 -0
- package/dist/cjs/admiralty-breadcrumb.cjs.entry.js +25 -0
- package/dist/cjs/admiralty-breadcrumb.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-breadcrumbs.cjs.entry.js +48 -0
- package/dist/cjs/admiralty-breadcrumbs.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-button.cjs.entry.js +26 -0
- package/dist/cjs/admiralty-button.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-card.cjs.entry.js +22 -0
- package/dist/cjs/admiralty-card.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-checkbox.cjs.entry.js +54 -0
- package/dist/cjs/admiralty-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-colour-block.cjs.entry.js +37 -0
- package/dist/cjs/admiralty-colour-block.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-dialogue.cjs.entry.js +39 -0
- package/dist/cjs/admiralty-dialogue.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-expansion.cjs.entry.js +42 -0
- package/dist/cjs/admiralty-expansion.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-file-input.cjs.entry.js +89 -0
- package/dist/cjs/admiralty-file-input.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-filter-group.cjs.entry.js +22 -0
- package/dist/cjs/admiralty-filter-group.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-filter.cjs.entry.js +32 -0
- package/dist/cjs/admiralty-filter.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-footer.cjs.entry.js +25 -0
- package/dist/cjs/admiralty-footer.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-header-menu-item.cjs.entry.js +63 -0
- package/dist/cjs/admiralty-header-menu-item.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-header-profile.cjs.entry.js +44 -0
- package/dist/cjs/admiralty-header-profile.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-header-sub-menu-item.cjs.entry.js +28 -0
- package/dist/cjs/admiralty-header-sub-menu-item.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-header.cjs.entry.js +32 -0
- package/dist/cjs/admiralty-header.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-hint_3.cjs.entry.js +51 -0
- package/dist/cjs/admiralty-hint_3.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-hr.cjs.entry.js +21 -0
- package/dist/cjs/admiralty-hr.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-icon.cjs.entry.js +7045 -0
- package/dist/cjs/admiralty-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-input.cjs.entry.js +62 -0
- package/dist/cjs/admiralty-input.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-link.cjs.entry.js +20 -0
- package/dist/cjs/admiralty-link.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-paginator-wrapper.cjs.entry.js +32 -0
- package/dist/cjs/admiralty-paginator-wrapper.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-paginator.cjs.entry.js +46 -0
- package/dist/cjs/admiralty-paginator.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-phase-banner.cjs.entry.js +23 -0
- package/dist/cjs/admiralty-phase-banner.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-progress-bar.cjs.entry.js +28 -0
- package/dist/cjs/admiralty-progress-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-radio-group.cjs.entry.js +71 -0
- package/dist/cjs/admiralty-radio-group.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-radio.cjs.entry.js +64 -0
- package/dist/cjs/admiralty-radio.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-select.cjs.entry.js +61 -0
- package/dist/cjs/admiralty-select.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-side-nav-item.cjs.entry.js +39 -0
- package/dist/cjs/admiralty-side-nav-item.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-side-nav-wrapper.cjs.entry.js +27 -0
- package/dist/cjs/admiralty-side-nav-wrapper.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-side-nav.cjs.entry.js +22 -0
- package/dist/cjs/admiralty-side-nav.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-table-body.cjs.entry.js +21 -0
- package/dist/cjs/admiralty-table-body.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-table-cell.cjs.entry.js +21 -0
- package/dist/cjs/admiralty-table-cell.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-table-header-cell.cjs.entry.js +21 -0
- package/dist/cjs/admiralty-table-header-cell.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-table-header.cjs.entry.js +21 -0
- package/dist/cjs/admiralty-table-header.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-table-row.cjs.entry.js +21 -0
- package/dist/cjs/admiralty-table-row.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-table.cjs.entry.js +22 -0
- package/dist/cjs/admiralty-table.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-textarea.cjs.entry.js +38 -0
- package/dist/cjs/admiralty-textarea.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-type-ahead-item.cjs.entry.js +22 -0
- package/dist/cjs/admiralty-type-ahead-item.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty-type-ahead.cjs.entry.js +185 -0
- package/dist/cjs/admiralty-type-ahead.cjs.entry.js.map +1 -0
- package/dist/cjs/admiralty.cjs.js +28 -0
- package/dist/cjs/admiralty.cjs.js.map +1 -0
- package/dist/cjs/button.types-0549d311.js +12 -0
- package/dist/cjs/button.types-0549d311.js.map +1 -0
- package/dist/cjs/index-18b58c3d.js +9484 -0
- package/dist/cjs/index-18b58c3d.js.map +1 -0
- package/dist/cjs/index-9db1e550.js +1971 -0
- package/dist/cjs/index-9db1e550.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +24 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/collection/assets/svg/Admiralty linear logo.svg +373 -0
- package/dist/collection/assets/svg/Admiralty stacked logo.svg +1275 -0
- package/dist/collection/assets/svg/AdmiraltyUKHO linear logo.svg +3350 -0
- package/dist/collection/assets/svg/UKHO linear logo.svg +3526 -0
- package/dist/collection/assets/svg/UKHO stacked logo.svg +2985 -0
- package/dist/collection/collection-manifest.json +53 -0
- package/dist/collection/components/breadcrumb/breadcrumb.css +89 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +84 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.css +25 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +48 -0
- package/dist/collection/components/breadcrumbs/breadcrumbs.js.map +1 -0
- package/dist/collection/components/button/button.css +384 -0
- package/dist/collection/components/button/button.js +109 -0
- package/dist/collection/components/button/button.js.map +1 -0
- package/dist/collection/components/button/button.types.js +9 -0
- package/dist/collection/components/button/button.types.js.map +1 -0
- package/dist/collection/components/card/card.css +101 -0
- package/dist/collection/components/card/card.js +42 -0
- package/dist/collection/components/card/card.js.map +1 -0
- package/dist/collection/components/checkbox/checkbox.css +72 -0
- package/dist/collection/components/checkbox/checkbox.js +222 -0
- package/dist/collection/components/checkbox/checkbox.js.map +1 -0
- package/dist/collection/components/colour-block/colour-block.css +53 -0
- package/dist/collection/components/colour-block/colour-block.js +141 -0
- package/dist/collection/components/colour-block/colour-block.js.map +1 -0
- package/dist/collection/components/dialogue/dialogue.css +105 -0
- package/dist/collection/components/dialogue/dialogue.js +78 -0
- package/dist/collection/components/dialogue/dialogue.js.map +1 -0
- package/dist/collection/components/expansion/expansion.css +75 -0
- package/dist/collection/components/expansion/expansion.js +133 -0
- package/dist/collection/components/expansion/expansion.js.map +1 -0
- package/dist/collection/components/file-input/file-input.css +78 -0
- package/dist/collection/components/file-input/file-input.js +155 -0
- package/dist/collection/components/file-input/file-input.js.map +1 -0
- package/dist/collection/components/filter/filter.css +277 -0
- package/dist/collection/components/filter/filter.js +88 -0
- package/dist/collection/components/filter/filter.js.map +1 -0
- package/dist/collection/components/filter-group/filter-group.css +0 -0
- package/dist/collection/components/filter-group/filter-group.js +46 -0
- package/dist/collection/components/filter-group/filter-group.js.map +1 -0
- package/dist/collection/components/footer/footer.css +61 -0
- package/dist/collection/components/footer/footer.js +104 -0
- package/dist/collection/components/footer/footer.js.map +1 -0
- package/dist/collection/components/header/header.css +113 -0
- package/dist/collection/components/header/header.js +145 -0
- package/dist/collection/components/header/header.js.map +1 -0
- package/dist/collection/components/header/header.stories.data.js +146 -0
- package/dist/collection/components/header/header.stories.data.js.map +1 -0
- package/dist/collection/components/header/header.types.js +2 -0
- package/dist/collection/components/header/header.types.js.map +1 -0
- package/dist/collection/components/header-menu-item/header-menu-item.css +53 -0
- package/dist/collection/components/header-menu-item/header-menu-item.js +122 -0
- package/dist/collection/components/header-menu-item/header-menu-item.js.map +1 -0
- package/dist/collection/components/header-profile/header-profile.css +81 -0
- package/dist/collection/components/header-profile/header-profile.js +148 -0
- package/dist/collection/components/header-profile/header-profile.js.map +1 -0
- package/dist/collection/components/header-sub-menu-item/header-sub-menu-item.css +35 -0
- package/dist/collection/components/header-sub-menu-item/header-sub-menu-item.js +66 -0
- package/dist/collection/components/header-sub-menu-item/header-sub-menu-item.js.map +1 -0
- package/dist/collection/components/hint/hint.css +26 -0
- package/dist/collection/components/hint/hint.js +47 -0
- package/dist/collection/components/hint/hint.js.map +1 -0
- package/dist/collection/components/horizontal-rule/horizontal-rule.css +23 -0
- package/dist/collection/components/horizontal-rule/horizontal-rule.js +18 -0
- package/dist/collection/components/horizontal-rule/horizontal-rule.js.map +1 -0
- package/dist/collection/components/icon/icon.css +15 -0
- package/dist/collection/components/icon/icon.js +79 -0
- package/dist/collection/components/icon/icon.js.map +1 -0
- package/dist/collection/components/input/input.css +58 -0
- package/dist/collection/components/input/input.interface.js +2 -0
- package/dist/collection/components/input/input.interface.js.map +1 -0
- package/dist/collection/components/input/input.js +308 -0
- package/dist/collection/components/input/input.js.map +1 -0
- package/dist/collection/components/input-error/input-error.css +30 -0
- package/dist/collection/components/input-error/input-error.js +24 -0
- package/dist/collection/components/input-error/input-error.js.map +1 -0
- package/dist/collection/components/label/label.css +25 -0
- package/dist/collection/components/label/label.js +65 -0
- package/dist/collection/components/label/label.js.map +1 -0
- package/dist/collection/components/link/link.js +51 -0
- package/dist/collection/components/link/link.js.map +1 -0
- package/dist/collection/components/paginator/paginator.css +29 -0
- package/dist/collection/components/paginator/paginator.js +120 -0
- package/dist/collection/components/paginator/paginator.js.map +1 -0
- package/dist/collection/components/paginator/paginator.stories.data.js +36 -0
- package/dist/collection/components/paginator/paginator.stories.data.js.map +1 -0
- package/dist/collection/components/phase-banner/phase-banner.css +84 -0
- package/dist/collection/components/phase-banner/phase-banner.js +61 -0
- package/dist/collection/components/phase-banner/phase-banner.js.map +1 -0
- package/dist/collection/components/progress-bar/progress-bar.css +35 -0
- package/dist/collection/components/progress-bar/progress-bar.js +90 -0
- package/dist/collection/components/progress-bar/progress-bar.js.map +1 -0
- package/dist/collection/components/radio/radio.css +49 -0
- package/dist/collection/components/radio/radio.js +206 -0
- package/dist/collection/components/radio/radio.js.map +1 -0
- package/dist/collection/components/radio-group/radio-group.css +14 -0
- package/dist/collection/components/radio-group/radio-group.js +148 -0
- package/dist/collection/components/radio-group/radio-group.js.map +1 -0
- package/dist/collection/components/select/select.css +59 -0
- package/dist/collection/components/select/select.js +207 -0
- package/dist/collection/components/select/select.js.map +1 -0
- package/dist/collection/components/select/select.types.js +3 -0
- package/dist/collection/components/select/select.types.js.map +1 -0
- package/dist/collection/components/side-nav/side-nav.css +68 -0
- package/dist/collection/components/side-nav/side-nav.js +43 -0
- package/dist/collection/components/side-nav/side-nav.js.map +1 -0
- package/dist/collection/components/side-nav/side-nav.stories.data.js +31 -0
- package/dist/collection/components/side-nav/side-nav.stories.data.js.map +1 -0
- package/dist/collection/components/side-nav-item/side-nav-item.css +90 -0
- package/dist/collection/components/side-nav-item/side-nav-item.js +112 -0
- package/dist/collection/components/side-nav-item/side-nav-item.js.map +1 -0
- package/dist/collection/components/table/table.css +29 -0
- package/dist/collection/components/table/table.js +47 -0
- package/dist/collection/components/table/table.js.map +1 -0
- package/dist/collection/components/table-body/table-body.css +28 -0
- package/dist/collection/components/table-body/table-body.js +23 -0
- package/dist/collection/components/table-body/table-body.js.map +1 -0
- package/dist/collection/components/table-cell/table-cell.css +28 -0
- package/dist/collection/components/table-cell/table-cell.js +23 -0
- package/dist/collection/components/table-cell/table-cell.js.map +1 -0
- package/dist/collection/components/table-header/table-header.css +20 -0
- package/dist/collection/components/table-header/table-header.js +23 -0
- package/dist/collection/components/table-header/table-header.js.map +1 -0
- package/dist/collection/components/table-header-cell/table-header-cell.css +27 -0
- package/dist/collection/components/table-header-cell/table-header-cell.js +23 -0
- package/dist/collection/components/table-header-cell/table-header-cell.js.map +1 -0
- package/dist/collection/components/table-row/table-row.css +20 -0
- package/dist/collection/components/table-row/table-row.js +23 -0
- package/dist/collection/components/table-row/table-row.js.map +1 -0
- package/dist/collection/components/textarea/textarea.css +269 -0
- package/dist/collection/components/textarea/textarea.js +202 -0
- package/dist/collection/components/textarea/textarea.js.map +1 -0
- package/dist/collection/components/type-ahead/type-ahead.css +73 -0
- package/dist/collection/components/type-ahead/type-ahead.js +294 -0
- package/dist/collection/components/type-ahead/type-ahead.js.map +1 -0
- package/dist/collection/components/type-ahead-item/type-ahead-item.css +3 -0
- package/dist/collection/components/type-ahead-item/type-ahead-item.js +43 -0
- package/dist/collection/components/type-ahead-item/type-ahead-item.js.map +1 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/components/admiralty-breadcrumb.d.ts +11 -0
- package/dist/components/admiralty-breadcrumb.js +48 -0
- package/dist/components/admiralty-breadcrumb.js.map +1 -0
- package/dist/components/admiralty-breadcrumbs.d.ts +11 -0
- package/dist/components/admiralty-breadcrumbs.js +62 -0
- package/dist/components/admiralty-breadcrumbs.js.map +1 -0
- package/dist/components/admiralty-button.d.ts +11 -0
- package/dist/components/admiralty-button.js +8 -0
- package/dist/components/admiralty-button.js.map +1 -0
- package/dist/components/admiralty-card.d.ts +11 -0
- package/dist/components/admiralty-card.js +37 -0
- package/dist/components/admiralty-card.js.map +1 -0
- package/dist/components/admiralty-checkbox.d.ts +11 -0
- package/dist/components/admiralty-checkbox.js +75 -0
- package/dist/components/admiralty-checkbox.js.map +1 -0
- package/dist/components/admiralty-colour-block.d.ts +11 -0
- package/dist/components/admiralty-colour-block.js +68 -0
- package/dist/components/admiralty-colour-block.js.map +1 -0
- package/dist/components/admiralty-dialogue.d.ts +11 -0
- package/dist/components/admiralty-dialogue.js +61 -0
- package/dist/components/admiralty-dialogue.js.map +1 -0
- package/dist/components/admiralty-expansion.d.ts +11 -0
- package/dist/components/admiralty-expansion.js +8 -0
- package/dist/components/admiralty-expansion.js.map +1 -0
- package/dist/components/admiralty-file-input.d.ts +11 -0
- package/dist/components/admiralty-file-input.js +113 -0
- package/dist/components/admiralty-file-input.js.map +1 -0
- package/dist/components/admiralty-filter-group.d.ts +11 -0
- package/dist/components/admiralty-filter-group.js +49 -0
- package/dist/components/admiralty-filter-group.js.map +1 -0
- package/dist/components/admiralty-filter.d.ts +11 -0
- package/dist/components/admiralty-filter.js +59 -0
- package/dist/components/admiralty-filter.js.map +1 -0
- package/dist/components/admiralty-footer.d.ts +11 -0
- package/dist/components/admiralty-footer.js +43 -0
- package/dist/components/admiralty-footer.js.map +1 -0
- package/dist/components/admiralty-header-menu-item.d.ts +11 -0
- package/dist/components/admiralty-header-menu-item.js +80 -0
- package/dist/components/admiralty-header-menu-item.js.map +1 -0
- package/dist/components/admiralty-header-profile.d.ts +11 -0
- package/dist/components/admiralty-header-profile.js +62 -0
- package/dist/components/admiralty-header-profile.js.map +1 -0
- package/dist/components/admiralty-header-sub-menu-item.d.ts +11 -0
- package/dist/components/admiralty-header-sub-menu-item.js +44 -0
- package/dist/components/admiralty-header-sub-menu-item.js.map +1 -0
- package/dist/components/admiralty-header.d.ts +11 -0
- package/dist/components/admiralty-header.js +51 -0
- package/dist/components/admiralty-header.js.map +1 -0
- package/dist/components/admiralty-hint.d.ts +11 -0
- package/dist/components/admiralty-hint.js +8 -0
- package/dist/components/admiralty-hint.js.map +1 -0
- package/dist/components/admiralty-hr.d.ts +11 -0
- package/dist/components/admiralty-hr.js +34 -0
- package/dist/components/admiralty-hr.js.map +1 -0
- package/dist/components/admiralty-icon.d.ts +11 -0
- package/dist/components/admiralty-icon.js +8 -0
- package/dist/components/admiralty-icon.js.map +1 -0
- package/dist/components/admiralty-input-error.d.ts +11 -0
- package/dist/components/admiralty-input-error.js +8 -0
- package/dist/components/admiralty-input-error.js.map +1 -0
- package/dist/components/admiralty-input.d.ts +11 -0
- package/dist/components/admiralty-input.js +8 -0
- package/dist/components/admiralty-input.js.map +1 -0
- package/dist/components/admiralty-label.d.ts +11 -0
- package/dist/components/admiralty-label.js +8 -0
- package/dist/components/admiralty-label.js.map +1 -0
- package/dist/components/admiralty-link.d.ts +11 -0
- package/dist/components/admiralty-link.js +36 -0
- package/dist/components/admiralty-link.js.map +1 -0
- package/dist/components/admiralty-paginator-wrapper.d.ts +11 -0
- package/dist/components/admiralty-paginator-wrapper.js +45 -0
- package/dist/components/admiralty-paginator-wrapper.js.map +1 -0
- package/dist/components/admiralty-paginator.d.ts +11 -0
- package/dist/components/admiralty-paginator.js +73 -0
- package/dist/components/admiralty-paginator.js.map +1 -0
- package/dist/components/admiralty-phase-banner.d.ts +11 -0
- package/dist/components/admiralty-phase-banner.js +39 -0
- package/dist/components/admiralty-phase-banner.js.map +1 -0
- package/dist/components/admiralty-progress-bar.d.ts +11 -0
- package/dist/components/admiralty-progress-bar.js +52 -0
- package/dist/components/admiralty-progress-bar.js.map +1 -0
- package/dist/components/admiralty-radio-group.d.ts +11 -0
- package/dist/components/admiralty-radio-group.js +88 -0
- package/dist/components/admiralty-radio-group.js.map +1 -0
- package/dist/components/admiralty-radio.d.ts +11 -0
- package/dist/components/admiralty-radio.js +84 -0
- package/dist/components/admiralty-radio.js.map +1 -0
- package/dist/components/admiralty-select.d.ts +11 -0
- package/dist/components/admiralty-select.js +106 -0
- package/dist/components/admiralty-select.js.map +1 -0
- package/dist/components/admiralty-side-nav-item.d.ts +11 -0
- package/dist/components/admiralty-side-nav-item.js +56 -0
- package/dist/components/admiralty-side-nav-item.js.map +1 -0
- package/dist/components/admiralty-side-nav-wrapper.d.ts +11 -0
- package/dist/components/admiralty-side-nav-wrapper.js +40 -0
- package/dist/components/admiralty-side-nav-wrapper.js.map +1 -0
- package/dist/components/admiralty-side-nav.d.ts +11 -0
- package/dist/components/admiralty-side-nav.js +37 -0
- package/dist/components/admiralty-side-nav.js.map +1 -0
- package/dist/components/admiralty-table-body.d.ts +11 -0
- package/dist/components/admiralty-table-body.js +34 -0
- package/dist/components/admiralty-table-body.js.map +1 -0
- package/dist/components/admiralty-table-cell.d.ts +11 -0
- package/dist/components/admiralty-table-cell.js +34 -0
- package/dist/components/admiralty-table-cell.js.map +1 -0
- package/dist/components/admiralty-table-header-cell.d.ts +11 -0
- package/dist/components/admiralty-table-header-cell.js +34 -0
- package/dist/components/admiralty-table-header-cell.js.map +1 -0
- package/dist/components/admiralty-table-header.d.ts +11 -0
- package/dist/components/admiralty-table-header.js +34 -0
- package/dist/components/admiralty-table-header.js.map +1 -0
- package/dist/components/admiralty-table-row.d.ts +11 -0
- package/dist/components/admiralty-table-row.js +34 -0
- package/dist/components/admiralty-table-row.js.map +1 -0
- package/dist/components/admiralty-table.d.ts +11 -0
- package/dist/components/admiralty-table.js +37 -0
- package/dist/components/admiralty-table.js.map +1 -0
- package/dist/components/admiralty-textarea.d.ts +11 -0
- package/dist/components/admiralty-textarea.js +84 -0
- package/dist/components/admiralty-textarea.js.map +1 -0
- package/dist/components/admiralty-type-ahead-item.d.ts +11 -0
- package/dist/components/admiralty-type-ahead-item.js +37 -0
- package/dist/components/admiralty-type-ahead-item.js.map +1 -0
- package/dist/components/admiralty-type-ahead.d.ts +11 -0
- package/dist/components/admiralty-type-ahead.js +235 -0
- package/dist/components/admiralty-type-ahead.js.map +1 -0
- package/dist/components/button.js +55 -0
- package/dist/components/button.js.map +1 -0
- package/dist/components/expansion.js +62 -0
- package/dist/components/expansion.js.map +1 -0
- package/dist/components/hint.js +35 -0
- package/dist/components/hint.js.map +1 -0
- package/dist/components/icon.js +16529 -0
- package/dist/components/icon.js.map +1 -0
- package/dist/components/index.d.ts +27 -0
- package/dist/components/index.js +3 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/input-error.js +38 -0
- package/dist/components/input-error.js.map +1 -0
- package/dist/components/input.js +109 -0
- package/dist/components/input.js.map +1 -0
- package/dist/components/label.js +37 -0
- package/dist/components/label.js.map +1 -0
- package/dist/esm/admiralty-breadcrumb.entry.js +21 -0
- package/dist/esm/admiralty-breadcrumb.entry.js.map +1 -0
- package/dist/esm/admiralty-breadcrumbs.entry.js +44 -0
- package/dist/esm/admiralty-breadcrumbs.entry.js.map +1 -0
- package/dist/esm/admiralty-button.entry.js +22 -0
- package/dist/esm/admiralty-button.entry.js.map +1 -0
- package/dist/esm/admiralty-card.entry.js +18 -0
- package/dist/esm/admiralty-card.entry.js.map +1 -0
- package/dist/esm/admiralty-checkbox.entry.js +50 -0
- package/dist/esm/admiralty-checkbox.entry.js.map +1 -0
- package/dist/esm/admiralty-colour-block.entry.js +33 -0
- package/dist/esm/admiralty-colour-block.entry.js.map +1 -0
- package/dist/esm/admiralty-dialogue.entry.js +35 -0
- package/dist/esm/admiralty-dialogue.entry.js.map +1 -0
- package/dist/esm/admiralty-expansion.entry.js +38 -0
- package/dist/esm/admiralty-expansion.entry.js.map +1 -0
- package/dist/esm/admiralty-file-input.entry.js +85 -0
- package/dist/esm/admiralty-file-input.entry.js.map +1 -0
- package/dist/esm/admiralty-filter-group.entry.js +18 -0
- package/dist/esm/admiralty-filter-group.entry.js.map +1 -0
- package/dist/esm/admiralty-filter.entry.js +28 -0
- package/dist/esm/admiralty-filter.entry.js.map +1 -0
- package/dist/esm/admiralty-footer.entry.js +21 -0
- package/dist/esm/admiralty-footer.entry.js.map +1 -0
- package/dist/esm/admiralty-header-menu-item.entry.js +59 -0
- package/dist/esm/admiralty-header-menu-item.entry.js.map +1 -0
- package/dist/esm/admiralty-header-profile.entry.js +40 -0
- package/dist/esm/admiralty-header-profile.entry.js.map +1 -0
- package/dist/esm/admiralty-header-sub-menu-item.entry.js +24 -0
- package/dist/esm/admiralty-header-sub-menu-item.entry.js.map +1 -0
- package/dist/esm/admiralty-header.entry.js +28 -0
- package/dist/esm/admiralty-header.entry.js.map +1 -0
- package/dist/esm/admiralty-hint_3.entry.js +45 -0
- package/dist/esm/admiralty-hint_3.entry.js.map +1 -0
- package/dist/esm/admiralty-hr.entry.js +17 -0
- package/dist/esm/admiralty-hr.entry.js.map +1 -0
- package/dist/esm/admiralty-icon.entry.js +7041 -0
- package/dist/esm/admiralty-icon.entry.js.map +1 -0
- package/dist/esm/admiralty-input.entry.js +58 -0
- package/dist/esm/admiralty-input.entry.js.map +1 -0
- package/dist/esm/admiralty-link.entry.js +16 -0
- package/dist/esm/admiralty-link.entry.js.map +1 -0
- package/dist/esm/admiralty-paginator-wrapper.entry.js +28 -0
- package/dist/esm/admiralty-paginator-wrapper.entry.js.map +1 -0
- package/dist/esm/admiralty-paginator.entry.js +42 -0
- package/dist/esm/admiralty-paginator.entry.js.map +1 -0
- package/dist/esm/admiralty-phase-banner.entry.js +19 -0
- package/dist/esm/admiralty-phase-banner.entry.js.map +1 -0
- package/dist/esm/admiralty-progress-bar.entry.js +24 -0
- package/dist/esm/admiralty-progress-bar.entry.js.map +1 -0
- package/dist/esm/admiralty-radio-group.entry.js +67 -0
- package/dist/esm/admiralty-radio-group.entry.js.map +1 -0
- package/dist/esm/admiralty-radio.entry.js +60 -0
- package/dist/esm/admiralty-radio.entry.js.map +1 -0
- package/dist/esm/admiralty-select.entry.js +57 -0
- package/dist/esm/admiralty-select.entry.js.map +1 -0
- package/dist/esm/admiralty-side-nav-item.entry.js +35 -0
- package/dist/esm/admiralty-side-nav-item.entry.js.map +1 -0
- package/dist/esm/admiralty-side-nav-wrapper.entry.js +23 -0
- package/dist/esm/admiralty-side-nav-wrapper.entry.js.map +1 -0
- package/dist/esm/admiralty-side-nav.entry.js +18 -0
- package/dist/esm/admiralty-side-nav.entry.js.map +1 -0
- package/dist/esm/admiralty-table-body.entry.js +17 -0
- package/dist/esm/admiralty-table-body.entry.js.map +1 -0
- package/dist/esm/admiralty-table-cell.entry.js +17 -0
- package/dist/esm/admiralty-table-cell.entry.js.map +1 -0
- package/dist/esm/admiralty-table-header-cell.entry.js +17 -0
- package/dist/esm/admiralty-table-header-cell.entry.js.map +1 -0
- package/dist/esm/admiralty-table-header.entry.js +17 -0
- package/dist/esm/admiralty-table-header.entry.js.map +1 -0
- package/dist/esm/admiralty-table-row.entry.js +17 -0
- package/dist/esm/admiralty-table-row.entry.js.map +1 -0
- package/dist/esm/admiralty-table.entry.js +18 -0
- package/dist/esm/admiralty-table.entry.js.map +1 -0
- package/dist/esm/admiralty-textarea.entry.js +34 -0
- package/dist/esm/admiralty-textarea.entry.js.map +1 -0
- package/dist/esm/admiralty-type-ahead-item.entry.js +18 -0
- package/dist/esm/admiralty-type-ahead-item.entry.js.map +1 -0
- package/dist/esm/admiralty-type-ahead.entry.js +181 -0
- package/dist/esm/admiralty-type-ahead.entry.js.map +1 -0
- package/dist/esm/admiralty.js +23 -0
- package/dist/esm/admiralty.js.map +1 -0
- package/dist/esm/button.types-2655b2cf.js +12 -0
- package/dist/esm/button.types-2655b2cf.js.map +1 -0
- package/dist/esm/index-a64d8966.js +1942 -0
- package/dist/esm/index-a64d8966.js.map +1 -0
- package/dist/esm/index-e73d97b7.js +9474 -0
- package/dist/esm/index-e73d97b7.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +20 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +18 -0
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +8 -0
- package/dist/types/components/button/button.d.ts +23 -0
- package/dist/types/components/button/button.types.d.ts +7 -0
- package/dist/types/components/card/card.d.ts +7 -0
- package/dist/types/components/checkbox/checkbox.d.ts +52 -0
- package/dist/types/components/colour-block/colour-block.d.ts +27 -0
- package/dist/types/components/dialogue/dialogue.d.ts +13 -0
- package/dist/types/components/expansion/expansion.d.ts +30 -0
- package/dist/types/components/file-input/file-input.d.ts +53 -0
- package/dist/types/components/filter/filter.d.ts +21 -0
- package/dist/types/components/filter-group/filter-group.d.ts +10 -0
- package/dist/types/components/footer/footer.d.ts +25 -0
- package/dist/types/components/header/header.d.ts +33 -0
- package/dist/types/components/header/header.stories.data.d.ts +6 -0
- package/dist/types/components/header/header.types.d.ts +10 -0
- package/dist/types/components/header-menu-item/header-menu-item.d.ts +34 -0
- package/dist/types/components/header-profile/header-profile.d.ts +38 -0
- package/dist/types/components/header-sub-menu-item/header-sub-menu-item.d.ts +13 -0
- package/dist/types/components/hint/hint.d.ts +11 -0
- package/dist/types/components/horizontal-rule/horizontal-rule.d.ts +3 -0
- package/dist/types/components/icon/icon.d.ts +17 -0
- package/dist/types/components/input/input.d.ts +71 -0
- package/dist/types/components/input/input.interface.d.ts +3 -0
- package/dist/types/components/input-error/input-error.d.ts +7 -0
- package/dist/types/components/label/label.d.ts +15 -0
- package/dist/types/components/link/link.d.ts +11 -0
- package/dist/types/components/paginator/paginator.d.ts +26 -0
- package/dist/types/components/paginator/paginator.stories.data.d.ts +10 -0
- package/dist/types/components/phase-banner/phase-banner.d.ts +11 -0
- package/dist/types/components/progress-bar/progress-bar.d.ts +19 -0
- package/dist/types/components/radio/radio.d.ts +44 -0
- package/dist/types/components/radio-group/radio-group.d.ts +27 -0
- package/dist/types/components/select/select.d.ts +48 -0
- package/dist/types/components/select/select.types.d.ts +4 -0
- package/dist/types/components/side-nav/side-nav.d.ts +8 -0
- package/dist/types/components/side-nav/side-nav.stories.data.d.ts +10 -0
- package/dist/types/components/side-nav-item/side-nav-item.d.ts +26 -0
- package/dist/types/components/table/table.d.ts +8 -0
- package/dist/types/components/table-body/table-body.d.ts +7 -0
- package/dist/types/components/table-cell/table-cell.d.ts +7 -0
- package/dist/types/components/table-header/table-header.d.ts +7 -0
- package/dist/types/components/table-header-cell/table-header-cell.d.ts +7 -0
- package/dist/types/components/table-row/table-row.d.ts +7 -0
- package/dist/types/components/textarea/textarea.d.ts +45 -0
- package/dist/types/components/type-ahead/type-ahead.d.ts +66 -0
- package/dist/types/components/type-ahead-item/type-ahead-item.d.ts +4 -0
- package/dist/types/components.d.ts +1637 -0
- package/dist/types/index.d.ts +0 -0
- package/dist/types/stencil-public-runtime.d.ts +1637 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +21 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +11 -0
- package/package.json +69 -0
- package/styles/core.css +1 -0
- package/styles/core.css.map +1 -0
- package/styles/webfonts/JohnstonITC/bold/JohnstonITCStd-Bold.woff +0 -0
- package/styles/webfonts/JohnstonITC/bold/JohnstonITCStd-Bold.woff2 +0 -0
- package/styles/webfonts/JohnstonITC/italic/JohnstonITCStd-MediumIta.woff +0 -0
- package/styles/webfonts/JohnstonITC/italic/JohnstonITCStd-MediumIta.woff2 +0 -0
- package/styles/webfonts/JohnstonITC/light/JohnstonITCStd-Light.woff +0 -0
- package/styles/webfonts/JohnstonITC/light/JohnstonITCStd-Light.woff2 +0 -0
- package/styles/webfonts/JohnstonITC/light-italic/JohnstonITCStd-LightIta.woff +0 -0
- package/styles/webfonts/JohnstonITC/light-italic/JohnstonITCStd-LightIta.woff2 +0 -0
- package/styles/webfonts/JohnstonITC/medium/JohnstonITCStd-Medium.woff +0 -0
- package/styles/webfonts/JohnstonITC/medium/JohnstonITCStd-Medium.woff2 +0 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class CheckboxComponent {
|
|
3
|
+
private inputId;
|
|
4
|
+
/**
|
|
5
|
+
* Whether the checkbox should be positioned to the right of the label.
|
|
6
|
+
*/
|
|
7
|
+
checkboxRight: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* This dictates whether the form field is disabled.
|
|
10
|
+
*/
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The name of the control, which is submitted with the form data.
|
|
14
|
+
*/
|
|
15
|
+
name: string;
|
|
16
|
+
/**
|
|
17
|
+
* If `true`, the checkbox is selected.
|
|
18
|
+
*/
|
|
19
|
+
checked: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* The value of the checkbox does not mean if it's checked or not, use the `checked`
|
|
22
|
+
* property for that.
|
|
23
|
+
*
|
|
24
|
+
* The value of a checkbox is analogous to the value of an `<input type="checkbox">`,
|
|
25
|
+
* it's only used when the checkbox participates in a native `<form>`.
|
|
26
|
+
*/
|
|
27
|
+
value: any | null;
|
|
28
|
+
/**
|
|
29
|
+
* The text that's displayed alongside the checkbox
|
|
30
|
+
*/
|
|
31
|
+
labelText: string;
|
|
32
|
+
/**
|
|
33
|
+
* Event is fired when the form control changes state
|
|
34
|
+
* @event radioChanges
|
|
35
|
+
*/
|
|
36
|
+
checkboxChange: EventEmitter<any>;
|
|
37
|
+
/**
|
|
38
|
+
* Event is fired when the form control gains focus
|
|
39
|
+
* @event checkboxFocus
|
|
40
|
+
*/
|
|
41
|
+
checkboxFocus: EventEmitter<any>;
|
|
42
|
+
/**
|
|
43
|
+
* Event is fired when the form control loses focus
|
|
44
|
+
* @event checkboxBlur
|
|
45
|
+
*/
|
|
46
|
+
checkboxBlur: EventEmitter<any>;
|
|
47
|
+
checkedChanged(isChecked: boolean): void;
|
|
48
|
+
private onBlur;
|
|
49
|
+
private onClick;
|
|
50
|
+
private onFocus;
|
|
51
|
+
render(): any;
|
|
52
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare class ColourBlockComponent {
|
|
2
|
+
/**
|
|
3
|
+
* The width in pixels of the component.
|
|
4
|
+
*/
|
|
5
|
+
width: number;
|
|
6
|
+
/**
|
|
7
|
+
* The height in pixels of the component.
|
|
8
|
+
*/
|
|
9
|
+
height: number;
|
|
10
|
+
/**
|
|
11
|
+
* The heading text to display.
|
|
12
|
+
*/
|
|
13
|
+
heading: string;
|
|
14
|
+
/**
|
|
15
|
+
* The background colour of the component.
|
|
16
|
+
*/
|
|
17
|
+
colour: 'admiralty-blue' | 'teal' | 'bright-blue';
|
|
18
|
+
/**
|
|
19
|
+
* The function to call when the action button is pressed.
|
|
20
|
+
*/
|
|
21
|
+
clickAction: () => any;
|
|
22
|
+
/**
|
|
23
|
+
* The text to display on the action button
|
|
24
|
+
*/
|
|
25
|
+
actionText: string;
|
|
26
|
+
render(): any;
|
|
27
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
2
|
+
export declare class DialogueComponent {
|
|
3
|
+
/**
|
|
4
|
+
* The type of dialogue box to render.
|
|
5
|
+
*/
|
|
6
|
+
type: 'info' | 'warning' | 'success' | 'error';
|
|
7
|
+
/**
|
|
8
|
+
* The heading to display.
|
|
9
|
+
*/
|
|
10
|
+
heading: string;
|
|
11
|
+
getIconNameForType(): IconDefinition;
|
|
12
|
+
render(): any;
|
|
13
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
+
export declare class ExpansionComponent {
|
|
4
|
+
/**
|
|
5
|
+
* The text to display in the heading of the expansion component.
|
|
6
|
+
*/
|
|
7
|
+
heading: string;
|
|
8
|
+
/**
|
|
9
|
+
* Whether the component is expanded.
|
|
10
|
+
*/
|
|
11
|
+
expanded: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* CWhether the heading should be right aligned.
|
|
14
|
+
*/
|
|
15
|
+
alignHeadingRight: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Whether the border on the bottom of the component should be hidden.
|
|
18
|
+
*/
|
|
19
|
+
hideBorder: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* The event that is dispatched when the expanded status is toggled.
|
|
22
|
+
*/
|
|
23
|
+
toggled: EventEmitter<boolean>;
|
|
24
|
+
id: string;
|
|
25
|
+
headerId: string;
|
|
26
|
+
contentId: string;
|
|
27
|
+
onToggle(): void;
|
|
28
|
+
getExpansionIcon(): IconDefinition;
|
|
29
|
+
render(): any;
|
|
30
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class FileInputComponent {
|
|
3
|
+
el: HTMLElement;
|
|
4
|
+
/**
|
|
5
|
+
* Used to display instructions to the user and is replaced with the filename the user inputs
|
|
6
|
+
*/
|
|
7
|
+
label: string;
|
|
8
|
+
/**
|
|
9
|
+
* If true, enables multiple files to be selected or dragged
|
|
10
|
+
*/
|
|
11
|
+
multiple: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Emitted when the added file(s) changes
|
|
14
|
+
*/
|
|
15
|
+
fileInputChange: EventEmitter<File[]>;
|
|
16
|
+
id: string;
|
|
17
|
+
/**
|
|
18
|
+
* INTERNAL - The list of files currently in the field
|
|
19
|
+
*/
|
|
20
|
+
files: File[];
|
|
21
|
+
/**
|
|
22
|
+
* The event that is fired when the user clicks on the file input box and uses the default dialog
|
|
23
|
+
* @param event
|
|
24
|
+
*/
|
|
25
|
+
changeHandler(event: Event): void;
|
|
26
|
+
private storeFileInfo;
|
|
27
|
+
/**
|
|
28
|
+
* Prevents default dragOver behaviour which, stops the file being downloaded to the browser
|
|
29
|
+
* in a new tab
|
|
30
|
+
* @param event
|
|
31
|
+
*/
|
|
32
|
+
dragOverHandler(event: DragEvent): void;
|
|
33
|
+
/**
|
|
34
|
+
* When this event is fired the 'drop_zone' class is removed from the wrapper 'admiralty-file-input' div
|
|
35
|
+
* which, turns the background back to off white
|
|
36
|
+
* @param event
|
|
37
|
+
*/
|
|
38
|
+
dragLeaveHander(event: DragEvent): void;
|
|
39
|
+
/**
|
|
40
|
+
* Handles the 'file' the user drops into the input field
|
|
41
|
+
* Does a check if it's a file and update the interface with the filename and the size of the file
|
|
42
|
+
* @param event
|
|
43
|
+
*/
|
|
44
|
+
dropHandler(event: DragEvent): void;
|
|
45
|
+
get filesDisplay(): string;
|
|
46
|
+
/**
|
|
47
|
+
* Takes the bytes of a file and returns it as human readable figure
|
|
48
|
+
* @param bytes pass bytes throughs as a number
|
|
49
|
+
* @returns convers the bytes to the appropiate largest figure followed by the format ie. 'kb', 'mb' etc
|
|
50
|
+
*/
|
|
51
|
+
sizeOf: (bytes: number) => string;
|
|
52
|
+
render(): any;
|
|
53
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @slot - 'admiralty-filter-group' components can be placed inside of this element to render groups of filter controls. You can also place any elements you wish
|
|
4
|
+
*/
|
|
5
|
+
export declare class FilterComponent {
|
|
6
|
+
/**
|
|
7
|
+
* The title of the filter
|
|
8
|
+
*/
|
|
9
|
+
filterTitle: string;
|
|
10
|
+
/**
|
|
11
|
+
* Event that is emitted when the filters are cleared
|
|
12
|
+
*/
|
|
13
|
+
filterCleared: EventEmitter<void>;
|
|
14
|
+
/**
|
|
15
|
+
* Event that is emitted when the filters are applied
|
|
16
|
+
*/
|
|
17
|
+
filterApplied: EventEmitter<void>;
|
|
18
|
+
private onFilterCleared;
|
|
19
|
+
private onFilterApplied;
|
|
20
|
+
render(): any;
|
|
21
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @slot - Footer links should be placed in the slot e.g.
|
|
3
|
+
* `<admiralty-link href="http://www.example.com">Privacy Policy</admiralty-link>`
|
|
4
|
+
*/
|
|
5
|
+
export declare class FooterComponent {
|
|
6
|
+
/**
|
|
7
|
+
* The URL that the image links to.
|
|
8
|
+
*/
|
|
9
|
+
imageLink: string;
|
|
10
|
+
/**
|
|
11
|
+
* The source of the image displayed in the footer.
|
|
12
|
+
*/
|
|
13
|
+
imageSrc: string;
|
|
14
|
+
/**
|
|
15
|
+
* A description for the image displayed in the footer. This might be shown if the image
|
|
16
|
+
* fails to load or get read out by screen readers.
|
|
17
|
+
*/
|
|
18
|
+
imageAlt: string;
|
|
19
|
+
/**
|
|
20
|
+
* The text to display in the footer. The default value displays crown copyright, the
|
|
21
|
+
* current year and `UK Hydrographic Office`.
|
|
22
|
+
*/
|
|
23
|
+
text: string;
|
|
24
|
+
render(): any;
|
|
25
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @slot items - 'admiralty-header-menu-item menu-title' components are placed here for appropiate styling and behaviour
|
|
4
|
+
* @slot profile - 'admiralty-header-profile' components are placed here (the login/logout) options
|
|
5
|
+
*/
|
|
6
|
+
export declare class HeaderComponent {
|
|
7
|
+
/**
|
|
8
|
+
* The header title that is displayed to the right of the logo
|
|
9
|
+
*/
|
|
10
|
+
headerTitle: string;
|
|
11
|
+
/**
|
|
12
|
+
* The url that clicking on the nav link will take you too
|
|
13
|
+
*/
|
|
14
|
+
headerTitleUrl: string;
|
|
15
|
+
/**
|
|
16
|
+
* The destination url when the logo is clicked
|
|
17
|
+
*/
|
|
18
|
+
logoLinkUrl: string;
|
|
19
|
+
/**
|
|
20
|
+
* The uri of the logo image
|
|
21
|
+
*/
|
|
22
|
+
logoImgUrl: string;
|
|
23
|
+
/**
|
|
24
|
+
* The alternate image text for the logo image
|
|
25
|
+
*/
|
|
26
|
+
logoAltText: string;
|
|
27
|
+
/**
|
|
28
|
+
* Emits an event that can be listened to when the title in the header is clicked
|
|
29
|
+
*/
|
|
30
|
+
titledClicked: EventEmitter<string>;
|
|
31
|
+
private handleClick;
|
|
32
|
+
render(): any;
|
|
33
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { HeaderItem } from './header.types';
|
|
2
|
+
export declare const mockMenuItemsWithSubItems: HeaderItem[];
|
|
3
|
+
export declare const mockMenuItemsWithSubItemsAndNavActive: HeaderItem[];
|
|
4
|
+
export declare const mockMenuItemsWithSomeSubItems: HeaderItem[];
|
|
5
|
+
export declare const mockMenuItemsWithNoSubItems: HeaderItem[];
|
|
6
|
+
export declare const mockMenuItemsWithNoSubItemsAndNavActive: HeaderItem[];
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @slot - 'admiralty-sub-header-menu-item' a number of components can be placed here to add sub items
|
|
4
|
+
*/
|
|
5
|
+
export declare class HeaderMenuItemComponent {
|
|
6
|
+
el: HTMLElement;
|
|
7
|
+
/**
|
|
8
|
+
* The text that will be displayed in the menu
|
|
9
|
+
*/
|
|
10
|
+
menuTitle: string;
|
|
11
|
+
/**
|
|
12
|
+
* The text that will be displayed in the menu
|
|
13
|
+
*/
|
|
14
|
+
active?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The event that is fired when a user clicks on the menu
|
|
17
|
+
*/
|
|
18
|
+
menuItemClick: EventEmitter<void>;
|
|
19
|
+
subMenuExists: boolean;
|
|
20
|
+
subMenuSelector: HTMLElement;
|
|
21
|
+
connectedCallback(): void;
|
|
22
|
+
handleClick: (ev: MouseEvent) => CustomEvent<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Handles mouseover events, used to set the aria hidden attribute when submenu
|
|
25
|
+
* is visible
|
|
26
|
+
*/
|
|
27
|
+
handleMouseOver: () => void;
|
|
28
|
+
/**
|
|
29
|
+
* Handles mouseover events, used to set the aria hidden attribute when submenu
|
|
30
|
+
* is no longer visible
|
|
31
|
+
*/
|
|
32
|
+
handleMouseOut: () => void;
|
|
33
|
+
render(): any;
|
|
34
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class HeaderProfileComponent {
|
|
3
|
+
displaySubmenu: boolean;
|
|
4
|
+
/**
|
|
5
|
+
* A boolean to indicate if the user is signed in or not
|
|
6
|
+
*/
|
|
7
|
+
isSignedIn: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* The text that is displayed after the user signs in
|
|
10
|
+
*/
|
|
11
|
+
signedInText: string;
|
|
12
|
+
/**
|
|
13
|
+
* The event that is fired when the user clicks on
|
|
14
|
+
* the sign in button
|
|
15
|
+
*/
|
|
16
|
+
signInClicked: EventEmitter<void>;
|
|
17
|
+
/**
|
|
18
|
+
* The event that is fired when the user clicks on the
|
|
19
|
+
* 'Your account' button
|
|
20
|
+
*/
|
|
21
|
+
yourAccountClicked: EventEmitter<void>;
|
|
22
|
+
/**
|
|
23
|
+
* The event that is fired when the user clicks on the
|
|
24
|
+
* 'sign out' button
|
|
25
|
+
*/
|
|
26
|
+
signOutClicked: EventEmitter<void>;
|
|
27
|
+
/**
|
|
28
|
+
* TThe event that is fired when the user clicks 'user profile'
|
|
29
|
+
* on the profile sub menu
|
|
30
|
+
*/
|
|
31
|
+
userProfileClicked: EventEmitter<void>;
|
|
32
|
+
handleSignIn: () => void;
|
|
33
|
+
handleSignOut: () => void;
|
|
34
|
+
handleYouAccount: () => void;
|
|
35
|
+
openDropdown: () => void;
|
|
36
|
+
closeDropdown: () => void;
|
|
37
|
+
render(): any;
|
|
38
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class HeaderMenuItemComponent {
|
|
3
|
+
/**
|
|
4
|
+
* The text that will be displayed in the menu
|
|
5
|
+
*/
|
|
6
|
+
menuTitle: string;
|
|
7
|
+
/**
|
|
8
|
+
* The event that is fired when a user clicks on the menu
|
|
9
|
+
*/
|
|
10
|
+
subMenuItemClick: EventEmitter<void>;
|
|
11
|
+
handleClick: (ev: MouseEvent) => CustomEvent<void>;
|
|
12
|
+
render(): any;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @slot - The hint content should be placed in the slot e.g.
|
|
3
|
+
* `<admiralty-hint>Enter your full name</admiralty-hint>`
|
|
4
|
+
*/
|
|
5
|
+
export declare class HintComponent {
|
|
6
|
+
/**
|
|
7
|
+
* The disabled option can be used to disable the component.
|
|
8
|
+
*/
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
render(): any;
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IconName } from '@fortawesome/free-solid-svg-icons';
|
|
2
|
+
import { IconPrefix } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
+
export declare class IconComponent {
|
|
4
|
+
/**
|
|
5
|
+
* Name of the icon to be rendered
|
|
6
|
+
*
|
|
7
|
+
* Check out <a href="https://fontawesome.com/search?m=free}">FontAwesome</a> for a list of icons
|
|
8
|
+
*/
|
|
9
|
+
iconName: IconName;
|
|
10
|
+
/**
|
|
11
|
+
* The style prefix to apply to the icon
|
|
12
|
+
*
|
|
13
|
+
* By default, icons use Font Awesome's solid style
|
|
14
|
+
*/
|
|
15
|
+
iconPrefix: IconPrefix;
|
|
16
|
+
render(): any;
|
|
17
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { InputChangeEventDetail } from './input.interface';
|
|
3
|
+
/**
|
|
4
|
+
* Once this component works, review whether a form field component should be created so
|
|
5
|
+
* that shared properties such as `label`, `hint`, `disabled` etc. can be defined once.
|
|
6
|
+
* Examples of similar components that can extend that base component are area, select
|
|
7
|
+
* and checkbox.
|
|
8
|
+
*/
|
|
9
|
+
export declare class InputComponent implements ComponentInterface {
|
|
10
|
+
inputId: string;
|
|
11
|
+
private nativeInput?;
|
|
12
|
+
/**
|
|
13
|
+
* The name of the control, which is submitted with the form data.
|
|
14
|
+
*/
|
|
15
|
+
name: string;
|
|
16
|
+
/**
|
|
17
|
+
* The label which will be used above the input to describe the input.
|
|
18
|
+
*/
|
|
19
|
+
label: string;
|
|
20
|
+
/**
|
|
21
|
+
* The hint which will be used under the label to describe the input.
|
|
22
|
+
*/
|
|
23
|
+
hint: string;
|
|
24
|
+
/**
|
|
25
|
+
* This dictates whether the form field is disabled.
|
|
26
|
+
*/
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The input type, options are: `text | date | time | email | password | tel | url`
|
|
30
|
+
*/
|
|
31
|
+
type: 'text' | 'date' | 'time' | 'email' | 'password' | 'tel' | 'url';
|
|
32
|
+
/**
|
|
33
|
+
* The placeholder text to show in the input
|
|
34
|
+
*/
|
|
35
|
+
placeholder: string;
|
|
36
|
+
/**
|
|
37
|
+
* The maximum width for the input field.
|
|
38
|
+
*/
|
|
39
|
+
width: number;
|
|
40
|
+
/**
|
|
41
|
+
* This dictates whether the input is required or not
|
|
42
|
+
*/
|
|
43
|
+
required: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Whether to show the input in an invalid state
|
|
46
|
+
*/
|
|
47
|
+
invalid: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* The message to show when the input is invalid
|
|
50
|
+
*/
|
|
51
|
+
invalidMessage: string;
|
|
52
|
+
/**
|
|
53
|
+
* Indicates whether the value of the control can be automatically completed by the browser.
|
|
54
|
+
*/
|
|
55
|
+
autocomplete: string;
|
|
56
|
+
/**
|
|
57
|
+
* The value of the input.
|
|
58
|
+
*/
|
|
59
|
+
value?: string | number | null;
|
|
60
|
+
/**
|
|
61
|
+
* Emitted when the value has changed.
|
|
62
|
+
*/
|
|
63
|
+
admiraltyChange: EventEmitter<InputChangeEventDetail>;
|
|
64
|
+
/**
|
|
65
|
+
* Update the native input element when the value changes
|
|
66
|
+
*/
|
|
67
|
+
protected valueChanged(): void;
|
|
68
|
+
private onInput;
|
|
69
|
+
private getValue;
|
|
70
|
+
render(): any;
|
|
71
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @slot - The label content should be placed in the slot e.g.
|
|
3
|
+
* `<admiralty-label>First Name</admiralty-label>`
|
|
4
|
+
*/
|
|
5
|
+
export declare class LabelComponent {
|
|
6
|
+
/**
|
|
7
|
+
* The disabled option can be used to disable the component.
|
|
8
|
+
*/
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* The id of the input the label is attached to
|
|
12
|
+
*/
|
|
13
|
+
for: string;
|
|
14
|
+
render(): any;
|
|
15
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class PaginatorComponent {
|
|
3
|
+
/**
|
|
4
|
+
* The total number of pages. Defaults to 1.
|
|
5
|
+
*/
|
|
6
|
+
pages: number;
|
|
7
|
+
/**
|
|
8
|
+
* The current page. Defaults to 1.
|
|
9
|
+
*/
|
|
10
|
+
currentPage: number;
|
|
11
|
+
/**
|
|
12
|
+
* The label to display.
|
|
13
|
+
*/
|
|
14
|
+
label: string;
|
|
15
|
+
/**
|
|
16
|
+
* Dispatched when the previous or next button is pressed. The event detail contains
|
|
17
|
+
* the requested page number.
|
|
18
|
+
*/
|
|
19
|
+
pageChange: EventEmitter<number>;
|
|
20
|
+
readonly maxLength = 7;
|
|
21
|
+
pageChanged(page: number): void;
|
|
22
|
+
onKeydown(event: KeyboardEvent, navFn: Function): void;
|
|
23
|
+
prev(): void;
|
|
24
|
+
next(): void;
|
|
25
|
+
render(): any;
|
|
26
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* Wrapper for the Paginator to demonstrate how the label and current page properties
|
|
4
|
+
* can be updated.
|
|
5
|
+
*/
|
|
6
|
+
export declare class PaginatorWrapperComponent {
|
|
7
|
+
el: HTMLElement;
|
|
8
|
+
pageChangedHandler(event: CustomEvent<any>): void;
|
|
9
|
+
render(): any;
|
|
10
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare class ProgressBarComponent {
|
|
2
|
+
private id;
|
|
3
|
+
/**
|
|
4
|
+
* If set, adds a label above the progress bar
|
|
5
|
+
*/
|
|
6
|
+
label?: string;
|
|
7
|
+
/** * A value from 0 - 100 that visually represents the current progression
|
|
8
|
+
*/
|
|
9
|
+
progression: number;
|
|
10
|
+
/**
|
|
11
|
+
* Set to true to indicate an error (turns the progress bar red)
|
|
12
|
+
*/
|
|
13
|
+
error: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Progress value, min:0, max: 100
|
|
16
|
+
*/
|
|
17
|
+
progressionValue: number;
|
|
18
|
+
render(): any;
|
|
19
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class RadioComponent {
|
|
3
|
+
private inputId;
|
|
4
|
+
private nativeInput;
|
|
5
|
+
private radioGroup;
|
|
6
|
+
el: HTMLElement;
|
|
7
|
+
/**
|
|
8
|
+
* The tabindex of the radio button.
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
buttonTabindex: number;
|
|
12
|
+
/**
|
|
13
|
+
* The name of the radio button for use on selection within a radio group
|
|
14
|
+
*/
|
|
15
|
+
name: string;
|
|
16
|
+
/**
|
|
17
|
+
* The value of the radio button for use on selection within a radio group
|
|
18
|
+
*/
|
|
19
|
+
value: string | null;
|
|
20
|
+
/**
|
|
21
|
+
* Determines whether the radio button is disabled. A button in disabled state will not fire click output events.
|
|
22
|
+
*/
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Determines whether the radio button is selected (or checked)
|
|
26
|
+
*/
|
|
27
|
+
checked?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Emitted when the radio button gains focus.
|
|
30
|
+
*/
|
|
31
|
+
admiraltyFocus: EventEmitter<void>;
|
|
32
|
+
/**
|
|
33
|
+
* Emitted when the radio button loses focus.
|
|
34
|
+
*/
|
|
35
|
+
admiraltyBlur: EventEmitter<void>;
|
|
36
|
+
connectedCallback(): void;
|
|
37
|
+
/** @internal */
|
|
38
|
+
setButtonTabindex(value: number): Promise<void>;
|
|
39
|
+
private updateState;
|
|
40
|
+
private onClick;
|
|
41
|
+
private onFocus;
|
|
42
|
+
private onBlur;
|
|
43
|
+
render(): any;
|
|
44
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EventEmitter, ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class RadioGroupComponent implements ComponentInterface {
|
|
3
|
+
private inputId;
|
|
4
|
+
el: HTMLElement;
|
|
5
|
+
/**
|
|
6
|
+
* The name of the control, which is submitted with the form data
|
|
7
|
+
*/
|
|
8
|
+
name: string;
|
|
9
|
+
/**
|
|
10
|
+
* The value of the radio group
|
|
11
|
+
*/
|
|
12
|
+
value: any | null;
|
|
13
|
+
/**
|
|
14
|
+
* Setting this true displays the radio options vertically (defaults to false)
|
|
15
|
+
*/
|
|
16
|
+
displayVertical: boolean;
|
|
17
|
+
valueChanged(value: any): void;
|
|
18
|
+
/**
|
|
19
|
+
* Event fired when the checked radio button changes
|
|
20
|
+
*/
|
|
21
|
+
radioChange: EventEmitter<any>;
|
|
22
|
+
componentDidLoad(): void;
|
|
23
|
+
private setRadioTabindex;
|
|
24
|
+
private getRadios;
|
|
25
|
+
private onClick;
|
|
26
|
+
render(): any;
|
|
27
|
+
}
|