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
1132
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-20221122153914 to 0.0.0-dev-20221123192035

dist/walk-styles-747d3c0e.d.ts

4

dist/index.d.ts

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

import { W as WalkObjectStopFn } from './walk-styles-90a9feaa.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-90a9feaa.js';
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';

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

@@ -154,4 +154,10 @@ "use strict";

// src/walk-styles.ts
function walkStyles(obj, fn, scopes = []) {
const { selectors = {}, "@media": mediaQueries = {}, "@container": containerQueries = {}, ...baseStyles } = obj;
function walkStyles(mixedStyles, fn, scopes = []) {
const {
selectors = {},
"@media": mediaQueries = {},
"@container": containerQueries = {},
"@supports": supportQueries,
...baseStyles
} = mixedStyles;
fn(baseStyles, scopes);

@@ -167,2 +173,5 @@ for (const [selector, selectorStyles] of Object.entries(selectors)) {

}
for (const [supportQuery, supportQueryStyles] of Object.entries(supportQueries)) {
walkStyles(supportQueryStyles, fn, [...scopes, `@supports ${supportQuery}`]);
}
}

@@ -169,0 +178,0 @@

@@ -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-90a9feaa.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-747d3c0e.js';

@@ -104,4 +104,10 @@ "use strict";

// src/walk-styles.ts
function walkStyles(obj, fn, scopes = []) {
const { selectors = {}, "@media": mediaQueries = {}, "@container": containerQueries = {}, ...baseStyles } = obj;
function walkStyles(mixedStyles, fn, scopes = []) {
const {
selectors = {},
"@media": mediaQueries = {},
"@container": containerQueries = {},
"@supports": supportQueries,
...baseStyles
} = mixedStyles;
fn(baseStyles, scopes);

@@ -117,2 +123,5 @@ for (const [selector, selectorStyles] of Object.entries(selectors)) {

}
for (const [supportQuery, supportQueryStyles] of Object.entries(supportQueries)) {
walkStyles(supportQueryStyles, fn, [...scopes, `@supports ${supportQuery}`]);
}
}

@@ -119,0 +128,0 @@

{
"name": "@pandacss/shared",
"version": "0.0.0-dev-20221122153914",
"version": "0.0.0-dev-20221123192035",
"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