@openlettermarketing/olc-react-sdk 2.0.1-beta.2 → 2.0.1-beta.4
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.
- package/build/index.js +4 -4
- package/build/index.js.map +1 -1
- package/build/types/src/assets/images/templates/address-block-icon.d.ts +8 -0
- package/build/types/src/components/SidePanel/CustomBlockColors/index.d.ts +5 -0
- package/build/types/src/components/SidePanel/index.d.ts +1 -0
- package/build/types/src/redux/actions/action-types.d.ts +1 -0
- package/build/types/src/redux/reducers/templateReducer.d.ts +2 -1
- package/build/types/src/utils/constants.d.ts +5 -0
- package/build/types/src/utils/template-builder.d.ts +1 -0
- package/build/types/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -25,4 +25,5 @@ export declare const SET_UTM_CAMPAIGN_NAME = "SET_UTM_CAMPAIGN_NAME";
|
|
|
25
25
|
export declare const SET_CUSTOM_UTMS = "SET_CUSTOM_UTMS";
|
|
26
26
|
export declare const CLEAR_QR_FIELDS = "CLEAR_QR_FIELDS";
|
|
27
27
|
export declare const SET_IS_QR = "SET_IS_QR";
|
|
28
|
+
export declare const SET_BLOCK_COLOR = "SET_BLOCK_COLOR";
|
|
28
29
|
export declare const CLEAR_REDUX: string;
|
|
@@ -55,10 +55,11 @@ export interface TemplateState {
|
|
|
55
55
|
templateLoading: boolean | null;
|
|
56
56
|
uploadedImages: any[];
|
|
57
57
|
offerPercentage: string | null;
|
|
58
|
+
blockColor: string;
|
|
58
59
|
hireDesignerForm: any;
|
|
59
60
|
}
|
|
60
61
|
declare const templateReducer: (state: TemplateState | undefined, { type, payload }: {
|
|
61
|
-
type:
|
|
62
|
+
type: string;
|
|
62
63
|
payload: any;
|
|
63
64
|
}) => TemplateState;
|
|
64
65
|
export { templateReducer };
|
|
@@ -30,4 +30,9 @@ export declare const MERGE_UTM_PARAMS: {
|
|
|
30
30
|
key: string;
|
|
31
31
|
value: string;
|
|
32
32
|
}[];
|
|
33
|
+
export declare const DEFAULT_RESTRICTED_AREA_BG = "#FFFFFF";
|
|
34
|
+
export declare const RESTRICTED_AREA_COLOR_PALETTE: {
|
|
35
|
+
name: string;
|
|
36
|
+
value: string;
|
|
37
|
+
}[];
|
|
33
38
|
export {};
|
|
@@ -21,6 +21,7 @@ export declare const drawRestrictedAreaOnPage: (store: any, product: Product, en
|
|
|
21
21
|
export declare const extractFontFamilies: (jsonData: any[]) => string[];
|
|
22
22
|
export declare const removeBracketsFromRPL: (jsonData: any[]) => any;
|
|
23
23
|
export declare const changeColorOfBoxesForSnapPack: (jsonData: any[], preFill?: boolean) => any;
|
|
24
|
+
export declare const extractCustomRistrictedBoxColor: (jsonData: any) => null;
|
|
24
25
|
export declare const validateGSV: (pages: any) => boolean;
|
|
25
26
|
export declare const validateEmoji: (pages: any) => boolean;
|
|
26
27
|
export declare const isValidQR: (pages: any) => boolean;
|
package/build/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION: "2.0.1-beta.
|
|
1
|
+
export const SDK_VERSION: "2.0.1-beta.4";
|
package/package.json
CHANGED