@xenosystem/blocks 0.19.0 → 0.19.2

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.
@@ -542,7 +542,7 @@ declare function countChanges(hunks: readonly XenoDiffHunk[]): {
542
542
  * The view — thin. Every decision lives in the controller.
543
543
  *
544
544
  * Composes `@xenosystem/components/chrome`, so it inherits `DESIGN_SYSTEM.md` for free. The host
545
- * must load `@xenosystem/workbench/primitives.css`; without it this renders unstyled with no error.
545
+ * must load `ensurePanelPrimitivesInjected() from @xenosystem/components/chrome`; without it this renders unstyled with no error.
546
546
  *
547
547
  * 🔴 **What is NOT here is the point.** No transcript, no tool timeline, no diff, no terminal — the
548
548
  * canonical panels render those and this one wires to them (`WIRING.md`). What remains is the small
@@ -585,7 +585,7 @@ declare const accountManifest: PanelManifest;
585
585
  /**
586
586
  * The Account panel view.
587
587
  *
588
- * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
588
+ * Composes `@xenosystem/components/chrome`; the host must ensure `ensurePanelPrimitivesInjected() from @xenosystem/components/chrome` is
589
589
  * present.
590
590
  *
591
591
  * Three deliberate absences, each traceable to `XENO AUTH - SPEC.md`:
@@ -8,10 +8,10 @@ import { bindConfig } from "@xenosystem/block-sdk";
8
8
  // src/auth/gate/types.ts
9
9
  function deriveAuthGatePhase(state) {
10
10
  if (state.sdk === "unavailable") return "unavailable";
11
+ if (state.licence === "update-required") return "update-required";
11
12
  if (state.account === "unknown") return "checking";
12
13
  if (state.account === "signedOut" || state.account === "expired") return "sign-in";
13
14
  if (state.licence === "checking") return "checking";
14
- if (state.licence === "update-required") return "update-required";
15
15
  if (state.licence === "expired-offline") return "expired-offline";
16
16
  if (state.licence === "unlicensed") return "unlicensed";
17
17
  return "open";
@@ -1388,7 +1388,7 @@ declare const CHART_DECLARATION: BlockDeclaration;
1388
1388
  * byte-identical (the equivalence suite holds the two together). The one thing this file owns that
1389
1389
  * the declaration cannot is `chart/Plot`: the element the host renderer draws the marks into.
1390
1390
  *
1391
- * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
1391
+ * Composes `@xenosystem/components/chrome`; the host must ensure `ensurePanelPrimitivesInjected() from @xenosystem/components/chrome` is
1392
1392
  * present.
1393
1393
  *
1394
1394
  * @module
@@ -1760,7 +1760,7 @@ declare const METRICS_DECLARATION: BlockDeclaration;
1760
1760
  * `MetricsViewModel` byte-identical (the equivalence suite holds the two together). No runtime-bound
1761
1761
  * unit; every intent goes through `applyMetricsUi`.
1762
1762
  *
1763
- * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
1763
+ * Composes `@xenosystem/components/chrome`; the host must ensure `ensurePanelPrimitivesInjected() from @xenosystem/components/chrome` is
1764
1764
  * present.
1765
1765
  *
1766
1766
  * @module
@@ -2252,7 +2252,7 @@ declare const FIELDS_DECLARATION: BlockDeclaration;
2252
2252
  * byte-identical (the equivalence suite holds the two together). Nothing here reaches the controller
2253
2253
  * except through `applyFieldsUi`; there is no runtime-bound unit.
2254
2254
  *
2255
- * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
2255
+ * Composes `@xenosystem/components/chrome`; the host must ensure `ensurePanelPrimitivesInjected() from @xenosystem/components/chrome` is
2256
2256
  * present.
2257
2257
  *
2258
2258
  * @module
@@ -3813,7 +3813,7 @@ declare const CONNECTORS_DECLARATION: BlockDeclaration;
3813
3813
  * runtime-bound unit; every intent goes through `applyConnectorsUi`. The credential draft lives in
3814
3814
  * the controller and is cleared with the form — the values never sit in React state.
3815
3815
  *
3816
- * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
3816
+ * Composes `@xenosystem/components/chrome`; the host must ensure `ensurePanelPrimitivesInjected() from @xenosystem/components/chrome` is
3817
3817
  * present.
3818
3818
  *
3819
3819
  * @module
@@ -4072,7 +4072,7 @@ declare const CURVE_DECLARATION: BlockDeclaration;
4072
4072
  * through `applyCurveUi`.
4073
4073
  *
4074
4074
  * Composes `@xenosystem/components/chrome`. **The host must import
4075
- * `@xenosystem/workbench/primitives.css`** or this renders unstyled with no error.
4075
+ * `ensurePanelPrimitivesInjected() from @xenosystem/components/chrome`** or this renders unstyled with no error.
4076
4076
  *
4077
4077
  * Monochromatic per `DESIGN_SYSTEM.md`. Channels are differentiated by **dash pattern and opacity**,
4078
4078
  * not colour — a host may declare an accent per channel, and only then is one used.
@@ -5069,7 +5069,7 @@ declare const FIND_DECLARATION: BlockDeclaration;
5069
5069
  * this file owns that the declaration cannot is the keyboard model on the root (`find/Keys`):
5070
5070
  * Enter / Shift+Enter walk the matches, Escape clears.
5071
5071
  *
5072
- * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
5072
+ * Composes `@xenosystem/components/chrome`; the host must ensure `ensurePanelPrimitivesInjected() from @xenosystem/components/chrome` is
5073
5073
  * present.
5074
5074
  *
5075
5075
  * @module
@@ -5663,7 +5663,7 @@ declare const COMMENTS_DECLARATION: BlockDeclaration;
5663
5663
  * runtime-bound unit; every intent — including the keyboard shortcuts — goes through
5664
5664
  * `applyCommentsUi`.
5665
5665
  *
5666
- * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
5666
+ * Composes `@xenosystem/components/chrome`; the host must ensure `ensurePanelPrimitivesInjected() from @xenosystem/components/chrome` is
5667
5667
  * present.
5668
5668
  *
5669
5669
  * @module
@@ -6647,7 +6647,7 @@ declare const NODEGRAPH_DECLARATION: BlockDeclaration;
6647
6647
  * `applyNodeGraphUi`.
6648
6648
  *
6649
6649
  * Composes `@xenosystem/components/chrome`. **The host must import
6650
- * `@xenosystem/workbench/primitives.css`** or this renders unstyled with no error.
6650
+ * `ensurePanelPrimitivesInjected() from @xenosystem/components/chrome`** or this renders unstyled with no error.
6651
6651
  *
6652
6652
  * Monochromatic per `DESIGN_SYSTEM.md`: rectangles with a corner radius, **no circles** — ports are
6653
6653
  * small squares, not dots. A host may declare an accent per node; nothing else carries colour.
@@ -632,7 +632,7 @@ declare const CONSOLE_DECLARATION: BlockDeclaration;
632
632
  * file owns that the declaration cannot is `console/Scroller`: the element the virtualizer measures,
633
633
  * whose scroll position the controller mirrors, and which follow-mode pins to the bottom.
634
634
  *
635
- * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
635
+ * Composes `@xenosystem/components/chrome`; the host must ensure `ensurePanelPrimitivesInjected() from @xenosystem/components/chrome` is
636
636
  * present.
637
637
  *
638
638
  * @module
@@ -1546,7 +1546,7 @@ declare const RUNS_DECLARATION: BlockDeclaration;
1546
1546
  * byte-identical (the equivalence suite holds the two together). No runtime-bound unit; every
1547
1547
  * intent goes through `applyRunsUi`.
1548
1548
  *
1549
- * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
1549
+ * Composes `@xenosystem/components/chrome`; the host must ensure `ensurePanelPrimitivesInjected() from @xenosystem/components/chrome` is
1550
1550
  * present.
1551
1551
  *
1552
1552
  * @module
@@ -2673,7 +2673,7 @@ declare const DIFF_DECLARATION: BlockDeclaration;
2673
2673
  * intent goes through `applyDiffUi`.
2674
2674
  *
2675
2675
  * Composes `@xenosystem/components/chrome` — a file is a `Section`, a hunk a `Hunk`, a line a
2676
- * `DiffLine` of runs; the host must ensure `@xenosystem/workbench/primitives.css` is present.
2676
+ * `DiffLine` of runs; the host must ensure `ensurePanelPrimitivesInjected() from @xenosystem/components/chrome` is present.
2677
2677
  *
2678
2678
  * @module
2679
2679
  */
@@ -2043,7 +2043,7 @@ declare const TIMELINE_DECLARATION: BlockDeclaration;
2043
2043
  * `applyTimelineUi`.
2044
2044
  *
2045
2045
  * Composes `@xenosystem/components/chrome`. **The host must import
2046
- * `@xenosystem/workbench/primitives.css`** or this renders unstyled with no error — the most common
2046
+ * `ensurePanelPrimitivesInjected() from @xenosystem/components/chrome`** or this renders unstyled with no error — the most common
2047
2047
  * integration mistake, and the hardest to diagnose because nothing fails.
2048
2048
  *
2049
2049
  * Monochromatic per `DESIGN_SYSTEM.md`: rectangles with a corner radius, no circles, compact
@@ -2605,7 +2605,7 @@ declare const CALENDAR_DECLARATION: BlockDeclaration;
2605
2605
  * `CalendarViewModel` byte-identical (the equivalence suite holds the two together). No runtime-bound
2606
2606
  * unit; every intent goes through `applyCalendarUi`.
2607
2607
  *
2608
- * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
2608
+ * Composes `@xenosystem/components/chrome`; the host must ensure `ensurePanelPrimitivesInjected() from @xenosystem/components/chrome` is
2609
2609
  * present.
2610
2610
  *
2611
2611
  * @module
@@ -873,7 +873,7 @@ declare const CONSENT_DECLARATION: BlockDeclaration;
873
873
  * `ConsentViewModel` byte-identical (the equivalence suite holds the two together). No runtime-bound
874
874
  * unit; every intent goes through `applyConsentUi`.
875
875
  *
876
- * Composes `@xenosystem/components/chrome`; the host must ensure `@xenosystem/workbench/primitives.css` is
876
+ * Composes `@xenosystem/components/chrome`; the host must ensure `ensurePanelPrimitivesInjected() from @xenosystem/components/chrome` is
877
877
  * present.
878
878
  *
879
879
  * @module
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xenosystem/blocks",
3
- "version": "0.19.0",
3
+ "version": "0.19.2",
4
4
  "description": "XENO Blocks — 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 — XENO PACKAGE NAMING - STANDARD.md.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",