@pandacss/core
Advanced tools
Comparing version 0.0.0-dev-20221122153914 to 0.0.0-dev-20221123192035
@@ -1,2 +0,2 @@ | ||
import { RawCondition, Dict as Dict$1, UtilityConfig, PropertyConfig, TransformHelpers, RecipeConfig } from '@pandacss/types'; | ||
import { RawCondition, Dict, UtilityConfig, PropertyConfig, TransformHelpers, CssKeyframes, RecipeConfig } from '@pandacss/types'; | ||
import * as postcss from 'postcss'; | ||
@@ -62,3 +62,3 @@ import { Root, Rule, AtRule, ChildNode } from 'postcss'; | ||
*/ | ||
styles: Map<string, Dict$1>; | ||
styles: Map<string, Dict>; | ||
/** | ||
@@ -160,3 +160,2 @@ * Map of shorthand properties to their longhand properties | ||
}; | ||
type Dict<T = any> = Record<string, T>; | ||
@@ -178,3 +177,3 @@ declare class ConditionalRule { | ||
type Options = { | ||
conditions: Dict$1<string>; | ||
conditions: Dict<string>; | ||
breakpoints?: Record<string, string>; | ||
@@ -203,5 +202,5 @@ }; | ||
declare function assignCompositions(ctx: SerializeContext, compositions: Dict$1): void; | ||
declare function assignCompositions(ctx: SerializeContext, compositions: Dict): void; | ||
declare function toKeyframeCss(values: Dict): string; | ||
declare function toKeyframeCss(values: CssKeyframes): string; | ||
@@ -241,7 +240,7 @@ declare function optimizeCss(code: string, { minify }?: { | ||
} | undefined); | ||
addGlobalCss: (styleObject: Dict$1) => void; | ||
processGlobalCss: (styleObject: Dict$1) => void; | ||
processSelectorObject(selector: string, styleObject: Dict$1): void; | ||
processObject(styleObject: Dict$1): void; | ||
processAtomic: (styleObject: Dict$1) => void; | ||
addGlobalCss: (styleObject: Dict) => void; | ||
processGlobalCss: (styleObject: Dict) => void; | ||
processSelectorObject(selector: string, styleObject: Dict): void; | ||
processObject(styleObject: Dict): void; | ||
processAtomic: (styleObject: Dict) => void; | ||
processRecipe: (config: RecipeConfig, styles: Record<string, any>) => void; | ||
@@ -248,0 +247,0 @@ toCss: ({ optimize, minify }?: { |
@@ -670,2 +670,3 @@ "use strict"; | ||
} | ||
prettify.postcssPlugin = "panda-prettify"; | ||
@@ -1018,2 +1019,4 @@ // src/optimize.ts | ||
for (const [property, propertyConfig] of Object.entries(this.config)) { | ||
if (!propertyConfig) | ||
continue; | ||
this.assignProperty(property, propertyConfig); | ||
@@ -1041,2 +1044,4 @@ } | ||
for (const [property, propertyConfig] of Object.entries(this.config)) { | ||
if (!propertyConfig) | ||
continue; | ||
this.assignPropertyType(property, propertyConfig); | ||
@@ -1043,0 +1048,0 @@ } |
{ | ||
"name": "@pandacss/core", | ||
"version": "0.0.0-dev-20221122153914", | ||
"version": "0.0.0-dev-20221123192035", | ||
"description": "core functions for extract-it", | ||
@@ -26,11 +26,11 @@ "main": "dist/index.js", | ||
"lodash.merge": "4.6.2", | ||
"@pandacss/error": "0.0.0-dev-20221122153914", | ||
"@pandacss/types": "0.0.0-dev-20221122153914", | ||
"@pandacss/shared": "0.0.0-dev-20221122153914", | ||
"@pandacss/logger": "0.0.0-dev-20221122153914", | ||
"@pandacss/token-dictionary": "0.0.0-dev-20221122153914" | ||
"@pandacss/error": "0.0.0-dev-20221123192035", | ||
"@pandacss/types": "0.0.0-dev-20221123192035", | ||
"@pandacss/shared": "0.0.0-dev-20221123192035", | ||
"@pandacss/logger": "0.0.0-dev-20221123192035", | ||
"@pandacss/token-dictionary": "0.0.0-dev-20221123192035" | ||
}, | ||
"devDependencies": { | ||
"@types/lodash.merge": "4.6.7", | ||
"@pandacss/fixture": "0.0.0-dev-20221122153914" | ||
"@pandacss/fixture": "0.0.0-dev-20221123192035" | ||
}, | ||
@@ -37,0 +37,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74239
2450
+ Added@pandacss/error@0.0.0-dev-20221123192035(transitive)
+ Added@pandacss/logger@0.0.0-dev-20221123192035(transitive)
+ Added@pandacss/shared@0.0.0-dev-20221123192035(transitive)
+ Added@pandacss/token-dictionary@0.0.0-dev-20221123192035(transitive)
+ Added@pandacss/types@0.0.0-dev-20221123192035(transitive)
- Removed@pandacss/error@0.0.0-dev-20221122153914(transitive)
- Removed@pandacss/logger@0.0.0-dev-20221122153914(transitive)
- Removed@pandacss/shared@0.0.0-dev-20221122153914(transitive)
- Removed@pandacss/token-dictionary@0.0.0-dev-20221122153914(transitive)
- Removed@pandacss/types@0.0.0-dev-20221122153914(transitive)