@gem-sdk/core 1.23.0-staging.77 → 1.23.0-staging.90

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.
@@ -106,12 +106,16 @@ const ComponentWrapperPreview = ({ children, ...props })=>{
106
106
  advanced: advanced
107
107
  }),
108
108
  /*#__PURE__*/ jsxRuntime.jsxs("div", {
109
- style: !props.editorConfigs?.component?.excludeApplyStyle ? style : {},
109
+ style: !constant.excludeApplyStyle.includes(props.tag) ? style : {
110
+ '--mb': style?.['--mb'],
111
+ '--mb-tablet': style?.['--mb-tablet'],
112
+ '--mb-mobile': style?.['--mb-mobile']
113
+ },
110
114
  className: `${props.uid} ${props.advanced?.cssClass ? props.advanced?.cssClass : ''}`,
111
115
  ...builderAttrs,
112
116
  children: [
113
- !props.editorConfigs?.component?.validate && children,
114
- /*#__PURE__*/ react.isValidElement(children) && props.editorConfigs?.component?.validate && /*#__PURE__*/ jsxRuntime.jsx(children.type, {
117
+ !constant.excludeApplyStyle.includes(props.tag) && children,
118
+ /*#__PURE__*/ react.isValidElement(children) && constant.excludeApplyStyle.includes(props.tag) && /*#__PURE__*/ jsxRuntime.jsx(children.type, {
115
119
  ...children.props,
116
120
  style,
117
121
  advanced
@@ -107,7 +107,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
107
107
  });
108
108
  });
109
109
  } else {
110
- liquid = render.template`<div style="${!componentIconList.includes(item.tag) ? style : ''}" class="${item.uid} ${!item?.childrens?.length && item.tag === 'IconListItemHoz' ? 'hidden' : ''}">
110
+ liquid = render.template`<div style="${!componentIconList.includes(item.tag) ? style : ''}" class="${item.uid} ${item.tag === 'Accordion' ? 'overflow-hidden' : ''} ${!item?.childrens?.length && item.tag === 'IconListItemHoz' ? 'hidden' : ''}">
111
111
  ${render.RenderIf(item?.childrens?.length, ()=>{
112
112
  return Component({
113
113
  builderProps: {
@@ -44,6 +44,11 @@ const customRenderChildren = [
44
44
  'IconList',
45
45
  'Tabs'
46
46
  ];
47
+ const excludeApplyStyle = [
48
+ 'IconListV2',
49
+ 'Accordion'
50
+ ];
47
51
 
48
52
  exports.customRenderChildren = customRenderChildren;
49
53
  exports.disableWrap = disableWrap;
54
+ exports.excludeApplyStyle = excludeApplyStyle;
@@ -39,7 +39,15 @@ const makeGlobalSize = (globalSize)=>{
39
39
  mobile: '--g-ct-w'
40
40
  }),
41
41
  height: makeStyle.makeStyleResponsive('h', getWidthHeightGlobalSize('height', globalSize)),
42
- padding: getPaddingGlobalSize(globalSize)
42
+ padding: getPaddingGlobalSize(globalSize),
43
+ gap: getGlobalSizeGap(globalSize)
44
+ };
45
+ };
46
+ const getGlobalSizeGap = (globalSize)=>{
47
+ return {
48
+ '--gg': globalSize?.desktop?.gap,
49
+ '--gg-tablet': globalSize?.tablet?.gap,
50
+ '--gg-mobile': globalSize?.mobile?.gap
43
51
  };
44
52
  };
45
53
  const makeStyleWithDefault = (name, value, defaultVal)=>{
@@ -166,6 +174,7 @@ exports.composeSize = composeSize;
166
174
  exports.composeSizeCss = composeSizeCss;
167
175
  exports.genSizeClass = genSizeClass;
168
176
  exports.getAspectRatioGlobalSize = getAspectRatioGlobalSize;
177
+ exports.getGlobalSizeGap = getGlobalSizeGap;
169
178
  exports.getHeightByShapeGlobalSize = getHeightByShapeGlobalSize;
170
179
  exports.getPaddingGlobalSize = getPaddingGlobalSize;
171
180
  exports.getWidthByShapeGlobalSize = getWidthByShapeGlobalSize;
package/dist/cjs/index.js CHANGED
@@ -223,6 +223,7 @@ exports.composeSize = size.composeSize;
223
223
  exports.composeSizeCss = size.composeSizeCss;
224
224
  exports.genSizeClass = size.genSizeClass;
225
225
  exports.getAspectRatioGlobalSize = size.getAspectRatioGlobalSize;
226
+ exports.getGlobalSizeGap = size.getGlobalSizeGap;
226
227
  exports.getHeightByShapeGlobalSize = size.getHeightByShapeGlobalSize;
227
228
  exports.getPaddingGlobalSize = size.getPaddingGlobalSize;
228
229
  exports.getWidthByShapeGlobalSize = size.getWidthByShapeGlobalSize;
@@ -1,7 +1,7 @@
1
1
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { useEffect, isValidElement } from 'react';
3
3
  import { composeAdvanceStyle } from '../helpers/compose-advance-style.js';
4
- import { disableWrap } from './constant.js';
4
+ import { disableWrap, excludeApplyStyle } from './constant.js';
5
5
  import RenderCustomCode from './RenderCustomCode.js';
6
6
  import { ComponentToolbarPreview } from './ComponentToolbarPreview.js';
7
7
 
@@ -102,12 +102,16 @@ const ComponentWrapperPreview = ({ children, ...props })=>{
102
102
  advanced: advanced
103
103
  }),
104
104
  /*#__PURE__*/ jsxs("div", {
105
- style: !props.editorConfigs?.component?.excludeApplyStyle ? style : {},
105
+ style: !excludeApplyStyle.includes(props.tag) ? style : {
106
+ '--mb': style?.['--mb'],
107
+ '--mb-tablet': style?.['--mb-tablet'],
108
+ '--mb-mobile': style?.['--mb-mobile']
109
+ },
106
110
  className: `${props.uid} ${props.advanced?.cssClass ? props.advanced?.cssClass : ''}`,
107
111
  ...builderAttrs,
108
112
  children: [
109
- !props.editorConfigs?.component?.validate && children,
110
- /*#__PURE__*/ isValidElement(children) && props.editorConfigs?.component?.validate && /*#__PURE__*/ jsx(children.type, {
113
+ !excludeApplyStyle.includes(props.tag) && children,
114
+ /*#__PURE__*/ isValidElement(children) && excludeApplyStyle.includes(props.tag) && /*#__PURE__*/ jsx(children.type, {
111
115
  ...children.props,
112
116
  style,
113
117
  advanced
@@ -103,7 +103,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
103
103
  });
104
104
  });
105
105
  } else {
106
- liquid = template`<div style="${!componentIconList.includes(item.tag) ? style : ''}" class="${item.uid} ${!item?.childrens?.length && item.tag === 'IconListItemHoz' ? 'hidden' : ''}">
106
+ liquid = template`<div style="${!componentIconList.includes(item.tag) ? style : ''}" class="${item.uid} ${item.tag === 'Accordion' ? 'overflow-hidden' : ''} ${!item?.childrens?.length && item.tag === 'IconListItemHoz' ? 'hidden' : ''}">
107
107
  ${RenderIf(item?.childrens?.length, ()=>{
108
108
  return Component({
109
109
  builderProps: {
@@ -42,5 +42,9 @@ const customRenderChildren = [
42
42
  'IconList',
43
43
  'Tabs'
44
44
  ];
45
+ const excludeApplyStyle = [
46
+ 'IconListV2',
47
+ 'Accordion'
48
+ ];
45
49
 
46
- export { customRenderChildren, disableWrap };
50
+ export { customRenderChildren, disableWrap, excludeApplyStyle };
@@ -37,7 +37,15 @@ const makeGlobalSize = (globalSize)=>{
37
37
  mobile: '--g-ct-w'
38
38
  }),
39
39
  height: makeStyleResponsive('h', getWidthHeightGlobalSize('height', globalSize)),
40
- padding: getPaddingGlobalSize(globalSize)
40
+ padding: getPaddingGlobalSize(globalSize),
41
+ gap: getGlobalSizeGap(globalSize)
42
+ };
43
+ };
44
+ const getGlobalSizeGap = (globalSize)=>{
45
+ return {
46
+ '--gg': globalSize?.desktop?.gap,
47
+ '--gg-tablet': globalSize?.tablet?.gap,
48
+ '--gg-mobile': globalSize?.mobile?.gap
41
49
  };
42
50
  };
43
51
  const makeStyleWithDefault = (name, value, defaultVal)=>{
@@ -160,4 +168,4 @@ const getPaddingGlobalSize = (globalSize)=>{
160
168
  return Object.assign({}, getCustomPaddingSizeCSSByDevice(globalSize, 'desktop'), getCustomPaddingSizeCSSByDevice(globalSize, 'tablet'), getCustomPaddingSizeCSSByDevice(globalSize, 'mobile'));
161
169
  };
162
170
 
163
- export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getHeightByShapeGlobalSize, getPaddingGlobalSize, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeStyleWithDefault };
171
+ export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeStyleWithDefault };
package/dist/esm/index.js CHANGED
@@ -53,7 +53,7 @@ import * as tiktokpixel from './helpers/tracking/tiktokpixel.js';
53
53
  export { tiktokpixel };
54
54
  export { RenderIf, composeMemo, dataStringify, props, styles, template } from './helpers/render.js';
55
55
  export { baseAssetURL, isLocalEnv } from './helpers/convert.js';
56
- export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getHeightByShapeGlobalSize, getPaddingGlobalSize, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeStyleWithDefault } from './helpers/size.js';
56
+ export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeStyleWithDefault } from './helpers/size.js';
57
57
  export { composeShadowCss, getStyleShadow, getStyleShadowState, parseValueWithUnit } from './helpers/shadow.js';
58
58
  export { composeBackgroundCss, getStyleBackgroundByDevice, makeFixedBgAttachment } from './helpers/background.js';
59
59
  export { generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey } from './helpers/query.js';
@@ -95,6 +95,7 @@ type SizeSettingGlobal = {
95
95
  shape?: 'square' | 'vertical' | 'horizontal' | 'custom' | 'original';
96
96
  shapeLinked?: boolean;
97
97
  shapeValue?: string;
98
+ widthHeightLinked?: boolean;
98
99
  padding?: {
99
100
  type?: 'small' | 'medium' | 'large' | 'custom';
100
101
  top?: string;
@@ -104,6 +105,7 @@ type SizeSettingGlobal = {
104
105
  };
105
106
  width?: string;
106
107
  height?: string;
108
+ gap?: string;
107
109
  };
108
110
  type FlexDirectionProp = 'row' | 'column' | 'row-reverse' | 'column-reverse';
109
111
  type TransformProp = 'default' | 'capitalize' | 'uppercase' | 'lowercase' | 'none';
@@ -348,6 +350,8 @@ type GroupControlType<T> = {
348
350
  type IconControlType<T> = SharedControlType<T> & {
349
351
  type: 'icon';
350
352
  placeholder?: string;
353
+ hideLabel?: boolean;
354
+ hideInput?: boolean;
351
355
  };
352
356
 
353
357
  type ImageControlType<T> = SharedControlType<T> & {
@@ -450,7 +454,7 @@ type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
450
454
  active?: boolean;
451
455
  };
452
456
  placeholder?: string;
453
- type: 'segment';
457
+ type: 'segment' | 'accordion:segment';
454
458
  options: Option$2<T>[];
455
459
  iconCustom?: boolean;
456
460
  devices?: ResponsiveConfig<U>;
@@ -471,7 +475,7 @@ type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
471
475
  active?: boolean;
472
476
  };
473
477
  placeholder?: string;
474
- type: 'segment';
478
+ type: 'segment' | 'accordion:segment';
475
479
  options: Option$2<T>[];
476
480
  iconCustom?: boolean;
477
481
  default?: T;
@@ -781,7 +785,7 @@ type Mapped$1<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
781
785
  };
782
786
  placeholder?: string;
783
787
  type: 'layout-segment';
784
- options: Option<T>[];
788
+ options?: Option<T>[];
785
789
  iconViewBox?: string;
786
790
  enableItemBackground?: boolean;
787
791
  enableTooltip?: boolean;
@@ -927,6 +931,8 @@ type SettingConfig = {
927
931
  sizeConfig?: Partial<Record<'small' | 'medium' | 'large', string>>;
928
932
  displayOptions?: OptionKeyword[];
929
933
  paddingConfig?: PaddingConfig;
934
+ name?: string;
935
+ units?: string[];
930
936
  };
931
937
  type SizeSetting$1<T> = SharedControlType<T> & {
932
938
  type: 'size-setting';
@@ -943,7 +949,7 @@ type ChildIconType<T> = SharedControlType<T> & {
943
949
  };
944
950
 
945
951
  type DropdownInput<T> = SharedControlType<T> & {
946
- type: 'dropdown:input';
952
+ type: 'dropdown:input' | 'accordion:dropdown:input';
947
953
  hideUnit?: boolean;
948
954
  inputType?: 'text' | 'number';
949
955
  displayOptions?: {
@@ -954,7 +960,17 @@ type DropdownInput<T> = SharedControlType<T> & {
954
960
  }[];
955
961
  };
956
962
 
957
- type ControlProp<T> = AngleControlType<T> | CheckboxControlType<T> | ColorPickerControlType<T> | GroupControlType<T> | IconControlType<T> | InputFixContentControlType<T> | InputNumberControlType<T> | InputUnitControlType<T> | InputUnitSpacingControlType<T> | InputUnitWidthControlType<T> | InputControlType<T> | MarginControlType<T> | PaddingControlType<T> | PositionControlType<T> | RadioGroupControlType | RangeControlType<T> | SegmentControlType<T> | SelectControlType<T> | TextareaControlType<T> | ToggleControlType<T> | ImageControlType<T> | ChildrensControlType | GridControlType<T> | FlexControlType<T> | TextEditorControlType<T> | ProductControlType<T> | TypographyControlType<T> | TypographyV2ControlType<T> | MenuControlType<T> | BehaviorStateControlType<T> | PickLinkControlType<T> | BoxShadowControlType<T> | TextShadowControlType<T> | BorderControlType<T> | BorderRadiusControlType<T> | RadiusPresetControlType<T> | SizeControlType<T> | ChildItemType<T> | PickMultiProductControlType<T> | CollectionControlType<T> | BackgroundControlType<T> | VisibilityControlType<T> | SelectVariantControlType | CountdownEvergreenType | Timezone<T> | CustomContentControlType<T> | DateTimePickerControlType | CountdownDailyType | KlaviyoCodes | YotpoLoyaltyCodes | InputWidthControlType<T> | LayoutSegmentControlType<T> | InputSpacing<T> | UniqueIdControlType<T> | PositionSquareControlType<T> | CustomCodeEditor | LayoutControlType<T> | SwatchesLinkControlType<T> | VariantSwatchesPresetControlType<T> | ProductListControlType<T> | CollectionBannerControlType<T> | Ratio<T> | StickyDisplayControlType<T> | SyncProductPropertiesControlType<T> | StepsGuide<T> | ImageShape<T> | GridArrange<T> | SizeSetting$1<T> | ChildIconType<T> | DropdownInput<T>;
963
+ type Dropdown<T> = SharedControlType<T> & {
964
+ type: 'dropdown';
965
+ inputType?: 'text';
966
+ displayOptions?: {
967
+ label: string;
968
+ value: string;
969
+ icon?: string;
970
+ }[];
971
+ };
972
+
973
+ type ControlProp<T> = AngleControlType<T> | CheckboxControlType<T> | ColorPickerControlType<T> | GroupControlType<T> | IconControlType<T> | InputFixContentControlType<T> | InputNumberControlType<T> | InputUnitControlType<T> | InputUnitSpacingControlType<T> | InputUnitWidthControlType<T> | InputControlType<T> | MarginControlType<T> | PaddingControlType<T> | PositionControlType<T> | RadioGroupControlType | RangeControlType<T> | SegmentControlType<T> | SelectControlType<T> | TextareaControlType<T> | ToggleControlType<T> | ImageControlType<T> | ChildrensControlType | GridControlType<T> | FlexControlType<T> | TextEditorControlType<T> | ProductControlType<T> | TypographyControlType<T> | TypographyV2ControlType<T> | MenuControlType<T> | BehaviorStateControlType<T> | PickLinkControlType<T> | BoxShadowControlType<T> | TextShadowControlType<T> | BorderControlType<T> | BorderRadiusControlType<T> | RadiusPresetControlType<T> | SizeControlType<T> | ChildItemType<T> | PickMultiProductControlType<T> | CollectionControlType<T> | BackgroundControlType<T> | VisibilityControlType<T> | SelectVariantControlType | CountdownEvergreenType | Timezone<T> | CustomContentControlType<T> | DateTimePickerControlType | CountdownDailyType | KlaviyoCodes | YotpoLoyaltyCodes | InputWidthControlType<T> | LayoutSegmentControlType<T> | InputSpacing<T> | UniqueIdControlType<T> | PositionSquareControlType<T> | CustomCodeEditor | LayoutControlType<T> | SwatchesLinkControlType<T> | VariantSwatchesPresetControlType<T> | ProductListControlType<T> | CollectionBannerControlType<T> | Ratio<T> | StickyDisplayControlType<T> | SyncProductPropertiesControlType<T> | StepsGuide<T> | ImageShape<T> | GridArrange<T> | SizeSetting$1<T> | ChildIconType<T> | DropdownInput<T> | Dropdown<T>;
958
974
  type Setting<P extends BaseProps> = {
959
975
  id: 'setting';
960
976
  note?: string;
@@ -1039,6 +1055,7 @@ type ControlUI = {
1039
1055
  info?: 'near' | 'far';
1040
1056
  labelSpacing?: 'small' | 'medium' | 'large';
1041
1057
  removeSpacing?: boolean;
1058
+ noGap?: boolean;
1042
1059
  tooltip?: {
1043
1060
  icon?: string;
1044
1061
  content?: string;
@@ -9560,6 +9577,16 @@ declare const makeGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) =>
9560
9577
  width: Record<ResponsiveKey<"w">, string | number>;
9561
9578
  height: Record<ResponsiveKey<"h">, string | number>;
9562
9579
  padding: React.CSSProperties;
9580
+ gap: {
9581
+ '--gg': string | undefined;
9582
+ '--gg-tablet': string | undefined;
9583
+ '--gg-mobile': string | undefined;
9584
+ };
9585
+ };
9586
+ declare const getGlobalSizeGap: (globalSize?: ObjectDevices<SizeSettingGlobal>) => {
9587
+ '--gg': string | undefined;
9588
+ '--gg-tablet': string | undefined;
9589
+ '--gg-mobile': string | undefined;
9563
9590
  };
9564
9591
  declare const makeStyleWithDefault: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined, defaultVal?: Partial<Record<NameDevices$1, K>> | undefined) => Record<ResponsiveKey<T>, K>;
9565
9592
  declare const getWidthHeightGlobalSize: (type: 'width' | 'height', globalSize?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices$1, string | number>>;
@@ -9883,4 +9910,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage, 'id' | 'name' |
9883
9910
 
9884
9911
  declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
9885
9912
 
9886
- export { AddOn, AddonProvider, AddonProviderProps, AlignItemProp, AlignProp, Background, BaseProps, BasePropsWrap, BlockEntity, 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, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DynamicCollection, DynamicProduct, ExtractState, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsWidgetType, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OptionNormalStyle, OptionSpecialStyle, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SectionData, SectionEntity, SectionProvider, SectionProviderProps, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TransformProp, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, VariantSelectFragment, VitalsWidgetType, WiserWidgetType, WrapRenderChildren, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeBackgroundCss, composeBorderCss, composeCornerCss, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertOldLayout, dataStringify, fetchMedias, fetchVariants, filterToolbarPreview, flattenConnection, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAspectRatioGlobalSize, getBorderStyle, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, 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, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleResponsive, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeNullUndefined, 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, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
9913
+ export { AddOn, AddonProvider, AddonProviderProps, AlignItemProp, AlignProp, Background, BaseProps, BasePropsWrap, BlockEntity, 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, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DynamicCollection, DynamicProduct, ExtractState, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsWidgetType, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OptionNormalStyle, OptionSpecialStyle, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SectionData, SectionEntity, SectionProvider, SectionProviderProps, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TransformProp, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, VariantSelectFragment, VitalsWidgetType, WiserWidgetType, WrapRenderChildren, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeBackgroundCss, composeBorderCss, composeCornerCss, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertOldLayout, dataStringify, fetchMedias, fetchVariants, filterToolbarPreview, flattenConnection, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAspectRatioGlobalSize, getBorderStyle, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, 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, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleResponsive, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeNullUndefined, 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, 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.23.0-staging.77",
3
+ "version": "1.23.0-staging.90",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "devDependencies": {
27
27
  "@gem-sdk/adapter-shopify": "1.23.0-staging.26",
28
- "@gem-sdk/styles": "1.23.0-staging.73"
28
+ "@gem-sdk/styles": "1.23.0-staging.78"
29
29
  },
30
30
  "dependencies": {
31
31
  "react-error-boundary": "4.0.10",