@ndla/primitives 0.0.15 → 0.0.16

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.
Files changed (2) hide show
  1. package/dist/styles.css +7 -7
  2. package/package.json +4 -4
package/dist/styles.css CHANGED
@@ -7,7 +7,7 @@
7
7
  line-height: var(--line-heights-small);
8
8
  }
9
9
 
10
- .textStyle_label\.medium:where([lang='zh'], .textStyle_label\.medium[lang='zh-Hans'], .textStyle_label\.medium[lang='zh-Hant']):not([data-pinyin]) {
10
+ .textStyle_label\.medium:where([lang='zh'], [lang='zh-Hans'], [lang='zh-Hant']):not([data-pinyin]) {
11
11
  font-size: calc(var(--font-sizes-small) * 1.11);
12
12
  line-height: calc(var(--line-heights-small) * 1.11);
13
13
  }
@@ -19,7 +19,7 @@
19
19
  line-height: var(--line-heights-xsmall);
20
20
  }
21
21
 
22
- .textStyle_label\.small:where([lang='zh'], .textStyle_label\.small[lang='zh-Hans'], .textStyle_label\.small[lang='zh-Hant']):not([data-pinyin]) {
22
+ .textStyle_label\.small:where([lang='zh'], [lang='zh-Hans'], [lang='zh-Hant']):not([data-pinyin]) {
23
23
  font-size: calc(var(--font-sizes-xsmall) * 1.11);
24
24
  line-height: calc(var(--line-heights-xsmall) * 1.11);
25
25
  }
@@ -31,7 +31,7 @@
31
31
  line-height: var(--line-heights-medium) !important;
32
32
  }
33
33
 
34
- .textStyle_label\.large\!:where([lang='zh'], .textStyle_label\.large\![lang='zh-Hans'], .textStyle_label\.large\![lang='zh-Hant']):not([data-pinyin]) {
34
+ .textStyle_label\.large\!:where([lang='zh'], [lang='zh-Hans'], [lang='zh-Hant']):not([data-pinyin]) {
35
35
  font-size: calc(var(--font-sizes-medium) * 1.11) !important;
36
36
  line-height: calc(var(--line-heights-medium) * 1.11) !important;
37
37
  }
@@ -43,7 +43,7 @@
43
43
  line-height: var(--line-heights-xxsmall);
44
44
  }
45
45
 
46
- .textStyle_label\.xsmall:where([lang='zh'], .textStyle_label\.xsmall[lang='zh-Hans'], .textStyle_label\.xsmall[lang='zh-Hant']):not([data-pinyin]) {
46
+ .textStyle_label\.xsmall:where([lang='zh'], [lang='zh-Hans'], [lang='zh-Hant']):not([data-pinyin]) {
47
47
  font-size: calc(var(--font-sizes-xxsmall) * 1.11);
48
48
  line-height: calc(var(--line-heights-xxsmall) * 1.11);
49
49
  }
@@ -55,7 +55,7 @@
55
55
  line-height: var(--line-heights-small);
56
56
  }
57
57
 
58
- .textStyle_body\.medium:where([lang='zh'], .textStyle_body\.medium[lang='zh-Hans'], .textStyle_body\.medium[lang='zh-Hant']):not([data-pinyin]) {
58
+ .textStyle_body\.medium:where([lang='zh'], [lang='zh-Hans'], [lang='zh-Hant']):not([data-pinyin]) {
59
59
  font-size: calc(var(--font-sizes-small) * 1.11);
60
60
  line-height: calc(var(--line-heights-small) * 1.11);
61
61
  }
@@ -67,7 +67,7 @@
67
67
  line-height: var(--line-heights-3xlarge);
68
68
  }
69
69
 
70
- .textStyle_heading\.medium:where([lang='zh'], .textStyle_heading\.medium[lang='zh-Hans'], .textStyle_heading\.medium[lang='zh-Hant']):not([data-pinyin]) {
70
+ .textStyle_heading\.medium:where([lang='zh'], [lang='zh-Hans'], [lang='zh-Hant']):not([data-pinyin]) {
71
71
  font-size: calc(var(--font-sizes-3xlarge) * 1.11);
72
72
  line-height: calc(var(--line-heights-3xlarge) * 1.11);
73
73
  }
@@ -79,7 +79,7 @@
79
79
  line-height: var(--line-heights-medium) !important;
80
80
  }
81
81
 
82
- :is(.\[\&_\>_\*\]\:textStyle_label\.large\! > *):where([lang='zh'], :is(.\[\&_\>_\*\]\:textStyle_label\.large\! > *)[lang='zh-Hans'], :is(.\[\&_\>_\*\]\:textStyle_label\.large\! > *)[lang='zh-Hant']):not([data-pinyin]) {
82
+ .\[\&_\>_\*\]\:textStyle_label\.large\! > *:where([lang='zh'], [lang='zh-Hans'], [lang='zh-Hant']):not([data-pinyin]) {
83
83
  font-size: calc(var(--font-sizes-medium) * 1.11) !important;
84
84
  line-height: calc(var(--line-heights-medium) * 1.11) !important;
85
85
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndla/primitives",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "description": "Primitive components for NDLA.",
5
5
  "license": "GPL-3.0",
6
6
  "main": "lib/index.js",
@@ -29,11 +29,11 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "@ark-ui/react": "^3.5.0",
32
- "@ndla/styled-system": "^0.0.6",
32
+ "@ndla/styled-system": "^0.0.7",
33
33
  "@ndla/util": "^4.1.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@ndla/preset-panda": "^0.0.8",
36
+ "@ndla/preset-panda": "^0.0.9",
37
37
  "@pandacss/dev": "^0.41.0"
38
38
  },
39
39
  "peerDependencies": {
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "4ac0e49e0801e6ec6dae57ea37b5af9ab9b882e7"
46
+ "gitHead": "8c3254246b993068a867ab9ec9594347d5ebf439"
47
47
  }