@pandacss/types 0.0.0-dev-20230125112500 → 0.0.0-dev-20230125141042

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.
Files changed (2) hide show
  1. package/dist/config.d.ts +3 -1
  2. package/package.json +1 -1
package/dist/config.d.ts CHANGED
@@ -8,6 +8,8 @@ import type { SemanticTokens, Tokens as PartialTokens } from './tokens'
8
8
  import type { UtilityConfig } from './utility'
9
9
  import type { StaticCssOptions } from './static-css'
10
10
 
11
+ export type Preset = Pick<Config, 'utilities' | 'theme' | 'patterns' | 'presets' | 'conditions'>
12
+
11
13
  type Studio = {
12
14
  title: string
13
15
  logo: string
@@ -46,7 +48,7 @@ export type Config<
46
48
  /**
47
49
  * Used to create reusable config presets for your project or team.
48
50
  */
49
- presets?: string[]
51
+ presets?: (string | Preset)[]
50
52
  /**
51
53
  * Whether to include css reset styles in the generated css.
52
54
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20230125112500",
3
+ "version": "0.0.0-dev-20230125141042",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",