@gem-sdk/core 1.57.0-staging.2 → 1.57.0-staging.21

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.
@@ -386,8 +386,8 @@ const ComponentToolbarPreview = (props)=>{
386
386
  fill: "none",
387
387
  xmlns: "http://www.w3.org/2000/svg",
388
388
  children: /*#__PURE__*/ jsxRuntime.jsx("path", {
389
- "fill-rule": "evenodd",
390
- "clip-rule": "evenodd",
389
+ fillRule: "evenodd",
390
+ clipRule: "evenodd",
391
391
  d: "M4.36799 0.430523C4.51596 0.205675 4.76709 0.0703125 5.03626 0.0703125H9.88576C10.2042 0.0703125 10.395 0.424378 10.2198 0.69034L8.36968 3.4992C8.28209 3.63218 8.37747 3.80922 8.53671 3.80922H10.749C11.1111 3.80922 11.2869 4.25204 11.0233 4.50036L3.03971 12.0217C2.7572 12.2878 2.29932 12.0361 2.37262 11.655L3.27994 6.93698C3.30366 6.81364 3.20915 6.69921 3.08354 6.69921H0.984651C0.66625 6.69921 0.475479 6.34529 0.650515 6.07932L4.36799 0.430523Z",
392
392
  fill: "#F9F9F9"
393
393
  })
@@ -402,8 +402,8 @@ const ComponentToolbarPreview = (props)=>{
402
402
  fill: "none",
403
403
  xmlns: "http://www.w3.org/2000/svg",
404
404
  children: /*#__PURE__*/ jsxRuntime.jsx("path", {
405
- "fill-rule": "evenodd",
406
- "clip-rule": "evenodd",
405
+ fillRule: "evenodd",
406
+ clipRule: "evenodd",
407
407
  d: "M7.32785 3.66159C7.87459 3.58351 8.25451 3.077 8.17643 2.53026C8.09836 1.98353 7.59184 1.6036 7.0451 1.68168C3.92866 2.12673 1.5332 4.80488 1.5332 8.04424C1.5332 11.594 4.41085 14.4716 7.9606 14.4716C11.1706 14.4716 13.8294 12.1194 14.3105 9.04446C14.3959 8.49881 14.0227 7.98727 13.4771 7.9019C12.9314 7.81654 12.4199 8.18967 12.3345 8.73531C12.0034 10.852 10.1702 12.4716 7.9606 12.4716C5.51541 12.4716 3.5332 10.4894 3.5332 8.04424C3.5332 5.81431 5.18273 3.96793 7.32785 3.66159ZM10.3432 1.97548C10.6232 1.69551 11.102 1.83654 11.1855 2.22355L11.6106 4.19339C11.6313 4.28936 11.7063 4.36432 11.8023 4.38503L13.7721 4.81013C14.1591 4.89365 14.3001 5.37247 14.0202 5.65243L12.3432 7.32945C12.1244 7.54819 11.8168 7.65338 11.5099 7.61436L10.1528 7.44178C9.84592 7.40276 9.53827 7.50795 9.31953 7.72669L8.66719 8.37903C8.35477 8.69145 7.86633 8.70954 7.57623 8.41943C7.28613 8.12933 7.30421 7.64089 7.61663 7.32847L8.26898 6.67613C8.48771 6.45739 8.5929 6.14974 8.55388 5.84287L8.38131 4.48575C8.34228 4.17888 8.44748 3.87123 8.66621 3.6525L10.3432 1.97548ZM8.19853 5.1916C8.35319 5.72179 8.04877 6.27697 7.51858 6.43163C6.83078 6.63226 6.32988 7.2683 6.32988 8.01873C6.32988 8.9316 7.06991 9.67164 7.98279 9.67164C8.73014 9.67164 9.36406 9.17486 9.56743 8.49131C9.72492 7.96195 10.2817 7.6605 10.8111 7.81799C11.3404 7.97548 11.6419 8.53227 11.4844 9.06163C11.0356 10.57 9.63916 11.6716 7.98279 11.6716C5.96535 11.6716 4.32988 10.0362 4.32988 8.01873C4.32988 6.35558 5.44054 4.95445 6.95851 4.51165C7.4887 4.35699 8.04387 4.66141 8.19853 5.1916Z",
408
408
  fill: "#F9F9F9"
409
409
  })
@@ -64,6 +64,11 @@ const createPageStoreProvider = (data)=>zustand.createStore((set)=>({
64
64
  settingType
65
65
  }
66
66
  }));
67
+ },
68
+ setSidebarMode: (mode)=>{
69
+ set(()=>({
70
+ sidebarMode: mode
71
+ }));
67
72
  }
68
73
  }));
