@mechane-ai/elements 0.63.0 → 0.65.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 (114) hide show
  1. package/README.md +18 -17
  2. package/dist/ai.js +7 -7
  3. package/dist/{article-lhByzGCW.js → article-BrUa4Wz1.js} +6 -6
  4. package/dist/article.js +1 -1
  5. package/dist/catalog.json +59 -15
  6. package/dist/{categorical-values-3g2m87_m.js → categorical-values-AXJkMt-Y.js} +1 -1
  7. package/dist/charts/cartesian.js +1 -1
  8. package/dist/charts/comparison.js +1 -1
  9. package/dist/charts/distribution.js +1 -1
  10. package/dist/charts/figure.js +12 -12
  11. package/dist/charts/graph.js +1 -1
  12. package/dist/charts/hierarchy.js +1 -1
  13. package/dist/charts/image.js +1 -1
  14. package/dist/charts/matrix.js +1 -1
  15. package/dist/charts/plot.js +3 -3
  16. package/dist/charts/relationship.js +1 -1
  17. package/dist/charts/text.js +1 -1
  18. package/dist/charts/timeline.js +2 -2
  19. package/dist/charts/trend.js +1 -1
  20. package/dist/charts.js +2 -2
  21. package/dist/{code-block-CJkiWSrX.js → code-block-BDRmjlES.js} +1 -1
  22. package/dist/collections.js +1 -1
  23. package/dist/{commands-DlitIiMJ.js → commands-rzsDElrG.js} +2 -2
  24. package/dist/content/code.js +1 -1
  25. package/dist/content/diff.js +3 -3
  26. package/dist/content/link.js +1 -1
  27. package/dist/content/markdown.js +1 -1
  28. package/dist/content/tree.js +2 -2
  29. package/dist/{content-link-DQ3tt_SK.js → content-link-DRaNf1mD.js} +1 -1
  30. package/dist/content.js +1 -1
  31. package/dist/{dates-Cvrsj4l9.js → dates-wu-gKO2C.js} +2 -2
  32. package/dist/{dumbbell-plot-CEShrjuI.js → dumbbell-plot-VFajQtEW.js} +3 -3
  33. package/dist/{embedding-map-CQZn0DCg.js → embedding-map-BqDEmy88.js} +6 -6
  34. package/dist/feedback.js +1 -1
  35. package/dist/{figure-frame-BljHBC77.js → figure-frame-Dd-pOeZN.js} +3 -3
  36. package/dist/forms/dates.js +1 -1
  37. package/dist/{forms-BYk8t91h.js → forms-Bjx7JQ30.js} +1 -1
  38. package/dist/forms.js +2 -2
  39. package/dist/{image-grid-ClMUSwqO.js → image-grid-Dpyqxgwy.js} +3 -3
  40. package/dist/index.js +1 -1
  41. package/dist/kits/evaluation.js +4 -4
  42. package/dist/kits/interpretability.js +11 -11
  43. package/dist/kits/operations.js +6 -6
  44. package/dist/kits/research.js +128 -149
  45. package/dist/kits/training.js +5 -5
  46. package/dist/layout.js +1 -1
  47. package/dist/lesson.js +3 -3
  48. package/dist/{markdown-_4ZFsDyM.js → markdown--nfaDoR1.js} +2 -2
  49. package/dist/mdx.js +6 -6
  50. package/dist/navigation/commands.js +1 -1
  51. package/dist/{navigation-CwXM887i.js → navigation-Cp3p0gss.js} +1 -1
  52. package/dist/navigation.js +4 -4
  53. package/dist/packages/collections/src/data-table-styles.d.ts +4 -0
  54. package/dist/packages/collections/src/data-table-text.d.ts +3 -1
  55. package/dist/packages/collections/src/table-query.d.ts +4 -3
  56. package/dist/packages/collections/src/use-collection-controls.d.ts +6 -0
  57. package/dist/packages/kits/src/research/collection-page.d.ts +3 -4
  58. package/dist/packages/layout/src/app-shell.d.ts +3 -1
  59. package/dist/packages/layout/src/index.d.ts +4 -4
  60. package/dist/packages/layout/src/page-inset.d.ts +5 -0
  61. package/dist/packages/layout/src/page-layout.d.ts +4 -9
  62. package/dist/packages/layout/src/page-toolbar.d.ts +1 -2
  63. package/dist/packages/layout/src/reading-column.d.ts +4 -0
  64. package/dist/packages/layout/src/record-page.d.ts +4 -6
  65. package/dist/packages/layout/src/sidebar.d.ts +3 -1
  66. package/dist/packages/layout/src/workbench.d.ts +2 -6
  67. package/dist/packages/navigation/src/current-page-click.d.ts +3 -0
  68. package/dist/packages/navigation/src/index.d.ts +1 -0
  69. package/dist/{param-BxLsoDip.js → param-CwT1RvUS.js} +1 -1
  70. package/dist/{pierre-diff-DwmKtFYy.js → pierre-diff-DuvK3kLF.js} +1 -1
  71. package/dist/{plot-layout-oXzW4fgJ.js → plot-layout-CvkeUuG6.js} +3 -3
  72. package/dist/{plot-surface-BuXeoeBq.js → plot-surface-yy37R4vs.js} +1 -1
  73. package/dist/{reference-lines-Kmxs_hXa.js → reference-lines-AMeDkYlo.js} +1 -1
  74. package/dist/{scene-AWpudPHv.js → scene-BRhI8XSy.js} +6 -6
  75. package/dist/scene.js +1 -1
  76. package/dist/{slope-chart-DzbDOBUo.js → slope-chart-BMOCaa8R.js} +4 -4
  77. package/dist/{src-yrBVxkaf.js → src-9n2M1V_y.js} +376 -399
  78. package/dist/{src-DpVApV62.js → src-BdyO4PgQ.js} +1 -1
  79. package/dist/{src-DH2Xqu32.js → src-BgmAkau8.js} +38 -32
  80. package/dist/{src-CZyleIH0.js → src-Bns-5joF.js} +4 -4
  81. package/dist/{src-CuTIcRwk.js → src-C5SH3jjU.js} +2 -2
  82. package/dist/{src-CJ-0r20F.js → src-C_E29-DX.js} +46 -32
  83. package/dist/{src-DFkzV7H0.js → src-Tu6d_Pm8.js} +541 -532
  84. package/dist/styles2.css +93 -56
  85. package/dist/{time-series-D7TCUK56.js → time-series-CTNVqoUQ.js} +8 -8
  86. package/dist/{timeline-CR5VPm_f.js → timeline-DrsDtEIW.js} +263 -254
  87. package/dist/{token-heatmap-DEpcsiRR.js → token-heatmap-DddArdH8.js} +3 -3
  88. package/dist/{token-predictions-DMYbc2-N.js → token-predictions-CBykmPID.js} +3 -3
  89. package/dist/{transport-VwKG58nR.js → transport-r1QgELf8.js} +4 -4
  90. package/dist/{tree-diagram-BqL3fTdB.js → tree-diagram-BIJFK4pl.js} +4 -4
  91. package/dist/{treemap-C0CeP3PD.js → treemap-DgmEw_mr.js} +4 -4
  92. package/dist/{use-tween-D-wmSMa8.js → use-tween-BWf44Jy4.js} +1 -1
  93. package/dist/{violin-plot-6829_9q5.js → violin-plot-BYJnv6sG.js} +3 -3
  94. package/dist/{waterfall-C5HRWlEe.js → waterfall-BNseqMas.js} +27 -24
  95. package/package.json +1 -1
  96. package/recipes/allocation-report.tsx +4 -4
  97. package/recipes/calendar-workspace.tsx +14 -10
  98. package/recipes/consequential-form.tsx +4 -4
  99. package/recipes/searchable-collection.tsx +69 -59
  100. package/recipes/sectioned-report.tsx +17 -18
  101. package/recipes/session-timeline.tsx +59 -0
  102. package/recipes/tabbed-workspace.tsx +7 -8
  103. package/recipes/workspace-files.tsx +94 -0
  104. package/recipes/workspace-report.tsx +130 -0
  105. package/skills/extend-elements/SKILL.md +20 -0
  106. package/skills/review-elements/SKILL.md +10 -7
  107. package/skills/upgrade-elements/references/releases.md +16 -0
  108. package/skills/use-elements/SKILL.md +6 -2
  109. package/skills/use-elements/references/collections.md +8 -2
  110. package/skills/use-elements/references/editorial-restraint.md +13 -18
  111. package/skills/use-elements/references/reports.md +4 -1
  112. package/skills/use-elements/references/workspace.md +18 -14
  113. package/dist/packages/layout/src/detail-page.d.ts +0 -9
  114. package/dist/packages/layout/src/page-content.d.ts +0 -5
