@apexcura/ui-components 0.0.15-Beta → 0.0.15-Beta1
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.css +0 -6
- package/dist/index.d.mts +1 -3
- package/dist/index.d.ts +1 -3
- package/dist/index.js +1 -51
- package/dist/index.mjs +1 -50
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -402,12 +402,6 @@ video {
|
|
|
402
402
|
--tw-text-opacity: 1;
|
|
403
403
|
color: rgb(0 0 0 / var(--tw-text-opacity));
|
|
404
404
|
}
|
|
405
|
-
.opacity-25 {
|
|
406
|
-
opacity: 0.25;
|
|
407
|
-
}
|
|
408
|
-
.opacity-75 {
|
|
409
|
-
opacity: 0.75;
|
|
410
|
-
}
|
|
411
405
|
.shadow-\[0px_0px_1px_1px_\#919191\] {
|
|
412
406
|
--tw-shadow: 0px 0px 1px 1px #919191;
|
|
413
407
|
--tw-shadow-colored: 0px 0px 1px 1px var(--tw-shadow-color);
|
package/dist/index.d.mts
CHANGED
|
@@ -120,6 +120,4 @@ declare const Upload: (props: ElementType) => React$1.JSX.Element;
|
|
|
120
120
|
|
|
121
121
|
declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
|
|
122
122
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
export { AddMoreTable, ButtonElement, CheckboxElement, CkEditor, DatePickerElement, DateRangePickerElement, Donut, DropDownGroup, FileUpload, Image, MultipleSelectElement, Navbar, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
|
|
123
|
+
export { AddMoreTable, ButtonElement, CheckboxElement, CkEditor, DatePickerElement, DateRangePickerElement, DropDownGroup, FileUpload, Image, MultipleSelectElement, Navbar, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
|
package/dist/index.d.ts
CHANGED
|
@@ -120,6 +120,4 @@ declare const Upload: (props: ElementType) => React$1.JSX.Element;
|
|
|
120
120
|
|
|
121
121
|
declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
|
|
122
122
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
export { AddMoreTable, ButtonElement, CheckboxElement, CkEditor, DatePickerElement, DateRangePickerElement, Donut, DropDownGroup, FileUpload, Image, MultipleSelectElement, Navbar, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
|
|
123
|
+
export { AddMoreTable, ButtonElement, CheckboxElement, CkEditor, DatePickerElement, DateRangePickerElement, DropDownGroup, FileUpload, Image, MultipleSelectElement, Navbar, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,6 @@ __export(src_exports, {
|
|
|
36
36
|
CkEditor: () => CkEditor,
|
|
37
37
|
DatePickerElement: () => DatePickerElement,
|
|
38
38
|
DateRangePickerElement: () => DateRangePickerElement,
|
|
39
|
-
Donut: () => Donut,
|
|
40
39
|
DropDownGroup: () => DropDownGroup,
|
|
41
40
|
FileUpload: () => FileUpload,
|
|
42
41
|
Image: () => Image,
|
|
@@ -442,7 +441,7 @@ var ButtonElement = (props) => {
|
|
|
442
441
|
onMouseLeave: handleMouseLeave,
|
|
443
442
|
disabled: props.loading
|
|
444
443
|
},
|
|
445
|
-
props.loading ? /* @__PURE__ */ import_react11.default.createElement(import_react11.default.Fragment, null, /* @__PURE__ */ import_react11.default.createElement("svg", { className: "animate-spin h-5 w-5 mr-3", viewBox: "0 0 24 24" }
|
|
444
|
+
props.loading ? /* @__PURE__ */ import_react11.default.createElement(import_react11.default.Fragment, null, /* @__PURE__ */ import_react11.default.createElement("svg", { className: "animate-spin h-5 w-5 mr-3", viewBox: "0 0 24 24" }), props.label) : /* @__PURE__ */ import_react11.default.createElement(import_react11.default.Fragment, null, props.isSVGStylesOverride === false ? props.icon && /* @__PURE__ */ import_react11.default.createElement("img", { className: props.iconsClassName, src: props.icon, alt: props.label }) : svgContent && /* @__PURE__ */ import_react11.default.createElement(
|
|
446
445
|
"span",
|
|
447
446
|
{
|
|
448
447
|
dangerouslySetInnerHTML: { __html: svgContent }
|
|
@@ -1091,59 +1090,11 @@ var OtpElement = (props) => {
|
|
|
1091
1090
|
var import_react31 = __toESM(require("react"));
|
|
1092
1091
|
var import_highcharts = __toESM(require("highcharts"));
|
|
1093
1092
|
var import_highcharts_react_official = __toESM(require("highcharts-react-official"));
|
|
1094
|
-
var import_exporting = __toESM(require("highcharts/modules/exporting"));
|
|
1095
|
-
if (typeof import_highcharts.default === "object") {
|
|
1096
|
-
(0, import_exporting.default)(import_highcharts.default);
|
|
1097
|
-
}
|
|
1098
1093
|
var HighchartsChart = ({ options }) => {
|
|
1099
1094
|
return /* @__PURE__ */ import_react31.default.createElement(import_highcharts_react_official.default, { highcharts: import_highcharts.default, options });
|
|
1100
1095
|
};
|
|
1101
1096
|
console.log(HighchartsChart);
|
|
1102
1097
|
console.log(typeof HighchartsChart);
|
|
1103
|
-
var Donut = (props) => {
|
|
1104
|
-
const chartOptions = {
|
|
1105
|
-
title: {
|
|
1106
|
-
text: "Distribution of Students"
|
|
1107
|
-
},
|
|
1108
|
-
plotOptions: {
|
|
1109
|
-
pie: {
|
|
1110
|
-
innerSize: "70%",
|
|
1111
|
-
dataLabels: {
|
|
1112
|
-
enabled: false,
|
|
1113
|
-
format: "<b>{point.name}</b>: {point.percentage:.1f} %"
|
|
1114
|
-
},
|
|
1115
|
-
showInLegend: true
|
|
1116
|
-
}
|
|
1117
|
-
},
|
|
1118
|
-
series: [
|
|
1119
|
-
{
|
|
1120
|
-
type: "pie",
|
|
1121
|
-
name: "Percentage",
|
|
1122
|
-
data: [
|
|
1123
|
-
{
|
|
1124
|
-
name: "Girls",
|
|
1125
|
-
y: 20,
|
|
1126
|
-
color: "#FF6384"
|
|
1127
|
-
// Custom color for Girls
|
|
1128
|
-
},
|
|
1129
|
-
{
|
|
1130
|
-
name: "Boys",
|
|
1131
|
-
y: 40,
|
|
1132
|
-
color: "#36A2EB"
|
|
1133
|
-
// Custom color for Boys
|
|
1134
|
-
},
|
|
1135
|
-
{
|
|
1136
|
-
name: "Students",
|
|
1137
|
-
y: 40,
|
|
1138
|
-
color: "#FFCE56"
|
|
1139
|
-
// Custom color for Students
|
|
1140
|
-
}
|
|
1141
|
-
]
|
|
1142
|
-
}
|
|
1143
|
-
]
|
|
1144
|
-
};
|
|
1145
|
-
return /* @__PURE__ */ import_react31.default.createElement(import_react31.default.Fragment, null, /* @__PURE__ */ import_react31.default.createElement(HighchartsChart, { highcharts: import_highcharts.default, options: chartOptions }));
|
|
1146
|
-
};
|
|
1147
1098
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1148
1099
|
0 && (module.exports = {
|
|
1149
1100
|
AddMoreTable,
|
|
@@ -1152,7 +1103,6 @@ var Donut = (props) => {
|
|
|
1152
1103
|
CkEditor,
|
|
1153
1104
|
DatePickerElement,
|
|
1154
1105
|
DateRangePickerElement,
|
|
1155
|
-
Donut,
|
|
1156
1106
|
DropDownGroup,
|
|
1157
1107
|
FileUpload,
|
|
1158
1108
|
Image,
|
package/dist/index.mjs
CHANGED
|
@@ -381,7 +381,7 @@ var ButtonElement = (props) => {
|
|
|
381
381
|
onMouseLeave: handleMouseLeave,
|
|
382
382
|
disabled: props.loading
|
|
383
383
|
},
|
|
384
|
-
props.loading ? /* @__PURE__ */ React11.createElement(React11.Fragment, null, /* @__PURE__ */ React11.createElement("svg", { className: "animate-spin h-5 w-5 mr-3", viewBox: "0 0 24 24" }
|
|
384
|
+
props.loading ? /* @__PURE__ */ React11.createElement(React11.Fragment, null, /* @__PURE__ */ React11.createElement("svg", { className: "animate-spin h-5 w-5 mr-3", viewBox: "0 0 24 24" }), props.label) : /* @__PURE__ */ React11.createElement(React11.Fragment, null, props.isSVGStylesOverride === false ? props.icon && /* @__PURE__ */ React11.createElement("img", { className: props.iconsClassName, src: props.icon, alt: props.label }) : svgContent && /* @__PURE__ */ React11.createElement(
|
|
385
385
|
"span",
|
|
386
386
|
{
|
|
387
387
|
dangerouslySetInnerHTML: { __html: svgContent }
|
|
@@ -1030,59 +1030,11 @@ var OtpElement = (props) => {
|
|
|
1030
1030
|
import React31 from "react";
|
|
1031
1031
|
import Highcharts from "highcharts";
|
|
1032
1032
|
import HighchartsReact from "highcharts-react-official";
|
|
1033
|
-
import HighchartsExporting from "highcharts/modules/exporting";
|
|
1034
|
-
if (typeof Highcharts === "object") {
|
|
1035
|
-
HighchartsExporting(Highcharts);
|
|
1036
|
-
}
|
|
1037
1033
|
var HighchartsChart = ({ options }) => {
|
|
1038
1034
|
return /* @__PURE__ */ React31.createElement(HighchartsReact, { highcharts: Highcharts, options });
|
|
1039
1035
|
};
|
|
1040
1036
|
console.log(HighchartsChart);
|
|
1041
1037
|
console.log(typeof HighchartsChart);
|
|
1042
|
-
var Donut = (props) => {
|
|
1043
|
-
const chartOptions = {
|
|
1044
|
-
title: {
|
|
1045
|
-
text: "Distribution of Students"
|
|
1046
|
-
},
|
|
1047
|
-
plotOptions: {
|
|
1048
|
-
pie: {
|
|
1049
|
-
innerSize: "70%",
|
|
1050
|
-
dataLabels: {
|
|
1051
|
-
enabled: false,
|
|
1052
|
-
format: "<b>{point.name}</b>: {point.percentage:.1f} %"
|
|
1053
|
-
},
|
|
1054
|
-
showInLegend: true
|
|
1055
|
-
}
|
|
1056
|
-
},
|
|
1057
|
-
series: [
|
|
1058
|
-
{
|
|
1059
|
-
type: "pie",
|
|
1060
|
-
name: "Percentage",
|
|
1061
|
-
data: [
|
|
1062
|
-
{
|
|
1063
|
-
name: "Girls",
|
|
1064
|
-
y: 20,
|
|
1065
|
-
color: "#FF6384"
|
|
1066
|
-
// Custom color for Girls
|
|
1067
|
-
},
|
|
1068
|
-
{
|
|
1069
|
-
name: "Boys",
|
|
1070
|
-
y: 40,
|
|
1071
|
-
color: "#36A2EB"
|
|
1072
|
-
// Custom color for Boys
|
|
1073
|
-
},
|
|
1074
|
-
{
|
|
1075
|
-
name: "Students",
|
|
1076
|
-
y: 40,
|
|
1077
|
-
color: "#FFCE56"
|
|
1078
|
-
// Custom color for Students
|
|
1079
|
-
}
|
|
1080
|
-
]
|
|
1081
|
-
}
|
|
1082
|
-
]
|
|
1083
|
-
};
|
|
1084
|
-
return /* @__PURE__ */ React31.createElement(React31.Fragment, null, /* @__PURE__ */ React31.createElement(HighchartsChart, { highcharts: Highcharts, options: chartOptions }));
|
|
1085
|
-
};
|
|
1086
1038
|
export {
|
|
1087
1039
|
AddMoreTable,
|
|
1088
1040
|
ButtonElement,
|
|
@@ -1090,7 +1042,6 @@ export {
|
|
|
1090
1042
|
CkEditor,
|
|
1091
1043
|
DatePickerElement,
|
|
1092
1044
|
DateRangePickerElement,
|
|
1093
|
-
Donut,
|
|
1094
1045
|
DropDownGroup,
|
|
1095
1046
|
FileUpload,
|
|
1096
1047
|
Image,
|