@mechane-ai/elements 0.53.0 → 0.54.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.
Files changed (58) hide show
  1. package/dist/ai.js +1 -1
  2. package/dist/{article-qU2scA0w.js → article-DPDk0Xgp.js} +1 -1
  3. package/dist/article.js +1 -1
  4. package/dist/catalog.json +1 -1
  5. package/dist/{categorical-values-DHl0r9od.js → categorical-values-CGavb4HZ.js} +1 -1
  6. package/dist/{cells-CNZE4us2.js → cells-BTTLURWI.js} +32 -26
  7. package/dist/charts/cartesian.js +1 -1
  8. package/dist/charts/cells.js +1 -1
  9. package/dist/charts/comparison.js +1 -1
  10. package/dist/charts/distribution.js +1 -1
  11. package/dist/charts/figure.js +12 -12
  12. package/dist/charts/graph.js +1 -1
  13. package/dist/charts/hierarchy.js +1 -1
  14. package/dist/charts/image.js +1 -1
  15. package/dist/charts/matrix.js +1 -1
  16. package/dist/charts/plot.js +3 -3
  17. package/dist/charts/relationship.js +1 -1
  18. package/dist/charts/text.js +1 -1
  19. package/dist/charts/timeline.js +1 -1
  20. package/dist/charts/trend.js +1 -1
  21. package/dist/charts.js +2 -2
  22. package/dist/collections.js +1 -1
  23. package/dist/{dates-CjlTzw00.js → dates-Cq90-D2X.js} +237 -227
  24. package/dist/{dumbbell-plot-CKNqa-L2.js → dumbbell-plot-DJOyXW7m.js} +3 -3
  25. package/dist/{embedding-map-DyCE2isi.js → embedding-map-BSlNwXs2.js} +3 -3
  26. package/dist/feedback.js +1 -1
  27. package/dist/{figure-frame-DVZlUsa7.js → figure-frame-C2hCrRX4.js} +2 -2
  28. package/dist/forms/dates.js +1 -1
  29. package/dist/{image-grid-FByan2gk.js → image-grid-D0Xk_KNk.js} +2 -2
  30. package/dist/kits/evaluation.js +5 -5
  31. package/dist/kits/interpretability.js +9 -9
  32. package/dist/kits/operations.js +5 -5
  33. package/dist/kits/research.js +107 -102
  34. package/dist/kits/training.js +5 -5
  35. package/dist/mdx.js +2 -2
  36. package/dist/packages/charts/src/cells/heat-cell.d.ts +3 -1
  37. package/dist/packages/feedback/src/async-region.d.ts +1 -0
  38. package/dist/packages/forms/src/dates/event-month.d.ts +5 -1
  39. package/dist/packages/kits/src/research/lineage-graph.d.ts +4 -0
  40. package/dist/{plot-layout-DjXbV9Lf.js → plot-layout-PBlcYu9p.js} +2 -2
  41. package/dist/{plot-surface-BJuVNKMs.js → plot-surface-CdqANDC1.js} +1 -1
  42. package/dist/{reference-lines-DLCFC7OO.js → reference-lines-Cdrs0B3S.js} +1 -1
  43. package/dist/{scene-C4Q0pFav.js → scene-CcJb3zcs.js} +4 -4
  44. package/dist/scene.js +1 -1
  45. package/dist/{slope-chart-DgpKO_1Y.js → slope-chart-CagCaJYG.js} +6 -6
  46. package/dist/{src-fvoTU3Bq.js → src-BdMdzP0t.js} +1 -1
  47. package/dist/{src-npqwq3Sa.js → src-Bg4eyJZO.js} +95 -94
  48. package/dist/styles2.css +12 -0
  49. package/dist/{time-series-BrM0g-aY.js → time-series-g4trCNxp.js} +6 -6
  50. package/dist/{token-heatmap-DKIPkRXQ.js → token-heatmap-CgJNUXJH.js} +3 -3
  51. package/dist/{token-predictions-CKcNk4ks.js → token-predictions-BMVVfAL3.js} +3 -3
  52. package/dist/{tree-diagram-ZLk2jDUv.js → tree-diagram-BHLewHQl.js} +4 -4
  53. package/dist/{treemap-D6uNK6Tw.js → treemap-n3Er3k6e.js} +4 -4
  54. package/dist/{violin-plot-DeHiuWU_.js → violin-plot-qCMn4e1I.js} +3 -3
  55. package/dist/{waterfall-CihTq6le.js → waterfall-ChExGsn8.js} +3 -3
  56. package/package.json +1 -1
  57. package/skills/review-elements/SKILL.md +2 -1
  58. package/skills/use-elements/references/reports.md +6 -0
@@ -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-DjXbV9Lf.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";
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-DVZlUsa7.js";
8
+ import { i as v, l as y, n as b, r as x, t as S } from "./figure-frame-C2hCrRX4.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-BJuVNKMs.js";
11
+ import { r as k } from "./plot-surface-CdqANDC1.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";
@@ -407,7 +407,7 @@ function xe({ nodes: e, columnCount: t, width: n, top: r, bottom: i, amountText:
407
407
  }) });
