@gem-sdk/core 1.41.3 → 1.42.0-dev.60

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.
Files changed (78) hide show
  1. package/dist/cjs/components/ComponentToolbarPreview.js +54 -6
  2. package/dist/cjs/components/ComponentWrapperPreview.js +44 -1
  3. package/dist/cjs/components/Render.liquid.js +2 -0
  4. package/dist/cjs/components/RenderCustomCode.js +2 -0
  5. package/dist/cjs/components/ai-generator/AIContentGenerator.js +205 -0
  6. package/dist/cjs/components/ai-generator/AIGenContentLoading.js +85 -0
  7. package/dist/cjs/components/ai-generator/components/PickProduct.js +218 -0
  8. package/dist/cjs/components/ai-generator/components/ToneAndVoice.js +77 -0
  9. package/dist/cjs/components/ai-generator/hooks/useCheckingProductInside.js +47 -0
  10. package/dist/cjs/components/ai-generator/hooks/useFlipPopup.js +110 -0
  11. package/dist/cjs/components/ai-generator/hooks/useGettingGenerateRequest.js +37 -0
  12. package/dist/cjs/components/ai-generator/hooks/useListenEventGenerate.js +63 -0
  13. package/dist/cjs/components/ai-generator/icons/AIIcon.js +67 -0
  14. package/dist/cjs/components/ai-generator/icons/CloseIcon.js +19 -0
  15. package/dist/cjs/components/ai-generator/icons/DropdownIcon.js +37 -0
  16. package/dist/cjs/components/ai-generator/icons/SearchIcon.js +21 -0
  17. package/dist/cjs/components/ai-generator/icons/ShowMoreIcon.js +21 -0
  18. package/dist/cjs/components/constant.js +19 -2
  19. package/dist/cjs/components/resize/Spacing.js +2 -0
  20. package/dist/cjs/components/theme-section/CreateThemeSection.js +2 -0
  21. package/dist/cjs/contexts/ArticleContext.js +39 -0
  22. package/dist/cjs/contexts/ArticleListContext.js +32 -0
  23. package/dist/cjs/contexts/BuilderPreviewContext.js +11 -6
  24. package/dist/cjs/contexts/SectionContext.js +1 -0
  25. package/dist/cjs/graphql/fragments/product-little.generated.js +9 -0
  26. package/dist/cjs/graphql/fragments/product.generated.js +9 -0
  27. package/dist/cjs/graphql/queries/products.generated.js +9 -0
  28. package/dist/cjs/helpers/align.js +19 -0
  29. package/dist/cjs/helpers/carousel.js +7 -10
  30. package/dist/cjs/helpers/colors.js +1 -1
  31. package/dist/cjs/helpers/queries/get-products.js +47 -0
  32. package/dist/cjs/helpers/typography.js +4 -4
  33. package/dist/cjs/hooks/articles/useArticlesQuery.js +152 -0
  34. package/dist/cjs/hooks/shop/use-products-query.js +39 -0
  35. package/dist/cjs/hooks/useAnimations.js +2 -0
  36. package/dist/cjs/hooks/useInitialSwatchesOptions.js +2 -0
  37. package/dist/cjs/hooks/useProduct.js +2 -0
  38. package/dist/cjs/index.js +12 -0
  39. package/dist/esm/components/ComponentToolbarPreview.js +54 -6
  40. package/dist/esm/components/ComponentWrapperPreview.js +44 -1
  41. package/dist/esm/components/Render.liquid.js +2 -0
  42. package/dist/esm/components/RenderCustomCode.js +2 -0
  43. package/dist/esm/components/ai-generator/AIContentGenerator.js +203 -0
  44. package/dist/esm/components/ai-generator/AIGenContentLoading.js +83 -0
  45. package/dist/esm/components/ai-generator/components/PickProduct.js +216 -0
  46. package/dist/esm/components/ai-generator/components/ToneAndVoice.js +75 -0
  47. package/dist/esm/components/ai-generator/hooks/useCheckingProductInside.js +45 -0
  48. package/dist/esm/components/ai-generator/hooks/useFlipPopup.js +108 -0
  49. package/dist/esm/components/ai-generator/hooks/useGettingGenerateRequest.js +35 -0
  50. package/dist/esm/components/ai-generator/hooks/useListenEventGenerate.js +61 -0
  51. package/dist/esm/components/ai-generator/icons/AIIcon.js +65 -0
  52. package/dist/esm/components/ai-generator/icons/CloseIcon.js +17 -0
  53. package/dist/esm/components/ai-generator/icons/DropdownIcon.js +34 -0
  54. package/dist/esm/components/ai-generator/icons/SearchIcon.js +19 -0
  55. package/dist/esm/components/ai-generator/icons/ShowMoreIcon.js +19 -0
  56. package/dist/esm/components/constant.js +19 -3
  57. package/dist/esm/components/resize/Spacing.js +2 -0
  58. package/dist/esm/components/theme-section/CreateThemeSection.js +2 -0
  59. package/dist/esm/contexts/ArticleContext.js +36 -0
  60. package/dist/esm/contexts/ArticleListContext.js +28 -0
  61. package/dist/esm/contexts/BuilderPreviewContext.js +11 -6
  62. package/dist/esm/contexts/SectionContext.js +1 -0
  63. package/dist/esm/graphql/fragments/product-little.generated.js +9 -0
  64. package/dist/esm/graphql/fragments/product.generated.js +9 -0
  65. package/dist/esm/graphql/queries/products.generated.js +9 -0
  66. package/dist/esm/helpers/align.js +17 -0
  67. package/dist/esm/helpers/carousel.js +7 -10
  68. package/dist/esm/helpers/colors.js +1 -1
  69. package/dist/esm/helpers/queries/get-products.js +46 -1
  70. package/dist/esm/helpers/typography.js +4 -4
  71. package/dist/esm/hooks/articles/useArticlesQuery.js +149 -0
  72. package/dist/esm/hooks/shop/use-products-query.js +39 -2
  73. package/dist/esm/hooks/useAnimations.js +2 -0
  74. package/dist/esm/hooks/useInitialSwatchesOptions.js +2 -0
  75. package/dist/esm/hooks/useProduct.js +2 -0
  76. package/dist/esm/index.js +5 -1
  77. package/dist/types/index.d.ts +176 -21
  78. package/package.json +5 -3
