@gem-sdk/components 2.6.0-staging.27 → 2.6.0-staging.28

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 mapWidgetLabel = {
13
13
  slider: 'Gift slider',
14
14
  message: 'Cart message',
15
15
  ['classic-bundle']: 'Classic bundle',
16
- ['quantity-break']: 'Quantity break'
16
+ ['quantity-break']: 'Quantity break',
17
+ 'mix-match': 'Mix and match',
18
+ fbt: 'Frequently Bought Together'
17
19
  };
18
20
  const BogosSampleContent = ({ setting })=>{
19
21
  const widgetLabel = setting?.widgetType && mapWidgetLabel[setting.widgetType];
@@ -29,6 +29,8 @@ const Bogos = ({ setting, advanced })=>{
29
29
  <div class="bogos-integration-page-builder-quantity-break"></div>
30
30
  {% when "mix-match" %}
31
31
  <div class="bogos-integration-page-builder-mix-match"></div>
32
+ {% when "fbt" %}
33
+ <div class="bogos-integration-page-builder-fbt-upsell"></div>
32
34
  {% endcase %}
33
35
  </div>
34
36
  `;
@@ -88,6 +88,10 @@ const config = {
88
88
  {
89
89
  label: 'Mix and match',
90
90
  value: 'mix-match'
91
+ },
92
+ {
93
+ label: 'Frequently Bought Together',
94
+ value: 'fbt'
91
95
  }
92
96
  ]
93
97
  },
@@ -9,7 +9,9 @@ const mapWidgetLabel = {
9
9
  slider: 'Gift slider',
10
10
  message: 'Cart message',
11
11
  ['classic-bundle']: 'Classic bundle',
12
- ['quantity-break']: 'Quantity break'
12
+ ['quantity-break']: 'Quantity break',
13
+ 'mix-match': 'Mix and match',
14
+ fbt: 'Frequently Bought Together'
13
15
  };
14
16
  const BogosSampleContent = ({ setting })=>{
15
17
  const widgetLabel = setting?.widgetType && mapWidgetLabel[setting.widgetType];
@@ -25,6 +25,8 @@ const Bogos = ({ setting, advanced })=>{
25
25
  <div class="bogos-integration-page-builder-quantity-break"></div>
26
26
  {% when "mix-match" %}
27
27
  <div class="bogos-integration-page-builder-mix-match"></div>
28
+ {% when "fbt" %}
29
+ <div class="bogos-integration-page-builder-fbt-upsell"></div>
28
30
  {% endcase %}
29
31
  </div>
30
32
  `;
@@ -84,6 +84,10 @@ const config = {
84
84
  {
85
85
  label: 'Mix and match',
86
86
  value: 'mix-match'
87
+ },
88
+ {
89
+ label: 'Frequently Bought Together',
90
+ value: 'fbt'
87
91
  }
88
92
  ]
89
93
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.6.0-staging.27",
3
+ "version": "2.6.0-staging.28",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",