@gem-sdk/core 1.58.0-dev.87 → 1.58.0-dev.93

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.
@@ -27,6 +27,7 @@ const ArticlesDocument = `
27
27
  }
28
28
  isSample
29
29
  platformCreatedAt
30
+ platformUpdatedAt
30
31
  author
31
32
  content {
32
33
  excerptHtml
@@ -119,7 +119,8 @@ function composeAdvanceStyle(data, tag, pageType) {
119
119
  'Heading',
120
120
  'Image',
121
121
  'Button',
122
- 'HeroBanner'
122
+ 'HeroBanner',
123
+ 'ImageComparison'
123
124
  ];
124
125
  const productElements = [
125
126
  'ProductTitle',
@@ -190,6 +190,26 @@ const getPaddingGlobalSize = (globalSize)=>{
190
190
  const getValueByDevice = (value, device)=>{
191
191
  return value?.[device] === undefined ? value?.desktop === undefined ? value?.tablet : value?.desktop : value?.[device];
192
192
  };
193
+ const getPaddingStyleByDevice = (value, device)=>{
194
+ if (!value) return {};
195
+ const suffix = constant.devicesMapping[device || ''] ?? '';
196
+ return {
197
+ [`--pl${suffix}`]: value?.left,
198
+ [`--pr${suffix}`]: value?.right,
199
+ [`--pt${suffix}`]: value?.top,
200
+ [`--pb${suffix}`]: value?.bottom
201
+ };
202
+ };
203
+ const getResponsiveStylePadding = (value)=>{
204
+ if (!value) return undefined;
205
+ if ('desktop' in value || 'tablet' in value || 'mobile' in value) {
206
+ return {
207
+ ...getPaddingStyleByDevice(value?.desktop),
208
+ ...getPaddingStyleByDevice(value?.tablet, 'tablet'),
209
+ ...getPaddingStyleByDevice(value?.mobile, 'mobile')
210
+ };
211
+ }
212
+ };
193
213
 
194
214
  exports.composeSize = composeSize;
195
215
  exports.composeSizeCss = composeSizeCss;
@@ -198,6 +218,8 @@ exports.getAspectRatioGlobalSize = getAspectRatioGlobalSize;
198
218
  exports.getGlobalSizeGap = getGlobalSizeGap;
199
219
  exports.getHeightByShapeGlobalSize = getHeightByShapeGlobalSize;
200
220
  exports.getPaddingGlobalSize = getPaddingGlobalSize;
221
+ exports.getPaddingStyleByDevice = getPaddingStyleByDevice;
222
+ exports.getResponsiveStylePadding = getResponsiveStylePadding;
201
223
  exports.getValueByDevice = getValueByDevice;
202
224
  exports.getWidthByShapeGlobalSize = getWidthByShapeGlobalSize;
203
225
  exports.getWidthHeightGlobalSize = getWidthHeightGlobalSize;
package/dist/cjs/index.js CHANGED
@@ -292,6 +292,8 @@ exports.getAspectRatioGlobalSize = size.getAspectRatioGlobalSize;
292
292
  exports.getGlobalSizeGap = size.getGlobalSizeGap;
293
293
  exports.getHeightByShapeGlobalSize = size.getHeightByShapeGlobalSize;
294
294
  exports.getPaddingGlobalSize = size.getPaddingGlobalSize;
295
+ exports.getPaddingStyleByDevice = size.getPaddingStyleByDevice;
296
+ exports.getResponsiveStylePadding = size.getResponsiveStylePadding;
295
297
  exports.getValueByDevice = size.getValueByDevice;
296
298
  exports.getWidthByShapeGlobalSize = size.getWidthByShapeGlobalSize;
297
299
  exports.getWidthHeightGlobalSize = size.getWidthHeightGlobalSize;
@@ -25,6 +25,7 @@ const ArticlesDocument = `
25
25
  }
26
26
  isSample
27
27
  platformCreatedAt
28
+ platformUpdatedAt
28
29
  author
