@pandacss/preset-base 0.18.1 → 0.18.2
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2207,7 +2207,7 @@ var grid = definePattern({
|
|
|
2207
2207
|
const getValue = (v) => regex.test(v) ? v : `token(sizes.${v}, ${v})`;
|
|
2208
2208
|
return {
|
|
2209
2209
|
display: "grid",
|
|
2210
|
-
gridTemplateColumns: columns != null ? map(columns, (v) => `repeat(${
|
|
2210
|
+
gridTemplateColumns: columns != null ? map(columns, (v) => `repeat(${v}, minmax(0, 1fr))`) : minChildWidth != null ? map(minChildWidth, (v) => `repeat(auto-fit, minmax(${getValue(v)}, 1fr))`) : void 0,
|
|
2211
2211
|
gap,
|
|
2212
2212
|
columnGap,
|
|
2213
2213
|
rowGap,
|
package/dist/index.mjs
CHANGED
|
@@ -2180,7 +2180,7 @@ var grid = definePattern({
|
|
|
2180
2180
|
const getValue = (v) => regex.test(v) ? v : `token(sizes.${v}, ${v})`;
|
|
2181
2181
|
return {
|
|
2182
2182
|
display: "grid",
|
|
2183
|
-
gridTemplateColumns: columns != null ? map(columns, (v) => `repeat(${
|
|
2183
|
+
gridTemplateColumns: columns != null ? map(columns, (v) => `repeat(${v}, minmax(0, 1fr))`) : minChildWidth != null ? map(minChildWidth, (v) => `repeat(auto-fit, minmax(${getValue(v)}, 1fr))`) : void 0,
|
|
2184
2184
|
gap,
|
|
2185
2185
|
columnGap,
|
|
2186
2186
|
rowGap,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/preset-base",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.2",
|
|
4
4
|
"description": "The base preset for Panda CSS that contains the conditions and utilities",
|
|
5
5
|
"author": "Segun Adebayo <joseshegs@gmail.com>",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dist"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@pandacss/types": "0.18.
|
|
29
|
+
"@pandacss/types": "0.18.2"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"build": "tsup src/index.ts --format=esm,cjs --dts",
|