@gem-sdk/pages 1.14.0-next.25 → 1.14.0-next.29

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.
@@ -137,7 +137,7 @@ const ImageToLayout = ({ editorImageToLayout })=>{
137
137
  className: "image-to-layout-input-border max-w-[calc(100%_-_32px)]",
138
138
  children: [
139
139
  /*#__PURE__*/ jsxRuntime.jsxs("div", {
140
- className: "image-to-layout-input-wrapper flex h-[60px] w-[600px] max-w-[calc(100%)] items-center rounded-[3px] border py-[10px] pl-3 pr-2",
140
+ className: "image-to-layout-input-wrapper flex h-[60px] w-[600px] max-w-[calc(100%)] items-center rounded-[3px] py-[10px] pl-3 pr-2",
141
141
  children: [
142
142
  /*#__PURE__*/ jsxRuntime.jsxs("svg", {
143
143
  width: "54",
@@ -18,7 +18,7 @@ const PagesSuggestion = ({ isOpen , link , setLink , setOpenSuggestion })=>{
18
18
  return /*#__PURE__*/ jsxRuntime.jsxs(jsxRuntime.Fragment, {
19
19
  children: [
20
20
  /*#__PURE__*/ jsxRuntime.jsx("div", {
21
- className: `z-9 gps-page-suggestion max-w-[calc(100%_+_2px)] bg-white ${isOpen ? 'block' : 'hidden'} absolute left-[-1px] top-[-1px]`,
21
+ className: `z-9 gps-page-suggestion max-w-[calc(100%)] bg-white ${isOpen ? 'block' : 'hidden'} absolute left-[0px] top-[0px]`,
22
22
  children: /*#__PURE__*/ jsxRuntime.jsxs("div", {
23
23
  className: "h-full w-full overflow-hidden rounded-[3px]",
24
24
  children: [
@@ -116,6 +116,7 @@ const PagesSuggestion = ({ isOpen , link , setLink , setOpenSuggestion })=>{
116
116
  height: "32",
117
117
  viewBox: "0 0 32 32",
118
118
  fill: "none",
119
+ className: "min-h-[32px] min-w-[32px]",
119
120
  xmlns: "http://www.w3.org/2000/svg",
120
121
  children: [
121
122
  /*#__PURE__*/ jsxRuntime.jsx("path", {
@@ -133,14 +134,14 @@ const PagesSuggestion = ({ isOpen , link , setLink , setOpenSuggestion })=>{
133
134
  ]
134
135
  }),
135
136
  /*#__PURE__*/ jsxRuntime.jsx("span", {
136
- className: "item-link ml-[24px] whitespace-nowrap text-xs text-[#212121]",
137
+ className: "item-link mobile:whitespace-pre-wrap ml-[24px] whitespace-nowrap text-xs text-[#212121]",
137
138
  children: page
138
139
  })
139
140
  ]
140
141
  }),
141
142
  /*#__PURE__*/ jsxRuntime.jsxs("div", {
142
143
  "data-url": page,
143
- className: "gps-suggestion-item-btn invisible ml-[24px] flex h-[32px] cursor-pointer items-center rounded-[3px] px-2 hover:bg-black/10",
144
+ className: "gps-suggestion-item-btn mobile:ml-0 ml-[24px] hidden h-[32px] cursor-pointer items-center rounded-[3px] px-2 hover:bg-black/10",
144
145
  children: [
145
146
  /*#__PURE__*/ jsxRuntime.jsxs("svg", {
146
147
  width: "16",
@@ -174,7 +175,7 @@ const PagesSuggestion = ({ isOpen , link , setLink , setOpenSuggestion })=>{
174
175
  /*#__PURE__*/ jsxRuntime.jsx("div", {
175
176
  onClick: ()=>setOpenSuggestion(false),
176
177
  "aria-hidden": true,
177
- className: `fixed left-0 top-0 h-[100vh] w-[100vw] bg-transparent ${isOpen ? 'block' : 'hidden'}`
178
+ className: `gps-bg-fixed fixed left-0 top-0 h-[100vh] w-[100vw] bg-transparent ${isOpen ? 'block' : 'hidden'}`
178
179
  })
179
180
  ]
180
181
  });
@@ -133,7 +133,7 @@ const ImageToLayout = ({ editorImageToLayout })=>{
133
133
  className: "image-to-layout-input-border max-w-[calc(100%_-_32px)]",
134
134
  children: [
135
135
  /*#__PURE__*/ jsxs("div", {
136
- className: "image-to-layout-input-wrapper flex h-[60px] w-[600px] max-w-[calc(100%)] items-center rounded-[3px] border py-[10px] pl-3 pr-2",
136
+ className: "image-to-layout-input-wrapper flex h-[60px] w-[600px] max-w-[calc(100%)] items-center rounded-[3px] py-[10px] pl-3 pr-2",
137
137
  children: [
138
138
  /*#__PURE__*/ jsxs("svg", {
139
139
  width: "54",
@@ -16,7 +16,7 @@ const PagesSuggestion = ({ isOpen , link , setLink , setOpenSuggestion })=>{
16
16
  return /*#__PURE__*/ jsxs(Fragment, {
17
17
  children: [
18
18
  /*#__PURE__*/ jsx("div", {
19
- className: `z-9 gps-page-suggestion max-w-[calc(100%_+_2px)] bg-white ${isOpen ? 'block' : 'hidden'} absolute left-[-1px] top-[-1px]`,
19
+ className: `z-9 gps-page-suggestion max-w-[calc(100%)] bg-white ${isOpen ? 'block' : 'hidden'} absolute left-[0px] top-[0px]`,
20
20
  children: /*#__PURE__*/ jsxs("div", {
21
21
  className: "h-full w-full overflow-hidden rounded-[3px]",
22
22
  children: [
@@ -114,6 +114,7 @@ const PagesSuggestion = ({ isOpen , link , setLink , setOpenSuggestion })=>{
114
114
  height: "32",
115
115
  viewBox: "0 0 32 32",
116
116
  fill: "none",
117
+ className: "min-h-[32px] min-w-[32px]",
117
118
  xmlns: "http://www.w3.org/2000/svg",
118
119
  children: [
119
120
  /*#__PURE__*/ jsx("path", {
@@ -131,14 +132,14 @@ const PagesSuggestion = ({ isOpen , link , setLink , setOpenSuggestion })=>{
131
132
  ]
132
133
  }),
133
134
  /*#__PURE__*/ jsx("span", {
134
- className: "item-link ml-[24px] whitespace-nowrap text-xs text-[#212121]",
135
+ className: "item-link mobile:whitespace-pre-wrap ml-[24px] whitespace-nowrap text-xs text-[#212121]",
135
136
  children: page
136
137
  })
137
138
  ]
138
139
  }),
139
140
  /*#__PURE__*/ jsxs("div", {
140
141
  "data-url": page,
141
- className: "gps-suggestion-item-btn invisible ml-[24px] flex h-[32px] cursor-pointer items-center rounded-[3px] px-2 hover:bg-black/10",
142
+ className: "gps-suggestion-item-btn mobile:ml-0 ml-[24px] hidden h-[32px] cursor-pointer items-center rounded-[3px] px-2 hover:bg-black/10",
142
143
  children: [
143
144
  /*#__PURE__*/ jsxs("svg", {
144
145
  width: "16",
@@ -172,7 +173,7 @@ const PagesSuggestion = ({ isOpen , link , setLink , setOpenSuggestion })=>{
172
173
  /*#__PURE__*/ jsx("div", {
173
174
  onClick: ()=>setOpenSuggestion(false),
174
175
  "aria-hidden": true,
175
- className: `fixed left-0 top-0 h-[100vh] w-[100vw] bg-transparent ${isOpen ? 'block' : 'hidden'}`
176
+ className: `gps-bg-fixed fixed left-0 top-0 h-[100vh] w-[100vw] bg-transparent ${isOpen ? 'block' : 'hidden'}`
176
177
  })
177
178
  ]
178
179
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/pages",
3
- "version": "1.14.0-next.25",
3
+ "version": "1.14.0-next.29",
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.25",
28
+ "@gem-sdk/core": "1.14.0-next.29",
29
29
  "@gem-sdk/plugin-cookie-bar": "*",
30
30
  "@gem-sdk/plugin-quick-view": "*",
31
31
  "@gem-sdk/plugin-sticky-add-to-cart": "*"