mp-design-system 1.2.63 → 1.2.65
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +35 -29
- package/dist/build/js/app.js +1 -22
- package/dist/build/scss/library.css +1 -1
- package/dist/build/scss/main.css +1 -1
- package/package.json +35 -46
- package/src/_data/components.js +0 -104
- package/src/_data/config.js +0 -14
- package/src/_data/helpers.js +0 -6
- package/src/_headers +0 -9
- package/src/_includes/components/accordion/accordion.config.js +0 -28
- package/src/_includes/components/accordion/accordion.md +0 -15
- package/src/_includes/components/accordion/accordion.njk +0 -10
- package/src/_includes/components/accordion/accordion.scss +0 -54
- package/src/_includes/components/accordion/macro.njk +0 -5
- package/src/_includes/components/alert/alert.config.js +0 -65
- package/src/_includes/components/alert/alert.njk +0 -27
- package/src/_includes/components/alert/alert.scss +0 -80
- package/src/_includes/components/alert/macro.njk +0 -5
- package/src/_includes/components/back-to-top/back-to-top.config.js +0 -10
- package/src/_includes/components/back-to-top/back-to-top.njk +0 -7
- package/src/_includes/components/back-to-top/back-to-top.scss +0 -22
- package/src/_includes/components/back-to-top/macro.njk +0 -5
- package/src/_includes/components/breadcrumb/breadcrumb.config.js +0 -20
- package/src/_includes/components/breadcrumb/breadcrumb.njk +0 -19
- package/src/_includes/components/breadcrumb/breadcrumb.scss +0 -69
- package/src/_includes/components/breadcrumb/macro.njk +0 -5
- package/src/_includes/components/button/button.config.js +0 -89
- package/src/_includes/components/button/button.njk +0 -38
- package/src/_includes/components/button/button.scss +0 -178
- package/src/_includes/components/button/macro.njk +0 -5
- package/src/_includes/components/campaign/campaign.config.js +0 -68
- package/src/_includes/components/campaign/campaign.njk +0 -26
- package/src/_includes/components/campaign/campaign.scss +0 -108
- package/src/_includes/components/campaign/macro.njk +0 -5
- package/src/_includes/components/card/card.config.js +0 -1058
- package/src/_includes/components/card/card.njk +0 -206
- package/src/_includes/components/card/card.scss +0 -508
- package/src/_includes/components/card/existing-customer-card.config.js +0 -51
- package/src/_includes/components/card/existing-customer-card.njk +0 -40
- package/src/_includes/components/card/existing-customer-card.scss +0 -100
- package/src/_includes/components/card/industry-card.config.js +0 -51
- package/src/_includes/components/card/industry-card.njk +0 -34
- package/src/_includes/components/card/industry-card.scss +0 -85
- package/src/_includes/components/card/macro.njk +0 -29
- package/src/_includes/components/card/measurement-type-card.config.js +0 -35
- package/src/_includes/components/card/measurement-type-card.njk +0 -35
- package/src/_includes/components/card/measurement-type-card.scss +0 -56
- package/src/_includes/components/card/product-card.config.js +0 -91
- package/src/_includes/components/card/product-card.njk +0 -58
- package/src/_includes/components/card/product-card.scss +0 -88
- package/src/_includes/components/card/search-result-card.config.js +0 -29
- package/src/_includes/components/card/search-result-card.njk +0 -33
- package/src/_includes/components/card/search-result-card.scss +0 -48
- package/src/_includes/components/card/technology-card.config.js +0 -35
- package/src/_includes/components/card/technology-card.njk +0 -35
- package/src/_includes/components/card/technology-card.scss +0 -56
- package/src/_includes/components/card-new/card-new.config.js +0 -95
- package/src/_includes/components/card-new/card-new.md +0 -0
- package/src/_includes/components/card-new/card-new.njk +0 -169
- package/src/_includes/components/card-new/card-new.scss +0 -156
- package/src/_includes/components/card-new/macro.njk +0 -5
- package/src/_includes/components/comparison-table/comparison-table.config.js +0 -92
- package/src/_includes/components/comparison-table/comparison-table.njk +0 -76
- package/src/_includes/components/comparison-table/comparison-table.scss +0 -187
- package/src/_includes/components/comparison-table/macro.njk +0 -5
- package/src/_includes/components/component/categories.js +0 -5
- package/src/_includes/components/component/component.njk +0 -71
- package/src/_includes/components/component/preview-card-example.njk +0 -347
- package/src/_includes/components/component/preview-cards-three-alt.njk +0 -3
- package/src/_includes/components/component/preview-cards-three.njk +0 -3
- package/src/_includes/components/component/preview-cards-two.njk +0 -3
- package/src/_includes/components/component/preview-content-width.njk +0 -5
- package/src/_includes/components/component/preview-default.njk +0 -3
- package/src/_includes/components/component/preview-fixed-width.njk +0 -5
- package/src/_includes/components/component/preview-form.njk +0 -3
- package/src/_includes/components/component/preview-icons.njk +0 -3
- package/src/_includes/components/component/preview-sidebar.njk +0 -5
- package/src/_includes/components/embed/embed.njk +0 -11
- package/src/_includes/components/embed/embed.scss +0 -17
- package/src/_includes/components/embed/macro.njk +0 -9
- package/src/_includes/components/embed/youtube.config.js +0 -19
- package/src/_includes/components/embed/youtube.njk +0 -5
- package/src/_includes/components/event-card/event-card.config.js +0 -108
- package/src/_includes/components/event-card/event-card.njk +0 -1
- package/src/_includes/components/event-card/event-card.scss +0 -49
- package/src/_includes/components/event-card/macro.njk +0 -5
- package/src/_includes/components/eyebrow/eyebrow.config.js +0 -84
- package/src/_includes/components/eyebrow/eyebrow.njk +0 -24
- package/src/_includes/components/eyebrow/eyebrow.scss +0 -71
- package/src/_includes/components/eyebrow/macro.njk +0 -5
- package/src/_includes/components/facet/facet.config.js +0 -110
- package/src/_includes/components/facet/facet.njk +0 -25
- package/src/_includes/components/facet/facet.scss +0 -49
- package/src/_includes/components/facet/macro.njk +0 -5
- package/src/_includes/components/featured-article-card/featured-article-card.config.js +0 -32
- package/src/_includes/components/featured-article-card/featured-article-card.njk +0 -24
- package/src/_includes/components/featured-article-card/featured-article-card.scss +0 -34
- package/src/_includes/components/featured-article-card/macro.njk +0 -5
- package/src/_includes/components/features-table/features-table.config.js +0 -137
- package/src/_includes/components/features-table/features-table.njk +0 -364
- package/src/_includes/components/features-table/features-table.scss +0 -96
- package/src/_includes/components/features-table/macro.njk +0 -5
- package/src/_includes/components/filter-search/filter-search.config.js +0 -16
- package/src/_includes/components/filter-search/filter-search.njk +0 -11
- package/src/_includes/components/filter-search/filter-search.scss +0 -33
- package/src/_includes/components/filter-search/macro.njk +0 -5
- package/src/_includes/components/footer/footer.config.js +0 -7
- package/src/_includes/components/footer/footer.njk +0 -81
- package/src/_includes/components/footer/footer.scss +0 -127
- package/src/_includes/components/footer/macro.njk +0 -5
- package/src/_includes/components/gallery/gallery.config.js +0 -55
- package/src/_includes/components/gallery/gallery.md +0 -1
- package/src/_includes/components/gallery/gallery.njk +0 -51
- package/src/_includes/components/gallery/gallery.scss +0 -54
- package/src/_includes/components/gallery/macro.njk +0 -5
- package/src/_includes/components/header/header.config.js +0 -38
- package/src/_includes/components/header/header.md +0 -4
- package/src/_includes/components/header/header.njk +0 -111
- package/src/_includes/components/header/header.scss +0 -273
- package/src/_includes/components/header/macro.njk +0 -5
- package/src/_includes/components/hero/hero.config.js +0 -144
- package/src/_includes/components/hero/hero.njk +0 -109
- package/src/_includes/components/hero/hero.scss +0 -356
- package/src/_includes/components/hero/macro.njk +0 -5
- package/src/_includes/components/hotspot-image/hotspot-image.config.js +0 -55
- package/src/_includes/components/hotspot-image/hotspot-image.njk +0 -41
- package/src/_includes/components/hotspot-image/hotspot-image.scss +0 -103
- package/src/_includes/components/hotspot-image/macro.njk +0 -5
- package/src/_includes/components/icon/icon.config.js +0 -18
- package/src/_includes/components/icon/icon.md +0 -1
- package/src/_includes/components/icon/icon.njk +0 -13
- package/src/_includes/components/icon/icon.scss +0 -6
- package/src/_includes/components/icon/macro.njk +0 -5
- package/src/_includes/components/input/checkbox.config.js +0 -41
- package/src/_includes/components/input/checkbox.njk +0 -2
- package/src/_includes/components/input/input.config.js +0 -67
- package/src/_includes/components/input/input.njk +0 -15
- package/src/_includes/components/input/input.scss +0 -136
- package/src/_includes/components/input/macro.njk +0 -25
- package/src/_includes/components/input/radio.config.js +0 -41
- package/src/_includes/components/input/radio.njk +0 -2
- package/src/_includes/components/input/radio.scss +0 -143
- package/src/_includes/components/input/select.config.js +0 -70
- package/src/_includes/components/input/select.njk +0 -13
- package/src/_includes/components/input/textarea.config.js +0 -51
- package/src/_includes/components/input/textarea.njk +0 -4
- package/src/_includes/components/input/toggle.config.js +0 -41
- package/src/_includes/components/input/toggle.njk +0 -5
- package/src/_includes/components/input/toggle.scss +0 -75
- package/src/_includes/components/internal-nav/internal-nav.config.js +0 -41
- package/src/_includes/components/internal-nav/internal-nav.njk +0 -24
- package/src/_includes/components/internal-nav/internal-nav.scss +0 -74
- package/src/_includes/components/internal-nav/macro.njk +0 -5
- package/src/_includes/components/meta-box/macro.njk +0 -5
- package/src/_includes/components/meta-box/meta-box.config.js +0 -74
- package/src/_includes/components/meta-box/meta-box.njk +0 -36
- package/src/_includes/components/meta-box/meta-box.scss +0 -10
- package/src/_includes/components/off-canvas/macro.njk +0 -5
- package/src/_includes/components/off-canvas/off-canvas.config.js +0 -28
- package/src/_includes/components/off-canvas/off-canvas.njk +0 -28
- package/src/_includes/components/off-canvas/off-canvas.scss +0 -102
- package/src/_includes/components/option-list/macro.njk +0 -5
- package/src/_includes/components/option-list/option-list.config.js +0 -51
- package/src/_includes/components/option-list/option-list.njk +0 -10
- package/src/_includes/components/option-list/option-list.scss +0 -39
- package/src/_includes/components/post-meta/macro.njk +0 -5
- package/src/_includes/components/post-meta/post-meta.config.js +0 -44
- package/src/_includes/components/post-meta/post-meta.njk +0 -16
- package/src/_includes/components/post-meta/post-meta.scss +0 -7
- package/src/_includes/components/product-card/macro.njk +0 -5
- package/src/_includes/components/product-card/product-card.config.js +0 -84
- package/src/_includes/components/product-card/product-card.njk +0 -1
- package/src/_includes/components/product-card/product-card.scss +0 -36
- package/src/_includes/components/product-signpost/macro.njk +0 -3
- package/src/_includes/components/product-signpost/product-signpost.config.js +0 -43
- package/src/_includes/components/product-signpost/product-signpost.njk +0 -16
- package/src/_includes/components/product-signpost/product-signpost.scss +0 -61
- package/src/_includes/components/prose/macro.njk +0 -11
- package/src/_includes/components/prose/prose.config.js +0 -65
- package/src/_includes/components/prose/prose.md +0 -1
- package/src/_includes/components/prose/prose.njk +0 -17
- package/src/_includes/components/quote/macro.njk +0 -5
- package/src/_includes/components/quote/quote.config.js +0 -19
- package/src/_includes/components/quote/quote.njk +0 -9
- package/src/_includes/components/quote/quote.scss +0 -51
- package/src/_includes/components/resource-card/macro.njk +0 -5
- package/src/_includes/components/resource-card/resource-card.config.js +0 -59
- package/src/_includes/components/resource-card/resource-card.njk +0 -1
- package/src/_includes/components/resource-card/resource-card.scss +0 -0
- package/src/_includes/components/scroll-spy/macro.njk +0 -5
- package/src/_includes/components/scroll-spy/scroll-spy.config.js +0 -24
- package/src/_includes/components/scroll-spy/scroll-spy.md +0 -3
- package/src/_includes/components/scroll-spy/scroll-spy.njk +0 -5
- package/src/_includes/components/scroll-spy/scroll-spy.scss +0 -54
- package/src/_includes/components/series/macro.njk +0 -5
- package/src/_includes/components/series/series.config.js +0 -35
- package/src/_includes/components/series/series.njk +0 -15
- package/src/_includes/components/series/series.scss +0 -20
- package/src/_includes/components/signpost/macro.njk +0 -5
- package/src/_includes/components/signpost/signpost.config.js +0 -36
- package/src/_includes/components/signpost/signpost.njk +0 -21
- package/src/_includes/components/signpost/signpost.scss +0 -66
- package/src/_includes/components/slat/slat.config.js +0 -59
- package/src/_includes/components/slat/slat.njk +0 -15
- package/src/_includes/components/slat/slat.scss +0 -53
- package/src/_includes/components/table/macro.njk +0 -11
- package/src/_includes/components/table/table.config.js +0 -68
- package/src/_includes/components/table/table.md +0 -16
- package/src/_includes/components/table/table.njk +0 -28
- package/src/_includes/components/table/table.scss +0 -157
- package/src/_includes/components/tabs/macro.njk +0 -9
- package/src/_includes/components/tabs/tabs-radio.config.js +0 -32
- package/src/_includes/components/tabs/tabs-radio.njk +0 -9
- package/src/_includes/components/tabs/tabs.config.js +0 -57
- package/src/_includes/components/tabs/tabs.njk +0 -17
- package/src/_includes/components/tabs/tabs.scss +0 -105
- package/src/_includes/components/twi/macro.njk +0 -5
- package/src/_includes/components/twi/twi.config.js +0 -46
- package/src/_includes/components/twi/twi.md +0 -1
- package/src/_includes/components/twi/twi.njk +0 -30
- package/src/_includes/components/twi/twi.scss +0 -44
- package/src/_includes/components/usp/macro.njk +0 -5
- package/src/_includes/components/usp/usp.config.js +0 -55
- package/src/_includes/components/usp/usp.md +0 -101
- package/src/_includes/components/usp/usp.njk +0 -42
- package/src/_includes/components/usp/usp.scss +0 -60
- package/src/_includes/content-page.njk +0 -53
- package/src/_includes/includes/color-swatches.njk +0 -260
- package/src/_includes/includes/related-events.njk +0 -60
- package/src/_includes/includes/resources.njk +0 -78
- package/src/_includes/includes/system-footer.njk +0 -30
- package/src/_includes/includes/system-header.njk +0 -30
- package/src/_includes/includes/system-scripts.njk +0 -88
- package/src/_includes/layout.njk +0 -69
- package/src/_includes/library-navigation/brand-nav.njk +0 -67
- package/src/_includes/library-navigation/components-nav.njk +0 -88
- package/src/_includes/library-navigation/content-nav.njk +0 -53
- package/src/_includes/library-navigation/system-nav.njk +0 -9
- package/src/_includes/library.njk +0 -5
- package/src/_includes/navigation/blog.njk +0 -16
- package/src/_includes/navigation/corporate.njk +0 -25
- package/src/_includes/navigation/store.njk +0 -29
- package/src/_includes/page.njk +0 -14
- package/src/_includes/patterns-page.njk +0 -41
- package/src/_includes/system-home-page.njk +0 -28
- package/src/_includes/system-page.njk +0 -27
- package/src/_includes/system.njk +0 -39
- package/src/_redirects +0 -13
- package/src/assets/fonts/Inter-Bold.woff +0 -0
- package/src/assets/fonts/Inter-Bold.woff2 +0 -0
- package/src/assets/fonts/Inter-Regular.woff +0 -0
- package/src/assets/fonts/Inter-Regular.woff2 +0 -0
- package/src/assets/fonts/Inter-SemiBold.woff +0 -0
- package/src/assets/fonts/Inter-SemiBold.woff2 +0 -0
- package/src/assets/js/app.js +0 -40
- package/src/assets/js/imports/accordion.js +0 -17
- package/src/assets/js/imports/carousel.js +0 -22
- package/src/assets/js/imports/clear-form.js +0 -27
- package/src/assets/js/imports/comparison.js +0 -64
- package/src/assets/js/imports/facet.js +0 -23
- package/src/assets/js/imports/gallery.js +0 -87
- package/src/assets/js/imports/hero-pattern.js +0 -94
- package/src/assets/js/imports/hero-video.js +0 -53
- package/src/assets/js/imports/hotspot-image.js +0 -91
- package/src/assets/js/imports/internal-nav.js +0 -41
- package/src/assets/js/imports/off-canvas.js +0 -219
- package/src/assets/js/imports/responsive-table.js +0 -30
- package/src/assets/js/imports/scroll-spy.js +0 -46
- package/src/assets/js/imports/scrollbar-width.js +0 -15
- package/src/assets/js/imports/tabs.js +0 -58
- package/src/assets/js/imports/utilities.js +0 -31
- package/src/assets/scss/components/form.scss +0 -306
- package/src/assets/scss/components/headings.scss +0 -68
- package/src/assets/scss/components/index.scss +0 -52
- package/src/assets/scss/components/lightbox.scss +0 -64
- package/src/assets/scss/components/product-finder.scss +0 -75
- package/src/assets/scss/elements/index.scss +0 -2
- package/src/assets/scss/elements/reset.scss +0 -139
- package/src/assets/scss/elements/typography.scss +0 -25
- package/src/assets/scss/foundations/animation.scss +0 -4
- package/src/assets/scss/foundations/colour.scss +0 -85
- package/src/assets/scss/foundations/index.scss +0 -4
- package/src/assets/scss/foundations/space.scss +0 -57
- package/src/assets/scss/foundations/typography.scss +0 -159
- package/src/assets/scss/library.scss +0 -672
- package/src/assets/scss/main.scss +0 -6
- package/src/assets/scss/objects/button-wrap.scss +0 -18
- package/src/assets/scss/objects/clickable-parent.scss +0 -3
- package/src/assets/scss/objects/grid.scss +0 -329
- package/src/assets/scss/objects/index.scss +0 -4
- package/src/assets/scss/objects/prose.scss +0 -164
- package/src/assets/scss/objects/syntax-highlighting.scss +0 -211
- package/src/assets/scss/tools/breakout.scss +0 -17
- package/src/assets/scss/tools/cutoff.scss +0 -50
- package/src/assets/scss/tools/index.scss +0 -172
- package/src/assets/scss/utilities/colour.scss +0 -10
- package/src/assets/scss/utilities/disabled.scss +0 -8
- package/src/assets/scss/utilities/display.scss +0 -156
- package/src/assets/scss/utilities/divider.scss +0 -6
- package/src/assets/scss/utilities/ellipsis.scss +0 -7
- package/src/assets/scss/utilities/flex.scss +0 -47
- package/src/assets/scss/utilities/flow.scss +0 -69
- package/src/assets/scss/utilities/gap.scss +0 -3
- package/src/assets/scss/utilities/hr.scss +0 -23
- package/src/assets/scss/utilities/index.scss +0 -18
- package/src/assets/scss/utilities/link.scss +0 -26
- package/src/assets/scss/utilities/scroll-shadows.scss +0 -69
- package/src/assets/scss/utilities/space.scss +0 -370
- package/src/assets/scss/utilities/typography.scss +0 -35
- package/src/assets/scss/utilities/wrap.scss +0 -24
- package/src/assets/svg/arc.svg +0 -1
- package/src/assets/svg/concentric.svg +0 -1
- package/src/assets/svg/crystal.svg +0 -1
- package/src/assets/svg/dots-pattern.svg +0 -1
- package/src/brand/colors.njk +0 -69
- package/src/brand/illustration.md +0 -50
- package/src/brand/images.md +0 -101
- package/src/brand/index.njk +0 -147
- package/src/brand/logo.md +0 -107
- package/src/brand/patterns.njk +0 -49
- package/src/brand/requirements.md +0 -98
- package/src/brand/resources.njk +0 -75
- package/src/brand/typography.md +0 -101
- package/src/components/colour.njk +0 -327
- package/src/components/creating-a-component.md +0 -163
- package/src/components/css.md +0 -65
- package/src/components/flow.njk +0 -131
- package/src/components/grid/generic.njk +0 -99
- package/src/components/grid/index.njk +0 -86
- package/src/components/grid/layout.njk +0 -56
- package/src/components/grid/wrap.njk +0 -20
- package/src/components/iconography.njk +0 -92
- package/src/components/index.njk +0 -65
- package/src/components/installation.md +0 -61
- package/src/components/publishing-the-system.md +0 -25
- package/src/components/space.njk +0 -191
- package/src/components/typography.njk +0 -135
- package/src/components/utilities.md +0 -182
- package/src/components-full-pages.njk +0 -24
- package/src/components-pages.njk +0 -103
- package/src/content/and-so/please-write-responsibly.md +0 -15
- package/src/content/and-so/sitting-down.md +0 -13
- package/src/content/big-ideas.md +0 -63
- package/src/content/boilerplate.md +0 -33
- package/src/content/elevator-pitch.md +0 -33
- package/src/content/index.njk +0 -126
- package/src/content/our-voice/1-big-picture.md +0 -37
- package/src/content/our-voice/2-whats-most-important.md +0 -38
- package/src/content/our-voice/3-write-like-we-speak.md +0 -50
- package/src/content/our-voice/4-write-to-be-skimmed.md +0 -50
- package/src/content/our-voice/5-active-sentences.md +0 -73
- package/src/content/our-voice/6-add-energy.md +0 -34
- package/src/content/our-voice/7-small-surprises.md +0 -44
- package/src/content/our-voice/seven-steps.md +0 -21
- package/src/content/our-voice/which-techniques-when.md +0 -39
- package/src/content/real-life-examples/01-who-we-are-boilerplate.md +0 -39
- package/src/content/real-life-examples/02-event-announcement.md +0 -38
- package/src/content/real-life-examples/03-customer-support-letter.md +0 -58
- package/src/content/real-life-examples/04-delay-in-shipment-letter.md +0 -62
- package/src/content/real-life-examples/05-overview-events-training.md +0 -41
- package/src/content/real-life-examples/06-digital-product-description.md +0 -40
- package/src/content/real-life-examples/07-recruitment.md +0 -42
- package/src/content/real-life-examples/08-industry-sector-1.md +0 -43
- package/src/content/real-life-examples/09-industry-sector-2.md +0 -47
- package/src/content/real-life-examples/10-website-information.md +0 -50
- package/src/content/real-life-examples/11-internal-update.md +0 -37
- package/src/content/real-life-examples/12-value-proposition.md +0 -44
- package/src/index.njk +0 -152
- package/src/patterns/form.njk +0 -349
- package/src/patterns/grid-of-cards.njk +0 -66
- package/src/patterns/index.njk +0 -19
- package/src/patterns/mp-form.njk +0 -111
- package/src/patterns/usps.njk +0 -149
- package/src/prototype/blog-post.njk +0 -123
- package/src/prototype/blog.njk +0 -168
- package/src/prototype/card-test.njk +0 -147
- package/src/prototype/creating-a-page.njk +0 -74
- package/src/prototype/events-hub.njk +0 -520
- package/src/prototype/form-altcha.njk +0 -705
- package/src/prototype/form-cloudflare.njk +0 -688
- package/src/prototype/form-hcaptcha.njk +0 -693
- package/src/prototype/home.njk +0 -24
- package/src/prototype/index.njk +0 -893
- package/src/prototype/oma.njk +0 -167
- package/src/prototype/product.njk +0 -480
- package/src/prototype/products.njk +0 -163
- package/src/prototype/range.njk +0 -263
- package/src/prototype/request-a-quote.njk +0 -147
- package/src/prototype/sections.njk +0 -295
- package/src/prototype/spline.njk +0 -16
- package/src/prototype/thanks.njk +0 -31
- package/src/prototype/webinar.njk +0 -118
- package/src/prototype/webinars-3-2-1.njk +0 -397
- package/src/prototype/webinars.njk +0 -405
- package/src/quickstart.md +0 -41
- package/src/robots.txt +0 -5
- package/src/static/adobe/MP Franklin colour swatches.ai +0 -914
- package/src/static/img/aeris.jpg +0 -0
- package/src/static/img/article-1.jpg +0 -0
- package/src/static/img/article-2.jpg +0 -0
- package/src/static/img/blog-image-1.jpg +0 -0
- package/src/static/img/blog-page-image-1.jpg +0 -0
- package/src/static/img/blog-page-image-2.jpg +0 -0
- package/src/static/img/blog-page-image-3.jpg +0 -0
- package/src/static/img/blog-page-image-4.jpg +0 -0
- package/src/static/img/blog-page-image-5.jpg +0 -0
- package/src/static/img/blog-page-image-6.jpg +0 -0
- package/src/static/img/campaign.jpg +0 -0
- package/src/static/img/case-study-1.jpg +0 -0
- package/src/static/img/case-study-2.jpg +0 -0
- package/src/static/img/case-study-3.jpg +0 -0
- package/src/static/img/empyrean.jpg +0 -0
- package/src/static/img/epsilon.jpg +0 -0
- package/src/static/img/favicon-32x32.png +0 -0
- package/src/static/img/favicon.svg +0 -1
- package/src/static/img/featured-blog-post.jpg +0 -0
- package/src/static/img/featured-event-1.jpg +0 -0
- package/src/static/img/featured-event-2.jpg +0 -0
- package/src/static/img/featured-event-3.jpg +0 -0
- package/src/static/img/flow-2.png +0 -0
- package/src/static/img/flow-diagram.png +0 -0
- package/src/static/img/flow.png +0 -0
- package/src/static/img/grid-captivate-1.jpg +0 -0
- package/src/static/img/homepage_1_back.webp +0 -0
- package/src/static/img/homepage_1_back_alt.webp +0 -0
- package/src/static/img/homepage_1_front_full.webp +0 -0
- package/src/static/img/homepage_2_back.webp +0 -0
- package/src/static/img/homepage_2_back_alt.webp +0 -0
- package/src/static/img/homepage_2_front_full.webp +0 -0
- package/src/static/img/itcss.svg +0 -8
- package/src/static/img/leneo.jpg +0 -0
- package/src/static/img/mastersizer.jpg +0 -0
- package/src/static/img/microcal.jpg +0 -0
- package/src/static/img/morphologi.jpg +0 -0
- package/src/static/img/omnisec.jpg +0 -0
- package/src/static/img/open-graph-image.jpg +0 -0
- package/src/static/img/product-accessory-1.jpg +0 -0
- package/src/static/img/product-accessory-2.jpg +0 -0
- package/src/static/img/product-image.jpg +0 -0
- package/src/static/img/products-1.jpg +0 -0
- package/src/static/img/products-2.jpg +0 -0
- package/src/static/img/products-3.jpg +0 -0
- package/src/static/img/products-4.jpg +0 -0
- package/src/static/img/products-5.jpg +0 -0
- package/src/static/img/products-6.jpg +0 -0
- package/src/static/img/qualityspec.jpg +0 -0
- package/src/static/img/range-product-1.jpg +0 -0
- package/src/static/img/range-product-2.jpg +0 -0
- package/src/static/img/range.jpg +0 -0
- package/src/static/img/salt.png +0 -0
- package/src/static/img/sector-1.jpg +0 -0
- package/src/static/img/sector-2.jpg +0 -0
- package/src/static/img/sector-3.jpg +0 -0
- package/src/static/img/sector-4.jpg +0 -0
- package/src/static/img/sector-5.jpg +0 -0
- package/src/static/img/slide-1.jpg +0 -0
- package/src/static/img/slide-2.jpg +0 -0
- package/src/static/img/slide-3.jpg +0 -0
- package/src/static/img/slide-4.webp +0 -0
- package/src/static/img/slide-5.webp +0 -0
- package/src/static/img/slide-6.webp +0 -0
- package/src/static/img/slide-7.webp +0 -0
- package/src/static/img/zetasizer.jpg +0 -0
- package/src/static/pdf/PN12558_Physical_branding_v23.pdf +0 -0
- package/src/static/pdf/Power of One - Malvern Panalytical rebranding guidance.pdf +0 -0
- package/src/static/svg/crop-diagram-1.svg +0 -1
- package/src/static/svg/crop-diagram-2.svg +0 -1
- package/src/static/svg/icon-globe-alt--white.svg +0 -4
- package/src/static/svg/icon-globe-alt.svg +0 -4
- package/src/static/svg/icon-live-webinars--white.svg +0 -6
- package/src/static/svg/icon-live-webinars.svg +0 -6
- package/src/static/svg/icon-recorded-webinars--white.svg +0 -4
- package/src/static/svg/icon-recorded-webinars.svg +0 -4
- package/src/static/svg/icon-user-training--white.svg +0 -5
- package/src/static/svg/icon-user-training.svg +0 -5
- package/src/static/svg/imaging-matrix.svg +0 -56
- package/src/static/svg/large-envelope.svg +0 -1
- package/src/static/svg/large-globe.svg +0 -1
- package/src/static/svg/large-student.svg +0 -1
- package/src/static/svg/logo-black.svg +0 -1
- package/src/static/svg/logo-color-white-text.svg +0 -1
- package/src/static/svg/logo-simple.svg +0 -1
- package/src/static/svg/logo-small.svg +0 -1
- package/src/static/svg/logo-spacing-horizontal.svg +0 -1
- package/src/static/svg/logo-spacing-vertical.svg +0 -1
- package/src/static/svg/logo-stacked.svg +0 -1
- package/src/static/svg/logo-white.svg +0 -1
- package/src/static/svg/logo-x.svg +0 -1
- package/src/static/svg/logo.svg +0 -1
- package/src/static/svg/sprite.svg +0 -48
- package/src/static/svg/typography-spacing.svg +0 -2345
- package/src/static/zip/MP_logo.zip +0 -0
- package/src/static/zip/SVG_patterns.zip +0 -0
@@ -1,88 +0,0 @@
|
|
1
|
-
{% from "components/component/component.njk" import libraryList, libraryLink %}
|
2
|
-
{%- from "components/icon/macro.njk" import icon -%}
|
3
|
-
|
4
|
-
<div class="u-flow">
|
5
|
-
<h3>Getting started</h3>
|
6
|
-
<ul>
|
7
|
-
{{ libraryList('Introduction', '/components/', page.url) }}
|
8
|
-
{{ libraryList('Installation', '/components/installation/', page.url) }}
|
9
|
-
{{ libraryList('Publishing the system', '/components/publishing-the-system/', page.url) }}
|
10
|
-
{{ libraryList('Creating a component', '/components/creating-a-component/', page.url) }}
|
11
|
-
</ul>
|
12
|
-
</div>
|
13
|
-
|
14
|
-
<div class="u-flow">
|
15
|
-
<h3>Foundations</h3>
|
16
|
-
<ul class="c-library-accordion">
|
17
|
-
{{ libraryList('Color', '/components/colour/', page.url) }}
|
18
|
-
{{ libraryList('Space', '/components/space/', page.url) }}
|
19
|
-
<li>
|
20
|
-
{{ libraryLink('Grid', '/components/grid/', page.url) }}
|
21
|
-
<button type="button" class="c-library-accordion__toggle c-button--reset">
|
22
|
-
{{ icon({ id: 'chevron-down' }) }}
|
23
|
-
</button>
|
24
|
-
<ul>
|
25
|
-
{{ libraryList('Generic', '/components/grid/generic/', page.url) }}
|
26
|
-
{{ libraryList('Layout', '/components/grid/layout/', page.url) }}
|
27
|
-
{{ libraryList('Wrapper', '/components/grid/wrap/', page.url) }}
|
28
|
-
</ul>
|
29
|
-
</li>
|
30
|
-
{{ libraryList('Typography', '/components/typography/', page.url) }}
|
31
|
-
{{ libraryList('Flow', '/components/flow/', page.url) }}
|
32
|
-
{{ libraryList('Iconography', '/components/iconography/', page.url) }}
|
33
|
-
{{ libraryList('Approach to CSS', '/components/css/', page.url) }}
|
34
|
-
{{ libraryList('Utilities', '/components/utilities/', page.url) }}
|
35
|
-
</ul>
|
36
|
-
</div>
|
37
|
-
|
38
|
-
{% for category in components.menu %}
|
39
|
-
<div class="u-flow">
|
40
|
-
<h3>{{ category.name }}</h3>
|
41
|
-
<ul class="c-library-accordion">
|
42
|
-
{% for comp in category.components %}
|
43
|
-
{% if not comp.variant %}
|
44
|
-
<li>
|
45
|
-
{{ libraryLink(comp.title, '/components/' + comp.slug + '/', page.url) }}
|
46
|
-
|
47
|
-
{% if comp.siblings | length >= 1 %}
|
48
|
-
<button type="button" class="c-library-accordion__toggle c-button--reset">
|
49
|
-
{{ icon({ id: 'chevron-down' }) }}
|
50
|
-
</button>
|
51
|
-
<ul>
|
52
|
-
{% for sibling in comp.siblings %}
|
53
|
-
{{ libraryList(sibling.title, '/components/' + sibling.slug + '/', page.url) }}
|
54
|
-
{% endfor %}
|
55
|
-
</ul>
|
56
|
-
{% endif %}
|
57
|
-
</li>
|
58
|
-
{% endif %}
|
59
|
-
{% endfor %}
|
60
|
-
</ul>
|
61
|
-
</div>
|
62
|
-
{% endfor %}
|
63
|
-
|
64
|
-
<div class="u-flow">
|
65
|
-
<h3>
|
66
|
-
Example patterns
|
67
|
-
</h3>
|
68
|
-
|
69
|
-
<ul>
|
70
|
-
{{ libraryList('Overview', '/patterns/', page.url) }}
|
71
|
-
{% for p in collections.patterns %}
|
72
|
-
{{ libraryList(p.data.title, p.url, page.url) }}
|
73
|
-
{% endfor %}
|
74
|
-
</ul>
|
75
|
-
</div>
|
76
|
-
|
77
|
-
<div class="u-flow">
|
78
|
-
<h3>Example pages</h3>
|
79
|
-
|
80
|
-
<ul>
|
81
|
-
{{ libraryList('Overview', '/prototype/home/', page.url) }}
|
82
|
-
{{ libraryList('Creating a page', '/prototype/creating-a-page/', page.url) }}
|
83
|
-
{% for p in collections.prototypes %}
|
84
|
-
{{ libraryList(p.data.tagTitle or p.data.title, p.url, page.url) }}
|
85
|
-
{% endfor %}
|
86
|
-
</ul>
|
87
|
-
</div>
|
88
|
-
|
@@ -1,53 +0,0 @@
|
|
1
|
-
{% from "components/component/component.njk" import libraryList, libraryLink %}
|
2
|
-
{%- from "components/icon/macro.njk" import icon -%}
|
3
|
-
|
4
|
-
<div class="u-flow">
|
5
|
-
<h3>Tone of voice</h3>
|
6
|
-
<ul>
|
7
|
-
{{ libraryList('Our words matter', '/content/', page.url) }}
|
8
|
-
{{ libraryList('Elevator pitch', '/content/elevator-pitch/', page.url) }}
|
9
|
-
{{ libraryList('Boilerplate', '/content/boilerplate/', page.url) }}
|
10
|
-
{{ libraryList('Big ideas for a better world', '/content/big-ideas/', page.url) }}
|
11
|
-
</ul>
|
12
|
-
</div>
|
13
|
-
|
14
|
-
<div class="u-flow">
|
15
|
-
<h3>Our voice</h3>
|
16
|
-
<ul class="c-library-accordion">
|
17
|
-
{{ libraryList('Seven steps to more clear, confident and surprising writing', '/content/our-voice/seven-steps/', page.url) }}
|
18
|
-
{{ libraryList('1. We focus on the big picture', '/content/our-voice/1-big-picture/', page.url) }}
|
19
|
-
{{ libraryList('2. We say what’s most important', '/content/our-voice/2-whats-most-important/', page.url) }}
|
20
|
-
{{ libraryList('3. We write like we speak', '/content/our-voice/3-write-like-we-speak/', page.url) }}
|
21
|
-
{{ libraryList('4. We write to be skimmed', '/content/our-voice/4-write-to-be-skimmed/', page.url) }}
|
22
|
-
{{ libraryList('5. We use active sentences', '/content/our-voice/5-active-sentences/', page.url) }}
|
23
|
-
{{ libraryList('6. We add energy', '/content/our-voice/6-add-energy/', page.url) }}
|
24
|
-
{{ libraryList('7. … And we add small surprises', '/content/our-voice/7-small-surprises/', page.url) }}
|
25
|
-
{{ libraryList('Which techniques, when?', '/content/our-voice/which-techniques-when/', page.url) }}
|
26
|
-
</div>
|
27
|
-
|
28
|
-
<div class="u-flow">
|
29
|
-
<h3>Real life examples</h3>
|
30
|
-
<ul>
|
31
|
-
{{ libraryList('Who we are / boilerplate', '/content/real-life-examples/01-who-we-are-boilerplate/', page.url) }}
|
32
|
-
{{ libraryList('Event announcement', '/content/real-life-examples/02-event-announcement/', page.url) }}
|
33
|
-
{{ libraryList('Customer support letter', '/content/real-life-examples/03-customer-support-letter/', page.url) }}
|
34
|
-
{{ libraryList('Delay in shipment letter', '/content/real-life-examples/04-delay-in-shipment-letter/', page.url) }}
|
35
|
-
{{ libraryList('Overview of our events and training', '/content/real-life-examples/05-overview-events-training/', page.url) }}
|
36
|
-
{{ libraryList('Digital product description', '/content/real-life-examples/06-digital-product-description/', page.url) }}
|
37
|
-
{{ libraryList('Recruitment', '/content/real-life-examples/07-recruitment/', page.url) }}
|
38
|
-
{{ libraryList('Industry sector 1', '/content/real-life-examples/08-industry-sector-1/', page.url) }}
|
39
|
-
{{ libraryList('Industry sector 2', '/content/real-life-examples/09-industry-sector-2/', page.url) }}
|
40
|
-
{{ libraryList('Website information', '/content/real-life-examples/10-website-information/', page.url) }}
|
41
|
-
{{ libraryList('Internal update', '/content/real-life-examples/11-internal-update/', page.url) }}
|
42
|
-
{{ libraryList('Value proposition', '/content/real-life-examples/12-value-proposition/', page.url) }}
|
43
|
-
</ul>
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div class="u-flow">
|
47
|
-
<h3>And so …</h3>
|
48
|
-
<ul>
|
49
|
-
{{ libraryList('Sitting down to write', '/content/and-so/sitting-down/', page.url) }}
|
50
|
-
{{ libraryList('Please write responsibly', '/content/and-so/please-write-responsibly/', page.url) }}
|
51
|
-
</ul>
|
52
|
-
</div>
|
53
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
<div class="u-flow">
|
2
|
-
<h3>Getting started</h3>
|
3
|
-
<ul>
|
4
|
-
<li><a href="/brand">Brand & visual identity</a></li>
|
5
|
-
<li><a href="/components">Web components</a></li>
|
6
|
-
<li><a href="/prototype">Pages</a></li>
|
7
|
-
<li><a href="/content">Tone of voice</a></li>
|
8
|
-
</ul>
|
9
|
-
</div>
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<nav class="c-header__site c-header__site--with-home" aria-label="Site">
|
2
|
-
<ul>
|
3
|
-
<li>
|
4
|
-
<a href="/prototype/blog">Blog home</a>
|
5
|
-
</li>
|
6
|
-
<li>
|
7
|
-
<a href="">About</a>
|
8
|
-
</li>
|
9
|
-
<li>
|
10
|
-
<a href="">Categories</a>
|
11
|
-
</li>
|
12
|
-
<li>
|
13
|
-
<a href="">Feedback</a>
|
14
|
-
</li>
|
15
|
-
</ul>
|
16
|
-
</nav>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<nav class="c-header__site" aria-label="Site">
|
2
|
-
<ul>
|
3
|
-
<li>
|
4
|
-
<a href="/prototype/products">Products</a>
|
5
|
-
</li>
|
6
|
-
<li>
|
7
|
-
<a href="/prototype/sections">Solutions</a>
|
8
|
-
</li>
|
9
|
-
<li>
|
10
|
-
<a href="/prototype/webinars">Webinars and events</a>
|
11
|
-
</li>
|
12
|
-
<li>
|
13
|
-
<a href="">Resources</a>
|
14
|
-
</li>
|
15
|
-
<li>
|
16
|
-
<a href="">Support & downloads</a>
|
17
|
-
</li>
|
18
|
-
<li class="c-header__push">
|
19
|
-
<a href="">Log in</a>
|
20
|
-
</li>
|
21
|
-
<li>
|
22
|
-
<a href="">Register</a>
|
23
|
-
</li>
|
24
|
-
</ul>
|
25
|
-
</nav>
|
@@ -1,29 +0,0 @@
|
|
1
|
-
<nav class="c-header__site c-header__site--with-home" aria-label="Site">
|
2
|
-
<ul>
|
3
|
-
<li>
|
4
|
-
<a href="/prototype/products">Store home</a>
|
5
|
-
</li>
|
6
|
-
<li>
|
7
|
-
<a href="/prototype/sections">Consumables</a>
|
8
|
-
</li>
|
9
|
-
<li>
|
10
|
-
<a href="">Standards</a>
|
11
|
-
</li>
|
12
|
-
<li>
|
13
|
-
<a href="/prototype/webinars">Accessories</a>
|
14
|
-
</li>
|
15
|
-
<li>
|
16
|
-
<a href="">Contracts & agreements</a>
|
17
|
-
</li>
|
18
|
-
<li>
|
19
|
-
<a href="">Software</a>
|
20
|
-
</li>
|
21
|
-
<a class="mp c-button c-button--small c-button--tight c-button--outline-white c-header__push u-margin-right-m" href="">Basket (0)</a>
|
22
|
-
<li>
|
23
|
-
<a href="">Log in</a>
|
24
|
-
</li>
|
25
|
-
<li>
|
26
|
-
<a href="">Register</a>
|
27
|
-
</li>
|
28
|
-
</ul>
|
29
|
-
</nav>
|
package/src/_includes/page.njk
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
{% from "components/footer/macro.njk" import footer %}
|
2
|
-
{% from "components/header/macro.njk" import header %}
|
3
|
-
|
4
|
-
{% extends "layout.njk" %}
|
5
|
-
|
6
|
-
{% block inner %}
|
7
|
-
{{ header({
|
8
|
-
siteNav: siteNav
|
9
|
-
}) }}
|
10
|
-
|
11
|
-
{% block content %}{% endblock %}
|
12
|
-
|
13
|
-
{{ footer() }}
|
14
|
-
{% endblock %}
|
@@ -1,41 +0,0 @@
|
|
1
|
-
---
|
2
|
-
sidebar: components
|
3
|
-
tags: patterns
|
4
|
-
---
|
5
|
-
|
6
|
-
{% extends "library.njk" %}
|
7
|
-
|
8
|
-
{% block content %}
|
9
|
-
<div class="c-library-stretch u-wrap mp c-tabs c-tabs--flex c-tabs--anchor c-tabs--persist u-pad-y-m-l">
|
10
|
-
<header class="u-wrap u-flow--s-l u-margin-bottom-s">
|
11
|
-
<h1 class="c-h c-h--step-3">Patterns: {{ title }}</h1>
|
12
|
-
|
13
|
-
<nav class="c-tabs__controls">
|
14
|
-
<ul class="c-tabs__controls-list">
|
15
|
-
<li><a class="c-tabs__control c-tabs__control--active" href="#pattern-example">Example</a></li>
|
16
|
-
<li><a class="c-tabs__control" href="#pattern-code">Code</a></li>
|
17
|
-
</ul>
|
18
|
-
</nav>
|
19
|
-
</header>
|
20
|
-
|
21
|
-
<div class="c-library-stretch c-tabs__content">
|
22
|
-
<div class="c-tab c-tab--active c-library-stretch" id="pattern-example">
|
23
|
-
<div class="c-library__frame c-library-stretch">
|
24
|
-
{{ content | safe }}
|
25
|
-
</div>
|
26
|
-
</div>
|
27
|
-
|
28
|
-
<div class="c-tab" id="pattern-code">
|
29
|
-
<div class="u-wrap--content">
|
30
|
-
{%- set html -%}{% highlight "html" %}{%- prettify -%}{{ content | safe }}{%- endprettify -%}{% endhighlight %}{%- endset -%}
|
31
|
-
<article class="c-library-copy">
|
32
|
-
<div class="c-library-copy__clipboard">
|
33
|
-
{{ html | safe }}
|
34
|
-
</div>
|
35
|
-
<button type="button" class="c-button--reset c-h c-h--upper c-library-copy__trigger">Copy</button>
|
36
|
-
</article>
|
37
|
-
</div>
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
</div>
|
41
|
-
{% endblock %}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
---
|
2
|
-
sidebar: false
|
3
|
-
index: true
|
4
|
-
---
|
5
|
-
|
6
|
-
{% extends "library.njk" %}
|
7
|
-
|
8
|
-
{% from "components/hero/macro.njk" import hero %}
|
9
|
-
|
10
|
-
{% block content %}
|
11
|
-
<div class="u-pad-bottom-xl">
|
12
|
-
{{ hero({
|
13
|
-
title: title,
|
14
|
-
subtitle: subtitle,
|
15
|
-
cover: true,
|
16
|
-
gradient: true,
|
17
|
-
pattern: 'dots',
|
18
|
-
inverse: true,
|
19
|
-
classes: 'c-library__hero'
|
20
|
-
}) }}
|
21
|
-
|
22
|
-
<div class="u-wrap u-flow--l u-pad-right-xl">
|
23
|
-
{{ content | safe }}
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
|
27
|
-
{% include "includes/system-footer.njk" %}
|
28
|
-
{% endblock %}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
---
|
2
|
-
sidebar: components
|
3
|
-
---
|
4
|
-
|
5
|
-
{% extends "library.njk" %}
|
6
|
-
|
7
|
-
{% from "components/breadcrumb/macro.njk" import breadcrumb %}
|
8
|
-
|
9
|
-
{% block content %}
|
10
|
-
<div class="u-wrap u-flow--l u-pad-y-m-l">
|
11
|
-
{% if crumb %}
|
12
|
-
{{ breadcrumb({ link: crumb[0], label: crumb[1] }) }}
|
13
|
-
{% endif %}
|
14
|
-
<div class="u-split">
|
15
|
-
<h1 class="c-h c-h--page-title">{{ title }}</h1>
|
16
|
-
{% if version or status %}
|
17
|
-
<div>
|
18
|
-
{% if version %}<span class="c-library-version">Version {{ version }}</span>{% endif %}
|
19
|
-
{% if status %}<span class="u-margin-left-xs c-library-status c-library-status--{{ status | slug }}">{{ status }}</span>{% endif %}
|
20
|
-
</div>
|
21
|
-
{% endif %}
|
22
|
-
</div>
|
23
|
-
<div>
|
24
|
-
{{ content | safe }}
|
25
|
-
</div>
|
26
|
-
</div>
|
27
|
-
{% endblock %}
|
package/src/_includes/system.njk
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
{% extends "layout.njk" %}
|
2
|
-
|
3
|
-
{% set bodyClass = 'mp' %}
|
4
|
-
|
5
|
-
{% block head %}
|
6
|
-
<link rel="stylesheet" href="/build/scss/library.css" />
|
7
|
-
{% endblock %}
|
8
|
-
|
9
|
-
{% block inner %}
|
10
|
-
<div class="c-library c-library--{{ sidebar or 'home' }}">
|
11
|
-
{% include "includes/system-header.njk" %}
|
12
|
-
|
13
|
-
{% set content %}
|
14
|
-
{% block content %}{% endblock %}
|
15
|
-
{% endset %}
|
16
|
-
|
17
|
-
{% if sidebar %}
|
18
|
-
<div class="c-library__body">
|
19
|
-
<nav class="c-library__sidebar c-library-stretch" id="sidebar">
|
20
|
-
<div class="u-flow--m u-sticky">
|
21
|
-
{% block sidebar %}{% endblock %}
|
22
|
-
</div>
|
23
|
-
</nav>
|
24
|
-
<main class="c-library__main c-library-stretch">
|
25
|
-
<div class="c-library-stretch">
|
26
|
-
{{ content | safe }}
|
27
|
-
</div>
|
28
|
-
</main>
|
29
|
-
</div>
|
30
|
-
{% if sidebar != 'components' %}
|
31
|
-
{% include "includes/system-footer.njk" %}
|
32
|
-
{% endif %}
|
33
|
-
{% else %}
|
34
|
-
{{ content | safe }}
|
35
|
-
{% endif %}
|
36
|
-
</div>
|
37
|
-
{% include "includes/system-scripts.njk" %}
|
38
|
-
|
39
|
-
{% endblock %}
|
package/src/_redirects
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
/brand/identity/ /brand 301
|
2
|
-
/brand/identity/boilerplate /content/boilerplate 301
|
3
|
-
/brand/identity/strategy /brand 301
|
4
|
-
/brand/visual /brand 301
|
5
|
-
/brand/visual/colors /brand/colors 301
|
6
|
-
/brand/visual/images /brand/images 301
|
7
|
-
/brand/visual/logo /brand/logo 301
|
8
|
-
/brand/visual/typography /brand/typography 301
|
9
|
-
/checklist /quickstart 301
|
10
|
-
http://project-franklin.netlify.app https://brand.malvernpanalytical.com 301
|
11
|
-
https://project-franklin.netlify.app https://brand.malvernpanalytical.com 301
|
12
|
-
http://project-franklin.netlify.app/* https://brand.malvernpanalytical.com/:splat 301
|
13
|
-
https://project-franklin.netlify.app/* https://brand.malvernpanalytical.com/:splat 301
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
package/src/assets/js/app.js
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
import Accordion from './imports/accordion';
|
2
|
-
import Carousel from './imports/carousel';
|
3
|
-
import ClearForm from './imports/clear-form';
|
4
|
-
import Comparison from './imports/comparison';
|
5
|
-
import Facet from './imports/facet';
|
6
|
-
import Gallery from './imports/gallery';
|
7
|
-
import HeroPattern from './imports/hero-pattern';
|
8
|
-
import HeroVideo from './imports/hero-video';
|
9
|
-
import HotspotImage from './imports/hotspot-image';
|
10
|
-
import InternalNav from './imports/internal-nav';
|
11
|
-
import OffCanvas from './imports/off-canvas';
|
12
|
-
import ResponsiveTable from './imports/responsive-table';
|
13
|
-
import ScrollbarWidth from './imports/scrollbar-width';
|
14
|
-
import ScrollSpy from './imports/scroll-spy';
|
15
|
-
import Tabs from './imports/tabs';
|
16
|
-
|
17
|
-
(() => {
|
18
|
-
if (window.NodeList && !NodeList.prototype.forEach) {
|
19
|
-
NodeList.prototype.forEach = Array.prototype.forEach;
|
20
|
-
}
|
21
|
-
if (window.HTMLCollection && !HTMLCollection.prototype.forEach) {
|
22
|
-
HTMLCollection.prototype.forEach = Array.prototype.forEach;
|
23
|
-
}
|
24
|
-
|
25
|
-
Accordion();
|
26
|
-
Carousel();
|
27
|
-
ClearForm();
|
28
|
-
Comparison();
|
29
|
-
Facet();
|
30
|
-
Gallery();
|
31
|
-
HeroPattern();
|
32
|
-
HeroVideo();
|
33
|
-
HotspotImage();
|
34
|
-
InternalNav();
|
35
|
-
OffCanvas();
|
36
|
-
ResponsiveTable();
|
37
|
-
ScrollbarWidth();
|
38
|
-
ScrollSpy();
|
39
|
-
Tabs();
|
40
|
-
})();
|
@@ -1,17 +0,0 @@
|
|
1
|
-
function Accordion() {
|
2
|
-
const accordions = Array.from(document.querySelectorAll('.c-accordion__title'));
|
3
|
-
accordions.forEach(setupAccordions);
|
4
|
-
}
|
5
|
-
|
6
|
-
function setupAccordions(title) {
|
7
|
-
title.addEventListener('click', titleClick())
|
8
|
-
}
|
9
|
-
|
10
|
-
function titleClick() {
|
11
|
-
return (event) => {
|
12
|
-
var item = event.currentTarget.parentElement;
|
13
|
-
item.classList.toggle('c-accordion__item--open');
|
14
|
-
}
|
15
|
-
}
|
16
|
-
|
17
|
-
export default Accordion;
|
@@ -1,22 +0,0 @@
|
|
1
|
-
function Carousel() {
|
2
|
-
let current = 0;
|
3
|
-
const bgSlides = document.querySelectorAll('.c-hero__image-bg');
|
4
|
-
const fgSlides = document.querySelectorAll('.c-hero__image-fg');
|
5
|
-
|
6
|
-
if(fgSlides.length > 0) {
|
7
|
-
setInterval(() => {
|
8
|
-
for (var bgSlide of bgSlides) {
|
9
|
-
bgSlide.style.opacity = 0;
|
10
|
-
}
|
11
|
-
current = (current != bgSlides.length - 1) ? current + 1 : 0;
|
12
|
-
bgSlides[current].style.opacity = 1;
|
13
|
-
|
14
|
-
for (var fgSlide of fgSlides) {
|
15
|
-
fgSlide.style.opacity = 0;
|
16
|
-
}
|
17
|
-
fgSlides[current].style.opacity = 1;
|
18
|
-
}, 5000);
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
export default Carousel;
|
@@ -1,27 +0,0 @@
|
|
1
|
-
function ClearForm() {
|
2
|
-
const formClear = document.getElementById('clearForm');
|
3
|
-
if (formClear) {
|
4
|
-
formClear.addEventListener('click', function () {
|
5
|
-
const fields = this.closest('form').elements;
|
6
|
-
fields.forEach(field => {
|
7
|
-
if (field.value != '') {
|
8
|
-
if (
|
9
|
-
field.type.toLowerCase() == 'text' ||
|
10
|
-
field.type.toLowerCase() == 'email' ||
|
11
|
-
field.type.toLowerCase() == 'tel' ||
|
12
|
-
field.type.toLowerCase() == 'select-one' ||
|
13
|
-
field.type.toLowerCase() == 'textarea'
|
14
|
-
) {
|
15
|
-
field.value = '';
|
16
|
-
return;
|
17
|
-
} else if (field.type.toLowerCase() == 'checkbox') {
|
18
|
-
field.checked = false;
|
19
|
-
return;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
});
|
23
|
-
});
|
24
|
-
};
|
25
|
-
}
|
26
|
-
|
27
|
-
export default ClearForm;
|
@@ -1,64 +0,0 @@
|
|
1
|
-
function Comparison() {
|
2
|
-
document.querySelectorAll('.c-comparison-table').forEach(extractMobileComparison)
|
3
|
-
}
|
4
|
-
|
5
|
-
function extractMobileComparison(container) {
|
6
|
-
const parent = container.parentNode.parentNode;
|
7
|
-
const body = parent.querySelector('.c-comparison-table tbody');
|
8
|
-
const head = parent.querySelector('.c-comparison-table thead');
|
9
|
-
const mobile = parent.parentElement.querySelector('.c-comparison-table__mobile');
|
10
|
-
|
11
|
-
if (!body || !head || !mobile) return;
|
12
|
-
|
13
|
-
// Remove empty corner piece
|
14
|
-
const productsInfo = Array.from(head.children[0].children).filter((x, i) => i).map(x => ({ info: x.innerHTML }));
|
15
|
-
const productsButtons = Array.from(head.children[1].children).filter((x, i) => i).map(x => ({ buttons: x.innerHTML }));
|
16
|
-
const products = productsInfo.map((info, index) => ({ ...info, ...productsButtons[index], table: [] }));
|
17
|
-
|
18
|
-
Array.from(body.children).forEach(row => {
|
19
|
-
// For table row headers, push to all products
|
20
|
-
if (row.classList.contains('c-comparison-table__title')) {
|
21
|
-
products.forEach(x => {
|
22
|
-
x.table.push({ type: 'title', title: row.children[0].textContent })
|
23
|
-
})
|
24
|
-
} else {
|
25
|
-
// For all others, loop the cells and push to their appropriate parent
|
26
|
-
const cells = Array.from(row.children);
|
27
|
-
const firstCell = cells.shift();
|
28
|
-
|
29
|
-
cells.forEach((el, index) => {
|
30
|
-
products[index].table.push({
|
31
|
-
type: 'row',
|
32
|
-
key: firstCell.textContent,
|
33
|
-
value: el.innerHTML
|
34
|
-
})
|
35
|
-
})
|
36
|
-
}
|
37
|
-
})
|
38
|
-
|
39
|
-
products.forEach(product => {
|
40
|
-
const el = createMobileProduct(product);
|
41
|
-
mobile.appendChild(el)
|
42
|
-
})
|
43
|
-
}
|
44
|
-
|
45
|
-
function createMobileProduct(product) {
|
46
|
-
const parent = document.createElement('article');
|
47
|
-
parent.innerHTML = `${product.info}${product.buttons}
|
48
|
-
<table class="c-comparison-table">
|
49
|
-
${product.table.map(x => {
|
50
|
-
if (x.type === 'title') {
|
51
|
-
return `<tr class="c-comparison-table__title"><th><span>${x.title}</span></th><th></th></tr>`;
|
52
|
-
} else {
|
53
|
-
return `<tr>
|
54
|
-
<td>${x.key}</td>
|
55
|
-
<td>${x.value}</td>
|
56
|
-
</tr>`;
|
57
|
-
}
|
58
|
-
}).join('')}
|
59
|
-
</table>`;
|
60
|
-
|
61
|
-
return parent;
|
62
|
-
}
|
63
|
-
|
64
|
-
export default Comparison;
|
@@ -1,23 +0,0 @@
|
|
1
|
-
function Facet() {
|
2
|
-
const facetAccordions = Array.from(document.querySelectorAll('.c-facet__toggle'));
|
3
|
-
facetAccordions.forEach(setupFacetAccordions);
|
4
|
-
}
|
5
|
-
|
6
|
-
function setupFacetAccordions(toggle) {
|
7
|
-
toggle.addEventListener('click', titleClick())
|
8
|
-
}
|
9
|
-
|
10
|
-
function titleClick() {
|
11
|
-
return (event) => {
|
12
|
-
event.preventDefault();
|
13
|
-
|
14
|
-
var toggle = event.currentTarget;
|
15
|
-
var facet = toggle.parentElement;
|
16
|
-
|
17
|
-
facet.classList.toggle('c-facet--open');
|
18
|
-
const expanded = facet.classList.contains('c-facet--open') ? 'true' : 'false';
|
19
|
-
toggle.setAttribute('aria-expanded', expanded);
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
export default Facet;
|