@sequenceholdings/atlas-ui 3.4.1 → 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.
@@ -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 = !1, g = !1, _ = !1, v = !1, y = !1, b = Symbol.for("react.module.reference");
2195
- function x(e) {
2196
- return !!(typeof e == "string" || typeof e == "function" || e === r || e === a || y || e === i || e === u || e === d || v || e === m || h || g || _ || typeof e == "object" && e && (e.$$typeof === p || e.$$typeof === f || e.$$typeof === o || e.$$typeof === s || e.$$typeof === l || e.$$typeof === b || e.getModuleId !== void 0));
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 S(e) {
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 C = s, w = o, T = t, E = l, D = r, O = p, k = f, A = n, j = a, M = i, N = u, P = d, ee = !1, F = !1;
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 ee || (ee = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
2243
+ return _(e) === l;
2229
2244
  }
2230
2245
  function ne(e) {
2231
- return F || (F = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
2246
+ return _(e) === r;
2232
2247
  }
2233
2248
  function re(e) {
2234
- return S(e) === s;
2249
+ return _(e) === p;
2235
2250
  }
2236
2251
  function ie(e) {
2237
- return S(e) === o;
2252
+ return _(e) === f;
2238
2253
  }
2239
2254
  function ae(e) {
2240
- return typeof e == "object" && !!e && e.$$typeof === t;
2255
+ return _(e) === n;
2241
2256
  }
2242
2257
  function oe(e) {
2243
- return S(e) === l;
2258
+ return _(e) === a;
2244
2259
  }
2245
2260
  function se(e) {
2246
- return S(e) === r;
2261
+ return _(e) === i;
2247
2262
  }
2248
2263
  function ce(e) {
2249
- return S(e) === p;
2264
+ return _(e) === u;
2250
2265
  }
2251
2266
  function I(e) {
2252
- return S(e) === f;
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
- function de(e) {
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 ? arguments[3] : !1;
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 ? Qn(i, s) : !1;
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
- var n = "__lodash_hash_undefined__";
3728
- function r(e) {
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 = r;
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 = 9007199254740991, r = /^(?:0|[1-9]\d*)$/;
3895
- function i(e, t) {
3896
- var i = typeof e;
3897
- return t ??= n, !!t && (i == "number" || i != "symbol" && r.test(e)) && e > -1 && e % 1 == 0 && e < 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 = i;
3898
+ t.exports = r;
3900
3899
  })), Oo = /* @__PURE__ */ E(((e, t) => {
3901
- var n = 9007199254740991;
3902
- function r(e) {
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 = r;
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 == null ? !1 : n[e] === t && (t !== void 0 || e in Object(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 = 800, r = 16, i = Date.now;
4642
- function a(e) {
4643
- var t = 0, a = 0;
4639
+ var n = Date.now;
4640
+ function r(e) {
4641
+ var t = 0, r = 0;
4644
4642
  return function() {
4645
- var o = i(), s = r - (o - a);
4646
- if (a = o, s > 0) {
4647
- if (++t >= n) return arguments[0];
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 = a;
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 = _ === void 0 ? !1 : _, y = function() {
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 === void 0 ? !1 : 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() {
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 === "y" ? t === "yAxis" : !0;
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 === void 0 ? !1 : s, l = Rb(n, o), u = c ? i.filter(function(e) {
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" ? a(h, g, _) : !1;
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 ? !0 : i, o = e.horizontalPoints;
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 ? !0 : i, o = e.verticalPoints;
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 ? !0 : n, i = e.verticalFill, a = e.fillOpacity, o = e.x, s = e.y, c = e.width, l = e.height, u = e.verticalPoints;
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 ? !0 : E, O = C * 2 + T;
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 = sM(h, e, `${p ?? e?.dataKey ?? e?.name ?? "value"}`), r = p ? t?.label : typeof s == "string" ? h[s]?.label ?? s : s ?? t?.label;
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(r, n)
18252
- }) : r ? /* @__PURE__ */ v("div", {
18249
+ children: c(i, n)
18250
+ }) : i ? /* @__PURE__ */ v("div", {
18253
18251
  className: At("font-medium", l),
18254
- children: r
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 = sM(a, e, `${i ?? e.dataKey ?? "value"}`);
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: [n?.icon && !t ? /* @__PURE__ */ v(n.icon, {}) : /* @__PURE__ */ v("div", {
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: n?.label
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 — aligned with StackedBarChart / TimeseriesLineChart.
27
+ /** Chart.js Tooltip plugin options.
29
28
  * `footerColor` / `footerFont` / `footerMarginTop` are required for the tooltip's
30
- * footer slot ("Total: $X" callbacks on SpendTimeseriesChart, CreditsTab,
31
- * StackedBarChart) to render visibly — without them the footer string is emitted
32
- * but rendered with default body styling and visually blends into the line above. */
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-DeLyjZqf.js";
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
package/dist/index.d.ts CHANGED
@@ -95,7 +95,7 @@ export declare const AlertDialogContent: React_2.ForwardRefExoticComponent<Omit<
95
95
  /**
96
96
  * Classes for the scrim behind the dialog. Pair with `className` when
97
97
  * raising z-index — a lone `className="z-modal"` lifts only the panel and
98
- * leaves the overlay at `z-50` (DES-315). Additive; defaults unchanged.
98
+ * leaves the overlay at `z-50` (DES-315).
99
99
  */
100
100
  overlayClassName?: string;
101
101
  } & React_2.RefAttributes<HTMLDivElement>>;
@@ -366,7 +366,7 @@ export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLBu
366
366
  }
367
367
 
368
368
  export declare const buttonVariants: (props?: ({
369
- variant?: "default" | "link" | "secondary" | "destructive" | "outline" | "ghost" | "submit" | null | undefined;
369
+ variant?: "default" | "link" | "secondary" | "destructive" | "outline" | "ghost" | "row" | "submit" | null | undefined;
370
370
  size?: "default" | "touch" | "sm" | "icon" | "lg" | "xs" | "icon-xs" | "icon-sm" | "icon-lg" | "icon-touch" | null | undefined;
371
371
  } & ClassProp) | undefined) => string;
372
372
 
@@ -474,13 +474,12 @@ export declare function ChartTooltipContent({ active, payload, className, indica
474
474
  * - `size-4` (16px)
475
475
  * - `rounded-badge` (4px) — a square with softened corners, NOT a
476
476
  * circle. This is chosen for its VALUE, not its name: a checkbox is
477
- * not a label about something, but `badge` is the only radius role
478
- * that stays 4px in both flag states, and 4px is the only step that
477
+ * not a label about something, but `badge` is the only 4px radius
478
+ * role, and 4px is the only step that
479
479
  * keeps a 16px box reading as a square. `rounded-control` would make
480
480
  * it a full circle — that is a radio button, not a checkbox — and
481
- * `rounded-surface-nested` (8px) would render it as a 50% pill.
482
- * Kept off the legacy `rounded-xs` so it survives the DES-324
483
- * deletion of the legacy scale (DES-379).
481
+ * `rounded-surface-nested` (8px) would render it as a 50% pill
482
+ * (DES-379).
484
483
  * - Neutral `border-input` when unchecked; flips to `border-primary`
485
484
  * when checked/indeterminate so the outline blends with the fill.
486
485
  * - No drop shadow — consistent with the rest of Atlas's form
@@ -708,8 +707,7 @@ export declare const codeBadgeVariants: (props?: ({
708
707
  * Table-cell wrapper around `CodeBadge` for columns that render literal
709
708
  * strings (version labels, cron expressions, IDs). Kept as a separate export
710
709
  * so column definitions can stay value-oriented (`<CodePillCell value={v} />`)
711
- * rather than wrapping children — but the visual treatment now lives in
712
- * the shared `CodeBadge` primitive.
710
+ * rather than wrapping children; the visual treatment lives in `CodeBadge`.
713
711
  */
714
712
  export declare function CodePillCell({ value, className, }: {
715
713
  value: React_2.ReactNode;
@@ -1040,8 +1038,7 @@ export declare type DefaultTaskStatus = 'todo' | 'in_progress' | 'blocked' | 'do
1040
1038
  * Atlas-specific behaviors:
1041
1039
  * - Portal mounts into the shared Atlas portal container
1042
1040
  * (`usePortalContainer()`), so dialogs trap focus + stacking
1043
- * correctly inside MFEs (chat-admin, inbox, agents) that isolate
1044
- * their own DOM scope.
1041
+ * correctly inside MFEs that isolate their own DOM scope.
1045
1042
  * - Fallback portal root is appended under `document.body` (NOT
1046
1043
  * `documentElement`) — a portal on `<html>` breaks Radix's
1047
1044
  * `aria-hidden` bookkeeping for nested layers.
@@ -1061,7 +1058,7 @@ export declare namespace Dialog {
1061
1058
 
1062
1059
  /**
1063
1060
  * DialogBody — the scrollable body region between DialogHeader and
1064
- * DialogFooter. New in this revision.
1061
+ * DialogFooter.
1065
1062
  *
1066
1063
  * Use this for any dialog with form fields, long content, or anything
1067
1064
  * that might exceed the viewport. For very short dialogs where the
@@ -1089,7 +1086,7 @@ export declare const DialogContent: React_2.ForwardRefExoticComponent<Omit<Dialo
1089
1086
  /**
1090
1087
  * Classes for the scrim behind the dialog. Pair with `className` when
1091
1088
  * raising z-index — a lone `className="z-modal"` lifts only the panel and
1092
- * leaves the overlay at `z-50` (DES-315). Additive; defaults unchanged.
1089
+ * leaves the overlay at `z-50` (DES-315).
1093
1090
  */
1094
1091
  overlayClassName?: string;
1095
1092
  } & React_2.RefAttributes<HTMLDivElement>>;
@@ -1117,7 +1114,7 @@ export declare const DialogOverlay: React_2.ForwardRefExoticComponent<Omit<Dialo
1117
1114
 
1118
1115
  export declare function DialogPortal({ container, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Portal>): JSX.Element;
1119
1116
 
1120
- /** Highest z-index this dialog content claims, at least the inbox dialog floor. */
1117
+ /** Highest z-index this dialog content claims, at least `DIALOG_STACK_FLOOR`. */
1121
1118
  export declare function dialogStackZ({ className }: {
1122
1119
  className?: string;
1123
1120
  }): number;
@@ -1166,7 +1163,7 @@ export declare const DropdownMenuShortcut: {
1166
1163
  * keeps the top menu short and scales as options grow.
1167
1164
  *
1168
1165
  * Reference: `PrincipalRow` / `GroupMembersDetail` role menus. See also
1169
- * `.cursor/rules/design-system.md` ("Overflow menus: nest the option list").
1166
+ * `.cursor/rules/design-system.mdc` ("Overflow menus: nest the option list").
1170
1167
  */
1171
1168
  export declare const DropdownMenuSub: React_2.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
1172
1169
 
@@ -1184,8 +1181,7 @@ export declare function EditorPageHeader({ title, description, actions, classNam
1184
1181
  * EditorPageHeader — section title + description block used at the top of
1185
1182
  * each editor pane (Prompt, Tools, Input Schema, etc.).
1186
1183
  *
1187
- * Replaces the older `<Panel>` Card-wrap pattern with a flat layout that
1188
- * matches the new editor design. Title is 18px (one step up from the
1184
+ * A flat layout (no Card wrap). Title is 18px (one step up from the
1189
1185
  * dashboard's 16px page header), description is 13px secondary text.
1190
1186
  *
1191
1187
  * Pair with `EditorSection` for vertically-stacked content blocks under the
@@ -1917,9 +1913,8 @@ export declare function menuStackStyle({ menuZ, style, }: {
1917
1913
 
1918
1914
  /**
1919
1915
  * Recharts area chart for a metric's record series — the shared primitive behind
1920
- * the metric sparkline (cards) and the metric detail view. Mirrors the Jarvis
1921
- * metric-card chart (gradient area, monotone line) so metric viz reads the same
1922
- * everywhere. Lives in atlas-ui so standalone artifacts can reuse it without
1916
+ * the metric sparkline (cards) and the metric detail view (gradient area,
1917
+ * monotone line), so metric viz reads the same everywhere. Lives in atlas-ui so standalone artifacts can reuse it without
1923
1918
  * pulling chart.js.
1924
1919
  */
1925
1920
  export declare function MetricAreaChart({ points, color, series, stacked, height, variant, valueFormatter, dateFormatter, balanceYAxis, yAxisWidth, integerYAxis, className, }: MetricAreaChartProps): JSX.Element;
@@ -1983,11 +1978,9 @@ declare interface MetricGridProps {
1983
1978
  * Viewport width (px) at or below which Atlas may treat the screen as "mobile".
1984
1979
  * Single source of truth — do not hard-code the breakpoint anywhere else.
1985
1980
  *
1986
- * 640px is deliberately a clean phone/tablet divider: it sits above every
1987
- * phone's portrait width (the largest are ~480px) and below every iPad's
1988
- * portrait width (the smallest, the Mini, is ~744px), so phones pivot and
1989
- * tablets stay on desktop. Avoid 768px — that lands exactly on the historical
1990
- * iPad-portrait width and ambiguously catches the Mini.
1981
+ * 640px is deliberately above phone portrait widths. iPads are detected
1982
+ * separately because BankSouth's iPad workflow uses the mobile shell in both
1983
+ * orientations, including when iPadOS advertises a desktop-style Mac UA.
1991
1984
  */
1992
1985
  export declare const MOBILE_BREAKPOINT_PX = 640;
1993
1986
 
@@ -2406,7 +2399,7 @@ declare interface ProColumnMetaBase {
2406
2399
  * toggle, delete button). Clicks anywhere in the cell — including the
2407
2400
  * padding around the control — stop at the cell instead of bubbling to
2408
2401
  * the row's `onRowClick`, so a near-miss on the control can't navigate
2409
- * away. The control itself no longer needs its own `stopPropagation`.
2402
+ * away. The control itself needs no `stopPropagation` of its own.
2410
2403
  */
2411
2404
  interactive?: boolean;
2412
2405
  /**
@@ -2876,11 +2869,19 @@ declare interface RowAction {
2876
2869
  hidden?: boolean;
2877
2870
  }
2878
2871
 
2879
- export declare function scoreBand(value: number): 'green' | 'amber' | 'red';
2872
+ export declare function scoreBand(value: number, bands?: ScoreBands): 'green' | 'amber' | 'red';
2880
2873
 
2881
- export declare function ScoreBarCell({ value, className, }: {
2874
+ /** Lower bounds (inclusive) of the green (`pass`) and amber (`partial`) bands. */
2875
+ declare type ScoreBands = {
2876
+ pass: number;
2877
+ partial: number;
2878
+ };
2879
+
2880
+ export declare function ScoreBarCell({ value, className, bands, }: {
2882
2881
  value: number | null | undefined;
2883
2882
  className?: string;
2883
+ /** Band thresholds; defaults to `DEFAULT_SCORE_BANDS` (0.78 / 0.5). */
2884
+ bands?: ScoreBands;
2884
2885
  }): JSX.Element;
2885
2886
 
2886
2887
  export declare const ScrollArea: React_2.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
@@ -3528,8 +3529,8 @@ export declare interface TaskListProps<T extends TaskListItem> {
3528
3529
  /**
3529
3530
  * Fires with the post-search / post-filter / post-"My Tasks" visible set
3530
3531
  * whenever it changes. The list owns those controls internally, so a
3531
- * consumer that needs the live visible scope (e.g. publishing a Jarvis
3532
- * chat-view snapshot) can't derive it from `tasks` — this surfaces it.
3532
+ * consumer that needs the live visible scope (e.g. publishing a chat-view
3533
+ * snapshot) can't derive it from `tasks` — this surfaces it.
3533
3534
  */
3534
3535
  onVisibleTasksChange?: (visible: T[]) => void;
3535
3536
  /**
@@ -3652,13 +3653,10 @@ export declare interface TaskRowProps {
3652
3653
  */
3653
3654
  onDelete?: () => void;
3654
3655
  /**
3655
- * Suppress the owner avatar regardless of `ownerEmail`. Used by
3656
- * surfaces where every row is already implicitly scoped to the
3657
- * caller (MyWeek's per-card task list — every card and task on it
3658
- * belongs to the signed-in user, so repeating the same JJ pip on
3659
- * every row is pure chrome). The avatar still renders by default;
3660
- * surfaces with mixed-owner task lists (Tasks tab, HypothesisDetail)
3661
- * leave this off.
3656
+ * Suppress the owner avatar regardless of `ownerEmail`. For surfaces
3657
+ * where every row is already implicitly scoped to the caller, so
3658
+ * repeating the same avatar on every row is pure chrome. Mixed-owner
3659
+ * task lists leave this off.
3662
3660
  */
3663
3661
  hideOwner?: boolean;
3664
3662
  /**
@@ -3771,10 +3769,8 @@ export declare type TextareaProps = React_2.ComponentProps<"textarea"> & Textare
3771
3769
  * Provides a themeable container + tooltip/legend chrome so charts across
3772
3770
  * Atlas share one styling contract instead of each app hand-rolling recharts
3773
3771
  * markup. New charts should compose `ChartContainer` + a `ChartConfig` and let
3774
- * this primitive resolve colors from the `--chart-*` design tokens.
3775
- *
3776
- * Jarvis is migrating its bespoke recharts usage onto this primitive — prefer
3777
- * it over importing recharts directly in new code.
3772
+ * this primitive resolve colors from the `--chart-*` design tokens. Prefer it
3773
+ * over importing recharts directly in new code.
3778
3774
  */
3779
3775
  declare const THEMES: {
3780
3776
  readonly light: "";
@@ -4026,8 +4022,8 @@ export declare function useAppClassName(): string | undefined;
4026
4022
  * workstream object to one side's owner rows); the mapper is read from a ref so
4027
4023
  * passing an inline closure doesn't trigger spurious resyncs.
4028
4024
  *
4029
- * Extracted from `inline-text-cell.tsx`; the shared layer for every inline
4030
- * editor (text cells, owner pickers, date cells, …).
4025
+ * The shared layer for every inline editor (text cells, owner pickers, date
4026
+ * cells, …).
4031
4027
  */
4032
4028
  export declare function useEditableDraft<TValue, TDraft = TValue>(params: {
4033
4029
  value: TValue;
@@ -4046,12 +4042,14 @@ export declare interface UseEditableDraftResult<TDraft> {
4046
4042
  }
4047
4043
 
4048
4044
  /**
4049
- * Returns `true` only when the viewport is narrow (at or below
4050
- * {@link MOBILE_BREAKPOINT_PX}) **and** the primary pointer is coarse (touch).
4045
+ * Returns `true` for iPads in either orientation, or when the viewport is
4046
+ * narrow (at or below {@link MOBILE_BREAKPOINT_PX}) and the primary pointer
4047
+ * is coarse (touch).
4051
4048
  *
4052
- * This is the canonical "show the mobile UI" gate. It is capability-based, not
4053
- * user-agent-based: a narrow desktop window driven by a mouse stays on desktop,
4054
- * while a phone/tablet (or an iPad masquerading as desktop in its UA) pivots.
4049
+ * This is the canonical "show the mobile UI" gate. Narrow-phone support uses
4050
+ * viewport and pointer capabilities; iPad support uses its UA or the
4051
+ * desktop-class iPadOS combination of a MacIntel platform and touch points.
4052
+ * A narrow desktop window driven by a mouse stays on desktop.
4055
4053
  * On the server it returns `false` (assume desktop) and re-gates on the client
4056
4054
  * after hydration; gated surfaces should tolerate a one-frame flash.
4057
4055
  *
@@ -4136,7 +4134,7 @@ export declare interface UseOptimisticListParams<TCache, TVariables, TResult> {
4136
4134
  /**
4137
4135
  * Optimistic mutation over a single React Query cache entry.
4138
4136
  *
4139
- * Encapsulates the full lifecycle the Jarvis playbook prescribes:
4137
+ * Encapsulates the full optimistic lifecycle:
4140
4138
  * `onMutate` cancels in-flight queries, snapshots the entry, and applies an
4141
4139
  * optimistic patch; `onError` rolls back to the snapshot; `onSuccess`
4142
4140
  * reconciles from the server result (or trusts the patch); and settle does NOT
@@ -4176,9 +4174,8 @@ export declare interface UseOptimisticResourceParams<TData, TVariables, TResult>
4176
4174
  /**
4177
4175
  * Invalidate the PATCHED key on settle. Defaults to `false`: invalidating a
4178
4176
  * key you just optimistically patched re-runs its query and lets a stale
4179
- * in-flight response overwrite the patch for a frame — the flash-back the
4180
- * Jarvis frontend-mutations playbook warns against. Only enable when you
4181
- * cannot reconcile from the server result.
4177
+ * in-flight response overwrite the patch for a frame (flash-back). Only
4178
+ * enable when you cannot reconcile from the server result.
4182
4179
  */
4183
4180
  invalidateOnSettle?: boolean;
4184
4181
  /**
@@ -4245,9 +4242,7 @@ export declare interface UserAvatarProps {
4245
4242
  colorKey?: string;
4246
4243
  /**
4247
4244
  * Optional explicit initials (e.g. "AR", "ML"). Use when the displayed
4248
- * `name` is a single token but you want a two-letter avatar — common in
4249
- * Jarvis where `emailToName()` returns just the first name from the
4250
- * TEAM roster. Falls back to deriving from `name` when omitted, which
4245
+ * `name` is a single token but you want a two-letter avatar. Falls back to deriving from `name` when omitted, which
4251
4246
  * yields a single letter for one-word names.
4252
4247
  */
4253
4248
  initials?: string;
@@ -4294,28 +4289,11 @@ export declare interface UserChipUser {
4294
4289
  initials?: string;
4295
4290
  }
4296
4291
 
4297
- /**
4298
- * Resolve a `ParsedDate` (year/month/day, any of which may be null)
4299
- * into a concrete `Date`, using the reference date and `dayDefault`
4300
- * to fill in the missing pieces.
4301
- *
4302
- * Decisions:
4303
- * - Missing day: 1st of the month for `start`, last day for `end`.
4304
- * - Missing month: January (start) or December (end).
4305
- * - Missing year: current year, unless picking that year would put
4306
- * the date in the future for "bare month" inputs — in which case
4307
- * we fall back to the prior year (matches Mercury's behaviour for
4308
- * "Dec" entered in July).
4309
- *
4310
- * Returns `null` if the resulting date doesn't actually exist (e.g.
4311
- * "Feb 30 2024" was typed).
4312
- */
4313
4292
  /**
4314
4293
  * Direction the parser leans when a year is missing from the user's
4315
- * input. Default is `'past'` — matches the original retrospective bias
4316
- * (`"Dec"` in July → last December). Forward-planning surfaces (due
4317
- * dates, scheduling) pass `'future'` so `"Jun 8"` in May reads as the
4318
- * upcoming June 8 instead of last year's.
4294
+ * input. Default is `'past'` (`"Dec"` in July → last December).
4295
+ * Forward-planning surfaces (due dates, scheduling) pass `'future'` so
4296
+ * `"Jun 8"` in May reads as the upcoming June 8 instead of last year's.
4319
4297
  */
4320
4298
  declare type YearBias = 'past' | 'future';
4321
4299