408
408
  }
409
409
  // packages/charts/src/graph/relation-graph.tsx
410
- var Se = 2, Ce = 80;
410
+ var Se = 2, Ce = 136;
411
411
  function we(e, t) {
412
412
  let n = e.width * Math.min(1, t);
413
413
  return {
@@ -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-DjXbV9Lf.js";
3
- import { i as s, n as c, t as l } from "./categorical-values-DHl0r9od.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";
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-DVZlUsa7.js";
7
+ import { i as p, l as m, n as h, r as g, t as _ } from "./figure-frame-C2hCrRX4.js";
8
8
  import { n as v } from "./plot-width-D3hTycYX.js";
9
- import { n as y, r as b } from "./plot-surface-BJuVNKMs.js";
9
+ import { n as y, r as b } from "./plot-surface-CdqANDC1.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-DjXbV9Lf.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";
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-DVZlUsa7.js";
8
+ import { i as v, l as y, n as b, r as x, t as S } from "./figure-frame-C2hCrRX4.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-BJuVNKMs.js";
12
+ import { n as ee, r as j, t as te } from "./plot-surface-CdqANDC1.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";
@@ -1,15 +1,15 @@
1
1
  import { T as e, c as t, m as n } from "./src-9EJskqB_.js";
2
- import { A as r, E as i, M as a, S as o, f as s, j as c, l, s as u } from "./plot-layout-DjXbV9Lf.js";
2
+ import { A as r, E as i, M as a, S as o, f as s, j as c, l, s as u } from "./plot-layout-PBlcYu9p.js";
3
3
  import { i as d } from "./chart-link-AE_xuxiP.js";
4
4
  import { a as f } from "./tone-scope-DKiSw-JR.js";
5
5
  import { n as ee, r as p } from "./figure-format-B8kRZMlo.js";
6
6
  import { a as m, o as h, r as te } from "./scale-C2xgZyZN.js";
7
7
  import { t as ne } from "./chart-cursor-1mFd48Jc.js";
8
- import { i as re, l as ie, n as ae, r as oe, t as g } from "./figure-frame-DVZlUsa7.js";
8
+ import { i as re, l as ie, n as ae, r as oe, t as g } from "./figure-frame-C2hCrRX4.js";
9
9
  import { n as _ } from "./plot-width-D3hTycYX.js";
10
10
  import { t as se } from "./plot-axes-D5S9BnBa.js";
11
11
  import { a as ce, c as le, f as ue, r as de } from "./plot-marks-FVsbFkUs.js";
12
- import { n as fe, r as pe, t as me } from "./plot-surface-BJuVNKMs.js";
12
+ import { n as fe, r as pe, t as me } from "./plot-surface-CdqANDC1.js";
13
13
  import { t as he } from "./locate-Bcg3QcP4.js";
14
14
  import * as ge from "@stylexjs/stylex";
15
15
  import { useId as _e, useState as ve } from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mechane-ai/elements",
3
- "version": "0.53.0",
3
+ "version": "0.54.1",
4
4
  "description": "Elements by Mechane — React components for applications, AI interfaces, and analytical graphics",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -27,7 +27,8 @@ Put the pointer away and complete the page's main task.
27
27
 
28
28
  Hold a slow read, fail one, and return an empty result.
29
29
 
30
- - Pending reserves the result's geometry with a matching placeholder. Nothing jumps when the content arrives.
30
+ - A slow first read shows a shape-matched skeleton. Check that its loading announcement is available to a screen reader
31
+ and visually hidden. Dates, filters and other usable controls keep their positions when data arrives.
31
32
  - A refresh keeps the last result, its focus and any draft on screen, with progress or the failure beside it.
32
33
  - A failed first read shows a `Notice` with Retry in place. A successful empty result shows an `EmptyState`.
33
34
  - Each failure has one presentation. Not a banner and a toast for the same error.
@@ -10,6 +10,12 @@ values a reader compares together. Keep available filters usable and preserve us
10
10
  selection. Use the component's delay and reduced-motion behavior. On a cold document, wait for session resolution before
11
11
  showing account navigation or sign-in.
12
12
 
13
+ For a first read, use a visual skeleton in the space the result will occupy. Keep “Loading events” or an equivalent
14
+ short label in the accessible status. For a month view, pass a `loading` label and `SkeletonText` placeholder to
15
+ `EventMonth` while the visible range is unknown. Dates and keyboard navigation stay usable while event rows show
16
+ skeletons. Omit `loading` when that range has resolved, including an empty result. Keep existing events visible during a
17
+ background refresh.
18
+
13
19
  For a custom plot, start with `ChartFrame` and chart tones from `/charts`. Outline filled marks with
14
20
  `chartToneOutlines`, draw the zero baseline and axes in ink, and set tick text in the mono face, as the shared charts
15
21
  do. Keep data meaning in the caller. For a calendar heatmap, give each date a square cell, align week columns and day