@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,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"entries": [
|
|
3
|
+
"./components/breadcrumb/breadcrumb.js",
|
|
4
|
+
"./components/breadcrumbs/breadcrumbs.js",
|
|
5
|
+
"./components/button/button.js",
|
|
6
|
+
"./components/card/card.js",
|
|
7
|
+
"./components/checkbox/checkbox.js",
|
|
8
|
+
"./components/colour-block/colour-block.js",
|
|
9
|
+
"./components/dialogue/dialogue.js",
|
|
10
|
+
"./components/expansion/expansion.js",
|
|
11
|
+
"./components/file-input/file-input.js",
|
|
12
|
+
"./components/filter/filter.js",
|
|
13
|
+
"./components/filter-group/filter-group.js",
|
|
14
|
+
"./components/footer/footer.js",
|
|
15
|
+
"./components/header/header.js",
|
|
16
|
+
"./components/header-menu-item/header-menu-item.js",
|
|
17
|
+
"./components/header-profile/header-profile.js",
|
|
18
|
+
"./components/header-sub-menu-item/header-sub-menu-item.js",
|
|
19
|
+
"./components/hint/hint.js",
|
|
20
|
+
"./components/horizontal-rule/horizontal-rule.js",
|
|
21
|
+
"./components/icon/icon.js",
|
|
22
|
+
"./components/input/input.js",
|
|
23
|
+
"./components/input-error/input-error.js",
|
|
24
|
+
"./components/label/label.js",
|
|
25
|
+
"./components/link/link.js",
|
|
26
|
+
"./components/paginator/paginator.stories.data.js",
|
|
27
|
+
"./components/paginator/paginator.js",
|
|
28
|
+
"./components/phase-banner/phase-banner.js",
|
|
29
|
+
"./components/progress-bar/progress-bar.js",
|
|
30
|
+
"./components/radio/radio.js",
|
|
31
|
+
"./components/radio-group/radio-group.js",
|
|
32
|
+
"./components/select/select.js",
|
|
33
|
+
"./components/side-nav/side-nav.stories.data.js",
|
|
34
|
+
"./components/side-nav/side-nav.js",
|
|
35
|
+
"./components/side-nav-item/side-nav-item.js",
|
|
36
|
+
"./components/table/table.js",
|
|
37
|
+
"./components/table-body/table-body.js",
|
|
38
|
+
"./components/table-cell/table-cell.js",
|
|
39
|
+
"./components/table-header/table-header.js",
|
|
40
|
+
"./components/table-header-cell/table-header-cell.js",
|
|
41
|
+
"./components/table-row/table-row.js",
|
|
42
|
+
"./components/textarea/textarea.js",
|
|
43
|
+
"./components/type-ahead/type-ahead.js",
|
|
44
|
+
"./components/type-ahead-item/type-ahead-item.js"
|
|
45
|
+
],
|
|
46
|
+
"compiler": {
|
|
47
|
+
"name": "@stencil/core",
|
|
48
|
+
"version": "3.2.0",
|
|
49
|
+
"typescriptVersion": "4.9.5"
|
|
50
|
+
},
|
|
51
|
+
"collections": [],
|
|
52
|
+
"bundles": []
|
|
53
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/* Device Sizes - matching layout breakpoints */
|
|
2
|
+
@media (max-width: 1023px) {
|
|
3
|
+
.desktop-only {
|
|
4
|
+
display: none;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@media (min-width: 1024px) {
|
|
9
|
+
.not-desktop {
|
|
10
|
+
display: none;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@media (min-width: 1024px) {
|
|
15
|
+
.tablet-only {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
@media (max-width: 479px) and (min-width: 0px) {
|
|
20
|
+
.tablet-only {
|
|
21
|
+
display: none;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@media (max-width: 479px) and (min-width: 0px) {
|
|
26
|
+
.tablet-or-desktop {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@media (min-width: 1024px) {
|
|
32
|
+
.phone-or-tablet {
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@media (min-width: 1024px) {
|
|
38
|
+
.phone-only {
|
|
39
|
+
display: none;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
@media (max-width: 1023px) and (min-width: 480px) {
|
|
43
|
+
.phone-only {
|
|
44
|
+
display: none;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* Core Palette */
|
|
49
|
+
/* Supporting Palette */
|
|
50
|
+
/* Secondary Palette */
|
|
51
|
+
/* Digital Product Colours */
|
|
52
|
+
/* Utility Colours */
|
|
53
|
+
/* Button Colours */
|
|
54
|
+
/* Primary */
|
|
55
|
+
/* Secondary */
|
|
56
|
+
/* Link Colours */
|
|
57
|
+
/* Nav colours */
|
|
58
|
+
/* Table colours */
|
|
59
|
+
/* Tab colours */
|
|
60
|
+
/* form text input colours */
|
|
61
|
+
/* form textarea colours */
|
|
62
|
+
/* radio button */
|
|
63
|
+
/* checkbox */
|
|
64
|
+
/* code snippet */
|
|
65
|
+
:host {
|
|
66
|
+
display: flex;
|
|
67
|
+
align-items: center;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.breadcrumb-icon {
|
|
71
|
+
margin: 0 10px;
|
|
72
|
+
font-size: 12px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
a {
|
|
76
|
+
display: inline-block;
|
|
77
|
+
font-size: 14px;
|
|
78
|
+
font-weight: 300;
|
|
79
|
+
text-decoration: none;
|
|
80
|
+
color: #333333;
|
|
81
|
+
margin: 10px 2px;
|
|
82
|
+
}
|
|
83
|
+
a:hover {
|
|
84
|
+
color: #09315b;
|
|
85
|
+
}
|
|
86
|
+
a.active {
|
|
87
|
+
color: #09315b;
|
|
88
|
+
font-weight: normal;
|
|
89
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { h, Host } from '@stencil/core';
|
|
2
|
+
import { faChevronRight } from '@fortawesome/free-solid-svg-icons';
|
|
3
|
+
export class BreadcrumbComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.active = false;
|
|
6
|
+
this.first = undefined;
|
|
7
|
+
this.href = undefined;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, null, !this.first && h("admiralty-icon", { class: "breadcrumb-icon", "icon-name": faChevronRight.iconName }), h("a", { class: { active: this.active }, href: this.href || '#' }, h("slot", null))));
|
|
11
|
+
}
|
|
12
|
+
static get is() { return "admiralty-breadcrumb"; }
|
|
13
|
+
static get encapsulation() { return "shadow"; }
|
|
14
|
+
static get originalStyleUrls() {
|
|
15
|
+
return {
|
|
16
|
+
"$": ["breadcrumb.scss"]
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
static get styleUrls() {
|
|
20
|
+
return {
|
|
21
|
+
"$": ["breadcrumb.css"]
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
static get properties() {
|
|
25
|
+
return {
|
|
26
|
+
"active": {
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"mutable": false,
|
|
29
|
+
"complexType": {
|
|
30
|
+
"original": "boolean",
|
|
31
|
+
"resolved": "boolean",
|
|
32
|
+
"references": {}
|
|
33
|
+
},
|
|
34
|
+
"required": false,
|
|
35
|
+
"optional": false,
|
|
36
|
+
"docs": {
|
|
37
|
+
"tags": [],
|
|
38
|
+
"text": "When `true` the breadcrumb will by styled to show that it is the\ncurrently active breadcrumb. Defaults to `true` for the\nlast breadcrumb if it is not set on any."
|
|
39
|
+
},
|
|
40
|
+
"attribute": "active",
|
|
41
|
+
"reflect": false,
|
|
42
|
+
"defaultValue": "false"
|
|
43
|
+
},
|
|
44
|
+
"first": {
|
|
45
|
+
"type": "boolean",
|
|
46
|
+
"mutable": false,
|
|
47
|
+
"complexType": {
|
|
48
|
+
"original": "boolean",
|
|
49
|
+
"resolved": "boolean",
|
|
50
|
+
"references": {}
|
|
51
|
+
},
|
|
52
|
+
"required": true,
|
|
53
|
+
"optional": false,
|
|
54
|
+
"docs": {
|
|
55
|
+
"tags": [{
|
|
56
|
+
"name": "internal",
|
|
57
|
+
"text": "When set to `true` the breadcrumb will not be prefixed with a chevron."
|
|
58
|
+
}],
|
|
59
|
+
"text": ""
|
|
60
|
+
},
|
|
61
|
+
"attribute": "first",
|
|
62
|
+
"reflect": false
|
|
63
|
+
},
|
|
64
|
+
"href": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"mutable": false,
|
|
67
|
+
"complexType": {
|
|
68
|
+
"original": "string | undefined",
|
|
69
|
+
"resolved": "string",
|
|
70
|
+
"references": {}
|
|
71
|
+
},
|
|
72
|
+
"required": false,
|
|
73
|
+
"optional": false,
|
|
74
|
+
"docs": {
|
|
75
|
+
"tags": [],
|
|
76
|
+
"text": "Contains a URL or a URL fragment that the hyperlink points to."
|
|
77
|
+
},
|
|
78
|
+
"attribute": "href",
|
|
79
|
+
"reflect": false
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=breadcrumb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb.js","sourceRoot":"","sources":["../../../src/components/breadcrumb/breadcrumb.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAOnE,MAAM,OAAO,mBAAmB;;kBAMb,KAAK;;;;EAatB,MAAM;IACJ,OAAO,CACL,EAAC,IAAI;MACF,CAAC,IAAI,CAAC,KAAK,IAAI,sBAAgB,KAAK,EAAC,iBAAiB,eAAY,cAAc,CAAC,QAAQ,GAAmB;MAC7G,SAAG,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,GAAG;QACvD,eAAa,CACX,CACC,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, Host } from '@stencil/core';\nimport { faChevronRight } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n tag: 'admiralty-breadcrumb',\n styleUrl: 'breadcrumb.scss',\n shadow: true,\n})\nexport class BreadcrumbComponent {\n /**\n * When `true` the breadcrumb will by styled to show that it is the\n * currently active breadcrumb. Defaults to `true` for the\n * last breadcrumb if it is not set on any.\n */\n @Prop() active = false;\n\n /**\n * @internal\n * When set to `true` the breadcrumb will not be prefixed with a chevron.\n */\n @Prop() first!: boolean;\n\n /**\n * Contains a URL or a URL fragment that the hyperlink points to.\n */\n @Prop() href: string | undefined;\n\n render() {\n return (\n <Host>\n {!this.first && <admiralty-icon class=\"breadcrumb-icon\" icon-name={faChevronRight.iconName}></admiralty-icon>}\n <a class={{ active: this.active }} href={this.href || '#'}>\n <slot></slot>\n </a>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* Core Palette */
|
|
2
|
+
/* Supporting Palette */
|
|
3
|
+
/* Secondary Palette */
|
|
4
|
+
/* Digital Product Colours */
|
|
5
|
+
/* Utility Colours */
|
|
6
|
+
/* Button Colours */
|
|
7
|
+
/* Primary */
|
|
8
|
+
/* Secondary */
|
|
9
|
+
/* Link Colours */
|
|
10
|
+
/* Nav colours */
|
|
11
|
+
/* Table colours */
|
|
12
|
+
/* Tab colours */
|
|
13
|
+
/* form text input colours */
|
|
14
|
+
/* form textarea colours */
|
|
15
|
+
/* radio button */
|
|
16
|
+
/* checkbox */
|
|
17
|
+
/* code snippet */
|
|
18
|
+
.breadcrumbs {
|
|
19
|
+
width: 100%;
|
|
20
|
+
box-sizing: border-box;
|
|
21
|
+
display: inline-flex;
|
|
22
|
+
border-bottom: 1px solid #d8d8d8;
|
|
23
|
+
background-color: #ffffff;
|
|
24
|
+
padding: 0 20px;
|
|
25
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export class BreadcrumbsComponent {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.breadcrumbsInit = () => {
|
|
5
|
+
this.setActiveBreadcrumb();
|
|
6
|
+
};
|
|
7
|
+
this.setActiveBreadcrumb = () => {
|
|
8
|
+
const breadcrumbs = this.getBreadcrumbs();
|
|
9
|
+
// Check if an active breadcrumb exists already
|
|
10
|
+
const active = breadcrumbs.find(breadcrumb => breadcrumb.active);
|
|
11
|
+
// Set the active status
|
|
12
|
+
for (const breadcrumb of breadcrumbs) {
|
|
13
|
+
const isFirst = breadcrumb === breadcrumbs[0];
|
|
14
|
+
const isLast = breadcrumb === breadcrumbs[breadcrumbs.length - 1];
|
|
15
|
+
if (isFirst) {
|
|
16
|
+
breadcrumb.first = true;
|
|
17
|
+
}
|
|
18
|
+
// When no active breadcrumb, set the last one to active
|
|
19
|
+
if (!active && isLast) {
|
|
20
|
+
breadcrumb.active = true;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
this.getBreadcrumbs = () => {
|
|
25
|
+
return Array.from(this.el.querySelectorAll('admiralty-breadcrumb'));
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
componentWillLoad() {
|
|
29
|
+
this.breadcrumbsInit();
|
|
30
|
+
}
|
|
31
|
+
render() {
|
|
32
|
+
return (h("nav", { class: "breadcrumbs", "aria-label": "breadcrumbs" }, h("slot", null)));
|
|
33
|
+
}
|
|
34
|
+
static get is() { return "admiralty-breadcrumbs"; }
|
|
35
|
+
static get encapsulation() { return "shadow"; }
|
|
36
|
+
static get originalStyleUrls() {
|
|
37
|
+
return {
|
|
38
|
+
"$": ["breadcrumbs.scss"]
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
static get styleUrls() {
|
|
42
|
+
return {
|
|
43
|
+
"$": ["breadcrumbs.css"]
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static get elementRef() { return "el"; }
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=breadcrumbs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumbs.js","sourceRoot":"","sources":["../../../src/components/breadcrumbs/breadcrumbs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAOtD,MAAM,OAAO,oBAAoB;EALjC;IAYU,oBAAe,GAAG,GAAG,EAAE;MAC7B,IAAI,CAAC,mBAAmB,EAAE,CAAC;IAC7B,CAAC,CAAC;IAEM,wBAAmB,GAAG,GAAG,EAAE;MACjC,MAAM,WAAW,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;MAE1C,+CAA+C;MAC/C,MAAM,MAAM,GAAG,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;MAEjE,wBAAwB;MACxB,KAAK,MAAM,UAAU,IAAI,WAAW,EAAE;QACpC,MAAM,OAAO,GAAG,UAAU,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC;QAC9C,MAAM,MAAM,GAAG,UAAU,KAAK,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAElE,IAAI,OAAO,EAAE;UACX,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC;SACzB;QAED,wDAAwD;QACxD,IAAI,CAAC,MAAM,IAAI,MAAM,EAAE;UACrB,UAAU,CAAC,MAAM,GAAG,IAAI,CAAC;SAC1B;OACF;IACH,CAAC,CAAC;IAEM,mBAAc,GAAG,GAAqC,EAAE;MAC9D,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,CAAC,CAAC;IACtE,CAAC,CAAC;GASH;EAzCC,iBAAiB;IACf,IAAI,CAAC,eAAe,EAAE,CAAC;EACzB,CAAC;EAgCD,MAAM;IACJ,OAAO,CACL,WAAK,KAAK,EAAC,aAAa,gBAAY,aAAa;MAC/C,eAAa,CACT,CACP,CAAC;EACJ,CAAC;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h } from '@stencil/core';\n\n@Component({\n tag: 'admiralty-breadcrumbs',\n styleUrl: 'breadcrumbs.scss',\n shadow: true,\n})\nexport class BreadcrumbsComponent {\n @Element() el!: HTMLElement;\n\n componentWillLoad() {\n this.breadcrumbsInit();\n }\n\n private breadcrumbsInit = () => {\n this.setActiveBreadcrumb();\n };\n\n private setActiveBreadcrumb = () => {\n const breadcrumbs = this.getBreadcrumbs();\n\n // Check if an active breadcrumb exists already\n const active = breadcrumbs.find(breadcrumb => breadcrumb.active);\n\n // Set the active status\n for (const breadcrumb of breadcrumbs) {\n const isFirst = breadcrumb === breadcrumbs[0];\n const isLast = breadcrumb === breadcrumbs[breadcrumbs.length - 1];\n\n if (isFirst) {\n breadcrumb.first = true;\n }\n\n // When no active breadcrumb, set the last one to active\n if (!active && isLast) {\n breadcrumb.active = true;\n }\n }\n };\n\n private getBreadcrumbs = (): HTMLAdmiraltyBreadcrumbElement[] => {\n return Array.from(this.el.querySelectorAll('admiralty-breadcrumb'));\n };\n\n render() {\n return (\n <nav class=\"breadcrumbs\" aria-label=\"breadcrumbs\">\n <slot></slot>\n </nav>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
/* Device Sizes - matching layout breakpoints */
|
|
2
|
+
@media (max-width: 1023px) {
|
|
3
|
+
.desktop-only {
|
|
4
|
+
display: none;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@media (min-width: 1024px) {
|
|
9
|
+
.not-desktop {
|
|
10
|
+
display: none;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@media (min-width: 1024px) {
|
|
15
|
+
.tablet-only {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
@media (max-width: 479px) and (min-width: 0px) {
|
|
20
|
+
.tablet-only {
|
|
21
|
+
display: none;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@media (max-width: 479px) and (min-width: 0px) {
|
|
26
|
+
.tablet-or-desktop {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@media (min-width: 1024px) {
|
|
32
|
+
.phone-or-tablet {
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@media (min-width: 1024px) {
|
|
38
|
+
.phone-only {
|
|
39
|
+
display: none;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
@media (max-width: 1023px) and (min-width: 480px) {
|
|
43
|
+
.phone-only {
|
|
44
|
+
display: none;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* Core Palette */
|
|
49
|
+
/* Supporting Palette */
|
|
50
|
+
/* Secondary Palette */
|
|
51
|
+
/* Digital Product Colours */
|
|
52
|
+
/* Utility Colours */
|
|
53
|
+
/* Button Colours */
|
|
54
|
+
/* Primary */
|
|
55
|
+
/* Secondary */
|
|
56
|
+
/* Link Colours */
|
|
57
|
+
/* Nav colours */
|
|
58
|
+
/* Table colours */
|
|
59
|
+
/* Tab colours */
|
|
60
|
+
/* form text input colours */
|
|
61
|
+
/* form textarea colours */
|
|
62
|
+
/* radio button */
|
|
63
|
+
/* checkbox */
|
|
64
|
+
/* code snippet */
|
|
65
|
+
/* Primary Buttons */
|
|
66
|
+
button.primary {
|
|
67
|
+
display: inline-flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
justify-content: center;
|
|
70
|
+
font-family: "JohnstonITC", Helvetica, sans-serif;
|
|
71
|
+
font-size: 18px;
|
|
72
|
+
line-height: 24px;
|
|
73
|
+
font-size: 21px;
|
|
74
|
+
font-weight: normal;
|
|
75
|
+
background-color: unset;
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
height: 60px;
|
|
78
|
+
padding: 15px 18px;
|
|
79
|
+
white-space: nowrap;
|
|
80
|
+
min-width: 200px;
|
|
81
|
+
background-color: #09315b;
|
|
82
|
+
color: #ffffff;
|
|
83
|
+
border: 2px solid #09315b;
|
|
84
|
+
}
|
|
85
|
+
button.primary:focus {
|
|
86
|
+
outline: 3px solid #ffdd00;
|
|
87
|
+
}
|
|
88
|
+
button.primary:disabled {
|
|
89
|
+
cursor: default;
|
|
90
|
+
}
|
|
91
|
+
button.primary:disabled * {
|
|
92
|
+
pointer-events: none;
|
|
93
|
+
}
|
|
94
|
+
button.primary i {
|
|
95
|
+
display: inline-block;
|
|
96
|
+
font-size: 24px;
|
|
97
|
+
color: #ffffff;
|
|
98
|
+
padding-left: 15px;
|
|
99
|
+
}
|
|
100
|
+
@media (max-width: 1023px) {
|
|
101
|
+
button.primary {
|
|
102
|
+
min-width: unset;
|
|
103
|
+
max-width: 200px;
|
|
104
|
+
width: 100%;
|
|
105
|
+
height: 50px;
|
|
106
|
+
padding: 10px 18px;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
button.primary i {
|
|
110
|
+
display: inline-block;
|
|
111
|
+
font-size: 24px;
|
|
112
|
+
color: #ffffff;
|
|
113
|
+
padding-left: 15px;
|
|
114
|
+
}
|
|
115
|
+
button.primary:hover {
|
|
116
|
+
background-color: #03284f;
|
|
117
|
+
border: 2px solid #03284f;
|
|
118
|
+
}
|
|
119
|
+
button.primary:enabled:active {
|
|
120
|
+
background-color: #ffffff;
|
|
121
|
+
border: 2px solid #09315b;
|
|
122
|
+
color: #09315b;
|
|
123
|
+
}
|
|
124
|
+
button.primary:enabled:active i {
|
|
125
|
+
color: #09315b;
|
|
126
|
+
}
|
|
127
|
+
button.primary:enabled:active p {
|
|
128
|
+
color: #09315b;
|
|
129
|
+
}
|
|
130
|
+
button.primary:disabled {
|
|
131
|
+
background-color: #adadad;
|
|
132
|
+
border: 2px solid #adadad;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/* Secondary Buttons */
|
|
136
|
+
button.secondary {
|
|
137
|
+
display: inline-flex;
|
|
138
|
+
align-items: center;
|
|
139
|
+
justify-content: center;
|
|
140
|
+
font-family: "JohnstonITC", Helvetica, sans-serif;
|
|
141
|
+
font-size: 18px;
|
|
142
|
+
line-height: 24px;
|
|
143
|
+
font-size: 21px;
|
|
144
|
+
font-weight: normal;
|
|
145
|
+
background-color: unset;
|
|
146
|
+
cursor: pointer;
|
|
147
|
+
height: 60px;
|
|
148
|
+
padding: 15px 18px;
|
|
149
|
+
white-space: nowrap;
|
|
150
|
+
min-width: 200px;
|
|
151
|
+
background-color: #ffffff;
|
|
152
|
+
color: #05284e;
|
|
153
|
+
border: 2px solid #05284e;
|
|
154
|
+
}
|
|
155
|
+
button.secondary:focus {
|
|
156
|
+
outline: 3px solid #ffdd00;
|
|
157
|
+
}
|
|
158
|
+
button.secondary:disabled {
|
|
159
|
+
cursor: default;
|
|
160
|
+
}
|
|
161
|
+
button.secondary:disabled * {
|
|
162
|
+
pointer-events: none;
|
|
163
|
+
}
|
|
164
|
+
button.secondary i {
|
|
165
|
+
display: inline-block;
|
|
166
|
+
font-size: 24px;
|
|
167
|
+
color: #ffffff;
|
|
168
|
+
padding-left: 15px;
|
|
169
|
+
}
|
|
170
|
+
@media (max-width: 1023px) {
|
|
171
|
+
button.secondary {
|
|
172
|
+
min-width: unset;
|
|
173
|
+
max-width: 200px;
|
|
174
|
+
width: 100%;
|
|
175
|
+
height: 50px;
|
|
176
|
+
padding: 10px 18px;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
button.secondary i {
|
|
180
|
+
display: inline-block;
|
|
181
|
+
font-size: 24px;
|
|
182
|
+
color: #ffffff;
|
|
183
|
+
padding-left: 15px;
|
|
184
|
+
}
|
|
185
|
+
button.secondary:hover {
|
|
186
|
+
background-color: #eeeeee;
|
|
187
|
+
border: 2px solid #05284e;
|
|
188
|
+
}
|
|
189
|
+
button.secondary:enabled:active {
|
|
190
|
+
background-color: #05284e;
|
|
191
|
+
border: 2px solid #05284e;
|
|
192
|
+
color: #ffffff;
|
|
193
|
+
}
|
|
194
|
+
button.secondary:enabled:active i {
|
|
195
|
+
color: #ffffff;
|
|
196
|
+
}
|
|
197
|
+
button.secondary:enabled:active p {
|
|
198
|
+
color: #ffffff;
|
|
199
|
+
}
|
|
200
|
+
button.secondary:disabled {
|
|
201
|
+
background-color: #adadad;
|
|
202
|
+
border: 2px solid #adadad;
|
|
203
|
+
}
|
|
204
|
+
button.secondary i {
|
|
205
|
+
color: #05284e;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/* Warning Buttons */
|
|
209
|
+
button.warning {
|
|
210
|
+
display: inline-flex;
|
|
211
|
+
align-items: center;
|
|
212
|
+
justify-content: center;
|
|
213
|
+
font-family: "JohnstonITC", Helvetica, sans-serif;
|
|
214
|
+
font-size: 18px;
|
|
215
|
+
line-height: 24px;
|
|
216
|
+
font-size: 21px;
|
|
217
|
+
font-weight: normal;
|
|
218
|
+
background-color: unset;
|
|
219
|
+
cursor: pointer;
|
|
220
|
+
height: 60px;
|
|
221
|
+
padding: 15px 18px;
|
|
222
|
+
white-space: nowrap;
|
|
223
|
+
min-width: 200px;
|
|
224
|
+
background-color: #e20d0d;
|
|
225
|
+
color: #ffffff;
|
|
226
|
+
border: 2px solid #e20d0d;
|
|
227
|
+
}
|
|
228
|
+
button.warning:focus {
|
|
229
|
+
outline: 3px solid #ffdd00;
|
|
230
|
+
}
|
|
231
|
+
button.warning:disabled {
|
|
232
|
+
cursor: default;
|
|
233
|
+
}
|
|
234
|
+
button.warning:disabled * {
|
|
235
|
+
pointer-events: none;
|
|
236
|
+
}
|
|
237
|
+
button.warning i {
|
|
238
|
+
display: inline-block;
|
|
239
|
+
font-size: 24px;
|
|
240
|
+
color: #ffffff;
|
|
241
|
+
padding-left: 15px;
|
|
242
|
+
}
|
|
243
|
+
@media (max-width: 1023px) {
|
|
244
|
+
button.warning {
|
|
245
|
+
min-width: unset;
|
|
246
|
+
max-width: 200px;
|
|
247
|
+
width: 100%;
|
|
248
|
+
height: 50px;
|
|
249
|
+
padding: 10px 18px;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
button.warning i {
|
|
253
|
+
display: inline-block;
|
|
254
|
+
font-size: 24px;
|
|
255
|
+
color: #ffffff;
|
|
256
|
+
padding-left: 15px;
|
|
257
|
+
}
|
|
258
|
+
button.warning:hover {
|
|
259
|
+
background-color: #bd0404;
|
|
260
|
+
border: 2px solid #bd0404;
|
|
261
|
+
}
|
|
262
|
+
button.warning:enabled:active {
|
|
263
|
+
background-color: #ffffff;
|
|
264
|
+
border: 2px solid #e20d0d;
|
|
265
|
+
color: #e20d0d;
|
|
266
|
+
}
|
|
267
|
+
button.warning:enabled:active i {
|
|
268
|
+
color: #e20d0d;
|
|
269
|
+
}
|
|
270
|
+
button.warning:enabled:active p {
|
|
271
|
+
color: #e20d0d;
|
|
272
|
+
}
|
|
273
|
+
button.warning:disabled {
|
|
274
|
+
background-color: #adadad;
|
|
275
|
+
border: 2px solid #adadad;
|
|
276
|
+
}
|
|
277
|
+
button.warning:disabled > * {
|
|
278
|
+
opacity: 0.5;
|
|
279
|
+
}
|
|
280
|
+
button.warning i {
|
|
281
|
+
color: #ffffff;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/* Text Buttons */
|
|
285
|
+
button.text {
|
|
286
|
+
display: inline-flex;
|
|
287
|
+
align-items: center;
|
|
288
|
+
justify-content: center;
|
|
289
|
+
font-family: "JohnstonITC", Helvetica, sans-serif;
|
|
290
|
+
font-size: 18px;
|
|
291
|
+
line-height: 24px;
|
|
292
|
+
font-size: 21px;
|
|
293
|
+
font-weight: normal;
|
|
294
|
+
background-color: unset;
|
|
295
|
+
cursor: pointer;
|
|
296
|
+
color: #05284e;
|
|
297
|
+
}
|
|
298
|
+
button.text:focus {
|
|
299
|
+
outline: 3px solid #ffdd00;
|
|
300
|
+
}
|
|
301
|
+
button.text:disabled {
|
|
302
|
+
cursor: default;
|
|
303
|
+
}
|
|
304
|
+
button.text:disabled * {
|
|
305
|
+
pointer-events: none;
|
|
306
|
+
}
|
|
307
|
+
button.text i {
|
|
308
|
+
display: inline-block;
|
|
309
|
+
font-size: 24px;
|
|
310
|
+
color: #ffffff;
|
|
311
|
+
padding-left: 15px;
|
|
312
|
+
}
|
|
313
|
+
button.text:enabled:active {
|
|
314
|
+
color: #05284e;
|
|
315
|
+
}
|
|
316
|
+
button.text:enabled:active i {
|
|
317
|
+
color: #05284e;
|
|
318
|
+
}
|
|
319
|
+
button.text:enabled:active p {
|
|
320
|
+
color: #05284e;
|
|
321
|
+
}
|
|
322
|
+
button.text:disabled {
|
|
323
|
+
color: #adadad;
|
|
324
|
+
}
|
|
325
|
+
button.text:disabled > * {
|
|
326
|
+
opacity: 0.5;
|
|
327
|
+
}
|
|
328
|
+
button.text:focus {
|
|
329
|
+
outline-offset: 3px;
|
|
330
|
+
}
|
|
331
|
+
button.text i {
|
|
332
|
+
color: #05284e;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/* Icon Buttons */
|
|
336
|
+
button.icon {
|
|
337
|
+
display: inline-flex;
|
|
338
|
+
align-items: center;
|
|
339
|
+
justify-content: center;
|
|
340
|
+
font-family: "JohnstonITC", Helvetica, sans-serif;
|
|
341
|
+
font-size: 18px;
|
|
342
|
+
line-height: 24px;
|
|
343
|
+
font-size: 21px;
|
|
344
|
+
font-weight: normal;
|
|
345
|
+
background-color: unset;
|
|
346
|
+
cursor: pointer;
|
|
347
|
+
min-height: 50px;
|
|
348
|
+
min-width: 50px;
|
|
349
|
+
padding: 10px 10px;
|
|
350
|
+
background-color: var(--button-icon-background-colour, #eeeeee);
|
|
351
|
+
color: #09315b;
|
|
352
|
+
border: 2px solid #09315b;
|
|
353
|
+
}
|
|
354
|
+
button.icon:focus {
|
|
355
|
+
outline: 3px solid #ffdd00;
|
|
356
|
+
}
|
|
357
|
+
button.icon:disabled {
|
|
358
|
+
cursor: default;
|
|
359
|
+
}
|
|
360
|
+
button.icon:disabled * {
|
|
361
|
+
pointer-events: none;
|
|
362
|
+
}
|
|
363
|
+
button.icon i {
|
|
364
|
+
display: inline-block;
|
|
365
|
+
font-size: 24px;
|
|
366
|
+
color: #ffffff;
|
|
367
|
+
padding-left: 15px;
|
|
368
|
+
}
|
|
369
|
+
button.icon:enabled:active {
|
|
370
|
+
background-color: #09315b;
|
|
371
|
+
color: #ffffff;
|
|
372
|
+
}
|
|
373
|
+
button.icon:disabled {
|
|
374
|
+
opacity: 0.3;
|
|
375
|
+
}
|
|
376
|
+
button.icon:active:disabled {
|
|
377
|
+
background-color: #eeeeee;
|
|
378
|
+
}
|
|
379
|
+
button.icon i {
|
|
380
|
+
margin: auto;
|
|
381
|
+
font-size: unset;
|
|
382
|
+
color: unset;
|
|
383
|
+
padding-left: unset;
|
|
384
|
+
}
|