@gem-sdk/components 2.0.0-dev.449 → 2.0.0-dev.451
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.
- package/dist/cjs/button/components/Button.js +1 -2
- package/dist/cjs/button/components/Button.liquid.js +1 -2
- package/dist/cjs/button/components/common/helpers.js +0 -4
- package/dist/cjs/button/setting/configs/settings.js +1 -2
- package/dist/cjs/form/setting/newsletter/NewsletterInitConfig.js +1 -1
- package/dist/cjs/form/setting/submit-button/configs/settings.js +69 -2
- package/dist/cjs/image/components/AdaptiveImage.js +2 -2
- package/dist/cjs/image/components/common/data.js +2 -2
- package/dist/cjs/product/setting/dynamic-checkout/configs/settings.js +1 -2
- package/dist/cjs/product/setting/product-button/configs/settings.js +2 -4
- package/dist/cjs/product/setting/product-view-more/configs/settings.js +1 -2
- package/dist/cjs/sticky/setting/preset-config.js +2 -0
- package/dist/esm/button/components/Button.js +2 -3
- package/dist/esm/button/components/Button.liquid.js +2 -3
- package/dist/esm/button/components/common/helpers.js +1 -4
- package/dist/esm/button/setting/configs/settings.js +1 -2
- package/dist/esm/form/setting/newsletter/NewsletterInitConfig.js +1 -1
- package/dist/esm/form/setting/submit-button/configs/settings.js +69 -2
- package/dist/esm/image/components/AdaptiveImage.js +2 -2
- package/dist/esm/image/components/common/data.js +2 -2
- package/dist/esm/product/setting/dynamic-checkout/configs/settings.js +1 -2
- package/dist/esm/product/setting/product-button/configs/settings.js +2 -4
- package/dist/esm/product/setting/product-view-more/configs/settings.js +1 -2
- package/dist/esm/sticky/setting/preset-config.js +2 -0
- package/package.json +3 -3
|
@@ -21,13 +21,12 @@ const Button = (props)=>{
|
|
|
21
21
|
const { enableTextStyle = true } = styles$1;
|
|
22
22
|
const mode = core.useEditorMode();
|
|
23
23
|
const { customCss, wrapStyle, restStyle, dataState, dataIdAttr, isShowIcon, isScrollToElement, getArialLabel, getLabelToDisplay, checkIsShowLabel, checkIsEditableLabel } = data.getData(props);
|
|
24
|
-
const { HTMLTag, urlData, shouldRenderLink } = helpers.getInsertLinkData({
|
|
24
|
+
const { HTMLTag: ButtonWrapper, urlData, shouldRenderLink } = helpers.getInsertLinkData({
|
|
25
25
|
enableBtnLink,
|
|
26
26
|
htmlType,
|
|
27
27
|
setting: btnLink,
|
|
28
28
|
defaultTag: 'button'
|
|
29
29
|
});
|
|
30
|
-
const ButtonWrapper = helpers.getButtonWrapper(HTMLTag, isScrollToElement);
|
|
31
30
|
const buttonStyles = system.createStyle({
|
|
32
31
|
...styles.getButtonStyles(styles$1)
|
|
33
32
|
});
|
|
@@ -19,14 +19,13 @@ const Button = (props)=>{
|
|
|
19
19
|
const { iconSvg, loading, btnLink, htmlType, disabled, shouldClearSpace, enableBtnLink } = setting;
|
|
20
20
|
const { enableTextStyle = true } = styles$1;
|
|
21
21
|
const { customCss, wrapStyle, restStyle, dataState, dataIdAttr, isShowIcon, isScrollToElement, getArialLabel, getLabelToDisplay, checkIsShowLabel, checkIsEditableLabel } = data.getData(props);
|
|
22
|
-
const { HTMLTag, urlData, shouldRenderLink } = helpers.getInsertLinkData({
|
|
22
|
+
const { HTMLTag: ButtonWrapper, urlData, shouldRenderLink } = helpers.getInsertLinkData({
|
|
23
23
|
enableBtnLink,
|
|
24
24
|
htmlType,
|
|
25
25
|
setting: btnLink,
|
|
26
26
|
defaultTag: 'button',
|
|
27
27
|
isLiquid: true
|
|
28
28
|
});
|
|
29
|
-
const ButtonWrapper = helpers.getButtonWrapper(HTMLTag, isScrollToElement);
|
|
30
29
|
const buttonStyles = system.createStyle({
|
|
31
30
|
...styles.getButtonStyles(styles$1)
|
|
32
31
|
});
|
|
@@ -48,9 +48,6 @@ const handleCheckIsEditableLabel = ({ mode, options, isLiquid = false })=>{
|
|
|
48
48
|
const checkIsScrollToElement = (btnLink)=>{
|
|
49
49
|
return btnLink?.link?.startsWith('#') && btnLink?.target === '_self';
|
|
50
50
|
};
|
|
51
|
-
const getButtonWrapper = (Wrap, isScrollToElement)=>{
|
|
52
|
-
return isScrollToElement ? 'button' : Wrap;
|
|
53
|
-
};
|
|
54
51
|
const getSplitStyles = (style)=>{
|
|
55
52
|
return core.splitStyle([
|
|
56
53
|
'pos',
|
|
@@ -119,7 +116,6 @@ const getInsertLinkData = ({ setting, htmlType, defaultTag, enableBtnLink, isLiq
|
|
|
119
116
|
|
|
120
117
|
exports.checkIsScrollToElement = checkIsScrollToElement;
|
|
121
118
|
exports.checkIsShowIcon = checkIsShowIcon;
|
|
122
|
-
exports.getButtonWrapper = getButtonWrapper;
|
|
123
119
|
exports.getCleanedStyles = getCleanedStyles;
|
|
124
120
|
exports.getDataId = getDataId;
|
|
125
121
|
exports.getDataState = getDataState;
|
|
@@ -142,6 +142,38 @@ const SubmitButtonSettings = [
|
|
|
142
142
|
borderWidth: '1px'
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
+
},
|
|
146
|
+
tablet: {
|
|
147
|
+
default: {
|
|
148
|
+
normal: {
|
|
149
|
+
border: 'solid',
|
|
150
|
+
color: '#121212',
|
|
151
|
+
width: '1px',
|
|
152
|
+
borderWidth: '1px'
|
|
153
|
+
},
|
|
154
|
+
hover: {
|
|
155
|
+
border: 'solid',
|
|
156
|
+
color: '#121212',
|
|
157
|
+
width: '1px',
|
|
158
|
+
borderWidth: '1px'
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
mobile: {
|
|
163
|
+
default: {
|
|
164
|
+
normal: {
|
|
165
|
+
border: 'solid',
|
|
166
|
+
color: '#121212',
|
|
167
|
+
width: '1px',
|
|
168
|
+
borderWidth: '1px'
|
|
169
|
+
},
|
|
170
|
+
hover: {
|
|
171
|
+
border: 'solid',
|
|
172
|
+
color: '#121212',
|
|
173
|
+
width: '1px',
|
|
174
|
+
borderWidth: '1px'
|
|
175
|
+
}
|
|
176
|
+
}
|
|
145
177
|
}
|
|
146
178
|
}
|
|
147
179
|
},
|
|
@@ -186,6 +218,42 @@ const SubmitButtonSettings = [
|
|
|
186
218
|
radiusType: 'rounded'
|
|
187
219
|
}
|
|
188
220
|
}
|
|
221
|
+
},
|
|
222
|
+
tablet: {
|
|
223
|
+
default: {
|
|
224
|
+
normal: {
|
|
225
|
+
btrr: '8px',
|
|
226
|
+
bblr: '8px',
|
|
227
|
+
bbrr: '8px',
|
|
228
|
+
btlr: '8px',
|
|
229
|
+
radiusType: 'rounded'
|
|
230
|
+
},
|
|
231
|
+
hover: {
|
|
232
|
+
btrr: '8px',
|
|
233
|
+
bblr: '8px',
|
|
234
|
+
bbrr: '8px',
|
|
235
|
+
btlr: '8px',
|
|
236
|
+
radiusType: 'rounded'
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
mobile: {
|
|
241
|
+
default: {
|
|
242
|
+
normal: {
|
|
243
|
+
btrr: '8px',
|
|
244
|
+
bblr: '8px',
|
|
245
|
+
bbrr: '8px',
|
|
246
|
+
btlr: '8px',
|
|
247
|
+
radiusType: 'rounded'
|
|
248
|
+
},
|
|
249
|
+
hover: {
|
|
250
|
+
btrr: '8px',
|
|
251
|
+
bblr: '8px',
|
|
252
|
+
bbrr: '8px',
|
|
253
|
+
btlr: '8px',
|
|
254
|
+
radiusType: 'rounded'
|
|
255
|
+
}
|
|
256
|
+
}
|
|
189
257
|
}
|
|
190
258
|
}
|
|
191
259
|
},
|
|
@@ -359,8 +427,7 @@ const SubmitButtonSettings = [
|
|
|
359
427
|
hover: 'text-3'
|
|
360
428
|
}
|
|
361
429
|
}
|
|
362
|
-
}
|
|
363
|
-
enableGradient: true
|
|
430
|
+
}
|
|
364
431
|
},
|
|
365
432
|
{
|
|
366
433
|
id: 'hasBoxShadowBtn',
|
|
@@ -41,11 +41,11 @@ const AdaptiveImage = (props)=>{
|
|
|
41
41
|
children: [
|
|
42
42
|
srcMobile && /*#__PURE__*/ jsxRuntime.jsx("source", {
|
|
43
43
|
media: "(max-width: 767px)",
|
|
44
|
-
srcSet:
|
|
44
|
+
srcSet: srcMobile || constants.IMAGE_PLACEHOLDER
|
|
45
45
|
}),
|
|
46
46
|
srcTablet && /*#__PURE__*/ jsxRuntime.jsx("source", {
|
|
47
47
|
media: "(max-width: 1024px)",
|
|
48
|
-
srcSet:
|
|
48
|
+
srcSet: srcTablet || constants.IMAGE_PLACEHOLDER
|
|
49
49
|
})
|
|
50
50
|
]
|
|
51
51
|
});
|
|
@@ -8,8 +8,8 @@ const getAdaptiveImageData = (props)=>{
|
|
|
8
8
|
const getDeviceSource = (props)=>{
|
|
9
9
|
const { isLiquid } = props ?? {};
|
|
10
10
|
const srcDesktop = getSrcSet.getImageSrc(srcSet?.desktop, 'desktop', !isLiquid) || constants.FALLBACK_IMAGE;
|
|
11
|
-
const srcTablet =
|
|
12
|
-
const srcMobile =
|
|
11
|
+
const srcTablet = getSrcSet.getImageSrc(srcSet?.tablet, 'tablet', !isLiquid) || getSrcSet.getImageSrc(srcSet?.desktop, 'tablet', !isLiquid) || constants.FALLBACK_IMAGE;
|
|
12
|
+
const srcMobile = getSrcSet.getImageSrc(srcSet?.mobile, 'mobile', !isLiquid) || getSrcSet.getImageSrc(srcSet?.tablet, 'mobile', !isLiquid) || getSrcSet.getImageSrc(srcSet?.desktop, 'mobile', !isLiquid) || constants.FALLBACK_IMAGE;
|
|
13
13
|
return {
|
|
14
14
|
srcTablet,
|
|
15
15
|
srcMobile,
|
|
@@ -542,8 +542,7 @@ const ProductButtonSettings = [
|
|
|
542
542
|
hover: '#121212'
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
|
-
}
|
|
546
|
-
enableGradient: true
|
|
545
|
+
}
|
|
547
546
|
},
|
|
548
547
|
{
|
|
549
548
|
id: 'oosBackgroundV2',
|
|
@@ -582,8 +581,7 @@ const ProductButtonSettings = [
|
|
|
582
581
|
normal: '#121212'
|
|
583
582
|
}
|
|
584
583
|
}
|
|
585
|
-
}
|
|
586
|
-
enableGradient: true
|
|
584
|
+
}
|
|
587
585
|
},
|
|
588
586
|
{
|
|
589
587
|
id: 'oosBorderV2',
|
|
@@ -983,11 +983,13 @@ const StickyPresetScrollToTop = {
|
|
|
983
983
|
settings: {
|
|
984
984
|
enableBtnLink: true,
|
|
985
985
|
btnLink: {
|
|
986
|
+
type: 'scroll-to',
|
|
986
987
|
link: '#scroll-to-top',
|
|
987
988
|
selectedTab: 'scrollToList',
|
|
988
989
|
target: '_self',
|
|
989
990
|
title: 'Section'
|
|
990
991
|
},
|
|
992
|
+
enableBtnLink: true,
|
|
991
993
|
disabled: false,
|
|
992
994
|
htmlType: 'button',
|
|
993
995
|
iconAlign: 'left',
|
|
@@ -9,7 +9,7 @@ import ButtonIcon from './ButtonIcon.js';
|
|
|
9
9
|
import ButtonLabel from './ButtonLabel.js';
|
|
10
10
|
import ButtonLoadingIndicator from './ButtonLoadingIndicator.js';
|
|
11
11
|
import { getData } from './common/data.js';
|
|
12
|
-
import { getInsertLinkData
|
|
12
|
+
import { getInsertLinkData } from './common/helpers.js';
|
|
13
13
|
|
|
14
14
|
const Button = (props)=>{
|
|
15
15
|
const { children, advanced, className, nodePrice, customAttrs, styles = {}, setting = {}, builderProps, builderAttrs, wrapClassName = '', onClick } = props;
|
|
@@ -17,13 +17,12 @@ const Button = (props)=>{
|
|
|
17
17
|
const { enableTextStyle = true } = styles;
|
|
18
18
|
const mode = useEditorMode();
|
|
19
19
|
const { customCss, wrapStyle, restStyle, dataState, dataIdAttr, isShowIcon, isScrollToElement, getArialLabel, getLabelToDisplay, checkIsShowLabel, checkIsEditableLabel } = getData(props);
|
|
20
|
-
const { HTMLTag, urlData, shouldRenderLink } = getInsertLinkData({
|
|
20
|
+
const { HTMLTag: ButtonWrapper, urlData, shouldRenderLink } = getInsertLinkData({
|
|
21
21
|
enableBtnLink,
|
|
22
22
|
htmlType,
|
|
23
23
|
setting: btnLink,
|
|
24
24
|
defaultTag: 'button'
|
|
25
25
|
});
|
|
26
|
-
const ButtonWrapper = getButtonWrapper(HTMLTag, isScrollToElement);
|
|
27
26
|
const buttonStyles = createStyle({
|
|
28
27
|
...getButtonStyles(styles)
|
|
29
28
|
});
|
|
@@ -8,21 +8,20 @@ import ButtonIcon from './ButtonIcon.liquid.js';
|
|
|
8
8
|
import ButtonLabel from './ButtonLabel.liquid.js';
|
|
9
9
|
import ButtonLoadingIndicator from './ButtonLoadingIndicator.liquid.js';
|
|
10
10
|
import { getData } from './common/data.js';
|
|
11
|
-
import { getInsertLinkData
|
|
11
|
+
import { getInsertLinkData } from './common/helpers.js';
|
|
12
12
|
|
|
13
13
|
const Button = (props)=>{
|
|
14
14
|
const { advanced, className, nodePrice, customAttrs, styles = {}, setting = {}, builderProps, wrapClassName = '' } = props;
|
|
15
15
|
const { iconSvg, loading, btnLink, htmlType, disabled, shouldClearSpace, enableBtnLink } = setting;
|
|
16
16
|
const { enableTextStyle = true } = styles;
|
|
17
17
|
const { customCss, wrapStyle, restStyle, dataState, dataIdAttr, isShowIcon, isScrollToElement, getArialLabel, getLabelToDisplay, checkIsShowLabel, checkIsEditableLabel } = getData(props);
|
|
18
|
-
const { HTMLTag, urlData, shouldRenderLink } = getInsertLinkData({
|
|
18
|
+
const { HTMLTag: ButtonWrapper, urlData, shouldRenderLink } = getInsertLinkData({
|
|
19
19
|
enableBtnLink,
|
|
20
20
|
htmlType,
|
|
21
21
|
setting: btnLink,
|
|
22
22
|
defaultTag: 'button',
|
|
23
23
|
isLiquid: true
|
|
24
24
|
});
|
|
25
|
-
const ButtonWrapper = getButtonWrapper(HTMLTag, isScrollToElement);
|
|
26
25
|
const buttonStyles = createStyle({
|
|
27
26
|
...getButtonStyles(styles)
|
|
28
27
|
});
|
|
@@ -46,9 +46,6 @@ const handleCheckIsEditableLabel = ({ mode, options, isLiquid = false })=>{
|
|
|
46
46
|
const checkIsScrollToElement = (btnLink)=>{
|
|
47
47
|
return btnLink?.link?.startsWith('#') && btnLink?.target === '_self';
|
|
48
48
|
};
|
|
49
|
-
const getButtonWrapper = (Wrap, isScrollToElement)=>{
|
|
50
|
-
return isScrollToElement ? 'button' : Wrap;
|
|
51
|
-
};
|
|
52
49
|
const getSplitStyles = (style)=>{
|
|
53
50
|
return splitStyle([
|
|
54
51
|
'pos',
|
|
@@ -115,4 +112,4 @@ const getInsertLinkData = ({ setting, htmlType, defaultTag, enableBtnLink, isLiq
|
|
|
115
112
|
};
|
|
116
113
|
};
|
|
117
114
|
|
|
118
|
-
export { checkIsScrollToElement, checkIsShowIcon,
|
|
115
|
+
export { checkIsScrollToElement, checkIsShowIcon, getCleanedStyles, getDataId, getDataState, getInsertLinkData, getSplitStyles, handleCheckIsEditableLabel, handleCheckIsShowLabel, handleGetArialLabel, handleGetLabelToDisplay };
|
|
@@ -138,6 +138,38 @@ const SubmitButtonSettings = [
|
|
|
138
138
|
borderWidth: '1px'
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
+
},
|
|
142
|
+
tablet: {
|
|
143
|
+
default: {
|
|
144
|
+
normal: {
|
|
145
|
+
border: 'solid',
|
|
146
|
+
color: '#121212',
|
|
147
|
+
width: '1px',
|
|
148
|
+
borderWidth: '1px'
|
|
149
|
+
},
|
|
150
|
+
hover: {
|
|
151
|
+
border: 'solid',
|
|
152
|
+
color: '#121212',
|
|
153
|
+
width: '1px',
|
|
154
|
+
borderWidth: '1px'
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
mobile: {
|
|
159
|
+
default: {
|
|
160
|
+
normal: {
|
|
161
|
+
border: 'solid',
|
|
162
|
+
color: '#121212',
|
|
163
|
+
width: '1px',
|
|
164
|
+
borderWidth: '1px'
|
|
165
|
+
},
|
|
166
|
+
hover: {
|
|
167
|
+
border: 'solid',
|
|
168
|
+
color: '#121212',
|
|
169
|
+
width: '1px',
|
|
170
|
+
borderWidth: '1px'
|
|
171
|
+
}
|
|
172
|
+
}
|
|
141
173
|
}
|
|
142
174
|
}
|
|
143
175
|
},
|
|
@@ -182,6 +214,42 @@ const SubmitButtonSettings = [
|
|
|
182
214
|
radiusType: 'rounded'
|
|
183
215
|
}
|
|
184
216
|
}
|
|
217
|
+
},
|
|
218
|
+
tablet: {
|
|
219
|
+
default: {
|
|
220
|
+
normal: {
|
|
221
|
+
btrr: '8px',
|
|
222
|
+
bblr: '8px',
|
|
223
|
+
bbrr: '8px',
|
|
224
|
+
btlr: '8px',
|
|
225
|
+
radiusType: 'rounded'
|
|
226
|
+
},
|
|
227
|
+
hover: {
|
|
228
|
+
btrr: '8px',
|
|
229
|
+
bblr: '8px',
|
|
230
|
+
bbrr: '8px',
|
|
231
|
+
btlr: '8px',
|
|
232
|
+
radiusType: 'rounded'
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
mobile: {
|
|
237
|
+
default: {
|
|
238
|
+
normal: {
|
|
239
|
+
btrr: '8px',
|
|
240
|
+
bblr: '8px',
|
|
241
|
+
bbrr: '8px',
|
|
242
|
+
btlr: '8px',
|
|
243
|
+
radiusType: 'rounded'
|
|
244
|
+
},
|
|
245
|
+
hover: {
|
|
246
|
+
btrr: '8px',
|
|
247
|
+
bblr: '8px',
|
|
248
|
+
bbrr: '8px',
|
|
249
|
+
btlr: '8px',
|
|
250
|
+
radiusType: 'rounded'
|
|
251
|
+
}
|
|
252
|
+
}
|
|
185
253
|
}
|
|
186
254
|
}
|
|
187
255
|
},
|
|
@@ -355,8 +423,7 @@ const SubmitButtonSettings = [
|
|
|
355
423
|
hover: 'text-3'
|
|
356
424
|
}
|
|
357
425
|
}
|
|
358
|
-
}
|
|
359
|
-
enableGradient: true
|
|
426
|
+
}
|
|
360
427
|
},
|
|
361
428
|
{
|
|
362
429
|
id: 'hasBoxShadowBtn',
|
|
@@ -37,11 +37,11 @@ const AdaptiveImage = (props)=>{
|
|
|
37
37
|
children: [
|
|
38
38
|
srcMobile && /*#__PURE__*/ jsx("source", {
|
|
39
39
|
media: "(max-width: 767px)",
|
|
40
|
-
srcSet:
|
|
40
|
+
srcSet: srcMobile || IMAGE_PLACEHOLDER
|
|
41
41
|
}),
|
|
42
42
|
srcTablet && /*#__PURE__*/ jsx("source", {
|
|
43
43
|
media: "(max-width: 1024px)",
|
|
44
|
-
srcSet:
|
|
44
|
+
srcSet: srcTablet || IMAGE_PLACEHOLDER
|
|
45
45
|
})
|
|
46
46
|
]
|
|
47
47
|
});
|
|
@@ -6,8 +6,8 @@ const getAdaptiveImageData = (props)=>{
|
|
|
6
6
|
const getDeviceSource = (props)=>{
|
|
7
7
|
const { isLiquid } = props ?? {};
|
|
8
8
|
const srcDesktop = getImageSrc(srcSet?.desktop, 'desktop', !isLiquid) || FALLBACK_IMAGE;
|
|
9
|
-
const srcTablet =
|
|
10
|
-
const srcMobile =
|
|
9
|
+
const srcTablet = getImageSrc(srcSet?.tablet, 'tablet', !isLiquid) || getImageSrc(srcSet?.desktop, 'tablet', !isLiquid) || FALLBACK_IMAGE;
|
|
10
|
+
const srcMobile = getImageSrc(srcSet?.mobile, 'mobile', !isLiquid) || getImageSrc(srcSet?.tablet, 'mobile', !isLiquid) || getImageSrc(srcSet?.desktop, 'mobile', !isLiquid) || FALLBACK_IMAGE;
|
|
11
11
|
return {
|
|
12
12
|
srcTablet,
|
|
13
13
|
srcMobile,
|
|
@@ -540,8 +540,7 @@ const ProductButtonSettings = [
|
|
|
540
540
|
hover: '#121212'
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
|
-
}
|
|
544
|
-
enableGradient: true
|
|
543
|
+
}
|
|
545
544
|
},
|
|
546
545
|
{
|
|
547
546
|
id: 'oosBackgroundV2',
|
|
@@ -580,8 +579,7 @@ const ProductButtonSettings = [
|
|
|
580
579
|
normal: '#121212'
|
|
581
580
|
}
|
|
582
581
|
}
|
|
583
|
-
}
|
|
584
|
-
enableGradient: true
|
|
582
|
+
}
|
|
585
583
|
},
|
|
586
584
|
{
|
|
587
585
|
id: 'oosBorderV2',
|
|
@@ -981,11 +981,13 @@ const StickyPresetScrollToTop = {
|
|
|
981
981
|
settings: {
|
|
982
982
|
enableBtnLink: true,
|
|
983
983
|
btnLink: {
|
|
984
|
+
type: 'scroll-to',
|
|
984
985
|
link: '#scroll-to-top',
|
|
985
986
|
selectedTab: 'scrollToList',
|
|
986
987
|
target: '_self',
|
|
987
988
|
title: 'Section'
|
|
988
989
|
},
|
|
990
|
+
enableBtnLink: true,
|
|
989
991
|
disabled: false,
|
|
990
992
|
htmlType: 'button',
|
|
991
993
|
iconAlign: 'left',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/components",
|
|
3
|
-
"version": "2.0.0-dev.
|
|
3
|
+
"version": "2.0.0-dev.451",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -23,9 +23,9 @@
|
|
|
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.
|
|
26
|
+
"@gem-sdk/core": "2.0.0-dev.451",
|
|
27
27
|
"@gem-sdk/styles": "2.0.0-dev.381",
|
|
28
|
-
"@gem-sdk/system": "2.0.0-dev.
|
|
28
|
+
"@gem-sdk/system": "2.0.0-dev.451",
|
|
29
29
|
"@types/react-transition-group": "^4.4.5"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|