@gem-sdk/core 1.56.0-staging.16 → 1.56.0-staging.18

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)
@@ -31868,6 +31868,7 @@ type Options = {
31868
31868
  liquid?: boolean;
31869
31869
  ignoreBgAttachment?: boolean;
31870
31870
  ignoreBackgroundImage?: boolean;
31871
+ ignoreBackgroundImageProperties?: boolean;
31871
31872
  ignoreBackgroundColor?: boolean;
31872
31873
  };
31873
31874
  declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.56.0-staging.16",
3
+ "version": "1.56.0-staging.18",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",