@leafygreen-ui/tokens
Advanced tools
Comparing version 2.1.1 to 3.0.0-alpha.0
# @leafygreen-ui/tokens | ||
## 3.0.0-alpha.0 | ||
### Major Changes | ||
- d40674fe1: Updates build tooling. No functional changes | ||
### Patch Changes | ||
- Updated dependencies [d40674fe1] | ||
- @leafygreen-ui/palette@5.0.0-alpha.0 | ||
## 2.1.1 | ||
@@ -4,0 +15,0 @@ |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@leafygreen-ui/palette")):"function"==typeof define&&define.amd?define(["exports","@leafygreen-ui/palette"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@leafygreen-ui/tokens"]={},e["@leafygreen-ui/palette"])}(this,(function(e,t){"use strict";function i(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var n,o,a={Dark:"dark",Light:"light"},r=(i(n={},a.Light,{default:"0 0 0 2px ".concat(t.palette.white,", 0 0 0 4px ").concat(t.palette.blue.light1),input:"0 0 0 3px ".concat(t.palette.blue.light1)}),i(n,a.Dark,{default:"0 0 0 2px ".concat(t.palette.black,", 0 0 0 4px ").concat(t.palette.blue.light1),input:"0 0 0 3px ".concat(t.palette.blue.light1)}),n),l=(i(o={},a.Light,{gray:"0 0 0 3px ".concat(t.palette.gray.light2),green:"0 0 0 3px ".concat(t.palette.green.light2),red:"0 0 0 3px ".concat(t.palette.red.light2)}),i(o,a.Dark,{gray:"0 0 0 3px ".concat(t.palette.gray.dark2),green:"0 0 0 3px ".concat(t.palette.green.dark3),red:"0 0 0 3px ".concat(t.palette.yellow.dark3)}),o),c={Body1:13,Body2:16},u={body1:{fontSize:c.Body1,lineHeight:20},body2:{fontSize:c.Body2,lineHeight:28},code1:{fontSize:13,lineHeight:20},code2:{fontSize:15,lineHeight:24},disclaimer:{fontSize:12,lineHeight:20},large:{fontSize:18,lineHeight:22}};e.BaseFontSize=c,e.Mode=a,e.breakpoints={Mobile:320,Tablet:768,Desktop:1024,XLDesktop:1440},e.focusRing=r,e.fontFamilies={default:"'Euclid Circular A', 'Helvetica Neue', Helvetica, Arial, sans-serif",serif:"'MongoDB Value Serif', 'Times New Roman', serif",code:"'Source Code Pro', Menlo, monospace"},e.fontWeights={regular:400,medium:500,bold:700},e.hoverRing=l,e.spacing={1:4,2:8,3:16,4:24,5:32,6:64,7:88},e.transitionDuration={faster:100,default:150,slower:300,slowest:500},e.typeScales=u,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@leafygreen-ui/palette")):"function"==typeof define&&define.amd?define(["exports","@leafygreen-ui/palette"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@leafygreen-ui/tokens"]={},e["@leafygreen-ui/palette"])}(this,(function(e,t){"use strict";function i(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var n,o,a={Dark:"dark",Light:"light"},r=(i(n={},a.Light,{default:"0 0 0 2px ".concat(t.palette.white,", 0 0 0 4px ").concat(t.palette.blue.light1),input:"0 0 0 3px ".concat(t.palette.blue.light1)}),i(n,a.Dark,{default:"0 0 0 2px ".concat(t.palette.black,", 0 0 0 4px ").concat(t.palette.blue.light1),input:"0 0 0 3px ".concat(t.palette.blue.light1)}),n),l=(i(o={},a.Light,{gray:"0 0 0 3px ".concat(t.palette.gray.light2),green:"0 0 0 3px ".concat(t.palette.green.light2),red:"0 0 0 3px ".concat(t.palette.red.light2)}),i(o,a.Dark,{gray:"0 0 0 3px ".concat(t.palette.gray.dark2),green:"0 0 0 3px ".concat(t.palette.green.dark3),red:"0 0 0 3px ".concat(t.palette.yellow.dark3)}),o),c={Body1:13,Body2:16},p={body1:{fontSize:c.Body1,lineHeight:20},body2:{fontSize:c.Body2,lineHeight:28},code1:{fontSize:13,lineHeight:20},code2:{fontSize:15,lineHeight:24},disclaimer:{fontSize:12,lineHeight:20},large:{fontSize:18,lineHeight:22}};e.BaseFontSize=c,e.Mode=a,e.breakpoints={Mobile:320,Tablet:768,Desktop:1024,XLDesktop:1440},e.focusRing=r,e.fontFamilies={default:"'Euclid Circular A', 'Helvetica Neue', Helvetica, Arial, sans-serif",serif:"'MongoDB Value Serif', 'Times New Roman', serif",code:"'Source Code Pro', Menlo, monospace"},e.fontWeights={regular:400,medium:500,bold:700},e.hoverRing=l,e.spacing={1:4,2:8,3:16,4:24,5:32,6:64,7:88},e.transitionDuration={faster:100,default:150,slower:300,slowest:500},e.typeScales=p})); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@leafygreen-ui/tokens", | ||
"version": "2.1.1", | ||
"version": "3.0.0-alpha.0", | ||
"description": "leafyGreen UI Kit Tokens", | ||
@@ -16,3 +16,4 @@ "main": "./dist/index.js", | ||
"scripts": { | ||
"build": "../../node_modules/.bin/rollup --config ../../rollup.config.js" | ||
"build": "rollup --config rollup.config.mjs", | ||
"tsc": "tsc --build tsconfig.json" | ||
}, | ||
@@ -24,7 +25,8 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@leafygreen-ui/palette": "^4.0.4" | ||
"@leafygreen-ui/palette": "^5.0.0-alpha.0" | ||
}, | ||
"devDependencies": { | ||
"@leafygreen-ui/emotion": "^4.0.4", | ||
"lodash": "^4.17.21" | ||
"@leafygreen-ui/emotion": "^5.0.0-alpha.0", | ||
"lodash": "^4.17.21", | ||
"@leafygreen-ui/lib": "^11.0.0-alpha.0" | ||
}, | ||
@@ -39,2 +41,2 @@ "homepage": "https://github.com/mongodb/leafygreen-ui/tree/main/packages/tokens", | ||
} | ||
} | ||
} |
{ | ||
"extends": "../../package.tsconfig.json", | ||
"compilerOptions": { | ||
"extends": "@lg-tools/build/config/package.tsconfig.json", | ||
"compilerOptions": { | ||
"declarationDir": "dist", | ||
"outDir": "dist", | ||
"rootDir": "src" | ||
"rootDir": "src", | ||
"baseUrl": ".", | ||
"paths": { | ||
"@leafygreen-ui/icon/dist/*": ["../icon/src/generated/*"], | ||
"@leafygreen-ui/*": ["../*/src"] | ||
} | ||
}, | ||
@@ -11,2 +16,3 @@ "include": [ | ||
], | ||
"exclude": ["**/*.spec.*", "**/*.story.*"], | ||
"references": [ | ||
@@ -13,0 +19,0 @@ { |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
44
81698
3
499
2
1
+ Added@leafygreen-ui/palette@5.0.0-alpha.1(transitive)
- Removed@leafygreen-ui/palette@4.1.1(transitive)