@gem-sdk/core 1.42.0 → 1.42.3-dev.63
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 +54 -6
- package/dist/cjs/components/ComponentWrapperPreview.js +44 -1
- package/dist/cjs/components/Render.liquid.js +2 -0
- package/dist/cjs/components/RenderCustomCode.js +2 -0
- package/dist/cjs/components/ai-generator/AIContentGenerator.js +205 -0
- package/dist/cjs/components/ai-generator/AIGenContentLoading.js +85 -0
- package/dist/cjs/components/ai-generator/components/PickProduct.js +218 -0
- package/dist/cjs/components/ai-generator/components/ToneAndVoice.js +77 -0
- package/dist/cjs/components/ai-generator/hooks/useCheckingProductInside.js +47 -0
- package/dist/cjs/components/ai-generator/hooks/useFlipPopup.js +110 -0
- package/dist/cjs/components/ai-generator/hooks/useGettingGenerateRequest.js +37 -0
- package/dist/cjs/components/ai-generator/hooks/useListenEventGenerate.js +63 -0
- package/dist/cjs/components/ai-generator/icons/AIIcon.js +67 -0
- package/dist/cjs/components/ai-generator/icons/CloseIcon.js +19 -0
- package/dist/cjs/components/ai-generator/icons/DropdownIcon.js +37 -0
- package/dist/cjs/components/ai-generator/icons/SearchIcon.js +21 -0
- package/dist/cjs/components/ai-generator/icons/ShowMoreIcon.js +21 -0
- package/dist/cjs/components/constant.js +19 -2
- package/dist/cjs/components/resize/Spacing.js +2 -0
- package/dist/cjs/components/theme-section/CreateThemeSection.js +2 -0
- package/dist/cjs/contexts/ArticleContext.js +39 -0
- package/dist/cjs/contexts/ArticleListContext.js +32 -0
- package/dist/cjs/contexts/BuilderPreviewContext.js +11 -6
- package/dist/cjs/contexts/SectionContext.js +1 -0
- package/dist/cjs/helpers/align.js +19 -0
- package/dist/cjs/helpers/carousel.js +7 -10
- package/dist/cjs/helpers/colors.js +1 -1
- package/dist/cjs/helpers/queries/get-products.js +23 -0
- package/dist/cjs/helpers/typography.js +4 -4
- package/dist/cjs/hooks/articles/useArticlesQuery.js +152 -0
- package/dist/cjs/hooks/shop/use-products-query.js +29 -0
- package/dist/cjs/hooks/useAnimations.js +2 -0
- package/dist/cjs/hooks/useInitialSwatchesOptions.js +2 -0
- package/dist/cjs/hooks/useProduct.js +2 -0
- package/dist/cjs/index.js +11 -0
- package/dist/esm/components/ComponentToolbarPreview.js +54 -6
- package/dist/esm/components/ComponentWrapperPreview.js +44 -1
- package/dist/esm/components/Render.liquid.js +2 -0
- package/dist/esm/components/RenderCustomCode.js +2 -0
- package/dist/esm/components/ai-generator/AIContentGenerator.js +203 -0
- package/dist/esm/components/ai-generator/AIGenContentLoading.js +83 -0
- package/dist/esm/components/ai-generator/components/PickProduct.js +216 -0
- package/dist/esm/components/ai-generator/components/ToneAndVoice.js +75 -0
- package/dist/esm/components/ai-generator/hooks/useCheckingProductInside.js +45 -0
- package/dist/esm/components/ai-generator/hooks/useFlipPopup.js +108 -0
- package/dist/esm/components/ai-generator/hooks/useGettingGenerateRequest.js +35 -0
- package/dist/esm/components/ai-generator/hooks/useListenEventGenerate.js +61 -0
- package/dist/esm/components/ai-generator/icons/AIIcon.js +65 -0
- package/dist/esm/components/ai-generator/icons/CloseIcon.js +17 -0
- package/dist/esm/components/ai-generator/icons/DropdownIcon.js +34 -0
- package/dist/esm/components/ai-generator/icons/SearchIcon.js +19 -0
- package/dist/esm/components/ai-generator/icons/ShowMoreIcon.js +19 -0
- package/dist/esm/components/constant.js +19 -3
- package/dist/esm/components/resize/Spacing.js +2 -0
- package/dist/esm/components/theme-section/CreateThemeSection.js +2 -0
- package/dist/esm/contexts/ArticleContext.js +36 -0
- package/dist/esm/contexts/ArticleListContext.js +28 -0
- package/dist/esm/contexts/BuilderPreviewContext.js +11 -6
- package/dist/esm/contexts/SectionContext.js +1 -0
- package/dist/esm/helpers/align.js +17 -0
- package/dist/esm/helpers/carousel.js +7 -10
- package/dist/esm/helpers/colors.js +1 -1
- package/dist/esm/helpers/queries/get-products.js +23 -1
- package/dist/esm/helpers/typography.js +4 -4
- package/dist/esm/hooks/articles/useArticlesQuery.js +149 -0
- package/dist/esm/hooks/shop/use-products-query.js +30 -2
- package/dist/esm/hooks/useAnimations.js +2 -0
- package/dist/esm/hooks/useInitialSwatchesOptions.js +2 -0
- package/dist/esm/hooks/useProduct.js +2 -0
- package/dist/esm/index.js +4 -0
- package/dist/types/index.d.ts +161 -20
- package/package.json +5 -3
package/dist/types/index.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ type Analytic$1 = {
|
|
|
60
60
|
gaTrackingID?: Maybe$1<Scalars$2['String']>;
|
|
61
61
|
tiktokPixelID?: Maybe$1<Scalars$2['String']>;
|
|
62
62
|
};
|
|
63
|
-
type Article$
|
|
63
|
+
type Article$2 = {
|
|
64
64
|
baseID?: Maybe$1<Scalars$2['String']>;
|
|
65
65
|
blogs?: Maybe$1<BlogConnection$1>;
|
|
66
66
|
description?: Maybe$1<Scalars$2['String']>;
|
|
@@ -133,7 +133,7 @@ type ArticleConnection$1 = {
|
|
|
133
133
|
};
|
|
134
134
|
type ArticleEdge$1 = {
|
|
135
135
|
cursor?: Maybe$1<Scalars$2['Cursor']>;
|
|
136
|
-
node?: Maybe$1<Article$
|
|
136
|
+
node?: Maybe$1<Article$2>;
|
|
137
137
|
};
|
|
138
138
|
type ArticleOrder$1 = {
|
|
139
139
|
direction: OrderDirection$1;
|
|
@@ -5722,7 +5722,7 @@ type PublishedThemeStyleWhereInput$1 = {
|
|
|
5722
5722
|
type Query$1 = {
|
|
5723
5723
|
_entities: Array<Maybe$1<_Entity>>;
|
|
5724
5724
|
_service: _Service;
|
|
5725
|
-
article?: Maybe$1<Article$
|
|
5725
|
+
article?: Maybe$1<Article$2>;
|
|
5726
5726
|
articles?: Maybe$1<ArticleConnection$1>;
|
|
5727
5727
|
blog?: Maybe$1<Blog$1>;
|
|
5728
5728
|
blogs?: Maybe$1<BlogConnection$1>;
|
|
@@ -6237,7 +6237,7 @@ type shop__Service = _Service;
|
|
|
6237
6237
|
declare namespace shop {
|
|
6238
6238
|
export {
|
|
6239
6239
|
Analytic$1 as Analytic,
|
|
6240
|
-
Article$
|
|
6240
|
+
Article$2 as Article,
|
|
6241
6241
|
ArticleBlogWhereInput$1 as ArticleBlogWhereInput,
|
|
6242
6242
|
ArticleBlogsArgs$1 as ArticleBlogsArgs,
|
|
6243
6243
|
ArticleConnection$1 as ArticleConnection,
|
|
@@ -6471,6 +6471,7 @@ type BlockEntity = {
|
|
|
6471
6471
|
name?: string;
|
|
6472
6472
|
dateModified?: string | number;
|
|
6473
6473
|
childrens?: string[];
|
|
6474
|
+
rawChildrens?: BlockEntity[];
|
|
6474
6475
|
settings?: Record<string, any>;
|
|
6475
6476
|
advanced?: Record<string, any>;
|
|
6476
6477
|
styles?: Record<string, any>;
|
|
@@ -6478,6 +6479,8 @@ type BlockEntity = {
|
|
|
6478
6479
|
type?: 'component';
|
|
6479
6480
|
isThemeSection?: boolean;
|
|
6480
6481
|
needPublishing?: boolean;
|
|
6482
|
+
isShopifySection?: boolean;
|
|
6483
|
+
isShopifyVisibility?: boolean;
|
|
6481
6484
|
};
|
|
6482
6485
|
type SectionEntity = {
|
|
6483
6486
|
uid: string;
|
|
@@ -6487,6 +6490,8 @@ type SectionEntity = {
|
|
|
6487
6490
|
name?: string;
|
|
6488
6491
|
isThemeSection?: boolean;
|
|
6489
6492
|
needPublishing?: boolean;
|
|
6493
|
+
isShopifySection?: boolean;
|
|
6494
|
+
isShopifyVisibility?: boolean;
|
|
6490
6495
|
};
|
|
6491
6496
|
type BuilderEntity = BlockEntity | SectionEntity;
|
|
6492
6497
|
type BuilderEntityNested = Omit<BlockEntity, 'childrens'> & {
|
|
@@ -6537,9 +6542,15 @@ type SaleFunnelDiscountEdge$1 = {
|
|
|
6537
6542
|
cursor: Scalars$1['Cursor'];
|
|
6538
6543
|
node?: Maybe$1<SaleFunnelDiscount$1>;
|
|
6539
6544
|
};
|
|
6540
|
-
type ProductOffer = Maybe$1<Pick<SaleFunnelDiscountEdge$1,
|
|
6541
|
-
node?: Maybe$1<Pick<SaleFunnelDiscount$1,
|
|
6545
|
+
type ProductOffer = Maybe$1<Pick<SaleFunnelDiscountEdge$1, 'cursor'> & {
|
|
6546
|
+
node?: Maybe$1<Pick<SaleFunnelDiscount$1, 'id' | 'value' | 'type' | 'position' | 'objectBaseID' | 'objectType' | 'title' | 'valueType' | 'isEnabled'>>;
|
|
6542
6547
|
}>;
|
|
6548
|
+
type RawChild = {
|
|
6549
|
+
uid: string;
|
|
6550
|
+
builder: Record<string, any>;
|
|
6551
|
+
components: Record<string, any>;
|
|
6552
|
+
[key: string]: any;
|
|
6553
|
+
};
|
|
6543
6554
|
|
|
6544
6555
|
type InitComponentType<T = any> = {
|
|
6545
6556
|
[K in keyof T]-?: {
|
|
@@ -6606,7 +6617,7 @@ type Component = InitComponentType & {
|
|
|
6606
6617
|
};
|
|
6607
6618
|
type NameDevices$1 = 'desktop' | 'tablet' | 'mobile';
|
|
6608
6619
|
type ObjectDevices<T> = Partial<Record<NameDevices$1, T>>;
|
|
6609
|
-
type StateType = 'normal' | 'hover' | 'focus' | 'active';
|
|
6620
|
+
type StateType = 'normal' | 'hover' | 'focus' | 'active' | 'price' | 'compareAtPrice';
|
|
6610
6621
|
type StateProp<T> = Partial<Record<StateType, T>>;
|
|
6611
6622
|
type ResponsiveStateProp<T> = ObjectDevices<StateProp<T>>;
|
|
6612
6623
|
type AlignItemProp = 'left' | 'center' | 'right';
|
|
@@ -6727,6 +6738,8 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
6727
6738
|
hover?: boolean;
|
|
6728
6739
|
focus?: boolean;
|
|
6729
6740
|
active?: boolean;
|
|
6741
|
+
price?: boolean;
|
|
6742
|
+
compareAtPrice?: boolean;
|
|
6730
6743
|
};
|
|
6731
6744
|
emptyOnClear?: boolean;
|
|
6732
6745
|
showVideo?: boolean;
|
|
@@ -6914,6 +6927,7 @@ type InputControlType<T> = SharedControlType<T> & {
|
|
|
6914
6927
|
value: any;
|
|
6915
6928
|
}[];
|
|
6916
6929
|
readonly?: boolean;
|
|
6930
|
+
suffix?: string;
|
|
6917
6931
|
action?: {
|
|
6918
6932
|
clear?: boolean;
|
|
6919
6933
|
};
|
|
@@ -6958,6 +6972,7 @@ type PositionControlType<T> = SharedControlType<T> & {
|
|
|
6958
6972
|
|
|
6959
6973
|
type PositionSquareControlType<T> = SharedControlType<T> & {
|
|
6960
6974
|
type: 'position:square';
|
|
6975
|
+
ignoreValue?: string[];
|
|
6961
6976
|
};
|
|
6962
6977
|
|
|
6963
6978
|
type RadioGroupControlType = {
|
|
@@ -6978,6 +6993,7 @@ type RangeControlType<T> = SharedControlType<T> & {
|
|
|
6978
6993
|
disableOnChange?: boolean;
|
|
6979
6994
|
useOnlyUnitInit?: boolean;
|
|
6980
6995
|
hideUnit?: boolean;
|
|
6996
|
+
hideInput?: boolean;
|
|
6981
6997
|
};
|
|
6982
6998
|
|
|
6983
6999
|
type Option$3<T> = {
|
|
@@ -7034,6 +7050,14 @@ type SegmentControlType<T> = {
|
|
|
7034
7050
|
[K in keyof T]-?: Mapped$4<K, T[K]>;
|
|
7035
7051
|
}[keyof T];
|
|
7036
7052
|
|
|
7053
|
+
type OpenLinkControlType<T> = SharedControlType<T> & {
|
|
7054
|
+
type: 'open-link';
|
|
7055
|
+
target?: string;
|
|
7056
|
+
href: string;
|
|
7057
|
+
appName?: string;
|
|
7058
|
+
linkType?: 'openApp' | 'install';
|
|
7059
|
+
};
|
|
7060
|
+
|
|
7037
7061
|
type Option$2<T> = {
|
|
7038
7062
|
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
7039
7063
|
label: string | number;
|
|
@@ -7409,6 +7433,11 @@ type ProductListControlType<T> = SharedControlType<T> & {
|
|
|
7409
7433
|
isMultiple?: boolean;
|
|
7410
7434
|
};
|
|
7411
7435
|
|
|
7436
|
+
type ArticleListControlType<T> = SharedControlType<T> & {
|
|
7437
|
+
type: 'article-list';
|
|
7438
|
+
isMultiple?: boolean;
|
|
7439
|
+
};
|
|
7440
|
+
|
|
7412
7441
|
type SizeUnit$1 = '%' | 'cm' | 'mm' | 'Q' | 'in' | 'pc' | 'pt' | 'px' | 'em' | 'cap' | 'ex' | 'ch' | 'ic' | 'rem' | 'lh' | 'rlh' | 'vw' | 'vh' | 'vi' | 'vb' | 'vmin' | 'vmax';
|
|
7413
7442
|
type InputUnitSpacingControlType<T> = SharedControlType<T> & {
|
|
7414
7443
|
type: 'input:unit-spacing';
|
|
@@ -7447,6 +7476,7 @@ type TypographyV2ControlType<T> = SharedControlType<T> & {
|
|
|
7447
7476
|
color?: boolean;
|
|
7448
7477
|
transform?: boolean;
|
|
7449
7478
|
};
|
|
7479
|
+
disableCollapse?: boolean;
|
|
7450
7480
|
};
|
|
7451
7481
|
|
|
7452
7482
|
type StickyDisplayControlType<T> = SharedControlType<T> & {
|
|
@@ -7567,6 +7597,7 @@ type ParallaxScrollingType<T> = SharedControlType<T> & {
|
|
|
7567
7597
|
|
|
7568
7598
|
type BackgroundColorPickerType<T> = SharedControlType<T> & {
|
|
7569
7599
|
type: 'background-color-picker';
|
|
7600
|
+
mode?: 'both' | 'solid' | 'gradient';
|
|
7570
7601
|
popup?: boolean;
|
|
7571
7602
|
readonly?: boolean;
|
|
7572
7603
|
};
|
|
@@ -7689,6 +7720,7 @@ type ProductOffersControlType<T> = SharedControlType<T> & {
|
|
|
7689
7720
|
|
|
7690
7721
|
type DiscountAndShippingFee<T> = SharedControlType<T> & {
|
|
7691
7722
|
type: 'discount-and-shipping-fee-product-offer';
|
|
7723
|
+
multiple: boolean;
|
|
7692
7724
|
};
|
|
7693
7725
|
|
|
7694
7726
|
type PostPurchaseTextareaControlType<T> = SharedControlType<T> & {
|
|
@@ -7711,7 +7743,21 @@ type NotesControlType<T> = SharedControlType<T> & {
|
|
|
7711
7743
|
value?: string;
|
|
7712
7744
|
};
|
|
7713
7745
|
|
|
7714
|
-
type
|
|
7746
|
+
type ButtonLayoutType<T> = SharedControlType<T> & {
|
|
7747
|
+
type: 'button-layout';
|
|
7748
|
+
options: {
|
|
7749
|
+
id: string;
|
|
7750
|
+
value: string;
|
|
7751
|
+
name: string;
|
|
7752
|
+
icon: boolean;
|
|
7753
|
+
}[];
|
|
7754
|
+
};
|
|
7755
|
+
|
|
7756
|
+
type ShapeSelectorControlType<T> = SharedControlType<T> & {
|
|
7757
|
+
type: 'shape-selector';
|
|
7758
|
+
};
|
|
7759
|
+
|
|
7760
|
+
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> | OpenLinkControlType<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> | VariantSwatchesOnlyDefaultVariantControlType<T> | ProductListControlType<T> | ArticleListControlType<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> | ProductInputCurrencyUnitControlType<T> | TypographyPostPurchaseControlType<T> | ProductOffersControlType<T> | DiscountAndShippingFee<T> | PostPurchaseTextareaControlType<T> | NotesControlType<T> | NotesControlType<T> | ButtonLayoutType<T> | ShapeSelectorControlType<T>;
|
|
7715
7761
|
type ControlTriggerAction = {
|
|
7716
7762
|
controlId: string;
|
|
7717
7763
|
newValue?: any;
|
|
@@ -7767,6 +7813,7 @@ type ComponentSetting<P extends BaseProps> = {
|
|
|
7767
7813
|
flowPage?: string;
|
|
7768
7814
|
notAppendTags?: string[];
|
|
7769
7815
|
notAppendLeftRight?: boolean;
|
|
7816
|
+
allowAppendTags?: string[];
|
|
7770
7817
|
};
|
|
7771
7818
|
sideBar?: {
|
|
7772
7819
|
hide?: boolean;
|
|
@@ -7790,6 +7837,7 @@ type ControlUI = {
|
|
|
7790
7837
|
label?: Record<string, string>;
|
|
7791
7838
|
info?: Record<string, string>;
|
|
7792
7839
|
condition?: string;
|
|
7840
|
+
target?: 'tab';
|
|
7793
7841
|
controls?: ControlUI[];
|
|
7794
7842
|
setting?: {
|
|
7795
7843
|
id: string;
|
|
@@ -7812,6 +7860,7 @@ type ControlUI = {
|
|
|
7812
7860
|
iconClass?: string;
|
|
7813
7861
|
containerClass?: string;
|
|
7814
7862
|
enableTeleport?: boolean;
|
|
7863
|
+
contentStyle?: React.CSSProperties;
|
|
7815
7864
|
};
|
|
7816
7865
|
hideOnDevices?: {
|
|
7817
7866
|
desktop?: boolean;
|
|
@@ -7819,6 +7868,7 @@ type ControlUI = {
|
|
|
7819
7868
|
mobile?: boolean;
|
|
7820
7869
|
};
|
|
7821
7870
|
hideOnPages?: PageType[];
|
|
7871
|
+
itemSpacing?: 'small' | 'medium' | 'large';
|
|
7822
7872
|
};
|
|
7823
7873
|
isMoreSetting?: boolean;
|
|
7824
7874
|
hiddenDivice?: boolean;
|
|
@@ -7846,6 +7896,7 @@ type ComponentPreset = {
|
|
|
7846
7896
|
};
|
|
7847
7897
|
components: InitComponentType[];
|
|
7848
7898
|
hideTextContent?: boolean;
|
|
7899
|
+
flowTagComponents?: Record<string, InitComponentType[]>;
|
|
7849
7900
|
};
|
|
7850
7901
|
|
|
7851
7902
|
type PageContext = {
|
|
@@ -7937,7 +7988,7 @@ type AnalyticsQueryParameter = {
|
|
|
7937
7988
|
startDate?: InputMaybe<Scalars['Time']>;
|
|
7938
7989
|
};
|
|
7939
7990
|
type AppType = 'CUSTOM' | 'GEMPAGES' | 'GEMPAGESV5' | 'GEMPAGESV7' | 'GEMX';
|
|
7940
|
-
type Article = {
|
|
7991
|
+
type Article$1 = {
|
|
7941
7992
|
baseID?: Maybe<Scalars['String']>;
|
|
7942
7993
|
blogs?: Maybe<BlogConnection>;
|
|
7943
7994
|
description?: Maybe<Scalars['String']>;
|
|
@@ -8010,7 +8061,7 @@ type ArticleConnection = {
|
|
|
8010
8061
|
};
|
|
8011
8062
|
type ArticleEdge = {
|
|
8012
8063
|
cursor?: Maybe<Scalars['Cursor']>;
|
|
8013
|
-
node?: Maybe<Article>;
|
|
8064
|
+
node?: Maybe<Article$1>;
|
|
8014
8065
|
};
|
|
8015
8066
|
type ArticleOrder = {
|
|
8016
8067
|
direction: OrderDirection;
|
|
@@ -18820,7 +18871,7 @@ type PutCustomComponentFileInput = {
|
|
|
18820
18871
|
name: Scalars['String'];
|
|
18821
18872
|
};
|
|
18822
18873
|
type Query = {
|
|
18823
|
-
article?: Maybe<Article>;
|
|
18874
|
+
article?: Maybe<Article$1>;
|
|
18824
18875
|
articles?: Maybe<ArticleConnection>;
|
|
18825
18876
|
backgroundTasks?: Maybe<BackgroundTaskConnection>;
|
|
18826
18877
|
blog?: Maybe<Blog>;
|
|
@@ -25001,7 +25052,6 @@ type appAPI_AddEmployeeInput = AddEmployeeInput;
|
|
|
25001
25052
|
type appAPI_Analytic = Analytic;
|
|
25002
25053
|
type appAPI_AnalyticsQueryParameter = AnalyticsQueryParameter;
|
|
25003
25054
|
type appAPI_AppType = AppType;
|
|
25004
|
-
type appAPI_Article = Article;
|
|
25005
25055
|
type appAPI_ArticleBlogWhereInput = ArticleBlogWhereInput;
|
|
25006
25056
|
type appAPI_ArticleBlogsArgs = ArticleBlogsArgs;
|
|
25007
25057
|
type appAPI_ArticleConnection = ArticleConnection;
|
|
@@ -25994,7 +26044,7 @@ declare namespace appAPI {
|
|
|
25994
26044
|
appAPI_Analytic as Analytic,
|
|
25995
26045
|
appAPI_AnalyticsQueryParameter as AnalyticsQueryParameter,
|
|
25996
26046
|
appAPI_AppType as AppType,
|
|
25997
|
-
|
|
26047
|
+
Article$1 as Article,
|
|
25998
26048
|
appAPI_ArticleBlogWhereInput as ArticleBlogWhereInput,
|
|
25999
26049
|
appAPI_ArticleBlogsArgs as ArticleBlogsArgs,
|
|
26000
26050
|
appAPI_ArticleConnection as ArticleConnection,
|
|
@@ -27013,7 +27063,7 @@ type TypographyProps = {
|
|
|
27013
27063
|
};
|
|
27014
27064
|
type TypographyV2Props = Omit<TypographyProps, 'fontSize' | 'lineHeight'> & {
|
|
27015
27065
|
fontSize?: ObjectDevices<string>;
|
|
27016
|
-
lineHeight?: string
|
|
27066
|
+
lineHeight?: ObjectDevices<string>;
|
|
27017
27067
|
};
|
|
27018
27068
|
type TypographyV2Attrs = {
|
|
27019
27069
|
bold?: boolean;
|
|
@@ -27587,6 +27637,39 @@ type ModalProviderProps = Pick<ModalContextProps, 'activeId'> & {
|
|
|
27587
27637
|
declare const ModalProvider: React.FC<ModalProviderProps>;
|
|
27588
27638
|
declare const useModalStore: <U>(selector: (state: ExtractState<StoreApi<ModalContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
|
|
27589
27639
|
|
|
27640
|
+
type ArticleListContextProps = {
|
|
27641
|
+
articles?: any[];
|
|
27642
|
+
blogs?: Blog$1[];
|
|
27643
|
+
settings?: {
|
|
27644
|
+
slidesToShow?: ObjectDevices<number | 'auto'>;
|
|
27645
|
+
};
|
|
27646
|
+
styles?: {
|
|
27647
|
+
horizontalGutter?: ObjectDevices<string>;
|
|
27648
|
+
verticalGutter?: ObjectDevices<string>;
|
|
27649
|
+
fullWidth?: ObjectDevices<boolean>;
|
|
27650
|
+
spacing?: ObjectDevices<number>;
|
|
27651
|
+
width?: ObjectDevices<string>;
|
|
27652
|
+
height?: ObjectDevices<string>;
|
|
27653
|
+
};
|
|
27654
|
+
};
|
|
27655
|
+
type ArticleListProviderProps = ArticleListContextProps & {
|
|
27656
|
+
children: React.ReactNode;
|
|
27657
|
+
};
|
|
27658
|
+
declare const ArticleListProvider: React.FC<ArticleListProviderProps>;
|
|
27659
|
+
declare const useArticleListStore: <U>(selector: (state: ExtractState<StoreApi<ArticleListContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
|
|
27660
|
+
|
|
27661
|
+
type Article = any;
|
|
27662
|
+
type ArticleContextProps = {
|
|
27663
|
+
article: Article;
|
|
27664
|
+
uniqueId: string;
|
|
27665
|
+
};
|
|
27666
|
+
type ArticleProviderProps = Pick<ArticleContextProps, 'article'> & {
|
|
27667
|
+
readOnly?: boolean;
|
|
27668
|
+
children: React.ReactNode;
|
|
27669
|
+
};
|
|
27670
|
+
declare const ArticleProvider: React.FC<ArticleProviderProps>;
|
|
27671
|
+
declare const useArticleStore: <U>(selector: (state: ExtractState<StoreApi<ArticleContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
|
|
27672
|
+
|
|
27590
27673
|
type PageViewUpMutationVariables = Exact$1<{
|
|
27591
27674
|
pageHandle: Scalars$2['String'];
|
|
27592
27675
|
userAgent: Scalars$2['String'];
|
|
@@ -27887,15 +27970,13 @@ declare const handleConvertClassColorDynamicBtn: (value?: BorderStyle) => string
|
|
|
27887
27970
|
declare const composeBorderCss: (borderV?: Border | undefined) => string;
|
|
27888
27971
|
|
|
27889
27972
|
type DotStyle = 'none' | 'inside' | 'outside';
|
|
27890
|
-
declare const getCarouselContainerHeight: <T>(dotStyle?: Partial<Record<NameDevices$1, T>> | undefined
|
|
27973
|
+
declare const getCarouselContainerHeight: <T>(dotStyle?: Partial<Record<NameDevices$1, T>> | undefined) => {
|
|
27891
27974
|
desktop: string | undefined;
|
|
27892
27975
|
tablet: string | undefined;
|
|
27893
27976
|
mobile: string | undefined;
|
|
27894
27977
|
};
|
|
27895
27978
|
declare const makeContainerWidthOrHeight: <T extends ShortHandProperty>(setting: {
|
|
27896
27979
|
dotStyle?: ObjectDevices<DotStyle>;
|
|
27897
|
-
dotSize?: ObjectDevices<number>;
|
|
27898
|
-
dotGapToCarousel?: ObjectDevices<number>;
|
|
27899
27980
|
vertical?: ObjectDevices<boolean>;
|
|
27900
27981
|
}) => {
|
|
27901
27982
|
[x: string]: string | undefined;
|
|
@@ -34031,6 +34112,8 @@ declare const makeHeight: (heighValue?: ObjectDevices<string | number>, autoHeig
|
|
|
34031
34112
|
declare const makeAspectRatio: (aspectRatio?: ObjectDevices<string>, aspectWidth?: ObjectDevices<string | number>, aspectHeight?: ObjectDevices<string | number>) => ObjectDevices<string>;
|
|
34032
34113
|
declare const makeLineClamp: (lineClampValue?: ObjectDevices<number>, hasLineClampValue?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
34033
34114
|
|
|
34115
|
+
declare const convertTextAlignToJustify: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
|
|
34116
|
+
|
|
34034
34117
|
declare function getSelectedVariant(variants?: Maybe$1<VariantSelectFragment>[], choices?: Record<string, string>, variantId?: string | null): Maybe$1<VariantSelectFragment>;
|
|
34035
34118
|
declare function parseSelectedOption(options: SelectedOption$1[]): SelectedOption$1 | undefined;
|
|
34036
34119
|
declare function checkAvailableVariantInStock(variants: Maybe$1<VariantSelectFragment>[] | undefined, optionId: string, optionValue: string): boolean;
|
|
@@ -35867,6 +35950,64 @@ declare const useMoney: (amount: number) => UseMoneyValue;
|
|
|
35867
35950
|
|
|
35868
35951
|
declare const usePrevious: <T>(value: T) => T | undefined;
|
|
35869
35952
|
|
|
35953
|
+
type BlogsQueryResponse = {
|
|
35954
|
+
blogs?: Maybe$1<Pick<BlogConnection$1, 'totalCount'> & {
|
|
35955
|
+
edges: Array<Pick<BlogEdge$1, 'cursor'> & {
|
|
35956
|
+
node?: Maybe$1<Pick<Blog$1, 'baseID' | 'description' | 'descriptionMeta' | 'handle' | 'id' | 'platform' | 'tags' | 'templateSuffix' | 'title' | 'titleMeta'>>;
|
|
35957
|
+
}>;
|
|
35958
|
+
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>>;
|
|
35959
|
+
}>;
|
|
35960
|
+
};
|
|
35961
|
+
|
|
35962
|
+
declare const useArticlesQuery: () => ({
|
|
35963
|
+
baseID: string;
|
|
35964
|
+
id: number;
|
|
35965
|
+
title: string;
|
|
35966
|
+
created_at: string;
|
|
35967
|
+
body_html: string;
|
|
35968
|
+
blog_id: number;
|
|
35969
|
+
author: string;
|
|
35970
|
+
user_id: number;
|
|
35971
|
+
published_at: string;
|
|
35972
|
+
updated_at: string;
|
|
35973
|
+
summary_html: string;
|
|
35974
|
+
template_suffix: string;
|
|
35975
|
+
handle: string;
|
|
35976
|
+
tags: string;
|
|
35977
|
+
admin_graphql_api_id: string;
|
|
35978
|
+
image: {
|
|
35979
|
+
created_at: string;
|
|
35980
|
+
alt: string;
|
|
35981
|
+
width: number;
|
|
35982
|
+
height: number;
|
|
35983
|
+
src: string;
|
|
35984
|
+
};
|
|
35985
|
+
} | {
|
|
35986
|
+
baseID: string;
|
|
35987
|
+
id: number;
|
|
35988
|
+
title: string;
|
|
35989
|
+
created_at: string;
|
|
35990
|
+
body_html: string;
|
|
35991
|
+
blog_id: number;
|
|
35992
|
+
author: string;
|
|
35993
|
+
user_id: null;
|
|
35994
|
+
published_at: string;
|
|
35995
|
+
updated_at: string;
|
|
35996
|
+
summary_html: string;
|
|
35997
|
+
template_suffix: string;
|
|
35998
|
+
handle: string;
|
|
35999
|
+
tags: string;
|
|
36000
|
+
admin_graphql_api_id: string;
|
|
36001
|
+
image: {
|
|
36002
|
+
created_at: string;
|
|
36003
|
+
alt: string;
|
|
36004
|
+
width: number;
|
|
36005
|
+
height: number;
|
|
36006
|
+
src: string;
|
|
36007
|
+
};
|
|
36008
|
+
})[];
|
|
36009
|
+
declare const useBlogsQuery: () => BlogsQueryResponse;
|
|
36010
|
+
|
|
35870
36011
|
declare const useUniqProductID: () => string;
|
|
35871
36012
|
declare const useProduct: () => ProductSelectFragment | undefined;
|
|
35872
36013
|
declare const useFeaturedImageGlobal: () => MediaSelectFragment | undefined;
|
|
@@ -35890,11 +36031,11 @@ declare const useSelectedOption: () => {
|
|
|
35890
36031
|
setSelectedOption: (optionId?: Maybe$1<string>, optionValue?: Maybe$1<string>, productId?: Maybe$1<string>, noEmit?: boolean) => void;
|
|
35891
36032
|
forceSelectedOption: (selectedOption?: Record<string, string>, productId?: Maybe$1<string>, noEmit?: boolean) => void;
|
|
35892
36033
|
};
|
|
35893
|
-
declare const useVariants: () => Maybe$1<Pick<ProductVariant$1, "id" | "title" | "width" | "height" | "length" | "weight" | "baseID" | "platform" | "sku" | "barcode" | "costPrice" | "inventoryPolicy" | "inventoryQuantity" | "inventoryStatus" | "isDigital" | "lowInventoryAmount" | "manageInventory" | "mediaId" | "
|
|
36034
|
+
declare const useVariants: () => Maybe$1<Pick<ProductVariant$1, "id" | "title" | "price" | "width" | "height" | "length" | "weight" | "baseID" | "platform" | "sku" | "barcode" | "costPrice" | "inventoryPolicy" | "inventoryQuantity" | "inventoryStatus" | "isDigital" | "lowInventoryAmount" | "manageInventory" | "mediaId" | "salePrice" | "soldIndividually"> & {
|
|
35894
36035
|
selectedOptions: Pick<SelectedOption$1, "name" | "value" | "optionType">[];
|
|
35895
36036
|
media?: Maybe$1<Pick<Media$1, "id" | "width" | "height" | "src" | "alt" | "contentType" | "previewImage">>;
|
|
35896
36037
|
}>[];
|
|
35897
|
-
declare const useVariant: (id: string) => Maybe$1<Pick<ProductVariant$1, "id" | "title" | "width" | "height" | "length" | "weight" | "baseID" | "platform" | "sku" | "barcode" | "costPrice" | "inventoryPolicy" | "inventoryQuantity" | "inventoryStatus" | "isDigital" | "lowInventoryAmount" | "manageInventory" | "mediaId" | "
|
|
36038
|
+
declare const useVariant: (id: string) => Maybe$1<Pick<ProductVariant$1, "id" | "title" | "price" | "width" | "height" | "length" | "weight" | "baseID" | "platform" | "sku" | "barcode" | "costPrice" | "inventoryPolicy" | "inventoryQuantity" | "inventoryStatus" | "isDigital" | "lowInventoryAmount" | "manageInventory" | "mediaId" | "salePrice" | "soldIndividually"> & {
|
|
35898
36039
|
selectedOptions: Pick<SelectedOption$1, "name" | "value" | "optionType">[];
|
|
35899
36040
|
media?: Maybe$1<Pick<Media$1, "id" | "width" | "height" | "src" | "alt" | "contentType" | "previewImage">>;
|
|
35900
36041
|
}>;
|
|
@@ -35949,4 +36090,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage$1, 'id' | 'name'
|
|
|
35949
36090
|
|
|
35950
36091
|
declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
|
|
35951
36092
|
|
|
35952
|
-
export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationDirectionType, AnimationEasingType, AnimationFadeSettingType, AnimationSetting, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, AnimationZoomSettingType, appAPI as AppAPIType, Background, BaseProps, BasePropsWrap, BlockEntity, BogosWidgetType, 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, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, 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, PostPurchaseTypo, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, 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, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, Scalars$1 as Scalars, 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, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeCornerCss, composeFallbackTypographyStyle, 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, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, shopifyPriceRounding, 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, useProductOfferDiscount, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
|
36093
|
+
export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationDirectionType, AnimationEasingType, AnimationFadeSettingType, AnimationSetting, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, AnimationZoomSettingType, appAPI as AppAPIType, ArticleListProvider, ArticleListProviderProps, ArticleProvider, ArticleProviderProps, Background, BaseProps, BasePropsWrap, BlockEntity, BogosWidgetType, 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, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, 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, PostPurchaseTypo, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, Scalars$1 as Scalars, 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, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeCornerCss, composeFallbackTypographyStyle, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, convertTextAlignToJustify, 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, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, shopifyPriceRounding, splitStyle, styles, template, tiktokpixel, useAddToCart, useAddon, useAddons, useArticleListStore, useArticleStore, useArticlesQuery, useBlogsQuery, 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, useProductOfferDiscount, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useProductsQueryAll, 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.42.
|
|
3
|
+
"version": "1.42.3-dev.63",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -27,10 +27,12 @@
|
|
|
27
27
|
"type-check": "yarn tsc --noEmit"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@gem-sdk/adapter-shopify": "1.
|
|
31
|
-
"@gem-sdk/styles": "1.
|
|
30
|
+
"@gem-sdk/adapter-shopify": "1.42.3-dev.63",
|
|
31
|
+
"@gem-sdk/styles": "1.42.3-dev.63",
|
|
32
|
+
"@types/classnames": "^2.3.1"
|
|
32
33
|
},
|
|
33
34
|
"dependencies": {
|
|
35
|
+
"classnames": "^2.5.1",
|
|
34
36
|
"react-error-boundary": "4.0.10",
|
|
35
37
|
"swr": "2.1.2",
|
|
36
38
|
"vanilla-lazyload": "17.8.3",
|