@pandacss/node 0.0.0-dev-20230106105402 → 0.0.0-dev-20230106112845

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
@@ -723,7 +723,7 @@ import type { JsxStyleProps, Assign } from '.'
723
723
  type Element = keyof JSX.IntrinsicElements
724
724
  type Dict<T = unknown> = Record<string, T>
725
725
 
726
- type Clean<T> = Omit<T, 'color'>
726
+ type Clean<T> = Omit<T, 'color' | 'translate' | 'transition'>
727
727
 
728
728
  type PolymorphicProps<
729
729
  ComponentProps extends Dict,
@@ -739,7 +739,7 @@ export type PolymorphicComponents = {
739
739
  [K in Element]: PolymorphicComponent<K, {}>
740
740
  }
741
741
 
742
- export type HTML${upperName}Props<T extends ElementType> = Assign<Clean<ComponentProps<T>>, JsxStyleProps>
742
+ export type HTML${upperName}Props<T extends ElementType> = Clean<ComponentProps<T>> & JsxStyleProps
743
743
  `
744
744
  };
745
745
  }
@@ -1527,7 +1527,6 @@ function setupJsx(ctx) {
1527
1527
  export * from './factory'
1528
1528
  export * from './layout-grid'
1529
1529
  ${import_outdent24.default.string(patterns.map((file) => `export * from './${file.name}'`).join("\n"))}
1530
- export type { HTML${ctx.jsxFactoryName}Props } from '../types/jsx'
1531
1530
  `;
1532
1531
  return {
1533
1532
  dir: ctx.paths.jsx,
@@ -1539,7 +1538,13 @@ function setupJsx(ctx) {
1539
1538
  { file: "is-valid-prop.mjs", code: isValidProp.js },
1540
1539
  { file: "factory.d.ts", code: types.jsxFactory },
1541
1540
  { file: "factory.jsx", code: factory.js },
1542
- { file: "index.d.ts", code: indexCode },
1541
+ {
1542
+ file: "index.d.ts",
1543
+ code: import_outdent24.default`
1544
+ ${indexCode}
1545
+ export type { HTML${ctx.jsxFactoryName}Props } from '../types/jsx'
1546
+ `
1547
+ },
1543
1548
  { file: "index.jsx", code: indexCode }
1544
1549
  ]
1545
1550
  };
package/dist/index.mjs CHANGED
@@ -677,7 +677,7 @@ import type { JsxStyleProps, Assign } from '.'
677
677
  type Element = keyof JSX.IntrinsicElements
678
678
  type Dict<T = unknown> = Record<string, T>
679
679
 
680
- type Clean<T> = Omit<T, 'color'>
680
+ type Clean<T> = Omit<T, 'color' | 'translate' | 'transition'>
681
681
 
682
682
  type PolymorphicProps<
683
683
  ComponentProps extends Dict,
@@ -693,7 +693,7 @@ export type PolymorphicComponents = {
693
693
  [K in Element]: PolymorphicComponent<K, {}>
694
694
  }
695
695
 
696
- export type HTML${upperName}Props<T extends ElementType> = Assign<Clean<ComponentProps<T>>, JsxStyleProps>
696
+ export type HTML${upperName}Props<T extends ElementType> = Clean<ComponentProps<T>> & JsxStyleProps
697
697
  `
698
698
  };
699
699
  }
@@ -1481,7 +1481,6 @@ function setupJsx(ctx) {
1481
1481
  export * from './factory'
1482
1482
  export * from './layout-grid'
1483
1483
  ${outdent24.string(patterns.map((file) => `export * from './${file.name}'`).join("\n"))}
1484
- export type { HTML${ctx.jsxFactoryName}Props } from '../types/jsx'
1485
1484
  `;
1486
1485
  return {
1487
1486
  dir: ctx.paths.jsx,
@@ -1493,7 +1492,13 @@ function setupJsx(ctx) {
1493
1492
  { file: "is-valid-prop.mjs", code: isValidProp.js },
1494
1493
  { file: "factory.d.ts", code: types.jsxFactory },
1495
1494
  { file: "factory.jsx", code: factory.js },
1496
- { file: "index.d.ts", code: indexCode },
1495
+ {
1496
+ file: "index.d.ts",
1497
+ code: outdent24`
1498
+ ${indexCode}
1499
+ export type { HTML${ctx.jsxFactoryName}Props } from '../types/jsx'
1500
+ `
1501
+ },
1497
1502
  { file: "index.jsx", code: indexCode }
1498
1503
  ]
1499
1504
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/node",
3
- "version": "0.0.0-dev-20230106105402",
3
+ "version": "0.0.0-dev-20230106112845",
4
4
  "description": "The core css panda library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -30,15 +30,15 @@
30
30
  "telejson": "7.0.4",
31
31
  "ts-pattern": "4.0.6",
32
32
  "ts-morph": "17.0.1",
33
- "@pandacss/types": "0.0.0-dev-20230106105402",
34
- "@pandacss/is-valid-prop": "0.0.0-dev-20230106105402",
35
- "@pandacss/error": "0.0.0-dev-20230106105402",
36
- "@pandacss/parser": "0.0.0-dev-20230106105402",
37
- "@pandacss/shared": "0.0.0-dev-20230106105402",
38
- "@pandacss/token-dictionary": "0.0.0-dev-20230106105402",
39
- "@pandacss/logger": "0.0.0-dev-20230106105402",
40
- "@pandacss/core": "0.0.0-dev-20230106105402",
41
- "@pandacss/config": "0.0.0-dev-20230106105402"
33
+ "@pandacss/types": "0.0.0-dev-20230106112845",
34
+ "@pandacss/is-valid-prop": "0.0.0-dev-20230106112845",
35
+ "@pandacss/error": "0.0.0-dev-20230106112845",
36
+ "@pandacss/parser": "0.0.0-dev-20230106112845",
37
+ "@pandacss/shared": "0.0.0-dev-20230106112845",
38
+ "@pandacss/token-dictionary": "0.0.0-dev-20230106112845",
39
+ "@pandacss/logger": "0.0.0-dev-20230106112845",
40
+ "@pandacss/core": "0.0.0-dev-20230106112845",
41
+ "@pandacss/config": "0.0.0-dev-20230106112845"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/fs-extra": "9.0.13",
@@ -46,7 +46,7 @@
46
46
  "@types/glob-parent": "^5.1.1",
47
47
  "@types/pluralize": "0.0.29",
48
48
  "@types/lodash.merge": "4.6.7",
49
- "@pandacss/fixture": "0.0.0-dev-20230106105402"
49
+ "@pandacss/fixture": "0.0.0-dev-20230106112845"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "tsup src/index.ts --format=cjs,esm --shims --dts",