@@ -6,11 +6,13 @@ import 'swr';
6
6
  import { usePageStore } from '../contexts/PageContext.js';
7
7
  import '@gem-sdk/adapter-shopify';
8
8
  import 'swr/mutation';
9
+ import 'swr/infinite';
9
10
  import 'vanilla-lazyload';
10
11
  import './useCartUI.js';
11
12
  import { checkInStock } from '../helpers/variant.js';
12
13
  import 'react-transition-group';
13
14
  import '@gem-sdk/core';
15
+ import 'classnames';
14
16
  import { flattenConnection } from '../helpers/flatten-connection.js';
15
17
  import '../helpers/convert.js';
16
18
  import { getSelectedVariant } from '../helpers/product.js';
package/dist/esm/index.js CHANGED
@@ -14,6 +14,8 @@ export { ShopProvider, useShopStore } from './contexts/ShopContext.js';
14
14
  export { PageProvider, usePageStore } from './contexts/PageContext.js';
15
15
  export { CollectionProvider, useCollectionStore } from './contexts/CollectionContext.js';
16
16
  export { ModalProvider, useModalStore } from './contexts/ModalContext.js';
17
+ export { ArticleListProvider, useArticleListStore } from './contexts/ArticleListContext.js';
18
+ export { ArticleProvider, useArticleStore } from './contexts/ArticleContext.js';
17
19
  export { PageViewUpDocument } from './graphql/mutations/page-view-up.generated.js';
18
20
  export { CollectionDetailFilterDocument } from './graphql/queries/collection-detail-filter.generated.js';
19
21
  export { CollectionDocument } from './graphql/queries/collection.generated.js';
@@ -49,6 +51,7 @@ export { composePositionLineHeight, composePostionIconList } from './helpers/ico
49
51
  export { isDefined } from './helpers/is-defined.js';
50
52
  export { composeGridLayout, convertOldLayout, gridToArrayRegex, optionLayoutStyle } from './helpers/layout.js';
51
53
  export { makeAspectRatio, makeGlobalSizeHeightResponsive, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeWidth, removeNullUndefined } from './helpers/make-style.js';
54
+ export { convertTextAlignToJustify } from './helpers/align.js';
52
55
  export { checkAvailableVariantInStock, getSelectedVariant, parseSelectedOption } from './helpers/product.js';
53
56
  export { generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey } from './helpers/query.js';
