@ndla/primitives 1.0.28-alpha.0 → 1.0.30-alpha.0
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 +20 -0
- package/package.json +4 -4
package/dist/styles.css
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@layer utilities {
|
|
2
2
|
@layer compositions {
|
|
3
3
|
.textStyle_label\.medium {
|
|
4
|
+
letter-spacing: normal;
|
|
4
5
|
font-family: var(--fonts-sans);
|
|
5
6
|
font-weight: var(--font-weights-normal);
|
|
6
7
|
font-size: var(--font-sizes-small);
|
|
@@ -13,6 +14,7 @@
|
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
.textStyle_label\.small {
|
|
17
|
+
letter-spacing: normal;
|
|
16
18
|
font-family: var(--fonts-sans);
|
|
17
19
|
font-weight: var(--font-weights-normal);
|
|
18
20
|
font-size: var(--font-sizes-xsmall);
|
|
@@ -25,6 +27,7 @@
|
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
.textStyle_label\.large\! {
|
|
30
|
+
letter-spacing: normal !important;
|
|
28
31
|
font-family: var(--fonts-sans) !important;
|
|
29
32
|
font-weight: var(--font-weights-normal) !important;
|
|
30
33
|
font-size: var(--font-sizes-medium) !important;
|
|
@@ -37,6 +40,7 @@
|
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
.textStyle_label\.xsmall {
|
|
43
|
+
letter-spacing: normal;
|
|
40
44
|
font-family: var(--fonts-sans);
|
|
41
45
|
font-weight: var(--font-weights-normal);
|
|
42
46
|
font-size: var(--font-sizes-xxsmall);
|
|
@@ -49,6 +53,7 @@
|
|
|
49
53
|
}
|
|
50
54
|
|
|
51
55
|
.textStyle_body\.medium {
|
|
56
|
+
letter-spacing: normal;
|
|
52
57
|
font-family: var(--fonts-sans);
|
|
53
58
|
font-weight: var(--font-weights-normal);
|
|
54
59
|
font-size: var(--font-sizes-small);
|
|
@@ -61,6 +66,7 @@
|
|
|
61
66
|
}
|
|
62
67
|
|
|
63
68
|
.textStyle_heading\.medium {
|
|
69
|
+
letter-spacing: -0.01em;
|
|
64
70
|
font-family: var(--fonts-sans);
|
|
65
71
|
font-weight: var(--font-weights-bold);
|
|
66
72
|
font-size: var(--font-sizes-3xlarge);
|
|
@@ -73,6 +79,7 @@
|
|
|
73
79
|
}
|
|
74
80
|
|
|
75
81
|
.\[\&_\>_\*\]\:textStyle_label\.large\! > * {
|
|
82
|
+
letter-spacing: normal !important;
|
|
76
83
|
font-family: var(--fonts-sans) !important;
|
|
77
84
|
font-weight: var(--font-weights-normal) !important;
|
|
78
85
|
font-size: var(--font-sizes-medium) !important;
|
|
@@ -82,6 +89,19 @@
|
|
|
82
89
|
.\[\&_\>_\*\]\:textStyle_label\.large\! > *:where([lang='zh'], [lang='zh-Hans'], [lang='zh-Hant']):not([data-pinyin]) {
|
|
83
90
|
font-size: calc(var(--font-sizes-medium) * 1.11) !important;
|
|
84
91
|
line-height: calc(var(--line-heights-medium) * 1.11) !important;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@media screen and (max-width: 29.7475rem) {
|
|
95
|
+
.textStyle_heading\.medium {
|
|
96
|
+
letter-spacing: -0.01em;
|
|
97
|
+
font-size: var(--font-sizes-xxlarge);
|
|
98
|
+
line-height: var(--line-heights-xxlarge);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.textStyle_heading\.medium:where([lang='zh'], [lang='zh-Hans'], [lang='zh-Hant']):not([data-pinyin]) {
|
|
102
|
+
font-size: calc(var(--font-sizes-xxlarge) * 1.11);
|
|
103
|
+
line-height: calc(var(--line-heights-xxlarge) * 1.11);
|
|
104
|
+
}
|
|
85
105
|
}
|
|
86
106
|
}
|
|
87
107
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/primitives",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.30-alpha.0",
|
|
4
4
|
"description": "Primitive components for NDLA.",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"lib"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@ark-ui/react": "^3.
|
|
31
|
+
"@ark-ui/react": "^3.12.0",
|
|
32
32
|
"@ndla/styled-system": "^0.0.22",
|
|
33
33
|
"@ndla/util": "^5.0.0-alpha.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@ndla/preset-panda": "^0.0.
|
|
36
|
+
"@ndla/preset-panda": "^0.0.33",
|
|
37
37
|
"@pandacss/dev": "^0.46.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "ce553947c81fac1140a0f197084cea944eae44ec"
|
|
47
47
|
}
|