@gem-sdk/components 2.2.0-staging.72 → 2.2.0-staging.73
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/banner/setting/HeroBanner.js +12 -0
- package/dist/cjs/button/setting/Button.js +12 -0
- package/dist/cjs/icon/setting/Icon.js +12 -0
- package/dist/cjs/image/setting/Image.js +12 -0
- package/dist/esm/banner/setting/HeroBanner.js +12 -0
- package/dist/esm/button/setting/Button.js +12 -0
- package/dist/esm/icon/setting/Icon.js +12 -0
- package/dist/esm/image/setting/Image.js +12 -0
- package/dist/types/index.d.ts +11 -0
- package/package.json +2 -2
|
@@ -207,6 +207,11 @@ const config = {
|
|
|
207
207
|
label: 'Go to Sales page',
|
|
208
208
|
default: false
|
|
209
209
|
},
|
|
210
|
+
{
|
|
211
|
+
id: 'linkedToPreSalesPageBanner',
|
|
212
|
+
type: 'banner-pre-sales-page',
|
|
213
|
+
default: false
|
|
214
|
+
},
|
|
210
215
|
{
|
|
211
216
|
id: 'link',
|
|
212
217
|
type: 'pick-link',
|
|
@@ -1086,6 +1091,13 @@ const config = {
|
|
|
1086
1091
|
en: 'Link'
|
|
1087
1092
|
},
|
|
1088
1093
|
controls: [
|
|
1094
|
+
{
|
|
1095
|
+
type: 'control',
|
|
1096
|
+
condition: 'pageType == "GP_PRE_SALE_PAGE"',
|
|
1097
|
+
setting: {
|
|
1098
|
+
id: 'linkedToPreSalesPageBanner'
|
|
1099
|
+
}
|
|
1100
|
+
},
|
|
1089
1101
|
{
|
|
1090
1102
|
type: 'control',
|
|
1091
1103
|
condition: 'pageType == "GP_PRE_SALE_PAGE"',
|
|
@@ -41,6 +41,11 @@ const config = {
|
|
|
41
41
|
label: 'Go to Sales page',
|
|
42
42
|
default: false
|
|
43
43
|
},
|
|
44
|
+
{
|
|
45
|
+
id: 'linkedToPreSalesPageBanner',
|
|
46
|
+
type: 'banner-pre-sales-page',
|
|
47
|
+
default: false
|
|
48
|
+
},
|
|
44
49
|
{
|
|
45
50
|
id: 'iconGroup',
|
|
46
51
|
type: 'group',
|
|
@@ -503,6 +508,13 @@ const config = {
|
|
|
503
508
|
en: 'Insert link'
|
|
504
509
|
},
|
|
505
510
|
controls: [
|
|
511
|
+
{
|
|
512
|
+
type: 'control',
|
|
513
|
+
condition: 'pageType == "GP_PRE_SALE_PAGE"',
|
|
514
|
+
setting: {
|
|
515
|
+
id: 'linkedToPreSalesPageBanner'
|
|
516
|
+
}
|
|
517
|
+
},
|
|
506
518
|
{
|
|
507
519
|
type: 'control',
|
|
508
520
|
condition: 'pageType == "GP_PRE_SALE_PAGE"',
|
|
@@ -29,6 +29,11 @@ const config = {
|
|
|
29
29
|
label: 'Go to Sales page',
|
|
30
30
|
default: false
|
|
31
31
|
},
|
|
32
|
+
{
|
|
33
|
+
id: 'linkedToPreSalesPageBanner',
|
|
34
|
+
type: 'banner-pre-sales-page',
|
|
35
|
+
default: false
|
|
36
|
+
},
|
|
32
37
|
{
|
|
33
38
|
id: 'iconLink',
|
|
34
39
|
type: 'pick-link',
|
|
@@ -245,6 +250,13 @@ const config = {
|
|
|
245
250
|
en: 'Insert link'
|
|
246
251
|
},
|
|
247
252
|
controls: [
|
|
253
|
+
{
|
|
254
|
+
type: 'control',
|
|
255
|
+
condition: 'pageType == "GP_PRE_SALE_PAGE"',
|
|
256
|
+
setting: {
|
|
257
|
+
id: 'linkedToPreSalesPageBanner'
|
|
258
|
+
}
|
|
259
|
+
},
|
|
248
260
|
{
|
|
249
261
|
type: 'control',
|
|
250
262
|
condition: 'pageType == "GP_PRE_SALE_PAGE"',
|
|
@@ -70,6 +70,11 @@ const config = {
|
|
|
70
70
|
label: 'Go to Sales page',
|
|
71
71
|
default: false
|
|
72
72
|
},
|
|
73
|
+
{
|
|
74
|
+
id: 'linkedToPreSalesPageBanner',
|
|
75
|
+
type: 'banner-pre-sales-page',
|
|
76
|
+
default: false
|
|
77
|
+
},
|
|
73
78
|
{
|
|
74
79
|
id: 'seo',
|
|
75
80
|
type: 'group',
|
|
@@ -405,6 +410,13 @@ const config = {
|
|
|
405
410
|
en: 'Insert link'
|
|
406
411
|
},
|
|
407
412
|
controls: [
|
|
413
|
+
{
|
|
414
|
+
type: 'control',
|
|
415
|
+
condition: 'pageType == "GP_PRE_SALE_PAGE"',
|
|
416
|
+
setting: {
|
|
417
|
+
id: 'linkedToPreSalesPageBanner'
|
|
418
|
+
}
|
|
419
|
+
},
|
|
408
420
|
{
|
|
409
421
|
type: 'control',
|
|
410
422
|
condition: 'pageType == "GP_PRE_SALE_PAGE"',
|
|
@@ -203,6 +203,11 @@ const config = {
|
|
|
203
203
|
label: 'Go to Sales page',
|
|
204
204
|
default: false
|
|
205
205
|
},
|
|
206
|
+
{
|
|
207
|
+
id: 'linkedToPreSalesPageBanner',
|
|
208
|
+
type: 'banner-pre-sales-page',
|
|
209
|
+
default: false
|
|
210
|
+
},
|
|
206
211
|
{
|
|
207
212
|
id: 'link',
|
|
208
213
|
type: 'pick-link',
|
|
@@ -1082,6 +1087,13 @@ const config = {
|
|
|
1082
1087
|
en: 'Link'
|
|
1083
1088
|
},
|
|
1084
1089
|
controls: [
|
|
1090
|
+
{
|
|
1091
|
+
type: 'control',
|
|
1092
|
+
condition: 'pageType == "GP_PRE_SALE_PAGE"',
|
|
1093
|
+
setting: {
|
|
1094
|
+
id: 'linkedToPreSalesPageBanner'
|
|
1095
|
+
}
|
|
1096
|
+
},
|
|
1085
1097
|
{
|
|
1086
1098
|
type: 'control',
|
|
1087
1099
|
condition: 'pageType == "GP_PRE_SALE_PAGE"',
|
|
@@ -37,6 +37,11 @@ const config = {
|
|
|
37
37
|
label: 'Go to Sales page',
|
|
38
38
|
default: false
|
|
39
39
|
},
|
|
40
|
+
{
|
|
41
|
+
id: 'linkedToPreSalesPageBanner',
|
|
42
|
+
type: 'banner-pre-sales-page',
|
|
43
|
+
default: false
|
|
44
|
+
},
|
|
40
45
|
{
|
|
41
46
|
id: 'iconGroup',
|
|
42
47
|
type: 'group',
|
|
@@ -499,6 +504,13 @@ const config = {
|
|
|
499
504
|
en: 'Insert link'
|
|
500
505
|
},
|
|
501
506
|
controls: [
|
|
507
|
+
{
|
|
508
|
+
type: 'control',
|
|
509
|
+
condition: 'pageType == "GP_PRE_SALE_PAGE"',
|
|
510
|
+
setting: {
|
|
511
|
+
id: 'linkedToPreSalesPageBanner'
|
|
512
|
+
}
|
|
513
|
+
},
|
|
502
514
|
{
|
|
503
515
|
type: 'control',
|
|
504
516
|
condition: 'pageType == "GP_PRE_SALE_PAGE"',
|
|
@@ -25,6 +25,11 @@ const config = {
|
|
|
25
25
|
label: 'Go to Sales page',
|
|
26
26
|
default: false
|
|
27
27
|
},
|
|
28
|
+
{
|
|
29
|
+
id: 'linkedToPreSalesPageBanner',
|
|
30
|
+
type: 'banner-pre-sales-page',
|
|
31
|
+
default: false
|
|
32
|
+
},
|
|
28
33
|
{
|
|
29
34
|
id: 'iconLink',
|
|
30
35
|
type: 'pick-link',
|
|
@@ -241,6 +246,13 @@ const config = {
|
|
|
241
246
|
en: 'Insert link'
|
|
242
247
|
},
|
|
243
248
|
controls: [
|
|
249
|
+
{
|
|
250
|
+
type: 'control',
|
|
251
|
+
condition: 'pageType == "GP_PRE_SALE_PAGE"',
|
|
252
|
+
setting: {
|
|
253
|
+
id: 'linkedToPreSalesPageBanner'
|
|
254
|
+
}
|
|
255
|
+
},
|
|
244
256
|
{
|
|
245
257
|
type: 'control',
|
|
246
258
|
condition: 'pageType == "GP_PRE_SALE_PAGE"',
|
|
@@ -66,6 +66,11 @@ const config = {
|
|
|
66
66
|
label: 'Go to Sales page',
|
|
67
67
|
default: false
|
|
68
68
|
},
|
|
69
|
+
{
|
|
70
|
+
id: 'linkedToPreSalesPageBanner',
|
|
71
|
+
type: 'banner-pre-sales-page',
|
|
72
|
+
default: false
|
|
73
|
+
},
|
|
69
74
|
{
|
|
70
75
|
id: 'seo',
|
|
71
76
|
type: 'group',
|
|
@@ -401,6 +406,13 @@ const config = {
|
|
|
401
406
|
en: 'Insert link'
|
|
402
407
|
},
|
|
403
408
|
controls: [
|
|
409
|
+
{
|
|
410
|
+
type: 'control',
|
|
411
|
+
condition: 'pageType == "GP_PRE_SALE_PAGE"',
|
|
412
|
+
setting: {
|
|
413
|
+
id: 'linkedToPreSalesPageBanner'
|
|
414
|
+
}
|
|
415
|
+
},
|
|
404
416
|
{
|
|
405
417
|
type: 'control',
|
|
406
418
|
condition: 'pageType == "GP_PRE_SALE_PAGE"',
|
package/dist/types/index.d.ts
CHANGED
|
@@ -133,6 +133,7 @@ type ButtonProps = MixedProps$6 & BasePropsWrap<{
|
|
|
133
133
|
shouldClearSpace?: boolean;
|
|
134
134
|
disabledLoading?: boolean;
|
|
135
135
|
innerBorder?: boolean;
|
|
136
|
+
linkedToPreSalesPageBanner?: boolean;
|
|
136
137
|
}, {
|
|
137
138
|
type?: 'primary' | 'secondary';
|
|
138
139
|
/** */
|
|
@@ -451,6 +452,7 @@ type ImageSetting$1 = Pick<NextImageProps, 'priority' | 'quality' | 'vw'> & Pick
|
|
|
451
452
|
isNotLazyload?: boolean;
|
|
452
453
|
disableNoDataState?: boolean;
|
|
453
454
|
isGoToSalesPage?: boolean;
|
|
455
|
+
linkedToPreSalesPageBanner?: boolean;
|
|
454
456
|
} & Pick<AdaptiveImageProps, 'srcSet'>;
|
|
455
457
|
type ImageStyleSetting$1 = {
|
|
456
458
|
shape?: ObjectDevices<SizeSettingGlobal>;
|
|
@@ -985,6 +987,7 @@ type IconProps$1 = {
|
|
|
985
987
|
title?: string;
|
|
986
988
|
};
|
|
987
989
|
isGoToSalesPage?: boolean;
|
|
990
|
+
linkedToPreSalesPageBanner?: boolean;
|
|
988
991
|
}, {
|
|
989
992
|
/**
|
|
990
993
|
Set height icon
|
|
@@ -3616,6 +3619,7 @@ type Setting$6 = {
|
|
|
3616
3619
|
aspectRatio?: ObjectDevices<string>;
|
|
3617
3620
|
ratioOptions?: ObjectDevices<Ratio>;
|
|
3618
3621
|
isGoToSalesPage?: boolean;
|
|
3622
|
+
linkedToPreSalesPageBanner?: boolean;
|
|
3619
3623
|
} & Pick<NonNullable<RowProps$1['setting']>, 'layout' | 'horizontalAlign'>;
|
|
3620
3624
|
type Styles$2 = {
|
|
3621
3625
|
height?: ObjectDevices<string>;
|
|
@@ -5472,6 +5476,7 @@ declare const Coupon: ({ setting, builderProps, builderAttrs, style, styles, adv
|
|
|
5472
5476
|
shouldClearSpace?: boolean | undefined;
|
|
5473
5477
|
disabledLoading?: boolean | undefined;
|
|
5474
5478
|
innerBorder?: boolean | undefined;
|
|
5479
|
+
linkedToPreSalesPageBanner?: boolean | undefined;
|
|
5475
5480
|
}, "iconSvg" | "iconAlign" | "iconVisible" | "shouldClearSpace">, {
|
|
5476
5481
|
type?: "primary" | "secondary" | undefined;
|
|
5477
5482
|
roundedBtn?: Partial<Record<_gem_sdk_core.StateType, _gem_sdk_core.CornerRadius>> | undefined;
|
|
@@ -5740,6 +5745,7 @@ declare const ProductButton: ({ setting, builderProps, builderAttrs, style, styl
|
|
|
5740
5745
|
shouldClearSpace?: boolean | undefined;
|
|
5741
5746
|
disabledLoading?: boolean | undefined;
|
|
5742
5747
|
innerBorder?: boolean | undefined;
|
|
5748
|
+
linkedToPreSalesPageBanner?: boolean | undefined;
|
|
5743
5749
|
}, "iconSvg" | "iconAlign" | "iconVisible">, {
|
|
5744
5750
|
type?: "primary" | "secondary" | undefined;
|
|
5745
5751
|
roundedBtn?: Partial<Record<_gem_sdk_core.StateType, _gem_sdk_core.CornerRadius>> | undefined;
|
|
@@ -5911,6 +5917,7 @@ declare const DynamicCheckout: ({ builderProps, styles, advanced, setting, pageC
|
|
|
5911
5917
|
shouldClearSpace?: boolean | undefined;
|
|
5912
5918
|
disabledLoading?: boolean | undefined;
|
|
5913
5919
|
innerBorder?: boolean | undefined;
|
|
5920
|
+
linkedToPreSalesPageBanner?: boolean | undefined;
|
|
5914
5921
|
}, "iconSvg" | "iconAlign" | "iconVisible">, {
|
|
5915
5922
|
type?: "primary" | "secondary" | undefined;
|
|
5916
5923
|
roundedBtn?: Partial<Record<_gem_sdk_core.StateType, _gem_sdk_core.CornerRadius>> | undefined;
|
|
@@ -6004,6 +6011,7 @@ declare const ProductViewMore: ({ setting, builderProps, builderAttrs, style, st
|
|
|
6004
6011
|
shouldClearSpace?: boolean | undefined;
|
|
6005
6012
|
disabledLoading?: boolean | undefined;
|
|
6006
6013
|
innerBorder?: boolean | undefined;
|
|
6014
|
+
linkedToPreSalesPageBanner?: boolean | undefined;
|
|
6007
6015
|
}, "iconSvg" | "iconAlign" | "iconVisible" | "shouldClearSpace">, {
|
|
6008
6016
|
type?: "primary" | "secondary" | undefined;
|
|
6009
6017
|
roundedBtn?: Partial<Record<_gem_sdk_core.StateType, _gem_sdk_core.CornerRadius>> | undefined;
|
|
@@ -6331,6 +6339,7 @@ declare const Image: ({ styles, className, setting, builderAttrs, builderProps,
|
|
|
6331
6339
|
isNotLazyload?: boolean | undefined;
|
|
6332
6340
|
disableNoDataState?: boolean | undefined;
|
|
6333
6341
|
isGoToSalesPage?: boolean | undefined;
|
|
6342
|
+
linkedToPreSalesPageBanner?: boolean | undefined;
|
|
6334
6343
|
} & Pick<AdaptiveImageProps, "srcSet">, {
|
|
6335
6344
|
shape?: Partial<Record<_gem_sdk_core.NameDevices, _gem_sdk_core.SizeSettingGlobal>> | undefined;
|
|
6336
6345
|
customAspectRadio?: Partial<Record<_gem_sdk_core.NameDevices, _gem_sdk_core.Ratio>> | undefined;
|
|
@@ -6434,6 +6443,7 @@ declare const HeroBanner: ({ builderAttrs, builderProps, setting, styles, style,
|
|
|
6434
6443
|
aspectRatio?: Partial<Record<NameDevices, string>> | undefined;
|
|
6435
6444
|
ratioOptions?: Partial<Record<NameDevices, _gem_sdk_core.Ratio>> | undefined;
|
|
6436
6445
|
isGoToSalesPage?: boolean | undefined;
|
|
6446
|
+
linkedToPreSalesPageBanner?: boolean | undefined;
|
|
6437
6447
|
} & Pick<{
|
|
6438
6448
|
responsive?: Partial<Record<NameDevices, string>> | undefined;
|
|
6439
6449
|
layout?: Partial<Record<NameDevices, _gem_sdk_core.ObjectLayoutValue>> | undefined;
|
|
@@ -6574,6 +6584,7 @@ declare const SubmitButton: ({ setting, builderProps, builderAttrs, style, style
|
|
|
6574
6584
|
shouldClearSpace?: boolean | undefined;
|
|
6575
6585
|
disabledLoading?: boolean | undefined;
|
|
6576
6586
|
innerBorder?: boolean | undefined;
|
|
6587
|
+
linkedToPreSalesPageBanner?: boolean | undefined;
|
|
6577
6588
|
}, "iconSvg" | "iconAlign" | "iconVisible" | "shouldClearSpace">, {
|
|
6578
6589
|
type?: "primary" | "secondary" | undefined;
|
|
6579
6590
|
roundedBtn?: Partial<Record<_gem_sdk_core.StateType, _gem_sdk_core.CornerRadius>> | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/components",
|
|
3
|
-
"version": "2.2.0-staging.
|
|
3
|
+
"version": "2.2.0-staging.73",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"format": "prettier --write \"./src/**/*.{ts,tsx}\""
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@gem-sdk/core": "2.2.0-staging.
|
|
24
|
+
"@gem-sdk/core": "2.2.0-staging.73",
|
|
25
25
|
"@gem-sdk/styles": "2.2.0-staging.52",
|
|
26
26
|
"@types/react-transition-group": "^4.4.5"
|
|
27
27
|
},
|