@gem-sdk/core 1.5.14 → 1.5.15-fix.1

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.
@@ -65,8 +65,15 @@ function useConnectedShopify() {
65
65
  function useIsSampleProduct() {
66
66
  const { storefrontToken } = useStoreFront();
67
67
  return !storefrontToken;
68
+ }
69
+ function useCheckoutUrl(url) {
70
+ const { storefrontToken } = useStoreFront();
71
+ if (!url)
72
+ return undefined;
73
+ return storefrontToken ? `${url}?access_token=${storefrontToken}` : url;
68
74
  }
69
75
 
76
+ exports.useCheckoutUrl = useCheckoutUrl;
70
77
  exports.useConnectedShopify = useConnectedShopify;
71
78
  exports.useCurrency = useCurrency;
72
79
  exports.useEditorMode = useEditorMode;
@@ -6,17 +6,179 @@ var react = require('react');
6
6
  var shop = require('./shop.js');
7
7
 
8
8
  const NARROW_SYMBOL_MAP = {
9
- USD: '$',
9
+ AED: 'د.إ',
10
+ AFN: '؋',
11
+ ALL: 'L',
12
+ AMD: 'դր.',
13
+ ANG: 'ƒ',
14
+ AOA: 'Kz',
15
+ ARS: '$',
10
16
  AUD: '$',
17
+ AWG: 'ƒ',
18
+ AZN: '₼',
19
+ BAM: 'КМ',
20
+ BBD: '$',
21
+ BDT: '৳',
22
+ BGN: 'лв.',
23
+ BHD: 'ب.د',
24
+ BIF: 'Fr',
25
+ BMD: '$',
26
+ BND: '$',
27
+ BOB: 'Bs.',
28
+ BRL: 'R$',
29
+ BSD: '$',
30
+ BTN: 'Nu.',
31
+ BWP: 'P',
32
+ BYN: 'Br',
33
+ BYR: 'Br',
34
+ BZD: '$',
11
35
  CAD: '$',
12
- NZD: '$',
36
+ CDF: 'Fr',
37
+ CHF: 'CHF',
38
+ CLF: 'UF',
39
+ CLP: '$',
40
+ CNY: '¥',
41
+ COP: '$',
42
+ CRC: '₡',
43
+ CUC: '$',
44
+ CUP: '$',
45
+ CVE: '$',
46
+ CZK: 'Kč',
47
+ DJF: 'Fdj',
48
+ DKK: 'kr.',
49
+ DOP: '$',
50
+ DZD: 'د.ج',
51
+ EGP: 'ج.م',
52
+ ERN: 'Nfk',
53
+ ETB: 'Br',
13
54
  EUR: '€',
55
+ FJD: '$',
56
+ FKP: '£',
14
57
  GBP: '£',
58
+ GEL: 'ლ',
59
+ GHS: '₵',
60
+ GIP: '£',
61
+ GMD: 'D',
62
+ GNF: 'Fr',
63
+ GTQ: 'Q',
64
+ GYD: '$',
65
+ HKD: '$',
66
+ HNL: 'L',
67
+ HRK: 'kn',
68
+ HTG: 'G',
69
+ HUF: 'Ft',
70
+ IDR: 'Rp',
71
+ ILS: '₪',
15
72
  INR: '₹',
16
- RUB: '',
17
- CNY: '¥',
73
+ IQD: 'ع.د',
74
+ IRR: '',
75
+ ISK: 'kr',
76
+ JMD: '$',
77
+ JOD: 'د.ا',
18
78
  JPY: '¥',
19
- BRL: 'R$',
79
+ KES: 'KSh',
80
+ KGS: 'som',
81
+ KHR: '៛',
82
+ KMF: 'Fr',
83
+ KPW: '₩',
84
+ KRW: '₩',
85
+ KWD: 'د.ك',
86
+ KYD: '$',
87
+ KZT: '〒',
88
+ LAK: '₭',
89
+ LBP: 'ل.ل',
90
+ LKR: '₨',
91
+ LRD: '$',
92
+ LSL: 'L',
93
+ LTL: 'Lt',
94
+ LVL: 'Ls',
95
+ LYD: 'ل.د',
96
+ MAD: 'د.م.',
97
+ MDL: 'L',
98
+ MGA: 'Ar',
99
+ MKD: 'ден',
100
+ MMK: 'K',
101
+ MNT: '₮',
102
+ MOP: 'P',
103
+ MRU: 'UM',
104
+ MUR: '₨',
105
+ MVR: 'MVR',
106
+ MWK: 'MK',
107
+ MXN: '$',
108
+ MYR: 'RM',
109
+ MZN: 'MTn',
110
+ NAD: '$',
111
+ NGN: '₦',
112
+ NIO: 'C$',
113
+ NOK: 'kr',
114
+ NPR: '₨',
115
+ NZD: '$',
116
+ OMR: 'ر.ع.',
117
+ PAB: 'B/.',
118
+ PEN: 'S/.',
119
+ PGK: 'K',
120
+ PHP: '₱',
121
+ PKR: '₨',
122
+ PLN: 'zł',
123
+ PYG: '₲',
124
+ QAR: 'ر.ق',
125
+ RON: 'Lei',
126
+ RSD: 'РСД',
127
+ RUB: '₽',
128
+ RWF: 'FRw',
129
+ SAR: 'ر.س',
130
+ SBD: '$',
131
+ SCR: '₨',
132
+ SDG: '£',
133
+ SEK: 'kr',
134
+ SGD: '$',
135
+ SHP: '£',
136
+ SKK: 'Sk',
137
+ SLL: 'Le',
138
+ SOS: 'Sh',
139
+ SRD: '$',
140
+ SSP: '£',
141
+ STN: 'Db',
142
+ SVC: '₡',
143
+ SYP: '£S',
144
+ SZL: 'E',
145
+ THB: '฿',
146
+ TJS: 'ЅМ',
147
+ TMT: 'T',
148
+ TND: 'د.ت',
149
+ TOP: 'T$',
150
+ TRY: '₺',
151
+ TTD: '$',
152
+ TWD: '$',
153
+ TZS: 'Sh',
154
+ UAH: '₴',
155
+ UGX: 'USh',
156
+ USD: '$',
157
+ UYU: '$',
158
+ UZS: '',
159
+ VED: 'Bs.D.',
160
+ VES: 'Bs.S.',
161
+ VND: '₫',
162
+ VUV: 'Vt',
163
+ WST: 'T',
164
+ XAF: 'Fr',
165
+ XAG: 'oz t',
166
+ XAU: 'oz t',
167
+ XBA: '',
168
+ XBB: '',
169
+ XBC: '',
170
+ XBD: '',
171
+ XCD: '$',
172
+ XDR: 'SDR',
173
+ XOF: 'Fr',
174
+ XPD: 'oz t',
175
+ XPF: 'Fr',
176
+ XPT: 'oz t',
177
+ xts: '',
178
+ YER: '﷼',
179
+ ZAR: 'R',
180
+ ZMK: 'ZK',
181
+ ZMW: 'ZK',
20
182
  };
21
183
  const useMoney = (money) => {
22
184
  const { locale } = shop.useLocale();
package/dist/cjs/index.js CHANGED
@@ -184,6 +184,7 @@ exports.useCartNoteUpdate = useCartNoteUpdate.useCartNoteUpdate;
184
184
  exports.useCreateCart = useCreateCart.useCreateCart;
185
185
  exports.useRemoveCartItem = useRemoveCartItem.useRemoveCartItem;
186
186
  exports.useUpdateCartItem = useUpdateCartItem.useUpdateCartItem;
187
+ exports.useCheckoutUrl = shop.useCheckoutUrl;
187
188
  exports.useConnectedShopify = shop.useConnectedShopify;
188
189
  exports.useCurrency = shop.useCurrency;
189
190
  exports.useEditorMode = shop.useEditorMode;
@@ -194,6 +195,7 @@ exports.useMobileOnly = shop.useMobileOnly;
194
195
  exports.usePageType = shop.usePageType;
195
196
  exports.usePluginEnable = shop.usePluginEnable;
196
197
  exports.useStoreFront = shop.useStoreFront;
198
+ exports.useSwatches = shop.useSwatches;
197
199
  exports.useCollectionQuery = useCollectionQuery.useCollectionQuery;
198
200
  exports.useProductQuery = useProductQuery.useProductQuery;
199
201
  exports.useProductsQuery = useProductsQuery.useProductsQuery;
@@ -63,6 +63,12 @@ function useConnectedShopify() {
63
63
  function useIsSampleProduct() {
64
64
  const { storefrontToken } = useStoreFront();
65
65
  return !storefrontToken;
66
+ }
67
+ function useCheckoutUrl(url) {
68
+ const { storefrontToken } = useStoreFront();
69
+ if (!url)
70
+ return undefined;
71
+ return storefrontToken ? `${url}?access_token=${storefrontToken}` : url;
66
72
  }
67
73
 
68
- export { useConnectedShopify, useCurrency, useEditorMode, useIsSampleProduct, useLocale, useMatchMutate, useMobileOnly, usePageType, usePluginEnable, useStoreFront, useSwatches };
74
+ export { useCheckoutUrl, useConnectedShopify, useCurrency, useEditorMode, useIsSampleProduct, useLocale, useMatchMutate, useMobileOnly, usePageType, usePluginEnable, useStoreFront, useSwatches };
@@ -2,17 +2,179 @@ import { useMemo } from 'react';
2
2
  import { useLocale, useCurrency } from './shop.js';
3
3
 
4
4
  const NARROW_SYMBOL_MAP = {
5
- USD: '$',
5
+ AED: 'د.إ',
6
+ AFN: '؋',
7
+ ALL: 'L',
8
+ AMD: 'դր.',
9
+ ANG: 'ƒ',
10
+ AOA: 'Kz',
11
+ ARS: '$',
6
12
  AUD: '$',
13
+ AWG: 'ƒ',
14
+ AZN: '₼',
15
+ BAM: 'КМ',
16
+ BBD: '$',
17
+ BDT: '৳',
18
+ BGN: 'лв.',
19
+ BHD: 'ب.د',
20
+ BIF: 'Fr',
21
+ BMD: '$',
22
+ BND: '$',
23
+ BOB: 'Bs.',
24
+ BRL: 'R$',
25
+ BSD: '$',
26
+ BTN: 'Nu.',
27
+ BWP: 'P',
28
+ BYN: 'Br',
29
+ BYR: 'Br',
30
+ BZD: '$',
7
31
  CAD: '$',
8
- NZD: '$',
32
+ CDF: 'Fr',
33
+ CHF: 'CHF',
34
+ CLF: 'UF',
35
+ CLP: '$',
36
+ CNY: '¥',
37
+ COP: '$',
38
+ CRC: '₡',
39
+ CUC: '$',
40
+ CUP: '$',
41
+ CVE: '$',
42
+ CZK: 'Kč',
43
+ DJF: 'Fdj',
44
+ DKK: 'kr.',
45
+ DOP: '$',
46
+ DZD: 'د.ج',
47
+ EGP: 'ج.م',
48
+ ERN: 'Nfk',
49
+ ETB: 'Br',
9
50
  EUR: '€',
51
+ FJD: '$',
52
+ FKP: '£',
10
53
  GBP: '£',
54
+ GEL: 'ლ',
55
+ GHS: '₵',
56
+ GIP: '£',
57
+ GMD: 'D',
58
+ GNF: 'Fr',
59
+ GTQ: 'Q',
60
+ GYD: '$',
61
+ HKD: '$',
62
+ HNL: 'L',
63
+ HRK: 'kn',
64
+ HTG: 'G',
65
+ HUF: 'Ft',
66
+ IDR: 'Rp',
67
+ ILS: '₪',
11
68
  INR: '₹',
12
- RUB: '',
13
- CNY: '¥',
69
+ IQD: 'ع.د',
70
+ IRR: '',
71
+ ISK: 'kr',
72
+ JMD: '$',
73
+ JOD: 'د.ا',
14
74
  JPY: '¥',
15
- BRL: 'R$',
75
+ KES: 'KSh',
76
+ KGS: 'som',
77
+ KHR: '៛',
78
+ KMF: 'Fr',
79
+ KPW: '₩',
80
+ KRW: '₩',
81
+ KWD: 'د.ك',
82
+ KYD: '$',
83
+ KZT: '〒',
84
+ LAK: '₭',
85
+ LBP: 'ل.ل',
86
+ LKR: '₨',
87
+ LRD: '$',
88
+ LSL: 'L',
89
+ LTL: 'Lt',
90
+ LVL: 'Ls',
91
+ LYD: 'ل.د',
92
+ MAD: 'د.م.',
93
+ MDL: 'L',
94
+ MGA: 'Ar',
95
+ MKD: 'ден',
96
+ MMK: 'K',
97
+ MNT: '₮',
98
+ MOP: 'P',
99
+ MRU: 'UM',
100
+ MUR: '₨',
101
+ MVR: 'MVR',
102
+ MWK: 'MK',
103
+ MXN: '$',
104
+ MYR: 'RM',
105
+ MZN: 'MTn',
106
+ NAD: '$',
107
+ NGN: '₦',
108
+ NIO: 'C$',
109
+ NOK: 'kr',
110
+ NPR: '₨',
111
+ NZD: '$',
112
+ OMR: 'ر.ع.',
113
+ PAB: 'B/.',
114
+ PEN: 'S/.',
115
+ PGK: 'K',
116
+ PHP: '₱',
117
+ PKR: '₨',
118
+ PLN: 'zł',
119
+ PYG: '₲',
120
+ QAR: 'ر.ق',
121
+ RON: 'Lei',
122
+ RSD: 'РСД',
123
+ RUB: '₽',
124
+ RWF: 'FRw',
125
+ SAR: 'ر.س',
126
+ SBD: '$',
127
+ SCR: '₨',
128
+ SDG: '£',
129
+ SEK: 'kr',
130
+ SGD: '$',
131
+ SHP: '£',
132
+ SKK: 'Sk',
133
+ SLL: 'Le',
134
+ SOS: 'Sh',
135
+ SRD: '$',
136
+ SSP: '£',
137
+ STN: 'Db',
138
+ SVC: '₡',
139
+ SYP: '£S',
140
+ SZL: 'E',
141
+ THB: '฿',
142
+ TJS: 'ЅМ',
143
+ TMT: 'T',
144
+ TND: 'د.ت',
145
+ TOP: 'T$',
146
+ TRY: '₺',
147
+ TTD: '$',
148
+ TWD: '$',
149
+ TZS: 'Sh',
150
+ UAH: '₴',
151
+ UGX: 'USh',
152
+ USD: '$',
153
+ UYU: '$',
154
+ UZS: '',
155
+ VED: 'Bs.D.',
156
+ VES: 'Bs.S.',
157
+ VND: '₫',
158
+ VUV: 'Vt',
159
+ WST: 'T',
160
+ XAF: 'Fr',
161
+ XAG: 'oz t',
162
+ XAU: 'oz t',
163
+ XBA: '',
164
+ XBB: '',
165
+ XBC: '',
166
+ XBD: '',
167
+ XCD: '$',
168
+ XDR: 'SDR',
169
+ XOF: 'Fr',
170
+ XPD: 'oz t',
171
+ XPF: 'Fr',
172
+ XPT: 'oz t',
173
+ xts: '',
174
+ YER: '﷼',
175
+ ZAR: 'R',
176
+ ZMK: 'ZK',
177
+ ZMW: 'ZK',
16
178
  };
17
179
  const useMoney = (money) => {
18
180
  const { locale } = useLocale();
package/dist/esm/index.js CHANGED
@@ -58,7 +58,7 @@ export { useCartNoteUpdate } from './hooks/cart/use-cart-note-update.js';
58
58
  export { useCreateCart } from './hooks/cart/use-create-cart.js';
59
59
  export { useRemoveCartItem } from './hooks/cart/use-remove-cart-item.js';
60
60
  export { useUpdateCartItem } from './hooks/cart/use-update-cart-item.js';
61
- export { useConnectedShopify, useCurrency, useEditorMode, useIsSampleProduct, useLocale, useMatchMutate, useMobileOnly, usePageType, usePluginEnable, useStoreFront } from './hooks/shop.js';
61
+ export { useCheckoutUrl, useConnectedShopify, useCurrency, useEditorMode, useIsSampleProduct, useLocale, useMatchMutate, useMobileOnly, usePageType, usePluginEnable, useStoreFront, useSwatches } from './hooks/shop.js';
62
62
  export { useCollectionQuery } from './hooks/shop/use-collection-query.js';
63
63
  export { useProductQuery } from './hooks/shop/use-product-query.js';
64
64
  export { useProductsQuery } from './hooks/shop/use-products-query.js';
@@ -7332,6 +7332,10 @@ declare const useCurrency: () => {
7332
7332
  currency: string | undefined;
7333
7333
  changeCurrency: (currency: string) => void;
7334
7334
  };
7335
+ declare const useSwatches: () => {
7336
+ swatches: GlobalSwatchesData[] | undefined;
7337
+ changeSwatches: (swatches: GlobalSwatchesData[]) => void;
7338
+ };
7335
7339
  declare const usePageType: () => PublishedThemePageType;
7336
7340
  declare const useStoreFront: () => {
7337
7341
  provider: "SHOPIFY" | "BIGCOMMERCE" | undefined;
@@ -7344,6 +7348,7 @@ declare const useMobileOnly: () => boolean | undefined;
7344
7348
  declare const useMatchMutate: () => (matcher: RegExp, ...args: any[]) => Promise<any[][]>;
7345
7349
  declare function useConnectedShopify(): boolean;
7346
7350
  declare function useIsSampleProduct(): boolean;
7351
+ declare function useCheckoutUrl(url?: string): string | undefined;
7347
7352
 
7348
7353
  type Args$1 = {
7349
7354
  id?: string;
@@ -7506,4 +7511,4 @@ declare const fetchMedias: (fetcher: FetchFunc, { id, isSample }: FetchParams) =
7506
7511
 
7507
7512
  declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
7508
7513
 
7509
- export { AddOn, AddonProvider, AddonProviderProps, AlignItemProp, AlignProp, Background, BaseProps, BasePropsWrap, BlockEntity, Border, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CartLineProvider, CartLineProviderProps, CollectionDetailFilterDocument, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionDocument, CollectionProvider, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentSetting, ContainerProp, ControlProp, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, ExtractState, FetchFunc, FlexDirectionProp, FontName, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, HSLAColorType, HSLColorType, HexColorType, InitComponentType, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LooxReviewsWidgetType, NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, OptionNormalStyle, OptionSpecialStyle, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductProvider, ProductProviderProps, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, RenderMemo as Render, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveStateProp, RoundedSize, SectionData, SectionEntity, SectionProvider, SectionProviderProps, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeType, SpacingType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TransformProp, TypographyProps, TypographySetting, TypographyType, VariantSelectFragment, calculateFirstProduct, cls, composeRadius, composeSize, composeSpacing, fetchMedias, fetchVariants, flattenConnection, fpixel, genTypoClass, genVariable, getCollection, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleShadow, getStyleShadowState, globalEvent, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, isBrowser, isColor, isDefined, isEmptyChildren, isLocalEnv, loadScript, makeAspectRatio, makeHeight, makeStyle, makeStyleResponsive, makeStyleResponsiveState, makeStyleState, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, prefetchQueries, props, styles, template, tiktokpixel, useAddToCart, useAddon, useAddons, useBuilderComponent, useBuilderPreviewStore, useBuilderStore, useCartData, useCartDiscountCodesUpdate, useCartId, useCartLine, useCartLineStore, useCartNoteUpdate, useCartUI, useCollection, useCollectionQuery, useCollectionStore, useConnectedShopify, useCreateCart, useCurrency, useCurrentDevice, useCurrentVariant, useCurrentVariantInStock, useEditorMode, useFeaturedImageGlobal, useFormatMoney, useIsSampleProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useMoney, usePageType, usePluginEnable, usePrevious, useProduct, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
7514
+ export { AddOn, AddonProvider, AddonProviderProps, AlignItemProp, AlignProp, Background, BaseProps, BasePropsWrap, BlockEntity, Border, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CartLineProvider, CartLineProviderProps, CollectionDetailFilterDocument, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionDocument, CollectionProvider, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentSetting, ContainerProp, ControlProp, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, ExtractState, FetchFunc, FlexDirectionProp, FontName, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, HSLAColorType, HSLColorType, HexColorType, InitComponentType, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LooxReviewsWidgetType, NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, OptionNormalStyle, OptionSpecialStyle, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductProvider, ProductProviderProps, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, RenderMemo as Render, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveStateProp, RoundedSize, SectionData, SectionEntity, SectionProvider, SectionProviderProps, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeType, SpacingType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TransformProp, TypographyProps, TypographySetting, TypographyType, VariantSelectFragment, calculateFirstProduct, cls, composeRadius, composeSize, composeSpacing, fetchMedias, fetchVariants, flattenConnection, fpixel, genTypoClass, genVariable, getCollection, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleShadow, getStyleShadowState, globalEvent, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, isBrowser, isColor, isDefined, isEmptyChildren, isLocalEnv, loadScript, makeAspectRatio, makeHeight, makeStyle, makeStyleResponsive, makeStyleResponsiveState, makeStyleState, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, prefetchQueries, props, styles, template, tiktokpixel, useAddToCart, useAddon, useAddons, useBuilderComponent, useBuilderPreviewStore, useBuilderStore, useCartData, useCartDiscountCodesUpdate, useCartId, useCartLine, useCartLineStore, useCartNoteUpdate, useCartUI, useCheckoutUrl, useCollection, useCollectionQuery, useCollectionStore, useConnectedShopify, useCreateCart, useCurrency, useCurrentDevice, useCurrentVariant, useCurrentVariantInStock, useEditorMode, useFeaturedImageGlobal, useFormatMoney, useIsSampleProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useMoney, usePageType, usePluginEnable, usePrevious, useProduct, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.5.14",
3
+ "version": "1.5.15-fix.1",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -47,4 +47,4 @@
47
47
  "types": "./dist/types/index.d.ts"
48
48
  }
49
49
  }
50
- }
50
+ }