@pandacss/types 0.0.0-dev-20230530140607 → 0.0.0-dev-20230530153755

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
@@ -178,7 +178,7 @@ export type Config = {
178
178
  /**
179
179
  * The framework to use for generating supercharged elements.
180
180
  */
181
- jsxFramework?: 'react' | 'solid' | 'preact' | 'vue'
181
+ jsxFramework?: JsxFramework
182
182
  /**
183
183
  * The factory name of the element
184
184
  * @default 'styled'
@@ -204,6 +204,8 @@ export type Config = {
204
204
  outExtension?: 'mjs' | 'js'
205
205
  }
206
206
 
207
+ type JsxFramework = 'react' | 'solid' | 'preact' | 'vue' | 'qwik'
208
+
207
209
  export type UserConfig = UnwrapExtend<RequiredBy<Config, 'outdir' | 'cwd' | 'include'>>
208
210
 
209
211
  export type LoadConfigResult = {
@@ -58,7 +58,7 @@ export type JsxStyleProps = SystemProperties &
58
58
 
59
59
  type Assign<T, U> = Omit<T, keyof U> & U
60
60
 
61
- type HTMLProps = {
61
+ export type PatchedHTMLProps = {
62
62
  htmlSize?: string | number
63
63
  htmlWidth?: string | number
64
64
  htmlHeight?: string | number
@@ -66,8 +66,9 @@ type HTMLProps = {
66
66
  htmlContent?: string
67
67
  }
68
68
 
69
- type WithHTMLProps<T> = Omit<T, 'color' | 'translate' | 'transition' | 'width' | 'height' | 'size' | 'content'> &
70
- HTMLProps
69
+ export type OmittedHTMLProps = 'color' | 'translate' | 'transition' | 'width' | 'height' | 'size' | 'content'
70
+
71
+ type WithHTMLProps<T> = Omit<T, OmittedHTMLProps> & PatchedHTMLProps
71
72
 
72
73
  export type JsxHTMLProps<T extends Record<string, any>, P extends Record<string, any> = {}> = Assign<
73
74
  WithHTMLProps<T>,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20230530140607",
3
+ "version": "0.0.0-dev-20230530153755",
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-20230530140607"
19
+ "@pandacss/extractor": "0.0.0-dev-20230530153755"
20
20
  },
21
21
  "scripts": {
22
22
  "build": "tsx scripts/build.ts",