@gem-sdk/core 1.43.0-dev.74 → 1.43.0-dev.81

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,7 +27,9 @@ 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};` : ''}
@@ -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,7 +67,7 @@ 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
72
  ls: value?.letterSpacing
67
73
  }),
@@ -69,6 +75,34 @@ const composeTypographyV2 = (value, attrs)=>{
69
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
@@ -44,6 +44,13 @@ var isEmptyChildren = require('./helpers/is-empty-children.js');
44
44
  var isSafari = require('./helpers/is-safari.js');
45
45
  var normalizeBuilderData = require('./helpers/normalize-builder-data.js');
46
46
  var prefetchQueries = require('./helpers/prefetch-queries.js');
47
+ var email = require('./helpers/email.js');
48
+ var loadScript = require('./helpers/load-script.js');
49
+ var spacing = require('./helpers/spacing.js');
50
+ var cssVariable = require('./helpers/css-variable.js');
51
+ var fpixel = require('./helpers/tracking/fpixel.js');
52
+ var gtag = require('./helpers/tracking/gtag.js');
53
+ var tiktokpixel = require('./helpers/tracking/tiktokpixel.js');
47
54
  var background = require('./helpers/background.js');
48
55
  var colors = require('./helpers/colors.js');
49
56
  var composeAdvanceStyle = require('./helpers/compose-advance-style.js');
@@ -61,13 +68,6 @@ var render = require('./helpers/render.js');
61
68
  var shadow = require('./helpers/shadow.js');
62
69
  var size = require('./helpers/size.js');
63
70
  var typography = require('./helpers/typography.js');
64
- var email = require('./helpers/email.js');
65
- var loadScript = require('./helpers/load-script.js');
66
- var spacing = require('./helpers/spacing.js');
67
- var cssVariable = require('./helpers/css-variable.js');
68
- var fpixel = require('./helpers/tracking/fpixel.js');
69
- var gtag = require('./helpers/tracking/gtag.js');
70
- var tiktokpixel = require('./helpers/tracking/tiktokpixel.js');
71
71
  var useAddToCart = require('./hooks/cart/use-add-to-cart.js');
72
72
  var useCartData = require('./hooks/cart/use-cart-data.js');
73
73
  var useCartDiscountCodesUpdate = require('./hooks/cart/use-cart-discount-codes-update.js');
@@ -181,6 +181,14 @@ exports.isEmptyChildren = isEmptyChildren.isEmptyChildren;
181
181
  exports.isSafari = isSafari.default;
182
182
  exports.normalizeBuilderData = normalizeBuilderData.normalizeBuilderData;
183
183
  exports.prefetchQueries = prefetchQueries.prefetchQueries;
184
+ exports.validateEmail = email.validateEmail;
185
+ exports.loadScript = loadScript.loadScript;
186
+ exports.composeSpacing = spacing.composeSpacing;
187
+ exports.getSpacingVariable = spacing.getSpacingVariable;
188
+ exports.genVariable = cssVariable.genVariable;
189
+ exports.fpixel = fpixel;
190
+ exports.gtag = gtag;
191
+ exports.tiktokpixel = tiktokpixel;
184
192
  exports.GRADIENT_BGR_KEY = background.GRADIENT_BGR_KEY;
185
193
  exports.composeBackgroundCss = background.composeBackgroundCss;
186
194
  exports.getBgImageByDevice = background.getBgImageByDevice;
@@ -270,6 +278,7 @@ exports.makeGlobalSize = size.makeGlobalSize;
270
278
  exports.makeGlobalSizeIcon = size.makeGlobalSizeIcon;
271
279
  exports.makeStyleWithDefault = size.makeStyleWithDefault;
272
280
  exports.composeFallbackTypographyStyle = typography.composeFallbackTypographyStyle;
281
+ exports.composeFontFamilyTypographyV2 = typography.composeFontFamilyTypographyV2;
273
282
  exports.composeTypography = typography.composeTypography;
274
283
  exports.composeTypographyAttr = typography.composeTypographyAttr;
275
284
  exports.composeTypographyClassName = typography.composeTypographyClassName;
@@ -278,14 +287,6 @@ exports.composeTypographyStyle = typography.composeTypographyStyle;
278
287
  exports.composeTypographyV2 = typography.composeTypographyV2;
279
288
  exports.composeTypographyV2Css = typography.composeTypographyV2Css;
280
289
  exports.genTypoClass = typography.genTypoClass;
281
- exports.validateEmail = email.validateEmail;
282
- exports.loadScript = loadScript.loadScript;
283
- exports.composeSpacing = spacing.composeSpacing;
284
- exports.getSpacingVariable = spacing.getSpacingVariable;
285
- exports.genVariable = cssVariable.genVariable;
286
- exports.fpixel = fpixel;
287
- exports.gtag = gtag;
288
- exports.tiktokpixel = tiktokpixel;
289
290
  exports.useAddToCart = useAddToCart.useAddToCart;
290
291
  exports.useCartData = useCartData.useCartData;
291
292
  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,7 +25,9 @@ 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};` : ''}
