@pandacss/studio 0.34.2 → 0.34.3
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.34.
|
|
3
|
+
"version": "0.34.3",
|
|
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.34.
|
|
52
|
-
"@pandacss/logger": "0.34.
|
|
53
|
-
"@pandacss/shared": "0.34.
|
|
54
|
-
"@pandacss/token-dictionary": "0.34.
|
|
55
|
-
"@pandacss/types": "0.34.
|
|
56
|
-
"@pandacss/astro-plugin-studio": "0.34.
|
|
51
|
+
"@pandacss/config": "0.34.3",
|
|
52
|
+
"@pandacss/logger": "0.34.3",
|
|
53
|
+
"@pandacss/shared": "0.34.3",
|
|
54
|
+
"@pandacss/token-dictionary": "0.34.3",
|
|
55
|
+
"@pandacss/types": "0.34.3",
|
|
56
|
+
"@pandacss/astro-plugin-studio": "0.34.3"
|
|
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,6 +325,17 @@ 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'
|
|
328
339
|
| 'borderBlockEndStyle'
|
|
329
340
|
| 'borderBlockStartStyle'
|
|
330
341
|
| 'borderBlockStyle'
|