@gem-sdk/components 2.0.0-dev.346 → 2.0.0-dev.348

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 (60) hide show
  1. package/dist/cjs/carousel/components/plugins/AutoPlayPlugin.js +58 -17
  2. package/dist/cjs/countdown-timer/components/Countdown.js +103 -307
  3. package/dist/cjs/countdown-timer/components/Countdown.liquid.js +92 -56
  4. package/dist/cjs/countdown-timer/components/common/getAttr.js +15 -0
  5. package/dist/cjs/countdown-timer/components/common/getClasses.js +69 -0
  6. package/dist/cjs/countdown-timer/components/common/getStyle.js +66 -0
  7. package/dist/cjs/countdown-timer/components/hooks/useCountDownTimer.js +67 -0
  8. package/dist/cjs/countdown-timer/{hooks → components/hooks}/useTimeLeft.js +1 -1
  9. package/dist/cjs/countdown-timer/index.js +1 -1
  10. package/dist/cjs/countdown-timer/setting/Countdown.js +1 -1
  11. package/dist/cjs/countdown-timer/setting/configs/settings.js +1 -1
  12. package/dist/cjs/product/components/ProductProperties/ProductPropertyInput/ProductPropertyInput.liquid.js +1 -1
  13. package/dist/cjs/product/setting/product-properties/configs/settingsV2.js +43 -14
  14. package/dist/cjs/product/setting/product-properties/configs/uiV2.js +5 -2
  15. package/dist/cjs/third-party/components/AliReviews.liquid.js +1 -1
  16. package/dist/cjs/third-party/components/FeraReviews/FeraReviewsSampleContent.js +3 -3
  17. package/dist/cjs/third-party/components/FeraReviews/LiquidTemplateByWidget.js +2 -2
  18. package/dist/cjs/third-party/components/FeraReviews.js +0 -5
  19. package/dist/cjs/third-party/components/GoogleReviewsByReputon.liquid.js +2 -2
  20. package/dist/cjs/third-party/components/JudgemeReviews.liquid.js +5 -5
  21. package/dist/cjs/third-party/components/KachingBundles.liquid.js +1 -1
  22. package/dist/cjs/third-party/components/KingProductOptions.liquid.js +1 -1
  23. package/dist/cjs/third-party/components/LaiProductReviews/LiquidTemplateByWiget.js +3 -3
  24. package/dist/cjs/third-party/components/LooxReviews.liquid.js +1 -1
  25. package/dist/cjs/third-party/components/Ryviu.liquid.js +1 -1
  26. package/dist/cjs/third-party/components/Vitals.liquid.js +2 -2
  27. package/dist/cjs/third-party/setting/TrustshopProductReviews.js +3 -3
  28. package/dist/cjs/third-party/setting/WhatmoreShoppableVideosreel.js +36 -36
  29. package/dist/cjs/third-party/types/index.js +5 -0
  30. package/dist/esm/carousel/components/plugins/AutoPlayPlugin.js +58 -17
  31. package/dist/esm/countdown-timer/components/Countdown.js +104 -308
  32. package/dist/esm/countdown-timer/components/Countdown.liquid.js +93 -57
  33. package/dist/esm/countdown-timer/components/common/getAttr.js +12 -0
  34. package/dist/esm/countdown-timer/components/common/getClasses.js +61 -0
  35. package/dist/esm/countdown-timer/components/common/getStyle.js +60 -0
  36. package/dist/esm/countdown-timer/components/hooks/useCountDownTimer.js +63 -0
  37. package/dist/esm/countdown-timer/{hooks → components/hooks}/useTimeLeft.js +1 -1
  38. package/dist/esm/countdown-timer/index.js +1 -1
  39. package/dist/esm/countdown-timer/setting/Countdown.js +1 -1
  40. package/dist/esm/countdown-timer/setting/configs/settings.js +1 -1
  41. package/dist/esm/product/components/ProductProperties/ProductPropertyInput/ProductPropertyInput.liquid.js +1 -1
  42. package/dist/esm/product/setting/product-properties/configs/settingsV2.js +43 -14
  43. package/dist/esm/product/setting/product-properties/configs/uiV2.js +5 -2
  44. package/dist/esm/third-party/components/AliReviews.liquid.js +1 -1
  45. package/dist/esm/third-party/components/FeraReviews/FeraReviewsSampleContent.js +1 -1
  46. package/dist/esm/third-party/components/FeraReviews/LiquidTemplateByWidget.js +1 -1
  47. package/dist/esm/third-party/components/FeraReviews.js +1 -5
  48. package/dist/esm/third-party/components/GoogleReviewsByReputon.liquid.js +2 -2
  49. package/dist/esm/third-party/components/JudgemeReviews.liquid.js +5 -5
  50. package/dist/esm/third-party/components/KachingBundles.liquid.js +1 -1
  51. package/dist/esm/third-party/components/KingProductOptions.liquid.js +1 -1
  52. package/dist/esm/third-party/components/LaiProductReviews/LiquidTemplateByWiget.js +3 -3
  53. package/dist/esm/third-party/components/LooxReviews.liquid.js +1 -1
  54. package/dist/esm/third-party/components/Ryviu.liquid.js +1 -1
  55. package/dist/esm/third-party/components/Vitals.liquid.js +2 -2
  56. package/dist/esm/third-party/setting/TrustshopProductReviews.js +3 -3
  57. package/dist/esm/third-party/setting/WhatmoreShoppableVideosreel.js +36 -36
  58. package/dist/esm/third-party/types/index.js +5 -1
  59. package/dist/types/index.d.ts +1541 -1531
  60. package/package.json +1 -1
