vanilla-framework 3.11.0 → 3.11.1
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 +5 -5
- package/scss/_base_fontfaces.scss +8 -8
- package/scss/_base_hr.scss +1 -1
- package/scss/_base_typography-definitions.scss +10 -1
- package/scss/_base_typography.scss +1 -4
- package/scss/_layouts_application.scss +3 -3
- package/scss/_layouts_full-width.scss +5 -0
- package/scss/_patterns_navigation.scss +1 -1
- package/scss/_settings_font.scss +1 -0
- package/scss/_settings_spacing.scss +1 -1
- package/scss/_utilities_layout.scss +2 -1
- package/scss/_utilities_off-screen.scss +7 -7
package/package.json
CHANGED
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"percy": "percy exec -- node snapshots.js",
|
|
48
48
|
"icon-svgs-to-mixins": "node scripts/convert-svgs-to-icon-mixins.js icons"
|
|
49
49
|
},
|
|
50
|
-
"version": "3.11.
|
|
50
|
+
"version": "3.11.1",
|
|
51
51
|
"files": [
|
|
52
52
|
"_index.scss",
|
|
53
53
|
"/scss",
|
|
@@ -61,17 +61,17 @@
|
|
|
61
61
|
"postcss": "8.4.21",
|
|
62
62
|
"postcss-cli": "9.1.0",
|
|
63
63
|
"postcss-scss": "4.0.6",
|
|
64
|
-
"sass": "1.
|
|
64
|
+
"sass": "1.58.0",
|
|
65
65
|
"yaml": "1.10.2"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@percy/script": "1.1.0",
|
|
69
|
-
"@testing-library/cypress": "
|
|
70
|
-
"cypress": "
|
|
69
|
+
"@testing-library/cypress": "9.0.0",
|
|
70
|
+
"cypress": "12.5.0",
|
|
71
71
|
"get-site-urls": "3.0.0",
|
|
72
72
|
"markdown-spellcheck": "1.3.1",
|
|
73
73
|
"parker": "0.0.10",
|
|
74
|
-
"prettier": "2.8.
|
|
74
|
+
"prettier": "2.8.3",
|
|
75
75
|
"stylelint": "14.16.1",
|
|
76
76
|
"stylelint-config-prettier": "9.0.4",
|
|
77
77
|
"stylelint-config-recommended-scss": "5.0.2",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
font-stretch: 100%; /* min and max value for the width axis, expressed as percentage */
|
|
8
8
|
font-style: normal;
|
|
9
9
|
font-weight: 100 800; /* min and max value for the weight axis */
|
|
10
|
-
src: url('#{$assets-path}
|
|
10
|
+
src: url('#{$assets-path}15be2ffe-UbuntuBeta0.865[wdth,wght]-latin.woff2') format('woff2-variations');
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
@font-face {
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
font-stretch: 100%; /* min and max value for the width axis, expressed as percentage */
|
|
16
16
|
font-style: italic;
|
|
17
17
|
font-weight: 100 800; /* min and max value for the weight axis */
|
|
18
|
-
src: url('#{$assets-path}
|
|
18
|
+
src: url('#{$assets-path}a84821f4-UbuntuBeta0.865-Italic[wdth,wght]-latin.woff2') format('woff2-variations');
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
@font-face {
|
|
22
22
|
font-family: 'Ubuntu Mono variable';
|
|
23
23
|
font-style: normal;
|
|
24
24
|
font-weight: 100 800; /* min and max value for the weight axis */
|
|
25
|
-
src: url('#{$assets-path}
|
|
25
|
+
src: url('#{$assets-path}ec568c8f-UbuntuMonoBeta0.865[wght]-latin.woff2') format('woff2-variations');
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
@if $font-allow-cyrillic-greek-latin {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
font-stretch: 100%; /* min and max value for the width axis, expressed as percentage */
|
|
33
33
|
font-style: normal;
|
|
34
34
|
font-weight: 100 800; /* min and max value for the weight axis */
|
|
35
|
-
src: url('#{$assets-path}
|
|
35
|
+
src: url('#{$assets-path}929e5b64-UbuntuBeta0.865[wdth,wght]-cyrillic-extended.woff2') format('woff2-variations');
|
|
36
36
|
unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
font-stretch: 100%; /* min and max value for the width axis, expressed as percentage */
|
|
43
43
|
font-style: normal;
|
|
44
44
|
font-weight: 100 800; /* min and max value for the weight axis */
|
|
45
|
-
src: url('#{$assets-path}
|
|
45
|
+
src: url('#{$assets-path}ec29c093-UbuntuBeta0.865[wdth,wght]-cyrillic.woff2') format('woff2-variations');
|
|
46
46
|
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
font-stretch: 100%; /* min and max value for the width axis, expressed as percentage */
|
|
53
53
|
font-style: normal;
|
|
54
54
|
font-weight: 100 800; /* min and max value for the weight axis */
|
|
55
|
-
src: url('#{$assets-path}
|
|
55
|
+
src: url('#{$assets-path}0a8276a6-UbuntuBeta0.865[wdth,wght]-greek-extended.woff2') format('woff2-variations');
|
|
56
56
|
unicode-range: U+1F00-1FFF;
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
font-stretch: 100%; /* min and max value for the width axis, expressed as percentage */
|
|
63
63
|
font-style: normal;
|
|
64
64
|
font-weight: 100 800; /* min and max value for the weight axis */
|
|
65
|
-
src: url('#{$assets-path}
|
|
65
|
+
src: url('#{$assets-path}16acdbb4-UbuntuBeta0.865[wdth,wght]-greek.woff2') format('woff2-variations');
|
|
66
66
|
unicode-range: U+0370-03FF;
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
font-stretch: 100%; /* min and max value for the width axis, expressed as percentage */
|
|
73
73
|
font-style: normal;
|
|
74
74
|
font-weight: 100 800; /* min and max value for the weight axis */
|
|
75
|
-
src: url('#{$assets-path}
|
|
75
|
+
src: url('#{$assets-path}c81d0142-UbuntuBeta0.865[wdth,wght]-latin-extended.woff2') format('woff2-variations');
|
|
76
76
|
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
|
|
77
77
|
}
|
|
78
78
|
}
|
package/scss/_base_hr.scss
CHANGED
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
%vf-heading-4 {
|
|
77
77
|
font-size: #{map-get($font-sizes, h4-mobile)}rem;
|
|
78
78
|
font-style: normal;
|
|
79
|
-
font-weight: $font-weight-
|
|
79
|
+
font-weight: $font-weight-thin;
|
|
80
80
|
line-height: map-get($line-heights, h4-mobile);
|
|
81
81
|
margin-bottom: map-get($sp-after, h4-mobile) - map-get($nudges, h4-mobile);
|
|
82
82
|
margin-top: 0;
|
|
@@ -203,7 +203,16 @@
|
|
|
203
203
|
color: $colors--light-theme--text-muted;
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
+
%small-caps-text {
|
|
207
|
+
@extend %common-default-text-properties;
|
|
208
|
+
font-variant-caps: all-small-caps;
|
|
209
|
+
letter-spacing: 0.05em;
|
|
210
|
+
margin-bottom: map-get($sp-after, default-text) - map-get($nudges, p);
|
|
211
|
+
}
|
|
212
|
+
|
|
206
213
|
%table-header-label {
|
|
214
|
+
// TODO: table header should use %small-caps-text,
|
|
215
|
+
// but we need to test it in the context of MAAS dense tables first
|
|
207
216
|
@extend %x-small-text;
|
|
208
217
|
|
|
209
218
|
text-transform: uppercase;
|
|
@@ -223,18 +223,18 @@ $application-layout--side-nav-width-expanded: 15rem !default;
|
|
|
223
223
|
|
|
224
224
|
// Other panels
|
|
225
225
|
// --------------
|
|
226
|
-
.l-main {
|
|
226
|
+
.l-application .l-main {
|
|
227
227
|
grid-area: main;
|
|
228
228
|
overflow-y: auto;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
.l-status {
|
|
231
|
+
.l-application .l-status {
|
|
232
232
|
border-top: 1px solid $colors--light-theme--border-low-contrast;
|
|
233
233
|
grid-area: status;
|
|
234
234
|
z-index: 102;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
.l-aside {
|
|
237
|
+
.l-application .l-aside {
|
|
238
238
|
@include vf-transition($property: #{transform, box-shadow, visibility}, $duration: snap);
|
|
239
239
|
|
|
240
240
|
box-shadow: $panel-drop-shadow;
|
|
@@ -11,6 +11,11 @@
|
|
|
11
11
|
// like: https://github.com/canonical/jaas-dashboard/blob/b9ca3876d054c48dc2da74df0080cd14a0f15740/src/scss/index.scss#L28
|
|
12
12
|
|
|
13
13
|
@media (min-width: $breakpoint-large) {
|
|
14
|
+
// stylelint-disable-next-line selector-max-type
|
|
15
|
+
body {
|
|
16
|
+
position: relative;
|
|
17
|
+
}
|
|
18
|
+
|
|
14
19
|
.l-full-width__sidebar {
|
|
15
20
|
background: $color-light;
|
|
16
21
|
|
|
@@ -66,7 +66,7 @@ $spv-navigation-logo-bottom-position: 0.125rem; // 2px when 1rem is 16px
|
|
|
66
66
|
border-radius: 0;
|
|
67
67
|
|
|
68
68
|
display: block;
|
|
69
|
-
font-weight: $font-weight-
|
|
69
|
+
font-weight: $font-weight-regular-text;
|
|
70
70
|
line-height: map-get($line-heights, default-text);
|
|
71
71
|
margin: 0;
|
|
72
72
|
overflow: hidden;
|
package/scss/_settings_font.scss
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
// Positions element out of flow & off screen for screen readers
|
|
4
4
|
@mixin vf-u-off-screen {
|
|
5
|
-
.u-off-screen {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
overflow: hidden
|
|
9
|
-
position: absolute
|
|
10
|
-
|
|
11
|
-
width: 1px
|
|
5
|
+
.u-off-screen:not(:focus):not(:active) {
|
|
6
|
+
clip-path: inset(50%);
|
|
7
|
+
height: 1px;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
position: absolute;
|
|
10
|
+
white-space: nowrap;
|
|
11
|
+
width: 1px;
|
|
12
12
|
}
|
|
13
13
|
}
|