29
30
  content {
30
31
  excerptHtml
@@ -117,7 +117,8 @@ function composeAdvanceStyle(data, tag, pageType) {
117
117
  'Heading',
118
118
  'Image',
119
119
  'Button',
120
- 'HeroBanner'
120
+ 'HeroBanner',
121
+ 'ImageComparison'
121
122
  ];
122
123
  const productElements = [
123
124
  'ProductTitle',
@@ -188,5 +188,25 @@ const getPaddingGlobalSize = (globalSize)=>{
188
188
  const getValueByDevice = (value, device)=>{
189
189
  return value?.[device] === undefined ? value?.desktop === undefined ? value?.tablet : value?.desktop : value?.[device];
190
190
  };
191
+ const getPaddingStyleByDevice = (value, device)=>{
192
+ if (!value) return {};
193
+ const suffix = devicesMapping[device || ''] ?? '';
194
+ return {
195
+ [`--pl${suffix}`]: value?.left,
196
+ [`--pr${suffix}`]: value?.right,
197
+ [`--pt${suffix}`]: value?.top,
198
+ [`--pb${suffix}`]: value?.bottom
199
+ };
200
+ };
201
+ const getResponsiveStylePadding = (value)=>{
202
+ if (!value) return undefined;
203
+ if ('desktop' in value || 'tablet' in value || 'mobile' in value) {
204
+ return {
205
+ ...getPaddingStyleByDevice(value?.desktop),
206
+ ...getPaddingStyleByDevice(value?.tablet, 'tablet'),
207
+ ...getPaddingStyleByDevice(value?.mobile, 'mobile')
208
+ };
209
+ }
210
+ };
191
211
 
192
- export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeGlobalSizeIcon, makeStyleWithDefault };
212
+ export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getPaddingStyleByDevice, getResponsiveStylePadding, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeGlobalSizeIcon, makeStyleWithDefault };
package/dist/esm/index.js CHANGED
@@ -71,7 +71,7 @@ export { generateCollectionQueryKey, generateProductQueryKey, generateProductsQu
71
71
  export { composeCornerCss, composeRadius, composeRadiusResponsive, getCornerCSSFromGlobal, getCustomRadius, getRadiusCSSFromGlobal, getRadiusStyleActiveState } from './helpers/radius.js';
72
72
  export { RenderIf, composeMemo, dataStringify, props, removeUndefinedValuesFromObject, styles, template } from './helpers/render.js';
73
73
  export { composeShadowCss, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getStyleShadow, getStyleShadowState, parseValueWithUnit } from './helpers/shadow.js';
74
- export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeGlobalSizeIcon, makeStyleWithDefault } from './helpers/size.js';
74
+ export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getPaddingStyleByDevice, getResponsiveStylePadding, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeGlobalSizeIcon, makeStyleWithDefault } from './helpers/size.js';
75
75
  export { composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, genTypoClass } from './helpers/typography.js';
76
76
  export { useArticlesQuery, useBlogsQuery } from './hooks/articles/useArticlesQuery.js';
77
77
  export { useAddToCart } from './hooks/cart/use-add-to-cart.js';
@@ -7279,7 +7279,7 @@ type HyperlinkInfo = {
7279
7279
  link?: string;
7280
7280
  modal?: CommonModalApp;
7281
7281
  };
7282
- type Mapped$8<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7282
+ type Mapped$9<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7283
7283
  id: K;
7284
7284
  label?: string;
7285
7285
  info?: string;
@@ -7356,17 +7356,17 @@ type Mapped$8<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7356
7356
  disableGetDefault?: boolean;
7357
7357
  };
7358
7358
  type SharedControlType<T> = {
7359
- [K in keyof T]-?: Mapped$8<K, T[K]>;
7359
+ [K in keyof T]-?: Mapped$9<K, T[K]>;
7360
7360
  }[keyof T];
7361
7361
 
7362
- type Option$6 = {
7362
+ type Option$7 = {
7363
7363
  value: number | string;
7364
7364
  label?: string | number;
7365
7365
  type?: string;
7366
7366
  icon?: string;
7367
7367
  isTextIcon?: boolean;
7368
7368
  };
7369
- type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7369
+ type Mapped$8<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7370
7370
  id: K;
7371
7371
  label: string;
7372
7372
  info?: string;
@@ -7384,7 +7384,7 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7384
7384
  };
7385
7385
  placeholder?: string;
7386
7386
  type: 'layout-custom-segment';
7387
- options: Option$6[];
7387
+ options: Option$7[];
7388
7388
  devices?: ResponsiveConfig<U>;
7389
7389
  iconViewBox?: string;
7390
7390
  enableItemBackground?: boolean;
@@ -7409,14 +7409,14 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7409
7409
  };
7410
7410
  placeholder?: string;