@@ -63,65 +63,65 @@ const config = {
63
63
  default: 'app-block'
64
64
  },
65
65
  {
66
- id: "whatMoreSettings",
67
- type: "group",
66
+ id: 'whatMoreSettings',
67
+ type: 'group',
68
68
  controls: [
69
69
  {
70
- id: "heading",
71
- type: "input",
72
- default: "Watch and Buy"
70
+ id: 'heading',
71
+ type: 'input',
72
+ default: 'Watch and Buy'
73
73
  },
74
74
  {
75
- id: "templateType",
75
+ id: 'templateType',
76
76
  label: 'Choose widget',
77
77
  type: 'select',
78
78
  options: [
79
79
  {
80
- label: "Video-Card",
81
- value: "template-a"
80
+ label: 'Video-Card',
81
+ value: 'template-a'
82
82
  },
83
83
  {
84
- label: "Video-Card feed",
85
- value: "template-feed-a"
84
+ label: 'Video-Card feed',
85
+ value: 'template-feed-a'
86
86
  },
87
87
  {
88
- label: "Video-Card with see-more option.",
89
- value: "template-a-1"
88
+ label: 'Video-Card with see-more option.',
89
+ value: 'template-a-1'
90
90
  },
91
91
  {
92
- label: "Product-Video-Card",
93
- value: "template-b"
92
+ label: 'Product-Video-Card',
93
+ value: 'template-b'
94
94
  },
95
95
  {
96
- label: "Grid Style - Theme Border",
97
- value: "template-c"
96
+ label: 'Grid Style - Theme Border',
97
+ value: 'template-c'
98
98
  },
99
99
  {
100
- label: "Grid Style - No Border",
101
- value: "template-d"
100
+ label: 'Grid Style - No Border',
101
+ value: 'template-d'
102
102
  },
103
103
  {
104
- label: "Single Tile",
105
- value: "template-e"
104
+ label: 'Single Tile',
105
+ value: 'template-e'
106
106
  },
107
107
  {
108
- label: "Video-card with product-info",
109
- value: "template-f"
108
+ label: 'Video-card with product-info',
109
+ value: 'template-f'
110
110
  },
111
111
  {
112
- label: "Video-card with text-overlay",
113
- value: "template-g"
112
+ label: 'Video-card with text-overlay',
113
+ value: 'template-g'
114
114
  },
115
115
  {
116
- label: "Focussed-video-card with product-info",
117
- value: "template-h"
116
+ label: 'Focussed-video-card with product-info',
117
+ value: 'template-h'
118
118
  },
119
119
  {
120
- label: "Video-stories",
121
- value: "template-stories"
120
+ label: 'Video-stories',
121
+ value: 'template-stories'
122
122
  }
123
123
  ],
124
- default: "template-f"
124
+ default: 'template-f'
125
125
  },
126
126
  {
127
127
  id: 'showViews',
@@ -244,24 +244,24 @@ const config = {
244
244
  }
245
245
  },
246
246
  {
247
- type: "group",
247
+ type: 'group',
248
248
  controls: [
249
249
  {
250
- type: "control",
250
+ type: 'control',
251
251
  label: {
252
- en: "Heading"
252
+ en: 'Heading'
253
253
  },
254
254
  setting: {
255
- id: "heading"
255
+ id: 'heading'
256
256
  }
257
257
  },
258
258
  {
259
- type: "control",
259
+ type: 'control',
260
260
  label: {
261
- en: "Tile Type"
261
+ en: 'Tile Type'
262
262
  },
263
263
  setting: {
264
- id: "templateType"
264
+ id: 'templateType'
265
265
  }
266
266
  },
267
267
  {
@@ -2,5 +2,9 @@ const WISER_VERSION = {
2
2
  V1: 'V1',
3
3
  V2: 'V2'
4
4
  };
5
+ const FERA_VERSION = {
6
+ V2: 'V2',
7
+ V3: 'V3'
8
+ };
5
9
 
6
- export { WISER_VERSION };
10
+ export { FERA_VERSION, WISER_VERSION };