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.
Files changed (493) hide show
  1. package/README.md +35 -29
  2. package/dist/build/js/app.js +1 -22
  3. package/dist/build/scss/library.css +1 -1
  4. package/dist/build/scss/main.css +1 -1
  5. package/package.json +35 -46
  6. package/src/_data/components.js +0 -104
  7. package/src/_data/config.js +0 -14
  8. package/src/_data/helpers.js +0 -6
  9. package/src/_headers +0 -9
  10. package/src/_includes/components/accordion/accordion.config.js +0 -28
  11. package/src/_includes/components/accordion/accordion.md +0 -15
  12. package/src/_includes/components/accordion/accordion.njk +0 -10
  13. package/src/_includes/components/accordion/accordion.scss +0 -54
  14. package/src/_includes/components/accordion/macro.njk +0 -5
  15. package/src/_includes/components/alert/alert.config.js +0 -65
  16. package/src/_includes/components/alert/alert.njk +0 -27
  17. package/src/_includes/components/alert/alert.scss +0 -80
  18. package/src/_includes/components/alert/macro.njk +0 -5
  19. package/src/_includes/components/back-to-top/back-to-top.config.js +0 -10
  20. package/src/_includes/components/back-to-top/back-to-top.njk +0 -7
  21. package/src/_includes/components/back-to-top/back-to-top.scss +0 -22
  22. package/src/_includes/components/back-to-top/macro.njk +0 -5
  23. package/src/_includes/components/breadcrumb/breadcrumb.config.js +0 -20
  24. package/src/_includes/components/breadcrumb/breadcrumb.njk +0 -19
  25. package/src/_includes/components/breadcrumb/breadcrumb.scss +0 -69
  26. package/src/_includes/components/breadcrumb/macro.njk +0 -5
  27. package/src/_includes/components/button/button.config.js +0 -89
  28. package/src/_includes/components/button/button.njk +0 -38
  29. package/src/_includes/components/button/button.scss +0 -178
  30. package/src/_includes/components/button/macro.njk +0 -5
  31. package/src/_includes/components/campaign/campaign.config.js +0 -68
  32. package/src/_includes/components/campaign/campaign.njk +0 -26
  33. package/src/_includes/components/campaign/campaign.scss +0 -108
  34. package/src/_includes/components/campaign/macro.njk +0 -5
  35. package/src/_includes/components/card/card.config.js +0 -1058
  36. package/src/_includes/components/card/card.njk +0 -206
  37. package/src/_includes/components/card/card.scss +0 -508
  38. package/src/_includes/components/card/existing-customer-card.config.js +0 -51
  39. package/src/_includes/components/card/existing-customer-card.njk +0 -40
  40. package/src/_includes/components/card/existing-customer-card.scss +0 -100
  41. package/src/_includes/components/card/industry-card.config.js +0 -51
  42. package/src/_includes/components/card/industry-card.njk +0 -34
  43. package/src/_includes/components/card/industry-card.scss +0 -85
  44. package/src/_includes/components/card/macro.njk +0 -29
  45. package/src/_includes/components/card/measurement-type-card.config.js +0 -35
  46. package/src/_includes/components/card/measurement-type-card.njk +0 -35
  47. package/src/_includes/components/card/measurement-type-card.scss +0 -56
  48. package/src/_includes/components/card/product-card.config.js +0 -91
  49. package/src/_includes/components/card/product-card.njk +0 -58
  50. package/src/_includes/components/card/product-card.scss +0 -88
  51. package/src/_includes/components/card/search-result-card.config.js +0 -29
  52. package/src/_includes/components/card/search-result-card.njk +0 -33
  53. package/src/_includes/components/card/search-result-card.scss +0 -48
  54. package/src/_includes/components/card/technology-card.config.js +0 -35
  55. package/src/_includes/components/card/technology-card.njk +0 -35
  56. package/src/_includes/components/card/technology-card.scss +0 -56
  57. package/src/_includes/components/card-new/card-new.config.js +0 -95
  58. package/src/_includes/components/card-new/card-new.md +0 -0
  59. package/src/_includes/components/card-new/card-new.njk +0 -169
  60. package/src/_includes/components/card-new/card-new.scss +0 -156
  61. package/src/_includes/components/card-new/macro.njk +0 -5
  62. package/src/_includes/components/comparison-table/comparison-table.config.js +0 -92
  63. package/src/_includes/components/comparison-table/comparison-table.njk +0 -76
  64. package/src/_includes/components/comparison-table/comparison-table.scss +0 -187
  65. package/src/_includes/components/comparison-table/macro.njk +0 -5
  66. package/src/_includes/components/component/categories.js +0 -5
  67. package/src/_includes/components/component/component.njk +0 -71
  68. package/src/_includes/components/component/preview-card-example.njk +0 -347
  69. package/src/_includes/components/component/preview-cards-three-alt.njk +0 -3
  70. package/src/_includes/components/component/preview-cards-three.njk +0 -3
  71. package/src/_includes/components/component/preview-cards-two.njk +0 -3
  72. package/src/_includes/components/component/preview-content-width.njk +0 -5
  73. package/src/_includes/components/component/preview-default.njk +0 -3
  74. package/src/_includes/components/component/preview-fixed-width.njk +0 -5
  75. package/src/_includes/components/component/preview-form.njk +0 -3
  76. package/src/_includes/components/component/preview-icons.njk +0 -3
  77. package/src/_includes/components/component/preview-sidebar.njk +0 -5
  78. package/src/_includes/components/embed/embed.njk +0 -11
  79. package/src/_includes/components/embed/embed.scss +0 -17
  80. package/src/_includes/components/embed/macro.njk +0 -9
  81. package/src/_includes/components/embed/youtube.config.js +0 -19
  82. package/src/_includes/components/embed/youtube.njk +0 -5
  83. package/src/_includes/components/event-card/event-card.config.js +0 -108
  84. package/src/_includes/components/event-card/event-card.njk +0 -1
  85. package/src/_includes/components/event-card/event-card.scss +0 -49
  86. package/src/_includes/components/event-card/macro.njk +0 -5
  87. package/src/_includes/components/eyebrow/eyebrow.config.js +0 -84
  88. package/src/_includes/components/eyebrow/eyebrow.njk +0 -24
  89. package/src/_includes/components/eyebrow/eyebrow.scss +0 -71
  90. package/src/_includes/components/eyebrow/macro.njk +0 -5
  91. package/src/_includes/components/facet/facet.config.js +0 -110
  92. package/src/_includes/components/facet/facet.njk +0 -25
  93. package/src/_includes/components/facet/facet.scss +0 -49
  94. package/src/_includes/components/facet/macro.njk +0 -5
  95. package/src/_includes/components/featured-article-card/featured-article-card.config.js +0 -32
  96. package/src/_includes/components/featured-article-card/featured-article-card.njk +0 -24
  97. package/src/_includes/components/featured-article-card/featured-article-card.scss +0 -34
  98. package/src/_includes/components/featured-article-card/macro.njk +0 -5
  99. package/src/_includes/components/features-table/features-table.config.js +0 -137
  100. package/src/_includes/components/features-table/features-table.njk +0 -364
  101. package/src/_includes/components/features-table/features-table.scss +0 -96
  102. package/src/_includes/components/features-table/macro.njk +0 -5
  103. package/src/_includes/components/filter-search/filter-search.config.js +0 -16
  104. package/src/_includes/components/filter-search/filter-search.njk +0 -11
  105. package/src/_includes/components/filter-search/filter-search.scss +0 -33
  106. package/src/_includes/components/filter-search/macro.njk +0 -5
  107. package/src/_includes/components/footer/footer.config.js +0 -7
  108. package/src/_includes/components/footer/footer.njk +0 -81
  109. package/src/_includes/components/footer/footer.scss +0 -127
  110. package/src/_includes/components/footer/macro.njk +0 -5
  111. package/src/_includes/components/gallery/gallery.config.js +0 -55
  112. package/src/_includes/components/gallery/gallery.md +0 -1
  113. package/src/_includes/components/gallery/gallery.njk +0 -51
  114. package/src/_includes/components/gallery/gallery.scss +0 -54
  115. package/src/_includes/components/gallery/macro.njk +0 -5
  116. package/src/_includes/components/header/header.config.js +0 -38
  117. package/src/_includes/components/header/header.md +0 -4
  118. package/src/_includes/components/header/header.njk +0 -111
  119. package/src/_includes/components/header/header.scss +0 -273
  120. package/src/_includes/components/header/macro.njk +0 -5
  121. package/src/_includes/components/hero/hero.config.js +0 -144
  122. package/src/_includes/components/hero/hero.njk +0 -109
  123. package/src/_includes/components/hero/hero.scss +0 -356
  124. package/src/_includes/components/hero/macro.njk +0 -5
  125. package/src/_includes/components/hotspot-image/hotspot-image.config.js +0 -55
  126. package/src/_includes/components/hotspot-image/hotspot-image.njk +0 -41
  127. package/src/_includes/components/hotspot-image/hotspot-image.scss +0 -103
  128. package/src/_includes/components/hotspot-image/macro.njk +0 -5
  129. package/src/_includes/components/icon/icon.config.js +0 -18
  130. package/src/_includes/components/icon/icon.md +0 -1
  131. package/src/_includes/components/icon/icon.njk +0 -13
  132. package/src/_includes/components/icon/icon.scss +0 -6
  133. package/src/_includes/components/icon/macro.njk +0 -5
  134. package/src/_includes/components/input/checkbox.config.js +0 -41
  135. package/src/_includes/components/input/checkbox.njk +0 -2
  136. package/src/_includes/components/input/input.config.js +0 -67
  137. package/src/_includes/components/input/input.njk +0 -15
  138. package/src/_includes/components/input/input.scss +0 -136
  139. package/src/_includes/components/input/macro.njk +0 -25
  140. package/src/_includes/components/input/radio.config.js +0 -41
  141. package/src/_includes/components/input/radio.njk +0 -2
  142. package/src/_includes/components/input/radio.scss +0 -143
  143. package/src/_includes/components/input/select.config.js +0 -70
  144. package/src/_includes/components/input/select.njk +0 -13
  145. package/src/_includes/components/input/textarea.config.js +0 -51
  146. package/src/_includes/components/input/textarea.njk +0 -4
  147. package/src/_includes/components/input/toggle.config.js +0 -41
  148. package/src/_includes/components/input/toggle.njk +0 -5
  149. package/src/_includes/components/input/toggle.scss +0 -75
  150. package/src/_includes/components/internal-nav/internal-nav.config.js +0 -41
  151. package/src/_includes/components/internal-nav/internal-nav.njk +0 -24
  152. package/src/_includes/components/internal-nav/internal-nav.scss +0 -74
  153. package/src/_includes/components/internal-nav/macro.njk +0 -5
  154. package/src/_includes/components/meta-box/macro.njk +0 -5
  155. package/src/_includes/components/meta-box/meta-box.config.js +0 -74
  156. package/src/_includes/components/meta-box/meta-box.njk +0 -36
  157. package/src/_includes/components/meta-box/meta-box.scss +0 -10
  158. package/src/_includes/components/off-canvas/macro.njk +0 -5
  159. package/src/_includes/components/off-canvas/off-canvas.config.js +0 -28
  160. package/src/_includes/components/off-canvas/off-canvas.njk +0 -28
  161. package/src/_includes/components/off-canvas/off-canvas.scss +0 -102
  162. package/src/_includes/components/option-list/macro.njk +0 -5
  163. package/src/_includes/components/option-list/option-list.config.js +0 -51
  164. package/src/_includes/components/option-list/option-list.njk +0 -10
  165. package/src/_includes/components/option-list/option-list.scss +0 -39
  166. package/src/_includes/components/post-meta/macro.njk +0 -5
  167. package/src/_includes/components/post-meta/post-meta.config.js +0 -44
  168. package/src/_includes/components/post-meta/post-meta.njk +0 -16
  169. package/src/_includes/components/post-meta/post-meta.scss +0 -7
  170. package/src/_includes/components/product-card/macro.njk +0 -5
  171. package/src/_includes/components/product-card/product-card.config.js +0 -84
  172. package/src/_includes/components/product-card/product-card.njk +0 -1
  173. package/src/_includes/components/product-card/product-card.scss +0 -36
  174. package/src/_includes/components/product-signpost/macro.njk +0 -3
  175. package/src/_includes/components/product-signpost/product-signpost.config.js +0 -43
  176. package/src/_includes/components/product-signpost/product-signpost.njk +0 -16
  177. package/src/_includes/components/product-signpost/product-signpost.scss +0 -61
  178. package/src/_includes/components/prose/macro.njk +0 -11
  179. package/src/_includes/components/prose/prose.config.js +0 -65
  180. package/src/_includes/components/prose/prose.md +0 -1
  181. package/src/_includes/components/prose/prose.njk +0 -17
  182. package/src/_includes/components/quote/macro.njk +0 -5
  183. package/src/_includes/components/quote/quote.config.js +0 -19
  184. package/src/_includes/components/quote/quote.njk +0 -9
  185. package/src/_includes/components/quote/quote.scss +0 -51
  186. package/src/_includes/components/resource-card/macro.njk +0 -5
  187. package/src/_includes/components/resource-card/resource-card.config.js +0 -59
  188. package/src/_includes/components/resource-card/resource-card.njk +0 -1
  189. package/src/_includes/components/resource-card/resource-card.scss +0 -0
  190. package/src/_includes/components/scroll-spy/macro.njk +0 -5
  191. package/src/_includes/components/scroll-spy/scroll-spy.config.js +0 -24
  192. package/src/_includes/components/scroll-spy/scroll-spy.md +0 -3
  193. package/src/_includes/components/scroll-spy/scroll-spy.njk +0 -5
  194. package/src/_includes/components/scroll-spy/scroll-spy.scss +0 -54
  195. package/src/_includes/components/series/macro.njk +0 -5
  196. package/src/_includes/components/series/series.config.js +0 -35
  197. package/src/_includes/components/series/series.njk +0 -15
  198. package/src/_includes/components/series/series.scss +0 -20
  199. package/src/_includes/components/signpost/macro.njk +0 -5
  200. package/src/_includes/components/signpost/signpost.config.js +0 -36
  201. package/src/_includes/components/signpost/signpost.njk +0 -21
  202. package/src/_includes/components/signpost/signpost.scss +0 -66
  203. package/src/_includes/components/slat/slat.config.js +0 -59
  204. package/src/_includes/components/slat/slat.njk +0 -15
  205. package/src/_includes/components/slat/slat.scss +0 -53
  206. package/src/_includes/components/table/macro.njk +0 -11
  207. package/src/_includes/components/table/table.config.js +0 -68
  208. package/src/_includes/components/table/table.md +0 -16
  209. package/src/_includes/components/table/table.njk +0 -28
  210. package/src/_includes/components/table/table.scss +0 -157
  211. package/src/_includes/components/tabs/macro.njk +0 -9
  212. package/src/_includes/components/tabs/tabs-radio.config.js +0 -32
  213. package/src/_includes/components/tabs/tabs-radio.njk +0 -9
  214. package/src/_includes/components/tabs/tabs.config.js +0 -57
  215. package/src/_includes/components/tabs/tabs.njk +0 -17
  216. package/src/_includes/components/tabs/tabs.scss +0 -105
  217. package/src/_includes/components/twi/macro.njk +0 -5
  218. package/src/_includes/components/twi/twi.config.js +0 -46
  219. package/src/_includes/components/twi/twi.md +0 -1
  220. package/src/_includes/components/twi/twi.njk +0 -30
  221. package/src/_includes/components/twi/twi.scss +0 -44
  222. package/src/_includes/components/usp/macro.njk +0 -5
  223. package/src/_includes/components/usp/usp.config.js +0 -55
  224. package/src/_includes/components/usp/usp.md +0 -101
  225. package/src/_includes/components/usp/usp.njk +0 -42
  226. package/src/_includes/components/usp/usp.scss +0 -60
  227. package/src/_includes/content-page.njk +0 -53
  228. package/src/_includes/includes/color-swatches.njk +0 -260
  229. package/src/_includes/includes/related-events.njk +0 -60
  230. package/src/_includes/includes/resources.njk +0 -78
  231. package/src/_includes/includes/system-footer.njk +0 -30
  232. package/src/_includes/includes/system-header.njk +0 -30
  233. package/src/_includes/includes/system-scripts.njk +0 -88
  234. package/src/_includes/layout.njk +0 -69
  235. package/src/_includes/library-navigation/brand-nav.njk +0 -67
  236. package/src/_includes/library-navigation/components-nav.njk +0 -88
  237. package/src/_includes/library-navigation/content-nav.njk +0 -53
  238. package/src/_includes/library-navigation/system-nav.njk +0 -9
  239. package/src/_includes/library.njk +0 -5
  240. package/src/_includes/navigation/blog.njk +0 -16
  241. package/src/_includes/navigation/corporate.njk +0 -25
  242. package/src/_includes/navigation/store.njk +0 -29
  243. package/src/_includes/page.njk +0 -14
  244. package/src/_includes/patterns-page.njk +0 -41
  245. package/src/_includes/system-home-page.njk +0 -28
  246. package/src/_includes/system-page.njk +0 -27
  247. package/src/_includes/system.njk +0 -39
  248. package/src/_redirects +0 -13
  249. package/src/assets/fonts/Inter-Bold.woff +0 -0
  250. package/src/assets/fonts/Inter-Bold.woff2 +0 -0
  251. package/src/assets/fonts/Inter-Regular.woff +0 -0
  252. package/src/assets/fonts/Inter-Regular.woff2 +0 -0
  253. package/src/assets/fonts/Inter-SemiBold.woff +0 -0
  254. package/src/assets/fonts/Inter-SemiBold.woff2 +0 -0
  255. package/src/assets/js/app.js +0 -40
  256. package/src/assets/js/imports/accordion.js +0 -17
  257. package/src/assets/js/imports/carousel.js +0 -22
  258. package/src/assets/js/imports/clear-form.js +0 -27
  259. package/src/assets/js/imports/comparison.js +0 -64
  260. package/src/assets/js/imports/facet.js +0 -23
  261. package/src/assets/js/imports/gallery.js +0 -87
  262. package/src/assets/js/imports/hero-pattern.js +0 -94
  263. package/src/assets/js/imports/hero-video.js +0 -53
  264. package/src/assets/js/imports/hotspot-image.js +0 -91
  265. package/src/assets/js/imports/internal-nav.js +0 -41
  266. package/src/assets/js/imports/off-canvas.js +0 -219
  267. package/src/assets/js/imports/responsive-table.js +0 -30
  268. package/src/assets/js/imports/scroll-spy.js +0 -46
  269. package/src/assets/js/imports/scrollbar-width.js +0 -15
  270. package/src/assets/js/imports/tabs.js +0 -58
  271. package/src/assets/js/imports/utilities.js +0 -31
  272. package/src/assets/scss/components/form.scss +0 -306
  273. package/src/assets/scss/components/headings.scss +0 -68
  274. package/src/assets/scss/components/index.scss +0 -52
  275. package/src/assets/scss/components/lightbox.scss +0 -64
  276. package/src/assets/scss/components/product-finder.scss +0 -75
  277. package/src/assets/scss/elements/index.scss +0 -2
  278. package/src/assets/scss/elements/reset.scss +0 -139
  279. package/src/assets/scss/elements/typography.scss +0 -25
  280. package/src/assets/scss/foundations/animation.scss +0 -4
  281. package/src/assets/scss/foundations/colour.scss +0 -85
  282. package/src/assets/scss/foundations/index.scss +0 -4
  283. package/src/assets/scss/foundations/space.scss +0 -57
  284. package/src/assets/scss/foundations/typography.scss +0 -159
  285. package/src/assets/scss/library.scss +0 -672
  286. package/src/assets/scss/main.scss +0 -6
  287. package/src/assets/scss/objects/button-wrap.scss +0 -18
  288. package/src/assets/scss/objects/clickable-parent.scss +0 -3
  289. package/src/assets/scss/objects/grid.scss +0 -329
  290. package/src/assets/scss/objects/index.scss +0 -4
  291. package/src/assets/scss/objects/prose.scss +0 -164
  292. package/src/assets/scss/objects/syntax-highlighting.scss +0 -211
  293. package/src/assets/scss/tools/breakout.scss +0 -17
  294. package/src/assets/scss/tools/cutoff.scss +0 -50
  295. package/src/assets/scss/tools/index.scss +0 -172
  296. package/src/assets/scss/utilities/colour.scss +0 -10
  297. package/src/assets/scss/utilities/disabled.scss +0 -8
  298. package/src/assets/scss/utilities/display.scss +0 -156
  299. package/src/assets/scss/utilities/divider.scss +0 -6
  300. package/src/assets/scss/utilities/ellipsis.scss +0 -7
  301. package/src/assets/scss/utilities/flex.scss +0 -47
  302. package/src/assets/scss/utilities/flow.scss +0 -69
  303. package/src/assets/scss/utilities/gap.scss +0 -3
  304. package/src/assets/scss/utilities/hr.scss +0 -23
  305. package/src/assets/scss/utilities/index.scss +0 -18
  306. package/src/assets/scss/utilities/link.scss +0 -26
  307. package/src/assets/scss/utilities/scroll-shadows.scss +0 -69
  308. package/src/assets/scss/utilities/space.scss +0 -370
  309. package/src/assets/scss/utilities/typography.scss +0 -35
  310. package/src/assets/scss/utilities/wrap.scss +0 -24
  311. package/src/assets/svg/arc.svg +0 -1
  312. package/src/assets/svg/concentric.svg +0 -1
  313. package/src/assets/svg/crystal.svg +0 -1
  314. package/src/assets/svg/dots-pattern.svg +0 -1
  315. package/src/brand/colors.njk +0 -69
  316. package/src/brand/illustration.md +0 -50
  317. package/src/brand/images.md +0 -101
  318. package/src/brand/index.njk +0 -147
  319. package/src/brand/logo.md +0 -107
  320. package/src/brand/patterns.njk +0 -49
  321. package/src/brand/requirements.md +0 -98
  322. package/src/brand/resources.njk +0 -75
  323. package/src/brand/typography.md +0 -101
  324. package/src/components/colour.njk +0 -327
  325. package/src/components/creating-a-component.md +0 -163
  326. package/src/components/css.md +0 -65
  327. package/src/components/flow.njk +0 -131
  328. package/src/components/grid/generic.njk +0 -99
  329. package/src/components/grid/index.njk +0 -86
  330. package/src/components/grid/layout.njk +0 -56
  331. package/src/components/grid/wrap.njk +0 -20
  332. package/src/components/iconography.njk +0 -92
  333. package/src/components/index.njk +0 -65
  334. package/src/components/installation.md +0 -61
  335. package/src/components/publishing-the-system.md +0 -25
  336. package/src/components/space.njk +0 -191
  337. package/src/components/typography.njk +0 -135
  338. package/src/components/utilities.md +0 -182
  339. package/src/components-full-pages.njk +0 -24
  340. package/src/components-pages.njk +0 -103
  341. package/src/content/and-so/please-write-responsibly.md +0 -15
  342. package/src/content/and-so/sitting-down.md +0 -13
  343. package/src/content/big-ideas.md +0 -63
  344. package/src/content/boilerplate.md +0 -33
  345. package/src/content/elevator-pitch.md +0 -33
  346. package/src/content/index.njk +0 -126
  347. package/src/content/our-voice/1-big-picture.md +0 -37
  348. package/src/content/our-voice/2-whats-most-important.md +0 -38
  349. package/src/content/our-voice/3-write-like-we-speak.md +0 -50
  350. package/src/content/our-voice/4-write-to-be-skimmed.md +0 -50
  351. package/src/content/our-voice/5-active-sentences.md +0 -73
  352. package/src/content/our-voice/6-add-energy.md +0 -34
  353. package/src/content/our-voice/7-small-surprises.md +0 -44
  354. package/src/content/our-voice/seven-steps.md +0 -21
  355. package/src/content/our-voice/which-techniques-when.md +0 -39
  356. package/src/content/real-life-examples/01-who-we-are-boilerplate.md +0 -39
  357. package/src/content/real-life-examples/02-event-announcement.md +0 -38
  358. package/src/content/real-life-examples/03-customer-support-letter.md +0 -58
  359. package/src/content/real-life-examples/04-delay-in-shipment-letter.md +0 -62
  360. package/src/content/real-life-examples/05-overview-events-training.md +0 -41
  361. package/src/content/real-life-examples/06-digital-product-description.md +0 -40
  362. package/src/content/real-life-examples/07-recruitment.md +0 -42
  363. package/src/content/real-life-examples/08-industry-sector-1.md +0 -43
  364. package/src/content/real-life-examples/09-industry-sector-2.md +0 -47
  365. package/src/content/real-life-examples/10-website-information.md +0 -50
  366. package/src/content/real-life-examples/11-internal-update.md +0 -37
  367. package/src/content/real-life-examples/12-value-proposition.md +0 -44
  368. package/src/index.njk +0 -152
  369. package/src/patterns/form.njk +0 -349
  370. package/src/patterns/grid-of-cards.njk +0 -66
  371. package/src/patterns/index.njk +0 -19
  372. package/src/patterns/mp-form.njk +0 -111
  373. package/src/patterns/usps.njk +0 -149
  374. package/src/prototype/blog-post.njk +0 -123
  375. package/src/prototype/blog.njk +0 -168
  376. package/src/prototype/card-test.njk +0 -147
  377. package/src/prototype/creating-a-page.njk +0 -74
  378. package/src/prototype/events-hub.njk +0 -520
  379. package/src/prototype/form-altcha.njk +0 -705
  380. package/src/prototype/form-cloudflare.njk +0 -688
  381. package/src/prototype/form-hcaptcha.njk +0 -693
  382. package/src/prototype/home.njk +0 -24
  383. package/src/prototype/index.njk +0 -893
  384. package/src/prototype/oma.njk +0 -167
  385. package/src/prototype/product.njk +0 -480
  386. package/src/prototype/products.njk +0 -163
  387. package/src/prototype/range.njk +0 -263
  388. package/src/prototype/request-a-quote.njk +0 -147
  389. package/src/prototype/sections.njk +0 -295
  390. package/src/prototype/spline.njk +0 -16
  391. package/src/prototype/thanks.njk +0 -31
  392. package/src/prototype/webinar.njk +0 -118
  393. package/src/prototype/webinars-3-2-1.njk +0 -397
  394. package/src/prototype/webinars.njk +0 -405
  395. package/src/quickstart.md +0 -41
  396. package/src/robots.txt +0 -5
  397. package/src/static/adobe/MP Franklin colour swatches.ai +0 -914
  398. package/src/static/img/aeris.jpg +0 -0
  399. package/src/static/img/article-1.jpg +0 -0
  400. package/src/static/img/article-2.jpg +0 -0
  401. package/src/static/img/blog-image-1.jpg +0 -0
  402. package/src/static/img/blog-page-image-1.jpg +0 -0
  403. package/src/static/img/blog-page-image-2.jpg +0 -0
  404. package/src/static/img/blog-page-image-3.jpg +0 -0
  405. package/src/static/img/blog-page-image-4.jpg +0 -0
  406. package/src/static/img/blog-page-image-5.jpg +0 -0
  407. package/src/static/img/blog-page-image-6.jpg +0 -0
  408. package/src/static/img/campaign.jpg +0 -0
  409. package/src/static/img/case-study-1.jpg +0 -0
  410. package/src/static/img/case-study-2.jpg +0 -0
  411. package/src/static/img/case-study-3.jpg +0 -0
  412. package/src/static/img/empyrean.jpg +0 -0
  413. package/src/static/img/epsilon.jpg +0 -0
  414. package/src/static/img/favicon-32x32.png +0 -0
  415. package/src/static/img/favicon.svg +0 -1
  416. package/src/static/img/featured-blog-post.jpg +0 -0
  417. package/src/static/img/featured-event-1.jpg +0 -0
  418. package/src/static/img/featured-event-2.jpg +0 -0
  419. package/src/static/img/featured-event-3.jpg +0 -0
  420. package/src/static/img/flow-2.png +0 -0
  421. package/src/static/img/flow-diagram.png +0 -0
  422. package/src/static/img/flow.png +0 -0
  423. package/src/static/img/grid-captivate-1.jpg +0 -0
  424. package/src/static/img/homepage_1_back.webp +0 -0
  425. package/src/static/img/homepage_1_back_alt.webp +0 -0
  426. package/src/static/img/homepage_1_front_full.webp +0 -0
  427. package/src/static/img/homepage_2_back.webp +0 -0
  428. package/src/static/img/homepage_2_back_alt.webp +0 -0
  429. package/src/static/img/homepage_2_front_full.webp +0 -0
  430. package/src/static/img/itcss.svg +0 -8
  431. package/src/static/img/leneo.jpg +0 -0
  432. package/src/static/img/mastersizer.jpg +0 -0
  433. package/src/static/img/microcal.jpg +0 -0
  434. package/src/static/img/morphologi.jpg +0 -0
  435. package/src/static/img/omnisec.jpg +0 -0
  436. package/src/static/img/open-graph-image.jpg +0 -0
  437. package/src/static/img/product-accessory-1.jpg +0 -0
  438. package/src/static/img/product-accessory-2.jpg +0 -0
  439. package/src/static/img/product-image.jpg +0 -0
  440. package/src/static/img/products-1.jpg +0 -0
  441. package/src/static/img/products-2.jpg +0 -0
  442. package/src/static/img/products-3.jpg +0 -0
  443. package/src/static/img/products-4.jpg +0 -0
  444. package/src/static/img/products-5.jpg +0 -0
  445. package/src/static/img/products-6.jpg +0 -0
  446. package/src/static/img/qualityspec.jpg +0 -0
  447. package/src/static/img/range-product-1.jpg +0 -0
  448. package/src/static/img/range-product-2.jpg +0 -0
  449. package/src/static/img/range.jpg +0 -0
  450. package/src/static/img/salt.png +0 -0
  451. package/src/static/img/sector-1.jpg +0 -0
  452. package/src/static/img/sector-2.jpg +0 -0
  453. package/src/static/img/sector-3.jpg +0 -0
  454. package/src/static/img/sector-4.jpg +0 -0
  455. package/src/static/img/sector-5.jpg +0 -0
  456. package/src/static/img/slide-1.jpg +0 -0
  457. package/src/static/img/slide-2.jpg +0 -0
  458. package/src/static/img/slide-3.jpg +0 -0
  459. package/src/static/img/slide-4.webp +0 -0
  460. package/src/static/img/slide-5.webp +0 -0
  461. package/src/static/img/slide-6.webp +0 -0
  462. package/src/static/img/slide-7.webp +0 -0
  463. package/src/static/img/zetasizer.jpg +0 -0
  464. package/src/static/pdf/PN12558_Physical_branding_v23.pdf +0 -0
  465. package/src/static/pdf/Power of One - Malvern Panalytical rebranding guidance.pdf +0 -0
  466. package/src/static/svg/crop-diagram-1.svg +0 -1
  467. package/src/static/svg/crop-diagram-2.svg +0 -1
  468. package/src/static/svg/icon-globe-alt--white.svg +0 -4
  469. package/src/static/svg/icon-globe-alt.svg +0 -4
  470. package/src/static/svg/icon-live-webinars--white.svg +0 -6
  471. package/src/static/svg/icon-live-webinars.svg +0 -6
  472. package/src/static/svg/icon-recorded-webinars--white.svg +0 -4
  473. package/src/static/svg/icon-recorded-webinars.svg +0 -4
  474. package/src/static/svg/icon-user-training--white.svg +0 -5
  475. package/src/static/svg/icon-user-training.svg +0 -5
  476. package/src/static/svg/imaging-matrix.svg +0 -56
  477. package/src/static/svg/large-envelope.svg +0 -1
  478. package/src/static/svg/large-globe.svg +0 -1
  479. package/src/static/svg/large-student.svg +0 -1
  480. package/src/static/svg/logo-black.svg +0 -1
  481. package/src/static/svg/logo-color-white-text.svg +0 -1
  482. package/src/static/svg/logo-simple.svg +0 -1
  483. package/src/static/svg/logo-small.svg +0 -1
  484. package/src/static/svg/logo-spacing-horizontal.svg +0 -1
  485. package/src/static/svg/logo-spacing-vertical.svg +0 -1
  486. package/src/static/svg/logo-stacked.svg +0 -1
  487. package/src/static/svg/logo-white.svg +0 -1
  488. package/src/static/svg/logo-x.svg +0 -1
  489. package/src/static/svg/logo.svg +0 -1
  490. package/src/static/svg/sprite.svg +0 -48
  491. package/src/static/svg/typography-spacing.svg +0 -2345
  492. package/src/static/zip/MP_logo.zip +0 -0
  493. package/src/static/zip/SVG_patterns.zip +0 -0
