mp-design-system 1.2.64 → 1.2.66
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 +13 -4
- package/dist/build/scss/library.css +1 -1
- package/dist/build/scss/main.css +1 -1
- package/dist/build/scss/main2.css +1 -0
- 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 -169
- 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
package/src/index.njk
DELETED
@@ -1,152 +0,0 @@
|
|
1
|
-
---
|
2
|
-
subtitle: Our design system helps us create consistent experiences across our websites and beyond. It also makes the design and development process faster, more efficient and scalable.
|
3
|
-
description: Franklin is Malvern Panalytical's design system for public-facing websites and digital products.
|
4
|
-
layout: system-home-page
|
5
|
-
eleventyComputed:
|
6
|
-
title: "Welcome to the Franklin design system"
|
7
|
-
---
|
8
|
-
|
9
|
-
{% from "components/prose/macro.njk" import markdown %}
|
10
|
-
{% from "components/product-signpost/macro.njk" import productSignpost %}
|
11
|
-
|
12
|
-
<div class="o-grid o-grid--of-two u-margin-bottom-l-xl">
|
13
|
-
<div class="u-flow u-pad-right-l">
|
14
|
-
<h2 class="c-usp__title">For developers</h2>
|
15
|
-
<p>If you're developing a web site or app, start here.</p>
|
16
|
-
<ul class="o-grid o-grid--of-two">
|
17
|
-
{{ productSignpost ({
|
18
|
-
title: 'Getting started',
|
19
|
-
description: '<p>Using the Franklin design system</p>',
|
20
|
-
link: '/components',
|
21
|
-
classes: 'c-product-signpost--bordered'
|
22
|
-
}) }}
|
23
|
-
{{ productSignpost ({
|
24
|
-
title: 'Installation',
|
25
|
-
description: '<p>How to consume our CSS & JS via NPM</p>',
|
26
|
-
link: '/components/installation',
|
27
|
-
classes: 'c-product-signpost--bordered'
|
28
|
-
}) }}
|
29
|
-
{{ productSignpost ({
|
30
|
-
title: 'Component library',
|
31
|
-
description: '<p>Styles and reusable building blocks</p>',
|
32
|
-
link: '/components',
|
33
|
-
classes: 'c-product-signpost--bordered'
|
34
|
-
}) }}
|
35
|
-
{{ productSignpost ({
|
36
|
-
title: 'Grid system',
|
37
|
-
description: '<p>How to lay out pages and screens</p>',
|
38
|
-
link: '/components/grid',
|
39
|
-
classes: 'c-product-signpost--bordered'
|
40
|
-
}) }}
|
41
|
-
</ul>
|
42
|
-
</div>
|
43
|
-
<div class="u-flow u-pad-left-l">
|
44
|
-
<h2 class="c-usp__title">For non-developers</h2>
|
45
|
-
<p>Not writing code? Start here.</p>
|
46
|
-
<ul class="o-grid o-grid--of-two">
|
47
|
-
{{ productSignpost ({
|
48
|
-
title: 'Quick start guide',
|
49
|
-
description: '<p>The basics of Malvern Panalytical\'s visual style</p>',
|
50
|
-
link: '/quickstart',
|
51
|
-
classes: 'c-product-signpost--bordered'
|
52
|
-
}) }}
|
53
|
-
{{ productSignpost ({
|
54
|
-
title: 'Color',
|
55
|
-
description: '<p>The Malvern Panalytical brand color palette</p>',
|
56
|
-
link: '/brand/colors',
|
57
|
-
classes: 'c-product-signpost--bordered'
|
58
|
-
}) }}
|
59
|
-
{{ productSignpost ({
|
60
|
-
title: 'Typography',
|
61
|
-
description: '<p>Our guidelines for fonts, weights, and spacing</p>',
|
62
|
-
link: '/brand/typography',
|
63
|
-
classes: 'c-product-signpost--bordered'
|
64
|
-
}) }}
|
65
|
-
{{ productSignpost ({
|
66
|
-
title: 'Tone of voice',
|
67
|
-
description: '<p>Make your writing clearer, simpler, and more inspiring</p>',
|
68
|
-
link: '/content',
|
69
|
-
classes: 'c-product-signpost--bordered'
|
70
|
-
}) }}
|
71
|
-
</ul>
|
72
|
-
</div>
|
73
|
-
</div>
|
74
|
-
|
75
|
-
{% set content %}
|
76
|
-
|
77
|
-
## What is Franklin?
|
78
|
-
|
79
|
-
Franklin is Malvern Panalytical's **design system** for web-based marketing materials.
|
80
|
-
|
81
|
-
#### What's a design system?
|
82
|
-
|
83
|
-
A set of brand guidelines and a library of HTML/CSS/JS components. Using this system is the quickest and easiest way to ensure your website or web-app is on brand.
|
84
|
-
|
85
|
-
The [Design Systems Handbook](https://www.designbetter.co/design-systems-handbook) by InVision is a great (free) way to learn more about design systems.
|
86
|
-
|
87
|
-
#### Are there other design systems in use?
|
88
|
-
|
89
|
-
There are two other design systems in use at Malvern Panalytical.
|
90
|
-
|
91
|
-
- [Sencillo](https://confluence.systems.mp/pages/viewpage.action?spaceKey=FA&title=MP+Sencillo+-+Design+System) (pronounced *sehn-see-yoh*) is a design system used in Smart Manager, Agrilytics, and other web-based customer-facing software applications.
|
92
|
-
- [Malvern Panalytical User Interface Guidelines](https://malvern.sharepoint.com/sites/o365-sw-ebl/SitePages/User%20Interface%20Guidelines/Malvern-Panalytical-User-Interface-Guidelines.aspx) (also known as the XBL) is the Design System that is used in our desktop software, including the new OmniTrust. At the time of writing, it hasn't been rolled out to all platforms but it should be the go to Design System for any new software that we create for our products. It is also backed up with a reusable framework that provides the styles and controls within a fixed layout base application.
|
93
|
-
|
94
|
-
#### Where does Franklin come in?
|
95
|
-
|
96
|
-
<div class="ds-table c-table c-table--responsive">
|
97
|
-
|
98
|
-
| Design system | [MP User Interface Guidelines (XBL)](https://malvern.sharepoint.com/sites/o365-sw-ebl/SitePages/User%20Interface%20Guidelines/Malvern-Panalytical-User-Interface-Guidelines.aspx) | [MP Sencillo](https://confluence.systems.mp/pages/viewpage.action?spaceKey=FA&title=MP+Sencillo+-+Design+System) | Franklin |
|
99
|
-
|---------------|------------------------------------|-------------|----------|
|
100
|
-
| Target | Desktop and tablet based software for our products | Web-based apps that are part of the Smart Manager platform | Commercial websites |
|
101
|
-
| Goal | A common look and feel with a consistent user experience across all of our product software | Bridge the gap between our desktop software and our web sites, providing a familiar and branded experience | A common look and feel with a consistent user experience across all of our web sites |
|
102
|
-
| Framework technologies | .NET C# and WPF/Xaml | .NET Blazor (C#), CSS and HTML | CSS, HTML and JavaScript |
|
103
|
-
| Devices | Desktops and tablets | Desktops, tablets and mobiles | Desktops, tablets and mobiles |
|
104
|
-
| Target Content Type | Fast changing, short textual elements, data visualisations and high user interactivity | Frequently changing, short textual elements, data visualisations and medium user interactivity | Infrequently changing, blocks of copy, marketing/product photos and low user interactivity |
|
105
|
-
|
106
|
-
</div>
|
107
|
-
|
108
|
-
{% endset %}
|
109
|
-
|
110
|
-
{% set latest %}
|
111
|
-
## Latest updates
|
112
|
-
##### V1.2.13 - November 2023
|
113
|
-
|
114
|
-
- New [product comparison cards](/components/product-card-with-features-list)
|
115
|
-
- New ["Sticky" internal nav](/components/internal-nav-sticky-on-scroll)
|
116
|
-
- Updated [comparison table](/components/comparison-table) design
|
117
|
-
{% endset %}
|
118
|
-
|
119
|
-
<div class="o-grid o-grid--layout o-grid--8/4">
|
120
|
-
|
121
|
-
{{ markdown({
|
122
|
-
content: content
|
123
|
-
}) }}
|
124
|
-
|
125
|
-
<div><div class="c-slat c-slat--crystal u-bg-blue-step-3 u-pad-x-l">
|
126
|
-
{{ markdown({
|
127
|
-
content: latest
|
128
|
-
}) }}
|
129
|
-
</div></div>
|
130
|
-
|
131
|
-
</div>
|
132
|
-
|
133
|
-
<style>
|
134
|
-
.ds-table {
|
135
|
-
border-left: 1px solid #ebf1f2;
|
136
|
-
}
|
137
|
-
.ds-table table th:nth-child(1),
|
138
|
-
.ds-table table td:nth-child(1) {
|
139
|
-
background-color: #fff;
|
140
|
-
border-color: #ebf1f2;
|
141
|
-
color: #333;
|
142
|
-
}
|
143
|
-
.ds-table table th:nth-child(2) {
|
144
|
-
background-color: #00a2c2;
|
145
|
-
}
|
146
|
-
.ds-table table th:nth-child(3) {
|
147
|
-
background-color: #005461;
|
148
|
-
}
|
149
|
-
.ds-table table th:nth-child(4) {
|
150
|
-
background-color: #003039;
|
151
|
-
}
|
152
|
-
</style>
|
package/src/patterns/form.njk
DELETED
@@ -1,349 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Form inputs
|
3
|
-
layout: patterns-page
|
4
|
-
---
|
5
|
-
|
6
|
-
{% from "components/input/macro.njk" import input %}
|
7
|
-
{% from "components/input/macro.njk" import select %}
|
8
|
-
{% from "components/input/macro.njk" import textarea %}
|
9
|
-
{% from "components/input/macro.njk" import checkbox %}
|
10
|
-
{% from "components/input/macro.njk" import radio %}
|
11
|
-
{% from "components/input/macro.njk" import toggle %}
|
12
|
-
{% from "components/alert/macro.njk" import alert %}
|
13
|
-
|
14
|
-
<div class="o-grid o-grid--9/3 o-grid--layout">
|
15
|
-
<div class="u-flow--m">
|
16
|
-
<form class="mp-dynamicform">
|
17
|
-
<section class="c-form__section u-flow--m">
|
18
|
-
{{ input({
|
19
|
-
label: 'Text',
|
20
|
-
name: 'text_input',
|
21
|
-
id: 'text_input',
|
22
|
-
type: 'text',
|
23
|
-
placeholder: 'Placeholder'
|
24
|
-
})}}
|
25
|
-
|
26
|
-
{{ select({
|
27
|
-
label: "Select",
|
28
|
-
name: "select",
|
29
|
-
id: "select",
|
30
|
-
placeholder: "Placeholder",
|
31
|
-
options: [
|
32
|
-
[
|
33
|
-
"option-1",
|
34
|
-
"Option 1"
|
35
|
-
],
|
36
|
-
[
|
37
|
-
"Option 2"
|
38
|
-
],
|
39
|
-
[
|
40
|
-
"option-3",
|
41
|
-
"Option 3"
|
42
|
-
]
|
43
|
-
]
|
44
|
-
})}}
|
45
|
-
|
46
|
-
{{ textarea({
|
47
|
-
label: 'Textarea',
|
48
|
-
name: 'textarea',
|
49
|
-
id: 'textarea',
|
50
|
-
type: 'textarea',
|
51
|
-
placeholder: 'Placeholder'
|
52
|
-
})}}
|
53
|
-
|
54
|
-
<label class="c-label">Checkboxes</label>
|
55
|
-
{% for _ in ["Live","Laugh","Love"] %}
|
56
|
-
<div>
|
57
|
-
{{ checkbox({
|
58
|
-
label: _,
|
59
|
-
name: 'tenets',
|
60
|
-
id: _,
|
61
|
-
value: _
|
62
|
-
})}}
|
63
|
-
</div>
|
64
|
-
{% endfor %}
|
65
|
-
|
66
|
-
<label class="c-label">Radio buttons</label>
|
67
|
-
{% for _ in ["Bears","Beets","Battlestar Galactica"] %}
|
68
|
-
<div>
|
69
|
-
{{ radio({
|
70
|
-
label: _,
|
71
|
-
name: 'facts',
|
72
|
-
id: _,
|
73
|
-
value: _
|
74
|
-
})}}
|
75
|
-
</div>
|
76
|
-
{% endfor %}
|
77
|
-
|
78
|
-
<label class="c-label">Toggle</label>
|
79
|
-
{{ toggle({
|
80
|
-
label: 'Toggle',
|
81
|
-
name: 'toggle',
|
82
|
-
id: 'toggle',
|
83
|
-
type: 'toggle',
|
84
|
-
placeholder: 'Toggle?'
|
85
|
-
})}}
|
86
|
-
</section>
|
87
|
-
{# MISC FIELD TYPES EXAMPLES #}
|
88
|
-
<section class="c-form__section u-flow--m">
|
89
|
-
<legend id="variations"><code><input></code> variations</legend>
|
90
|
-
|
91
|
-
{{ input({
|
92
|
-
label: 'Email',
|
93
|
-
name: 'email_input',
|
94
|
-
id: 'email_input',
|
95
|
-
type: 'email',
|
96
|
-
placeholder: 'Placeholder'
|
97
|
-
})}}
|
98
|
-
|
99
|
-
{{ input({
|
100
|
-
label: 'Password',
|
101
|
-
name: 'password_input',
|
102
|
-
id: 'password_input',
|
103
|
-
type: 'password'
|
104
|
-
})}}
|
105
|
-
|
106
|
-
{{ input({
|
107
|
-
label: 'Date',
|
108
|
-
name: 'date_input',
|
109
|
-
id: 'date_input',
|
110
|
-
type: 'date',
|
111
|
-
placeholder: 'Placeholder'
|
112
|
-
})}}
|
113
|
-
|
114
|
-
{{ input({
|
115
|
-
label: 'Search',
|
116
|
-
name: 'search_input',
|
117
|
-
id: 'search_input',
|
118
|
-
type: 'search',
|
119
|
-
placeholder: 'Placeholder'
|
120
|
-
})}}
|
121
|
-
|
122
|
-
{{ input({
|
123
|
-
label: 'Telephone',
|
124
|
-
name: 'tel_input',
|
125
|
-
id: 'tel_input',
|
126
|
-
type: 'tel',
|
127
|
-
placeholder: 'Placeholder'
|
128
|
-
})}}
|
129
|
-
|
130
|
-
{{ input({
|
131
|
-
label: 'Number',
|
132
|
-
name: 'number_input',
|
133
|
-
id: 'number_input',
|
134
|
-
type: 'number',
|
135
|
-
placeholder: 'Placeholder'
|
136
|
-
})}}
|
137
|
-
|
138
|
-
{{ input({
|
139
|
-
label: 'File',
|
140
|
-
name: 'file_input',
|
141
|
-
id: 'file_input',
|
142
|
-
type: 'file',
|
143
|
-
classes: 'c-input--file'
|
144
|
-
})}}
|
145
|
-
|
146
|
-
{{ input({
|
147
|
-
label: 'Range',
|
148
|
-
name: 'range_input',
|
149
|
-
id: 'range_input',
|
150
|
-
type: 'range',
|
151
|
-
placeholder: 'Placeholder'
|
152
|
-
})}}
|
153
|
-
|
154
|
-
{{ input({
|
155
|
-
label: 'URL',
|
156
|
-
name: 'url_input',
|
157
|
-
id: 'url_input',
|
158
|
-
type: 'url',
|
159
|
-
placeholder: 'Placeholder'
|
160
|
-
})}}
|
161
|
-
|
162
|
-
{{ input({
|
163
|
-
label: 'Color',
|
164
|
-
name: 'color_input',
|
165
|
-
id: 'color_input',
|
166
|
-
type: 'color',
|
167
|
-
placeholder: 'Placeholder'
|
168
|
-
})}}
|
169
|
-
</section>
|
170
|
-
{# DISABLED EXAMPLES #}
|
171
|
-
<section class="c-form__section u-flow--m">
|
172
|
-
<legend id="disabled">Disabled</legend>
|
173
|
-
{{ input({
|
174
|
-
label: 'Text',
|
175
|
-
name: 'text_input',
|
176
|
-
id: 'text_input',
|
177
|
-
type: 'text',
|
178
|
-
placeholder: 'Placeholder',
|
179
|
-
disabled: true
|
180
|
-
})}}
|
181
|
-
|
182
|
-
{{ select({
|
183
|
-
label: "Select",
|
184
|
-
name: "select",
|
185
|
-
id: "select",
|
186
|
-
placeholder: "Placeholder",
|
187
|
-
disabled: true,
|
188
|
-
options: [
|
189
|
-
[
|
190
|
-
"option-1",
|
191
|
-
"Option 1"
|
192
|
-
],
|
193
|
-
[
|
194
|
-
"Option 2"
|
195
|
-
],
|
196
|
-
[
|
197
|
-
"option-3",
|
198
|
-
"Option 3"
|
199
|
-
]
|
200
|
-
]
|
201
|
-
})}}
|
202
|
-
|
203
|
-
{{ textarea({
|
204
|
-
label: 'Textarea',
|
205
|
-
name: 'textarea',
|
206
|
-
id: 'textarea',
|
207
|
-
type: 'textarea',
|
208
|
-
placeholder: 'Placeholder',
|
209
|
-
disabled: true
|
210
|
-
})}}
|
211
|
-
|
212
|
-
<label class="c-label">Checkboxes</label>
|
213
|
-
{% for _ in ["Live","Laugh","Love"] %}
|
214
|
-
<div>
|
215
|
-
{{ checkbox({
|
216
|
-
label: _,
|
217
|
-
name: 'tenets--disabled',
|
218
|
-
id: _+'--disabled',
|
219
|
-
disabled: true
|
220
|
-
})}}
|
221
|
-
</div>
|
222
|
-
{% endfor %}
|
223
|
-
|
224
|
-
<label class="c-label">Radio buttons</label>
|
225
|
-
{% for _ in ["Bears","Beets","Battlestar Galactica"] %}
|
226
|
-
<div>
|
227
|
-
{{ radio({
|
228
|
-
label: _,
|
229
|
-
name: 'facts--disabled',
|
230
|
-
id: _+'--disabled',
|
231
|
-
disabled: true
|
232
|
-
})}}
|
233
|
-
</div>
|
234
|
-
{% endfor %}
|
235
|
-
|
236
|
-
<label class="c-label">Toggle</label>
|
237
|
-
{{ toggle({
|
238
|
-
label: 'Toggle',
|
239
|
-
name: 'toggle--disabled',
|
240
|
-
id: 'toggle--disabled',
|
241
|
-
type: 'toggle',
|
242
|
-
placeholder: 'Toggle?',
|
243
|
-
disabled: true
|
244
|
-
})}}
|
245
|
-
|
246
|
-
{{ input({
|
247
|
-
label: 'Email',
|
248
|
-
name: 'email_input',
|
249
|
-
id: 'email_input',
|
250
|
-
type: 'email',
|
251
|
-
placeholder: 'Placeholder',
|
252
|
-
disabled: true
|
253
|
-
})}}
|
254
|
-
|
255
|
-
{{ input({
|
256
|
-
label: 'Password',
|
257
|
-
name: 'password_input',
|
258
|
-
id: 'password_input',
|
259
|
-
type: 'password',
|
260
|
-
disabled: true
|
261
|
-
})}}
|
262
|
-
|
263
|
-
{{ input({
|
264
|
-
label: 'Date',
|
265
|
-
name: 'date_input',
|
266
|
-
id: 'date_input',
|
267
|
-
type: 'date',
|
268
|
-
placeholder: 'Placeholder',
|
269
|
-
disabled: true
|
270
|
-
})}}
|
271
|
-
|
272
|
-
{{ input({
|
273
|
-
label: 'Search',
|
274
|
-
name: 'search_input',
|
275
|
-
id: 'search_input',
|
276
|
-
type: 'search',
|
277
|
-
placeholder: 'Placeholder',
|
278
|
-
disabled: true
|
279
|
-
})}}
|
280
|
-
|
281
|
-
{{ input({
|
282
|
-
label: 'Telephone',
|
283
|
-
name: 'tel_input',
|
284
|
-
id: 'tel_input',
|
285
|
-
type: 'tel',
|
286
|
-
placeholder: 'Placeholder',
|
287
|
-
disabled: true
|
288
|
-
})}}
|
289
|
-
|
290
|
-
{{ input({
|
291
|
-
label: 'Number',
|
292
|
-
name: 'number_input',
|
293
|
-
id: 'number_input',
|
294
|
-
type: 'number',
|
295
|
-
placeholder: 'Placeholder',
|
296
|
-
disabled: true
|
297
|
-
})}}
|
298
|
-
|
299
|
-
{{ input({
|
300
|
-
label: 'File',
|
301
|
-
name: 'file_input',
|
302
|
-
id: 'file_input',
|
303
|
-
type: 'file',
|
304
|
-
classes: 'c-input--file',
|
305
|
-
disabled: true
|
306
|
-
})}}
|
307
|
-
|
308
|
-
{{ input({
|
309
|
-
label: 'Range',
|
310
|
-
name: 'range_input',
|
311
|
-
id: 'range_input',
|
312
|
-
type: 'range',
|
313
|
-
placeholder: 'Placeholder',
|
314
|
-
disabled: true
|
315
|
-
})}}
|
316
|
-
|
317
|
-
{{ input({
|
318
|
-
label: 'URL',
|
319
|
-
name: 'url_input',
|
320
|
-
id: 'url_input',
|
321
|
-
type: 'url',
|
322
|
-
placeholder: 'Placeholder',
|
323
|
-
disabled: true
|
324
|
-
})}}
|
325
|
-
|
326
|
-
{{ input({
|
327
|
-
label: 'Color',
|
328
|
-
name: 'color_input',
|
329
|
-
id: 'color_input',
|
330
|
-
type: 'color',
|
331
|
-
placeholder: 'Placeholder',
|
332
|
-
disabled: true
|
333
|
-
})}}
|
334
|
-
</section>
|
335
|
-
</form>
|
336
|
-
|
337
|
-
{{ alert({
|
338
|
-
type: 'info',
|
339
|
-
content: '<h3>To do:</h3>
|
340
|
-
<ul>
|
341
|
-
<li>Allow extra attributes for some input types (e.g. "step" on number inputs)</li>
|
342
|
-
<li>Allow state attribute, e.g. disabled, error, prefilled</li>
|
343
|
-
<li>Show/hide control on password input (optional)</li>
|
344
|
-
<li>Better design for range input</li>
|
345
|
-
<li>Better design for color input</li>
|
346
|
-
</ul>'
|
347
|
-
}) }}
|
348
|
-
</div>
|
349
|
-
</div>
|
@@ -1,66 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Grid of cards
|
3
|
-
layout: patterns-page
|
4
|
-
---
|
5
|
-
|
6
|
-
{% from "components/card/macro.njk" import card %}
|
7
|
-
|
8
|
-
<div class="o-grid o-grid--of-three o-grid--swipeable">
|
9
|
-
{{ card({
|
10
|
-
theme: {
|
11
|
-
layout: 'single',
|
12
|
-
size: 'medium',
|
13
|
-
name: 'alt'
|
14
|
-
},
|
15
|
-
image: {
|
16
|
-
src: '/static/img/blog-page-image-1.jpg',
|
17
|
-
alt: ''
|
18
|
-
},
|
19
|
-
header: {
|
20
|
-
title: 'Mixing it with the Mastersizer!'
|
21
|
-
},
|
22
|
-
body: {
|
23
|
-
content: '<p>At a major leading manufacturer of mixing equipment, the Mastersizer particle size analyzer is one of the analytical instruments used by customers during process simulations.</p>'
|
24
|
-
},
|
25
|
-
link: '/prototype/blog-post',
|
26
|
-
tag: 'News'
|
27
|
-
}) }}
|
28
|
-
{{ card({
|
29
|
-
theme: {
|
30
|
-
layout: 'single',
|
31
|
-
size: 'medium',
|
32
|
-
name: 'alt'
|
33
|
-
},
|
34
|
-
image: {
|
35
|
-
src: '/static/img/blog-page-image-1.jpg',
|
36
|
-
alt: ''
|
37
|
-
},
|
38
|
-
header: {
|
39
|
-
title: 'GPC/SEC standards: making them last'
|
40
|
-
},
|
41
|
-
body: {
|
42
|
-
content: '<p>Earlier this year I highlighted the different types of GPC/SEC standards available and where to find them on our eStore. In this post, I’m going to share some tips and tricks about preparing your standards and making them last. But first, what standard should you be using? In my previous post, I discussed how the […]</p>'
|
43
|
-
},
|
44
|
-
link: '/prototype/blog-post',
|
45
|
-
tag: 'News'
|
46
|
-
}) }}
|
47
|
-
{{ card({
|
48
|
-
theme: {
|
49
|
-
layout: 'single',
|
50
|
-
size: 'medium',
|
51
|
-
name: 'alt'
|
52
|
-
},
|
53
|
-
image: {
|
54
|
-
src: '/static/img/blog-page-image-1.jpg',
|
55
|
-
alt: ''
|
56
|
-
},
|
57
|
-
header: {
|
58
|
-
title: 'Viral Vector Vaccines: A Borrowed Technology from Gene Therapy Advancements'
|
59
|
-
},
|
60
|
-
body: {
|
61
|
-
content: '<p>Advances in recombinant DNA technology, genomics, and immunology have greatly influenced the vaccine development process. The genetic manipulation of viruses makes them suitable as vectors for gene delivery, providing a novel and unique opportunity for vaccine design. Viruses survive and replicate by invading their host’s cells and hijacking their protein-making machinery. These virus particles contain […]</p>'
|
62
|
-
},
|
63
|
-
link: '/prototype/blog-post',
|
64
|
-
tag: 'News'
|
65
|
-
}) }}
|
66
|
-
</div>
|
package/src/patterns/index.njk
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Patterns
|
3
|
-
layout: system-page
|
4
|
-
sidebar: components
|
5
|
-
---
|
6
|
-
|
7
|
-
{% from "components/prose/macro.njk" import markdown %}
|
8
|
-
|
9
|
-
{% set content %}
|
10
|
-
Patterns are groups of components, held together with foundational utility classes. Use this space as a way of testing components in-situ with other components.
|
11
|
-
|
12
|
-
{% for p in collections.patterns %}
|
13
|
-
- [{{ p.data.title }}]({{ p.url }})
|
14
|
-
{% endfor %}
|
15
|
-
{% endset %}
|
16
|
-
|
17
|
-
{{ markdown({
|
18
|
-
content: content
|
19
|
-
}) }}
|