@@ -1,9 +1,9 @@
1
1
  import { r as e } from "./tokens.stylex-dF5CACEJ.js";
2
- import { d as t, l as n, s as r } from "./dates-Cvrsj4l9.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-oXzW4fgJ.js";
2
+ import { d as t, l as n, s as r } from "./dates-wu-gKO2C.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-CvkeUuG6.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-BljHBC77.js";
6
+ import { i as g, l as _, n as ee, r as te, t as ne } from "./figure-frame-Dd-pOeZN.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-oXzW4fgJ.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-CvkeUuG6.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-BljHBC77.js";
7
+ import { i as te, l as ne, n as re, r as v, t as ie } from "./figure-frame-Dd-pOeZN.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-DgCtcd3L.js";
11
- import { n as w, r as T, t as E } from "./plot-surface-BuXeoeBq.js";
11
+ import { n as w, r as T, t as E } from "./plot-surface-yy37R4vs.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,9 +1,9 @@
1
- import { O as e, m as t } from "./src-DH2Xqu32.js";
2
- import { d as n, u as r, x as i } from "./src-CuTIcRwk.js";
3
- import { t as a } from "./forms-BYk8t91h.js";
1
+ import { O as e, m as t } from "./src-BgmAkau8.js";
2
+ import { d as n, u as r, x as i } from "./src-C5SH3jjU.js";
3
+ import { t as a } from "./forms-Bjx7JQ30.js";
4
4
  import { r as o } from "./figure-format-B8kRZMlo.js";
5
5
  import { n as s, t as c } from "./clock-DSm5lkNE.js";
6
- import { a as l, c as u, d, f, h as p, m, o as h, p as g, r as _, s as v, v as y } from "./param-BxLsoDip.js";
6
+ import { a as l, c as u, d, f, h as p, m, o as h, p as g, r as _, s as v, v as y } from "./param-CwT1RvUS.js";
7
7
  import "@stylexjs/stylex";
8
8
  import { usePart as ee, usePrimitive as te } from "@ui-sdk/react/primitive";
9
9
  import { use as b, useEffect as x, useId as S, useRef as ne, useState as re, useSyncExternalStore as C } from "react";
@@ -1,14 +1,14 @@
1
- import { A as e, E as t } from "./src-DH2Xqu32.js";
1
+ import { A as e, E as t } from "./src-BgmAkau8.js";
2
2
  import { t as n } from "./accessibility-P89UG9-r.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-oXzW4fgJ.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-CvkeUuG6.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-BljHBC77.js";
8
+ import { i as v, l as y, n as b, r as x, t as S } from "./figure-frame-Dd-pOeZN.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-DgCtcd3L.js";
11
- import { r as k } from "./plot-surface-BuXeoeBq.js";
11
+ import { r as k } from "./plot-surface-yy37R4vs.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-oXzW4fgJ.js";
3
- import { i as s, n as c, t as l } from "./categorical-values-3g2m87_m.js";
2
+ import { A as t, E as n, M as r, S as i, j as a, s as o } from "./plot-layout-CvkeUuG6.js";
3
+ import { i as s, n as c, t as l } from "./categorical-values-AXJkMt-Y.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-BljHBC77.js";
7
+ import { i as p, l as m, n as h, r as g, t as _ } from "./figure-frame-Dd-pOeZN.js";
8
8
  import { n as v } from "./plot-width-D3hTycYX.js";
