@pandacss/types 0.0.0-dev-20230212134304 → 0.0.0-dev-20230212144301

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.
@@ -67,3 +67,19 @@ export type JsxStyleProps = SystemProperties &
67
67
  MinimalNested<SystemStyleObject> & {
68
68
  css?: SystemStyleObject
69
69
  }
70
+
71
+ type Assign<T, U> = Omit<T, keyof U> & U
72
+
73
+ type HTMLProps = {
74
+ htmlSize?: string | number
75
+ htmlWidth?: string | number
76
+ htmlHeight?: string | number
77
+ htmlTranslate?: 'yes' | 'no' | undefined
78
+ }
79
+
80
+ type WithHTMLProps<T> = Omit<T, 'color' | 'translate' | 'transition' | 'width' | 'height' | 'size'> & HTMLProps
81
+
82
+ export type JsxHTMLProps<T extends Record<string, any>, P extends Record<string, any> = {}> = Assign<
83
+ WithHTMLProps<T>,
84
+ P
85
+ >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20230212134304",
3
+ "version": "0.0.0-dev-20230212144301",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",