@pandacss/generator 0.15.0 → 0.15.1
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 +38 -14
- package/dist/index.mjs +38 -14
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -228,8 +228,8 @@ function generateResetCss(ctx, scope = "") {
|
|
|
228
228
|
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
229
229
|
'Noto Color Emoji';
|
|
230
230
|
-webkit-text-size-adjust: 100%;
|
|
231
|
-
-webkit-text-size-adjust: 100%;
|
|
232
231
|
-webkit-font-smoothing: antialiased;
|
|
232
|
+
-moz-osx-font-smoothing: grayscale;
|
|
233
233
|
-moz-tab-size: 4;
|
|
234
234
|
tab-size: 4;
|
|
235
235
|
font-family: var(--global-font-body, var(--font-fallback));
|
|
@@ -371,24 +371,39 @@ function generateResetCss(ctx, scope = "") {
|
|
|
371
371
|
font-family: var(--global-font-mono, var(--font-fallback));
|
|
372
372
|
}
|
|
373
373
|
|
|
374
|
-
|
|
374
|
+
|
|
375
|
+
${selector}input[type="text"],
|
|
376
|
+
${selector}input[type="email"],
|
|
377
|
+
${selector}input[type="search"],
|
|
378
|
+
${selector}input[type="password"] {
|
|
379
|
+
-webkit-appearance: none;
|
|
380
|
+
-moz-appearance: none;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
${selector}input[type='search'] {
|
|
375
384
|
-webkit-appearance: textfield;
|
|
376
385
|
outline-offset: -2px;
|
|
377
386
|
}
|
|
378
387
|
|
|
379
|
-
${selector}::-webkit-search-decoration
|
|
388
|
+
${selector}::-webkit-search-decoration,
|
|
389
|
+
${selector}::-webkit-search-cancel-button {
|
|
380
390
|
-webkit-appearance: none;
|
|
381
391
|
}
|
|
382
392
|
|
|
383
393
|
${selector}::-webkit-file-upload-button {
|
|
384
394
|
-webkit-appearance: button;
|
|
395
|
+
font: inherit;
|
|
385
396
|
}
|
|
386
397
|
|
|
387
|
-
${selector}::-webkit-inner-spin-button,
|
|
388
|
-
${selector}::-webkit-outer-spin-button {
|
|
398
|
+
${selector}input[type="number"]::-webkit-inner-spin-button,
|
|
399
|
+
${selector}input[type="number"]::-webkit-outer-spin-button {
|
|
389
400
|
height: auto;
|
|
390
401
|
}
|
|
391
402
|
|
|
403
|
+
${selector}input[type='number']{
|
|
404
|
+
-moz-appearance: textfield;
|
|
405
|
+
}
|
|
406
|
+
|
|
392
407
|
${selector}:-moz-ui-invalid {
|
|
393
408
|
box-shadow: none;
|
|
394
409
|
}
|
|
@@ -868,7 +883,7 @@ var import_outdent8 = require("outdent");
|
|
|
868
883
|
|
|
869
884
|
// src/artifacts/generated/helpers.mjs.json
|
|
870
885
|
var helpers_mjs_default = {
|
|
871
|
-
content: '// src/assert.ts\nfunction isObject(value) {\n return typeof value === "object" && value != null && !Array.isArray(value);\n}\n\n// src/compact.ts\nfunction compact(value) {\n return Object.fromEntries(Object.entries(value ?? {}).filter(([_, value2]) => value2 !== void 0));\n}\n\n// src/condition.ts\nvar isBaseCondition = (v) => v === "base";\nfunction filterBaseConditions(c) {\n return c.slice().filter((v) => !isBaseCondition(v));\n}\n\n// src/css-important.ts\nvar importantRegex = /!(important)?$/;\nfunction isImportant(value) {\n return typeof value === "string" ? importantRegex.test(value) : false;\n}\nfunction withoutImportant(value) {\n return typeof value === "string" ? value.replace(importantRegex, "").trim() : value;\n}\nfunction withoutSpace(str) {\n return typeof str === "string" ? str.replaceAll(" ", "_") : str;\n}\n\n// src/hash.ts\nfunction toChar(code) {\n return String.fromCharCode(code + (code > 25 ? 39 : 97));\n}\nfunction toName(code) {\n let name = "";\n let x;\n for (x = Math.abs(code); x > 52; x = x / 52 | 0)\n name = toChar(x % 52) + name;\n return toChar(x % 52) + name;\n}\nfunction toPhash(h, x) {\n let i = x.length;\n while (i)\n h = h * 33 ^ x.charCodeAt(--i);\n return h;\n}\nfunction toHash(value) {\n return toName(toPhash(5381, value) >>> 0);\n}\n\n// src/merge-props.ts\nfunction mergeProps(...sources) {\n const result = {};\n for (const source of sources) {\n for (const [key, value] of Object.entries(source)) {\n if (isObject(value)) {\n result[key] = mergeProps(result[key] || {}, value);\n } else {\n result[key] = value;\n }\n }\n }\n return result;\n}\n\n// src/walk-object.ts\nvar isNotNullish = (element) => element != null;\nfunction walkObject(target, predicate, options = {}) {\n const { stop, getKey } = options;\n function inner(value, path = []) {\n if (isObject(value) || Array.isArray(value)) {\n const result = {};\n for (const [prop, child] of Object.entries(value)) {\n const key = getKey?.(prop) ?? prop;\n const childPath = [...path, key];\n if (stop?.(value, childPath)) {\n return predicate(value, path);\n }\n const next = inner(child, childPath);\n if (isNotNullish(next)) {\n result[key] = next;\n }\n }\n return result;\n }\n return predicate(value, path);\n }\n return inner(target);\n}\nfunction mapObject(obj, fn) {\n if (!isObject(obj))\n return fn(obj);\n return walkObject(obj, (value) => fn(value));\n}\n\n// src/normalize-style-object.ts\nfunction toResponsiveObject(values, breakpoints) {\n return values.reduce((acc, current, index) => {\n const key = breakpoints[index];\n if (current != null) {\n acc[key] = current;\n }\n return acc;\n }, {});\n}\nfunction normalizeShorthand(styles, context) {\n const { hasShorthand, resolveShorthand } = context.utility;\n return walkObject(styles, (v) => v, {\n getKey: (prop) => {\n return hasShorthand ? resolveShorthand(prop) : prop;\n }\n });\n}\nfunction normalizeStyleObject(styles, context) {\n const { utility, conditions } = context;\n const { hasShorthand, resolveShorthand } = utility;\n return walkObject(\n styles,\n (value) => {\n return Array.isArray(value) ? toResponsiveObject(value, conditions.breakpoints.keys) : value;\n },\n {\n stop: (value) => Array.isArray(value),\n getKey: (prop) => {\n return hasShorthand ? resolveShorthand(prop) : prop;\n }\n }\n );\n}\n\n// src/classname.ts\nvar fallbackCondition = {\n shift: (v) => v,\n finalize: (v) => v,\n breakpoints: { keys: [] }\n};\nvar sanitize = (value) => typeof value === "string" ? value.replaceAll(/[\\n\\s]+/g, " ") : value;\nfunction createCss(context) {\n const { utility, hash, conditions: conds = fallbackCondition } = context;\n const formatClassName = (str) => [utility.prefix, str].filter(Boolean).join("-");\n const hashFn = (conditions, className) => {\n let result;\n if (hash) {\n const baseArray = [...conds.finalize(conditions), className];\n result = formatClassName(toHash(baseArray.join(":")));\n } else {\n const baseArray = [...conds.finalize(conditions), formatClassName(className)];\n result = baseArray.join(":");\n }\n return result;\n };\n return (styleObject = {}) => {\n const normalizedObject = normalizeStyleObject(styleObject, context);\n const classNames = /* @__PURE__ */ new Set();\n walkObject(normalizedObject, (value, paths) => {\n const important = isImportant(value);\n if (value == null)\n return;\n const [prop, ...allConditions] = conds.shift(paths);\n const conditions = filterBaseConditions(allConditions);\n const transformed = utility.transform(prop, withoutImportant(sanitize(value)));\n let className = hashFn(conditions, transformed.className);\n if (important)\n className = `${className}!`;\n classNames.add(className);\n });\n return Array.from(classNames).join(" ");\n };\n}\nfunction compactStyles(...styles) {\n return styles.filter((style) => isObject(style) && Object.keys(compact(style)).length > 0);\n}\nfunction createMergeCss(context) {\n function resolve(styles) {\n const allStyles = compactStyles(...styles);\n if (allStyles.length === 1)\n return allStyles;\n return allStyles.map((style) => normalizeShorthand(style, context));\n }\n function mergeCss(...styles) {\n return mergeProps(...resolve(styles));\n }\n function assignCss(...styles) {\n return Object.assign({}, ...resolve(styles));\n }\n return { mergeCss, assignCss };\n}\n\n// src/memo.ts\nvar memo = (fn) => {\n const cache = /* @__PURE__ */ new Map();\n const get = (...args) => {\n const key = JSON.stringify(args);\n if (cache.has(key)) {\n return cache.get(key);\n }\n const result = fn(...args);\n cache.set(key, result);\n return result;\n };\n return get;\n};\n\n// src/hypenate-property.ts\nvar wordRegex = /([A-Z])/g;\nvar msRegex = /^ms-/;\nvar hypenateProperty = memo((property) => {\n if (property.startsWith("--"))\n return property;\n return property.replace(wordRegex, "-$1").replace(msRegex, "-ms-").toLowerCase();\n});\n\n// src/slot.ts\nvar getSlotRecipes = (recipe) => {\n const init = (slot) => ({\n className: [recipe.className, slot].filter(Boolean).join("__"),\n base: recipe.base?.[slot] ?? {},\n variants: {},\n defaultVariants: recipe.defaultVariants ?? {},\n compoundVariants: recipe.compoundVariants ? getSlotCompoundVariant(recipe.compoundVariants, slot) : []\n });\n const
|
|
886
|
+
content: '// src/assert.ts\nfunction isObject(value) {\n return typeof value === "object" && value != null && !Array.isArray(value);\n}\n\n// src/compact.ts\nfunction compact(value) {\n return Object.fromEntries(Object.entries(value ?? {}).filter(([_, value2]) => value2 !== void 0));\n}\n\n// src/condition.ts\nvar isBaseCondition = (v) => v === "base";\nfunction filterBaseConditions(c) {\n return c.slice().filter((v) => !isBaseCondition(v));\n}\n\n// src/css-important.ts\nvar importantRegex = /!(important)?$/;\nfunction isImportant(value) {\n return typeof value === "string" ? importantRegex.test(value) : false;\n}\nfunction withoutImportant(value) {\n return typeof value === "string" ? value.replace(importantRegex, "").trim() : value;\n}\nfunction withoutSpace(str) {\n return typeof str === "string" ? str.replaceAll(" ", "_") : str;\n}\n\n// src/hash.ts\nfunction toChar(code) {\n return String.fromCharCode(code + (code > 25 ? 39 : 97));\n}\nfunction toName(code) {\n let name = "";\n let x;\n for (x = Math.abs(code); x > 52; x = x / 52 | 0)\n name = toChar(x % 52) + name;\n return toChar(x % 52) + name;\n}\nfunction toPhash(h, x) {\n let i = x.length;\n while (i)\n h = h * 33 ^ x.charCodeAt(--i);\n return h;\n}\nfunction toHash(value) {\n return toName(toPhash(5381, value) >>> 0);\n}\n\n// src/merge-props.ts\nfunction mergeProps(...sources) {\n const result = {};\n for (const source of sources) {\n for (const [key, value] of Object.entries(source)) {\n if (isObject(value)) {\n result[key] = mergeProps(result[key] || {}, value);\n } else {\n result[key] = value;\n }\n }\n }\n return result;\n}\n\n// src/walk-object.ts\nvar isNotNullish = (element) => element != null;\nfunction walkObject(target, predicate, options = {}) {\n const { stop, getKey } = options;\n function inner(value, path = []) {\n if (isObject(value) || Array.isArray(value)) {\n const result = {};\n for (const [prop, child] of Object.entries(value)) {\n const key = getKey?.(prop) ?? prop;\n const childPath = [...path, key];\n if (stop?.(value, childPath)) {\n return predicate(value, path);\n }\n const next = inner(child, childPath);\n if (isNotNullish(next)) {\n result[key] = next;\n }\n }\n return result;\n }\n return predicate(value, path);\n }\n return inner(target);\n}\nfunction mapObject(obj, fn) {\n if (!isObject(obj))\n return fn(obj);\n return walkObject(obj, (value) => fn(value));\n}\n\n// src/normalize-style-object.ts\nfunction toResponsiveObject(values, breakpoints) {\n return values.reduce((acc, current, index) => {\n const key = breakpoints[index];\n if (current != null) {\n acc[key] = current;\n }\n return acc;\n }, {});\n}\nfunction normalizeShorthand(styles, context) {\n const { hasShorthand, resolveShorthand } = context.utility;\n return walkObject(styles, (v) => v, {\n getKey: (prop) => {\n return hasShorthand ? resolveShorthand(prop) : prop;\n }\n });\n}\nfunction normalizeStyleObject(styles, context) {\n const { utility, conditions } = context;\n const { hasShorthand, resolveShorthand } = utility;\n return walkObject(\n styles,\n (value) => {\n return Array.isArray(value) ? toResponsiveObject(value, conditions.breakpoints.keys) : value;\n },\n {\n stop: (value) => Array.isArray(value),\n getKey: (prop) => {\n return hasShorthand ? resolveShorthand(prop) : prop;\n }\n }\n );\n}\n\n// src/classname.ts\nvar fallbackCondition = {\n shift: (v) => v,\n finalize: (v) => v,\n breakpoints: { keys: [] }\n};\nvar sanitize = (value) => typeof value === "string" ? value.replaceAll(/[\\n\\s]+/g, " ") : value;\nfunction createCss(context) {\n const { utility, hash, conditions: conds = fallbackCondition } = context;\n const formatClassName = (str) => [utility.prefix, str].filter(Boolean).join("-");\n const hashFn = (conditions, className) => {\n let result;\n if (hash) {\n const baseArray = [...conds.finalize(conditions), className];\n result = formatClassName(toHash(baseArray.join(":")));\n } else {\n const baseArray = [...conds.finalize(conditions), formatClassName(className)];\n result = baseArray.join(":");\n }\n return result;\n };\n return (styleObject = {}) => {\n const normalizedObject = normalizeStyleObject(styleObject, context);\n const classNames = /* @__PURE__ */ new Set();\n walkObject(normalizedObject, (value, paths) => {\n const important = isImportant(value);\n if (value == null)\n return;\n const [prop, ...allConditions] = conds.shift(paths);\n const conditions = filterBaseConditions(allConditions);\n const transformed = utility.transform(prop, withoutImportant(sanitize(value)));\n let className = hashFn(conditions, transformed.className);\n if (important)\n className = `${className}!`;\n classNames.add(className);\n });\n return Array.from(classNames).join(" ");\n };\n}\nfunction compactStyles(...styles) {\n return styles.filter((style) => isObject(style) && Object.keys(compact(style)).length > 0);\n}\nfunction createMergeCss(context) {\n function resolve(styles) {\n const allStyles = compactStyles(...styles);\n if (allStyles.length === 1)\n return allStyles;\n return allStyles.map((style) => normalizeShorthand(style, context));\n }\n function mergeCss(...styles) {\n return mergeProps(...resolve(styles));\n }\n function assignCss(...styles) {\n return Object.assign({}, ...resolve(styles));\n }\n return { mergeCss, assignCss };\n}\n\n// src/memo.ts\nvar memo = (fn) => {\n const cache = /* @__PURE__ */ new Map();\n const get = (...args) => {\n const key = JSON.stringify(args);\n if (cache.has(key)) {\n return cache.get(key);\n }\n const result = fn(...args);\n cache.set(key, result);\n return result;\n };\n return get;\n};\n\n// src/hypenate-property.ts\nvar wordRegex = /([A-Z])/g;\nvar msRegex = /^ms-/;\nvar hypenateProperty = memo((property) => {\n if (property.startsWith("--"))\n return property;\n return property.replace(wordRegex, "-$1").replace(msRegex, "-ms-").toLowerCase();\n});\n\n// src/slot.ts\nvar getSlotRecipes = (recipe = {}) => {\n const init = (slot) => ({\n className: [recipe.className, slot].filter(Boolean).join("__"),\n base: recipe.base?.[slot] ?? {},\n variants: {},\n defaultVariants: recipe.defaultVariants ?? {},\n compoundVariants: recipe.compoundVariants ? getSlotCompoundVariant(recipe.compoundVariants, slot) : []\n });\n const slots = recipe.slots ?? [];\n const recipeParts = slots.map((slot) => [slot, init(slot)]);\n for (const [variantsKey, variantsSpec] of Object.entries(recipe.variants ?? {})) {\n for (const [variantKey, variantSpec] of Object.entries(variantsSpec)) {\n recipeParts.forEach(([slot, slotRecipe]) => {\n slotRecipe.variants[variantsKey] ??= {};\n slotRecipe.variants[variantsKey][variantKey] = variantSpec[slot] ?? {};\n });\n }\n }\n return Object.fromEntries(recipeParts);\n};\nvar getSlotCompoundVariant = (compoundVariants, slotName) => compoundVariants.filter((compoundVariant) => compoundVariant.css[slotName]).map((compoundVariant) => ({ ...compoundVariant, css: compoundVariant.css[slotName] }));\n\n// src/split-props.ts\nfunction splitProps(props, ...keys) {\n const descriptors = Object.getOwnPropertyDescriptors(props);\n const dKeys = Object.keys(descriptors);\n const split = (k) => {\n const clone = {};\n for (let i = 0; i < k.length; i++) {\n const key = k[i];\n if (descriptors[key]) {\n Object.defineProperty(clone, key, descriptors[key]);\n delete descriptors[key];\n }\n }\n return clone;\n };\n const fn = (key) => split(Array.isArray(key) ? key : dKeys.filter(key));\n return keys.map(fn).concat(split(dKeys));\n}\nexport {\n compact,\n createCss,\n createMergeCss,\n filterBaseConditions,\n getSlotCompoundVariant,\n getSlotRecipes,\n hypenateProperty,\n isBaseCondition,\n isObject,\n mapObject,\n memo,\n mergeProps,\n splitProps,\n toHash,\n walkObject,\n withoutSpace\n};\n'
|
|
872
887
|
};
|
|
873
888
|
|
|
874
889
|
// src/artifacts/generated/astish.mjs.json
|
|
@@ -1300,7 +1315,8 @@ function generatePreactJsxFactory(ctx) {
|
|
|
1300
1315
|
})
|
|
1301
1316
|
})
|
|
1302
1317
|
|
|
1303
|
-
|
|
1318
|
+
const name = (typeof Dynamic === 'string' ? Dynamic : Dynamic.displayName || Dynamic.name) || 'Component'
|
|
1319
|
+
${componentName}.displayName = \`${factoryName}.\${name}\`
|
|
1304
1320
|
return ${componentName}
|
|
1305
1321
|
}
|
|
1306
1322
|
|
|
@@ -1439,7 +1455,8 @@ function generatePreactJsxStringLiteralFactory(ctx) {
|
|
|
1439
1455
|
})
|
|
1440
1456
|
})
|
|
1441
1457
|
|
|
1442
|
-
|
|
1458
|
+
const name = (typeof Dynamic === 'string' ? Dynamic : Dynamic.displayName || Dynamic.name) || 'Component'
|
|
1459
|
+
${componentName}.displayName = \`${factoryName}.\${name}\`
|
|
1443
1460
|
return ${componentName}
|
|
1444
1461
|
}
|
|
1445
1462
|
}
|
|
@@ -1541,7 +1558,8 @@ function generateQwikJsxFactory(ctx) {
|
|
|
1541
1558
|
})
|
|
1542
1559
|
}
|
|
1543
1560
|
|
|
1544
|
-
|
|
1561
|
+
const name = (typeof Dynamic === 'string' ? Dynamic : Dynamic.displayName || Dynamic.name) || 'Component'
|
|
1562
|
+
${componentName}.displayName = \`${factoryName}.\${name}\`
|
|
1545
1563
|
return ${componentName}
|
|
1546
1564
|
}
|
|
1547
1565
|
|
|
@@ -1681,7 +1699,8 @@ function generateQwikJsxStringLiteralFactory(ctx) {
|
|
|
1681
1699
|
})
|
|
1682
1700
|
}
|
|
1683
1701
|
|
|
1684
|
-
|
|
1702
|
+
const name = (typeof Dynamic === 'string' ? Dynamic : Dynamic.displayName || Dynamic.name) || 'Component'
|
|
1703
|
+
${componentName}.displayName = \`${factoryName}.\${name}\`
|
|
1685
1704
|
return ${componentName}
|
|
1686
1705
|
}
|
|
1687
1706
|
}
|
|
@@ -1826,7 +1845,8 @@ function generateReactJsxFactory(ctx) {
|
|
|
1826
1845
|
})
|
|
1827
1846
|
})
|
|
1828
1847
|
|
|
1829
|
-
|
|
1848
|
+
const name = (typeof Dynamic === 'string' ? Dynamic : Dynamic.displayName || Dynamic.name) || 'Component'
|
|
1849
|
+
${componentName}.displayName = \`${factoryName}.\${name}\`
|
|
1830
1850
|
return ${componentName}
|
|
1831
1851
|
}
|
|
1832
1852
|
|
|
@@ -1966,7 +1986,8 @@ function generateReactJsxStringLiteralFactory(ctx) {
|
|
|
1966
1986
|
})
|
|
1967
1987
|
})
|
|
1968
1988
|
|
|
1969
|
-
|
|
1989
|
+
const name = (typeof Dynamic === 'string' ? Dynamic : Dynamic.displayName || Dynamic.name) || 'Component'
|
|
1990
|
+
${componentName}.displayName = \`${factoryName}.\${name}\`
|
|
1970
1991
|
return ${componentName}
|
|
1971
1992
|
}
|
|
1972
1993
|
}
|
|
@@ -2304,9 +2325,10 @@ function generateVueJsxFactory(ctx) {
|
|
|
2304
2325
|
|
|
2305
2326
|
function styledFn(Dynamic, configOrCva = {}) {
|
|
2306
2327
|
const cvaFn = configOrCva.__cva__ || configOrCva.__recipe__ ? configOrCva : cva(configOrCva)
|
|
2328
|
+
const name = (typeof Dynamic === 'string' ? Dynamic : Dynamic.displayName || Dynamic.name) || 'Component'
|
|
2307
2329
|
|
|
2308
2330
|
return defineComponent({
|
|
2309
|
-
name: \`${factoryName}.\${
|
|
2331
|
+
name: \`${factoryName}.\${name}\`,
|
|
2310
2332
|
inheritAttrs: false,
|
|
2311
2333
|
props: { as: { type: [String, Object], default: Dynamic } },
|
|
2312
2334
|
setup(props, { slots, attrs }) {
|
|
@@ -2379,10 +2401,12 @@ function generateVueJsxStringLiteralFactory(ctx) {
|
|
|
2379
2401
|
${ctx.file.import("css, cx", "../css/index")}
|
|
2380
2402
|
|
|
2381
2403
|
function createStyled(Dynamic) {
|
|
2404
|
+
const name = (typeof Dynamic === 'string' ? Dynamic : Dynamic.displayName || Dynamic.name) || 'Component'
|
|
2405
|
+
|
|
2382
2406
|
function styledFn(template) {
|
|
2383
2407
|
const baseClassName = css(template)
|
|
2384
2408
|
return defineComponent({
|
|
2385
|
-
name: \`${factoryName}.\${
|
|
2409
|
+
name: \`${factoryName}.\${name}\`,
|
|
2386
2410
|
inheritAttrs: false,
|
|
2387
2411
|
props: { as: { type: [String, Object], default: Dynamic } },
|
|
2388
2412
|
setup(props, { slots, attrs }) {
|
package/dist/index.mjs
CHANGED
|
@@ -197,8 +197,8 @@ function generateResetCss(ctx, scope = "") {
|
|
|
197
197
|
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
198
198
|
'Noto Color Emoji';
|
|
199
199
|
-webkit-text-size-adjust: 100%;
|
|
200
|
-
-webkit-text-size-adjust: 100%;
|
|
201
200
|
-webkit-font-smoothing: antialiased;
|
|
201
|
+
-moz-osx-font-smoothing: grayscale;
|
|
202
202
|
-moz-tab-size: 4;
|
|
203
203
|
tab-size: 4;
|
|
204
204
|
font-family: var(--global-font-body, var(--font-fallback));
|
|
@@ -340,24 +340,39 @@ function generateResetCss(ctx, scope = "") {
|
|
|
340
340
|
font-family: var(--global-font-mono, var(--font-fallback));
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
-
|
|
343
|
+
|
|
344
|
+
${selector}input[type="text"],
|
|
345
|
+
${selector}input[type="email"],
|
|
346
|
+
${selector}input[type="search"],
|
|
347
|
+
${selector}input[type="password"] {
|
|
348
|
+
-webkit-appearance: none;
|
|
349
|
+
-moz-appearance: none;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
${selector}input[type='search'] {
|
|
344
353
|
-webkit-appearance: textfield;
|
|
345
354
|
outline-offset: -2px;
|
|
346
355
|
}
|
|
347
356
|
|
|
348
|
-
${selector}::-webkit-search-decoration
|
|
357
|
+
${selector}::-webkit-search-decoration,
|
|
358
|
+
${selector}::-webkit-search-cancel-button {
|
|
349
359
|
-webkit-appearance: none;
|
|
350
360
|
}
|
|
351
361
|
|
|
352
362
|
${selector}::-webkit-file-upload-button {
|
|
353
363
|
-webkit-appearance: button;
|
|
364
|
+
font: inherit;
|
|
354
365
|
}
|
|
355
366
|
|
|
356
|
-
${selector}::-webkit-inner-spin-button,
|
|
357
|
-
${selector}::-webkit-outer-spin-button {
|
|
367
|
+
${selector}input[type="number"]::-webkit-inner-spin-button,
|
|
368
|
+
${selector}input[type="number"]::-webkit-outer-spin-button {
|
|
358
369
|
height: auto;
|
|
359
370
|
}
|
|
360
371
|
|
|
372
|
+
${selector}input[type='number']{
|
|
373
|
+
-moz-appearance: textfield;
|
|
374
|
+
}
|
|
375
|
+
|
|
361
376
|
${selector}:-moz-ui-invalid {
|
|
362
377
|
box-shadow: none;
|
|
363
378
|
}
|
|
@@ -837,7 +852,7 @@ import { outdent as outdent8 } from "outdent";
|
|
|
837
852
|
|
|
838
853
|
// src/artifacts/generated/helpers.mjs.json
|
|
839
854
|
var helpers_mjs_default = {
|
|
840
|
-
content: '// src/assert.ts\nfunction isObject(value) {\n return typeof value === "object" && value != null && !Array.isArray(value);\n}\n\n// src/compact.ts\nfunction compact(value) {\n return Object.fromEntries(Object.entries(value ?? {}).filter(([_, value2]) => value2 !== void 0));\n}\n\n// src/condition.ts\nvar isBaseCondition = (v) => v === "base";\nfunction filterBaseConditions(c) {\n return c.slice().filter((v) => !isBaseCondition(v));\n}\n\n// src/css-important.ts\nvar importantRegex = /!(important)?$/;\nfunction isImportant(value) {\n return typeof value === "string" ? importantRegex.test(value) : false;\n}\nfunction withoutImportant(value) {\n return typeof value === "string" ? value.replace(importantRegex, "").trim() : value;\n}\nfunction withoutSpace(str) {\n return typeof str === "string" ? str.replaceAll(" ", "_") : str;\n}\n\n// src/hash.ts\nfunction toChar(code) {\n return String.fromCharCode(code + (code > 25 ? 39 : 97));\n}\nfunction toName(code) {\n let name = "";\n let x;\n for (x = Math.abs(code); x > 52; x = x / 52 | 0)\n name = toChar(x % 52) + name;\n return toChar(x % 52) + name;\n}\nfunction toPhash(h, x) {\n let i = x.length;\n while (i)\n h = h * 33 ^ x.charCodeAt(--i);\n return h;\n}\nfunction toHash(value) {\n return toName(toPhash(5381, value) >>> 0);\n}\n\n// src/merge-props.ts\nfunction mergeProps(...sources) {\n const result = {};\n for (const source of sources) {\n for (const [key, value] of Object.entries(source)) {\n if (isObject(value)) {\n result[key] = mergeProps(result[key] || {}, value);\n } else {\n result[key] = value;\n }\n }\n }\n return result;\n}\n\n// src/walk-object.ts\nvar isNotNullish = (element) => element != null;\nfunction walkObject(target, predicate, options = {}) {\n const { stop, getKey } = options;\n function inner(value, path = []) {\n if (isObject(value) || Array.isArray(value)) {\n const result = {};\n for (const [prop, child] of Object.entries(value)) {\n const key = getKey?.(prop) ?? prop;\n const childPath = [...path, key];\n if (stop?.(value, childPath)) {\n return predicate(value, path);\n }\n const next = inner(child, childPath);\n if (isNotNullish(next)) {\n result[key] = next;\n }\n }\n return result;\n }\n return predicate(value, path);\n }\n return inner(target);\n}\nfunction mapObject(obj, fn) {\n if (!isObject(obj))\n return fn(obj);\n return walkObject(obj, (value) => fn(value));\n}\n\n// src/normalize-style-object.ts\nfunction toResponsiveObject(values, breakpoints) {\n return values.reduce((acc, current, index) => {\n const key = breakpoints[index];\n if (current != null) {\n acc[key] = current;\n }\n return acc;\n }, {});\n}\nfunction normalizeShorthand(styles, context) {\n const { hasShorthand, resolveShorthand } = context.utility;\n return walkObject(styles, (v) => v, {\n getKey: (prop) => {\n return hasShorthand ? resolveShorthand(prop) : prop;\n }\n });\n}\nfunction normalizeStyleObject(styles, context) {\n const { utility, conditions } = context;\n const { hasShorthand, resolveShorthand } = utility;\n return walkObject(\n styles,\n (value) => {\n return Array.isArray(value) ? toResponsiveObject(value, conditions.breakpoints.keys) : value;\n },\n {\n stop: (value) => Array.isArray(value),\n getKey: (prop) => {\n return hasShorthand ? resolveShorthand(prop) : prop;\n }\n }\n );\n}\n\n// src/classname.ts\nvar fallbackCondition = {\n shift: (v) => v,\n finalize: (v) => v,\n breakpoints: { keys: [] }\n};\nvar sanitize = (value) => typeof value === "string" ? value.replaceAll(/[\\n\\s]+/g, " ") : value;\nfunction createCss(context) {\n const { utility, hash, conditions: conds = fallbackCondition } = context;\n const formatClassName = (str) => [utility.prefix, str].filter(Boolean).join("-");\n const hashFn = (conditions, className) => {\n let result;\n if (hash) {\n const baseArray = [...conds.finalize(conditions), className];\n result = formatClassName(toHash(baseArray.join(":")));\n } else {\n const baseArray = [...conds.finalize(conditions), formatClassName(className)];\n result = baseArray.join(":");\n }\n return result;\n };\n return (styleObject = {}) => {\n const normalizedObject = normalizeStyleObject(styleObject, context);\n const classNames = /* @__PURE__ */ new Set();\n walkObject(normalizedObject, (value, paths) => {\n const important = isImportant(value);\n if (value == null)\n return;\n const [prop, ...allConditions] = conds.shift(paths);\n const conditions = filterBaseConditions(allConditions);\n const transformed = utility.transform(prop, withoutImportant(sanitize(value)));\n let className = hashFn(conditions, transformed.className);\n if (important)\n className = `${className}!`;\n classNames.add(className);\n });\n return Array.from(classNames).join(" ");\n };\n}\nfunction compactStyles(...styles) {\n return styles.filter((style) => isObject(style) && Object.keys(compact(style)).length > 0);\n}\nfunction createMergeCss(context) {\n function resolve(styles) {\n const allStyles = compactStyles(...styles);\n if (allStyles.length === 1)\n return allStyles;\n return allStyles.map((style) => normalizeShorthand(style, context));\n }\n function mergeCss(...styles) {\n return mergeProps(...resolve(styles));\n }\n function assignCss(...styles) {\n return Object.assign({}, ...resolve(styles));\n }\n return { mergeCss, assignCss };\n}\n\n// src/memo.ts\nvar memo = (fn) => {\n const cache = /* @__PURE__ */ new Map();\n const get = (...args) => {\n const key = JSON.stringify(args);\n if (cache.has(key)) {\n return cache.get(key);\n }\n const result = fn(...args);\n cache.set(key, result);\n return result;\n };\n return get;\n};\n\n// src/hypenate-property.ts\nvar wordRegex = /([A-Z])/g;\nvar msRegex = /^ms-/;\nvar hypenateProperty = memo((property) => {\n if (property.startsWith("--"))\n return property;\n return property.replace(wordRegex, "-$1").replace(msRegex, "-ms-").toLowerCase();\n});\n\n// src/slot.ts\nvar getSlotRecipes = (recipe) => {\n const init = (slot) => ({\n className: [recipe.className, slot].filter(Boolean).join("__"),\n base: recipe.base?.[slot] ?? {},\n variants: {},\n defaultVariants: recipe.defaultVariants ?? {},\n compoundVariants: recipe.compoundVariants ? getSlotCompoundVariant(recipe.compoundVariants, slot) : []\n });\n const
|
|
855
|
+
content: '// src/assert.ts\nfunction isObject(value) {\n return typeof value === "object" && value != null && !Array.isArray(value);\n}\n\n// src/compact.ts\nfunction compact(value) {\n return Object.fromEntries(Object.entries(value ?? {}).filter(([_, value2]) => value2 !== void 0));\n}\n\n// src/condition.ts\nvar isBaseCondition = (v) => v === "base";\nfunction filterBaseConditions(c) {\n return c.slice().filter((v) => !isBaseCondition(v));\n}\n\n// src/css-important.ts\nvar importantRegex = /!(important)?$/;\nfunction isImportant(value) {\n return typeof value === "string" ? importantRegex.test(value) : false;\n}\nfunction withoutImportant(value) {\n return typeof value === "string" ? value.replace(importantRegex, "").trim() : value;\n}\nfunction withoutSpace(str) {\n return typeof str === "string" ? str.replaceAll(" ", "_") : str;\n}\n\n// src/hash.ts\nfunction toChar(code) {\n return String.fromCharCode(code + (code > 25 ? 39 : 97));\n}\nfunction toName(code) {\n let name = "";\n let x;\n for (x = Math.abs(code); x > 52; x = x / 52 | 0)\n name = toChar(x % 52) + name;\n return toChar(x % 52) + name;\n}\nfunction toPhash(h, x) {\n let i = x.length;\n while (i)\n h = h * 33 ^ x.charCodeAt(--i);\n return h;\n}\nfunction toHash(value) {\n return toName(toPhash(5381, value) >>> 0);\n}\n\n// src/merge-props.ts\nfunction mergeProps(...sources) {\n const result = {};\n for (const source of sources) {\n for (const [key, value] of Object.entries(source)) {\n if (isObject(value)) {\n result[key] = mergeProps(result[key] || {}, value);\n } else {\n result[key] = value;\n }\n }\n }\n return result;\n}\n\n// src/walk-object.ts\nvar isNotNullish = (element) => element != null;\nfunction walkObject(target, predicate, options = {}) {\n const { stop, getKey } = options;\n function inner(value, path = []) {\n if (isObject(value) || Array.isArray(value)) {\n const result = {};\n for (const [prop, child] of Object.entries(value)) {\n const key = getKey?.(prop) ?? prop;\n const childPath = [...path, key];\n if (stop?.(value, childPath)) {\n return predicate(value, path);\n }\n const next = inner(child, childPath);\n if (isNotNullish(next)) {\n result[key] = next;\n }\n }\n return result;\n }\n return predicate(value, path);\n }\n return inner(target);\n}\nfunction mapObject(obj, fn) {\n if (!isObject(obj))\n return fn(obj);\n return walkObject(obj, (value) => fn(value));\n}\n\n// src/normalize-style-object.ts\nfunction toResponsiveObject(values, breakpoints) {\n return values.reduce((acc, current, index) => {\n const key = breakpoints[index];\n if (current != null) {\n acc[key] = current;\n }\n return acc;\n }, {});\n}\nfunction normalizeShorthand(styles, context) {\n const { hasShorthand, resolveShorthand } = context.utility;\n return walkObject(styles, (v) => v, {\n getKey: (prop) => {\n return hasShorthand ? resolveShorthand(prop) : prop;\n }\n });\n}\nfunction normalizeStyleObject(styles, context) {\n const { utility, conditions } = context;\n const { hasShorthand, resolveShorthand } = utility;\n return walkObject(\n styles,\n (value) => {\n return Array.isArray(value) ? toResponsiveObject(value, conditions.breakpoints.keys) : value;\n },\n {\n stop: (value) => Array.isArray(value),\n getKey: (prop) => {\n return hasShorthand ? resolveShorthand(prop) : prop;\n }\n }\n );\n}\n\n// src/classname.ts\nvar fallbackCondition = {\n shift: (v) => v,\n finalize: (v) => v,\n breakpoints: { keys: [] }\n};\nvar sanitize = (value) => typeof value === "string" ? value.replaceAll(/[\\n\\s]+/g, " ") : value;\nfunction createCss(context) {\n const { utility, hash, conditions: conds = fallbackCondition } = context;\n const formatClassName = (str) => [utility.prefix, str].filter(Boolean).join("-");\n const hashFn = (conditions, className) => {\n let result;\n if (hash) {\n const baseArray = [...conds.finalize(conditions), className];\n result = formatClassName(toHash(baseArray.join(":")));\n } else {\n const baseArray = [...conds.finalize(conditions), formatClassName(className)];\n result = baseArray.join(":");\n }\n return result;\n };\n return (styleObject = {}) => {\n const normalizedObject = normalizeStyleObject(styleObject, context);\n const classNames = /* @__PURE__ */ new Set();\n walkObject(normalizedObject, (value, paths) => {\n const important = isImportant(value);\n if (value == null)\n return;\n const [prop, ...allConditions] = conds.shift(paths);\n const conditions = filterBaseConditions(allConditions);\n const transformed = utility.transform(prop, withoutImportant(sanitize(value)));\n let className = hashFn(conditions, transformed.className);\n if (important)\n className = `${className}!`;\n classNames.add(className);\n });\n return Array.from(classNames).join(" ");\n };\n}\nfunction compactStyles(...styles) {\n return styles.filter((style) => isObject(style) && Object.keys(compact(style)).length > 0);\n}\nfunction createMergeCss(context) {\n function resolve(styles) {\n const allStyles = compactStyles(...styles);\n if (allStyles.length === 1)\n return allStyles;\n return allStyles.map((style) => normalizeShorthand(style, context));\n }\n function mergeCss(...styles) {\n return mergeProps(...resolve(styles));\n }\n function assignCss(...styles) {\n return Object.assign({}, ...resolve(styles));\n }\n return { mergeCss, assignCss };\n}\n\n// src/memo.ts\nvar memo = (fn) => {\n const cache = /* @__PURE__ */ new Map();\n const get = (...args) => {\n const key = JSON.stringify(args);\n if (cache.has(key)) {\n return cache.get(key);\n }\n const result = fn(...args);\n cache.set(key, result);\n return result;\n };\n return get;\n};\n\n// src/hypenate-property.ts\nvar wordRegex = /([A-Z])/g;\nvar msRegex = /^ms-/;\nvar hypenateProperty = memo((property) => {\n if (property.startsWith("--"))\n return property;\n return property.replace(wordRegex, "-$1").replace(msRegex, "-ms-").toLowerCase();\n});\n\n// src/slot.ts\nvar getSlotRecipes = (recipe = {}) => {\n const init = (slot) => ({\n className: [recipe.className, slot].filter(Boolean).join("__"),\n base: recipe.base?.[slot] ?? {},\n variants: {},\n defaultVariants: recipe.defaultVariants ?? {},\n compoundVariants: recipe.compoundVariants ? getSlotCompoundVariant(recipe.compoundVariants, slot) : []\n });\n const slots = recipe.slots ?? [];\n const recipeParts = slots.map((slot) => [slot, init(slot)]);\n for (const [variantsKey, variantsSpec] of Object.entries(recipe.variants ?? {})) {\n for (const [variantKey, variantSpec] of Object.entries(variantsSpec)) {\n recipeParts.forEach(([slot, slotRecipe]) => {\n slotRecipe.variants[variantsKey] ??= {};\n slotRecipe.variants[variantsKey][variantKey] = variantSpec[slot] ?? {};\n });\n }\n }\n return Object.fromEntries(recipeParts);\n};\nvar getSlotCompoundVariant = (compoundVariants, slotName) => compoundVariants.filter((compoundVariant) => compoundVariant.css[slotName]).map((compoundVariant) => ({ ...compoundVariant, css: compoundVariant.css[slotName] }));\n\n// src/split-props.ts\nfunction splitProps(props, ...keys) {\n const descriptors = Object.getOwnPropertyDescriptors(props);\n const dKeys = Object.keys(descriptors);\n const split = (k) => {\n const clone = {};\n for (let i = 0; i < k.length; i++) {\n const key = k[i];\n if (descriptors[key]) {\n Object.defineProperty(clone, key, descriptors[key]);\n delete descriptors[key];\n }\n }\n return clone;\n };\n const fn = (key) => split(Array.isArray(key) ? key : dKeys.filter(key));\n return keys.map(fn).concat(split(dKeys));\n}\nexport {\n compact,\n createCss,\n createMergeCss,\n filterBaseConditions,\n getSlotCompoundVariant,\n getSlotRecipes,\n hypenateProperty,\n isBaseCondition,\n isObject,\n mapObject,\n memo,\n mergeProps,\n splitProps,\n toHash,\n walkObject,\n withoutSpace\n};\n'
|
|
841
856
|
};
|
|
842
857
|
|
|
843
858
|
// src/artifacts/generated/astish.mjs.json
|
|
@@ -1269,7 +1284,8 @@ function generatePreactJsxFactory(ctx) {
|
|
|
1269
1284
|
})
|
|
1270
1285
|
})
|
|
1271
1286
|
|
|
1272
|
-
|
|
1287
|
+
const name = (typeof Dynamic === 'string' ? Dynamic : Dynamic.displayName || Dynamic.name) || 'Component'
|
|
1288
|
+
${componentName}.displayName = \`${factoryName}.\${name}\`
|
|
1273
1289
|
return ${componentName}
|
|
1274
1290
|
}
|
|
1275
1291
|
|
|
@@ -1408,7 +1424,8 @@ function generatePreactJsxStringLiteralFactory(ctx) {
|
|
|
1408
1424
|
})
|
|
1409
1425
|
})
|
|
1410
1426
|
|
|
1411
|
-
|
|
1427
|
+
const name = (typeof Dynamic === 'string' ? Dynamic : Dynamic.displayName || Dynamic.name) || 'Component'
|
|
1428
|
+
${componentName}.displayName = \`${factoryName}.\${name}\`
|
|
1412
1429
|
return ${componentName}
|
|
1413
1430
|
}
|
|
1414
1431
|
}
|
|
@@ -1510,7 +1527,8 @@ function generateQwikJsxFactory(ctx) {
|
|
|
1510
1527
|
})
|
|
1511
1528
|
}
|
|
1512
1529
|
|
|
1513
|
-
|
|
1530
|
+
const name = (typeof Dynamic === 'string' ? Dynamic : Dynamic.displayName || Dynamic.name) || 'Component'
|
|
1531
|
+
${componentName}.displayName = \`${factoryName}.\${name}\`
|
|
1514
1532
|
return ${componentName}
|
|
1515
1533
|
}
|
|
1516
1534
|
|
|
@@ -1650,7 +1668,8 @@ function generateQwikJsxStringLiteralFactory(ctx) {
|
|
|
1650
1668
|
})
|
|
1651
1669
|
}
|
|
1652
1670
|
|
|
1653
|
-
|
|
1671
|
+
const name = (typeof Dynamic === 'string' ? Dynamic : Dynamic.displayName || Dynamic.name) || 'Component'
|
|
1672
|
+
${componentName}.displayName = \`${factoryName}.\${name}\`
|
|
1654
1673
|
return ${componentName}
|
|
1655
1674
|
}
|
|
1656
1675
|
}
|
|
@@ -1795,7 +1814,8 @@ function generateReactJsxFactory(ctx) {
|
|
|
1795
1814
|
})
|
|
1796
1815
|
})
|
|
1797
1816
|
|
|
1798
|
-
|
|
1817
|
+
const name = (typeof Dynamic === 'string' ? Dynamic : Dynamic.displayName || Dynamic.name) || 'Component'
|
|
1818
|
+
${componentName}.displayName = \`${factoryName}.\${name}\`
|
|
1799
1819
|
return ${componentName}
|
|
1800
1820
|
}
|
|
1801
1821
|
|
|
@@ -1935,7 +1955,8 @@ function generateReactJsxStringLiteralFactory(ctx) {
|
|
|
1935
1955
|
})
|
|
1936
1956
|
})
|
|
1937
1957
|
|
|
1938
|
-
|
|
1958
|
+
const name = (typeof Dynamic === 'string' ? Dynamic : Dynamic.displayName || Dynamic.name) || 'Component'
|
|
1959
|
+
${componentName}.displayName = \`${factoryName}.\${name}\`
|
|
1939
1960
|
return ${componentName}
|
|
1940
1961
|
}
|
|
1941
1962
|
}
|
|
@@ -2273,9 +2294,10 @@ function generateVueJsxFactory(ctx) {
|
|
|
2273
2294
|
|
|
2274
2295
|
function styledFn(Dynamic, configOrCva = {}) {
|
|
2275
2296
|
const cvaFn = configOrCva.__cva__ || configOrCva.__recipe__ ? configOrCva : cva(configOrCva)
|
|
2297
|
+
const name = (typeof Dynamic === 'string' ? Dynamic : Dynamic.displayName || Dynamic.name) || 'Component'
|
|
2276
2298
|
|
|
2277
2299
|
return defineComponent({
|
|
2278
|
-
name: \`${factoryName}.\${
|
|
2300
|
+
name: \`${factoryName}.\${name}\`,
|
|
2279
2301
|
inheritAttrs: false,
|
|
2280
2302
|
props: { as: { type: [String, Object], default: Dynamic } },
|
|
2281
2303
|
setup(props, { slots, attrs }) {
|
|
@@ -2348,10 +2370,12 @@ function generateVueJsxStringLiteralFactory(ctx) {
|
|
|
2348
2370
|
${ctx.file.import("css, cx", "../css/index")}
|
|
2349
2371
|
|
|
2350
2372
|
function createStyled(Dynamic) {
|
|
2373
|
+
const name = (typeof Dynamic === 'string' ? Dynamic : Dynamic.displayName || Dynamic.name) || 'Component'
|
|
2374
|
+
|
|
2351
2375
|
function styledFn(template) {
|
|
2352
2376
|
const baseClassName = css(template)
|
|
2353
2377
|
return defineComponent({
|
|
2354
|
-
name: \`${factoryName}.\${
|
|
2378
|
+
name: \`${factoryName}.\${name}\`,
|
|
2355
2379
|
inheritAttrs: false,
|
|
2356
2380
|
props: { as: { type: [String, Object], default: Dynamic } },
|
|
2357
2381
|
setup(props, { slots, attrs }) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/generator",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"description": "The css generator for css panda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -19,18 +19,18 @@
|
|
|
19
19
|
"outdent": " ^0.8.0",
|
|
20
20
|
"pluralize": "8.0.0",
|
|
21
21
|
"postcss": "8.4.27",
|
|
22
|
-
"ts-pattern": "5.0.
|
|
23
|
-
"@pandacss/core": "0.15.
|
|
24
|
-
"@pandacss/is-valid-prop": "0.15.
|
|
25
|
-
"@pandacss/logger": "0.15.
|
|
26
|
-
"@pandacss/shared": "0.15.
|
|
27
|
-
"@pandacss/token-dictionary": "0.15.
|
|
28
|
-
"@pandacss/types": "0.15.
|
|
22
|
+
"ts-pattern": "5.0.5",
|
|
23
|
+
"@pandacss/core": "0.15.1",
|
|
24
|
+
"@pandacss/is-valid-prop": "0.15.1",
|
|
25
|
+
"@pandacss/logger": "0.15.1",
|
|
26
|
+
"@pandacss/shared": "0.15.1",
|
|
27
|
+
"@pandacss/token-dictionary": "0.15.1",
|
|
28
|
+
"@pandacss/types": "0.15.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/pluralize": "0.0.30",
|
|
32
32
|
"hookable": "5.5.3",
|
|
33
|
-
"@pandacss/fixture": "0.15.
|
|
33
|
+
"@pandacss/fixture": "0.15.1"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"prebuild": "tsx scripts/prebuild.ts",
|