nsw-design-system 3.28.1 → 3.28.2
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/README.md +5 -5
- package/dist/css/core.css.map +1 -1
- package/dist/css/main.css +2 -2
- package/dist/css/main.css.map +1 -1
- package/dist/js/main.js +2 -2
- package/package.json +1 -1
- package/src/components/main-nav/_main-nav.scss +6 -4
- package/src/docs/content/methods/easy-read/_easy-read.scss +2 -2
- package/src/global/scss/base/_mixins.scss +2 -2
- package/src/global/scss/settings/_settings.scss +3 -0
package/dist/js/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! NSW Design System v3.28.
|
|
1
|
+
/*! NSW Design System v3.28.2 | MIT License */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define('NSW', ['exports'], factory) :
|
|
@@ -7618,4 +7618,4 @@
|
|
|
7618
7618
|
|
|
7619
7619
|
}));
|
|
7620
7620
|
|
|
7621
|
-
;(function(g){try{g.NSW=g.NSW||{};g.NSW.VERSION="3.28.
|
|
7621
|
+
;(function(g){try{g.NSW=g.NSW||{};g.NSW.VERSION="3.28.2";}catch(e){} }(typeof globalThis!=='undefined'?globalThis:(typeof window!=='undefined'?window:self)));
|
package/package.json
CHANGED
|
@@ -168,12 +168,14 @@
|
|
|
168
168
|
position: relative;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
&:hover
|
|
172
|
-
|
|
171
|
+
&:hover,
|
|
172
|
+
&:focus:not(:focus-visible) {
|
|
173
|
+
outline: 0;
|
|
173
174
|
}
|
|
174
175
|
|
|
175
|
-
&:focus {
|
|
176
|
-
|
|
176
|
+
&:focus-visible {
|
|
177
|
+
@include nsw.nsw-focus($offset: false);
|
|
178
|
+
outline-offset: -(nsw.$nsw-focus-width);
|
|
177
179
|
}
|
|
178
180
|
}
|
|
179
181
|
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
|
|
237
237
|
&.nsw-section--brand-dark,
|
|
238
238
|
&.nsw-section--invert {
|
|
239
|
-
a {
|
|
239
|
+
a:not(.nsw-button) {
|
|
240
240
|
@include nsw.link-light;
|
|
241
241
|
}
|
|
242
242
|
}
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
&.nsw-section--brand-light,
|
|
245
245
|
&.nsw-section--off-white,
|
|
246
246
|
&.nsw-section--white {
|
|
247
|
-
a {
|
|
247
|
+
a:not(.nsw-button) {
|
|
248
248
|
@include nsw.link-dark;
|
|
249
249
|
}
|
|
250
250
|
}
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
@error 'NSW-DS nsw-focus mixin allows a boolean for $offset: You have used a type of "#{meta.type-of($offset)}" and a value of "#{$offset}"';
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
outline: solid
|
|
43
|
+
outline: solid settings.$nsw-focus-width $color;
|
|
44
44
|
outline-offset: 0;
|
|
45
45
|
|
|
46
46
|
@if $offset == true {
|
|
47
|
-
outline-offset:
|
|
47
|
+
outline-offset: settings.$nsw-focus-width;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|