@pandacss/types 0.0.0-dev-20240128131310 → 0.0.0-dev-20240128205559
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config.d.ts +10 -1
- package/dist/theme.d.ts +8 -0
- package/dist/tokens.d.ts +1 -0
- package/package.json +2 -2
package/dist/config.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export interface StudioOptions {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
interface Patterns {
|
|
41
|
+
export interface Patterns {
|
|
42
42
|
[pattern: string]: PatternConfig
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -346,6 +346,15 @@ export interface Config
|
|
|
346
346
|
* @default 'false'
|
|
347
347
|
*/
|
|
348
348
|
eject?: boolean
|
|
349
|
+
/**
|
|
350
|
+
* The validation strcictnesss to use when validating the config.
|
|
351
|
+
* - When set to 'none', no validation will be performed.
|
|
352
|
+
* - When set to 'warn', warnings will be logged when validation fails.
|
|
353
|
+
* - When set to 'error', errors will be thrown when validation fails.
|
|
354
|
+
*
|
|
355
|
+
* @default 'error'
|
|
356
|
+
*/
|
|
357
|
+
validation?: 'none' | 'warn' | 'error'
|
|
349
358
|
}
|
|
350
359
|
|
|
351
360
|
export interface Preset extends ExtendableOptions, PresetOptions {}
|
package/dist/theme.d.ts
CHANGED
|
@@ -37,6 +37,14 @@ export interface Theme {
|
|
|
37
37
|
* Multi-variant style definitions for component slots.
|
|
38
38
|
*/
|
|
39
39
|
slotRecipes?: Record<string, SlotRecipeConfig>
|
|
40
|
+
/**
|
|
41
|
+
* The predefined container names for your project.
|
|
42
|
+
*/
|
|
43
|
+
containerNames?: string[]
|
|
44
|
+
/**
|
|
45
|
+
* The predefined container sizes for your project.
|
|
46
|
+
*/
|
|
47
|
+
containerSizes?: Record<string, string>
|
|
40
48
|
}
|
|
41
49
|
|
|
42
50
|
interface PartialTheme extends Omit<Theme, 'recipes' | 'slotRecipes'> {
|
package/dist/tokens.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/types",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20240128205559",
|
|
4
4
|
"description": "The types for css panda",
|
|
5
5
|
"main": "dist/index.d.ts",
|
|
6
6
|
"author": "Segun Adebayo <joseshegs@gmail.com>",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"microdiff": "^1.3.2",
|
|
31
31
|
"ncp": "^2.0.0",
|
|
32
32
|
"pkg-types": "1.0.3",
|
|
33
|
-
"@pandacss/extractor": "0.0.0-dev-
|
|
33
|
+
"@pandacss/extractor": "0.0.0-dev-20240128205559"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"dev": "tsx scripts/watch.ts",
|