@pandacss/studio 0.0.0-dev-20240113111256 → 0.0.0-dev-20240115155433

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/studio",
3
- "version": "0.0.0-dev-20240113111256",
3
+ "version": "0.0.0-dev-20240115155433",
4
4
  "description": "The automated token documentation for Panda CSS",
5
5
  "main": "dist/studio.js",
6
6
  "module": "dist/studio.mjs",
@@ -47,12 +47,12 @@
47
47
  "react": "18.2.0",
48
48
  "react-dom": "18.2.0",
49
49
  "vite": "5.0.7",
50
- "@pandacss/config": "0.0.0-dev-20240113111256",
51
- "@pandacss/logger": "0.0.0-dev-20240113111256",
52
- "@pandacss/shared": "0.0.0-dev-20240113111256",
53
- "@pandacss/token-dictionary": "0.0.0-dev-20240113111256",
54
- "@pandacss/types": "0.0.0-dev-20240113111256",
55
- "@pandacss/astro-plugin-studio": "0.0.0-dev-20240113111256"
50
+ "@pandacss/config": "0.0.0-dev-20240115155433",
51
+ "@pandacss/logger": "0.0.0-dev-20240115155433",
52
+ "@pandacss/shared": "0.0.0-dev-20240115155433",
53
+ "@pandacss/token-dictionary": "0.0.0-dev-20240115155433",
54
+ "@pandacss/types": "0.0.0-dev-20240115155433",
55
+ "@pandacss/astro-plugin-studio": "0.0.0-dev-20240115155433"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@types/react": "18.2.42",
@@ -1,5 +1,12 @@
1
1
  /* eslint-disable */
2
+ import type { DistributiveOmit, HTMLPandaProps, JsxStyleProps, Pretty } from '../types';
3
+
2
4
  declare const isCssProperty: (value: string) => boolean;
3
- declare const splitCssProps: <TProps extends Record<string, unknown>>(props: TProps) => [Pick<TProps, CssProperty>, Omit<TProps, CssProperty>]
5
+
6
+ type CssPropKey = keyof JsxStyleProps
7
+ type PickedCssProps<T> = Pretty<Pick<T, CssPropKey>>
8
+ type OmittedCssProps<T> = Pretty<DistributiveOmit<T, CssPropKey>>
9
+
10
+ declare const splitCssProps: <T>(props: T) => [PickedCssProps<T>, OmittedCssProps<T>]
4
11
 
5
12
  export { isCssProperty, splitCssProps };