impaktapps-ui-builder 1.0.9-4.card.2 → 1.0.9-4.card.3
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/dist/impaktapps-ui-builder.es.js +12 -6
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +9 -3
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +13 -6
|
@@ -60,7 +60,7 @@ export default function Card(theme: any): {
|
|
|
60
60
|
height: string;
|
|
61
61
|
background: string;
|
|
62
62
|
borderRadius: string;
|
|
63
|
-
|
|
63
|
+
paddingRight: number;
|
|
64
64
|
};
|
|
65
65
|
layout: number;
|
|
66
66
|
};
|
|
@@ -87,7 +87,6 @@ export default function Card(theme: any): {
|
|
|
87
87
|
marginTop: string;
|
|
88
88
|
justifyContent: string;
|
|
89
89
|
position: string;
|
|
90
|
-
padding: number;
|
|
91
90
|
};
|
|
92
91
|
layout: number;
|
|
93
92
|
style?: undefined;
|
|
@@ -164,7 +163,11 @@ export default function Card(theme: any): {
|
|
|
164
163
|
color: string;
|
|
165
164
|
fontSize: string;
|
|
166
165
|
justifyContent: string;
|
|
167
|
-
|
|
166
|
+
whiteSpace: string;
|
|
167
|
+
overflowX: string;
|
|
168
|
+
overflowY: string;
|
|
169
|
+
scrollbarWidth: string;
|
|
170
|
+
msOverflowStyle: string;
|
|
168
171
|
background: string;
|
|
169
172
|
width: string;
|
|
170
173
|
margin: string;
|
|
@@ -172,6 +175,9 @@ export default function Card(theme: any): {
|
|
|
172
175
|
xs: string;
|
|
173
176
|
md: string;
|
|
174
177
|
};
|
|
178
|
+
"&::-webkit-scrollbar": {
|
|
179
|
+
display: string;
|
|
180
|
+
};
|
|
175
181
|
};
|
|
176
182
|
layout: number;
|
|
177
183
|
wrapperStyle?: undefined;
|
package/package.json
CHANGED
|
@@ -56,7 +56,7 @@ export default function Card(theme){
|
|
|
56
56
|
height: "inherit",
|
|
57
57
|
background: "transparent",
|
|
58
58
|
borderRadius: "0px",
|
|
59
|
-
|
|
59
|
+
paddingRight: 0
|
|
60
60
|
},
|
|
61
61
|
layout: 12,
|
|
62
62
|
},
|
|
@@ -83,7 +83,7 @@ export default function Card(theme){
|
|
|
83
83
|
marginTop: "-8px",
|
|
84
84
|
justifyContent: "start",
|
|
85
85
|
position: "relative",
|
|
86
|
-
|
|
86
|
+
|
|
87
87
|
},
|
|
88
88
|
layout: 12,
|
|
89
89
|
},
|
|
@@ -147,15 +147,22 @@ export default function Card(theme){
|
|
|
147
147
|
main: {
|
|
148
148
|
heading: "Total Earnings",
|
|
149
149
|
},
|
|
150
|
-
|
|
150
|
+
style: {
|
|
151
151
|
color: "black",
|
|
152
152
|
fontSize: "16px",
|
|
153
153
|
justifyContent: "center",
|
|
154
|
-
|
|
154
|
+
whiteSpace: "nowrap", // prevent wrapping
|
|
155
|
+
overflowX: "auto", // allow horizontal scrolling
|
|
156
|
+
overflowY: "hidden",
|
|
157
|
+
scrollbarWidth: "none", // Firefox: hide scrollbar
|
|
158
|
+
msOverflowStyle: "none", // IE/Edge: hide scrollbar
|
|
155
159
|
background: "inherit",
|
|
156
|
-
width: "calc(100
|
|
160
|
+
width: "calc(100% + 8px)",
|
|
157
161
|
margin: "-8px",
|
|
158
|
-
marginTop: {xs: "16px", md: "20px"},
|
|
162
|
+
marginTop: { xs: "16px", md: "20px" },
|
|
163
|
+
"&::-webkit-scrollbar": {
|
|
164
|
+
display: "none", // Chrome/Safari: hide scrollbar
|
|
165
|
+
}
|
|
159
166
|
},
|
|
160
167
|
layout: 12,
|
|
161
168
|
},
|