@gem-sdk/core 1.33.1 → 1.33.4
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.
- package/dist/cjs/components/ComponentToolbarPreview.js +1 -4
- package/dist/cjs/helpers/background.js +6 -4
- package/dist/cjs/helpers/carousel.js +58 -0
- package/dist/cjs/helpers/make-style.js +20 -4
- package/dist/cjs/index.js +6 -0
- package/dist/esm/components/ComponentToolbarPreview.js +1 -4
- package/dist/esm/helpers/background.js +6 -4
- package/dist/esm/helpers/carousel.js +54 -0
- package/dist/esm/helpers/make-style.js +19 -5
- package/dist/esm/index.js +2 -1
- package/dist/types/index.d.ts +201 -31
- package/package.json +2 -2
- package/dist/cjs/components/resize/Resize.js +0 -16
- package/dist/cjs/components/resize/Spacing.js +0 -222
- package/dist/esm/components/resize/Resize.js +0 -12
- package/dist/esm/components/resize/Spacing.js +0 -218
|
@@ -13,9 +13,9 @@ require('../hooks/useCartUI.js');
|
|
|
13
13
|
var CreateThemeSection = require('./theme-section/CreateThemeSection.js');
|
|
14
14
|
var Tooltip = require('./toolbar/Tooltip.js');
|
|
15
15
|
var ThemeSectionStatus = require('./theme-section/ThemeSectionStatus.js');
|
|
16
|
-
var Resize = require('./resize/Resize.js');
|
|
17
16
|
require('../helpers/convert.js');
|
|
18
17
|
|
|
18
|
+
// import Resize from './resize/Resize';
|
|
19
19
|
const SECTION_LIMIT = 25;
|
|
20
20
|
const notVisible = (el)=>{
|
|
21
21
|
const overflow = getComputedStyle(el).overflow;
|
|
@@ -462,9 +462,6 @@ const ComponentToolbarPreview = ({ ...props })=>{
|
|
|
462
462
|
})
|
|
463
463
|
})
|
|
464
464
|
]
|
|
465
|
-
}),
|
|
466
|
-
/*#__PURE__*/ jsxRuntime.jsx(Resize.default, {
|
|
467
|
-
...props
|
|
468
465
|
})
|
|
469
466
|
]
|
|
470
467
|
});
|
|
@@ -10,10 +10,12 @@ const getStyleBackgroundByDevice = (background, options)=>{
|
|
|
10
10
|
}
|
|
11
11
|
return {
|
|
12
12
|
...getStyleBgColor(background),
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
...!options?.ignoreBackgroundImage ? {
|
|
14
|
+
...getStyleBgImage(background, options),
|
|
15
|
+
...getStyleBgPosition(background),
|
|
16
|
+
...getStyleBgSize(background),
|
|
17
|
+
...getStyleBgRepeat(background)
|
|
18
|
+
} : {},
|
|
17
19
|
...!options?.ignoreBgAttachment ? getStyleBgAttachment(background) : {}
|
|
18
20
|
};
|
|
19
21
|
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var getResonsiveValue = require('./get-resonsive-value.js');
|
|
4
|
+
|
|
5
|
+
const getCarouselContainerHeight = (dotStyle, dotSize, dotGapToCarousel)=>{
|
|
6
|
+
const getVal = (dotStyle, dotSize, dotGapToCarousel)=>{
|
|
7
|
+
if (dotStyle === 'outside') {
|
|
8
|
+
return `calc(100% - ${dotSize ?? '0'}px - ${!dotGapToCarousel || dotGapToCarousel === 'Auto' ? '0' : dotGapToCarousel}px)`;
|
|
9
|
+
}
|
|
10
|
+
return '100%';
|
|
11
|
+
};
|
|
12
|
+
return {
|
|
13
|
+
desktop: getVal(getResonsiveValue.getResponsiveValueByScreen(dotStyle, 'desktop'), getResonsiveValue.getResponsiveValueByScreen(dotSize, 'desktop'), getResonsiveValue.getResponsiveValueByScreen(dotGapToCarousel, 'desktop')),
|
|
14
|
+
tablet: getVal(getResonsiveValue.getResponsiveValueByScreen(dotStyle, 'tablet'), getResonsiveValue.getResponsiveValueByScreen(dotSize, 'tablet'), getResonsiveValue.getResponsiveValueByScreen(dotGapToCarousel, 'tablet')),
|
|
15
|
+
mobile: getVal(getResonsiveValue.getResponsiveValueByScreen(dotStyle, 'mobile'), getResonsiveValue.getResponsiveValueByScreen(dotSize, 'mobile'), getResonsiveValue.getResponsiveValueByScreen(dotGapToCarousel, 'mobile'))
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
const makeContainerWidthOrHeight = (setting)=>{
|
|
19
|
+
const getStyleName = (vertical)=>{
|
|
20
|
+
return vertical ? 'w' : 'h';
|
|
21
|
+
};
|
|
22
|
+
const result = getCarouselContainerHeight(setting.dotStyle, setting.dotSize, setting.dotGapToCarousel);
|
|
23
|
+
return {
|
|
24
|
+
[`--${getStyleName(getResonsiveValue.getResponsiveValueByScreen(setting?.vertical, 'desktop'))}`]: result.desktop,
|
|
25
|
+
[`--${getStyleName(getResonsiveValue.getResponsiveValueByScreen(setting?.vertical, 'tablet'))}-tablet`]: result.tablet,
|
|
26
|
+
[`--${getStyleName(getResonsiveValue.getResponsiveValueByScreen(setting?.vertical, 'mobile'))}-mobile`]: result.mobile
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
const makeDotGapToCarouselStyle = (dotStyle, dotGapToCarousel, vertical)=>{
|
|
30
|
+
let result = {};
|
|
31
|
+
const devices = [
|
|
32
|
+
'desktop',
|
|
33
|
+
'tablet',
|
|
34
|
+
'mobile'
|
|
35
|
+
];
|
|
36
|
+
const getStyleName = (dotStyle, vertical)=>{
|
|
37
|
+
if (dotStyle === 'outside') {
|
|
38
|
+
return vertical ? 'ml' : 'mt';
|
|
39
|
+
}
|
|
40
|
+
return vertical ? 'right' : 'bottom';
|
|
41
|
+
};
|
|
42
|
+
devices.map((device)=>{
|
|
43
|
+
const gapToCarousel = getResonsiveValue.getResponsiveValueByScreen(dotGapToCarousel, device, 0);
|
|
44
|
+
result = {
|
|
45
|
+
...result,
|
|
46
|
+
[device]: `${!gapToCarousel || gapToCarousel === 'Auto' ? '0' : gapToCarousel}px`
|
|
47
|
+
};
|
|
48
|
+
});
|
|
49
|
+
return {
|
|
50
|
+
[`--${getStyleName(dotStyle?.desktop, vertical?.desktop)}`]: result.desktop,
|
|
51
|
+
[`--${getStyleName(dotStyle?.tablet, vertical?.tablet)}-tablet`]: result.tablet,
|
|
52
|
+
[`--${getStyleName(dotStyle?.mobile, vertical?.mobile)}-mobile`]: result.mobile
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
exports.getCarouselContainerHeight = getCarouselContainerHeight;
|
|
57
|
+
exports.makeContainerWidthOrHeight = makeContainerWidthOrHeight;
|
|
58
|
+
exports.makeDotGapToCarouselStyle = makeDotGapToCarouselStyle;
|
|
@@ -50,11 +50,18 @@ const makeStyleResponsiveState = (name, value)=>{
|
|
|
50
50
|
[`--focus-${name}-mobile`]: value?.mobile?.focus
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
|
-
const makeStyleResponsive = (name, value)=>{
|
|
53
|
+
const makeStyleResponsive = (name, value, unit)=>{
|
|
54
54
|
return {
|
|
55
|
-
[`--${name}`]: value?.desktop,
|
|
56
|
-
[`--${name}-tablet`]: value?.tablet,
|
|
57
|
-
[`--${name}-mobile`]: value?.mobile
|
|
55
|
+
[`--${name}`]: unit ? `${value?.desktop}${unit}` : value?.desktop,
|
|
56
|
+
[`--${name}-tablet`]: unit ? `${value?.tablet}${unit}` : value?.tablet,
|
|
57
|
+
[`--${name}-mobile`]: unit ? `${value?.mobile}${unit}` : value?.mobile
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
const makeStyleResponsiveByScreen = (name, value, unit)=>{
|
|
61
|
+
return {
|
|
62
|
+
[`--${name}`]: unit ? `${getResonsiveValue.getResponsiveValueByScreen(value, 'desktop')}${unit}` : getResonsiveValue.getResponsiveValueByScreen(value, 'desktop'),
|
|
63
|
+
[`--${name}-tablet`]: unit ? `${getResonsiveValue.getResponsiveValueByScreen(value, 'tablet')}${unit}` : getResonsiveValue.getResponsiveValueByScreen(value, 'tablet'),
|
|
64
|
+
[`--${name}-mobile`]: unit ? `${getResonsiveValue.getResponsiveValueByScreen(value, 'mobile')}${unit}` : getResonsiveValue.getResponsiveValueByScreen(value, 'mobile')
|
|
58
65
|
};
|
|
59
66
|
};
|
|
60
67
|
const makeWidth = (widthValue, fullWidthValue)=>{
|
|
@@ -82,6 +89,13 @@ const makeGlobalSizeWidthResponsive = (globalSize)=>{
|
|
|
82
89
|
'--w-mobile': globalSize?.mobile?.width
|
|
83
90
|
};
|
|
84
91
|
};
|
|
92
|
+
const makeGlobalSizeHeightResponsive = (globalSize)=>{
|
|
93
|
+
return {
|
|
94
|
+
'--h': globalSize?.desktop?.height,
|
|
95
|
+
'--h-tablet': globalSize?.tablet?.height,
|
|
96
|
+
'--h-mobile': globalSize?.mobile?.height
|
|
97
|
+
};
|
|
98
|
+
};
|
|
85
99
|
const makeHeight = (heighValue, autoHeight)=>{
|
|
86
100
|
const getVal = (deviceValue, heighValue, autoHeight)=>{
|
|
87
101
|
const heightVal = heighValue?.[deviceValue];
|
|
@@ -135,12 +149,14 @@ const makeLineClamp = (lineClampValue, hasLineClampValue)=>{
|
|
|
135
149
|
};
|
|
136
150
|
|
|
137
151
|
exports.makeAspectRatio = makeAspectRatio;
|
|
152
|
+
exports.makeGlobalSizeHeightResponsive = makeGlobalSizeHeightResponsive;
|
|
138
153
|
exports.makeGlobalSizeWidthResponsive = makeGlobalSizeWidthResponsive;
|
|
139
154
|
exports.makeHeight = makeHeight;
|
|
140
155
|
exports.makeLineClamp = makeLineClamp;
|
|
141
156
|
exports.makeStyle = makeStyle;
|
|
142
157
|
exports.makeStyleKey = makeStyleKey;
|
|
143
158
|
exports.makeStyleResponsive = makeStyleResponsive;
|
|
159
|
+
exports.makeStyleResponsiveByScreen = makeStyleResponsiveByScreen;
|
|
144
160
|
exports.makeStyleResponsiveState = makeStyleResponsiveState;
|
|
145
161
|
exports.makeStyleState = makeStyleState;
|
|
146
162
|
exports.makeWidth = makeWidth;
|
package/dist/cjs/index.js
CHANGED
|
@@ -25,6 +25,7 @@ var products_generated = require('./graphql/queries/products.generated.js');
|
|
|
25
25
|
var storeProperty_generated = require('./graphql/queries/store-property.generated.js');
|
|
26
26
|
var previewPage_generated = require('./graphql/queries/preview-page.generated.js');
|
|
27
27
|
var borders = require('./helpers/borders.js');
|
|
28
|
+
var carousel = require('./helpers/carousel.js');
|
|
28
29
|
var cls = require('./helpers/cls.js');
|
|
29
30
|
var flattenConnection = require('./helpers/flatten-connection.js');
|
|
30
31
|
var getResonsiveValue = require('./helpers/get-resonsive-value.js');
|
|
@@ -145,6 +146,9 @@ exports.handleConvertBorderStyle = borders.handleConvertBorderStyle;
|
|
|
145
146
|
exports.handleConvertBorderWidth = borders.handleConvertBorderWidth;
|
|
146
147
|
exports.handleConvertClassColor = borders.handleConvertClassColor;
|
|
147
148
|
exports.handleConvertClassColorDynamicBtn = borders.handleConvertClassColorDynamicBtn;
|
|
149
|
+
exports.getCarouselContainerHeight = carousel.getCarouselContainerHeight;
|
|
150
|
+
exports.makeContainerWidthOrHeight = carousel.makeContainerWidthOrHeight;
|
|
151
|
+
exports.makeDotGapToCarouselStyle = carousel.makeDotGapToCarouselStyle;
|
|
148
152
|
exports.cls = cls.cls;
|
|
149
153
|
exports.flattenConnection = flattenConnection.flattenConnection;
|
|
150
154
|
exports.getResponsiveStateValue = getResonsiveValue.getResponsiveStateValue;
|
|
@@ -159,12 +163,14 @@ exports.isEmptyChildren = isEmptyChildren.isEmptyChildren;
|
|
|
159
163
|
exports.filterToolbarPreview = filterToolbarPreview.filterToolbarPreview;
|
|
160
164
|
exports.animations = animations.animations;
|
|
161
165
|
exports.makeAspectRatio = makeStyle.makeAspectRatio;
|
|
166
|
+
exports.makeGlobalSizeHeightResponsive = makeStyle.makeGlobalSizeHeightResponsive;
|
|
162
167
|
exports.makeGlobalSizeWidthResponsive = makeStyle.makeGlobalSizeWidthResponsive;
|
|
163
168
|
exports.makeHeight = makeStyle.makeHeight;
|
|
164
169
|
exports.makeLineClamp = makeStyle.makeLineClamp;
|
|
165
170
|
exports.makeStyle = makeStyle.makeStyle;
|
|
166
171
|
exports.makeStyleKey = makeStyle.makeStyleKey;
|
|
167
172
|
exports.makeStyleResponsive = makeStyle.makeStyleResponsive;
|
|
173
|
+
exports.makeStyleResponsiveByScreen = makeStyle.makeStyleResponsiveByScreen;
|
|
168
174
|
exports.makeStyleResponsiveState = makeStyle.makeStyleResponsiveState;
|
|
169
175
|
exports.makeStyleState = makeStyle.makeStyleState;
|
|
170
176
|
exports.makeWidth = makeStyle.makeWidth;
|
|
@@ -11,9 +11,9 @@ import '../hooks/useCartUI.js';
|
|
|
11
11
|
import { CreateThemeSection } from './theme-section/CreateThemeSection.js';
|
|
12
12
|
import Tooltip from './toolbar/Tooltip.js';
|
|
13
13
|
import { ThemeSectionStatus } from './theme-section/ThemeSectionStatus.js';
|
|
14
|
-
import Resize from './resize/Resize.js';
|
|
15
14
|
import '../helpers/convert.js';
|
|
16
15
|
|
|
16
|
+
// import Resize from './resize/Resize';
|
|
17
17
|
const SECTION_LIMIT = 25;
|
|
18
18
|
const notVisible = (el)=>{
|
|
19
19
|
const overflow = getComputedStyle(el).overflow;
|
|
@@ -460,9 +460,6 @@ const ComponentToolbarPreview = ({ ...props })=>{
|
|
|
460
460
|
})
|
|
461
461
|
})
|
|
462
462
|
]
|
|
463
|
-
}),
|
|
464
|
-
/*#__PURE__*/ jsx(Resize, {
|
|
465
|
-
...props
|
|
466
463
|
})
|
|
467
464
|
]
|
|
468
465
|
});
|
|
@@ -8,10 +8,12 @@ const getStyleBackgroundByDevice = (background, options)=>{
|
|
|
8
8
|
}
|
|
9
9
|
return {
|
|
10
10
|
...getStyleBgColor(background),
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
...!options?.ignoreBackgroundImage ? {
|
|
12
|
+
...getStyleBgImage(background, options),
|
|
13
|
+
...getStyleBgPosition(background),
|
|
14
|
+
...getStyleBgSize(background),
|
|
15
|
+
...getStyleBgRepeat(background)
|
|
16
|
+
} : {},
|
|
15
17
|
...!options?.ignoreBgAttachment ? getStyleBgAttachment(background) : {}
|
|
16
18
|
};
|
|
17
19
|
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { getResponsiveValueByScreen } from './get-resonsive-value.js';
|
|
2
|
+
|
|
3
|
+
const getCarouselContainerHeight = (dotStyle, dotSize, dotGapToCarousel)=>{
|
|
4
|
+
const getVal = (dotStyle, dotSize, dotGapToCarousel)=>{
|
|
5
|
+
if (dotStyle === 'outside') {
|
|
6
|
+
return `calc(100% - ${dotSize ?? '0'}px - ${!dotGapToCarousel || dotGapToCarousel === 'Auto' ? '0' : dotGapToCarousel}px)`;
|
|
7
|
+
}
|
|
8
|
+
return '100%';
|
|
9
|
+
};
|
|
10
|
+
return {
|
|
11
|
+
desktop: getVal(getResponsiveValueByScreen(dotStyle, 'desktop'), getResponsiveValueByScreen(dotSize, 'desktop'), getResponsiveValueByScreen(dotGapToCarousel, 'desktop')),
|
|
12
|
+
tablet: getVal(getResponsiveValueByScreen(dotStyle, 'tablet'), getResponsiveValueByScreen(dotSize, 'tablet'), getResponsiveValueByScreen(dotGapToCarousel, 'tablet')),
|
|
13
|
+
mobile: getVal(getResponsiveValueByScreen(dotStyle, 'mobile'), getResponsiveValueByScreen(dotSize, 'mobile'), getResponsiveValueByScreen(dotGapToCarousel, 'mobile'))
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
const makeContainerWidthOrHeight = (setting)=>{
|
|
17
|
+
const getStyleName = (vertical)=>{
|
|
18
|
+
return vertical ? 'w' : 'h';
|
|
19
|
+
};
|
|
20
|
+
const result = getCarouselContainerHeight(setting.dotStyle, setting.dotSize, setting.dotGapToCarousel);
|
|
21
|
+
return {
|
|
22
|
+
[`--${getStyleName(getResponsiveValueByScreen(setting?.vertical, 'desktop'))}`]: result.desktop,
|
|
23
|
+
[`--${getStyleName(getResponsiveValueByScreen(setting?.vertical, 'tablet'))}-tablet`]: result.tablet,
|
|
24
|
+
[`--${getStyleName(getResponsiveValueByScreen(setting?.vertical, 'mobile'))}-mobile`]: result.mobile
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
const makeDotGapToCarouselStyle = (dotStyle, dotGapToCarousel, vertical)=>{
|
|
28
|
+
let result = {};
|
|
29
|
+
const devices = [
|
|
30
|
+
'desktop',
|
|
31
|
+
'tablet',
|
|
32
|
+
'mobile'
|
|
33
|
+
];
|
|
34
|
+
const getStyleName = (dotStyle, vertical)=>{
|
|
35
|
+
if (dotStyle === 'outside') {
|
|
36
|
+
return vertical ? 'ml' : 'mt';
|
|
37
|
+
}
|
|
38
|
+
return vertical ? 'right' : 'bottom';
|
|
39
|
+
};
|
|
40
|
+
devices.map((device)=>{
|
|
41
|
+
const gapToCarousel = getResponsiveValueByScreen(dotGapToCarousel, device, 0);
|
|
42
|
+
result = {
|
|
43
|
+
...result,
|
|
44
|
+
[device]: `${!gapToCarousel || gapToCarousel === 'Auto' ? '0' : gapToCarousel}px`
|
|
45
|
+
};
|
|
46
|
+
});
|
|
47
|
+
return {
|
|
48
|
+
[`--${getStyleName(dotStyle?.desktop, vertical?.desktop)}`]: result.desktop,
|
|
49
|
+
[`--${getStyleName(dotStyle?.tablet, vertical?.tablet)}-tablet`]: result.tablet,
|
|
50
|
+
[`--${getStyleName(dotStyle?.mobile, vertical?.mobile)}-mobile`]: result.mobile
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export { getCarouselContainerHeight, makeContainerWidthOrHeight, makeDotGapToCarouselStyle };
|
|
@@ -48,11 +48,18 @@ const makeStyleResponsiveState = (name, value)=>{
|
|
|
48
48
|
[`--focus-${name}-mobile`]: value?.mobile?.focus
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
|
-
const makeStyleResponsive = (name, value)=>{
|
|
51
|
+
const makeStyleResponsive = (name, value, unit)=>{
|
|
52
52
|
return {
|
|
53
|
-
[`--${name}`]: value?.desktop,
|
|
54
|
-
[`--${name}-tablet`]: value?.tablet,
|
|
55
|
-
[`--${name}-mobile`]: value?.mobile
|
|
53
|
+
[`--${name}`]: unit ? `${value?.desktop}${unit}` : value?.desktop,
|
|
54
|
+
[`--${name}-tablet`]: unit ? `${value?.tablet}${unit}` : value?.tablet,
|
|
55
|
+
[`--${name}-mobile`]: unit ? `${value?.mobile}${unit}` : value?.mobile
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
const makeStyleResponsiveByScreen = (name, value, unit)=>{
|
|
59
|
+
return {
|
|
60
|
+
[`--${name}`]: unit ? `${getResponsiveValueByScreen(value, 'desktop')}${unit}` : getResponsiveValueByScreen(value, 'desktop'),
|
|
61
|
+
[`--${name}-tablet`]: unit ? `${getResponsiveValueByScreen(value, 'tablet')}${unit}` : getResponsiveValueByScreen(value, 'tablet'),
|
|
62
|
+
[`--${name}-mobile`]: unit ? `${getResponsiveValueByScreen(value, 'mobile')}${unit}` : getResponsiveValueByScreen(value, 'mobile')
|
|
56
63
|
};
|
|
57
64
|
};
|
|
58
65
|
const makeWidth = (widthValue, fullWidthValue)=>{
|
|
@@ -80,6 +87,13 @@ const makeGlobalSizeWidthResponsive = (globalSize)=>{
|
|
|
80
87
|
'--w-mobile': globalSize?.mobile?.width
|
|
81
88
|
};
|
|
82
89
|
};
|
|
90
|
+
const makeGlobalSizeHeightResponsive = (globalSize)=>{
|
|
91
|
+
return {
|
|
92
|
+
'--h': globalSize?.desktop?.height,
|
|
93
|
+
'--h-tablet': globalSize?.tablet?.height,
|
|
94
|
+
'--h-mobile': globalSize?.mobile?.height
|
|
95
|
+
};
|
|
96
|
+
};
|
|
83
97
|
const makeHeight = (heighValue, autoHeight)=>{
|
|
84
98
|
const getVal = (deviceValue, heighValue, autoHeight)=>{
|
|
85
99
|
const heightVal = heighValue?.[deviceValue];
|
|
@@ -132,4 +146,4 @@ const makeLineClamp = (lineClampValue, hasLineClampValue)=>{
|
|
|
132
146
|
};
|
|
133
147
|
};
|
|
134
148
|
|
|
135
|
-
export { makeAspectRatio, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveState, makeStyleState, makeWidth, removeNullUndefined };
|
|
149
|
+
export { makeAspectRatio, makeGlobalSizeHeightResponsive, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeWidth, removeNullUndefined };
|
package/dist/esm/index.js
CHANGED
|
@@ -23,6 +23,7 @@ export { ProductsDocument } from './graphql/queries/products.generated.js';
|
|
|
23
23
|
export { StorePropertyDocument } from './graphql/queries/store-property.generated.js';
|
|
24
24
|
export { PreviewPageDocument } from './graphql/queries/preview-page.generated.js';
|
|
25
25
|
export { composeBorderCss, getBorderStyle, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn } from './helpers/borders.js';
|
|
26
|
+
export { getCarouselContainerHeight, makeContainerWidthOrHeight, makeDotGapToCarouselStyle } from './helpers/carousel.js';
|
|
26
27
|
export { cls } from './helpers/cls.js';
|
|
27
28
|
export { flattenConnection } from './helpers/flatten-connection.js';
|
|
28
29
|
export { getResponsiveStateValue, getResponsiveValue, getResponsiveValueByScreen, isColumnDirectionExist } from './helpers/get-resonsive-value.js';
|
|
@@ -33,7 +34,7 @@ export { default as isSafari } from './helpers/is-safari.js';
|
|
|
33
34
|
export { isEmptyChildren } from './helpers/is-empty-children.js';
|
|
34
35
|
export { filterToolbarPreview } from './helpers/filter-toolbar-preview.js';
|
|
35
36
|
export { animations } from './helpers/animations.js';
|
|
36
|
-
export { makeAspectRatio, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveState, makeStyleState, makeWidth, removeNullUndefined } from './helpers/make-style.js';
|
|
37
|
+
export { makeAspectRatio, makeGlobalSizeHeightResponsive, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeWidth, removeNullUndefined } from './helpers/make-style.js';
|
|
37
38
|
export { normalizeBuilderData } from './helpers/normalize-builder-data.js';
|
|
38
39
|
export { prefetchQueries } from './helpers/prefetch-queries.js';
|
|
39
40
|
export { composeSpacing, getSpacingVariable } from './helpers/spacing.js';
|