@pandacss/types 0.0.0-dev-20230125122503 → 0.0.0-dev-20230125142353

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 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/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export type { ConditionDetails, ConditionType, Conditions, RawCondition } from './conditions'
2
- export type { Config, UserConfig } from './config'
2
+ export type { Config, Preset, UserConfig } from './config'
3
3
  export type { PropertyConfig, PropertyTransform, PropertyValues, UtilityConfig } from './utility'
4
4
  export type { SystemStyleObject, CssKeyframes, GlobalStyleObject } from './system-types'
5
5
  export type { PatternConfig, PatternProperty, PatternHelpers } from './pattern'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20230125122503",
3
+ "version": "0.0.0-dev-20230125142353",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",