@loadsmart/miranda-tokens
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -1,1 +0,1 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("./loadsmart.theme-50d51db9.js");function t(t){return r.LoadsmartTheme[t]}function e(r){var e=t(r);return null==e?e:"--m-".concat(r)}var o=Object.keys(r.LoadsmartTheme).filter((function(r){return!r.startsWith("brand-")&&!r.startsWith("platform-")}));function n(r){return o.filter((function(t){return t.startsWith(r)}))}var a=n("color-"),s=n("color-background-"),c=n("spacing-"),O=function(r,t,e){if(e||2===arguments.length)for(var o,n=0,a=t.length;n<a;n++)!o&&n in t||(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return r.concat(o||Array.prototype.slice.call(t))}(["none"],c,!0),i=n("font-family-"),l=n("font-size-"),p=n("font-weight-"),T=n("line-height-"),E=n("border-"),N=n("border-radius-"),_=n("opacity-"),u=n("elevation-"),S=n("glow-"),x=n("global-");exports.BACKGROUND_COLOR_TOKENS=s,exports.BORDER_RADIUS_TOKENS=N,exports.BORDER_TOKENS=E,exports.BORDER_WIDTH_TOKENS=["border-none","border-thin","border-medium","border-thick"],exports.COLOR_TOKENS=a,exports.ELEVATION_TOKENS=u,exports.FONT_FAMILY_TOKENS=i,exports.FONT_SIZE_TOKENS=l,exports.FONT_WEIGHT_TOKENS=p,exports.GLOBAL_TOKENS=x,exports.GLOW_TOKENS=S,exports.LINE_HEIGHT_TOKENS=T,exports.OPACITY_TOKENS=_,exports.SPACING_TOKENS=c,exports.SPACING_TOKENS_WITH_NONE=O,exports.TOKENS=o,exports.getToken=t,exports.toCSSValue=function(r,o){var n=t(r);return null==n?"":r.startsWith("color-")?"rgba(var(".concat(e(r),", ").concat(n,"), ").concat(null!=o?o:1,")"):"var(".concat(e(r),", ").concat(n,")")},exports.toCSSVariable=e; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("./loadsmart.theme-5f1620e9.js");function t(t){return r.LoadsmartTheme[t]}function e(r){var e=t(r);return null==e?e:"--m-".concat(r)}var o=Object.keys(r.LoadsmartTheme).filter((function(r){return!r.startsWith("brand-")&&!r.startsWith("platform-")}));function n(r){return o.filter((function(t){return t.startsWith(r)}))}var a=n("color-"),s=n("color-background-"),c=n("spacing-"),O=function(r,t,e){if(e||2===arguments.length)for(var o,n=0,a=t.length;n<a;n++)!o&&n in t||(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return r.concat(o||Array.prototype.slice.call(t))}(["none"],c,!0),i=n("font-family-"),l=n("font-size-"),p=n("font-weight-"),T=n("line-height-"),E=n("border-"),N=n("border-radius-"),_=n("opacity-"),u=n("elevation-"),S=n("glow-"),x=n("global-");exports.BACKGROUND_COLOR_TOKENS=s,exports.BORDER_RADIUS_TOKENS=N,exports.BORDER_TOKENS=E,exports.BORDER_WIDTH_TOKENS=["border-none","border-thin","border-medium","border-thick"],exports.COLOR_TOKENS=a,exports.ELEVATION_TOKENS=u,exports.FONT_FAMILY_TOKENS=i,exports.FONT_SIZE_TOKENS=l,exports.FONT_WEIGHT_TOKENS=p,exports.GLOBAL_TOKENS=x,exports.GLOW_TOKENS=S,exports.LINE_HEIGHT_TOKENS=T,exports.OPACITY_TOKENS=_,exports.SPACING_TOKENS=c,exports.SPACING_TOKENS_WITH_NONE=O,exports.TOKENS=o,exports.getToken=t,exports.toCSSValue=function(r,o){var n=t(r);return null==n?"":r.startsWith("color-")?"rgba(var(".concat(e(r),", ").concat(n,"), ").concat(null!=o?o:1,")"):"var(".concat(e(r),", ").concat(n,")")},exports.toCSSVariable=e; |
@@ -1,1 +0,1 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./loadsmart.theme-50d51db9.js");exports.LoadsmartTheme=e.LoadsmartTheme; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./loadsmart.theme-5f1620e9.js");exports.LoadsmartTheme=e.LoadsmartTheme; |
/** | ||
* Do not edit directly | ||
* Generated on Tue, 25 Apr 2023 15:30:35 GMT | ||
* Generated on Wed, 03 May 2023 17:10:10 GMT | ||
*/ | ||
@@ -5,0 +5,0 @@ declare const _default: { |
{ | ||
"name": "@loadsmart/miranda-tokens", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "Design tokens for the Miranda Design System", | ||
"main": "dist/index.js", | ||
"types": "dist", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
@@ -13,3 +13,3 @@ "dist/*" | ||
"build-tokens": "node ./src/scripts/build-tokens.js", | ||
"build": "npm run build-tokens && rollup -c --environment BUILD:prod", | ||
"build": "npm run build-tokens && rollup --config rollup.config.ts --configPlugin typescript --environment BUILD:prod", | ||
"test": "jest", | ||
@@ -16,0 +16,0 @@ "release": "semantic-release", |
Sorry, the diff of this file is not supported yet
30594