@leafygreen-ui/tokens
Advanced tools
Comparing version 0.4.0 to 0.5.0
# @leafygreen-ui/tokens | ||
## 0.5.0 | ||
### Minor Changes | ||
- 059ef833: Adds named export `breakpoints` to package | ||
### Patch Changes | ||
- dac3f38b: Fixes a publishing error that prevented UMD modules from being distributed | ||
- Updated dependencies [dac3f38b] | ||
- @leafygreen-ui/lib@6.0.1 | ||
## 0.4.0 | ||
@@ -4,0 +16,0 @@ |
@@ -1,2 +0,2 @@ | ||
var e={1:4,2:8,3:16,4:24,5:32,6:64,7:88},o={default:"Akzidenz, 'Helvetica Neue', Helvetica, Arial, sans-serif",code:"'Source Code Pro', Menlo, monospace"};export{o as fontFamilies,e as spacing}; | ||
var e={1:4,2:8,3:16,4:24,5:32,6:64,7:88},o={default:"Akzidenz, 'Helvetica Neue', Helvetica, Arial, sans-serif",code:"'Source Code Pro', Menlo, monospace"},a={Mobile:320,Tablet:768,Desktop:1024,XLDesktop:1440};export{a as breakpoints,o as fontFamilies,e as spacing}; | ||
//# sourceMappingURL=index.js.map |
export { default as spacing } from './spacing'; | ||
export { default as fontFamilies } from './fontFamilies'; | ||
export { default as breakpoints } from './breakpoints'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,3 +0,2 @@ | ||
export { default as spacing } from './spacing'; | ||
export { default as fontFamilies } from './fontFamilies'; | ||
//# sourceMappingURL=index.js.map | ||
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports):"function"==typeof define&&define.amd?define(["exports"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self)["@leafygreen-ui/tokens"]={})}(this,(function(e){"use strict";e.breakpoints={Mobile:320,Tablet:768,Desktop:1024,XLDesktop:1440},e.fontFamilies={default:"Akzidenz, 'Helvetica Neue', Helvetica, Arial, sans-serif",code:"'Source Code Pro', Menlo, monospace"},e.spacing={1:4,2:8,3:16,4:24,5:32,6:64,7:88},Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@leafygreen-ui/tokens", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "leafyGreen UI Kit Tokens", | ||
@@ -23,4 +23,4 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"@leafygreen-ui/lib": "^6.0.0" | ||
"@leafygreen-ui/lib": "^6.0.1" | ||
} | ||
} |
@@ -36,1 +36,12 @@ # Tokens | ||
``` | ||
## Breakpoints | ||
```js | ||
import { breakpoints } from '@leafygreen-ui/tokens'; | ||
const mq = facepaint( | ||
breakpoints.map(bp => `@media (min-width: ${bp}px)`), | ||
{ literal: true }, | ||
); | ||
``` |
export { default as spacing } from './spacing'; | ||
export { default as fontFamilies } from './fontFamilies'; | ||
export { default as breakpoints } from './breakpoints'; |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
26
155
47
0
157335
Updated@leafygreen-ui/lib@^6.0.1