@gem-sdk/core 1.14.0-moon.210 → 1.14.0-moon.441
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 -0
- package/dist/cjs/components/ComponentWrapper.js +1 -1
- package/dist/cjs/components/ComponentWrapperPreview.js +1 -1
- package/dist/cjs/components/Render.liquid.js +7 -7
- package/dist/cjs/components/RenderCustomCode.js +3 -3
- package/dist/cjs/components/constant.js +1 -1
- package/dist/cjs/components/resize/Column.js +1 -0
- package/dist/cjs/components/resize/Resize.js +1 -0
- package/dist/cjs/components/resize/Spacing.js +1 -0
- package/dist/cjs/components/src/product/helpers/variant-presets.js +1 -0
- package/dist/cjs/components/theme-section/CreateThemeSection.js +1 -0
- package/dist/cjs/components/theme-section/ThemeSectionStatus.js +1 -0
- package/dist/cjs/components/theme-section/ThemeSectionTooltip.js +1 -0
- package/dist/cjs/components/toolbar/Tooltip.js +1 -0
- package/dist/cjs/contexts/BuilderPreviewContext.js +1 -1
- package/dist/cjs/contexts/PageContext.js +1 -0
- package/dist/cjs/contexts/ProductContext.js +1 -1
- package/dist/cjs/contexts/ShopContext.js +1 -1
- package/dist/cjs/graphql/queries/product-value-label.generated.js +7 -0
- package/dist/cjs/helpers/background.js +1 -1
- package/dist/cjs/helpers/colors.js +1 -1
- package/dist/cjs/helpers/compose-advance-style.js +1 -1
- package/dist/cjs/helpers/filter-toolbar-preview.js +1 -0
- package/dist/cjs/helpers/icon-list.js +1 -0
- package/dist/cjs/helpers/is-empty-children.js +1 -1
- package/dist/cjs/helpers/make-style.js +1 -1
- package/dist/cjs/helpers/radius.js +6 -6
- package/dist/cjs/helpers/size.js +3 -3
- package/dist/cjs/helpers/typography.js +11 -11
- package/dist/cjs/hooks/useInitialSwatchesOptions.js +1 -0
- package/dist/cjs/hooks/useProduct.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/web-components/src/helpers/styles/constant.js +1 -0
- package/dist/esm/components/ComponentToolbarPreview.js +1 -0
- package/dist/esm/components/ComponentWrapper.js +1 -1
- package/dist/esm/components/ComponentWrapperPreview.js +1 -1
- package/dist/esm/components/Render.liquid.js +7 -7
- package/dist/esm/components/RenderCustomCode.js +3 -3
- package/dist/esm/components/constant.js +1 -1
- package/dist/esm/components/resize/Column.js +1 -0
- package/dist/esm/components/resize/Resize.js +1 -0
- package/dist/esm/components/resize/Spacing.js +1 -0
- package/dist/esm/components/src/product/helpers/variant-presets.js +1 -0
- package/dist/esm/components/theme-section/CreateThemeSection.js +1 -0
- package/dist/esm/components/theme-section/ThemeSectionStatus.js +1 -0
- package/dist/esm/components/theme-section/ThemeSectionTooltip.js +1 -0
- package/dist/esm/components/toolbar/Tooltip.js +1 -0
- package/dist/esm/contexts/BuilderPreviewContext.js +1 -1
- package/dist/esm/contexts/PageContext.js +1 -0
- package/dist/esm/contexts/ProductContext.js +1 -1
- package/dist/esm/contexts/ShopContext.js +1 -1
- package/dist/esm/graphql/queries/product-value-label.generated.js +7 -0
- package/dist/esm/helpers/background.js +1 -1
- package/dist/esm/helpers/colors.js +1 -1
- package/dist/esm/helpers/compose-advance-style.js +1 -1
- package/dist/esm/helpers/filter-toolbar-preview.js +1 -0
- package/dist/esm/helpers/icon-list.js +1 -0
- package/dist/esm/helpers/is-empty-children.js +1 -1
- package/dist/esm/helpers/make-style.js +1 -1
- package/dist/esm/helpers/radius.js +6 -6
- package/dist/esm/helpers/size.js +3 -3
- package/dist/esm/helpers/typography.js +9 -9
- package/dist/esm/hooks/useInitialSwatchesOptions.js +1 -0
- package/dist/esm/hooks/useProduct.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/web-components/src/helpers/styles/constant.js +1 -0
- package/dist/types/index.d.ts +306 -53
- package/package.json +3 -3
package/dist/types/index.d.ts
CHANGED
|
@@ -30,6 +30,8 @@ type BlockEntity = {
|
|
|
30
30
|
uid: string;
|
|
31
31
|
tag: string;
|
|
32
32
|
label?: string;
|
|
33
|
+
customLabel?: string;
|
|
34
|
+
name?: string;
|
|
33
35
|
dateModified?: string | number;
|
|
34
36
|
childrens?: string[];
|
|
35
37
|
settings?: Record<string, any>;
|
|
@@ -37,12 +39,17 @@ type BlockEntity = {
|
|
|
37
39
|
styles?: Record<string, any>;
|
|
38
40
|
editorConfigs?: Record<string, any>;
|
|
39
41
|
type?: 'component';
|
|
42
|
+
isThemeSection?: boolean;
|
|
43
|
+
needPublishing?: boolean;
|
|
40
44
|
};
|
|
41
45
|
type SectionEntity = {
|
|
42
46
|
uid: string;
|
|
43
47
|
tag?: string;
|
|
44
48
|
label?: string;
|
|
45
49
|
type: 'section';
|
|
50
|
+
name?: string;
|
|
51
|
+
isThemeSection?: boolean;
|
|
52
|
+
needPublishing?: boolean;
|
|
46
53
|
};
|
|
47
54
|
type BuilderEntity = BlockEntity | SectionEntity;
|
|
48
55
|
type BuilderEntityNested = Omit<BlockEntity, 'childrens'> & {
|
|
@@ -53,6 +60,13 @@ type BuilderState = {
|
|
|
53
60
|
} & SectionData;
|
|
54
61
|
type SectionData = Record<string, BuilderEntity>;
|
|
55
62
|
type RenderMode = 'edit' | 'preview';
|
|
63
|
+
type DynamicProduct = {
|
|
64
|
+
productId?: string;
|
|
65
|
+
productHandle?: string;
|
|
66
|
+
} | null;
|
|
67
|
+
type DynamicCollection = {
|
|
68
|
+
collectionId?: string;
|
|
69
|
+
} | null;
|
|
56
70
|
|
|
57
71
|
type InitComponentType<T = any> = {
|
|
58
72
|
[K in keyof T]-?: {
|
|
@@ -72,9 +86,30 @@ type Ratio$1 = {
|
|
|
72
86
|
width?: string;
|
|
73
87
|
height?: string;
|
|
74
88
|
};
|
|
89
|
+
type ImageShape$1 = {
|
|
90
|
+
shape?: 'square' | 'vertical' | 'horizontal' | 'custom';
|
|
91
|
+
width?: string;
|
|
92
|
+
height?: string;
|
|
93
|
+
};
|
|
94
|
+
type SizeSettingGlobal = {
|
|
95
|
+
shape?: 'square' | 'vertical' | 'horizontal' | 'custom' | 'original';
|
|
96
|
+
shapeLinked?: boolean;
|
|
97
|
+
shapeValue?: string;
|
|
98
|
+
widthHeightLinked?: boolean;
|
|
99
|
+
padding?: {
|
|
100
|
+
type?: 'small' | 'medium' | 'large' | 'custom';
|
|
101
|
+
top?: string;
|
|
102
|
+
left?: string;
|
|
103
|
+
bottom?: string;
|
|
104
|
+
right?: string;
|
|
105
|
+
};
|
|
106
|
+
width?: string;
|
|
107
|
+
height?: string;
|
|
108
|
+
gap?: string;
|
|
109
|
+
};
|
|
75
110
|
type FlexDirectionProp = 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
76
111
|
type TransformProp = 'default' | 'capitalize' | 'uppercase' | 'lowercase' | 'none';
|
|
77
|
-
type BaseProps<Setting = unknown, Style = unknown, Advanced =
|
|
112
|
+
type BaseProps<Setting = unknown, Style = unknown, Advanced = Record<string, any>> = {
|
|
78
113
|
builderProps?: {
|
|
79
114
|
/** Unique id of component */
|
|
80
115
|
uid?: string;
|
|
@@ -84,7 +119,7 @@ type BaseProps<Setting = unknown, Style = unknown, Advanced = unknown> = {
|
|
|
84
119
|
setting?: Setting;
|
|
85
120
|
advanced?: Advanced;
|
|
86
121
|
};
|
|
87
|
-
type BasePropsWrap<S = unknown, Style = unknown, A =
|
|
122
|
+
type BasePropsWrap<S = unknown, Style = unknown, A = Record<string, any>> = BaseProps<S, Style, A> & {
|
|
88
123
|
builderAttrs?: Record<string, any>;
|
|
89
124
|
style?: React.CSSProperties;
|
|
90
125
|
};
|
|
@@ -92,16 +127,19 @@ type Component = InitComponentType & {
|
|
|
92
127
|
uid: string;
|
|
93
128
|
childrens?: Component[];
|
|
94
129
|
};
|
|
95
|
-
type NameDevices = 'desktop' | 'tablet' | 'mobile';
|
|
96
|
-
type ObjectDevices<T> = Partial<Record<NameDevices, T>>;
|
|
130
|
+
type NameDevices$1 = 'desktop' | 'tablet' | 'mobile';
|
|
131
|
+
type ObjectDevices<T> = Partial<Record<NameDevices$1, T>>;
|
|
97
132
|
type StateType = 'normal' | 'hover' | 'focus' | 'active';
|
|
98
133
|
type StateProp<T> = Partial<Record<StateType, T>>;
|
|
99
134
|
type ResponsiveStateProp<T> = ObjectDevices<StateProp<T>>;
|
|
100
135
|
type AlignItemProp = 'left' | 'center' | 'right';
|
|
101
|
-
type JudgeMeReviewsWidgetType = 'single_product_preview_badge' | 'review_widget' | 'reviews_carousel' | '
|
|
136
|
+
type JudgeMeReviewsWidgetType = 'single_product_preview_badge' | 'review_widget' | 'reviews_carousel' | 'reviews_text' | 'section_for_medals' | 'ugc_media_grid' | 'verified_reviews_count_badge';
|
|
102
137
|
type LooxReviewsWidgetType = 'reviews_widget' | 'rating_widget' | 'carousel_widget';
|
|
103
138
|
type RyviuWidgetType = 'reviews' | 'badge' | 'badgeCollection' | 'carousel' | 'masonry';
|
|
104
139
|
type RivyoWidgetType = 'reviews' | 'badge' | 'testimonials' | 'allReviewsPage';
|
|
140
|
+
type VitalsWidgetType = 'addToWishlist' | 'goToWishlist' | 'paymentLogos' | 'recentlyViewed' | 'shoppableInstagramFeed' | 'trustSealsAndBadges' | 'productReviews' | 'productBundles' | 'volumeDiscounts' | 'stockScarcity';
|
|
141
|
+
type FeraReviewsWidgetType = 'productReviews' | 'testimonialCarousel' | 'allReviews' | 'averageStoreRatingBadge' | 'inStoreMedia' | 'averageRatingBadge' | 'productPageMedia';
|
|
142
|
+
type OmnisendWidgetType = 'landing-page' | 'embedded';
|
|
105
143
|
type BoldSubscriptionsWidgetType = 'v1' | 'v2';
|
|
106
144
|
type PickyStoryWidgetType = 'gem-picky-bundle' | 'gem-picky-kit' | 'gem-picky-buy-the-look' | 'gem-picky-gallery';
|
|
107
145
|
type KlaviyoWidgetType = 'popup_widget' | 'flyout_widget' | 'embed_widget' | 'full_page_widget';
|
|
@@ -111,11 +149,13 @@ type ObjectLayoutValue = {
|
|
|
111
149
|
keepCol?: boolean;
|
|
112
150
|
};
|
|
113
151
|
type ProductReviewsWidgetType = 'reviews' | 'badge';
|
|
152
|
+
type TrustooWidgetType = 'starRating' | 'reviews';
|
|
114
153
|
type WiserWidgetType = 'related' | 'recommended' | 'alsobought' | 'recentview' | 'newarrivals' | 'featured' | 'topselling' | 'trending' | 'recent_related';
|
|
115
154
|
type InstantJudgeMeReviewsWidgetType = 'single_product_preview_badge' | 'review_widget' | 'reviews_carousel' | 'floating_reviews_tab' | 'all_reviews_widget' | 'verified_reviews_count_badge' | 'medals' | 'media_grid' | 'all_reviews_text';
|
|
116
155
|
type InstantLooxReviewsWidgetType = 'product_reviews_widget' | 'reviews_widget_all_stores' | 'product_star_ratings_widget' | 'carousel_widget';
|
|
117
156
|
type InstantKlaviyoWidgetType = 'popup_widget' | 'flyout_widget' | 'embed_widget' | 'full_page_widget';
|
|
118
157
|
type StampedWidgetType = 'main-widget' | 'carousel' | 'full-page' | 'visual-gallery' | 'wall-photos' | 'site-badge' | 'instagram-feed' | 'checkout-reviews' | 'single-highlight' | 'top-rated' | 'badge-single' | 'badge-double' | 'badge-ribbon' | 'product-rating';
|
|
158
|
+
type LaiProductReviewsWidgetType = 'reviews_widget' | 'homepage_reviews' | 'happy_customer_reviews' | 'star_ratings' | 'star_ratings_in_list';
|
|
119
159
|
|
|
120
160
|
type ResponsiveConfig<T> = {
|
|
121
161
|
desktop: {
|
|
@@ -136,7 +176,7 @@ type HyperlinkInfo = {
|
|
|
136
176
|
link?: string;
|
|
137
177
|
modal?: CommonModalApp;
|
|
138
178
|
};
|
|
139
|
-
type Mapped$
|
|
179
|
+
type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
140
180
|
id: K;
|
|
141
181
|
label?: string;
|
|
142
182
|
info?: string;
|
|
@@ -168,6 +208,7 @@ type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
168
208
|
};
|
|
169
209
|
devices?: ResponsiveConfig<U>;
|
|
170
210
|
emptyOnClear?: boolean;
|
|
211
|
+
showVideo?: boolean;
|
|
171
212
|
} : {
|
|
172
213
|
id: K;
|
|
173
214
|
label?: string;
|
|
@@ -199,10 +240,11 @@ type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
199
240
|
active?: boolean;
|
|
200
241
|
};
|
|
201
242
|
emptyOnClear?: boolean;
|
|
243
|
+
showVideo?: boolean;
|
|
202
244
|
default?: T;
|
|
203
245
|
};
|
|
204
246
|
type SharedControlType<T> = {
|
|
205
|
-
[K in keyof T]-?: Mapped$
|
|
247
|
+
[K in keyof T]-?: Mapped$5<K, T[K]>;
|
|
206
248
|
}[keyof T];
|
|
207
249
|
|
|
208
250
|
type AngleControlType<T> = SharedControlType<T> & {
|
|
@@ -219,7 +261,7 @@ type Option$3<T> = {
|
|
|
219
261
|
text: string | number;
|
|
220
262
|
desc?: any;
|
|
221
263
|
};
|
|
222
|
-
type Mapped$
|
|
264
|
+
type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
223
265
|
id: K;
|
|
224
266
|
label: string;
|
|
225
267
|
hideOnMode?: {
|
|
@@ -257,7 +299,7 @@ type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
257
299
|
default?: T;
|
|
258
300
|
};
|
|
259
301
|
type CheckboxControlType<T> = {
|
|
260
|
-
[K in keyof T]-?: Mapped$
|
|
302
|
+
[K in keyof T]-?: Mapped$4<K, T[K]>;
|
|
261
303
|
}[keyof T];
|
|
262
304
|
|
|
263
305
|
type ChildrensControlType = {
|
|
@@ -308,6 +350,8 @@ type GroupControlType<T> = {
|
|
|
308
350
|
type IconControlType<T> = SharedControlType<T> & {
|
|
309
351
|
type: 'icon';
|
|
310
352
|
placeholder?: string;
|
|
353
|
+
hideLabel?: boolean;
|
|
354
|
+
hideInput?: boolean;
|
|
311
355
|
};
|
|
312
356
|
|
|
313
357
|
type ImageControlType<T> = SharedControlType<T> & {
|
|
@@ -393,7 +437,7 @@ type Option$2<T> = {
|
|
|
393
437
|
type?: string;
|
|
394
438
|
icon?: string;
|
|
395
439
|
};
|
|
396
|
-
type Mapped$
|
|
440
|
+
type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
397
441
|
id: K;
|
|
398
442
|
label?: string;
|
|
399
443
|
info?: string;
|
|
@@ -410,7 +454,7 @@ type Mapped$2<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
410
454
|
active?: boolean;
|
|
411
455
|
};
|
|
412
456
|
placeholder?: string;
|
|
413
|
-
type: 'segment';
|
|
457
|
+
type: 'segment' | 'accordion:segment';
|
|
414
458
|
options: Option$2<T>[];
|
|
415
459
|
iconCustom?: boolean;
|
|
416
460
|
devices?: ResponsiveConfig<U>;
|
|
@@ -431,13 +475,13 @@ type Mapped$2<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
431
475
|
active?: boolean;
|
|
432
476
|
};
|
|
433
477
|
placeholder?: string;
|
|
434
|
-
type: 'segment';
|
|
478
|
+
type: 'segment' | 'accordion:segment';
|
|
435
479
|
options: Option$2<T>[];
|
|
436
480
|
iconCustom?: boolean;
|
|
437
481
|
default?: T;
|
|
438
482
|
};
|
|
439
483
|
type SegmentControlType<T> = {
|
|
440
|
-
[K in keyof T]-?: Mapped$
|
|
484
|
+
[K in keyof T]-?: Mapped$3<K, T[K]>;
|
|
441
485
|
}[keyof T];
|
|
442
486
|
|
|
443
487
|
type Option$1<T> = {
|
|
@@ -445,7 +489,7 @@ type Option$1<T> = {
|
|
|
445
489
|
label: string | number;
|
|
446
490
|
hideOnPage?: string[];
|
|
447
491
|
};
|
|
448
|
-
type Mapped$
|
|
492
|
+
type Mapped$2<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
449
493
|
id: K;
|
|
450
494
|
label?: string;
|
|
451
495
|
info?: string;
|
|
@@ -487,7 +531,7 @@ type Mapped$1<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
487
531
|
default?: T;
|
|
488
532
|
};
|
|
489
533
|
type SelectControlType<T> = {
|
|
490
|
-
[K in keyof T]-?: Mapped$
|
|
534
|
+
[K in keyof T]-?: Mapped$2<K, T[K]>;
|
|
491
535
|
}[keyof T];
|
|
492
536
|
|
|
493
537
|
type TextareaControlType<T> = SharedControlType<T> & {
|
|
@@ -606,7 +650,7 @@ type BackgroundControlType<T> = SharedControlType<T> & {
|
|
|
606
650
|
value?: Background;
|
|
607
651
|
};
|
|
608
652
|
type Background = {
|
|
609
|
-
type: 'color' | 'image';
|
|
653
|
+
type: 'color' | 'image' | 'video';
|
|
610
654
|
color?: string;
|
|
611
655
|
image?: {
|
|
612
656
|
src?: string;
|
|
@@ -618,6 +662,9 @@ type Background = {
|
|
|
618
662
|
position?: BgPosition;
|
|
619
663
|
repeat?: BgRepeat;
|
|
620
664
|
attachment?: BgAttachment;
|
|
665
|
+
video?: string;
|
|
666
|
+
loop?: boolean;
|
|
667
|
+
lazyLoad?: boolean;
|
|
621
668
|
};
|
|
622
669
|
type BgSize = 'cover' | 'contain';
|
|
623
670
|
type BgRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
@@ -693,8 +740,9 @@ type Option<T> = {
|
|
|
693
740
|
label?: string | number;
|
|
694
741
|
type?: string;
|
|
695
742
|
icon?: string;
|
|
743
|
+
isTextIcon?: boolean;
|
|
696
744
|
};
|
|
697
|
-
type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
745
|
+
type Mapped$1<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
698
746
|
id: K;
|
|
699
747
|
label: string;
|
|
700
748
|
info?: string;
|
|
@@ -716,6 +764,9 @@ type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
716
764
|
devices?: ResponsiveConfig<U>;
|
|
717
765
|
iconViewBox?: string;
|
|
718
766
|
enableItemBackground?: boolean;
|
|
767
|
+
itemPerRow?: number;
|
|
768
|
+
itemSpacing?: 'large' | 'small';
|
|
769
|
+
enableTooltip?: boolean;
|
|
719
770
|
} : {
|
|
720
771
|
id: K;
|
|
721
772
|
label: string;
|
|
@@ -734,13 +785,14 @@ type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
734
785
|
};
|
|
735
786
|
placeholder?: string;
|
|
736
787
|
type: 'layout-segment';
|
|
737
|
-
options
|
|
788
|
+
options?: Option<T>[];
|
|
738
789
|
iconViewBox?: string;
|
|
739
790
|
enableItemBackground?: boolean;
|
|
791
|
+
enableTooltip?: boolean;
|
|
740
792
|
default?: T;
|
|
741
793
|
};
|
|
742
794
|
type LayoutSegmentControlType<T> = {
|
|
743
|
-
[K in keyof T]-?: Mapped<K, T[K]>;
|
|
795
|
+
[K in keyof T]-?: Mapped$1<K, T[K]>;
|
|
744
796
|
}[keyof T];
|
|
745
797
|
|
|
746
798
|
type InputSpacing<T> = SharedControlType<T> & {
|
|
@@ -819,7 +871,108 @@ type TypographyV2ControlType<T> = SharedControlType<T> & {
|
|
|
819
871
|
};
|
|
820
872
|
};
|
|
821
873
|
|
|
822
|
-
type
|
|
874
|
+
type StickyDisplayControlType<T> = SharedControlType<T> & {
|
|
875
|
+
type: 'sticky-display';
|
|
876
|
+
};
|
|
877
|
+
|
|
878
|
+
type SyncProductPropertiesControlType<T> = SharedControlType<T> & {
|
|
879
|
+
type: 'sync-product-properties';
|
|
880
|
+
};
|
|
881
|
+
|
|
882
|
+
type Steps<T> = {
|
|
883
|
+
label?: string | number;
|
|
884
|
+
type?: string;
|
|
885
|
+
icon?: string;
|
|
886
|
+
value: T;
|
|
887
|
+
actions?: Actions[];
|
|
888
|
+
};
|
|
889
|
+
type Actions = {
|
|
890
|
+
label?: string | number;
|
|
891
|
+
type?: 'tertiary' | 'primary';
|
|
892
|
+
size?: 'large' | 'medium' | 'small';
|
|
893
|
+
icon?: string;
|
|
894
|
+
iconPosition?: 'left' | 'right';
|
|
895
|
+
buttonType?: 'link' | 'action';
|
|
896
|
+
actionHandle?: string;
|
|
897
|
+
link?: string;
|
|
898
|
+
};
|
|
899
|
+
type Mapped<K, T> = {
|
|
900
|
+
id: K;
|
|
901
|
+
label: string;
|
|
902
|
+
info?: string;
|
|
903
|
+
type: 'steps-guide';
|
|
904
|
+
steps?: Steps<T>[];
|
|
905
|
+
default?: T;
|
|
906
|
+
};
|
|
907
|
+
type StepsGuide<T> = {
|
|
908
|
+
[K in keyof T]-?: Mapped<K, T[K]>;
|
|
909
|
+
}[keyof T];
|
|
910
|
+
|
|
911
|
+
type ImageShape<T> = SharedControlType<T> & {
|
|
912
|
+
type: 'image-shape';
|
|
913
|
+
placeholder?: string;
|
|
914
|
+
readonly?: boolean;
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
type GridArrange<T> = SharedControlType<T> & {
|
|
918
|
+
type: 'grid-arrange';
|
|
919
|
+
placeholder?: string;
|
|
920
|
+
readonly?: boolean;
|
|
921
|
+
};
|
|
922
|
+
|
|
923
|
+
type SettingID = 'shape' | 'width' | 'height' | 'gap' | 'padding';
|
|
924
|
+
type ShapeOptionKeyword = 'original' | 'square' | 'vertical' | 'horizontal' | 'custom';
|
|
925
|
+
type HeightOptionKeyword = 'fit-content' | 'fit-screen';
|
|
926
|
+
type OptionKeyword = 'default' | 'auto' | 'full' | 'equal' | 'small' | 'medium' | 'large' | HeightOptionKeyword | ShapeOptionKeyword;
|
|
927
|
+
type PaddingOptions = 'small' | 'medium' | 'large' | 'custom';
|
|
928
|
+
type PaddingConfig = Partial<Record<PaddingOptions, {
|
|
929
|
+
vertical: string;
|
|
930
|
+
horizontal: string;
|
|
931
|
+
}>>;
|
|
932
|
+
type SettingConfig = {
|
|
933
|
+
sizeConfig?: Partial<Record<'small' | 'medium' | 'large', string>>;
|
|
934
|
+
displayOptions?: OptionKeyword[];
|
|
935
|
+
paddingConfig?: PaddingConfig;
|
|
936
|
+
name?: string;
|
|
937
|
+
units?: string[];
|
|
938
|
+
};
|
|
939
|
+
type SizeSetting$1<T> = SharedControlType<T> & {
|
|
940
|
+
type: 'size-setting';
|
|
941
|
+
placeholder?: string;
|
|
942
|
+
readonly?: boolean;
|
|
943
|
+
hiddenSettings?: SettingID[];
|
|
944
|
+
settingConfig?: Partial<Record<SettingID, SettingConfig>>;
|
|
945
|
+
hiddenShowMore?: boolean;
|
|
946
|
+
};
|
|
947
|
+
|
|
948
|
+
type ChildIconType<T> = SharedControlType<T> & {
|
|
949
|
+
type: 'child-icon';
|
|
950
|
+
[key: string]: any;
|
|
951
|
+
};
|
|
952
|
+
|
|
953
|
+
type DropdownInput<T> = SharedControlType<T> & {
|
|
954
|
+
type: 'dropdown:input' | 'accordion:dropdown:input';
|
|
955
|
+
hideUnit?: boolean;
|
|
956
|
+
inputType?: 'text' | 'number';
|
|
957
|
+
units?: string[];
|
|
958
|
+
displayOptions?: {
|
|
959
|
+
label: string;
|
|
960
|
+
value?: string;
|
|
961
|
+
reversed?: boolean;
|
|
962
|
+
showValue?: boolean;
|
|
963
|
+
}[];
|
|
964
|
+
};
|
|
965
|
+
|
|
966
|
+
type Dropdown<T> = SharedControlType<T> & {
|
|
967
|
+
type: 'dropdown';
|
|
968
|
+
displayOptions?: {
|
|
969
|
+
label: string;
|
|
970
|
+
value: string;
|
|
971
|
+
icon?: string;
|
|
972
|
+
}[];
|
|
973
|
+
};
|
|
974
|
+
|
|
975
|
+
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> | 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>;
|
|
823
976
|
type Setting<P extends BaseProps> = {
|
|
824
977
|
id: 'setting';
|
|
825
978
|
note?: string;
|
|
@@ -847,6 +1000,8 @@ type ComponentSetting<P extends BaseProps> = {
|
|
|
847
1000
|
noWrap?: boolean;
|
|
848
1001
|
editorConfigs?: {
|
|
849
1002
|
component?: {
|
|
1003
|
+
validate?: boolean;
|
|
1004
|
+
excludeApplyStyle?: boolean;
|
|
850
1005
|
noDelete?: boolean;
|
|
851
1006
|
noDuplicate?: boolean;
|
|
852
1007
|
noDragDrop?: boolean;
|
|
@@ -902,6 +1057,11 @@ type ControlUI = {
|
|
|
902
1057
|
info?: 'near' | 'far';
|
|
903
1058
|
labelSpacing?: 'small' | 'medium' | 'large';
|
|
904
1059
|
removeSpacing?: boolean;
|
|
1060
|
+
noGap?: boolean;
|
|
1061
|
+
tooltip?: {
|
|
1062
|
+
icon?: string;
|
|
1063
|
+
content?: string;
|
|
1064
|
+
};
|
|
905
1065
|
hideOnDevices?: {
|
|
906
1066
|
desktop?: boolean;
|
|
907
1067
|
tablet?: boolean;
|
|
@@ -909,8 +1069,9 @@ type ControlUI = {
|
|
|
909
1069
|
};
|
|
910
1070
|
hideOnPages?: PageType[];
|
|
911
1071
|
};
|
|
1072
|
+
isMoreSetting?: boolean;
|
|
912
1073
|
};
|
|
913
|
-
type PageType = 'ARTICLE' | 'BLOG' | 'COLLECTION' | 'GP_ARTICLE' | 'GP_BLOG' | 'GP_COLLECTION' | 'GP_INDEX' | 'GP_PRODUCT' | 'GP_STATIC' | 'PRODUCT' | 'STATIC';
|
|
1074
|
+
type PageType = 'ARTICLE' | 'BLOG' | 'COLLECTION' | 'GP_ARTICLE' | 'GP_BLOG' | 'GP_COLLECTION' | 'GP_INDEX' | 'GP_PRODUCT' | 'GP_STATIC' | 'PRODUCT' | 'STATIC' | 'THEME_SECTION';
|
|
914
1075
|
type ComponentPreset = {
|
|
915
1076
|
id: string;
|
|
916
1077
|
name: {
|
|
@@ -922,6 +1083,7 @@ type ComponentPreset = {
|
|
|
922
1083
|
mobile?: string;
|
|
923
1084
|
};
|
|
924
1085
|
components: InitComponentType[];
|
|
1086
|
+
hideTextContent?: boolean;
|
|
925
1087
|
};
|
|
926
1088
|
|
|
927
1089
|
type Maybe<T> = T | undefined;
|
|
@@ -7238,6 +7400,7 @@ declare const useBuilderStore: <U>(selector: (state: ExtractState<StoreApi<Build
|
|
|
7238
7400
|
type BuilderPreviewContextProps = {
|
|
7239
7401
|
state: BuilderState;
|
|
7240
7402
|
loaded?: boolean;
|
|
7403
|
+
isThemeSectionEditor?: boolean;
|
|
7241
7404
|
addItem: (args: {
|
|
7242
7405
|
data: BuilderEntityNested | BuilderEntityNested[];
|
|
7243
7406
|
type?: 'component' | 'section';
|
|
@@ -7258,11 +7421,13 @@ type BuilderPreviewContextProps = {
|
|
|
7258
7421
|
removeItem: (id: string) => void;
|
|
7259
7422
|
forceChangeState: (data: BuilderState) => void;
|
|
7260
7423
|
initState: (data: BuilderEntityNested | BuilderEntityNested[]) => void;
|
|
7424
|
+
getParents: (id: string, limit?: number) => BuilderEntity[];
|
|
7261
7425
|
};
|
|
7262
7426
|
type BuilderPreviewProviderProps = Pick<BuilderPreviewContextProps, 'state'> & {
|
|
7263
7427
|
children: React.ReactNode;
|
|
7264
7428
|
lazy?: boolean;
|
|
7265
7429
|
priority?: boolean;
|
|
7430
|
+
isThemeSectionEditor?: boolean;
|
|
7266
7431
|
};
|
|
7267
7432
|
declare const BuilderPreviewProvider: React.FC<BuilderPreviewProviderProps>;
|
|
7268
7433
|
declare const useBuilderPreviewStore: <U>(selector: (state: ExtractState<StoreApi<BuilderPreviewContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
|
|
@@ -7398,8 +7563,9 @@ type ProductContextProps = {
|
|
|
7398
7563
|
forceSelectedOption: (value?: Record<string, any>) => void;
|
|
7399
7564
|
isSubmit?: boolean;
|
|
7400
7565
|
updateIsSubmit: (value: boolean) => void;
|
|
7566
|
+
isSyncProduct?: boolean;
|
|
7401
7567
|
};
|
|
7402
|
-
type ProductProviderProps = Pick<ProductContextProps, 'product' | 'quantity' | 'selectedOptions'> & {
|
|
7568
|
+
type ProductProviderProps = Pick<ProductContextProps, 'product' | 'quantity' | 'selectedOptions' | 'isSyncProduct'> & {
|
|
7403
7569
|
initialVariantId?: string;
|
|
7404
7570
|
readOnly?: boolean;
|
|
7405
7571
|
children: React.ReactNode;
|
|
@@ -7441,6 +7607,8 @@ type ShopContextProps = {
|
|
|
7441
7607
|
mobileOnly?: boolean;
|
|
7442
7608
|
swatches?: GlobalSwatchesData[];
|
|
7443
7609
|
isStorefront?: boolean;
|
|
7610
|
+
createThemeSectionCount?: number;
|
|
7611
|
+
plan?: string;
|
|
7444
7612
|
changeLocale: (locale: string) => void;
|
|
7445
7613
|
changeStorefrontInfo: (args: {
|
|
7446
7614
|
url?: string;
|
|
@@ -7449,17 +7617,32 @@ type ShopContextProps = {
|
|
|
7449
7617
|
changeCurrency: (currency: string) => void;
|
|
7450
7618
|
changeSwatches: (swatches: GlobalSwatchesData[]) => void;
|
|
7451
7619
|
changeLayoutSettings: (layoutSettings: LayoutSettings) => void;
|
|
7620
|
+
changeCreateThemeSectionCount: (count: number) => void;
|
|
7621
|
+
changeShopPlan: (plan: string) => void;
|
|
7452
7622
|
};
|
|
7453
7623
|
type ShopProviderProps = {
|
|
7454
7624
|
children: React.ReactNode;
|
|
7455
7625
|
key?: React.Key;
|
|
7456
7626
|
addons: AddonContextProps['components'];
|
|
7457
|
-
storeOption: Omit<ShopContextProps, 'changeLocale' | 'changeCurrency' | 'changeSwatches' | 'changeLayoutSettings' | '
|
|
7627
|
+
storeOption: Omit<ShopContextProps, 'changeLocale' | 'changeStorefrontInfo' | 'changeCurrency' | 'changeSwatches' | 'changeLayoutSettings' | 'changeCreateThemeSectionCount' | 'changeShopPlan'>;
|
|
7458
7628
|
queryOption?: React.ComponentProps<typeof SWRConfig>['value'];
|
|
7459
7629
|
};
|
|
7460
7630
|
declare const ShopProvider: React.FC<ShopProviderProps>;
|
|
7461
7631
|
declare const useShopStore: <U>(selector: (state: ExtractState<StoreApi<ShopContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
|
|
7462
7632
|
|
|
7633
|
+
type PageContextProps = {
|
|
7634
|
+
dynamicProduct?: DynamicProduct;
|
|
7635
|
+
dynamicCollection?: DynamicCollection;
|
|
7636
|
+
setDynamicProduct: (data: DynamicProduct) => void;
|
|
7637
|
+
setDynamicCollection: (data: DynamicCollection) => void;
|
|
7638
|
+
};
|
|
7639
|
+
type PageProviderProps = Pick<PageContextProps, 'dynamicProduct' | 'dynamicCollection'> & {
|
|
7640
|
+
children: React.ReactNode;
|
|
7641
|
+
key?: React.Key;
|
|
7642
|
+
};
|
|
7643
|
+
declare const PageProvider: React.FC<PageProviderProps>;
|
|
7644
|
+
declare const usePageStore: <U>(selector: (state: ExtractState<StoreApi<PageContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
|
|
7645
|
+
|
|
7463
7646
|
type CollectionSelectFragment = Pick<Collection, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'title' | 'handle' | 'description' | 'descriptionHtml' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'tags' | 'isStorefront' | 'isSample'> & {
|
|
7464
7647
|
products?: Maybe<Pick<ProductConnection, 'totalCount'> & {
|
|
7465
7648
|
edges: Array<{
|
|
@@ -7727,9 +7910,9 @@ declare function cls(...classes: ClassValue[]): string;
|
|
|
7727
7910
|
*/
|
|
7728
7911
|
declare const flattenConnection: <T>(connection?: Maybe<GraphQLConnection<T>>) => Maybe<T>[];
|
|
7729
7912
|
|
|
7730
|
-
declare const getResponsiveValue: <I, K extends keyof I>(input?: Partial<Record<NameDevices, I>> | undefined, k?: K | undefined) => Partial<Record<NameDevices, I[K]>>;
|
|
7731
|
-
declare const getResponsiveStateValue: <I>(k: StateType, input?: Partial<Record<NameDevices, Partial<Record<StateType, I>>>> | undefined) => Partial<Record<NameDevices, I>>;
|
|
7732
|
-
declare const getResponsiveValueByScreen: <T>(value?: Partial<Record<NameDevices, T>> | undefined, breakpoint?: NameDevices | undefined, defaultValue?: T | undefined) => T | undefined;
|
|
7913
|
+
declare const getResponsiveValue: <I, K extends keyof I>(input?: Partial<Record<NameDevices$1, I>> | undefined, k?: K | undefined) => Partial<Record<NameDevices$1, I[K]>>;
|
|
7914
|
+
declare const getResponsiveStateValue: <I>(k: StateType, input?: Partial<Record<NameDevices$1, Partial<Record<StateType, I>>>> | undefined) => Partial<Record<NameDevices$1, I>>;
|
|
7915
|
+
declare const getResponsiveValueByScreen: <T>(value?: Partial<Record<NameDevices$1, T>> | undefined, breakpoint?: NameDevices$1 | undefined, defaultValue?: T | undefined) => T | undefined;
|
|
7733
7916
|
declare const isColumnDirectionExist: (layout: ObjectDevices<ObjectLayoutValue>, breakpoint: keyof ObjectDevices<ObjectLayoutValue>) => boolean;
|
|
7734
7917
|
|
|
7735
7918
|
declare function getShortName(name: string): string;
|
|
@@ -7746,15 +7929,22 @@ declare function isSafari(): boolean;
|
|
|
7746
7929
|
|
|
7747
7930
|
declare const isEmptyChildren: (children: React.ReactNode) => boolean;
|
|
7748
7931
|
|
|
7932
|
+
declare const filterToolbarPreview: (children: React.ReactNode, keep?: boolean) => React.ReactNode;
|
|
7933
|
+
|
|
7749
7934
|
type ResponsiveKey<T extends ShortHandProperty> = `--${T}` | `--${T}-tablet` | `--${T}-mobile`;
|
|
7750
7935
|
declare const removeNullUndefined: <T extends Record<string, any>>(obj: T) => T;
|
|
7751
7936
|
declare const makeStyle: <T extends ShortHandProperty, K>(style: Record<T, K>) => {
|
|
7752
7937
|
[k: string]: Record<`--${T}`, K>;
|
|
7753
7938
|
};
|
|
7754
7939
|
declare const makeStyleState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<StateType, K>> | undefined) => {};
|
|
7755
|
-
declare const makeStyleResponsiveState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices, Partial<Record<StateType, K>>>> | undefined) => {};
|
|
7756
|
-
declare const makeStyleResponsive: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices, K>> | undefined) => Record<ResponsiveKey<T>, K>;
|
|
7940
|
+
declare const makeStyleResponsiveState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, Partial<Record<StateType, K>>>> | undefined) => {};
|
|
7941
|
+
declare const makeStyleResponsive: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined) => Record<ResponsiveKey<T>, K>;
|
|
7757
7942
|
declare const makeWidth: (widthValue?: ObjectDevices<string | number>, fullWidthValue?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
7943
|
+
declare const makeGlobalSizeWidthResponsive: (globalSize?: ObjectDevices<SizeSettingGlobal>) => {
|
|
7944
|
+
'--w': string | undefined;
|
|
7945
|
+
'--w-tablet': string | undefined;
|
|
7946
|
+
'--w-mobile': string | undefined;
|
|
7947
|
+
};
|
|
7758
7948
|
declare const makeHeight: (heighValue?: ObjectDevices<string | number>, autoHeight?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
7759
7949
|
declare const makeAspectRatio: (aspectRatio?: ObjectDevices<string>, aspectWidth?: ObjectDevices<string | number>, aspectHeight?: ObjectDevices<string | number>) => ObjectDevices<string>;
|
|
7760
7950
|
declare const makeLineClamp: (lineClampValue?: ObjectDevices<number>, hasLineClampValue?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
@@ -7813,7 +8003,7 @@ declare const composeTextColorCss: (color?: ColorValueType) => string;
|
|
|
7813
8003
|
type TypographyClass = `g-${TypographyType}`;
|
|
7814
8004
|
declare const genTypoClass: (name: TypographyType) => TypographyClass;
|
|
7815
8005
|
declare const composeTypographyCss: (typography: TypographySetting | undefined) => string;
|
|
7816
|
-
declare const composeTypographyV2Css: (typography: TypographySettingV2 | undefined) => string;
|
|
8006
|
+
declare const composeTypographyV2Css: (typography: TypographySettingV2 | undefined, isImportant?: boolean) => string;
|
|
7817
8007
|
declare const composeTypography: (typography?: ObjectDevices<TypographyProps>) => React.CSSProperties;
|
|
7818
8008
|
declare const composeTypographyV2: (value?: TypographyV2Props, attrs?: TypographyV2Attrs) => React.CSSProperties;
|
|
7819
8009
|
declare const composeTypographyAttr: (attrs?: TypographyV2Attrs) => React.CSSProperties;
|
|
@@ -8387,6 +8577,15 @@ declare const composeTypographyStyle: (typo?: TypographySettingV2, typography?:
|
|
|
8387
8577
|
'--pt-mobile'?: csstype.Property.PaddingTop<string | number> | undefined;
|
|
8388
8578
|
'--hvr-pt-mobile'?: csstype.Property.PaddingTop<string | number> | undefined;
|
|
8389
8579
|
'--focus-pt-mobile'?: csstype.Property.PaddingTop<string | number> | undefined;
|
|
8580
|
+
'--pe'?: csstype.Property.PointerEvents | undefined;
|
|
8581
|
+
'--hvr-pe'?: csstype.Property.PointerEvents | undefined;
|
|
8582
|
+
'--focus-pe'?: csstype.Property.PointerEvents | undefined;
|
|
8583
|
+
'--pe-tablet'?: csstype.Property.PointerEvents | undefined;
|
|
8584
|
+
'--hvr-pe-tablet'?: csstype.Property.PointerEvents | undefined;
|
|
8585
|
+
'--focus-pe-tablet'?: csstype.Property.PointerEvents | undefined;
|
|
8586
|
+
'--pe-mobile'?: csstype.Property.PointerEvents | undefined;
|
|
8587
|
+
'--hvr-pe-mobile'?: csstype.Property.PointerEvents | undefined;
|
|
8588
|
+
'--focus-pe-mobile'?: csstype.Property.PointerEvents | undefined;
|
|
8390
8589
|
'--pos'?: csstype.Property.Position | undefined;
|
|
8391
8590
|
'--hvr-pos'?: csstype.Property.Position | undefined;
|
|
8392
8591
|
'--focus-pos'?: csstype.Property.Position | undefined;
|
|
@@ -9297,9 +9496,10 @@ declare const composeTypographyStyle: (typo?: TypographySettingV2, typography?:
|
|
|
9297
9496
|
};
|
|
9298
9497
|
|
|
9299
9498
|
declare const getCornerCSSFromGlobal: (corner?: CornerRadius) => React.CSSProperties;
|
|
9300
|
-
declare const getRadiusCSSFromGlobal: (state: StateType, key?: RoundedSize, device?: NameDevices) => React.CSSProperties;
|
|
9301
|
-
declare const getCustomRadius: (state: StateType, radius?: CornerRadius, device?: NameDevices) => React.CSSProperties;
|
|
9499
|
+
declare const getRadiusCSSFromGlobal: (state: StateType, key?: RoundedSize, device?: NameDevices$1) => React.CSSProperties;
|
|
9500
|
+
declare const getCustomRadius: (state: StateType, radius?: CornerRadius, device?: NameDevices$1) => React.CSSProperties;
|
|
9302
9501
|
declare const composeRadius: (value?: StateProp<CornerRadius> | ResponsiveStateProp<CornerRadius>) => React.CSSProperties;
|
|
9502
|
+
declare const composeRadiusResponsive: (radiusValue?: ObjectDevices<CornerRadius>) => React.CSSProperties;
|
|
9303
9503
|
declare const getRadiusStyleActiveState: (radiusValue?: StateProp<CornerRadius>) => React.CSSProperties;
|
|
9304
9504
|
declare const composeCornerCss: (value?: CornerRadius | undefined, important?: boolean) => string | undefined;
|
|
9305
9505
|
|
|
@@ -9375,6 +9575,27 @@ declare const baseAssetURL: string;
|
|
|
9375
9575
|
declare const composeSize: (size?: ObjectDevices<SizeProps>) => React.CSSProperties;
|
|
9376
9576
|
declare function genSizeClass(name: string): string;
|
|
9377
9577
|
declare const composeSizeCss: (spacing?: SizeSetting) => string | undefined;
|
|
9578
|
+
declare const makeGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) => {
|
|
9579
|
+
width: Record<ResponsiveKey<"w">, string | number>;
|
|
9580
|
+
height: Record<ResponsiveKey<"h">, string | number>;
|
|
9581
|
+
padding: React.CSSProperties;
|
|
9582
|
+
gap: {
|
|
9583
|
+
'--gg': string | undefined;
|
|
9584
|
+
'--gg-tablet': string | undefined;
|
|
9585
|
+
'--gg-mobile': string | undefined;
|
|
9586
|
+
};
|
|
9587
|
+
};
|
|
9588
|
+
declare const getGlobalSizeGap: (globalSize?: ObjectDevices<SizeSettingGlobal>) => {
|
|
9589
|
+
'--gg': string | undefined;
|
|
9590
|
+
'--gg-tablet': string | undefined;
|
|
9591
|
+
'--gg-mobile': string | undefined;
|
|
9592
|
+
};
|
|
9593
|
+
declare const makeStyleWithDefault: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined, defaultVal?: Partial<Record<NameDevices$1, K>> | undefined) => Record<ResponsiveKey<T>, K>;
|
|
9594
|
+
declare const getWidthHeightGlobalSize: (type: 'width' | 'height', globalSize?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices$1, string | number>>;
|
|
9595
|
+
declare const getHeightByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices$1, string>>;
|
|
9596
|
+
declare const getWidthByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>, defaultAuto?: boolean) => Partial<Record<NameDevices$1, string>>;
|
|
9597
|
+
declare const getAspectRatioGlobalSize: (shape?: ObjectDevices<SizeSettingGlobal>) => ObjectDevices<string>;
|
|
9598
|
+
declare const getPaddingGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) => React.CSSProperties;
|
|
9378
9599
|
|
|
9379
9600
|
declare const parseValueWithUnit: (valueWithUnit: string) => any;
|
|
9380
9601
|
declare const getStyleShadow: (shadowStyle: ShadowStyle, isActiveState?: boolean) => {
|
|
@@ -9387,11 +9608,22 @@ declare const composeShadowCss: ({ hasBoxShadow, boxShadowValue, important, }: {
|
|
|
9387
9608
|
important?: boolean | undefined;
|
|
9388
9609
|
}) => string | undefined;
|
|
9389
9610
|
|
|
9611
|
+
type Devices = 'desktop' | 'tablet' | 'mobile';
|
|
9390
9612
|
type Options = {
|
|
9391
9613
|
liquid?: boolean;
|
|
9614
|
+
ignoreBgAttachment?: boolean;
|
|
9392
9615
|
};
|
|
9393
9616
|
declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options) => {};
|
|
9617
|
+
declare const getBgImageByDevice: (background: ObjectDevices<Background>, device: Devices, options?: Options) => string | undefined;
|
|
9394
9618
|
declare const composeBackgroundCss: (backgroundColor?: ColorValueType) => string;
|
|
9619
|
+
declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) => {
|
|
9620
|
+
wrapper: {
|
|
9621
|
+
[x: string]: string;
|
|
9622
|
+
};
|
|
9623
|
+
content: {
|
|
9624
|
+
[x: string]: string | undefined;
|
|
9625
|
+
};
|
|
9626
|
+
} | undefined;
|
|
9395
9627
|
|
|
9396
9628
|
type OrderByType = 'TITLE_ASC' | 'TITLE_DESC' | 'CREATED_AT_ASC' | 'none' | 'CREATED_AT_DESC';
|
|
9397
9629
|
type FetchCollectionArgs = {
|
|
@@ -9434,6 +9666,21 @@ type AdvanceValue = Primitive | ObjectDevices<Primitive>;
|
|
|
9434
9666
|
declare function composeAdvanceStyle(data?: Record<string, AdvanceValue>, tag?: string): React.CSSProperties;
|
|
9435
9667
|
declare const splitStyle: (keys: ShortHandProperty[], style?: React.CSSProperties) => React.CSSProperties[];
|
|
9436
9668
|
|
|
9669
|
+
type NameDevices = 'desktop' | 'tablet' | 'mobile';
|
|
9670
|
+
|
|
9671
|
+
type PostionType = {
|
|
9672
|
+
wrapper?: Record<string, string | number>;
|
|
9673
|
+
content?: Record<string, string | number>;
|
|
9674
|
+
};
|
|
9675
|
+
declare const composePostionIconList: (lineHeight: string, position?: ObjectDevices<'center' | 'baseline'>, iconWidth?: ObjectDevices<number>) => PostionType;
|
|
9676
|
+
declare const composePositionLineHeight: ({ compose, lineHeight, device, position, iconWidth, }: {
|
|
9677
|
+
compose: PostionType;
|
|
9678
|
+
lineHeight: string;
|
|
9679
|
+
device: NameDevices;
|
|
9680
|
+
position?: Partial<Record<NameDevices$1, "center" | "baseline">> | undefined;
|
|
9681
|
+
iconWidth?: Partial<Record<NameDevices$1, number>> | undefined;
|
|
9682
|
+
}) => void;
|
|
9683
|
+
|
|
9437
9684
|
type Func$6 = ReturnType<typeof addToCartOperation>;
|
|
9438
9685
|
type Response$6 = Awaited<ReturnType<Func$6>>;
|
|
9439
9686
|
type Args$5 = Parameters<Func$6>[0];
|
|
@@ -9514,7 +9761,7 @@ declare const useProductQuery: (productId?: string, options?: SWRConfiguration<P
|
|
|
9514
9761
|
|
|
9515
9762
|
declare const useProductsQuery: (ids?: string[], options?: SWRConfiguration<ProductsQueryResponse>, defaultSelectedProductCount?: number) => swr__internal.SWRResponse<ProductsQueryResponse, any, Partial<swr__internal.PublicConfiguration<ProductsQueryResponse, any, (arg: ["query/products", FetchProductsParams]) => swr__internal.FetcherResponse<ProductsQueryResponse>>> | undefined>;
|
|
9516
9763
|
|
|
9517
|
-
declare const useCurrentDevice: () => NameDevices;
|
|
9764
|
+
declare const useCurrentDevice: () => NameDevices$1;
|
|
9518
9765
|
|
|
9519
9766
|
declare const useFormatMoney: (amount: number, withCurrency: boolean) => string;
|
|
9520
9767
|
|
|
@@ -9600,6 +9847,7 @@ declare const useProductProperties: () => {
|
|
|
9600
9847
|
value?: string | undefined;
|
|
9601
9848
|
required?: boolean | undefined;
|
|
9602
9849
|
}[] | undefined;
|
|
9850
|
+
declare const useIsSyncProduct: () => boolean | undefined;
|
|
9603
9851
|
declare const useQuantity: () => {
|
|
9604
9852
|
quantity: number | undefined;
|
|
9605
9853
|
increment: () => void;
|
|
@@ -9609,42 +9857,45 @@ declare const useQuantity: () => {
|
|
|
9609
9857
|
};
|
|
9610
9858
|
declare const useSelectedOption: () => {
|
|
9611
9859
|
selectedOptions: Record<string, string> | undefined;
|
|
9612
|
-
setSelectedOption: (optionId?: Maybe<string>, optionValue?: Maybe<string
|
|
9613
|
-
forceSelectedOption: (
|
|
9860
|
+
setSelectedOption: (optionId?: Maybe<string>, optionValue?: Maybe<string>, productId?: Maybe<string>, noEmit?: boolean) => void;
|
|
9861
|
+
forceSelectedOption: (selectedOption?: Record<string, string>, productId?: Maybe<string>, noEmit?: boolean) => void;
|
|
9614
9862
|
};
|
|
9615
|
-
declare const useVariants: () => Maybe<Pick<ProductVariant, "
|
|
9616
|
-
selectedOptions: Pick<SelectedOption, "
|
|
9863
|
+
declare const useVariants: () => Maybe<Pick<ProductVariant, "width" | "height" | "title" | "length" | "weight" | "id" | "baseID" | "platform" | "sku" | "barcode" | "costPrice" | "inventoryPolicy" | "inventoryQuantity" | "inventoryStatus" | "isDigital" | "lowInventoryAmount" | "manageInventory" | "mediaId" | "price" | "salePrice" | "soldIndividually"> & {
|
|
9864
|
+
selectedOptions: Pick<SelectedOption, "name" | "value" | "optionType">[];
|
|
9617
9865
|
media?: Maybe<Pick<Media, "width" | "height" | "id" | "src" | "alt" | "contentType" | "previewImage">>;
|
|
9618
9866
|
}>[];
|
|
9619
|
-
declare const useVariant: (id: string) => Maybe<Pick<ProductVariant, "
|
|
9620
|
-
selectedOptions: Pick<SelectedOption, "
|
|
9867
|
+
declare const useVariant: (id: string) => Maybe<Pick<ProductVariant, "width" | "height" | "title" | "length" | "weight" | "id" | "baseID" | "platform" | "sku" | "barcode" | "costPrice" | "inventoryPolicy" | "inventoryQuantity" | "inventoryStatus" | "isDigital" | "lowInventoryAmount" | "manageInventory" | "mediaId" | "price" | "salePrice" | "soldIndividually"> & {
|
|
9868
|
+
selectedOptions: Pick<SelectedOption, "name" | "value" | "optionType">[];
|
|
9621
9869
|
media?: Maybe<Pick<Media, "width" | "height" | "id" | "src" | "alt" | "contentType" | "previewImage">>;
|
|
9622
9870
|
}>;
|
|
9623
9871
|
declare const useCurrentVariant: () => Maybe<VariantSelectFragment>;
|
|
9624
9872
|
declare const useCurrentVariantInStock: () => boolean;
|
|
9625
|
-
declare const useVariantOutStock: (optionId: string, optionValue: string
|
|
9873
|
+
declare const useVariantOutStock: (optionId: string, optionValue: string, options: {
|
|
9874
|
+
position: number;
|
|
9875
|
+
optionNumber: number;
|
|
9876
|
+
}) => boolean;
|
|
9626
9877
|
declare const useCheckAvailableVariantInStock: (optionId: string, optionValue: string) => boolean;
|
|
9627
9878
|
|
|
9628
9879
|
declare const useProductList: () => CollectionProductSelectFragment | undefined;
|
|
9629
9880
|
declare const useProductListProducts: () => (ProductQuickSelectFragment | undefined)[] | undefined;
|
|
9630
9881
|
declare const useProductListSettings: () => {
|
|
9631
|
-
loop?: Partial<Record<NameDevices, boolean>> | undefined;
|
|
9632
|
-
scrollMode?: Partial<Record<NameDevices, "snap" | "free" | "free-snap">> | undefined;
|
|
9633
|
-
slidesToShow?: Partial<Record<NameDevices, number | "auto">> | undefined;
|
|
9634
|
-
spacing?: Partial<Record<NameDevices, number>> | undefined;
|
|
9882
|
+
loop?: Partial<Record<NameDevices$1, boolean>> | undefined;
|
|
9883
|
+
scrollMode?: Partial<Record<NameDevices$1, "snap" | "free" | "free-snap">> | undefined;
|
|
9884
|
+
slidesToShow?: Partial<Record<NameDevices$1, number | "auto">> | undefined;
|
|
9885
|
+
spacing?: Partial<Record<NameDevices$1, number>> | undefined;
|
|
9635
9886
|
layout?: "grid" | "slider" | undefined;
|
|
9636
|
-
dot?: Partial<Record<NameDevices, boolean>> | undefined;
|
|
9637
|
-
arrow?: Partial<Record<NameDevices, boolean>> | undefined;
|
|
9638
|
-
controlOverContent?: Partial<Record<NameDevices, boolean>> | undefined;
|
|
9887
|
+
dot?: Partial<Record<NameDevices$1, boolean>> | undefined;
|
|
9888
|
+
arrow?: Partial<Record<NameDevices$1, boolean>> | undefined;
|
|
9889
|
+
controlOverContent?: Partial<Record<NameDevices$1, boolean>> | undefined;
|
|
9639
9890
|
speed?: number | undefined;
|
|
9640
9891
|
} | undefined;
|
|
9641
9892
|
declare const useProductListStyles: () => {
|
|
9642
|
-
horizontalGutter?: Partial<Record<NameDevices, string>> | undefined;
|
|
9643
|
-
verticalGutter?: Partial<Record<NameDevices, string>> | undefined;
|
|
9644
|
-
fullWidth?: Partial<Record<NameDevices, boolean>> | undefined;
|
|
9645
|
-
spacing?: Partial<Record<NameDevices, number>> | undefined;
|
|
9646
|
-
width?: Partial<Record<NameDevices, string>> | undefined;
|
|
9647
|
-
height?: Partial<Record<NameDevices, string>> | undefined;
|
|
9893
|
+
horizontalGutter?: Partial<Record<NameDevices$1, string>> | undefined;
|
|
9894
|
+
verticalGutter?: Partial<Record<NameDevices$1, string>> | undefined;
|
|
9895
|
+
fullWidth?: Partial<Record<NameDevices$1, boolean>> | undefined;
|
|
9896
|
+
spacing?: Partial<Record<NameDevices$1, number>> | undefined;
|
|
9897
|
+
width?: Partial<Record<NameDevices$1, string>> | undefined;
|
|
9898
|
+
height?: Partial<Record<NameDevices$1, string>> | undefined;
|
|
9648
9899
|
} | undefined;
|
|
9649
9900
|
|
|
9650
9901
|
declare const useSuspenseFetch: <T>(key: string | any[], promise: () => Promise<T>) => {
|
|
@@ -9653,6 +9904,8 @@ declare const useSuspenseFetch: <T>(key: string | any[], promise: () => Promise<
|
|
|
9653
9904
|
|
|
9654
9905
|
declare const useSwatchesOptions: (options?: ProductOption[]) => ProductOption[];
|
|
9655
9906
|
|
|
9907
|
+
declare const useInitialSwatchesOptions: (options?: ProductOption[]) => never[] | undefined;
|
|
9908
|
+
|
|
9656
9909
|
type PublishedThemePageSelectFragment = Pick<PublishedThemePage, 'id' | 'name' | 'handle' | 'isMobile' | 'sectionPosition'> & {
|
|
9657
9910
|
pageSections?: Maybe<Array<Maybe<Pick<PublishedPageSection, 'cid' | 'component' | 'id'>>>>;
|
|
9658
9911
|
themePageCustomSections?: Maybe<Array<Maybe<Pick<PublishedCustomSection, 'cid' | 'component' | 'id' | 'type'>>>>;
|
|
@@ -9664,4 +9917,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage, 'id' | 'name' |
|
|
|
9664
9917
|
|
|
9665
9918
|
declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
|
|
9666
9919
|
|
|
9667
|
-
export { AddOn, AddonProvider, AddonProviderProps, AlignItemProp, AlignProp, 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, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, ExtractState, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, HSLAColorType, HSLColorType, HexColorType, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OptionNormalStyle, OptionSpecialStyle, PageContext, 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, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SectionData, SectionEntity, SectionProvider, SectionProviderProps, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TransformProp, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, VariantSelectFragment, WiserWidgetType, WrapRenderChildren, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeBackgroundCss, composeBorderCss, composeCornerCss, composeGridLayout, composeMemo, composeRadius, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertOldLayout, dataStringify, fetchMedias, fetchVariants, flattenConnection, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getBorderStyle, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleShadow, getStyleShadowState, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeHeight, makeLineClamp, makeStyle, makeStyleResponsive, makeStyleResponsiveState, makeStyleState, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeNullUndefined, 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, useIsSampleProduct, useIsStorefrontProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, 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 };
|
|
9920
|
+
export { AddOn, AddonProvider, AddonProviderProps, AlignItemProp, AlignProp, 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, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DynamicCollection, DynamicProduct, ExtractState, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsWidgetType, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, 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, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SectionData, SectionEntity, SectionProvider, SectionProviderProps, 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, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, VariantSelectFragment, VitalsWidgetType, WiserWidgetType, WrapRenderChildren, 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, convertOldLayout, dataStringify, fetchMedias, fetchVariants, 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, 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, makeStyleResponsive, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeNullUndefined, 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 };
|