New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@loadsmart/miranda-tokens

Package Overview
Dependencies
Maintainers
19
Versions
293
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loadsmart/miranda-tokens - npm Package Compare versions

Comparing version 2.7.1 to 2.7.2

2

dist/index.js

@@ -1,1 +0,1 @@

"use strict";var r=require("./themes.js");function t(r,t){return r.filter((function(r){return r.startsWith(t)}))}function o(r,t){return r.filter((function(r){return!r.startsWith(t)}))}var e=o(o(Object.keys(r.LoadsmartTheme),"brand-"),"platform-"),n=t(e,"color-background-"),a=t(e,"border-radius-"),s=t(e,"border-"),c=t(e,"color-"),O=t(e,"elevation-"),i=t(e,"font-family-"),l=t(e,"font-size-"),T=t(e,"font-weight-"),p=t(e,"global-"),E=t(e,"glow-"),N=t(e,"line-height-"),u=t(e,"opacity-"),S=t(e,"spacing-"),_=function(r,t,o){if(o||2===arguments.length)for(var e,n=0,a=t.length;n<a;n++)!e&&n in t||(e||(e=Array.prototype.slice.call(t,0,n)),e[n]=t[n]);return r.concat(e||Array.prototype.slice.call(t))}(["none"],S,!0);function x(t){return r.LoadsmartTheme[t]}function f(r){var t=x(r);return null==t?t:"--m-".concat(r)}exports.BACKGROUND_COLOR_TOKENS=n,exports.BORDER_RADIUS_TOKENS=a,exports.BORDER_TOKENS=s,exports.BORDER_WIDTH_TOKENS=["border-none","border-thin","border-medium","border-thick"],exports.COLOR_TOKENS=c,exports.ELEVATION_TOKENS=O,exports.FONT_FAMILY_TOKENS=i,exports.FONT_SIZE_TOKENS=l,exports.FONT_WEIGHT_TOKENS=T,exports.GLOBAL_TOKENS=p,exports.GLOW_TOKENS=E,exports.LINE_HEIGHT_TOKENS=N,exports.OPACITY_TOKENS=u,exports.SPACING_TOKENS=S,exports.SPACING_TOKENS_WITH_NONE=_,exports.TOKENS=e,exports.getToken=x,exports.toCSSValue=function(r,t){var o=x(r);return null==o?"":r.startsWith("color-")?"rgba(var(".concat(f(r),", ").concat(o,"), ").concat(null!=t?t:1,")"):"var(".concat(f(r),", ").concat(o,")")},exports.toCSSVariable=f;
"use strict";var r=require("./themes.js");function t(r,t){return r.filter((function(r){return r.startsWith(t)}))}function o(r,t){return r.filter((function(r){return!r.startsWith(t)}))}"function"==typeof SuppressedError&&SuppressedError;var e=o(o(Object.keys(r.LoadsmartTheme),"brand-"),"platform-"),n=t(e,"color-background-"),s=t(e,"border-radius-"),a=t(e,"border-"),c=t(e,"color-"),i=t(e,"elevation-"),O=t(e,"font-family-"),p=t(e,"font-size-"),l=t(e,"font-weight-"),u=t(e,"global-"),E=t(e,"glow-"),T=t(e,"line-height-"),N=t(e,"opacity-"),S=t(e,"spacing-"),_=function(r,t,o){if(o||2===arguments.length)for(var e,n=0,s=t.length;n<s;n++)!e&&n in t||(e||(e=Array.prototype.slice.call(t,0,n)),e[n]=t[n]);return r.concat(e||Array.prototype.slice.call(t))}(["none"],S,!0);function f(t){return r.LoadsmartTheme[t]}function x(r){var t=f(r);return null==t?t:"--m-".concat(r)}exports.BACKGROUND_COLOR_TOKENS=n,exports.BORDER_RADIUS_TOKENS=s,exports.BORDER_TOKENS=a,exports.BORDER_WIDTH_TOKENS=["border-none","border-thin","border-medium","border-thick"],exports.COLOR_TOKENS=c,exports.ELEVATION_TOKENS=i,exports.FONT_FAMILY_TOKENS=O,exports.FONT_SIZE_TOKENS=p,exports.FONT_WEIGHT_TOKENS=l,exports.GLOBAL_TOKENS=u,exports.GLOW_TOKENS=E,exports.LINE_HEIGHT_TOKENS=T,exports.OPACITY_TOKENS=N,exports.SPACING_TOKENS=S,exports.SPACING_TOKENS_WITH_NONE=_,exports.TOKENS=e,exports.getToken=f,exports.toCSSValue=function(r,t){var o=f(r);return null==o?"":r.startsWith("color-")?"rgba(var(".concat(x(r),", ").concat(o,"), ").concat(null!=t?t:1,")"):"var(".concat(x(r),", ").concat(o,")")},exports.toCSSVariable=x;
{
"name": "@loadsmart/miranda-tokens",
"version": "2.7.1",
"version": "2.7.2",
"description": "Design tokens for the Miranda Design System",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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