7411
7411
  type: 'layout-custom-segment';
7412
- options?: Option$6[];
7412
+ options?: Option$7[];
7413
7413
  iconViewBox?: string;
7414
7414
  enableItemBackground?: boolean;
7415
7415
  enableTooltip?: boolean;
7416
7416
  default?: T;
7417
7417
  };
7418
7418
  type LayoutCustomSegmentControlType<T> = {
7419
- [K in keyof T]-?: Mapped$7<K, T[K]>;
7419
+ [K in keyof T]-?: Mapped$8<K, T[K]>;
7420
7420
  }[keyof T];
7421
7421
 
7422
7422
  type AngleControlType<T> = SharedControlType<T> & {
@@ -7428,12 +7428,12 @@ type AngleControlType<T> = SharedControlType<T> & {
7428
7428
  readonly?: boolean;
7429
7429
  };
7430
7430
 
7431
- type Option$5<T> = {
7431
+ type Option$6<T> = {
7432
7432
  value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
7433
7433
  text: string | number;
7434
7434
  desc?: any;
7435
7435
  };
7436
- type Mapped$6<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7436
+ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7437
7437
  id: K;
7438
7438
  label: string;
7439
7439
  hideOnMode?: {
@@ -7449,7 +7449,7 @@ type Mapped$6<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7449
7449
  active?: boolean;
7450
7450
  };
7451
7451
  type: 'checkbox';
7452
- options: Option$5<T>[];
7452
+ options: Option$6<T>[];
7453
7453
  devices?: ResponsiveConfig<U>;
7454
7454
  } : {
7455
7455
  id: K;
@@ -7467,11 +7467,11 @@ type Mapped$6<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7467
7467
  active?: boolean;
7468
7468
  };
7469
7469
  type: 'checkbox';
7470
- options: Option$5<T>[];
7470
+ options: Option$6<T>[];
7471
7471
  default?: T;
7472
7472
  };
7473
7473
  type CheckboxControlType<T> = {
7474
- [K in keyof T]-?: Mapped$6<K, T[K]>;
7474
+ [K in keyof T]-?: Mapped$7<K, T[K]>;
7475
7475
  }[keyof T];
7476
7476
 
7477
7477
  type ChildrensControlType = {
@@ -7617,14 +7617,14 @@ type RangeControlType<T> = SharedControlType<T> & {
7617
7617
  maxRelated?: string;
7618
7618
  }>;
7619
7619
 
7620
- type Option$4<T> = {
7620
+ type Option$5<T> = {
7621
7621
  value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
7622
7622
  label?: string | number;
7623
7623
  type?: string;
7624
7624
  icon?: string;
7625
7625
  tooltip?: string;
7626
7626
  };
7627
- type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7627
+ type Mapped$6<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7628
7628
  id: K;
7629
7629
  label?: string;
7630
7630
  info?: string;
@@ -7642,7 +7642,7 @@ type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7642
7642
  };
7643
7643
  placeholder?: string;
7644
7644
  type: 'segment' | 'accordion:segment';
7645
- options: Option$4<T>[];
7645
+ options: Option$5<T>[];
7646
7646
  iconCustom?: boolean;
7647
7647
  devices?: ResponsiveConfig<U>;
7648
7648
  } : {
@@ -7663,12 +7663,12 @@ type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7663
7663
  };
7664
7664
  placeholder?: string;
7665
7665
  type: 'segment' | 'accordion:segment';
7666
- options: Option$4<T>[];
7666
+ options: Option$5<T>[];
7667
7667
  iconCustom?: boolean;
7668
7668
  default?: T;
7669
7669
  };
7670
7670
  type SegmentControlType<T> = {
7671
- [K in keyof T]-?: Mapped$5<K, T[K]>;
7671
+ [K in keyof T]-?: Mapped$6<K, T[K]>;
7672
7672
  }[keyof T];
7673
7673
 
