@pandacss/core
Advanced tools
Comparing version 0.0.0-dev-20240327215140 to 0.0.0-dev-20240328120054
@@ -5,3 +5,3 @@ import * as _pandacss_shared from '@pandacss/shared'; | ||
import * as _pandacss_types from '@pandacss/types'; | ||
import { AtRuleCondition, ConditionDetails, ConditionQuery, Conditions as Conditions$1, ThemeVariantsMap, GlobalVarsDefinition, Dict, ResultItem, StyleEntry, StyleResultObject, StyleProps, SlotRecipeDefinition, RecipeConfig, PartialBy, EncoderJson, AtomicStyleResult, RecipeBaseResult, GroupedResult, SystemStyleObject, AtomicRule, RecipeDefinition, AtomicRecipeRule, RecipeVariantsRule, ImportMapOutput, ImportMapInput, CascadeLayers, CascadeLayer, SlotRecipeConfig, ArtifactFilters, PatternHelpers, UserConfig, HashOptions, Config, TSConfig, LoadConfigResult, UtilityConfig, PropertyConfig, PatternConfig, StaticCssOptions, RequiredBy, StudioOptions, PandaHooks, PrefixOptions, Theme } from '@pandacss/types'; | ||
import { AtRuleCondition, ConditionDetails, ConditionQuery, Conditions as Conditions$1, ThemeVariantsMap, GlobalVarsDefinition, Dict, ResultItem, StyleEntry, StyleResultObject, StyleProps, SlotRecipeDefinition, RecipeConfig, PartialBy, EncoderJson, AtomicStyleResult, RecipeBaseResult, GroupedResult, SystemStyleObject, AtomicRule, RecipeDefinition, AtomicRecipeRule, RecipeVariantsRule, ImportMapOutput, UserConfig, ImportMapInput, CascadeLayers, CascadeLayer, SlotRecipeConfig, ArtifactFilters, PatternHelpers, HashOptions, Config, TSConfig, LoadConfigResult, UtilityConfig, PropertyConfig, PatternConfig, StaticCssOptions, RequiredBy, StudioOptions, PandaHooks, PrefixOptions, Theme } from '@pandacss/types'; | ||
import postcss, { Root, AtRule } from 'postcss'; | ||
@@ -308,3 +308,3 @@ import { Stylesheet as Stylesheet$1, CssOptions as CssOptions$1 } from '@pandacss/core'; | ||
interface ImportMatcher { | ||
mod: string; | ||
mods: string[]; | ||
regex: RegExp; | ||
@@ -316,5 +316,37 @@ match(value: string): boolean; | ||
value: ImportMapOutput<string>; | ||
matchers: Record<keyof ImportMapOutput<string[]>, ImportMatcher>; | ||
matchers: Record<keyof ImportMapOutput<string>, ImportMatcher>; | ||
outdir: string; | ||
constructor(context: Pick<Context, 'jsx' | 'config' | 'conf' | 'isValidProperty' | 'recipes' | 'patterns'>); | ||
/** | ||
* Normalize one/many import map inputs to a single import map output with absolute paths. | ||
* @example | ||
* ```ts | ||
* importMap: '@acme/org' | ||
* ``` | ||
* | ||
* will be normalized to | ||
* ```ts | ||
* { | ||
* css: ['@acme/org/css'], | ||
* recipe: ['@acme/org/recipes'], | ||
* pattern: ['@acme/org/patterns'], | ||
* jsx: ['@acme/org/jsx'], | ||
* } | ||
* ``` | ||
* | ||
* @exammple | ||
* importMap: ['@acme/org', '@foo/org', '@bar/org'] | ||
* ``` | ||
* | ||
* will be normalized to | ||
* ```ts | ||
* { | ||
* css: ['@acme/org/css', '@foo/org/css', '@bar/org/css'], | ||
* recipe: ['@acme/org/recipes', '@foo/org/recipes', '@bar/org/recipes'], | ||
* pattern: ['@acme/org/patterns', '@foo/org/patterns', '@bar/org/patterns'], | ||
* jsx: ['@acme/org/jsx', '@foo/org/jsx', '@bar/org/jsx'], | ||
* } | ||
* ``` | ||
*/ | ||
buildImportMap: (option: UserConfig['importMap']) => ImportMapOutput<string>; | ||
private fromString; | ||
@@ -321,0 +353,0 @@ private fromInput; |
{ | ||
"name": "@pandacss/core", | ||
"version": "0.0.0-dev-20240327215140", | ||
"version": "0.0.0-dev-20240328120054", | ||
"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-20240327215140", | ||
"@pandacss/logger": "0.0.0-dev-20240327215140", | ||
"@pandacss/shared": "0.0.0-dev-20240327215140", | ||
"@pandacss/token-dictionary": "0.0.0-dev-20240327215140", | ||
"@pandacss/types": "0.0.0-dev-20240327215140" | ||
"@pandacss/is-valid-prop": "^0.0.0-dev-20240328120054", | ||
"@pandacss/logger": "0.0.0-dev-20240328120054", | ||
"@pandacss/shared": "0.0.0-dev-20240328120054", | ||
"@pandacss/token-dictionary": "0.0.0-dev-20240328120054", | ||
"@pandacss/types": "0.0.0-dev-20240328120054" | ||
}, | ||
@@ -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
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
298577
8131
+ Added@pandacss/logger@0.0.0-dev-20240328120054(transitive)
+ Added@pandacss/shared@0.0.0-dev-20240328120054(transitive)
+ Added@pandacss/token-dictionary@0.0.0-dev-20240328120054(transitive)
+ Added@pandacss/types@0.0.0-dev-20240328120054(transitive)
- Removed@pandacss/logger@0.0.0-dev-20240327215140(transitive)
- Removed@pandacss/shared@0.0.0-dev-20240327215140(transitive)
- Removed@pandacss/token-dictionary@0.0.0-dev-20240327215140(transitive)
- Removed@pandacss/types@0.0.0-dev-20240327215140(transitive)