@gem-sdk/pages 1.58.0-dev.15 → 1.58.0-dev.25

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.
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  var jsxRuntime = require('react/jsx-runtime');
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  var jsxRuntime = require('react/jsx-runtime');
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -105,7 +105,7 @@ const InteractionSelectOnPageHeader = ()=>{
105
105
  })
106
106
  ]
107
107
  }),
108
- openDropdown && settingType === 'TRIGGER' && /*#__PURE__*/ jsxRuntime.jsxs("div", {
108
+ openDropdown && /*#__PURE__*/ jsxRuntime.jsxs("div", {
109
109
  ref: popupRef,
110
110
  className: "gp-p-2 gp-flex gp-flex-col gp-absolute gp-top-[calc(100%_+_4px)] gp-w-[280px] gp-bg-[#151515] gp-rounded-xl gp-text-white",
111
111
  children: [
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  var core = require('@gem-sdk/core');
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx } from 'react/jsx-runtime';
2
3
  import { Component } from 'react';
3
4
 
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx } from 'react/jsx-runtime';
2
3
  import { fpixel } from '@gem-sdk/core';
3
4
  import { usePathname, useSearchParams } from 'next/navigation';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
3
  import { useShopStore, usePageStore, cls, makeStyleResponsive } from '@gem-sdk/core';
3
4
  import Devices from './SwitchView.js';
@@ -101,7 +101,7 @@ const InteractionSelectOnPageHeader = ()=>{
101
101
  })
102
102
  ]
103
103
  }),
104
- openDropdown && settingType === 'TRIGGER' && /*#__PURE__*/ jsxs("div", {
104
+ openDropdown && /*#__PURE__*/ jsxs("div", {
105
105
  ref: popupRef,
106
106
  className: "gp-p-2 gp-flex gp-flex-col gp-absolute gp-top-[calc(100%_+_4px)] gp-w-[280px] gp-bg-[#151515] gp-rounded-xl gp-text-white",
107
107
  children: [
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
3
  import { useShopStore, cls, AddOn } from '@gem-sdk/core';
3
4
  import { parseHtml } from '../libs/parse-html.js';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { PageViewUpDocument } from '@gem-sdk/core';
2
3
  import { useCallback, useEffect } from 'react';
3
4
 
@@ -257,4 +257,4 @@ type BuilderPageProps = {
257
257
  };
258
258
  declare const BuilderPage: React.FC<BuilderPageProps>;
259
259
 
260
- export { AppPropsWithLayout, BuilderPage, CollectionDetailPage, CollectionPageProps, ErrorBoundary, ErrorFallback, FacebookPixel, GoogleAnalytic, NextPageWithLayout, Page404, Page500, PageBuilderProps, PreviewPage, ProductDetailPage, ProductPageProps, StaticPage, StaticPageProps, StaticPagePropsV2, StaticPageV2, TikTokPixel, createAppAPIFetcher, createFetcher, createShopifyFetcher, genCSS, getBuilderProps, getCollectionProps, getFallbackV2, getFontFromGlobalStyle, getFontFromGroupSetting, getFonts, getFontsFromDataBuilder, getHomePageProps, getHomePagePropsV2, getLayout, getPostPurchasePropsPreview, getPreviewProps, getProductProps, getStaticPagePropsPreview, getStaticPagePropsV2, getStaticPaths, getStorefrontApi, isBot, normalizePageSectionResponseV2, parseBuilderTemplateV2, retryWithDelay, usePagePreview, useTrackingView };
260
+ export { AppPropsWithLayout, BuilderPage, CollectionDetailPage, CollectionPageProps, ErrorBoundary, ErrorFallback, FacebookPixel, GoogleAnalytic, NextPageWithLayout, Page404, Page500, PageBuilderProps, PageBuilderPropsV2, PreviewPage, ProductDetailPage, ProductPageProps, StaticPage, StaticPageProps, StaticPagePropsV2, StaticPageV2, TikTokPixel, createAppAPIFetcher, createFetcher, createShopifyFetcher, genCSS, getBuilderProps, getCollectionProps, getFallbackV2, getFontFromGlobalStyle, getFontFromGroupSetting, getFonts, getFontsFromDataBuilder, getHomePageProps, getHomePagePropsV2, getLayout, getPostPurchasePropsPreview, getPreviewProps, getProductProps, getStaticPagePropsPreview, getStaticPagePropsV2, getStaticPaths, getStorefrontApi, isBot, normalizePageSectionResponseV2, parseBuilderTemplateV2, retryWithDelay, usePagePreview, useTrackingView };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/pages",
3
- "version": "1.58.0-dev.15",
3
+ "version": "1.58.0-dev.25",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -26,10 +26,10 @@
26
26
  "next": "latest"
27
27
  },
28
28
  "devDependencies": {
29
- "@gem-sdk/core": "1.58.0-dev.15",
30
- "@gem-sdk/plugin-cookie-bar": "1.58.0-dev.13",
31
- "@gem-sdk/plugin-quick-view": "1.58.0-dev.13",
32
- "@gem-sdk/plugin-sticky-add-to-cart": "1.58.0-dev.13"
29
+ "@gem-sdk/core": "1.58.0-dev.25",
30
+ "@gem-sdk/plugin-cookie-bar": "1.58.0-dev.25",
31
+ "@gem-sdk/plugin-quick-view": "1.58.0-dev.25",
32
+ "@gem-sdk/plugin-sticky-add-to-cart": "1.58.0-dev.25"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "next": ">=13"