Socket
Socket
Sign inDemoInstall

@leafygreen-ui/tokens

Package Overview
Dependencies
Maintainers
4
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafygreen-ui/tokens - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

dist/breakpoints.d.ts

12

CHANGELOG.md
# @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 @@

2

dist/esm/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc