@ammarkhalidfarooq/dashboard-package 0.3.11 → 0.3.12

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/README.md CHANGED
@@ -1,38 +1,38 @@
1
- # @ammarkhalidfarooq/dashboard-package
2
-
3
- A reusable React Dashboard component library.
4
-
5
- ## Installation
6
-
7
- ```bash
8
- npm install @ammarkhalidfarooq/dashboard-package
9
- ```
10
-
11
- ## Usage
12
-
13
- ```jsx
14
- import React from "react";
15
- import { Dashboard } from "@ammarkhalidfarooq/dashboard-package";
16
-
17
- const App = () => {
18
- return <Dashboard />;
19
- };
20
-
21
- export default App;
22
- ```
23
-
24
- ## Development
25
-
26
- To preview the component locally:
27
-
28
- ```bash
29
- npm run dev
30
- ```
31
-
32
- To build the package:
33
-
34
- ```bash
35
- npm run build
36
- ```
37
-
38
- The build outputs both ESM and CommonJS bundles in the `dist` folder.
1
+ # @ammarkhalidfarooq/dashboard-package
2
+
3
+ A reusable React Dashboard component library.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @ammarkhalidfarooq/dashboard-package
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```jsx
14
+ import React from "react";
15
+ import { Dashboard } from "@ammarkhalidfarooq/dashboard-package";
16
+
17
+ const App = () => {
18
+ return <Dashboard />;
19
+ };
20
+
21
+ export default App;
22
+ ```
23
+
24
+ ## Development
25
+
26
+ To preview the component locally:
27
+
28
+ ```bash
29
+ npm run dev
30
+ ```
31
+
32
+ To build the package:
33
+
34
+ ```bash
35
+ npm run build
36
+ ```
37
+
38
+ The build outputs both ESM and CommonJS bundles in the `dist` folder.
package/dist/index.cjs.js CHANGED
@@ -4791,6 +4791,7 @@ var OverallSection = function OverallSection(_ref) {
4791
4791
  }
4792
4792
  return charts;
4793
4793
  };
4794
+ console.log("API DATA", apiData);
4794
4795
  var metricInfo = {
4795
4796
  "Total Raised": {
4796
4797
  value: "$".concat(formatNumber(apiData === null || apiData === void 0 ? void 0 : apiData.totalRaisedCard)) || "$240.9K",