@gem-sdk/core 2.0.0-dev.852 → 2.0.0-dev.863

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 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const globalEvent={subscribe(e){document.addEventListener("onDispatch",t=>e(t.detail))},dispatch(e){document.dispatchEvent(new CustomEvent("onDispatch",{detail:e}))},remove(e){document.removeEventListener("onDispatch",e)}};exports.default=globalEvent;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const globalEvent={subscribe(e,t){document.addEventListener(e,e=>t(e.detail))},dispatch(e,t){document.dispatchEvent(new CustomEvent(e,{detail:t}))},remove(e,t){document.removeEventListener(e,t)}};exports.default=globalEvent;
@@ -1 +1 @@
1
- let globalEvent={subscribe(e){document.addEventListener("onDispatch",t=>e(t.detail))},dispatch(e){document.dispatchEvent(new CustomEvent("onDispatch",{detail:e}))},remove(e){document.removeEventListener("onDispatch",e)}};export{globalEvent as default};
1
+ let globalEvent={subscribe(e,t){document.addEventListener(e,e=>t(e.detail))},dispatch(e,t){document.dispatchEvent(new CustomEvent(e,{detail:t}))},remove(e,t){document.removeEventListener(e,t)}};export{globalEvent as default};
@@ -7666,11 +7666,18 @@ type PostPurchaseTypo = {
7666
7666
  textTransform?: PostPurchaseTextTransform;
7667
7667
  textColor?: PostPurchaseTextColor;
7668
7668
  };
7669
+ type PostPurchaseTypoLabel = {
7670
+ fontSize?: string;
7671
+ fontWeight?: string;
7672
+ textTransform?: string;
7673
+ textColor?: string;
7674
+ };
7669
7675
  type SettingIDType = keyof PostPurchaseTypo;
7670
7676
  type TypographyPostPurchaseControlType<T> = SharedControlType<T> & {
7671
7677
  type: 'typography-post-purchase';
7672
7678
  default?: PostPurchaseTypo;
7673
7679
  hiddenSetting?: SettingIDType[];
7680
+ configLabel?: PostPurchaseTypoLabel;
7674
7681
  };
7675
7682
 
7676
7683
  type ProductOffersControlType<T> = SharedControlType<T> & {
@@ -27917,9 +27924,9 @@ declare const isColumnDirectionExist: (layout: ObjectDevices<ObjectLayoutValue>,
27917
27924
  declare function getShortName(name: string): string;
27918
27925
 
27919
27926
  declare const globalEvent: {
27920
- subscribe(callback: (detail: any) => void): void;
27921
- dispatch(data: any): void;
27922
- remove(callback: (val?: any) => void): void;
27927
+ subscribe(eventName: string, callback: (detail: any) => void): void;
27928
+ dispatch(eventName: string, detail: any): void;
27929
+ remove(eventName: string, callback: (detail: any) => void): void;
27923
27930
  };
27924
27931
 
27925
27932
  declare function isBrowser(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "2.0.0-dev.852",
3
+ "version": "2.0.0-dev.863",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",