@gem-sdk/components 2.0.0-dev.583 → 2.0.0-dev.585

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.
@@ -211,7 +211,7 @@ const ArticleListSettings = [
211
211
  ],
212
212
  devices: {
213
213
  desktop: {
214
- default: '24px'
214
+ default: '16px'
215
215
  }
216
216
  }
217
217
  },
@@ -12,7 +12,7 @@ var classes = require('../common/classes.js');
12
12
 
13
13
  const CSSCode = ({ setting, style, advanced, builderAttrs, builderProps, children })=>{
14
14
  const { editorData } = advanced;
15
- const { handleDoubleClickCustomCode, htmlPlainText, mode } = useCSSCode.default(advanced);
15
+ const { handleDoubleClickCustomCode, htmlPlainText, mode } = useCSSCode.default(advanced, setting);
16
16
  const composeCodeStyle = system.createStyle(styles.getCodeStyle(style, setting, false));
17
17
  const composeCodeClasses = system.createClass(classes.getCodeClasses(builderProps?.uid, mode !== 'edit' && !editorData?.html, advanced?.cssClass));
18
18
  return /*#__PURE__*/ jsxRuntime.jsxs(jsxRuntime.Fragment, {
@@ -15,15 +15,18 @@ const ALLOWED_EMPTY_TAG = [
15
15
  'PICTURE',
16
16
  'VIDEO'
17
17
  ];
18
- const useCSSCode = (advanced)=>{
18
+ const useCSSCode = (advanced, setting)=>{
19
19
  const mode = core.useEditorMode();
20
- const { editorData } = advanced;
20
+ const { editorData } = advanced || {};
21
+ const { customLabel } = setting || {};
21
22
  const getEmptyContent = React.useCallback((css, javascript, html)=>{
22
- return `<p class="gp-text-center gp-text-sm gp-py-4 gp-leading-6 gp-text-light-500 gp-flex gp-flex-col gp-gap-[4px]">
23
- <span>${editorData?.customLabel || 'Custom Code'}</span>
24
- ${css || javascript || html ? '<span class="gp-text-[#676767] gp-text-12 gp-leading-5">Preview or Publish the page to see the content.</span>' : ``}</p>`;
23
+ return `
24
+ <p class="gp-text-center gp-text-sm gp-py-4 gp-leading-6 gp-text-light-500 gp-flex gp-flex-col gp-gap-[4px]">
25
+ <span>${customLabel || 'Custom Code'}</span>
26
+ ${css || javascript || html ? '<span class="gp-text-[#676767] gp-text-12 gp-leading-5">Preview or Publish the page to see the content.</span>' : ``}
27
+ </p>`;
25
28
  }, [
26
- editorData?.customLabel
29
+ customLabel
27
30
  ]);
28
31
  const getHtmlContent = (html, javascript)=>{
29
32
  const $element = document.createElement('div');
@@ -67,9 +70,14 @@ const useCSSCode = (advanced)=>{
67
70
  if (mode === 'edit') {
68
71
  const { empty, hasScript } = getHtmlContent(editorData?.html || '', editorData?.javascript || '');
69
72
  if (hasScript) {
70
- return `<p class="gp-text-center gp-text-sm gp-font-[sans-serif] gp-py-4 gp-leading-[21px] gp-text-[#676767] gp-bg-[#eee]">
71
- Publish the page to see the content.
72
- </p>`;
73
+ return `
74
+ <div class="gp-py-4 gp-bg-[#eee] gp-font-[sans-serif] gp-flex gp-flex-col gp-gap-[4px]" >
75
+ <span class="gp-text-center">${customLabel || 'Custom Code'}</span>
76
+ <p class="gp-text-center gp-text-sm gp-leading-[21px] gp-text-[#676767] ">
77
+ Preview or Publish the page to see the content
78
+ </p>
79
+ </div>
80
+ `;
73
81
  }
74
82
  if (empty) {
75
83
  return getEmptyContent(editorData?.css || '', editorData?.javascript || '', editorData?.html || '');
@@ -78,10 +86,11 @@ const useCSSCode = (advanced)=>{
78
86
  }
79
87
  return editorData?.html?.trim();
80
88
  }, [
81
- editorData?.css,
89
+ mode,
82
90
  editorData?.html,
83
91
  editorData?.javascript,
84
- mode,
92
+ editorData?.css,
93
+ customLabel,
85
94
  getEmptyContent
86
95
  ]);
87
96
  const handleDoubleClickCustomCode = (e)=>{
@@ -5,13 +5,7 @@ const SettingCode = [
5
5
  id: 'setting',
6
6
  controls: [
7
7
  {
8
- id: 'contentBanner',
9
- type: 'banner',
10
- message: `You can insert HTML, CSS, JavaScript or Liquid code <a class="no-underline text-primary-250" target="_blank" href="https://help.gempages.net/articles/custom-code-element?utm_source=element-setting-tips#custom-code">Learn more</a>`,
11
- closable: true
12
- },
13
- {
14
- id: 'name',
8
+ id: 'customLabel',
15
9
  type: 'input',
16
10
  default: 'Custom code'
17
11
  },
@@ -51,7 +45,7 @@ const SettingCode = [
51
45
  desktop: {
52
46
  default: {
53
47
  type: 'color',
54
- color: '#DDDDDD',
48
+ color: 'bg-1',
55
49
  image: {
56
50
  src: 'https://ucarecdn.com/06075225-af9e-460c-8e3c-6be63c0b773a/-/format/auto/',
57
51
  width: 1200,
@@ -95,12 +89,6 @@ const SettingCode = [
95
89
  default: 'left'
96
90
  }
97
91
  }
98
- },
99
- {
100
- id: 'preloadBgImage',
101
- type: 'toggle',
102
- label: 'Preload',
103
- default: false
104
92
  }
105
93
  ]
106
94
  },
@@ -2,14 +2,10 @@
2
2
 
3
3
  const SettingUIV2 = [
4
4
  {
5
- controls: [
6
- {
7
- setting: {
8
- id: 'contentBanner'
9
- },
10
- layout: 'vertical'
11
- }
12
- ]
5
+ messageConfig: {
6
+ type: 'info',
7
+ message: `You can insert HTML, CSS, JavaScript or Liquid code <a class="text-white" target="_blank" href="https://help.gempages.net/articles/custom-code-element?utm_source=element-setting-tips#custom-code">Learn more</a>`
8
+ }
13
9
  },
14
10
  {
15
11
  label: {
@@ -37,16 +33,6 @@ const SettingUIV2 = [
37
33
  en: 'Background'
38
34
  },
39
35
  layout: 'vertical'
40
- },
41
- {
42
- label: {
43
- en: 'Preload'
44
- },
45
- type: 'control',
46
- setting: {
47
- id: 'preloadBgImage'
48
- },
49
- conditionDisplay: 'background.type == "image"'
50
36
  }
51
37
  ]
52
38
  },
@@ -58,7 +44,7 @@ const SettingUIV2 = [
58
44
  {
59
45
  type: 'control',
60
46
  setting: {
61
- id: 'name'
47
+ id: 'customLabel'
62
48
  },
63
49
  label: {
64
50
  en: 'Name'
@@ -202,8 +202,7 @@ const CouponSettings = [
202
202
  active: '#00A042'
203
203
  }
204
204
  }
205
- },
206
- enableGradient: true
205
+ }
207
206
  },
208
207
  {
209
208
  id: 'textColor',
@@ -236,8 +235,7 @@ const CouponSettings = [
236
235
  active: 'text-3'
237
236
  }
238
237
  }
239
- },
240
- enableGradient: true
238
+ }
241
239
  },
242
240
  {
243
241
  id: 'align',
@@ -21,7 +21,7 @@ const getContainClasses = ({ setting })=>{
21
21
  };
22
22
  const getTabListClasses = ({ setting, ulClass })=>{
23
23
  const { position } = setting ?? {};
24
- let classList = 'gp-tab-header-list gp-flex gp-flex-wrap';
24
+ let classList = 'gp-tab-header-list gp-flex gp-flex-wrap gp-overflow-hidden ';
25
25
  if (common.getUlClassByPositionResponsive(position)) classList += ` ${common.getUlClassByPositionResponsive(position)}`;
26
26
  if (ulClass) classList += ` ${ulClass}`;
27
27
  return {
@@ -30,7 +30,7 @@ const getTabListClasses = ({ setting, ulClass })=>{
30
30
  };
31
31
  const getItemClasses = ({ setting, isNotLiquid, isActive, currentDevice })=>{
32
32
  const { labelBgColor, labelColor, position, enableActiveEffect } = setting ?? {};
33
- let classList = 'gp-tab-item gp-navs-tab gp-flex gp-flex-1 gp-cursor-pointer gp-py-2 gp-px-4 gp-whitespace-nowrap';
33
+ let classList = 'gp-tab-item gp-navs-tab gp-flex gp-cursor-pointer gp-py-2 gp-px-4 gp-whitespace-nowrap';
34
34
  if (isNotLiquid) {
35
35
  if (isActive && enableActiveEffect) {
36
36
  classList += ` ${core.getGlobalColorClass('bg', labelBgColor?.active)} ${core.getGlobalColorClass('text', labelColor?.active)}`;
@@ -52,8 +52,7 @@ const getTabParentListClasses = ()=>{
52
52
  const getStyleTagClasses = ({ panelWidth, builderProps })=>{
53
53
  let classList = '';
54
54
  const layoutFullWidthResponsiveClass = common.makeStyleLayoutFullWidthResponsive(panelWidth, builderProps);
55
- if (builderProps?.uid) classList += ` .${builderProps?.uid} .gp-tab-item.left p,
56
- .${builderProps?.uid} .gp-tab-item.right p {
55
+ if (builderProps?.uid) classList += ` .${builderProps?.uid} .gp-tab-item p {
57
56
  word-wrap: break-word;
58
57
  white-space: break-spaces;
59
58
  }`;
@@ -20,8 +20,9 @@ const getStyleWrapper = (setting, style)=>{
20
20
  return helpers.filterTruthyStyles(composeStyles);
21
21
  };
22
22
  const getTabListStyle = (setting)=>{
23
- const { position, panelFullWidth, panelWidth, labelWidth } = setting ?? {};
23
+ const { position, panelFullWidth, panelWidth, labelWidth, panelAlign } = setting ?? {};
24
24
  const composeStyles = {
25
+ ...core.makeStyleResponsive('jc', panelAlign),
25
26
  ...core.makeStyleResponsive('maxw', common.getStyleWidthByPositionResponsive({
26
27
  position: position,
27
28
  panelFullWidth: panelFullWidth,
@@ -16,10 +16,10 @@ const TabsSettings = [
16
16
  },
17
17
  {
18
18
  id: 'activeKey',
19
- label: 'Select item',
20
- type: 'input:stepper',
21
- default: 1,
22
- placeholder: 'Tab index'
19
+ type: 'select-custom-options',
20
+ label: 'Order',
21
+ controlOption: 'childItem',
22
+ default: 0
23
23
  },
24
24
  {
25
25
  id: 'translate',
@@ -91,11 +91,23 @@ const TabsSettings = [
91
91
  {
92
92
  id: 'panelWidth',
93
93
  label: 'Width',
94
- type: 'input:unit',
94
+ type: 'dropdown:input',
95
95
  units: [
96
96
  'px',
97
97
  '%'
98
98
  ],
99
+ displayOptions: [
100
+ {
101
+ label: 'Fit content',
102
+ value: 'Auto',
103
+ showValue: true
104
+ },
105
+ {
106
+ label: 'Full',
107
+ value: '100%',
108
+ showValue: true
109
+ }
110
+ ],
99
111
  devices: {
100
112
  desktop: {
101
113
  default: 'Auto'
@@ -34,6 +34,7 @@ const SettingUIV2 = [
34
34
  type: 'combo',
35
35
  iconName: 'polaris-text-title',
36
36
  getValueFromSettingID: 'labelTypoV2.type',
37
+ isTypoValue: true,
37
38
  isHideClear: true,
38
39
  controls: [
39
40
  {
@@ -149,7 +150,7 @@ const SettingUIV2 = [
149
150
  }
150
151
  },
151
152
  {
152
- conditionDisplay: 'position == "top" && labelWidth != "100%"',
153
+ conditionDisplay: 'labelWidth != "100%"',
153
154
  label: {
154
155
  en: 'Tabs align'
155
156
  },
@@ -162,7 +163,7 @@ const SettingUIV2 = [
162
163
  en: 'Hover effect'
163
164
  },
164
165
  type: 'combo',
165
- iconName: 'polaris-edit',
166
+ iconName: 'polaris-check-hover',
166
167
  fixedValue: 'Enabled',
167
168
  setting: {
168
169
  id: 'enableHoverEffect'
@@ -208,7 +209,7 @@ const SettingUIV2 = [
208
209
  setting: {
209
210
  id: 'enableActiveEffect'
210
211
  },
211
- iconName: 'polaris-edit',
212
+ iconName: 'polaris-status-active',
212
213
  fixedValue: 'Enabled',
213
214
  popoverLabel: {
214
215
  en: 'Tabs active state'
@@ -209,7 +209,7 @@ const ArticleListSettings = [
209
209
  ],
210
210
  devices: {
211
211
  desktop: {
212
- default: '24px'
212
+ default: '16px'
213
213
  }
214
214
  }
215
215
  },
@@ -8,7 +8,7 @@ import { getCodeClasses } from '../common/classes.js';
8
8
 
9
9
  const CSSCode = ({ setting, style, advanced, builderAttrs, builderProps, children })=>{
10
10
  const { editorData } = advanced;
11
- const { handleDoubleClickCustomCode, htmlPlainText, mode } = useCSSCode(advanced);
11
+ const { handleDoubleClickCustomCode, htmlPlainText, mode } = useCSSCode(advanced, setting);
12
12
  const composeCodeStyle = createStyle(getCodeStyle(style, setting, false));
13
13
  const composeCodeClasses = createClass(getCodeClasses(builderProps?.uid, mode !== 'edit' && !editorData?.html, advanced?.cssClass));
14
14
  return /*#__PURE__*/ jsxs(Fragment, {
@@ -11,15 +11,18 @@ const ALLOWED_EMPTY_TAG = [
11
11
  'PICTURE',
12
12
  'VIDEO'
13
13
  ];
14
- const useCSSCode = (advanced)=>{
14
+ const useCSSCode = (advanced, setting)=>{
15
15
  const mode = useEditorMode();
16
- const { editorData } = advanced;
16
+ const { editorData } = advanced || {};
17
+ const { customLabel } = setting || {};
17
18
  const getEmptyContent = useCallback((css, javascript, html)=>{
18
- return `<p class="gp-text-center gp-text-sm gp-py-4 gp-leading-6 gp-text-light-500 gp-flex gp-flex-col gp-gap-[4px]">
19
- <span>${editorData?.customLabel || 'Custom Code'}</span>
20
- ${css || javascript || html ? '<span class="gp-text-[#676767] gp-text-12 gp-leading-5">Preview or Publish the page to see the content.</span>' : ``}</p>`;
19
+ return `
20
+ <p class="gp-text-center gp-text-sm gp-py-4 gp-leading-6 gp-text-light-500 gp-flex gp-flex-col gp-gap-[4px]">
21
+ <span>${customLabel || 'Custom Code'}</span>
22
+ ${css || javascript || html ? '<span class="gp-text-[#676767] gp-text-12 gp-leading-5">Preview or Publish the page to see the content.</span>' : ``}
23
+ </p>`;
21
24
  }, [
22
- editorData?.customLabel
25
+ customLabel
23
26
  ]);
24
27
  const getHtmlContent = (html, javascript)=>{
25
28
  const $element = document.createElement('div');
@@ -63,9 +66,14 @@ const useCSSCode = (advanced)=>{
63
66
  if (mode === 'edit') {
64
67
  const { empty, hasScript } = getHtmlContent(editorData?.html || '', editorData?.javascript || '');
65
68
  if (hasScript) {
66
- return `<p class="gp-text-center gp-text-sm gp-font-[sans-serif] gp-py-4 gp-leading-[21px] gp-text-[#676767] gp-bg-[#eee]">
67
- Publish the page to see the content.
68
- </p>`;
69
+ return `
70
+ <div class="gp-py-4 gp-bg-[#eee] gp-font-[sans-serif] gp-flex gp-flex-col gp-gap-[4px]" >
71
+ <span class="gp-text-center">${customLabel || 'Custom Code'}</span>
72
+ <p class="gp-text-center gp-text-sm gp-leading-[21px] gp-text-[#676767] ">
73
+ Preview or Publish the page to see the content
74
+ </p>
75
+ </div>
76
+ `;
69
77
  }
70
78
  if (empty) {
71
79
  return getEmptyContent(editorData?.css || '', editorData?.javascript || '', editorData?.html || '');
@@ -74,10 +82,11 @@ const useCSSCode = (advanced)=>{
74
82
  }
75
83
  return editorData?.html?.trim();
76
84
  }, [
77
- editorData?.css,
85
+ mode,
78
86
  editorData?.html,
79
87
  editorData?.javascript,
80
- mode,
88
+ editorData?.css,
89
+ customLabel,
81
90
  getEmptyContent
82
91
  ]);
83
92
  const handleDoubleClickCustomCode = (e)=>{
@@ -3,13 +3,7 @@ const SettingCode = [
3
3
  id: 'setting',
4
4
  controls: [
5
5
  {
6
- id: 'contentBanner',
7
- type: 'banner',
8
- message: `You can insert HTML, CSS, JavaScript or Liquid code <a class="no-underline text-primary-250" target="_blank" href="https://help.gempages.net/articles/custom-code-element?utm_source=element-setting-tips#custom-code">Learn more</a>`,
9
- closable: true
10
- },
11
- {
12
- id: 'name',
6
+ id: 'customLabel',
13
7
  type: 'input',
14
8
  default: 'Custom code'
15
9
  },
@@ -49,7 +43,7 @@ const SettingCode = [
49
43
  desktop: {
50
44
  default: {
51
45
  type: 'color',
52
- color: '#DDDDDD',
46
+ color: 'bg-1',
53
47
  image: {
54
48
  src: 'https://ucarecdn.com/06075225-af9e-460c-8e3c-6be63c0b773a/-/format/auto/',
55
49
  width: 1200,
@@ -93,12 +87,6 @@ const SettingCode = [
93
87
  default: 'left'
94
88
  }
95
89
  }
96
- },
97
- {
98
- id: 'preloadBgImage',
99
- type: 'toggle',
100
- label: 'Preload',
101
- default: false
102
90
  }
103
91
  ]
104
92
  },
@@ -1,13 +1,9 @@
1
1
  const SettingUIV2 = [
2
2
  {
3
- controls: [
4
- {
5
- setting: {
6
- id: 'contentBanner'
7
- },
8
- layout: 'vertical'
9
- }
10
- ]
3
+ messageConfig: {
4
+ type: 'info',
5
+ message: `You can insert HTML, CSS, JavaScript or Liquid code <a class="text-white" target="_blank" href="https://help.gempages.net/articles/custom-code-element?utm_source=element-setting-tips#custom-code">Learn more</a>`
6
+ }
11
7
  },
12
8
  {
13
9
  label: {
@@ -35,16 +31,6 @@ const SettingUIV2 = [
35
31
  en: 'Background'
36
32
  },
37
33
  layout: 'vertical'
38
- },
39
- {
40
- label: {
41
- en: 'Preload'
42
- },
43
- type: 'control',
44
- setting: {
45
- id: 'preloadBgImage'
46
- },
47
- conditionDisplay: 'background.type == "image"'
48
34
  }
49
35
  ]
50
36
  },
@@ -56,7 +42,7 @@ const SettingUIV2 = [
56
42
  {
57
43
  type: 'control',
58
44
  setting: {
59
- id: 'name'
45
+ id: 'customLabel'
60
46
  },
61
47
  label: {
62
48
  en: 'Name'
@@ -200,8 +200,7 @@ const CouponSettings = [
200
200
  active: '#00A042'
201
201
  }
202
202
  }
203
- },
204
- enableGradient: true
203
+ }
205
204
  },
206
205
  {
207
206
  id: 'textColor',
@@ -234,8 +233,7 @@ const CouponSettings = [
234
233
  active: 'text-3'
235
234
  }
236
235
  }
237
- },
238
- enableGradient: true
236
+ }
239
237
  },
240
238
  {
241
239
  id: 'align',
@@ -19,7 +19,7 @@ const getContainClasses = ({ setting })=>{
19
19
  };
20
20
  const getTabListClasses = ({ setting, ulClass })=>{
21
21
  const { position } = setting ?? {};
22
- let classList = 'gp-tab-header-list gp-flex gp-flex-wrap';
22
+ let classList = 'gp-tab-header-list gp-flex gp-flex-wrap gp-overflow-hidden ';
23
23
  if (getUlClassByPositionResponsive(position)) classList += ` ${getUlClassByPositionResponsive(position)}`;
24
24
  if (ulClass) classList += ` ${ulClass}`;
25
25
  return {
@@ -28,7 +28,7 @@ const getTabListClasses = ({ setting, ulClass })=>{
28
28
  };
29
29
  const getItemClasses = ({ setting, isNotLiquid, isActive, currentDevice })=>{
30
30
  const { labelBgColor, labelColor, position, enableActiveEffect } = setting ?? {};
31
- let classList = 'gp-tab-item gp-navs-tab gp-flex gp-flex-1 gp-cursor-pointer gp-py-2 gp-px-4 gp-whitespace-nowrap';
31
+ let classList = 'gp-tab-item gp-navs-tab gp-flex gp-cursor-pointer gp-py-2 gp-px-4 gp-whitespace-nowrap';
32
32
  if (isNotLiquid) {
33
33
  if (isActive && enableActiveEffect) {
34
34
  classList += ` ${getGlobalColorClass('bg', labelBgColor?.active)} ${getGlobalColorClass('text', labelColor?.active)}`;
@@ -50,8 +50,7 @@ const getTabParentListClasses = ()=>{
50
50
  const getStyleTagClasses = ({ panelWidth, builderProps })=>{
51
51
  let classList = '';
52
52
  const layoutFullWidthResponsiveClass = makeStyleLayoutFullWidthResponsive(panelWidth, builderProps);
53
- if (builderProps?.uid) classList += ` .${builderProps?.uid} .gp-tab-item.left p,
54
- .${builderProps?.uid} .gp-tab-item.right p {
53
+ if (builderProps?.uid) classList += ` .${builderProps?.uid} .gp-tab-item p {
55
54
  word-wrap: break-word;
56
55
  white-space: break-spaces;
57
56
  }`;
@@ -18,8 +18,9 @@ const getStyleWrapper = (setting, style)=>{
18
18
  return filterTruthyStyles(composeStyles);
19
19
  };
20
20
  const getTabListStyle = (setting)=>{
21
- const { position, panelFullWidth, panelWidth, labelWidth } = setting ?? {};
21
+ const { position, panelFullWidth, panelWidth, labelWidth, panelAlign } = setting ?? {};
22
22
  const composeStyles = {
23
+ ...makeStyleResponsive('jc', panelAlign),
23
24
  ...makeStyleResponsive('maxw', getStyleWidthByPositionResponsive({
24
25
  position: position,
25
26
  panelFullWidth: panelFullWidth,
@@ -14,10 +14,10 @@ const TabsSettings = [
14
14
  },
15
15
  {
16
16
  id: 'activeKey',
17
- label: 'Select item',
18
- type: 'input:stepper',
19
- default: 1,
20
- placeholder: 'Tab index'
17
+ type: 'select-custom-options',
18
+ label: 'Order',
19
+ controlOption: 'childItem',
20
+ default: 0
21
21
  },
22
22
  {
23
23
  id: 'translate',
@@ -89,11 +89,23 @@ const TabsSettings = [
89
89
  {
90
90
  id: 'panelWidth',
91
91
  label: 'Width',
92
- type: 'input:unit',
92
+ type: 'dropdown:input',
93
93
  units: [
94
94
  'px',
95
95
  '%'
96
96
  ],
97
+ displayOptions: [
98
+ {
99
+ label: 'Fit content',
100
+ value: 'Auto',
101
+ showValue: true
102
+ },
103
+ {
104
+ label: 'Full',
105
+ value: '100%',
106
+ showValue: true
107
+ }
108
+ ],
97
109
  devices: {
98
110
  desktop: {
99
111
  default: 'Auto'
@@ -32,6 +32,7 @@ const SettingUIV2 = [
32
32
  type: 'combo',
33
33
  iconName: 'polaris-text-title',
34
34
  getValueFromSettingID: 'labelTypoV2.type',
35
+ isTypoValue: true,
35
36
  isHideClear: true,
36
37
  controls: [
37
38
  {
@@ -147,7 +148,7 @@ const SettingUIV2 = [
147
148
  }
148
149
  },
149
150
  {
150
- conditionDisplay: 'position == "top" && labelWidth != "100%"',
151
+ conditionDisplay: 'labelWidth != "100%"',
151
152
  label: {
152
153
  en: 'Tabs align'
153
154
  },
@@ -160,7 +161,7 @@ const SettingUIV2 = [
160
161
  en: 'Hover effect'
161
162
  },
162
163
  type: 'combo',
163
- iconName: 'polaris-edit',
164
+ iconName: 'polaris-check-hover',
164
165
  fixedValue: 'Enabled',
165
166
  setting: {
166
167
  id: 'enableHoverEffect'
@@ -206,7 +207,7 @@ const SettingUIV2 = [
206
207
  setting: {
207
208
  id: 'enableActiveEffect'
208
209
  },
209
- iconName: 'polaris-edit',
210
+ iconName: 'polaris-status-active',
210
211
  fixedValue: 'Enabled',
211
212
  popoverLabel: {
212
213
  en: 'Tabs active state'
@@ -1213,9 +1213,8 @@ type CSSCodeProps = BasePropsWrap<{
1213
1213
  background?: ObjectDevices$1<BackgroundMedia>;
1214
1214
  preloadBgImage?: boolean;
1215
1215
  align?: ObjectDevices$1<AlignProp>;
1216
- name?: string;
1216
+ customLabel?: string;
1217
1217
  speedParallax?: any;
1218
- contentBanner?: string;
1219
1218
  }> & {
1220
1219
  advanced?: any;
1221
1220
  children?: React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.583",
3
+ "version": "2.0.0-dev.585",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -23,7 +23,7 @@
23
23
  "update-img-src-3rd": "node ./scripts/update-img-src-3rd.js"
24
24
  },
25
25
  "devDependencies": {
26
- "@gem-sdk/core": "2.0.0-dev.575",
26
+ "@gem-sdk/core": "2.0.0-dev.584",
27
27
  "@gem-sdk/styles": "2.0.0-dev.571",
28
28
  "@gem-sdk/system": "2.0.0-dev.504",
29
29
  "@types/react-transition-group": "^4.4.5"