@gem-sdk/core 1.23.0-staging.297 → 1.23.0-staging.299

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.
@@ -225,10 +225,11 @@ const appendAnimation = (props, liquid)=>{
225
225
  mobile: getInitOpacity('mobile')
226
226
  };
227
227
  const inheritParentStyle = {
228
- all: tag === 'Section' ? '' : 'inherit'
228
+ all: tag === 'Section' ? '' : 'inherit',
229
+ position: 'static'
229
230
  };
230
231
  return render.template`
231
- ${render.RenderIf(convert.isLocalEnv, `<script src="{{ 'gp-animation.js' | asset_url }}" defer="defer"></script>`, `<script src="${convert.baseAssetURL}/assets/gp-animation.js" defer="defer"></script>`)}
232
+ ${render.RenderIf(convert.isLocalEnv, `<script src="{{ 'gp-animation.js' | asset_url }}" defer="defer"></script>`, `<script src="${convert.baseAssetURL}/assets-v2/gp-animation.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
232
233
  <gp-animation
233
234
  gp-data='${JSON.stringify({
234
235
  config: animation,
@@ -221,10 +221,11 @@ const appendAnimation = (props, liquid)=>{
221
221
  mobile: getInitOpacity('mobile')
222
222
  };
223
223
  const inheritParentStyle = {
224
- all: tag === 'Section' ? '' : 'inherit'
224
+ all: tag === 'Section' ? '' : 'inherit',
225
+ position: 'static'
225
226
  };
226
227
  return template`
227
- ${RenderIf(isLocalEnv, `<script src="{{ 'gp-animation.js' | asset_url }}" defer="defer"></script>`, `<script src="${baseAssetURL}/assets/gp-animation.js" defer="defer"></script>`)}
228
+ ${RenderIf(isLocalEnv, `<script src="{{ 'gp-animation.js' | asset_url }}" defer="defer"></script>`, `<script src="${baseAssetURL}/assets-v2/gp-animation.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
228
229
  <gp-animation
229
230
  gp-data='${JSON.stringify({
230
231
  config: animation,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.23.0-staging.297",
3
+ "version": "1.23.0-staging.299",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",