@nationalarchives/frontend 0.2.17 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +1 -1
  2. package/nationalarchives/all.css +1 -1
  3. package/nationalarchives/all.css.map +1 -1
  4. package/nationalarchives/components/breadcrumbs/template.njk +1 -1
  5. package/nationalarchives/components/button/fixtures.json +1 -1
  6. package/nationalarchives/components/button/template.njk +1 -1
  7. package/nationalarchives/components/card/card.css.map +1 -1
  8. package/nationalarchives/components/card/card.scss +1 -1
  9. package/nationalarchives/components/card/fixtures.json +1 -1
  10. package/nationalarchives/components/card/template.njk +1 -1
  11. package/nationalarchives/components/files-list/fixtures.json +4 -4
  12. package/nationalarchives/components/files-list/template.njk +1 -1
  13. package/nationalarchives/components/footer/fixtures.json +2 -2
  14. package/nationalarchives/components/footer/footer.css +1 -1
  15. package/nationalarchives/components/footer/footer.css.map +1 -1
  16. package/nationalarchives/components/footer/footer.scss +0 -1
  17. package/nationalarchives/components/footer/template.njk +9 -6
  18. package/nationalarchives/components/gallery/fixtures.json +2 -2
  19. package/nationalarchives/components/gallery/template.njk +3 -3
  20. package/nationalarchives/components/global-header/global-header.css +1 -1
  21. package/nationalarchives/components/global-header/global-header.css.map +1 -1
  22. package/nationalarchives/components/global-header/global-header.scss +7 -5
  23. package/nationalarchives/components/global-header/template.njk +3 -3
  24. package/nationalarchives/components/header/header.css +1 -1
  25. package/nationalarchives/components/header/header.css.map +1 -1
  26. package/nationalarchives/components/header/header.scss +1 -5
  27. package/nationalarchives/components/header/template.njk +2 -2
  28. package/nationalarchives/components/hero/fixtures.json +1 -1
  29. package/nationalarchives/components/hero/macro-options.json +6 -0
  30. package/nationalarchives/components/pagination/fixtures.json +8 -11
  31. package/nationalarchives/components/pagination/macro-options.json +0 -6
  32. package/nationalarchives/components/pagination/template.njk +4 -6
  33. package/nationalarchives/components/quick-filters/quick-filters.css +1 -1
  34. package/nationalarchives/components/quick-filters/quick-filters.css.map +1 -1
  35. package/nationalarchives/components/quick-filters/quick-filters.scss +2 -0
  36. package/nationalarchives/components/quick-filters/template.njk +1 -1
  37. package/nationalarchives/prototype-kit.css +1 -1
  38. package/nationalarchives/prototype-kit.css.map +1 -1
  39. package/nationalarchives/utilities/_imports.scss +4 -4
  40. package/nationalarchives/utilities/_reset.scss +15 -0
  41. package/package.json +1 -1
@@ -53,8 +53,8 @@
53
53
  " ",
54
54
  "+"
55
55
  );
56
- @warn "Remember to import the Google Fonts CSS into your application";
57
- @debug '<link rel="preconnect" href="https://fonts.googleapis.com">';
58
- @debug '<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>';
59
- @debug '<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=#{$main-font-family-name}:wght@#{typography.$main-font-weight}..#{typography.$main-font-weight-bold}&family=#{$detail-font-family-name}:wght@#{typography.$detail-font-weight}..#{typography.$detail-font-weight-bold}&display=swap">'; /* stylelint-disable-line */
56
+ // @warn "Remember to import the Google Fonts CSS into your application";
57
+ // @debug '<link rel="preconnect" href="https://fonts.googleapis.com">';
58
+ // @debug '<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>';
59
+ // @debug '<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=#{$main-font-family-name}:wght@#{typography.$main-font-weight}..#{typography.$main-font-weight-bold}&family=#{$detail-font-family-name}:wght@#{typography.$detail-font-weight}..#{typography.$detail-font-weight-bold}&display=swap">'; /* stylelint-disable-line */
60
60
  }
@@ -14,6 +14,21 @@
14
14
  }
15
15
  }
16
16
 
17
+ /*
18
+ * ------------------------------------------
19
+ * If the browser supports -apple-system-body
20
+ * which at the moment is just iOS then using
21
+ * the system body font we can respond to the
22
+ * Dynamic Type setting in iOS
23
+ * ------------------------------------------
24
+ */
25
+ @supports (font: -apple-system-body) {
26
+ html {
27
+ /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */
28
+ font: -apple-system-body;
29
+ }
30
+ }
31
+
17
32
  img,
18
33
  svg,
19
34
  picture,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nationalarchives/frontend",
3
- "version": "0.2.17",
3
+ "version": "0.3.0",
4
4
  "description": "The National Archives frontend styles",
5
5
  "scripts": {
6
6
  "start": "storybook dev -p 6006",