@gem-sdk/components 2.0.0-dev.378 → 2.0.0-dev.380

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 (26) hide show
  1. package/dist/cjs/article/components/ArticleImage.liquid.js +2 -1
  2. package/dist/cjs/article/components/ArticleTitle.liquid.js +2 -1
  3. package/dist/cjs/article/setting/configs/ArticleImage/settings.js +14 -3
  4. package/dist/cjs/article/setting/configs/ArticleImage/uiV2.js +8 -0
  5. package/dist/cjs/article/setting/configs/ArticleReadMore/settings.js +12 -12
  6. package/dist/cjs/article/setting/configs/ArticleReadMore/uiV2.js +1 -179
  7. package/dist/cjs/article/setting/configs/ArticleTitle/settings.js +15 -4
  8. package/dist/cjs/article/setting/configs/ArticleTitle/uiV2.js +8 -0
  9. package/dist/cjs/helpers.js +4 -0
  10. package/dist/cjs/index.js +1 -0
  11. package/dist/cjs/product/setting/product-badge/configs/settings.js +2 -1
  12. package/dist/cjs/product/setting/product-quantity/configs/uiV2.js +12 -20
  13. package/dist/esm/article/components/ArticleImage.liquid.js +2 -1
  14. package/dist/esm/article/components/ArticleTitle.liquid.js +2 -1
  15. package/dist/esm/article/setting/configs/ArticleImage/settings.js +14 -3
  16. package/dist/esm/article/setting/configs/ArticleImage/uiV2.js +8 -0
  17. package/dist/esm/article/setting/configs/ArticleReadMore/settings.js +12 -12
  18. package/dist/esm/article/setting/configs/ArticleReadMore/uiV2.js +1 -179
  19. package/dist/esm/article/setting/configs/ArticleTitle/settings.js +15 -4
  20. package/dist/esm/article/setting/configs/ArticleTitle/uiV2.js +8 -0
  21. package/dist/esm/helpers.js +4 -1
  22. package/dist/esm/index.js +1 -1
  23. package/dist/esm/product/setting/product-badge/configs/settings.js +2 -1
  24. package/dist/esm/product/setting/product-quantity/configs/uiV2.js +12 -20
  25. package/dist/types/index.d.ts +18 -3
  26. package/package.json +2 -2
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  var core = require('@gem-sdk/core');
7
7
  var Image_liquid = require('../../image/components/Image.liquid.js');
8
+ var helpers = require('../../helpers.js');
8
9
 
