@gem-sdk/components 2.0.0-dev.604 → 2.0.0-dev.606

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.
@@ -4,7 +4,7 @@ var helpers = require('./helpers.js');
4
4
  var styles = require('./styles.js');
5
5
 
6
6
  const getData = (props)=>{
7
- const { style, dataId, pageContext, styles: styles$1 = {}, setting = {}, builderProps, builderAttrs, isUseTranslatedValue = false } = props;
7
+ const { style, dataId, pageContext, styles: styles$1 = {}, setting = {}, builderProps, builderAttrs, isUseTranslatedValue = true } = props;
8
8
  const { label, iconSvg, btnLink, loading, options, disabled, translate, iconVisible, shouldClearSpace } = setting;
9
9
  const [wrapStyle, restStyle] = helpers.getSplitStyles(style);
10
10
  const cleanedStyles = helpers.getCleanedStyles(styles$1, disabled);
@@ -100,7 +100,7 @@ const CollectionTitleSettings = [
100
100
  label: 'Div'
101
101
  }
102
102
  ],
103
- default: 'h1'
103
+ default: 'h2'
104
104
  }
105
105
  ]
106
106
  }
@@ -32,7 +32,7 @@ const SoldOutButton = (props)=>{
32
32
  uid: `${builderProps?.uid}-sold-out`
33
33
  },
34
34
  pageContext,
35
- isUseTranslatedValue: true,
35
+ isUseTranslatedValue: false,
36
36
  dataId: builderProps?.uid,
37
37
  customAttrs: {
38
38
  'gp-data-hidden': `{% if variant.available %}true{% endif %}`
@@ -2,7 +2,7 @@ import { getSplitStyles, getCleanedStyles, checkIsScrollToElement, getDataState,
2
2
  import { getCustomCssStyles } from './styles.js';
3
3
 
4
4
  const getData = (props)=>{
5
- const { style, dataId, pageContext, styles = {}, setting = {}, builderProps, builderAttrs, isUseTranslatedValue = false } = props;
5
+ const { style, dataId, pageContext, styles = {}, setting = {}, builderProps, builderAttrs, isUseTranslatedValue = true } = props;
6
6
  const { label, iconSvg, btnLink, loading, options, disabled, translate, iconVisible, shouldClearSpace } = setting;
7
7
  const [wrapStyle, restStyle] = getSplitStyles(style);
8
8
  const cleanedStyles = getCleanedStyles(styles, disabled);
@@ -98,7 +98,7 @@ const CollectionTitleSettings = [
98
98
  label: 'Div'
99
99
  }
100
100
  ],
101
- default: 'h1'
101
+ default: 'h2'
102
102
  }
103
103
  ]
104
104
  }
@@ -30,7 +30,7 @@ const SoldOutButton = (props)=>{
30
30
  uid: `${builderProps?.uid}-sold-out`
31
31
  },
32
32
  pageContext,
33
- isUseTranslatedValue: true,
33
+ isUseTranslatedValue: false,
34
34
  dataId: builderProps?.uid,
35
35
  customAttrs: {
36
36
  'gp-data-hidden': `{% if variant.available %}true{% endif %}`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.604",
3
+ "version": "2.0.0-dev.606",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",