@gem-sdk/core 2.0.0-dev.602 → 2.0.0-dev.604
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.
|
@@ -66,6 +66,7 @@ const getStyleBgImage = (background, options)=>{
|
|
|
66
66
|
const getBgImageByDevice = (background, device, options)=>{
|
|
67
67
|
const isBgVideo = background?.[device]?.type === 'video';
|
|
68
68
|
if (isBgVideo) return;
|
|
69
|
+
if (background?.[device]?.type === 'color') return 'url()'; // To prevent overriding background image from upper device
|
|
69
70
|
const backupFileKey = background?.[device]?.image?.backupFileKey;
|
|
70
71
|
const storage = background?.[device]?.image?.storage;
|
|
71
72
|
let imageByDevice = background?.[device]?.image?.src;
|
|
@@ -64,6 +64,7 @@ const getStyleBgImage = (background, options)=>{
|
|
|
64
64
|
const getBgImageByDevice = (background, device, options)=>{
|
|
65
65
|
const isBgVideo = background?.[device]?.type === 'video';
|
|
66
66
|
if (isBgVideo) return;
|
|
67
|
+
if (background?.[device]?.type === 'color') return 'url()'; // To prevent overriding background image from upper device
|
|
67
68
|
const backupFileKey = background?.[device]?.image?.backupFileKey;
|
|
68
69
|
const storage = background?.[device]?.image?.storage;
|
|
69
70
|
let imageByDevice = background?.[device]?.image?.src;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -35826,6 +35826,7 @@ type InputControlType<T> = SharedControlType<T> & {
|
|
|
35826
35826
|
placeholder?: string;
|
|
35827
35827
|
fallbackValue?: string;
|
|
35828
35828
|
clearButton?: boolean;
|
|
35829
|
+
isUpdateCustomLabel?: boolean;
|
|
35829
35830
|
datalist?: {
|
|
35830
35831
|
value: any;
|
|
35831
35832
|
}[];
|
|
@@ -36283,6 +36284,7 @@ type SettingUIControl = {
|
|
|
36283
36284
|
}[];
|
|
36284
36285
|
toggleStyle?: 'switch' | 'option';
|
|
36285
36286
|
clearButton?: boolean;
|
|
36287
|
+
isUpdateCustomLabel?: boolean;
|
|
36286
36288
|
labelAlign?: 'top' | 'center';
|
|
36287
36289
|
tooltipPosition?: 'left' | 'right';
|
|
36288
36290
|
isComboLayout?: boolean;
|