@pandacss/preset-base 0.0.0-dev-20230620140303 → 0.0.0-dev-20230620143512
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 +81 -4
- package/dist/index.mjs +81 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -136,7 +136,13 @@ var background = {
|
|
|
136
136
|
},
|
|
137
137
|
backgroundClip: {
|
|
138
138
|
shorthand: "bgClip",
|
|
139
|
-
className: "bg-clip"
|
|
139
|
+
className: "bg-clip",
|
|
140
|
+
transform(value) {
|
|
141
|
+
return {
|
|
142
|
+
backgroundClip: value,
|
|
143
|
+
WebkitBackgroundClip: value
|
|
144
|
+
};
|
|
145
|
+
}
|
|
140
146
|
},
|
|
141
147
|
background: {
|
|
142
148
|
shorthand: "bg",
|
|
@@ -677,6 +683,12 @@ var effects = {
|
|
|
677
683
|
"var(--backdrop-saturate)",
|
|
678
684
|
"var(--backdrop-sepia)"
|
|
679
685
|
].join(" ")
|
|
686
|
+
},
|
|
687
|
+
transform(value) {
|
|
688
|
+
return {
|
|
689
|
+
backdropFilter: value,
|
|
690
|
+
WebkitBackdropFilter: value
|
|
691
|
+
};
|
|
680
692
|
}
|
|
681
693
|
},
|
|
682
694
|
backdropBlur: {
|
|
@@ -1204,7 +1216,13 @@ var interactivity = {
|
|
|
1204
1216
|
className: "touch"
|
|
1205
1217
|
},
|
|
1206
1218
|
userSelect: {
|
|
1207
|
-
className: "select"
|
|
1219
|
+
className: "select",
|
|
1220
|
+
transform(value) {
|
|
1221
|
+
return {
|
|
1222
|
+
WebkitUserSelect: value,
|
|
1223
|
+
userSelect: value
|
|
1224
|
+
};
|
|
1225
|
+
}
|
|
1208
1226
|
}
|
|
1209
1227
|
};
|
|
1210
1228
|
|
|
@@ -1222,7 +1240,13 @@ var layout = {
|
|
|
1222
1240
|
}
|
|
1223
1241
|
},
|
|
1224
1242
|
boxDecorationBreak: {
|
|
1225
|
-
className: "decoration"
|
|
1243
|
+
className: "decoration",
|
|
1244
|
+
transform(value) {
|
|
1245
|
+
return {
|
|
1246
|
+
boxDecorationBreak: value,
|
|
1247
|
+
WebkitBoxDecorationBreak: value
|
|
1248
|
+
};
|
|
1249
|
+
}
|
|
1226
1250
|
},
|
|
1227
1251
|
zIndex: {
|
|
1228
1252
|
className: "z"
|
|
@@ -1890,6 +1914,58 @@ var typography = {
|
|
|
1890
1914
|
}
|
|
1891
1915
|
};
|
|
1892
1916
|
|
|
1917
|
+
// src/utilities/polyfill.ts
|
|
1918
|
+
var polyfill = {
|
|
1919
|
+
appearance: {
|
|
1920
|
+
className: "appearance",
|
|
1921
|
+
transform(value) {
|
|
1922
|
+
return { appearance: value, WebkitAppearance: value };
|
|
1923
|
+
}
|
|
1924
|
+
},
|
|
1925
|
+
backfaceVisibility: {
|
|
1926
|
+
className: "backface",
|
|
1927
|
+
transform(value) {
|
|
1928
|
+
return { backfaceVisibility: value, WebkitBackfaceVisibility: value };
|
|
1929
|
+
}
|
|
1930
|
+
},
|
|
1931
|
+
clipPath: {
|
|
1932
|
+
className: "clip-path",
|
|
1933
|
+
transform(value) {
|
|
1934
|
+
return { clipPath: value, WebkitClipPath: value };
|
|
1935
|
+
}
|
|
1936
|
+
},
|
|
1937
|
+
hyphens: {
|
|
1938
|
+
className: "hyphens",
|
|
1939
|
+
transform(value) {
|
|
1940
|
+
return { hyphens: value, WebkitHyphens: value };
|
|
1941
|
+
}
|
|
1942
|
+
},
|
|
1943
|
+
mask: {
|
|
1944
|
+
className: "mask",
|
|
1945
|
+
transform(value) {
|
|
1946
|
+
return { mask: value, WebkitMask: value };
|
|
1947
|
+
}
|
|
1948
|
+
},
|
|
1949
|
+
maskImage: {
|
|
1950
|
+
className: "mask-image",
|
|
1951
|
+
transform(value) {
|
|
1952
|
+
return { maskImage: value, WebkitMaskImage: value };
|
|
1953
|
+
}
|
|
1954
|
+
},
|
|
1955
|
+
maskSize: {
|
|
1956
|
+
className: "mask-size",
|
|
1957
|
+
transform(value) {
|
|
1958
|
+
return { maskSize: value, WebkitMaskSize: value };
|
|
1959
|
+
}
|
|
1960
|
+
},
|
|
1961
|
+
textSizeAdjust: {
|
|
1962
|
+
className: "text-size-adjust",
|
|
1963
|
+
transform(value) {
|
|
1964
|
+
return { textSizeAdjust: value, WebkitTextSizeAdjust: value };
|
|
1965
|
+
}
|
|
1966
|
+
}
|
|
1967
|
+
};
|
|
1968
|
+
|
|
1893
1969
|
// src/utilities/index.ts
|
|
1894
1970
|
var utilities = Object.assign(
|
|
1895
1971
|
{},
|
|
@@ -1910,7 +1986,8 @@ var utilities = Object.assign(
|
|
|
1910
1986
|
transforms,
|
|
1911
1987
|
interactivity,
|
|
1912
1988
|
svg,
|
|
1913
|
-
helpers
|
|
1989
|
+
helpers,
|
|
1990
|
+
polyfill
|
|
1914
1991
|
);
|
|
1915
1992
|
|
|
1916
1993
|
// src/patterns.ts
|
package/dist/index.mjs
CHANGED
|
@@ -109,7 +109,13 @@ var background = {
|
|
|
109
109
|
},
|
|
110
110
|
backgroundClip: {
|
|
111
111
|
shorthand: "bgClip",
|
|
112
|
-
className: "bg-clip"
|
|
112
|
+
className: "bg-clip",
|
|
113
|
+
transform(value) {
|
|
114
|
+
return {
|
|
115
|
+
backgroundClip: value,
|
|
116
|
+
WebkitBackgroundClip: value
|
|
117
|
+
};
|
|
118
|
+
}
|
|
113
119
|
},
|
|
114
120
|
background: {
|
|
115
121
|
shorthand: "bg",
|
|
@@ -650,6 +656,12 @@ var effects = {
|
|
|
650
656
|
"var(--backdrop-saturate)",
|
|
651
657
|
"var(--backdrop-sepia)"
|
|
652
658
|
].join(" ")
|
|
659
|
+
},
|
|
660
|
+
transform(value) {
|
|
661
|
+
return {
|
|
662
|
+
backdropFilter: value,
|
|
663
|
+
WebkitBackdropFilter: value
|
|
664
|
+
};
|
|
653
665
|
}
|
|
654
666
|
},
|
|
655
667
|
backdropBlur: {
|
|
@@ -1177,7 +1189,13 @@ var interactivity = {
|
|
|
1177
1189
|
className: "touch"
|
|
1178
1190
|
},
|
|
1179
1191
|
userSelect: {
|
|
1180
|
-
className: "select"
|
|
1192
|
+
className: "select",
|
|
1193
|
+
transform(value) {
|
|
1194
|
+
return {
|
|
1195
|
+
WebkitUserSelect: value,
|
|
1196
|
+
userSelect: value
|
|
1197
|
+
};
|
|
1198
|
+
}
|
|
1181
1199
|
}
|
|
1182
1200
|
};
|
|
1183
1201
|
|
|
@@ -1195,7 +1213,13 @@ var layout = {
|
|
|
1195
1213
|
}
|
|
1196
1214
|
},
|
|
1197
1215
|
boxDecorationBreak: {
|
|
1198
|
-
className: "decoration"
|
|
1216
|
+
className: "decoration",
|
|
1217
|
+
transform(value) {
|
|
1218
|
+
return {
|
|
1219
|
+
boxDecorationBreak: value,
|
|
1220
|
+
WebkitBoxDecorationBreak: value
|
|
1221
|
+
};
|
|
1222
|
+
}
|
|
1199
1223
|
},
|
|
1200
1224
|
zIndex: {
|
|
1201
1225
|
className: "z"
|
|
@@ -1863,6 +1887,58 @@ var typography = {
|
|
|
1863
1887
|
}
|
|
1864
1888
|
};
|
|
1865
1889
|
|
|
1890
|
+
// src/utilities/polyfill.ts
|
|
1891
|
+
var polyfill = {
|
|
1892
|
+
appearance: {
|
|
1893
|
+
className: "appearance",
|
|
1894
|
+
transform(value) {
|
|
1895
|
+
return { appearance: value, WebkitAppearance: value };
|
|
1896
|
+
}
|
|
1897
|
+
},
|
|
1898
|
+
backfaceVisibility: {
|
|
1899
|
+
className: "backface",
|
|
1900
|
+
transform(value) {
|
|
1901
|
+
return { backfaceVisibility: value, WebkitBackfaceVisibility: value };
|
|
1902
|
+
}
|
|
1903
|
+
},
|
|
1904
|
+
clipPath: {
|
|
1905
|
+
className: "clip-path",
|
|
1906
|
+
transform(value) {
|
|
1907
|
+
return { clipPath: value, WebkitClipPath: value };
|
|
1908
|
+
}
|
|
1909
|
+
},
|
|
1910
|
+
hyphens: {
|
|
1911
|
+
className: "hyphens",
|
|
1912
|
+
transform(value) {
|
|
1913
|
+
return { hyphens: value, WebkitHyphens: value };
|
|
1914
|
+
}
|
|
1915
|
+
},
|
|
1916
|
+
mask: {
|
|
1917
|
+
className: "mask",
|
|
1918
|
+
transform(value) {
|
|
1919
|
+
return { mask: value, WebkitMask: value };
|
|
1920
|
+
}
|
|
1921
|
+
},
|
|
1922
|
+
maskImage: {
|
|
1923
|
+
className: "mask-image",
|
|
1924
|
+
transform(value) {
|
|
1925
|
+
return { maskImage: value, WebkitMaskImage: value };
|
|
1926
|
+
}
|
|
1927
|
+
},
|
|
1928
|
+
maskSize: {
|
|
1929
|
+
className: "mask-size",
|
|
1930
|
+
transform(value) {
|
|
1931
|
+
return { maskSize: value, WebkitMaskSize: value };
|
|
1932
|
+
}
|
|
1933
|
+
},
|
|
1934
|
+
textSizeAdjust: {
|
|
1935
|
+
className: "text-size-adjust",
|
|
1936
|
+
transform(value) {
|
|
1937
|
+
return { textSizeAdjust: value, WebkitTextSizeAdjust: value };
|
|
1938
|
+
}
|
|
1939
|
+
}
|
|
1940
|
+
};
|
|
1941
|
+
|
|
1866
1942
|
// src/utilities/index.ts
|
|
1867
1943
|
var utilities = Object.assign(
|
|
1868
1944
|
{},
|
|
@@ -1883,7 +1959,8 @@ var utilities = Object.assign(
|
|
|
1883
1959
|
transforms,
|
|
1884
1960
|
interactivity,
|
|
1885
1961
|
svg,
|
|
1886
|
-
helpers
|
|
1962
|
+
helpers,
|
|
1963
|
+
polyfill
|
|
1887
1964
|
);
|
|
1888
1965
|
|
|
1889
1966
|
// src/patterns.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/preset-base",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20230620143512",
|
|
4
4
|
"description": "The base preset for Panda CSS that contains the conditions and utilities",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"dist"
|
|
15
15
|
],
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@pandacss/types": "0.0.0-dev-
|
|
17
|
+
"@pandacss/types": "0.0.0-dev-20230620143512"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
20
|
"build": "tsup src/index.ts --format=esm,cjs --dts",
|