7674
7674
  type OpenLinkControlType<T> = SharedControlType<T> & {
@@ -7679,7 +7679,7 @@ type OpenLinkControlType<T> = SharedControlType<T> & {
7679
7679
  linkType?: 'openApp' | 'install';
7680
7680
  };
7681
7681
 
7682
- type Option$3<T> = {
7682
+ type Option$4<T> = {
7683
7683
  value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
7684
7684
  label: string | number;
7685
7685
  hideOnPage?: string[];
@@ -7692,7 +7692,7 @@ type Option$3<T> = {
7692
7692
  note?: string;
7693
7693
  maxOption?: number;
7694
7694
  };
7695
- type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7695
+ type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7696
7696
  id: K;
7697
7697
  label?: string;
7698
7698
  info?: string;
@@ -7711,7 +7711,7 @@ type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7711
7711
  };
7712
7712
  placeholder?: string;
7713
7713
  type: 'select';
7714
- options: Option$3<T>[];
7714
+ options: Option$4<T>[];
7715
7715
  devices?: ResponsiveConfig<U>;
7716
7716
  } : {
7717
7717
  id: K;
@@ -7731,12 +7731,12 @@ type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7731
7731
  };
7732
7732
  placeholder?: string;
7733
7733
  type: 'select';
7734
- options: Option$3<T>[];
7734
+ options: Option$4<T>[];
7735
7735
  default?: T;
7736
7736
  isFullWidth?: boolean;
7737
7737
  };
7738
7738
  type SelectControlType<T> = {
7739
- [K in keyof T]-?: Mapped$4<K, T[K]>;
7739
+ [K in keyof T]-?: Mapped$5<K, T[K]>;
7740
7740
  }[keyof T];
7741
7741
 
