@gem-sdk/core 1.58.0-dev.80 → 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',
@@ -129,9 +130,15 @@ function composeAdvanceStyle(data, tag, pageType) {
129
130
  'Product',
130
131
  'ProductSku'
131
132
  ];
133
+ const boostElements = [
134
+ 'Icon',
135
+ 'IconListHoz',
136
+ 'Line'
137
+ ];
132
138
  const listElementShadowV2 = [
133
139
  ...baseElements,
134
- ...productElements
140
+ ...productElements,
141
+ ...boostElements
135
142
  ];
136
143
  let hasBoxShadowV2 = hasBoxShadow;
137
144
  if (listElementShadowV2.includes(tag || '')) {
@@ -32,7 +32,8 @@ const getCustomRadius = (state, radius, device)=>{
32
32
  'pill',
33
33
  'rounded',
34
34
  'single',
35
- 'none'
35
+ 'none',
36
+ 'circle'
36
37
  ];
37
38
  if (!radius || !state || !list.includes(radius?.radiusType ?? '')) return {};
38
39
  const suffix = device && device !== 'desktop' ? constant.devicesMapping?.[device] : '';
@@ -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',
@@ -127,9 +128,15 @@ function composeAdvanceStyle(data, tag, pageType) {
127
128
  'Product',
128
129
  'ProductSku'
129
130
  ];
131
+ const boostElements = [
132
+ 'Icon',
133
+ 'IconListHoz',
134
+ 'Line'
135
+ ];
130
136
  const listElementShadowV2 = [
131
137
  ...baseElements,
132
- ...productElements
138
+ ...productElements,
139
+ ...boostElements
133
140
  ];
134
141
  let hasBoxShadowV2 = hasBoxShadow;
135
142
  if (listElementShadowV2.includes(tag || '')) {
@@ -30,7 +30,8 @@ const getCustomRadius = (state, radius, device)=>{
30
30
  'pill',
31
31
  'rounded',
32
32
  'single',
33
- 'none'
33
+ 'none',
34
+ 'circle'
34
35
  ];
35
36
  if (!radius || !state || !list.includes(radius?.radiusType ?? '')) return {};
36
37
  const suffix = device && device !== 'desktop' ? devicesMapping?.[device] : '';
@@ -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;
@@ -7315,6 +7315,7 @@ type Mapped$8<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7315
7315
  compoDefaultValue?: ResponsiveConfig<U>;
7316
7316
  emptyOnClear?: boolean;
7317
7317
  showVideo?: boolean;
7318
+ disableGetDefault?: boolean;
7318
7319
  } : {
7319
7320
  id: K;
7320
7321
  label?: string;
@@ -7352,19 +7353,20 @@ type Mapped$8<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7352
7353
  showVideo?: boolean;
7353
7354
  default?: T;
7354
7355
  compoDefaultValue?: T;
7356
+ disableGetDefault?: boolean;
7355
7357
  };
7356
7358
  type SharedControlType<T> = {
7357
- [K in keyof T]-?: Mapped$8<K, T[K]>;
7359
+ [K in keyof T]-?: Mapped$9<K, T[K]>;
7358
7360
  }[keyof T];
7359
7361
 
7360
- type Option$6 = {
7362
+ type Option$7 = {
7361
7363
  value: number | string;
7362
7364
  label?: string | number;
7363
7365
  type?: string;
7364
7366
  icon?: string;
7365
7367
  isTextIcon?: boolean;
7366
7368
  };
7367
- type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7369
+ type Mapped$8<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7368
7370
  id: K;
7369
7371
  label: string;
7370
7372
  info?: string;
@@ -7382,7 +7384,7 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7382
7384
  };
7383
7385
  placeholder?: string;
7384
7386
  type: 'layout-custom-segment';
7385
- options: Option$6[];
7387
+ options: Option$7[];
7386
7388
  devices?: ResponsiveConfig<U>;
7387
7389
  iconViewBox?: string;
7388
7390
  enableItemBackground?: boolean;
@@ -7407,14 +7409,14 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7407
7409
  };
