vanilla-framework 4.2.0 → 4.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vanilla-framework",
3
- "version": "4.2.0",
3
+ "version": "4.3.0",
4
4
  "author": {
5
5
  "email": "webteam@canonical.com",
6
6
  "name": "Canonical Webteam"
@@ -57,24 +57,24 @@
57
57
  "devDependencies": {
58
58
  "@canonical/cookie-policy": "3.5.0",
59
59
  "@canonical/latest-news": "1.4.1",
60
- "@percy/cli": "1.26.2",
60
+ "@percy/cli": "1.27.1",
61
61
  "@testing-library/cypress": "9.0.0",
62
- "autoprefixer": "10.4.14",
63
- "cypress": "12.17.2",
62
+ "autoprefixer": "10.4.15",
63
+ "cypress": "12.17.4",
64
64
  "get-site-urls": "3.0.0",
65
65
  "markdown-spellcheck": "1.3.1",
66
66
  "parker": "0.0.10",
67
- "postcss": "8.4.27",
67
+ "postcss": "8.4.29",
68
68
  "postcss-cli": "10.1.0",
69
- "postcss-scss": "4.0.6",
69
+ "postcss-scss": "4.0.7",
70
70
  "prettier": "2.8.8",
71
- "sass": "1.64.2",
72
- "stylelint": "15.10.2",
71
+ "sass": "1.66.1",
72
+ "stylelint": "15.10.3",
73
73
  "stylelint-config-prettier": "9.0.5",
74
74
  "stylelint-config-recommended-scss": "5.0.2",
75
75
  "stylelint-order": "5.0.0",
76
76
  "stylelint-prettier": "2.0.0",
77
77
  "svgo": "2.8.0",
78
- "yaml": "2.3.1"
78
+ "yaml": "2.3.2"
79
79
  }
80
80
  }
@@ -110,7 +110,7 @@
110
110
  %vf-heading-5 {
111
111
  font-size: 1rem;
112
112
  font-style: normal;
113
- font-weight: 500;
113
+ font-weight: $font-weight-bold;
114
114
  line-height: map-get($line-heights, default-text);
115
115
  margin-bottom: map-get($sp-after, p) - map-get($nudges, p);
116
116
  margin-top: 0;
@@ -82,6 +82,7 @@
82
82
  // deprecated: .p-text--x-small-capitalised is deprecated, use .p-text--small-caps instead
83
83
  .p-text--x-small-capitalised {
84
84
  @extend %small-caps-text;
85
+ font-weight: $font-weight-bold;
85
86
  }
86
87
 
87
88
  //@section Adjusted spacing for headings (or a p) following a paragraph
@@ -87,4 +87,36 @@
87
87
  padding-top: $logo-section-offset-small;
88
88
  }
89
89
  }
90
+
91
+ // fallback for old logo sections that may have logos not properly aligned by design team
92
+ .p-logo-section.has-misaligned-images,
93
+ .p-logo-section--dense.has-misaligned-images {
94
+ .p-logo-section__item {
95
+ margin-bottom: $spv--small;
96
+ margin-top: 0;
97
+
98
+ width: $logo-section-item-size-small;
99
+
100
+ @media (min-width: $breakpoint-small) {
101
+ width: $logo-section-item-size-medium;
102
+ }
103
+
104
+ @media (min-width: $breakpoint-large) {
105
+ width: $logo-section-item-size;
106
+ }
107
+ }
108
+
109
+ .p-logo-section__items {
110
+ align-items: center;
111
+ display: flex;
112
+ flex-wrap: wrap;
113
+ padding-bottom: 0;
114
+ padding-top: 0;
115
+ }
116
+
117
+ .p-logo-section__logo {
118
+ height: auto;
119
+ width: 100%;
120
+ }
121
+ }
90
122
  }
@@ -2,5 +2,6 @@
2
2
  @mixin vf-p-muted-heading {
3
3
  .p-muted-heading {
4
4
  @extend %small-caps-text;
5
+ font-weight: $font-weight-bold;
5
6
  }
6
7
  }