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.
Files changed (494) hide show
  1. package/README.md +35 -29
  2. package/dist/build/js/app.js +13 -4
  3. package/dist/build/scss/library.css +1 -1
  4. package/dist/build/scss/main.css +1 -1
  5. package/dist/build/scss/main2.css +1 -0
  6. package/package.json +35 -46
  7. package/src/_data/components.js +0 -104
  8. package/src/_data/config.js +0 -14
  9. package/src/_data/helpers.js +0 -6
  10. package/src/_headers +0 -9
  11. package/src/_includes/components/accordion/accordion.config.js +0 -28
  12. package/src/_includes/components/accordion/accordion.md +0 -15
  13. package/src/_includes/components/accordion/accordion.njk +0 -10
  14. package/src/_includes/components/accordion/accordion.scss +0 -54
  15. package/src/_includes/components/accordion/macro.njk +0 -5
  16. package/src/_includes/components/alert/alert.config.js +0 -65
  17. package/src/_includes/components/alert/alert.njk +0 -27
  18. package/src/_includes/components/alert/alert.scss +0 -80
  19. package/src/_includes/components/alert/macro.njk +0 -5
  20. package/src/_includes/components/back-to-top/back-to-top.config.js +0 -10
  21. package/src/_includes/components/back-to-top/back-to-top.njk +0 -7
  22. package/src/_includes/components/back-to-top/back-to-top.scss +0 -22
  23. package/src/_includes/components/back-to-top/macro.njk +0 -5
  24. package/src/_includes/components/breadcrumb/breadcrumb.config.js +0 -20
  25. package/src/_includes/components/breadcrumb/breadcrumb.njk +0 -19
  26. package/src/_includes/components/breadcrumb/breadcrumb.scss +0 -69
  27. package/src/_includes/components/breadcrumb/macro.njk +0 -5
  28. package/src/_includes/components/button/button.config.js +0 -89
  29. package/src/_includes/components/button/button.njk +0 -38
  30. package/src/_includes/components/button/button.scss +0 -178
  31. package/src/_includes/components/button/macro.njk +0 -5
  32. package/src/_includes/components/campaign/campaign.config.js +0 -68
  33. package/src/_includes/components/campaign/campaign.njk +0 -26
  34. package/src/_includes/components/campaign/campaign.scss +0 -108
  35. package/src/_includes/components/campaign/macro.njk +0 -5
  36. package/src/_includes/components/card/card.config.js +0 -1058
  37. package/src/_includes/components/card/card.njk +0 -206
  38. package/src/_includes/components/card/card.scss +0 -508
  39. package/src/_includes/components/card/existing-customer-card.config.js +0 -51
  40. package/src/_includes/components/card/existing-customer-card.njk +0 -40
  41. package/src/_includes/components/card/existing-customer-card.scss +0 -100
  42. package/src/_includes/components/card/industry-card.config.js +0 -51
  43. package/src/_includes/components/card/industry-card.njk +0 -34
  44. package/src/_includes/components/card/industry-card.scss +0 -85
  45. package/src/_includes/components/card/macro.njk +0 -29
  46. package/src/_includes/components/card/measurement-type-card.config.js +0 -35
  47. package/src/_includes/components/card/measurement-type-card.njk +0 -35
  48. package/src/_includes/components/card/measurement-type-card.scss +0 -56
  49. package/src/_includes/components/card/product-card.config.js +0 -91
  50. package/src/_includes/components/card/product-card.njk +0 -58
  51. package/src/_includes/components/card/product-card.scss +0 -88
  52. package/src/_includes/components/card/search-result-card.config.js +0 -29
  53. package/src/_includes/components/card/search-result-card.njk +0 -33
  54. package/src/_includes/components/card/search-result-card.scss +0 -48
  55. package/src/_includes/components/card/technology-card.config.js +0 -35
  56. package/src/_includes/components/card/technology-card.njk +0 -35
  57. package/src/_includes/components/card/technology-card.scss +0 -56
  58. package/src/_includes/components/card-new/card-new.config.js +0 -95
  59. package/src/_includes/components/card-new/card-new.md +0 -0
  60. package/src/_includes/components/card-new/card-new.njk +0 -169
  61. package/src/_includes/components/card-new/card-new.scss +0 -156
  62. package/src/_includes/components/card-new/macro.njk +0 -5
  63. package/src/_includes/components/comparison-table/comparison-table.config.js +0 -92
  64. package/src/_includes/components/comparison-table/comparison-table.njk +0 -76
  65. package/src/_includes/components/comparison-table/comparison-table.scss +0 -187
  66. package/src/_includes/components/comparison-table/macro.njk +0 -5
  67. package/src/_includes/components/component/categories.js +0 -5
  68. package/src/_includes/components/component/component.njk +0 -71
  69. package/src/_includes/components/component/preview-card-example.njk +0 -347
  70. package/src/_includes/components/component/preview-cards-three-alt.njk +0 -3
  71. package/src/_includes/components/component/preview-cards-three.njk +0 -3
  72. package/src/_includes/components/component/preview-cards-two.njk +0 -3
  73. package/src/_includes/components/component/preview-content-width.njk +0 -5
  74. package/src/_includes/components/component/preview-default.njk +0 -3
  75. package/src/_includes/components/component/preview-fixed-width.njk +0 -5
  76. package/src/_includes/components/component/preview-form.njk +0 -3
  77. package/src/_includes/components/component/preview-icons.njk +0 -3
  78. package/src/_includes/components/component/preview-sidebar.njk +0 -5
  79. package/src/_includes/components/embed/embed.njk +0 -11
  80. package/src/_includes/components/embed/embed.scss +0 -17
  81. package/src/_includes/components/embed/macro.njk +0 -9
  82. package/src/_includes/components/embed/youtube.config.js +0 -19
  83. package/src/_includes/components/embed/youtube.njk +0 -5
  84. package/src/_includes/components/event-card/event-card.config.js +0 -108
  85. package/src/_includes/components/event-card/event-card.njk +0 -1
  86. package/src/_includes/components/event-card/event-card.scss +0 -49
  87. package/src/_includes/components/event-card/macro.njk +0 -5
  88. package/src/_includes/components/eyebrow/eyebrow.config.js +0 -84
  89. package/src/_includes/components/eyebrow/eyebrow.njk +0 -24
  90. package/src/_includes/components/eyebrow/eyebrow.scss +0 -71
  91. package/src/_includes/components/eyebrow/macro.njk +0 -5
  92. package/src/_includes/components/facet/facet.config.js +0 -110
  93. package/src/_includes/components/facet/facet.njk +0 -25
  94. package/src/_includes/components/facet/facet.scss +0 -49
  95. package/src/_includes/components/facet/macro.njk +0 -5
  96. package/src/_includes/components/featured-article-card/featured-article-card.config.js +0 -32
  97. package/src/_includes/components/featured-article-card/featured-article-card.njk +0 -24
  98. package/src/_includes/components/featured-article-card/featured-article-card.scss +0 -34
  99. package/src/_includes/components/featured-article-card/macro.njk +0 -5
  100. package/src/_includes/components/features-table/features-table.config.js +0 -137
  101. package/src/_includes/components/features-table/features-table.njk +0 -364
  102. package/src/_includes/components/features-table/features-table.scss +0 -96
  103. package/src/_includes/components/features-table/macro.njk +0 -5
  104. package/src/_includes/components/filter-search/filter-search.config.js +0 -16
  105. package/src/_includes/components/filter-search/filter-search.njk +0 -11
  106. package/src/_includes/components/filter-search/filter-search.scss +0 -33
  107. package/src/_includes/components/filter-search/macro.njk +0 -5
  108. package/src/_includes/components/footer/footer.config.js +0 -7
  109. package/src/_includes/components/footer/footer.njk +0 -81
  110. package/src/_includes/components/footer/footer.scss +0 -127
  111. package/src/_includes/components/footer/macro.njk +0 -5
  112. package/src/_includes/components/gallery/gallery.config.js +0 -55
  113. package/src/_includes/components/gallery/gallery.md +0 -1
  114. package/src/_includes/components/gallery/gallery.njk +0 -51
  115. package/src/_includes/components/gallery/gallery.scss +0 -54
  116. package/src/_includes/components/gallery/macro.njk +0 -5
  117. package/src/_includes/components/header/header.config.js +0 -38
  118. package/src/_includes/components/header/header.md +0 -4
  119. package/src/_includes/components/header/header.njk +0 -111
  120. package/src/_includes/components/header/header.scss +0 -273
  121. package/src/_includes/components/header/macro.njk +0 -5
  122. package/src/_includes/components/hero/hero.config.js +0 -144
  123. package/src/_includes/components/hero/hero.njk +0 -109
  124. package/src/_includes/components/hero/hero.scss +0 -356
  125. package/src/_includes/components/hero/macro.njk +0 -5
  126. package/src/_includes/components/hotspot-image/hotspot-image.config.js +0 -55
  127. package/src/_includes/components/hotspot-image/hotspot-image.njk +0 -41
  128. package/src/_includes/components/hotspot-image/hotspot-image.scss +0 -103
  129. package/src/_includes/components/hotspot-image/macro.njk +0 -5
  130. package/src/_includes/components/icon/icon.config.js +0 -18
  131. package/src/_includes/components/icon/icon.md +0 -1
  132. package/src/_includes/components/icon/icon.njk +0 -13
  133. package/src/_includes/components/icon/icon.scss +0 -6
  134. package/src/_includes/components/icon/macro.njk +0 -5
  135. package/src/_includes/components/input/checkbox.config.js +0 -41
  136. package/src/_includes/components/input/checkbox.njk +0 -2
  137. package/src/_includes/components/input/input.config.js +0 -67
  138. package/src/_includes/components/input/input.njk +0 -15
  139. package/src/_includes/components/input/input.scss +0 -136
  140. package/src/_includes/components/input/macro.njk +0 -25
  141. package/src/_includes/components/input/radio.config.js +0 -41
  142. package/src/_includes/components/input/radio.njk +0 -2
  143. package/src/_includes/components/input/radio.scss +0 -143
  144. package/src/_includes/components/input/select.config.js +0 -70
  145. package/src/_includes/components/input/select.njk +0 -13
  146. package/src/_includes/components/input/textarea.config.js +0 -51
  147. package/src/_includes/components/input/textarea.njk +0 -4
  148. package/src/_includes/components/input/toggle.config.js +0 -41
  149. package/src/_includes/components/input/toggle.njk +0 -5
  150. package/src/_includes/components/input/toggle.scss +0 -75
  151. package/src/_includes/components/internal-nav/internal-nav.config.js +0 -41
  152. package/src/_includes/components/internal-nav/internal-nav.njk +0 -24
  153. package/src/_includes/components/internal-nav/internal-nav.scss +0 -74
  154. package/src/_includes/components/internal-nav/macro.njk +0 -5
  155. package/src/_includes/components/meta-box/macro.njk +0 -5
  156. package/src/_includes/components/meta-box/meta-box.config.js +0 -74
  157. package/src/_includes/components/meta-box/meta-box.njk +0 -36
  158. package/src/_includes/components/meta-box/meta-box.scss +0 -10
  159. package/src/_includes/components/off-canvas/macro.njk +0 -5
  160. package/src/_includes/components/off-canvas/off-canvas.config.js +0 -28
  161. package/src/_includes/components/off-canvas/off-canvas.njk +0 -28
  162. package/src/_includes/components/off-canvas/off-canvas.scss +0 -102
  163. package/src/_includes/components/option-list/macro.njk +0 -5
  164. package/src/_includes/components/option-list/option-list.config.js +0 -51
  165. package/src/_includes/components/option-list/option-list.njk +0 -10
  166. package/src/_includes/components/option-list/option-list.scss +0 -39
  167. package/src/_includes/components/post-meta/macro.njk +0 -5
  168. package/src/_includes/components/post-meta/post-meta.config.js +0 -44
  169. package/src/_includes/components/post-meta/post-meta.njk +0 -16
  170. package/src/_includes/components/post-meta/post-meta.scss +0 -7
  171. package/src/_includes/components/product-card/macro.njk +0 -5
  172. package/src/_includes/components/product-card/product-card.config.js +0 -84
  173. package/src/_includes/components/product-card/product-card.njk +0 -1
  174. package/src/_includes/components/product-card/product-card.scss +0 -36
  175. package/src/_includes/components/product-signpost/macro.njk +0 -3
  176. package/src/_includes/components/product-signpost/product-signpost.config.js +0 -43
  177. package/src/_includes/components/product-signpost/product-signpost.njk +0 -16
  178. package/src/_includes/components/product-signpost/product-signpost.scss +0 -61
  179. package/src/_includes/components/prose/macro.njk +0 -11
  180. package/src/_includes/components/prose/prose.config.js +0 -65
  181. package/src/_includes/components/prose/prose.md +0 -1
  182. package/src/_includes/components/prose/prose.njk +0 -17
  183. package/src/_includes/components/quote/macro.njk +0 -5
  184. package/src/_includes/components/quote/quote.config.js +0 -19
  185. package/src/_includes/components/quote/quote.njk +0 -9
  186. package/src/_includes/components/quote/quote.scss +0 -51
  187. package/src/_includes/components/resource-card/macro.njk +0 -5
  188. package/src/_includes/components/resource-card/resource-card.config.js +0 -59
  189. package/src/_includes/components/resource-card/resource-card.njk +0 -1
  190. package/src/_includes/components/resource-card/resource-card.scss +0 -0
  191. package/src/_includes/components/scroll-spy/macro.njk +0 -5
  192. package/src/_includes/components/scroll-spy/scroll-spy.config.js +0 -24
  193. package/src/_includes/components/scroll-spy/scroll-spy.md +0 -3
  194. package/src/_includes/components/scroll-spy/scroll-spy.njk +0 -5
  195. package/src/_includes/components/scroll-spy/scroll-spy.scss +0 -54
  196. package/src/_includes/components/series/macro.njk +0 -5
  197. package/src/_includes/components/series/series.config.js +0 -35
  198. package/src/_includes/components/series/series.njk +0 -15
  199. package/src/_includes/components/series/series.scss +0 -20
  200. package/src/_includes/components/signpost/macro.njk +0 -5
  201. package/src/_includes/components/signpost/signpost.config.js +0 -36
  202. package/src/_includes/components/signpost/signpost.njk +0 -21
  203. package/src/_includes/components/signpost/signpost.scss +0 -66
  204. package/src/_includes/components/slat/slat.config.js +0 -59
  205. package/src/_includes/components/slat/slat.njk +0 -15
  206. package/src/_includes/components/slat/slat.scss +0 -53
  207. package/src/_includes/components/table/macro.njk +0 -11
  208. package/src/_includes/components/table/table.config.js +0 -68
  209. package/src/_includes/components/table/table.md +0 -16
  210. package/src/_includes/components/table/table.njk +0 -28
  211. package/src/_includes/components/table/table.scss +0 -157
  212. package/src/_includes/components/tabs/macro.njk +0 -9
  213. package/src/_includes/components/tabs/tabs-radio.config.js +0 -32
  214. package/src/_includes/components/tabs/tabs-radio.njk +0 -9
  215. package/src/_includes/components/tabs/tabs.config.js +0 -57
  216. package/src/_includes/components/tabs/tabs.njk +0 -17
  217. package/src/_includes/components/tabs/tabs.scss +0 -105
  218. package/src/_includes/components/twi/macro.njk +0 -5
  219. package/src/_includes/components/twi/twi.config.js +0 -46
  220. package/src/_includes/components/twi/twi.md +0 -1
  221. package/src/_includes/components/twi/twi.njk +0 -30
  222. package/src/_includes/components/twi/twi.scss +0 -44
  223. package/src/_includes/components/usp/macro.njk +0 -5
  224. package/src/_includes/components/usp/usp.config.js +0 -55
  225. package/src/_includes/components/usp/usp.md +0 -101
  226. package/src/_includes/components/usp/usp.njk +0 -42
  227. package/src/_includes/components/usp/usp.scss +0 -60
  228. package/src/_includes/content-page.njk +0 -53
  229. package/src/_includes/includes/color-swatches.njk +0 -260
  230. package/src/_includes/includes/related-events.njk +0 -60
  231. package/src/_includes/includes/resources.njk +0 -78
  232. package/src/_includes/includes/system-footer.njk +0 -30
  233. package/src/_includes/includes/system-header.njk +0 -30
  234. package/src/_includes/includes/system-scripts.njk +0 -88
  235. package/src/_includes/layout.njk +0 -69
  236. package/src/_includes/library-navigation/brand-nav.njk +0 -67
  237. package/src/_includes/library-navigation/components-nav.njk +0 -88
  238. package/src/_includes/library-navigation/content-nav.njk +0 -53
  239. package/src/_includes/library-navigation/system-nav.njk +0 -9
  240. package/src/_includes/library.njk +0 -5
  241. package/src/_includes/navigation/blog.njk +0 -16
  242. package/src/_includes/navigation/corporate.njk +0 -25
  243. package/src/_includes/navigation/store.njk +0 -29
  244. package/src/_includes/page.njk +0 -14
  245. package/src/_includes/patterns-page.njk +0 -41
  246. package/src/_includes/system-home-page.njk +0 -28
  247. package/src/_includes/system-page.njk +0 -27
  248. package/src/_includes/system.njk +0 -39
  249. package/src/_redirects +0 -13
  250. package/src/assets/fonts/Inter-Bold.woff +0 -0
  251. package/src/assets/fonts/Inter-Bold.woff2 +0 -0
  252. package/src/assets/fonts/Inter-Regular.woff +0 -0
  253. package/src/assets/fonts/Inter-Regular.woff2 +0 -0
  254. package/src/assets/fonts/Inter-SemiBold.woff +0 -0
  255. package/src/assets/fonts/Inter-SemiBold.woff2 +0 -0
  256. package/src/assets/js/app.js +0 -40
  257. package/src/assets/js/imports/accordion.js +0 -17
  258. package/src/assets/js/imports/carousel.js +0 -22
  259. package/src/assets/js/imports/clear-form.js +0 -27
  260. package/src/assets/js/imports/comparison.js +0 -64
  261. package/src/assets/js/imports/facet.js +0 -23
  262. package/src/assets/js/imports/gallery.js +0 -87
  263. package/src/assets/js/imports/hero-pattern.js +0 -94
  264. package/src/assets/js/imports/hero-video.js +0 -53
  265. package/src/assets/js/imports/hotspot-image.js +0 -91
  266. package/src/assets/js/imports/internal-nav.js +0 -41
  267. package/src/assets/js/imports/off-canvas.js +0 -219
  268. package/src/assets/js/imports/responsive-table.js +0 -30
  269. package/src/assets/js/imports/scroll-spy.js +0 -46
  270. package/src/assets/js/imports/scrollbar-width.js +0 -15
  271. package/src/assets/js/imports/tabs.js +0 -58
  272. package/src/assets/js/imports/utilities.js +0 -31
  273. package/src/assets/scss/components/form.scss +0 -306
  274. package/src/assets/scss/components/headings.scss +0 -68
  275. package/src/assets/scss/components/index.scss +0 -52
  276. package/src/assets/scss/components/lightbox.scss +0 -64
  277. package/src/assets/scss/components/product-finder.scss +0 -75
  278. package/src/assets/scss/elements/index.scss +0 -2
  279. package/src/assets/scss/elements/reset.scss +0 -139
  280. package/src/assets/scss/elements/typography.scss +0 -25
  281. package/src/assets/scss/foundations/animation.scss +0 -4
  282. package/src/assets/scss/foundations/colour.scss +0 -85
  283. package/src/assets/scss/foundations/index.scss +0 -4
  284. package/src/assets/scss/foundations/space.scss +0 -57
  285. package/src/assets/scss/foundations/typography.scss +0 -159
  286. package/src/assets/scss/library.scss +0 -672
  287. package/src/assets/scss/main.scss +0 -6
  288. package/src/assets/scss/objects/button-wrap.scss +0 -18
  289. package/src/assets/scss/objects/clickable-parent.scss +0 -3
  290. package/src/assets/scss/objects/grid.scss +0 -329
  291. package/src/assets/scss/objects/index.scss +0 -4
  292. package/src/assets/scss/objects/prose.scss +0 -169
  293. package/src/assets/scss/objects/syntax-highlighting.scss +0 -211
  294. package/src/assets/scss/tools/breakout.scss +0 -17
  295. package/src/assets/scss/tools/cutoff.scss +0 -50
  296. package/src/assets/scss/tools/index.scss +0 -172
  297. package/src/assets/scss/utilities/colour.scss +0 -10
  298. package/src/assets/scss/utilities/disabled.scss +0 -8
  299. package/src/assets/scss/utilities/display.scss +0 -156
  300. package/src/assets/scss/utilities/divider.scss +0 -6
  301. package/src/assets/scss/utilities/ellipsis.scss +0 -7
  302. package/src/assets/scss/utilities/flex.scss +0 -47
  303. package/src/assets/scss/utilities/flow.scss +0 -69
  304. package/src/assets/scss/utilities/gap.scss +0 -3
  305. package/src/assets/scss/utilities/hr.scss +0 -23
  306. package/src/assets/scss/utilities/index.scss +0 -18
  307. package/src/assets/scss/utilities/link.scss +0 -26
  308. package/src/assets/scss/utilities/scroll-shadows.scss +0 -69
  309. package/src/assets/scss/utilities/space.scss +0 -370
  310. package/src/assets/scss/utilities/typography.scss +0 -35
  311. package/src/assets/scss/utilities/wrap.scss +0 -24
  312. package/src/assets/svg/arc.svg +0 -1
  313. package/src/assets/svg/concentric.svg +0 -1
  314. package/src/assets/svg/crystal.svg +0 -1
  315. package/src/assets/svg/dots-pattern.svg +0 -1
  316. package/src/brand/colors.njk +0 -69
  317. package/src/brand/illustration.md +0 -50
  318. package/src/brand/images.md +0 -101
  319. package/src/brand/index.njk +0 -147
  320. package/src/brand/logo.md +0 -107
  321. package/src/brand/patterns.njk +0 -49
  322. package/src/brand/requirements.md +0 -98
  323. package/src/brand/resources.njk +0 -75
  324. package/src/brand/typography.md +0 -101
  325. package/src/components/colour.njk +0 -327
  326. package/src/components/creating-a-component.md +0 -163
  327. package/src/components/css.md +0 -65
  328. package/src/components/flow.njk +0 -131
  329. package/src/components/grid/generic.njk +0 -99
  330. package/src/components/grid/index.njk +0 -86
  331. package/src/components/grid/layout.njk +0 -56
  332. package/src/components/grid/wrap.njk +0 -20
  333. package/src/components/iconography.njk +0 -92
  334. package/src/components/index.njk +0 -65
  335. package/src/components/installation.md +0 -61
  336. package/src/components/publishing-the-system.md +0 -25
  337. package/src/components/space.njk +0 -191
  338. package/src/components/typography.njk +0 -135
  339. package/src/components/utilities.md +0 -182
  340. package/src/components-full-pages.njk +0 -24
  341. package/src/components-pages.njk +0 -103
  342. package/src/content/and-so/please-write-responsibly.md +0 -15
  343. package/src/content/and-so/sitting-down.md +0 -13
  344. package/src/content/big-ideas.md +0 -63
  345. package/src/content/boilerplate.md +0 -33
  346. package/src/content/elevator-pitch.md +0 -33
  347. package/src/content/index.njk +0 -126
  348. package/src/content/our-voice/1-big-picture.md +0 -37
  349. package/src/content/our-voice/2-whats-most-important.md +0 -38
  350. package/src/content/our-voice/3-write-like-we-speak.md +0 -50
  351. package/src/content/our-voice/4-write-to-be-skimmed.md +0 -50
  352. package/src/content/our-voice/5-active-sentences.md +0 -73
  353. package/src/content/our-voice/6-add-energy.md +0 -34
  354. package/src/content/our-voice/7-small-surprises.md +0 -44
  355. package/src/content/our-voice/seven-steps.md +0 -21
  356. package/src/content/our-voice/which-techniques-when.md +0 -39
  357. package/src/content/real-life-examples/01-who-we-are-boilerplate.md +0 -39
  358. package/src/content/real-life-examples/02-event-announcement.md +0 -38
  359. package/src/content/real-life-examples/03-customer-support-letter.md +0 -58
  360. package/src/content/real-life-examples/04-delay-in-shipment-letter.md +0 -62
  361. package/src/content/real-life-examples/05-overview-events-training.md +0 -41
  362. package/src/content/real-life-examples/06-digital-product-description.md +0 -40
  363. package/src/content/real-life-examples/07-recruitment.md +0 -42
  364. package/src/content/real-life-examples/08-industry-sector-1.md +0 -43
  365. package/src/content/real-life-examples/09-industry-sector-2.md +0 -47
  366. package/src/content/real-life-examples/10-website-information.md +0 -50
  367. package/src/content/real-life-examples/11-internal-update.md +0 -37
  368. package/src/content/real-life-examples/12-value-proposition.md +0 -44
  369. package/src/index.njk +0 -152
  370. package/src/patterns/form.njk +0 -349
  371. package/src/patterns/grid-of-cards.njk +0 -66
  372. package/src/patterns/index.njk +0 -19
  373. package/src/patterns/mp-form.njk +0 -111
  374. package/src/patterns/usps.njk +0 -149
  375. package/src/prototype/blog-post.njk +0 -123
  376. package/src/prototype/blog.njk +0 -168
  377. package/src/prototype/card-test.njk +0 -147
  378. package/src/prototype/creating-a-page.njk +0 -74
  379. package/src/prototype/events-hub.njk +0 -520
  380. package/src/prototype/form-altcha.njk +0 -705
  381. package/src/prototype/form-cloudflare.njk +0 -688
  382. package/src/prototype/form-hcaptcha.njk +0 -693
  383. package/src/prototype/home.njk +0 -24
  384. package/src/prototype/index.njk +0 -893
  385. package/src/prototype/oma.njk +0 -167
  386. package/src/prototype/product.njk +0 -480
  387. package/src/prototype/products.njk +0 -163
  388. package/src/prototype/range.njk +0 -263
  389. package/src/prototype/request-a-quote.njk +0 -147
  390. package/src/prototype/sections.njk +0 -295
  391. package/src/prototype/spline.njk +0 -16
  392. package/src/prototype/thanks.njk +0 -31
  393. package/src/prototype/webinar.njk +0 -118
  394. package/src/prototype/webinars-3-2-1.njk +0 -397
  395. package/src/prototype/webinars.njk +0 -405
  396. package/src/quickstart.md +0 -41
  397. package/src/robots.txt +0 -5
  398. package/src/static/adobe/MP Franklin colour swatches.ai +0 -914
  399. package/src/static/img/aeris.jpg +0 -0
  400. package/src/static/img/article-1.jpg +0 -0
  401. package/src/static/img/article-2.jpg +0 -0
  402. package/src/static/img/blog-image-1.jpg +0 -0
  403. package/src/static/img/blog-page-image-1.jpg +0 -0
  404. package/src/static/img/blog-page-image-2.jpg +0 -0
  405. package/src/static/img/blog-page-image-3.jpg +0 -0
  406. package/src/static/img/blog-page-image-4.jpg +0 -0
  407. package/src/static/img/blog-page-image-5.jpg +0 -0
  408. package/src/static/img/blog-page-image-6.jpg +0 -0
  409. package/src/static/img/campaign.jpg +0 -0
  410. package/src/static/img/case-study-1.jpg +0 -0
  411. package/src/static/img/case-study-2.jpg +0 -0
  412. package/src/static/img/case-study-3.jpg +0 -0
  413. package/src/static/img/empyrean.jpg +0 -0
  414. package/src/static/img/epsilon.jpg +0 -0
  415. package/src/static/img/favicon-32x32.png +0 -0
  416. package/src/static/img/favicon.svg +0 -1
  417. package/src/static/img/featured-blog-post.jpg +0 -0
  418. package/src/static/img/featured-event-1.jpg +0 -0
  419. package/src/static/img/featured-event-2.jpg +0 -0
  420. package/src/static/img/featured-event-3.jpg +0 -0
  421. package/src/static/img/flow-2.png +0 -0
  422. package/src/static/img/flow-diagram.png +0 -0
  423. package/src/static/img/flow.png +0 -0
  424. package/src/static/img/grid-captivate-1.jpg +0 -0
  425. package/src/static/img/homepage_1_back.webp +0 -0
  426. package/src/static/img/homepage_1_back_alt.webp +0 -0
  427. package/src/static/img/homepage_1_front_full.webp +0 -0
  428. package/src/static/img/homepage_2_back.webp +0 -0
  429. package/src/static/img/homepage_2_back_alt.webp +0 -0
  430. package/src/static/img/homepage_2_front_full.webp +0 -0
  431. package/src/static/img/itcss.svg +0 -8
  432. package/src/static/img/leneo.jpg +0 -0
  433. package/src/static/img/mastersizer.jpg +0 -0
  434. package/src/static/img/microcal.jpg +0 -0
  435. package/src/static/img/morphologi.jpg +0 -0
  436. package/src/static/img/omnisec.jpg +0 -0
  437. package/src/static/img/open-graph-image.jpg +0 -0
  438. package/src/static/img/product-accessory-1.jpg +0 -0
  439. package/src/static/img/product-accessory-2.jpg +0 -0
  440. package/src/static/img/product-image.jpg +0 -0
  441. package/src/static/img/products-1.jpg +0 -0
  442. package/src/static/img/products-2.jpg +0 -0
  443. package/src/static/img/products-3.jpg +0 -0
  444. package/src/static/img/products-4.jpg +0 -0
  445. package/src/static/img/products-5.jpg +0 -0
  446. package/src/static/img/products-6.jpg +0 -0
  447. package/src/static/img/qualityspec.jpg +0 -0
  448. package/src/static/img/range-product-1.jpg +0 -0
  449. package/src/static/img/range-product-2.jpg +0 -0
  450. package/src/static/img/range.jpg +0 -0
  451. package/src/static/img/salt.png +0 -0
  452. package/src/static/img/sector-1.jpg +0 -0
  453. package/src/static/img/sector-2.jpg +0 -0
  454. package/src/static/img/sector-3.jpg +0 -0
  455. package/src/static/img/sector-4.jpg +0 -0
  456. package/src/static/img/sector-5.jpg +0 -0
  457. package/src/static/img/slide-1.jpg +0 -0
  458. package/src/static/img/slide-2.jpg +0 -0
  459. package/src/static/img/slide-3.jpg +0 -0
  460. package/src/static/img/slide-4.webp +0 -0
  461. package/src/static/img/slide-5.webp +0 -0
  462. package/src/static/img/slide-6.webp +0 -0
  463. package/src/static/img/slide-7.webp +0 -0
  464. package/src/static/img/zetasizer.jpg +0 -0
  465. package/src/static/pdf/PN12558_Physical_branding_v23.pdf +0 -0
  466. package/src/static/pdf/Power of One - Malvern Panalytical rebranding guidance.pdf +0 -0
  467. package/src/static/svg/crop-diagram-1.svg +0 -1
  468. package/src/static/svg/crop-diagram-2.svg +0 -1
  469. package/src/static/svg/icon-globe-alt--white.svg +0 -4
  470. package/src/static/svg/icon-globe-alt.svg +0 -4
  471. package/src/static/svg/icon-live-webinars--white.svg +0 -6
  472. package/src/static/svg/icon-live-webinars.svg +0 -6
  473. package/src/static/svg/icon-recorded-webinars--white.svg +0 -4
  474. package/src/static/svg/icon-recorded-webinars.svg +0 -4
  475. package/src/static/svg/icon-user-training--white.svg +0 -5
  476. package/src/static/svg/icon-user-training.svg +0 -5
  477. package/src/static/svg/imaging-matrix.svg +0 -56
  478. package/src/static/svg/large-envelope.svg +0 -1
  479. package/src/static/svg/large-globe.svg +0 -1
  480. package/src/static/svg/large-student.svg +0 -1
  481. package/src/static/svg/logo-black.svg +0 -1
  482. package/src/static/svg/logo-color-white-text.svg +0 -1
  483. package/src/static/svg/logo-simple.svg +0 -1
  484. package/src/static/svg/logo-small.svg +0 -1
  485. package/src/static/svg/logo-spacing-horizontal.svg +0 -1
  486. package/src/static/svg/logo-spacing-vertical.svg +0 -1
  487. package/src/static/svg/logo-stacked.svg +0 -1
  488. package/src/static/svg/logo-white.svg +0 -1
  489. package/src/static/svg/logo-x.svg +0 -1
  490. package/src/static/svg/logo.svg +0 -1
  491. package/src/static/svg/sprite.svg +0 -48
  492. package/src/static/svg/typography-spacing.svg +0 -2345
  493. package/src/static/zip/MP_logo.zip +0 -0
  494. package/src/static/zip/SVG_patterns.zip +0 -0