7408
7410
  placeholder?: string;
7409
7411
  type: 'layout-custom-segment';
7410
- options?: Option$6[];
7412
+ options?: Option$7[];
7411
7413
  iconViewBox?: string;
7412
7414
  enableItemBackground?: boolean;
7413
7415
  enableTooltip?: boolean;
7414
7416
  default?: T;
7415
7417
  };
7416
7418
  type LayoutCustomSegmentControlType<T> = {
7417
- [K in keyof T]-?: Mapped$7<K, T[K]>;
7419
+ [K in keyof T]-?: Mapped$8<K, T[K]>;
7418
7420
  }[keyof T];
7419
7421
 
7420
7422
  type AngleControlType<T> = SharedControlType<T> & {
@@ -7426,12 +7428,12 @@ type AngleControlType<T> = SharedControlType<T> & {
7426
7428
  readonly?: boolean;
7427
7429
  };
7428
7430
 
7429
- type Option$5<T> = {
7431
+ type Option$6<T> = {
7430
7432
  value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
7431
7433
  text: string | number;
7432
7434
  desc?: any;
7433
7435
  };
7434
- type Mapped$6<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7436
+ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7435
7437
  id: K;
7436
7438
  label: string;
7437
7439
  hideOnMode?: {
@@ -7447,7 +7449,7 @@ type Mapped$6<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7447
7449
  active?: boolean;
7448
7450
  };
7449
7451
  type: 'checkbox';
7450
- options: Option$5<T>[];
7452
+ options: Option$6<T>[];
7451
7453
  devices?: ResponsiveConfig<U>;
7452
7454
  } : {
7453
7455
  id: K;
@@ -7465,11 +7467,11 @@ type Mapped$6<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7465
7467
  active?: boolean;
7466
7468
  };
7467
7469
  type: 'checkbox';
7468
- options: Option$5<T>[];
7470
+ options: Option$6<T>[];
7469
7471
  default?: T;
7470
7472
  };
7471
7473
  type CheckboxControlType<T> = {
7472
- [K in keyof T]-?: Mapped$6<K, T[K]>;
7474
+ [K in keyof T]-?: Mapped$7<K, T[K]>;
7473
7475
  }[keyof T];
7474
7476
 
7475
7477
  type ChildrensControlType = {
@@ -7558,6 +7560,7 @@ type InputNumberControlType<T> = SharedControlType<T> & {
7558
7560
  min?: number;
7559
7561
  max?: number;
7560
7562
  readonly?: boolean;
7563
+ includeUnit?: 'px' | '%';
7561
7564
  };
7562
7565
 
7563
7566
  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';
@@ -7614,14 +7617,14 @@ type RangeControlType<T> = SharedControlType<T> & {
7614
7617
  maxRelated?: string;
7615
7618
  }>;
7616
7619
 
7617
- type Option$4<T> = {
7620
+ type Option$5<T> = {
7618
7621
  value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
7619
7622
  label?: string | number;
7620
7623
  type?: string;
7621
7624
  icon?: string;
7622
7625
  tooltip?: string;
7623
7626
  };
7624
- type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7627
+ type Mapped$6<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7625
7628
  id: K;
7626
7629
  label?: string;
7627
7630
  info?: string;
@@ -7639,7 +7642,7 @@ type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7639
7642
  };
7640
7643
  placeholder?: string;
7641
7644
  type: 'segment' | 'accordion:segment';
7642
- options: Option$4<T>[];
7645
+ options: Option$5<T>[];
7643
7646
  iconCustom?: boolean;
7644
7647
  devices?: ResponsiveConfig<U>;
7645
7648
  } : {
@@ -7660,12 +7663,12 @@ type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7660
7663
  };
