@pandacss/generator 0.0.0-dev-20230516194410 → 0.0.0-dev-20230517212035

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/index.js CHANGED
@@ -1078,13 +1078,13 @@ export declare const ${factoryName}: ${upperName}
1078
1078
  `,
1079
1079
  jsxType: import_outdent15.outdent`
1080
1080
  import type { ElementType, ComponentProps } from 'react'
1081
- import type { JsxStyleProps, JsxHTMLProps } from './system-types'
1081
+ import type { JsxStyleProps, JsxHTMLProps, Assign } from './system-types'
1082
1082
  import type { RecipeDefinition, RecipeRuntimeFn, RecipeSelection, RecipeVariantRecord } from './recipe'
1083
1083
 
1084
1084
  type Dict = Record<string, unknown>
1085
1085
 
1086
1086
  export type ${componentName}<T extends ElementType, P extends Dict = {}> = {
1087
- (props: JsxHTMLProps<ComponentProps<T>, P> & JsxStyleProps): JSX.Element
1087
+ (props: JsxHTMLProps<ComponentProps<T>, Assign<JsxStyleProps, P>>): JSX.Element
1088
1088
  displayName?: string
1089
1089
  }
1090
1090
 
@@ -1234,7 +1234,7 @@ type Dict = Record<string, unknown>
1234
1234
  type ElementType<P = any> = keyof JSX.IntrinsicElements | Component<P>
1235
1235
 
1236
1236
  export type ${componentName}<T extends ElementType, P extends Dict = {}> = {
1237
- (props: JsxHTMLProps<ComponentProps<T>, P> & JsxStyleProps): JSX.Element
1237
+ (props: JsxHTMLProps<ComponentProps<T>, Assign<JsxStyleProps, P>>): JSX.Element
1238
1238
  displayName?: string
1239
1239
  }
1240
1240
 
@@ -1458,7 +1458,7 @@ type IntrinsicElement =
1458
1458
  : never
1459
1459
 
1460
1460
  type ${componentName}<T extends ElementType, P extends Dict = {}> = FunctionalComponent<
1461
- JsxHTMLProps<ComponentProps<T>, P> & JsxStyleProps
1461
+ JsxHTMLProps<ComponentProps<T>, Assign<JsxStyleProps, P>>
1462
1462
  >
1463
1463
 
1464
1464
  export type ${upperName} = {
package/dist/index.mjs CHANGED
@@ -1047,13 +1047,13 @@ export declare const ${factoryName}: ${upperName}
1047
1047
  `,
1048
1048
  jsxType: outdent15`
1049
1049
  import type { ElementType, ComponentProps } from 'react'
1050
- import type { JsxStyleProps, JsxHTMLProps } from './system-types'
1050
+ import type { JsxStyleProps, JsxHTMLProps, Assign } from './system-types'
1051
1051
  import type { RecipeDefinition, RecipeRuntimeFn, RecipeSelection, RecipeVariantRecord } from './recipe'
1052
1052
 
1053
1053
  type Dict = Record<string, unknown>
1054
1054
 
1055
1055
  export type ${componentName}<T extends ElementType, P extends Dict = {}> = {
1056
- (props: JsxHTMLProps<ComponentProps<T>, P> & JsxStyleProps): JSX.Element
1056
+ (props: JsxHTMLProps<ComponentProps<T>, Assign<JsxStyleProps, P>>): JSX.Element
1057
1057
  displayName?: string
1058
1058
  }
1059
1059
 
@@ -1203,7 +1203,7 @@ type Dict = Record<string, unknown>
1203
1203
  type ElementType<P = any> = keyof JSX.IntrinsicElements | Component<P>
1204
1204
 
1205
1205
  export type ${componentName}<T extends ElementType, P extends Dict = {}> = {
1206
- (props: JsxHTMLProps<ComponentProps<T>, P> & JsxStyleProps): JSX.Element
1206
+ (props: JsxHTMLProps<ComponentProps<T>, Assign<JsxStyleProps, P>>): JSX.Element
1207
1207
  displayName?: string
1208
1208
  }
1209
1209
 
@@ -1427,7 +1427,7 @@ type IntrinsicElement =
1427
1427
  : never
1428
1428
 
1429
1429
  type ${componentName}<T extends ElementType, P extends Dict = {}> = FunctionalComponent<
1430
- JsxHTMLProps<ComponentProps<T>, P> & JsxStyleProps
1430
+ JsxHTMLProps<ComponentProps<T>, Assign<JsxStyleProps, P>>
1431
1431
  >
1432
1432
 
1433
1433
  export type ${upperName} = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/generator",
3
- "version": "0.0.0-dev-20230516194410",
3
+ "version": "0.0.0-dev-20230517212035",
4
4
  "description": "The css generator for css panda",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -20,16 +20,16 @@
20
20
  "pluralize": "8.0.0",
21
21
  "postcss": "8.4.23",
22
22
  "ts-pattern": "4.3.0",
23
- "@pandacss/core": "0.0.0-dev-20230516194410",
24
- "@pandacss/logger": "0.0.0-dev-20230516194410",
25
- "@pandacss/is-valid-prop": "0.0.0-dev-20230516194410",
26
- "@pandacss/shared": "0.0.0-dev-20230516194410",
27
- "@pandacss/types": "0.0.0-dev-20230516194410",
28
- "@pandacss/token-dictionary": "0.0.0-dev-20230516194410"
23
+ "@pandacss/core": "0.0.0-dev-20230517212035",
24
+ "@pandacss/logger": "0.0.0-dev-20230517212035",
25
+ "@pandacss/is-valid-prop": "0.0.0-dev-20230517212035",
26
+ "@pandacss/shared": "0.0.0-dev-20230517212035",
27
+ "@pandacss/types": "0.0.0-dev-20230517212035",
28
+ "@pandacss/token-dictionary": "0.0.0-dev-20230517212035"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/pluralize": "0.0.29",
32
- "@pandacss/fixture": "0.0.0-dev-20230516194410"
32
+ "@pandacss/fixture": "0.0.0-dev-20230517212035"
33
33
  },
34
34
  "scripts": {
35
35
  "prebuild": "tsx scripts/prebuild.ts",