@ambuj.bhaskar/react-component-library 0.19.2-alpha → 0.19.4-alpha
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/assets/index.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +50 -41
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -66036,7 +66036,7 @@ const exe = (e, t, n) => {
|
|
|
66036
66036
|
return !i && r && (i = `calc((${r} - ${s})/${(v = e == null ? void 0 : e.xlabels) == null ? void 0 : v.length})`), !a && o && (a = `calc((${o} - ${l})/${(A = e == null ? void 0 : e.ylabels) == null ? void 0 : A.length})`), /* @__PURE__ */ K.jsx(
|
|
66037
66037
|
"div",
|
|
66038
66038
|
{
|
|
66039
|
-
className: `heatmap ${h}`,
|
|
66039
|
+
className: `heatmap ${h || ""}`,
|
|
66040
66040
|
style: {
|
|
66041
66041
|
width: r,
|
|
66042
66042
|
height: o,
|
|
@@ -66046,51 +66046,60 @@ const exe = (e, t, n) => {
|
|
|
66046
66046
|
children: /* @__PURE__ */ K.jsxs("table", { children: [
|
|
66047
66047
|
(x = e == null ? void 0 : e.ylabels) == null ? void 0 : x.map((b) => {
|
|
66048
66048
|
var w, E;
|
|
66049
|
-
return /* @__PURE__ */ K.jsxs(
|
|
66050
|
-
|
|
66051
|
-
|
|
66052
|
-
{
|
|
66053
|
-
|
|
66054
|
-
|
|
66055
|
-
|
|
66056
|
-
|
|
66057
|
-
|
|
66058
|
-
|
|
66059
|
-
|
|
66060
|
-
|
|
66061
|
-
|
|
66062
|
-
|
|
66063
|
-
|
|
66064
|
-
|
|
66065
|
-
|
|
66066
|
-
|
|
66067
|
-
|
|
66068
|
-
|
|
66069
|
-
|
|
66070
|
-
|
|
66049
|
+
return /* @__PURE__ */ K.jsxs(
|
|
66050
|
+
"tr",
|
|
66051
|
+
{
|
|
66052
|
+
style: {
|
|
66053
|
+
width: "100%",
|
|
66054
|
+
height: a
|
|
66055
|
+
},
|
|
66056
|
+
children: [
|
|
66057
|
+
/* @__PURE__ */ K.jsx(
|
|
66058
|
+
"th",
|
|
66059
|
+
{
|
|
66060
|
+
className: "y_axis_label",
|
|
66061
|
+
title: b,
|
|
66062
|
+
style: {
|
|
66063
|
+
width: s,
|
|
66064
|
+
maxWidth: s,
|
|
66065
|
+
minWidth: s,
|
|
66066
|
+
color: d
|
|
66067
|
+
},
|
|
66068
|
+
children: b
|
|
66069
|
+
}
|
|
66070
|
+
),
|
|
66071
|
+
(E = (w = e == null ? void 0 : e.datasets) == null ? void 0 : w[b]) == null ? void 0 : E.map((S) => /* @__PURE__ */ K.jsx(
|
|
66072
|
+
"td",
|
|
66071
66073
|
{
|
|
66072
|
-
|
|
66073
|
-
|
|
66074
|
+
className: `heatmap_cell ${m || ""}`,
|
|
66075
|
+
style: { width: i, height: "100%" },
|
|
66074
66076
|
children: /* @__PURE__ */ K.jsx(
|
|
66075
|
-
|
|
66077
|
+
uh,
|
|
66076
66078
|
{
|
|
66077
|
-
|
|
66078
|
-
|
|
66079
|
-
|
|
66080
|
-
|
|
66081
|
-
|
|
66082
|
-
|
|
66083
|
-
|
|
66084
|
-
|
|
66085
|
-
|
|
66086
|
-
|
|
66079
|
+
content: /* @__PURE__ */ K.jsx("div", { className: "heatmap_cell_tooltip", children: S == null ? void 0 : S.hoverContent }),
|
|
66080
|
+
trigger: "hover",
|
|
66081
|
+
children: /* @__PURE__ */ K.jsx(
|
|
66082
|
+
"div",
|
|
66083
|
+
{
|
|
66084
|
+
style: {
|
|
66085
|
+
backgroundColor: (S == null ? void 0 : S.color) ?? exe(
|
|
66086
|
+
(S == null ? void 0 : S.value) ?? 0,
|
|
66087
|
+
n,
|
|
66088
|
+
t
|
|
66089
|
+
),
|
|
66090
|
+
color: c
|
|
66091
|
+
},
|
|
66092
|
+
className: "heatmap_cell_inner",
|
|
66093
|
+
children: S == null ? void 0 : S.value
|
|
66094
|
+
}
|
|
66095
|
+
)
|
|
66087
66096
|
}
|
|
66088
66097
|
)
|
|
66089
66098
|
}
|
|
66090
|
-
)
|
|
66091
|
-
|
|
66092
|
-
|
|
66093
|
-
|
|
66099
|
+
))
|
|
66100
|
+
]
|
|
66101
|
+
}
|
|
66102
|
+
);
|
|
66094
66103
|
}),
|
|
66095
66104
|
/* @__PURE__ */ K.jsxs("tr", { children: [
|
|
66096
66105
|
/* @__PURE__ */ K.jsx(
|
|
@@ -66107,7 +66116,7 @@ const exe = (e, t, n) => {
|
|
|
66107
66116
|
(y = e == null ? void 0 : e.xlabels) == null ? void 0 : y.map((b) => /* @__PURE__ */ K.jsx(
|
|
66108
66117
|
"th",
|
|
66109
66118
|
{
|
|
66110
|
-
className: "x_axis_label",
|
|
66119
|
+
className: "x_axis_label font_secondary",
|
|
66111
66120
|
style: {
|
|
66112
66121
|
width: i,
|
|
66113
66122
|
maxWidth: i,
|