impaktapps-ui-builder 1.0.145 → 1.0.147-test.1

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.
@@ -2,29 +2,31 @@ export default function Card(theme: any): {
2
2
  type: string;
3
3
  config: {
4
4
  main: {};
5
- wrapperStyle: {
6
- position: string;
7
- top: string;
8
- transform: string;
9
- marginBottom: number;
10
- };
11
- componentsBoxStyle: {
12
- boxShadow: string;
13
- flexDirection: string;
14
- flexWrap: string;
15
- width: string;
16
- background: string;
17
- border: string;
18
- borderRadius: string;
19
- padding: string;
20
- height: string;
21
- alignItems: string;
22
- marginLeft: string;
23
- "&: hover": {
5
+ style: {
6
+ wrapperStyle: {
7
+ position: string;
8
+ top: string;
9
+ transform: string;
10
+ marginBottom: number;
11
+ };
12
+ componentsBoxStyle: {
13
+ boxShadow: string;
14
+ flexDirection: string;
15
+ flexWrap: string;
16
+ width: string;
24
17
  background: string;
25
18
  border: string;
26
- "& p": {
27
- color: string;
19
+ borderRadius: string;
20
+ padding: string;
21
+ height: string;
22
+ alignItems: string;
23
+ marginLeft: string;
24
+ "&: hover": {
25
+ background: string;
26
+ border: string;
27
+ "& p": {
28
+ color: string;
29
+ };
28
30
  };
29
31
  };
30
32
  };
@@ -49,29 +51,7 @@ export default function Card(theme: any): {
49
51
  columnSpacing: number;
50
52
  gap: number;
51
53
  };
52
- wrapperStyle: {
53
- background: string;
54
- marginBottom: number;
55
- };
56
- componentsBoxStyle: {
57
- flexDirection: string;
58
- flexWrap: string;
59
- width: string;
60
- height: string;
61
- background: string;
62
- borderRadius: string;
63
- paddingRight: number;
64
- };
65
- layout: number;
66
- };
67
- elements: ({
68
- type: string;
69
- config: {
70
- main: {
71
- columnSpacing: number;
72
- gap: number;
73
- heading?: undefined;
74
- };
54
+ style: {
75
55
  wrapperStyle: {
76
56
  background: string;
77
57
  marginBottom: number;
@@ -83,13 +63,51 @@ export default function Card(theme: any): {
83
63
  height: string;
84
64
  background: string;
85
65
  borderRadius: string;
86
- marginLeft: string;
87
- marginTop: string;
88
- justifyContent: string;
89
- position: string;
66
+ paddingRight: number;
67
+ };
68
+ };
69
+ layout: number;
70
+ };
71
+ elements: ({
72
+ type: string;
73
+ config: {
74
+ main: {
75
+ columnSpacing: number;
76
+ gap: number;
77
+ heading?: undefined;
78
+ };
79
+ style: {
80
+ wrapperStyle: {
81
+ background: string;
82
+ marginBottom: number;
83
+ };
84
+ componentsBoxStyle: {
85
+ flexDirection: string;
86
+ flexWrap: string;
87
+ width: string;
88
+ height: string;
89
+ background: string;
90
+ borderRadius: string;
91
+ marginLeft: string;
92
+ marginTop: string;
93
+ justifyContent: string;
94
+ position: string;
95
+ };
96
+ color?: undefined;
97
+ fontSize?: undefined;
98
+ justifyContent?: undefined;
99
+ whiteSpace?: undefined;
100
+ overflowX?: undefined;
101
+ overflowY?: undefined;
102
+ scrollbarWidth?: undefined;
103
+ msOverflowStyle?: undefined;
104
+ background?: undefined;
105
+ width?: undefined;
106
+ margin?: undefined;
107
+ marginTop?: undefined;
108
+ "&::-webkit-scrollbar"?: undefined;
90
109
  };
91
110
  layout: number;
92
- style?: undefined;
93
111
  };
94
112
  elements: ({
95
113
  type: string;
@@ -196,10 +214,10 @@ export default function Card(theme: any): {
196
214
  "&::-webkit-scrollbar": {
197
215
  display: string;
198
216
  };
217
+ wrapperStyle?: undefined;
218
+ componentsBoxStyle?: undefined;
199
219
  };
200
220
  layout: number;
201
- wrapperStyle?: undefined;
202
- componentsBoxStyle?: undefined;
203
221
  };
204
222
  options: {
205
223
  widget: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "1.0.145",
3
+ "version": "1.0.147-test.1",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -43,8 +43,8 @@ const FileInput = {
43
43
  if (config.disableDelete) {
44
44
  box.config.main.disableDelete = config.disableDelete === "YES" ? true : false;
45
45
  }
46
- if (config.errorMessage) {
47
- box.config.main.errorMessage = config.errorMessage;
46
+ if(config.description){
47
+ box.config.main.description = config.description;
48
48
  }
49
49
  return box;
50
50
  }
@@ -578,7 +578,7 @@ export const buildPropertiesSection = function (type: String) {
578
578
  getRadioInputField("disableUpload", "Disable Upload", ["YES", "NO"]),
579
579
  getRadioInputField("disableDelete", "Disable Delete", ["YES", "NO"]),
580
580
  getRadioInputField("disableDownload", "Disable Download", ["YES", "NO"]),
581
- getInputField("errorMessage", "Error Message"),
581
+ getInputField("description", "Enter description"),
582
582
  emptyBox("FileInputEmpty", { xs: 6, sm: 6, md: 8, lg: 9 })
583
583
  ]
584
584
  break;
@@ -3,13 +3,14 @@ export default function Card(theme){
3
3
  type: "WrapperLayout",
4
4
  config: {
5
5
  main: {},
6
- wrapperStyle: {
7
- position: "relative",
8
- top: "50%",
9
- transform: "translateY(-50%)",
10
- marginBottom: 0
11
- },
12
- componentsBoxStyle: {
6
+ style:{
7
+ wrapperStyle: {
8
+ position: "relative",
9
+ top: "50%",
10
+ transform: "translateY(-50%)",
11
+ marginBottom: 0
12
+ },
13
+ componentsBoxStyle: {
13
14
  boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.1)",
14
15
  flexDirection: "row",
15
16
  flexWrap: "nowrap",
@@ -29,6 +30,8 @@ export default function Card(theme){
29
30
  },
30
31
  },
31
32
  },
33
+ },
34
+
32
35
  layout: { xs: 12, sm: 12, md: 6, lg: 6 },
33
36
  },
34
37
  elements: [
@@ -45,7 +48,8 @@ export default function Card(theme){
45
48
  columnSpacing: 0,
46
49
  gap: 0,
47
50
  },
48
- wrapperStyle: {
51
+ style:{
52
+ wrapperStyle: {
49
53
  background: "transparent",
50
54
  marginBottom: 0
51
55
  },
@@ -58,6 +62,8 @@ export default function Card(theme){
58
62
  borderRadius: "0px",
59
63
  paddingRight: 0
60
64
  },
65
+ },
66
+
61
67
  layout: 12,
62
68
  },
63
69
  elements: [
@@ -68,7 +74,8 @@ export default function Card(theme){
68
74
  columnSpacing: 0,
69
75
  gap: 0,
70
76
  },
71
- wrapperStyle: {
77
+ style:{
78
+ wrapperStyle: {
72
79
  background: "transparent",
73
80
  marginBottom: 0
74
81
  },
@@ -85,6 +92,8 @@ export default function Card(theme){
85
92
  position: "relative",
86
93
 
87
94
  },
95
+ },
96
+
88
97
  layout: 12,
89
98
  },
90
99
  elements: [