@@ -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,7 +65,7 @@ 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
70
  ls: value?.letterSpacing
65
71
  }),
@@ -67,6 +73,34 @@ const composeTypographyV2 = (value, attrs)=>{
67
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
@@ -42,6 +42,16 @@ export { isEmptyChildren } from './helpers/is-empty-children.js';
42
42
  export { default as isSafari } from './helpers/is-safari.js';
43
43
  export { normalizeBuilderData } from './helpers/normalize-builder-data.js';
44
44
  export { prefetchQueries } from './helpers/prefetch-queries.js';
45
+ export { validateEmail } from './helpers/email.js';
46
+ export { loadScript } from './helpers/load-script.js';
47
+ export { composeSpacing, getSpacingVariable } from './helpers/spacing.js';
48
+ export { genVariable } from './helpers/css-variable.js';
49
+ import * as fpixel from './helpers/tracking/fpixel.js';
50
+ export { fpixel };
51
+ import * as gtag from './helpers/tracking/gtag.js';
52
+ export { gtag };
53
+ import * as tiktokpixel from './helpers/tracking/tiktokpixel.js';
54
+ export { tiktokpixel };
45
55
  export { GRADIENT_BGR_KEY, composeBackgroundCss, getBgImageByDevice, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getStyleBackgroundByDevice, makeFixedBgAttachment } from './helpers/background.js';
46
56
  export { composeTextColorCss, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getSingleColorVariable, isColor } from './helpers/colors.js';
47
57
  export { composeAdvanceStyle, composeAdvanceStyleForPostPurchase, filterAttrInStyle, filterCornerInStyle, removeAttrInStyle, removePaddingYInStyle, splitStyle } from './helpers/compose-advance-style.js';
@@ -58,17 +68,7 @@ export { composeCornerCss, composeRadius, composeRadiusResponsive, getCornerCSSF
58
68
  export { RenderIf, composeMemo, dataStringify, props, removeUndefinedValuesFromObject, styles, template } from './helpers/render.js';
59
69
  export { composeShadowCss, getStyleShadow, getStyleShadowState, parseValueWithUnit } from './helpers/shadow.js';
60
70
  export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeGlobalSizeIcon, makeStyleWithDefault } from './helpers/size.js';
61
- export { composeFallbackTypographyStyle, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, genTypoClass } from './helpers/typography.js';
62
- export { validateEmail } from './helpers/email.js';
63
- export { loadScript } from './helpers/load-script.js';
64
- export { composeSpacing, getSpacingVariable } from './helpers/spacing.js';
65
- export { genVariable } from './helpers/css-variable.js';
66
- import * as fpixel from './helpers/tracking/fpixel.js';
67
- export { fpixel };
68
- import * as gtag from './helpers/tracking/gtag.js';
69
- export { gtag };
70
- import * as tiktokpixel from './helpers/tracking/tiktokpixel.js';
71
- export { tiktokpixel };
71
+ export { composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, genTypoClass } from './helpers/typography.js';
72
72
  export { useAddToCart } from './hooks/cart/use-add-to-cart.js';
73
73
  export { useCartData } from './hooks/cart/use-cart-data.js';
74
74
  export { useCartDiscountCodesUpdate } from './hooks/cart/use-cart-discount-codes-update.js';
@@ -6947,7 +6947,7 @@ type InputNumberControlType<T> = SharedControlType<T> & {
6947
6947
  readonly?: boolean;
6948
6948
  };
6949
6949
 
6950
- type SizeUnit$2 = 's' | '%' | 'cm' | 'mm' | 'Q' | 'in' | 'pc' | 'pt' | 'px' | 'em' | 'cap' | 'ex' | 'ch' | 'ic' | 'rem' | 'lh' | 'rlh' | 'vw' | 'vh' | 'vi' | 'vb' | 'vmin' | 'vmax' | 'ms' | 'min';
6950
+ type SizeUnit$2 = 's' | '%' | 'cm' | 'mm' | 'Q' | 'in' | 'pc' | 'pt' | 'px' | 'em' | 'cap' | 'ex' | 'ch' | 'ic' | 'rem' | 'lh' | 'rlh' | 'vw' | 'vh' | 'vi' | 'vb' | 'vmin' | 'vmax' | 'ms' | 'min' | 'days';
6951
6951
  type InputUnitControlType<T> = SharedControlType<T> & {
6952
6952
  type: 'input:unit';
6953
6953
  placeholder?: string;
@@ -27034,6 +27034,13 @@ declare namespace appAPI {
27034
27034
  };
27035
27035
  }
27036
27036
 
27037
+ type NameDevices = 'desktop' | 'tablet' | 'mobile';
27038
+ type TypographyV2Family = string | {
27039
+ value: string;
27040
+ type: TypographyV2FontFamilyType;
27041
+ };
27042
+ type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme';
27043
+
27037
27044
  /**
27038
27045
  * @deprecated Please use `TypographySettingV2`
27039
27046
  */
@@ -27059,7 +27066,7 @@ type TypographyProps = {
27059
27066
  fontSize?: string;
27060
27067
  fontWeight?: string | number;
27061
27068
  fontStyle?: string;
27062
- fontFamily?: string;
27069
+ fontFamily?: TypographyV2Family;
27063
27070
  lineHeight?: string;
27064
27071
  letterSpacing?: string;
27065
27072
  fallbackFontFamily?: string;
@@ -27133,6 +27140,9 @@ type GlobalStyleResponsiveConfig = {
27133
27140
  spacing?: Partial<Record<SpacingType, ObjectDeviceGlobalType<string>>>;
27134
27141
  container?: Partial<Record<ContainerProp, ObjectDeviceGlobalType<string>>>;
27135
27142
  radius?: Partial<Record<RoundedSize, string>>;
27143
+ theme?: {
27144
+ font?: Partial<Record<FontName, any>>;
27145
+ };
27136
27146
  };
27137
27147
  type GlobalStyleConfig = {
27138
27148
  color?: Partial<Record<ColorType$1, string>>;
@@ -27141,6 +27151,9 @@ type GlobalStyleConfig = {
27141
27151
  spacing?: Partial<Record<SpacingType, string>>;
27142
27152
  container?: Partial<Record<ContainerProp, string>>;
27143
27153
  radius?: Partial<Record<RoundedSize, string>>;
27154
+ theme?: {
27155
+ font?: Partial<Record<FontName, any>>;
27156
+ };
27144
27157
  };
27145
27158
  type ShadowStyleApplied = 'text-shadow' | 'box-shadow';
27146
27159
  type ShadowType = 'shadow-1' | 'shadow-2' | 'shadow-3';
@@ -28040,6 +28053,72 @@ declare const prefetchQueries: (input: BuilderState, options?: {
28040
28053
  isStorefront?: boolean;
28041
28054
  }) => Result[];
28042
28055
 
28056
+ declare const validateEmail: (email: string) => boolean;
28057
+
28058
+ declare function loadScript(src: string, options?: {
28059
+ module?: boolean;
28060
+ in?: 'head' | 'body';
28061
+ }): Promise<boolean>;
28062
+
28063
+ declare function getSpacingVariable(key?: SpacingType): string;
28064
+ declare const composeSpacing: (spacingValue?: ObjectDevices<SpacingType>) => React.CSSProperties;
28065
+
28066
+ declare const genVariable: (variableName: string) => string;
28067
+
28068
+ declare const pageview$1: () => void;
28069
+ declare const event: (name: string, options?: {}) => void;
28070
+ declare const addToCart$2: (product: ProductInputAnalytic) => void;
28071
+
28072
+ declare const fpixel_event: typeof event;
28073
+ declare namespace fpixel {
28074
+ export {
28075
+ addToCart$2 as addToCart,
28076
+ fpixel_event as event,
28077
+ pageview$1 as pageview,
28078
+ };
28079
+ }
28080
+
28081
+ declare const pageview: (url: string, trackingId?: string | null) => void;
28082
+ /** Addition to cart events
28083
+ * https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#add-remove-cart
28084
+ */
28085
+ declare const addToCart$1: (product: ProductInputAnalytic) => void;
28086
+ /** Product clicked event
28087
+ * https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#product-click
28088
+ */
28089
+ declare const productClick: (product: ProductInputAnalytic) => void;
28090
+ /** Product viewed event
28091
+ * https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#measuring-actvities
28092
+ */
28093
+ declare const productDetail: (product: ProductInputAnalytic) => void;
28094
+ /** Removal from cart events
28095
+ * https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#add-remove-cart
28096
+ */
28097
+ declare const removeFromCart: (product: ProductInputAnalytic, price: number) => void;
28098
+
28099
+ declare const gtag_pageview: typeof pageview;
28100
+ declare const gtag_productClick: typeof productClick;
28101
+ declare const gtag_productDetail: typeof productDetail;
28102
+ declare const gtag_removeFromCart: typeof removeFromCart;
28103
+ declare namespace gtag {
28104
+ export {
28105
+ addToCart$1 as addToCart,
28106
+ gtag_pageview as pageview,
28107
+ gtag_productClick as productClick,
28108
+ gtag_productDetail as productDetail,
28109
+ gtag_removeFromCart as removeFromCart,
28110
+ };
28111
+ }
28112
+
28113
+ declare const addToCart: (product: ProductInputAnalytic) => void;
28114
+
28115
+ declare const tiktokpixel_addToCart: typeof addToCart;
28116
+ declare namespace tiktokpixel {
28117
+ export {
28118
+ tiktokpixel_addToCart as addToCart,
28119
+ };
28120
+ }
28121
+
28043
28122
  type Devices = 'desktop' | 'tablet' | 'mobile';
28044
28123
  type Options = {
28045
28124
  liquid?: boolean;
@@ -34068,8 +34147,6 @@ declare const baseAssetURL: string;
34068
34147
 
34069
34148
  declare const convertHTML: (str: string) => string;
34070
34149
 
34071
- type NameDevices = 'desktop' | 'tablet' | 'mobile';
34072
-
34073
34150
  type PostionType = {
34074
34151
  wrapper?: Record<string, string | number>;
34075
34152
  content?: Record<string, string | number>;
@@ -34224,6 +34301,7 @@ declare const composeTypographyCss: (typography: TypographySetting | undefined)
34224
34301
  declare const composeTypographyV2Css: (typography: TypographySettingV2 | undefined, isImportant?: boolean) => string;
34225
34302
  declare const composeTypography: (typography?: ObjectDevices<TypographyProps>) => React.CSSProperties;
34226
34303
  declare const composeTypographyV2: (value?: TypographyV2Props, attrs?: TypographyV2Attrs) => React.CSSProperties;
34304
+ declare const composeFontFamilyTypographyV2: (value?: TypographyV2Props) => string | undefined;
34227
34305
  declare const composeTypographyAttr: (attrs?: TypographyV2Attrs) => React.CSSProperties;
34228
34306
  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;
34229
34307
  declare const composeFallbackTypographyStyle: (tag: string) => "var(--g-font-heading, heading)" | "var(--g-font-body, body)";
@@ -35723,72 +35801,6 @@ declare const composeTypographyStyle: (typo?: TypographySettingV2, typography?:
35723
35801
  vectorEffect?: csstype.Property.VectorEffect | undefined;
35724
35802
  };
35725
35803
 
35726
- declare const validateEmail: (email: string) => boolean;
35727
-
35728
- declare function loadScript(src: string, options?: {
35729
- module?: boolean;
35730
- in?: 'head' | 'body';
35731
- }): Promise<boolean>;
35732
-
35733
- declare function getSpacingVariable(key?: SpacingType): string;
35734
- declare const composeSpacing: (spacingValue?: ObjectDevices<SpacingType>) => React.CSSProperties;
35735
-
35736
- declare const genVariable: (variableName: string) => string;
35737
-
35738
- declare const pageview$1: () => void;
35739
- declare const event: (name: string, options?: {}) => void;
35740
- declare const addToCart$2: (product: ProductInputAnalytic) => void;
35741
-
35742
- declare const fpixel_event: typeof event;
35743
- declare namespace fpixel {
35744
- export {
35745
- addToCart$2 as addToCart,
35746
- fpixel_event as event,
35747
- pageview$1 as pageview,
35748
- };
35749
- }
35750
-
35751
- declare const pageview: (url: string, trackingId?: string | null) => void;
35752
- /** Addition to cart events
35753
- * https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#add-remove-cart
35754
- */
35755
- declare const addToCart$1: (product: ProductInputAnalytic) => void;
35756
- /** Product clicked event
35757
- * https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#product-click
35758
- */
35759
- declare const productClick: (product: ProductInputAnalytic) => void;
35760
- /** Product viewed event
35761
- * https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#measuring-actvities
35762
- */
35763
- declare const productDetail: (product: ProductInputAnalytic) => void;
35764
- /** Removal from cart events
35765
- * https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#add-remove-cart
35766
- */
35767
- declare const removeFromCart: (product: ProductInputAnalytic, price: number) => void;
35768
-
35769
- declare const gtag_pageview: typeof pageview;
35770
- declare const gtag_productClick: typeof productClick;
35771
- declare const gtag_productDetail: typeof productDetail;
35772
- declare const gtag_removeFromCart: typeof removeFromCart;
35773
- declare namespace gtag {
35774
- export {
35775
- addToCart$1 as addToCart,
35776
- gtag_pageview as pageview,
35777
- gtag_productClick as productClick,
35778
- gtag_productDetail as productDetail,
35779
- gtag_removeFromCart as removeFromCart,
35780
- };
35781
- }
35782
-
35783
- declare const addToCart: (product: ProductInputAnalytic) => void;
35784
-
35785
- declare const tiktokpixel_addToCart: typeof addToCart;
35786
- declare namespace tiktokpixel {
35787
- export {
35788
- tiktokpixel_addToCart as addToCart,
35789
- };
35790
- }
35791
-
35792
35804
  type Func$6 = ReturnType<typeof addToCartOperation>;
35793
35805
  type Response$6 = Awaited<ReturnType<Func$6>>;
35794
35806
  type Args$5 = Parameters<Func$6>[0];
@@ -36094,4 +36106,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage$1, 'id' | 'name'
36094
36106
 
36095
36107
  declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
36096
36108
 
36097
- 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, formatMoney, 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 };
36109
+ 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, composeFontFamilyTypographyV2, 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, formatMoney, 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.43.0-dev.74",
3
+ "version": "1.43.0-dev.81",
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.43.0-dev.67",
31
- "@gem-sdk/styles": "1.43.0-dev.67",
30
+ "@gem-sdk/adapter-shopify": "1.43.0-dev.80",
31
+ "@gem-sdk/styles": "1.43.0-dev.80",
32
32
  "@types/classnames": "^2.3.1"
33
33
  },
34
34
  "dependencies": {