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