@leafygreen-ui/tokens
Advanced tools
Comparing version 0.1.1 to 0.2.0
# @leafygreen-ui/tokens | ||
## 0.2.0 | ||
### Minor Changes | ||
- 6ca8fe6: Updates spacing to numerical rather than string values and exports as const so that consumers can see the values | ||
## 0.1.1 | ||
@@ -4,0 +10,0 @@ |
@@ -1,2 +0,2 @@ | ||
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}("undefined"!=typeof self?self:this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"spacing",{enumerable:!0,get:function(){return o.default}});var n,o=(n=r(1))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={1:"4px",2:"8px",3:"16px",4:"24px",5:"32px",6:"64px",7:"88px"};t.default=n}])})); | ||
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}("undefined"!=typeof self?self:this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"spacing",{enumerable:!0,get:function(){return o.default}});var n,o=(n=r(1))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={1:4,2:8,3:16,4:24,5:32,6:64,7:88};t.default=n}])})); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@leafygreen-ui/tokens", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "leafyGreen UI Kit Tokens", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -32,10 +32,10 @@ # Tokens | ||
* const spacing = { | ||
* 1: '4px', | ||
* 2: '8px', | ||
* 3: '16px', | ||
* 4: '24px', | ||
* 5: '32px', | ||
* 6: '64px', | ||
* 7: '88px', | ||
* }; | ||
* 1: 4, | ||
* 2: 8, | ||
* 3: 16, | ||
* 4: 24, | ||
* 5: 32, | ||
* 6: 64, | ||
* 7: 88, | ||
* } as const; | ||
*/ | ||
@@ -42,0 +42,0 @@ |
const spacing = { | ||
1: '4px', | ||
2: '8px', | ||
3: '16px', | ||
4: '24px', | ||
5: '32px', | ||
6: '64px', | ||
7: '88px', | ||
}; | ||
1: 4, | ||
2: 8, | ||
3: 16, | ||
4: 24, | ||
5: 32, | ||
6: 64, | ||
7: 88, | ||
} as const; | ||
export default spacing; |
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
279625
20
119