@gem-sdk/core 1.33.1 → 1.33.4
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/components/ComponentToolbarPreview.js +1 -4
- package/dist/cjs/helpers/background.js +6 -4
- package/dist/cjs/helpers/carousel.js +58 -0
- package/dist/cjs/helpers/make-style.js +20 -4
- package/dist/cjs/index.js +6 -0
- package/dist/esm/components/ComponentToolbarPreview.js +1 -4
- package/dist/esm/helpers/background.js +6 -4
- package/dist/esm/helpers/carousel.js +54 -0
- package/dist/esm/helpers/make-style.js +19 -5
- package/dist/esm/index.js +2 -1
- package/dist/types/index.d.ts +201 -31
- package/package.json +2 -2
- package/dist/cjs/components/resize/Resize.js +0 -16
- package/dist/cjs/components/resize/Spacing.js +0 -222
- package/dist/esm/components/resize/Resize.js +0 -12
- package/dist/esm/components/resize/Spacing.js +0 -218
package/dist/types/index.d.ts
CHANGED
|
@@ -184,7 +184,7 @@ type HyperlinkInfo = {
|
|
|
184
184
|
link?: string;
|
|
185
185
|
modal?: CommonModalApp;
|
|
186
186
|
};
|
|
187
|
-
type Mapped$
|
|
187
|
+
type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
188
188
|
id: K;
|
|
189
189
|
label?: string;
|
|
190
190
|
info?: string;
|
|
@@ -196,6 +196,7 @@ type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
196
196
|
};
|
|
197
197
|
hide?: boolean;
|
|
198
198
|
ignoreReRender?: boolean;
|
|
199
|
+
allowBackgroundImageAndVideo?: boolean;
|
|
199
200
|
hideOnState?: {
|
|
200
201
|
normal?: boolean;
|
|
201
202
|
hover?: boolean;
|
|
@@ -229,6 +230,7 @@ type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
229
230
|
};
|
|
230
231
|
hide?: boolean;
|
|
231
232
|
ignoreReRender?: boolean;
|
|
233
|
+
showBackground?: boolean;
|
|
232
234
|
hideOnState?: {
|
|
233
235
|
normal?: boolean;
|
|
234
236
|
hover?: boolean;
|
|
@@ -252,7 +254,67 @@ type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
252
254
|
default?: T;
|
|
253
255
|
};
|
|
254
256
|
type SharedControlType<T> = {
|
|
255
|
-
[K in keyof T]-?: Mapped$
|
|
257
|
+
[K in keyof T]-?: Mapped$7<K, T[K]>;
|
|
258
|
+
}[keyof T];
|
|
259
|
+
|
|
260
|
+
type Option$5 = {
|
|
261
|
+
value: number | string;
|
|
262
|
+
label?: string | number;
|
|
263
|
+
type?: string;
|
|
264
|
+
icon?: string;
|
|
265
|
+
isTextIcon?: boolean;
|
|
266
|
+
};
|
|
267
|
+
type Mapped$6<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
268
|
+
id: K;
|
|
269
|
+
label: string;
|
|
270
|
+
info?: string;
|
|
271
|
+
hide?: boolean;
|
|
272
|
+
hideOnMode?: {
|
|
273
|
+
responsive?: boolean;
|
|
274
|
+
mobileOnly?: boolean;
|
|
275
|
+
};
|
|
276
|
+
disableToggle?: boolean;
|
|
277
|
+
state?: {
|
|
278
|
+
normal?: boolean;
|
|
279
|
+
hover?: boolean;
|
|
280
|
+
focus?: boolean;
|
|
281
|
+
active?: boolean;
|
|
282
|
+
};
|
|
283
|
+
placeholder?: string;
|
|
284
|
+
type: 'layout-custom-segment';
|
|
285
|
+
options: Option$5[];
|
|
286
|
+
devices?: ResponsiveConfig<U>;
|
|
287
|
+
iconViewBox?: string;
|
|
288
|
+
enableItemBackground?: boolean;
|
|
289
|
+
itemPerRow?: number;
|
|
290
|
+
itemSpacing?: 'large' | 'small';
|
|
291
|
+
enableTooltip?: boolean;
|
|
292
|
+
} : {
|
|
293
|
+
id: K;
|
|
294
|
+
label: string;
|
|
295
|
+
info?: string;
|
|
296
|
+
hide?: boolean;
|
|
297
|
+
hideOnMode?: {
|
|
298
|
+
responsive?: boolean;
|
|
299
|
+
mobileOnly?: boolean;
|
|
300
|
+
};
|
|
301
|
+
disableToggle?: boolean;
|
|
302
|
+
state?: {
|
|
303
|
+
normal?: boolean;
|
|
304
|
+
hover?: boolean;
|
|
305
|
+
focus?: boolean;
|
|
306
|
+
active?: boolean;
|
|
307
|
+
};
|
|
308
|
+
placeholder?: string;
|
|
309
|
+
type: 'layout-custom-segment';
|
|
310
|
+
options?: Option$5[];
|
|
311
|
+
iconViewBox?: string;
|
|
312
|
+
enableItemBackground?: boolean;
|
|
313
|
+
enableTooltip?: boolean;
|
|
314
|
+
default?: T;
|
|
315
|
+
};
|
|
316
|
+
type LayoutCustomSegmentControlType<T> = {
|
|
317
|
+
[K in keyof T]-?: Mapped$6<K, T[K]>;
|
|
256
318
|
}[keyof T];
|
|
257
319
|
|
|
258
320
|
type AngleControlType<T> = SharedControlType<T> & {
|
|
@@ -264,12 +326,12 @@ type AngleControlType<T> = SharedControlType<T> & {
|
|
|
264
326
|
readonly?: boolean;
|
|
265
327
|
};
|
|
266
328
|
|
|
267
|
-
type Option$
|
|
329
|
+
type Option$4<T> = {
|
|
268
330
|
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
269
331
|
text: string | number;
|
|
270
332
|
desc?: any;
|
|
271
333
|
};
|
|
272
|
-
type Mapped$
|
|
334
|
+
type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
273
335
|
id: K;
|
|
274
336
|
label: string;
|
|
275
337
|
hideOnMode?: {
|
|
@@ -285,7 +347,7 @@ type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
285
347
|
active?: boolean;
|
|
286
348
|
};
|
|
287
349
|
type: 'checkbox';
|
|
288
|
-
options: Option$
|
|
350
|
+
options: Option$4<T>[];
|
|
289
351
|
devices?: ResponsiveConfig<U>;
|
|
290
352
|
} : {
|
|
291
353
|
id: K;
|
|
@@ -303,11 +365,11 @@ type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
303
365
|
active?: boolean;
|
|
304
366
|
};
|
|
305
367
|
type: 'checkbox';
|
|
306
|
-
options: Option$
|
|
368
|
+
options: Option$4<T>[];
|
|
307
369
|
default?: T;
|
|
308
370
|
};
|
|
309
371
|
type CheckboxControlType<T> = {
|
|
310
|
-
[K in keyof T]-?: Mapped$
|
|
372
|
+
[K in keyof T]-?: Mapped$5<K, T[K]>;
|
|
311
373
|
}[keyof T];
|
|
312
374
|
|
|
313
375
|
type ChildrensControlType = {
|
|
@@ -392,7 +454,7 @@ type InputNumberControlType<T> = SharedControlType<T> & {
|
|
|
392
454
|
readonly?: boolean;
|
|
393
455
|
};
|
|
394
456
|
|
|
395
|
-
type SizeUnit$2 = 's' | '%' | 'cm' | 'mm' | 'Q' | 'in' | 'pc' | 'pt' | 'px' | 'em' | 'cap' | 'ex' | 'ch' | 'ic' | 'rem' | 'lh' | 'rlh' | 'vw' | 'vh' | 'vi' | 'vb' | 'vmin' | 'vmax';
|
|
457
|
+
type SizeUnit$2 = 's' | '%' | 'cm' | 'mm' | 'Q' | 'in' | 'pc' | 'pt' | 'px' | 'em' | 'cap' | 'ex' | 'ch' | 'ic' | 'rem' | 'lh' | 'rlh' | 'vw' | 'vh' | 'vi' | 'vb' | 'vmin' | 'vmax' | 'ms';
|
|
396
458
|
type InputUnitControlType<T> = SharedControlType<T> & {
|
|
397
459
|
type: 'input:unit';
|
|
398
460
|
placeholder?: string;
|
|
@@ -439,13 +501,13 @@ type RangeControlType<T> = SharedControlType<T> & {
|
|
|
439
501
|
hideUnit?: boolean;
|
|
440
502
|
};
|
|
441
503
|
|
|
442
|
-
type Option$
|
|
504
|
+
type Option$3<T> = {
|
|
443
505
|
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
444
506
|
label?: string | number;
|
|
445
507
|
type?: string;
|
|
446
508
|
icon?: string;
|
|
447
509
|
};
|
|
448
|
-
type Mapped$
|
|
510
|
+
type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
449
511
|
id: K;
|
|
450
512
|
label?: string;
|
|
451
513
|
info?: string;
|
|
@@ -463,7 +525,7 @@ type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
463
525
|
};
|
|
464
526
|
placeholder?: string;
|
|
465
527
|
type: 'segment' | 'accordion:segment';
|
|
466
|
-
options: Option$
|
|
528
|
+
options: Option$3<T>[];
|
|
467
529
|
iconCustom?: boolean;
|
|
468
530
|
devices?: ResponsiveConfig<U>;
|
|
469
531
|
} : {
|
|
@@ -484,15 +546,15 @@ type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
484
546
|
};
|
|
485
547
|
placeholder?: string;
|
|
486
548
|
type: 'segment' | 'accordion:segment';
|
|
487
|
-
options: Option$
|
|
549
|
+
options: Option$3<T>[];
|
|
488
550
|
iconCustom?: boolean;
|
|
489
551
|
default?: T;
|
|
490
552
|
};
|
|
491
553
|
type SegmentControlType<T> = {
|
|
492
|
-
[K in keyof T]-?: Mapped$
|
|
554
|
+
[K in keyof T]-?: Mapped$4<K, T[K]>;
|
|
493
555
|
}[keyof T];
|
|
494
556
|
|
|
495
|
-
type Option$
|
|
557
|
+
type Option$2<T> = {
|
|
496
558
|
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
497
559
|
label: string | number;
|
|
498
560
|
hideOnPage?: string[];
|
|
@@ -501,7 +563,7 @@ type Option$1<T> = {
|
|
|
501
563
|
icon?: string;
|
|
502
564
|
tooltip?: string;
|
|
503
565
|
};
|
|
504
|
-
type Mapped$
|
|
566
|
+
type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
505
567
|
id: K;
|
|
506
568
|
label?: string;
|
|
507
569
|
info?: string;
|
|
@@ -519,7 +581,7 @@ type Mapped$2<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
519
581
|
};
|
|
520
582
|
placeholder?: string;
|
|
521
583
|
type: 'select';
|
|
522
|
-
options: Option$
|
|
584
|
+
options: Option$2<T>[];
|
|
523
585
|
devices?: ResponsiveConfig<U>;
|
|
524
586
|
} : {
|
|
525
587
|
id: K;
|
|
@@ -539,11 +601,11 @@ type Mapped$2<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
539
601
|
};
|
|
540
602
|
placeholder?: string;
|
|
541
603
|
type: 'select';
|
|
542
|
-
options: Option$
|
|
604
|
+
options: Option$2<T>[];
|
|
543
605
|
default?: T;
|
|
544
606
|
};
|
|
545
607
|
type SelectControlType<T> = {
|
|
546
|
-
[K in keyof T]-?: Mapped$
|
|
608
|
+
[K in keyof T]-?: Mapped$3<K, T[K]>;
|
|
547
609
|
}[keyof T];
|
|
548
610
|
|
|
549
611
|
type TextareaControlType<T> = SharedControlType<T> & {
|
|
@@ -749,14 +811,14 @@ type CustomCodeEditor = {
|
|
|
749
811
|
id: string;
|
|
750
812
|
};
|
|
751
813
|
|
|
752
|
-
type Option<T> = {
|
|
814
|
+
type Option$1<T> = {
|
|
753
815
|
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
754
816
|
label?: string | number;
|
|
755
817
|
type?: string;
|
|
756
818
|
icon?: string;
|
|
757
819
|
isTextIcon?: boolean;
|
|
758
820
|
};
|
|
759
|
-
type Mapped$
|
|
821
|
+
type Mapped$2<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
760
822
|
id: K;
|
|
761
823
|
label: string;
|
|
762
824
|
info?: string;
|
|
@@ -774,7 +836,7 @@ type Mapped$1<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
774
836
|
};
|
|
775
837
|
placeholder?: string;
|
|
776
838
|
type: 'layout-segment';
|
|
777
|
-
options: Option<T>[];
|
|
839
|
+
options: Option$1<T>[];
|
|
778
840
|
devices?: ResponsiveConfig<U>;
|
|
779
841
|
iconViewBox?: string;
|
|
780
842
|
enableItemBackground?: boolean;
|
|
@@ -799,14 +861,14 @@ type Mapped$1<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
799
861
|
};
|
|
800
862
|
placeholder?: string;
|
|
801
863
|
type: 'layout-segment';
|
|
802
|
-
options?: Option<T>[];
|
|
864
|
+
options?: Option$1<T>[];
|
|
803
865
|
iconViewBox?: string;
|
|
804
866
|
enableItemBackground?: boolean;
|
|
805
867
|
enableTooltip?: boolean;
|
|
806
868
|
default?: T;
|
|
807
869
|
};
|
|
808
870
|
type LayoutSegmentControlType<T> = {
|
|
809
|
-
[K in keyof T]-?: Mapped$
|
|
871
|
+
[K in keyof T]-?: Mapped$2<K, T[K]>;
|
|
810
872
|
}[keyof T];
|
|
811
873
|
|
|
812
874
|
type InputSpacing<T> = SharedControlType<T> & {
|
|
@@ -916,7 +978,7 @@ type Actions = {
|
|
|
916
978
|
actionHandle?: string;
|
|
917
979
|
link?: string;
|
|
918
980
|
};
|
|
919
|
-
type Mapped<K, T> = {
|
|
981
|
+
type Mapped$1<K, T> = {
|
|
920
982
|
id: K;
|
|
921
983
|
label: string;
|
|
922
984
|
info?: string;
|
|
@@ -925,7 +987,7 @@ type Mapped<K, T> = {
|
|
|
925
987
|
default?: T;
|
|
926
988
|
};
|
|
927
989
|
type StepsGuide<T> = {
|
|
928
|
-
[K in keyof T]-?: Mapped<K, T[K]>;
|
|
990
|
+
[K in keyof T]-?: Mapped$1<K, T[K]>;
|
|
929
991
|
}[keyof T];
|
|
930
992
|
|
|
931
993
|
type ImageShape<T> = SharedControlType<T> & {
|
|
@@ -940,10 +1002,10 @@ type GridArrange<T> = SharedControlType<T> & {
|
|
|
940
1002
|
readonly?: boolean;
|
|
941
1003
|
};
|
|
942
1004
|
|
|
943
|
-
type SettingID = 'shape' | 'width' | 'height' | 'gap' | 'padding';
|
|
1005
|
+
type SettingID = 'shape' | 'width' | 'height' | 'gap' | 'padding' | 'proportion';
|
|
944
1006
|
type ShapeOptionKeyword = 'original' | 'square' | 'vertical' | 'horizontal' | 'custom';
|
|
945
1007
|
type HeightOptionKeyword = 'fit-content' | 'fit-screen';
|
|
946
|
-
type OptionKeyword = 'default' | 'auto' | 'full' | 'equal' | 'small' | 'medium' | 'large' | HeightOptionKeyword | ShapeOptionKeyword;
|
|
1008
|
+
type OptionKeyword = 'default' | 'auto' | 'full' | 'equal' | 'small' | 'medium' | 'large' | HeightOptionKeyword | ShapeOptionKeyword | string;
|
|
947
1009
|
type PaddingOptions = 'small' | 'medium' | 'large' | 'custom';
|
|
948
1010
|
type ShapeOptions = 'square' | 'vertical' | 'horizontal' | 'custom' | 'original';
|
|
949
1011
|
type ShapeConfig = Partial<Record<ShapeOptions, string>>;
|
|
@@ -952,7 +1014,7 @@ type PaddingConfig = Partial<Record<PaddingOptions, {
|
|
|
952
1014
|
horizontal: string;
|
|
953
1015
|
}>>;
|
|
954
1016
|
type SettingConfig = {
|
|
955
|
-
sizeConfig?: Partial<Record<'small' | 'medium' | 'large', string>>;
|
|
1017
|
+
sizeConfig?: Partial<Record<'small' | 'medium' | 'large' | 'full', string>>;
|
|
956
1018
|
displayOptions?: OptionKeyword[];
|
|
957
1019
|
paddingConfig?: PaddingConfig;
|
|
958
1020
|
shapeConfig?: ShapeConfig;
|
|
@@ -967,6 +1029,8 @@ type SizeSetting$1<T> = SharedControlType<T> & {
|
|
|
967
1029
|
hiddenSettings?: SettingID[];
|
|
968
1030
|
settingConfig?: Partial<Record<SettingID, SettingConfig>>;
|
|
969
1031
|
hiddenShowMore?: boolean;
|
|
1032
|
+
sizePaddingInput?: 'normal' | 'small';
|
|
1033
|
+
lockShapeValue?: boolean;
|
|
970
1034
|
};
|
|
971
1035
|
|
|
972
1036
|
type ChildIconType<T> = SharedControlType<T> & {
|
|
@@ -1011,7 +1075,85 @@ type BackgroundColorPickerType<T> = SharedControlType<T> & {
|
|
|
1011
1075
|
readonly?: boolean;
|
|
1012
1076
|
};
|
|
1013
1077
|
|
|
1014
|
-
type
|
|
1078
|
+
type PlayPauseControlType<T> = SharedControlType<T> & {
|
|
1079
|
+
type: 'play-pause';
|
|
1080
|
+
readonly?: boolean;
|
|
1081
|
+
hideLabel?: boolean;
|
|
1082
|
+
};
|
|
1083
|
+
|
|
1084
|
+
type SneakPeakControlType<T> = SharedControlType<T> & {
|
|
1085
|
+
type: 'sneak-peak';
|
|
1086
|
+
hideLabel?: boolean;
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1089
|
+
type SneakPeakRange<T> = SharedControlType<T> & {
|
|
1090
|
+
type: 'sneak-peak-range';
|
|
1091
|
+
placeholder?: string;
|
|
1092
|
+
readonly?: boolean;
|
|
1093
|
+
sneakPeakType?: string;
|
|
1094
|
+
};
|
|
1095
|
+
|
|
1096
|
+
type Option<T> = {
|
|
1097
|
+
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
1098
|
+
label?: string | number;
|
|
1099
|
+
type?: string;
|
|
1100
|
+
icon?: string;
|
|
1101
|
+
isTextIcon?: boolean;
|
|
1102
|
+
};
|
|
1103
|
+
type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
1104
|
+
id: K;
|
|
1105
|
+
label: string;
|
|
1106
|
+
info?: string;
|
|
1107
|
+
hide?: boolean;
|
|
1108
|
+
hideOnMode?: {
|
|
1109
|
+
responsive?: boolean;
|
|
1110
|
+
mobileOnly?: boolean;
|
|
1111
|
+
};
|
|
1112
|
+
disableToggle?: boolean;
|
|
1113
|
+
state?: {
|
|
1114
|
+
normal?: boolean;
|
|
1115
|
+
hover?: boolean;
|
|
1116
|
+
focus?: boolean;
|
|
1117
|
+
active?: boolean;
|
|
1118
|
+
};
|
|
1119
|
+
placeholder?: string;
|
|
1120
|
+
type: 'sneak-peak-type';
|
|
1121
|
+
options: Option<T>[];
|
|
1122
|
+
devices?: ResponsiveConfig<U>;
|
|
1123
|
+
iconViewBox?: string;
|
|
1124
|
+
enableItemBackground?: boolean;
|
|
1125
|
+
itemPerRow?: number;
|
|
1126
|
+
itemSpacing?: 'large' | 'small';
|
|
1127
|
+
enableTooltip?: boolean;
|
|
1128
|
+
} : {
|
|
1129
|
+
id: K;
|
|
1130
|
+
label: string;
|
|
1131
|
+
info?: string;
|
|
1132
|
+
hide?: boolean;
|
|
1133
|
+
hideOnMode?: {
|
|
1134
|
+
responsive?: boolean;
|
|
1135
|
+
mobileOnly?: boolean;
|
|
1136
|
+
};
|
|
1137
|
+
disableToggle?: boolean;
|
|
1138
|
+
state?: {
|
|
1139
|
+
normal?: boolean;
|
|
1140
|
+
hover?: boolean;
|
|
1141
|
+
focus?: boolean;
|
|
1142
|
+
active?: boolean;
|
|
1143
|
+
};
|
|
1144
|
+
placeholder?: string;
|
|
1145
|
+
type: 'sneak-peak-type';
|
|
1146
|
+
options?: Option<T>[];
|
|
1147
|
+
iconViewBox?: string;
|
|
1148
|
+
enableItemBackground?: boolean;
|
|
1149
|
+
enableTooltip?: boolean;
|
|
1150
|
+
default?: T;
|
|
1151
|
+
};
|
|
1152
|
+
type SneakPeakTypeControlType<T> = {
|
|
1153
|
+
[K in keyof T]-?: Mapped<K, T[K]>;
|
|
1154
|
+
}[keyof T];
|
|
1155
|
+
|
|
1156
|
+
type ControlProp<T> = AngleControlType<T> | CheckboxControlType<T> | ColorPickerControlType<T> | GroupControlType<T> | IconControlType<T> | InputFixContentControlType<T> | InputNumberControlType<T> | InputUnitControlType<T> | InputUnitSpacingControlType<T> | InputUnitWidthControlType<T> | InputControlType<T> | MarginControlType<T> | PaddingControlType<T> | PositionControlType<T> | RadioGroupControlType | RangeControlType<T> | SegmentControlType<T> | SelectControlType<T> | TextareaControlType<T> | ToggleControlType<T> | ImageControlType<T> | ChildrensControlType | GridControlType<T> | FlexControlType<T> | TextEditorControlType<T> | ProductControlType<T> | TypographyControlType<T> | TypographyV2ControlType<T> | MenuControlType<T> | BehaviorStateControlType<T> | PickLinkControlType<T> | BoxShadowControlType<T> | TextShadowControlType<T> | BorderControlType<T> | BorderRadiusControlType<T> | RadiusPresetControlType<T> | SizeControlType<T> | ChildItemType<T> | PickMultiProductControlType<T> | CollectionControlType<T> | BackgroundControlType<T> | VisibilityControlType<T> | SelectVariantControlType | CountdownEvergreenType | Timezone<T> | CustomContentControlType<T> | DateTimePickerControlType | CountdownDailyType | KlaviyoCodes | YotpoLoyaltyCodes | InputWidthControlType<T> | LayoutSegmentControlType<T> | InputSpacing<T> | UniqueIdControlType<T> | PositionSquareControlType<T> | CustomCodeEditor | LayoutControlType<T> | LayoutBannerControlType<T> | SwatchesLinkControlType<T> | VariantSwatchesPresetControlType<T> | ProductListControlType<T> | CollectionBannerControlType<T> | Ratio<T> | StickyDisplayControlType<T> | SyncProductPropertiesControlType<T> | StepsGuide<T> | ImageShape<T> | GridArrange<T> | SizeSetting$1<T> | ChildIconType<T> | DropdownInput<T> | Dropdown<T> | AliPickSectionControlType<T> | ParallaxScrollingType<T> | BackgroundColorPickerType<T> | PlayPauseControlType<T> | LayoutCustomSegmentControlType<T> | SneakPeakRange<T> | SneakPeakTypeControlType<T> | SneakPeakControlType<T>;
|
|
1015
1157
|
type ControlTriggerAction = {
|
|
1016
1158
|
controlId: string;
|
|
1017
1159
|
newValue?: any;
|
|
@@ -1116,6 +1258,7 @@ type ControlUI = {
|
|
|
1116
1258
|
hideOnPages?: PageType[];
|
|
1117
1259
|
};
|
|
1118
1260
|
isMoreSetting?: boolean;
|
|
1261
|
+
hiddenDivice?: boolean;
|
|
1119
1262
|
controlChangeTrigger?: {
|
|
1120
1263
|
settings?: {
|
|
1121
1264
|
source: string[];
|
|
@@ -7631,6 +7774,7 @@ type ProductListContextProps = {
|
|
|
7631
7774
|
spacing?: ObjectDevices<number>;
|
|
7632
7775
|
layout?: 'grid' | 'slider';
|
|
7633
7776
|
dot?: ObjectDevices<boolean>;
|
|
7777
|
+
dotStyle?: ObjectDevices<'none' | 'inside' | 'outside'>;
|
|
7634
7778
|
arrow?: ObjectDevices<boolean>;
|
|
7635
7779
|
controlOverContent?: ObjectDevices<boolean>;
|
|
7636
7780
|
speed?: number;
|
|
@@ -8035,6 +8179,24 @@ declare const handleConvertClassColor: (value?: BorderStyle) => string | undefin
|
|
|
8035
8179
|
declare const handleConvertClassColorDynamicBtn: (value?: BorderStyle) => string | undefined;
|
|
8036
8180
|
declare const composeBorderCss: (borderV?: Border | undefined) => string;
|
|
8037
8181
|
|
|
8182
|
+
type DotStyle = 'none' | 'inside' | 'outside';
|
|
8183
|
+
declare const getCarouselContainerHeight: <T>(dotStyle?: Partial<Record<NameDevices$1, T>> | undefined, dotSize?: ObjectDevices<number>, dotGapToCarousel?: ObjectDevices<number>) => {
|
|
8184
|
+
desktop: string | undefined;
|
|
8185
|
+
tablet: string | undefined;
|
|
8186
|
+
mobile: string | undefined;
|
|
8187
|
+
};
|
|
8188
|
+
declare const makeContainerWidthOrHeight: <T extends ShortHandProperty>(setting: {
|
|
8189
|
+
dotStyle?: ObjectDevices<DotStyle>;
|
|
8190
|
+
dotSize?: ObjectDevices<number>;
|
|
8191
|
+
dotGapToCarousel?: ObjectDevices<number>;
|
|
8192
|
+
vertical?: ObjectDevices<boolean>;
|
|
8193
|
+
}) => {
|
|
8194
|
+
[x: string]: string | undefined;
|
|
8195
|
+
};
|
|
8196
|
+
declare const makeDotGapToCarouselStyle: <T extends ShortHandProperty, K>(dotStyle?: ObjectDevices<DotStyle>, dotGapToCarousel?: Partial<Record<NameDevices$1, K>> | undefined, vertical?: ObjectDevices<boolean>) => {
|
|
8197
|
+
[x: string]: string | undefined;
|
|
8198
|
+
};
|
|
8199
|
+
|
|
8038
8200
|
type ClassValue = ClassDictionary | string | null | undefined;
|
|
8039
8201
|
type ClassDictionary = Record<string, boolean | undefined | null>;
|
|
8040
8202
|
declare function cls(...classes: ClassValue[]): string;
|
|
@@ -8080,13 +8242,19 @@ declare const makeStyle: <T extends ShortHandProperty, K>(style: Record<T, K>) =
|
|
|
8080
8242
|
};
|
|
8081
8243
|
declare const makeStyleState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<StateType, K>> | undefined) => {};
|
|
8082
8244
|
declare const makeStyleResponsiveState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, Partial<Record<StateType, K>>>> | undefined) => {};
|
|
8083
|
-
declare const makeStyleResponsive: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined) => Record<ResponsiveKey<T>, K>;
|
|
8245
|
+
declare const makeStyleResponsive: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
|
|
8246
|
+
declare const makeStyleResponsiveByScreen: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
|
|
8084
8247
|
declare const makeWidth: (widthValue?: ObjectDevices<string | number>, fullWidthValue?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
8085
8248
|
declare const makeGlobalSizeWidthResponsive: (globalSize?: ObjectDevices<SizeSettingGlobal>) => {
|
|
8086
8249
|
'--w': string | undefined;
|
|
8087
8250
|
'--w-tablet': string | undefined;
|
|
8088
8251
|
'--w-mobile': string | undefined;
|
|
8089
8252
|
};
|
|
8253
|
+
declare const makeGlobalSizeHeightResponsive: (globalSize?: ObjectDevices<SizeSettingGlobal>) => {
|
|
8254
|
+
'--h': string | undefined;
|
|
8255
|
+
'--h-tablet': string | undefined;
|
|
8256
|
+
'--h-mobile': string | undefined;
|
|
8257
|
+
};
|
|
8090
8258
|
declare const makeHeight: (heighValue?: ObjectDevices<string | number>, autoHeight?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
8091
8259
|
declare const makeAspectRatio: (aspectRatio?: ObjectDevices<string>, aspectWidth?: ObjectDevices<string | number>, aspectHeight?: ObjectDevices<string | number>) => ObjectDevices<string>;
|
|
8092
8260
|
declare const makeLineClamp: (lineClampValue?: ObjectDevices<number>, hasLineClampValue?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
@@ -9763,6 +9931,7 @@ type Devices = 'desktop' | 'tablet' | 'mobile';
|
|
|
9763
9931
|
type Options = {
|
|
9764
9932
|
liquid?: boolean;
|
|
9765
9933
|
ignoreBgAttachment?: boolean;
|
|
9934
|
+
ignoreBackgroundImage?: boolean;
|
|
9766
9935
|
};
|
|
9767
9936
|
declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options) => {};
|
|
9768
9937
|
declare const getBgImageByDevice: (background: ObjectDevices<Background>, device: Devices, options?: Options) => string | undefined;
|
|
@@ -16021,6 +16190,7 @@ declare const useProductListSettings: () => {
|
|
|
16021
16190
|
spacing?: Partial<Record<NameDevices$1, number>> | undefined;
|
|
16022
16191
|
layout?: "grid" | "slider" | undefined;
|
|
16023
16192
|
dot?: Partial<Record<NameDevices$1, boolean>> | undefined;
|
|
16193
|
+
dotStyle?: Partial<Record<NameDevices$1, "none" | "inside" | "outside">> | undefined;
|
|
16024
16194
|
arrow?: Partial<Record<NameDevices$1, boolean>> | undefined;
|
|
16025
16195
|
controlOverContent?: Partial<Record<NameDevices$1, boolean>> | undefined;
|
|
16026
16196
|
speed?: number | undefined;
|
|
@@ -16053,4 +16223,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage, 'id' | 'name' |
|
|
|
16053
16223
|
|
|
16054
16224
|
declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
|
|
16055
16225
|
|
|
16056
|
-
export { AddOn, AddonProvider, AddonProviderProps, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationDirectionType, AnimationEasingType, AnimationFadeSettingType, AnimationSetting, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, AnimationZoomSettingType, Background, BaseProps, BasePropsWrap, BlockEntity, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CartLineProvider, CartLineProviderProps, CollectionDetailFilterDocument, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionDocument, CollectionProvider, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, CollectionSelectFragment, CollectionsDocument, CollectionsQueryResponse, CollectionsQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentPreset, ComponentSetting, ContainerProp, ControlProp, ControlTriggerAction, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DynamicCollection, DynamicProduct, ExtractState, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetType, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeBackgroundCss, composeBorderCss, composeCornerCss, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterCornerInStyle, filterToolbarPreview, flattenConnection, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAspectRatioGlobalSize, getBgImageByDevice, getBorderStyle, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getPaddingGlobalSize, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleShadow, getStyleShadowState, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, splitStyle, styles, template, tiktokpixel, useAddToCart, useAddon, useAddons, useBuilderComponent, useBuilderPreviewStore, useBuilderStore, useCartData, useCartDiscountCodesUpdate, useCartId, useCartLine, useCartLineStore, useCartNoteUpdate, useCartUI, useCheckAvailableVariantInStock, useCheckoutUrl, useCollection, useCollectionQuery, useCollectionStore, useCollectionsQuery, useConnectedShopify, useCreateCart, useCurrency, useCurrentDevice, useCurrentVariant, useCurrentVariantInStock, useEditorMode, useFeaturedImageGlobal, useFormatMoney, useInitialSwatchesOptions, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
|
16226
|
+
export { AddOn, AddonProvider, AddonProviderProps, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationDirectionType, AnimationEasingType, AnimationFadeSettingType, AnimationSetting, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, AnimationZoomSettingType, Background, BaseProps, BasePropsWrap, BlockEntity, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CartLineProvider, CartLineProviderProps, CollectionDetailFilterDocument, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionDocument, CollectionProvider, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, CollectionSelectFragment, CollectionsDocument, CollectionsQueryResponse, CollectionsQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentPreset, ComponentSetting, ContainerProp, ControlProp, ControlTriggerAction, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DynamicCollection, DynamicProduct, ExtractState, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetType, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeBackgroundCss, composeBorderCss, composeCornerCss, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterCornerInStyle, filterToolbarPreview, flattenConnection, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAspectRatioGlobalSize, getBgImageByDevice, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getPaddingGlobalSize, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleShadow, getStyleShadowState, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, splitStyle, styles, template, tiktokpixel, useAddToCart, useAddon, useAddons, useBuilderComponent, useBuilderPreviewStore, useBuilderStore, useCartData, useCartDiscountCodesUpdate, useCartId, useCartLine, useCartLineStore, useCartNoteUpdate, useCartUI, useCheckAvailableVariantInStock, useCheckoutUrl, useCollection, useCollectionQuery, useCollectionStore, useCollectionsQuery, useConnectedShopify, useCreateCart, useCurrency, useCurrentDevice, useCurrentVariant, useCurrentVariantInStock, useEditorMode, useFeaturedImageGlobal, useFormatMoney, useInitialSwatchesOptions, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "1.33.
|
|
3
|
+
"version": "1.33.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@gem-sdk/adapter-shopify": "1.25.0",
|
|
28
|
-
"@gem-sdk/styles": "1.
|
|
28
|
+
"@gem-sdk/styles": "1.33.3"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"react-error-boundary": "4.0.10",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
var Spacing = require('./Spacing.js');
|
|
7
|
-
|
|
8
|
-
function Resize(props) {
|
|
9
|
-
return /*#__PURE__*/ jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
10
|
-
children: /*#__PURE__*/ jsxRuntime.jsx(Spacing.default, {
|
|
11
|
-
...props
|
|
12
|
-
})
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
exports.default = Resize;
|