@gem-sdk/pages 1.14.0-next.62 → 1.14.0-next.68
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/image-to-layout/AddSectionImageToLayout.js +49 -66
- package/dist/cjs/components/image-to-layout/ImageToLayoutInput.js +78 -24
- package/dist/cjs/pages/builder.js +3 -1
- package/dist/esm/components/image-to-layout/AddSectionImageToLayout.js +49 -66
- package/dist/esm/components/image-to-layout/ImageToLayoutInput.js +78 -24
- package/dist/esm/pages/builder.js +3 -1
- package/package.json +2 -2
|
@@ -7,23 +7,23 @@ var react = require('react');
|
|
|
7
7
|
var core = require('@gem-sdk/core');
|
|
8
8
|
|
|
9
9
|
const ACTIONS_DATA = [
|
|
10
|
+
{
|
|
11
|
+
title: 'From templates',
|
|
12
|
+
content: 'inspired by CRO experts',
|
|
13
|
+
hasAILogo: false,
|
|
14
|
+
id: 'gps-add-section-bottom-from-library'
|
|
15
|
+
},
|
|
10
16
|
{
|
|
11
17
|
title: 'From URL',
|
|
12
|
-
content: '
|
|
18
|
+
content: 'to generate layout',
|
|
13
19
|
hasAILogo: true,
|
|
14
20
|
id: 'gps-add-section-bottom-from-url'
|
|
15
21
|
},
|
|
16
22
|
{
|
|
17
23
|
title: 'Upload image',
|
|
18
|
-
content: '
|
|
24
|
+
content: 'to generate layout',
|
|
19
25
|
hasAILogo: true,
|
|
20
26
|
id: 'gps-add-section-bottom-from-image'
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
title: 'From templates',
|
|
24
|
-
content: 'inspired by CRO experts',
|
|
25
|
-
hasAILogo: false,
|
|
26
|
-
id: 'gps-add-section-bottom-from-library'
|
|
27
27
|
}
|
|
28
28
|
];
|
|
29
29
|
const FOOTER_HEIGHT = 48;
|
|
@@ -32,13 +32,13 @@ const defaultPadding = {
|
|
|
32
32
|
tablet: 'var(--g-ct-p)',
|
|
33
33
|
mobile: 'var(--g-ct-p)'
|
|
34
34
|
};
|
|
35
|
-
const AddSectionImageToLayout = ()=>{
|
|
35
|
+
const AddSectionImageToLayout = ({ editorImageToLayout })=>{
|
|
36
36
|
const layoutSetting = core.useShopStore((s)=>s.layoutSettings);
|
|
37
37
|
const totalSection = core.useBuilderPreviewStore((state)=>state.state.ROOT.childrens?.length);
|
|
38
38
|
const [link, setLink] = react.useState('');
|
|
39
39
|
const [isInput, setIsInput] = react.useState(false);
|
|
40
40
|
const onClick = (index)=>{
|
|
41
|
-
if (index ===
|
|
41
|
+
if (index === 1) {
|
|
42
42
|
setIsInput(true);
|
|
43
43
|
}
|
|
44
44
|
};
|
|
@@ -66,7 +66,7 @@ const AddSectionImageToLayout = ()=>{
|
|
|
66
66
|
}
|
|
67
67
|
return /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
68
68
|
id: "gps-add-section-image-to-layout-of-bottom",
|
|
69
|
-
className: `justify-center ${totalSection ? 'flex' : 'hidden'}`,
|
|
69
|
+
className: `justify-center ${totalSection && editorImageToLayout ? 'flex' : 'hidden'}`,
|
|
70
70
|
style: {
|
|
71
71
|
...core.makeStyleResponsive('pl', defaultPadding),
|
|
72
72
|
...core.makeStyleResponsive('pr', defaultPadding)
|
|
@@ -83,79 +83,62 @@ const AddSectionImageToLayout = ()=>{
|
|
|
83
83
|
children: "Add section"
|
|
84
84
|
}),
|
|
85
85
|
ACTIONS_DATA.map((action, index)=>{
|
|
86
|
-
const CustomTag = index
|
|
86
|
+
const CustomTag = index == 2 ? `label` : `div`;
|
|
87
87
|
return /*#__PURE__*/ jsxRuntime.jsxs(CustomTag, {
|
|
88
|
-
className: `relative mx-
|
|
88
|
+
className: `relative mx-1 h-[60px] w-[172px] cursor-pointer flex-col items-center justify-center rounded-[3px] bg-[#F4F4F4] hover:bg-black/10 ${isInput ? 'hidden' : 'flex'}`,
|
|
89
89
|
htmlFor: "gp-add-section-bottom-from-select-image",
|
|
90
90
|
id: action.id,
|
|
91
91
|
onClick: ()=>onClick(index),
|
|
92
92
|
"aria-hidden": true,
|
|
93
93
|
children: [
|
|
94
|
-
/*#__PURE__*/ jsxRuntime.jsx("span", {
|
|
95
|
-
className: "mb-[4px] text-[14px] font-medium text-[#212121]",
|
|
96
|
-
children: action.title
|
|
97
|
-
}),
|
|
98
94
|
/*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
99
|
-
className: "flex
|
|
95
|
+
className: "mb-[4px] flex gap-2 text-[14px] font-medium text-[#212121]",
|
|
100
96
|
children: [
|
|
101
|
-
|
|
102
|
-
className: "mr-[3px] text-center text-[12px] font-normal text-[#676767]",
|
|
103
|
-
children: action.content
|
|
104
|
-
}),
|
|
97
|
+
action.title,
|
|
105
98
|
action.hasAILogo && /*#__PURE__*/ jsxRuntime.jsxs("svg", {
|
|
106
|
-
width: "
|
|
107
|
-
height: "
|
|
108
|
-
viewBox: "0 0
|
|
99
|
+
width: "35",
|
|
100
|
+
height: "20",
|
|
101
|
+
viewBox: "0 0 35 20",
|
|
109
102
|
fill: "none",
|
|
110
103
|
xmlns: "http://www.w3.org/2000/svg",
|
|
111
104
|
children: [
|
|
112
105
|
/*#__PURE__*/ jsxRuntime.jsx("path", {
|
|
113
|
-
d: "
|
|
114
|
-
fill: "
|
|
106
|
+
d: "M0 3C0 1.34315 1.34315 0 3 0H32C33.6569 0 35 1.34315 35 3V17C35 18.6569 33.6569 20 32 20H3C1.34315 20 0 18.6569 0 17V3Z",
|
|
107
|
+
fill: "#EBDDF8"
|
|
115
108
|
}),
|
|
116
109
|
/*#__PURE__*/ jsxRuntime.jsx("path", {
|
|
117
|
-
d: "
|
|
118
|
-
fill: "url(#
|
|
110
|
+
d: "M4.95881 14V5.27273H8.15483C8.77415 5.27273 9.28693 5.375 9.69318 5.57955C10.0994 5.78125 10.4034 6.0554 10.6051 6.40199C10.8068 6.74574 10.9077 7.13352 10.9077 7.56534C10.9077 7.92898 10.8409 8.2358 10.7074 8.4858C10.5739 8.73295 10.3949 8.93182 10.1705 9.08239C9.94886 9.23011 9.70455 9.33807 9.4375 9.40625V9.49148C9.72727 9.50568 10.0099 9.59943 10.2855 9.77273C10.5639 9.94318 10.794 10.1861 10.9759 10.5014C11.1577 10.8168 11.2486 11.2003 11.2486 11.652C11.2486 12.098 11.1435 12.4986 10.9332 12.8537C10.7259 13.206 10.4048 13.4858 9.97017 13.6932C9.53551 13.8977 8.98011 14 8.30398 14H4.95881ZM6.27557 12.8707H8.17614C8.80682 12.8707 9.25852 12.7486 9.53125 12.5043C9.80398 12.2599 9.94034 11.9545 9.94034 11.5881C9.94034 11.3125 9.87074 11.0597 9.73153 10.8295C9.59233 10.5994 9.39347 10.4162 9.13494 10.2798C8.87926 10.1435 8.57528 10.0753 8.22301 10.0753H6.27557V12.8707ZM6.27557 9.0483H8.03977C8.33523 9.0483 8.60085 8.99148 8.83665 8.87784C9.07528 8.7642 9.2642 8.60511 9.40341 8.40057C9.54545 8.19318 9.61648 7.94886 9.61648 7.66761C9.61648 7.30682 9.49006 7.00426 9.23722 6.75994C8.98438 6.51562 8.59659 6.39347 8.07386 6.39347H6.27557V9.0483ZM15.5291 14.1321C14.8842 14.1321 14.3288 13.9943 13.8629 13.7188C13.3999 13.4403 13.0419 13.0497 12.7891 12.5469C12.5391 12.0412 12.4141 11.4489 12.4141 10.7699C12.4141 10.0994 12.5391 9.50852 12.7891 8.99716C13.0419 8.4858 13.3942 8.08665 13.8459 7.79972C14.3004 7.51278 14.8317 7.36932 15.4396 7.36932C15.8089 7.36932 16.1669 7.4304 16.5135 7.55256C16.8601 7.67472 17.1712 7.86648 17.4467 8.12784C17.7223 8.3892 17.9396 8.72869 18.0987 9.14631C18.2578 9.56108 18.3374 10.0653 18.3374 10.6591V11.1108H13.1342V10.1562H17.0888C17.0888 9.82102 17.0206 9.52415 16.8842 9.26562C16.7479 9.00426 16.5561 8.7983 16.3089 8.64773C16.0646 8.49716 15.7777 8.42188 15.4482 8.42188C15.0902 8.42188 14.7777 8.50994 14.5107 8.68608C14.2464 8.85937 14.0419 9.08665 13.897 9.3679C13.755 9.64631 13.6839 9.94886 13.6839 10.2756V11.0213C13.6839 11.4588 13.7607 11.831 13.9141 12.1378C14.0703 12.4446 14.2876 12.679 14.5661 12.8409C14.8445 13 15.1697 13.0795 15.5419 13.0795C15.7834 13.0795 16.0036 13.0455 16.2024 12.9773C16.4013 12.9062 16.5732 12.8011 16.718 12.6619C16.8629 12.5227 16.9737 12.3509 17.0504 12.1463L18.2564 12.3636C18.1598 12.7187 17.9865 13.0298 17.7365 13.2969C17.4893 13.5611 17.1783 13.767 16.8033 13.9148C16.4311 14.0597 16.0064 14.1321 15.5291 14.1321ZM22.8065 7.45455V8.47727H19.2312V7.45455H22.8065ZM20.19 5.88636H21.4641V12.0781C21.4641 12.3253 21.5011 12.5114 21.5749 12.6364C21.6488 12.7585 21.744 12.8423 21.8604 12.8878C21.9798 12.9304 22.109 12.9517 22.2482 12.9517C22.3505 12.9517 22.44 12.9446 22.5167 12.9304C22.5934 12.9162 22.6531 12.9048 22.6957 12.8963L22.9258 13.9489C22.8519 13.9773 22.7468 14.0057 22.6104 14.0341C22.4741 14.0653 22.3036 14.0824 22.0991 14.0852C21.7638 14.0909 21.4513 14.0312 21.1616 13.9062C20.8718 13.7812 20.6374 13.5881 20.4585 13.3267C20.2795 13.0653 20.19 12.7372 20.19 12.3423V5.88636ZM26.1207 14.1449C25.706 14.1449 25.331 14.0682 24.9957 13.9148C24.6605 13.7585 24.3949 13.5327 24.1989 13.2372C24.0057 12.9418 23.9091 12.5795 23.9091 12.1506C23.9091 11.7812 23.9801 11.4773 24.1222 11.2386C24.2642 11 24.456 10.8111 24.6974 10.6719C24.9389 10.5327 25.2088 10.4276 25.5071 10.3565C25.8054 10.2855 26.1094 10.2315 26.419 10.1946C26.8111 10.1491 27.1293 10.1122 27.3736 10.0838C27.6179 10.0526 27.7955 10.0028 27.9062 9.93466C28.017 9.86648 28.0724 9.75568 28.0724 9.60227V9.57244C28.0724 9.20028 27.9673 8.91193 27.7571 8.70739C27.5497 8.50284 27.2401 8.40057 26.8281 8.40057C26.3991 8.40057 26.0611 8.49574 25.8139 8.68608C25.5696 8.87358 25.4006 9.08239 25.3068 9.3125L24.1094 9.03977C24.2514 8.64205 24.4588 8.32102 24.7315 8.0767C25.0071 7.82955 25.3239 7.65057 25.6818 7.53977C26.0398 7.42614 26.4162 7.36932 26.8111 7.36932C27.0724 7.36932 27.3494 7.40057 27.642 7.46307C27.9375 7.52273 28.2131 7.63352 28.4688 7.79545C28.7273 7.95739 28.9389 8.18892 29.1037 8.49006C29.2685 8.78835 29.3509 9.17614 29.3509 9.65341V14H28.1065V13.1051H28.0554C27.973 13.2699 27.8494 13.4318 27.6847 13.5909C27.5199 13.75 27.3082 13.8821 27.0497 13.9872C26.7912 14.0923 26.4815 14.1449 26.1207 14.1449ZM26.3977 13.1222C26.75 13.1222 27.0511 13.0526 27.3011 12.9134C27.554 12.7741 27.7457 12.5923 27.8764 12.3679C28.0099 12.1406 28.0767 11.8977 28.0767 11.6392V10.7955C28.0313 10.8409 27.9432 10.8835 27.8125 10.9233C27.6847 10.9602 27.5384 10.9929 27.3736 11.0213C27.2088 11.0469 27.0483 11.071 26.892 11.0938C26.7358 11.1136 26.6051 11.1307 26.5 11.1449C26.2528 11.1761 26.027 11.2287 25.8224 11.3026C25.6207 11.3764 25.4588 11.483 25.3366 11.6222C25.2173 11.7585 25.1577 11.9403 25.1577 12.1676C25.1577 12.483 25.2741 12.7216 25.5071 12.8835C25.7401 13.0426 26.0369 13.1222 26.3977 13.1222Z",
|
|
111
|
+
fill: "url(#paint0_linear_5214_50736)"
|
|
119
112
|
}),
|
|
120
|
-
/*#__PURE__*/ jsxRuntime.
|
|
121
|
-
children:
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}),
|
|
139
|
-
/*#__PURE__*/ jsxRuntime.jsxs("linearGradient", {
|
|
140
|
-
id: "paint1_linear_3034_14503",
|
|
141
|
-
x1: "45.605",
|
|
142
|
-
y1: "3.12234",
|
|
143
|
-
x2: "41.2267",
|
|
144
|
-
y2: "3.42341",
|
|
145
|
-
gradientUnits: "userSpaceOnUse",
|
|
146
|
-
children: [
|
|
147
|
-
/*#__PURE__*/ jsxRuntime.jsx("stop", {
|
|
148
|
-
stopColor: "#3C67FF"
|
|
149
|
-
}),
|
|
150
|
-
/*#__PURE__*/ jsxRuntime.jsx("stop", {
|
|
151
|
-
offset: "1",
|
|
152
|
-
stopColor: "#874CFD"
|
|
153
|
-
})
|
|
154
|
-
]
|
|
155
|
-
})
|
|
156
|
-
]
|
|
113
|
+
/*#__PURE__*/ jsxRuntime.jsx("defs", {
|
|
114
|
+
children: /*#__PURE__*/ jsxRuntime.jsxs("linearGradient", {
|
|
115
|
+
id: "paint0_linear_5214_50736",
|
|
116
|
+
x1: "31",
|
|
117
|
+
y1: "15.2703",
|
|
118
|
+
x2: "3.99944",
|
|
119
|
+
y2: "15.2287",
|
|
120
|
+
gradientUnits: "userSpaceOnUse",
|
|
121
|
+
children: [
|
|
122
|
+
/*#__PURE__*/ jsxRuntime.jsx("stop", {
|
|
123
|
+
stopColor: "#874CFD"
|
|
124
|
+
}),
|
|
125
|
+
/*#__PURE__*/ jsxRuntime.jsx("stop", {
|
|
126
|
+
offset: "1",
|
|
127
|
+
stopColor: "#3C38E1"
|
|
128
|
+
})
|
|
129
|
+
]
|
|
130
|
+
})
|
|
157
131
|
})
|
|
158
132
|
]
|
|
133
|
+
})
|
|
134
|
+
]
|
|
135
|
+
}),
|
|
136
|
+
/*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
137
|
+
className: "flex items-center ",
|
|
138
|
+
children: [
|
|
139
|
+
/*#__PURE__*/ jsxRuntime.jsx("span", {
|
|
140
|
+
className: "mr-[3px] text-center text-[12px] font-normal text-[#676767]",
|
|
141
|
+
children: action.content
|
|
159
142
|
}),
|
|
160
143
|
action.id === 'gps-add-section-bottom-from-image' && /*#__PURE__*/ jsxRuntime.jsx("input", {
|
|
161
144
|
id: "gp-add-section-bottom-from-select-image",
|
|
@@ -26,9 +26,47 @@ const ImageToLayoutInput = ({ totalSection })=>{
|
|
|
26
26
|
return /*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
27
27
|
className: "relative mt-[64px] flex w-full max-w-[calc(100%_-_32px)] flex-col items-center rounded-[3px] border border-[#EEEEEE] px-[16px] pb-[24px] pt-[32px]",
|
|
28
28
|
children: [
|
|
29
|
-
/*#__PURE__*/ jsxRuntime.
|
|
30
|
-
className: "absolute top-[-15px] z-10 bg-white px-[8px] py-[4px] text-[14px] font-normal leading-[21px] text-[#9E9E9E]",
|
|
31
|
-
children:
|
|
29
|
+
/*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
30
|
+
className: "absolute top-[-15px] z-10 flex gap-1 bg-white px-[8px] py-[4px] text-[14px] font-normal leading-[21px] text-[#9E9E9E]",
|
|
31
|
+
children: [
|
|
32
|
+
"or use Image to Layout",
|
|
33
|
+
/*#__PURE__*/ jsxRuntime.jsxs("svg", {
|
|
34
|
+
width: "36",
|
|
35
|
+
height: "20",
|
|
36
|
+
viewBox: "0 0 36 20",
|
|
37
|
+
fill: "none",
|
|
38
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
39
|
+
children: [
|
|
40
|
+
/*#__PURE__*/ jsxRuntime.jsx("path", {
|
|
41
|
+
d: "M0.5 3C0.5 1.34315 1.84315 0 3.5 0H32.5C34.1569 0 35.5 1.34315 35.5 3V17C35.5 18.6569 34.1569 20 32.5 20H3.5C1.84315 20 0.5 18.6569 0.5 17V3Z",
|
|
42
|
+
fill: "#EBDDF8"
|
|
43
|
+
}),
|
|
44
|
+
/*#__PURE__*/ jsxRuntime.jsx("path", {
|
|
45
|
+
d: "M5.45881 14V5.27273H8.65483C9.27415 5.27273 9.78693 5.375 10.1932 5.57955C10.5994 5.78125 10.9034 6.0554 11.1051 6.40199C11.3068 6.74574 11.4077 7.13352 11.4077 7.56534C11.4077 7.92898 11.3409 8.2358 11.2074 8.4858C11.0739 8.73295 10.8949 8.93182 10.6705 9.08239C10.4489 9.23011 10.2045 9.33807 9.9375 9.40625V9.49148C10.2273 9.50568 10.5099 9.59943 10.7855 9.77273C11.0639 9.94318 11.294 10.1861 11.4759 10.5014C11.6577 10.8168 11.7486 11.2003 11.7486 11.652C11.7486 12.098 11.6435 12.4986 11.4332 12.8537C11.2259 13.206 10.9048 13.4858 10.4702 13.6932C10.0355 13.8977 9.48011 14 8.80398 14H5.45881ZM6.77557 12.8707H8.67614C9.30682 12.8707 9.75852 12.7486 10.0312 12.5043C10.304 12.2599 10.4403 11.9545 10.4403 11.5881C10.4403 11.3125 10.3707 11.0597 10.2315 10.8295C10.0923 10.5994 9.89347 10.4162 9.63494 10.2798C9.37926 10.1435 9.07528 10.0753 8.72301 10.0753H6.77557V12.8707ZM6.77557 9.0483H8.53977C8.83523 9.0483 9.10085 8.99148 9.33665 8.87784C9.57528 8.7642 9.7642 8.60511 9.90341 8.40057C10.0455 8.19318 10.1165 7.94886 10.1165 7.66761C10.1165 7.30682 9.99006 7.00426 9.73722 6.75994C9.48438 6.51562 9.09659 6.39347 8.57386 6.39347H6.77557V9.0483ZM16.0291 14.1321C15.3842 14.1321 14.8288 13.9943 14.3629 13.7188C13.8999 13.4403 13.5419 13.0497 13.2891 12.5469C13.0391 12.0412 12.9141 11.4489 12.9141 10.7699C12.9141 10.0994 13.0391 9.50852 13.2891 8.99716C13.5419 8.4858 13.8942 8.08665 14.3459 7.79972C14.8004 7.51278 15.3317 7.36932 15.9396 7.36932C16.3089 7.36932 16.6669 7.4304 17.0135 7.55256C17.3601 7.67472 17.6712 7.86648 17.9467 8.12784C18.2223 8.3892 18.4396 8.72869 18.5987 9.14631C18.7578 9.56108 18.8374 10.0653 18.8374 10.6591V11.1108H13.6342V10.1562H17.5888C17.5888 9.82102 17.5206 9.52415 17.3842 9.26562C17.2479 9.00426 17.0561 8.7983 16.8089 8.64773C16.5646 8.49716 16.2777 8.42188 15.9482 8.42188C15.5902 8.42188 15.2777 8.50994 15.0107 8.68608C14.7464 8.85937 14.5419 9.08665 14.397 9.3679C14.255 9.64631 14.1839 9.94886 14.1839 10.2756V11.0213C14.1839 11.4588 14.2607 11.831 14.4141 12.1378C14.5703 12.4446 14.7876 12.679 15.0661 12.8409C15.3445 13 15.6697 13.0795 16.0419 13.0795C16.2834 13.0795 16.5036 13.0455 16.7024 12.9773C16.9013 12.9062 17.0732 12.8011 17.218 12.6619C17.3629 12.5227 17.4737 12.3509 17.5504 12.1463L18.7564 12.3636C18.6598 12.7187 18.4865 13.0298 18.2365 13.2969C17.9893 13.5611 17.6783 13.767 17.3033 13.9148C16.9311 14.0597 16.5064 14.1321 16.0291 14.1321ZM23.3065 7.45455V8.47727H19.7312V7.45455H23.3065ZM20.69 5.88636H21.9641V12.0781C21.9641 12.3253 22.0011 12.5114 22.0749 12.6364C22.1488 12.7585 22.244 12.8423 22.3604 12.8878C22.4798 12.9304 22.609 12.9517 22.7482 12.9517C22.8505 12.9517 22.94 12.9446 23.0167 12.9304C23.0934 12.9162 23.1531 12.9048 23.1957 12.8963L23.4258 13.9489C23.3519 13.9773 23.2468 14.0057 23.1104 14.0341C22.9741 14.0653 22.8036 14.0824 22.5991 14.0852C22.2638 14.0909 21.9513 14.0312 21.6616 13.9062C21.3718 13.7812 21.1374 13.5881 20.9585 13.3267C20.7795 13.0653 20.69 12.7372 20.69 12.3423V5.88636ZM26.6207 14.1449C26.206 14.1449 25.831 14.0682 25.4957 13.9148C25.1605 13.7585 24.8949 13.5327 24.6989 13.2372C24.5057 12.9418 24.4091 12.5795 24.4091 12.1506C24.4091 11.7812 24.4801 11.4773 24.6222 11.2386C24.7642 11 24.956 10.8111 25.1974 10.6719C25.4389 10.5327 25.7088 10.4276 26.0071 10.3565C26.3054 10.2855 26.6094 10.2315 26.919 10.1946C27.3111 10.1491 27.6293 10.1122 27.8736 10.0838C28.1179 10.0526 28.2955 10.0028 28.4062 9.93466C28.517 9.86648 28.5724 9.75568 28.5724 9.60227V9.57244C28.5724 9.20028 28.4673 8.91193 28.2571 8.70739C28.0497 8.50284 27.7401 8.40057 27.3281 8.40057C26.8991 8.40057 26.5611 8.49574 26.3139 8.68608C26.0696 8.87358 25.9006 9.08239 25.8068 9.3125L24.6094 9.03977C24.7514 8.64205 24.9588 8.32102 25.2315 8.0767C25.5071 7.82955 25.8239 7.65057 26.1818 7.53977C26.5398 7.42614 26.9162 7.36932 27.3111 7.36932C27.5724 7.36932 27.8494 7.40057 28.142 7.46307C28.4375 7.52273 28.7131 7.63352 28.9688 7.79545C29.2273 7.95739 29.4389 8.18892 29.6037 8.49006C29.7685 8.78835 29.8509 9.17614 29.8509 9.65341V14H28.6065V13.1051H28.5554C28.473 13.2699 28.3494 13.4318 28.1847 13.5909C28.0199 13.75 27.8082 13.8821 27.5497 13.9872C27.2912 14.0923 26.9815 14.1449 26.6207 14.1449ZM26.8977 13.1222C27.25 13.1222 27.5511 13.0526 27.8011 12.9134C28.054 12.7741 28.2457 12.5923 28.3764 12.3679C28.5099 12.1406 28.5767 11.8977 28.5767 11.6392V10.7955C28.5313 10.8409 28.4432 10.8835 28.3125 10.9233C28.1847 10.9602 28.0384 10.9929 27.8736 11.0213C27.7088 11.0469 27.5483 11.071 27.392 11.0938C27.2358 11.1136 27.1051 11.1307 27 11.1449C26.7528 11.1761 26.527 11.2287 26.3224 11.3026C26.1207 11.3764 25.9588 11.483 25.8366 11.6222C25.7173 11.7585 25.6577 11.9403 25.6577 12.1676C25.6577 12.483 25.7741 12.7216 26.0071 12.8835C26.2401 13.0426 26.5369 13.1222 26.8977 13.1222Z",
|
|
46
|
+
fill: "url(#paint0_linear_5203_64584)"
|
|
47
|
+
}),
|
|
48
|
+
/*#__PURE__*/ jsxRuntime.jsx("defs", {
|
|
49
|
+
children: /*#__PURE__*/ jsxRuntime.jsxs("linearGradient", {
|
|
50
|
+
id: "paint0_linear_5203_64584",
|
|
51
|
+
x1: "31.5",
|
|
52
|
+
y1: "15.2703",
|
|
53
|
+
x2: "4.49944",
|
|
54
|
+
y2: "15.2287",
|
|
55
|
+
gradientUnits: "userSpaceOnUse",
|
|
56
|
+
children: [
|
|
57
|
+
/*#__PURE__*/ jsxRuntime.jsx("stop", {
|
|
58
|
+
stopColor: "#874CFD"
|
|
59
|
+
}),
|
|
60
|
+
/*#__PURE__*/ jsxRuntime.jsx("stop", {
|
|
61
|
+
offset: "1",
|
|
62
|
+
stopColor: "#3C38E1"
|
|
63
|
+
})
|
|
64
|
+
]
|
|
65
|
+
})
|
|
66
|
+
})
|
|
67
|
+
]
|
|
68
|
+
})
|
|
69
|
+
]
|
|
32
70
|
}),
|
|
33
71
|
/*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
34
72
|
className: "image-to-layout-input-border relative max-w-[calc(100%)]",
|
|
@@ -36,29 +74,45 @@ const ImageToLayoutInput = ({ totalSection })=>{
|
|
|
36
74
|
/*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
37
75
|
className: "image-to-layout-input-wrapper flex h-[60px] w-[600px] max-w-[100%] items-center rounded-[3px] py-[10px] pl-3 pr-2",
|
|
38
76
|
children: [
|
|
39
|
-
/*#__PURE__*/ jsxRuntime.jsxs("svg", {
|
|
40
|
-
width: "
|
|
41
|
-
height: "
|
|
42
|
-
viewBox: "0 0
|
|
77
|
+
!link ? /*#__PURE__*/ jsxRuntime.jsxs("svg", {
|
|
78
|
+
width: "21",
|
|
79
|
+
height: "20",
|
|
80
|
+
viewBox: "0 0 21 20",
|
|
43
81
|
fill: "none",
|
|
44
82
|
xmlns: "http://www.w3.org/2000/svg",
|
|
45
83
|
children: [
|
|
46
84
|
/*#__PURE__*/ jsxRuntime.jsx("path", {
|
|
47
|
-
d: "
|
|
48
|
-
fill: "
|
|
85
|
+
d: "M15.0455 3.3397C14.9859 3.155 14.7246 3.155 14.6649 3.3397L14.3917 4.18545C14.2941 4.48763 14.0588 4.72549 13.7576 4.82633L12.9216 5.1063C12.7396 5.16724 12.7396 5.42466 12.9216 5.4856L13.7576 5.76557C14.0588 5.8664 14.2941 6.10426 14.3917 6.40645L14.6649 7.2522C14.7246 7.4369 14.9859 7.4369 15.0455 7.2522L15.3187 6.40645C15.4163 6.10426 15.6517 5.8664 15.9528 5.76557L16.7889 5.4856C16.9708 5.42466 16.9708 5.16724 16.7889 5.1063L15.9528 4.82633C15.6517 4.72549 15.4163 4.48763 15.3187 4.18545L15.0455 3.3397Z",
|
|
86
|
+
fill: "#9E9E9E"
|
|
49
87
|
}),
|
|
50
88
|
/*#__PURE__*/ jsxRuntime.jsx("path", {
|
|
51
|
-
d: "
|
|
52
|
-
fill: "
|
|
89
|
+
d: "M10.0157 4.1343C9.9262 3.85725 9.53422 3.85725 9.44473 4.1343L8.49438 7.07649C8.20156 7.98304 7.49557 8.69662 6.5922 8.99912L3.70474 9.96602C3.43175 10.0574 3.43175 10.4436 3.70474 10.535L6.59221 11.5019C7.49557 11.8044 8.20156 12.5179 8.49438 13.4245L9.44473 16.3667C9.53422 16.6437 9.9262 16.6437 10.0157 16.3667L10.966 13.4245C11.2589 12.5179 11.9649 11.8044 12.8682 11.5019L15.7557 10.535C16.0287 10.4436 16.0287 10.0574 15.7557 9.96602L12.8682 8.99912C11.9649 8.69662 11.2589 7.98304 10.966 7.07649L10.0157 4.1343Z",
|
|
90
|
+
fill: "#9E9E9E"
|
|
91
|
+
})
|
|
92
|
+
]
|
|
93
|
+
}) : /*#__PURE__*/ jsxRuntime.jsxs("svg", {
|
|
94
|
+
width: "21",
|
|
95
|
+
height: "21",
|
|
96
|
+
viewBox: "0 0 21 21",
|
|
97
|
+
fill: "none",
|
|
98
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
99
|
+
children: [
|
|
100
|
+
/*#__PURE__*/ jsxRuntime.jsx("path", {
|
|
101
|
+
d: "M15.0455 3.8397C14.9859 3.655 14.7246 3.655 14.6649 3.8397L14.3917 4.68545C14.2941 4.98763 14.0588 5.22549 13.7576 5.32633L12.9216 5.6063C12.7396 5.66724 12.7396 5.92466 12.9216 5.9856L13.7576 6.26557C14.0588 6.3664 14.2941 6.60426 14.3917 6.90645L14.6649 7.7522C14.7246 7.9369 14.9859 7.9369 15.0455 7.7522L15.3187 6.90645C15.4163 6.60426 15.6517 6.3664 15.9528 6.26557L16.7889 5.9856C16.9708 5.92466 16.9708 5.66724 16.7889 5.6063L15.9528 5.32633C15.6517 5.22549 15.4163 4.98763 15.3187 4.68545L15.0455 3.8397Z",
|
|
102
|
+
fill: "url(#paint0_linear_5189_39651)"
|
|
103
|
+
}),
|
|
104
|
+
/*#__PURE__*/ jsxRuntime.jsx("path", {
|
|
105
|
+
d: "M10.0157 4.6343C9.9262 4.35725 9.53422 4.35725 9.44473 4.6343L8.49438 7.57649C8.20156 8.48304 7.49557 9.19662 6.5922 9.49912L3.70474 10.466C3.43175 10.5574 3.43175 10.9436 3.70474 11.035L6.59221 12.0019C7.49557 12.3044 8.20156 13.0179 8.49438 13.9245L9.44473 16.8667C9.53422 17.1437 9.9262 17.1437 10.0157 16.8667L10.966 13.9245C11.2589 13.0179 11.9649 12.3044 12.8682 12.0019L15.7557 11.035C16.0287 10.9436 16.0287 10.5574 15.7557 10.466L12.8682 9.49912C11.9649 9.19662 11.2589 8.48304 10.966 7.57649L10.0157 4.6343Z",
|
|
106
|
+
fill: "url(#paint1_linear_5189_39651)"
|
|
53
107
|
}),
|
|
54
108
|
/*#__PURE__*/ jsxRuntime.jsxs("defs", {
|
|
55
109
|
children: [
|
|
56
110
|
/*#__PURE__*/ jsxRuntime.jsxs("linearGradient", {
|
|
57
|
-
id: "
|
|
58
|
-
x1: "
|
|
59
|
-
y1: "
|
|
60
|
-
x2: "
|
|
61
|
-
y2: "
|
|
111
|
+
id: "paint0_linear_5189_39651",
|
|
112
|
+
x1: "16.9254",
|
|
113
|
+
y1: "13.9119",
|
|
114
|
+
x2: "3.49971",
|
|
115
|
+
y2: "13.8965",
|
|
62
116
|
gradientUnits: "userSpaceOnUse",
|
|
63
117
|
children: [
|
|
64
118
|
/*#__PURE__*/ jsxRuntime.jsx("stop", {
|
|
@@ -71,19 +125,19 @@ const ImageToLayoutInput = ({ totalSection })=>{
|
|
|
71
125
|
]
|
|
72
126
|
}),
|
|
73
127
|
/*#__PURE__*/ jsxRuntime.jsxs("linearGradient", {
|
|
74
|
-
id: "
|
|
75
|
-
x1: "
|
|
76
|
-
y1: "
|
|
77
|
-
x2: "
|
|
78
|
-
y2: "
|
|
128
|
+
id: "paint1_linear_5189_39651",
|
|
129
|
+
x1: "16.9254",
|
|
130
|
+
y1: "13.9119",
|
|
131
|
+
x2: "3.49971",
|
|
132
|
+
y2: "13.8965",
|
|
79
133
|
gradientUnits: "userSpaceOnUse",
|
|
80
134
|
children: [
|
|
81
135
|
/*#__PURE__*/ jsxRuntime.jsx("stop", {
|
|
82
|
-
stopColor: "#
|
|
136
|
+
stopColor: "#874CFD"
|
|
83
137
|
}),
|
|
84
138
|
/*#__PURE__*/ jsxRuntime.jsx("stop", {
|
|
85
139
|
offset: "1",
|
|
86
|
-
stopColor: "#
|
|
140
|
+
stopColor: "#3C38E1"
|
|
87
141
|
})
|
|
88
142
|
]
|
|
89
143
|
})
|
|
@@ -99,7 +153,7 @@ const ImageToLayoutInput = ({ totalSection })=>{
|
|
|
99
153
|
onBlur: ()=>setIsFocus(false),
|
|
100
154
|
autoComplete: "off",
|
|
101
155
|
id: "gp-img-to-layout-input-link",
|
|
102
|
-
placeholder: "Paste your link",
|
|
156
|
+
placeholder: "Paste your link here",
|
|
103
157
|
className: "mx-4 h-[60px] flex-1 text-[14px] text-[#676767] outline-none"
|
|
104
158
|
}),
|
|
105
159
|
/*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
@@ -75,7 +75,9 @@ const BuilderPage = ({ components , seo , themeStyle , fontStyle , sectionData ,
|
|
|
75
75
|
/*#__PURE__*/ jsxRuntime.jsx(ImageToLayout.default, {
|
|
76
76
|
editorImageToLayout: editorImageToLayout || false
|
|
77
77
|
}),
|
|
78
|
-
/*#__PURE__*/ jsxRuntime.jsx(AddSectionImageToLayout.default, {
|
|
78
|
+
/*#__PURE__*/ jsxRuntime.jsx(AddSectionImageToLayout.default, {
|
|
79
|
+
editorImageToLayout: editorImageToLayout || false
|
|
80
|
+
}),
|
|
79
81
|
/*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
80
82
|
id: "visual-content"
|
|
81
83
|
}),
|
|
@@ -3,23 +3,23 @@ import { useState, useEffect, useMemo } from 'react';
|
|
|
3
3
|
import { useShopStore, useBuilderPreviewStore, makeStyleResponsive } from '@gem-sdk/core';
|
|
4
4
|
|
|
5
5
|
const ACTIONS_DATA = [
|
|
6
|
+
{
|
|
7
|
+
title: 'From templates',
|
|
8
|
+
content: 'inspired by CRO experts',
|
|
9
|
+
hasAILogo: false,
|
|
10
|
+
id: 'gps-add-section-bottom-from-library'
|
|
11
|
+
},
|
|
6
12
|
{
|
|
7
13
|
title: 'From URL',
|
|
8
|
-
content: '
|
|
14
|
+
content: 'to generate layout',
|
|
9
15
|
hasAILogo: true,
|
|
10
16
|
id: 'gps-add-section-bottom-from-url'
|
|
11
17
|
},
|
|
12
18
|
{
|
|
13
19
|
title: 'Upload image',
|
|
14
|
-
content: '
|
|
20
|
+
content: 'to generate layout',
|
|
15
21
|
hasAILogo: true,
|
|
16
22
|
id: 'gps-add-section-bottom-from-image'
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
title: 'From templates',
|
|
20
|
-
content: 'inspired by CRO experts',
|
|
21
|
-
hasAILogo: false,
|
|
22
|
-
id: 'gps-add-section-bottom-from-library'
|
|
23
23
|
}
|
|
24
24
|
];
|
|
25
25
|
const FOOTER_HEIGHT = 48;
|
|
@@ -28,13 +28,13 @@ const defaultPadding = {
|
|
|
28
28
|
tablet: 'var(--g-ct-p)',
|
|
29
29
|
mobile: 'var(--g-ct-p)'
|
|
30
30
|
};
|
|
31
|
-
const AddSectionImageToLayout = ()=>{
|
|
31
|
+
const AddSectionImageToLayout = ({ editorImageToLayout })=>{
|
|
32
32
|
const layoutSetting = useShopStore((s)=>s.layoutSettings);
|
|
33
33
|
const totalSection = useBuilderPreviewStore((state)=>state.state.ROOT.childrens?.length);
|
|
34
34
|
const [link, setLink] = useState('');
|
|
35
35
|
const [isInput, setIsInput] = useState(false);
|
|
36
36
|
const onClick = (index)=>{
|
|
37
|
-
if (index ===
|
|
37
|
+
if (index === 1) {
|
|
38
38
|
setIsInput(true);
|
|
39
39
|
}
|
|
40
40
|
};
|
|
@@ -62,7 +62,7 @@ const AddSectionImageToLayout = ()=>{
|
|
|
62
62
|
}
|
|
63
63
|
return /*#__PURE__*/ jsx("div", {
|
|
64
64
|
id: "gps-add-section-image-to-layout-of-bottom",
|
|
65
|
-
className: `justify-center ${totalSection ? 'flex' : 'hidden'}`,
|
|
65
|
+
className: `justify-center ${totalSection && editorImageToLayout ? 'flex' : 'hidden'}`,
|
|
66
66
|
style: {
|
|
67
67
|
...makeStyleResponsive('pl', defaultPadding),
|
|
68
68
|
...makeStyleResponsive('pr', defaultPadding)
|
|
@@ -79,79 +79,62 @@ const AddSectionImageToLayout = ()=>{
|
|
|
79
79
|
children: "Add section"
|
|
80
80
|
}),
|
|
81
81
|
ACTIONS_DATA.map((action, index)=>{
|
|
82
|
-
const CustomTag = index
|
|
82
|
+
const CustomTag = index == 2 ? `label` : `div`;
|
|
83
83
|
return /*#__PURE__*/ jsxs(CustomTag, {
|
|
84
|
-
className: `relative mx-
|
|
84
|
+
className: `relative mx-1 h-[60px] w-[172px] cursor-pointer flex-col items-center justify-center rounded-[3px] bg-[#F4F4F4] hover:bg-black/10 ${isInput ? 'hidden' : 'flex'}`,
|
|
85
85
|
htmlFor: "gp-add-section-bottom-from-select-image",
|
|
86
86
|
id: action.id,
|
|
87
87
|
onClick: ()=>onClick(index),
|
|
88
88
|
"aria-hidden": true,
|
|
89
89
|
children: [
|
|
90
|
-
/*#__PURE__*/ jsx("span", {
|
|
91
|
-
className: "mb-[4px] text-[14px] font-medium text-[#212121]",
|
|
92
|
-
children: action.title
|
|
93
|
-
}),
|
|
94
90
|
/*#__PURE__*/ jsxs("div", {
|
|
95
|
-
className: "flex
|
|
91
|
+
className: "mb-[4px] flex gap-2 text-[14px] font-medium text-[#212121]",
|
|
96
92
|
children: [
|
|
97
|
-
|
|
98
|
-
className: "mr-[3px] text-center text-[12px] font-normal text-[#676767]",
|
|
99
|
-
children: action.content
|
|
100
|
-
}),
|
|
93
|
+
action.title,
|
|
101
94
|
action.hasAILogo && /*#__PURE__*/ jsxs("svg", {
|
|
102
|
-
width: "
|
|
103
|
-
height: "
|
|
104
|
-
viewBox: "0 0
|
|
95
|
+
width: "35",
|
|
96
|
+
height: "20",
|
|
97
|
+
viewBox: "0 0 35 20",
|
|
105
98
|
fill: "none",
|
|
106
99
|
xmlns: "http://www.w3.org/2000/svg",
|
|
107
100
|
children: [
|
|
108
101
|
/*#__PURE__*/ jsx("path", {
|
|
109
|
-
d: "
|
|
110
|
-
fill: "
|
|
102
|
+
d: "M0 3C0 1.34315 1.34315 0 3 0H32C33.6569 0 35 1.34315 35 3V17C35 18.6569 33.6569 20 32 20H3C1.34315 20 0 18.6569 0 17V3Z",
|
|
103
|
+
fill: "#EBDDF8"
|
|
111
104
|
}),
|
|
112
105
|
/*#__PURE__*/ jsx("path", {
|
|
113
|
-
d: "
|
|
114
|
-
fill: "url(#
|
|
106
|
+
d: "M4.95881 14V5.27273H8.15483C8.77415 5.27273 9.28693 5.375 9.69318 5.57955C10.0994 5.78125 10.4034 6.0554 10.6051 6.40199C10.8068 6.74574 10.9077 7.13352 10.9077 7.56534C10.9077 7.92898 10.8409 8.2358 10.7074 8.4858C10.5739 8.73295 10.3949 8.93182 10.1705 9.08239C9.94886 9.23011 9.70455 9.33807 9.4375 9.40625V9.49148C9.72727 9.50568 10.0099 9.59943 10.2855 9.77273C10.5639 9.94318 10.794 10.1861 10.9759 10.5014C11.1577 10.8168 11.2486 11.2003 11.2486 11.652C11.2486 12.098 11.1435 12.4986 10.9332 12.8537C10.7259 13.206 10.4048 13.4858 9.97017 13.6932C9.53551 13.8977 8.98011 14 8.30398 14H4.95881ZM6.27557 12.8707H8.17614C8.80682 12.8707 9.25852 12.7486 9.53125 12.5043C9.80398 12.2599 9.94034 11.9545 9.94034 11.5881C9.94034 11.3125 9.87074 11.0597 9.73153 10.8295C9.59233 10.5994 9.39347 10.4162 9.13494 10.2798C8.87926 10.1435 8.57528 10.0753 8.22301 10.0753H6.27557V12.8707ZM6.27557 9.0483H8.03977C8.33523 9.0483 8.60085 8.99148 8.83665 8.87784C9.07528 8.7642 9.2642 8.60511 9.40341 8.40057C9.54545 8.19318 9.61648 7.94886 9.61648 7.66761C9.61648 7.30682 9.49006 7.00426 9.23722 6.75994C8.98438 6.51562 8.59659 6.39347 8.07386 6.39347H6.27557V9.0483ZM15.5291 14.1321C14.8842 14.1321 14.3288 13.9943 13.8629 13.7188C13.3999 13.4403 13.0419 13.0497 12.7891 12.5469C12.5391 12.0412 12.4141 11.4489 12.4141 10.7699C12.4141 10.0994 12.5391 9.50852 12.7891 8.99716C13.0419 8.4858 13.3942 8.08665 13.8459 7.79972C14.3004 7.51278 14.8317 7.36932 15.4396 7.36932C15.8089 7.36932 16.1669 7.4304 16.5135 7.55256C16.8601 7.67472 17.1712 7.86648 17.4467 8.12784C17.7223 8.3892 17.9396 8.72869 18.0987 9.14631C18.2578 9.56108 18.3374 10.0653 18.3374 10.6591V11.1108H13.1342V10.1562H17.0888C17.0888 9.82102 17.0206 9.52415 16.8842 9.26562C16.7479 9.00426 16.5561 8.7983 16.3089 8.64773C16.0646 8.49716 15.7777 8.42188 15.4482 8.42188C15.0902 8.42188 14.7777 8.50994 14.5107 8.68608C14.2464 8.85937 14.0419 9.08665 13.897 9.3679C13.755 9.64631 13.6839 9.94886 13.6839 10.2756V11.0213C13.6839 11.4588 13.7607 11.831 13.9141 12.1378C14.0703 12.4446 14.2876 12.679 14.5661 12.8409C14.8445 13 15.1697 13.0795 15.5419 13.0795C15.7834 13.0795 16.0036 13.0455 16.2024 12.9773C16.4013 12.9062 16.5732 12.8011 16.718 12.6619C16.8629 12.5227 16.9737 12.3509 17.0504 12.1463L18.2564 12.3636C18.1598 12.7187 17.9865 13.0298 17.7365 13.2969C17.4893 13.5611 17.1783 13.767 16.8033 13.9148C16.4311 14.0597 16.0064 14.1321 15.5291 14.1321ZM22.8065 7.45455V8.47727H19.2312V7.45455H22.8065ZM20.19 5.88636H21.4641V12.0781C21.4641 12.3253 21.5011 12.5114 21.5749 12.6364C21.6488 12.7585 21.744 12.8423 21.8604 12.8878C21.9798 12.9304 22.109 12.9517 22.2482 12.9517C22.3505 12.9517 22.44 12.9446 22.5167 12.9304C22.5934 12.9162 22.6531 12.9048 22.6957 12.8963L22.9258 13.9489C22.8519 13.9773 22.7468 14.0057 22.6104 14.0341C22.4741 14.0653 22.3036 14.0824 22.0991 14.0852C21.7638 14.0909 21.4513 14.0312 21.1616 13.9062C20.8718 13.7812 20.6374 13.5881 20.4585 13.3267C20.2795 13.0653 20.19 12.7372 20.19 12.3423V5.88636ZM26.1207 14.1449C25.706 14.1449 25.331 14.0682 24.9957 13.9148C24.6605 13.7585 24.3949 13.5327 24.1989 13.2372C24.0057 12.9418 23.9091 12.5795 23.9091 12.1506C23.9091 11.7812 23.9801 11.4773 24.1222 11.2386C24.2642 11 24.456 10.8111 24.6974 10.6719C24.9389 10.5327 25.2088 10.4276 25.5071 10.3565C25.8054 10.2855 26.1094 10.2315 26.419 10.1946C26.8111 10.1491 27.1293 10.1122 27.3736 10.0838C27.6179 10.0526 27.7955 10.0028 27.9062 9.93466C28.017 9.86648 28.0724 9.75568 28.0724 9.60227V9.57244C28.0724 9.20028 27.9673 8.91193 27.7571 8.70739C27.5497 8.50284 27.2401 8.40057 26.8281 8.40057C26.3991 8.40057 26.0611 8.49574 25.8139 8.68608C25.5696 8.87358 25.4006 9.08239 25.3068 9.3125L24.1094 9.03977C24.2514 8.64205 24.4588 8.32102 24.7315 8.0767C25.0071 7.82955 25.3239 7.65057 25.6818 7.53977C26.0398 7.42614 26.4162 7.36932 26.8111 7.36932C27.0724 7.36932 27.3494 7.40057 27.642 7.46307C27.9375 7.52273 28.2131 7.63352 28.4688 7.79545C28.7273 7.95739 28.9389 8.18892 29.1037 8.49006C29.2685 8.78835 29.3509 9.17614 29.3509 9.65341V14H28.1065V13.1051H28.0554C27.973 13.2699 27.8494 13.4318 27.6847 13.5909C27.5199 13.75 27.3082 13.8821 27.0497 13.9872C26.7912 14.0923 26.4815 14.1449 26.1207 14.1449ZM26.3977 13.1222C26.75 13.1222 27.0511 13.0526 27.3011 12.9134C27.554 12.7741 27.7457 12.5923 27.8764 12.3679C28.0099 12.1406 28.0767 11.8977 28.0767 11.6392V10.7955C28.0313 10.8409 27.9432 10.8835 27.8125 10.9233C27.6847 10.9602 27.5384 10.9929 27.3736 11.0213C27.2088 11.0469 27.0483 11.071 26.892 11.0938C26.7358 11.1136 26.6051 11.1307 26.5 11.1449C26.2528 11.1761 26.027 11.2287 25.8224 11.3026C25.6207 11.3764 25.4588 11.483 25.3366 11.6222C25.2173 11.7585 25.1577 11.9403 25.1577 12.1676C25.1577 12.483 25.2741 12.7216 25.5071 12.8835C25.7401 13.0426 26.0369 13.1222 26.3977 13.1222Z",
|
|
107
|
+
fill: "url(#paint0_linear_5214_50736)"
|
|
115
108
|
}),
|
|
116
|
-
/*#__PURE__*/
|
|
117
|
-
children:
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}),
|
|
135
|
-
/*#__PURE__*/ jsxs("linearGradient", {
|
|
136
|
-
id: "paint1_linear_3034_14503",
|
|
137
|
-
x1: "45.605",
|
|
138
|
-
y1: "3.12234",
|
|
139
|
-
x2: "41.2267",
|
|
140
|
-
y2: "3.42341",
|
|
141
|
-
gradientUnits: "userSpaceOnUse",
|
|
142
|
-
children: [
|
|
143
|
-
/*#__PURE__*/ jsx("stop", {
|
|
144
|
-
stopColor: "#3C67FF"
|
|
145
|
-
}),
|
|
146
|
-
/*#__PURE__*/ jsx("stop", {
|
|
147
|
-
offset: "1",
|
|
148
|
-
stopColor: "#874CFD"
|
|
149
|
-
})
|
|
150
|
-
]
|
|
151
|
-
})
|
|
152
|
-
]
|
|
109
|
+
/*#__PURE__*/ jsx("defs", {
|
|
110
|
+
children: /*#__PURE__*/ jsxs("linearGradient", {
|
|
111
|
+
id: "paint0_linear_5214_50736",
|
|
112
|
+
x1: "31",
|
|
113
|
+
y1: "15.2703",
|
|
114
|
+
x2: "3.99944",
|
|
115
|
+
y2: "15.2287",
|
|
116
|
+
gradientUnits: "userSpaceOnUse",
|
|
117
|
+
children: [
|
|
118
|
+
/*#__PURE__*/ jsx("stop", {
|
|
119
|
+
stopColor: "#874CFD"
|
|
120
|
+
}),
|
|
121
|
+
/*#__PURE__*/ jsx("stop", {
|
|
122
|
+
offset: "1",
|
|
123
|
+
stopColor: "#3C38E1"
|
|
124
|
+
})
|
|
125
|
+
]
|
|
126
|
+
})
|
|
153
127
|
})
|
|
154
128
|
]
|
|
129
|
+
})
|
|
130
|
+
]
|
|
131
|
+
}),
|
|
132
|
+
/*#__PURE__*/ jsxs("div", {
|
|
133
|
+
className: "flex items-center ",
|
|
134
|
+
children: [
|
|
135
|
+
/*#__PURE__*/ jsx("span", {
|
|
136
|
+
className: "mr-[3px] text-center text-[12px] font-normal text-[#676767]",
|
|
137
|
+
children: action.content
|
|
155
138
|
}),
|
|
156
139
|
action.id === 'gps-add-section-bottom-from-image' && /*#__PURE__*/ jsx("input", {
|
|
157
140
|
id: "gp-add-section-bottom-from-select-image",
|
|
@@ -24,9 +24,47 @@ const ImageToLayoutInput = ({ totalSection })=>{
|
|
|
24
24
|
return /*#__PURE__*/ jsxs("div", {
|
|
25
25
|
className: "relative mt-[64px] flex w-full max-w-[calc(100%_-_32px)] flex-col items-center rounded-[3px] border border-[#EEEEEE] px-[16px] pb-[24px] pt-[32px]",
|
|
26
26
|
children: [
|
|
27
|
-
/*#__PURE__*/
|
|
28
|
-
className: "absolute top-[-15px] z-10 bg-white px-[8px] py-[4px] text-[14px] font-normal leading-[21px] text-[#9E9E9E]",
|
|
29
|
-
children:
|
|
27
|
+
/*#__PURE__*/ jsxs("div", {
|
|
28
|
+
className: "absolute top-[-15px] z-10 flex gap-1 bg-white px-[8px] py-[4px] text-[14px] font-normal leading-[21px] text-[#9E9E9E]",
|
|
29
|
+
children: [
|
|
30
|
+
"or use Image to Layout",
|
|
31
|
+
/*#__PURE__*/ jsxs("svg", {
|
|
32
|
+
width: "36",
|
|
33
|
+
height: "20",
|
|
34
|
+
viewBox: "0 0 36 20",
|
|
35
|
+
fill: "none",
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
children: [
|
|
38
|
+
/*#__PURE__*/ jsx("path", {
|
|
39
|
+
d: "M0.5 3C0.5 1.34315 1.84315 0 3.5 0H32.5C34.1569 0 35.5 1.34315 35.5 3V17C35.5 18.6569 34.1569 20 32.5 20H3.5C1.84315 20 0.5 18.6569 0.5 17V3Z",
|
|
40
|
+
fill: "#EBDDF8"
|
|
41
|
+
}),
|
|
42
|
+
/*#__PURE__*/ jsx("path", {
|
|
43
|
+
d: "M5.45881 14V5.27273H8.65483C9.27415 5.27273 9.78693 5.375 10.1932 5.57955C10.5994 5.78125 10.9034 6.0554 11.1051 6.40199C11.3068 6.74574 11.4077 7.13352 11.4077 7.56534C11.4077 7.92898 11.3409 8.2358 11.2074 8.4858C11.0739 8.73295 10.8949 8.93182 10.6705 9.08239C10.4489 9.23011 10.2045 9.33807 9.9375 9.40625V9.49148C10.2273 9.50568 10.5099 9.59943 10.7855 9.77273C11.0639 9.94318 11.294 10.1861 11.4759 10.5014C11.6577 10.8168 11.7486 11.2003 11.7486 11.652C11.7486 12.098 11.6435 12.4986 11.4332 12.8537C11.2259 13.206 10.9048 13.4858 10.4702 13.6932C10.0355 13.8977 9.48011 14 8.80398 14H5.45881ZM6.77557 12.8707H8.67614C9.30682 12.8707 9.75852 12.7486 10.0312 12.5043C10.304 12.2599 10.4403 11.9545 10.4403 11.5881C10.4403 11.3125 10.3707 11.0597 10.2315 10.8295C10.0923 10.5994 9.89347 10.4162 9.63494 10.2798C9.37926 10.1435 9.07528 10.0753 8.72301 10.0753H6.77557V12.8707ZM6.77557 9.0483H8.53977C8.83523 9.0483 9.10085 8.99148 9.33665 8.87784C9.57528 8.7642 9.7642 8.60511 9.90341 8.40057C10.0455 8.19318 10.1165 7.94886 10.1165 7.66761C10.1165 7.30682 9.99006 7.00426 9.73722 6.75994C9.48438 6.51562 9.09659 6.39347 8.57386 6.39347H6.77557V9.0483ZM16.0291 14.1321C15.3842 14.1321 14.8288 13.9943 14.3629 13.7188C13.8999 13.4403 13.5419 13.0497 13.2891 12.5469C13.0391 12.0412 12.9141 11.4489 12.9141 10.7699C12.9141 10.0994 13.0391 9.50852 13.2891 8.99716C13.5419 8.4858 13.8942 8.08665 14.3459 7.79972C14.8004 7.51278 15.3317 7.36932 15.9396 7.36932C16.3089 7.36932 16.6669 7.4304 17.0135 7.55256C17.3601 7.67472 17.6712 7.86648 17.9467 8.12784C18.2223 8.3892 18.4396 8.72869 18.5987 9.14631C18.7578 9.56108 18.8374 10.0653 18.8374 10.6591V11.1108H13.6342V10.1562H17.5888C17.5888 9.82102 17.5206 9.52415 17.3842 9.26562C17.2479 9.00426 17.0561 8.7983 16.8089 8.64773C16.5646 8.49716 16.2777 8.42188 15.9482 8.42188C15.5902 8.42188 15.2777 8.50994 15.0107 8.68608C14.7464 8.85937 14.5419 9.08665 14.397 9.3679C14.255 9.64631 14.1839 9.94886 14.1839 10.2756V11.0213C14.1839 11.4588 14.2607 11.831 14.4141 12.1378C14.5703 12.4446 14.7876 12.679 15.0661 12.8409C15.3445 13 15.6697 13.0795 16.0419 13.0795C16.2834 13.0795 16.5036 13.0455 16.7024 12.9773C16.9013 12.9062 17.0732 12.8011 17.218 12.6619C17.3629 12.5227 17.4737 12.3509 17.5504 12.1463L18.7564 12.3636C18.6598 12.7187 18.4865 13.0298 18.2365 13.2969C17.9893 13.5611 17.6783 13.767 17.3033 13.9148C16.9311 14.0597 16.5064 14.1321 16.0291 14.1321ZM23.3065 7.45455V8.47727H19.7312V7.45455H23.3065ZM20.69 5.88636H21.9641V12.0781C21.9641 12.3253 22.0011 12.5114 22.0749 12.6364C22.1488 12.7585 22.244 12.8423 22.3604 12.8878C22.4798 12.9304 22.609 12.9517 22.7482 12.9517C22.8505 12.9517 22.94 12.9446 23.0167 12.9304C23.0934 12.9162 23.1531 12.9048 23.1957 12.8963L23.4258 13.9489C23.3519 13.9773 23.2468 14.0057 23.1104 14.0341C22.9741 14.0653 22.8036 14.0824 22.5991 14.0852C22.2638 14.0909 21.9513 14.0312 21.6616 13.9062C21.3718 13.7812 21.1374 13.5881 20.9585 13.3267C20.7795 13.0653 20.69 12.7372 20.69 12.3423V5.88636ZM26.6207 14.1449C26.206 14.1449 25.831 14.0682 25.4957 13.9148C25.1605 13.7585 24.8949 13.5327 24.6989 13.2372C24.5057 12.9418 24.4091 12.5795 24.4091 12.1506C24.4091 11.7812 24.4801 11.4773 24.6222 11.2386C24.7642 11 24.956 10.8111 25.1974 10.6719C25.4389 10.5327 25.7088 10.4276 26.0071 10.3565C26.3054 10.2855 26.6094 10.2315 26.919 10.1946C27.3111 10.1491 27.6293 10.1122 27.8736 10.0838C28.1179 10.0526 28.2955 10.0028 28.4062 9.93466C28.517 9.86648 28.5724 9.75568 28.5724 9.60227V9.57244C28.5724 9.20028 28.4673 8.91193 28.2571 8.70739C28.0497 8.50284 27.7401 8.40057 27.3281 8.40057C26.8991 8.40057 26.5611 8.49574 26.3139 8.68608C26.0696 8.87358 25.9006 9.08239 25.8068 9.3125L24.6094 9.03977C24.7514 8.64205 24.9588 8.32102 25.2315 8.0767C25.5071 7.82955 25.8239 7.65057 26.1818 7.53977C26.5398 7.42614 26.9162 7.36932 27.3111 7.36932C27.5724 7.36932 27.8494 7.40057 28.142 7.46307C28.4375 7.52273 28.7131 7.63352 28.9688 7.79545C29.2273 7.95739 29.4389 8.18892 29.6037 8.49006C29.7685 8.78835 29.8509 9.17614 29.8509 9.65341V14H28.6065V13.1051H28.5554C28.473 13.2699 28.3494 13.4318 28.1847 13.5909C28.0199 13.75 27.8082 13.8821 27.5497 13.9872C27.2912 14.0923 26.9815 14.1449 26.6207 14.1449ZM26.8977 13.1222C27.25 13.1222 27.5511 13.0526 27.8011 12.9134C28.054 12.7741 28.2457 12.5923 28.3764 12.3679C28.5099 12.1406 28.5767 11.8977 28.5767 11.6392V10.7955C28.5313 10.8409 28.4432 10.8835 28.3125 10.9233C28.1847 10.9602 28.0384 10.9929 27.8736 11.0213C27.7088 11.0469 27.5483 11.071 27.392 11.0938C27.2358 11.1136 27.1051 11.1307 27 11.1449C26.7528 11.1761 26.527 11.2287 26.3224 11.3026C26.1207 11.3764 25.9588 11.483 25.8366 11.6222C25.7173 11.7585 25.6577 11.9403 25.6577 12.1676C25.6577 12.483 25.7741 12.7216 26.0071 12.8835C26.2401 13.0426 26.5369 13.1222 26.8977 13.1222Z",
|
|
44
|
+
fill: "url(#paint0_linear_5203_64584)"
|
|
45
|
+
}),
|
|
46
|
+
/*#__PURE__*/ jsx("defs", {
|
|
47
|
+
children: /*#__PURE__*/ jsxs("linearGradient", {
|
|
48
|
+
id: "paint0_linear_5203_64584",
|
|
49
|
+
x1: "31.5",
|
|
50
|
+
y1: "15.2703",
|
|
51
|
+
x2: "4.49944",
|
|
52
|
+
y2: "15.2287",
|
|
53
|
+
gradientUnits: "userSpaceOnUse",
|
|
54
|
+
children: [
|
|
55
|
+
/*#__PURE__*/ jsx("stop", {
|
|
56
|
+
stopColor: "#874CFD"
|
|
57
|
+
}),
|
|
58
|
+
/*#__PURE__*/ jsx("stop", {
|
|
59
|
+
offset: "1",
|
|
60
|
+
stopColor: "#3C38E1"
|
|
61
|
+
})
|
|
62
|
+
]
|
|
63
|
+
})
|
|
64
|
+
})
|
|
65
|
+
]
|
|
66
|
+
})
|
|
67
|
+
]
|
|
30
68
|
}),
|
|
31
69
|
/*#__PURE__*/ jsxs("div", {
|
|
32
70
|
className: "image-to-layout-input-border relative max-w-[calc(100%)]",
|
|
@@ -34,29 +72,45 @@ const ImageToLayoutInput = ({ totalSection })=>{
|
|
|
34
72
|
/*#__PURE__*/ jsxs("div", {
|
|
35
73
|
className: "image-to-layout-input-wrapper flex h-[60px] w-[600px] max-w-[100%] items-center rounded-[3px] py-[10px] pl-3 pr-2",
|
|
36
74
|
children: [
|
|
37
|
-
/*#__PURE__*/ jsxs("svg", {
|
|
38
|
-
width: "
|
|
39
|
-
height: "
|
|
40
|
-
viewBox: "0 0
|
|
75
|
+
!link ? /*#__PURE__*/ jsxs("svg", {
|
|
76
|
+
width: "21",
|
|
77
|
+
height: "20",
|
|
78
|
+
viewBox: "0 0 21 20",
|
|
41
79
|
fill: "none",
|
|
42
80
|
xmlns: "http://www.w3.org/2000/svg",
|
|
43
81
|
children: [
|
|
44
82
|
/*#__PURE__*/ jsx("path", {
|
|
45
|
-
d: "
|
|
46
|
-
fill: "
|
|
83
|
+
d: "M15.0455 3.3397C14.9859 3.155 14.7246 3.155 14.6649 3.3397L14.3917 4.18545C14.2941 4.48763 14.0588 4.72549 13.7576 4.82633L12.9216 5.1063C12.7396 5.16724 12.7396 5.42466 12.9216 5.4856L13.7576 5.76557C14.0588 5.8664 14.2941 6.10426 14.3917 6.40645L14.6649 7.2522C14.7246 7.4369 14.9859 7.4369 15.0455 7.2522L15.3187 6.40645C15.4163 6.10426 15.6517 5.8664 15.9528 5.76557L16.7889 5.4856C16.9708 5.42466 16.9708 5.16724 16.7889 5.1063L15.9528 4.82633C15.6517 4.72549 15.4163 4.48763 15.3187 4.18545L15.0455 3.3397Z",
|
|
84
|
+
fill: "#9E9E9E"
|
|
47
85
|
}),
|
|
48
86
|
/*#__PURE__*/ jsx("path", {
|
|
49
|
-
d: "
|
|
50
|
-
fill: "
|
|
87
|
+
d: "M10.0157 4.1343C9.9262 3.85725 9.53422 3.85725 9.44473 4.1343L8.49438 7.07649C8.20156 7.98304 7.49557 8.69662 6.5922 8.99912L3.70474 9.96602C3.43175 10.0574 3.43175 10.4436 3.70474 10.535L6.59221 11.5019C7.49557 11.8044 8.20156 12.5179 8.49438 13.4245L9.44473 16.3667C9.53422 16.6437 9.9262 16.6437 10.0157 16.3667L10.966 13.4245C11.2589 12.5179 11.9649 11.8044 12.8682 11.5019L15.7557 10.535C16.0287 10.4436 16.0287 10.0574 15.7557 9.96602L12.8682 8.99912C11.9649 8.69662 11.2589 7.98304 10.966 7.07649L10.0157 4.1343Z",
|
|
88
|
+
fill: "#9E9E9E"
|
|
89
|
+
})
|
|
90
|
+
]
|
|
91
|
+
}) : /*#__PURE__*/ jsxs("svg", {
|
|
92
|
+
width: "21",
|
|
93
|
+
height: "21",
|
|
94
|
+
viewBox: "0 0 21 21",
|
|
95
|
+
fill: "none",
|
|
96
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
97
|
+
children: [
|
|
98
|
+
/*#__PURE__*/ jsx("path", {
|
|
99
|
+
d: "M15.0455 3.8397C14.9859 3.655 14.7246 3.655 14.6649 3.8397L14.3917 4.68545C14.2941 4.98763 14.0588 5.22549 13.7576 5.32633L12.9216 5.6063C12.7396 5.66724 12.7396 5.92466 12.9216 5.9856L13.7576 6.26557C14.0588 6.3664 14.2941 6.60426 14.3917 6.90645L14.6649 7.7522C14.7246 7.9369 14.9859 7.9369 15.0455 7.7522L15.3187 6.90645C15.4163 6.60426 15.6517 6.3664 15.9528 6.26557L16.7889 5.9856C16.9708 5.92466 16.9708 5.66724 16.7889 5.6063L15.9528 5.32633C15.6517 5.22549 15.4163 4.98763 15.3187 4.68545L15.0455 3.8397Z",
|
|
100
|
+
fill: "url(#paint0_linear_5189_39651)"
|
|
101
|
+
}),
|
|
102
|
+
/*#__PURE__*/ jsx("path", {
|
|
103
|
+
d: "M10.0157 4.6343C9.9262 4.35725 9.53422 4.35725 9.44473 4.6343L8.49438 7.57649C8.20156 8.48304 7.49557 9.19662 6.5922 9.49912L3.70474 10.466C3.43175 10.5574 3.43175 10.9436 3.70474 11.035L6.59221 12.0019C7.49557 12.3044 8.20156 13.0179 8.49438 13.9245L9.44473 16.8667C9.53422 17.1437 9.9262 17.1437 10.0157 16.8667L10.966 13.9245C11.2589 13.0179 11.9649 12.3044 12.8682 12.0019L15.7557 11.035C16.0287 10.9436 16.0287 10.5574 15.7557 10.466L12.8682 9.49912C11.9649 9.19662 11.2589 8.48304 10.966 7.57649L10.0157 4.6343Z",
|
|
104
|
+
fill: "url(#paint1_linear_5189_39651)"
|
|
51
105
|
}),
|
|
52
106
|
/*#__PURE__*/ jsxs("defs", {
|
|
53
107
|
children: [
|
|
54
108
|
/*#__PURE__*/ jsxs("linearGradient", {
|
|
55
|
-
id: "
|
|
56
|
-
x1: "
|
|
57
|
-
y1: "
|
|
58
|
-
x2: "
|
|
59
|
-
y2: "
|
|
109
|
+
id: "paint0_linear_5189_39651",
|
|
110
|
+
x1: "16.9254",
|
|
111
|
+
y1: "13.9119",
|
|
112
|
+
x2: "3.49971",
|
|
113
|
+
y2: "13.8965",
|
|
60
114
|
gradientUnits: "userSpaceOnUse",
|
|
61
115
|
children: [
|
|
62
116
|
/*#__PURE__*/ jsx("stop", {
|
|
@@ -69,19 +123,19 @@ const ImageToLayoutInput = ({ totalSection })=>{
|
|
|
69
123
|
]
|
|
70
124
|
}),
|
|
71
125
|
/*#__PURE__*/ jsxs("linearGradient", {
|
|
72
|
-
id: "
|
|
73
|
-
x1: "
|
|
74
|
-
y1: "
|
|
75
|
-
x2: "
|
|
76
|
-
y2: "
|
|
126
|
+
id: "paint1_linear_5189_39651",
|
|
127
|
+
x1: "16.9254",
|
|
128
|
+
y1: "13.9119",
|
|
129
|
+
x2: "3.49971",
|
|
130
|
+
y2: "13.8965",
|
|
77
131
|
gradientUnits: "userSpaceOnUse",
|
|
78
132
|
children: [
|
|
79
133
|
/*#__PURE__*/ jsx("stop", {
|
|
80
|
-
stopColor: "#
|
|
134
|
+
stopColor: "#874CFD"
|
|
81
135
|
}),
|
|
82
136
|
/*#__PURE__*/ jsx("stop", {
|
|
83
137
|
offset: "1",
|
|
84
|
-
stopColor: "#
|
|
138
|
+
stopColor: "#3C38E1"
|
|
85
139
|
})
|
|
86
140
|
]
|
|
87
141
|
})
|
|
@@ -97,7 +151,7 @@ const ImageToLayoutInput = ({ totalSection })=>{
|
|
|
97
151
|
onBlur: ()=>setIsFocus(false),
|
|
98
152
|
autoComplete: "off",
|
|
99
153
|
id: "gp-img-to-layout-input-link",
|
|
100
|
-
placeholder: "Paste your link",
|
|
154
|
+
placeholder: "Paste your link here",
|
|
101
155
|
className: "mx-4 h-[60px] flex-1 text-[14px] text-[#676767] outline-none"
|
|
102
156
|
}),
|
|
103
157
|
/*#__PURE__*/ jsx("div", {
|
|
@@ -73,7 +73,9 @@ const BuilderPage = ({ components , seo , themeStyle , fontStyle , sectionData ,
|
|
|
73
73
|
/*#__PURE__*/ jsx(ImageToLayout, {
|
|
74
74
|
editorImageToLayout: editorImageToLayout || false
|
|
75
75
|
}),
|
|
76
|
-
/*#__PURE__*/ jsx(AddSectionImageToLayout, {
|
|
76
|
+
/*#__PURE__*/ jsx(AddSectionImageToLayout, {
|
|
77
|
+
editorImageToLayout: editorImageToLayout || false
|
|
78
|
+
}),
|
|
77
79
|
/*#__PURE__*/ jsx("div", {
|
|
78
80
|
id: "visual-content"
|
|
79
81
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/pages",
|
|
3
|
-
"version": "1.14.0-next.
|
|
3
|
+
"version": "1.14.0-next.68",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"next-seo": "^6.0.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@gem-sdk/core": "1.14.0-next.
|
|
28
|
+
"@gem-sdk/core": "1.14.0-next.63",
|
|
29
29
|
"@gem-sdk/plugin-cookie-bar": "*",
|
|
30
30
|
"@gem-sdk/plugin-quick-view": "*",
|
|
31
31
|
"@gem-sdk/plugin-sticky-add-to-cart": "*"
|