@fusion.dev/helix 0.120.0 → 0.122.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.
@@ -63277,13 +63277,13 @@
63277
63277
  {
63278
63278
  "name": "positions",
63279
63279
  "type": {
63280
- "text": "Record<string, { x: number; y: number }>"
63280
+ "text": "Record<string, { x: number; y: number; z?: number | undefined }>"
63281
63281
  }
63282
63282
  }
63283
63283
  ],
63284
63284
  "description": "Says where a layout put each note, by its `id`: sends\n`helix-graph-layout` for the page to keep. Called by `connectGraph` once\nits layout has settled; a page laying out its own graph calls it the same\nway.",
63285
63285
  "type": {
63286
- "text": "laidOut(positions: Record<string, { x: number; y: number }>) => void"
63286
+ "text": "laidOut(positions: Record<string, { x: number; y: number; z?: number | undefined }>) => void"
63287
63287
  },
63288
63288
  "inheritedFrom": {
63289
63289
  "name": "HelixHeadlessGraph",
@@ -63822,6 +63822,18 @@
63822
63822
  "description": "A graph of linked notes, with the selected note's links and backlinks listed first.",
63823
63823
  "slug": "preview"
63824
63824
  },
63825
+ {
63826
+ "description": "Eight thousand notes on the surface of a brain in three dimensions, each region of the mind a region of the brain, with thoughts passing between them.",
63827
+ "slug": "brain-3d"
63828
+ },
63829
+ {
63830
+ "description": "Eight thousand notes fitted into the shape of a brain, each region of the mind a region of the drawing, with thoughts passing between them.",
63831
+ "slug": "brain"
63832
+ },
63833
+ {
63834
+ "description": "Twenty thousand notes, laid out and drawn on the GPU by cosmos.gl, with messages passing between them.",
63835
+ "slug": "large"
63836
+ },
63825
63837
  {
63826
63838
  "description": "A graph of company notes drawn by Sigma.js, with notes arriving and messages passing between them as they happen.",
63827
63839
  "slug": "live"
@@ -64216,7 +64228,7 @@
64216
64228
  "type": {
64217
64229
  "text": "HelixGraphLayoutEvent"
64218
64230
  },
64219
- "description": "A layout settled, with where it put each note, sent by `laidOut()`. Keep the positions and pass them back as each note's `x` and `y`.",
64231
+ "description": "A layout settled, with where it put each note, sent by `laidOut()`. Keep the positions and pass them back as each note's `x` and `y`, and `z` where a renderer draws in three dimensions.",
64220
64232
  "name": "helix-graph-layout",
64221
64233
  "reactProp": "onhelix-graph-layout",
64222
64234
  "inheritedFrom": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fusion.dev/helix",
3
3
  "description": "Styled component tier. Extends the headless tier with token-driven presentation.",
4
- "version": "0.120.0",
4
+ "version": "0.122.0",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {
@@ -51,13 +51,13 @@
51
51
  },
52
52
  "bugs": "https://github.com/project-fusion/fusion/issues",
53
53
  "dependencies": {
54
- "@fusion.dev/helix-core": "0.120.0",
55
- "@fusion.dev/helix-headless": "0.120.0",
56
- "@fusion.dev/helix-styles": "0.120.0"
54
+ "@fusion.dev/helix-core": "0.122.0",
55
+ "@fusion.dev/helix-headless": "0.122.0",
56
+ "@fusion.dev/helix-styles": "0.122.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@fusion.dev/helix-cem": "0.120.0",
60
- "@fusion.dev/helix-testing": "0.120.0",
59
+ "@fusion.dev/helix-cem": "0.122.0",
60
+ "@fusion.dev/helix-testing": "0.122.0",
61
61
  "@fusion.dev/scripts": "0.0.0-dev",
62
62
  "@happy-dom/global-registrator": "^20.0.0",
63
63
  "@lit-labs/ssr": "^4.1.0",
package/types/jsx.d.ts CHANGED
@@ -11361,7 +11361,7 @@ Required. */
11361
11361
  "onhelix-before-activate"?: ((
11362
11362
  e: HelixGraphHelixBeforeActivateElementEvent,
11363
11363
  ) => void) | undefined;
11364
- /** A layout settled, with where it put each note, sent by `laidOut()`. Keep the positions and pass them back as each note's `x` and `y`. */
11364
+ /** A layout settled, with where it put each note, sent by `laidOut()`. Keep the positions and pass them back as each note's `x` and `y`, and `z` where a renderer draws in three dimensions. */
11365
11365
  "onhelix-graph-layout"?: ((e: HelixGraphHelixGraphLayoutElementEvent) => void) | undefined;
11366
11366
  /** A pan button or arrow key was pressed. `connectGraph` moves the drawing. */
11367
11367
  "onhelix-graph-pan"?: ((e: HelixGraphHelixGraphPanElementEvent) => void) | undefined;
@@ -11611,7 +11611,7 @@ Required. */
11611
11611
  "on:helix-before-activate"?: ((
11612
11612
  e: HelixGraphHelixBeforeActivateElementEvent,
11613
11613
  ) => void) | undefined;
11614
- /** A layout settled, with where it put each note, sent by `laidOut()`. Keep the positions and pass them back as each note's `x` and `y`. */
11614
+ /** A layout settled, with where it put each note, sent by `laidOut()`. Keep the positions and pass them back as each note's `x` and `y`, and `z` where a renderer draws in three dimensions. */
11615
11615
  "on:helix-graph-layout"?: ((e: HelixGraphHelixGraphLayoutElementEvent) => void) | undefined;
11616
11616
  /** A pan button or arrow key was pressed. `connectGraph` moves the drawing. */
11617
11617
  "on:helix-graph-pan"?: ((e: HelixGraphHelixGraphPanElementEvent) => void) | undefined;
@@ -35626,7 +35626,7 @@ export type CustomElements = {
35626
35626
  *
35627
35627
  * - `helix-activate`: A note was selected, in the list or in the drawing. The detail's `value` is its `id`.
35628
35628
  * - `helix-before-activate`: A note is about to be selected. Cancelable: cancel it to keep the selection in your own state.
35629
- * - `helix-graph-layout`: A layout settled, with where it put each note, sent by `laidOut()`. Keep the positions and pass them back as each note's `x` and `y`.
35629
+ * - `helix-graph-layout`: A layout settled, with where it put each note, sent by `laidOut()`. Keep the positions and pass them back as each note's `x` and `y`, and `z` where a renderer draws in three dimensions.
35630
35630
  * - `helix-graph-pan`: A pan button or arrow key was pressed. `connectGraph` moves the drawing.
35631
35631
  * - `helix-graph-part-change`: The notes, the links, the selection, the depth or the gestures changed. Used by `connectGraph`; pages do not need to listen for it.
35632
35632
  * - `helix-graph-ready`: The graph has been drawn whole, laid out and settled. Sent each time `drawn()` says it is drawn after it was not.
@@ -35662,7 +35662,7 @@ export type CustomElements = {
35662
35662
  * its own graph calls it when that graph is finished. The first call after
35663
35663
  * the graph was not drawn sends `helix-graph-ready` and turns on
35664
35664
  * `:state(ready)`.
35665
- * - `laidOut(positions: Record<string, { x: number; y: number }>) => void`: Says where a layout put each note, by its `id`: sends
35665
+ * - `laidOut(positions: Record<string, { x: number; y: number; z?: number | undefined }>) => void`: Says where a layout put each note, by its `id`: sends
35666
35666
  * `helix-graph-layout` for the page to keep. Called by `connectGraph` once
35667
35667
  * its layout has settled; a page laying out its own graph calls it the same
35668
35668
  * way.
@@ -57915,7 +57915,7 @@ export type CustomElementsSolidJs = {
57915
57915
  *
57916
57916
  * - `helix-activate`: A note was selected, in the list or in the drawing. The detail's `value` is its `id`.
57917
57917
  * - `helix-before-activate`: A note is about to be selected. Cancelable: cancel it to keep the selection in your own state.
57918
- * - `helix-graph-layout`: A layout settled, with where it put each note, sent by `laidOut()`. Keep the positions and pass them back as each note's `x` and `y`.
57918
+ * - `helix-graph-layout`: A layout settled, with where it put each note, sent by `laidOut()`. Keep the positions and pass them back as each note's `x` and `y`, and `z` where a renderer draws in three dimensions.
57919
57919
  * - `helix-graph-pan`: A pan button or arrow key was pressed. `connectGraph` moves the drawing.
57920
57920
  * - `helix-graph-part-change`: The notes, the links, the selection, the depth or the gestures changed. Used by `connectGraph`; pages do not need to listen for it.
57921
57921
  * - `helix-graph-ready`: The graph has been drawn whole, laid out and settled. Sent each time `drawn()` says it is drawn after it was not.
@@ -57951,7 +57951,7 @@ export type CustomElementsSolidJs = {
57951
57951
  * its own graph calls it when that graph is finished. The first call after
57952
57952
  * the graph was not drawn sends `helix-graph-ready` and turns on
57953
57953
  * `:state(ready)`.
57954
- * - `laidOut(positions: Record<string, { x: number; y: number }>) => void`: Says where a layout put each note, by its `id`: sends
57954
+ * - `laidOut(positions: Record<string, { x: number; y: number; z?: number | undefined }>) => void`: Says where a layout put each note, by its `id`: sends
57955
57955
  * `helix-graph-layout` for the page to keep. Called by `connectGraph` once
57956
57956
  * its layout has settled; a page laying out its own graph calls it the same
57957
57957
  * way.
package/types/vue.d.ts CHANGED
@@ -5957,7 +5957,7 @@ export type HelixGraphVueEvents = {
5957
5957
  "helix-activate": HelixGraphHelixActivateElementEvent;
5958
5958
  /** A note is about to be selected. Cancelable: cancel it to keep the selection in your own state. */
5959
5959
  "helix-before-activate": HelixGraphHelixBeforeActivateElementEvent;
5960
- /** A layout settled, with where it put each note, sent by `laidOut()`. Keep the positions and pass them back as each note's `x` and `y`. */
5960
+ /** A layout settled, with where it put each note, sent by `laidOut()`. Keep the positions and pass them back as each note's `x` and `y`, and `z` where a renderer draws in three dimensions. */
5961
5961
  "helix-graph-layout": HelixGraphHelixGraphLayoutElementEvent;
5962
5962
  /** A pan button or arrow key was pressed. `connectGraph` moves the drawing. */
5963
5963
  "helix-graph-pan": HelixGraphHelixGraphPanElementEvent;