@blockle/blocks-reset 0.22.0 → 0.24.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/index.d.ts CHANGED
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=reset.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset.css.d.ts","sourceRoot":"","sources":["../src/reset.css.ts"],"names":[],"mappings":""}
package/dist/reset.css.js CHANGED
@@ -1,27 +1,23 @@
1
1
  import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
2
- import { blocksLayerAtom } from "@blockle/blocks-core";
2
+ import { layers } from "@blockle/blocks-core";
3
3
  import { globalStyle } from "@vanilla-extract/css";
4
4
  setFileScope("src/reset.css.ts", "@blockle/blocks-reset");
5
5
  globalStyle(":where(*, *::before, *::after)", {
6
- "@layer": {
7
- [blocksLayerAtom]: {
8
- boxSizing: "inherit",
9
- WebkitTapHighlightColor: "transparent"
10
- }
11
- }
6
+ boxSizing: "inherit",
7
+ WebkitTapHighlightColor: "transparent"
12
8
  });
13
9
  globalStyle(":where(html)", {
10
+ boxSizing: "border-box",
14
11
  "@layer": {
15
- [blocksLayerAtom]: {
12
+ [layers.reset]: {
16
13
  lineHeight: 1.5,
17
- boxSizing: "border-box",
18
14
  WebkitFontSmoothing: "antialiased"
19
15
  }
20
16
  }
21
17
  });
22
18
  globalStyle(":where(body)", {
23
19
  "@layer": {
24
- [blocksLayerAtom]: {
20
+ [layers.reset]: {
25
21
  margin: 0,
26
22
  padding: 0,
27
23
  fontFamily: "Calibri, sans-serif"
@@ -30,7 +26,7 @@ globalStyle(":where(body)", {
30
26
  });
31
27
  globalStyle(":where(button, input, optgroup, select, textarea)", {
32
28
  "@layer": {
33
- [blocksLayerAtom]: {
29
+ [layers.reset]: {
34
30
  fontFamily: "inherit",
35
31
  fontSize: "100%",
36
32
  lineHeight: "inherit",
@@ -41,7 +37,7 @@ globalStyle(":where(button, input, optgroup, select, textarea)", {
41
37
  });
42
38
  globalStyle(":where(p, ul, ol, pre, blockquote)", {
43
39
  "@layer": {
44
- [blocksLayerAtom]: {
40
+ [layers.reset]: {
45
41
  margin: 0,
46
42
  padding: 0
47
43
  }
@@ -49,7 +45,7 @@ globalStyle(":where(p, ul, ol, pre, blockquote)", {
49
45
  });
50
46
  globalStyle(":where(h1, h2, h3, h4, h5, h6)", {
51
47
  "@layer": {
52
- [blocksLayerAtom]: {
48
+ [layers.reset]: {
53
49
  margin: 0,
54
50
  padding: 0,
55
51
  fontSize: "inherit"
@@ -58,14 +54,14 @@ globalStyle(":where(h1, h2, h3, h4, h5, h6)", {
58
54
  });
59
55
  globalStyle(":where(pre)", {
60
56
  "@layer": {
61
- [blocksLayerAtom]: {
57
+ [layers.reset]: {
62
58
  whiteSpace: "pre-wrap"
63
59
  }
64
60
  }
65
61
  });
66
62
  globalStyle(":where([popover])", {
67
63
  "@layer": {
68
- [blocksLayerAtom]: {
64
+ [layers.reset]: {
69
65
  border: "unset"
70
66
  }
71
67
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockle/blocks-reset",
3
- "version": "0.22.0",
3
+ "version": "0.24.0",
4
4
  "description": "CSS reset for Blockle",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -36,9 +36,9 @@
36
36
  },
37
37
  "homepage": "https://github.com/Blockle/blocks#readme",
38
38
  "dependencies": {
39
- "@vanilla-extract/css": "^1.17.1"
39
+ "@vanilla-extract/css": "^1.17.4"
40
40
  },
41
41
  "peerDependencies": {
42
- "@blockle/blocks-core": ">=0.21.10"
42
+ "@blockle/blocks-core": ">=1.1.0"
43
43
  }
44
44
  }