@sc-360-v2/storefront-cms-library 0.1.6 → 0.1.7

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.
@@ -47,17 +47,37 @@ export interface selfDesignInterface {
47
47
  };
48
48
  itemStyle: {
49
49
  selectorKey: string;
50
- imageRatio: CMSIBCommonInterface;
51
- fitOptions: CMSIBCommonInterface;
52
- textLayout: CMSIBCommonInterface;
53
- itemTitleAndDescriptionAlignment: CMSIBCommonInterface;
54
- textVerticalPadding: CMSIBCommonInterface;
55
- texHorizontalPadding: CMSIBCommonInterface;
56
- titleAndDescriptionSpacing: CMSIBCommonInterface;
50
+ backgroundColor: CMSIBCommonInterface;
51
+ borderColor: CMSIBCommonInterface;
52
+ borderStyle: CMSIBCommonInterface;
53
+ borderPerSlide: CMSIBCommonInterface;
54
+ showBorder: CMSIBCommonInterface;
55
+ showShadow: CMSIBCommonInterface;
56
+ shadowColor: CMSIBCommonInterface;
57
+ blur: CMSIBCommonInterface;
58
+ spread: CMSIBCommonInterface;
59
+ angle: CMSIBCommonInterface;
60
+ borderRadius: CMSIBCommonInterface;
61
+ [key: string]: any;
62
+ };
63
+ itemLayout: {
64
+ selectorKey: string;
65
+ galleryTextAndItemAlignment: CMSIBCommonInterface;
66
+ textAndImageSpacing: CMSIBCommonInterface;
67
+ galleryTitleAndDescriptionSpacing: CMSIBCommonInterface;
68
+ [key: string]: any;
69
+ };
70
+ itemTextContainerDesign: {
71
+ [key: string]: any;
72
+ };
73
+ itemTextContainerLayout: {
74
+ [key: string]: any;
57
75
  };
58
76
  paginationArrows: {
59
77
  selectorKey: string;
60
78
  arrowIconStyle: CMSIBCommonInterface;
79
+ leftArrowIconStyle: CMSIBCommonInterface;
80
+ rightArrowIconStyle: CMSIBCommonInterface;
61
81
  backgroundShape: CMSIBCommonInterface;
62
82
  arrowSize: CMSIBCommonInterface;
63
83
  arrowColor: CMSIBCommonInterface;
@@ -9,7 +9,11 @@ export interface selfDesignInterface {
9
9
  }
10
10
  export declare enum sectionSelectorKeysEnum {
11
11
  LAYOUT = "layout",
12
- DESIGN = "design"
12
+ DESIGN = "design",
13
+ SETTINGS = "settings",
14
+ VISIBILITY = "visibility",
15
+ SCHEDULES = "schedules",
16
+ DEVICE_VISIBILITY = "deviceVisibility"
13
17
  }
14
18
  export declare const getDefaultData: (contentWidth: any) => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
15
19
  export {};
@@ -1,3 +1,4 @@
1
1
  export { default as HTMLElements } from "./html-elements/elements";
2
2
  export { default as cssFunctions } from "./css/cssVariables";
3
3
  export { default as CMSSvgIcons } from "./icons/cms-svg-icons";
4
+ export { default as SvgIcons } from "./icons/svg-icons";
@@ -1,2 +1,3 @@
1
1
  import CMSSVG from "./cms-svg-icons";
2
- export { CMSSVG };
2
+ import SVG from "./svg-icons";
3
+ export { CMSSVG, SVG };
@@ -0,0 +1,5 @@
1
+ /**
2
+ *
3
+ * @param {string} type - Please Enter SVG Type.
4
+ */
5
+ export default function SVG(type: string, size?: string, color?: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {
@@ -46,7 +46,7 @@
46
46
  "lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\" --max-warnings=0",
47
47
  "lint:fix": "eslint src --ext .js,.jsx,.ts,.tsx --fix",
48
48
  "prettier": "prettier --write 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}'",
49
- "publish": "npm publish --access public"
49
+ "deploy": "npm publish --access public"
50
50
  },
51
51
  "dependencies": {
52
52
  "@babel/runtime": "^7.25.6",