@financial-times/o-grid
Advanced tools
Comparing version 6.0.2 to 6.1.0
# Changelog | ||
## [6.1.0](https://www.github.com/Financial-Times/origami/compare/o-grid-v6.0.2...o-grid-v6.1.0) (2021-11-24) | ||
### Features | ||
* allow npm 8 in engines config ([eeb1cae](https://www.github.com/Financial-Times/origami/commit/eeb1cae6e7f0379e647f2b41240b1f294997d528)) | ||
### [6.0.2](https://www.github.com/Financial-Times/origami/compare/o-grid-v6.0.1...o-grid-v6.0.2) (2021-11-10) | ||
@@ -4,0 +11,0 @@ |
18
main.js
@@ -8,3 +8,4 @@ /* eslint-disable no-console */ | ||
* Grab grid properties | ||
* @return {Object} layout names and gutter widths | ||
* | ||
* @returns {object} layout names and gutter widths | ||
*/ | ||
@@ -23,3 +24,4 @@ function getGridProperties() { | ||
* See the README for more information. | ||
* @return {Object} layout names and sizes | ||
* | ||
* @returns {object} layout names and sizes | ||
*/ | ||
@@ -36,4 +38,5 @@ function getGridBreakpoints() { | ||
* Grab grid properties surfaced in html:after and html:before's content | ||
* @param {String} position Whether to get all properties in :before, or current properties in :after | ||
* @return {Object} layout names and gutter widths | ||
* | ||
* @param {string} position Whether to get all properties in :before, or current properties in :after | ||
* @returns {object} layout names and gutter widths | ||
*/ | ||
@@ -58,3 +61,4 @@ function getGridFromDoc(position) { | ||
* See the README for more information. | ||
* @return {String} Layout name | ||
* | ||
* @returns {string} Layout name | ||
*/ | ||
@@ -69,3 +73,4 @@ function getCurrentLayout() { | ||
* See the README for more information. | ||
* @return {String} Gutter width in pixels | ||
* | ||
* @returns {string} Gutter width in pixels | ||
*/ | ||
@@ -81,2 +86,3 @@ function getCurrentGutter() { | ||
* See the README for more information. | ||
* | ||
* @returns {void} | ||
@@ -83,0 +89,0 @@ */ |
{ | ||
"name": "@financial-times/o-grid", | ||
"version": "6.0.2", | ||
"version": "6.1.0", | ||
"description": "A 12 column responsive, flexbox-based grid system for laying out documents, templates and components.", | ||
@@ -31,3 +31,3 @@ "keywords": [ | ||
"engines": { | ||
"npm": "^7" | ||
"npm": "^7 || ^8" | ||
}, | ||
@@ -37,3 +37,5 @@ "volta": { | ||
"npm": "7.11.1" | ||
} | ||
}, | ||
"percy": true, | ||
"private": false | ||
} |
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
456562
26
470