@@ -1,16 +0,0 @@
1
- {%- from "components/series/macro.njk" import series -%}
2
-
3
- <div class="mp c-post-meta {{ "u-link-inside" if params.author }}">
4
- {% if params.series %}
5
- {{ series({
6
- links: params.series
7
- }) }}
8
- {% endif %}
9
- {% if params.author %}
10
- <p>By <a href="{{ params.author.link }}">{{ params.author.label | safe }}</a>, Wednesday 6 January 2021</p>
11
- {% else %}
12
- {{ params.content | safe }}
13
- {% endif %}
14
- </div>
15
-
16
- {# test #}
@@ -1,7 +0,0 @@
1
- .c-post-meta {
2
- color: color('grey', 'step-1');
3
- border-bottom: 1px solid color('petrol', 'step-2');
4
- border-top: 1px solid color('petrol', 'step-2');
5
- padding: 1.25rem 0;
6
- @include flow('xs');
7
- }
@@ -1,5 +0,0 @@
1
- {%- from "components/component/component.njk" import c -%}
2
-
3
- {%- macro productCardNew(params) -%}
4
- {{ c({name: 'product-card'}, params) }}
5
- {%- endmacro -%}
@@ -1,84 +0,0 @@
1
- const categories = require('../component/categories');
2
-
3
- module.exports = {
4
- title: 'NEW Product card',
5
- component: {
6
- name: 'product-card',
7
- },
8
- category: categories.card,
9
- context: {
10
- type: 'product',
11
- theme: 'bordered',
12
- size: 'medium',
13
- header: {
14
- title: 'Product card medium',
15
- subtitle: 'Lorem ipsum dolor sit amet'
16
- },
17
- body: {
18
- content: `<p>Nam duis leo phasellus quisque ac a volutpat euismod ultrices condimentum sociosqu et natoque volutpat eros.</p>`
19
- },
20
- footer: {
21
- buttons: [
22
- {
23
- link: '#',
24
- label: 'View product'
25
- },
26
- {
27
- link: '#',
28
- label: 'Request a quote',
29
- colour: 'outline-green'
30
- }
31
- ]
32
- },
33
- image: {
34
- src: '/static/img/aeris.jpg',
35
- alt: 'Alt text'
36
- }
37
- },
38
- variants: [
39
- {
40
- title: 'With features list',
41
- context: {
42
- list: [
43
- {
44
- label: 'Classic 90° DLS',
45
- icon: 'cross',
46
- classes: 'c-twi--grey'
47
- },
48
- {
49
- label: 'Dynamic light scattering',
50
- icon: 'tick',
51
- classes: 'c-twi--green'
52
- },
53
- {
54
- label: 'Static light scattering',
55
- icon: 'tick',
56
- classes: 'c-twi--green'
57
- },
58
- {
59
- label: 'Non-invasive back scatter DLS',
60
- icon: 'tick',
61
- classes: 'c-twi--green'
62
- },
63
- {
64
- label: 'Multi-angle dynamic light scattering',
65
- icon: 'cross',
66
- classes: 'c-twi--grey'
67
- }
68
- ],
69
- }
70
- },
71
- {
72
- title: 'Small',
73
- context: {
74
- size: 'small',
75
- url: '#',
76
- footer: false,
77
- header: {
78
- title: 'Product card small',
79
- subtitle: 'Lorem ipsum dolor sit amet'
80
- },
81
- },
82
- },
83
- ]
84
- }
@@ -1 +0,0 @@
1
- {% extends "components/card-new/card-new.njk" %}
@@ -1,36 +0,0 @@
1
- // Extend the basic card scss
2
- @import '../card-new/card-new.scss';
3
-
4
- // Complex CSS to make images work in both portrait and landscape
5
- // Separate it out into a li'l mixin
6
- @mixin productCardImage($size: 's-m') {
7
- @include space('top', $size);
8
- @include space('left', $size);
9
- position: absolute;
10
- // height: 100%;
11
- height: calc(100% - (var(--space-#{$size}) *2) );
12
- // width: 100%;
13
- width: calc(100% - var(--space-#{$size}));
14
- }
15
-
16
- .c-card-new--product {
17
- .c-card-new__image {
18
- img {
19
- margin-inline: auto;
20
- object-fit: contain;
21
- object-position: top center;
22
- }
23
-
24
- @container card (width > #{$card-m}) {
25
- flex-basis: 50%;
26
-
27
- img {
28
- @include productCardImage('s-m');
29
-
30
- .c-card-new--small & {
31
- @include productCardImage('xs')
32
- }
33
- }
34
- }
35
- }
36
- }
@@ -1,3 +0,0 @@
1
- {% macro productSignpost(params) %}
2
- {%- include "./product-signpost.njk" -%}
3
- {% endmacro %}
@@ -1,43 +0,0 @@
1
- const categories = require('../component/categories');
2
-
3
- module.exports = {
4
- title: 'Product signpost',
5
- category: categories.card,
6
- component: {
7
- name: 'product-signpost'
8
- },
9
- context: {
10
- title: 'Particle size analyzers',
11
- description: '<p>The world’s leading particle size analyzers</p>',
12
- image: {
13
- src: '/static/img/products-4.jpg',
14
- alt: 'Product image alt'
15
- },
16
- link: ''
17
- },
18
- variants: [
19
- {
20
- title: 'Bordered',
21
- context: {
22
- classes: 'c-product-signpost--bordered'
23
- }
24
- }
25
- ],
26
- props: [
27
- {
28
- table: [
29
- ['title', 'string'],
30
- ['description', 'string'],
31
- ['image', 'object', 'Image object'],
32
- ['link', 'string'],
33
- ['classes', 'string']
34
- ]
35
- },
36
- {
37
- title: 'CSS modifiers',
38
- table: [
39
- ['c-product-signpost--bordered', '', 'Add a border and padding']
40
- ]
41
- }
42
- ]
43
- }
@@ -1,16 +0,0 @@
1
- <article class="mp c-product-signpost {{ params.classes }}">
2
- <a class="c-product-signpost__link" href="{{ params.link }}">{{ params.title }}</a>
3
- <div class="c-product-signpost__wrapper">
4
- {% if params.image.src %}
5
- <figure class="c-product-signpost__image">
6
- <img src="{{ params.image.src }}" alt="{{ params.image.alt }}" />
7
- </figure>
8
- {% endif %}
9
- <div class="u-flow--3xs">
10
- <h2 class="c-h c-h--step-0">{{ params.title }}</h2>
11
- <div class="o-prose">
12
- {{ params.description | safe }}
13
- </div>
14
- </div>
15
- </div>
16
- </article>
@@ -1,61 +0,0 @@
1
- .c-product-signpost {
2
- position: relative;
3
- display: flex;
4
- justify-content: flex-start;
5
- align-items: center;
6
- max-width: 440px;
7
- @include padding("2xs");
8
- word-break: break-word;
9
-
10
- &__link {
11
- @extend .u-fill, .u-fill--link;
12
- }
13
-
14
- &:hover .c-h {
15
- text-decoration: underline;
16
- }
17
-
18
- &__image {
19
- margin-bottom: 0;
20
- // @include padding-right("s");
21
- flex-shrink: 0;
22
- }
23
-
24
- &__content {
25
- flex-grow: 1;
26
- }
27
-
28
- &__wrapper {
29
- display: flex;
30
- flex-direction: column;
31
- @include space('gap', 'xs-s');
32
- }
33
-
34
- .o-prose p {
35
- line-height: lh();
36
- @include step(-1);
37
- }
38
-
39
- &--bordered {
40
- @include padding("xs");
41
- border: 1px solid color("petrol", "step-2");
42
- }
43
-
44
- &--float-right {
45
- @extend .u-float-right;
46
- @include margin(0, 0, "xs-l", "xs-l");
47
- min-width: 9rem;
48
- width: 30%;
49
- }
50
-
51
- @media (min-width: 55em) {
52
- &--float-right,
53
- &__image {
54
- width: 40%;
55
- }
56
-
57
- &__wrapper {
58
- flex-direction: row;
59
- }
60
- }
61
- }
@@ -1,11 +0,0 @@
1
- {% from "components/component/component.njk" import c %}
2
-
3
- {% macro prose(params) %}
4
- {{ c({ name: 'prose' }, params) }}
5
- {% endmacro %}
6
-
7
- {% macro markdown(params) %}
8
- {{ prose({
9
- content: params.content | markdown
10
- }) }}
11
- {% endmacro %}
@@ -1,65 +0,0 @@
1
- module.exports = {
2
- title: 'Prose',
3
- component: {
4
- name: 'prose'
5
- },
6
- figma: 'https://www.figma.com/file/rUQ6aPQAfBX55o3hH0Lqb3/Design-exploration?node-id=745%3A173',
7
- context: {
8
- content: `<h2>Heading two</h2>
9
- <p>Maecenas faucibus mollis interdum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.</p>
10
- <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Nullam id dolor id nibh ultricies vehicula ut id elit. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Curabitur blandit tempus porttitor. Aenean lacinia bibendum nulla sed consectetur.</p>
11
- <h3>Heading three</h3>
12
- <p>Curabitur blandit tempus porttitor. Donec sed odio dui. Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
13
- <blockquote>
14
- <p>Etiam porta sem malesuada magna mollis euismod. Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam.</p>
15
- </blockquote>
16
- <p>Maecenas faucibus mollis interdum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.</p>
17
- <ul>
18
- <li>Donec sed odio dui.</li>
19
- <li>Maecenas sed diam eget risus varius blandit sit amet non magna.</li>
20
- <li>Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</li>
21
- </ul>
22
- <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Nullam id dolor id nibh ultricies vehicula ut id elit. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Curabitur blandit tempus porttitor. Aenean lacinia bibendum nulla sed consectetur.</p>
23
- <ol>
24
- <li>Donec sed odio dui.</li>
25
- <li>Maecenas sed diam eget risus varius blandit sit amet non magna.</li>
26
- <li>Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</li>
27
- </ol>
28
- <p>Curabitur <code>blandit tempus</code> porttitor. Donec sed odio dui. Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
29
- <pre>
30
- {
31
- "title": "Prose"
32
- }</pre>
33
- <p>Maecenas faucibus mollis interdum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.</p>`
34
- },
35
- variants: [
36
- {
37
- title: 'With lede',
38
- context: {
39
- classes: 'o-prose--with-lede'
40
- }
41
- },
42
- {
43
- title: 'Left blockquote',
44
- context: {
45
- classes: 'o-prose--left-blockquote'
46
- }
47
- }
48
- ],
49
- docs: true,
50
- props: [
51
- {
52
- table: [
53
- ['content', 'html', 'HTML from a WYSIWYG editor'],
54
- ['classes', 'Addtional class attributes']
55
- ]
56
- },
57
- {
58
- title: 'CSS modifiers',
59
- table: [
60
- ['o-prose--left-blockquote', 'Remove the indentation of the blockquote'],
61
- ['o-prose--with-lede', '', 'Emphasise the first paragraph of the prose']
62
- ]
63
- }
64
- ]
65
- }
@@ -1 +0,0 @@
1
- The prose component assumes it will be passed WYSIWG content from a CMS. For this reasons, it is quite opinionated about how it styles child elements. For example: where as in most components a `<h2>` will be `1em` until we provide a sizing class, a `<h2>` in prose will be given a set size. This means we don't have to filter our CMS output and add additional styling classes.
@@ -1,17 +0,0 @@
1
- {%- set classNames = "mp o-prose u-flow--prose" -%}
2
-
3
- {%- if params.classes -%}
4
- {% set classNames = classNames + " " + params.classes %}
5
- {% endif %}
6
-
7
- {% if params.wrap != null %}
8
- {% if params.wrap != '' %}
9
- {% set classNames = classNames + " " + params.wrap %}
10
- {% endif %}
11
- {% else %}
12
- {% set classNames = classNames + " u-wrap--content" %}
13
- {% endif %}
14
-
15
- <div class="{{ classNames }}">
16
- {{ params.content | safe }}
17
- </div>
@@ -1,5 +0,0 @@
1
- {%- from "components/component/component.njk" import c -%}
2
-
3
- {%- macro quote(params) -%}
4
- {{ c({ name: 'quote' }, params) }}
5
- {%- endmacro -%}
@@ -1,19 +0,0 @@
1
- module.exports = {
2
- title: 'Quote',
3
- component: {
4
- name: 'quote',
5
- },
6
- context: {
7
- text: 'Data generated on the instrument is very reliable and accurate. Method development on the instrument is very simple and gives reproducible results time and again...',
8
- name: 'Tyrone T.',
9
- org: 'Oil processing'
10
- },
11
- variants: [
12
- {
13
- title: 'With logo',
14
- context: {
15
- logo: 'selectscience'
16
- }
17
- }
18
- ]
19
- }
@@ -1,9 +0,0 @@
1
- <blockquote class="mp c-quote u-flow--s">
2
- <p>{{ params.text }}</p>
3
- <div class="u-split">
4
- <cite><strong>{{ params.name }}</strong> &mdash; {{ params.org }}</cite>
5
- {% if params.logo %}
6
- <img class="c-quote__image" src="https://malvern.dist.sdlmedia.com/distributions/?o=e46b13ba-66ec-4f45-82ad-d922a2bb2733">
7
- {% endif %}
8
- </div>
9
- </blockquote>
@@ -1,51 +0,0 @@
1
- .c-quote {
2
- color: color('petrol', 'step-1');
3
- padding-top: 74px;
4
- @include padding('2xl', 0, 'l', 'xl');
5
- position: relative;
6
-
7
- &:before {
8
- content: '“';
9
- color: color('petrol', 'step-3');
10
- position: absolute;
11
- height: 57px;
12
- width: 45px;
13
- left: 0;
14
- top: 0.1em;
15
- font-family: "Arial", sans-serif;
16
- font-size: 10em;
17
- font-weight: 900;
18
- line-height: 0.9;
19
- margin-left: -0.025em;
20
- z-index: -1;
21
- }
22
-
23
- p {
24
- @include step(2);
25
- line-height: lh('prose');
26
- }
27
-
28
- p + p {
29
- margin-top: 1em;
30
- }
31
-
32
- cite {
33
- display: block;
34
- @include step(-1);
35
- @include margin-top('s');
36
- }
37
-
38
- &__image {
39
- max-height: 3em;
40
- }
41
-
42
- &--bordered {
43
- border: 1px solid color("petrol", "step-2");
44
- @include padding('xl', 'xl', 'xl', '4xl');
45
-
46
- &:before {
47
- @include space('left', 'xl');
48
- @include space('top', 'l');
49
- }
50
- }
51
- }
@@ -1,5 +0,0 @@
1
- {%- from "components/component/component.njk" import c -%}
2
-
3
- {%- macro resourceCardNew(params) -%}
4
- {{ c({ name: 'resource-card'}, params) }}
5
- {%- endmacro -%}
@@ -1,59 +0,0 @@
1
- const categories = require('../component/categories');
2
-
3
- module.exports = {
4
- title: 'NEW Resource card',
5
- component: {
6
- name: 'resource-card',
7
- },
8
- category: categories.card,
9
- context: {
10
- type: 'resource',
11
- theme: 'bordered',
12
- size: 'medium',
13
- tag: 'Whitepaper',
14
- header: {
15
- title: 'Accelerating the deformation workflow for oral solid dosage forms',
16
- date: {
17
- date: new Date(2015,0,12)
18
- },
19
- language: 'English'
20
- },
21
- body: {
22
- content: `<p>This whitepaper on Oral Solid Dose (OSD) deformulation demonstrates how the analytical technique of Morphologically Directed Raman Spectroscopy (MDRS) can be used to accelerate the development of generic products to a successful conclusion.</p>`
23
- },
24
- body: {
25
- keySpecs: [
26
- {
27
- title: 'Products',
28
- term: 'Epsilon 4'
29
- },
30
- {
31
- title: 'Technology',
32
- term: 'X-ray fluorescence (XRF)'
33
- },
34
- {
35
- title: 'Industry',
36
- term: 'Metals, Advanced manufacturing'
37
- },
38
- ]
39
- },
40
- link: {
41
- url: '#',
42
- label: 'Read the whitepaper'
43
- }
44
- },
45
- variants: [
46
- {
47
- title: 'Small',
48
- context: {
49
- size: 'small',
50
- url: '#',
51
- footer: false,
52
- specs: false,
53
- link: {
54
- label: false
55
- }
56
- },
57
- },
58
- ]
59
- }
@@ -1 +0,0 @@
1
- {% extends "components/card-new/card-new.njk" %}
@@ -1,5 +0,0 @@
1
- {% from "components/component/component.njk" import c %}
2
-
3
- {% macro scrollSpy(params) %}
4
- {{ c({ name: 'scroll-spy' }, params) }}
5
- {% endmacro %}
@@ -1,24 +0,0 @@
1
- module.exports = {
2
- title: 'Scroll spy',
3
- component: {
4
- name: 'scroll-spy'
5
- },
6
- context: {
7
- links: [
8
- { link: '#features-and-benefits', label: 'Features and benefits' },
9
- { link: '#key-components', label: 'Key components' },
10
- { link: '#use-cases', label: 'Use cases' },
11
- { link: '#specifications', label: 'Specifications' },
12
- { link: '#accessories', label: 'Accessories' },
13
- { link: '#support', label: 'Support' }
14
- ]
15
- },
16
- docs: true,
17
- props: [
18
- {
19
- table: [
20
- ['links', 'link[]', '"link" and "label" objects']
21
- ]
22
- }
23
- ]
24
- }
@@ -1,3 +0,0 @@
1
- The scroll spy component takes a list of in-page anchor links and searches for their corresponding headings on the page. It is set to be `position: sticky` and follow you down the page, allowing you to traverse the content with a persistent navigation.
2
-
3
- There is a small 'nubbin' that appears to the left of the current 'active' item.
@@ -1,5 +0,0 @@
1
- <ol class="mp c-scroll-spy u-flow--xs {{ params.classes }}">
2
- {% for item in params.links %}
3
- <li><a href="{{ item.link }}">{{ item.label }}</a></li>
4
- {% endfor %}
5
- </ol>
@@ -1,54 +0,0 @@
1
- .c-scroll-spy {
2
- position: sticky;
3
- @include space("top", "gutter");
4
- overflow: hidden;
5
-
6
- a:not(.c-button) {
7
- color: color("utility-blue");
8
- position: relative;
9
- display: block;
10
- transition: 300ms transform;
11
-
12
- &:hover {
13
- color: color("grey");
14
- }
15
-
16
- &::before {
17
- content: "▸ ";
18
- position: absolute;
19
- left: -17px;
20
- top: 0;
21
- }
22
- }
23
-
24
- &-active {
25
- transform: translateX(17px);
26
- }
27
- }
28
-
29
- /*below additions added to allow for buttons to be displayed under the list items but remain sticky */
30
- .c-scroll-spy-buttons a:before {
31
- content: "" !important;
32
- }
33
-
34
- @media only screen and (min-width: 880px) {
35
- .c-scroll-spy-buttons {
36
- margin-right: 54px;
37
- margin-right: var(--space-xl);
38
- }
39
-
40
- .c-scroll-spy-buttons .c-button {
41
- width: 100%;
42
- margin-bottom: 18px;
43
- margin-bottom: var(--space-s);
44
- }
45
- }
46
-
47
- @media only screen and (max-width: 879px) {
48
- .c-scroll-spy-buttons .c-button {
49
- display: inline-flex;
50
- margin-right: 0.5em;
51
- margin-bottom: 0.5em;
52
- vertical-align: top;
53
- }
54
- }
@@ -1,5 +0,0 @@
1
- {% from "components/component/component.njk" import c %}
2
-
3
- {% macro series(params) %}
4
- {{ c({ name: 'series' }, params) }}
5
- {% endmacro %}