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

@pandacss/shared

Package Overview
Dependencies
Maintainers
1
Versions
1143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pandacss/shared - npm Package Compare versions

Comparing version 0.0.0-dev-20221125142901 to 0.0.0-dev-20221125162640

dist/walk-styles-622088f0.d.ts

4

dist/index.d.ts

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

import { W as WalkObjectStopFn } from './walk-styles-747d3c0e.js';
export { M as MappedObject, d as WalkObjectOptions, W as WalkObjectStopFn, c as createCss, f as filterBaseConditions, i as isBaseCondition, a as isImportant, m as mapObject, t as toHash, e as walkObject, g as walkStyles, w as withoutImportant, b as withoutSpace } from './walk-styles-747d3c0e.js';
import { W as WalkObjectStopFn } from './walk-styles-622088f0.js';
export { M as MappedObject, d as WalkObjectOptions, W as WalkObjectStopFn, c as createCss, f as filterBaseConditions, i as isBaseCondition, a as isImportant, m as mapObject, t as toHash, e as walkObject, g as walkStyles, w as withoutImportant, b as withoutSpace } from './walk-styles-622088f0.js';

@@ -4,0 +4,0 @@ declare const isString: (v: any) => v is string;

@@ -179,3 +179,9 @@ "use strict";

function createCss(context) {
const { transform, hash, conditions: conds = { shift: (v) => v }, resolveShorthand, hasShorthand } = context;
const {
transform,
hash,
conditions: conds = { shift: (v) => v, finalize: (v) => v },
resolveShorthand,
hasShorthand
} = context;
return (styleObject) => {

@@ -196,3 +202,3 @@ const normalizedObject = hasShorthand ? walkObject(styleObject, (v) => v, { getKey: resolveShorthand }) : styleObject;

}
const baseArray = [...conditions, transformedClassName];
const baseArray = [...conds.finalize(conditions), transformedClassName];
if (scope && scope.length > 0) {

@@ -199,0 +205,0 @@ baseArray.unshift(`[${withoutSpace(scope.join("__"))}]`);

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

export { M as MappedObject, d as WalkObjectOptions, W as WalkObjectStopFn, c as createCss, f as filterBaseConditions, i as isBaseCondition, m as mapObject, t as toHash, e as walkObject, g as walkStyles, b as withoutSpace } from './walk-styles-747d3c0e.js';
export { M as MappedObject, d as WalkObjectOptions, W as WalkObjectStopFn, c as createCss, f as filterBaseConditions, i as isBaseCondition, m as mapObject, t as toHash, e as walkObject, g as walkStyles, b as withoutSpace } from './walk-styles-622088f0.js';

@@ -129,3 +129,9 @@ "use strict";

function createCss(context) {
const { transform, hash, conditions: conds = { shift: (v) => v }, resolveShorthand, hasShorthand } = context;
const {
transform,
hash,
conditions: conds = { shift: (v) => v, finalize: (v) => v },
resolveShorthand,
hasShorthand
} = context;
return (styleObject) => {

@@ -146,3 +152,3 @@ const normalizedObject = hasShorthand ? walkObject(styleObject, (v) => v, { getKey: resolveShorthand }) : styleObject;

}
const baseArray = [...conditions, transformedClassName];
const baseArray = [...conds.finalize(conditions), transformedClassName];
if (scope && scope.length > 0) {

@@ -149,0 +155,0 @@ baseArray.unshift(`[${withoutSpace(scope.join("__"))}]`);

{
"name": "@pandacss/shared",
"version": "0.0.0-dev-20221125142901",
"version": "0.0.0-dev-20221125162640",
"description": "Shared utilities for css panda",

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

Sorry, the diff of this file is not supported yet

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