@pandacss/preset-base 1.2.0 → 1.3.0
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 +11 -1
- package/dist/index.mjs +11 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2969,12 +2969,21 @@ var transitionMap = {
|
|
|
2969
2969
|
common: createTransition(
|
|
2970
2970
|
"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter"
|
|
2971
2971
|
),
|
|
2972
|
-
|
|
2972
|
+
size: createTransition("width, height, min-width, max-width, min-height, max-height"),
|
|
2973
|
+
position: createTransition("left, right, top, bottom, inset, inset-inline, inset-block"),
|
|
2974
|
+
background: createTransition("background, background-color, background-image, background-position"),
|
|
2973
2975
|
colors: createTransition("color, background-color, border-color, outline-color, text-decoration-color, fill, stroke"),
|
|
2974
2976
|
opacity: createTransition("opacity"),
|
|
2975
2977
|
shadow: createTransition("box-shadow"),
|
|
2976
2978
|
transform: createTransition("transform")
|
|
2977
2979
|
};
|
|
2980
|
+
var transitionPropertyMap = {
|
|
2981
|
+
common: "color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
|
|
2982
|
+
colors: "color, background-color, border-color, outline-color, text-decoration-color, fill, stroke",
|
|
2983
|
+
size: "width, height, min-width, max-width, min-height, max-height",
|
|
2984
|
+
position: "left, right, top, bottom, inset, inset-inline, inset-block",
|
|
2985
|
+
background: "background, background-color, background-image, background-position"
|
|
2986
|
+
};
|
|
2978
2987
|
var transitions = {
|
|
2979
2988
|
transitionTimingFunction: {
|
|
2980
2989
|
className: "trs-tmf",
|
|
@@ -3006,6 +3015,7 @@ var transitions = {
|
|
|
3006
3015
|
transitionProperty: {
|
|
3007
3016
|
className: "trs-prop",
|
|
3008
3017
|
group: "Transition",
|
|
3018
|
+
values: transitionPropertyMap,
|
|
3009
3019
|
transform(value) {
|
|
3010
3020
|
return {
|
|
3011
3021
|
"--transition-prop": value,
|
package/dist/index.mjs
CHANGED
|
@@ -2942,12 +2942,21 @@ var transitionMap = {
|
|
|
2942
2942
|
common: createTransition(
|
|
2943
2943
|
"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter"
|
|
2944
2944
|
),
|
|
2945
|
-
|
|
2945
|
+
size: createTransition("width, height, min-width, max-width, min-height, max-height"),
|
|
2946
|
+
position: createTransition("left, right, top, bottom, inset, inset-inline, inset-block"),
|
|
2947
|
+
background: createTransition("background, background-color, background-image, background-position"),
|
|
2946
2948
|
colors: createTransition("color, background-color, border-color, outline-color, text-decoration-color, fill, stroke"),
|
|
2947
2949
|
opacity: createTransition("opacity"),
|
|
2948
2950
|
shadow: createTransition("box-shadow"),
|
|
2949
2951
|
transform: createTransition("transform")
|
|
2950
2952
|
};
|
|
2953
|
+
var transitionPropertyMap = {
|
|
2954
|
+
common: "color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
|
|
2955
|
+
colors: "color, background-color, border-color, outline-color, text-decoration-color, fill, stroke",
|
|
2956
|
+
size: "width, height, min-width, max-width, min-height, max-height",
|
|
2957
|
+
position: "left, right, top, bottom, inset, inset-inline, inset-block",
|
|
2958
|
+
background: "background, background-color, background-image, background-position"
|
|
2959
|
+
};
|
|
2951
2960
|
var transitions = {
|
|
2952
2961
|
transitionTimingFunction: {
|
|
2953
2962
|
className: "trs-tmf",
|
|
@@ -2979,6 +2988,7 @@ var transitions = {
|
|
|
2979
2988
|
transitionProperty: {
|
|
2980
2989
|
className: "trs-prop",
|
|
2981
2990
|
group: "Transition",
|
|
2991
|
+
values: transitionPropertyMap,
|
|
2982
2992
|
transform(value) {
|
|
2983
2993
|
return {
|
|
2984
2994
|
"--transition-prop": value,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/preset-base",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
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",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dist"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@pandacss/types": "1.
|
|
35
|
+
"@pandacss/types": "1.3.0"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "tsup src/index.ts --format=esm,cjs --dts",
|