Skip to content

Commit

Permalink
fix(normalize): upgrade normalize to 8.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bhough committed May 10, 2020
1 parent a23a6a2 commit 81bbdd4
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
5 changes: 4 additions & 1 deletion docs/assets/polished.js
Original file line number Diff line number Diff line change
Expand Up @@ -1467,7 +1467,7 @@
}

/**
* CSS to normalize abnormalities across browsers (normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css)
* CSS to normalize abnormalities across browsers (normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css)
*
* @example
* // Styles as object usage
Expand Down Expand Up @@ -1496,6 +1496,9 @@
body: {
margin: '0'
},
main: {
display: 'block'
},
h1: {
fontSize: '2em',
margin: '0.67em 0'
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2314,7 +2314,7 @@ <h3 class='fl m0' id='normalize'>
</div>


<p>CSS to normalize abnormalities across browsers (normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css)</p>
<p>CSS to normalize abnormalities across browsers (normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css)</p>


<div class='pre p1 fill-light mt0'>normalize(): <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array">Array</a>&#x3C;<a href="#styles">Styles</a>></div>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polished",
"version": "3.6.2",
"version": "3.6.3",
"description": "A lightweight toolset for writing styles in Javascript.",
"license": "MIT",
"author": "Brian Hough <[email protected]> (https://polished.js.org)",
Expand Down
6 changes: 5 additions & 1 deletion src/mixins/normalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import type { Styles } from '../types/style'

/**
* CSS to normalize abnormalities across browsers (normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css)
* CSS to normalize abnormalities across browsers (normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css)
*
* @example
* // Styles as object usage
Expand Down Expand Up @@ -32,6 +32,10 @@ export default function normalize(): Array<Styles> {
margin: '0',
},

main: {
display: 'block',
},

h1: {
fontSize: '2em',
margin: '0.67em 0',
Expand Down
3 changes: 3 additions & 0 deletions src/mixins/test/__snapshots__/normalize.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ Array [
"padding": "0",
"whiteSpace": "normal",
},
"main": Object {
"display": "block",
},
"pre": Object {
"fontFamily": "monospace, monospace",
"fontSize": "1em",
Expand Down

0 comments on commit 81bbdd4

Please sign in to comment.