@jordan-mace/chaser-design-system 1.2.4 → 1.2.7
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 +9 -4
- package/src/styles/reset.css.ts +41 -27
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jordan-mace/chaser-design-system",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css.js"
|
|
@@ -14,9 +14,14 @@
|
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"import": "./dist/index.js"
|
|
16
16
|
},
|
|
17
|
-
"./
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
"./layers.css": {
|
|
18
|
+
"types": "./dist/styles/layers.css.d.ts",
|
|
19
|
+
"import": "./dist/styles/layers.css.js"
|
|
20
|
+
},
|
|
21
|
+
"./theme.css": {
|
|
22
|
+
"types": "./dist/styles/theme.css.d.ts",
|
|
23
|
+
"import": "./dist/styles/theme.css.js"
|
|
24
|
+
}
|
|
20
25
|
},
|
|
21
26
|
"files": [
|
|
22
27
|
"dist",
|
package/src/styles/reset.css.ts
CHANGED
|
@@ -21,14 +21,16 @@ figure, figcaption, footer, header, hgroup, \
|
|
|
21
21
|
menu, nav, output, ruby, section, summary,\
|
|
22
22
|
time, mark, audio, video',
|
|
23
23
|
{
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
"@layer": {
|
|
25
|
+
[resetLayer]: {
|
|
26
|
+
margin: 0,
|
|
27
|
+
padding: 0,
|
|
28
|
+
border: 0,
|
|
29
|
+
fontSize: '100%',
|
|
30
|
+
font: 'inherit',
|
|
31
|
+
verticalAlign: 'baseline',
|
|
32
|
+
},
|
|
33
|
+
}
|
|
32
34
|
},
|
|
33
35
|
);
|
|
34
36
|
|
|
@@ -37,43 +39,55 @@ globalStyle(
|
|
|
37
39
|
'article, aside, details, figcaption, figure, \
|
|
38
40
|
footer, header, hgroup, menu, nav, section',
|
|
39
41
|
{
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
"@layer": {
|
|
43
|
+
[resetLayer]: {
|
|
44
|
+
display: 'block',
|
|
45
|
+
},
|
|
46
|
+
}
|
|
43
47
|
},
|
|
44
48
|
);
|
|
45
49
|
|
|
46
50
|
globalStyle('body', {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
51
|
+
'@layer': {
|
|
52
|
+
[resetLayer]: {
|
|
53
|
+
lineHeight: 1,
|
|
54
|
+
},
|
|
55
|
+
}
|
|
50
56
|
});
|
|
51
57
|
|
|
52
58
|
globalStyle('ol, ul', {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
59
|
+
'@layer': {
|
|
60
|
+
[resetLayer]: {
|
|
61
|
+
listStyle: 'none',
|
|
62
|
+
},
|
|
63
|
+
}
|
|
56
64
|
});
|
|
57
65
|
|
|
58
66
|
globalStyle('blockquote, q', {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
67
|
+
'@layer': {
|
|
68
|
+
[resetLayer]: {
|
|
69
|
+
quotes: 'none',
|
|
70
|
+
},
|
|
71
|
+
}
|
|
62
72
|
});
|
|
63
73
|
|
|
64
74
|
globalStyle(
|
|
65
75
|
'blockquote:before, blockquote:after, \
|
|
66
76
|
q:before, q:after',
|
|
67
77
|
{
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
78
|
+
'@layer': {
|
|
79
|
+
[resetLayer]: {
|
|
80
|
+
content: 'none',
|
|
81
|
+
},
|
|
82
|
+
}
|
|
71
83
|
},
|
|
72
84
|
);
|
|
73
85
|
|
|
74
86
|
globalStyle('table', {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
87
|
+
'@layer': {
|
|
88
|
+
[resetLayer]: {
|
|
89
|
+
borderCollapse: 'collapse',
|
|
90
|
+
borderSpacing: 0,
|
|
91
|
+
},
|
|
92
|
+
}
|
|
79
93
|
});
|