@mechane-ai/elements 0.54.1 → 0.56.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.
Files changed (60) hide show
  1. package/dist/ai.js +1 -1
  2. package/dist/{article-DPDk0Xgp.js → article-COShcQPh.js} +1 -1
  3. package/dist/article.js +1 -1
  4. package/dist/catalog.json +9 -1
  5. package/dist/{categorical-values-CGavb4HZ.js → categorical-values-DdZLdWhL.js} +1 -1
  6. package/dist/charts/cartesian.js +1 -1
  7. package/dist/charts/comparison.js +1 -1
  8. package/dist/charts/distribution.js +1 -1
  9. package/dist/charts/figure.js +12 -12
  10. package/dist/charts/graph.js +1 -1
  11. package/dist/charts/hierarchy.js +1 -1
  12. package/dist/charts/image.js +1 -1
  13. package/dist/charts/matrix.js +1 -1
  14. package/dist/charts/plot.js +3 -3
  15. package/dist/charts/relationship.js +1 -1
  16. package/dist/charts/text.js +1 -1
  17. package/dist/charts/timeline.js +1 -1
  18. package/dist/charts/trend.js +1 -1
  19. package/dist/charts.js +2 -2
  20. package/dist/collections.js +1 -1
  21. package/dist/commands-D0bF2JxV.js +107 -0
  22. package/dist/{dumbbell-plot-DJOyXW7m.js → dumbbell-plot-BeHhL-01.js} +3 -3
  23. package/dist/{embedding-map-BSlNwXs2.js → embedding-map-DbETVJXp.js} +3 -3
  24. package/dist/feedback.js +1 -1
  25. package/dist/{figure-frame-C2hCrRX4.js → figure-frame-ClYRIRAq.js} +2 -2
  26. package/dist/{image-grid-D0Xk_KNk.js → image-grid-DB5U7Jtx.js} +2 -2
  27. package/dist/kits/evaluation.js +4 -4
  28. package/dist/kits/interpretability.js +8 -8
  29. package/dist/kits/operations.js +5 -5
  30. package/dist/kits/research.js +5 -5
  31. package/dist/kits/training.js +4 -4
  32. package/dist/layout.js +1 -1
  33. package/dist/mdx.js +2 -2
  34. package/dist/navigation/commands.js +1 -95
  35. package/dist/packages/charts/src/timeline/event-strip.d.ts +2 -0
  36. package/dist/packages/layout/src/app-shell.d.ts +2 -1
  37. package/dist/packages/layout/src/devtools-bar.d.ts +3 -0
  38. package/dist/packages/layout/src/index.d.ts +1 -0
  39. package/dist/packages/layout/src/shell-bottom-bar.d.ts +4 -0
  40. package/dist/packages/navigation/src/commands/command.d.ts +1 -0
  41. package/dist/{plot-layout-PBlcYu9p.js → plot-layout-B-b6tioh.js} +1 -1
  42. package/dist/{plot-surface-CdqANDC1.js → plot-surface-BlR44uTL.js} +1 -1
  43. package/dist/{reference-lines-Cdrs0B3S.js → reference-lines-BDfsv8dy.js} +1 -1
  44. package/dist/{scene-CcJb3zcs.js → scene-CY05-A1k.js} +4 -4
  45. package/dist/scene.js +1 -1
  46. package/dist/{slope-chart-CagCaJYG.js → slope-chart-DTyF1lNG.js} +4 -4
  47. package/dist/{src-BdMdzP0t.js → src-4qgpiWvP.js} +3 -2
  48. package/dist/{src-DhWMspwr.js → src-BqY5rsqi.js} +362 -284
  49. package/dist/{src-Bg4eyJZO.js → src-C-Wg9m9H.js} +2 -1
  50. package/dist/styles2.css +37 -1
  51. package/dist/{time-series-g4trCNxp.js → time-series-CoAtNizi.js} +6 -6
  52. package/dist/{token-heatmap-CgJNUXJH.js → token-heatmap-o_9l6vaq.js} +2 -2
  53. package/dist/{token-predictions-BMVVfAL3.js → token-predictions-DaAztlOS.js} +3 -3
  54. package/dist/{tree-diagram-BHLewHQl.js → tree-diagram-BDj4TGXb.js} +3 -3
  55. package/dist/{treemap-n3Er3k6e.js → treemap-DUSFlCPK.js} +4 -4
  56. package/dist/{violin-plot-qCMn4e1I.js → violin-plot-ULdC_dcY.js} +3 -3
  57. package/dist/waterfall-BjUXqaWu.js +615 -0
  58. package/package.json +1 -1
  59. package/skills/use-elements/references/workspace.md +6 -0
  60. package/dist/waterfall-ChExGsn8.js +0 -605
