@new-ui/reset 0.0.5 → 0.0.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/README.md CHANGED
@@ -11,5 +11,5 @@ npm i @new-ui/reset
11
11
 
12
12
  ```scss
13
13
  // Place this at the top of your SCSS/CSS file
14
- @import "@new-ui/reset";
14
+ @use "@new-ui/reset";
15
15
  ```
package/dist/index.css CHANGED
@@ -1,2 +1,2 @@
1
- *,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;vertical-align:baseline;font-size:100%}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0;padding:0}ol,ul{list-style:none}img,picture{max-width:100%;display:block}input,textarea,button,select{margin:0;font-family:inherit;font-size:100%}table{border-collapse:collapse;border-spacing:0}
1
+ *,:before,:after{box-sizing:border-box}html{text-size-adjust:none;vertical-align:baseline}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0;margin-block-end:0;padding:0}ul[role=list],ol[role=list]{list-style:none}body{min-height:100vh;line-height:1.5}h1,h2,h3,h4{text-wrap:balance}a:not([class]){text-decoration-skip-ink:auto;color:currentColor}img,picture{max-width:100%;display:block}input,textarea,button,select{font-family:inherit;font-size:inherit;margin:0}textarea:not([rows]){min-height:10em}table{border-collapse:collapse;border-spacing:0}:target{scroll-margin-block:5ex}
2
2
  /*# sourceMappingURL=index.css.map */
@@ -1 +1 @@
1
- {"mappings":"ACAA,uCAIA,oGAOA,8DAMA,sBAIA,yCAMA,yEAMA","sources":["index.css","src/_reset.scss"],"sourcesContent":["*, :before, :after {\n box-sizing: border-box;\n}\n\nhtml {\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n vertical-align: baseline;\n font-size: 100%;\n}\n\nbody, h1, h2, h3, h4, p, figure, blockquote, dl, dd {\n margin: 0;\n padding: 0;\n}\n\nol, ul {\n list-style: none;\n}\n\nimg, picture {\n max-width: 100%;\n display: block;\n}\n\ninput, textarea, button, select {\n margin: 0;\n font-family: inherit;\n font-size: 100%;\n}\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n/*# sourceMappingURL=index.css.map */\n","*, *::before, *::after {\n box-sizing: border-box;\n}\n\nhtml {\n font-size: 100%;\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n vertical-align: baseline;\n}\n\nbody, h1, h2, h3, h4, p,\nfigure, blockquote, dl, dd {\n margin: 0;\n padding: 0;\n}\n\nol, ul {\n\tlist-style: none;\n}\n\nimg,\npicture {\n max-width: 100%;\n display: block;\n}\n\ninput, textarea, button, select {\n font-family: inherit;\n font-size: 100%;\n margin: 0;\n}\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}"],"names":[],"version":3,"file":"index.css.map"}
1
+ {"mappings":"ACAA,uCAIA,mDAOA,iFAOA,4CAKA,sCAKA,8BAKA,gEAKA,yCAMA,4EAMA,qCAIA,gDAKA","sources":["index.css","../../New%20Packages/reset/src/_reset.scss"],"sourcesContent":["*, :before, :after {\n box-sizing: border-box;\n}\n\nhtml {\n text-size-adjust: none;\n vertical-align: baseline;\n}\n\nbody, h1, h2, h3, h4, p, figure, blockquote, dl, dd {\n margin: 0;\n margin-block-end: 0;\n padding: 0;\n}\n\nul[role=\"list\"], ol[role=\"list\"] {\n list-style: none;\n}\n\nbody {\n min-height: 100vh;\n line-height: 1.5;\n}\n\nh1, h2, h3, h4 {\n text-wrap: balance;\n}\n\na:not([class]) {\n text-decoration-skip-ink: auto;\n color: currentColor;\n}\n\nimg, picture {\n max-width: 100%;\n display: block;\n}\n\ninput, textarea, button, select {\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n}\n\ntextarea:not([rows]) {\n min-height: 10em;\n}\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n\n:target {\n scroll-margin-block: 5ex;\n}\n/*# sourceMappingURL=index.css.map */\n",null],"names":[],"version":3,"file":"index.css.map"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@new-ui/reset",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "SCSS, CSS reset.",
5
5
  "source": "src/index.scss",
6
6
  "main": "dist/index.css",
@@ -27,8 +27,8 @@
27
27
  },
28
28
  "homepage": "https://github.com/NewDesignFile/reset#readme",
29
29
  "devDependencies": {
30
- "@parcel/transformer-sass": "^2.12.0",
30
+ "@parcel/transformer-sass": "^2.13.3",
31
31
  "autoprefixer": "^10.4.20",
32
- "parcel": "^2.12.0"
32
+ "parcel": "^2.13.3"
33
33
  }
34
34
  }
package/src/_reset.scss CHANGED
@@ -3,9 +3,9 @@
3
3
  }
4
4
 
5
5
  html {
6
- font-size: 100%;
7
- -webkit-text-size-adjust: 100%;
8
- -ms-text-size-adjust: 100%;
6
+ -moz-text-size-adjust: none;
7
+ -webkit-text-size-adjust: none;
8
+ text-size-adjust: none;
9
9
  vertical-align: baseline;
10
10
  }
11
11
 
@@ -13,10 +13,27 @@ body, h1, h2, h3, h4, p,
13
13
  figure, blockquote, dl, dd {
14
14
  margin: 0;
15
15
  padding: 0;
16
+ margin-block-end: 0;
16
17
  }
17
18
 
18
- ol, ul {
19
- list-style: none;
19
+ ul[role='list'],
20
+ ol[role='list'] {
21
+ list-style: none;
22
+ }
23
+
24
+ body {
25
+ min-height: 100vh;
26
+ line-height: 1.5;
27
+ }
28
+
29
+ h1, h2,
30
+ h3, h4 {
31
+ text-wrap: balance;
32
+ }
33
+
34
+ a:not([class]) {
35
+ text-decoration-skip-ink: auto;
36
+ color: currentColor;
20
37
  }
21
38
 
22
39
  img,
@@ -27,11 +44,19 @@ picture {
27
44
 
28
45
  input, textarea, button, select {
29
46
  font-family: inherit;
30
- font-size: 100%;
47
+ font-size: inherit;
31
48
  margin: 0;
32
49
  }
33
50
 
51
+ textarea:not([rows]) {
52
+ min-height: 10em;
53
+ }
54
+
34
55
  table {
35
56
  border-collapse: collapse;
36
57
  border-spacing: 0;
58
+ }
59
+
60
+ :target {
61
+ scroll-margin-block: 5ex;
37
62
  }
package/src/index.scss CHANGED
@@ -1 +1 @@
1
- @import 'reset';
1
+ @use 'reset';