9
- import { n as y, r as b } from "./plot-surface-BuXeoeBq.js";
9
+ import { n as y, r as b } from "./plot-surface-yy37R4vs.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,4 +1,4 @@
1
- import { _ as e } from "./param-BxLsoDip.js";
1
+ import { _ as e } from "./param-CwT1RvUS.js";
2
2
  import { useEffect as t, useState as n, useSyncExternalStore as r } from "react";
3
3
  // packages/teaching/src/time/use-tween.ts
4
4
  function i(i, a = "regular") {
@@ -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-oXzW4fgJ.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-CvkeUuG6.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-BljHBC77.js";
8
+ import { i as v, l as y, n as b, r as x, t as S } from "./figure-frame-Dd-pOeZN.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-DgCtcd3L.js";
12
- import { n as ee, r as j, t as te } from "./plot-surface-BuXeoeBq.js";
12
+ import { n as ee, r as j, t as te } from "./plot-surface-yy37R4vs.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,16 +1,16 @@
1
- import { E as e, c as t, m as n } from "./src-DH2Xqu32.js";
1
+ import { E as e, c as t, m as n } from "./src-BgmAkau8.js";
2
2
  import { n as r, t as i } from "./chart-tones-ei3BC2AL.js";
3
- import { A as a, E as o, M as s, S as c, f as l, j as u, l as d, s as f } from "./plot-layout-oXzW4fgJ.js";
3
+ import { A as a, E as o, M as s, S as c, f as l, j as u, l as d, s as f } from "./plot-layout-CvkeUuG6.js";
4
4
  import { i as ee } from "./chart-link-AE_xuxiP.js";
5
5
  import { a as te } from "./tone-scope-DKiSw-JR.js";
6
6
  import { n as p, r as m } from "./figure-format-B8kRZMlo.js";
7
7
  import { a as h, o as ne, r as re } from "./scale-C2xgZyZN.js";
8
8
  import { t as ie } from "./chart-cursor-1mFd48Jc.js";
9
- import { i as ae, l as g, n as oe, r as se, t as _ } from "./figure-frame-BljHBC77.js";
9
+ import { i as ae, l as g, n as oe, r as se, t as _ } from "./figure-frame-Dd-pOeZN.js";
10
10
  import { n as ce } from "./plot-width-D3hTycYX.js";
11
11
  import { t as le } from "./plot-axes-D5S9BnBa.js";
12
12
  import { a as v, c as ue, f as de, r as y } from "./plot-marks-DgCtcd3L.js";
13
- import { n as b, r as fe, t as pe } from "./plot-surface-BuXeoeBq.js";
13
+ import { n as b, r as fe, t as pe } from "./plot-surface-yy37R4vs.js";
14
14
  import * as x from "@stylexjs/stylex";
15
15
  import { useId as me, useState as he } from "react";
16
16
  import { stackSpans as ge } from "@ui-sdk/core";
@@ -384,8 +384,8 @@ var V = 5, Le = 6, H = 14, U = .5, Re = [
384
384
  plot: {
385
385
  k7Eaqz: "xeuugli",
386
386
  kUOVxO: "xl4o6ss",
387
- kBCFzs: "x1npkx4u x1v577k8",
388
- kbNqZ1: "x1ms6mhf x1aa6nly",
387
+ kBCFzs: "x1npkx4u xv9nq3e",
388
+ kbNqZ1: "x1ms6mhf xp09pjw",
389
389
  $$css: !0
390
390
  },
391
391
  toned: (e) => [{
@@ -500,20 +500,23 @@ function Ve({ items: r, start: a, end: o, visibleRange: s, rowLabel: c, summaryL
500
500
  "aria-label": ce,
501
501
  className: "xeuugli x1hz01jw x12h1iku",
502
502
  children: [/* @__PURE__ */ w(xe, {
503
- className: "xrvj5dj x822y6v x1prkh4w x6s0dn4 xxs79tx x18ljxdw x8zbtdt xh8yej3 x9f619 x5g2kb4 x1pn6w2t x153jb6y xy8obcc xso031l x1q0q8m5 x1qndepd",
503
+ className: "xrvj5dj x1lyhqur x5zqw90 x1s3eg4n x6s0dn4 xxs79tx x159juyu x8zbtdt xie6hrs x1cer64c xh8yej3 x9f619 x5g2kb4 x1pn6w2t x1cj0dek x159bbqr xt970qd xnr6ljv x153jb6y xy8obcc xso031l x1q0q8m5 x1qndepd",
504
504
  children: [
505
- /* @__PURE__ */ C(E, { children: /* @__PURE__ */ C(t, {
506
- variant: "caption",
507
- tone: "muted",
508
- children: c
509
- }) }),
505
+ /* @__PURE__ */ C(E, {
506
+ className: "xeuugli x1t137rt x19rmrnh x9v5kkp x13qnu6 x7s97pk",
507
+ children: /* @__PURE__ */ C(t, {
508
+ variant: "caption",
509
+ tone: "muted",
510
+ children: c
511
+ })
512
+ }),
510
513
  /* @__PURE__ */ C(E, {
511
514
  "aria-label": "Timing",
512
- className: "xeuugli xl4o6ss x1npkx4u x1v577k8 x1ms6mhf x1aa6nly x78zum5 x1qughib x6s0dn4 xy8obcc xas2l8k xss6m8b",
515
+ className: "xeuugli xl4o6ss x1npkx4u xv9nq3e x1ms6mhf xp09pjw x78zum5 x1qughib x6s0dn4 xunmzkg xy8obcc xas2l8k xss6m8b xuxw1ft",
513
516
  children: ge ? me.map((e) => /* @__PURE__ */ C("span", { children: P(y - a + fe * e) }, e)) : /* @__PURE__ */ C("span", { children: "Timing unavailable" })
514
517
  }),
515
518
  /* @__PURE__ */ C(E, {
516
- className: "xeuugli x1k3v4rp x14r0xmm x1ms6mhf xp4054r xb3r6kr xuxw1ft xlyipyv xss6m8b",
519
+ className: "xeuugli x1k3v4rp x1p5bc58 x1ms6mhf xp4054r xb3r6kr xuxw1ft xlyipyv xss6m8b",
517
520
  children: /* @__PURE__ */ C(t, {
518
521
  variant: "caption",
519
522
  tone: "muted",
@@ -538,14 +541,14 @@ function Ve({ items: r, start: a, end: o, visibleRange: s, rowLabel: c, summaryL
538
541
  }),
539
542
  onDoubleClick: () => ne?.(e.id),
540
543
  ...{
541
- 0: { className: "xrvj5dj x822y6v x1prkh4w x6s0dn4 xxs79tx x18ljxdw x8zbtdt xh8yej3 x9f619 x5g2kb4 xc342km xso031l x1q0q8m5 x1qndepd xpvm0e4 xbixft x1hz01jw x1yc453h x1ypdohk x1t137rt xif5pkx x1ecmtor x19rmrnh x9v5kkp x13qnu6 x1bqaal x1t1lzn6 xdd8jsf" },
542
- 4: { className: "xrvj5dj x822y6v x1prkh4w x6s0dn4 xxs79tx x18ljxdw x8zbtdt xh8yej3 x9f619 x5g2kb4 xc342km xso031l x1q0q8m5 x1qndepd xpvm0e4 xbixft x1hz01jw x1yc453h x1ypdohk x1t137rt xif5pkx x1ecmtor x19rmrnh x9v5kkp x13qnu6 x1bqaal x1t1lzn6 xc9qbxq" },
543
- 2: { className: "xrvj5dj x822y6v x1prkh4w x6s0dn4 xxs79tx x18ljxdw x8zbtdt xh8yej3 x9f619 x5g2kb4 xc342km xso031l x1q0q8m5 x1qndepd xbixft x1hz01jw x1yc453h x1ypdohk x1t137rt xif5pkx x1ecmtor x19rmrnh x9v5kkp x13qnu6 x1bqaal x1t1lzn6 xdd8jsf x1r7kqkb xh3r7i3" },
544
- 6: { className: "xrvj5dj x822y6v x1prkh4w x6s0dn4 xxs79tx x18ljxdw x8zbtdt xh8yej3 x9f619 x5g2kb4 xc342km xso031l x1q0q8m5 x1qndepd xbixft x1hz01jw x1yc453h x1ypdohk x1t137rt xif5pkx x1ecmtor x19rmrnh x9v5kkp x13qnu6 x1bqaal x1t1lzn6 xc9qbxq x1r7kqkb xh3r7i3" },
545
- 1: { className: "xrvj5dj x822y6v x1prkh4w x6s0dn4 xxs79tx x18ljxdw x8zbtdt xh8yej3 x9f619 x5g2kb4 xc342km xso031l x1q0q8m5 x1qndepd xpvm0e4 xbixft x1hz01jw x1yc453h x1ypdohk x1t137rt xif5pkx x1ecmtor x19rmrnh x9v5kkp x13qnu6 x1bqaal x1t1lzn6 xdd8jsf xtg6wg7" },
546
- 5: { className: "xrvj5dj x822y6v x1prkh4w x6s0dn4 xxs79tx x18ljxdw x8zbtdt xh8yej3 x9f619 x5g2kb4 xc342km xso031l x1q0q8m5 x1qndepd xpvm0e4 xbixft x1hz01jw x1yc453h x1ypdohk x1t137rt xif5pkx x1ecmtor x19rmrnh x9v5kkp x13qnu6 x1bqaal x1t1lzn6 xc9qbxq xtg6wg7" },
547
- 3: { className: "xrvj5dj x822y6v x1prkh4w x6s0dn4 xxs79tx x18ljxdw x8zbtdt xh8yej3 x9f619 x5g2kb4 xc342km xso031l x1q0q8m5 x1qndepd xbixft x1hz01jw x1yc453h x1ypdohk x1t137rt xif5pkx x1ecmtor x19rmrnh x9v5kkp x13qnu6 x1bqaal x1t1lzn6 xdd8jsf x1r7kqkb xh3r7i3 xtg6wg7" },
548
- 7: { className: "xrvj5dj x822y6v x1prkh4w x6s0dn4 xxs79tx x18ljxdw x8zbtdt xh8yej3 x9f619 x5g2kb4 xc342km xso031l x1q0q8m5 x1qndepd xbixft x1hz01jw x1yc453h x1ypdohk x1t137rt xif5pkx x1ecmtor x19rmrnh x9v5kkp x13qnu6 x1bqaal x1t1lzn6 xc9qbxq x1r7kqkb xh3r7i3 xtg6wg7" }
544
+ 0: { className: "xrvj5dj x1lyhqur x5zqw90 x1s3eg4n x6s0dn4 xxs79tx x159juyu x8zbtdt xie6hrs x1cer64c xh8yej3 x9f619 x5g2kb4 xc342km xso031l x1q0q8m5 x1qndepd xpvm0e4 xbixft x1hz01jw x1yc453h x1ypdohk x1t137rt xif5pkx x1ecmtor x19rmrnh x9v5kkp x13qnu6 x1bqaal x1t1lzn6 xdd8jsf x1cj0dek x1wiwyrm xt970qd xnr6ljv" },
545
+ 4: { className: "xrvj5dj x1lyhqur x5zqw90 x1s3eg4n x6s0dn4 xxs79tx x159juyu x8zbtdt xie6hrs x1cer64c xh8yej3 x9f619 x5g2kb4 xc342km xso031l x1q0q8m5 x1qndepd xpvm0e4 xbixft x1hz01jw x1yc453h x1ypdohk x1t137rt xif5pkx x1ecmtor x19rmrnh x9v5kkp x13qnu6 x1bqaal x1t1lzn6 xc9qbxq x1cj0dek xu0aao5 xt970qd xnr6ljv" },
546
+ 2: { className: "xrvj5dj x1lyhqur x5zqw90 x1s3eg4n x6s0dn4 xxs79tx x159juyu x8zbtdt xie6hrs x1cer64c xh8yej3 x9f619 x5g2kb4 xc342km xso031l x1q0q8m5 x1qndepd xbixft x1hz01jw x1yc453h x1ypdohk x1t137rt xif5pkx x1ecmtor x19rmrnh x9v5kkp x13qnu6 x1bqaal x1t1lzn6 xdd8jsf x1cj0dek x1wiwyrm xt970qd xnr6ljv x1r7kqkb xh3r7i3" },
547
+ 6: { className: "xrvj5dj x1lyhqur x5zqw90 x1s3eg4n x6s0dn4 xxs79tx x159juyu x8zbtdt xie6hrs x1cer64c xh8yej3 x9f619 x5g2kb4 xc342km xso031l x1q0q8m5 x1qndepd xbixft x1hz01jw x1yc453h x1ypdohk x1t137rt xif5pkx x1ecmtor x19rmrnh x9v5kkp x13qnu6 x1bqaal x1t1lzn6 xc9qbxq x1cj0dek xu0aao5 xt970qd xnr6ljv x1r7kqkb xh3r7i3" },
548
+ 1: { className: "xrvj5dj x1lyhqur x5zqw90 x1s3eg4n x6s0dn4 xxs79tx x159juyu x8zbtdt xie6hrs x1cer64c xh8yej3 x9f619 x5g2kb4 xc342km xso031l x1q0q8m5 x1qndepd xpvm0e4 xbixft x1hz01jw x1yc453h x1ypdohk x1t137rt xif5pkx x1ecmtor x19rmrnh x9v5kkp x13qnu6 x1bqaal x1t1lzn6 xdd8jsf x1cj0dek x1wiwyrm xt970qd xnr6ljv xtg6wg7" },
549
+ 5: { className: "xrvj5dj x1lyhqur x5zqw90 x1s3eg4n x6s0dn4 xxs79tx x159juyu x8zbtdt xie6hrs x1cer64c xh8yej3 x9f619 x5g2kb4 xc342km xso031l x1q0q8m5 x1qndepd xpvm0e4 xbixft x1hz01jw x1yc453h x1ypdohk x1t137rt xif5pkx x1ecmtor x19rmrnh x9v5kkp x13qnu6 x1bqaal x1t1lzn6 xc9qbxq x1cj0dek xu0aao5 xt970qd xnr6ljv xtg6wg7" },
550
+ 3: { className: "xrvj5dj x1lyhqur x5zqw90 x1s3eg4n x6s0dn4 xxs79tx x159juyu x8zbtdt xie6hrs x1cer64c xh8yej3 x9f619 x5g2kb4 xc342km xso031l x1q0q8m5 x1qndepd xbixft x1hz01jw x1yc453h x1ypdohk x1t137rt xif5pkx x1ecmtor x19rmrnh x9v5kkp x13qnu6 x1bqaal x1t1lzn6 xdd8jsf x1cj0dek x1wiwyrm xt970qd xnr6ljv x1r7kqkb xh3r7i3 xtg6wg7" },
551
+ 7: { className: "xrvj5dj x1lyhqur x5zqw90 x1s3eg4n x6s0dn4 xxs79tx x159juyu x8zbtdt xie6hrs x1cer64c xh8yej3 x9f619 x5g2kb4 xc342km xso031l x1q0q8m5 x1qndepd xbixft x1hz01jw x1yc453h x1ypdohk x1t137rt xif5pkx x1ecmtor x19rmrnh x9v5kkp x13qnu6 x1bqaal x1t1lzn6 xc9qbxq x1cj0dek xu0aao5 xt970qd xnr6ljv x1r7kqkb xh3r7i3 xtg6wg7" }
549
552
  }[!!R << 2 | !!r << 1 | !!a],
550
553
  children: [
551
554
  /* @__PURE__ */ C(Ce, {
@@ -557,7 +560,7 @@ function Ve({ items: r, start: a, end: o, visibleRange: s, rowLabel: c, summaryL
557
560
  className: "x3nfvp2 x1qjc9v5 xkh2ocl x2lah0s",
558
561
  children: Array.from({ length: c }, (e, t) => /* @__PURE__ */ C("span", {
559
562
  className: "x1n2onr6 x1kky2od x2lah0s",
560
- children: /* @__PURE__ */ C("span", { className: "x10l6tqk x10no89f xrotz4w x1i1rx1s x1fa40ue x47corl" })
563
+ children: /* @__PURE__ */ C("span", { className: "x1lliihq x1d42jrs x10l6tqk x10no89f xrotz4w x1i1rx1s x1fa40ue x47corl" })
561
564
  }, t))
562
565
  }), /* @__PURE__ */ w("div", {
563
566
  className: "x78zum5 x6s0dn4 xunmzkg xeuugli x98rzlu",
@@ -626,7 +629,7 @@ function Ve({ items: r, start: a, end: o, visibleRange: s, rowLabel: c, summaryL
626
629
  }),
627
630
  /* @__PURE__ */ C(be, {
628
631
  title: n,
629
- className: "x1k3v4rp x14r0xmm x1ms6mhf xp4054r xb3r6kr xuxw1ft xlyipyv xss6m8b xeuugli x1t137rt x19rmrnh x9v5kkp x13qnu6 x7s97pk",
632
+ className: "x1k3v4rp x1p5bc58 x1ms6mhf xp4054r xb3r6kr xuxw1ft xlyipyv xss6m8b xeuugli x1t137rt x19rmrnh x9v5kkp x13qnu6 x7s97pk",
630
633
  children: /* @__PURE__ */ C(t, {
631
634
  variant: "caption",
632
635
  tone: "muted",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mechane-ai/elements",
3
- "version": "0.63.0",
3
+ "version": "0.65.0",
4
4
  "description": "Elements by Mechane — React components for applications, AI interfaces, and analytical graphics",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -5,7 +5,7 @@ import { BreakdownBar, BridgeChart } from '@mechane-ai/elements/charts/cartesian
5
5
  import type { BridgeStep, ChartReferenceLine } from '@mechane-ai/elements/charts/cartesian';
6
6
  import { FlowDiagram } from '@mechane-ai/elements/charts/graph';
7
7
  import type { FlowLink, FlowNode } from '@mechane-ai/elements/charts/graph';
8
- import { PageContent, PageLayout } from '@mechane-ai/elements/layout';
8
+ import { PageInset, PageLayout } from '@mechane-ai/elements/layout';
9
9
 
10
10
  type AllocationPart = { readonly id: string; readonly label: string; readonly amount: number };
11
11
 
@@ -84,8 +84,8 @@ export function AllocationReport({
84
84
  ];
85
85
 
86
86
  return (
87
- <PageLayout title={title} showNavigation={false}>
88
- <PageContent>
87
+ <PageLayout title={title}>
88
+ <PageInset>
89
89
  <Stack>
90
90
  <BreakdownBar
91
91
  title={`${totalLabel}: ${formatValue({ value: total, locale, format: valueFormat })}`}
@@ -117,7 +117,7 @@ export function AllocationReport({
117
117
  />
118
118
  )}
119
119
  </Stack>
120
- </PageContent>
120
+ </PageInset>
121
121
  </PageLayout>
122
122
  );
123
123
  }
@@ -1,11 +1,11 @@
1
1
  import { Text } from '@mechane-ai/elements';
2
2
  import { EventMonth, serializeCalendarDate } from '@mechane-ai/elements/forms/dates';
3
3
  import type { EventMonthProps } from '@mechane-ai/elements/forms/dates';
4
- import { PageLayout, PageSection } from '@mechane-ai/elements/layout';
4
+ import { PageInset, PageLayout, PageSection } from '@mechane-ai/elements/layout';
5
5
 
6
6
  /**
7
- * Keep a month grid flush with the workspace edges using PageSection's breakdown slot, then show the selected day's
8
- * full event names in an inset sibling section. The caller supplies the events and controls the selected civil date.
7
+ * Keep a month grid flush with the workspace edges as a PageSection child, then show the selected day's full event
8
+ * names in an inset sibling section. The caller supplies the events and controls the selected civil date.
9
9
  */
10
10
  export function CalendarWorkspace(calendar: EventMonthProps) {
11
11
  const date = serializeCalendarDate(calendar.selected);
@@ -25,14 +25,18 @@ export function CalendarWorkspace(calendar: EventMonthProps) {
25
25
  const events = calendar.itemsByDate.get(date) ?? [];
26
26
 
27
27
  return (
28
- <PageLayout title="Calendar" showNavigation={false}>
29
- <PageSection title={month} breakdown={<EventMonth {...calendar} />} />
28
+ <PageLayout title="Calendar">
29
+ <PageSection title={month}>
30
+ <EventMonth {...calendar} />
31
+ </PageSection>
30
32
  <PageSection title={day}>
31
- {events.length === 0 ? (
32
- <Text tone="muted">No events on this day.</Text>
33
- ) : (
34
- events.map((event) => <Text key={event.id}>{event.label}</Text>)
35
- )}
33
+ <PageInset>
34
+ {events.length === 0 ? (
35
+ <Text tone="muted">No events on this day.</Text>
36
+ ) : (
37
+ events.map((event) => <Text key={event.id}>{event.label}</Text>)
38
+ )}
39
+ </PageInset>
36
40
  </PageSection>
37
41
  </PageLayout>
38
42
  );
@@ -1,6 +1,6 @@
1
1
  import { Button, ConfirmButton, Stack } from '@mechane-ai/elements';
2
2
  import { Field, FormActions, FormStatus, Input } from '@mechane-ai/elements/forms';
3
- import { DetailPage, PageLayout } from '@mechane-ai/elements/layout';
3
+ import { PageLayout, ReadingColumn } from '@mechane-ai/elements/layout';
4
4
  import { AlertDialog } from '@mechane-ai/elements/overlays';
5
5
  import { useRef, useState } from 'react';
6
6
  import type { SubmitEvent } from 'react';
@@ -66,8 +66,8 @@ function ArchiveProject({ projectId, project, onArchive }: ArchiveProps) {
66
66
  }
67
67
 
68
68
  return (
69
- <PageLayout title="Archive project" showNavigation={false}>
70
- <DetailPage>
69
+ <PageLayout title="Archive project">
70
+ <ReadingColumn>
71
71
  {status === 'success' ? (
72
72
  <div ref={receipt} tabIndex={-1}>
73
73
  <FormStatus status="success" message={`${project} archived.`} />
@@ -126,7 +126,7 @@ function ArchiveProject({ projectId, project, onArchive }: ArchiveProps) {
126
126
  </FormActions>
127
127
  </AlertDialog.Popup>
128
128
  </AlertDialog.Root>
129
- </DetailPage>
129
+ </ReadingColumn>
130
130
  </PageLayout>
131
131
  );
132
132
  }
@@ -1,7 +1,7 @@
1
1
  import { Button } from '@mechane-ai/elements';
2
- import { DataTable } from '@mechane-ai/elements/collections';
2
+ import { DataTable, DataTablePlaceholder } from '@mechane-ai/elements/collections';
3
3
  import type { DataTableColumn, DataTableSort } from '@mechane-ai/elements/collections';
4
- import { Notice } from '@mechane-ai/elements/feedback';
4
+ import { AsyncRegion, Notice } from '@mechane-ai/elements/feedback';
5
5
  import { PageLayout } from '@mechane-ai/elements/layout';
6
6
 
7
7
  export type Worker = { readonly id: string; readonly name: string; readonly status: string };
@@ -41,66 +41,76 @@ export function SearchableCollection({ query, result, onQueryChange, onRetry, wo
41
41
  const page = result.page;
42
42
  const isPending = result.status === 'pending';
43
43
  const isReady = result.status === 'ready';
44
- const hasResults = page !== undefined;
44
+
45
+ const placeholder = <DataTablePlaceholder caption="Workers" columns={columns} />;
46
+
47
+ const failure = result.status === 'failed' && (
48
+ <Notice hasError>
49
+ Could not load workers. <Button onClick={onRetry}>Retry</Button>
50
+ </Notice>
51
+ );
45
52
 
46
53
  return (
47
- <PageLayout title="Workers" showNavigation={false}>
48
- {isPending && <Notice>Loading workers…</Notice>}
49
- {result.status === 'failed' && (
50
- <Notice hasError>
51
- Could not load workers. <Button onClick={onRetry}>Retry</Button>
52
- </Notice>
54
+ <PageLayout title="Workers">
55
+ {isPending && page === undefined ? (
56
+ <AsyncRegion state="pending" label="Workers" placeholder={placeholder} />
57
+ ) : (
58
+ <AsyncRegion state={page === undefined ? 'failed' : 'ready'} label="Workers" placeholder={placeholder}>
59
+ {failure}
60
+ {page !== undefined && (
61
+ <DataTable
62
+ caption="Workers"
63
+ hideCaption
64
+ columns={columns}
65
+ rows={page.rows}
66
+ getRowId={(worker) => worker.id}
67
+ resultStatus={result.status}
68
+ query={{
69
+ mode: 'controlled',
70
+ search: {
71
+ label: 'Find workers',
72
+ value: query.text,
73
+ onChange: (text) => onQueryChange({ ...query, text, page: 1 }),
74
+ },
75
+ filters: [
76
+ {
77
+ id: 'status',
78
+ label: 'Status',
79
+ defaultValue: '',
80
+ value: query.status,
81
+ options: [
82
+ { value: '', label: 'All statuses' },
83
+ { value: 'Available', label: 'Available' },
84
+ { value: 'Busy', label: 'Busy' },
85
+ ],
86
+ onChange: (status) => onQueryChange({ ...query, status, page: 1 }),
87
+ },
88
+ ],
89
+ }}
90
+ sort={query.sort}
91
+ onSortChange={(sort) => onQueryChange({ ...query, sort, page: 1 })}
92
+ rowAction={{
93
+ label: (worker) => `Open ${worker.name}`,
94
+ href: workerHref,
95
+ ...(onOpen !== undefined && { onActivate: onOpen }),
96
+ }}
97
+ pagination={{
98
+ description: `Page ${page.number}`,
99
+ previous: {
100
+ disabled: !isReady || query.page <= 1,
101
+ onClick: () => onQueryChange({ ...query, page: query.page - 1 }),
102
+ },
103
+ next: {
104
+ disabled: !isReady || !page.hasNext,
105
+ onClick: () => onQueryChange({ ...query, page: query.page + 1 }),
106
+ },
107
+ }}
108
+ empty="No workers yet."
109
+ filteredEmpty="No workers match your search or filters."
110
+ />
111
+ )}
112
+ </AsyncRegion>
53
113
  )}
54
- <DataTable
55
- caption="Workers"
56
- hideCaption
57
- columns={columns}
58
- rows={page?.rows ?? []}
59
- getRowId={(worker) => worker.id}
60
- resultStatus={result.status}
61
- query={{
62
- mode: 'controlled',
63
- search: {
64
- label: 'Find workers',
65
- value: query.text,
66
- onChange: (text) => onQueryChange({ ...query, text, page: 1 }),
67
- },
68
- filters: [
69
- {
70
- id: 'status',
71
- label: 'Status',
72
- defaultValue: '',
73
- value: query.status,
74
- options: [
75
- { value: '', label: 'All statuses' },
76
- { value: 'Available', label: 'Available' },
77
- { value: 'Busy', label: 'Busy' },
78
- ],
79
- onChange: (status) => onQueryChange({ ...query, status, page: 1 }),
80
- },
81
- ],
82
- }}
83
- sort={query.sort}
84
- onSortChange={(sort) => onQueryChange({ ...query, sort, page: 1 })}
85
- rowAction={{
86
- label: (worker) => `Open ${worker.name}`,
87
- href: workerHref,
88
- ...(onOpen !== undefined && { onActivate: onOpen }),
89
- }}
90
- pagination={{
91
- description: hasResults ? `Page ${page.number}` : '',
92
- previous: {
93
- disabled: !isReady || query.page <= 1,
94
- onClick: () => onQueryChange({ ...query, page: query.page - 1 }),
95
- },
96
- next: {
97
- disabled: !isReady || page?.hasNext !== true,
98
- onClick: () => onQueryChange({ ...query, page: query.page + 1 }),
99
- },
100
- }}
101
- empty={isReady && 'No workers yet.'}
102
- filteredEmpty={isReady && 'No workers match your search or filters.'}
103
- />
104
114
  </PageLayout>
105
115
  );
106
116
  }
@@ -24,7 +24,7 @@ const columns = [
24
24
  */
25
25
  export function SectionedReport({ sections }: ReportProps) {
26
26
  return (
27
- <PageLayout title="Work overview" showNavigation={false}>
27
+ <PageLayout title="Work overview">
28
28
  {sections.map((section) => (
29
29
  <PageSection
30
30
  key={section.id}
@@ -35,23 +35,22 @@ export function SectionedReport({ sections }: ReportProps) {
35
35
  <Metric {...section.metric} variant="headline" />
36
36
  </MetricGrid>
37
37
  }
38
- breakdown={
39
- <DataTable
40
- caption={section.title}
41
- hideCaption
42
- rows={section.contributors}
43
- getRowId={(row) => row.id}
44
- columns={columns}
45
- query={{
46
- mode: 'local',
47
- search: (row) => row.name,
48
- filters: [{ id: 'team', label: 'Team', value: (row) => row.team }],
49
- }}
50
- empty="No contributing work items."
51
- filteredEmpty="No matching work items."
52
- />
53
- }
54
- />
38
+ >
39
+ <DataTable
40
+ caption={section.title}
41
+ hideCaption
42
+ rows={section.contributors}
43
+ getRowId={(row) => row.id}
44
+ columns={columns}
45
+ query={{
46
+ mode: 'local',
47
+ search: (row) => row.name,
48
+ filters: [{ id: 'team', label: 'Team', value: (row) => row.team }],
49
+ }}
50
+ empty="No contributing work items."
51
+ filteredEmpty="No matching work items."
52
+ />
53
+ </PageSection>
55
54
  ))}
56
55
  </PageLayout>
57
56
  );
@@ -0,0 +1,59 @@
1
+ import { Waterfall } from '@mechane-ai/elements/charts/timeline';
2
+ import type { WaterfallItem } from '@mechane-ai/elements/charts/timeline';
3
+ import { Details } from '@mechane-ai/elements/collections';
4
+ import { PageLayout, PageSection } from '@mechane-ai/elements/layout';
5
+ import { useId, useState } from 'react';
6
+
7
+ type SessionProps = {
8
+ readonly title: string;
9
+ readonly steps: ReadonlyArray<WaterfallItem>;
10
+ readonly durationMs: number;
11
+ };
12
+
13
+ const milliseconds = { style: 'unit', unit: 'millisecond', unitDisplay: 'short' } as const;
14
+
15
+ /**
16
+ * Inspect an agent session's measured activity on a waterfall timeline. Selecting a step by mouse or keyboard reveals
17
+ * its exact recorded result. A step with missing endpoints stays unavailable.
18
+ */
19
+ export function SessionTimeline({ title, steps, durationMs }: SessionProps) {
20
+ const detailsId = useId();
21
+ const [selectedId, select] = useState<string | null>(null);
22
+ const selected = steps.find((step) => step.id === selectedId);
23
+
24
+ return (
25
+ <PageLayout title={title}>
26
+ <PageSection title="Execution">
27
+ <Waterfall
28
+ title="Session timeline"
29
+ items={steps.map((step) => ({ ...step, controls: detailsId }))}
30
+ start={0}
31
+ end={durationMs}
32
+ locale="en-US"
33
+ rowLabel="Step"
34
+ summaryLabel="Duration"
35
+ emptyLabel="No recorded activity."
36
+ offsetFormat={milliseconds}
37
+ selected={selectedId}
38
+ onSelectedChange={select}
39
+ onClearSelection={() => select(null)}
40
+ />
41
+ </PageSection>
42
+ <div id={detailsId}>
43
+ {selected !== undefined && (
44
+ <PageSection
45
+ title={selected.label}
46
+ summary={
47
+ <Details
48
+ items={[
49
+ { label: 'Result', value: selected.detail },
50
+ { label: 'Duration', value: selected.summary },
51
+ ]}
52
+ />
53
+ }
54
+ />
55
+ )}
56
+ </div>
57
+ </PageLayout>
58
+ );
59
+ }
@@ -1,7 +1,7 @@
1
1
  import { Text } from '@mechane-ai/elements';
2
2
  import { useCollectionControls } from '@mechane-ai/elements/collections';
3
3
  import { EmptyState } from '@mechane-ai/elements/feedback';
4
- import { PageContent, PageLayout } from '@mechane-ai/elements/layout';
4
+ import { PageInset, PageLayout } from '@mechane-ai/elements/layout';
5
5
  import { ContentTabs } from '@mechane-ai/elements/navigation';
6
6
  import type { PageNavigationItem } from '@mechane-ai/elements/navigation';
7
7
  import { useState } from 'react';
@@ -37,7 +37,6 @@ export function TabbedWorkspace({ project, summary, owner, events, views, curren
37
37
  return (
38
38
  <PageLayout
39
39
  title={project}
40
- showNavigation={false}
41
40
  navigation={{
42
41
  label: 'Project views',
43
42
  selectedId: currentView,
@@ -54,30 +53,30 @@ export function TabbedWorkspace({ project, summary, owner, events, views, curren
54
53
  id: 'summary',
55
54
  label: 'Summary',
56
55
  content: (
57
- <PageContent>
56
+ <PageInset>
58
57
  <Text>{summary}</Text>
59
- </PageContent>
58
+ </PageInset>
60
59
  ),
61
60
  },
62
61
  {
63
62
  id: 'ownership',
64
63
  label: 'Ownership',
65
64
  content: (
66
- <PageContent>
65
+ <PageInset>
67
66
  <Text>{owner}</Text>
68
- </PageContent>
67
+ </PageInset>
69
68
  ),
70
69
  },
71
70
  ]}
72
71
  />
73
72
  )}
74
73
  {currentView === 'activity' && (
75
- <PageContent>
74
+ <PageInset>
76
75
  {matching.map((event) => (
77
76
  <Text key={event.id}>{event.description}</Text>
78
77
  ))}
79
78
  {matching.length === 0 && <EmptyState title="No matching activity" />}
80
- </PageContent>
79
+ </PageInset>
81
80
  )}
82
81
  </PageLayout>
83
82
  );