@blockle/blocks-reset 0.21.8 → 0.22.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockle/blocks-reset",
3
- "version": "0.21.8",
3
+ "version": "0.22.0",
4
4
  "description": "CSS reset for Blockle",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -8,12 +8,8 @@
8
8
  ],
9
9
  "exports": {
10
10
  ".": {
11
- "types": {
12
- "import": "./dist/index.d.mts",
13
- "require": "./dist/index.d.ts"
14
- },
15
- "import": "./dist/index.js",
16
- "require": "./dist/index.cjs"
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js"
17
13
  }
18
14
  },
19
15
  "files": [
package/dist/index.cjs DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- require("./reset.css.cjs");
@@ -1,74 +0,0 @@
1
- "use strict";
2
- const fileScope = require("@vanilla-extract/css/fileScope");
3
- const blocksCore = require("@blockle/blocks-core");
4
- const css = require("@vanilla-extract/css");
5
- fileScope.setFileScope("src/reset.css.ts", "@blockle/blocks-reset");
6
- css.globalStyle(":where(*, *::before, *::after)", {
7
- "@layer": {
8
- [blocksCore.blocksLayerAtom]: {
9
- boxSizing: "inherit",
10
- WebkitTapHighlightColor: "transparent"
11
- }
12
- }
13
- });
14
- css.globalStyle(":where(html)", {
15
- "@layer": {
16
- [blocksCore.blocksLayerAtom]: {
17
- lineHeight: 1.5,
18
- boxSizing: "border-box",
19
- WebkitFontSmoothing: "antialiased"
20
- }
21
- }
22
- });
23
- css.globalStyle(":where(body)", {
24
- "@layer": {
25
- [blocksCore.blocksLayerAtom]: {
26
- margin: 0,
27
- padding: 0,
28
- fontFamily: "Calibri, sans-serif"
29
- }
30
- }
31
- });
32
- css.globalStyle(":where(button, input, optgroup, select, textarea)", {
33
- "@layer": {
34
- [blocksCore.blocksLayerAtom]: {
35
- fontFamily: "inherit",
36
- fontSize: "100%",
37
- lineHeight: "inherit",
38
- margin: 0,
39
- padding: 0
40
- }
41
- }
42
- });
43
- css.globalStyle(":where(p, ul, ol, pre, blockquote)", {
44
- "@layer": {
45
- [blocksCore.blocksLayerAtom]: {
46
- margin: 0,
47
- padding: 0
48
- }
49
- }
50
- });
51
- css.globalStyle(":where(h1, h2, h3, h4, h5, h6)", {
52
- "@layer": {
53
- [blocksCore.blocksLayerAtom]: {
54
- margin: 0,
55
- padding: 0,
56
- fontSize: "inherit"
57
- }
58
- }
59
- });
60
- css.globalStyle(":where(pre)", {
61
- "@layer": {
62
- [blocksCore.blocksLayerAtom]: {
63
- whiteSpace: "pre-wrap"
64
- }
65
- }
66
- });
67
- css.globalStyle(":where([popover])", {
68
- "@layer": {
69
- [blocksCore.blocksLayerAtom]: {
70
- border: "unset"
71
- }
72
- }
73
- });
74
- fileScope.endFileScope();