@@ -392,6 +392,7 @@ var he = {
392
392
  region: {
393
393
  kzqmXN: "x1261nif xqu3jwc",
394
394
  kqGvvJ: "xtru72a xf6ji1w",
395
+ kOrpBT: "xlwtff5",
395
396
  k85nHk: "xqv9vo9 xyt9zns",
396
397
  kZKoxP: "x1u22o8f",
397
398
  kY2c9j: "xviucbn",
@@ -595,7 +596,7 @@ function ve({ id: e, side: t = "bottom", align: n = "end", isExpanded: r = !1, v
595
596
  maxVisible: i,
596
597
  shortcut: "alt+t",
597
598
  "aria-label": s,
598
- className: "x1261nif xqu3jwc xtru72a xf6ji1w xqv9vo9 xyt9zns x1u22o8f xviucbn x1572sgj",
599
+ className: "x1261nif xqu3jwc xtru72a xf6ji1w xlwtff5 xqv9vo9 xyt9zns x1u22o8f xviucbn x1572sgj",
599
600
  children: (e) => {
600
601
  let { Icon: n, tone: r } = ge[e.type];
601
602
  return /* @__PURE__ */ y(ce, {
package/dist/styles2.css CHANGED
@@ -1,4 +1,4 @@
1
- @layer ui-sdk{:where([data-slot][hidden]:not([hidden=until-found])){display:none!important}}@layer reset,priority1,priority2,priority3,priority4,priority5;@media (prefers-reduced-motion:no-preference){@keyframes sd-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes sd-blurIn{0%{opacity:0;filter:blur(4px)}to{opacity:1;filter:blur()}}@keyframes sd-slideUp{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}[data-sd-animate]{animation:var(--sd-animation,sd-fadeIn) var(--sd-duration,.15s) var(--sd-easing,ease) var(--sd-delay,0s) both}@keyframes sd-markerIn{0%{color:#0000}}[data-sd-animate-marker]::marker{animation:sd-markerIn var(--sd-marker-duration,.15s) var(--sd-marker-easing,ease) var(--sd-marker-delay,0s) both}}[data-streamdown-paused] [data-sd-animate]{animation-play-state:paused}[data-streamdown-paused] [data-sd-animate-marker]::marker{animation-play-state:paused}
1
+ @layer ui-sdk{:where([data-slot][hidden]:not([hidden=until-found])){display:none!important}}@layer reset,priority1,priority2,priority3,priority4,priority5;@media (prefers-reduced-motion:no-preference){@keyframes sd-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes sd-blurIn{0%{opacity:0;filter:blur(4px)}to{opacity:1;filter:blur()}}@keyframes sd-slideUp{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}[data-sd-animate]{animation:var(--sd-animation,sd-fadeIn) var(--sd-duration,.15s) var(--sd-easing,ease) var(--sd-delay,0s) both}@keyframes sd-markerIn{0%{color:#0000}}[data-sd-animate-marker]::marker{animation:sd-markerIn var(--sd-marker-duration,.15s) var(--sd-marker-easing,ease) var(--sd-marker-delay,0s) both}}[data-streamdown-paused] [data-sd-animate]{animation-play-state:paused}[data-streamdown-paused] [data-sd-animate-marker]::marker{animation-play-state:paused}:root:is(:fullscreen,:has(:fullscreen)) [data-mechane-shell-bottom-bar]{display:none}
2
2
 
3
3
  @layer priority1 {
4
4
  :root, .x1sjug0q {
@@ -234,6 +234,10 @@
234
234
  --xfou7vv: 0 4px 16px #0006;
235
235
  }
236
236
 
237
+ .xcl5tbm {
238
+ --mechane-workspace-safe-area-bottom: 0px;
239
+ }
240
+
237
241
  .x1n1i2jm {
238
242
  --xz7cmyu: 0px;
239
243
  }
@@ -1536,6 +1540,10 @@
1536
1540
  fill-opacity: .62;
1537
1541
  }
1538
1542
 
1543
+ .x1rcfr07 {
1544
+ fill-opacity: .65;
1545
+ }
1546
+
1539
1547
  .xwcy42a {
1540
1548
  fill-opacity: .78;
1541
1549
  }
@@ -1832,6 +1840,10 @@
1832
1840
  grid-template-rows: auto minmax(0, 1fr);
1833
1841
  }
1834
1842
 
1843
+ .x1sx1omo {
1844
+ grid-template-rows: minmax(0, 1fr) auto;
1845
+ }
1846
+
1835
1847
  .x1xxtoay {
1836
1848
  grid-template-rows: var(--x-gridTemplateRows);
1837
1849
  }
@@ -1888,6 +1900,10 @@
1888
1900
  letter-spacing: .06em;
1889
1901
  }
1890
1902
 
1903
+ .x1i21sxh {
1904
+ letter-spacing: normal;
1905
+ }
1906
+
1891
1907
  .x1wjjqco {
1892
1908
  letter-spacing: var(--xgto76l);
1893
1909
  }
@@ -3023,7 +3039,15 @@
3023
3039
  .x1jzqe4.x1jzqe4 {
3024
3040
  background-color: highlight;
3025
3041
  }
3042
+ }
3043
+
3044
+ @media print {
3045
+ .xbjcvb9.xbjcvb9 {
3046
+ display: none;
3047
+ }
3048
+ }
3026
3049
 
3050
+ @media (forced-colors: active) {
3027
3051
  .x1x84bn5.x1x84bn5 {
3028
3052
  outline-color: highlight;
3029
3053
  }
@@ -3621,6 +3645,10 @@
3621
3645
  min-height: 35px;
3622
3646
  }
3623
3647
 
3648
+ .xzhxzul {
3649
+ min-height: var(--mechane-devtools-bar-height, var(--x1m0ogk9));
3650
+ }
3651
+
3624
3652
  .x17tes2r {
3625
3653
  min-height: var(--x14tmdi9);
3626
3654
  }
@@ -3763,6 +3791,10 @@
3763
3791
  padding-bottom: env(safe-area-inset-bottom, 0px);
3764
3792
  }
3765
3793
 
3794
+ .x1vod7vm {
3795
+ padding-bottom: var(--mechane-workspace-safe-area-bottom, env(safe-area-inset-bottom, 0px));
3796
+ }
3797
+
3766
3798
  .x1wpizpg {
3767
3799
  padding-bottom: var(--x1drqizm);
3768
3800
  }
@@ -4067,6 +4099,10 @@
4067
4099
  border-top-width: 0;
4068
4100
  }
4069
4101
 
4102
+ .xlwtff5[data-side="bottom"] {
4103
+ bottom: calc(var(--keyboard-inset, 0px) + max(env(safe-area-inset-bottom, 0px),var(--mechane-shell-bottom-inset, 0px)));
4104
+ }
4105
+
4070
4106
  .xqmlo60[data-orientation="vertical"] {
4071
4107
  height: 100%;
4072
4108
  }
@@ -1,21 +1,21 @@
1
1
  import { t as e } from "./accessibility-P89UG9-r.js";
2
2
  import { k as t } from "./src-9EJskqB_.js";
3
3
  import { x as n } from "./src-Dxs3Buo_.js";
4
- import { d as r, u as i } from "./src-Bg4eyJZO.js";
4
+ import { d as r, u as i } from "./src-C-Wg9m9H.js";
5
5
  import { n as a, t as o } from "./chart-tones-ei3BC2AL.js";
6
- import { A as s, D as c, E as l, M as u, S as d, a as f, b as p, c as m, i as h, j as ee, m as g, n as _, o as v, p as y, w as b } from "./plot-layout-PBlcYu9p.js";
7
- import { i as te, n as x, r as S, t as C } from "./categorical-values-CGavb4HZ.js";
6
+ import { A as s, D as c, E as l, M as u, S as d, a as f, b as p, c as m, i as h, j as ee, m as g, n as _, o as v, p as y, w as b } from "./plot-layout-B-b6tioh.js";
7
+ import { i as te, n as x, r as S, t as C } from "./categorical-values-DdZLdWhL.js";
8
8
  import { i as w } from "./chart-link-AE_xuxiP.js";
9
9
  import { a as T } from "./tone-scope-DKiSw-JR.js";
10
10
  import { n as ne, r as re, t as E } from "./figure-format-B8kRZMlo.js";
11
11
  import { a as D, i as O, o as k, r as A, t as ie } from "./scale-C2xgZyZN.js";
12
12
  import { t as ae } from "./chart-cursor-1mFd48Jc.js";
13
- import { c as oe, i as j, l as se, n as ce, o as M, r as le, s as N, t as ue } from "./figure-frame-C2hCrRX4.js";
13
+ import { c as oe, i as j, l as se, n as ce, o as M, r as le, s as N, t as ue } from "./figure-frame-ClYRIRAq.js";
14
14
  import { n as P, t as F } from "./plot-width-D3hTycYX.js";
15
15
  import { t as de } from "./plot-axes-D5S9BnBa.js";
16
16
  import { a as I, c as L, d as R, f as z, i as fe, l as pe, n as B, o as me, r as V, s as he, t as ge } from "./plot-marks-FVsbFkUs.js";
17
- import { n as _e, r as ve, t as ye } from "./plot-surface-CdqANDC1.js";
18
- import { n as be, t as xe } from "./reference-lines-Cdrs0B3S.js";
17
+ import { n as _e, r as ve, t as ye } from "./plot-surface-BlR44uTL.js";
18
+ import { n as be, t as xe } from "./reference-lines-BDfsv8dy.js";
19
19
  import { n as Se, r as H, t as Ce } from "./path-BglsXpnO.js";
20
20
  import { t as we } from "./locate-Bcg3QcP4.js";
21
21
  import * as U from "@stylexjs/stylex";
@@ -1,9 +1,9 @@
1
1
  import { r as e } from "./tokens.stylex-dF5CACEJ.js";
2
2
  import { d as t, l as n, s as r } from "./dates-Cq90-D2X.js";
3
- import { A as i, D as a, E as o, M as s, O as c, S as l, a as u, j as d, k as f } from "./plot-layout-PBlcYu9p.js";
3
+ import { A as i, D as a, E as o, M as s, O as c, S as l, a as u, j as d, k as f } from "./plot-layout-B-b6tioh.js";
4
4
  import { i as p } from "./chart-link-AE_xuxiP.js";
5
5
  import { n as m, r as h } from "./figure-format-B8kRZMlo.js";
6
- import { i as g, l as _, n as ee, r as te, t as ne } from "./figure-frame-C2hCrRX4.js";
6
+ import { i as g, l as _, n as ee, r as te, t as ne } from "./figure-frame-ClYRIRAq.js";
7
7
  import { n as v, t as re } from "./plot-width-D3hTycYX.js";
8
8
  import { n as y, r as b, t as ie } from "./heatmap-scale-Zte6Ya-g.js";
9
9
  import { t as ae } from "./color-legend-CIo7DhXB.js";
@@ -1,14 +1,14 @@
1
1
  import { r as e } from "./tokens.stylex-dF5CACEJ.js";
2
2
  import { t } from "./chart-tones-ei3BC2AL.js";
3
- import { A as n, D as r, E as i, M as a, O as o, S as s, a as c, i as l, j as u, n as d, s as f, x as p } from "./plot-layout-PBlcYu9p.js";
3
+ import { A as n, D as r, E as i, M as a, O as o, S as s, a as c, i as l, j as u, n as d, s as f, x as p } from "./plot-layout-B-b6tioh.js";
4
4
  import { i as ee } from "./chart-link-AE_xuxiP.js";
5
5
  import { r as m } from "./figure-format-B8kRZMlo.js";
6
6
  import { a as h, i as g, o as _ } from "./scale-C2xgZyZN.js";
7
- import { i as te, l as ne, n as re, r as v, t as ie } from "./figure-frame-C2hCrRX4.js";
7
+ import { i as te, l as ne, n as re, r as v, t as ie } from "./figure-frame-ClYRIRAq.js";
8
8
  import { n as ae } from "./plot-width-D3hTycYX.js";
9
9
  import { t as y } from "./plot-axes-D5S9BnBa.js";
10
10
  import { c as b, f as x, r as S, u as C } from "./plot-marks-FVsbFkUs.js";
11
- import { n as w, r as T, t as E } from "./plot-surface-CdqANDC1.js";
11
+ import { n as w, r as T, t as E } from "./plot-surface-BlR44uTL.js";
12
12
  import { r as D } from "./path-BglsXpnO.js";
13
13
  import { t as O } from "./locate-Bcg3QcP4.js";
14
14
  import * as k from "@stylexjs/stylex";
@@ -1,14 +1,14 @@
1
1
  import { t as e } from "./accessibility-P89UG9-r.js";
2
2
  import { T as t, k as n } from "./src-9EJskqB_.js";
3
3
  import { n as r, t as i } from "./chart-tones-ei3BC2AL.js";
4
- import { A as a, D as o, E as s, M as c, O as l, S as u, T as d, c as f, j as p, x as m } from "./plot-layout-PBlcYu9p.js";
4
+ import { A as a, D as o, E as s, M as c, O as l, S as u, T as d, c as f, j as p, x as m } from "./plot-layout-B-b6tioh.js";
5
5
  import { i as h } from "./chart-link-AE_xuxiP.js";
6
6
  import { a as g } from "./tone-scope-DKiSw-JR.js";
7
7
  import { r as _ } from "./figure-format-B8kRZMlo.js";
8
- import { i as v, l as y, n as b, r as x, t as S } from "./figure-frame-C2hCrRX4.js";
8
+ import { i as v, l as y, n as b, r as x, t as S } from "./figure-frame-ClYRIRAq.js";
9
9
  import { n as C, t as w } from "./plot-width-D3hTycYX.js";
10
10
  import { a as T, c as E, p as D, u as O } from "./plot-marks-FVsbFkUs.js";
11
- import { r as k } from "./plot-surface-CdqANDC1.js";
11
+ import { r as k } from "./plot-surface-BlR44uTL.js";
12
12
  import { t as A } from "./label-spacing-BncjePGb.js";
13
13
  import { i as ee } from "./path-BglsXpnO.js";
14
14
  import { m as j } from "./values-963L6n1m.js";
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "./chart-tones-ei3BC2AL.js";
2
- import { A as t, E as n, M as r, S as i, j as a, s as o } from "./plot-layout-PBlcYu9p.js";
3
- import { i as s, n as c, t as l } from "./categorical-values-CGavb4HZ.js";
2
+ import { A as t, E as n, M as r, S as i, j as a, s as o } from "./plot-layout-B-b6tioh.js";
3
+ import { i as s, n as c, t as l } from "./categorical-values-DdZLdWhL.js";
4
4
  import { i as u } from "./chart-link-AE_xuxiP.js";
5
5
  import { a as d } from "./tone-scope-DKiSw-JR.js";
6
6
  import { r as f } from "./figure-format-B8kRZMlo.js";
7
- import { i as p, l as m, n as h, r as g, t as _ } from "./figure-frame-C2hCrRX4.js";
7
+ import { i as p, l as m, n as h, r as g, t as _ } from "./figure-frame-ClYRIRAq.js";
8
8
  import { n as v } from "./plot-width-D3hTycYX.js";
9
- import { n as y, r as b } from "./plot-surface-CdqANDC1.js";
9
+ import { n as y, r as b } from "./plot-surface-BlR44uTL.js";
10
10
  import * as x from "@stylexjs/stylex";
11
11
  import { useId as S } from "react";
12
12
  import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
@@ -1,15 +1,15 @@
1
1
  import { n as e, t } from "./chart-tones-ei3BC2AL.js";
2
- import { A as n, E as r, M as i, S as a, a as o, c as s, i as c, j as l, n as u, o as d } from "./plot-layout-PBlcYu9p.js";
2
+ import { A as n, E as r, M as i, S as a, a as o, c as s, i as c, j as l, n as u, o as d } from "./plot-layout-B-b6tioh.js";
3
3
  import { i as f } from "./chart-link-AE_xuxiP.js";
4
4
  import { a as p } from "./tone-scope-DKiSw-JR.js";
5
5
  import { r as m } from "./figure-format-B8kRZMlo.js";
6
6
  import { a as h, o as g } from "./scale-C2xgZyZN.js";
7
7
  import { t as _ } from "./chart-cursor-1mFd48Jc.js";
8
- import { i as v, l as y, n as b, r as x, t as S } from "./figure-frame-C2hCrRX4.js";
8
+ import { i as v, l as y, n as b, r as x, t as S } from "./figure-frame-ClYRIRAq.js";
9
9
  import { n as C, t as w } from "./plot-width-D3hTycYX.js";
10
10
  import { t as T } from "./plot-axes-D5S9BnBa.js";
11
11
  import { a as E, f as D, l as O, r as k, s as A } from "./plot-marks-FVsbFkUs.js";
12
- import { n as ee, r as j, t as te } from "./plot-surface-CdqANDC1.js";
12
+ import { n as ee, r as j, t as te } from "./plot-surface-BlR44uTL.js";
13
13
  import { r as ne } from "./path-BglsXpnO.js";
14
14
  import { t as M } from "./locate-Bcg3QcP4.js";
15
15
  import * as N from "@stylexjs/stylex";