@ndla/preset-panda 0.0.41 → 0.0.43
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/dist/styles.css +7 -4
- package/es/semanticTokens.js +3 -0
- package/es/zIndex.js +10 -4
- package/lib/semanticTokens.d.ts +3 -0
- package/lib/semanticTokens.js +3 -0
- package/lib/zIndex.d.ts +6 -0
- package/lib/zIndex.js +10 -4
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -636,10 +636,12 @@
|
|
|
636
636
|
--z-index-banner: 1200;
|
|
637
637
|
--z-index-overlay: 1300;
|
|
638
638
|
--z-index-modal: 1400;
|
|
639
|
-
--z-index-
|
|
640
|
-
--z-index-
|
|
641
|
-
--z-index-
|
|
642
|
-
--z-index-
|
|
639
|
+
--z-index-alert-modal-overlay: 1400;
|
|
640
|
+
--z-index-alert-modal: 1600;
|
|
641
|
+
--z-index-popover: 1700;
|
|
642
|
+
--z-index-skip-link: 1800;
|
|
643
|
+
--z-index-toast: 1900;
|
|
644
|
+
--z-index-tooltip: 2000;
|
|
643
645
|
--breakpoints-mobile: 20em;
|
|
644
646
|
--breakpoints-mobile-wide: 29.75em;
|
|
645
647
|
--breakpoints-tablet: 37.5625em;
|
|
@@ -714,6 +716,7 @@
|
|
|
714
716
|
--colors-icon-default: var(--colors-grey-950);
|
|
715
717
|
--colors-icon-strong: var(--colors-primary);
|
|
716
718
|
--colors-icon-on-action: var(--colors-white);
|
|
719
|
+
--colors-icon-subtle: var(--colors-grey-700);
|
|
717
720
|
--colors-surface-brand-1: var(--colors-purple-500);
|
|
718
721
|
--colors-surface-brand-1-subtle: var(--colors-purple-100);
|
|
719
722
|
--colors-surface-brand-1-moderate: var(--colors-purple-300);
|
package/es/semanticTokens.js
CHANGED
package/es/zIndex.js
CHANGED
|
@@ -32,16 +32,22 @@ export const zIndex = defineTokens.zIndex({
|
|
|
32
32
|
modal: {
|
|
33
33
|
value: 1400
|
|
34
34
|
},
|
|
35
|
+
alertModalOverlay: {
|
|
36
|
+
value: 1400
|
|
37
|
+
},
|
|
38
|
+
alertModal: {
|
|
39
|
+
value: 1600
|
|
40
|
+
},
|
|
35
41
|
popover: {
|
|
36
|
-
value:
|
|
42
|
+
value: 1700
|
|
37
43
|
},
|
|
38
44
|
skipLink: {
|
|
39
|
-
value:
|
|
45
|
+
value: 1800
|
|
40
46
|
},
|
|
41
47
|
toast: {
|
|
42
|
-
value:
|
|
48
|
+
value: 1900
|
|
43
49
|
},
|
|
44
50
|
tooltip: {
|
|
45
|
-
value:
|
|
51
|
+
value: 2000
|
|
46
52
|
}
|
|
47
53
|
});
|
package/lib/semanticTokens.d.ts
CHANGED
package/lib/semanticTokens.js
CHANGED
package/lib/zIndex.d.ts
CHANGED
package/lib/zIndex.js
CHANGED
|
@@ -38,16 +38,22 @@ const zIndex = exports.zIndex = _dev.defineTokens.zIndex({
|
|
|
38
38
|
modal: {
|
|
39
39
|
value: 1400
|
|
40
40
|
},
|
|
41
|
+
alertModalOverlay: {
|
|
42
|
+
value: 1400
|
|
43
|
+
},
|
|
44
|
+
alertModal: {
|
|
45
|
+
value: 1600
|
|
46
|
+
},
|
|
41
47
|
popover: {
|
|
42
|
-
value:
|
|
48
|
+
value: 1700
|
|
43
49
|
},
|
|
44
50
|
skipLink: {
|
|
45
|
-
value:
|
|
51
|
+
value: 1800
|
|
46
52
|
},
|
|
47
53
|
toast: {
|
|
48
|
-
value:
|
|
54
|
+
value: 1900
|
|
49
55
|
},
|
|
50
56
|
tooltip: {
|
|
51
|
-
value:
|
|
57
|
+
value: 2000
|
|
52
58
|
}
|
|
53
59
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/preset-panda",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.43",
|
|
4
4
|
"description": "Panda preset for NDLA.",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "8810ca6acc9306d1f4dc3b2f658cbbd7090e84c5"
|
|
41
41
|
}
|