@gem-sdk/core 2.0.0-dev.733 → 2.0.0-dev.742

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.
@@ -7,6 +7,7 @@ var jsxRuntime = require('react/jsx-runtime');
7
7
  var react = require('react');
8
8
  require('zustand');
9
9
  var BuilderPreviewContext = require('../../contexts/BuilderPreviewContext.js');
10
+ var device = require('../../constants/device.js');
10
11
  require('react-transition-group');
11
12
  require('@gem-sdk/core');
12
13
  require('swr');
@@ -189,12 +190,7 @@ function Spacing(props) {
189
190
  updateSpacing
190
191
  ]);
191
192
  const verifyMarginBottomChanged = (prevValue, newValue)=>{
192
- const listDevices = [
193
- 'desktop',
194
- 'tablet',
195
- 'mobile'
196
- ];
197
- return listDevices.some((device)=>JSON.stringify(prevValue?.[device]?.margin?.bottom) !== JSON.stringify(newValue?.[device]?.margin?.bottom));
193
+ return device.DEVICES.some((device)=>JSON.stringify(prevValue?.[device]?.margin?.bottom) !== JSON.stringify(newValue?.[device]?.margin?.bottom));
198
194
  };
199
195
  const onWindowResize = react.useCallback(()=>{
200
196
  updateSpacing();
@@ -27,6 +27,7 @@
27
27
  }
28
28
  content {
29
29
  excerptHtml
30
+ html
30
31
  }
31
32
  isSample
32
33
  platformCreatedAt
@@ -1,13 +1,10 @@
1
1
  'use strict';
2
2
 
3
+ var device = require('../constants/device.js');
4
+
3
5
  const convertTextAlignToJustify = (align)=>{
4
- const devices = [
5
- 'desktop',
6
- 'tablet',
7
- 'mobile'
8
- ];
9
6
  const result = {};
10
- devices.forEach((device)=>{
7
+ device.DEVICES.forEach((device)=>{
11
8
  const deviceType = device === 'desktop' ? '' : `${device}:`;
12
9
  result[`${deviceType}gp-justify-start`] = align?.[device] === 'left';
13
10
  result[`${deviceType}gp-justify-center`] = align?.[device] === 'center';
@@ -16,12 +13,7 @@ const convertTextAlignToJustify = (align)=>{
16
13
  return result;
17
14
  };
18
15
  const getAlignmentClasses = (align)=>{
19
- const breakpoints = [
20
- 'desktop',
21
- 'tablet',
22
- 'mobile'
23
- ];
24
- return breakpoints.reduce((classes, bp)=>{
16
+ return device.DEVICES.reduce((classes, bp)=>{
25
17
  const prefix = bp === 'desktop' ? '' : `${bp}:`;
26
18
  const alignment = align?.[bp];
27
19
  if (alignment) {
@@ -4,6 +4,7 @@ var constant = require('./constant.js');
4
4
  var colors = require('./colors.js');
5
5
  var makeStyle = require('./make-style.js');
6
6
  var getResonsiveValue = require('./get-resonsive-value.js');
7
+ var device = require('../constants/device.js');
7
8
 
8
9
  const isEmptyBg = (value)=>{
9
10
  return value?.videoHtml5 === undefined && value?.video === undefined && !value?.videoType;
@@ -222,11 +223,7 @@ const getGradientBgrStyleForButton = (backgroundStyle)=>{
222
223
  const getGradientBgrStyleByDevice = (backgroundStyle, ignoreBackgroundImage)=>{
223
224
  if (!backgroundStyle) return;
224
225
  const bgrStyle = {};
225
- [
226
- 'desktop',
227
- 'tablet',
228
- 'mobile'
229
- ].forEach((device)=>{
226
+ device.DEVICES.forEach((device)=>{
230
227
  if (backgroundStyle[device]?.color?.includes(GRADIENT_BGR_KEY)) {
231
228
  const bgImage = `${getBgImageByDevice(backgroundStyle, device) || 'url()'}, ${backgroundStyle[device]?.color}`;
232
229
  Object.assign(bgrStyle, {
@@ -246,11 +243,7 @@ const getBgByDevice = (data)=>{
246
243
  mobile: getResonsiveValue.getResponsiveValueByScreen(backgroundImage, 'mobile')
247
244
  };
248
245
  const bgrStyle = {};
249
- [
250
- 'desktop',
251
- 'tablet',
252
- 'mobile'
253
- ].forEach((device)=>{
246
+ device.DEVICES.forEach((device)=>{
254
247
  const colorValue = getResonsiveValue.getResponsiveValueByScreen(backgroundColor, device);
255
248
  const imageValue = backgroundImage ? getBgImageByDevice(mapBgImage, device) : undefined;
256
249
  if (colorValue?.includes(GRADIENT_BGR_KEY)) {
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var getResonsiveValue = require('./get-resonsive-value.js');
4
+ var device = require('../constants/device.js');
4
5
 
5
6
  const getCarouselContainerHeight = (dotStyle)=>{
6
7
  const getVal = (dotStyle)=>{
@@ -25,18 +26,13 @@ const makeContainerWidthOrHeight = (setting)=>{
25
26
  };
26
27
  const makeDotGapToCarouselStyle = (dotStyle, dotGapToCarousel, vertical)=>{
27
28
  let result = {};
28
- const devices = [
29
- 'desktop',
30
- 'tablet',
31
- 'mobile'
32
- ];
33
29
  const getStyleName = (dotStyle, vertical)=>{
34
30
  if (dotStyle === 'outside') {
35
31
  return vertical ? 'ml' : 'mt';
36
32
  }
37
33
  return vertical ? 'right' : 'bottom';
38
34
  };
39
- devices.map((device)=>{
35
+ device.DEVICES.map((device)=>{
40
36
  const gapToCarousel = getResonsiveValue.getResponsiveValueByScreen(dotGapToCarousel, device, 0);
41
37
  result = {
42
38
  ...result,
@@ -6,6 +6,7 @@ var constant = require('./constant.js');
6
6
  var makeStyle = require('./make-style.js');
7
7
  var radius = require('./radius.js');
8
8
  var shadow = require('./shadow.js');
9
+ var device = require('../constants/device.js');
9
10
 
10
11
  const composeSpacing = ({ source, spacing, type, suffix = '' })=>{
11
12
  const { top, left, bottom, right } = spacing;
@@ -84,11 +85,6 @@ const composeAdvanceStyleForPostPurchase = (data, tag)=>{
84
85
  function composeAdvanceStyle(data, tag, pageType) {
85
86
  if (!data) return {};
86
87
  const styles = {};
87
- const devices = [
88
- 'desktop',
89
- 'tablet',
90
- 'mobile'
91
- ];
92
88
  const states = [
93
89
  'hover',
94
90
  'normal'
@@ -101,7 +97,7 @@ function composeAdvanceStyle(data, tag, pageType) {
101
97
  if (typeof value === 'object') {
102
98
  if (Array.isArray(value)) return;
103
99
  Object.keys(value).forEach((composeAttr)=>{
104
- if (devices.includes(composeAttr)) {
100
+ if (device.DEVICES.includes(composeAttr)) {
105
101
  const deviceValue = value[composeAttr];
106
102
  if (deviceValue !== undefined) {
107
103
  // Responsive border with state
@@ -1,5 +1,6 @@
1
1
  'use strict';
2
2
 
3
+ var device = require('../constants/device.js');
3
4
  var constant = require('./constant.js');
4
5
  var getResonsiveValue = require('./get-resonsive-value.js');
5
6
 
@@ -53,12 +54,7 @@ const convertOldLayout = (layout)=>{
53
54
  };
54
55
  };
55
56
  const getLayoutClasses = (layout)=>{
56
- const breakpoints = [
57
- 'desktop',
58
- 'tablet',
59
- 'mobile'
60
- ];
61
- return breakpoints.reduce((classes, bp)=>{
57
+ return device.DEVICES.reduce((classes, bp)=>{
62
58
  const prefix = bp === 'desktop' ? '' : `${bp}:`;
63
59
  const layoutValue = layout?.[bp];
64
60
  if (layoutValue) {
@@ -3,6 +3,7 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
3
3
  import { useRef, useState, useCallback, useEffect } from 'react';
4
4
  import 'zustand';
5
5
  import { useBuilderPreviewStore } from '../../contexts/BuilderPreviewContext.js';
6
+ import { DEVICES } from '../../constants/device.js';
6
7
  import 'react-transition-group';
7
8
  import '@gem-sdk/core';
8
9
  import 'swr';
@@ -185,12 +186,7 @@ function Spacing(props) {
185
186
  updateSpacing
186
187
  ]);
187
188
  const verifyMarginBottomChanged = (prevValue, newValue)=>{
188
- const listDevices = [
189
- 'desktop',
190
- 'tablet',
191
- 'mobile'
192
- ];
193
- return listDevices.some((device)=>JSON.stringify(prevValue?.[device]?.margin?.bottom) !== JSON.stringify(newValue?.[device]?.margin?.bottom));
189
+ return DEVICES.some((device)=>JSON.stringify(prevValue?.[device]?.margin?.bottom) !== JSON.stringify(newValue?.[device]?.margin?.bottom));
194
190
  };
195
191
  const onWindowResize = useCallback(()=>{
196
192
  updateSpacing();
@@ -25,6 +25,7 @@
25
25
  }
26
26
  content {
27
27
  excerptHtml
28
+ html
28
29
  }
29
30
  isSample
30
31
  platformCreatedAt
@@ -1,11 +1,8 @@
1
+ import { DEVICES } from '../constants/device.js';
2
+
1
3
  const convertTextAlignToJustify = (align)=>{
2
- const devices = [
3
- 'desktop',
4
- 'tablet',
5
- 'mobile'
6
- ];
7
4
  const result = {};
8
- devices.forEach((device)=>{
5
+ DEVICES.forEach((device)=>{
9
6
  const deviceType = device === 'desktop' ? '' : `${device}:`;
10
7
  result[`${deviceType}gp-justify-start`] = align?.[device] === 'left';
11
8
  result[`${deviceType}gp-justify-center`] = align?.[device] === 'center';
@@ -14,12 +11,7 @@ const convertTextAlignToJustify = (align)=>{
14
11
  return result;
15
12
  };
16
13
  const getAlignmentClasses = (align)=>{
17
- const breakpoints = [
18
- 'desktop',
19
- 'tablet',
20
- 'mobile'
21
- ];
22
- return breakpoints.reduce((classes, bp)=>{
14
+ return DEVICES.reduce((classes, bp)=>{
23
15
  const prefix = bp === 'desktop' ? '' : `${bp}:`;
24
16
  const alignment = align?.[bp];
25
17
  if (alignment) {
@@ -2,6 +2,7 @@ import { devicesMapping } from './constant.js';
2
2
  import { isColor, getSingleColorVariable } from './colors.js';
3
3
  import { makeStyleResponsive } from './make-style.js';
4
4
  import { getResponsiveValueByScreen } from './get-resonsive-value.js';
5
+ import { DEVICES } from '../constants/device.js';
5
6
 
6
7
  const isEmptyBg = (value)=>{
7
8
  return value?.videoHtml5 === undefined && value?.video === undefined && !value?.videoType;
@@ -220,11 +221,7 @@ const getGradientBgrStyleForButton = (backgroundStyle)=>{
220
221
  const getGradientBgrStyleByDevice = (backgroundStyle, ignoreBackgroundImage)=>{
221
222
  if (!backgroundStyle) return;
222
223
  const bgrStyle = {};
223
- [
224
- 'desktop',
225
- 'tablet',
226
- 'mobile'
227
- ].forEach((device)=>{
224
+ DEVICES.forEach((device)=>{
228
225
  if (backgroundStyle[device]?.color?.includes(GRADIENT_BGR_KEY)) {
229
226
  const bgImage = `${getBgImageByDevice(backgroundStyle, device) || 'url()'}, ${backgroundStyle[device]?.color}`;
230
227
  Object.assign(bgrStyle, {
@@ -244,11 +241,7 @@ const getBgByDevice = (data)=>{
244
241
  mobile: getResponsiveValueByScreen(backgroundImage, 'mobile')
245
242
  };
246
243
  const bgrStyle = {};
247
- [
248
- 'desktop',
249
- 'tablet',
250
- 'mobile'
251
- ].forEach((device)=>{
244
+ DEVICES.forEach((device)=>{
252
245
  const colorValue = getResponsiveValueByScreen(backgroundColor, device);
253
246
  const imageValue = backgroundImage ? getBgImageByDevice(mapBgImage, device) : undefined;
254
247
  if (colorValue?.includes(GRADIENT_BGR_KEY)) {
@@ -1,4 +1,5 @@
1
1
  import { getResponsiveValueByScreen } from './get-resonsive-value.js';
2
+ import { DEVICES } from '../constants/device.js';
2
3
 
3
4
  const getCarouselContainerHeight = (dotStyle)=>{
4
5
  const getVal = (dotStyle)=>{
@@ -23,18 +24,13 @@ const makeContainerWidthOrHeight = (setting)=>{
23
24
  };
24
25
  const makeDotGapToCarouselStyle = (dotStyle, dotGapToCarousel, vertical)=>{
25
26
  let result = {};
26
- const devices = [
27
- 'desktop',
28
- 'tablet',
29
- 'mobile'
30
- ];
31
27
  const getStyleName = (dotStyle, vertical)=>{
32
28
  if (dotStyle === 'outside') {
33
29
  return vertical ? 'ml' : 'mt';
34
30
  }
35
31
  return vertical ? 'right' : 'bottom';
36
32
  };
37
- devices.map((device)=>{
33
+ DEVICES.map((device)=>{
38
34
  const gapToCarousel = getResponsiveValueByScreen(dotGapToCarousel, device, 0);
39
35
  result = {
40
36
  ...result,
@@ -4,6 +4,7 @@ import { layoutComponent } from './constant.js';
4
4
  import { makeStyleKey } from './make-style.js';
5
5
  import { composeRadius, getCornerCSSFromGlobal } from './radius.js';
6
6
  import { getResponsiveStyleShadow, getStyleShadowState, getStyleShadow } from './shadow.js';
7
+ import { DEVICES } from '../constants/device.js';
7
8
 
8
9
  const composeSpacing = ({ source, spacing, type, suffix = '' })=>{
9
10
  const { top, left, bottom, right } = spacing;
@@ -82,11 +83,6 @@ const composeAdvanceStyleForPostPurchase = (data, tag)=>{
82
83
  function composeAdvanceStyle(data, tag, pageType) {
83
84
  if (!data) return {};
84
85
  const styles = {};
85
- const devices = [
86
- 'desktop',
87
- 'tablet',
88
- 'mobile'
89
- ];
90
86
  const states = [
91
87
  'hover',
92
88
  'normal'
@@ -99,7 +95,7 @@ function composeAdvanceStyle(data, tag, pageType) {
99
95
  if (typeof value === 'object') {
100
96
  if (Array.isArray(value)) return;
101
97
  Object.keys(value).forEach((composeAttr)=>{
102
- if (devices.includes(composeAttr)) {
98
+ if (DEVICES.includes(composeAttr)) {
103
99
  const deviceValue = value[composeAttr];
104
100
  if (deviceValue !== undefined) {
105
101
  // Responsive border with state
@@ -1,3 +1,4 @@
1
+ import { DEVICES } from '../constants/device.js';
1
2
  import { devicesMapping } from './constant.js';
2
3
  import { getResponsiveValueByScreen, getResponsiveValue } from './get-resonsive-value.js';
3
4
 
@@ -51,12 +52,7 @@ const convertOldLayout = (layout)=>{
51
52
  };
52
53
  };
53
54
  const getLayoutClasses = (layout)=>{
54
- const breakpoints = [
55
- 'desktop',
56
- 'tablet',
57
- 'mobile'
58
- ];
59
- return breakpoints.reduce((classes, bp)=>{
55
+ return DEVICES.reduce((classes, bp)=>{
60
56
  const prefix = bp === 'desktop' ? '' : `${bp}:`;
61
57
  const layoutValue = layout?.[bp];
62
58
  if (layoutValue) {
@@ -34201,8 +34201,8 @@ type BasePropsWrap<S = unknown, Style = unknown, A = Record<string, any>> = Base
34201
34201
  builderAttrs?: Record<string, any>;
34202
34202
  style?: React.CSSProperties;
34203
34203
  };
34204
- type NameDevices$1 = 'desktop' | 'tablet' | 'mobile';
34205
- type ObjectDevices<T> = Partial<Record<NameDevices$1, T>>;
34204
+ type NameDevices = 'desktop' | 'tablet' | 'mobile';
34205
+ type ObjectDevices<T> = Partial<Record<NameDevices, T>>;
34206
34206
  type StateType = 'normal' | 'hover' | 'focus' | 'active' | 'price' | 'compareAtPrice';
34207
34207
  type StateProp<T> = Partial<Record<StateType, T>>;
34208
34208
  type ResponsiveStateProp<T> = ObjectDevices<StateProp<T>>;
@@ -34251,7 +34251,6 @@ type AirProductReview = 'review_box' | 'star_rating' | 'review_carousel';
34251
34251
  type FastBundleWidgetType = 'fbt_position' | 'product_bundles' | 'product_bundle_with_ids' | 'volume_position';
34252
34252
  type DotStyle = 'none' | 'inside' | 'outside';
34253
34253
 
34254
- type NameDevices = 'desktop' | 'tablet' | 'mobile';
34255
34254
  type TypographyV2Family = string | {
34256
34255
  value: string;
34257
34256
  type: TypographyV2FontFamilyType;
@@ -35260,9 +35259,9 @@ type ArticlesQueryVariables = Exact$1<{
35260
35259
  where?: InputMaybe$1<ArticleWhereInput$1>;
35261
35260
  }>;
35262
35261
  type ArticlesQueryResponse = {
35263
- articles?: Maybe$1<(Pick<ArticleConnection$1, 'totalCount'> & {
35264
- edges: Array<(Pick<ArticleEdge$1, 'cursor'> & {
35265
- node?: Maybe$1<(Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'isSample' | 'platformCreatedAt' | 'platformUpdatedAt' | 'publishedAt' | 'author'> & {
35262
+ articles?: Maybe$1<Pick<ArticleConnection$1, 'totalCount'> & {
35263
+ edges: Array<Pick<ArticleEdge$1, 'cursor'> & {
35264
+ node?: Maybe$1<Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'isSample' | 'platformCreatedAt' | 'platformUpdatedAt' | 'publishedAt' | 'author'> & {
35266
35265
  tags?: Maybe$1<Array<Maybe$1<Pick<Tag$1, 'name'>>>>;
35267
35266
  content?: Maybe$1<Pick<ArticleContent$1, 'excerptHtml'>>;
35268
35267
  blogs?: Maybe$1<{
@@ -35271,12 +35270,12 @@ type ArticlesQueryResponse = {
35271
35270
  }>;
35272
35271
  }>;
35273
35272
  media?: Maybe$1<Pick<Media$1, 'alt' | 'width' | 'src' | 'height'>>;
35274
- })>;
35275
- })>;
35273
+ }>;
35274
+ }>;
35276
35275
  pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>>;
35277
- })>;
35276
+ }>;
35278
35277
  };
35279
- declare const ArticlesDocument = "\n query articles($after: Cursor, $before: Cursor, $first: Int, $last: Int, $orderBy: ArticleOrder, $where: ArticleWhereInput) {\n articles(\n after: $after\n before: $before\n first: $first\n last: $last\n orderBy: $orderBy\n where: $where\n ) {\n edges {\n cursor\n node {\n id\n title\n handle\n description\n templateSuffix\n titleMeta\n descriptionMeta\n baseID\n platform\n tags {\n name\n }\n content {\n excerptHtml\n }\n isSample\n platformCreatedAt\n platformUpdatedAt\n publishedAt\n author\n blogs {\n edges {\n node {\n title\n handle\n }\n }\n }\n media {\n alt\n width\n src\n height\n }\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n }\n}\n ";
35278
+ declare const ArticlesDocument = "\n query articles($after: Cursor, $before: Cursor, $first: Int, $last: Int, $orderBy: ArticleOrder, $where: ArticleWhereInput) {\n articles(\n after: $after\n before: $before\n first: $first\n last: $last\n orderBy: $orderBy\n where: $where\n ) {\n edges {\n cursor\n node {\n id\n title\n handle\n description\n templateSuffix\n titleMeta\n descriptionMeta\n baseID\n platform\n tags {\n name\n }\n content {\n excerptHtml\n html\n }\n isSample\n platformCreatedAt\n platformUpdatedAt\n publishedAt\n author\n blogs {\n edges {\n node {\n title\n handle\n }\n }\n }\n media {\n alt\n width\n src\n height\n }\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n }\n}\n ";
35280
35279
 
35281
35280
  type BlogsQueryVariables = Exact$1<{
35282
35281
  after?: InputMaybe$1<Scalars$2['Cursor']>;
@@ -35404,7 +35403,7 @@ declare const composeBorderCss: (borderV?: Border | undefined, options?: {
35404
35403
  }) => string;
35405
35404
  declare const composeBorderResponsive: (borderValue?: ObjectDevices<Border>) => React.CSSProperties;
35406
35405
 
35407
- declare const getCarouselContainerHeight: <T>(dotStyle?: Partial<Record<NameDevices$1, T>> | undefined) => {
35406
+ declare const getCarouselContainerHeight: <T>(dotStyle?: Partial<Record<NameDevices, T>> | undefined) => {
35408
35407
  desktop: string | undefined;
35409
35408
  tablet: string | undefined;
35410
35409
  mobile: string | undefined;
@@ -35415,7 +35414,7 @@ declare const makeContainerWidthOrHeight: <T extends ShortHandProperty>(setting:
35415
35414
  }) => {
35416
35415
  [x: string]: string | undefined;
35417
35416
  };
35418
- declare const makeDotGapToCarouselStyle: <T extends ShortHandProperty, K>(dotStyle?: ObjectDevices<DotStyle>, dotGapToCarousel?: Partial<Record<NameDevices$1, K>> | undefined, vertical?: ObjectDevices<boolean>) => {
35417
+ declare const makeDotGapToCarouselStyle: <T extends ShortHandProperty, K>(dotStyle?: ObjectDevices<DotStyle>, dotGapToCarousel?: Partial<Record<NameDevices, K>> | undefined, vertical?: ObjectDevices<boolean>) => {
35419
35418
  [x: string]: string | undefined;
35420
35419
  };
35421
35420
 
@@ -35437,9 +35436,9 @@ declare const filterToolbarPreview: (children: React.ReactNode, keep?: boolean)
35437
35436
  */
35438
35437
  declare const flattenConnection: <T>(connection?: Maybe$1<GraphQLConnection<T>>) => Maybe$1<T>[];
35439
35438
 
35440
- declare const getResponsiveValue: <I, K extends keyof I>(input?: Partial<Record<NameDevices$1, I>> | undefined, k?: K | undefined) => Partial<Record<NameDevices$1, I[K]>>;
35441
- declare const getResponsiveStateValue: <I>(k: StateType, input?: Partial<Record<NameDevices$1, Partial<Record<StateType, I>>>> | undefined) => Partial<Record<NameDevices$1, I>>;
35442
- declare const getResponsiveValueByScreen: <T>(value?: Partial<Record<NameDevices$1, T>> | undefined, breakpoint?: NameDevices$1 | undefined, defaultValue?: T | undefined) => T | undefined;
35439
+ declare const getResponsiveValue: <I, K extends keyof I>(input?: Partial<Record<NameDevices, I>> | undefined, k?: K | undefined) => Partial<Record<NameDevices, I[K]>>;
35440
+ declare const getResponsiveStateValue: <I>(k: StateType, input?: Partial<Record<NameDevices, Partial<Record<StateType, I>>>> | undefined) => Partial<Record<NameDevices, I>>;
35441
+ declare const getResponsiveValueByScreen: <T>(value?: Partial<Record<NameDevices, T>> | undefined, breakpoint?: NameDevices | undefined, defaultValue?: T | undefined) => T | undefined;
35443
35442
  declare const isColumnDirectionExist: (layout: ObjectDevices<ObjectLayoutValue>, breakpoint: keyof ObjectDevices<ObjectLayoutValue>) => boolean;
35444
35443
 
35445
35444
  declare function getShortName(name: string): string;
@@ -35545,9 +35544,9 @@ declare const makeStyle: <T extends ShortHandProperty, K>(style: Record<T, K>) =
35545
35544
  [k: string]: Record<`--${T}`, K>;
35546
35545
  };
35547
35546
  declare const makeStyleState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<StateType, K>> | undefined) => {};
35548
- declare const makeStyleResponsiveState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, Partial<Record<StateType, K>>>> | undefined) => {};
35549
- declare const makeStyleResponsive: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
35550
- declare const makeStyleResponsiveByScreen: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
35547
+ declare const makeStyleResponsiveState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices, Partial<Record<StateType, K>>>> | undefined) => {};
35548
+ declare const makeStyleResponsive: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
35549
+ declare const makeStyleResponsiveByScreen: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
35551
35550
  declare const makeWidth: (widthValue?: ObjectDevices<string | number>, fullWidthValue?: ObjectDevices<boolean>) => ObjectDevices<string | number>;
35552
35551
  declare const makeGlobalSizeWidthResponsive: (globalSize?: ObjectDevices<SizeSettingGlobal>) => {
35553
35552
  '--w': string | undefined;
@@ -35562,8 +35561,8 @@ declare const makeGlobalSizeHeightResponsive: (globalSize?: ObjectDevices<SizeSe
35562
35561
  declare const makeHeight: (heighValue?: ObjectDevices<string | number>, autoHeight?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
35563
35562
  declare const makeAspectRatio: (aspectRatio?: ObjectDevices<string>, aspectWidth?: ObjectDevices<string | number>, aspectHeight?: ObjectDevices<string | number>) => ObjectDevices<string>;
35564
35563
  declare const makeLineClamp: (lineClampValue?: ObjectDevices<number>, hasLineClampValue?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
35565
- declare const makeStyleResponsiveWidth: <T extends ShortHandProperty, K>(value?: Partial<Record<NameDevices$1, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
35566
- declare const makeStyleResponsiveWidthWithoutAuto: <T extends ShortHandProperty, K>(value?: Partial<Record<NameDevices$1, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
35564
+ declare const makeStyleResponsiveWidth: <T extends ShortHandProperty, K>(value?: Partial<Record<NameDevices, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
35565
+ declare const makeStyleResponsiveWidthWithoutAuto: <T extends ShortHandProperty, K>(value?: Partial<Record<NameDevices, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
35567
35566
 
35568
35567
  type ResponsiveConfig<T> = {
35569
35568
  desktop: {
@@ -36308,7 +36307,7 @@ type SettingUIControl = {
36308
36307
  controlChangeTrigger?: ControlTrigger;
36309
36308
  tabs?: SettingUITab[];
36310
36309
  info?: LabelWithLang;
36311
- compoDefaultValue?: any | Record<NameDevices$1, any>;
36310
+ compoDefaultValue?: any | Record<NameDevices, any>;
36312
36311
  } & SettingUICompo & SettingUIGroup;
36313
36312
  type ControlTriggerAction$1 = {
36314
36313
  controlId: string;
@@ -37275,7 +37274,8 @@ type ShadowV2ControlType<T> = SharedControlType<T> & {
37275
37274
  type BackgroundMediaControlType<T> = SharedControlType<T> & {
37276
37275
  type: 'background-media';
37277
37276
  value?: BackgroundMedia;
37278
- showVideo?: Boolean;
37277
+ showVideo?: boolean;
37278
+ showDeviceControl?: boolean;
37279
37279
  hideImage?: boolean;
37280
37280
  };
37281
37281
  type BackgroundMedia = {
@@ -37648,7 +37648,6 @@ type ComponentPreset = {
37648
37648
  rootOverride?: Record<string, any>;
37649
37649
  };
37650
37650
 
37651
- type Devices = 'desktop' | 'tablet' | 'mobile';
37652
37651
  type Options$1 = {
37653
37652
  liquid?: boolean;
37654
37653
  ignoreBgAttachment?: boolean;
@@ -37656,7 +37655,7 @@ type Options$1 = {
37656
37655
  ignoreBackgroundImageProperties?: boolean;
37657
37656
  ignoreBackgroundColor?: boolean;
37658
37657
  };
37659
- declare const getBgVideoByDevice: (value?: Partial<Record<Devices, Background>>, device?: Devices) => Background | undefined;
37658
+ declare const getBgVideoByDevice: (value?: Partial<Record<NameDevices, Background>>, device?: NameDevices) => Background | undefined;
37660
37659
  declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options$1) => {
37661
37660
  "--bga"?: string | undefined;
37662
37661
  "--bga-tablet"?: string | undefined;
@@ -37679,7 +37678,7 @@ declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background
37679
37678
  };
37680
37679
  declare const getStyleBgColor: (background: ObjectDevices<Background>) => Record<ResponsiveKey<"bgc">, string>;
37681
37680
  declare const getColor: (color?: string) => string | undefined;
37682
- declare const getBgImageByDevice: (background: ObjectDevices<Background>, device: Devices, options?: Options$1) => string | undefined;
37681
+ declare const getBgImageByDevice: (background: ObjectDevices<Background>, device: NameDevices, options?: Options$1) => string | undefined;
37683
37682
  declare const composeBackgroundCss: (backgroundColor?: ColorValueType) => string;
37684
37683
  declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) => {
37685
37684
  wrapper: {
@@ -37691,10 +37690,10 @@ declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) =>
37691
37690
  } | undefined;
37692
37691
  declare const GRADIENT_BGR_KEY = "linear-gradient";
37693
37692
  declare const getGradientBgrStyleForButton: (backgroundStyle: Partial<Record<StateType, ColorValueType>> | undefined) => Record<string, string> | undefined;
37694
- declare const getGradientBgrStyleByDevice: (backgroundStyle: Partial<Record<Devices, Background>> | undefined, ignoreBackgroundImage?: Record<Devices, boolean>) => {} | undefined;
37693
+ declare const getGradientBgrStyleByDevice: (backgroundStyle: Partial<Record<NameDevices, Background>> | undefined, ignoreBackgroundImage?: Record<NameDevices, boolean>) => {} | undefined;
37695
37694
  declare const getBgByDevice: (data: {
37696
- backgroundColor: Partial<Record<Devices, string>> | undefined;
37697
- backgroundImage: Partial<Record<Devices, BackgroundImageValue>> | undefined;
37695
+ backgroundColor: Partial<Record<NameDevices, string>> | undefined;
37696
+ backgroundImage: Partial<Record<NameDevices, BackgroundImageValue>> | undefined;
37698
37697
  }) => {
37699
37698
  "--bgr": string;
37700
37699
  "--bgr-tablet": string;
@@ -37718,7 +37717,7 @@ declare const getStyleBgImageSource: (backgroundImage: StateProp<BackgroundImage
37718
37717
  declare const getBgImageSourceByDevice: (backgroundImage: StateProp<BackgroundImageValue>, state: StateType, options?: Options) => string;
37719
37718
  declare const composeBackgroundImageCss: (config?: ObjectDevices<StateProp<BackgroundImageValue>> | StateProp<BackgroundImageValue>, options?: {
37720
37719
  useLiquid?: boolean;
37721
- device?: 'desktop' | 'tablet' | 'mobile';
37720
+ device?: NameDevices;
37722
37721
  state?: 'normal' | 'hover';
37723
37722
  responsive?: boolean;
37724
37723
  }) => string | undefined;
@@ -37743,7 +37742,7 @@ declare const composeTextColorCss: (color?: ColorValueType) => string;
37743
37742
  type AdvanceValue = Primitive | ObjectDevices<Primitive>;
37744
37743
  declare const composeAdvanceStyleForPostPurchase: (data?: Record<string, AdvanceValue>, tag?: string) => React.CSSProperties;
37745
37744
  declare function composeAdvanceStyle(data?: Record<string, AdvanceValue>, tag?: string, pageType?: PublishedThemePageType$1): React.CSSProperties;
37746
- declare const convertBoxShadowV1ToV2: (hasBoxShadow: Partial<Record<StateType, boolean>>, value: Partial<Record<NameDevices$1, Primitive>>, tag: string | undefined) => Partial<Record<StateType, boolean>>;
37745
+ declare const convertBoxShadowV1ToV2: (hasBoxShadow: Partial<Record<StateType, boolean>>, value: Partial<Record<NameDevices, Primitive>>, tag: string | undefined) => Partial<Record<StateType, boolean>>;
37747
37746
  declare const splitStyle: (keys: ShortHandProperty[], style?: React.CSSProperties) => React.CSSProperties[];
37748
37747
  declare const filterAttrInStyle: (style?: React.CSSProperties, filterKeys?: string[]) => {
37749
37748
  [x: string]: any;
@@ -42626,8 +42625,8 @@ declare const composePositionLineHeight: ({ compose, lineHeight, device, positio
42626
42625
  compose: PostionType;
42627
42626
  lineHeight: string;
42628
42627
  device: NameDevices;
42629
- position?: Partial<Record<NameDevices$1, "center" | "baseline">> | undefined;
42630
- iconWidth?: Partial<Record<NameDevices$1, number>> | undefined;
42628
+ position?: Partial<Record<NameDevices, "center" | "baseline">> | undefined;
42629
+ iconWidth?: Partial<Record<NameDevices, number>> | undefined;
42631
42630
  }) => void;
42632
42631
 
42633
42632
  declare function isDefined<T>(argument: T | undefined): argument is T;
@@ -42636,10 +42635,10 @@ declare const gridToArrayRegex: RegExp;
42636
42635
  declare const optionLayoutStyle: (column?: ObjectDevices<string | number>) => React.CSSProperties;
42637
42636
  declare const composeGridLayout: (layout?: ObjectDevices<ObjectLayoutValue>) => React.CSSProperties;
42638
42637
  declare const convertOldLayout: (layout?: ObjectDevices<string>) => ObjectDevices<ObjectLayoutValue>;
42639
- declare const getLayoutClasses: (layout: Partial<Record<NameDevices$1, string>> | undefined) => Record<string, boolean>;
42638
+ declare const getLayoutClasses: (layout: Partial<Record<NameDevices, string>> | undefined) => Record<string, boolean>;
42640
42639
 
42641
- declare const convertTextAlignToJustify: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
42642
- declare const getAlignmentClasses: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
42640
+ declare const convertTextAlignToJustify: (align: Partial<Record<NameDevices, AlignProp>> | undefined) => Record<string, boolean>;
42641
+ declare const getAlignmentClasses: (align: Partial<Record<NameDevices, AlignProp>> | undefined) => Record<string, boolean>;
42643
42642
 
42644
42643
  declare function filterTruthyStyles<T extends Record<string, any>>(styles: T): Partial<T>;
42645
42644
 
@@ -42688,8 +42687,8 @@ declare const generateCollectionQueryKey: (args: FetchCollectionArgs) => ['query
42688
42687
  declare const generateProductsQueryKey: (args: FetchProductsParams) => ['query/products', FetchProductsParams];
42689
42688
 
42690
42689
  declare const getCornerCSSFromGlobal: (corner?: CornerRadius) => React.CSSProperties;
42691
- declare const getRadiusCSSFromGlobal: (state: StateType, key?: RoundedSize, device?: NameDevices$1) => React.CSSProperties;
42692
- declare const getCustomRadius: (state: StateType, radius?: CornerRadius, device?: NameDevices$1) => React.CSSProperties;
42690
+ declare const getRadiusCSSFromGlobal: (state: StateType, key?: RoundedSize, device?: NameDevices) => React.CSSProperties;
42691
+ declare const getCustomRadius: (state: StateType, radius?: CornerRadius, device?: NameDevices) => React.CSSProperties;
42693
42692
  declare const composeRadius: (value?: StateProp<CornerRadius> | ResponsiveStateProp<CornerRadius>) => React.CSSProperties;
42694
42693
  declare const composeRadiusResponsive: (radiusValue?: ObjectDevices<CornerRadius>) => React.CSSProperties;
42695
42694
  declare const getRadiusStyleActiveState: (radiusValue?: StateProp<CornerRadius>) => React.CSSProperties;
@@ -45987,14 +45986,14 @@ declare const getGlobalSizeGap: (globalSize?: ObjectDevices<SizeSettingGlobal>)
45987
45986
  '--gg-tablet': string | undefined;
45988
45987
  '--gg-mobile': string | undefined;
45989
45988
  };
45990
- declare const makeStyleWithDefault: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined, defaultVal?: Partial<Record<NameDevices$1, K>> | undefined) => Record<ResponsiveKey<T>, K>;
45991
- declare const getWidthHeightGlobalSize: (type: 'width' | 'height', globalSize?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices$1, string | number>>;
45992
- declare const getHeightByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices$1, string>>;
45993
- declare const getWidthByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>, defaultAuto?: boolean, defaultFull?: boolean) => Partial<Record<NameDevices$1, string>>;
45989
+ declare const makeStyleWithDefault: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices, K>> | undefined, defaultVal?: Partial<Record<NameDevices, K>> | undefined) => Record<ResponsiveKey<T>, K>;
45990
+ declare const getWidthHeightGlobalSize: (type: 'width' | 'height', globalSize?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices, string | number>>;
45991
+ declare const getHeightByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices, string>>;
45992
+ declare const getWidthByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>, defaultAuto?: boolean, defaultFull?: boolean) => Partial<Record<NameDevices, string>>;
45994
45993
  declare const getAspectRatioGlobalSize: (shape?: ObjectDevices<SizeSettingGlobal>) => ObjectDevices<string>;
45995
45994
  declare const getPaddingGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) => React.CSSProperties;
45996
- declare const getValueByDevice: <T>(value: any, device: NameDevices$1) => T;
45997
- declare const getPaddingStyleByDevice: (value?: PaddingType, device?: NameDevices$1) => {
45995
+ declare const getValueByDevice: <T>(value: any, device: NameDevices) => T;
45996
+ declare const getPaddingStyleByDevice: (value?: PaddingType, device?: NameDevices) => {
45998
45997
  [x: string]: string | undefined;
45999
45998
  };
46000
45999
  declare const getResponsiveStylePadding: (value?: ObjectDevices<PaddingType>) => {
@@ -47728,7 +47727,7 @@ declare const useProductsQuery: (ids?: string[], options?: SWRConfiguration<Prod
47728
47727
  }) => swr__internal.SWRResponse<ProductsQueryResponse, any, Partial<swr__internal.PublicConfiguration<ProductsQueryResponse, any, (arg: ["query/products", FetchProductsParams]) => swr__internal.FetcherResponse<ProductsQueryResponse>>> | undefined>;
47729
47728
  declare const useProductsQueryAll: (variable?: VariableRelatedStyles | undefined, options?: SWRConfiguration<ProductsQueryResponse>) => swr__internal.SWRResponse<ProductsQueryResponse, any, Partial<swr__internal.PublicConfiguration<ProductsQueryResponse, any, (arg: ["query/products", any]) => swr__internal.FetcherResponse<ProductsQueryResponse>>> | undefined>;
47730
47729
 
47731
- declare const useCurrentDevice: () => NameDevices$1;
47730
+ declare const useCurrentDevice: () => NameDevices;
47732
47731
 
47733
47732
  declare const useLazyVideo: () => void;
47734
47733
 
@@ -47886,24 +47885,24 @@ declare const useShopifyLink: ({ productId, articleId }: ShopifyLinkParam) => {
47886
47885
  declare const useProductList: () => CollectionProductSelectFragment | undefined;
47887
47886
  declare const useProductListProducts: () => (ProductQuickSelectFragment | undefined)[] | undefined;
47888
47887
  declare const useProductListSettings: () => {
47889
- loop?: Partial<Record<NameDevices$1, boolean>> | undefined;
47890
- scrollMode?: Partial<Record<NameDevices$1, "snap" | "free" | "free-snap">> | undefined;
47891
- slidesToShow?: Partial<Record<NameDevices$1, number | "auto">> | undefined;
47892
- spacing?: Partial<Record<NameDevices$1, number>> | undefined;
47888
+ loop?: Partial<Record<NameDevices, boolean>> | undefined;
47889
+ scrollMode?: Partial<Record<NameDevices, "snap" | "free" | "free-snap">> | undefined;
47890
+ slidesToShow?: Partial<Record<NameDevices, number | "auto">> | undefined;
47891
+ spacing?: Partial<Record<NameDevices, number>> | undefined;
47893
47892
  layout?: "slider" | "grid" | undefined;
47894
- dot?: Partial<Record<NameDevices$1, boolean>> | undefined;
47895
- dotStyle?: Partial<Record<NameDevices$1, "none" | "inside" | "outside">> | undefined;
47896
- arrow?: Partial<Record<NameDevices$1, boolean>> | undefined;
47897
- controlOverContent?: Partial<Record<NameDevices$1, boolean>> | undefined;
47893
+ dot?: Partial<Record<NameDevices, boolean>> | undefined;
47894
+ dotStyle?: Partial<Record<NameDevices, "none" | "inside" | "outside">> | undefined;
47895
+ arrow?: Partial<Record<NameDevices, boolean>> | undefined;
47896
+ controlOverContent?: Partial<Record<NameDevices, boolean>> | undefined;
47898
47897
  speed?: number | undefined;
47899
47898
  } | undefined;
47900
47899
  declare const useProductListStyles: () => {
47901
- horizontalGutter?: Partial<Record<NameDevices$1, string>> | undefined;
47902
- verticalGutter?: Partial<Record<NameDevices$1, string>> | undefined;
47903
- fullWidth?: Partial<Record<NameDevices$1, boolean>> | undefined;
47904
- spacing?: Partial<Record<NameDevices$1, number>> | undefined;
47905
- width?: Partial<Record<NameDevices$1, string>> | undefined;
47906
- height?: Partial<Record<NameDevices$1, string>> | undefined;
47900
+ horizontalGutter?: Partial<Record<NameDevices, string>> | undefined;
47901
+ verticalGutter?: Partial<Record<NameDevices, string>> | undefined;
47902
+ fullWidth?: Partial<Record<NameDevices, boolean>> | undefined;
47903
+ spacing?: Partial<Record<NameDevices, number>> | undefined;
47904
+ width?: Partial<Record<NameDevices, string>> | undefined;
47905
+ height?: Partial<Record<NameDevices, string>> | undefined;
47907
47906
  } | undefined;
47908
47907
 
47909
47908
  declare const useSuspenseFetch: <T>(key: string | any[], promise: () => Promise<T>) => {
@@ -47968,6 +47967,6 @@ declare const useInteraction: () => {
47968
47967
  interactionListenerLoaded: (callback: () => void) => void;
47969
47968
  };
47970
47969
 
47971
- declare const DEVICES: NameDevices$1[];
47970
+ declare const DEVICES: NameDevices[];
47972
47971
 
47973
- 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, ArticlesDocument, ArticlesQueryResponse, ArticlesQueryVariables, Background, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, BaseProps, BasePropsWrap, BlockEntity, BlogsDocument, BlogsQueryResponse, BlogsQueryVariables, 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, DEVICES, DeepPartial, DotStyle, Dropdown, DynamicCollection, DynamicProduct, ExtractState, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, I18nProvider, I18nProviderProps, 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, LooxReviewsWidgetTypeV2, MediaSelectFragment, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, Option$4 as Option, 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, PublishedShopMetasQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, SaleFunnelOfferDocument, SaleFunnelOfferQueryResponse, SaleFunnelOfferQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, Setting, SettingByAnimationType, SettingByAnimationValues, SettingUIControl, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, ShopShopifyDocument, ShopShopifyQueryResponse, ShopShopifyQueryVariables, shop as ShopType, SizeProps, SizeSetting$1 as SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StampedWidgetTypeV2, 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, ValidateType, VariableRelatedStyles, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBackgroundImageCss, composeBorderCss, composeBorderResponsive, composeClasses, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadow, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTextHoverColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertBoxShadowV1ToV2, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterToolbarPreview, filterTruthyStyles, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAlignmentClasses, getAppBlocks, getAspectRatioGlobalSize, getBgByDevice, getBgImageByDevice, getBgImageSourceByDevice, getBgVideoByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getColor, getCornerCSSFromGlobal, getCornerStyle, getCustomRadius, getFlexGrowClassByShapeGlobalSize, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getLayoutClasses, getPaddingGlobalSize, getPaddingStyleByDevice, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStylePadding, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBackgroundImage, getStyleBgColor, getStyleBgImageSource, getStyleShadow, getStyleShadowState, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, handleConvertInputBorderColor, handleConvertInputBorderWidth, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleResponsiveWidth, makeStyleResponsiveWidthWithoutAuto, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, sanitizeLiquid, 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, useI18n, useI18nStore, 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, useStickyStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useTimezone, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
47972
+ 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, ArticlesDocument, ArticlesQueryResponse, ArticlesQueryVariables, Background, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, BaseProps, BasePropsWrap, BlockEntity, BlogsDocument, BlogsQueryResponse, BlogsQueryVariables, 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, DEVICES, DeepPartial, DotStyle, Dropdown, DynamicCollection, DynamicProduct, ExtractState, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, I18nProvider, I18nProviderProps, 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, LooxReviewsWidgetTypeV2, MediaSelectFragment, ModalProvider, ModalProviderProps, NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, Option$4 as Option, 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, PublishedShopMetasQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, SaleFunnelOfferDocument, SaleFunnelOfferQueryResponse, SaleFunnelOfferQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, Setting, SettingByAnimationType, SettingByAnimationValues, SettingUIControl, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, ShopShopifyDocument, ShopShopifyQueryResponse, ShopShopifyQueryVariables, shop as ShopType, SizeProps, SizeSetting$1 as SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StampedWidgetTypeV2, 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, ValidateType, VariableRelatedStyles, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBackgroundImageCss, composeBorderCss, composeBorderResponsive, composeClasses, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadow, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTextHoverColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertBoxShadowV1ToV2, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterToolbarPreview, filterTruthyStyles, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAlignmentClasses, getAppBlocks, getAspectRatioGlobalSize, getBgByDevice, getBgImageByDevice, getBgImageSourceByDevice, getBgVideoByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getColor, getCornerCSSFromGlobal, getCornerStyle, getCustomRadius, getFlexGrowClassByShapeGlobalSize, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getLayoutClasses, getPaddingGlobalSize, getPaddingStyleByDevice, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStylePadding, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBackgroundImage, getStyleBgColor, getStyleBgImageSource, getStyleShadow, getStyleShadowState, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, handleConvertInputBorderColor, handleConvertInputBorderWidth, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleResponsiveWidth, makeStyleResponsiveWidthWithoutAuto, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, sanitizeLiquid, 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, useI18n, useI18nStore, 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, useStickyStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useTimezone, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "2.0.0-dev.733",
3
+ "version": "2.0.0-dev.742",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",