@pandacss/types 0.11.0 → 0.11.1

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
@@ -10,6 +10,10 @@ import type { UtilityConfig } from './utility'
10
10
 
11
11
  export type { TSConfig }
12
12
 
13
+ export type CascadeLayer = 'reset' | 'base' | 'tokens' | 'recipes' | 'utilities'
14
+
15
+ export type CascadeLayers = Record<CascadeLayer, string>
16
+
13
17
  type StudioOptions = {
14
18
  /**
15
19
  * Used to customize the design system studio
@@ -226,6 +230,11 @@ type CodegenOptions = {
226
230
  * @default 'true'
227
231
  */
228
232
  shorthands?: boolean
233
+ /**
234
+ * Layer mappings used in the generated css.
235
+ * @default 'true'
236
+ */
237
+ layers?: Partial<CascadeLayers>
229
238
  }
230
239
 
231
240
  type PresetOptions = {
package/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@ export type {
9
9
  } from './analyze-report'
10
10
  export type { CompositionStyles, LayerStyles, TextStyles } from './composition'
11
11
  export type { ConditionDetails, ConditionType, Conditions, RawCondition } from './conditions'
12
- export type { Config, ConfigTsOptions, LoadConfigResult, Preset, UserConfig, TSConfig } from './config'
12
+ export type { Config, ConfigTsOptions, LoadConfigResult, Preset, UserConfig, TSConfig, CascadeLayers } from './config'
13
13
  export type { ConfigResultWithHooks, PandaHooks, PandaHookable } from './hooks'
14
14
  export type { ParserResultType, ResultItem } from './parser'
15
15
  export type { Part, Parts } from './parts'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",
@@ -17,7 +17,7 @@
17
17
  "hookable": "5.5.3",
18
18
  "ncp": "^2.0.0",
19
19
  "pkg-types": "1.0.3",
20
- "@pandacss/extractor": "0.11.0"
20
+ "@pandacss/extractor": "0.11.1"
21
21
  },
22
22
  "scripts": {
23
23
  "build": "tsx scripts/build.ts",