@gem-sdk/components 2.1.23 → 2.1.24

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.
@@ -75,7 +75,7 @@ const ProductBadge = ({ styles, builderProps, isInsideProductImage, builderAttrs
75
75
  ...sizeStyles
76
76
  } : {}, style)
77
77
  }}"
78
- data-displayContent="${pageContext?.isPreviewing ? displayContentVal : `{{${displayContentVal}}}`}"
78
+ data-display-content="${pageContext?.isPreviewing ? displayContentVal : `{{${displayContentVal}}}`}"
79
79
  >
80
80
  <div class="${shapeAlignClass} ${isDropOutsideProductImage && isTextBadge ? '' : 'gp-h-full'}">
81
81
  <div
@@ -73,8 +73,8 @@ const ProductDescription = ({ setting, advanced, builderProps, pageContext })=>{
73
73
  defaultStyle,
74
74
  collapseStyle
75
75
  }).replaceAll("'", '&#039;')}'
76
- data-viewMoreText="${viewMoreTextDisplay}"
77
- data-viewLessText="${viewLessTextDisplay}"
76
+ data-view-more-text="${viewMoreTextDisplay}"
77
+ data-view-less-text="${viewLessTextDisplay}"
78
78
  >
79
79
  {%- unless product -%}
80
80
  <p>Product not found</p>
@@ -105,9 +105,9 @@ const StockCounter = ({ setting, styles, style, advanced, builderProps, pageCont
105
105
  data-visible="{{ should_display }}"
106
106
  data-policy='{{ variant_policy_list }}'
107
107
  data-template="${templateStringDisplay}"
108
- data-outOfStockMessage="${outOfStockMessageDisplay}"
109
- data-continueSelling="${continueSellingDisplay}"
110
- data-unlimitedQuantityMessage="${unlimitedQuantityMessageDisplay}"
108
+ data-out-of-stock-message="${outOfStockMessageDisplay}"
109
+ data-continue-selling="${continueSellingDisplay}"
110
+ data-unlimited-quantity-message="${unlimitedQuantityMessageDisplay}"
111
111
  gp-setting='${JSON.stringify({
112
112
  displayByDefault,
113
113
  displayProgressBar,
@@ -71,7 +71,7 @@ const ProductBadge = ({ styles, builderProps, isInsideProductImage, builderAttrs
71
71
  ...sizeStyles
72
72
  } : {}, style)
73
73
  }}"
74
- data-displayContent="${pageContext?.isPreviewing ? displayContentVal : `{{${displayContentVal}}}`}"
74
+ data-display-content="${pageContext?.isPreviewing ? displayContentVal : `{{${displayContentVal}}}`}"
75
75
  >
76
76
  <div class="${shapeAlignClass} ${isDropOutsideProductImage && isTextBadge ? '' : 'gp-h-full'}">
77
77
  <div
@@ -69,8 +69,8 @@ const ProductDescription = ({ setting, advanced, builderProps, pageContext })=>{
69
69
  defaultStyle,
70
70
  collapseStyle
71
71
  }).replaceAll("'", '&#039;')}'
72
- data-viewMoreText="${viewMoreTextDisplay}"
73
- data-viewLessText="${viewLessTextDisplay}"
72
+ data-view-more-text="${viewMoreTextDisplay}"
73
+ data-view-less-text="${viewLessTextDisplay}"
74
74
  >
75
75
  {%- unless product -%}
76
76
  <p>Product not found</p>
@@ -101,9 +101,9 @@ const StockCounter = ({ setting, styles, style, advanced, builderProps, pageCont
101
101
  data-visible="{{ should_display }}"
102
102
  data-policy='{{ variant_policy_list }}'
103
103
  data-template="${templateStringDisplay}"
104
- data-outOfStockMessage="${outOfStockMessageDisplay}"
105
- data-continueSelling="${continueSellingDisplay}"
106
- data-unlimitedQuantityMessage="${unlimitedQuantityMessageDisplay}"
104
+ data-out-of-stock-message="${outOfStockMessageDisplay}"
105
+ data-continue-selling="${continueSellingDisplay}"
106
+ data-unlimited-quantity-message="${unlimitedQuantityMessageDisplay}"
107
107
  gp-setting='${JSON.stringify({
108
108
  displayByDefault,
109
109
  displayProgressBar,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.1.23",
3
+ "version": "2.1.24",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -21,7 +21,7 @@
21
21
  "format": "prettier --write \"./src/**/*.{ts,tsx}\""
22
22
  },
23
23
  "devDependencies": {
24
- "@gem-sdk/core": "2.1.21",
24
+ "@gem-sdk/core": "2.1.24",
25
25
  "@gem-sdk/styles": "2.1.0",
26
26
  "@types/react-transition-group": "^4.4.5"
27
27
  },