@pandacss/studio 0.0.0-dev-20240309183251 → 0.0.0-dev-20240310153511
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-
|
|
3
|
+
"version": "0.0.0-dev-20240310153511",
|
|
4
4
|
"description": "The automated token documentation for Panda CSS",
|
|
5
5
|
"main": "dist/studio.js",
|
|
6
6
|
"module": "dist/studio.mjs",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"react": "18.2.0",
|
|
49
49
|
"react-dom": "18.2.0",
|
|
50
50
|
"vite": "5.1.3",
|
|
51
|
-
"@pandacss/config": "0.0.0-dev-
|
|
52
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
53
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
54
|
-
"@pandacss/
|
|
55
|
-
"@pandacss/
|
|
56
|
-
"@pandacss/astro-plugin-studio": "0.0.0-dev-
|
|
51
|
+
"@pandacss/config": "0.0.0-dev-20240310153511",
|
|
52
|
+
"@pandacss/logger": "0.0.0-dev-20240310153511",
|
|
53
|
+
"@pandacss/shared": "0.0.0-dev-20240310153511",
|
|
54
|
+
"@pandacss/types": "0.0.0-dev-20240310153511",
|
|
55
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20240310153511",
|
|
56
|
+
"@pandacss/astro-plugin-studio": "0.0.0-dev-20240310153511"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/react": "18.2.55",
|
|
@@ -17,9 +17,10 @@ function styledFn(Dynamic, configOrCva = {}, options = {}) {
|
|
|
17
17
|
|
|
18
18
|
const __cvaFn__ = composeCvaFn(Dynamic.__cva__, cvaFn)
|
|
19
19
|
const __shouldForwardProps__ = composeShouldForwardProps(Dynamic, shouldForwardProp)
|
|
20
|
+
const __base__ = Dynamic.__base__ || Dynamic
|
|
20
21
|
|
|
21
22
|
const PandaComponent = /* @__PURE__ */ forwardRef(function PandaComponent(props, ref) {
|
|
22
|
-
const { as: Element =
|
|
23
|
+
const { as: Element = __base__, children, ...restProps } = props
|
|
23
24
|
|
|
24
25
|
const combinedProps = useMemo(() => Object.assign({}, defaultProps, restProps), [restProps])
|
|
25
26
|
|
|
@@ -50,11 +51,11 @@ function styledFn(Dynamic, configOrCva = {}, options = {}) {
|
|
|
50
51
|
}, combinedProps.children ?? children)
|
|
51
52
|
})
|
|
52
53
|
|
|
53
|
-
const name = getDisplayName(
|
|
54
|
+
const name = getDisplayName(__base__)
|
|
54
55
|
|
|
55
56
|
PandaComponent.displayName = `panda.${name}`
|
|
56
57
|
PandaComponent.__cva__ = __cvaFn__
|
|
57
|
-
PandaComponent.__base__ =
|
|
58
|
+
PandaComponent.__base__ = __base__
|
|
58
59
|
PandaComponent.__shouldForwardProps__ = shouldForwardProp
|
|
59
60
|
|
|
60
61
|
return PandaComponent
|
|
@@ -325,17 +325,6 @@ type StrictableProps =
|
|
|
325
325
|
| 'backgroundAttachment'
|
|
326
326
|
| 'backgroundClip'
|
|
327
327
|
| 'borderCollapse'
|
|
328
|
-
| 'border'
|
|
329
|
-
| 'borderBlock'
|
|
330
|
-
| 'borderBlockEnd'
|
|
331
|
-
| 'borderBlockStart'
|
|
332
|
-
| 'borderBottom'
|
|
333
|
-
| 'borderInline'
|
|
334
|
-
| 'borderInlineEnd'
|
|
335
|
-
| 'borderInlineStart'
|
|
336
|
-
| 'borderLeft'
|
|
337
|
-
| 'borderRight'
|
|
338
|
-
| 'borderTop'
|
|
339
328
|
| 'borderBlockEndStyle'
|
|
340
329
|
| 'borderBlockStartStyle'
|
|
341
330
|
| 'borderBlockStyle'
|
|
@@ -387,7 +376,8 @@ type StrictableProps =
|
|
|
387
376
|
| 'wordBreak'
|
|
388
377
|
| 'writingMode'
|
|
389
378
|
|
|
390
|
-
type
|
|
379
|
+
type WithColorOpacityModifier<T> = T extends string ? `${T}/${string}` : T
|
|
380
|
+
type WithEscapeHatch<T> = T | `[${string}]` | `${T}/{string}` | WithColorOpacityModifier<T>
|
|
391
381
|
|
|
392
382
|
type FilterVagueString<Key, Value> = Value extends boolean
|
|
393
383
|
? Value
|