@gem-sdk/components 2.0.0-dev.657 → 2.0.0-dev.661

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.
Files changed (34) hide show
  1. package/dist/cjs/product/setting/product-badge/configs/settings.js +0 -1
  2. package/dist/cjs/product/setting/product-badge/configs/uiV2.js +3 -0
  3. package/dist/cjs/product/setting/product-variant/configs/settings.js +4 -4
  4. package/dist/cjs/text/setting/configs/settings.js +2 -1
  5. package/dist/cjs/third-party/setting/KachingBundles/uiV2.js +17 -0
  6. package/dist/cjs/third-party/setting/OkendoReviewsLoyalty/uiV2.js +17 -0
  7. package/dist/cjs/third-party/setting/PumperBundlesVolumeDiscount/uiV2.js +17 -0
  8. package/dist/cjs/third-party/setting/QikifyUpsell/uiV2.js +17 -0
  9. package/dist/cjs/third-party/setting/RechargeSubscriptions/index.js +5 -0
  10. package/dist/cjs/third-party/setting/RechargeSubscriptions/uiV2.js +17 -0
  11. package/dist/cjs/third-party/setting/Releasit/uiV2.js +17 -0
  12. package/dist/cjs/third-party/setting/ShopifySubscriptions/uiV2.js +17 -0
  13. package/dist/cjs/third-party/setting/SubifySubscriptionsApp/index.js +5 -0
  14. package/dist/cjs/third-party/setting/SubifySubscriptionsApp/uiV2.js +17 -0
  15. package/dist/cjs/third-party/setting/TrustshopProductReviews/uiV2.js +17 -0
  16. package/dist/cjs/third-party/setting/YotpoReviews/uiV2.js +17 -0
  17. package/dist/esm/product/setting/product-badge/configs/settings.js +0 -1
  18. package/dist/esm/product/setting/product-badge/configs/uiV2.js +3 -0
  19. package/dist/esm/product/setting/product-variant/configs/settings.js +4 -4
  20. package/dist/esm/text/setting/configs/settings.js +2 -1
  21. package/dist/esm/third-party/setting/KachingBundles/uiV2.js +17 -0
  22. package/dist/esm/third-party/setting/OkendoReviewsLoyalty/uiV2.js +17 -0
  23. package/dist/esm/third-party/setting/PumperBundlesVolumeDiscount/uiV2.js +17 -0
  24. package/dist/esm/third-party/setting/QikifyUpsell/uiV2.js +17 -0
  25. package/dist/esm/third-party/setting/RechargeSubscriptions/index.js +5 -0
  26. package/dist/esm/third-party/setting/RechargeSubscriptions/uiV2.js +17 -0
  27. package/dist/esm/third-party/setting/Releasit/uiV2.js +17 -0
  28. package/dist/esm/third-party/setting/ShopifySubscriptions/uiV2.js +17 -0
  29. package/dist/esm/third-party/setting/SubifySubscriptionsApp/index.js +5 -0
  30. package/dist/esm/third-party/setting/SubifySubscriptionsApp/uiV2.js +17 -0
  31. package/dist/esm/third-party/setting/TrustshopProductReviews/uiV2.js +17 -0
  32. package/dist/esm/third-party/setting/YotpoReviews/uiV2.js +17 -0
  33. package/dist/types/index.d.ts +2 -0
  34. package/package.json +4 -4
