@apexcura/ui-components 0.0.14-Beta121 → 0.0.14-Beta122

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/index.d.mts CHANGED
@@ -122,8 +122,8 @@ declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
122
122
 
123
123
  declare const CircleDonut: (props: ElementType) => React$1.JSX.Element;
124
124
 
125
- declare const SemiCircleDonut: () => React$1.JSX.Element;
125
+ declare const SemiCircleDonut: (props: ElementType) => React$1.JSX.Element;
126
126
 
127
- declare const HorizontalBarChart: () => React$1.JSX.Element;
127
+ declare const HorizontalBarChart: (props: ElementType) => React$1.JSX.Element;
128
128
 
129
129
  export { AddMoreTable, ButtonElement, CheckboxElement, CircleDonut, CkEditor, DatePickerElement, DateRangePickerElement, DropDownGroup, FileUpload, HorizontalBarChart, Image, MultipleSelectElement, Navbar, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, SemiCircleDonut, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
package/dist/index.d.ts CHANGED
@@ -122,8 +122,8 @@ declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
122
122
 
123
123
  declare const CircleDonut: (props: ElementType) => React$1.JSX.Element;
124
124
 
125
- declare const SemiCircleDonut: () => React$1.JSX.Element;
125
+ declare const SemiCircleDonut: (props: ElementType) => React$1.JSX.Element;
126
126
 
127
- declare const HorizontalBarChart: () => React$1.JSX.Element;
127
+ declare const HorizontalBarChart: (props: ElementType) => React$1.JSX.Element;
128
128
 
129
129
  export { AddMoreTable, ButtonElement, CheckboxElement, CircleDonut, CkEditor, DatePickerElement, DateRangePickerElement, DropDownGroup, FileUpload, HorizontalBarChart, Image, MultipleSelectElement, Navbar, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, SemiCircleDonut, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
package/dist/index.js CHANGED
@@ -1155,7 +1155,7 @@ var import_react32 = __toESM(require("react"));
1155
1155
  var import_react_chartjs_22 = require("react-chartjs-2");
1156
1156
  var import_chart2 = require("chart.js");
1157
1157
  import_chart2.Chart.register(import_chart2.DoughnutController, import_chart2.ArcElement, import_chart2.Tooltip, import_chart2.Legend);
1158
- var SemiCircleDonut = () => {
1158
+ var SemiCircleDonut = (props) => {
1159
1159
  const data = {
1160
1160
  labels: ["Registration", "Book Appointment", "Diagnostic Tests", "Hospital Facility", "Others Prescriptions"],
1161
1161
  datasets: [
@@ -1207,7 +1207,7 @@ var SemiCircleDonut = () => {
1207
1207
  }
1208
1208
  }
1209
1209
  };
1210
- return /* @__PURE__ */ import_react32.default.createElement("div", null, /* @__PURE__ */ import_react32.default.createElement(import_react_chartjs_22.Doughnut, { data, options }));
1210
+ return /* @__PURE__ */ import_react32.default.createElement("div", { className: props.className }, /* @__PURE__ */ import_react32.default.createElement(import_react_chartjs_22.Doughnut, { data, options }));
1211
1211
  };
1212
1212
 
1213
1213
  // src/Components/HorizontalBarChart.tsx
@@ -1215,7 +1215,7 @@ var import_react33 = __toESM(require("react"));
1215
1215
  var import_react_chartjs_23 = require("react-chartjs-2");
1216
1216
  var import_chart3 = require("chart.js");
1217
1217
  import_chart3.Chart.register(import_chart3.BarElement, import_chart3.CategoryScale, import_chart3.LinearScale, import_chart3.Tooltip, import_chart3.Legend);
1218
- var HorizontalBarChart = () => {
1218
+ var HorizontalBarChart = (props) => {
1219
1219
  const data = {
1220
1220
  labels: ["65+", "55-64", "45-54", "35-44", "25-34", "18-24"],
1221
1221
  datasets: [
@@ -1269,7 +1269,7 @@ var HorizontalBarChart = () => {
1269
1269
  }
1270
1270
  }
1271
1271
  };
1272
- return /* @__PURE__ */ import_react33.default.createElement("div", null, /* @__PURE__ */ import_react33.default.createElement(import_react_chartjs_23.Bar, { data, options }));
1272
+ return /* @__PURE__ */ import_react33.default.createElement("div", { className: props.className }, /* @__PURE__ */ import_react33.default.createElement(import_react_chartjs_23.Bar, { data, options }));
1273
1273
  };
1274
1274
  // Annotate the CommonJS export names for ESM import in node:
1275
1275
  0 && (module.exports = {
package/dist/index.mjs CHANGED
@@ -1104,7 +1104,7 @@ import {
1104
1104
  Legend as Legend2
1105
1105
  } from "chart.js";
1106
1106
  ChartJS2.register(DoughnutController2, ArcElement2, Tooltip2, Legend2);
1107
- var SemiCircleDonut = () => {
1107
+ var SemiCircleDonut = (props) => {
1108
1108
  const data = {
1109
1109
  labels: ["Registration", "Book Appointment", "Diagnostic Tests", "Hospital Facility", "Others Prescriptions"],
1110
1110
  datasets: [
@@ -1156,7 +1156,7 @@ var SemiCircleDonut = () => {
1156
1156
  }
1157
1157
  }
1158
1158
  };
1159
- return /* @__PURE__ */ React32.createElement("div", null, /* @__PURE__ */ React32.createElement(Doughnut2, { data, options }));
1159
+ return /* @__PURE__ */ React32.createElement("div", { className: props.className }, /* @__PURE__ */ React32.createElement(Doughnut2, { data, options }));
1160
1160
  };
1161
1161
 
1162
1162
  // src/Components/HorizontalBarChart.tsx
@@ -1171,7 +1171,7 @@ import {
1171
1171
  Legend as Legend3
1172
1172
  } from "chart.js";
1173
1173
  ChartJS3.register(BarElement, CategoryScale, LinearScale, Tooltip3, Legend3);
1174
- var HorizontalBarChart = () => {
1174
+ var HorizontalBarChart = (props) => {
1175
1175
  const data = {
1176
1176
  labels: ["65+", "55-64", "45-54", "35-44", "25-34", "18-24"],
1177
1177
  datasets: [
@@ -1225,7 +1225,7 @@ var HorizontalBarChart = () => {
1225
1225
  }
1226
1226
  }
1227
1227
  };
1228
- return /* @__PURE__ */ React33.createElement("div", null, /* @__PURE__ */ React33.createElement(Bar, { data, options }));
1228
+ return /* @__PURE__ */ React33.createElement("div", { className: props.className }, /* @__PURE__ */ React33.createElement(Bar, { data, options }));
1229
1229
  };
1230
1230
  export {
1231
1231
  AddMoreTable,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.14-Beta121",
3
+ "version": "0.0.14-Beta122",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",