@sc-360-v2/storefront-cms-library 0.3.14 → 0.3.16

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.
@@ -8,7 +8,8 @@ export declare const FB_GRID_MIN_WIDTH = 4;
8
8
  export declare const FB_GRID_MOBILE_MIN_WIDTH = 2;
9
9
  export declare enum FBModeEnum {
10
10
  Edit = 1,
11
- Preview = 2
11
+ Preview = 2,
12
+ WebsitePreview = 3
12
13
  }
13
14
  export declare enum ScreenSizeEnums {
14
15
  Desktop = "desktop",
@@ -53,6 +54,7 @@ export declare enum FormElementIdEnum {
53
54
  Phone = "Phone",
54
55
  DateOfBirth = "DateOfBirth",
55
56
  Address = "Address",
57
+ InputText = "InputText",
56
58
  ShortAnswer = "ShortAnswer",
57
59
  LongAnswer = "LongAnswer",
58
60
  Number = "Number",
@@ -99,6 +101,7 @@ export interface FormComponentConfig {
99
101
  };
100
102
  state: boolean;
101
103
  };
104
+ defaultValue?: any;
102
105
  fieldKey?: string;
103
106
  options?: string[];
104
107
  src?: string;
@@ -118,7 +121,8 @@ export declare enum ElementSettingEnum {
118
121
  PLACEHOLDER = 3,
119
122
  DESCRIPTION = 4,
120
123
  LIMIT_CHARACTER = 5,
121
- MULTI_TOGGLE = 6
124
+ MULTI_TOGGLE = 6,
125
+ OPTIONS = 7
122
126
  }
123
127
  export interface SidebarElementItem extends FormComponentConfig {
124
128
  categoryId?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.3.14",
3
+ "version": "0.3.16",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {