@gem-sdk/core 1.58.0-dev.40 → 1.58.0-dev.43
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.
|
@@ -112,12 +112,23 @@ function composeAdvanceStyle(data, tag, pageType) {
|
|
|
112
112
|
Object.assign(styles, radius.composeRadius(value));
|
|
113
113
|
}
|
|
114
114
|
if (attr === 'boxShadow') {
|
|
115
|
-
const
|
|
116
|
-
'Row',
|
|
115
|
+
const baseElements = [
|
|
117
116
|
'Section',
|
|
117
|
+
'Row',
|
|
118
118
|
'Text',
|
|
119
119
|
'Heading',
|
|
120
|
-
'Image'
|
|
120
|
+
'Image',
|
|
121
|
+
'Button'
|
|
122
|
+
];
|
|
123
|
+
const productElements = [
|
|
124
|
+
'ProductTitle',
|
|
125
|
+
'ProductDescription',
|
|
126
|
+
'ProductPrice',
|
|
127
|
+
'ProductVendor'
|
|
128
|
+
];
|
|
129
|
+
const listElementShadowV2 = [
|
|
130
|
+
...baseElements,
|
|
131
|
+
...productElements
|
|
121
132
|
];
|
|
122
133
|
let hasBoxShadowV2 = hasBoxShadow;
|
|
123
134
|
if (listElementShadowV2.includes(tag || '')) {
|
|
@@ -110,12 +110,23 @@ function composeAdvanceStyle(data, tag, pageType) {
|
|
|
110
110
|
Object.assign(styles, composeRadius(value));
|
|
111
111
|
}
|
|
112
112
|
if (attr === 'boxShadow') {
|
|
113
|
-
const
|
|
114
|
-
'Row',
|
|
113
|
+
const baseElements = [
|
|
115
114
|
'Section',
|
|
115
|
+
'Row',
|
|
116
116
|
'Text',
|
|
117
117
|
'Heading',
|
|
118
|
-
'Image'
|
|
118
|
+
'Image',
|
|
119
|
+
'Button'
|
|
120
|
+
];
|
|
121
|
+
const productElements = [
|
|
122
|
+
'ProductTitle',
|
|
123
|
+
'ProductDescription',
|
|
124
|
+
'ProductPrice',
|
|
125
|
+
'ProductVendor'
|
|
126
|
+
];
|
|
127
|
+
const listElementShadowV2 = [
|
|
128
|
+
...baseElements,
|
|
129
|
+
...productElements
|
|
119
130
|
];
|
|
120
131
|
let hasBoxShadowV2 = hasBoxShadow;
|
|
121
132
|
if (listElementShadowV2.includes(tag || '')) {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -8110,6 +8110,7 @@ type TypographyV2ControlType<T> = SharedControlType<T> & {
|
|
|
8110
8110
|
color?: boolean;
|
|
8111
8111
|
transform?: boolean;
|
|
8112
8112
|
fontWeight?: boolean;
|
|
8113
|
+
textShadow?: boolean;
|
|
8113
8114
|
};
|
|
8114
8115
|
disableCollapse?: boolean;
|
|
8115
8116
|
};
|
|
@@ -8548,6 +8549,7 @@ type SettingUIControl = {
|
|
|
8548
8549
|
updateFields?: {
|
|
8549
8550
|
field: string;
|
|
8550
8551
|
settingId: string;
|
|
8552
|
+
state?: SettingStateType;
|
|
8551
8553
|
}[];
|
|
8552
8554
|
};
|
|
8553
8555
|
setting?: {
|
|
@@ -8568,6 +8570,7 @@ type ControlTriggerAction$1 = {
|
|
|
8568
8570
|
groupType: string;
|
|
8569
8571
|
valueIfNull?: any;
|
|
8570
8572
|
removeDevice?: boolean;
|
|
8573
|
+
state?: SettingStateType;
|
|
8571
8574
|
};
|
|
8572
8575
|
type ControlTriggerSetting = {
|
|
8573
8576
|
source?: string[];
|