54
57
  export { composeCornerCss, composeRadius, composeRadiusResponsive, getCornerCSSFromGlobal, getCustomRadius, getRadiusCSSFromGlobal, getRadiusStyleActiveState } from './helpers/radius.js';
@@ -77,7 +80,7 @@ export { useCheckoutUrl, useConnectedShopify, useCurrency, useEditorMode, useIsS
77
80
  export { useCollectionQuery } from './hooks/shop/use-collection-query.js';
78
81
  export { useCollectionsQuery } from './hooks/shop/use-collections-query.js';
79
82
  export { useProductQuery } from './hooks/shop/use-product-query.js';
80
- export { useProductsQuery } from './hooks/shop/use-products-query.js';
83
+ export { useProductsQuery, useProductsQueryAll } from './hooks/shop/use-products-query.js';
81
84
  export { useCurrentDevice } from './hooks/use-current-device.js';
82
85
  export { shopifyPriceRounding, useFormatMoney } from './hooks/useFormatMoney.js';
83
86
  export { useLazyVideo } from './hooks/use-lazy-video.js';
@@ -90,6 +93,7 @@ export { default as useIsomorphicLayoutEffect } from './hooks/useIsomorphicLayou
90
93
  export { default as useLoadScript } from './hooks/useLoadScript.js';
91
94
  export { default as useMoney } from './hooks/useMoney.js';
92
95
  export { usePrevious } from './hooks/usePrevious.js';
96
+ export { useArticlesQuery, useBlogsQuery } from './hooks/articles/useArticlesQuery.js';
93
97
  export { useCheckAvailableVariantInStock, useCurrentVariant, useCurrentVariantInStock, useFeaturedImageGlobal, useIsSyncProduct, useProduct, useProductOfferDiscount, useProductProperties, useQuantity, useSelectedOption, useUniqProductID, useVariant, useVariantOutStock, useVariants } from './hooks/useProduct.js';
94
98
  export { useProductList, useProductListProducts, useProductListSettings, useProductListStyles } from './hooks/useProductList.js';
95
99
  export { default as useSuspenseFetch } from './hooks/useSuspenseFetch.js';
@@ -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$1 = {
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$1>;
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$1>;
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$1 as 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, "cursor"> & {
6541
- node?: Maybe$1<Pick<SaleFunnelDiscount$1, "id" | "value" | "type" | "position" | "objectBaseID" | "objectType" | "title" | "valueType" | "isEnabled">>;
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]-?: {
@@ -6914,6 +6925,7 @@ type InputControlType<T> = SharedControlType<T> & {
6914
6925
  value: any;
6915
6926
  }[];
6916
6927
  readonly?: boolean;
6928
+ suffix?: string;
6917
6929
  action?: {
6918
6930
  clear?: boolean;
6919
6931
  };
@@ -6958,6 +6970,7 @@ type PositionControlType<T> = SharedControlType<T> & {
6958
6970
 
6959
6971
  type PositionSquareControlType<T> = SharedControlType<T> & {
6960
6972
  type: 'position:square';
6973
+ ignoreValue?: string[];
6961
6974
  };
6962
6975
 
6963
6976
  type RadioGroupControlType = {
@@ -6978,6 +6991,7 @@ type RangeControlType<T> = SharedControlType<T> & {
6978
6991
  disableOnChange?: boolean;
6979
6992
  useOnlyUnitInit?: boolean;
6980
6993
  hideUnit?: boolean;
6994
+ hideInput?: boolean;
6981
6995
  };
6982
6996
 
6983
6997
  type Option$3<T> = {
@@ -7034,6 +7048,14 @@ type SegmentControlType<T> = {
7034
7048
  [K in keyof T]-?: Mapped$4<K, T[K]>;
7035
7049
  }[keyof T];
7036
7050
 
7051
+ type OpenLinkControlType<T> = SharedControlType<T> & {
7052
+ type: 'open-link';
7053
+ target?: string;
7054
+ href: string;
7055
+ appName?: string;
7056
+ linkType?: 'openApp' | 'install';
7057
+ };
7058
+
7037
7059
  type Option$2<T> = {
7038
7060
  value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
7039
7061
  label: string | number;
@@ -7227,6 +7249,8 @@ type Background = {
7227
7249
  repeat?: BgRepeat;
7228
7250
  attachment?: BgAttachment;
7229
7251
  video?: string;
7252
+ videoHtml5?: string;
7253
+ videoType?: 'youtube' | 'html5';
7230
7254
  loop?: boolean;
7231
7255
  lazyLoad?: boolean;
7232
7256
  };
@@ -7407,6 +7431,11 @@ type ProductListControlType<T> = SharedControlType<T> & {
7407
7431
  isMultiple?: boolean;
7408
7432
  };
7409
7433
 
7434
+ type ArticleListControlType<T> = SharedControlType<T> & {
7435
+ type: 'article-list';
7436
+ isMultiple?: boolean;
7437
+ };
7438
+
7410
7439
  type SizeUnit$1 = '%' | 'cm' | 'mm' | 'Q' | 'in' | 'pc' | 'pt' | 'px' | 'em' | 'cap' | 'ex' | 'ch' | 'ic' | 'rem' | 'lh' | 'rlh' | 'vw' | 'vh' | 'vi' | 'vb' | 'vmin' | 'vmax';
7411
7440
  type InputUnitSpacingControlType<T> = SharedControlType<T> & {
7412
7441
  type: 'input:unit-spacing';
@@ -7565,6 +7594,7 @@ type ParallaxScrollingType<T> = SharedControlType<T> & {
7565
7594
 
7566
7595
  type BackgroundColorPickerType<T> = SharedControlType<T> & {
7567
7596
  type: 'background-color-picker';
7597
+ mode?: 'both' | 'solid' | 'gradient';
7568
7598
  popup?: boolean;
7569
7599
  readonly?: boolean;
7570
7600
  };
@@ -7687,6 +7717,7 @@ type ProductOffersControlType<T> = SharedControlType<T> & {
7687
7717
 
7688
7718
  type DiscountAndShippingFee<T> = SharedControlType<T> & {
7689
7719
  type: 'discount-and-shipping-fee-product-offer';
7720
+ multiple: boolean;
7690
7721
  };
7691
7722
 
7692
7723
  type PostPurchaseTextareaControlType<T> = SharedControlType<T> & {
@@ -7709,7 +7740,11 @@ type NotesControlType<T> = SharedControlType<T> & {
7709
7740
  value?: string;
7710
7741
  };
7711
7742
 
7712
- type ControlProp<T> = AngleControlType<T> | CheckboxControlType<T> | ColorPickerControlType<T> | GroupControlType<T> | IconControlType<T> | InputFixContentControlType<T> | InputNumberControlType<T> | InputUnitControlType<T> | InputUnitSpacingControlType<T> | InputUnitWidthControlType<T> | InputControlType<T> | MarginControlType<T> | PaddingControlType<T> | PositionControlType<T> | RadioGroupControlType | RangeControlType<T> | SegmentControlType<T> | SelectControlType<T> | TextareaControlType<T> | ToggleControlType<T> | ImageControlType<T> | ChildrensControlType | GridControlType<T> | FlexControlType<T> | TextEditorControlType<T> | ProductControlType<T> | TypographyControlType<T> | TypographyV2ControlType<T> | MenuControlType<T> | BehaviorStateControlType<T> | PickLinkControlType<T> | BoxShadowControlType<T> | TextShadowControlType<T> | BorderControlType<T> | BorderRadiusControlType<T> | RadiusPresetControlType<T> | SizeControlType<T> | ChildItemType<T> | PickMultiProductControlType<T> | CollectionControlType<T> | BackgroundControlType<T> | VisibilityControlType<T> | SelectVariantControlType | CountdownEvergreenType | Timezone<T> | CustomContentControlType<T> | DateTimePickerControlType | CountdownDailyType | KlaviyoCodes | YotpoLoyaltyCodes | InputWidthControlType<T> | LayoutSegmentControlType<T> | InputSpacing<T> | UniqueIdControlType<T> | PositionSquareControlType<T> | CustomCodeEditor | LayoutControlType<T> | LayoutBannerControlType<T> | SwatchesLinkControlType<T> | VariantSwatchesPresetControlType<T> | VariantSwatchesOnlyDefaultVariantControlType<T> | ProductListControlType<T> | CollectionBannerControlType<T> | Ratio<T> | StickyDisplayControlType<T> | SyncProductPropertiesControlType<T> | StepsGuide<T> | ImageShape<T> | GridArrange<T> | SizeSetting$1<T> | ChildIconType<T> | DropdownInput<T> | Dropdown<T> | AliPickSectionControlType<T> | ParallaxScrollingType<T> | BackgroundColorPickerType<T> | PlayPauseControlType<T> | LayoutCustomSegmentControlType<T> | SneakPeakRange<T> | SneakPeakTypeControlType<T> | SneakPeakControlType<T> | BackgroundColorPickerType<T> | ProductInputCurrencyUnitControlType<T> | TypographyPostPurchaseControlType<T> | ProductOffersControlType<T> | DiscountAndShippingFee<T> | SneakPeakControlType<T> | PostPurchaseTextareaControlType<T> | NotesControlType<T>;
7743
+ type ShapeSelectorControlType<T> = SharedControlType<T> & {
7744
+ type: 'shape-selector';
7745
+ };
7746
+
7747
+ 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> | ShapeSelectorControlType<T>;
7713
7748
  type ControlTriggerAction = {
7714
7749
  controlId: string;
7715
7750
  newValue?: any;
@@ -7765,6 +7800,7 @@ type ComponentSetting<P extends BaseProps> = {
7765
7800
  flowPage?: string;
7766
7801
  notAppendTags?: string[];
7767
7802
  notAppendLeftRight?: boolean;
7803
+ allowAppendTags?: string[];
7768
7804
  };
7769
7805
  sideBar?: {
7770
7806
  hide?: boolean;
@@ -7844,6 +7880,7 @@ type ComponentPreset = {
7844
7880
  };
7845
7881
  components: InitComponentType[];
7846
7882
  hideTextContent?: boolean;
7883
+ flowTagComponents?: Record<string, InitComponentType[]>;
7847
7884
  };
7848
7885
 
7849
7886
  type PageContext = {
@@ -7935,7 +7972,7 @@ type AnalyticsQueryParameter = {
7935
7972
  startDate?: InputMaybe<Scalars['Time']>;
7936
7973
  };
7937
7974
  type AppType = 'CUSTOM' | 'GEMPAGES' | 'GEMPAGESV5' | 'GEMPAGESV7' | 'GEMX';
7938
- type Article = {
7975
+ type Article$1 = {
7939
7976
  baseID?: Maybe<Scalars['String']>;
7940
7977
  blogs?: Maybe<BlogConnection>;
7941
7978
  description?: Maybe<Scalars['String']>;
@@ -8008,7 +8045,7 @@ type ArticleConnection = {
8008
8045
  };
8009
8046
  type ArticleEdge = {
8010
8047
  cursor?: Maybe<Scalars['Cursor']>;
8011
- node?: Maybe<Article>;
8048
+ node?: Maybe<Article$1>;
8012
8049
  };
8013
8050
  type ArticleOrder = {
8014
8051
  direction: OrderDirection;
@@ -18818,7 +18855,7 @@ type PutCustomComponentFileInput = {
18818
18855
  name: Scalars['String'];
18819
18856
  };
18820
18857
  type Query = {
18821
- article?: Maybe<Article>;
18858
+ article?: Maybe<Article$1>;
18822
18859
  articles?: Maybe<ArticleConnection>;
18823
18860
  backgroundTasks?: Maybe<BackgroundTaskConnection>;
18824
18861
  blog?: Maybe<Blog>;
@@ -24999,7 +25036,6 @@ type appAPI_AddEmployeeInput = AddEmployeeInput;
24999
25036
  type appAPI_Analytic = Analytic;
25000
25037
  type appAPI_AnalyticsQueryParameter = AnalyticsQueryParameter;
25001
25038
  type appAPI_AppType = AppType;
25002
- type appAPI_Article = Article;
25003
25039
  type appAPI_ArticleBlogWhereInput = ArticleBlogWhereInput;
25004
25040
  type appAPI_ArticleBlogsArgs = ArticleBlogsArgs;
25005
25041
  type appAPI_ArticleConnection = ArticleConnection;
@@ -25992,7 +26028,7 @@ declare namespace appAPI {
25992
26028
  appAPI_Analytic as Analytic,
25993
26029
  appAPI_AnalyticsQueryParameter as AnalyticsQueryParameter,
25994
26030
  appAPI_AppType as AppType,
25995
- appAPI_Article as Article,
26031
+ Article$1 as Article,
25996
26032
  appAPI_ArticleBlogWhereInput as ArticleBlogWhereInput,
25997
26033
  appAPI_ArticleBlogsArgs as ArticleBlogsArgs,
25998
26034
  appAPI_ArticleConnection as ArticleConnection,
@@ -27011,7 +27047,7 @@ type TypographyProps = {
27011
27047
  };
27012
27048
  type TypographyV2Props = Omit<TypographyProps, 'fontSize' | 'lineHeight'> & {
27013
27049
  fontSize?: ObjectDevices<string>;
27014
- lineHeight?: string;
27050
+ lineHeight?: ObjectDevices<string>;
27015
27051
  };
27016
27052
  type TypographyV2Attrs = {
27017
27053
  bold?: boolean;
@@ -27330,7 +27366,12 @@ declare const useCartLineStore: <U>(selector: (state: ExtractState<StoreApi<Cart
27330
27366
  type CollectionProductSelectFragment = Pick<Collection$1, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'title' | 'handle' | 'description' | 'descriptionHtml' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'tags' | 'isStorefront' | 'isSample'> & {
27331
27367
  products?: Maybe$1<{
27332
27368
  edges: Array<Pick<ProductEdge$1, 'cursor'> & {
27333
- node?: Maybe$1<Pick<Product$1, 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
27369
+ node?: Maybe$1<Pick<Product$1, 'tags' | 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
27370
+ collections?: Maybe$1<{
27371
+ edges: Array<{
27372
+ node?: Maybe$1<Pick<Collection$1, 'id' | 'title'>>;
27373
+ }>;
27374
+ }>;
27334
27375
  medias?: Maybe$1<{
27335
27376
  edges: Array<Pick<MediaEdge$1, 'cursor'> & {
27336
27377
  node?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
@@ -27403,7 +27444,12 @@ type ProductListProviderProps = ProductListContextProps & {
27403
27444
  declare const ProductListProvider: React.FC<ProductListProviderProps>;
27404
27445
  declare const useProductListStore: <U>(selector: (state: ExtractState<StoreApi<ProductListContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
27405
27446
 
27406
- type ProductSelectFragment = Pick<Product$1, 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
27447
+ type ProductSelectFragment = Pick<Product$1, 'tags' | 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
27448
+ collections?: Maybe$1<{
27449
+ edges: Array<{
27450
+ node?: Maybe$1<Pick<Collection$1, 'id' | 'title'>>;
27451
+ }>;
27452
+ }>;
27407
27453
  medias?: Maybe$1<{
27408
27454
  edges: Array<Pick<MediaEdge$1, 'cursor'> & {
27409
27455
  node?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
@@ -27575,6 +27621,39 @@ type ModalProviderProps = Pick<ModalContextProps, 'activeId'> & {
27575
27621
  declare const ModalProvider: React.FC<ModalProviderProps>;
27576
27622
  declare const useModalStore: <U>(selector: (state: ExtractState<StoreApi<ModalContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
27577
27623
 
27624
+ type ArticleListContextProps = {
27625
+ articles?: any[];
27626
+ blogs?: Blog$1[];
27627
+ settings?: {
27628
+ slidesToShow?: ObjectDevices<number | 'auto'>;
27629
+ };
27630
+ styles?: {
27631
+ horizontalGutter?: ObjectDevices<string>;
27632
+ verticalGutter?: ObjectDevices<string>;
27633
+ fullWidth?: ObjectDevices<boolean>;
27634
+ spacing?: ObjectDevices<number>;
27635
+ width?: ObjectDevices<string>;
27636
+ height?: ObjectDevices<string>;
27637
+ };
27638
+ };
27639
+ type ArticleListProviderProps = ArticleListContextProps & {
27640
+ children: React.ReactNode;
27641
+ };
27642
+ declare const ArticleListProvider: React.FC<ArticleListProviderProps>;
27643
+ declare const useArticleListStore: <U>(selector: (state: ExtractState<StoreApi<ArticleListContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
27644
+
27645
+ type Article = any;
27646
+ type ArticleContextProps = {
27647
+ article: Article;
27648
+ uniqueId: string;
27649
+ };
27650
+ type ArticleProviderProps = Pick<ArticleContextProps, 'article'> & {
27651
+ readOnly?: boolean;
27652
+ children: React.ReactNode;
27653
+ };
27654
+ declare const ArticleProvider: React.FC<ArticleProviderProps>;
27655
+ declare const useArticleStore: <U>(selector: (state: ExtractState<StoreApi<ArticleContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
27656
+
27578
27657
  type PageViewUpMutationVariables = Exact$1<{
27579
27658
  pageHandle: Scalars$2['String'];
27580
27659
  userAgent: Scalars$2['String'];
@@ -27601,7 +27680,12 @@ type CollectionDetailFilterQueryResponse = {
27601
27680
  node?: Maybe$1<Pick<Collection$1, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'title' | 'handle' | 'description' | 'descriptionHtml' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'tags' | 'isStorefront' | 'isSample'> & {
27602
27681
  products?: Maybe$1<{
27603
27682
  edges: Array<Pick<ProductEdge$1, 'cursor'> & {
27604
- node?: Maybe$1<Pick<Product$1, 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
27683
+ node?: Maybe$1<Pick<Product$1, 'tags' | 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
27684
+ collections?: Maybe$1<{
27685
+ edges: Array<{
27686
+ node?: Maybe$1<Pick<Collection$1, 'id' | 'title'>>;
27687
+ }>;
27688
+ }>;
27605
27689
  medias?: Maybe$1<{
27606
27690
  edges: Array<Pick<MediaEdge$1, 'cursor'> & {
27607
27691
  node?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
@@ -27731,7 +27815,12 @@ type ProductsQueryVariables = Exact$1<{
27731
27815
  type ProductsQueryResponse = {
27732
27816
  products?: Maybe$1<{
27733
27817
  edges: Array<Pick<ProductEdge$1, 'cursor'> & {
27734
- node?: Maybe$1<Pick<Product$1, 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
27818
+ node?: Maybe$1<Pick<Product$1, 'tags' | 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
27819
+ collections?: Maybe$1<{
27820
+ edges: Array<{
27821
+ node?: Maybe$1<Pick<Collection$1, 'id' | 'title'>>;
27822
+ }>;
27823
+ }>;
27735
27824
  medias?: Maybe$1<{
27736
27825
  edges: Array<Pick<MediaEdge$1, 'cursor'> & {
27737
27826
  node?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
@@ -27756,6 +27845,13 @@ type ProductsQueryResponse = {
27756
27845
  pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage'>>;
27757
27846
  }>;
27758
27847
  };
27848
+ type VariableRelatedStyles = {
27849
+ limit?: number | undefined;
27850
+ vendor?: string;
27851
+ idNEQ?: string;
27852
+ hasProductTagsWith?: InputMaybe$1<ProductTagWhereInput$1[]>;
27853
+ hasCollectionProductsWith?: InputMaybe$1<CollectionProductWhereInput$1[]>;
27854
+ };
27759
27855
  declare const ProductsDocument: string;
27760
27856
 
27761
27857
  type StorePropertyQueryVariables = Exact$1<{
@@ -27858,15 +27954,13 @@ declare const handleConvertClassColorDynamicBtn: (value?: BorderStyle) => string
27858
27954
  declare const composeBorderCss: (borderV?: Border | undefined) => string;
27859
27955
 
27860
27956
  type DotStyle = 'none' | 'inside' | 'outside';
27861
- declare const getCarouselContainerHeight: <T>(dotStyle?: Partial<Record<NameDevices$1, T>> | undefined, dotSize?: ObjectDevices<number>, dotGapToCarousel?: ObjectDevices<number>) => {
27957
+ declare const getCarouselContainerHeight: <T>(dotStyle?: Partial<Record<NameDevices$1, T>> | undefined) => {
27862
27958
  desktop: string | undefined;
27863
27959
  tablet: string | undefined;
27864
27960
  mobile: string | undefined;
27865
27961
  };
27866
27962
  declare const makeContainerWidthOrHeight: <T extends ShortHandProperty>(setting: {
27867
27963
  dotStyle?: ObjectDevices<DotStyle>;
27868
- dotSize?: ObjectDevices<number>;
27869
- dotGapToCarousel?: ObjectDevices<number>;
27870
27964
  vertical?: ObjectDevices<boolean>;
27871
27965
  }) => {
27872
27966
  [x: string]: string | undefined;
@@ -34002,6 +34096,8 @@ declare const makeHeight: (heighValue?: ObjectDevices<string | number>, autoHeig
34002
34096
  declare const makeAspectRatio: (aspectRatio?: ObjectDevices<string>, aspectWidth?: ObjectDevices<string | number>, aspectHeight?: ObjectDevices<string | number>) => ObjectDevices<string>;
34003
34097
  declare const makeLineClamp: (lineClampValue?: ObjectDevices<number>, hasLineClampValue?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
34004
34098
 
34099
+ declare const convertTextAlignToJustify: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
34100
+
34005
34101
  declare function getSelectedVariant(variants?: Maybe$1<VariantSelectFragment>[], choices?: Record<string, string>, variantId?: string | null): Maybe$1<VariantSelectFragment>;
34006
34102
  declare function parseSelectedOption(options: SelectedOption$1[]): SelectedOption$1 | undefined;
34007
34103
  declare function checkAvailableVariantInStock(variants: Maybe$1<VariantSelectFragment>[] | undefined, optionId: string, optionValue: string): boolean;
@@ -35757,6 +35853,7 @@ declare const useProductsQuery: (ids?: string[], options?: SWRConfiguration<Prod
35757
35853
  allStatus?: boolean;
35758
35854
  fetcher?: FetchFunc;
35759
35855
  }) => swr__internal.SWRResponse<ProductsQueryResponse, any, Partial<swr__internal.PublicConfiguration<ProductsQueryResponse, any, (arg: ["query/products", FetchProductsParams]) => swr__internal.FetcherResponse<ProductsQueryResponse>>> | undefined>;
35856
+ declare const useProductsQueryAll: (variable?: VariableRelatedStyles | undefined, options?: SWRConfiguration<ProductsQueryResponse>) => swr__internal.SWRResponse<ProductsQueryResponse, any, Partial<swr__internal.PublicConfiguration<ProductsQueryResponse, any, (arg: ["query/products", any]) => swr__internal.FetcherResponse<ProductsQueryResponse>>> | undefined>;
35760
35857
 
35761
35858
  declare const useCurrentDevice: () => NameDevices$1;
35762
35859
 
@@ -35837,6 +35934,64 @@ declare const useMoney: (amount: number) => UseMoneyValue;
35837
35934
 
35838
35935
  declare const usePrevious: <T>(value: T) => T | undefined;
35839
35936
 
35937
+ type BlogsQueryResponse = {
35938
+ blogs?: Maybe$1<Pick<BlogConnection$1, 'totalCount'> & {
35939
+ edges: Array<Pick<BlogEdge$1, 'cursor'> & {
35940
+ node?: Maybe$1<Pick<Blog$1, 'baseID' | 'description' | 'descriptionMeta' | 'handle' | 'id' | 'platform' | 'tags' | 'templateSuffix' | 'title' | 'titleMeta'>>;
35941
+ }>;
35942
+ pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>>;
35943
+ }>;
35944
+ };
35945
+
35946
+ declare const useArticlesQuery: () => ({
35947
+ baseID: string;
35948
+ id: number;
35949
+ title: string;
35950
+ created_at: string;
35951
+ body_html: string;
35952
+ blog_id: number;
35953
+ author: string;
35954
+ user_id: number;
35955
+ published_at: string;
35956
+ updated_at: string;
35957
+ summary_html: string;
35958
+ template_suffix: string;
35959
+ handle: string;
35960
+ tags: string;
35961
+ admin_graphql_api_id: string;
35962
+ image: {
35963
+ created_at: string;
35964
+ alt: string;
35965
+ width: number;
35966
+ height: number;
35967
+ src: string;
35968
+ };
35969
+ } | {
35970
+ baseID: string;
35971
+ id: number;
35972
+ title: string;
35973
+ created_at: string;
35974
+ body_html: string;
35975
+ blog_id: number;
35976
+ author: string;
35977
+ user_id: null;
35978
+ published_at: string;
35979
+ updated_at: string;
35980
+ summary_html: string;
35981
+ template_suffix: string;
35982
+ handle: string;
35983
+ tags: string;
35984
+ admin_graphql_api_id: string;
35985
+ image: {
35986
+ created_at: string;
35987
+ alt: string;
35988
+ width: number;
35989
+ height: number;
35990
+ src: string;
35991
+ };
35992
+ })[];
35993
+ declare const useBlogsQuery: () => BlogsQueryResponse;
35994
+
35840
35995
  declare const useUniqProductID: () => string;
35841
35996
  declare const useProduct: () => ProductSelectFragment | undefined;
35842
35997
  declare const useFeaturedImageGlobal: () => MediaSelectFragment | undefined;
@@ -35919,4 +36074,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage$1, 'id' | 'name'
35919
36074
 
35920
36075
  declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
35921
36076
 
35922
- 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, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
36077
+ 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.41.3",
3
+ "version": "1.42.0-dev.60",
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.40.0",
31
- "@gem-sdk/styles": "1.40.6"
30
+ "@gem-sdk/adapter-shopify": "1.42.0-dev.60",
31
+ "@gem-sdk/styles": "1.42.0-dev.60",
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",