@apexcura/ui-components 0.0.14-Beta113 → 0.0.14-Beta114

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.js CHANGED
@@ -1135,15 +1135,9 @@ var DonutGraph = () => {
1135
1135
  series: seriesData
1136
1136
  };
1137
1137
  if (!import_highcharts_react_official.default || Object.keys(import_highcharts_react_official.default).length === 0) {
1138
- return /* @__PURE__ */ import_react31.default.createElement("div", null, "Error: HighchartsReact is not loaded properly.");
1138
+ return;
1139
1139
  }
1140
- return /* @__PURE__ */ import_react31.default.createElement("div", null, /* @__PURE__ */ import_react31.default.createElement(
1141
- import_highcharts_react_official.default,
1142
- {
1143
- highcharts: import_highcharts.default,
1144
- options
1145
- }
1146
- ));
1140
+ return /* @__PURE__ */ import_react31.default.createElement("div", null, !import_highcharts_react_official.default || Object.keys(import_highcharts_react_official.default).length === 0 ? /* @__PURE__ */ import_react31.default.createElement("div", null, "Error: HighchartsReact is not loaded properly.") : /* @__PURE__ */ import_react31.default.createElement(import_highcharts_react_official.default, { highcharts: import_highcharts.default, options }));
1147
1141
  };
1148
1142
  var DonutGraph_default = DonutGraph;
1149
1143
  // Annotate the CommonJS export names for ESM import in node:
package/dist/index.mjs CHANGED
@@ -1074,15 +1074,9 @@ var DonutGraph = () => {
1074
1074
  series: seriesData
1075
1075
  };
1076
1076
  if (!HighchartsReact || Object.keys(HighchartsReact).length === 0) {
1077
- return /* @__PURE__ */ React31.createElement("div", null, "Error: HighchartsReact is not loaded properly.");
1077
+ return;
1078
1078
  }
1079
- return /* @__PURE__ */ React31.createElement("div", null, /* @__PURE__ */ React31.createElement(
1080
- HighchartsReact,
1081
- {
1082
- highcharts: Highcharts,
1083
- options
1084
- }
1085
- ));
1079
+ return /* @__PURE__ */ React31.createElement("div", null, !HighchartsReact || Object.keys(HighchartsReact).length === 0 ? /* @__PURE__ */ React31.createElement("div", null, "Error: HighchartsReact is not loaded properly.") : /* @__PURE__ */ React31.createElement(HighchartsReact, { highcharts: Highcharts, options }));
1086
1080
  };
1087
1081
  var DonutGraph_default = DonutGraph;
1088
1082
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.14-Beta113",
3
+ "version": "0.0.14-Beta114",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",