@sequenceholdings/atlas-ui 3.4.0 → 3.5.0
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/{chart-DeLyjZqf.js → chart-MKHqrHfu.js} +67 -69
- package/dist/charts.d.ts +4 -5
- package/dist/charts.mjs +1 -1
- package/dist/index.d.ts +85 -74
- package/dist/index.mjs +3999 -3979
- package/dist/next.mjs +1 -1
- package/dist/tokens.css +4 -4
- package/package.json +2 -2
|
@@ -2191,11 +2191,11 @@ var jt = /* @__PURE__ */ E(((e, t) => {
|
|
|
2191
2191
|
}, e.typeOf = g;
|
|
2192
2192
|
})), Nn = /* @__PURE__ */ E(((e) => {
|
|
2193
2193
|
process.env.NODE_ENV !== "production" && (function() {
|
|
2194
|
-
var t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), h =
|
|
2195
|
-
function
|
|
2196
|
-
return !!(typeof e == "string" || typeof e == "function" || e === r || e === a ||
|
|
2194
|
+
var t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), h = Symbol.for("react.module.reference");
|
|
2195
|
+
function g(e) {
|
|
2196
|
+
return !!(typeof e == "string" || typeof e == "function" || e === r || e === a || e === i || e === u || e === d || e === m || typeof e == "object" && e && (e.$$typeof === p || e.$$typeof === f || e.$$typeof === o || e.$$typeof === s || e.$$typeof === l || e.$$typeof === h || e.getModuleId !== void 0));
|
|
2197
2197
|
}
|
|
2198
|
-
function
|
|
2198
|
+
function _(e) {
|
|
2199
2199
|
if (typeof e == "object" && e) {
|
|
2200
2200
|
var m = e.$$typeof;
|
|
2201
2201
|
switch (m) {
|
|
@@ -2223,50 +2223,50 @@ var jt = /* @__PURE__ */ E(((e, t) => {
|
|
|
2223
2223
|
}
|
|
2224
2224
|
}
|
|
2225
2225
|
}
|
|
2226
|
-
var
|
|
2226
|
+
var v = s, y = o, b = t, x = l, S = r, C = p, w = f, T = n, E = a, D = i, O = u, k = d, A = !1, j = !1;
|
|
2227
|
+
function M(e) {
|
|
2228
|
+
return A || (A = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
2229
|
+
}
|
|
2230
|
+
function N(e) {
|
|
2231
|
+
return j || (j = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
2232
|
+
}
|
|
2233
|
+
function P(e) {
|
|
2234
|
+
return _(e) === s;
|
|
2235
|
+
}
|
|
2236
|
+
function ee(e) {
|
|
2237
|
+
return _(e) === o;
|
|
2238
|
+
}
|
|
2239
|
+
function F(e) {
|
|
2240
|
+
return typeof e == "object" && !!e && e.$$typeof === t;
|
|
2241
|
+
}
|
|
2227
2242
|
function te(e) {
|
|
2228
|
-
return
|
|
2243
|
+
return _(e) === l;
|
|
2229
2244
|
}
|
|
2230
2245
|
function ne(e) {
|
|
2231
|
-
return
|
|
2246
|
+
return _(e) === r;
|
|
2232
2247
|
}
|
|
2233
2248
|
function re(e) {
|
|
2234
|
-
return
|
|
2249
|
+
return _(e) === p;
|
|
2235
2250
|
}
|
|
2236
2251
|
function ie(e) {
|
|
2237
|
-
return
|
|
2252
|
+
return _(e) === f;
|
|
2238
2253
|
}
|
|
2239
2254
|
function ae(e) {
|
|
2240
|
-
return
|
|
2255
|
+
return _(e) === n;
|
|
2241
2256
|
}
|
|
2242
2257
|
function oe(e) {
|
|
2243
|
-
return
|
|
2258
|
+
return _(e) === a;
|
|
2244
2259
|
}
|
|
2245
2260
|
function se(e) {
|
|
2246
|
-
return
|
|
2261
|
+
return _(e) === i;
|
|
2247
2262
|
}
|
|
2248
2263
|
function ce(e) {
|
|
2249
|
-
return
|
|
2264
|
+
return _(e) === u;
|
|
2250
2265
|
}
|
|
2251
2266
|
function I(e) {
|
|
2252
|
-
return
|
|
2253
|
-
}
|
|
2254
|
-
function le(e) {
|
|
2255
|
-
return S(e) === n;
|
|
2256
|
-
}
|
|
2257
|
-
function ue(e) {
|
|
2258
|
-
return S(e) === a;
|
|
2267
|
+
return _(e) === d;
|
|
2259
2268
|
}
|
|
2260
|
-
|
|
2261
|
-
return S(e) === i;
|
|
2262
|
-
}
|
|
2263
|
-
function fe(e) {
|
|
2264
|
-
return S(e) === u;
|
|
2265
|
-
}
|
|
2266
|
-
function pe(e) {
|
|
2267
|
-
return S(e) === d;
|
|
2268
|
-
}
|
|
2269
|
-
e.ContextConsumer = C, e.ContextProvider = w, e.Element = T, e.ForwardRef = E, e.Fragment = D, e.Lazy = O, e.Memo = k, e.Portal = A, e.Profiler = j, e.StrictMode = M, e.Suspense = N, e.SuspenseList = P, e.isAsyncMode = te, e.isConcurrentMode = ne, e.isContextConsumer = re, e.isContextProvider = ie, e.isElement = ae, e.isForwardRef = oe, e.isFragment = se, e.isLazy = ce, e.isMemo = I, e.isPortal = le, e.isProfiler = ue, e.isStrictMode = de, e.isSuspense = fe, e.isSuspenseList = pe, e.isValidElementType = x, e.typeOf = S;
|
|
2269
|
+
e.ContextConsumer = v, e.ContextProvider = y, e.Element = b, e.ForwardRef = x, e.Fragment = S, e.Lazy = C, e.Memo = w, e.Portal = T, e.Profiler = E, e.StrictMode = D, e.Suspense = O, e.SuspenseList = k, e.isAsyncMode = M, e.isConcurrentMode = N, e.isContextConsumer = P, e.isContextProvider = ee, e.isElement = F, e.isForwardRef = te, e.isFragment = ne, e.isLazy = re, e.isMemo = ie, e.isPortal = ae, e.isProfiler = oe, e.isStrictMode = se, e.isSuspense = ce, e.isSuspenseList = I, e.isValidElementType = g, e.typeOf = _;
|
|
2270
2270
|
})();
|
|
2271
2271
|
})), Pn = /* @__PURE__ */ E(((e, t) => {
|
|
2272
2272
|
process.env.NODE_ENV === "production" ? t.exports = Mn() : t.exports = Nn();
|
|
@@ -2294,7 +2294,7 @@ var jt = /* @__PURE__ */ E(((e, t) => {
|
|
|
2294
2294
|
var t = ++Un;
|
|
2295
2295
|
return `${e || ""}${t}`;
|
|
2296
2296
|
}, Gn = function(e, t) {
|
|
2297
|
-
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0
|
|
2297
|
+
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
|
|
2298
2298
|
if (!B(e) && !(0, Ln.default)(e)) return n;
|
|
2299
2299
|
var i;
|
|
2300
2300
|
if (Hn(e)) {
|
|
@@ -2466,7 +2466,7 @@ var br = function(e) {
|
|
|
2466
2466
|
if ((0, U.default)(e) && (0, U.default)(t)) return !0;
|
|
2467
2467
|
if (!(0, U.default)(e) && !(0, U.default)(t)) {
|
|
2468
2468
|
var n = e.props || {}, r = n.children, i = ur(n, cr), a = t.props || {}, o = a.children, s = ur(a, lr);
|
|
2469
|
-
return r && o ? Qn(i, s) && Tr(r, o) : !r && !o
|
|
2469
|
+
return r && o ? Qn(i, s) && Tr(r, o) : !r && !o && Qn(i, s);
|
|
2470
2470
|
}
|
|
2471
2471
|
return !1;
|
|
2472
2472
|
}, Dr = function(e, t) {
|
|
@@ -3724,11 +3724,10 @@ var eo = /* @__PURE__ */ E(((e, t) => {
|
|
|
3724
3724
|
}
|
|
3725
3725
|
c.prototype.clear = r, c.prototype.delete = i, c.prototype.get = a, c.prototype.has = o, c.prototype.set = s, t.exports = c;
|
|
3726
3726
|
})), oo = /* @__PURE__ */ E(((e, t) => {
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
return this.__data__.set(e, n), this;
|
|
3727
|
+
function n(e) {
|
|
3728
|
+
return this.__data__.set(e, "__lodash_hash_undefined__"), this;
|
|
3730
3729
|
}
|
|
3731
|
-
t.exports =
|
|
3730
|
+
t.exports = n;
|
|
3732
3731
|
})), so = /* @__PURE__ */ E(((e, t) => {
|
|
3733
3732
|
function n(e) {
|
|
3734
3733
|
return this.__data__.has(e);
|
|
@@ -3891,18 +3890,17 @@ var eo = /* @__PURE__ */ E(((e, t) => {
|
|
|
3891
3890
|
var n = Nt(), r = To(), i = typeof e == "object" && e && !e.nodeType && e, a = i && typeof t == "object" && t && !t.nodeType && t, o = a && a.exports === i ? n.Buffer : void 0;
|
|
3892
3891
|
t.exports = (o ? o.isBuffer : void 0) || r;
|
|
3893
3892
|
})), Do = /* @__PURE__ */ E(((e, t) => {
|
|
3894
|
-
var n =
|
|
3895
|
-
function
|
|
3896
|
-
var
|
|
3897
|
-
return t ??=
|
|
3893
|
+
var n = /^(?:0|[1-9]\d*)$/;
|
|
3894
|
+
function r(e, t) {
|
|
3895
|
+
var r = typeof e;
|
|
3896
|
+
return t ??= 9007199254740991, !!t && (r == "number" || r != "symbol" && n.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
3898
3897
|
}
|
|
3899
|
-
t.exports =
|
|
3898
|
+
t.exports = r;
|
|
3900
3899
|
})), Oo = /* @__PURE__ */ E(((e, t) => {
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= n;
|
|
3900
|
+
function n(e) {
|
|
3901
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= 9007199254740991;
|
|
3904
3902
|
}
|
|
3905
|
-
t.exports =
|
|
3903
|
+
t.exports = n;
|
|
3906
3904
|
})), ko = /* @__PURE__ */ E(((e, t) => {
|
|
3907
3905
|
var n = Lt(), r = Oo(), i = Rt(), a = "[object Arguments]", o = "[object Array]", s = "[object Boolean]", c = "[object Date]", l = "[object Error]", u = "[object Function]", d = "[object Map]", f = "[object Number]", p = "[object Object]", m = "[object RegExp]", h = "[object Set]", g = "[object String]", _ = "[object WeakMap]", v = "[object ArrayBuffer]", y = "[object DataView]", b = "[object Float32Array]", x = "[object Float64Array]", S = "[object Int8Array]", C = "[object Int16Array]", w = "[object Int32Array]", T = "[object Uint8Array]", E = "[object Uint8ClampedArray]", D = "[object Uint16Array]", O = "[object Uint32Array]", k = {};
|
|
3908
3906
|
k[b] = k[x] = k[S] = k[C] = k[w] = k[T] = k[E] = k[D] = k[O] = !0, k[a] = k[o] = k[v] = k[s] = k[y] = k[c] = k[l] = k[u] = k[d] = k[f] = k[p] = k[m] = k[h] = k[g] = k[_] = !1;
|
|
@@ -4102,7 +4100,7 @@ var eo = /* @__PURE__ */ E(((e, t) => {
|
|
|
4102
4100
|
})), Qo = /* @__PURE__ */ E(((e, t) => {
|
|
4103
4101
|
function n(e, t) {
|
|
4104
4102
|
return function(n) {
|
|
4105
|
-
return n
|
|
4103
|
+
return n != null && n[e] === t && (t !== void 0 || e in Object(n));
|
|
4106
4104
|
};
|
|
4107
4105
|
}
|
|
4108
4106
|
t.exports = n;
|
|
@@ -4638,18 +4636,18 @@ var Us = /* @__PURE__ */ E(((e, t) => {
|
|
|
4638
4636
|
});
|
|
4639
4637
|
} : i;
|
|
4640
4638
|
})), oc = /* @__PURE__ */ E(((e, t) => {
|
|
4641
|
-
var n =
|
|
4642
|
-
function
|
|
4643
|
-
var t = 0,
|
|
4639
|
+
var n = Date.now;
|
|
4640
|
+
function r(e) {
|
|
4641
|
+
var t = 0, r = 0;
|
|
4644
4642
|
return function() {
|
|
4645
|
-
var
|
|
4646
|
-
if (
|
|
4647
|
-
if (++t >=
|
|
4643
|
+
var i = n(), a = 16 - (i - r);
|
|
4644
|
+
if (r = i, a > 0) {
|
|
4645
|
+
if (++t >= 800) return arguments[0];
|
|
4648
4646
|
} else t = 0;
|
|
4649
4647
|
return e.apply(void 0, arguments);
|
|
4650
4648
|
};
|
|
4651
4649
|
}
|
|
4652
|
-
t.exports =
|
|
4650
|
+
t.exports = r;
|
|
4653
4651
|
})), sc = /* @__PURE__ */ E(((e, t) => {
|
|
4654
4652
|
var n = ac();
|
|
4655
4653
|
t.exports = oc()(n);
|
|
@@ -4782,7 +4780,7 @@ function Ec(e) {
|
|
|
4782
4780
|
return Array.isArray(e) && V(e[0]) && V(e[1]) ? e.join(" ~ ") : e;
|
|
4783
4781
|
}
|
|
4784
4782
|
var Dc = function(e) {
|
|
4785
|
-
var n = e.separator, r = n === void 0 ? " : " : n, i = e.contentStyle, a = i === void 0 ? {} : i, o = e.itemStyle, s = o === void 0 ? {} : o, c = e.labelStyle, l = c === void 0 ? {} : c, u = e.payload, d = e.formatter, f = e.itemSorter, p = e.wrapperClassName, m = e.labelClassName, h = e.label, g = e.labelFormatter, _ = e.accessibilityLayer, v = _
|
|
4783
|
+
var n = e.separator, r = n === void 0 ? " : " : n, i = e.contentStyle, a = i === void 0 ? {} : i, o = e.itemStyle, s = o === void 0 ? {} : o, c = e.labelStyle, l = c === void 0 ? {} : c, u = e.payload, d = e.formatter, f = e.itemSorter, p = e.wrapperClassName, m = e.labelClassName, h = e.label, g = e.labelFormatter, _ = e.accessibilityLayer, v = _ !== void 0 && _, y = function() {
|
|
4786
4784
|
if (u && u.length) {
|
|
4787
4785
|
var e = {
|
|
4788
4786
|
padding: 0,
|
|
@@ -6015,7 +6013,7 @@ var zu = /[ \f\n\r\t\v\u2028\u2029]+/, Bu = function(e) {
|
|
|
6015
6013
|
}
|
|
6016
6014
|
return Hu(r);
|
|
6017
6015
|
}, Wu = "#808080", Gu = function(e) {
|
|
6018
|
-
var n = e.x, r = n === void 0 ? 0 : n, i = e.y, a = i === void 0 ? 0 : i, o = e.lineHeight, s = o === void 0 ? "1em" : o, c = e.capHeight, l = c === void 0 ? "0.71em" : c, u = e.scaleToFit, d = u
|
|
6016
|
+
var n = e.x, r = n === void 0 ? 0 : n, i = e.y, a = i === void 0 ? 0 : i, o = e.lineHeight, s = o === void 0 ? "1em" : o, c = e.capHeight, l = c === void 0 ? "0.71em" : c, u = e.scaleToFit, d = u !== void 0 && u, f = e.textAnchor, p = f === void 0 ? "start" : f, h = e.verticalAnchor, g = h === void 0 ? "end" : h, _ = e.fill, v = _ === void 0 ? Wu : _, y = ju(e, Ou), b = m(function() {
|
|
6019
6017
|
return Uu({
|
|
6020
6018
|
breakAll: y.breakAll,
|
|
6021
6019
|
children: y.children,
|
|
@@ -9597,7 +9595,7 @@ var _v = function(e) {
|
|
|
9597
9595
|
}
|
|
9598
9596
|
return e;
|
|
9599
9597
|
}, Sv = function(e, t, n) {
|
|
9600
|
-
return (0, U.default)(t) ? !0 : e === "horizontal" ? t === "yAxis" : e === "vertical" || n === "x" ? t === "xAxis" : n
|
|
9598
|
+
return (0, U.default)(t) ? !0 : e === "horizontal" ? t === "yAxis" : e === "vertical" || n === "x" ? t === "xAxis" : n !== "y" || t === "yAxis";
|
|
9601
9599
|
}, Cv = function(e, t, n, r, i) {
|
|
9602
9600
|
var a = t.props.children, o = vr(a, X_).filter(function(e) {
|
|
9603
9601
|
return Sv(r, i, e.props.direction);
|
|
@@ -10857,7 +10855,7 @@ var Pb = {
|
|
|
10857
10855
|
var n = `curve${(0, va.default)(e)}`;
|
|
10858
10856
|
return (n === "curveMonotone" || n === "curveBump") && t ? Pb[`${n}${t === "vertical" ? "Y" : "X"}`] : Pb[n] || di;
|
|
10859
10857
|
}, zb = function(e) {
|
|
10860
|
-
var t = e.type, n = t === void 0 ? "linear" : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s
|
|
10858
|
+
var t = e.type, n = t === void 0 ? "linear" : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s !== void 0 && s, l = Rb(n, o), u = c ? i.filter(function(e) {
|
|
10861
10859
|
return Fb(e);
|
|
10862
10860
|
}) : i, d;
|
|
10863
10861
|
if (Array.isArray(a)) {
|
|
@@ -11535,7 +11533,7 @@ function Vx({ areArrayBuffersEqual: e, areArraysEqual: t, areDataViewsEqual: n,
|
|
|
11535
11533
|
if (h == null || g == null) return !1;
|
|
11536
11534
|
let v = typeof h;
|
|
11537
11535
|
if (v !== typeof g) return !1;
|
|
11538
|
-
if (v !== "object") return v === "number" ? s(h, g, _) : v === "function"
|
|
11536
|
+
if (v !== "object") return v === "number" ? s(h, g, _) : v === "function" && a(h, g, _);
|
|
11539
11537
|
let y = h.constructor;
|
|
11540
11538
|
if (y !== g.constructor) return !1;
|
|
11541
11539
|
if (y === Object) return c(h, g, _);
|
|
@@ -15759,7 +15757,7 @@ function dk(e, n) {
|
|
|
15759
15757
|
return r;
|
|
15760
15758
|
}
|
|
15761
15759
|
function fk(e) {
|
|
15762
|
-
var n = e.x, r = e.width, i = e.horizontal, a = i === void 0
|
|
15760
|
+
var n = e.x, r = e.width, i = e.horizontal, a = i === void 0 || i, o = e.horizontalPoints;
|
|
15763
15761
|
if (!a || !o || !o.length) return null;
|
|
15764
15762
|
var s = o.map(function(t, i) {
|
|
15765
15763
|
return dk(a, rk(rk({}, e), {}, {
|
|
@@ -15774,7 +15772,7 @@ function fk(e) {
|
|
|
15774
15772
|
return /*#__PURE__*/ t.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, s);
|
|
15775
15773
|
}
|
|
15776
15774
|
function pk(e) {
|
|
15777
|
-
var n = e.y, r = e.height, i = e.vertical, a = i === void 0
|
|
15775
|
+
var n = e.y, r = e.height, i = e.vertical, a = i === void 0 || i, o = e.verticalPoints;
|
|
15778
15776
|
if (!a || !o || !o.length) return null;
|
|
15779
15777
|
var s = o.map(function(t, i) {
|
|
15780
15778
|
return dk(a, rk(rk({}, e), {}, {
|
|
@@ -15816,7 +15814,7 @@ function mk(e) {
|
|
|
15816
15814
|
return /*#__PURE__*/ t.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, d);
|
|
15817
15815
|
}
|
|
15818
15816
|
function hk(e) {
|
|
15819
|
-
var n = e.vertical, r = n === void 0
|
|
15817
|
+
var n = e.vertical, r = n === void 0 || n, i = e.verticalFill, a = e.fillOpacity, o = e.x, s = e.y, c = e.width, l = e.height, u = e.verticalPoints;
|
|
15820
15818
|
if (!r || !i || !i.length) return null;
|
|
15821
15819
|
var d = u.map(function(e) {
|
|
15822
15820
|
return Math.round(e + o - o);
|
|
@@ -16231,7 +16229,7 @@ var Hk = /*#__PURE__*/ function(e) {
|
|
|
16231
16229
|
var m = this.state.isAnimationFinished, h = i.length === 1, g = j("recharts-area", a), _ = c && c.allowDataOverflow, v = l && l.allowDataOverflow, y = _ || v, b = (0, U.default)(p) ? this.id : p, x = W(r, !1) ?? {
|
|
16232
16230
|
r: 3,
|
|
16233
16231
|
strokeWidth: 2
|
|
16234
|
-
}, S = x.r, C = S === void 0 ? 3 : S, w = x.strokeWidth, T = w === void 0 ? 2 : w, E = (Cr(r) ? r : {}).clipDot, D = E === void 0
|
|
16232
|
+
}, S = x.r, C = S === void 0 ? 3 : S, w = x.strokeWidth, T = w === void 0 ? 2 : w, E = (Cr(r) ? r : {}).clipDot, D = E === void 0 || E, O = C * 2 + T;
|
|
16235
16233
|
return /*#__PURE__*/ t.createElement(G, { className: g }, _ || v ? /*#__PURE__*/ t.createElement("defs", null, /*#__PURE__*/ t.createElement("clipPath", { id: `clipPath-${b}` }, /*#__PURE__*/ t.createElement("rect", {
|
|
16236
16234
|
x: _ ? s : s - u / 2,
|
|
16237
16235
|
y: v ? o : o - d / 2,
|
|
@@ -18245,13 +18243,13 @@ var $j = xl;
|
|
|
18245
18243
|
function eM({ active: t, payload: n, className: r, indicator: i = "dot", hideLabel: a = !1, hideIndicator: o = !1, label: s, labelFormatter: c, labelClassName: l, formatter: u, color: d, nameKey: f, labelKey: p, footer: m }) {
|
|
18246
18244
|
let { config: h } = Yj(), g = e.useMemo(() => {
|
|
18247
18245
|
if (a || !n?.length) return null;
|
|
18248
|
-
let [e] = n, t =
|
|
18246
|
+
let [e] = n, t = `${p ?? e?.dataKey ?? e?.name ?? "value"}`, r = sM(h, e, t), i = p ? r?.label : typeof s == "string" ? h[s]?.label ?? s : s ?? r?.label;
|
|
18249
18247
|
return c ? /* @__PURE__ */ v("div", {
|
|
18250
18248
|
className: At("font-medium", l),
|
|
18251
|
-
children: c(
|
|
18252
|
-
}) :
|
|
18249
|
+
children: c(i, n)
|
|
18250
|
+
}) : i ? /* @__PURE__ */ v("div", {
|
|
18253
18251
|
className: At("font-medium", l),
|
|
18254
|
-
children:
|
|
18252
|
+
children: i
|
|
18255
18253
|
}) : null;
|
|
18256
18254
|
}, [
|
|
18257
18255
|
s,
|
|
@@ -18359,15 +18357,15 @@ function oM({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bo
|
|
|
18359
18357
|
return n?.length ? /* @__PURE__ */ v("div", {
|
|
18360
18358
|
className: At("flex items-center justify-center gap-4", r === "top" ? "pb-3" : "pt-3", e),
|
|
18361
18359
|
children: n.map((e) => {
|
|
18362
|
-
let n =
|
|
18360
|
+
let n = `${i ?? e.dataKey ?? "value"}`, r = sM(a, e, n);
|
|
18363
18361
|
return /* @__PURE__ */ y("div", {
|
|
18364
18362
|
className: "flex items-center gap-1.5 [&>svg]:size-icon-sm [&>svg]:text-muted-foreground",
|
|
18365
|
-
children: [
|
|
18363
|
+
children: [r?.icon && !t ? /* @__PURE__ */ v(r.icon, {}) : /* @__PURE__ */ v("div", {
|
|
18366
18364
|
className: "size-2 shrink-0 rounded-[2px]",
|
|
18367
18365
|
style: { backgroundColor: e.color }
|
|
18368
18366
|
}), /* @__PURE__ */ v("span", {
|
|
18369
18367
|
className: "text-muted-foreground",
|
|
18370
|
-
children:
|
|
18368
|
+
children: r?.label
|
|
18371
18369
|
})]
|
|
18372
18370
|
}, e.value);
|
|
18373
18371
|
})
|
package/dist/charts.d.ts
CHANGED
|
@@ -16,7 +16,6 @@ export declare const CHART_GRID: {
|
|
|
16
16
|
readonly stroke: "#E2E8F0";
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
/** Chart.js scale ticks — font size 10, ui-monospace, slate-400 */
|
|
20
19
|
export declare const CHART_JS_SCALE_TICKS: {
|
|
21
20
|
readonly font: {
|
|
22
21
|
readonly size: 10;
|
|
@@ -25,11 +24,11 @@ export declare const CHART_JS_SCALE_TICKS: {
|
|
|
25
24
|
readonly color: "#94A3B8";
|
|
26
25
|
};
|
|
27
26
|
|
|
28
|
-
/** Chart.js Tooltip plugin options
|
|
27
|
+
/** Chart.js Tooltip plugin options.
|
|
29
28
|
* `footerColor` / `footerFont` / `footerMarginTop` are required for the tooltip's
|
|
30
|
-
* footer slot ("Total: $X" callbacks
|
|
31
|
-
*
|
|
32
|
-
*
|
|
29
|
+
* footer slot (e.g. "Total: $X" callbacks) to render visibly — without them the
|
|
30
|
+
* footer string is emitted but rendered with default body styling and visually
|
|
31
|
+
* blends into the line above. */
|
|
33
32
|
export declare const CHART_JS_TOOLTIP_STYLE: {
|
|
34
33
|
readonly backgroundColor: "#fff";
|
|
35
34
|
readonly titleColor: "#0F172A";
|
package/dist/charts.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, O as m, P as h, R as g, S as _, T as v, U as y, V as b, W as x, X as S, Y as C, Z as ee, _ as te, a as w, b as T, c as ne, d as re, f as ie, g as ae, h as oe, i as se, j as ce, k as le, l as ue, m as de, o as fe, p as pe, q as me, s as E, t as he, u as ge, v as _e, w as ve, x as ye, y as be, z as xe } from "./chart-
|
|
1
|
+
import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, O as m, P as h, R as g, S as _, T as v, U as y, V as b, W as x, X as S, Y as C, Z as ee, _ as te, a as w, b as T, c as ne, d as re, f as ie, g as ae, h as oe, i as se, j as ce, k as le, l as ue, m as de, o as fe, p as pe, q as me, s as E, t as he, u as ge, v as _e, w as ve, x as ye, y as be, z as xe } from "./chart-MKHqrHfu.js";
|
|
2
2
|
import D, { PureComponent as Se, useMemo as O } from "react";
|
|
3
3
|
import { jsx as k, jsxs as A } from "react/jsx-runtime";
|
|
4
4
|
//#region ../../../node_modules/.pnpm/recharts@2.15.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/recharts/es6/shape/Polygon.js
|