@apexcura/ui-components 0.0.14-Beta141 → 0.0.14-Beta142

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
@@ -67,6 +67,8 @@ type ElementType = {
67
67
  loading?: boolean;
68
68
  fillText1?: string;
69
69
  fillText2?: string;
70
+ labels?: any[];
71
+ data?: any[];
70
72
  };
71
73
 
72
74
  declare const TextElement: (props: ElementType) => React$1.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -67,6 +67,8 @@ type ElementType = {
67
67
  loading?: boolean;
68
68
  fillText1?: string;
69
69
  fillText2?: string;
70
+ labels?: any[];
71
+ data?: any[];
70
72
  };
71
73
 
72
74
  declare const TextElement: (props: ElementType) => React$1.JSX.Element;
package/dist/index.js CHANGED
@@ -1101,17 +1101,11 @@ var import_chart = require("chart.js");
1101
1101
  import_chart.Chart.register(import_chart.DoughnutController, import_chart.ArcElement, import_chart.Tooltip, import_chart.Legend);
1102
1102
  var CircleDonut = (props) => {
1103
1103
  const data = {
1104
- labels: [
1105
- "Registration",
1106
- "Book Appointment",
1107
- "Diagnostic Tests",
1108
- "Hospital Facility",
1109
- "Others, Prescriptions"
1110
- ],
1104
+ labels: props.labels,
1111
1105
  datasets: [
1112
1106
  {
1113
1107
  label: "Bot Conversation",
1114
- data: [30, 10, 27, 40, 12],
1108
+ data: props.data,
1115
1109
  backgroundColor: [
1116
1110
  "#FFCB8A",
1117
1111
  "#CADBBF",
package/dist/index.mjs CHANGED
@@ -1041,17 +1041,11 @@ import {
1041
1041
  ChartJS.register(DoughnutController, ArcElement, Tooltip, Legend);
1042
1042
  var CircleDonut = (props) => {
1043
1043
  const data = {
1044
- labels: [
1045
- "Registration",
1046
- "Book Appointment",
1047
- "Diagnostic Tests",
1048
- "Hospital Facility",
1049
- "Others, Prescriptions"
1050
- ],
1044
+ labels: props.labels,
1051
1045
  datasets: [
1052
1046
  {
1053
1047
  label: "Bot Conversation",
1054
- data: [30, 10, 27, 40, 12],
1048
+ data: props.data,
1055
1049
  backgroundColor: [
1056
1050
  "#FFCB8A",
1057
1051
  "#CADBBF",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.14-Beta141",
3
+ "version": "0.0.14-Beta142",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",