@gem-sdk/core 2.0.0-dev.474 → 2.0.0-dev.479
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.
|
@@ -102,7 +102,14 @@ const composeRadiusResponsiveState = (radiusValue)=>{
|
|
|
102
102
|
return style;
|
|
103
103
|
};
|
|
104
104
|
const getRadiusStyleActiveState = (radiusValue)=>{
|
|
105
|
-
|
|
105
|
+
const types = [
|
|
106
|
+
'circle',
|
|
107
|
+
'square',
|
|
108
|
+
'rounded',
|
|
109
|
+
'none',
|
|
110
|
+
'custom'
|
|
111
|
+
];
|
|
112
|
+
if (types.includes(radiusValue?.active?.radiusType || '')) {
|
|
106
113
|
return getCustomRadius('normal', radiusValue?.active);
|
|
107
114
|
}
|
|
108
115
|
return getRadiusCSSFromGlobal('normal', radiusValue?.active?.radiusType);
|
|
@@ -100,7 +100,14 @@ const composeRadiusResponsiveState = (radiusValue)=>{
|
|
|
100
100
|
return style;
|
|
101
101
|
};
|
|
102
102
|
const getRadiusStyleActiveState = (radiusValue)=>{
|
|
103
|
-
|
|
103
|
+
const types = [
|
|
104
|
+
'circle',
|
|
105
|
+
'square',
|
|
106
|
+
'rounded',
|
|
107
|
+
'none',
|
|
108
|
+
'custom'
|
|
109
|
+
];
|
|
110
|
+
if (types.includes(radiusValue?.active?.radiusType || '')) {
|
|
104
111
|
return getCustomRadius('normal', radiusValue?.active);
|
|
105
112
|
}
|
|
106
113
|
return getRadiusCSSFromGlobal('normal', radiusValue?.active?.radiusType);
|