@mechane-ai/elements 0.48.0 → 0.49.1
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/README.md +40 -2
- package/dist/ai.js +5 -5
- package/dist/{article-BXZr10QQ.js → article-CRlhq9oA.js} +532 -464
- package/dist/article.js +1 -1
- package/dist/catalog.json +243 -1
- package/dist/{categorical-values-BpVq8cFj.js → categorical-values-BYP_R5gS.js} +13 -13
- package/dist/{cells-xVmnQ9oQ.js → cells-CNZE4us2.js} +2 -2
- package/dist/charts/cartesian.js +1 -1
- package/dist/charts/cells.js +1 -1
- package/dist/charts/comparison.js +1 -1
- package/dist/charts/distribution.js +1 -1
- package/dist/charts/figure.js +12 -12
- package/dist/charts/graph.js +1 -1
- package/dist/charts/hierarchy.js +1 -1
- package/dist/charts/image.js +1 -1
- package/dist/charts/matrix.js +1 -1
- package/dist/charts/plot.js +7 -7
- package/dist/charts/relationship.js +1 -1
- package/dist/charts/text.js +1 -1
- package/dist/charts/timeline.js +1 -1
- package/dist/charts/trend.js +1 -1
- package/dist/charts.js +7 -7
- package/dist/{code-block-DioAM2bZ.js → code-block-BZsY2sh3.js} +1 -1
- package/dist/collections.js +1 -1
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +3 -3
- package/dist/content/link.js +1 -1
- package/dist/content/markdown.js +2 -2
- package/dist/content/tree.js +1 -1
- package/dist/{content-link-NWuHp5rC.js → content-link-PnpcnTCx.js} +1 -1
- package/dist/content.js +1 -1
- package/dist/{dates-Cww8UR_n.js → dates-ckJdYF7t.js} +1 -1
- package/dist/{dumbbell-plot-DQdTxDeO.js → dumbbell-plot-B-Tn7ewW.js} +49 -48
- package/dist/{embedding-map-CF-J-8JW.js → embedding-map-Bljn-A5q.js} +533 -533
- package/dist/feedback.js +1 -1
- package/dist/figure-frame-CEijciL7.js +289 -0
- package/dist/forms/dates.js +1 -1
- package/dist/forms.js +3 -3
- package/dist/{image-grid-Dl2sjIMB.js → image-grid-mrG5u9oE.js} +49 -49
- package/dist/index.js +1 -1
- package/dist/kits/evaluation.js +5 -5
- package/dist/kits/interpretability.js +320 -302
- package/dist/kits/operations.js +6 -6
- package/dist/kits/research.js +558 -0
- package/dist/kits/training.js +6 -6
- package/dist/layout.js +205 -110
- package/dist/lesson/spec.js +11 -11
- package/dist/lesson.js +4 -4
- package/dist/mdx.js +6 -6
- package/dist/navigation.js +2 -2
- package/dist/packages/charts/src/cartesian/index.d.ts +1 -1
- package/dist/packages/charts/src/cartesian/scatter-plot.d.ts +18 -0
- package/dist/packages/charts/src/chart-theme.d.ts +1 -1
- package/dist/packages/charts/src/figure/caption-scope.d.ts +12 -0
- package/dist/packages/charts/src/figure/figure-frame.d.ts +2 -1
- package/dist/packages/charts/src/index.d.ts +2 -0
- package/dist/packages/charts/src/plot/plot-surface.d.ts +3 -1
- package/dist/packages/collections/src/index.d.ts +1 -1
- package/dist/packages/collections/src/metrics.d.ts +9 -1
- package/dist/packages/content/src/index.d.ts +2 -0
- package/dist/packages/content/src/text-match.d.ts +22 -0
- package/dist/packages/core/src/index.d.ts +1 -0
- package/dist/packages/core/src/surfaces.d.ts +12 -2
- package/dist/packages/forms/src/index.d.ts +2 -0
- package/dist/packages/forms/src/token-input.d.ts +24 -0
- package/dist/packages/kits/src/interpretability/index.d.ts +1 -1
- package/dist/packages/kits/src/interpretability/logit-lens.d.ts +10 -1
- package/dist/packages/kits/src/research/finding-card.d.ts +43 -0
- package/dist/packages/kits/src/research/index.d.ts +8 -0
- package/dist/packages/kits/src/research/milestone-path.d.ts +36 -0
- package/dist/packages/kits/src/research/specimen-diff.d.ts +41 -0
- package/dist/packages/kits/src/research/work-heartbeat.d.ts +34 -0
- package/dist/packages/layout/src/figure-grid.d.ts +8 -0
- package/dist/packages/layout/src/index.d.ts +4 -1
- package/dist/packages/layout/src/sidebar.d.ts +7 -0
- package/dist/packages/layout/src/workbench.d.ts +4 -1
- package/dist/packages/teaching/src/article/article-context.d.ts +2 -0
- package/dist/packages/teaching/src/article/article-layout.stylex.d.ts +13 -0
- package/dist/packages/teaching/src/article/article.d.ts +6 -1
- package/dist/packages/teaching/src/article/figure.d.ts +20 -3
- package/dist/packages/teaching/src/article/index.d.ts +1 -1
- package/dist/packages/teaching/src/article/view-essay.d.ts +2 -1
- package/dist/packages/teaching/src/lesson/define-lesson.d.ts +4 -0
- package/dist/packages/teaching/src/lesson/index.d.ts +2 -2
- package/dist/packages/teaching/src/lesson/lesson-player.d.ts +19 -3
- package/dist/packages/teaching/src/lesson/lesson-store.d.ts +2 -0
- package/dist/packages/teaching/src/lesson/playback.d.ts +9 -6
- package/dist/packages/teaching/src/lesson/use-lesson.d.ts +7 -2
- package/dist/packages/teaching/src/scene/plane/plane-labels.d.ts +4 -1
- package/dist/packages/teaching/src/scene/plane/scene-point.d.ts +5 -6
- package/dist/packages/teaching/src/scene/scene-geometry.d.ts +1 -1
- package/dist/packages/teaching/src/scene/scene-node.d.ts +4 -1
- package/dist/packages/teaching/src/scene/scene-validate.d.ts +6 -0
- package/dist/packages/teaching/src/scene/scene-wire.d.ts +6 -1
- package/dist/packages/teaching/src/scene/scene.d.ts +1 -1
- package/dist/packages/teaching/src/scene/shapes/cell-grid.d.ts +5 -1
- package/dist/packages/teaching/src/scene/shapes/scene-cells.d.ts +1 -1
- package/dist/packages/teaching/src/scene/shapes/scene-slot.d.ts +1 -1
- package/dist/packages/teaching/src/time/tween.d.ts +2 -0
- package/dist/{param-CqKUTHaO.js → param-BdqTpZER.js} +175 -108
- package/dist/{pierre-diff-DlvjyuJn.js → pierre-diff-aGyQK5xK.js} +1 -1
- package/dist/{plot-axes-DJkLW4wk.js → plot-axes-D5S9BnBa.js} +1 -1
- package/dist/{plot-layout-CZVSJ-le.js → plot-layout-B2xRt-_k.js} +146 -132
- package/dist/{plot-marks-uozcbOIX.js → plot-marks-FVsbFkUs.js} +3 -3
- package/dist/{plot-surface-CbVBvgqZ.js → plot-surface-0cKFwtws.js} +11 -11
- package/dist/{plot-width-DcqtSgzb.js → plot-width-D3hTycYX.js} +1 -1
- package/dist/{reference-lines-BDcttOp0.js → reference-lines-nSxcZVF5.js} +2 -2
- package/dist/{scene-0z2gbaDE.js → scene-BwJKueD6.js} +1228 -1126
- package/dist/scene.js +1 -1
- package/dist/{slope-chart-BKVEAVCs.js → slope-chart-CGTYbFxi.js} +182 -182
- package/dist/{src-CpdJlDhO.js → src-9EJskqB_.js} +73 -31
- package/dist/{src-Dcfq8vE4.js → src-B2rgpWap.js} +48 -14
- package/dist/{src-BPTDJqt0.js → src-Ci8DeY8J.js} +1 -1
- package/dist/{src-CGc_hjxJ.js → src-DFW49IAs.js} +143 -111
- package/dist/{src-BD6xlvDt.js → src-Dxs3Buo_.js} +203 -137
- package/dist/{src-CExIrXPC.js → src-npqwq3Sa.js} +1 -1
- package/dist/styles2.css +136 -17
- package/dist/{time-series-BgzGNOk0.js → time-series-Dh8y5ba0.js} +1018 -944
- package/dist/{token-heatmap-BrW1OsKD.js → token-heatmap-BTrZ3-N4.js} +86 -86
- package/dist/{token-predictions-yerq_Oet.js → token-predictions-CUe4junQ.js} +129 -129
- package/dist/{transport-BJweqDPj.js → transport-4V9rfYHN.js} +291 -246
- package/dist/{tree-diagram-D09BRqE-.js → tree-diagram-Dpqmo-fh.js} +118 -118
- package/dist/{treemap-CW4WsJNL.js → treemap-BUSaVD3m.js} +28 -28
- package/dist/use-tween-BsaEO862.js +10 -0
- package/dist/{violin-plot-DrtPZ1-T.js → violin-plot-BxaLwdRi.js} +126 -126
- package/dist/{waterfall-DYLSnGjm.js → waterfall-CcDMdKec.js} +43 -43
- package/package.json +5 -1
- package/recipes/counting-cards.tsx +3 -3
- package/skills/review-explainer/SKILL.md +2 -1
- package/skills/upgrade-elements/references/releases.md +61 -0
- package/skills/use-elements/SKILL.md +3 -1
- package/skills/use-elements/references/kits.md +7 -6
- package/skills/use-elements/references/styling.md +23 -0
- package/skills/use-elements/references/teaching.md +13 -0
- package/skills/write-explainer/references/article.md +50 -2
- package/skills/write-explainer/references/lesson.md +18 -9
- package/skills/write-explainer/references/scene-parts.md +17 -12
- package/skills/write-explainer/references/scene.md +25 -3
- package/dist/figure-frame-BJ3REgTA.js +0 -270
- package/dist/use-tween-5HZ55_9d.js +0 -72
|
@@ -1545,31 +1545,73 @@ var Ae = {
|
|
|
1545
1545
|
kiEn40: "x8fq8g9",
|
|
1546
1546
|
$$css: !0
|
|
1547
1547
|
} };
|
|
1548
|
-
function Ne({
|
|
1549
|
-
return /* @__PURE__ */
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1548
|
+
function Ne({ title: e, index: t, meta: n }) {
|
|
1549
|
+
return /* @__PURE__ */ v("header", {
|
|
1550
|
+
className: "x78zum5 x6s0dn4 x1qughib x1hnptsi xu97haq x1m92p3w x1hmw7ec xso031l x1q0q8m5 x1qndepd x1r7kqkb",
|
|
1551
|
+
children: [/* @__PURE__ */ v("div", {
|
|
1552
|
+
className: "x78zum5 x6s0dn4 x1hnptsi xeuugli",
|
|
1553
|
+
children: [t !== void 0 && /* @__PURE__ */ _("span", {
|
|
1554
|
+
className: "x3nfvp2 x6s0dn4 xl56j7k xt4ypqs x1qx5ct2 x14w6jbu x1ok0vyi x1pt885t x1ymx3u3 xiard35 xy8obcc xk4h15q xo5v014 x2lah0s",
|
|
1555
|
+
children: t
|
|
1556
|
+
}), e !== void 0 && /* @__PURE__ */ _("span", {
|
|
1557
|
+
className: "xy8obcc xas2l8k xk4h15q xbixft xb3r6kr xlyipyv xuxw1ft",
|
|
1558
|
+
children: e
|
|
1559
|
+
})]
|
|
1560
|
+
}), n !== void 0 && /* @__PURE__ */ _("div", {
|
|
1561
|
+
className: "x78zum5 x6s0dn4 x1hnptsi x153jb6y xy8obcc xas2l8k x2lah0s",
|
|
1562
|
+
children: n
|
|
1563
|
+
})]
|
|
1564
|
+
});
|
|
1553
1565
|
}
|
|
1554
|
-
function Pe({
|
|
1566
|
+
function Pe({ isPadded: e = !0, title: t, index: n, meta: r, footer: i, isFlush: a = !1, children: o, ...s }) {
|
|
1567
|
+
let l = t !== void 0 || n !== void 0 || r !== void 0, u = l || i !== void 0, d = e && !a;
|
|
1568
|
+
return u ? /* @__PURE__ */ v("section", {
|
|
1569
|
+
...c({ className: "xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi xpvm0e4 xb3r6kr x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft xvmahel" }, s),
|
|
1570
|
+
children: [
|
|
1571
|
+
l && /* @__PURE__ */ _(Ne, {
|
|
1572
|
+
title: t,
|
|
1573
|
+
index: n,
|
|
1574
|
+
meta: r
|
|
1575
|
+
}),
|
|
1576
|
+
/* @__PURE__ */ _("div", {
|
|
1577
|
+
...{
|
|
1578
|
+
0: { className: "xeuugli" },
|
|
1579
|
+
1: { className: "xeuugli x1jvlu93" }
|
|
1580
|
+
}[!!d | 0],
|
|
1581
|
+
children: o
|
|
1582
|
+
}),
|
|
1583
|
+
i !== void 0 && /* @__PURE__ */ _("footer", {
|
|
1584
|
+
className: "x1m92p3w xn9t2bk x178xt8z x13fuv20 xhjagg4 x1r7kqkb x153jb6y xy8obcc xas2l8k",
|
|
1585
|
+
children: i
|
|
1586
|
+
})
|
|
1587
|
+
]
|
|
1588
|
+
}) : /* @__PURE__ */ _("section", {
|
|
1589
|
+
...c({
|
|
1590
|
+
0: { className: "xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi xpvm0e4 xb3r6kr x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft xvmahel" },
|
|
1591
|
+
1: { className: "xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi xpvm0e4 xb3r6kr x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft xvmahel x1jvlu93" }
|
|
1592
|
+
}[!!d | 0], s),
|
|
1593
|
+
children: o
|
|
1594
|
+
});
|
|
1595
|
+
}
|
|
1596
|
+
function Fe({ xstyle: e, ...t }) {
|
|
1555
1597
|
return /* @__PURE__ */ _(j, { ...c(a.props(Me.link, e), t) });
|
|
1556
1598
|
}
|
|
1557
|
-
function
|
|
1599
|
+
function Ie({ shouldSpaceBetween: e = !1, ...t }) {
|
|
1558
1600
|
return /* @__PURE__ */ _("div", { ...c({
|
|
1559
1601
|
0: { className: "x78zum5 x6s0dn4 x1hnptsi x1a02dak xeuugli" },
|
|
1560
1602
|
1: { className: "x78zum5 x6s0dn4 x1hnptsi x1a02dak xeuugli x1qughib" }
|
|
1561
1603
|
}[!!e | 0], t) });
|
|
1562
1604
|
}
|
|
1563
|
-
function
|
|
1605
|
+
function Le({ isCompact: e = !1, ...t }) {
|
|
1564
1606
|
return /* @__PURE__ */ _("div", { ...c({
|
|
1565
1607
|
0: { className: "x78zum5 xdt5ytf x1j825kq xeuugli" },
|
|
1566
1608
|
1: { className: "x78zum5 xdt5ytf xeuugli x1hnptsi" }
|
|
1567
1609
|
}[!!e | 0], t) });
|
|
1568
1610
|
}
|
|
1569
|
-
function
|
|
1611
|
+
function Re(e) {
|
|
1570
1612
|
return /* @__PURE__ */ _("div", { ...c({ className: "xrvj5dj xhuszhj x1m6b44x xeuugli" }, e) });
|
|
1571
1613
|
}
|
|
1572
|
-
function
|
|
1614
|
+
function ze(e) {
|
|
1573
1615
|
return /* @__PURE__ */ _("hr", { ...c({ className: "xc342km x178xt8z x1y0btm7 x1ey3b81 x1ghz6dp" }, e) });
|
|
1574
1616
|
}
|
|
1575
1617
|
// packages/foundations/src/header-styles.ts
|
|
@@ -1659,7 +1701,7 @@ var Z = {
|
|
|
1659
1701
|
kloYau: "x2q1x1w",
|
|
1660
1702
|
$$css: !0
|
|
1661
1703
|
}
|
|
1662
|
-
},
|
|
1704
|
+
}, Be = { root: {
|
|
1663
1705
|
kOIVth: "x1n8ia3y",
|
|
1664
1706
|
kWkggS: "x1r7kqkb",
|
|
1665
1707
|
kMwMTN: "xbixft",
|
|
@@ -1668,7 +1710,7 @@ var Z = {
|
|
|
1668
1710
|
kLWn49: "x1778rvt",
|
|
1669
1711
|
$$css: !0
|
|
1670
1712
|
} };
|
|
1671
|
-
function
|
|
1713
|
+
function Ve({ title: e, id: t, meta: n, actions: r }) {
|
|
1672
1714
|
let i = u.toArray(n).length > 0, o = u.toArray(r).length > 0, s = i || o, c = i && /* @__PURE__ */ _("div", {
|
|
1673
1715
|
...a.props(Z.meta),
|
|
1674
1716
|
children: n
|
|
@@ -1677,7 +1719,7 @@ function Be({ title: e, id: t, meta: n, actions: r }) {
|
|
|
1677
1719
|
children: r
|
|
1678
1720
|
});
|
|
1679
1721
|
return /* @__PURE__ */ v("div", {
|
|
1680
|
-
...a.props(Z.row, Z.blockEnd,
|
|
1722
|
+
...a.props(Z.row, Z.blockEnd, Be.root),
|
|
1681
1723
|
children: [/* @__PURE__ */ _("h2", {
|
|
1682
1724
|
id: t,
|
|
1683
1725
|
...a.props(Z.title),
|
|
@@ -1789,54 +1831,54 @@ var Q = {
|
|
|
1789
1831
|
kMwMTN: "xr5kp14",
|
|
1790
1832
|
$$css: !0
|
|
1791
1833
|
}
|
|
1792
|
-
},
|
|
1834
|
+
}, He = {
|
|
1793
1835
|
body: Q.body,
|
|
1794
1836
|
caption: Q.caption,
|
|
1795
1837
|
mono: Q.mono,
|
|
1796
1838
|
prose: Q.prose
|
|
1797
|
-
},
|
|
1839
|
+
}, Ue = {
|
|
1798
1840
|
ink: Q.ink,
|
|
1799
1841
|
muted: Q.muted
|
|
1800
|
-
},
|
|
1842
|
+
}, We = {
|
|
1801
1843
|
neutral: Q.neutral,
|
|
1802
1844
|
positive: Q.positive,
|
|
1803
1845
|
warning: Q.warning,
|
|
1804
1846
|
negative: Q.negative
|
|
1805
|
-
},
|
|
1847
|
+
}, Ge = {
|
|
1806
1848
|
neutral: Q.neutralIcon,
|
|
1807
1849
|
positive: Q.positiveIcon,
|
|
1808
1850
|
warning: Q.warningIcon,
|
|
1809
1851
|
negative: Q.negativeIcon
|
|
1810
|
-
},
|
|
1852
|
+
}, Ke = {
|
|
1811
1853
|
neutral: w,
|
|
1812
1854
|
positive: T,
|
|
1813
1855
|
warning: ee,
|
|
1814
1856
|
negative: E
|
|
1815
1857
|
};
|
|
1816
|
-
function
|
|
1817
|
-
return /* @__PURE__ */ _("span", { ...c(a.props(Q.text,
|
|
1858
|
+
function $({ variant: e = "body", tone: t = "ink", xstyle: n, ...r }) {
|
|
1859
|
+
return /* @__PURE__ */ _("span", { ...c(a.props(Q.text, He[e], Ue[t], n), r) });
|
|
1818
1860
|
}
|
|
1819
|
-
function
|
|
1861
|
+
function qe({ isCompact: e = !1, ...t }) {
|
|
1820
1862
|
return /* @__PURE__ */ _("h1", { ...c({
|
|
1821
1863
|
0: { className: "x1ghz6dp x1hz01jw xvmahel xc0f4dz xvukjed xzju6ct x1vxm5eg x1b5ytql x1wjjqco xbixft xj0a0fe" },
|
|
1822
1864
|
1: { className: "x1ghz6dp x1hz01jw xvmahel x1i2cqwi x4fansv x1b5ytql xbixft xj0a0fe" }
|
|
1823
1865
|
}[!!e | 0], t) });
|
|
1824
1866
|
}
|
|
1825
|
-
function
|
|
1867
|
+
function Je(e) {
|
|
1826
1868
|
return /* @__PURE__ */ _("h2", { ...c({ className: "x1ghz6dp x1hz01jw xvmahel x1i2cqwi x4fansv x1b5ytql xbixft xj0a0fe" }, e) });
|
|
1827
1869
|
}
|
|
1828
|
-
function
|
|
1870
|
+
function Ye(e) {
|
|
1829
1871
|
return /* @__PURE__ */ _("p", { ...c({ className: "x1ghz6dp x1hz01jw xj57cvi xvmahel xj0a0fe xtqrqnz x1778rvt x153jb6y" }, e) });
|
|
1830
1872
|
}
|
|
1831
|
-
function
|
|
1873
|
+
function Xe(e) {
|
|
1832
1874
|
return /* @__PURE__ */ _("span", { ...c({ className: "x1ghz6dp xj57cvi xvmahel xiard35 xy8obcc x1778rvt xj0a0fe x153jb6y" }, e) });
|
|
1833
1875
|
}
|
|
1834
|
-
function
|
|
1876
|
+
function Ze(e) {
|
|
1835
1877
|
return /* @__PURE__ */ _("pre", { ...c({ className: "x1ghz6dp x1hz01jw xj57cvi xvmahel x1ewvobj x126k92a xj0a0fe x12myhf4 x1ytb0s6 xbixft" }, e) });
|
|
1836
1878
|
}
|
|
1837
|
-
function
|
|
1879
|
+
function Qe({ children: e, tone: t = "neutral", ...n }) {
|
|
1838
1880
|
return /* @__PURE__ */ v("span", {
|
|
1839
|
-
...c(a.props(Q.badge,
|
|
1881
|
+
...c(a.props(Q.badge, We[t]), n),
|
|
1840
1882
|
children: [/* @__PURE__ */ _(w, {
|
|
1841
1883
|
size: 5,
|
|
1842
1884
|
fill: "currentColor",
|
|
@@ -1848,18 +1890,18 @@ function Ze({ children: e, tone: t = "neutral", ...n }) {
|
|
|
1848
1890
|
})]
|
|
1849
1891
|
});
|
|
1850
1892
|
}
|
|
1851
|
-
function
|
|
1852
|
-
let r =
|
|
1893
|
+
function $e({ children: e, tone: t = "neutral", ...n }) {
|
|
1894
|
+
let r = Ke[t];
|
|
1853
1895
|
return /* @__PURE__ */ v("span", {
|
|
1854
1896
|
...c({ className: "x3nfvp2 x6s0dn4 xbgj81g xbixft x1hz01jw xvmahel xtqrqnz x1778rvt xj57cvi x193iq5w" }, n),
|
|
1855
1897
|
children: [/* @__PURE__ */ _(r, {
|
|
1856
1898
|
size: 14,
|
|
1857
1899
|
"aria-hidden": !0,
|
|
1858
|
-
...a.props(Q.statusIcon,
|
|
1900
|
+
...a.props(Q.statusIcon, Ge[t])
|
|
1859
1901
|
}), /* @__PURE__ */ _("span", {
|
|
1860
1902
|
className: "xeuugli xj0a0fe",
|
|
1861
1903
|
children: e
|
|
1862
1904
|
})]
|
|
1863
1905
|
});
|
|
1864
1906
|
}
|
|
1865
|
-
export { ae as A, W as C, z as D, se as E, oe as O, ue as S, R as T, Ae as _,
|
|
1907
|
+
export { ae as A, W as C, z as D, se as E, oe as O, ue as S, R as T, Ae as _, Ze as a, pe as b, $ as c, Re as d, ze as f, Fe as g, Le as h, Ye as i, j, ie as k, Ve as l, Ie as m, qe as n, $e as o, Pe as p, Xe as r, Je as s, Qe as t, Z as u, je as v, H as w, J as x, ve as y };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as e, T as t, c as n, i as r, m as i, u as a, v as o } from "./src-
|
|
2
|
-
import {
|
|
1
|
+
import { D as e, T as t, c as n, i as r, m as i, u as a, v as o } from "./src-9EJskqB_.js";
|
|
2
|
+
import { c as s } from "./src-Dxs3Buo_.js";
|
|
3
3
|
import { i as c, r as l, t as u } from "./src-na2DdkKI.js";
|
|
4
|
-
import { d } from "./src-
|
|
4
|
+
import { d } from "./src-npqwq3Sa.js";
|
|
5
5
|
import { l as f, t as ee } from "./constants.stylex-CqhVl0uU.js";
|
|
6
6
|
import { t as te } from "./accessibility-P89UG9-r.js";
|
|
7
7
|
import { t as ne } from "./use-scroll-tab-index-Dxpdh4W7.js";
|
|
@@ -2065,6 +2065,30 @@ var $ = {
|
|
|
2065
2065
|
inlineDetail: {
|
|
2066
2066
|
kCS8Yb: "x1l7klhg",
|
|
2067
2067
|
$$css: !0
|
|
2068
|
+
},
|
|
2069
|
+
change: {
|
|
2070
|
+
k1xSpc: "x3nfvp2",
|
|
2071
|
+
kGNEyG: "x6s0dn4",
|
|
2072
|
+
k8WAf4: "x10dazmo",
|
|
2073
|
+
kg3NbH: "x14w6jbu",
|
|
2074
|
+
kaIpWk: "x1ok0vyi",
|
|
2075
|
+
kGuDYH: "xy8obcc",
|
|
2076
|
+
kLWn49: "xas2l8k",
|
|
2077
|
+
k63SB2: "xk4h15q",
|
|
2078
|
+
kcqcaj: "xss6m8b",
|
|
2079
|
+
kWkggS: "x1r7kqkb",
|
|
2080
|
+
kMwMTN: "x153jb6y",
|
|
2081
|
+
$$css: !0
|
|
2082
|
+
},
|
|
2083
|
+
changePositive: {
|
|
2084
|
+
kWkggS: "x1r8u7ye",
|
|
2085
|
+
kMwMTN: "x7ixh4y",
|
|
2086
|
+
$$css: !0
|
|
2087
|
+
},
|
|
2088
|
+
changeNegative: {
|
|
2089
|
+
kWkggS: "xcqwzn",
|
|
2090
|
+
kMwMTN: "xr5kp14",
|
|
2091
|
+
$$css: !0
|
|
2068
2092
|
}
|
|
2069
2093
|
}, Gt = {
|
|
2070
2094
|
inline: {
|
|
@@ -2095,26 +2119,36 @@ var $ = {
|
|
|
2095
2119
|
function qt({ layout: e = "inline", ...t }) {
|
|
2096
2120
|
return /* @__PURE__ */ N("dl", { ..._(m.props(Kt[e]), t) });
|
|
2097
2121
|
}
|
|
2098
|
-
function Jt({ label: e, value: t, detail: n,
|
|
2099
|
-
let
|
|
2122
|
+
function Jt({ label: e, value: t, detail: n, change: r, target: i, isLoading: a = !1, hasDetail: o = !1, variant: s = "inline", trend: c, ...l }) {
|
|
2123
|
+
let u = Gt[s], f = r?.tone === "positive" ? $.changePositive : r?.tone === "negative" ? $.changeNegative : void 0;
|
|
2100
2124
|
return /* @__PURE__ */ P("div", {
|
|
2101
|
-
..._(m.props($.metric,
|
|
2125
|
+
..._(m.props($.metric, u.metric), l),
|
|
2102
2126
|
children: [
|
|
2103
2127
|
/* @__PURE__ */ N("dt", {
|
|
2104
|
-
...m.props($.label,
|
|
2128
|
+
...m.props($.label, u.label),
|
|
2105
2129
|
children: e
|
|
2106
2130
|
}),
|
|
2107
2131
|
/* @__PURE__ */ N("dd", {
|
|
2108
|
-
...m.props($.value,
|
|
2109
|
-
children:
|
|
2132
|
+
...m.props($.value, u.value),
|
|
2133
|
+
children: /* @__PURE__ */ P("span", {
|
|
2134
|
+
className: "x78zum5 x1pha0wt x1a02dak x1hnptsi xeuugli",
|
|
2135
|
+
children: [/* @__PURE__ */ N("span", { children: a ? /* @__PURE__ */ N(d, { width: u.valueWidth }) : t }), !a && r !== void 0 && /* @__PURE__ */ N("span", {
|
|
2136
|
+
...m.props($.change, f),
|
|
2137
|
+
children: r.value
|
|
2138
|
+
})]
|
|
2139
|
+
})
|
|
2140
|
+
}),
|
|
2141
|
+
(a ? o : n !== void 0) && /* @__PURE__ */ N("dd", {
|
|
2142
|
+
...m.props($.detail, u.detail),
|
|
2143
|
+
children: a ? /* @__PURE__ */ N(d, { width: "24ch" }) : n
|
|
2110
2144
|
}),
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
children:
|
|
2145
|
+
!a && i !== void 0 && /* @__PURE__ */ N("dd", {
|
|
2146
|
+
className: "x1ghz6dp xeuugli xy8obcc xas2l8k x153jb6y xss6m8b",
|
|
2147
|
+
children: i
|
|
2114
2148
|
}),
|
|
2115
|
-
|
|
2149
|
+
c !== void 0 && /* @__PURE__ */ N("dd", {
|
|
2116
2150
|
className: "x1ghz6dp xeuugli xh8yej3 xkh2ocl",
|
|
2117
|
-
children:
|
|
2151
|
+
children: c
|
|
2118
2152
|
})
|
|
2119
2153
|
]
|
|
2120
2154
|
});
|