@@ -38,7 +38,6 @@ const ProductBadgeSettings = [
38
38
  label: 'Content',
39
39
  iconViewBox: '0 0 80 48',
40
40
  enableItemBackground: true,
41
- popoverLabel: 'Style',
42
41
  itemPerRow: 2,
43
42
  itemSpacing: 'large',
44
43
  default: 'horizontal_rectangle',
@@ -11,6 +11,9 @@ const SettingUIV2 = [
11
11
  id: 'shape'
12
12
  },
13
13
  layout: 'vertical',
14
+ popoverLabel: {
15
+ en: 'Style'
16
+ },
14
17
  controlChangeTrigger: {
15
18
  settings: [
16
19
  {
@@ -318,7 +318,7 @@ const ProductVariantSettings = [
318
318
  {
319
319
  id: 'labelGap',
320
320
  label: 'Gap',
321
- type: 'input:unit',
321
+ type: 'input:slider',
322
322
  units: [
323
323
  'px'
324
324
  ],
@@ -386,16 +386,16 @@ const ProductVariantSettings = [
386
386
  {
387
387
  id: 'marginBottom',
388
388
  label: 'Margin Bottom',
389
- type: 'input:unit',
389
+ type: 'input:slider',
390
390
  units: [
391
391
  'px'
392
392
  ],
393
393
  devices: {
394
394
  desktop: {
395
- default: 'var(--g-s-xl)'
395
+ default: '16px'
396
396
  },
397
397
  mobile: {
398
- default: 'var(--g-s-xl)'
398
+ default: '16px'
399
399
  }
400
400
  }
401
401
  }
@@ -169,7 +169,8 @@ const TextSettings = [
169
169
  default: {
170
170
  type: 'paragraph-1',
171
171
  attrs: {
172
- color: 'text-1'
172
+ color: 'text-1',
173
+ isAlwaysLoadBold: false
173
174
  }
174
175
  },
175
176
  ignoreReRender: true
@@ -3,6 +3,23 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const SettingUIV2 = [
6
+ {
7
+ controls: [
8
+ {
9
+ label: {
10
+ en: 'Product source'
11
+ },
12
+ controlConfig: {
13
+ id: 'gp-to-product',
14
+ type: 'product-source'
15
+ },
16
+ layout: 'vertical',
17
+ options: {
18
+ labelVariant: 'primary'
19
+ }
20
+ }
21
+ ]
22
+ },
6
23
  {
7
24
  controls: [
8
25
  {
@@ -3,6 +3,23 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const SettingUIV2 = [
6
+ {
7
+ controls: [
8
+ {
9
+ label: {
10
+ en: 'Product source'
11
+ },
12
+ controlConfig: {
13
+ id: 'gp-to-product',
14
+ type: 'product-source'
15
+ },
16
+ layout: 'vertical',
17
+ options: {
18
+ labelVariant: 'primary'
19
+ }
20
+ }
21
+ ]
22
+ },
6
23
  {
7
24
  controls: [
8
25
  {
@@ -3,6 +3,23 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const SettingUIV2 = [
6
+ {
7
+ controls: [
8
+ {
9
+ label: {
10
+ en: 'Product source'
11
+ },
12
+ controlConfig: {
13
+ id: 'gp-to-product',
14
+ type: 'product-source'
15
+ },
16
+ layout: 'vertical',
17
+ options: {
18
+ labelVariant: 'primary'
19
+ }
20
+ }
21
+ ]
22
+ },
6
23
  {
7
24
  controls: [
8
25
  {
@@ -3,6 +3,23 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const SettingUIV2 = [
6
+ {
7
+ controls: [
8
+ {
9
+ label: {
10
+ en: 'Product source'
11
+ },
12
+ controlConfig: {
13
+ id: 'gp-to-product',
14
+ type: 'product-source'
15
+ },
16
+ layout: 'vertical',
17
+ options: {
18
+ labelVariant: 'primary'
19
+ }
20
+ }
21
+ ]
22
+ },
6
23
  {
7
24
  controls: [
8
25
  {
@@ -49,6 +49,11 @@ const config = {
49
49
  type: 'input',
50
50
  default: ''
51
51
  },
52
+ {
53
+ id: 'productHandle',
54
+ type: 'product-handle',
55
+ hide: true
56
+ },
52
57
  {
53
58
  id: 'widgetType',
54
59
  label: 'Choose widget',
@@ -3,6 +3,23 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const SettingUIV2 = [
6
+ {
7
+ controls: [
8
+ {
9
+ label: {
10
+ en: 'Product source'
11
+ },
12
+ controlConfig: {
13
+ id: 'gp-to-product',
14
+ type: 'product-source'
15
+ },
16
+ layout: 'vertical',
17
+ options: {
18
+ labelVariant: 'primary'
19
+ }
20
+ }
21
+ ]
22
+ },
6
23
  {
7
24
  controls: [
8
25
  {
@@ -3,6 +3,23 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const SettingUIV2 = [
6
+ {
7
+ controls: [
8
+ {
9
+ label: {
10
+ en: 'Product source'
11
+ },
12
+ controlConfig: {
13
+ id: 'gp-to-product',
14
+ type: 'product-source'
15
+ },
16
+ layout: 'vertical',
17
+ options: {
18
+ labelVariant: 'primary'
19
+ }
20
+ }
21
+ ]
22
+ },
6
23
  {
7
24
  controls: [
8
25
  {
@@ -3,6 +3,23 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const SettingUIV2 = [
6
+ {
7
+ controls: [
8
+ {
9
+ label: {
10
+ en: 'Product source'
11
+ },
12
+ controlConfig: {
13
+ id: 'gp-to-product',
14
+ type: 'product-source'
15
+ },
16
+ layout: 'vertical',
17
+ options: {
18
+ labelVariant: 'primary'
19
+ }
20
+ }
21
+ ]
22
+ },
6
23
  {
7
24
  controls: [
8
25
  {
@@ -49,6 +49,11 @@ const config = {
49
49
  type: 'input',
50
50
  default: ''
51
51
  },
52
+ {
53
+ id: 'productHandle',
54
+ type: 'product-handle',
55
+ hide: true
56
+ },
52
57
  {
53
58
  id: 'install',
54
59
  type: 'open-link',
@@ -3,6 +3,23 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const SettingUIV2 = [
6
+ {
7
+ controls: [
8
+ {
9
+ label: {
10
+ en: 'Product source'
11
+ },
12
+ controlConfig: {
13
+ id: 'gp-to-product',
14
+ type: 'product-source'
15
+ },
16
+ layout: 'vertical',
17
+ options: {
18
+ labelVariant: 'primary'
19
+ }
20
+ }
21
+ ]
22
+ },
6
23
  {
7
24
  controls: [
8
25
  {
@@ -3,6 +3,23 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const SettingUIV2 = [
6
+ {
7
+ controls: [
8
+ {
9
+ label: {
10
+ en: 'Product source'
11
+ },
12
+ controlConfig: {
13
+ id: 'gp-to-product',
14
+ type: 'product-source'
15
+ },
16
+ layout: 'vertical',
17
+ options: {
18
+ labelVariant: 'primary'
19
+ }
20
+ }
21
+ ]
22
+ },
6
23
  {
7
24
  controls: [
8
25
  {
@@ -3,6 +3,23 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const SettingUIV2 = [
6
+ {
7
+ controls: [
8
+ {
9
+ label: {
10
+ en: 'Product source'
11
+ },
12
+ controlConfig: {
13
+ id: 'gp-to-product',
14
+ type: 'product-source'
15
+ },
16
+ layout: 'vertical',
17
+ options: {
18
+ labelVariant: 'primary'
19
+ }
20
+ }
21
+ ]
22
+ },
6
23
  {
7
24
  controls: [
8
25
  {
@@ -36,7 +36,6 @@ const ProductBadgeSettings = [
36
36
  label: 'Content',
37
37
  iconViewBox: '0 0 80 48',
38
38
  enableItemBackground: true,
39
- popoverLabel: 'Style',
40
39
  itemPerRow: 2,
41
40
  itemSpacing: 'large',
42
41
  default: 'horizontal_rectangle',
@@ -9,6 +9,9 @@ const SettingUIV2 = [
9
9
  id: 'shape'
10
10
  },
11
11
  layout: 'vertical',
12
+ popoverLabel: {
13
+ en: 'Style'
14
+ },
12
15
  controlChangeTrigger: {
13
16
  settings: [
14
17
  {
@@ -316,7 +316,7 @@ const ProductVariantSettings = [
316
316
  {
317
317
  id: 'labelGap',
318
318
  label: 'Gap',
319
- type: 'input:unit',
319
+ type: 'input:slider',
320
320
  units: [
321
321
  'px'
322
322
  ],
@@ -384,16 +384,16 @@ const ProductVariantSettings = [
384
384
  {
385
385
  id: 'marginBottom',
386
386
  label: 'Margin Bottom',
387
- type: 'input:unit',
387
+ type: 'input:slider',
388
388
  units: [
389
389
  'px'
390
390
  ],
391
391
  devices: {
392
392
  desktop: {
393
- default: 'var(--g-s-xl)'
393
+ default: '16px'
394
394
  },
395
395
  mobile: {
396
- default: 'var(--g-s-xl)'
396
+ default: '16px'
397
397
  }
398
398
  }
399
399
  }
@@ -167,7 +167,8 @@ const TextSettings = [
167
167
  default: {
168
168
  type: 'paragraph-1',
169
169
  attrs: {
170
- color: 'text-1'
170
+ color: 'text-1',
171
+ isAlwaysLoadBold: false
171
172
  }
172
173
  },
173
174
  ignoreReRender: true
@@ -1,4 +1,21 @@
1
1
  const SettingUIV2 = [
2
+ {
3
+ controls: [
4
+ {
5
+ label: {
6
+ en: 'Product source'
7
+ },
8
+ controlConfig: {
9
+ id: 'gp-to-product',
10
+ type: 'product-source'
11
+ },
12
+ layout: 'vertical',
13
+ options: {
14
+ labelVariant: 'primary'
15
+ }
16
+ }
17
+ ]
18
+ },
2
19
  {
3
20
  controls: [
4
21
  {
@@ -1,4 +1,21 @@
1
1
  const SettingUIV2 = [
2
+ {
3
+ controls: [
4
+ {
5
+ label: {
6
+ en: 'Product source'
7
+ },
8
+ controlConfig: {
9
+ id: 'gp-to-product',
10
+ type: 'product-source'
11
+ },
12
+ layout: 'vertical',
13
+ options: {
14
+ labelVariant: 'primary'
15
+ }
16
+ }
17
+ ]
18
+ },
2
19
  {
3
20
  controls: [
4
21
  {
@@ -1,4 +1,21 @@
1
1
  const SettingUIV2 = [
2
+ {
3
+ controls: [
4
+ {
5
+ label: {
6
+ en: 'Product source'
7
+ },
8
+ controlConfig: {
9
+ id: 'gp-to-product',
10
+ type: 'product-source'
11
+ },
12
+ layout: 'vertical',
13
+ options: {
14
+ labelVariant: 'primary'
15
+ }
16
+ }
17
+ ]
18
+ },
2
19
  {
3
20
  controls: [
4
21
  {
@@ -1,4 +1,21 @@
1
1
  const SettingUIV2 = [
2
+ {
3
+ controls: [
4
+ {
5
+ label: {
6
+ en: 'Product source'
7
+ },
8
+ controlConfig: {
9
+ id: 'gp-to-product',
10
+ type: 'product-source'
11
+ },
12
+ layout: 'vertical',
13
+ options: {
14
+ labelVariant: 'primary'
15
+ }
16
+ }
17
+ ]
18
+ },
2
19
  {
3
20
  controls: [
4
21
  {
@@ -45,6 +45,11 @@ const config = {
45
45
  type: 'input',
46
46
  default: ''
47
47
  },
48
+ {
49
+ id: 'productHandle',
50
+ type: 'product-handle',
51
+ hide: true
52
+ },
48
53
  {
49
54
  id: 'widgetType',
50
55
  label: 'Choose widget',
@@ -1,4 +1,21 @@
1
1
  const SettingUIV2 = [
2
+ {
3
+ controls: [
4
+ {
5
+ label: {
6
+ en: 'Product source'
7
+ },
8
+ controlConfig: {
9
+ id: 'gp-to-product',
10
+ type: 'product-source'
11
+ },
12
+ layout: 'vertical',
13
+ options: {
14
+ labelVariant: 'primary'
15
+ }
16
+ }
17
+ ]
18
+ },
2
19
  {
3
20
  controls: [
4
21
  {
@@ -1,4 +1,21 @@
1
1
  const SettingUIV2 = [
2
+ {
3
+ controls: [
4
+ {
5
+ label: {
6
+ en: 'Product source'
7
+ },
8
+ controlConfig: {
9
+ id: 'gp-to-product',
10
+ type: 'product-source'
11
+ },
12
+ layout: 'vertical',
13
+ options: {
14
+ labelVariant: 'primary'
15
+ }
16
+ }
17
+ ]
18
+ },
2
19
  {
3
20
  controls: [
4
21
  {
@@ -1,4 +1,21 @@
1
1
  const SettingUIV2 = [
2
+ {
3
+ controls: [
4
+ {
5
+ label: {
6
+ en: 'Product source'
7
+ },
8
+ controlConfig: {
9
+ id: 'gp-to-product',
10
+ type: 'product-source'
11
+ },
12
+ layout: 'vertical',
13
+ options: {
14
+ labelVariant: 'primary'
15
+ }
16
+ }
17
+ ]
18
+ },
2
19
  {
3
20
  controls: [
4
21
  {
@@ -45,6 +45,11 @@ const config = {
45
45
  type: 'input',
46
46
  default: ''
47
47
  },
48
+ {
49
+ id: 'productHandle',
50
+ type: 'product-handle',
51
+ hide: true
52
+ },
48
53
  {
49
54
  id: 'install',
50
55
  type: 'open-link',
@@ -1,4 +1,21 @@
1
1
  const SettingUIV2 = [
2
+ {
3
+ controls: [
4
+ {
5
+ label: {
6
+ en: 'Product source'
7
+ },
8
+ controlConfig: {
9
+ id: 'gp-to-product',
10
+ type: 'product-source'
11
+ },
12
+ layout: 'vertical',
13
+ options: {
14
+ labelVariant: 'primary'
15
+ }
16
+ }
17
+ ]
18
+ },
2
19
  {
3
20
  controls: [
4
21
  {
@@ -1,4 +1,21 @@
1
1
  const SettingUIV2 = [
2
+ {
3
+ controls: [
4
+ {
5
+ label: {
6
+ en: 'Product source'
7
+ },
8
+ controlConfig: {
9
+ id: 'gp-to-product',
10
+ type: 'product-source'
11
+ },
12
+ layout: 'vertical',
13
+ options: {
14
+ labelVariant: 'primary'
15
+ }
16
+ }
17
+ ]
18
+ },
2
19
  {
3
20
  controls: [
4
21
  {
@@ -1,4 +1,21 @@
1
1
  const SettingUIV2 = [
2
+ {
3
+ controls: [
4
+ {
5
+ label: {
6
+ en: 'Product source'
7
+ },
8
+ controlConfig: {
9
+ id: 'gp-to-product',
10
+ type: 'product-source'
11
+ },
12
+ layout: 'vertical',
13
+ options: {
14
+ labelVariant: 'primary'
15
+ }
16
+ }
17
+ ]
18
+ },
2
19
  {
3
20
  controls: [
4
21
  {
@@ -4999,6 +4999,7 @@ type RechargeSubscriptionsProps = BaseProps<{
4999
4999
  align?: ObjectDevices$1<AlignProp>;
5000
5000
  openApp?: any;
5001
5001
  install?: any;
5002
+ productHandle?: string;
5002
5003
  }>;
5003
5004
  type RecurpaySubscriptionAppProps = BaseProps<{
5004
5005
  align?: ObjectDevices$1<AlignProp>;
@@ -5181,6 +5182,7 @@ type SubifySubscriptionsAppProps = BaseProps<{
5181
5182
  install?: any;
5182
5183
  appBlockId?: string;
5183
5184
  widgetType?: string;
5185
+ productHandle?: string;
5184
5186
  }>;
5185
5187
  type TagembedSocialPostReviewProps = BaseProps<{
5186
5188
  align?: ObjectDevices$1<AlignProp>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.657",
3
+ "version": "2.0.0-dev.661",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -25,9 +25,9 @@
25
25
  "scan-all-text": "rollup -c ./scripts/rollup.config.settings.mjs && node ./scripts/scan-all-text && node ./scripts/scan-all-text"
26
26
  },
27
27
  "devDependencies": {
28
- "@gem-sdk/core": "2.0.0-dev.649",
29
- "@gem-sdk/styles": "2.0.0-dev.571",
30
- "@gem-sdk/system": "2.0.0-dev.504",
28
+ "@gem-sdk/core": "2.0.0-dev.661",
29
+ "@gem-sdk/styles": "2.0.0-dev.661",
30
+ "@gem-sdk/system": "2.0.0-dev.661",
31
31
  "@types/react-transition-group": "^4.4.5",
32
32
  "xlsx": "^0.18.5"
33
33
  },