@ons/design-system 74.0.0-next.6 → 74.0.0-next.7

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 (63) hide show
  1. package/components/chart/_chart.scss +0 -9
  2. package/components/chart/_macro.njk +96 -128
  3. package/components/chart/_macro.spec.js +43 -28
  4. package/components/chart/example-area-chart-with-axis-min-and-max-values.njk +6 -3
  5. package/components/chart/example-area-chart.njk +6 -3
  6. package/components/chart/example-bar-chart-with-annotations.njk +6 -3
  7. package/components/chart/example-bar-chart-with-axis-min-and-max-values.njk +6 -3
  8. package/components/chart/example-bar-chart-with-point-range-and-reference-line-annotations.njk +6 -3
  9. package/components/chart/example-bar-chart.njk +6 -3
  10. package/components/chart/example-bar-with-confidence-levels.njk +6 -3
  11. package/components/chart/example-clustered-bar-chart.njk +6 -3
  12. package/components/chart/example-clustered-column-chart.njk +6 -3
  13. package/components/chart/example-column-chart-with-annotations.njk +6 -3
  14. package/components/chart/example-column-chart-with-axis-min-and-max-values.njk +6 -3
  15. package/components/chart/example-column-chart-with-custom-reference-line-value.njk +6 -3
  16. package/components/chart/example-column-chart-with-range-annotations.njk +6 -3
  17. package/components/chart/example-column-chart-with-reference-line-annotations.njk +6 -3
  18. package/components/chart/example-column-chart.njk +6 -3
  19. package/components/chart/example-column-with-confidence-levels.njk +6 -3
  20. package/components/chart/example-column-with-line-chart.njk +6 -3
  21. package/components/chart/example-iframe-chart.njk +6 -3
  22. package/components/chart/example-line-chart-with-annotations.njk +6 -3
  23. package/components/chart/example-line-chart-with-axis-min-and-max-values.njk +6 -3
  24. package/components/chart/example-line-chart-with-custom-reference-line-value.njk +6 -3
  25. package/components/chart/example-line-chart-with-label-format.njk +6 -3
  26. package/components/chart/example-line-chart-with-markers.njk +6 -3
  27. package/components/chart/example-line-chart-with-range-annotations-inside.njk +6 -3
  28. package/components/chart/example-line-chart-with-range-annotations-outside-left-right.njk +6 -3
  29. package/components/chart/example-line-chart-with-range-annotations-outside-top-bottom.njk +6 -3
  30. package/components/chart/example-line-chart-with-reference-line-annotations.njk +6 -3
  31. package/components/chart/example-line-chart.njk +6 -3
  32. package/components/chart/example-scatter-chart-with-axis-min-and-max-values.njk +6 -3
  33. package/components/chart/example-scatter-chart.njk +6 -3
  34. package/components/chart/example-stacked-bar-chart.njk +6 -3
  35. package/components/chart/example-stacked-column-chart.njk +6 -3
  36. package/components/document-list/_macro.njk +2 -2
  37. package/components/document-list/_macro.spec.js +55 -0
  38. package/components/featured-article/_macro.njk +3 -37
  39. package/components/featured-article/example-featured-article-with-chart.njk +19 -14
  40. package/components/featured-article/example-featured-article-with-image.njk +12 -7
  41. package/components/featured-article/featured-article.scss +1 -1
  42. package/components/featured-article/macro.spec.js +44 -67
  43. package/components/figure/_figure.scss +31 -0
  44. package/components/figure/_macro.njk +98 -0
  45. package/components/figure/_macro.spec.js +520 -0
  46. package/components/figure/example-figure-heading-level-2.njk +34 -0
  47. package/components/figure/example-figure-with-div.njk +29 -0
  48. package/components/figure/example-figure-without-footer.njk +12 -0
  49. package/components/figure/example-figure-without-header.njk +24 -0
  50. package/components/figure/example-figure.njk +34 -0
  51. package/components/image/_image.scss +0 -7
  52. package/components/image/_macro.njk +25 -14
  53. package/components/image/_macro.spec.js +122 -7
  54. package/components/image/example-image-with-figure-fields.njk +25 -0
  55. package/components/list/_macro.njk +1 -0
  56. package/components/list/_macro.spec.js +16 -0
  57. package/components/table/_macro.njk +138 -111
  58. package/components/table/_macro.spec.js +172 -2
  59. package/components/table/_table.scss +6 -1
  60. package/components/table/example-table-with-figure-fields.njk +86 -0
  61. package/css/main.css +1 -1
  62. package/package.json +2 -2
  63. package/scss/main.scss +1 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ons/design-system",
3
3
  "description": "ONS Design System built CSS, JS, and Nunjucks templates",
4
- "version": "74.0.0-next.6",
4
+ "version": "74.0.0-next.7",
5
5
  "main": "index.js",
6
6
  "license": "MIT",
7
7
  "author": {
@@ -44,7 +44,7 @@
44
44
  ],
45
45
  "*.scss": [
46
46
  "prettier --write",
47
- "yarn run stylelint-fix"
47
+ "stylelint --fix"
48
48
  ],
49
49
  "*.{yml,yaml,njk,html}": [
50
50
  "prettier --write"
package/scss/main.scss CHANGED
@@ -28,6 +28,7 @@
28
28
  @import '../components/field/field-group';
29
29
  @import '../components/field/field';
30
30
  @import '../components/fieldset/fieldset';
31
+ @import '../components/figure/figure';
31
32
  @import '../components/footer/footer';
32
33
  @import '../components/header/header';
33
34
  @import '../components/hero/hero';