@progressiveui/styles 11.0.2 → 11.0.4
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,22 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progressiveui/styles",
|
|
3
|
-
"description": "Styles for the
|
|
4
|
-
"version": "11.0.
|
|
3
|
+
"description": "Styles for the Progressive UI Design System",
|
|
4
|
+
"version": "11.0.4",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Robert Gühne <wfp.org>",
|
|
7
7
|
"homepage": "https://www.wfp.org",
|
|
8
8
|
"main": "styles.css",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "https://github.com/
|
|
11
|
+
"url": "https://github.com/Polyxo/pui.git",
|
|
12
12
|
"directory": "packages/styles"
|
|
13
13
|
},
|
|
14
|
-
"bugs": "https://github.com/
|
|
14
|
+
"bugs": "https://github.com/Polyxo/pui/issues",
|
|
15
15
|
"keywords": [
|
|
16
16
|
"styles",
|
|
17
|
-
"un",
|
|
18
|
-
"wfp",
|
|
19
|
-
"wfp-design-system",
|
|
20
17
|
"components",
|
|
21
18
|
"react"
|
|
22
19
|
],
|
|
@@ -30,7 +27,7 @@
|
|
|
30
27
|
"@carbon/feature-flags": "^0.6.0",
|
|
31
28
|
"@carbon/grid": "^10.39.0",
|
|
32
29
|
"@carbon/motion": "^10.22.0",
|
|
33
|
-
"@progressiveui/themes-core": "^0.4.
|
|
30
|
+
"@progressiveui/themes-core": "^0.4.1",
|
|
34
31
|
"@un/layout": "^10.26.15",
|
|
35
32
|
"@un/themes": "^10.40.14"
|
|
36
33
|
},
|
|
@@ -38,5 +35,5 @@
|
|
|
38
35
|
"@carbon/test-utils": "^10.3.0",
|
|
39
36
|
"css": "^3.0.0"
|
|
40
37
|
},
|
|
41
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "b199715346159ef7ccb916139410cd86af9ce850"
|
|
42
39
|
}
|
package/scss/_type.scss
CHANGED
|
@@ -28,7 +28,7 @@ $code-font-family: var(--code-font-family);
|
|
|
28
28
|
@mixin type-style($style) {
|
|
29
29
|
$maped: map-deep-get($tokens, "typography", $style);
|
|
30
30
|
|
|
31
|
-
//@warn 'This is a step of the
|
|
31
|
+
//@warn 'This is a step of the Progressive UI Type Scale!', $maped;
|
|
32
32
|
@if map-deep-get($tokens, "typography", $style) {
|
|
33
33
|
$typographyMap: map.get($tokens, "typography", $style);
|
|
34
34
|
font-size: map.get($typographyMap, "fontSize");
|
|
@@ -46,13 +46,13 @@ $code-font-family: var(--code-font-family);
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
/*@if map-has-key($typographyMap, 'body-short-02',$style) {
|
|
49
|
-
@warn 'This is a step of the
|
|
49
|
+
@warn 'This is a step of the Progressive UI Type Scale!';
|
|
50
50
|
$elements: map.get($tokens, $style);
|
|
51
51
|
font-family: map.get($elements, 'fontFamily');
|
|
52
52
|
font-size: map.get($elements, 'fontSize');
|
|
53
53
|
} @else {
|
|
54
|
-
//@warn 'This is a step of the
|
|
55
|
-
//@warn 'This is not a step of the
|
|
54
|
+
//@warn 'This is a step of the Progressive UI Type Scale!';
|
|
55
|
+
//@warn 'This is not a step of the Progressive UI Type Scale!' + $style;
|
|
56
56
|
}
|
|
57
57
|
} @else {
|
|
58
58
|
@warn 'No typography step found!';
|
|
@@ -79,7 +79,7 @@ $typescale-map: (
|
|
|
79
79
|
@if map.has-key($typescale-map, $size) {
|
|
80
80
|
font-size: map.get($typescale-map, $size);
|
|
81
81
|
} @else {
|
|
82
|
-
@warn 'This is not a step of the
|
|
82
|
+
@warn 'This is not a step of the Progressive UI Type Scale!';
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
/*
|