9
10
  const ArticleImage = (props)=>{
10
11
  const setting = props?.setting ?? {};
@@ -12,7 +13,7 @@ const ArticleImage = (props)=>{
12
13
  return core.template`
13
14
  <div class="${core.cls('gp-text-center gp-overflow-hidden', props?.className)}" style="border-radius: inherit">
14
15
  ${setting?.linkArticle ? `
15
- <a href="{{article.url}}" title="{{article.title}}">
16
+ <a href="${helpers.getLinkArticle(setting.linkArticle, setting.customURL)}" title="{{article.title}}">
16
17
  ${Image_liquid.default({
17
18
  ...props,
18
19
  styles: props.styles,
@@ -5,12 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  var core = require('@gem-sdk/core');
7
7
  var Text_liquid = require('../../text/components/Text.liquid.js');
8
+ var helpers = require('../../helpers.js');
8
9
 
9
10
  const ArticleTitle = ({ setting, styles, advanced, builderProps })=>{
10
11
  const target = setting?.openNewTab ? '_blank' : '_self';
11
12
  return core.template`
12
13
  ${setting?.enableLink && setting?.linkArticle ? `
13
- <a href="{{article.url}}" target="${{
14
+ <a href="${helpers.getLinkArticle(setting.linkArticle, setting.customURL)}" target="${{
14
15
  target
15
16
  }}" title="{{article.title}}">
16
17
  ${Text_liquid.default({
@@ -63,16 +63,27 @@ const ArticleImageSettings = [
63
63
  options: [
64
64
  {
65
65
  label: 'Go to article',
66
- value: true
66
+ value: 'go-to-article'
67
67
  },
68
68
  {
69
69
  label: 'Scroll to',
70
- value: false
70
+ value: 'scroll-to'
71
71
  }
72
72
  ],
73
- default: true,
73
+ default: 'go-to-article',
74
74
  info: 'Ability to click on article title to go to article detail page.'
75
75
  },
76
+ {
77
+ id: 'customURL',
78
+ label: 'Custom URL',
79
+ type: 'pick-link',
80
+ default: {
81
+ target: '_self',
82
+ type: 'scroll-to'
83
+ },
84
+ isHiddenOpenLinkSelect: true,
85
+ hide: true
86
+ },
76
87
  {
77
88
  id: 'openNewTab',
78
89
  type: 'option:value',
@@ -104,6 +104,14 @@ const uiV2 = [
104
104
  setting: {
105
105
  id: 'openNewTab'
106
106
  }
107
+ },
108
+ {
109
+ type: 'control',
110
+ conditionDisplay: "linkArticle === 'scroll-to'",
111
+ layout: 'vertical',
112
+ setting: {
113
+ id: 'customURL'
114
+ }
107
115
  }
108
116
  ]
109
117
  },
@@ -19,18 +19,18 @@ const ArticleReadMoreSettings = [
19
19
  value: 'button',
20
20
  iconName: 'gp-article-filled-square'
21
21
  },
22
- {
23
- label: 'Rounded',
24
- value: 'rounded',
25
- iconName: 'gp-article-rounded'
26
- },
27
- {
28
- label: 'Outline',
29
- value: 'outline',
30
- iconName: 'gp-article-outline'
31
- },
32
- {
33
- label: 'Text',
22
+ // {
23
+ // label: 'Rounded',
24
+ // value: 'rounded',
25
+ // iconName: 'gp-article-rounded',
26
+ // },
27
+ // {
28
+ // label: 'Outline',
29
+ // value: 'outline',
30
+ // iconName: 'gp-article-outline',
31
+ // },
32
+ {
33
+ label: 'Text only',
34
34
  value: 'text',
35
35
  iconName: 'gp-article-link'
36
36
  }
@@ -10,185 +10,7 @@ const uiV2 = [
10
10
  setting: {
11
11
  id: 'readMoreType'
12
12
  },
13
- layout: 'vertical',
14
- controlChangeTrigger: {
15
- settings: [
16
- {
17
- condition: `readMoreType === 'outline'`,
18
- source: [
19
- 'readMoreType'
20
- ],
21
- action: {
22
- controlId: 'borderBtnV2',
23
- groupType: 'style',
24
- controlType: 'style',
25
- newValue: {
26
- normal: {
27
- border: 'solid',
28
- color: '#121212',
29
- width: '1px',
30
- borderWidth: '1px',
31
- borderType: '1px'
32
- },
33
- hover: {
34
- border: 'solid',
35
- color: '#121212',
36
- width: '1px',
37
- borderWidth: '1px',
38
- borderType: '1px'
39
- }
40
- }
41
- }
42
- },
43
- {
44
- condition: `readMoreType === 'button'`,
45
- source: [
46
- 'readMoreType'
47
- ],
48
- action: {
49
- controlId: 'roundedBtnV2',
50
- groupType: 'style',
51
- controlType: 'style',
52
- newValue: {
53
- normal: {},
54
- hover: {}
55
- }
56
- }
57
- },
58
- {
59
- condition: `readMoreType === 'outline'`,
60
- source: [
61
- 'readMoreType'
62
- ],
63
- action: {
64
- controlId: 'backgroundColorV2',
65
- groupType: 'style',
66
- controlType: 'style',
67
- newValue: {
68
- normal: '#212121',
69
- hover: '#303030'
70
- }
71
- }
72
- },
73
- {
74
- condition: `readMoreType === 'button' || readMoreType === 'rounded'`,
75
- source: [
76
- 'readMoreType'
77
- ],
78
- action: {
79
- controlId: 'backgroundColorV2',
80
- groupType: 'style',
81
- controlType: 'style',
82
- newValue: {
83
- normal: '#212121',
84
- hover: '#303030'
85
- }
86
- }
87
- },
88
- {
89
- condition: `readMoreType === 'outline'`,
90
- source: [
91
- 'readMoreType'
92
- ],
93
- action: {
94
- controlId: 'borderBtnV2',
95
- groupType: 'style',
96
- controlType: 'style',
97
- newValue: {
98
- normal: {},
99
- hover: {}
100
- }
101
- }
102
- },
103
- {
104
- condition: `readMoreType === 'outline'`,
105
- source: [
106
- 'readMoreType'
107
- ],
108
- action: {
109
- controlId: 'backgroundColorV2',
110
- groupType: 'style',
111
- controlType: 'style',
112
- newValue: {
113
- normal: 'transparent',
114
- hover: '#ECECEC'
115
- }
116
- }
117
- },
118
- {
119
- condition: `readMoreType === 'rounded'`,
120
- source: [
121
- 'readMoreType'
122
- ],
123
- action: {
124
- controlId: 'roundedBtnV2',
125
- groupType: 'style',
126
- controlType: 'style',
127
- newValue: {
128
- normal: {
129
- btrr: '99999px',
130
- bblr: '99999px',
131
- bbrr: '99999px',
132
- btlr: '99999px',
133
- radiusType: 'circle'
134
- },
135
- hover: {
136
- btrr: '99999px',
137
- bblr: '99999px',
138
- bbrr: '99999px',
139
- btlr: '99999px',
140
- radiusType: 'circle'
141
- }
142
- }
143
- }
144
- },
145
- {
146
- condition: `readMoreType === 'rounded'`,
147
- source: [
148
- 'readMoreType'
149
- ],
150
- action: {
151
- controlId: 'roundedBtnV2',
152
- groupType: 'style',
153
- controlType: 'style',
154
- newValue: {
155
- normal: {
156
- btrr: '99999px',
157
- bblr: '99999px',
158
- bbrr: '99999px',
159
- btlr: '99999px',
160
- radiusType: 'circle'
161
- },
162
- hover: {
163
- btrr: '99999px',
164
- bblr: '99999px',
165
- bbrr: '99999px',
166
- btlr: '99999px',
167
- radiusType: 'circle'
168
- }
169
- }
170
- }
171
- },
172
- {
173
- condition: `readMoreType !== 'rounded'`,
174
- source: [
175
- 'readMoreType'
176
- ],
177
- action: {
178
- controlId: 'roundedBtnV2',
179
- groupType: 'style',
180
- controlType: 'style',
181
- newValue: {
182
- normal: {},
183
- hover: {}
184
- }
185
- }
186
- }
187
- ],
188
- options: {
189
- noRecordHistory: true
190
- }
191
- }
13
+ layout: 'vertical'
192
14
  }
193
15
  ]
194
16
  },
@@ -52,17 +52,28 @@ const ArticleTitleSettings = [
52
52
  type: 'select',
53
53
  options: [
54
54
  {
55
- label: 'View article',
56
- value: true
55
+ label: 'Go to article',
56
+ value: 'go-to-article'
57
57
  },
58
58
  {
59
59
  label: 'None',
60
- value: false
60
+ value: 'scroll-to'
61
61
  }
62
62
  ],
63
- default: true,
63
+ default: 'go-to-article',
64
64
  info: 'Ability to click on article title to go to article detail page.'
65
65
  },
66
+ {
67
+ id: 'customURL',
68
+ label: 'Custom URL',
69
+ type: 'pick-link',
70
+ default: {
71
+ target: '_self',
72
+ type: 'scroll-to'
73
+ },
74
+ isHiddenOpenLinkSelect: true,
75
+ hide: true
76
+ },
66
77
  {
67
78
  id: 'openNewTab',
68
79
  type: 'segment',
@@ -108,6 +108,14 @@ const uiV2 = [
108
108
  id: 'linkArticle'
109
109
  }
110
110
  },
111
+ {
112
+ type: 'control',
113
+ conditionDisplay: "linkArticle === 'scroll-to'",
114
+ layout: 'vertical',
115
+ setting: {
116
+ id: 'customURL'
117
+ }
118
+ },
111
119
  {
112
120
  conditionDisplay: 'enableLink === true',
113
121
  label: {
@@ -2,6 +2,9 @@
2
2
 
3
3
  var Link = require('./link/components/Link.js');
4
4
 
5
+ const getLinkArticle = (linkArticle, customURL)=>{
6
+ return linkArticle == 'scroll-to' ? customURL?.link : '{{article.url}}';
7
+ };
5
8
  const isTransparentColor = (str)=>{
6
9
  if (!str) return false;
7
10
  if (str.startsWith('#')) {
@@ -215,6 +218,7 @@ exports.filterTruthyStyles = filterTruthyStyles;
215
218
  exports.getDisplayStyle = getDisplayStyle;
216
219
  exports.getDynamicSourceLocales = getDynamicSourceLocales;
217
220
  exports.getInsertLinkData = getInsertLinkData;
221
+ exports.getLinkArticle = getLinkArticle;
218
222
  exports.getLinkData = getLinkData;
219
223
  exports.getSettingPreloadData = getSettingPreloadData;
220
224
  exports.getStaticLocale = getStaticLocale;
package/dist/cjs/index.js CHANGED
@@ -390,6 +390,7 @@ exports.filterTruthyStyles = helpers.filterTruthyStyles;
390
390
  exports.getDisplayStyle = helpers.getDisplayStyle;
391
391
  exports.getDynamicSourceLocales = helpers.getDynamicSourceLocales;
392
392
  exports.getInsertLinkData = helpers.getInsertLinkData;
393
+ exports.getLinkArticle = helpers.getLinkArticle;
393
394
  exports.getLinkData = helpers.getLinkData;
394
395
  exports.getSettingPreloadData = helpers.getSettingPreloadData;
395
396
  exports.getStaticLocale = helpers.getStaticLocale;
@@ -38,6 +38,7 @@ const ProductBadgeSettings = [
38
38
  label: 'Content',
39
39
  iconViewBox: '0 0 80 48',
40
40
  enableItemBackground: true,
41
+ popoverLabel: 'Style',
41
42
  itemPerRow: 2,
42
43
  itemSpacing: 'large',
43
44
  default: 'horizontal_rectangle',
@@ -102,7 +103,7 @@ const ProductBadgeSettings = [
102
103
  id: 'displayContent',
103
104
  type: 'textarea',
104
105
  default: 'Sale {percent_discount} off',
105
- minHeight: 28,
106
+ minHeight: 72,
106
107
  inputClass: '!pr-36',
107
108
  autoHeight: true,
108
109
  showPlusBtn: true,
@@ -21,9 +21,7 @@ const SettingUIV2 = [
21
21
  action: {
22
22
  controlId: 'dividerStroke',
23
23
  newValue: {
24
- desktop: {
25
- normal: '1'
26
- }
24
+ normal: '1'
27
25
  },
28
26
  groupType: 'style',
29
27
  controlType: 'style'
@@ -37,9 +35,7 @@ const SettingUIV2 = [
37
35
  action: {
38
36
  controlId: 'dividerStroke',
39
37
  newValue: {
40
- desktop: {
41
- normal: '0'
42
- }
38
+ normal: '0'
43
39
  },
44
40
  groupType: 'style',
45
41
  controlType: 'style'
@@ -101,13 +97,11 @@ const SettingUIV2 = [
101
97
  action: {
102
98
  controlId: 'corner',
103
99
  newValue: {
104
- desktop: {
105
- normal: {
106
- btrr: '99999px',
107
- bblr: '99999px',
108
- bbrr: '99999px',
109
- btlr: '99999px'
110
- }
100
+ normal: {
101
+ btrr: '99999px',
102
+ bblr: '99999px',
103
+ bbrr: '99999px',
104
+ btlr: '99999px'
111
105
  }
112
106
  },
113
107
  groupType: 'style',
@@ -122,13 +116,11 @@ const SettingUIV2 = [
122
116
  action: {
123
117
  controlId: 'corner',
124
118
  newValue: {
125
- desktop: {
126
- normal: {
127
- btrr: '0px',
128
- bblr: '0px',
129
- bbrr: '0px',
130
- btlr: '0px'
131
- }
119
+ normal: {
120
+ btrr: '0px',
121
+ bblr: '0px',
122
+ bbrr: '0px',
123
+ btlr: '0px'
132
124
  }
133
125
  },
134
126
  groupType: 'style',
@@ -1,6 +1,7 @@
1
1
  'use client';
2
2
  import { template, cls } from '@gem-sdk/core';
3
3
  import Image from '../../image/components/Image.liquid.js';
4
+ import { getLinkArticle } from '../../helpers.js';
4
5
 
5
6
  const ArticleImage = (props)=>{
6
7
  const setting = props?.setting ?? {};
@@ -8,7 +9,7 @@ const ArticleImage = (props)=>{
8
9
  return template`
9
10
  <div class="${cls('gp-text-center gp-overflow-hidden', props?.className)}" style="border-radius: inherit">
10
11
  ${setting?.linkArticle ? `
11
- <a href="{{article.url}}" title="{{article.title}}">
12
+ <a href="${getLinkArticle(setting.linkArticle, setting.customURL)}" title="{{article.title}}">
12
13
  ${Image({
13
14
  ...props,
14
15
  styles: props.styles,
@@ -1,12 +1,13 @@
1
1
  'use client';
2
2
  import { template } from '@gem-sdk/core';
3
3
  import Text from '../../text/components/Text.liquid.js';
4
+ import { getLinkArticle } from '../../helpers.js';
4
5
 
5
6
  const ArticleTitle = ({ setting, styles, advanced, builderProps })=>{
6
7
  const target = setting?.openNewTab ? '_blank' : '_self';
7
8
  return template`
8
9
  ${setting?.enableLink && setting?.linkArticle ? `
9
- <a href="{{article.url}}" target="${{
10
+ <a href="${getLinkArticle(setting.linkArticle, setting.customURL)}" target="${{
10
11
  target
11
12
  }}" title="{{article.title}}">
12
13
  ${Text({
@@ -61,16 +61,27 @@ const ArticleImageSettings = [
61
61
  options: [
62
62
  {
63
63
  label: 'Go to article',
64
- value: true
64
+ value: 'go-to-article'
65
65
  },
66
66
  {
67
67
  label: 'Scroll to',
68
- value: false
68
+ value: 'scroll-to'
69
69
  }
70
70
  ],
71
- default: true,
71
+ default: 'go-to-article',
72
72
  info: 'Ability to click on article title to go to article detail page.'
73
73
  },
74
+ {
75
+ id: 'customURL',
76
+ label: 'Custom URL',
77
+ type: 'pick-link',
78
+ default: {
79
+ target: '_self',
80
+ type: 'scroll-to'
81
+ },
82
+ isHiddenOpenLinkSelect: true,
83
+ hide: true
84
+ },
74
85
  {
75
86
  id: 'openNewTab',
76
87
  type: 'option:value',
@@ -102,6 +102,14 @@ const uiV2 = [
102
102
  setting: {
103
103
  id: 'openNewTab'
104
104
  }
105
+ },
106
+ {
107
+ type: 'control',
108
+ conditionDisplay: "linkArticle === 'scroll-to'",
109
+ layout: 'vertical',
110
+ setting: {
111
+ id: 'customURL'
112
+ }
105
113
  }
106
114
  ]
107
115
  },
@@ -17,18 +17,18 @@ const ArticleReadMoreSettings = [
17
17
  value: 'button',
18
18
  iconName: 'gp-article-filled-square'
19
19
  },
20
- {
21
- label: 'Rounded',
22
- value: 'rounded',
23
- iconName: 'gp-article-rounded'
24
- },
25
- {
26
- label: 'Outline',
27
- value: 'outline',
28
- iconName: 'gp-article-outline'
29
- },
30
- {
31
- label: 'Text',
20
+ // {
21
+ // label: 'Rounded',
22
+ // value: 'rounded',
23
+ // iconName: 'gp-article-rounded',
24
+ // },
25
+ // {
26
+ // label: 'Outline',
27
+ // value: 'outline',
28
+ // iconName: 'gp-article-outline',
29
+ // },
30
+ {
31
+ label: 'Text only',
32
32
  value: 'text',
33
33
  iconName: 'gp-article-link'
34
34
  }
@@ -8,185 +8,7 @@ const uiV2 = [
8
8
  setting: {
9
9
  id: 'readMoreType'
10
10
  },
11
- layout: 'vertical',
12
- controlChangeTrigger: {
13
- settings: [
14
- {
15
- condition: `readMoreType === 'outline'`,
16
- source: [
17
- 'readMoreType'
18
- ],
19
- action: {
20
- controlId: 'borderBtnV2',
21
- groupType: 'style',
22
- controlType: 'style',
23
- newValue: {
24
- normal: {
25
- border: 'solid',
26
- color: '#121212',
27
- width: '1px',
28
- borderWidth: '1px',
29
- borderType: '1px'
30
- },
31
- hover: {
32
- border: 'solid',
33
- color: '#121212',
34
- width: '1px',
35
- borderWidth: '1px',
36
- borderType: '1px'
37
- }
38
- }
39
- }
40
- },
41
- {
42
- condition: `readMoreType === 'button'`,
43
- source: [
44
- 'readMoreType'
45
- ],
46
- action: {
47
- controlId: 'roundedBtnV2',
48
- groupType: 'style',
49
- controlType: 'style',
50
- newValue: {
51
- normal: {},
52
- hover: {}
53
- }
54
- }
55
- },
56
- {
57
- condition: `readMoreType === 'outline'`,
58
- source: [
59
- 'readMoreType'
60
- ],
61
- action: {
62
- controlId: 'backgroundColorV2',
63
- groupType: 'style',
64
- controlType: 'style',
65
- newValue: {
66
- normal: '#212121',
67
- hover: '#303030'
68
- }
69
- }
70
- },
71
- {
72
- condition: `readMoreType === 'button' || readMoreType === 'rounded'`,
73
- source: [
74
- 'readMoreType'
75
- ],
76
- action: {
77
- controlId: 'backgroundColorV2',
78
- groupType: 'style',
79
- controlType: 'style',
80
- newValue: {
81
- normal: '#212121',
82
- hover: '#303030'
83
- }
84
- }
85
- },
86
- {
87
- condition: `readMoreType === 'outline'`,
88
- source: [
89
- 'readMoreType'
90
- ],
91
- action: {
92
- controlId: 'borderBtnV2',
93
- groupType: 'style',
94
- controlType: 'style',
95
- newValue: {
96
- normal: {},
97
- hover: {}
98
- }
99
- }
100
- },
101
- {
102
- condition: `readMoreType === 'outline'`,
103
- source: [
104
- 'readMoreType'
105
- ],
106
- action: {
107
- controlId: 'backgroundColorV2',
108
- groupType: 'style',
109
- controlType: 'style',
110
- newValue: {
111
- normal: 'transparent',
112
- hover: '#ECECEC'
113
- }
114
- }
115
- },
116
- {
117
- condition: `readMoreType === 'rounded'`,
118
- source: [
119
- 'readMoreType'
120
- ],
121
- action: {
122
- controlId: 'roundedBtnV2',
123
- groupType: 'style',
124
- controlType: 'style',
125
- newValue: {
126
- normal: {
127
- btrr: '99999px',
128
- bblr: '99999px',
129
- bbrr: '99999px',
130
- btlr: '99999px',
131
- radiusType: 'circle'
132
- },
133
- hover: {
134
- btrr: '99999px',
135
- bblr: '99999px',
136
- bbrr: '99999px',
137
- btlr: '99999px',
138
- radiusType: 'circle'
139
- }
140
- }
141
- }
142
- },
143
- {
144
- condition: `readMoreType === 'rounded'`,
145
- source: [
146
- 'readMoreType'
147
- ],
148
- action: {
149
- controlId: 'roundedBtnV2',
150
- groupType: 'style',
151
- controlType: 'style',
152
- newValue: {
153
- normal: {
154
- btrr: '99999px',
155
- bblr: '99999px',
156
- bbrr: '99999px',
157
- btlr: '99999px',
158
- radiusType: 'circle'
159
- },
160
- hover: {
161
- btrr: '99999px',
162
- bblr: '99999px',
163
- bbrr: '99999px',
164
- btlr: '99999px',
165
- radiusType: 'circle'
166
- }
167
- }
168
- }
169
- },
170
- {
171
- condition: `readMoreType !== 'rounded'`,
172
- source: [
173
- 'readMoreType'
174
- ],
175
- action: {
176
- controlId: 'roundedBtnV2',
177
- groupType: 'style',
178
- controlType: 'style',
179
- newValue: {
180
- normal: {},
181
- hover: {}
182
- }
183
- }
184
- }
185
- ],
186
- options: {
187
- noRecordHistory: true
188
- }
189
- }
11
+ layout: 'vertical'
190
12
  }
191
13
  ]
192
14
  },
@@ -50,17 +50,28 @@ const ArticleTitleSettings = [
50
50
  type: 'select',
51
51
  options: [
52
52
  {
53
- label: 'View article',
54
- value: true
53
+ label: 'Go to article',
54
+ value: 'go-to-article'
55
55
  },
56
56
  {
57
57
  label: 'None',
58
- value: false
58
+ value: 'scroll-to'
59
59
  }
60
60
  ],
61
- default: true,
61
+ default: 'go-to-article',
62
62
  info: 'Ability to click on article title to go to article detail page.'
63
63
  },
64
+ {
65
+ id: 'customURL',
66
+ label: 'Custom URL',
67
+ type: 'pick-link',
68
+ default: {
69
+ target: '_self',
70
+ type: 'scroll-to'
71
+ },
72
+ isHiddenOpenLinkSelect: true,
73
+ hide: true
74
+ },
64
75
  {
65
76
  id: 'openNewTab',
66
77
  type: 'segment',
@@ -106,6 +106,14 @@ const uiV2 = [
106
106
  id: 'linkArticle'
107
107
  }
108
108
  },
109
+ {
110
+ type: 'control',
111
+ conditionDisplay: "linkArticle === 'scroll-to'",
112
+ layout: 'vertical',
113
+ setting: {
114
+ id: 'customURL'
115
+ }
116
+ },
109
117
  {
110
118
  conditionDisplay: 'enableLink === true',
111
119
  label: {
@@ -1,5 +1,8 @@
1
1
  import Link from './link/components/Link.js';
2
2
 
3
+ const getLinkArticle = (linkArticle, customURL)=>{
4
+ return linkArticle == 'scroll-to' ? customURL?.link : '{{article.url}}';
5
+ };
3
6
  const isTransparentColor = (str)=>{
4
7
  if (!str) return false;
5
8
  if (str.startsWith('#')) {
@@ -207,4 +210,4 @@ const convertUnitToNumber = (value, defaultValue)=>{
207
210
  return !isNaN(Number(data)) ? Number(data) : defaultValue;
208
211
  };
209
212
 
210
- export { convertUnitToNumber, filterTruthyObject, filterTruthyStyles, getDisplayStyle, getDynamicSourceLocales, getInsertLinkData, getLinkData, getSettingPreloadData, getStaticLocale, isHexTransparent, isTransparentColor, isTransparentRGBA, replaceLinkData, youtubeShortsRegex };
213
+ export { convertUnitToNumber, filterTruthyObject, filterTruthyStyles, getDisplayStyle, getDynamicSourceLocales, getInsertLinkData, getLinkArticle, getLinkData, getSettingPreloadData, getStaticLocale, isHexTransparent, isTransparentColor, isTransparentRGBA, replaceLinkData, youtubeShortsRegex };
package/dist/esm/index.js CHANGED
@@ -63,7 +63,7 @@ import 'react/jsx-runtime';
63
63
  import 'react';
64
64
  import '@gem-sdk/core';
65
65
  export { ELEMENT_Z_INDEX } from './common/const.js';
66
- export { convertUnitToNumber, filterTruthyObject, filterTruthyStyles, getDisplayStyle, getDynamicSourceLocales, getInsertLinkData, getLinkData, getSettingPreloadData, getStaticLocale, isHexTransparent, isTransparentColor, isTransparentRGBA, replaceLinkData, youtubeShortsRegex } from './helpers.js';
66
+ export { convertUnitToNumber, filterTruthyObject, filterTruthyStyles, getDisplayStyle, getDynamicSourceLocales, getInsertLinkData, getLinkArticle, getLinkData, getSettingPreloadData, getStaticLocale, isHexTransparent, isTransparentColor, isTransparentRGBA, replaceLinkData, youtubeShortsRegex } from './helpers.js';
67
67
  export { default as Accordion } from './accordion/components/Accordion.js';
68
68
  export { default as AccordionItem } from './accordion/components/AccordionItem.js';
69
69
  export { default as ArticleList } from './article/components/ArticleList.js';
@@ -36,6 +36,7 @@ const ProductBadgeSettings = [
36
36
  label: 'Content',
37
37
  iconViewBox: '0 0 80 48',
38
38
  enableItemBackground: true,
39
+ popoverLabel: 'Style',
39
40
  itemPerRow: 2,
40
41
  itemSpacing: 'large',
41
42
  default: 'horizontal_rectangle',
@@ -100,7 +101,7 @@ const ProductBadgeSettings = [
100
101
  id: 'displayContent',
101
102
  type: 'textarea',
102
103
  default: 'Sale {percent_discount} off',
103
- minHeight: 28,
104
+ minHeight: 72,
104
105
  inputClass: '!pr-36',
105
106
  autoHeight: true,
106
107
  showPlusBtn: true,
@@ -19,9 +19,7 @@ const SettingUIV2 = [
19
19
  action: {
20
20
  controlId: 'dividerStroke',
21
21
  newValue: {
22
- desktop: {
23
- normal: '1'
24
- }
22
+ normal: '1'
25
23
  },
26
24
  groupType: 'style',
27
25
  controlType: 'style'
@@ -35,9 +33,7 @@ const SettingUIV2 = [
35
33
  action: {
36
34
  controlId: 'dividerStroke',
37
35
  newValue: {
38
- desktop: {
39
- normal: '0'
40
- }
36
+ normal: '0'
41
37
  },
42
38
  groupType: 'style',
43
39
  controlType: 'style'
@@ -99,13 +95,11 @@ const SettingUIV2 = [
99
95
  action: {
100
96
  controlId: 'corner',
101
97
  newValue: {
102
- desktop: {
103
- normal: {
104
- btrr: '99999px',
105
- bblr: '99999px',
106
- bbrr: '99999px',
107
- btlr: '99999px'
108
- }
98
+ normal: {
99
+ btrr: '99999px',
100
+ bblr: '99999px',
101
+ bbrr: '99999px',
102
+ btlr: '99999px'
109
103
  }
110
104
  },
111
105
  groupType: 'style',
@@ -120,13 +114,11 @@ const SettingUIV2 = [
120
114
  action: {
121
115
  controlId: 'corner',
122
116
  newValue: {
123
- desktop: {
124
- normal: {
125
- btrr: '0px',
126
- bblr: '0px',
127
- bbrr: '0px',
128
- btlr: '0px'
129
- }
117
+ normal: {
118
+ btrr: '0px',
119
+ bblr: '0px',
120
+ bbrr: '0px',
121
+ btlr: '0px'
130
122
  }
131
123
  },
132
124
  groupType: 'style',
@@ -387,7 +387,12 @@ type ArticleListProps = BaseProps<ArticleListSetting, ArticleListStyle> & {
387
387
  pageContext?: PageContext;
388
388
  };
389
389
  type ArticleTitleProps = BaseProps<TextProps['setting'] & {
390
- linkArticle?: boolean;
390
+ linkArticle?: string;
391
+ customURL?: {
392
+ link?: string;
393
+ target?: string;
394
+ type?: any;
395
+ };
391
396
  enableLink?: boolean;
392
397
  openNewTab?: boolean;
393
398
  }, TextProps['styles']>;
@@ -396,7 +401,12 @@ type ArticleExcerptProps = BaseProps<TextProps['setting'] & {
396
401
  }, TextProps['styles']>;
397
402
  type ArticleContentProps = BaseProps<TextProps['setting'], TextProps['styles']>;
398
403
  type ArticleImageProps = BaseProps<ImageProps['setting'] & {
399
- linkArticle?: boolean;
404
+ linkArticle?: string;
405
+ customURL?: {
406
+ link?: string;
407
+ target?: string;
408
+ type?: any;
409
+ };
400
410
  enableLink?: boolean;
401
411
  openNewTab?: boolean;
402
412
  }, Pick<NonNullable<ImageProps['styles']>, 'opacity' | 'opacityColor' | 'shape' | 'objectFit' | 'align' | 'borderRadius' | 'wrapperBorder' | 'shadow'>> & {
@@ -7753,6 +7763,11 @@ type DynamicSource = {
7753
7763
  isReplaceLocationOrigin?: boolean;
7754
7764
  isReplaceMaxSize?: boolean;
7755
7765
  };
7766
+ declare const getLinkArticle: (linkArticle?: string, customURL?: {
7767
+ link?: string;
7768
+ target?: string;
7769
+ type?: any;
7770
+ }) => string | undefined;
7756
7771
  declare const isTransparentColor: (str?: string) => boolean;
7757
7772
  declare const isTransparentRGBA: (rgbStr: string) => boolean;
7758
7773
  declare const isHexTransparent: (hex: string) => boolean;
@@ -7794,4 +7809,4 @@ declare function filterTruthyObject<T extends Record<string, any>>(obj: T): Part
7794
7809
  declare const getDisplayStyle: (fnCondition: (params: NameDevices$1) => boolean, defaultValue: string) => any;
7795
7810
  declare const convertUnitToNumber: (value: string | undefined | number, defaultValue: number) => number;
7796
7811
 
7797
- export { Accordion$1 as Accordion, AccordionItem$1 as AccordionItem, AccordionItemProps, AccordionProps, AftershipEmailMarketingsms$1 as AftershipEmailMarketingsms, AftershipEmailMarketingsmsProps, AirProductReviewsAppUgc$1 as AirProductReviewsAppUgc, AirProductReviewsAppUgcProps, AliReviews$1 as AliReviews, AliReviewsProps, AlsoBoughtCbb$1 as AlsoBoughtCbb, AlsoBoughtCbbProps, AppointmentBookingCowlendar$1 as AppointmentBookingCowlendar, AppointmentBookingCowlendarProps, AppstleBundlesDiscounts$1 as AppstleBundlesDiscounts, AppstleBundlesDiscountsProps, AppstleSubscriptions$1 as AppstleSubscriptions, AppstleSubscriptionsProps, ArticleAuthor$1 as ArticleAuthor, ArticleCategory$1 as ArticleCategory, ArticleContent$1 as ArticleContent, ArticleDate$1 as ArticleDate, ArticleExcerpt$1 as ArticleExcerpt, ArticleImage$1 as ArticleImage, ArticleList$1 as ArticleList, ArticlePagination$1 as ArticlePagination, ArticleReadMore$1 as ArticleReadMore, ArticleTag$1 as ArticleTag, ArticleTitle$1 as ArticleTitle, BasicHeader, BestBuyFulfillment$1 as BestBuyFulfillment, BestBuyFulfillmentProps, BfSizeChartSizeGuide$1 as BfSizeChartSizeGuide, BfSizeChartSizeGuideProps, BirdChime$1 as BirdChime, BirdChimeProps, Bogos$1 as Bogos, BogosProps, BoldProductOptions$1 as BoldProductOptions, BoldProductOptionsProps, BoldSubscriptions$1 as BoldSubscriptions, BoldSubscriptionsProps, BonLoyaltyRewardsReferrals$1 as BonLoyaltyRewardsReferrals, BonLoyaltyRewardsReferralsProps, BoostAISearchDiscovery$1 as BoostAISearchDiscovery, BoostAISearchDiscoveryProps, Breadcrumb$1 as Breadcrumb, Breadcrumb$1 as BreadcrumbProps, Bundler$1 as Bundler, BundlerProps, Button$2 as Button, ButtonProps, CSSCode$1 as CSSCode, CSSCodeProps, CalloutBoxProps, CalloutTextProps, Carousel$1 as Carousel, CarouselItem$1 as CarouselItem, CarouselItemProps, CarouselProps, CarouselSettings, CarouselStyles, Cart, CartCheckout, CartDiscount, CartLineAttribute, CartLineImage, CartLinePrice, CartLineVariant, CartList, CartOrderNote, CartProps, CartTotalItem, CartTotalPrice, CheckoutNow, CleanSizeChartProps, CleanSizeCharts$1 as CleanSizeCharts, Column$1 as Col, ColProps, CollectionBanner$1 as CollectionBanner, CollectionBannerProps, CollectionDescription$1 as CollectionDescription, CollectionDescriptionProps, CollectionPaginator$1 as CollectionPaginator, CollectionPaginatorProps, CollectionTitle$1 as CollectionTitle, CollectionTitleProps, CollectionToolbar$1 as CollectionToolbar, CollectionToolbarProps, ContactForm$1 as ContactForm, Countdown$1 as Countdown, CountdownProps, Coupon$1 as Coupon, CouponList, CouponProps, CrossSellCartUpsell$1 as CrossSellCartUpsell, CrossSellCartUpsellProps, CustomProductOptionsVariant$1 as CustomProductOptionsVariant, CustomProductOptionsVariantProps, DataVideoType, DesktopMenu, Dialog$1 as Dialog, DiscountInput, DiscountyBulkDiscountSales$1 as DiscountyBulkDiscountSales, DiscountyBulkDiscountSalesProps, DynamicCheckout$1 as DynamicCheckout, DynamicCheckoutProps, ELEMENT_Z_INDEX, EasifyProductOptions$1 as EasifyProductOptions, EasifyProductOptionsProps, EasyBundleBuilderSkailama$1 as EasyBundleBuilderSkailama, EasyBundleBuilderSkailamaProps, EasySell as EasySellCOD, EasySellProps, EcoboostifyShoppableReelUgc$1 as EcoboostifyShoppableReelUgc, EcoboostifyShoppableReelUgcProps, EcomsendBackInStockAlert$1 as EcomsendBackInStockAlert, EcomsendBackInStockAlertProps, EssentialAnnouncementBar$1 as EssentialAnnouncementBar, EssentialAnnouncementBarProps, EssentialCountdownTimerBar$1 as EssentialCountdownTimerBar, EssentialCountdownTimerBarProps, EstimateDate, EstimateDateProps, EstimatedDeliveryDatePlus$1 as EstimatedDeliveryDatePlus, EstimatedDeliveryDatePlusProps, FastBundleBundlesDiscounts$1 as FastBundleBundlesDiscounts, FastBundleBundlesDiscountsProps, FeraReviews$1 as FeraReviews, FeraReviewsProps, FileUpload$1 as FileUpload, FileUploadProps, FirePush$1 as FirePush, FirePushProps, FlyBundlesUpsellsFbt$1 as FlyBundlesUpsellsFbt, FlyBundlesUpsellsFbtProps, FordeerProductLabels$1 as FordeerProductLabels, FordeerProductLabelsProps, FormCheckbox, FormCheckboxProps, FormDropdown$1 as FormDropdown, FormDropdownProps, FormEmail$1 as FormEmail, FormEmailProps, FormTextArea as FormTextarea, FrequentlyBoughtTogether$1 as FrequentlyBoughtTogether, FrequentlyBoughtTogetherProps, GloColorSwatchvariantImage$1 as GloColorSwatchvariantImage, GloColorSwatchvariantImageProps, GloboProductOptionsVariant$1 as GloboProductOptionsVariant, GloboProductOptionsVariantProps, GoogleReviewsByReputon$1 as GoogleReviewsByReputon, GoogleReviewsByReputonProps, Growave$1 as Growave, GrowaveProps, Header, HeaderProps, Heading$1 as Heading, HeadingProps, HeroBanner$1 as HeroBanner, HeroBannerProps, HextomCountdownTimerBar$1 as HextomCountdownTimerBar, HextomCountdownTimerBarProps, HextomFreeShippingBar$1 as HextomFreeShippingBar, HextomFreeShippingBarProps, HulkFormBuilder$1 as HulkFormBuilder, HulkFormBuilderProps, HulkProductOptions$1 as HulkProductOptions, HulkProductOptionsProps, Icon$1 as Icon, IconList$1 as IconList, IconListHoz$1 as IconListHoz, IconListHozItem, IconListHozProps, IconListItem$1 as IconListItem, IconListItemProps$1 as IconListItemProps, IconListProps$1 as IconListProps, IconListV2$1 as IconListV2, IconProps, Image$1 as Image, ImageComparison$1 as ImageComparison, ImageComparisonItem, ImageDetection, ImageDetectionProps, ImageProps, ImgProps, InfiniteOptions$1 as InfiniteOptions, InfiniteOptionsProps, Input, InputProps, Instafeed$1 as Instafeed, InstafeedProps, InstantJudgemeReviews, InstantKlaviyo, InstantLooxReviews, InstantYotpoLoyalty, InstasellShoppableInstagram$1 as InstasellShoppableInstagram, InstasellShoppableInstagramProps, JudgemeReviews$1 as JudgemeReviews, JudgemeReviewsProps, JunipProductReviewsUgc$1 as JunipProductReviewsUgc, JunipProductReviewsUgcProps, KachingBundles$1 as KachingBundles, KachingBundlesProps, KingProductOptions$1 as KingProductOptions, KingProductOptionsProps, KiteFreeGiftDiscount$1 as KiteFreeGiftDiscount, KiteFreeGiftDiscountProps, KlarnaMessaging$1 as KlarnaMessaging, KlarnaMessagingProps, Klaviyo$1 as Klaviyo, KlaviyoProps, KoalaBundleQuantityDiscount$1 as KoalaBundleQuantityDiscount, KoalaBundleQuantityDiscountProps, LaiProductReviews$1 as LaiProductReviews, LaiProductReviewsProps, Line$2 as Line, LineProps, Link$1 as Link, LinkProps, LoloyalLoyaltyReferrals$1 as LoloyalLoyaltyReferrals, LoloyalLoyaltyReferralsProps, LoopSubscriptions$1 as LoopSubscriptions, LoopSubscriptionsProps, LooxReviews$1 as LooxReviews, LooxReviewsProps, Marquee$1 as Marquee, _default$3 as MarqueeItem, MarqueeItemProps, MarqueeProps, MaxbundleProductBundles$1 as MaxbundleProductBundles, MaxbundleProductBundlesProps, MbcBundleVolumeDiscount$1 as MbcBundleVolumeDiscount, MbcBundleVolumeDiscountProps, Menu, MenuProps, MobileMenu, Modal, ModernHeader, MyappgurusProductReviews$1 as MyappgurusProductReviews, MyappgurusProductReviewsProps, Newsletter$1 as Newsletter, NewsletterProps, Notify as Notice, NotificationAPI, NotificationConfig, NotifyBackInStockPreOrder$1 as NotifyBackInStockPreOrder, NotifyBackInStockPreOrderProps, ObjectFit$1 as ObjectFit, OkendoReviewsLoyalty$1 as OkendoReviewsLoyalty, OkendoReviewsLoyaltyProps, Omnisend$1 as Omnisend, OmnisendProps, Opinew$1 as Opinew, OpinewProps, Pagination, PaginationProps, ParcelPanel$1 as ParcelPanel, ParcelPanelProps, PickyStory$1 as PickyStory, PickyStoryProps, PostPurchaseAcceptButton, PostPurchaseAdvancedList, PostPurchaseAdvancedListItem, PostPurchaseAdvancedListProps, Button$1 as PostPurchaseButton, PostPurchaseButtonProps, CalloutBox as PostPurchaseCalloutBox, CalloutText as PostPurchaseCalloutText, PostPurchaseCountdownTimer, PostPurchaseCountdownTimerProps, PostPurchaseHeading, PostPurchaseImage, PostPurchaseImageProps, Line$1 as PostPurchaseLine, PostPurchaseLineProps, Link as PostPurchaseLink, PostPurchaseLinkProps, PostPurchaseProductDescription, PostPurchaseProductDescriptionProps, PostPurchaseProductDiscountTag, PostPurchaseProductDiscountTagProps, PostPurchaseProductImages, PostPurchaseProductImagesProps, PostPurchaseProductOffer, PostPurchaseProductOfferProps$1 as PostPurchaseProductOfferProps, PostPurchaseProductPrice, PostPurchaseProductPriceBreakdown, PostPurchaseProductPriceBreakdownProps, PostPurchaseProductPriceProps, PostPurchaseProductQuantity, PostPurchaseProductQuantityProps, PostPurchaseProductTitle, PostPurchaseProductTitleProps, PostPurchaseProductVariants, PostPurchaseProductVariantsProps, Text$1 as PostPurchaseText, PostPurchaseTextProps, PowerfulContactFormBuilder$1 as PowerfulContactFormBuilder, PowerfulContactFormBuilderProps, PreorderNowPreOrderPq$1 as PreorderNowPreOrderPq, PreorderNowPreOrderPqProps, PreorderNowWodPresale$1 as PreorderNowWodPresale, PreorderNowWodPresaleProps, Product$1 as Product, ProductBadge$1 as ProductBadge, ProductBadgeProps, ProductBundleDiscount$1 as ProductBundleDiscount, ProductBundleDiscountItem$1 as ProductBundleDiscountItem, ProductBundleDiscountProps, ProductBundleItemDiscountProps, ProductButton$1 as ProductButton, ProductButtonProps, ProductDescription$1 as ProductDescription, ProductDescriptionProps, ProductImages$2 as ProductImages, ProductImagesProps, ProductImagesV2, ProductList$1 as ProductList, ProductListProps, ProductOptionsCustomizer$1 as ProductOptionsCustomizer, ProductOptionsCustomizerProps, ProductOptionsVariantOption$1 as ProductOptionsVariantOption, ProductOptionsVariantOptionProps, ProductPrice$1 as ProductPrice, ProductPriceProps, ProductPropertiesProps, ProductProperties$1 as ProductPropertyInput, ProductProps, ProductQuantity$1 as ProductQuantity, ProductQuantityProps, QuickView as ProductQuickView, ProductReviews$1 as ProductReviews, ProductReviewsProps, ProductSku$1 as ProductSku, ProductTag$1 as ProductTag, ProductTagProps, ProductTitle$1 as ProductTitle, ProductTitleProps, ProductVariants$1 as ProductVariants, ProductVariantsProps, ProductVendor$1 as ProductVendor, ProductViewMore$1 as ProductViewMore, ProductViewMoreProps, PumperBundlesVolumeDiscount$1 as PumperBundlesVolumeDiscount, PumperBundlesVolumeDiscountProps, PushOwl$1 as PushOwl, PushOwlProps, QikifyUpsell$1 as QikifyUpsell, QikifyUpsellProps, Radio, RapiBundleQuantityBreaks$1 as RapiBundleQuantityBreaks, RapiBundleQuantityBreaksProps, RechargeSubscriptions$1 as RechargeSubscriptions, RechargeSubscriptionsProps, RecurpaySubscriptionApp$1 as RecurpaySubscriptionApp, RecurpaySubscriptionAppProps, Releasit$1 as Releasit, ReleasitProps, RequestQuoteHidePrice$1 as RequestQuoteHidePrice, RequestQuoteHidePriceProps, ReviewxpoProductReviewsApp$1 as ReviewxpoProductReviewsApp, ReviewxpoProductReviewsAppProps, Rivyo$1 as Rivyo, RivyoProps, Root$1 as Root, RootProps$2 as RootProps, Row$1 as Row, RowProps, Ryviu$1 as Ryviu, RyviuProps, SealSubscriptions$1 as SealSubscriptions, SealSubscriptionsProps, Section$1 as Section, SegunoEmailMarketing$1 as SegunoEmailMarketing, SegunoEmailMarketingProps, Select, Selleasy$1 as Selleasy, SelleasyProps, SeoantTrustBadgesIcon$1 as SeoantTrustBadgesIcon, SeoantTrustBadgesIconProps, ShopPayButton$1 as ShopPayButton, ShopPayButtonProps, ShopPayInstallments$1 as ShopPayInstallments, ShopifyForms$1 as ShopifyForms, ShopifyFormsProps, ShopifySubscriptions$1 as ShopifySubscriptions, ShopifySubscriptionsProps, SimpleBundlesKits$1 as SimpleBundlesKits, SimpleBundlesKitsProps, SkioSubscriptionsYcS20$1 as SkioSubscriptionsYcS20, SkioSubscriptionsYcS20Props, SkuProps, SmartSearchBarAndFilters$1 as SmartSearchBarAndFilters, SmartSearchBarAndFiltersProps, SproutPlantTreesGrowSales$1 as SproutPlantTreesGrowSales, SproutPlantTreesGrowSalesProps, Stamped$1 as Stamped, StampedProps, StellarDeliveryDatePickup$1 as StellarDeliveryDatePickup, StellarDeliveryDatePickupProps, Sticky$1 as Sticky, StockCounter$1 as StockCounter, SubifySubscriptionsApp$1 as SubifySubscriptionsApp, SubifySubscriptionsAppProps, SubmitButton$1 as SubmitButton, SubmitButtonProps, TabItem$1 as TabItem, TabItemProps, Tabs$1 as Tabs, TabsProps, TagembedSocialPostReview$1 as TagembedSocialPostReview, TagembedSocialPostReviewProps, TagshopShoppableVideosUgc$1 as TagshopShoppableVideosUgc, TagshopShoppableVideosUgcProps, TeeinblueProductPersonalizer$1 as TeeinblueProductPersonalizer, TeeinblueProductPersonalizerProps, Text$2 as Text, TextAreaProps, TextField$1 as TextField, TextFieldProps, TextInput$1 as TextInput, TextInputProps, TextProps, TextArea as Textarea, TextareaProps, ThirdPartySlot$1 as ThirdPartySlot, TrustBadgesBear$1 as TrustBadgesBear, TrustBadgesBearProps, TrustMe$1 as TrustMe, TrustMeProps, TrustedsiteTrustBadges$1 as TrustedsiteTrustBadges, TrustedsiteTrustBadgesProps, Trustoo$1 as Trustoo, TrustooProps, TrustreviewsProductReviews$1 as TrustreviewsProductReviews, TrustreviewsProductReviewsProps, TrustshopProductReviews$1 as TrustshopProductReviews, TrustshopProductReviewsProps, UltimateSalesBoost$1 as UltimateSalesBoost, UltimateSalesBoostProps, UnlimitedBundlesDiscounts$1 as UnlimitedBundlesDiscounts, UnlimitedBundlesDiscountsProps, VendorProps, Video$1 as Video, Vitals$1 as Vitals, VitalsProps, WhatmoreShoppableVideosreel$1 as WhatmoreShoppableVideosreel, WhatmoreShoppableVideosreelProps, WideBundle$1 as WideBundle, WideBundleProps, Wiser$1 as Wiser, WiserProps, WishlistKing$1 as WishlistKing, WishlistKingProps, WishlistPlus$1 as WishlistPlus, WishlistPlusProps, YotpoLoyalty, YotpoLoyaltyProps, YotpoReviews$1 as YotpoReviews, YotpoReviewsProps, accordionSetting, articleListSetting, bannerSetting, breadcrumbSetting, _default$1 as builderComponent, buttonSetting, carouselSetting, cartSetting, codeSetting, collectionSetting, _default as componentSettings, contactFormSetting, convertUnitToNumber, countdownSetting, couponSetting, dialogSetting, estimateDeliverySetting, filterTruthyObject, filterTruthyStyles, getDisplayStyle, getDynamicSourceLocales, getInsertLinkData, getLinkData, getSettingPreloadData, getStaticLocale, gridSetting, headerSetting, headingSetting, iconListHozSetting, iconListSetting, iconListSettingV2, iconSetting, imageComparisonSetting, imageDetectionSetting, imageSetting, inputSetting, isHexTransparent, isTransparentColor, isTransparentRGBA, lineSetting, linkSetting, index_liquid as liquidComponents, marqueeSetting, menuSetting, modalSetting, _default$2 as nextComponent, openConfirm, paginationSetting, postPurchaseAdvancedListSetting, postPurchaseButtonSetting, postPurchaseCalloutBoxSetting, postPurchaseCountdownTimerSetting, postPurchaseImageSetting, postPurchaseLineSetting, postPurchaseLinkSetting, postPurchaseProduct1Col, postPurchaseProduct2Col, postPurchaseProductDefault, postPurchaseProductSetting, postPurchaseTextSetting, productSetting, radioSetting, replaceLinkData, selectSetting, shopPayInstallmentSetting, stickySetting, stockCounterSetting, tabSetting, textSetting, textareaSetting, thirdPartyInstantSetting, thirdPartySetting, thirdPartySlotSetting, useInView, useNotification, videoSetting, youtubeShortsRegex };
7812
+ export { Accordion$1 as Accordion, AccordionItem$1 as AccordionItem, AccordionItemProps, AccordionProps, AftershipEmailMarketingsms$1 as AftershipEmailMarketingsms, AftershipEmailMarketingsmsProps, AirProductReviewsAppUgc$1 as AirProductReviewsAppUgc, AirProductReviewsAppUgcProps, AliReviews$1 as AliReviews, AliReviewsProps, AlsoBoughtCbb$1 as AlsoBoughtCbb, AlsoBoughtCbbProps, AppointmentBookingCowlendar$1 as AppointmentBookingCowlendar, AppointmentBookingCowlendarProps, AppstleBundlesDiscounts$1 as AppstleBundlesDiscounts, AppstleBundlesDiscountsProps, AppstleSubscriptions$1 as AppstleSubscriptions, AppstleSubscriptionsProps, ArticleAuthor$1 as ArticleAuthor, ArticleCategory$1 as ArticleCategory, ArticleContent$1 as ArticleContent, ArticleDate$1 as ArticleDate, ArticleExcerpt$1 as ArticleExcerpt, ArticleImage$1 as ArticleImage, ArticleList$1 as ArticleList, ArticlePagination$1 as ArticlePagination, ArticleReadMore$1 as ArticleReadMore, ArticleTag$1 as ArticleTag, ArticleTitle$1 as ArticleTitle, BasicHeader, BestBuyFulfillment$1 as BestBuyFulfillment, BestBuyFulfillmentProps, BfSizeChartSizeGuide$1 as BfSizeChartSizeGuide, BfSizeChartSizeGuideProps, BirdChime$1 as BirdChime, BirdChimeProps, Bogos$1 as Bogos, BogosProps, BoldProductOptions$1 as BoldProductOptions, BoldProductOptionsProps, BoldSubscriptions$1 as BoldSubscriptions, BoldSubscriptionsProps, BonLoyaltyRewardsReferrals$1 as BonLoyaltyRewardsReferrals, BonLoyaltyRewardsReferralsProps, BoostAISearchDiscovery$1 as BoostAISearchDiscovery, BoostAISearchDiscoveryProps, Breadcrumb$1 as Breadcrumb, Breadcrumb$1 as BreadcrumbProps, Bundler$1 as Bundler, BundlerProps, Button$2 as Button, ButtonProps, CSSCode$1 as CSSCode, CSSCodeProps, CalloutBoxProps, CalloutTextProps, Carousel$1 as Carousel, CarouselItem$1 as CarouselItem, CarouselItemProps, CarouselProps, CarouselSettings, CarouselStyles, Cart, CartCheckout, CartDiscount, CartLineAttribute, CartLineImage, CartLinePrice, CartLineVariant, CartList, CartOrderNote, CartProps, CartTotalItem, CartTotalPrice, CheckoutNow, CleanSizeChartProps, CleanSizeCharts$1 as CleanSizeCharts, Column$1 as Col, ColProps, CollectionBanner$1 as CollectionBanner, CollectionBannerProps, CollectionDescription$1 as CollectionDescription, CollectionDescriptionProps, CollectionPaginator$1 as CollectionPaginator, CollectionPaginatorProps, CollectionTitle$1 as CollectionTitle, CollectionTitleProps, CollectionToolbar$1 as CollectionToolbar, CollectionToolbarProps, ContactForm$1 as ContactForm, Countdown$1 as Countdown, CountdownProps, Coupon$1 as Coupon, CouponList, CouponProps, CrossSellCartUpsell$1 as CrossSellCartUpsell, CrossSellCartUpsellProps, CustomProductOptionsVariant$1 as CustomProductOptionsVariant, CustomProductOptionsVariantProps, DataVideoType, DesktopMenu, Dialog$1 as Dialog, DiscountInput, DiscountyBulkDiscountSales$1 as DiscountyBulkDiscountSales, DiscountyBulkDiscountSalesProps, DynamicCheckout$1 as DynamicCheckout, DynamicCheckoutProps, ELEMENT_Z_INDEX, EasifyProductOptions$1 as EasifyProductOptions, EasifyProductOptionsProps, EasyBundleBuilderSkailama$1 as EasyBundleBuilderSkailama, EasyBundleBuilderSkailamaProps, EasySell as EasySellCOD, EasySellProps, EcoboostifyShoppableReelUgc$1 as EcoboostifyShoppableReelUgc, EcoboostifyShoppableReelUgcProps, EcomsendBackInStockAlert$1 as EcomsendBackInStockAlert, EcomsendBackInStockAlertProps, EssentialAnnouncementBar$1 as EssentialAnnouncementBar, EssentialAnnouncementBarProps, EssentialCountdownTimerBar$1 as EssentialCountdownTimerBar, EssentialCountdownTimerBarProps, EstimateDate, EstimateDateProps, EstimatedDeliveryDatePlus$1 as EstimatedDeliveryDatePlus, EstimatedDeliveryDatePlusProps, FastBundleBundlesDiscounts$1 as FastBundleBundlesDiscounts, FastBundleBundlesDiscountsProps, FeraReviews$1 as FeraReviews, FeraReviewsProps, FileUpload$1 as FileUpload, FileUploadProps, FirePush$1 as FirePush, FirePushProps, FlyBundlesUpsellsFbt$1 as FlyBundlesUpsellsFbt, FlyBundlesUpsellsFbtProps, FordeerProductLabels$1 as FordeerProductLabels, FordeerProductLabelsProps, FormCheckbox, FormCheckboxProps, FormDropdown$1 as FormDropdown, FormDropdownProps, FormEmail$1 as FormEmail, FormEmailProps, FormTextArea as FormTextarea, FrequentlyBoughtTogether$1 as FrequentlyBoughtTogether, FrequentlyBoughtTogetherProps, GloColorSwatchvariantImage$1 as GloColorSwatchvariantImage, GloColorSwatchvariantImageProps, GloboProductOptionsVariant$1 as GloboProductOptionsVariant, GloboProductOptionsVariantProps, GoogleReviewsByReputon$1 as GoogleReviewsByReputon, GoogleReviewsByReputonProps, Growave$1 as Growave, GrowaveProps, Header, HeaderProps, Heading$1 as Heading, HeadingProps, HeroBanner$1 as HeroBanner, HeroBannerProps, HextomCountdownTimerBar$1 as HextomCountdownTimerBar, HextomCountdownTimerBarProps, HextomFreeShippingBar$1 as HextomFreeShippingBar, HextomFreeShippingBarProps, HulkFormBuilder$1 as HulkFormBuilder, HulkFormBuilderProps, HulkProductOptions$1 as HulkProductOptions, HulkProductOptionsProps, Icon$1 as Icon, IconList$1 as IconList, IconListHoz$1 as IconListHoz, IconListHozItem, IconListHozProps, IconListItem$1 as IconListItem, IconListItemProps$1 as IconListItemProps, IconListProps$1 as IconListProps, IconListV2$1 as IconListV2, IconProps, Image$1 as Image, ImageComparison$1 as ImageComparison, ImageComparisonItem, ImageDetection, ImageDetectionProps, ImageProps, ImgProps, InfiniteOptions$1 as InfiniteOptions, InfiniteOptionsProps, Input, InputProps, Instafeed$1 as Instafeed, InstafeedProps, InstantJudgemeReviews, InstantKlaviyo, InstantLooxReviews, InstantYotpoLoyalty, InstasellShoppableInstagram$1 as InstasellShoppableInstagram, InstasellShoppableInstagramProps, JudgemeReviews$1 as JudgemeReviews, JudgemeReviewsProps, JunipProductReviewsUgc$1 as JunipProductReviewsUgc, JunipProductReviewsUgcProps, KachingBundles$1 as KachingBundles, KachingBundlesProps, KingProductOptions$1 as KingProductOptions, KingProductOptionsProps, KiteFreeGiftDiscount$1 as KiteFreeGiftDiscount, KiteFreeGiftDiscountProps, KlarnaMessaging$1 as KlarnaMessaging, KlarnaMessagingProps, Klaviyo$1 as Klaviyo, KlaviyoProps, KoalaBundleQuantityDiscount$1 as KoalaBundleQuantityDiscount, KoalaBundleQuantityDiscountProps, LaiProductReviews$1 as LaiProductReviews, LaiProductReviewsProps, Line$2 as Line, LineProps, Link$1 as Link, LinkProps, LoloyalLoyaltyReferrals$1 as LoloyalLoyaltyReferrals, LoloyalLoyaltyReferralsProps, LoopSubscriptions$1 as LoopSubscriptions, LoopSubscriptionsProps, LooxReviews$1 as LooxReviews, LooxReviewsProps, Marquee$1 as Marquee, _default$3 as MarqueeItem, MarqueeItemProps, MarqueeProps, MaxbundleProductBundles$1 as MaxbundleProductBundles, MaxbundleProductBundlesProps, MbcBundleVolumeDiscount$1 as MbcBundleVolumeDiscount, MbcBundleVolumeDiscountProps, Menu, MenuProps, MobileMenu, Modal, ModernHeader, MyappgurusProductReviews$1 as MyappgurusProductReviews, MyappgurusProductReviewsProps, Newsletter$1 as Newsletter, NewsletterProps, Notify as Notice, NotificationAPI, NotificationConfig, NotifyBackInStockPreOrder$1 as NotifyBackInStockPreOrder, NotifyBackInStockPreOrderProps, ObjectFit$1 as ObjectFit, OkendoReviewsLoyalty$1 as OkendoReviewsLoyalty, OkendoReviewsLoyaltyProps, Omnisend$1 as Omnisend, OmnisendProps, Opinew$1 as Opinew, OpinewProps, Pagination, PaginationProps, ParcelPanel$1 as ParcelPanel, ParcelPanelProps, PickyStory$1 as PickyStory, PickyStoryProps, PostPurchaseAcceptButton, PostPurchaseAdvancedList, PostPurchaseAdvancedListItem, PostPurchaseAdvancedListProps, Button$1 as PostPurchaseButton, PostPurchaseButtonProps, CalloutBox as PostPurchaseCalloutBox, CalloutText as PostPurchaseCalloutText, PostPurchaseCountdownTimer, PostPurchaseCountdownTimerProps, PostPurchaseHeading, PostPurchaseImage, PostPurchaseImageProps, Line$1 as PostPurchaseLine, PostPurchaseLineProps, Link as PostPurchaseLink, PostPurchaseLinkProps, PostPurchaseProductDescription, PostPurchaseProductDescriptionProps, PostPurchaseProductDiscountTag, PostPurchaseProductDiscountTagProps, PostPurchaseProductImages, PostPurchaseProductImagesProps, PostPurchaseProductOffer, PostPurchaseProductOfferProps$1 as PostPurchaseProductOfferProps, PostPurchaseProductPrice, PostPurchaseProductPriceBreakdown, PostPurchaseProductPriceBreakdownProps, PostPurchaseProductPriceProps, PostPurchaseProductQuantity, PostPurchaseProductQuantityProps, PostPurchaseProductTitle, PostPurchaseProductTitleProps, PostPurchaseProductVariants, PostPurchaseProductVariantsProps, Text$1 as PostPurchaseText, PostPurchaseTextProps, PowerfulContactFormBuilder$1 as PowerfulContactFormBuilder, PowerfulContactFormBuilderProps, PreorderNowPreOrderPq$1 as PreorderNowPreOrderPq, PreorderNowPreOrderPqProps, PreorderNowWodPresale$1 as PreorderNowWodPresale, PreorderNowWodPresaleProps, Product$1 as Product, ProductBadge$1 as ProductBadge, ProductBadgeProps, ProductBundleDiscount$1 as ProductBundleDiscount, ProductBundleDiscountItem$1 as ProductBundleDiscountItem, ProductBundleDiscountProps, ProductBundleItemDiscountProps, ProductButton$1 as ProductButton, ProductButtonProps, ProductDescription$1 as ProductDescription, ProductDescriptionProps, ProductImages$2 as ProductImages, ProductImagesProps, ProductImagesV2, ProductList$1 as ProductList, ProductListProps, ProductOptionsCustomizer$1 as ProductOptionsCustomizer, ProductOptionsCustomizerProps, ProductOptionsVariantOption$1 as ProductOptionsVariantOption, ProductOptionsVariantOptionProps, ProductPrice$1 as ProductPrice, ProductPriceProps, ProductPropertiesProps, ProductProperties$1 as ProductPropertyInput, ProductProps, ProductQuantity$1 as ProductQuantity, ProductQuantityProps, QuickView as ProductQuickView, ProductReviews$1 as ProductReviews, ProductReviewsProps, ProductSku$1 as ProductSku, ProductTag$1 as ProductTag, ProductTagProps, ProductTitle$1 as ProductTitle, ProductTitleProps, ProductVariants$1 as ProductVariants, ProductVariantsProps, ProductVendor$1 as ProductVendor, ProductViewMore$1 as ProductViewMore, ProductViewMoreProps, PumperBundlesVolumeDiscount$1 as PumperBundlesVolumeDiscount, PumperBundlesVolumeDiscountProps, PushOwl$1 as PushOwl, PushOwlProps, QikifyUpsell$1 as QikifyUpsell, QikifyUpsellProps, Radio, RapiBundleQuantityBreaks$1 as RapiBundleQuantityBreaks, RapiBundleQuantityBreaksProps, RechargeSubscriptions$1 as RechargeSubscriptions, RechargeSubscriptionsProps, RecurpaySubscriptionApp$1 as RecurpaySubscriptionApp, RecurpaySubscriptionAppProps, Releasit$1 as Releasit, ReleasitProps, RequestQuoteHidePrice$1 as RequestQuoteHidePrice, RequestQuoteHidePriceProps, ReviewxpoProductReviewsApp$1 as ReviewxpoProductReviewsApp, ReviewxpoProductReviewsAppProps, Rivyo$1 as Rivyo, RivyoProps, Root$1 as Root, RootProps$2 as RootProps, Row$1 as Row, RowProps, Ryviu$1 as Ryviu, RyviuProps, SealSubscriptions$1 as SealSubscriptions, SealSubscriptionsProps, Section$1 as Section, SegunoEmailMarketing$1 as SegunoEmailMarketing, SegunoEmailMarketingProps, Select, Selleasy$1 as Selleasy, SelleasyProps, SeoantTrustBadgesIcon$1 as SeoantTrustBadgesIcon, SeoantTrustBadgesIconProps, ShopPayButton$1 as ShopPayButton, ShopPayButtonProps, ShopPayInstallments$1 as ShopPayInstallments, ShopifyForms$1 as ShopifyForms, ShopifyFormsProps, ShopifySubscriptions$1 as ShopifySubscriptions, ShopifySubscriptionsProps, SimpleBundlesKits$1 as SimpleBundlesKits, SimpleBundlesKitsProps, SkioSubscriptionsYcS20$1 as SkioSubscriptionsYcS20, SkioSubscriptionsYcS20Props, SkuProps, SmartSearchBarAndFilters$1 as SmartSearchBarAndFilters, SmartSearchBarAndFiltersProps, SproutPlantTreesGrowSales$1 as SproutPlantTreesGrowSales, SproutPlantTreesGrowSalesProps, Stamped$1 as Stamped, StampedProps, StellarDeliveryDatePickup$1 as StellarDeliveryDatePickup, StellarDeliveryDatePickupProps, Sticky$1 as Sticky, StockCounter$1 as StockCounter, SubifySubscriptionsApp$1 as SubifySubscriptionsApp, SubifySubscriptionsAppProps, SubmitButton$1 as SubmitButton, SubmitButtonProps, TabItem$1 as TabItem, TabItemProps, Tabs$1 as Tabs, TabsProps, TagembedSocialPostReview$1 as TagembedSocialPostReview, TagembedSocialPostReviewProps, TagshopShoppableVideosUgc$1 as TagshopShoppableVideosUgc, TagshopShoppableVideosUgcProps, TeeinblueProductPersonalizer$1 as TeeinblueProductPersonalizer, TeeinblueProductPersonalizerProps, Text$2 as Text, TextAreaProps, TextField$1 as TextField, TextFieldProps, TextInput$1 as TextInput, TextInputProps, TextProps, TextArea as Textarea, TextareaProps, ThirdPartySlot$1 as ThirdPartySlot, TrustBadgesBear$1 as TrustBadgesBear, TrustBadgesBearProps, TrustMe$1 as TrustMe, TrustMeProps, TrustedsiteTrustBadges$1 as TrustedsiteTrustBadges, TrustedsiteTrustBadgesProps, Trustoo$1 as Trustoo, TrustooProps, TrustreviewsProductReviews$1 as TrustreviewsProductReviews, TrustreviewsProductReviewsProps, TrustshopProductReviews$1 as TrustshopProductReviews, TrustshopProductReviewsProps, UltimateSalesBoost$1 as UltimateSalesBoost, UltimateSalesBoostProps, UnlimitedBundlesDiscounts$1 as UnlimitedBundlesDiscounts, UnlimitedBundlesDiscountsProps, VendorProps, Video$1 as Video, Vitals$1 as Vitals, VitalsProps, WhatmoreShoppableVideosreel$1 as WhatmoreShoppableVideosreel, WhatmoreShoppableVideosreelProps, WideBundle$1 as WideBundle, WideBundleProps, Wiser$1 as Wiser, WiserProps, WishlistKing$1 as WishlistKing, WishlistKingProps, WishlistPlus$1 as WishlistPlus, WishlistPlusProps, YotpoLoyalty, YotpoLoyaltyProps, YotpoReviews$1 as YotpoReviews, YotpoReviewsProps, accordionSetting, articleListSetting, bannerSetting, breadcrumbSetting, _default$1 as builderComponent, buttonSetting, carouselSetting, cartSetting, codeSetting, collectionSetting, _default as componentSettings, contactFormSetting, convertUnitToNumber, countdownSetting, couponSetting, dialogSetting, estimateDeliverySetting, filterTruthyObject, filterTruthyStyles, getDisplayStyle, getDynamicSourceLocales, getInsertLinkData, getLinkArticle, getLinkData, getSettingPreloadData, getStaticLocale, gridSetting, headerSetting, headingSetting, iconListHozSetting, iconListSetting, iconListSettingV2, iconSetting, imageComparisonSetting, imageDetectionSetting, imageSetting, inputSetting, isHexTransparent, isTransparentColor, isTransparentRGBA, lineSetting, linkSetting, index_liquid as liquidComponents, marqueeSetting, menuSetting, modalSetting, _default$2 as nextComponent, openConfirm, paginationSetting, postPurchaseAdvancedListSetting, postPurchaseButtonSetting, postPurchaseCalloutBoxSetting, postPurchaseCountdownTimerSetting, postPurchaseImageSetting, postPurchaseLineSetting, postPurchaseLinkSetting, postPurchaseProduct1Col, postPurchaseProduct2Col, postPurchaseProductDefault, postPurchaseProductSetting, postPurchaseTextSetting, productSetting, radioSetting, replaceLinkData, selectSetting, shopPayInstallmentSetting, stickySetting, stockCounterSetting, tabSetting, textSetting, textareaSetting, thirdPartyInstantSetting, thirdPartySetting, thirdPartySlotSetting, useInView, useNotification, videoSetting, youtubeShortsRegex };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.378",
3
+ "version": "2.0.0-dev.380",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -22,7 +22,7 @@
22
22
  "relationship": "rollup -c ./scripts/rollup.config.settings.mjs && node ./scripts/get-control-relationship.js && node ./scripts/get-element-relationship.js"
23
23
  },
24
24
  "devDependencies": {
25
- "@gem-sdk/core": "2.0.0-dev.374",
25
+ "@gem-sdk/core": "2.0.0-dev.380",
26
26
  "@gem-sdk/styles": "2.0.0-dev.324",
27
27
  "@gem-sdk/system": "2.0.0-dev.371",
28
28
  "@types/react-transition-group": "^4.4.5"