mp-design-system 1.0.4 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. package/dist/build/arc.abe174a6.svg +1 -0
  2. package/dist/build/concentric.465e6b4d.svg +1 -0
  3. package/dist/build/crystal.8300dbe3.svg +1 -0
  4. package/dist/build/{dots-pattern.1b95f054.svg → dots-pattern.1bae0e23.svg} +1 -1
  5. package/dist/build/js/app.js +1 -1
  6. package/dist/build/js/app.js.map +1 -1
  7. package/dist/build/scss/library.css +1 -1
  8. package/dist/build/scss/library.css.map +1 -1
  9. package/dist/build/scss/main.css +1 -1
  10. package/dist/build/scss/main.css.map +1 -1
  11. package/package.json +1 -1
  12. package/src/_data/config.js +1 -1
  13. package/src/_headers +9 -0
  14. package/src/_includes/components/card/card.config.js +10 -6
  15. package/src/_includes/components/component/preview-cards-three-alt.njk +1 -1
  16. package/src/_includes/components/component/preview-cards-three.njk +1 -1
  17. package/src/_includes/components/component/preview-cards-two.njk +1 -1
  18. package/src/_includes/components/component/preview-content-width.njk +1 -1
  19. package/src/_includes/components/component/preview-default.njk +1 -1
  20. package/src/_includes/components/component/preview-form.njk +1 -1
  21. package/src/_includes/components/dynamic-form/dynamic-form.config.js +16 -0
  22. package/src/_includes/components/dynamic-form/dynamic-form.njk +319 -0
  23. package/src/_includes/components/dynamic-form/dynamic-form.scss +77 -0
  24. package/src/_includes/components/dynamic-form/macro.njk +5 -0
  25. package/src/_includes/components/header/header.config.js +30 -0
  26. package/src/_includes/components/header/header.njk +15 -0
  27. package/src/_includes/components/input/combobox.njk +17 -0
  28. package/src/_includes/components/input/combobox.scss +31 -0
  29. package/src/_includes/components/input/combox.config.js +49 -0
  30. package/src/_includes/components/input/input.config.js +1 -1
  31. package/src/_includes/components/input/input.njk +0 -2
  32. package/src/_includes/components/input/macro.njk +14 -10
  33. package/src/_includes/components/input/radio.scss +9 -0
  34. package/src/_includes/components/off-canvas/macro.njk +5 -0
  35. package/src/_includes/components/off-canvas/off-canvas.config.js +28 -0
  36. package/src/_includes/components/off-canvas/off-canvas.njk +28 -0
  37. package/src/{assets/scss/objects → _includes/components/off-canvas}/off-canvas.scss +14 -4
  38. package/src/_includes/includes/color-swatches.njk +220 -0
  39. package/src/_includes/includes/system-footer.njk +1 -1
  40. package/src/_includes/library-navigation/brand-nav.njk +3 -2
  41. package/src/_includes/navigation/store.njk +29 -0
  42. package/src/_includes/system.njk +1 -1
  43. package/src/assets/js/app.js +2 -0
  44. package/src/assets/js/imports/combobox.js +66 -0
  45. package/src/assets/js/imports/off-canvas.js +195 -74
  46. package/src/assets/scss/components/index.scss +1 -0
  47. package/src/assets/scss/library.scss +4 -2
  48. package/src/assets/scss/objects/index.scss +0 -1
  49. package/src/assets/svg/arc.svg +1 -1
  50. package/src/assets/svg/concentric.svg +1 -1
  51. package/src/assets/svg/crystal.svg +1 -1
  52. package/src/assets/svg/dots-pattern.svg +1 -1
  53. package/src/brand/colors.njk +2 -216
  54. package/src/brand/index.njk +7 -6
  55. package/src/brand/requirements.md +98 -0
  56. package/src/brand/{downloads.njk → resources.njk} +15 -1
  57. package/src/index.njk +13 -10
  58. package/src/quickstart.md +41 -0
  59. package/dist/build/arc.a8e07ecd.svg +0 -1
  60. package/dist/build/concentric.05eaed9c.svg +0 -1
  61. package/dist/build/crystal.a90c9e1f.svg +0 -1
  62. package/src/brand/basics.md +0 -36
  63. package/src/checklist.md +0 -71
  64. package/src/patterns/off-canvas.njk +0 -42
@@ -1,42 +0,0 @@
1
- ---
2
- title: Off canvas
3
- layout: patterns-page
4
- ---
5
-
6
- {%- from "components/button/macro.njk" import button -%}
7
- {%- from "components/input/macro.njk" import checkbox -%}
8
-
9
- <div class="u-flow">
10
- <button class="c-button c-button--off-canvas-toggle" aria-controls="areas-of-interest" aria-expanded="false" data-target="areas-of-interest" aria-label="Toggle areas of interest">Add areas of interest</button>
11
- <aside class="o-off-canvas" id="areas-of-interest" tabindex="-1" aria-hidden="true">
12
- <div class="o-off-canvas__backdrop" role="presentation"></div>
13
- <div class="o-off-canvas__content" role="dialog" aria-modal="true" aria-labelledby="c-label">
14
- <header class="o-off-canvas__header">
15
- <label class="c-label">Areas of interest</label>
16
- </header>
17
- <main class="o-off-canvas__main">
18
- <div class="u-flow--m">
19
- {% for _ in ["3D structure / imaging", "Binding affinity", "Binding kinetics", "Chemical identification", "Contaminant detection and analysis", "Crystal structure determination", "Elemental analysis", "Elemental quantification", "Enzyme kinetics", "Epitaxy analysis", "Ground truthing", "Interface roughness", "Label-free analysis", "Microrheology", "Moisture content", "Molecular size", "Molecular structure", "Molecular weight", "Particle concentration", "Particle shape", "Particle size", "Phase identification", "Phase quantification", "Pore size distribution", "Powder flow", "Protein aggregation", "Protein mobility", "Protein stability", "Reciprocal space analysis", "Remote sensing", "Residual stress", "Texture analysis", "Thin film metrology", "Viscosity", "Zeta potential"] %}
20
- <div>
21
- {{ checkbox({
22
- label: _,
23
- name: 'tenets',
24
- id: _,
25
- value: _
26
- })}}
27
- </div>
28
- {% endfor %}
29
- </div>
30
- </main>
31
- <footer class="o-off-canvas__footer">
32
- {{ button({ label: 'Update', type: 'a', classes: 'o-off-canvas__update' }) }}
33
- <button class="mp c-twi o-off-canvas__close c-twi--left">
34
- <span>Cancel</span>
35
- <svg role="img" aria-hidden="true" focusable="false" class="mp c-icon c-icon--cross">
36
- <use xlink:href="/static/svg/sprite.svg#cross"></use>
37
- </svg>
38
- </button>
39
- </footer>
40
- </div>
41
- </aside>
42
- </div>