@nice-digital/nds-core 4.0.6 → 4.0.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.
package/es/breakpoints.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare const breakpoints: {
|
|
|
13
13
|
lg: number;
|
|
14
14
|
xl: number;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type breakpointType = keyof typeof breakpoints;
|
|
17
17
|
/**
|
|
18
18
|
* Determines if the device's width matches a min-width query from the given breakpoint.
|
|
19
19
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nice-digital/nds-core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.7",
|
|
4
4
|
"description": "Core code for the NICE Design System",
|
|
5
5
|
"author": "Ian Routledge <ian.routledge@nice.org.uk>",
|
|
6
6
|
"contributors": [
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"@types/node": "^18.11.9",
|
|
48
48
|
"typescript": "^4.8.4"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "a7286ee7a795e1b01dc9356fd858bbae2dc5b2b9"
|
|
51
51
|
}
|
|
@@ -133,6 +133,12 @@ $horizontal-nav-active-link-mobile-background: global.$nice-teal;
|
|
|
133
133
|
// Icons
|
|
134
134
|
$icons: global.$nice-teal;
|
|
135
135
|
|
|
136
|
+
// Page header
|
|
137
|
+
$page-header-full-width-light-background: global.$nice-cream-3;
|
|
138
|
+
$page-header-full-width-dark-background: global.$nice-blue;
|
|
139
|
+
$page-header-full-width-dark-background-text-colour: global.$white;
|
|
140
|
+
$page-header-second-section-border-colour: global.$black-tint-2;
|
|
141
|
+
|
|
136
142
|
// Panels
|
|
137
143
|
$panel-default-background: global.$nice-cream;
|
|
138
144
|
$panel-default-border: global.$custom-grey-2;
|
package/scss/layout/_index.scss
CHANGED
|
@@ -36,6 +36,14 @@ $readable-width: 66ch;
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
/// Break an element out of its container
|
|
40
|
+
@mixin fullWidth {
|
|
41
|
+
left: 50%;
|
|
42
|
+
margin-left: -50vw;
|
|
43
|
+
position: relative;
|
|
44
|
+
width: 100vw;
|
|
45
|
+
}
|
|
46
|
+
|
|
39
47
|
/// Placeholder for clearfix
|
|
40
48
|
/// @since 0.1.0
|
|
41
49
|
%clearfix {
|