69
74
  const PageProvider = ({ children, dynamicProduct, dynamicCollection, productOffers, publicStoreFrontData, ...passProps })=>{
@@ -59,10 +59,6 @@ const PreviewThemePageSelect = `
59
59
  themePageCustomCode {
60
60
  ...CustomCodeSelect
61
61
  }
62
- interaction {
63
- id
64
- value
65
- }
66
62
  }
67
63
  `;
68
64
 
@@ -382,8 +382,8 @@ const ComponentToolbarPreview = (props)=>{
382
382
  fill: "none",
383
383
  xmlns: "http://www.w3.org/2000/svg",
384
384
  children: /*#__PURE__*/ jsx("path", {
385
- "fill-rule": "evenodd",
386
- "clip-rule": "evenodd",
385
+ fillRule: "evenodd",
386
+ clipRule: "evenodd",
387
387
  d: "M4.36799 0.430523C4.51596 0.205675 4.76709 0.0703125 5.03626 0.0703125H9.88576C10.2042 0.0703125 10.395 0.424378 10.2198 0.69034L8.36968 3.4992C8.28209 3.63218 8.37747 3.80922 8.53671 3.80922H10.749C11.1111 3.80922 11.2869 4.25204 11.0233 4.50036L3.03971 12.0217C2.7572 12.2878 2.29932 12.0361 2.37262 11.655L3.27994 6.93698C3.30366 6.81364 3.20915 6.69921 3.08354 6.69921H0.984651C0.66625 6.69921 0.475479 6.34529 0.650515 6.07932L4.36799 0.430523Z",
388
388
  fill: "#F9F9F9"
389
389
  })
@@ -398,8 +398,8 @@ const ComponentToolbarPreview = (props)=>{
398
398
  fill: "none",
399
399
  xmlns: "http://www.w3.org/2000/svg",
400
400
  children: /*#__PURE__*/ jsx("path", {
401
- "fill-rule": "evenodd",
402
- "clip-rule": "evenodd",
401
+ fillRule: "evenodd",
402
+ clipRule: "evenodd",
403
403
  d: "M7.32785 3.66159C7.87459 3.58351 8.25451 3.077 8.17643 2.53026C8.09836 1.98353 7.59184 1.6036 7.0451 1.68168C3.92866 2.12673 1.5332 4.80488 1.5332 8.04424C1.5332 11.594 4.41085 14.4716 7.9606 14.4716C11.1706 14.4716 13.8294 12.1194 14.3105 9.04446C14.3959 8.49881 14.0227 7.98727 13.4771 7.9019C12.9314 7.81654 12.4199 8.18967 12.3345 8.73531C12.0034 10.852 10.1702 12.4716 7.9606 12.4716C5.51541 12.4716 3.5332 10.4894 3.5332 8.04424C3.5332 5.81431 5.18273 3.96793 7.32785 3.66159ZM10.3432 1.97548C10.6232 1.69551 11.102 1.83654 11.1855 2.22355L11.6106 4.19339C11.6313 4.28936 11.7063 4.36432 11.8023 4.38503L13.7721 4.81013C14.1591 4.89365 14.3001 5.37247 14.0202 5.65243L12.3432 7.32945C12.1244 7.54819 11.8168 7.65338 11.5099 7.61436L10.1528 7.44178C9.84592 7.40276 9.53827 7.50795 9.31953 7.72669L8.66719 8.37903C8.35477 8.69145 7.86633 8.70954 7.57623 8.41943C7.28613 8.12933 7.30421 7.64089 7.61663 7.32847L8.26898 6.67613C8.48771 6.45739 8.5929 6.14974 8.55388 5.84287L8.38131 4.48575C8.34228 4.17888 8.44748 3.87123 8.66621 3.6525L10.3432 1.97548ZM8.19853 5.1916C8.35319 5.72179 8.04877 6.27697 7.51858 6.43163C6.83078 6.63226 6.32988 7.2683 6.32988 8.01873C6.32988 8.9316 7.06991 9.67164 7.98279 9.67164C8.73014 9.67164 9.36406 9.17486 9.56743 8.49131C9.72492 7.96195 10.2817 7.6605 10.8111 7.81799C11.3404 7.97548 11.6419 8.53227 11.4844 9.06163C11.0356 10.57 9.63916 11.6716 7.98279 11.6716C5.96535 11.6716 4.32988 10.0362 4.32988 8.01873C4.32988 6.35558 5.44054 4.95445 6.95851 4.51165C7.4887 4.35699 8.04387 4.66141 8.19853 5.1916Z",
404
404
  fill: "#F9F9F9"
405
405
  })
@@ -62,6 +62,11 @@ const createPageStoreProvider = (data)=>createStore((set)=>({
62
62
  settingType
63
63
  }
64
64
  }));
65
+ },
66
+ setSidebarMode: (mode)=>{
67
+ set(()=>({
68
+ sidebarMode: mode
69
+ }));
65
70
  }
66
71
  }));
67
72
  const PageProvider = ({ children, dynamicProduct, dynamicCollection, productOffers, publicStoreFrontData, ...passProps })=>{
@@ -57,10 +57,6 @@ const PreviewThemePageSelect = `
57
57
  themePageCustomCode {
58
58
  ...CustomCodeSelect
59
59
  }
60
- interaction {
61
- id
62
- value
63
- }
64
60
  }
65
61
  `;
66
62
 
@@ -31307,6 +31307,7 @@ type PageContextProps = {
31307
31307
  selectType?: 'ELEMENT' | 'PAGE';
31308
31308
  settingType?: 'TRIGGER' | 'TARGET';
31309
31309
  };
31310
+ sidebarMode?: string;
31310
31311
  setDynamicProduct: (data: DynamicProduct) => void;
31311
31312
  setDynamicCollection: (data: DynamicCollection) => void;
31312
31313
  setPostPurchaseProductOffers: (productOffers: ProductOffer[]) => void;
@@ -31316,6 +31317,7 @@ type PageContextProps = {
31316
31317
  setInteractionIsSelectOnPage: (value: boolean) => void;
31317
31318
  setInteractionSelectType: (selectType: 'ELEMENT' | 'PAGE') => void;
31318
31319
  setInteractionSettingType: (settingType?: 'TRIGGER' | 'TARGET') => void;
31320
+ setSidebarMode: (mode: string) => void;
31319
31321
  };
31320
31322
  type PageProviderProps = Pick<PageContextProps, 'dynamicProduct' | 'dynamicCollection' | 'productOffers'> & {
31321
31323
  children: React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.57.0-staging.2",
3
+ "version": "1.57.0-staging.21",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",