Comparing version 3.0.0 to 4.0.0
135
CHANGELOG.md
@@ -0,76 +1,110 @@ | ||
## [v4.0.0] | ||
### Added: | ||
- Reset of table element | ||
- Color inherit for hr elements | ||
### Removed: | ||
- Form elements' focus outline (#24) | ||
- `cursor: default` when `aria-disabled="false"` (#26) | ||
- Optional style to hide content from screens but not screenreaders. More about [here](https://webaim.org/techniques/css/invisiblecontent/) | ||
## [v3.0.1] | ||
Change from `cssnano-cli` to `postcss-cli`. | ||
## [v3.0.0] | ||
### Removed | ||
### Removed: | ||
Removed optionated `fill` style from `svg`. | ||
- `fill: currentColor` when `svg:not([fill])` | ||
- `fill: currentColor` when `svg:not([fill])` | ||
## [v2.0.4] | ||
Fix deprecated version of `word-break` | ||
### Changed: | ||
- `word-break: break-word` to `word-break: normal` [#19](https://github.com/filipelinhares/ress/issues/19), thanks to [@matteobad](https://github.com/matteobad). | ||
- `word-break: break-word` to `word-break: normal` [#19](https://github.com/filipelinhares/ress/issues/19), thanks to [@matteobad](https://github.com/matteobad). | ||
## [v2.0.2] | ||
### Added: | ||
- `color: inherit` to button like elements [#18](https://github.com/filipelinhares/ress/issues/18), thanks to [@andrewpeterprifer](https://github.com/andrewpeterprifer) : | ||
- `color: inherit` to button like elements [#18](https://github.com/filipelinhares/ress/issues/18), thanks to [@andrewpeterprifer](https://github.com/andrewpeterprifer) : | ||
## [v2.0.1] | ||
### Removed: | ||
- Remove duplicated rule for `[type="search"]` | ||
- Remove duplicated rule for `[type="search"]` | ||
## [v2.0.0] | ||
:tada: Update with the latest version of Normalize. | ||
### Added: | ||
- Fill `svg` with the current color when `fill` is not set | ||
- `tab-size: 4` to `html` | ||
- **[N]** Set `text-transform: none` for `button` | ||
- **[N]** `outline-offset: -2px` to `[type="search"]` | ||
- **[N]** Correct `legend` style | ||
- **[N]** `height: 0` to `hr` | ||
- **[N]** `width: 0` to `[type="number"]::-webkit` spin button | ||
- Fill `svg` with the current color when `fill` is not set | ||
- `tab-size: 4` to `html` | ||
- **[N]** Set `text-transform: none` for `button` | ||
- **[N]** `outline-offset: -2px` to `[type="search"]` | ||
- **[N]** Correct `legend` style | ||
- **[N]** `height: 0` to `hr` | ||
- **[N]** `width: 0` to `[type="number"]::-webkit` spin button | ||
### Removed: | ||
- **[N]** Unnecessry normalization for general element | ||
- **[N]** `text-decoration-skip` from `a`. | ||
- **[N]** `color: inherit` from form elements | ||
- `overflow-y: scroll` in `html` | ||
- **[N]** `width: auto` from `[type="number"]` | ||
- `audio:not([controls])` | ||
- `::selection` normalization | ||
- **[N]** Unnecessry normalization for general element | ||
- **[N]** `text-decoration-skip` from `a`. | ||
- **[N]** `color: inherit` from form elements | ||
- `overflow-y: scroll` in `html` | ||
- **[N]** `width: auto` from `[type="number"]` | ||
- `audio:not([controls])` | ||
- `::selection` normalization | ||
### Changed: | ||
- **[N]** `border-style: none` instead of 0 for `moz-focus`. | ||
- **[N]** `abbr[title]` style from `border-bottom` to `text-decoration` | ||
- **[N]** `border-style: none` instead of 0 for `moz-focus`. | ||
- **[N]** `abbr[title]` style from `border-bottom` to `text-decoration` | ||
**[N]**_ormalize updates._ | ||
## [v1.2.2] | ||
- Also set `background-repeat: no-repeat` to pseudo elements (#14) | ||
- Also set `background-repeat: no-repeat` to pseudo elements (#14) | ||
## [v1.1.2] | ||
- Add missing comma on button elements selector | ||
- Add missing comma on button elements selector | ||
## [v1.1.1] | ||
:tada: New feature and updates from Normalize | ||
### Added: | ||
- **[N]** Correct the display of `<summary>` in all browsers | ||
- Apply cursor pointer to button elements - (#7) | ||
- **[N]** Correct the display of `<summary>` in all browsers | ||
- Apply cursor pointer to button elements - (#7) | ||
### Removed: | ||
- **[N]** Placeholder normalization | ||
- **[N]** Placeholder normalization | ||
### Changed: | ||
- Text selection color to improves a11y - Thanks @dcorb | ||
- Text selection color to improves a11y - Thanks @dcorb | ||
**[N]**_ormalize updates._ | ||
## [v1.0.1] | ||
Just README updates and code comments | ||
## [v1.0.0] | ||
## [v1.0.0] | ||
#### :zap: sanilize.css renamed to ress | ||
@@ -87,39 +121,48 @@ | ||
## [v0.7.4] | ||
- Release a landing page :smile: - [sanilize.css](http://filipelinhares.github.io/sanilize.css/) | ||
- Release a landing page :smile: - [sanilize.css](http://filipelinhares.github.io/sanilize.css/) | ||
### Removed: | ||
- Remove unnecessary comments to keep the code clean | ||
- Remove `list-style: none;` from `nav ul, nav ol` | ||
- Remove `-ms-overflow-style: -ms-autohiding-scrollbar` from `html` | ||
- Remove unnecessary comments to keep the code clean | ||
- Remove `list-style: none;` from `nav ul, nav ol` | ||
- Remove `-ms-overflow-style: -ms-autohiding-scrollbar` from `html` | ||
## [v0.7.3] | ||
Updates from normalize 4.1.1 | ||
### Added: | ||
- Normalize placeholder styles in Edge, Chrome, and Safari with Firefox | ||
- Normalize file select buttons | ||
- Remove gaps in links underline in iOS 8+ and Safari 8+ | ||
- Normalize placeholder styles in Edge, Chrome, and Safari with Firefox | ||
- Normalize file select buttons | ||
- Remove gaps in links underline in iOS 8+ and Safari 8+ | ||
### Removed: | ||
- Remove unnecessary specificity in inputs | ||
- Remove unnecessary specificity in inputs | ||
### Changed: | ||
- Correct the outline of search inputs in Chrome and Safari | ||
- Limit Firefox focus normalization to buttons | ||
- Correct the outline of search inputs in Chrome and Safari | ||
- Limit Firefox focus normalization to buttons | ||
## [v0.6.3] | ||
Updates from normalize.css 4.0.0 | ||
### Added: | ||
- Correct inconsistent `overflow` for `hr` in Edge and IE. | ||
- Correct `legend` text wrapping not present in Edge and IE. | ||
- Correct inconsistent `overflow` for `hr` in Edge and IE. | ||
- Correct `legend` text wrapping not present in Edge and IE. | ||
### Removed: | ||
- Opinionated `table` resets. | ||
- Opinionated `pre` overflow. | ||
- Opinionated `table` resets. | ||
- Opinionated `pre` overflow. | ||
### Changed: | ||
- Opinionated style of `outline-width` for `a:active` and `a:hover`. | ||
- Update normalization of `border-style` for `img`. | ||
- Update normalization of color inheritance for `legend`. | ||
- Opinionated style of `outline-width` for `a:active` and `a:hover`. | ||
- Update normalization of `border-style` for `img`. | ||
- Update normalization of color inheritance for `legend`. |
{ | ||
"name": "ress", | ||
"description": "A modern CSS reset", | ||
"version": "3.0.0", | ||
"version": "4.0.0", | ||
"author": "Filipe Linhares", | ||
@@ -10,3 +10,4 @@ "bugs": { | ||
"devDependencies": { | ||
"cssnano-cli": "^1.0.5", | ||
"cssnano": "^4.1.10", | ||
"postcss-cli": "^7.1.1", | ||
"stylelint": "^13.6.1" | ||
@@ -26,5 +27,5 @@ }, | ||
"scripts": { | ||
"compile": "cssnano ress.css dist/ress.min.css", | ||
"compile": "postcss ress.css --no-map -u cssnano -o dist/ress.min.css", | ||
"test": "stylelint ress.css" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
![A brunch and the ress name](http://i.imgur.com/1sXtcsA.png) | ||
![A brunch and the ress name](https://i.imgur.com/NHz9ef3.png) | ||
@@ -8,6 +8,9 @@ Modern CSS reset | ||
## Installation | ||
```sh | ||
npm install --save ress | ||
``` | ||
or | ||
```sh | ||
@@ -18,2 +21,3 @@ bower install --save ress | ||
## Features | ||
1. Apply `box-sizing: border-box;` in all elements. | ||
@@ -33,12 +37,15 @@ 2. Reset `padding` and `margin` in all elements. | ||
14. Style `cursor` by aria attributes. | ||
15. Hide content from screens but not screenreaders. | ||
## Crossbrowser | ||
**ress** uses [Normalize.css](https://github.com/necolas/normalize.css) under the hood with some customizations to apply a solid base to start your stylesheet. | ||
## Browser support | ||
Inherit from [Normalize](https://github.com/necolas/normalize.css#browser-support) | ||
## CDN | ||
[**unpkg**](https://unpkg.com) | ||
```sh | ||
@@ -49,2 +56,3 @@ https://unpkg.com/ress/dist/ress.min.css | ||
[**RawGit**](https://rawgit.com) | ||
```sh | ||
@@ -59,2 +67,3 @@ # Production | ||
## License | ||
[MIT](LICENSE.md) © Filipe Linhares |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20683
258
65
3