@financial-times/o-normalise
Advanced tools
Comparing version 3.2.2 to 3.3.0
# Changelog | ||
## [3.3.0](https://www.github.com/Financial-Times/origami/compare/o-normalise-v3.2.2...o-normalise-v3.3.0) (2022-12-15) | ||
### Features | ||
* o-normalise, add double focus ring by default for inputs. ([e1c6c49](https://www.github.com/Financial-Times/origami/commit/e1c6c49c32124cf89eb94c4a5c1501f07dab911a)) | ||
### [3.2.2](https://www.github.com/Financial-Times/origami/compare/o-normalise-v3.2.1...o-normalise-v3.2.2) (2022-01-13) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@financial-times/o-normalise", | ||
"version": "3.2.2", | ||
"version": "3.3.0", | ||
"description": "Provides base styles and resets for stylesheets. Includes standardised utilities, such as visually hiding components or adding a consistent focus state.", | ||
@@ -23,3 +23,5 @@ "keywords": [ | ||
"test": "bash ../../scripts/component/test.bash", | ||
"lint": "bash ../../scripts/component/lint.bash" | ||
"debug:js": "bash ../../scripts/component/debug-js.bash", | ||
"lint": "bash ../../scripts/component/lint.bash", | ||
"watch": "bash ../../scripts/component/watch.bash" | ||
}, | ||
@@ -26,0 +28,0 @@ "peerDependencies": { |
@@ -42,4 +42,2 @@ # o-normalise [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](#licence) | ||
_Note: if using the "focus" option in your project also include the `:focus-visible` polyfill. See [Focus States](#focus-states)._ | ||
### Other Mixins | ||
@@ -55,6 +53,4 @@ | ||
No browser supports `:focus-visible` right now (31st Jan 2018) but there is [a polyfill](https://github.com/WICG/focus-visible) which roughly mimics the behaviour by adding a class `.focus-visible` to an element if it should have `:focus-visible` applied to it. Integrate [the polyfill](https://github.com/WICG/focus-visible) at v4 or v5 with your project to apply these focus styles. | ||
Browser support is now good so we no longer recommend the [focus-visible polyfill](https://github.com/WICG/focus-visible), this should be removed from your project. `:focus` is used as a fallback where needed in older browsers. | ||
`:focus` is used as a fallback in `core` mode. | ||
## Contributing | ||
@@ -61,0 +57,0 @@ |
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
25509
12
78