@apexcura/ui-components 0.0.14-Beta96 → 0.0.14-Beta98

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
@@ -594,7 +594,7 @@ var Sidebar = (props) => {
594
594
  ButtonElement,
595
595
  {
596
596
  ...item,
597
- className: item.active ? props.activeClassName : props.className,
597
+ className: `${props.className} ${item.active ? props.activeClassName : ""}`,
598
598
  iconsClassName: props.iconsClassName,
599
599
  onClick: (e) => {
600
600
  e.preventDefault();
@@ -1089,6 +1089,11 @@ var OtpElement = (props) => {
1089
1089
  var import_react31 = __toESM(require("react"));
1090
1090
  var import_highcharts = __toESM(require("highcharts"));
1091
1091
  var import_highcharts_react_official = __toESM(require("highcharts-react-official"));
1092
+ var HighchartsChart = ({ options }) => {
1093
+ return /* @__PURE__ */ import_react31.default.createElement(import_highcharts_react_official.default, { highcharts: import_highcharts.default, options });
1094
+ };
1095
+ console.log(HighchartsChart);
1096
+ console.log(typeof HighchartsChart);
1092
1097
  var Donut = (props) => {
1093
1098
  console.log(props);
1094
1099
  const chartOptions = {
@@ -1133,7 +1138,7 @@ var Donut = (props) => {
1133
1138
  ]
1134
1139
  };
1135
1140
  console.log(chartOptions);
1136
- return /* @__PURE__ */ import_react31.default.createElement(import_react31.default.Fragment, null, /* @__PURE__ */ import_react31.default.createElement(import_highcharts_react_official.default, { highcharts: import_highcharts.default, options: chartOptions }));
1141
+ return /* @__PURE__ */ import_react31.default.createElement(import_react31.default.Fragment, null, /* @__PURE__ */ import_react31.default.createElement(HighchartsChart, { highcharts: import_highcharts.default, options: chartOptions }));
1137
1142
  };
1138
1143
  // Annotate the CommonJS export names for ESM import in node:
1139
1144
  0 && (module.exports = {
package/dist/index.mjs CHANGED
@@ -533,7 +533,7 @@ var Sidebar = (props) => {
533
533
  ButtonElement,
534
534
  {
535
535
  ...item,
536
- className: item.active ? props.activeClassName : props.className,
536
+ className: `${props.className} ${item.active ? props.activeClassName : ""}`,
537
537
  iconsClassName: props.iconsClassName,
538
538
  onClick: (e) => {
539
539
  e.preventDefault();
@@ -1028,6 +1028,11 @@ var OtpElement = (props) => {
1028
1028
  import React31 from "react";
1029
1029
  import Highcharts from "highcharts";
1030
1030
  import HighchartsReact from "highcharts-react-official";
1031
+ var HighchartsChart = ({ options }) => {
1032
+ return /* @__PURE__ */ React31.createElement(HighchartsReact, { highcharts: Highcharts, options });
1033
+ };
1034
+ console.log(HighchartsChart);
1035
+ console.log(typeof HighchartsChart);
1031
1036
  var Donut = (props) => {
1032
1037
  console.log(props);
1033
1038
  const chartOptions = {
@@ -1072,7 +1077,7 @@ var Donut = (props) => {
1072
1077
  ]
1073
1078
  };
1074
1079
  console.log(chartOptions);
1075
- return /* @__PURE__ */ React31.createElement(React31.Fragment, null, /* @__PURE__ */ React31.createElement(HighchartsReact, { highcharts: Highcharts, options: chartOptions }));
1080
+ return /* @__PURE__ */ React31.createElement(React31.Fragment, null, /* @__PURE__ */ React31.createElement(HighchartsChart, { highcharts: Highcharts, options: chartOptions }));
1076
1081
  };
1077
1082
  export {
1078
1083
  AddMoreTable,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.14-Beta96",
3
+ "version": "0.0.14-Beta98",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",