@pandacss/types 0.4.0 → 0.5.0

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
@@ -161,6 +161,11 @@ type CssgenOptions = {
161
161
  * Used to generate css utility classes for your project.
162
162
  */
163
163
  staticCss?: StaticCssOptions
164
+ /**
165
+ * The css syntax kind to use
166
+ * @default 'object-literal'
167
+ */
168
+ syntax?: 'template-literal' | 'object-literal'
164
169
  }
165
170
 
166
171
  type CodegenOptions = {
@@ -201,6 +206,11 @@ type PresetOptions = {
201
206
  * Used to create reusable config presets for your project or team.
202
207
  */
203
208
  presets?: (string | Preset | Promise<Preset>)[]
209
+ /**
210
+ * Whether to opt-out of the defaults config presets: [`@pandacss/preset-base`, `@pandacss/preset-panda`]
211
+ * @default 'false'
212
+ */
213
+ eject?: boolean
204
214
  }
205
215
 
206
216
  type HooksOptions = {
package/dist/parser.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import type { BoxNodeMap, Unboxed } from '@pandacss/extractor'
1
+ import type { BoxNodeMap, BoxNodeLiteral, Unboxed } from '@pandacss/extractor'
2
2
 
3
3
  export type ResultItem = {
4
4
  name?: string
5
5
  data: Array<Unboxed['raw']>
6
6
  type?: 'object' | 'cva' | 'pattern' | 'recipe' | 'jsx-factory' | 'jsx-pattern' | 'jsx-recipe' | 'jsx'
7
- box: BoxNodeMap
7
+ box: BoxNodeMap | BoxNodeLiteral
8
8
  }
9
9
 
10
10
  export type ParserResultType = {
package/dist/pattern.d.ts CHANGED
@@ -31,7 +31,7 @@ export type PatternConfig<T extends PatternProperties = PatternProperties> = {
31
31
  /**
32
32
  * The properties of the pattern.
33
33
  */
34
- properties: T
34
+ properties?: T
35
35
  /**
36
36
  * The css object this pattern will generate.
37
37
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",
@@ -15,8 +15,8 @@
15
15
  "chokidar-cli": "^3.0.0",
16
16
  "csstype": "3.1.2",
17
17
  "hookable": "5.5.3",
18
- "@pandacss/extractor": "0.4.0",
19
- "@pandacss/token-dictionary": "0.4.0"
18
+ "@pandacss/extractor": "0.5.0",
19
+ "@pandacss/token-dictionary": "0.5.0"
20
20
  },
21
21
  "scripts": {
22
22
  "build": "tsx scripts/build.ts",