@gem-sdk/core 1.53.0-dev.45 → 1.53.0-dev.58
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.
|
@@ -13,7 +13,9 @@ const getStyleBackgroundByDevice = (background, options)=>{
|
|
|
13
13
|
...getStyleBgColor(background)
|
|
14
14
|
} : {},
|
|
15
15
|
...!options?.ignoreBackgroundImage ? {
|
|
16
|
-
...getStyleBgImage(background, options)
|
|
16
|
+
...getStyleBgImage(background, options)
|
|
17
|
+
} : {},
|
|
18
|
+
...!options?.ignoreBackgroundImageProperties ? {
|
|
17
19
|
...getStyleBgPosition(background),
|
|
18
20
|
...getStyleBgSize(background),
|
|
19
21
|
...getStyleBgRepeat(background)
|
|
@@ -11,7 +11,9 @@ const getStyleBackgroundByDevice = (background, options)=>{
|
|
|
11
11
|
...getStyleBgColor(background)
|
|
12
12
|
} : {},
|
|
13
13
|
...!options?.ignoreBackgroundImage ? {
|
|
14
|
-
...getStyleBgImage(background, options)
|
|
14
|
+
...getStyleBgImage(background, options)
|
|
15
|
+
} : {},
|
|
16
|
+
...!options?.ignoreBackgroundImageProperties ? {
|
|
15
17
|
...getStyleBgPosition(background),
|
|
16
18
|
...getStyleBgSize(background),
|
|
17
19
|
...getStyleBgRepeat(background)
|
package/dist/types/index.d.ts
CHANGED
|
@@ -31954,6 +31954,7 @@ type Options = {
|
|
|
31954
31954
|
liquid?: boolean;
|
|
31955
31955
|
ignoreBgAttachment?: boolean;
|
|
31956
31956
|
ignoreBackgroundImage?: boolean;
|
|
31957
|
+
ignoreBackgroundImageProperties?: boolean;
|
|
31957
31958
|
ignoreBackgroundColor?: boolean;
|
|
31958
31959
|
};
|
|
31959
31960
|
declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options) => {
|