@pandacss/core
Advanced tools
Comparing version 0.0.0-dev-20240413152357 to 0.0.0-dev-20240419031424
import * as _pandacss_shared from '@pandacss/shared'; | ||
import { toHash } from '@pandacss/shared'; | ||
import { CacheMap, toHash } from '@pandacss/shared'; | ||
import { TokenDictionary } from '@pandacss/token-dictionary'; | ||
@@ -175,5 +175,5 @@ import * as _pandacss_types from '@pandacss/types'; | ||
classNames: Map<string, AtomicStyleResult | RecipeBaseResult>; | ||
atomic_cache: Map<string, AtomicStyleResult>; | ||
group_cache: Map<string, GroupedResult>; | ||
recipe_base_cache: Map<string, RecipeBaseResult>; | ||
atomic_cache: CacheMap<string, AtomicStyleResult>; | ||
group_cache: CacheMap<string, GroupedResult>; | ||
recipe_base_cache: CacheMap<string, RecipeBaseResult>; | ||
atomic: Set<AtomicStyleResult>; | ||
@@ -252,3 +252,3 @@ recipes: Map<string, Set<AtomicStyleResult>>; | ||
get configDependencies(): string[]; | ||
get classNames(): Map<string, string>; | ||
get classNames(): _pandacss_shared.CacheMap<string, string>; | ||
get generatedClassNames(): Map<string, _pandacss_types.AtomicStyleResult | _pandacss_types.RecipeBaseResult>; | ||
@@ -537,9 +537,9 @@ } | ||
/** | ||
* The map of property names to their resolved class names | ||
* [cache] The map of property names to their resolved class names | ||
*/ | ||
classNames: Map<string, string>; | ||
classNames: CacheMap<string, string>; | ||
/** | ||
* The map of the property to their resolved styless | ||
* [cache] The map of the property to their resolved styless | ||
*/ | ||
styles: Map<string, Dict>; | ||
styles: CacheMap<string, Dict>; | ||
/** | ||
@@ -562,6 +562,2 @@ * Map of shorthand properties to their longhand properties | ||
/** | ||
* Useful for reporting custom values | ||
*/ | ||
customValues: Map<string, string>; | ||
/** | ||
* The map of property names to their transform functions | ||
@@ -603,2 +599,3 @@ */ | ||
} | undefined; | ||
getPropertyRawValue(config: PropertyConfig, value: string): string; | ||
getToken: (path: string) => string; | ||
@@ -612,2 +609,4 @@ getTokenCategoryValues: (category: string) => Record<string, string> | undefined; | ||
private assignProperties; | ||
assignPropertiesValues: () => this; | ||
private assignPropertyValues; | ||
getPropertyKeys: (prop: string) => string[]; | ||
@@ -628,11 +627,11 @@ getPropertyTypeKeys: (property: string) => string[]; | ||
formatClassName: (className: string) => string; | ||
private setClassName; | ||
/** | ||
* Whether a given property exists in the config | ||
* Returns the resolved className for a given property and value | ||
*/ | ||
private isProperty; | ||
getClassName: (property: string, raw: string) => string; | ||
getOrCreateClassName: (property: string, raw: string) => string; | ||
/** | ||
* Returns the resolved className for a given property and value | ||
* Whether a given property exists in the config | ||
*/ | ||
private getOrCreateClassName; | ||
has: (prop: string) => boolean; | ||
/** | ||
@@ -639,0 +638,0 @@ * Get or create the resolved styles for a given property and value |
{ | ||
"name": "@pandacss/core", | ||
"version": "0.0.0-dev-20240413152357", | ||
"version": "0.0.0-dev-20240419031424", | ||
"description": "core functions for extract-it", | ||
@@ -50,7 +50,7 @@ "main": "dist/index.js", | ||
"ts-pattern": "5.0.8", | ||
"@pandacss/is-valid-prop": "^0.0.0-dev-20240413152357", | ||
"@pandacss/logger": "0.0.0-dev-20240413152357", | ||
"@pandacss/shared": "0.0.0-dev-20240413152357", | ||
"@pandacss/token-dictionary": "0.0.0-dev-20240413152357", | ||
"@pandacss/types": "0.0.0-dev-20240413152357" | ||
"@pandacss/is-valid-prop": "^0.0.0-dev-20240419031424", | ||
"@pandacss/logger": "0.0.0-dev-20240419031424", | ||
"@pandacss/shared": "0.0.0-dev-20240419031424", | ||
"@pandacss/token-dictionary": "0.0.0-dev-20240419031424", | ||
"@pandacss/types": "0.0.0-dev-20240419031424" | ||
}, | ||
@@ -57,0 +57,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
304456
8298
+ Added@pandacss/logger@0.0.0-dev-20240419031424(transitive)
+ Added@pandacss/shared@0.0.0-dev-20240419031424(transitive)
+ Added@pandacss/token-dictionary@0.0.0-dev-20240419031424(transitive)
+ Added@pandacss/types@0.0.0-dev-20240419031424(transitive)
- Removed@pandacss/logger@0.0.0-dev-20240413152357(transitive)
- Removed@pandacss/shared@0.0.0-dev-20240413152357(transitive)
- Removed@pandacss/token-dictionary@0.0.0-dev-20240413152357(transitive)
- Removed@pandacss/types@0.0.0-dev-20240413152357(transitive)