@carbon/layout
Advanced tools
Comparing version 10.0.0 to 10.1.0
@@ -30,3 +30,3 @@ /** | ||
* Convert a given px unit to its string representation | ||
* @param {number} px | ||
* @param {number} value - number of pixels | ||
* @returns {string} | ||
@@ -91,3 +91,6 @@ */ | ||
var spacing09 = miniUnits(6); | ||
var spacing = [spacing01, spacing02, spacing03, spacing04, spacing05, spacing06, spacing07, spacing08, spacing09]; // Layout | ||
var spacing10 = miniUnits(8); | ||
var spacing11 = miniUnits(10); | ||
var spacing12 = miniUnits(12); | ||
var spacing = [spacing01, spacing02, spacing03, spacing04, spacing05, spacing06, spacing07, spacing08, spacing09, spacing10, spacing11, spacing12]; // Layout | ||
@@ -103,2 +106,2 @@ var layout01 = miniUnits(2); | ||
export { baseFontSize, rem, em, px, breakpoints, breakpointUp, breakpointDown, breakpoint, miniUnit, miniUnits, spacing01, spacing02, spacing03, spacing04, spacing05, spacing06, spacing07, spacing08, spacing09, spacing, layout01, layout02, layout03, layout04, layout05, layout06, layout07, layout }; | ||
export { baseFontSize, rem, em, px, breakpoints, breakpointUp, breakpointDown, breakpoint, miniUnit, miniUnits, spacing01, spacing02, spacing03, spacing04, spacing05, spacing06, spacing07, spacing08, spacing09, spacing10, spacing11, spacing12, spacing, layout01, layout02, layout03, layout04, layout05, layout06, layout07, layout }; |
@@ -34,3 +34,3 @@ 'use strict'; | ||
* Convert a given px unit to its string representation | ||
* @param {number} px | ||
* @param {number} value - number of pixels | ||
* @returns {string} | ||
@@ -95,3 +95,6 @@ */ | ||
var spacing09 = miniUnits(6); | ||
var spacing = [spacing01, spacing02, spacing03, spacing04, spacing05, spacing06, spacing07, spacing08, spacing09]; // Layout | ||
var spacing10 = miniUnits(8); | ||
var spacing11 = miniUnits(10); | ||
var spacing12 = miniUnits(12); | ||
var spacing = [spacing01, spacing02, spacing03, spacing04, spacing05, spacing06, spacing07, spacing08, spacing09, spacing10, spacing11, spacing12]; // Layout | ||
@@ -126,2 +129,5 @@ var layout01 = miniUnits(2); | ||
exports.spacing09 = spacing09; | ||
exports.spacing10 = spacing10; | ||
exports.spacing11 = spacing11; | ||
exports.spacing12 = spacing12; | ||
exports.spacing = spacing; | ||
@@ -128,0 +134,0 @@ exports.layout01 = layout01; |
{ | ||
"name": "@carbon/layout", | ||
"description": "Layout helpers for digital and software products using the Carbon Design System", | ||
"version": "10.0.0", | ||
"version": "10.1.0", | ||
"license": "Apache-2.0", | ||
@@ -22,7 +22,7 @@ "main": "lib/index.js", | ||
"scripts": { | ||
"build": "yarn clean && bundler bundle src/index.js --name CarbonLayout", | ||
"build": "yarn clean && bundler bundle src/index.js --name CarbonLayout && bundler sassdoc 'scss'", | ||
"clean": "rimraf es lib umd" | ||
}, | ||
"devDependencies": { | ||
"@carbon/bundler": "10.0.0", | ||
"@carbon/bundler": "10.1.0", | ||
"rimraf": "^2.6.2" | ||
@@ -36,3 +36,3 @@ }, | ||
}, | ||
"gitHead": "dc500192d7844e5948e62c9fd8d49bfce0f27cb9" | ||
"gitHead": "ed0a7fd543348777a3ca09a9e0588714b792b006" | ||
} |
@@ -45,2 +45,8 @@ # @carbon/layout | ||
## 📖 API Documentation | ||
If you're looking for `@carbon/layout` API documentation, check out: | ||
- [Sass](./docs/sass.md) | ||
## 🙌 Contributing | ||
@@ -47,0 +53,0 @@ |
@@ -32,3 +32,3 @@ /** | ||
* Convert a given px unit to its string representation | ||
* @param {number} px | ||
* @param {number} value - number of pixels | ||
* @returns {string} | ||
@@ -99,2 +99,5 @@ */ | ||
export const spacing09 = miniUnits(6); | ||
export const spacing10 = miniUnits(8); | ||
export const spacing11 = miniUnits(10); | ||
export const spacing12 = miniUnits(12); | ||
export const spacing = [ | ||
@@ -110,2 +113,5 @@ spacing01, | ||
spacing09, | ||
spacing10, | ||
spacing11, | ||
spacing12, | ||
]; | ||
@@ -112,0 +118,0 @@ |
@@ -36,3 +36,3 @@ (function (global, factory) { | ||
* Convert a given px unit to its string representation | ||
* @param {number} px | ||
* @param {number} value - number of pixels | ||
* @returns {string} | ||
@@ -97,3 +97,6 @@ */ | ||
var spacing09 = miniUnits(6); | ||
var spacing = [spacing01, spacing02, spacing03, spacing04, spacing05, spacing06, spacing07, spacing08, spacing09]; // Layout | ||
var spacing10 = miniUnits(8); | ||
var spacing11 = miniUnits(10); | ||
var spacing12 = miniUnits(12); | ||
var spacing = [spacing01, spacing02, spacing03, spacing04, spacing05, spacing06, spacing07, spacing08, spacing09, spacing10, spacing11, spacing12]; // Layout | ||
@@ -128,2 +131,5 @@ var layout01 = miniUnits(2); | ||
exports.spacing09 = spacing09; | ||
exports.spacing10 = spacing10; | ||
exports.spacing11 = spacing11; | ||
exports.spacing12 = spacing12; | ||
exports.spacing = spacing; | ||
@@ -130,0 +136,0 @@ exports.layout01 = layout01; |
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
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
104522
16
478
61