@new-ui/reset 0.0.4 → 0.0.6

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
@@ -1,4 +1,15 @@
1
+ # New UI Reset
2
+
3
+ ## Install
1
4
  Install from your terminal via npm.
5
+
2
6
  ```
3
7
  npm i @new-ui/reset
8
+ ```
9
+
10
+ ## Usage
11
+
12
+ ```scss
13
+ // Place this at the top of your SCSS/CSS file
14
+ @use "@new-ui/reset";
4
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%;font-size:100%}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0;padding:0}img,picture{max-width:100%;display:block}table{border-collapse:collapse}
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}
2
2
  /*# sourceMappingURL=index.css.map */
@@ -1 +1 @@
1
- {"mappings":"ACAA,uCAIA,4EAMA,8DAMA,yCAMA","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 font-size: 100%;\n}\n\nbody, h1, h2, h3, h4, p, figure, blockquote, dl, dd {\n margin: 0;\n padding: 0;\n}\n\nimg, picture {\n max-width: 100%;\n display: block;\n}\n\ntable {\n border-collapse: collapse;\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}\n\nbody, h1, h2, h3, h4, p,\nfigure, blockquote, dl, dd {\n margin: 0;\n padding: 0;\n}\n\nimg,\npicture {\n max-width: 100%;\n display: block;\n}\n\ntable {\n border-collapse: collapse;\n}"],"names":[],"version":3,"file":"index.css.map"}
1
+ {"mappings":"ACAA,uCAIA,oGAOA,8DAMA,sBAIA,yCAMA,yEAMA","sources":["index.css","../../New%20Packages/reset/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",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.4",
3
+ "version": "0.0.6",
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
@@ -6,6 +6,7 @@ html {
6
6
  font-size: 100%;
7
7
  -webkit-text-size-adjust: 100%;
8
8
  -ms-text-size-adjust: 100%;
9
+ vertical-align: baseline;
9
10
  }
10
11
 
11
12
  body, h1, h2, h3, h4, p,
@@ -14,12 +15,23 @@ figure, blockquote, dl, dd {
14
15
  padding: 0;
15
16
  }
16
17
 
18
+ ol, ul {
19
+ list-style: none;
20
+ }
21
+
17
22
  img,
18
23
  picture {
19
24
  max-width: 100%;
20
25
  display: block;
21
26
  }
22
27
 
28
+ input, textarea, button, select {
29
+ font-family: inherit;
30
+ font-size: 100%;
31
+ margin: 0;
32
+ }
33
+
23
34
  table {
24
35
  border-collapse: collapse;
36
+ border-spacing: 0;
25
37
  }
package/src/index.scss CHANGED
@@ -1 +1 @@
1
- @import 'reset';
1
+ @use 'reset';