@gem-sdk/core 1.8.22 → 1.8.26
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.
|
@@ -139,6 +139,13 @@ function composeAdvanceStyle(data, tag) {
|
|
|
139
139
|
});
|
|
140
140
|
} else {
|
|
141
141
|
styles[`--${attr}`] = getAttrValue(attr, value, tag);
|
|
142
|
+
if (attr === 'hasBoxShadow' && data.boxShadow) {
|
|
143
|
+
Object.assign(styles, shadow.getStyleShadow({
|
|
144
|
+
value: data.boxShadow,
|
|
145
|
+
styleAppliedFor: 'box-shadow',
|
|
146
|
+
isEnableShadow: data.hasBoxShadow
|
|
147
|
+
}));
|
|
148
|
+
}
|
|
142
149
|
}
|
|
143
150
|
});
|
|
144
151
|
return styles;
|
|
@@ -137,6 +137,13 @@ function composeAdvanceStyle(data, tag) {
|
|
|
137
137
|
});
|
|
138
138
|
} else {
|
|
139
139
|
styles[`--${attr}`] = getAttrValue(attr, value, tag);
|
|
140
|
+
if (attr === 'hasBoxShadow' && data.boxShadow) {
|
|
141
|
+
Object.assign(styles, getStyleShadow({
|
|
142
|
+
value: data.boxShadow,
|
|
143
|
+
styleAppliedFor: 'box-shadow',
|
|
144
|
+
isEnableShadow: data.hasBoxShadow
|
|
145
|
+
}));
|
|
146
|
+
}
|
|
140
147
|
}
|
|
141
148
|
});
|
|
142
149
|
return styles;
|