@gem-sdk/components 2.0.0-dev.645 → 2.0.0-dev.646

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.
@@ -15,7 +15,7 @@ const mapWidgetLabel = {
15
15
  message: 'Cart message',
16
16
  ['classic-bundle']: 'Classic bundle',
17
17
  ['quantity-break']: 'Quantity break',
18
- 'mix-match': ''
18
+ 'mix-match': 'Frequently Bought Together'
19
19
  };
20
20
  const BogosSampleContent = ({ setting })=>{
21
21
  const widgetLabel = setting?.widgetType && mapWidgetLabel[setting.widgetType];
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var BogosConfig = {
6
6
  id: 'bogos',
7
7
  label: 'BOGOS',
8
- logoUrl: 'https://s3-ap-southeast-1.amazonaws.com/gemtickets/production/dashboard/d82f3b5d-4ea3-44bc-aba9-4e5add3acd7d.png?width=22&height=22',
8
+ logoUrl: 'https://ucarecdn.com/9a9512e9-5675-4316-9569-0e12bc1c808d/-/format/auto/-/preview/3000x3000/-/quality/lighter/Icon%20n%E1%BB%81n%20xanh_2x.webp',
9
9
  tag: 'Bogos'
10
10
  };
11
11
 
@@ -93,7 +93,7 @@ const config = {
93
93
  value: 'classic-bundle'
94
94
  },
95
95
  {
96
- label: 'Mix and match',
96
+ label: 'Frequently Bought Together',
97
97
  value: 'mix-match'
98
98
  }
99
99
  ]
@@ -99,11 +99,6 @@ const config = {
99
99
  }
100
100
  ]
101
101
  },
102
- {
103
- id: 'starRatingInList',
104
- info: 'Note: Star Rating List widget is not appearing on the product page',
105
- type: 'group'
106
- },
107
102
  {
108
103
  id: 'align',
109
104
  label: 'Alignment',
@@ -13,18 +13,6 @@ const SettingUIV2 = [
13
13
  }
14
14
  ]
15
15
  },
16
- {
17
- controls: [
18
- {
19
- label: {
20
- en: 'Choose version'
21
- },
22
- setting: {
23
- id: 'version'
24
- }
25
- }
26
- ]
27
- },
28
16
  {
29
17
  controls: [
30
18
  {
@@ -37,20 +25,6 @@ const SettingUIV2 = [
37
25
  }
38
26
  ]
39
27
  },
40
- {
41
- controls: [
42
- {
43
- setting: {
44
- id: 'starRatingInList'
45
- }
46
- }
47
- ],
48
- messageConfig: {
49
- type: 'info',
50
- message: 'Note: Star Rating List widget is not appearing on the product page'
51
- },
52
- conditionDisplay: 'widgetType === "starRatingInList"'
53
- },
54
28
  {
55
29
  controls: [
56
30
  {
@@ -11,7 +11,7 @@ const mapWidgetLabel = {
11
11
  message: 'Cart message',
12
12
  ['classic-bundle']: 'Classic bundle',
13
13
  ['quantity-break']: 'Quantity break',
14
- 'mix-match': ''
14
+ 'mix-match': 'Frequently Bought Together'
15
15
  };
16
16
  const BogosSampleContent = ({ setting })=>{
17
17
  const widgetLabel = setting?.widgetType && mapWidgetLabel[setting.widgetType];
@@ -1,7 +1,7 @@
1
1
  var BogosConfig = {
2
2
  id: 'bogos',
3
3
  label: 'BOGOS',
4
- logoUrl: 'https://s3-ap-southeast-1.amazonaws.com/gemtickets/production/dashboard/d82f3b5d-4ea3-44bc-aba9-4e5add3acd7d.png?width=22&height=22',
4
+ logoUrl: 'https://ucarecdn.com/9a9512e9-5675-4316-9569-0e12bc1c808d/-/format/auto/-/preview/3000x3000/-/quality/lighter/Icon%20n%E1%BB%81n%20xanh_2x.webp',
5
5
  tag: 'Bogos'
6
6
  };
7
7
 
@@ -89,7 +89,7 @@ const config = {
89
89
  value: 'classic-bundle'
90
90
  },
91
91
  {
92
- label: 'Mix and match',
92
+ label: 'Frequently Bought Together',
93
93
  value: 'mix-match'
94
94
  }
95
95
  ]
@@ -95,11 +95,6 @@ const config = {
95
95
  }
96
96
  ]
97
97
  },
98
- {
99
- id: 'starRatingInList',
100
- info: 'Note: Star Rating List widget is not appearing on the product page',
101
- type: 'group'
102
- },
103
98
  {
104
99
  id: 'align',
105
100
  label: 'Alignment',
@@ -9,18 +9,6 @@ const SettingUIV2 = [
9
9
  }
10
10
  ]
11
11
  },
12
- {
13
- controls: [
14
- {
15
- label: {
16
- en: 'Choose version'
17
- },
18
- setting: {
19
- id: 'version'
20
- }
21
- }
22
- ]
23
- },
24
12
  {
25
13
  controls: [
26
14
  {
@@ -33,20 +21,6 @@ const SettingUIV2 = [
33
21
  }
34
22
  ]
35
23
  },
36
- {
37
- controls: [
38
- {
39
- setting: {
40
- id: 'starRatingInList'
41
- }
42
- }
43
- ],
44
- messageConfig: {
45
- type: 'info',
46
- message: 'Note: Star Rating List widget is not appearing on the product page'
47
- },
48
- conditionDisplay: 'widgetType === "starRatingInList"'
49
- },
50
24
  {
51
25
  controls: [
52
26
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.645",
3
+ "version": "2.0.0-dev.646",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",