7661
7664
  placeholder?: string;
7662
7665
  type: 'segment' | 'accordion:segment';
7663
- options: Option$4<T>[];
7666
+ options: Option$5<T>[];
7664
7667
  iconCustom?: boolean;
7665
7668
  default?: T;
7666
7669
  };
7667
7670
  type SegmentControlType<T> = {
7668
- [K in keyof T]-?: Mapped$5<K, T[K]>;
7671
+ [K in keyof T]-?: Mapped$6<K, T[K]>;
7669
7672
  }[keyof T];
7670
7673
 
7671
7674
  type OpenLinkControlType<T> = SharedControlType<T> & {
@@ -7676,7 +7679,7 @@ type OpenLinkControlType<T> = SharedControlType<T> & {
7676
7679
  linkType?: 'openApp' | 'install';
7677
7680
  };
7678
7681
 
7679
- type Option$3<T> = {
7682
+ type Option$4<T> = {
7680
7683
  value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
7681
7684
  label: string | number;
7682
7685
  hideOnPage?: string[];
@@ -7689,7 +7692,7 @@ type Option$3<T> = {
7689
7692
  note?: string;
7690
7693
  maxOption?: number;
7691
7694
  };
7692
- type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7695
+ type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7693
7696
  id: K;
7694
7697
  label?: string;
7695
7698
  info?: string;
@@ -7708,7 +7711,7 @@ type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7708
7711
  };
7709
7712
  placeholder?: string;
7710
7713
  type: 'select';
7711
- options: Option$3<T>[];
7714
+ options: Option$4<T>[];
7712
7715
  devices?: ResponsiveConfig<U>;
7713
7716
  } : {
7714
7717
  id: K;
@@ -7728,12 +7731,12 @@ type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7728
7731
  };
7729
7732
  placeholder?: string;
7730
7733
  type: 'select';
7731
- options: Option$3<T>[];
7734
+ options: Option$4<T>[];
7732
7735
  default?: T;
7733
7736
  isFullWidth?: boolean;
7734
7737
  };
7735
7738
  type SelectControlType<T> = {
7736
- [K in keyof T]-?: Mapped$4<K, T[K]>;
7739
+ [K in keyof T]-?: Mapped$5<K, T[K]>;
7737
7740
  }[keyof T];
7738
7741
 
