@xenosystem/blocks 0.8.0 → 0.9.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.
@@ -540,7 +540,7 @@ declare function countChanges(hunks: readonly XenoDiffHunk[]): {
540
540
  /**
541
541
  * The view — thin. Every decision lives in the controller.
542
542
  *
543
- * Composes `@xenosystem/workbench/primitives`, so it inherits `DESIGN_SYSTEM.md` for free. The host
543
+ * Composes `@xenosystem/components/chrome`, so it inherits `DESIGN_SYSTEM.md` for free. The host
544
544
  * must load `@xenosystem/workbench/primitives.css`; without it this renders unstyled with no error.
545
545
  *
546
546
  * 🔴 **What is NOT here is the point.** No transcript, no tool timeline, no diff, no terminal — the
@@ -1046,7 +1046,7 @@ import {
1046
1046
  TextButton,
1047
1047
  Toolbar,
1048
1048
  ToolbarGroup
1049
- } from "@xenosystem/workbench/primitives/react";
1049
+ } from "@xenosystem/components/chrome";
1050
1050
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
1051
1051
  var LANE_LABEL = {
1052
1052
  cloud: "Cloud",
@@ -587,7 +587,7 @@ declare const accountManifest: PanelManifest;
587
587
  /**
588
588
  * The Account panel view.
589
589
  *
590
- * Composes `@xenosystem/workbench/primitives`; the host must ensure `@xenosystem/workbench/primitives.css` is
590
+ * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
591
591
  * present.
592
592
  *
593
593
  * Three deliberate absences, each traceable to `XENO AUTH - SPEC.md`:
@@ -708,7 +708,7 @@ import {
708
708
  TextButton,
709
709
  Toolbar,
710
710
  ToolbarGroup
711
- } from "@xenosystem/workbench/primitives/react";
711
+ } from "@xenosystem/components/chrome";
712
712
  import { Fragment as Fragment2, jsx as jsx2, jsxs } from "react/jsx-runtime";
713
713
  var STATUS_LABEL = {
714
714
  unknown: "Loading",
@@ -660,7 +660,7 @@ declare function constraintsOfColumn(column: {
660
660
  /**
661
661
  * The Table panel's React view — grid + pivot.
662
662
  *
663
- * **First real consumer of `@xenosystem/workbench/primitives`.** Everything that is chrome (toolbar,
663
+ * **First real consumer of `@xenosystem/components/chrome`.** Everything that is chrome (toolbar,
664
664
  * status strip, empty/loading/error states, badges, icon buttons, segmented control) comes from the
665
665
  * primitives; only the grid body itself — which is the panel's actual job — is local.
666
666
  *
@@ -1109,7 +1109,7 @@ declare function rowsForMark(result: XenoResultSet, encoding: XenoChartEncoding,
1109
1109
  /**
1110
1110
  * The Chart panel view.
1111
1111
  *
1112
- * Composes `@xenosystem/workbench/primitives`; the host must ensure `@xenosystem/workbench/primitives.css` is
1112
+ * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
1113
1113
  * present. The plot area delegates to the installed renderer (see `renderer.ts`) — this view owns
1114
1114
  * the chrome and the states, not the marks.
1115
1115
  *
@@ -1133,7 +1133,7 @@ declare function ChartPanelView({ controller, options, emptyHint }: ChartPanelVi
1133
1133
  * The `xeno.core.metrics` contract — KPI tiles over a `XenoResultSet`.
1134
1134
  *
1135
1135
  * The cheapest panel in the family: the tile primitives already landed in
1136
- * `@xenosystem/workbench/primitives` (lifted from `xeno-post`'s kit), and the percentile math already
1136
+ * `@xenosystem/components/chrome` (lifted from `xeno-post`'s kit), and the percentile math already
1137
1137
  * landed in `@xenosystem/data-core`. This package is the model that binds them.
1138
1138
  *
1139
1139
  * @module
@@ -1403,7 +1403,7 @@ declare const metricsManifest: PanelManifest;
1403
1403
  /**
1404
1404
  * The Metrics panel view — tiles, deltas, sparklines, threshold tone.
1405
1405
  *
1406
- * Composes `@xenosystem/workbench/primitives` (`StatTile`, `Badge`, `SegmentedControl`, `Sparkline`); the
1406
+ * Composes `@xenosystem/components/chrome` (`StatTile`, `Badge`, `SegmentedControl`, `Sparkline`); the
1407
1407
  * host must ensure `@xenosystem/workbench/primitives.css` is present. Nothing here is a local re-cut —
1408
1408
  * the sparkline moved into the primitives so there is exactly one.
1409
1409
  *
@@ -1764,7 +1764,7 @@ declare const fieldsManifest: PanelManifest;
1764
1764
  /**
1765
1765
  * The Fields panel view — column list, shelves, filter builder.
1766
1766
  *
1767
- * Composes `@xenosystem/workbench/primitives`; the host must ensure
1767
+ * Composes `@xenosystem/components/chrome`; the host must ensure
1768
1768
  * `@xenosystem/workbench/primitives.css` is present.
1769
1769
  *
1770
1770
  * @module
@@ -3228,7 +3228,7 @@ declare function createRefreshCoordinator<T>(): RefreshCoordinator<T>;
3228
3228
  /**
3229
3229
  * The Connectors panel view — connection list, health, and the credential form.
3230
3230
  *
3231
- * Composes `@xenosystem/workbench/primitives`. **The host must import
3231
+ * Composes `@xenosystem/components/chrome`. **The host must import
3232
3232
  * `@xenosystem/workbench/primitives.css`** (or let the workbench inject it) or this renders unstyled with
3233
3233
  * no error.
3234
3234
  *
@@ -934,7 +934,7 @@ import {
934
934
  StatusBar,
935
935
  Toolbar,
936
936
  ToolbarGroup
937
- } from "@xenosystem/workbench/primitives/react";
937
+ } from "@xenosystem/components/chrome";
938
938
  import { alignmentFor, formatValue as formatValue2 } from "@xenosystem/data-core";
939
939
 
940
940
  // src/data/table/virtualize.ts
@@ -2246,7 +2246,7 @@ import {
2246
2246
  StatusBar as StatusBar2,
2247
2247
  Toolbar as Toolbar2,
2248
2248
  ToolbarGroup as ToolbarGroup2
2249
- } from "@xenosystem/workbench/primitives/react";
2249
+ } from "@xenosystem/components/chrome";
2250
2250
 
2251
2251
  // src/data/chart/renderer.ts
2252
2252
  var renderer = null;
@@ -2976,7 +2976,7 @@ import {
2976
2976
  StatTile,
2977
2977
  StatusBar as StatusBar3,
2978
2978
  Toolbar as Toolbar3
2979
- } from "@xenosystem/workbench/primitives/react";
2979
+ } from "@xenosystem/components/chrome";
2980
2980
  import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
2981
2981
  function MetricsPanelView({
2982
2982
  controller,
@@ -3959,7 +3959,7 @@ import {
3959
3959
  TextButton,
3960
3960
  Toolbar as Toolbar4,
3961
3961
  ToolbarGroup as ToolbarGroup3
3962
- } from "@xenosystem/workbench/primitives/react";
3962
+ } from "@xenosystem/components/chrome";
3963
3963
 
3964
3964
  // src/data/fields/react/icons.tsx
3965
3965
  import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
@@ -6455,7 +6455,7 @@ import {
6455
6455
  TextButton as TextButton2,
6456
6456
  Toolbar as Toolbar5,
6457
6457
  ToolbarGroup as ToolbarGroup4
6458
- } from "@xenosystem/workbench/primitives/react";
6458
+ } from "@xenosystem/components/chrome";
6459
6459
 
6460
6460
  // src/data/connectors/credentials.ts
6461
6461
  function isFieldVisible(field, draft) {
@@ -3409,7 +3409,7 @@ declare function segmentsAround(keys: readonly XenoCurveKey[], index: number, fa
3409
3409
  /**
3410
3410
  * The Curve view.
3411
3411
  *
3412
- * Composes `@xenosystem/workbench/primitives`. **The host must import
3412
+ * Composes `@xenosystem/components/chrome`. **The host must import
3413
3413
  * `@xenosystem/workbench/primitives.css`** or this renders unstyled with no error.
3414
3414
  *
3415
3415
  * Monochromatic per `DESIGN_SYSTEM.md`. Channels are differentiated by **dash pattern and opacity**,
@@ -4228,7 +4228,7 @@ declare const findManifest: PanelManifest;
4228
4228
  /**
4229
4229
  * The Find panel view.
4230
4230
  *
4231
- * Composes `@xenosystem/workbench/primitives`; the host must ensure `@xenosystem/workbench/primitives.css` is
4231
+ * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
4232
4232
  * present.
4233
4233
  *
4234
4234
  * @module
@@ -4665,7 +4665,7 @@ declare const commentsManifest: PanelManifest;
4665
4665
  /**
4666
4666
  * The Comments panel view.
4667
4667
  *
4668
- * Composes `@xenosystem/workbench/primitives`; the host must ensure `@xenosystem/workbench/primitives.css` is
4668
+ * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
4669
4669
  * present.
4670
4670
  *
4671
4671
  * @module
@@ -5607,7 +5607,7 @@ declare function distanceToEdge(point: {
5607
5607
  /**
5608
5608
  * The Node Graph view.
5609
5609
  *
5610
- * Composes `@xenosystem/workbench/primitives`. **The host must import
5610
+ * Composes `@xenosystem/components/chrome`. **The host must import
5611
5611
  * `@xenosystem/workbench/primitives.css`** or this renders unstyled with no error.
5612
5612
  *
5613
5613
  * Monochromatic per `DESIGN_SYSTEM.md`: rectangles with a corner radius, **no circles** — ports are
@@ -6402,7 +6402,7 @@ declare const treeManifest: PanelManifest;
6402
6402
  /**
6403
6403
  * The Tree panel's React view.
6404
6404
  *
6405
- * **This is the list-shaped panel `@xenosystem/workbench/primitives`' `Row`/`RowList` were designed for**,
6405
+ * **This is the list-shaped panel `@xenosystem/components/chrome`' `Row`/`RowList` were designed for**,
6406
6406
  * and they fit: `Row` already ships the fixed icon gutter, the depth indent, hover/selected/disabled
6407
6407
  * states, keyboard activation and `aria-selected`. The panel adds only what is genuinely tree-
6408
6408
  * specific — the twisty, the per-node child-state chrome, and the drop indicator.
@@ -8144,7 +8144,7 @@ var curveManifest = {
8144
8144
 
8145
8145
  // src/edit/curve/react/CurvePanelView.tsx
8146
8146
  import { useCallback as useCallback6, useEffect as useEffect5, useRef as useRef6, useSyncExternalStore as useSyncExternalStore5 } from "react";
8147
- import { EmptyState, StatusBar, Toolbar, ToolbarGroup } from "@xenosystem/workbench/primitives/react";
8147
+ import { EmptyState, StatusBar, Toolbar, ToolbarGroup } from "@xenosystem/components/chrome";
8148
8148
  import { formatTick } from "@xenosystem/time-core";
8149
8149
  import { Fragment as Fragment4, jsx as jsx10, jsxs as jsxs9 } from "react/jsx-runtime";
8150
8150
  var DASHES = ["none", "4 2", "1 2", "6 2 1 2"];
@@ -9021,7 +9021,7 @@ var viewportManifest = {
9021
9021
 
9022
9022
  // src/edit/viewport/react/ViewportPanelView.tsx
9023
9023
  import { useEffect as useEffect6, useRef as useRef7, useSyncExternalStore as useSyncExternalStore6 } from "react";
9024
- import { Badge, StatusBar as StatusBar2 } from "@xenosystem/workbench/primitives/react";
9024
+ import { Badge, StatusBar as StatusBar2 } from "@xenosystem/components/chrome";
9025
9025
  import { jsx as jsx11, jsxs as jsxs10 } from "react/jsx-runtime";
9026
9026
  var SLOT_STYLE = {
9027
9027
  "top-left": { top: 8, left: 8 },
@@ -9800,7 +9800,7 @@ import {
9800
9800
  TextButton,
9801
9801
  Toolbar as Toolbar2,
9802
9802
  ToolbarGroup as ToolbarGroup2
9803
- } from "@xenosystem/workbench/primitives/react";
9803
+ } from "@xenosystem/components/chrome";
9804
9804
  import { jsx as jsx12, jsxs as jsxs11 } from "react/jsx-runtime";
9805
9805
  function CaseIcon() {
9806
9806
  return /* @__PURE__ */ jsxs11("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", children: [
@@ -10672,7 +10672,7 @@ import {
10672
10672
  TextButton as TextButton2,
10673
10673
  Toolbar as Toolbar3,
10674
10674
  ToolbarGroup as ToolbarGroup3
10675
- } from "@xenosystem/workbench/primitives/react";
10675
+ } from "@xenosystem/components/chrome";
10676
10676
  import { Fragment as Fragment5, jsx as jsx13, jsxs as jsxs12 } from "react/jsx-runtime";
10677
10677
  var ANCHOR_BADGE = {
10678
10678
  live: null,
@@ -12103,7 +12103,7 @@ var nodegraphManifest = {
12103
12103
 
12104
12104
  // src/edit/nodegraph/react/NodeGraphPanelView.tsx
12105
12105
  import { useCallback as useCallback7, useEffect as useEffect7, useRef as useRef8, useSyncExternalStore as useSyncExternalStore9 } from "react";
12106
- import { EmptyState as EmptyState4, StatusBar as StatusBar5, Toolbar as Toolbar4, ToolbarGroup as ToolbarGroup4 } from "@xenosystem/workbench/primitives/react";
12106
+ import { EmptyState as EmptyState4, StatusBar as StatusBar5, Toolbar as Toolbar4, ToolbarGroup as ToolbarGroup4 } from "@xenosystem/components/chrome";
12107
12107
  import { Fragment as Fragment6, jsx as jsx14, jsxs as jsxs13 } from "react/jsx-runtime";
12108
12108
  var HEADER_H2 = 24;
12109
12109
  var PORT_ROW_H2 = 18;
@@ -13643,7 +13643,7 @@ import {
13643
13643
  StatusBar as StatusBar6,
13644
13644
  Toolbar as Toolbar5,
13645
13645
  ToolbarGroup as ToolbarGroup5
13646
- } from "@xenosystem/workbench/primitives/react";
13646
+ } from "@xenosystem/components/chrome";
13647
13647
  import { computeWindow as computeWindow3 } from "@xenosystem/tree-core";
13648
13648
 
13649
13649
  // src/edit/tree/react/icons.tsx
package/dist/index.d.ts CHANGED
@@ -4,6 +4,6 @@
4
4
  * `/agent`. This root re-exports nothing on purpose: import the family you mount, so a product
5
5
  * carries only it. Naming rule: `XENO PACKAGE NAMING - STANDARD.md`.
6
6
  */
7
- declare const BLOCKS_VERSION = "0.8.0";
7
+ declare const BLOCKS_VERSION = "0.8.1";
8
8
 
9
9
  export { BLOCKS_VERSION };
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./chunk-2KG3PWR4.js";
2
2
 
3
3
  // src/index.ts
4
- var BLOCKS_VERSION = "0.8.0";
4
+ var BLOCKS_VERSION = "0.8.1";
5
5
  export {
6
6
  BLOCKS_VERSION
7
7
  };
@@ -514,7 +514,7 @@ declare const consoleManifest: PanelManifest;
514
514
  /**
515
515
  * The Console panel view — virtualized, follow-tail, per-source chips.
516
516
  *
517
- * Composes `@xenosystem/workbench/primitives`; the host must ensure `@xenosystem/workbench/primitives.css` is
517
+ * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
518
518
  * present.
519
519
  *
520
520
  * @module
@@ -1311,7 +1311,7 @@ declare function flattenRunRows(runs: readonly XenoRun[], options: FlattenOption
1311
1311
  /**
1312
1312
  * The Runs panel view.
1313
1313
  *
1314
- * Composes `@xenosystem/workbench/primitives`; the host must ensure `@xenosystem/workbench/primitives.css` is
1314
+ * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
1315
1315
  * present. `ProportionBar` carries progress — it is exactly the right mark, and it means the panel
1316
1316
  * ships no chart code of its own.
1317
1317
  *
package/dist/ops/index.js CHANGED
@@ -614,7 +614,7 @@ import {
614
614
  StatusBar,
615
615
  Toolbar,
616
616
  ToolbarGroup
617
- } from "@xenosystem/workbench/primitives/react";
617
+ } from "@xenosystem/components/chrome";
618
618
  import { computeWindow } from "@xenosystem/tree-core";
619
619
 
620
620
  // src/ops/console/react/icons.tsx
@@ -1747,7 +1747,7 @@ import {
1747
1747
  TextButton,
1748
1748
  Toolbar as Toolbar2,
1749
1749
  ToolbarGroup as ToolbarGroup2
1750
- } from "@xenosystem/workbench/primitives/react";
1750
+ } from "@xenosystem/components/chrome";
1751
1751
 
1752
1752
  // src/ops/runs/react/icons.tsx
1753
1753
  import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
@@ -2546,7 +2546,7 @@ import {
2546
2546
  TextButton as TextButton2,
2547
2547
  Toolbar as Toolbar3,
2548
2548
  ToolbarGroup as ToolbarGroup3
2549
- } from "@xenosystem/workbench/primitives/react";
2549
+ } from "@xenosystem/components/chrome";
2550
2550
  import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
2551
2551
  function CloseIcon() {
2552
2552
  return /* @__PURE__ */ jsx5("svg", { width: "10", height: "10", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", children: /* @__PURE__ */ jsx5("path", { d: "M18 6 6 18M6 6l12 12" }) });
@@ -3296,7 +3296,7 @@ import {
3296
3296
  TextButton as TextButton3,
3297
3297
  Toolbar as Toolbar4,
3298
3298
  ToolbarGroup as ToolbarGroup4
3299
- } from "@xenosystem/workbench/primitives/react";
3299
+ } from "@xenosystem/components/chrome";
3300
3300
  import { Fragment as Fragment3, jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
3301
3301
  var MARK = {
3302
3302
  added: { background: "var(--xeno-hover)" },
@@ -1804,7 +1804,7 @@ declare function gridTicksFor(scale: XenoTimeScale, timebase: XenoTimebase): num
1804
1804
  /**
1805
1805
  * The Timeline view.
1806
1806
  *
1807
- * Composes `@xenosystem/workbench/primitives`. **The host must import
1807
+ * Composes `@xenosystem/components/chrome`. **The host must import
1808
1808
  * `@xenosystem/workbench/primitives.css`** or this renders unstyled with no error — the most common
1809
1809
  * integration mistake, and the hardest to diagnose because nothing fails.
1810
1810
  *
@@ -2243,7 +2243,7 @@ declare function rowInWindow(row: XenoRow, columnId: string, column: XenoColumn
2243
2243
  /**
2244
2244
  * The Calendar panel view.
2245
2245
  *
2246
- * Composes `@xenosystem/workbench/primitives`; the host must ensure `@xenosystem/workbench/primitives.css` is
2246
+ * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
2247
2247
  * present.
2248
2248
  *
2249
2249
  * @module
@@ -2923,7 +2923,7 @@ var timelineManifest = {
2923
2923
 
2924
2924
  // src/time/timeline/react/TimelinePanelView.tsx
2925
2925
  import { useCallback as useCallback2, useEffect as useEffect2, useRef as useRef2, useSyncExternalStore as useSyncExternalStore2 } from "react";
2926
- import { EmptyState, StatusBar, Toolbar, ToolbarGroup } from "@xenosystem/workbench/primitives/react";
2926
+ import { EmptyState, StatusBar, Toolbar, ToolbarGroup } from "@xenosystem/components/chrome";
2927
2927
  import { formatTick as formatTick4 } from "@xenosystem/time-core";
2928
2928
  import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
2929
2929
  var RULER_PX = 22;
@@ -4186,7 +4186,7 @@ import {
4186
4186
  TextButton,
4187
4187
  Toolbar as Toolbar2,
4188
4188
  ToolbarGroup as ToolbarGroup2
4189
- } from "@xenosystem/workbench/primitives/react";
4189
+ } from "@xenosystem/components/chrome";
4190
4190
 
4191
4191
  // src/time/calendar/react/icons.tsx
4192
4192
  import { jsx as jsx4 } from "react/jsx-runtime";
@@ -752,7 +752,7 @@ declare const consentManifest: PanelManifest;
752
752
  /**
753
753
  * The Consent panel view.
754
754
  *
755
- * Composes `@xenosystem/workbench/primitives`; the host must ensure `@xenosystem/workbench/primitives.css` is
755
+ * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
756
756
  * present.
757
757
  *
758
758
  * Two deliberate absences: **no "Allow all"** (bulk approval is how consent fatigue becomes a
@@ -671,7 +671,7 @@ import {
671
671
  Toggle,
672
672
  Toolbar,
673
673
  ToolbarGroup
674
- } from "@xenosystem/workbench/primitives/react";
674
+ } from "@xenosystem/components/chrome";
675
675
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
676
676
  var RISK_TONE = {
677
677
  low: "neutral",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xenosystem/blocks",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "XENO Blocks \u2014 rung 3 of the front ladder: components composed into a contract-bearing unit (manifest: ports, intents, commands, agent surface), rendered by @xenosystem/workbench. ONE package, one subpath per family (/auth, /edit, /data, /time, /ops, /trust, /agent), one named export per block \u2014 XENO PACKAGE NAMING - STANDARD.md.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -58,7 +58,7 @@
58
58
  "test": "vitest run"
59
59
  },
60
60
  "peerDependencies": {
61
- "@xenosystem/components": "^0.6.0",
61
+ "@xenosystem/components": ">=0.6.0 <1",
62
62
  "@xenosystem/elements-react": ">=0.0.1",
63
63
  "@xenosystem/workbench": "^1.0.0",
64
64
  "react": ">=18.0.0",
@@ -75,9 +75,9 @@
75
75
  "@types/node": "^22.0.0",
76
76
  "@types/react": "^19.0.0",
77
77
  "@types/react-dom": "^19.0.0",
78
- "@xenosystem/components": "^0.6.0",
78
+ "@xenosystem/components": "^0.8.0",
79
79
  "@xenosystem/elements-react": "0.0.1",
80
- "@xenosystem/workbench": "^1.0.0",
80
+ "@xenosystem/workbench": "^1.2.0",
81
81
  "jsdom": "^26.0.0",
82
82
  "react": "^19.0.0",
83
83
  "react-dom": "^19.0.0",