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,156 +0,0 @@
|
|
1
|
-
// 'Breakpoints' for cards -
|
2
|
-
// Basically 'S' is usually portrait, and 'M' is usually landscape
|
3
|
-
// This system can be replaced by style queries, when that has
|
4
|
-
// better browser support
|
5
|
-
$card-s: 25ch;
|
6
|
-
$card-m: 45ch;
|
7
|
-
$card-l: 70em;
|
8
|
-
|
9
|
-
.c-card-new {
|
10
|
-
background-color: color('white');
|
11
|
-
container-name: card;
|
12
|
-
container-type: inline-size;
|
13
|
-
display: flex;
|
14
|
-
@include step(-1);
|
15
|
-
position: relative;
|
16
|
-
}
|
17
|
-
|
18
|
-
.c-card-new__inner {
|
19
|
-
display: flex;
|
20
|
-
flex-direction: column-reverse;
|
21
|
-
flex-grow: 1;
|
22
|
-
position: relative;
|
23
|
-
--layout: single;
|
24
|
-
|
25
|
-
@container card (width > #{$card-m}) {
|
26
|
-
--layout: multi;
|
27
|
-
flex-direction: row;
|
28
|
-
.c-card-new--product &,
|
29
|
-
.c-card-new--switch & {
|
30
|
-
flex-direction: row-reverse;
|
31
|
-
}
|
32
|
-
}
|
33
|
-
|
34
|
-
& > * {
|
35
|
-
flex: 1;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Color themes
|
39
|
-
.c-card-new--bordered & {
|
40
|
-
border: 1px solid color("petrol", "step-2");
|
41
|
-
}
|
42
|
-
|
43
|
-
.c-card-new--alt & {
|
44
|
-
background-color: color('petrol','step-3');
|
45
|
-
}
|
46
|
-
|
47
|
-
.c-card-new--dark & {
|
48
|
-
background-color: color('petrol');
|
49
|
-
color: color('white');
|
50
|
-
|
51
|
-
.c-card__datetime,
|
52
|
-
.c-card__meta {
|
53
|
-
color: color('petrol', 'step-2');
|
54
|
-
}
|
55
|
-
}
|
56
|
-
|
57
|
-
.c-card-new--shadowed & {
|
58
|
-
@include space('--shadow-r', 'xs');
|
59
|
-
@include space('--shadow-b', 's');
|
60
|
-
box-shadow: 0 var(--shadow-r) var(--shadow-b) 0 rgba(color('grey'), 20%);
|
61
|
-
}
|
62
|
-
}
|
63
|
-
|
64
|
-
.c-card-new__header {
|
65
|
-
@include flow('xs');
|
66
|
-
}
|
67
|
-
|
68
|
-
:not(.c-card-new--resource).c-card-new--small .c-card__meta {
|
69
|
-
@container card (width < #{$card-m}) {
|
70
|
-
display: none;
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
|
-
.c-card-new__body {
|
75
|
-
@include flow('s');
|
76
|
-
@include padding('s-m');
|
77
|
-
|
78
|
-
display: flex;
|
79
|
-
flex-direction: column;
|
80
|
-
|
81
|
-
@container card (width > #{$card-m}) {
|
82
|
-
min-width: 30ch;
|
83
|
-
}
|
84
|
-
|
85
|
-
@container card (width > #{$card-l}) {
|
86
|
-
@include padding('m-l');
|
87
|
-
}
|
88
|
-
|
89
|
-
.c-card-new--small & {
|
90
|
-
@include padding('xs');
|
91
|
-
}
|
92
|
-
}
|
93
|
-
|
94
|
-
.c-card-new__title {
|
95
|
-
@include step(0);
|
96
|
-
|
97
|
-
@container card (width > #{$card-m}) {
|
98
|
-
.c-card-new:not(.c-card-new--small) & {
|
99
|
-
@include step(3);
|
100
|
-
}
|
101
|
-
}
|
102
|
-
}
|
103
|
-
|
104
|
-
.c-card-new__image {
|
105
|
-
flex-grow: 0;
|
106
|
-
position: relative;
|
107
|
-
|
108
|
-
@container card (width > #{$card-m}) {
|
109
|
-
flex-basis: 33%;
|
110
|
-
}
|
111
|
-
|
112
|
-
.c-card-new:not(.c-card-new--small) & {
|
113
|
-
@container (width > #{$card-l}) {
|
114
|
-
flex-basis: 61%;
|
115
|
-
}
|
116
|
-
}
|
117
|
-
|
118
|
-
img {
|
119
|
-
height: 100%;
|
120
|
-
object-fit: cover;
|
121
|
-
object-position: center;
|
122
|
-
position: absolute;
|
123
|
-
width: 100%;
|
124
|
-
|
125
|
-
@container card (width < #{$card-m}) {
|
126
|
-
aspect-ratio: 2;
|
127
|
-
position: static !important;
|
128
|
-
// @include padding('s-m');
|
129
|
-
// padding-bottom: 0;
|
130
|
-
}
|
131
|
-
|
132
|
-
.c-card-new--small:not(.c-card-new--product) & {
|
133
|
-
@container card (width < #{$card-m}) {
|
134
|
-
aspect-ratio: 3;
|
135
|
-
}
|
136
|
-
}
|
137
|
-
}
|
138
|
-
|
139
|
-
}
|
140
|
-
|
141
|
-
.c-card-new__footer {
|
142
|
-
.o-grid & {
|
143
|
-
margin-top: auto;
|
144
|
-
@include padding-top('s');
|
145
|
-
}
|
146
|
-
}
|
147
|
-
|
148
|
-
.c-card-new .c-button {
|
149
|
-
@container card (width > #{$card-s}) {
|
150
|
-
white-space: nowrap;
|
151
|
-
}
|
152
|
-
|
153
|
-
@container card (width < #{$card-m}) {
|
154
|
-
flex: 1;
|
155
|
-
}
|
156
|
-
}
|
@@ -1,92 +0,0 @@
|
|
1
|
-
const products = [
|
2
|
-
{
|
3
|
-
title: 'Mastersizer 3000',
|
4
|
-
image: {
|
5
|
-
src: '/static/img/range-product-1.jpg',
|
6
|
-
alt: 'Mastersizer 3000'
|
7
|
-
},
|
8
|
-
description: 'Delivering the data you need for outcomes you can trust',
|
9
|
-
buttons: [
|
10
|
-
{
|
11
|
-
link: '#',
|
12
|
-
label: 'More details'
|
13
|
-
},
|
14
|
-
{
|
15
|
-
link: '#',
|
16
|
-
label: 'Request a quote'
|
17
|
-
}
|
18
|
-
],
|
19
|
-
sections: [
|
20
|
-
['Laser diffraction', '0.01µm - 3500µm'],
|
21
|
-
[true, true, true, false],
|
22
|
-
[true, true, true, true, true],
|
23
|
-
['IQ/OQ validation', '21 CFR Part 11 support']
|
24
|
-
]
|
25
|
-
},
|
26
|
-
{
|
27
|
-
title: 'Mastersizer 3000E',
|
28
|
-
image: {
|
29
|
-
src: '/static/img/range-product-2.jpg',
|
30
|
-
alt: 'Mastersizer 3000E'
|
31
|
-
},
|
32
|
-
description: 'Entry level particle size analyzer',
|
33
|
-
buttons: [
|
34
|
-
{
|
35
|
-
link: '#',
|
36
|
-
label: 'More details'
|
37
|
-
},
|
38
|
-
{
|
39
|
-
link: '#',
|
40
|
-
label: 'Request a quote'
|
41
|
-
}
|
42
|
-
],
|
43
|
-
sections: [
|
44
|
-
['Laser diffraction', '0.1µm - 1000µm'],
|
45
|
-
[false, false, true, true],
|
46
|
-
[true, false, false, false, false],
|
47
|
-
['-', '-']
|
48
|
-
]
|
49
|
-
}
|
50
|
-
]
|
51
|
-
|
52
|
-
module.exports = {
|
53
|
-
title: 'Comparison table',
|
54
|
-
component: {
|
55
|
-
name: 'comparison-table',
|
56
|
-
},
|
57
|
-
context: {
|
58
|
-
sections: [
|
59
|
-
{
|
60
|
-
title: 'Technology',
|
61
|
-
rows: ['Technology', 'Particle size range']
|
62
|
-
},
|
63
|
-
{
|
64
|
-
title: 'Dispersion type',
|
65
|
-
rows: ['Automated wet', 'Automated dry powder', 'Manual wet', 'Manual dry powder']
|
66
|
-
},
|
67
|
-
{
|
68
|
-
title: 'Software',
|
69
|
-
rows: ['Basic software', 'Advanced method development', 'Comparison software', 'Advanced data quality assessment', 'Reporting']
|
70
|
-
},
|
71
|
-
{
|
72
|
-
title: 'Compliance',
|
73
|
-
rows: ['Installation', 'Compliance']
|
74
|
-
},
|
75
|
-
],
|
76
|
-
products: [
|
77
|
-
...products
|
78
|
-
]
|
79
|
-
},
|
80
|
-
variants: [
|
81
|
-
{
|
82
|
-
title: 'Many products',
|
83
|
-
context: {
|
84
|
-
products: [
|
85
|
-
...products,
|
86
|
-
...products,
|
87
|
-
...products,
|
88
|
-
]
|
89
|
-
}
|
90
|
-
}
|
91
|
-
]
|
92
|
-
}
|
@@ -1,76 +0,0 @@
|
|
1
|
-
{% from "components/button/macro.njk" import button %}
|
2
|
-
{% from "components/icon/macro.njk" import icon %}
|
3
|
-
|
4
|
-
<section id="product-comparison-table" class="mp u-bg-grey-step-3 u-pad-y-xl" style="scroll-margin-top:70px">
|
5
|
-
<div class="c-comparison-table__mobile u-wrap"></div>
|
6
|
-
<div class="c-comparison-table__desktop u-wrap">
|
7
|
-
<table class="c-comparison-table">
|
8
|
-
<thead>
|
9
|
-
<tr>
|
10
|
-
<th></th>
|
11
|
-
{% for product in params.products %}
|
12
|
-
<th>
|
13
|
-
<div class="c-comparison-table__product">
|
14
|
-
<img alt="{{ product.image.alt }}" src="{{ product.image.src }}" />
|
15
|
-
<h3 class="c-h c-h--step-0">{{ product.title }}</h3>
|
16
|
-
<p>{{ product.description }}</p>
|
17
|
-
</div>
|
18
|
-
</th>
|
19
|
-
{% endfor %}
|
20
|
-
</tr>
|
21
|
-
<tr>
|
22
|
-
<th></th>
|
23
|
-
{% for product in params.products %}
|
24
|
-
<th>
|
25
|
-
{% if product.buttons | length %}
|
26
|
-
<div class="c-comparison-table__buttons">
|
27
|
-
{% for item in product.buttons %}
|
28
|
-
{{ button({
|
29
|
-
link: item.link,
|
30
|
-
label: item.label,
|
31
|
-
colour: 'outline-green' if loop.index0 == 0 else 'green',
|
32
|
-
classes: 'c-button--small'
|
33
|
-
}) }}
|
34
|
-
{% endfor %}
|
35
|
-
</div>
|
36
|
-
{% endif %}
|
37
|
-
</th>
|
38
|
-
{% endfor %}
|
39
|
-
</tr>
|
40
|
-
</thead>
|
41
|
-
<tbody>
|
42
|
-
{% for section in params.sections %}
|
43
|
-
{% if section.title != null %}
|
44
|
-
<tr class="c-comparison-table__title">
|
45
|
-
<th>
|
46
|
-
<span>{{ section.title }}</span>
|
47
|
-
</th>
|
48
|
-
<th colspan="{{ params.products | length }}"></th>
|
49
|
-
</tr>
|
50
|
-
{% endif %}
|
51
|
-
|
52
|
-
{% set sectionId = loop.index0 %}
|
53
|
-
{% for row in section.rows %}
|
54
|
-
{% set rowId = loop.index0 %}
|
55
|
-
<tr>
|
56
|
-
<td>{{ row }}</td>
|
57
|
-
{% for product in params.products %}
|
58
|
-
{%- set value = product.sections[sectionId][rowId] -%}
|
59
|
-
<td>
|
60
|
-
{% if value == true %}
|
61
|
-
{{ icon({ id: 'tick' }) }}
|
62
|
-
{% elseif value == false %}
|
63
|
-
{{ icon({ id: 'cross' }) }}
|
64
|
-
{% else %}
|
65
|
-
{{ value }}
|
66
|
-
{% endif %}
|
67
|
-
</td>
|
68
|
-
{% endfor %}
|
69
|
-
</tr>
|
70
|
-
{% endfor %}
|
71
|
-
{% endfor %}
|
72
|
-
|
73
|
-
</tbody>
|
74
|
-
</table>
|
75
|
-
</div>
|
76
|
-
</section>
|
@@ -1,187 +0,0 @@
|
|
1
|
-
.c-comparison-table__desktop {
|
2
|
-
overflow: auto;
|
3
|
-
width: 100%;
|
4
|
-
|
5
|
-
.c-comparison-table {
|
6
|
-
width: calc(100% - 1px);
|
7
|
-
|
8
|
-
@media (min-width: 60em) {
|
9
|
-
tbody > tr > :first-child {
|
10
|
-
min-width: 300px;
|
11
|
-
}
|
12
|
-
}
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
.c-comparison-table__mobile {
|
17
|
-
display: none;
|
18
|
-
|
19
|
-
& > * + * {
|
20
|
-
@include margin-top('m-l');
|
21
|
-
}
|
22
|
-
|
23
|
-
.c-comparison-table {
|
24
|
-
width: 100%;
|
25
|
-
table-layout: fixed;
|
26
|
-
|
27
|
-
&__product {
|
28
|
-
img {
|
29
|
-
@include margin(0);
|
30
|
-
}
|
31
|
-
}
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
.c-comparison-table {
|
36
|
-
@include step(-1);
|
37
|
-
border-collapse: collapse;
|
38
|
-
|
39
|
-
thead {
|
40
|
-
th {
|
41
|
-
@include padding(0, '2xs');
|
42
|
-
border: 0;
|
43
|
-
text-align: center;
|
44
|
-
vertical-align: top;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
|
48
|
-
&__product {
|
49
|
-
@extend .u-flow--2xs;
|
50
|
-
|
51
|
-
img {
|
52
|
-
@include space('max-height', '3xl');
|
53
|
-
@include margin(0, 'auto');
|
54
|
-
object-fit: contain;
|
55
|
-
mix-blend-mode: multiply;
|
56
|
-
}
|
57
|
-
|
58
|
-
p {
|
59
|
-
font-weight: 400;
|
60
|
-
}
|
61
|
-
}
|
62
|
-
|
63
|
-
&__buttons {
|
64
|
-
@include margin(0, 'auto');
|
65
|
-
@include padding-bottom('xs');
|
66
|
-
margin-top: 1.25rem !important;
|
67
|
-
display: inline-flex;
|
68
|
-
flex-direction: column;
|
69
|
-
|
70
|
-
& * + * {
|
71
|
-
@include margin-top('2xs');
|
72
|
-
}
|
73
|
-
}
|
74
|
-
|
75
|
-
&__title {
|
76
|
-
th {
|
77
|
-
@include padding-top('xs');
|
78
|
-
text-align: left;
|
79
|
-
|
80
|
-
span {
|
81
|
-
@include padding('2xs');
|
82
|
-
background-color: color('grey');
|
83
|
-
color: color('white');
|
84
|
-
max-width: 20em;
|
85
|
-
width: 100%;
|
86
|
-
display: inline-block;
|
87
|
-
position: relative;
|
88
|
-
text-align: center;
|
89
|
-
font-weight: 600;
|
90
|
-
|
91
|
-
&::after {
|
92
|
-
@include space('border-width', 'xs', 0, 0, 'xs');
|
93
|
-
content: "";
|
94
|
-
width: 0;
|
95
|
-
height: 0;
|
96
|
-
border-style: solid;
|
97
|
-
border-color: color('grey', 'step-3') transparent transparent transparent;
|
98
|
-
position: absolute;
|
99
|
-
top: 0;
|
100
|
-
right: 0;
|
101
|
-
}
|
102
|
-
}
|
103
|
-
}
|
104
|
-
}
|
105
|
-
|
106
|
-
tbody {
|
107
|
-
tr {
|
108
|
-
&:first-child th {
|
109
|
-
@include padding(0);
|
110
|
-
vertical-align: bottom;
|
111
|
-
}
|
112
|
-
|
113
|
-
&:not(.c-comparison-table__title) {
|
114
|
-
height: 48px;
|
115
|
-
}
|
116
|
-
|
117
|
-
td:first-child {
|
118
|
-
text-align: left;
|
119
|
-
font-weight: 600;
|
120
|
-
}
|
121
|
-
|
122
|
-
td {
|
123
|
-
@include padding('2xs');
|
124
|
-
background-color: color('white');
|
125
|
-
border: 2px solid color('grey', 'step-3');
|
126
|
-
border-right: 0;
|
127
|
-
border-left: 0;
|
128
|
-
text-align: center;
|
129
|
-
vertical-align: middle;
|
130
|
-
|
131
|
-
.c-icon {
|
132
|
-
font-size: 1.5rem;
|
133
|
-
}
|
134
|
-
|
135
|
-
.c-icon--tick {
|
136
|
-
color: color('green');
|
137
|
-
}
|
138
|
-
|
139
|
-
.c-icon--cross {
|
140
|
-
color: color('grey', 'step-2');
|
141
|
-
}
|
142
|
-
}
|
143
|
-
}
|
144
|
-
}
|
145
|
-
|
146
|
-
@media (max-width: 40em) {
|
147
|
-
&__mobile {
|
148
|
-
display: block;
|
149
|
-
}
|
150
|
-
|
151
|
-
&__desktop {
|
152
|
-
display: none;
|
153
|
-
}
|
154
|
-
}
|
155
|
-
}
|
156
|
-
|
157
|
-
@media only screen and (min-width: 640px) {
|
158
|
-
.c-comparison-table thead th:nth-last-child(1):nth-child(2),
|
159
|
-
.c-comparison-table thead th:nth-last-child(1):nth-child(2) ~ th {
|
160
|
-
width: 85%;
|
161
|
-
}
|
162
|
-
|
163
|
-
.c-comparison-table thead th:nth-last-child(2):nth-child(2),
|
164
|
-
.c-comparison-table thead th:nth-last-child(2):nth-child(2) ~ th {
|
165
|
-
width: 42.5%;
|
166
|
-
}
|
167
|
-
|
168
|
-
.c-comparison-table thead th:nth-last-child(3):nth-child(2),
|
169
|
-
.c-comparison-table thead th:nth-last-child(3):nth-child(2) ~ th {
|
170
|
-
width: 28.33333%;
|
171
|
-
}
|
172
|
-
|
173
|
-
.c-comparison-table thead th:nth-last-child(4):nth-child(2),
|
174
|
-
.c-comparison-table thead th:nth-last-child(4):nth-child(2) ~ th {
|
175
|
-
width: 21.25%;
|
176
|
-
}
|
177
|
-
|
178
|
-
.c-comparison-table thead th:nth-last-child(5):nth-child(2),
|
179
|
-
.c-comparison-table thead th:nth-last-child(5):nth-child(2) ~ th {
|
180
|
-
width: 17%;
|
181
|
-
}
|
182
|
-
|
183
|
-
.c-comparison-table thead th:nth-last-child(6):nth-child(2),
|
184
|
-
.c-comparison-table thead th:nth-last-child(6):nth-child(2) ~ th {
|
185
|
-
width: 14.16667%;
|
186
|
-
}
|
187
|
-
}
|
@@ -1,71 +0,0 @@
|
|
1
|
-
{% from "components/table/macro.njk" import tableRow %}
|
2
|
-
|
3
|
-
{% macro c(comp, params) %}
|
4
|
-
{%- set root = comp.root if comp.root else '../' -%}
|
5
|
-
{%- set folder = (comp.folder + '/') if comp.folder else comp.name + '/' -%}
|
6
|
-
{%- set path = root + folder + comp.name + '.njk' -%}
|
7
|
-
|
8
|
-
{% include path %}
|
9
|
-
{% endmacro %}
|
10
|
-
|
11
|
-
{% macro code(comp, params) %}
|
12
|
-
{%- set root = comp.root if comp.root else '../' -%}
|
13
|
-
{%- set folder = (comp.folder + '/') if comp.folder else comp.name + '/' -%}
|
14
|
-
{%- set path = root + folder + comp.name + '.njk' -%}
|
15
|
-
|
16
|
-
{%- set html -%}{% highlight "html" %}{%- prettify -%}{%- include path -%}{%- endprettify -%}{% endhighlight %}{%- endset -%}
|
17
|
-
<article class="c-library-copy">
|
18
|
-
<div class="c-library-copy__clipboard">
|
19
|
-
{{ html | safe }}
|
20
|
-
</div>
|
21
|
-
<button type="button" class="c-button--reset c-h c-h--upper c-library-copy__trigger">Copy</button>
|
22
|
-
</article>
|
23
|
-
{% endmacro %}
|
24
|
-
|
25
|
-
{% macro context(context) %}
|
26
|
-
<article class="c-library-copy">
|
27
|
-
<div class="c-library-copy__clipboard">
|
28
|
-
{% highlight "json" %}{{ context | console | safe }}{% endhighlight %}
|
29
|
-
</div>
|
30
|
-
<button type="button" class="c-button--reset c-h c-h--upper c-library-copy__trigger">Copy</button>
|
31
|
-
</article>
|
32
|
-
{% endmacro %}
|
33
|
-
|
34
|
-
{% macro docs(comp) %}
|
35
|
-
{%- set root = comp.root if comp.root else '../' -%}
|
36
|
-
{%- set folder = (comp.folder + '/') if comp.folder else comp.name + '/' -%}
|
37
|
-
{%- set path = root + folder + comp.name + '.md' -%}
|
38
|
-
|
39
|
-
{% markdown %}
|
40
|
-
{%- include path ignore missing -%}
|
41
|
-
{% endmarkdown %}
|
42
|
-
{% endmacro %}
|
43
|
-
|
44
|
-
{% macro props(propRows) %}
|
45
|
-
<table class="c-table c-table--wide c-library-code">
|
46
|
-
<thead>
|
47
|
-
<tr>
|
48
|
-
<th>Name</th>
|
49
|
-
{% if propRows[0][1] %}<th>Type</th>{% endif %}
|
50
|
-
<th>Description</th>
|
51
|
-
</tr>
|
52
|
-
</thead>
|
53
|
-
<tbody>
|
54
|
-
{% for row in propRows %}
|
55
|
-
<tr>
|
56
|
-
<th>{{ row[0] }}</th>
|
57
|
-
{% if row[1] %}<td>{{ row[1] }}</td>{% endif %}
|
58
|
-
<td>{{ row[2] | safe }}</td>
|
59
|
-
</tr>
|
60
|
-
{% endfor %}
|
61
|
-
</tbody>
|
62
|
-
</table>
|
63
|
-
{% endmacro %}
|
64
|
-
|
65
|
-
{% macro libraryList(label, link, currentPage = '') %}
|
66
|
-
<li>{{ libraryLink(label, link, currentPage) }}</li>
|
67
|
-
{% endmacro %}
|
68
|
-
|
69
|
-
{% macro libraryLink(label, link, currentPage = '') %}
|
70
|
-
<a href="{{ link }}" id="lib-{{ label | slug }}" class="{{ 'c-library-menu-active' if link == currentPage }}">{{ label }}</a>
|
71
|
-
{% endmacro %}
|