@pandacss/types 0.0.0-dev-20230503210841 → 0.0.0-dev-20230503230343

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 +18 -3
  2. package/package.json +2 -2
package/dist/config.d.ts CHANGED
@@ -56,14 +56,17 @@ export type GenericConfig<RecipeVariants, PatternProps> = Omit<Config, 'theme' |
56
56
  export type Config = {
57
57
  /**
58
58
  * Whether to emit the artifacts to `node_modules` as a package.
59
+ * @default false
59
60
  */
60
61
  emitPackage?: boolean
61
62
  /**
62
63
  * The namespace prefix for the generated css classes and css variables.
64
+ * @default ''
63
65
  */
64
66
  prefix?: string
65
67
  /**
66
68
  * Whether to update the .gitignore file.
69
+ * @default 'true'
67
70
  */
68
71
  gitignore?: boolean
69
72
  /**
@@ -73,10 +76,12 @@ export type Config = {
73
76
  separator?: '_' | '=' | '-'
74
77
  /**
75
78
  * Used to customize the design system studio
79
+ * @default { title: 'Panda', logo: '🐼' }
76
80
  */
77
81
  studio?: Partial<Studio>
78
82
  /**
79
83
  * The log level for the built-in logger.
84
+ * @default 'info'
80
85
  */
81
86
  logLevel?: 'debug' | 'info' | 'warn' | 'error' | 'silent'
82
87
  /**
@@ -85,31 +90,38 @@ export type Config = {
85
90
  presets?: (string | Preset)[]
86
91
  /**
87
92
  * Whether to include css reset styles in the generated css.
93
+ * @default true
88
94
  */
89
95
  preflight?: boolean
90
96
  /**
91
97
  * Whether to optimize the generated css.
98
+ * @default true
92
99
  */
93
100
  optimize?: boolean
94
101
  /**
95
102
  * Whether to minify the generated css.
103
+ * @default false
96
104
  */
97
105
  minify?: boolean
98
106
  /**
99
107
  * The current working directory.
108
+ * @default 'process.cwd()'
100
109
  */
101
110
  cwd?: string
102
111
  /**
103
112
  * Whether to hash the generated class names.
104
113
  * This is useful if want to shorten the class names.
114
+ * @default false
105
115
  */
106
116
  hash?: boolean
107
117
  /**
108
118
  * Whether to clean the output directory before generating the css.
119
+ * @default false
109
120
  */
110
121
  clean?: boolean
111
122
  /**
112
123
  * The output directory.
124
+ * @default 'styled-system'
113
125
  */
114
126
  outdir?: string
115
127
  /**
@@ -118,19 +130,23 @@ export type Config = {
118
130
  */
119
131
  cssVarRoot?: string
120
132
  /**
121
- * Files to watch for changes.
133
+ * List of files glob to watch for changes.
134
+ * @default []
122
135
  */
123
136
  include?: string[]
124
137
  /**
125
- * Files to ignore.
138
+ * List of files glob to ignore.
139
+ * @default []
126
140
  */
127
141
  exclude?: string[]
128
142
  /**
129
143
  * Whether to watch for changes and regenerate the css.
144
+ * @default false
130
145
  */
131
146
  watch?: boolean
132
147
  /**
133
148
  * Whether to use polling instead of filesystem events when watching.
149
+ * @default false
134
150
  */
135
151
  poll?: boolean
136
152
  /**
@@ -156,7 +172,6 @@ export type Config = {
156
172
  patterns?: Extendable<Record<string, AnyPatternConfig>>
157
173
  /**
158
174
  * The framework to use for generating supercharged elements.
159
- * @default 'react'
160
175
  */
161
176
  jsxFramework?: 'react' | 'solid' | 'preact' | 'vue'
162
177
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20230503210841",
3
+ "version": "0.0.0-dev-20230503230343",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",
@@ -16,7 +16,7 @@
16
16
  "csstype": "3.1.2"
17
17
  },
18
18
  "dependencies": {
19
- "@pandacss/extractor": "0.0.0-dev-20230503210841"
19
+ "@pandacss/extractor": "0.0.0-dev-20230503230343"
20
20
  },
21
21
  "scripts": {
22
22
  "build": "tsx scripts/build.ts",