@@ -1,347 +0,0 @@
1
- {% from "components/card/macro.njk" import card %}
2
- {% from "components/prose/macro.njk" import markdown %}
3
-
4
-
5
- {% set content %}
6
- A card is like a website within a website. A card generally represents an item or article which exists elsewhere and offers the user a way to engage with that content, usually by discovering more information or performing a related action like adding a product to a shopping basket.
7
-
8
- Depending on the content it represents, a card can include a range of information like a title, tagline, date, description, features or specs list, content tags, links, calls-to-action, etc.
9
-
10
- Our main card component is organised into header, body and footer sections and can use a single- or multi-column layout, with an optional image and content-type tag.
11
-
12
- Using a single structured main card component to build most of our cards ensures visual consistency but also allows enough variation to differentiate between content types.
13
-
14
- There are also specific types of cards which are not generated from the main card component, including promotional and signpost cards. In order to keep the design system trim, it is preferred to build cards using the main card component options where possible.
15
- {% endset %}
16
-
17
- <div class="mp u-flow--xl u-wrap">
18
- <div class="mp">
19
- {{ markdown({
20
- content: content
21
- }) }}
22
- </div>
23
-
24
- <div class="o-grid o-grid--layout o-grid--8/3">
25
- {{ card({
26
- theme: {
27
- layout: 'multi',
28
- size: 'large',
29
- border: true
30
- },
31
- image: {
32
- src: '/static/img/product-image.jpg',
33
- alt: 'Product image alt'
34
- },
35
- header: {
36
- title: 'Hydro SV',
37
- subtitle: 'Small volume wet sample dispersion'
38
- },
39
- body: {
40
- content: '<p>The Hydro SV is a simple, cost effective liquid dispersion unit designed to enable particle size analysis using small volumes of sample and dispersant.</p>'
41
- },
42
- footer: {
43
- cta: {
44
- link: '#',
45
- label: 'View full details'
46
- }
47
- }
48
- }) }}
49
- </div>
50
-
51
- <div class="o-grid o-grid--layout o-grid--8/3">
52
- {{ card({
53
- theme: {
54
- layout: 'multi',
55
- name: 'alt'
56
- },
57
- image: {
58
- src: '/static/img/case-study-1.jpg',
59
- alt: 'Product image alt'
60
- },
61
- header: {
62
- title: 'The future is 3D'
63
- },
64
- body: {
65
- content: '<p>Materials characterisation will help ‘additive manufacturing’ change how we make things forever.</p>',
66
- keySpecs: [
67
- {
68
- title: 'Products',
69
- term: 'Morphologi G3-ID'
70
- },
71
- {
72
- title: 'Technologies',
73
- term: 'Morphologically-Directed Raman Spectroscopy'
74
- }
75
- ]
76
- },
77
- link: '#',
78
- tag: 'Blog post'
79
- })}}
80
- </div>
81
-
82
- <div class="o-grid o-grid--layout o-grid--8/3">
83
- {{ card({
84
- theme: {
85
- border: true,
86
- size: 'medium',
87
- layout: 'multi',
88
- noFullLink: true,
89
- inlineSpecs: true
90
- },
91
- image: {
92
- src: '/static/img/range-product-1.jpg',
93
- alt: 'Product image alt'
94
- },
95
- header: {
96
- title: 'Scirocco 2000 Consumable Kit'
97
- },
98
- body: {
99
- content: '<p>Kit includes: Flow Diffusing Sphere Stainless Steel for DPFs, Sample Tubing 300mm Long 5/16" i/d x ½" o/d, Scirocco 2000 Set of Spare Fuses, Packet of Lens Tissues, Fine Sieve Basket Assembly 0.8mm small mesh, Coarse Sieve Basket Assembly 1.6mm large mesh, Quality Audit Standard Pack of Ten 2.5g Bottles, 1/2in wide paint brush.</p>',
100
- keySpecs: [
101
- {
102
- title: 'Product number',
103
- term: 'ADA4005'
104
- },
105
- {
106
- title: 'Compatible with',
107
- terms: [
108
- 'Mastersizer 3000',
109
- 'Mastersizer 3000E'
110
- ]
111
- }
112
- ]
113
- },
114
- footer: {
115
- cta: {
116
- link: '#',
117
- label: 'View full details'
118
- }
119
- },
120
- shop: {
121
- labels: [
122
- { key: 'List price', value: '£326.00' },
123
- { key: 'Lead time', value: '1-2 weeks' }
124
- ],
125
- small: 'Discount will be applied at checkout',
126
- productId: '1234'
127
- }
128
- }) }}
129
- </div>
130
-
131
- <div class="o-grid o-grid--layout o-grid--of-three">
132
- {{ card({
133
- theme: {
134
- layout: 'single',
135
- size: 'medium',
136
- name: 'alt',
137
- corner: true
138
- },
139
- header: {
140
- title: 'Discover how on-line particle sizing optimises mining analytics.',
141
- meta: ['English'],
142
- date: {
143
- date: '2021-02-09' | createDate,
144
- time: '11:00 – 1200',
145
- timezone: 'EST'
146
- }
147
- },
148
- link: '#'
149
- }) }}
150
- </div>
151
-
152
- <div class="o-grid o-grid--layout o-grid--of-three">
153
- {{ card({
154
- theme: {
155
- layout: 'single',
156
- size: 'medium',
157
- name: 'featured'
158
- },
159
- image: {
160
- src: '/static/img/featured-event-1.jpg',
161
- alt: 'Alt'
162
- },
163
- header: {
164
- title: 'Achieving method transfer from Mastersizer 2000 to Mastersizer 3000',
165
- meta: ['English'],
166
- date: {
167
- date: '2020-08-01' | createDate,
168
- duration: '36:01'
169
- }
170
- },
171
- body: {
172
- keySpecs: [
173
- {
174
- title: 'Products',
175
- term: 'Mastersizer 3000'
176
- },
177
- {
178
- title: 'Technologies',
179
- term: 'Morphologically-Directed Raman Spectroscopy'
180
- }
181
- ]
182
- },
183
- footer: {
184
- buttons: [
185
- {
186
- label: 'Watch now',
187
- link: '#',
188
- colour: 'outline-white'
189
- }
190
- ]
191
- },
192
- tag: 'Recorded webinar'
193
- }) }}
194
-
195
- {{ card({
196
- theme: {
197
- layout: 'single',
198
- size: 'medium',
199
- name: 'featured'
200
- },
201
- image: {
202
- src: '/static/img/featured-event-2.jpg',
203
- alt: 'Alt'
204
- },
205
- header: {
206
- title: 'Zetium ED X-ray fluorescence SuperQ application course',
207
- meta: ['English'],
208
- date: {
209
- date: '2021-02-09' | createDate,
210
- time: '11:00 – 1200',
211
- timezone: 'EST'
212
- }
213
- },
214
- body: {
215
- keySpecs: [
216
- {
217
- title: 'Products',
218
- term: 'Mastersizer 3000'
219
- },
220
- {
221
- title: 'Technologies',
222
- term: 'Morphologically-Directed Raman Spectroscopy'
223
- }
224
- ]
225
- },
226
- footer: {
227
- buttons: [
228
- {
229
- label: 'Book your place',
230
- link: '#'
231
- }
232
- ]
233
- },
234
- tag: 'Training course'
235
- }) }}
236
- </div>
237
-
238
- <div class="o-grid o-grid--of-three">
239
- {{ card({
240
- theme: {
241
- layout: 'single',
242
- size: 'medium',
243
- name: 'alt'
244
- },
245
- image: {
246
- src: '/static/img/blog-page-image-1.jpg',
247
- alt: ''
248
- },
249
- header: {
250
- title: 'Mixing it with the Mastersizer!'
251
- },
252
- body: {
253
- 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>'
254
- },
255
- link: '#',
256
- tag: 'News'
257
- }) }}
258
- </div>
259
-
260
- <div class="o-grid o-grid--layout o-grid--8/3">
261
- {{ card({
262
- theme: {
263
- layout: 'multi',
264
- name: 'featured',
265
- switch: true
266
- },
267
- image: {
268
- src: '/static/img/featured-event-1.jpg',
269
- alt: 'Alt'
270
- },
271
- header: {
272
- title: 'Achieving method transfer from Mastersizer 2000 to Mastersizer 3000',
273
- meta: ['English'],
274
- date: {
275
- date: '2020-08-01' | createDate,
276
- duration: '36:01'
277
- }
278
- },
279
- body: {
280
- keySpecs: [
281
- {
282
- title: 'Products',
283
- term: 'Mastersizer 3000'
284
- },
285
- {
286
- title: 'Technologies',
287
- term: 'Morphologically-Directed Raman Spectroscopy'
288
- }
289
- ]
290
- },
291
- footer: {
292
- buttons: [
293
- {
294
- label: 'Watch now',
295
- link: '/prototype/oma/',
296
- colour: 'outline-white'
297
- }
298
- ]
299
- },
300
- tag: 'Recorded webinar'
301
- }) }}
302
- </div>
303
-
304
- {{ card({
305
- theme: {
306
- layout: 'multi c-card--layout-multi-40-60',
307
- name: 'featured',
308
- switch: true
309
- },
310
- image: {
311
- src: '/static/img/featured-event-2.jpg',
312
- alt: 'Alt'
313
- },
314
- header: {
315
- title: 'Zetium ED X-ray fluorescence SuperQ application course',
316
- meta: ['English'],
317
- date: {
318
- date: '2021-02-09' | createDate,
319
- time: '11:00 – 1200',
320
- timezone: 'EST'
321
- }
322
- },
323
- body: {
324
- keySpecs: [
325
- {
326
- title: 'Products',
327
- term: 'Mastersizer 3000'
328
- },
329
- {
330
- title: 'Technologies',
331
- term: 'Morphologically-Directed Raman Spectroscopy'
332
- }
333
- ]
334
- },
335
- footer: {
336
- buttons: [
337
- {
338
- label: 'Book your place',
339
- link: '/prototype/webinar'
340
- }
341
- ]
342
- },
343
- tag: 'Training course'
344
- }) }}
345
-
346
- <br>
347
- </div>
@@ -1,3 +0,0 @@
1
- <div class="o-grid o-grid--of-three u-bg-petrol-step-3 u-pad-m">
2
- {{ comp | safe }}
3
- </div>
@@ -1,3 +0,0 @@
1
- <div class="o-grid o-grid--of-three u-pad-m">
2
- {{ comp | safe }}
3
- </div>
@@ -1,3 +0,0 @@
1
- <div class="o-grid o-grid--of-two u-pad-m">
2
- {{ comp | safe }}
3
- </div>
@@ -1,5 +0,0 @@
1
- <div class="o-grid o-grid--layout o-grid--8/3 u-pad-m">
2
- <div>
3
- {{ comp | safe }}
4
- </div>
5
- </div>
@@ -1,3 +0,0 @@
1
- <div class="mp u-pad-m">
2
- {{ comp | safe }}
3
- </div>
@@ -1,5 +0,0 @@
1
- <div class="u-wrap u-pad-m">
2
- <div>
3
- {{ comp | safe }}
4
- </div>
5
- </div>
@@ -1,3 +0,0 @@
1
- <form class="mp o-grid o-grid--of-two u-pad-m">
2
- {{ comp | safe }}
3
- </form>
@@ -1,3 +0,0 @@
1
- <div class="u-step-5">
2
- {{ comp | safe }}
3
- </div>
@@ -1,5 +0,0 @@
1
- <div class="o-grid o-grid--layout o-grid--3/8 o-grid--push u-pad-m">
2
- <aside>
3
- {{ comp | safe }}
4
- </aside>
5
- </div>
@@ -1,11 +0,0 @@
1
- {%- set classNames = "c-embed" -%}
2
-
3
- {%- if params.classes %}
4
- {% set classNames = classNames + " " + params.classes %}
5
- {%- endif -%}
6
-
7
- <figure class="{{ classNames }}">
8
- <div class="c-embed__wrapper">
9
- {{ params.content | safe }}
10
- </div>
11
- </figure>
@@ -1,17 +0,0 @@
1
- .c-embed {
2
- position: relative;
3
-
4
- &__wrapper {
5
- padding-bottom: 56.625%;
6
- position: relative;
7
- height: 0;
8
-
9
- & > * {
10
- position: absolute;
11
- height: 100%;
12
- width: 100%;
13
- left: 0;
14
- top: 0;
15
- }
16
- }
17
- }
@@ -1,9 +0,0 @@
1
- {% from "components/component/component.njk" import c %}
2
-
3
- {% macro youtube(params) %}
4
- {{ c({ name: 'youtube', folder: 'embed' }, params) }}
5
- {% endmacro %}
6
-
7
- {% macro embed(params) %}
8
- {{ c({ name: 'embed' }, params) }}
9
- {% endmacro %}
@@ -1,19 +0,0 @@
1
- module.exports = {
2
- title: 'YouTube',
3
- component: {
4
- name: 'youtube',
5
- folder: 'embed'
6
- },
7
- context: {
8
- title: 'Video title',
9
- id: 'Q4H7EdHFghs'
10
- },
11
- props: [
12
- {
13
- table: [
14
- ['title', 'string', 'Video title'],
15
- ['id', 'string', 'YouTube video ID']
16
- ]
17
- }
18
- ]
19
- }
@@ -1,5 +0,0 @@
1
- {% from "components/embed/macro.njk" import embed %}
2
-
3
- {{ embed({
4
- content: '<iframe title="' + (params.title or '') + '" width="640" height="360" src="https://www.youtube.com/embed/' + params.id + '?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>'
5
- }) }}
@@ -1,108 +0,0 @@
1
- const categories = require('../component/categories');
2
-
3
- module.exports = {
4
- title: 'NEW Event card',
5
- component: {
6
- name: 'event-card',
7
- },
8
- category: categories.card,
9
- context: {
10
- type: 'event',
11
- theme: 'alt',
12
- size: 'medium',
13
- header: {
14
- title: 'Zetium ED X-ray fluorescence SuperQ application course',
15
- date: {
16
- date: new Date(new Date().getTime() + 24 * 60 * 60 * 1000),
17
- time: '11:30 - 12:30',
18
- timezone: 'GMT',
19
- },
20
- location: 'Virtual',
21
- meta: ['English']
22
- },
23
- tag: 'Live webinar',
24
- body: {
25
- keySpecs: [
26
- {
27
- title: 'Products',
28
- term: 'Zetium'
29
- },
30
- {
31
- title: 'Technologies',
32
- terms: ['X-ray fluorescence spectronomy (XRF)','ED-XRF']
33
- }
34
- ]
35
- },
36
- footer: {
37
- buttons: [
38
- {
39
- link: '#',
40
- label: 'Book your place'
41
- }
42
- ]
43
- },
44
- image: {
45
- src: 'https://p3.aprimocdn.net/malvernpanalytical/86aad13f-9f20-4a18-8a2e-adea010ae3d9/shutterstock_111870260_Low-res.JPG',
46
- alt: 'Alt text'
47
- }
48
- },
49
- variants: [
50
- {
51
- title: 'Small',
52
- context: {
53
- size: 'small',
54
- specs: false,
55
- footer: false,
56
- }
57
- },
58
- {
59
- title: 'Dark',
60
- context: {
61
- theme: 'dark',
62
- header: {
63
- title: 'Zetium ED X-ray fluorescence SuperQ application course',
64
- date: {
65
- date: new Date(new Date().getTime() + 24 * 60 * 60 * 1000),
66
- time: '11:30 - 12:30',
67
- timezone: 'EDT',
68
- },
69
- location: 'Westborough MA',
70
- meta: ['English']
71
- },
72
- tag: 'User training',
73
- }
74
- },
75
- {
76
- title: 'Shadowed',
77
- context: {
78
- theme: 'shadowed',
79
- size: 'small',
80
- specs: false,
81
- footer: false,
82
- }
83
- },
84
- {
85
- title: 'Recorded',
86
- context: {
87
- header: {
88
- title: 'XRF analysis in the process control of battery cathode manufacturing',
89
- date: {
90
- date: new Date(2017,9,11)
91
- },
92
- duration: '54:29',
93
- meta: ['English']
94
- },
95
- tag: 'Recorded webinar',
96
- footer: {
97
- buttons: [
98
- {
99
- link: '#',
100
- label: 'Watch the video',
101
- colour: 'outline-green'
102
- }
103
- ]
104
- }
105
- }
106
- }
107
- ]
108
- }
@@ -1 +0,0 @@
1
- {% extends "components/card-new/card-new.njk" %}
@@ -1,49 +0,0 @@
1
- // Extend the basic card scss
2
- @import '../card-new/card-new.scss';
3
-
4
- .c-card-new--event {
5
-
6
- // Colour themes
7
- &.c-card-new--dark {
8
- .c-card__day {
9
- color: color('white');
10
- }
11
- .c-card__specs {
12
- color: color('petrol', 'step-2');
13
- }
14
- }
15
- &.c-card-new--alt {
16
- .c-card__specs {
17
- color: color('petrol', 'step-1');
18
- }
19
- }
20
-
21
- .c-card__meta {
22
- line-height: lh('prose');
23
- }
24
-
25
- &:not(.c-card-new--small) .c-card__datetime {
26
- @container card (width > #{$card-s}) {
27
- .c-card__day {
28
- font-size: var(--step-4);
29
- }
30
- .c-card__month {
31
- font-size: var(--step-2);
32
- }
33
- }
34
- @container card (width > #{$card-m}) {
35
- .c-card__day {
36
- font-size: var(--step-5);
37
- }
38
- .c-card__month {
39
- font-size: var(--step-3);
40
- }
41
- }
42
- }
43
-
44
- @container card (width < #{$card-s}) {
45
- .c-card__specs {
46
- display: none;
47
- }
48
- }
49
- }
@@ -1,5 +0,0 @@
1
- {% from "components/component/component.njk" import c %}
2
-
3
- {% macro eventCardNew(params) %}
4
- {{ c({ name: 'event-card'}, params) }}
5
- {% endmacro %}