@gem-sdk/core 1.43.0-staging.1 → 1.43.0-staging.14

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.
@@ -10,7 +10,9 @@ const composeTypographyCss = (typography)=>{
10
10
  const typographyCustom = typography?.custom;
11
11
  const { fontFamily, fontSize, fontStyle, fontWeight, lineHeight, letterSpacing } = typographyCustom?.desktop ?? {};
12
12
  return `
13
- ${fontFamily ? `font-family: var(--g-font-${fontFamily}, ${fontFamily});` : ''}
13
+ ${fontFamily ? `fontFamily: ${composeFontFamilyTypographyV2({
14
+ fontFamily
15
+ })};` : ''}
14
16
  ${fontSize ? `font-size: ${fontSize};` : ''}
15
17
  ${fontStyle ? `font-style: ${fontStyle};` : ''}
16
18
  ${fontWeight ? `font-weight: ${fontWeight};` : ''}
@@ -25,11 +27,13 @@ const composeTypographyV2Css = (typography, isImportant)=>{
25
27
  const { bold, italic, underline, transform } = typographyAttrs ?? {};
26
28
  const composeImportant = isImportant ? '!important' : '';
27
29
  return `
28
- ${fontFamily ? `font-family: var(--g-font-${fontFamily}, ${fontFamily}) ${composeImportant};` : ''}
30
+ ${fontFamily ? composeFontFamilyTypographyV2({
31
+ fontFamily
32
+ }) : ''}
29
33
  ${fontSize?.desktop ? `font-size: ${fontSize?.desktop} ${composeImportant};` : ''}
30
34
  ${bold ? `font-weight: bold ${composeImportant};` : fontWeight ? `font-weight: ${fontWeight} ${composeImportant};` : ''}
31
35
  ${letterSpacing ? `letter-spacing: ${letterSpacing} ${composeImportant};` : ''}
32
- ${lineHeight ? `line-height: ${lineHeight} ${composeImportant};` : ''}
36
+ ${lineHeight?.desktop ? `line-height: ${lineHeight?.desktop} ${composeImportant};` : ''}
33
37
  ${italic ? `font-style: italic ${composeImportant};` : ''}
34
38
  ${underline ? `text-decoration-line: underline ${composeImportant};` : ''}
35
39
  ${transform ? `text-transform: ${transform} ${composeImportant};` : ''}
@@ -43,7 +47,9 @@ function getCustomCSSByDevice(typography, device) {
43
47
  [`--size${suffix}`]: typography?.[device]?.fontSize,
44
48
  [`--lh${suffix}`]: typography?.[device]?.lineHeight,
45
49
  [`--fs${suffix}`]: typography?.[device]?.fontStyle,
46
- [`--ff${suffix}`]: fontFamily ? `var(--g-font-${fontFamily}, ${fontFamily})` : undefined,
50
+ [`--ff${suffix}`]: composeFontFamilyTypographyV2({
51
+ fontFamily
52
+ }),
47
53
  [`--weight${suffix}`]: typography?.[device]?.fontWeight,
48
54
  [`--ls${suffix}`]: typography?.[device]?.letterSpacing
49
55
  };
@@ -61,14 +67,42 @@ const composeTypographyV2 = (value, attrs)=>{
61
67
  return makeStyle.removeNullUndefined({
62
68
  ...makeStyle.makeStyle({
63
69
  fs: !attrs?.italic ? value?.fontStyle : undefined,
64
- ff: value?.fontFamily ? `var(--g-font-${value.fontFamily.replace(/ /g, '-')}, '${value.fontFamily}'), ${value.fallbackFontFamily}` : undefined,
70
+ ff: composeFontFamilyTypographyV2(value),
65
71
  weight: !attrs?.bold ? value?.fontWeight : undefined,
66
- ls: value?.letterSpacing,
67
- lh: value?.lineHeight
72
+ ls: value?.letterSpacing
68
73
  }),
69
- ...makeStyle.makeStyleResponsive('size', value?.fontSize)
74
+ ...makeStyle.makeStyleResponsive('size', value?.fontSize),
75
+ ...makeStyle.makeStyleResponsive('lh', value?.lineHeight)
70
76
  });
71
77
  };
78
+ const composeFontFamilyTypographyV2 = (value)=>{
79
+ const fontFamily = value?.fontFamily;
80
+ if (!fontFamily) return;
81
+ if (typeof fontFamily === 'string') {
82
+ return getFontUsedByTypographyV2({
83
+ fontFamily,
84
+ fallbackFontFamily: value?.fallbackFontFamily
85
+ });
86
+ }
87
+ if (typeof fontFamily === 'object' && typeof fontFamily?.value === 'string') {
88
+ switch(fontFamily.type){
89
+ case 'theme':
90
+ return `var(${fontFamily?.value}), var(--g-font-body)`;
91
+ default:
92
+ return getFontUsedByTypographyV2({
93
+ fontFamily: fontFamily.value,
94
+ fallbackFontFamily: value?.fallbackFontFamily
95
+ });
96
+ }
97
+ }
98
+ return;
99
+ };
100
+ const getFontUsedByTypographyV2 = ({ fontFamily, fallbackFontFamily })=>{
101
+ if (fontFamily) {
102
+ return `var(--g-font-${fontFamily?.replace(/ /g, '-')}, '${fontFamily}'), ${fallbackFontFamily}`;
103
+ }
104
+ return;
105
+ };
72
106
  const composeTypographyAttr = (attrs)=>{
73
107
  if (!attrs) return {};
74
108
  return makeStyle.removeNullUndefined({
@@ -116,6 +150,7 @@ const composeTypographyStyle = (typo, typography, disableAttr)=>{
116
150
  };
117
151
 
118
152
  exports.composeFallbackTypographyStyle = composeFallbackTypographyStyle;
153
+ exports.composeFontFamilyTypographyV2 = composeFontFamilyTypographyV2;
119
154
  exports.composeTypography = composeTypography;
120
155
  exports.composeTypographyAttr = composeTypographyAttr;
121
156
  exports.composeTypographyClassName = composeTypographyClassName;
package/dist/cjs/index.js CHANGED
@@ -42,6 +42,13 @@ var isEmptyChildren = require('./helpers/is-empty-children.js');
42
42
  var isSafari = require('./helpers/is-safari.js');
43
43
  var normalizeBuilderData = require('./helpers/normalize-builder-data.js');
44
44
  var prefetchQueries = require('./helpers/prefetch-queries.js');
45
+ var email = require('./helpers/email.js');
46
+ var loadScript = require('./helpers/load-script.js');
47
+ var spacing = require('./helpers/spacing.js');
48
+ var cssVariable = require('./helpers/css-variable.js');
49
+ var fpixel = require('./helpers/tracking/fpixel.js');
50
+ var gtag = require('./helpers/tracking/gtag.js');
51
+ var tiktokpixel = require('./helpers/tracking/tiktokpixel.js');
45
52
  var background = require('./helpers/background.js');
46
53
  var colors = require('./helpers/colors.js');
47
54
  var composeAdvanceStyle = require('./helpers/compose-advance-style.js');
@@ -58,13 +65,6 @@ var render = require('./helpers/render.js');
58
65
  var shadow = require('./helpers/shadow.js');
59
66
  var size = require('./helpers/size.js');
60
67
  var typography = require('./helpers/typography.js');
61
- var email = require('./helpers/email.js');
62
- var loadScript = require('./helpers/load-script.js');
63
- var spacing = require('./helpers/spacing.js');
64
- var cssVariable = require('./helpers/css-variable.js');
65
- var fpixel = require('./helpers/tracking/fpixel.js');
66
- var gtag = require('./helpers/tracking/gtag.js');
67
- var tiktokpixel = require('./helpers/tracking/tiktokpixel.js');
68
68
  var useAddToCart = require('./hooks/cart/use-add-to-cart.js');
69
69
  var useCartData = require('./hooks/cart/use-cart-data.js');
70
70
  var useCartDiscountCodesUpdate = require('./hooks/cart/use-cart-discount-codes-update.js');
@@ -173,6 +173,14 @@ exports.isEmptyChildren = isEmptyChildren.isEmptyChildren;
173
173
  exports.isSafari = isSafari.default;
174
174
  exports.normalizeBuilderData = normalizeBuilderData.normalizeBuilderData;
175
175
  exports.prefetchQueries = prefetchQueries.prefetchQueries;
176
+ exports.validateEmail = email.validateEmail;
177
+ exports.loadScript = loadScript.loadScript;
178
+ exports.composeSpacing = spacing.composeSpacing;
179
+ exports.getSpacingVariable = spacing.getSpacingVariable;
180
+ exports.genVariable = cssVariable.genVariable;
181
+ exports.fpixel = fpixel;
182
+ exports.gtag = gtag;
183
+ exports.tiktokpixel = tiktokpixel;
176
184
  exports.GRADIENT_BGR_KEY = background.GRADIENT_BGR_KEY;
177
185
  exports.composeBackgroundCss = background.composeBackgroundCss;
178
186
  exports.getBgImageByDevice = background.getBgImageByDevice;
@@ -261,6 +269,7 @@ exports.makeGlobalSize = size.makeGlobalSize;
261
269
  exports.makeGlobalSizeIcon = size.makeGlobalSizeIcon;
262
270
  exports.makeStyleWithDefault = size.makeStyleWithDefault;
263
271
  exports.composeFallbackTypographyStyle = typography.composeFallbackTypographyStyle;
272
+ exports.composeFontFamilyTypographyV2 = typography.composeFontFamilyTypographyV2;
264
273
  exports.composeTypography = typography.composeTypography;
265
274
  exports.composeTypographyAttr = typography.composeTypographyAttr;
266
275
  exports.composeTypographyClassName = typography.composeTypographyClassName;
@@ -269,14 +278,6 @@ exports.composeTypographyStyle = typography.composeTypographyStyle;
269
278
  exports.composeTypographyV2 = typography.composeTypographyV2;
270
279
  exports.composeTypographyV2Css = typography.composeTypographyV2Css;
271
280
  exports.genTypoClass = typography.genTypoClass;
272
- exports.validateEmail = email.validateEmail;
273
- exports.loadScript = loadScript.loadScript;
274
- exports.composeSpacing = spacing.composeSpacing;
275
- exports.getSpacingVariable = spacing.getSpacingVariable;
276
- exports.genVariable = cssVariable.genVariable;
277
- exports.fpixel = fpixel;
278
- exports.gtag = gtag;
279
- exports.tiktokpixel = tiktokpixel;
280
281
  exports.useAddToCart = useAddToCart.useAddToCart;
281
282
  exports.useCartData = useCartData.useCartData;
282
283
  exports.useCartDiscountCodesUpdate = useCartDiscountCodesUpdate.useCartDiscountCodesUpdate;
@@ -8,7 +8,9 @@ const composeTypographyCss = (typography)=>{
8
8
  const typographyCustom = typography?.custom;
9
9
  const { fontFamily, fontSize, fontStyle, fontWeight, lineHeight, letterSpacing } = typographyCustom?.desktop ?? {};
10
10
  return `
11
- ${fontFamily ? `font-family: var(--g-font-${fontFamily}, ${fontFamily});` : ''}
11
+ ${fontFamily ? `fontFamily: ${composeFontFamilyTypographyV2({
12
+ fontFamily
13
+ })};` : ''}
12
14
  ${fontSize ? `font-size: ${fontSize};` : ''}
13
15
  ${fontStyle ? `font-style: ${fontStyle};` : ''}
14
16
  ${fontWeight ? `font-weight: ${fontWeight};` : ''}
@@ -23,11 +25,13 @@ const composeTypographyV2Css = (typography, isImportant)=>{
23
25
  const { bold, italic, underline, transform } = typographyAttrs ?? {};
24
26
  const composeImportant = isImportant ? '!important' : '';
25
27
  return `
26
- ${fontFamily ? `font-family: var(--g-font-${fontFamily}, ${fontFamily}) ${composeImportant};` : ''}
28
+ ${fontFamily ? composeFontFamilyTypographyV2({
29
+ fontFamily
30
+ }) : ''}
27
31
  ${fontSize?.desktop ? `font-size: ${fontSize?.desktop} ${composeImportant};` : ''}
28
32
  ${bold ? `font-weight: bold ${composeImportant};` : fontWeight ? `font-weight: ${fontWeight} ${composeImportant};` : ''}
29
33
  ${letterSpacing ? `letter-spacing: ${letterSpacing} ${composeImportant};` : ''}
30
- ${lineHeight ? `line-height: ${lineHeight} ${composeImportant};` : ''}
34
+ ${lineHeight?.desktop ? `line-height: ${lineHeight?.desktop} ${composeImportant};` : ''}
31
35
  ${italic ? `font-style: italic ${composeImportant};` : ''}
32
36
  ${underline ? `text-decoration-line: underline ${composeImportant};` : ''}
33
37
  ${transform ? `text-transform: ${transform} ${composeImportant};` : ''}
@@ -41,7 +45,9 @@ function getCustomCSSByDevice(typography, device) {
41
45
  [`--size${suffix}`]: typography?.[device]?.fontSize,
42
46
  [`--lh${suffix}`]: typography?.[device]?.lineHeight,
43
47
  [`--fs${suffix}`]: typography?.[device]?.fontStyle,
44
- [`--ff${suffix}`]: fontFamily ? `var(--g-font-${fontFamily}, ${fontFamily})` : undefined,
48
+ [`--ff${suffix}`]: composeFontFamilyTypographyV2({
49
+ fontFamily
50
+ }),
45
51
  [`--weight${suffix}`]: typography?.[device]?.fontWeight,
46
52
  [`--ls${suffix}`]: typography?.[device]?.letterSpacing
47
53
  };
@@ -59,14 +65,42 @@ const composeTypographyV2 = (value, attrs)=>{
59
65
  return removeNullUndefined({
60
66
  ...makeStyle({
61
67
  fs: !attrs?.italic ? value?.fontStyle : undefined,
62
- ff: value?.fontFamily ? `var(--g-font-${value.fontFamily.replace(/ /g, '-')}, '${value.fontFamily}'), ${value.fallbackFontFamily}` : undefined,
68
+ ff: composeFontFamilyTypographyV2(value),
63
69
  weight: !attrs?.bold ? value?.fontWeight : undefined,
64
- ls: value?.letterSpacing,
65
- lh: value?.lineHeight
70
+ ls: value?.letterSpacing
66
71
  }),
67
- ...makeStyleResponsive('size', value?.fontSize)
72
+ ...makeStyleResponsive('size', value?.fontSize),
73
+ ...makeStyleResponsive('lh', value?.lineHeight)
68
74
  });
69
75
  };
76
+ const composeFontFamilyTypographyV2 = (value)=>{
77
+ const fontFamily = value?.fontFamily;
78
+ if (!fontFamily) return;
79
+ if (typeof fontFamily === 'string') {
80
+ return getFontUsedByTypographyV2({
81
+ fontFamily,
82
+ fallbackFontFamily: value?.fallbackFontFamily
83
+ });
84
+ }
85
+ if (typeof fontFamily === 'object' && typeof fontFamily?.value === 'string') {
86
+ switch(fontFamily.type){
87
+ case 'theme':
88
+ return `var(${fontFamily?.value}), var(--g-font-body)`;
89
+ default:
90
+ return getFontUsedByTypographyV2({
91
+ fontFamily: fontFamily.value,
92
+ fallbackFontFamily: value?.fallbackFontFamily
93
+ });
94
+ }
95
+ }
96
+ return;
97
+ };
98
+ const getFontUsedByTypographyV2 = ({ fontFamily, fallbackFontFamily })=>{
99
+ if (fontFamily) {
100
+ return `var(--g-font-${fontFamily?.replace(/ /g, '-')}, '${fontFamily}'), ${fallbackFontFamily}`;
101
+ }
102
+ return;
103
+ };
70
104
  const composeTypographyAttr = (attrs)=>{
71
105
  if (!attrs) return {};
72
106
  return removeNullUndefined({
@@ -113,4 +147,4 @@ const composeTypographyStyle = (typo, typography, disableAttr)=>{
113
147
  };
114
148
  };
115
149
 
116
- export { composeFallbackTypographyStyle, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, genTypoClass };
150
+ export { composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, genTypoClass };
package/dist/esm/index.js CHANGED
@@ -40,6 +40,16 @@ export { isEmptyChildren } from './helpers/is-empty-children.js';
40
40
  export { default as isSafari } from './helpers/is-safari.js';
41
41
  export { normalizeBuilderData } from './helpers/normalize-builder-data.js';
42
42
  export { prefetchQueries } from './helpers/prefetch-queries.js';
43
+ export { validateEmail } from './helpers/email.js';
44
+ export { loadScript } from './helpers/load-script.js';
45
+ export { composeSpacing, getSpacingVariable } from './helpers/spacing.js';
46
+ export { genVariable } from './helpers/css-variable.js';
47
+ import * as fpixel from './helpers/tracking/fpixel.js';
48
+ export { fpixel };
49
+ import * as gtag from './helpers/tracking/gtag.js';
50
+ export { gtag };
51
+ import * as tiktokpixel from './helpers/tracking/tiktokpixel.js';
52
+ export { tiktokpixel };
43
53
  export { GRADIENT_BGR_KEY, composeBackgroundCss, getBgImageByDevice, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getStyleBackgroundByDevice, makeFixedBgAttachment } from './helpers/background.js';
44
54
  export { composeTextColorCss, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getSingleColorVariable, isColor } from './helpers/colors.js';
45
55
  export { composeAdvanceStyle, composeAdvanceStyleForPostPurchase, filterAttrInStyle, filterCornerInStyle, removeAttrInStyle, removePaddingYInStyle, splitStyle } from './helpers/compose-advance-style.js';
@@ -55,17 +65,7 @@ export { composeCornerCss, composeRadius, composeRadiusResponsive, getCornerCSSF
55
65
  export { RenderIf, composeMemo, dataStringify, props, removeUndefinedValuesFromObject, styles, template } from './helpers/render.js';
56
66
  export { composeShadowCss, getStyleShadow, getStyleShadowState, parseValueWithUnit } from './helpers/shadow.js';
57
67
  export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeGlobalSizeIcon, makeStyleWithDefault } from './helpers/size.js';
58
- export { composeFallbackTypographyStyle, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, genTypoClass } from './helpers/typography.js';
59
- export { validateEmail } from './helpers/email.js';
60
- export { loadScript } from './helpers/load-script.js';
61
- export { composeSpacing, getSpacingVariable } from './helpers/spacing.js';
62
- export { genVariable } from './helpers/css-variable.js';
63
- import * as fpixel from './helpers/tracking/fpixel.js';
64
- export { fpixel };
65
- import * as gtag from './helpers/tracking/gtag.js';
66
- export { gtag };
67
- import * as tiktokpixel from './helpers/tracking/tiktokpixel.js';
68
- export { tiktokpixel };
68
+ export { composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, genTypoClass } from './helpers/typography.js';
69
69
  export { useAddToCart } from './hooks/cart/use-add-to-cart.js';
70
70
  export { useCartData } from './hooks/cart/use-cart-data.js';
71
71
  export { useCartDiscountCodesUpdate } from './hooks/cart/use-cart-discount-codes-update.js';
@@ -7697,6 +7697,7 @@ type ProductOffersControlType<T> = SharedControlType<T> & {
7697
7697
 
7698
7698
  type DiscountAndShippingFee<T> = SharedControlType<T> & {
7699
7699
  type: 'discount-and-shipping-fee-product-offer';
7700
+ multiple: boolean;
7700
7701
  };
7701
7702
 
7702
7703
  type PostPurchaseTextareaControlType<T> = SharedControlType<T> & {
@@ -26989,6 +26990,13 @@ declare namespace appAPI {
26989
26990
  };
26990
26991
  }
26991
26992
 
26993
+ type NameDevices = 'desktop' | 'tablet' | 'mobile';
26994
+ type TypographyV2Family = string | {
26995
+ value: string;
26996
+ type: TypographyV2FontFamilyType;
26997
+ };
26998
+ type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme';
26999
+
26992
27000
  /**
26993
27001
  * @deprecated Please use `TypographySettingV2`
26994
27002
  */
@@ -27014,14 +27022,14 @@ type TypographyProps = {
27014
27022
  fontSize?: string;
27015
27023
  fontWeight?: string | number;
27016
27024
  fontStyle?: string;
27017
- fontFamily?: string;
27025
+ fontFamily?: TypographyV2Family;
27018
27026
  lineHeight?: string;
27019
27027
  letterSpacing?: string;
27020
27028
  fallbackFontFamily?: string;
27021
27029
  };
27022
27030
  type TypographyV2Props = Omit<TypographyProps, 'fontSize' | 'lineHeight'> & {
27023
27031
  fontSize?: ObjectDevices<string>;
27024
- lineHeight?: string;
27032
+ lineHeight?: ObjectDevices<string>;
27025
27033
  };
27026
27034
  type TypographyV2Attrs = {
27027
27035
  bold?: boolean;
@@ -27088,6 +27096,9 @@ type GlobalStyleResponsiveConfig = {
27088
27096
  spacing?: Partial<Record<SpacingType, ObjectDeviceGlobalType<string>>>;
27089
27097
  container?: Partial<Record<ContainerProp, ObjectDeviceGlobalType<string>>>;
27090
27098
  radius?: Partial<Record<RoundedSize, string>>;
27099
+ theme?: {
27100
+ font?: Partial<Record<FontName, any>>;
27101
+ };
27091
27102
  };
27092
27103
  type GlobalStyleConfig = {
27093
27104
  color?: Partial<Record<ColorType$1, string>>;
@@ -27096,6 +27107,9 @@ type GlobalStyleConfig = {
27096
27107
  spacing?: Partial<Record<SpacingType, string>>;
27097
27108
  container?: Partial<Record<ContainerProp, string>>;
27098
27109
  radius?: Partial<Record<RoundedSize, string>>;
27110
+ theme?: {
27111
+ font?: Partial<Record<FontName, any>>;
27112
+ };
27099
27113
  };
27100
27114
  type ShadowStyleApplied = 'text-shadow' | 'box-shadow';
27101
27115
  type ShadowType = 'shadow-1' | 'shadow-2' | 'shadow-3';
@@ -27964,6 +27978,72 @@ declare const prefetchQueries: (input: BuilderState, options?: {
27964
27978
  isStorefront?: boolean;
27965
27979
  }) => Result[];
27966
27980
 
27981
+ declare const validateEmail: (email: string) => boolean;
27982
+
27983
+ declare function loadScript(src: string, options?: {
27984
+ module?: boolean;
27985
+ in?: 'head' | 'body';
27986
+ }): Promise<boolean>;
27987
+
27988
+ declare function getSpacingVariable(key?: SpacingType): string;
27989
+ declare const composeSpacing: (spacingValue?: ObjectDevices<SpacingType>) => React.CSSProperties;
27990
+
27991
+ declare const genVariable: (variableName: string) => string;
27992
+
27993
+ declare const pageview$1: () => void;
27994
+ declare const event: (name: string, options?: {}) => void;
27995
+ declare const addToCart$2: (product: ProductInputAnalytic) => void;
27996
+
27997
+ declare const fpixel_event: typeof event;
27998
+ declare namespace fpixel {
27999
+ export {
28000
+ addToCart$2 as addToCart,
28001
+ fpixel_event as event,
28002
+ pageview$1 as pageview,
28003
+ };
28004
+ }
28005
+
28006
+ declare const pageview: (url: string, trackingId?: string | null) => void;
28007
+ /** Addition to cart events
28008
+ * https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#add-remove-cart
28009
+ */
28010
+ declare const addToCart$1: (product: ProductInputAnalytic) => void;
28011
+ /** Product clicked event
28012
+ * https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#product-click
28013
+ */
28014
+ declare const productClick: (product: ProductInputAnalytic) => void;
28015
+ /** Product viewed event
28016
+ * https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#measuring-actvities
28017
+ */
28018
+ declare const productDetail: (product: ProductInputAnalytic) => void;
28019
+ /** Removal from cart events
28020
+ * https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#add-remove-cart
28021
+ */
28022
+ declare const removeFromCart: (product: ProductInputAnalytic, price: number) => void;
28023
+
28024
+ declare const gtag_pageview: typeof pageview;
28025
+ declare const gtag_productClick: typeof productClick;
28026
+ declare const gtag_productDetail: typeof productDetail;
28027
+ declare const gtag_removeFromCart: typeof removeFromCart;
28028
+ declare namespace gtag {
28029
+ export {
28030
+ addToCart$1 as addToCart,
28031
+ gtag_pageview as pageview,
28032
+ gtag_productClick as productClick,
28033
+ gtag_productDetail as productDetail,
28034
+ gtag_removeFromCart as removeFromCart,
28035
+ };
28036
+ }
28037
+
28038
+ declare const addToCart: (product: ProductInputAnalytic) => void;
28039
+
28040
+ declare const tiktokpixel_addToCart: typeof addToCart;
28041
+ declare namespace tiktokpixel {
28042
+ export {
28043
+ tiktokpixel_addToCart as addToCart,
28044
+ };
28045
+ }
28046
+
27967
28047
  type Devices = 'desktop' | 'tablet' | 'mobile';
27968
28048
  type Options = {
27969
28049
  liquid?: boolean;
@@ -33992,8 +34072,6 @@ declare const baseAssetURL: string;
33992
34072
 
33993
34073
  declare const convertHTML: (str: string) => string;
33994
34074
 
33995
- type NameDevices = 'desktop' | 'tablet' | 'mobile';
33996
-
33997
34075
  type PostionType = {
33998
34076
  wrapper?: Record<string, string | number>;
33999
34077
  content?: Record<string, string | number>;
@@ -34146,6 +34224,7 @@ declare const composeTypographyCss: (typography: TypographySetting | undefined)
34146
34224
  declare const composeTypographyV2Css: (typography: TypographySettingV2 | undefined, isImportant?: boolean) => string;
34147
34225
  declare const composeTypography: (typography?: ObjectDevices<TypographyProps>) => React.CSSProperties;
34148
34226
  declare const composeTypographyV2: (value?: TypographyV2Props, attrs?: TypographyV2Attrs) => React.CSSProperties;
34227
+ declare const composeFontFamilyTypographyV2: (value?: TypographyV2Props) => string | undefined;
34149
34228
  declare const composeTypographyAttr: (attrs?: TypographyV2Attrs) => React.CSSProperties;
34150
34229
  declare const composeTypographyClassName: (typo?: TypographySettingV2, typography?: TypographySetting) => "" | "gp-g-heading-1" | "gp-g-heading-2" | "gp-g-heading-3" | "gp-g-subheading-1" | "gp-g-subheading-2" | "gp-g-subheading-3" | "gp-g-paragraph-1" | "gp-g-paragraph-2" | "gp-g-paragraph-3" | undefined;
34151
34230
  declare const composeFallbackTypographyStyle: (tag: string) => "var(--g-font-heading, heading)" | "var(--g-font-body, body)";
@@ -35645,72 +35724,6 @@ declare const composeTypographyStyle: (typo?: TypographySettingV2, typography?:
35645
35724
  vectorEffect?: csstype.Property.VectorEffect | undefined;
35646
35725
  };
35647
35726
 
35648
- declare const validateEmail: (email: string) => boolean;
35649
-
35650
- declare function loadScript(src: string, options?: {
35651
- module?: boolean;
35652
- in?: 'head' | 'body';
35653
- }): Promise<boolean>;
35654
-
35655
- declare function getSpacingVariable(key?: SpacingType): string;
35656
- declare const composeSpacing: (spacingValue?: ObjectDevices<SpacingType>) => React.CSSProperties;
35657
-
35658
- declare const genVariable: (variableName: string) => string;
35659
-
35660
- declare const pageview$1: () => void;
35661
- declare const event: (name: string, options?: {}) => void;
35662
- declare const addToCart$2: (product: ProductInputAnalytic) => void;
35663
-
35664
- declare const fpixel_event: typeof event;
35665
- declare namespace fpixel {
35666
- export {
35667
- addToCart$2 as addToCart,
35668
- fpixel_event as event,
35669
- pageview$1 as pageview,
35670
- };
35671
- }
35672
-
35673
- declare const pageview: (url: string, trackingId?: string | null) => void;
35674
- /** Addition to cart events
35675
- * https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#add-remove-cart
35676
- */
35677
- declare const addToCart$1: (product: ProductInputAnalytic) => void;
35678
- /** Product clicked event
35679
- * https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#product-click
35680
- */
35681
- declare const productClick: (product: ProductInputAnalytic) => void;
35682
- /** Product viewed event
35683
- * https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#measuring-actvities
35684
- */
35685
- declare const productDetail: (product: ProductInputAnalytic) => void;
35686
- /** Removal from cart events
35687
- * https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#add-remove-cart
35688
- */
35689
- declare const removeFromCart: (product: ProductInputAnalytic, price: number) => void;
35690
-
35691
- declare const gtag_pageview: typeof pageview;
35692
- declare const gtag_productClick: typeof productClick;
35693
- declare const gtag_productDetail: typeof productDetail;
35694
- declare const gtag_removeFromCart: typeof removeFromCart;
35695
- declare namespace gtag {
35696
- export {
35697
- addToCart$1 as addToCart,
35698
- gtag_pageview as pageview,
35699
- gtag_productClick as productClick,
35700
- gtag_productDetail as productDetail,
35701
- gtag_removeFromCart as removeFromCart,
35702
- };
35703
- }
35704
-
35705
- declare const addToCart: (product: ProductInputAnalytic) => void;
35706
-
35707
- declare const tiktokpixel_addToCart: typeof addToCart;
35708
- declare namespace tiktokpixel {
35709
- export {
35710
- tiktokpixel_addToCart as addToCart,
35711
- };
35712
- }
35713
-
35714
35727
  type Func$6 = ReturnType<typeof addToCartOperation>;
35715
35728
  type Response$6 = Awaited<ReturnType<Func$6>>;
35716
35729
  type Args$5 = Parameters<Func$6>[0];
@@ -35957,4 +35970,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage$1, 'id' | 'name'
35957
35970
 
35958
35971
  declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
35959
35972
 
35960
- 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 };
35973
+ 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, composeFontFamilyTypographyV2, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.43.0-staging.1",
3
+ "version": "1.43.0-staging.14",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -27,8 +27,8 @@
27
27
  "type-check": "yarn tsc --noEmit"
28
28
  },
29
29
  "devDependencies": {
30
- "@gem-sdk/adapter-shopify": "1.42.3-staging.0",
31
- "@gem-sdk/styles": "1.42.3-staging.0"
30
+ "@gem-sdk/adapter-shopify": "1.43.0-staging.14",
31
+ "@gem-sdk/styles": "1.43.0-staging.14"
32
32
  },
33
33
  "dependencies": {
34
34
  "react-error-boundary": "4.0.10",