7742
7742
  type TextareaControlType<T> = SharedControlType<T> & {
@@ -7964,7 +7964,7 @@ type CustomCodeEditor = {
7964
7964
  id: string;
7965
7965
  };
7966
7966
 
7967
- type Option$2<T> = {
7967
+ type Option$3<T> = {
7968
7968
  value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
7969
7969
  label?: string | number;
7970
7970
  type?: string;
@@ -7972,7 +7972,7 @@ type Option$2<T> = {
7972
7972
  iconName?: string;
7973
7973
  isTextIcon?: boolean;
7974
7974
  };
7975
- type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7975
+ type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7976
7976
  id: K;
7977
7977
  label: string;
7978
7978
  info?: string;
@@ -7990,10 +7990,10 @@ type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7990
7990
  };
7991
7991
  placeholder?: string;
7992
7992
  type: 'layout-segment';
7993
- options: Option$2<T>[];
7993
+ options: Option$3<T>[];
7994
7994
  groups?: {
7995
7995
  label: string;
7996
- options: Option$2<T>[];
7996
+ options: Option$3<T>[];
7997
7997
  }[];
7998
7998
  devices?: ResponsiveConfig<U>;
7999
7999
  iconViewBox?: string;
@@ -8021,10 +8021,10 @@ type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8021
8021
  type: 'layout-segment';
8022
8022
  itemPerRow?: number;
8023
8023
  itemSpacing?: 'large' | 'small';
8024
- options?: Option$2<T>[];
8024
+ options?: Option$3<T>[];
8025
8025
  groups?: {
8026
8026
  label: string;
8027
- options: Option$2<T>[];
8027
+ options: Option$3<T>[];
8028
8028
  }[];
8029
8029
  iconViewBox?: string;
8030
8030
  enableItemBackground?: boolean;
@@ -8032,7 +8032,7 @@ type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8032
8032
  default?: T;
8033
8033
  };
8034
8034
  type LayoutSegmentControlType<T> = {
8035
- [K in keyof T]-?: Mapped$3<K, T[K]>;
8035
+ [K in keyof T]-?: Mapped$4<K, T[K]>;
8036
8036
  }[keyof T];
8037
8037
 
8038
8038
  type InputSpacing<T> = SharedControlType<T> & {
@@ -8155,7 +8155,7 @@ type Actions = {
8155
8155
  actionHandle?: string;
8156
8156
  link?: string;
8157
8157
  };
8158
- type Mapped$2<K, T> = {
8158
+ type Mapped$3<K, T> = {
8159
8159
  id: K;
8160
8160
  label: string;
8161
8161
  info?: string;
@@ -8164,7 +8164,7 @@ type Mapped$2<K, T> = {
8164
8164
  default?: T;
8165
8165
  };
8166
8166
  type StepsGuide<T> = {
8167
- [K in keyof T]-?: Mapped$2<K, T[K]>;
8167
+ [K in keyof T]-?: Mapped$3<K, T[K]>;
8168
8168
  }[keyof T];
8169
8169
 
8170
8170
  type ImageShape<T> = SharedControlType<T> & {
@@ -8274,14 +8274,14 @@ type SneakPeakRange<T> = SharedControlType<T> & {
8274
8274
  sneakPeakType?: string;
8275
8275
  };
8276
8276
 
8277
- type Option$1<T> = {
8277
+ type Option$2<T> = {
8278
8278
  value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
8279
8279
  label?: string | number;
8280
8280
  type?: string;
8281
8281
  icon?: string;
8282
8282
  isTextIcon?: boolean;
8283
8283
  };
8284
- type Mapped$1<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8284
+ type Mapped$2<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8285
8285
  id: K;
8286
8286
  label: string;
8287
8287
  info?: string;
@@ -8299,7 +8299,7 @@ type Mapped$1<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8299
8299
  };
8300
8300
  placeholder?: string;
8301
8301
  type: 'sneak-peak-type';
8302
- options: Option$1<T>[];
8302
+ options: Option$2<T>[];
8303
8303
  devices?: ResponsiveConfig<U>;
8304
8304
  iconViewBox?: string;
8305
8305
  enableItemBackground?: boolean;
@@ -8324,14 +8324,14 @@ type Mapped$1<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8324
8324
  };
8325
8325
  placeholder?: string;
8326
8326
  type: 'sneak-peak-type';
8327
- options?: Option$1<T>[];
8327
+ options?: Option$2<T>[];
8328
8328
  iconViewBox?: string;
8329
8329
  enableItemBackground?: boolean;
8330
8330
  enableTooltip?: boolean;
8331
8331
  default?: T;
8332
8332
  };
8333
8333
  type SneakPeakTypeControlType<T> = {
8334
- [K in keyof T]-?: Mapped$1<K, T[K]>;
8334
+ [K in keyof T]-?: Mapped$2<K, T[K]>;
8335
8335
  }[keyof T];
8336
8336
 
8337
8337
  type ProductInputCurrencyUnitControlType<T> = SharedControlType<T> & {
@@ -8608,6 +8608,7 @@ type SettingUICompo = {
8608
8608
  help?: SettingUIHelpType;
8609
8609
  popoverLabel?: LabelWithLang;
8610
8610
  comboType?: 'color' | 'image';
8611
+ isHideClear?: boolean;
8611
8612
  };
8612
8613
  type SettingUIMoreSetting = {
8613
8614
  label?: LabelWithLang;
@@ -8872,6 +8873,14 @@ type GlobalSwatchesData = {
8872
8873
  optionType: SwatchesOptionType;
8873
8874
  optionValues: SwatchesOptionValue[];
8874
8875
  };
8876
+ type PaddingType = {
8877
+ type?: 'small' | 'medium' | 'large' | 'custom';
8878
+ top?: string;
8879
+ left?: string;
8880
+ bottom?: string;
8881
+ right?: string;
8882
+ linked?: boolean;
8883
+ };
8875
8884
 
8876
8885
  type ShadowV2ControlType<T> = SharedControlType<T> & {
8877
8886
  type: 'shadow-v2';
@@ -8927,14 +8936,14 @@ type ComboControlType<T> = SharedControlType<T> & {
8927
8936
  readonly?: boolean;
8928
8937
  };
8929
8938
 
8930
- type Option<T> = {
8939
+ type Option$1<T> = {
8931
8940
  value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
8932
8941
  label?: string | number;
8933
8942
  iconName?: string;
8934
8943
  type?: string;
8935
8944
  noPadding?: string;
8936
8945
  };
8937
- type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8946
+ type Mapped$1<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8938
8947
  id: K;
8939
8948
  label: string;
8940
8949
  info?: string;
@@ -8952,10 +8961,10 @@ type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8952
8961
  };
8953
8962
  placeholder?: string;
8954
8963
  type: 'layout-selector';
8955
- options: Option<T>[];
8964
+ options: Option$1<T>[];
8956
8965
  groups?: {
8957
8966
  label: string;
8958
- options: Option<T>[];
8967
+ options: Option$1<T>[];
8959
8968
  }[];
8960
8969
  devices?: ResponsiveConfig<U>;
8961
8970
  iconViewBox?: string;
@@ -8983,10 +8992,10 @@ type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8983
8992
  type: 'layout-selector';
8984
8993
  itemPerRow?: number;
8985
8994
  itemSpacing?: 'large' | 'small';
8986
- options?: Option<T>[];
8995
+ options?: Option$1<T>[];
8987
8996
  groups?: {
8988
8997
  label: string;
8989
- options: Option<T>[];
8998
+ options: Option$1<T>[];
8990
8999
  }[];
8991
9000
  iconViewBox?: string;
8992
9001
  enableItemBackground?: boolean;
@@ -8994,10 +9003,65 @@ type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8994
9003
  default?: T;
8995
9004
  };
8996
9005
  type LayoutSelectorControlType<T> = {
9006
+ [K in keyof T]-?: Mapped$1<K, T[K]>;
9007
+ }[keyof T];
9008
+
9009
+ type Option<T> = {
9010
+ value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
9011
+ label?: string | number;
9012
+ type?: string;
9013
+ icon?: string;
9014
+ tooltip?: string;
9015
+ iconName?: string;
9016
+ };
9017
+ type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
9018
+ id: K;
9019
+ label?: string;
9020
+ info?: string;
9021
+ hide?: boolean;
9022
+ hideOnMode?: {
9023
+ responsive?: boolean;
9024
+ mobileOnly?: boolean;
9025
+ };
9026
+ disableToggle?: boolean;
9027
+ state?: {
9028
+ normal?: boolean;
9029
+ hover?: boolean;
9030
+ focus?: boolean;
9031
+ active?: boolean;
9032
+ };
9033
+ placeholder?: string;
9034
+ type: 'segment-v2';
9035
+ options: Option<T>[];
9036
+ iconCustom?: boolean;
9037
+ devices?: ResponsiveConfig<U>;
9038
+ } : {
9039
+ id: K;
9040
+ label?: string;
9041
+ info?: string;
9042
+ hide?: boolean;
9043
+ hideOnMode?: {
9044
+ responsive?: boolean;
9045
+ mobileOnly?: boolean;
9046
+ };
9047
+ disableToggle?: boolean;
9048
+ state?: {
9049
+ normal?: boolean;
9050
+ hover?: boolean;
9051
+ focus?: boolean;
9052
+ active?: boolean;
9053
+ };
9054
+ placeholder?: string;
9055
+ type: 'segment-v2';
9056
+ options: Option<T>[];
9057
+ iconCustom?: boolean;
9058
+ default?: T;
9059
+ };
9060
+ type SegmentV2ControlType<T> = {
8997
9061
  [K in keyof T]-?: Mapped<K, T[K]>;
8998
9062
  }[keyof T];
8999
9063
 
9000
- type ControlProp<T> = ProductBundleChildControlType<T> | SelectProductBundleControlType<T> | AngleControlType<T> | CheckboxControlType<T> | ColorPickerControlType<T> | GroupControlType<T> | IconControlType<T> | InputFixContentControlType<T> | InputNumberControlType<T> | InputUnitControlType<T> | InputUnitSpacingControlType<T> | InputUnitWidthControlType<T> | InputControlType<T> | MarginControlType<T> | PaddingControlType<T> | PositionControlType<T> | RadioGroupControlType | RangeControlType<T> | SegmentControlType<T> | OpenLinkControlType<T> | SelectControlType<T> | TextareaControlType<T> | ToggleControlType<T> | ImageControlType<T> | ChildrensControlType | GridControlType<T> | FlexControlType<T> | TextEditorControlType<T> | ProductControlType<T> | TypographyControlType<T> | TypographyV2ControlType<T> | MenuControlType<T> | BehaviorStateControlType<T> | PickLinkControlType<T> | BoxShadowControlType<T> | TextShadowControlType<T> | BorderControlType<T> | BorderRadiusControlType<T> | RadiusPresetControlType<T> | SizeControlType<T> | ChildItemType<T> | PickMultiProductControlType<T> | CollectionControlType<T> | BackgroundControlType<T> | VisibilityControlType<T> | SelectVariantControlType | VariantListingControlType | CountdownEvergreenType | Timezone<T> | CustomContentControlType<T> | DateTimePickerControlType | CountdownDailyType | KlaviyoCodes | YotpoLoyaltyCodes | InputWidthControlType<T> | LayoutSegmentControlType<T> | InputSpacing<T> | UniqueIdControlType<T> | PositionSquareControlType<T> | CustomCodeEditor | LayoutControlType<T> | LayoutBannerControlType<T> | SwatchesLinkControlType<T> | VariantSwatchesPresetControlType<T> | VariantSwatchesOnlyDefaultVariantControlType<T> | ProductListControlType<T> | ArticleListControlType<T> | CollectionBannerControlType<T> | Ratio<T> | StickyDisplayControlType<T> | SyncProductPropertiesControlType<T> | StepsGuide<T> | ImageShape<T> | GridArrange<T> | SizeSetting$1<T> | ChildIconType<T> | DropdownInput<T> | Dropdown<T> | AliPickSectionControlType<T> | ParallaxScrollingType<T> | BackgroundColorPickerType<T> | PlayPauseControlType<T> | LayoutCustomSegmentControlType<T> | SneakPeakRange<T> | SneakPeakTypeControlType<T> | SneakPeakControlType<T> | ProductInputCurrencyUnitControlType<T> | TypographyPostPurchaseControlType<T> | ProductOffersControlType<T> | DiscountAndShippingFee<T> | PostPurchaseTextareaControlType<T> | NotesControlType<T> | ButtonLayoutType<T> | ShapeSelectorControlType<T> | DisplayTriggerControlType<T> | CustomPositionControlType<T> | DealControlType<T> | ProductHandleType<T> | ColorPickerV2ControlType<T> | BorderV2ControlType<T> | CornerV2ControlType<T> | PaddingV2ControlType<T> | BackgroundImageType<T> | BackgroundVideoType<T> | ShadowV2ControlType<T> | BackgroundMediaControlType<T> | BackgroundVideoType<T> | SwitchControlType<T> | ImageV2ControlType<T> | LayoutSelectorControlType<T> | ComboControlType<T>;
9064
+ type ControlProp<T> = ProductBundleChildControlType<T> | SelectProductBundleControlType<T> | AngleControlType<T> | CheckboxControlType<T> | ColorPickerControlType<T> | GroupControlType<T> | IconControlType<T> | InputFixContentControlType<T> | InputNumberControlType<T> | InputUnitControlType<T> | InputUnitSpacingControlType<T> | InputUnitWidthControlType<T> | InputControlType<T> | MarginControlType<T> | PaddingControlType<T> | PositionControlType<T> | RadioGroupControlType | RangeControlType<T> | SegmentControlType<T> | OpenLinkControlType<T> | SelectControlType<T> | TextareaControlType<T> | ToggleControlType<T> | ImageControlType<T> | ChildrensControlType | GridControlType<T> | FlexControlType<T> | TextEditorControlType<T> | ProductControlType<T> | TypographyControlType<T> | TypographyV2ControlType<T> | MenuControlType<T> | BehaviorStateControlType<T> | PickLinkControlType<T> | BoxShadowControlType<T> | TextShadowControlType<T> | BorderControlType<T> | BorderRadiusControlType<T> | RadiusPresetControlType<T> | SizeControlType<T> | ChildItemType<T> | PickMultiProductControlType<T> | CollectionControlType<T> | BackgroundControlType<T> | VisibilityControlType<T> | SelectVariantControlType | VariantListingControlType | CountdownEvergreenType | Timezone<T> | CustomContentControlType<T> | DateTimePickerControlType | CountdownDailyType | KlaviyoCodes | YotpoLoyaltyCodes | InputWidthControlType<T> | LayoutSegmentControlType<T> | InputSpacing<T> | UniqueIdControlType<T> | PositionSquareControlType<T> | CustomCodeEditor | LayoutControlType<T> | LayoutBannerControlType<T> | SwatchesLinkControlType<T> | VariantSwatchesPresetControlType<T> | VariantSwatchesOnlyDefaultVariantControlType<T> | ProductListControlType<T> | ArticleListControlType<T> | CollectionBannerControlType<T> | Ratio<T> | StickyDisplayControlType<T> | SyncProductPropertiesControlType<T> | StepsGuide<T> | ImageShape<T> | GridArrange<T> | SizeSetting$1<T> | ChildIconType<T> | DropdownInput<T> | Dropdown<T> | AliPickSectionControlType<T> | ParallaxScrollingType<T> | BackgroundColorPickerType<T> | PlayPauseControlType<T> | LayoutCustomSegmentControlType<T> | SneakPeakRange<T> | SneakPeakTypeControlType<T> | SneakPeakControlType<T> | ProductInputCurrencyUnitControlType<T> | TypographyPostPurchaseControlType<T> | ProductOffersControlType<T> | DiscountAndShippingFee<T> | PostPurchaseTextareaControlType<T> | NotesControlType<T> | ButtonLayoutType<T> | ShapeSelectorControlType<T> | DisplayTriggerControlType<T> | CustomPositionControlType<T> | DealControlType<T> | ProductHandleType<T> | ColorPickerV2ControlType<T> | BorderV2ControlType<T> | CornerV2ControlType<T> | PaddingV2ControlType<T> | BackgroundImageType<T> | BackgroundVideoType<T> | ShadowV2ControlType<T> | BackgroundMediaControlType<T> | BackgroundVideoType<T> | SwitchControlType<T> | ImageV2ControlType<T> | LayoutSelectorControlType<T> | ComboControlType<T> | SegmentV2ControlType<T>;
9001
9065
  type ControlTriggerAction = {
9002
9066
  controlId: string;
9003
9067
  newValue?: any;
@@ -40382,6 +40446,12 @@ declare const getWidthByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSett
40382
40446
  declare const getAspectRatioGlobalSize: (shape?: ObjectDevices<SizeSettingGlobal>) => ObjectDevices<string>;
40383
40447
  declare const getPaddingGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) => React.CSSProperties;
40384
40448
  declare const getValueByDevice: <T>(value: any, device: NameDevices$1) => T;
40449
+ declare const getPaddingStyleByDevice: (value?: PaddingType, device?: NameDevices$1) => {
40450
+ [x: string]: string | undefined;
40451
+ };
40452
+ declare const getResponsiveStylePadding: (value?: ObjectDevices<PaddingType>) => {
40453
+ [x: string]: string | undefined;
40454
+ } | undefined;
40385
40455
 
40386
40456
  type TypographyClass = `gp-g-${TypographyType}`;
40387
40457
  declare const genTypoClass: (name: TypographyType) => TypographyClass;
@@ -41929,7 +41999,7 @@ type ArticlesQueryVariables = Exact$1<{
41929
41999
  type ArticlesQueryResponse = {
41930
42000
  articles?: Maybe$1<(Pick<ArticleConnection$1, 'totalCount'> & {
41931
42001
  edges: Array<(Pick<ArticleEdge$1, 'cursor'> & {
41932
- node?: Maybe$1<(Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'isSample' | 'platformCreatedAt' | 'author'> & {
42002
+ node?: Maybe$1<(Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'isSample' | 'platformCreatedAt' | 'platformUpdatedAt' | 'author'> & {
41933
42003
  tags: Array<never>;
41934
42004
  content?: Maybe$1<Pick<ArticleContent$1, 'excerptHtml'>>;
41935
42005
  blogs?: Maybe$1<{
@@ -42295,4 +42365,4 @@ declare const useInteraction: () => {
42295
42365
  interactionListenerLoaded: (callback: () => void) => void;
42296
42366
  };
42297
42367
 
42298
- export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AirProductReview, 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, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, BaseProps, BasePropsWrap, BlockEntity, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CSSStateKey, 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, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEvent, InteractionTargetEventObject, InteractionTriggerEvent, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options$1 as Options, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewThemePageDocument, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedShopMetasDocument, PublishedShopMetasQueryResponse, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, QueryPublishedShopMetasArgs, 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, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeBorderResponsive, 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, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBgImageSourceByDevice, getBorderRadiusStyle, 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, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBackgroundImageByDevice, getStyleBgColor, getStyleBgImageSource, getStyleShadow, getStyleShadowState, getValueByDevice, 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, useHasPreSelected, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductBundleDiscount, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductShopifyEditLink, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useShopifyLink, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
42368
+ export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AirProductReview, 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, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, BaseProps, BasePropsWrap, BlockEntity, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CSSStateKey, 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, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEvent, InteractionTargetEventObject, InteractionTriggerEvent, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options$1 as Options, PaddingType, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewThemePageDocument, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedShopMetasDocument, PublishedShopMetasQueryResponse, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, QueryPublishedShopMetasArgs, 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, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeBorderResponsive, 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, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBgImageSourceByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getPaddingGlobalSize, getPaddingStyleByDevice, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStylePadding, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBackgroundImageByDevice, getStyleBgColor, getStyleBgImageSource, getStyleShadow, getStyleShadowState, getValueByDevice, 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, useHasPreSelected, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductBundleDiscount, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductShopifyEditLink, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useShopifyLink, 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.58.0-dev.87",
3
+ "version": "1.58.0-dev.93",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",