Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pandacss/token-dictionary

Package Overview
Dependencies
Maintainers
0
Versions
1155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pandacss/token-dictionary - npm Package Compare versions

Comparing version 0.49.0 to 0.50.0

13

dist/index.js

@@ -42,6 +42,6 @@ "use strict";

inset: import_ts_pattern.P.optional(import_ts_pattern.P.boolean),
offsetX: import_ts_pattern.P.number,
offsetY: import_ts_pattern.P.number,
blur: import_ts_pattern.P.number,
spread: import_ts_pattern.P.number,
offsetX: import_ts_pattern.P.union(import_ts_pattern.P.number, import_ts_pattern.P.string),
offsetY: import_ts_pattern.P.union(import_ts_pattern.P.number, import_ts_pattern.P.string),
blur: import_ts_pattern.P.union(import_ts_pattern.P.number, import_ts_pattern.P.string),
spread: import_ts_pattern.P.union(import_ts_pattern.P.number, import_ts_pattern.P.string),
color: import_ts_pattern.P.string

@@ -520,2 +520,5 @@ });

}
function px(v) {
return (0, import_shared4.isString)(v) ? v : `${v}px`;
}
var transformShadow = {

@@ -533,3 +536,3 @@ name: "tokens/shadow",

const { offsetX, offsetY, blur, spread, color, inset } = token.value;
return `${inset ? "inset " : ""}${offsetX}px ${offsetY}px ${blur}px ${spread}px ${color}`;
return [inset ? "inset " : "", px(offsetX), px(offsetY), px(blur), px(spread), color].filter(Boolean).join(" ");
}

@@ -536,0 +539,0 @@ return token.value;

{
"name": "@pandacss/token-dictionary",
"version": "0.49.0",
"version": "0.50.0",
"description": "Common error messages for css panda",

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

"ts-pattern": "5.0.8",
"@pandacss/logger": "^0.49.0",
"@pandacss/shared": "0.49.0",
"@pandacss/types": "0.49.0"
"@pandacss/logger": "^0.50.0",
"@pandacss/shared": "0.50.0",
"@pandacss/types": "0.50.0"
},

@@ -41,0 +41,0 @@ "scripts": {

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