@pandacss/generator 0.0.0-dev-20231031144201 → 0.0.0-dev-20231031162636
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 +10 -4
- package/dist/index.mjs +10 -4
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -2330,7 +2330,7 @@ function generateSolidJsxFactory(ctx) {
|
|
|
2330
2330
|
"defaultShouldForwardProp, composeShouldForwardProps, composeCvaFn, getDisplayName",
|
|
2331
2331
|
"./factory-helper"
|
|
2332
2332
|
)}
|
|
2333
|
-
${ctx.file.import("isCssProperty
|
|
2333
|
+
${ctx.file.import("isCssProperty", "./is-valid-prop")}
|
|
2334
2334
|
${ctx.file.import("css, cx, cva", "../css/index")}
|
|
2335
2335
|
${ctx.file.import("normalizeHTMLProps", "../helpers")}
|
|
2336
2336
|
|
|
@@ -2355,13 +2355,19 @@ function generateSolidJsxFactory(ctx) {
|
|
|
2355
2355
|
Object.keys(props).filter((prop) => !normalizeHTMLProps.keys.includes(prop) && shouldForwardProp(prop)),
|
|
2356
2356
|
)
|
|
2357
2357
|
|
|
2358
|
-
const [localProps, htmlProps, forwardedProps,
|
|
2358
|
+
const [localProps, htmlProps, forwardedProps, restProps] = splitProps(
|
|
2359
2359
|
mergedProps,
|
|
2360
2360
|
['as', 'class', 'className'],
|
|
2361
2361
|
normalizeHTMLProps.keys,
|
|
2362
|
-
forwardedKeys()
|
|
2362
|
+
forwardedKeys()
|
|
2363
|
+
)
|
|
2364
|
+
|
|
2365
|
+
const cssPropertyKeys = createMemo(() => Object.keys(restProps).filter((prop) => isCssProperty(prop)))
|
|
2366
|
+
|
|
2367
|
+
const [variantProps, styleProps, elementProps] = splitProps(
|
|
2368
|
+
restProps,
|
|
2363
2369
|
__cvaFn__.variantKeys,
|
|
2364
|
-
|
|
2370
|
+
cssPropertyKeys(),
|
|
2365
2371
|
)
|
|
2366
2372
|
|
|
2367
2373
|
function recipeClass() {
|
package/dist/index.mjs
CHANGED
|
@@ -2299,7 +2299,7 @@ function generateSolidJsxFactory(ctx) {
|
|
|
2299
2299
|
"defaultShouldForwardProp, composeShouldForwardProps, composeCvaFn, getDisplayName",
|
|
2300
2300
|
"./factory-helper"
|
|
2301
2301
|
)}
|
|
2302
|
-
${ctx.file.import("isCssProperty
|
|
2302
|
+
${ctx.file.import("isCssProperty", "./is-valid-prop")}
|
|
2303
2303
|
${ctx.file.import("css, cx, cva", "../css/index")}
|
|
2304
2304
|
${ctx.file.import("normalizeHTMLProps", "../helpers")}
|
|
2305
2305
|
|
|
@@ -2324,13 +2324,19 @@ function generateSolidJsxFactory(ctx) {
|
|
|
2324
2324
|
Object.keys(props).filter((prop) => !normalizeHTMLProps.keys.includes(prop) && shouldForwardProp(prop)),
|
|
2325
2325
|
)
|
|
2326
2326
|
|
|
2327
|
-
const [localProps, htmlProps, forwardedProps,
|
|
2327
|
+
const [localProps, htmlProps, forwardedProps, restProps] = splitProps(
|
|
2328
2328
|
mergedProps,
|
|
2329
2329
|
['as', 'class', 'className'],
|
|
2330
2330
|
normalizeHTMLProps.keys,
|
|
2331
|
-
forwardedKeys()
|
|
2331
|
+
forwardedKeys()
|
|
2332
|
+
)
|
|
2333
|
+
|
|
2334
|
+
const cssPropertyKeys = createMemo(() => Object.keys(restProps).filter((prop) => isCssProperty(prop)))
|
|
2335
|
+
|
|
2336
|
+
const [variantProps, styleProps, elementProps] = splitProps(
|
|
2337
|
+
restProps,
|
|
2332
2338
|
__cvaFn__.variantKeys,
|
|
2333
|
-
|
|
2339
|
+
cssPropertyKeys(),
|
|
2334
2340
|
)
|
|
2335
2341
|
|
|
2336
2342
|
function recipeClass() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/generator",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20231031162636",
|
|
4
4
|
"description": "The css generator for css panda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
"pluralize": "8.0.0",
|
|
33
33
|
"postcss": "^8.4.31",
|
|
34
34
|
"ts-pattern": "5.0.5",
|
|
35
|
-
"@pandacss/core": "0.0.0-dev-
|
|
36
|
-
"@pandacss/is-valid-prop": "0.0.0-dev-
|
|
37
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
38
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
39
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
40
|
-
"@pandacss/types": "0.0.0-dev-
|
|
35
|
+
"@pandacss/core": "0.0.0-dev-20231031162636",
|
|
36
|
+
"@pandacss/is-valid-prop": "0.0.0-dev-20231031162636",
|
|
37
|
+
"@pandacss/logger": "0.0.0-dev-20231031162636",
|
|
38
|
+
"@pandacss/shared": "0.0.0-dev-20231031162636",
|
|
39
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20231031162636",
|
|
40
|
+
"@pandacss/types": "0.0.0-dev-20231031162636"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/pluralize": "0.0.30",
|
|
44
44
|
"hookable": "5.5.3",
|
|
45
|
-
"@pandacss/fixture": "0.0.0-dev-
|
|
45
|
+
"@pandacss/fixture": "0.0.0-dev-20231031162636"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "tsup src/index.ts --format=esm,cjs --dts",
|