@gem-sdk/pages 1.41.0-dev.36 → 1.41.0-dev.50
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.
|
@@ -482,7 +482,6 @@ const Toolbar = ()=>{
|
|
|
482
482
|
const componentUid = currentComponentActive.current?.componentUid;
|
|
483
483
|
const productId = currentComponentActive.current?.productId;
|
|
484
484
|
const $component = await waitForElementToExist(`${productId ? `[data-product-id="${productId}"] ` : ''}[data-uid="${componentUid}"]`, 500);
|
|
485
|
-
console.log(' $component', $component);
|
|
486
485
|
if ($component) {
|
|
487
486
|
const $toolbar = getChildrenByAttrSelector($component, 'data-toolbar');
|
|
488
487
|
const $outline = getChildrenByAttrSelector($component, 'data-outline');
|
|
@@ -16,7 +16,7 @@ const BASE_DATA = [
|
|
|
16
16
|
{
|
|
17
17
|
title: 'Generate layout',
|
|
18
18
|
content: 'from URL or image',
|
|
19
|
-
hasAILogo:
|
|
19
|
+
hasAILogo: false,
|
|
20
20
|
id: 'gps-add-section-bottom-from-url'
|
|
21
21
|
},
|
|
22
22
|
{
|
|
@@ -77,7 +77,7 @@ const AddSectionImageToLayout = ({ editorImageToLayout })=>{
|
|
|
77
77
|
...core.makeStyleResponsive('pr', defaultPadding)
|
|
78
78
|
},
|
|
79
79
|
children: /*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
80
|
-
className: `gps-base-font-family gp-relative gp-mb-[24px] gp-mt-[40px] gp-flex gp-flex-1 gp-justify-center gp-rounded-[3px] gp-border gp-border-[#EEEEEE] gp-py-[24px]`,
|
|
80
|
+
className: `gps-base-font-family gp-relative gp-mb-[24px] gp-mt-[40px] gp-flex gp-flex-1 gp-justify-center gp-rounded-[3px] gp-border gp-border-[#EEEEEE] gp-py-[24px] w375:gp-flex-col w375:gp-gap-y-[8px] w576:gp-flex-col w576:gp-gap-y-[8px]`,
|
|
81
81
|
style: {
|
|
82
82
|
maxWidth: `var(--g-ct-w)`,
|
|
83
83
|
marginBottom: `${offset + 48}px`
|
|
@@ -89,7 +89,7 @@ const AddSectionImageToLayout = ({ editorImageToLayout })=>{
|
|
|
89
89
|
}),
|
|
90
90
|
ACTIONS_DATA.map((action)=>{
|
|
91
91
|
return /*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
92
|
-
className: `gp-relative gp-mx-1 gp-h-[60px] mobile:gp-h-[72px] gp-w-[172px] gp-cursor-pointer gp-flex-col gp-items-center gp-justify-center gp-rounded-[3px] gp-bg-[#F4F4F4] hover:gp-bg-black/10 ${isInput ? 'gp-hidden' : 'gp-flex'}`,
|
|
92
|
+
className: `gp-relative gp-mx-1 gp-h-[60px] mobile:gp-h-[72px] gp-w-[172px] w375:gp-w-auto w576:gp-w-auto gp-cursor-pointer gp-flex-col gp-items-center gp-justify-center gp-rounded-[3px] gp-bg-[#F4F4F4] hover:gp-bg-black/10 ${isInput ? 'gp-hidden' : 'gp-flex'}`,
|
|
93
93
|
id: action.id,
|
|
94
94
|
"aria-hidden": true,
|
|
95
95
|
children: [
|
|
@@ -478,7 +478,6 @@ const Toolbar = ()=>{
|
|
|
478
478
|
const componentUid = currentComponentActive.current?.componentUid;
|
|
479
479
|
const productId = currentComponentActive.current?.productId;
|
|
480
480
|
const $component = await waitForElementToExist(`${productId ? `[data-product-id="${productId}"] ` : ''}[data-uid="${componentUid}"]`, 500);
|
|
481
|
-
console.log(' $component', $component);
|
|
482
481
|
if ($component) {
|
|
483
482
|
const $toolbar = getChildrenByAttrSelector($component, 'data-toolbar');
|
|
484
483
|
const $outline = getChildrenByAttrSelector($component, 'data-outline');
|
|
@@ -12,7 +12,7 @@ const BASE_DATA = [
|
|
|
12
12
|
{
|
|
13
13
|
title: 'Generate layout',
|
|
14
14
|
content: 'from URL or image',
|
|
15
|
-
hasAILogo:
|
|
15
|
+
hasAILogo: false,
|
|
16
16
|
id: 'gps-add-section-bottom-from-url'
|
|
17
17
|
},
|
|
18
18
|
{
|
|
@@ -73,7 +73,7 @@ const AddSectionImageToLayout = ({ editorImageToLayout })=>{
|
|
|
73
73
|
...makeStyleResponsive('pr', defaultPadding)
|
|
74
74
|
},
|
|
75
75
|
children: /*#__PURE__*/ jsxs("div", {
|
|
76
|
-
className: `gps-base-font-family gp-relative gp-mb-[24px] gp-mt-[40px] gp-flex gp-flex-1 gp-justify-center gp-rounded-[3px] gp-border gp-border-[#EEEEEE] gp-py-[24px]`,
|
|
76
|
+
className: `gps-base-font-family gp-relative gp-mb-[24px] gp-mt-[40px] gp-flex gp-flex-1 gp-justify-center gp-rounded-[3px] gp-border gp-border-[#EEEEEE] gp-py-[24px] w375:gp-flex-col w375:gp-gap-y-[8px] w576:gp-flex-col w576:gp-gap-y-[8px]`,
|
|
77
77
|
style: {
|
|
78
78
|
maxWidth: `var(--g-ct-w)`,
|
|
79
79
|
marginBottom: `${offset + 48}px`
|
|
@@ -85,7 +85,7 @@ const AddSectionImageToLayout = ({ editorImageToLayout })=>{
|
|
|
85
85
|
}),
|
|
86
86
|
ACTIONS_DATA.map((action)=>{
|
|
87
87
|
return /*#__PURE__*/ jsxs("div", {
|
|
88
|
-
className: `gp-relative gp-mx-1 gp-h-[60px] mobile:gp-h-[72px] gp-w-[172px] gp-cursor-pointer gp-flex-col gp-items-center gp-justify-center gp-rounded-[3px] gp-bg-[#F4F4F4] hover:gp-bg-black/10 ${isInput ? 'gp-hidden' : 'gp-flex'}`,
|
|
88
|
+
className: `gp-relative gp-mx-1 gp-h-[60px] mobile:gp-h-[72px] gp-w-[172px] w375:gp-w-auto w576:gp-w-auto gp-cursor-pointer gp-flex-col gp-items-center gp-justify-center gp-rounded-[3px] gp-bg-[#F4F4F4] hover:gp-bg-black/10 ${isInput ? 'gp-hidden' : 'gp-flex'}`,
|
|
89
89
|
id: action.id,
|
|
90
90
|
"aria-hidden": true,
|
|
91
91
|
children: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/pages",
|
|
3
|
-
"version": "1.41.0-dev.
|
|
3
|
+
"version": "1.41.0-dev.50",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"next": "latest"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@gem-sdk/core": "1.41.0-dev.
|
|
29
|
+
"@gem-sdk/core": "1.41.0-dev.50",
|
|
30
30
|
"@gem-sdk/plugin-cookie-bar": "1.41.0-dev.36",
|
|
31
31
|
"@gem-sdk/plugin-quick-view": "1.41.0-dev.36",
|
|
32
32
|
"@gem-sdk/plugin-sticky-add-to-cart": "1.41.0-dev.36"
|