7739
7742
  type TextareaControlType<T> = SharedControlType<T> & {
@@ -7961,7 +7964,7 @@ type CustomCodeEditor = {
7961
7964
  id: string;
7962
7965
  };
7963
7966
 
7964
- type Option$2<T> = {
7967
+ type Option$3<T> = {
7965
7968
  value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
7966
7969
  label?: string | number;
7967
7970
  type?: string;
@@ -7969,7 +7972,7 @@ type Option$2<T> = {
7969
7972
  iconName?: string;
7970
7973
  isTextIcon?: boolean;
7971
7974
  };
7972
- type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7975
+ type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7973
7976
  id: K;
7974
7977
  label: string;
7975
7978
  info?: string;
@@ -7987,10 +7990,10 @@ type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
7987
7990
  };
7988
7991
  placeholder?: string;
7989
7992
  type: 'layout-segment';
7990
- options: Option$2<T>[];
7993
+ options: Option$3<T>[];
7991
7994
  groups?: {
7992
7995
  label: string;
7993
- options: Option$2<T>[];
7996
+ options: Option$3<T>[];
7994
7997
  }[];
7995
7998
  devices?: ResponsiveConfig<U>;
7996
7999
  iconViewBox?: string;
@@ -8018,10 +8021,10 @@ type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8018
8021
  type: 'layout-segment';
8019
8022
  itemPerRow?: number;
8020
8023
  itemSpacing?: 'large' | 'small';
8021
- options?: Option$2<T>[];
8024
+ options?: Option$3<T>[];
8022
8025
  groups?: {
8023
8026
  label: string;
8024
- options: Option$2<T>[];
8027
+ options: Option$3<T>[];
8025
8028
  }[];
8026
8029
  iconViewBox?: string;
8027
8030
  enableItemBackground?: boolean;
@@ -8029,7 +8032,7 @@ type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8029
8032
  default?: T;
8030
8033
  };
8031
8034
  type LayoutSegmentControlType<T> = {
8032
- [K in keyof T]-?: Mapped$3<K, T[K]>;
8035
+ [K in keyof T]-?: Mapped$4<K, T[K]>;
8033
8036
  }[keyof T];
8034
8037
 
8035
8038
  type InputSpacing<T> = SharedControlType<T> & {
@@ -8152,7 +8155,7 @@ type Actions = {
8152
8155
  actionHandle?: string;
8153
8156
  link?: string;
8154
8157
  };
8155
- type Mapped$2<K, T> = {
8158
+ type Mapped$3<K, T> = {
8156
8159
  id: K;
8157
8160
  label: string;
8158
8161
  info?: string;
@@ -8161,7 +8164,7 @@ type Mapped$2<K, T> = {
8161
8164
  default?: T;
8162
8165
  };
8163
8166
  type StepsGuide<T> = {
8164
- [K in keyof T]-?: Mapped$2<K, T[K]>;
8167
+ [K in keyof T]-?: Mapped$3<K, T[K]>;
8165
8168
  }[keyof T];
8166
8169
 
8167
8170
  type ImageShape<T> = SharedControlType<T> & {
@@ -8271,14 +8274,14 @@ type SneakPeakRange<T> = SharedControlType<T> & {
8271
8274
  sneakPeakType?: string;
8272
8275
  };
8273
8276
 
8274
- type Option$1<T> = {
8277
+ type Option$2<T> = {
8275
8278
  value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
8276
8279
  label?: string | number;
8277
8280
  type?: string;
8278
8281
  icon?: string;
8279
8282
  isTextIcon?: boolean;
8280
8283
  };
8281
- type Mapped$1<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8284
+ type Mapped$2<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8282
8285
  id: K;
8283
8286
  label: string;
8284
8287
  info?: string;
@@ -8296,7 +8299,7 @@ type Mapped$1<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8296
8299
  };
8297
8300
  placeholder?: string;
8298
8301
  type: 'sneak-peak-type';
8299
- options: Option$1<T>[];
8302
+ options: Option$2<T>[];
8300
8303
  devices?: ResponsiveConfig<U>;
8301
8304
  iconViewBox?: string;
8302
8305
  enableItemBackground?: boolean;
@@ -8321,14 +8324,14 @@ type Mapped$1<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8321
8324
  };
8322
8325
  placeholder?: string;
8323
8326
  type: 'sneak-peak-type';
8324
- options?: Option$1<T>[];
8327
+ options?: Option$2<T>[];
8325
8328
  iconViewBox?: string;
8326
8329
  enableItemBackground?: boolean;
8327
8330
  enableTooltip?: boolean;
8328
8331
  default?: T;
8329
8332
  };
8330
8333
  type SneakPeakTypeControlType<T> = {
8331
- [K in keyof T]-?: Mapped$1<K, T[K]>;
8334
+ [K in keyof T]-?: Mapped$2<K, T[K]>;
8332
8335
  }[keyof T];
8333
8336
 
8334
8337
  type ProductInputCurrencyUnitControlType<T> = SharedControlType<T> & {
@@ -8603,6 +8606,9 @@ type SettingUICompo = {
8603
8606
  fixedValue?: string;
8604
8607
  placeholder?: string;
8605
8608
  help?: SettingUIHelpType;
8609
+ popoverLabel?: LabelWithLang;
8610
+ comboType?: 'color' | 'image';
8611
+ isHideClear?: boolean;
8606
8612
  };
8607
8613
  type SettingUIMoreSetting = {
8608
8614
  label?: LabelWithLang;
@@ -8867,6 +8873,14 @@ type GlobalSwatchesData = {
8867
8873
  optionType: SwatchesOptionType;
8868
8874
  optionValues: SwatchesOptionValue[];
8869
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
+ };
8870
8884
 
8871
8885
  type ShadowV2ControlType<T> = SharedControlType<T> & {
8872
8886
  type: 'shadow-v2';
@@ -8922,14 +8936,14 @@ type ComboControlType<T> = SharedControlType<T> & {
8922
8936
  readonly?: boolean;
8923
8937
  };
8924
8938
 
8925
- type Option<T> = {
8939
+ type Option$1<T> = {
8926
8940
  value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
8927
8941
  label?: string | number;
8928
8942
  iconName?: string;
8929
8943
  type?: string;
8930
8944
  noPadding?: string;
8931
8945
  };
8932
- type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8946
+ type Mapped$1<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8933
8947
  id: K;
8934
8948
  label: string;
8935
8949
  info?: string;
@@ -8947,10 +8961,10 @@ type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8947
8961
  };
8948
8962
  placeholder?: string;
8949
8963
  type: 'layout-selector';
8950
- options: Option<T>[];
8964
+ options: Option$1<T>[];
8951
8965
  groups?: {
8952
8966
  label: string;
8953
- options: Option<T>[];
8967
+ options: Option$1<T>[];
8954
8968
  }[];
8955
8969
  devices?: ResponsiveConfig<U>;
8956
8970
  iconViewBox?: string;
@@ -8978,10 +8992,10 @@ type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8978
8992
  type: 'layout-selector';
8979
8993
  itemPerRow?: number;
8980
8994
  itemSpacing?: 'large' | 'small';
8981
- options?: Option<T>[];
8995
+ options?: Option$1<T>[];
8982
8996
  groups?: {
8983
8997
  label: string;
8984
- options: Option<T>[];
8998
+ options: Option$1<T>[];
8985
8999
  }[];
8986
9000
  iconViewBox?: string;
8987
9001
  enableItemBackground?: boolean;
@@ -8989,10 +9003,65 @@ type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
8989
9003
  default?: T;
8990
9004
  };
8991
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> = {
8992
9061
  [K in keyof T]-?: Mapped<K, T[K]>;
8993
9062
  }[keyof T];
8994
9063
 
8995
- 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>;
8996
9065
  type ControlTriggerAction = {
8997
9066
  controlId: string;
8998
9067
  newValue?: any;
@@ -40377,6 +40446,12 @@ declare const getWidthByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSett
40377
40446
  declare const getAspectRatioGlobalSize: (shape?: ObjectDevices<SizeSettingGlobal>) => ObjectDevices<string>;
40378
40447
  declare const getPaddingGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) => React.CSSProperties;
40379
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;
40380
40455
 
40381
40456
  type TypographyClass = `gp-g-${TypographyType}`;
40382
40457
  declare const genTypoClass: (name: TypographyType) => TypographyClass;
@@ -41924,7 +41999,7 @@ type ArticlesQueryVariables = Exact$1<{
41924
41999
  type ArticlesQueryResponse = {
41925
42000
  articles?: Maybe$1<(Pick<ArticleConnection$1, 'totalCount'> & {
41926
42001
  edges: Array<(Pick<ArticleEdge$1, 'cursor'> & {
41927
- 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'> & {
41928
42003
  tags: Array<never>;
41929
42004
  content?: Maybe$1<Pick<ArticleContent$1, 'excerptHtml'>>;
41930
42005
  blogs?: Maybe$1<{
@@ -42290,4 +42365,4 @@ declare const useInteraction: () => {
42290
42365
  interactionListenerLoaded: (callback: () => void) => void;
42291
42366
  };
42292
42367
 
42293
- 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.80",
3
+ "version": "1.58.0-dev.93",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",