@fusion.dev/helix 0.194.0 → 0.195.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.
- package/api.json +1 -1
- package/custom-elements.json +210 -54
- package/dist/spatial-heatmap/root/spatial-heatmap-root.css.js +1 -1
- package/dist/spatial-heatmap/root/spatial-heatmap-root.d.ts +2 -1
- package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.css.js +1 -1
- package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.d.ts +3 -3
- package/dist/spatial-surface-chart/root/spatial-surface-chart-root.css.js +1 -1
- package/dist/spatial-surface-chart/root/spatial-surface-chart-root.d.ts +2 -2
- package/examples.json +1 -1
- package/lint.json +1 -1
- package/package.json +6 -6
- package/skills/helix/SKILL.md +2 -2
- package/types/jsx.d.ts +24 -34
- package/types/vue.d.ts +7 -13
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.
|
|
4
|
+
"version": "0.195.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -60,14 +60,14 @@
|
|
|
60
60
|
},
|
|
61
61
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@fusion.dev/helix-core": "0.
|
|
64
|
-
"@fusion.dev/helix-headless": "0.
|
|
65
|
-
"@fusion.dev/helix-styles": "0.
|
|
63
|
+
"@fusion.dev/helix-core": "0.195.0",
|
|
64
|
+
"@fusion.dev/helix-headless": "0.195.0",
|
|
65
|
+
"@fusion.dev/helix-styles": "0.195.0",
|
|
66
66
|
"tslib": "^2.8.1"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@fusion.dev/helix-cem": "0.
|
|
70
|
-
"@fusion.dev/helix-testing": "0.
|
|
69
|
+
"@fusion.dev/helix-cem": "0.195.0",
|
|
70
|
+
"@fusion.dev/helix-testing": "0.195.0",
|
|
71
71
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
72
72
|
"@happy-dom/global-registrator": "^20.14.5",
|
|
73
73
|
"@lit-labs/ssr": "^4.1.0",
|
package/skills/helix/SKILL.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
name: helix
|
|
3
3
|
description: Writes and checks pages built with Helix, the web components in @fusion.dev/helix. Use when building or reviewing any user interface in a project that installs @fusion.dev/helix, and when code has helix- elements, Helix tokens, or the helix command line.
|
|
4
4
|
metadata:
|
|
5
|
-
version: "0.
|
|
5
|
+
version: "0.195.0"
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Helix
|
|
9
9
|
|
|
10
|
-
This guide is for @fusion.dev/helix 0.
|
|
10
|
+
This guide is for @fusion.dev/helix 0.195.0, the version installed beside it.
|
|
11
11
|
|
|
12
12
|
## Using Helix with an agent
|
|
13
13
|
|
package/types/jsx.d.ts
CHANGED
|
@@ -66148,7 +66148,8 @@ export type CustomElements = {
|
|
|
66148
66148
|
/**
|
|
66149
66149
|
* Each reading is a prism. The top face takes the cell's tone, and the two
|
|
66150
66150
|
* sides are the same tone, shaded darker, so the whole relief follows your
|
|
66151
|
-
* theme's colors.
|
|
66151
|
+
* theme's colors. The chart draws the relief in SVG, and
|
|
66152
|
+
* `@fusion.dev/helix-plot` can draw it with three.js.
|
|
66152
66153
|
*
|
|
66153
66154
|
* `tones="1 2 3 4 5"` uses the same five-step ramp as `Heatmap`, so the tone
|
|
66154
66155
|
* and the height both show the value. Set `--spatial-heatmap-cell-size` to
|
|
@@ -66382,7 +66383,7 @@ export type CustomElements = {
|
|
|
66382
66383
|
* - `placeReading(at: { x: number; y: number } | undefined) => void`: Says where the renderer draws the reading, as fractions of the strip from
|
|
66383
66384
|
* its top left, or `undefined` while it draws none. The tooltip points
|
|
66384
66385
|
* there. Called by the connector.
|
|
66385
|
-
* - `placeCorners(at:
|
|
66386
|
+
* - `placeCorners(at: DrawnCorners | undefined) => void`: Says where the renderer draws the two ends of the front edge, under the
|
|
66386
66387
|
* first column and the last, as fractions of the strip from its top left,
|
|
66387
66388
|
* or `undefined` while they are out of view, where the labels keep the
|
|
66388
66389
|
* last place they had. The `start` and `end` labels stand there. Called by
|
|
@@ -66428,12 +66429,9 @@ export type CustomElements = {
|
|
|
66428
66429
|
* - `--spatial-heatmap-left-shade`: How much less light the left face is than the top, as a step of OKLCH lightness from 0 to 1. 0.07 by default.
|
|
66429
66430
|
* - `--spatial-heatmap-right-shade`: How much less light the right face is than the top, as a step of OKLCH lightness from 0 to 1. 0.14 by default.
|
|
66430
66431
|
* - `--spatial-heatmap-selected-color`: The color of the dashed edges of a selected prism, under `selection-mode`. By default, white on a dark face and black on a light one.
|
|
66431
|
-
* - `--spatial-heatmap-
|
|
66432
|
-
* - `--spatial-heatmap-
|
|
66433
|
-
* - `--spatial-heatmap-end-y`: How far down the drawing the front edge ends, under the newest column, as a share of the drawing's width: its whole depth in the chart's own drawing, and wherever a renderer draws it. The component writes it on the footer, and a stylesheet that stands the `end` label there reads it.
|
|
66432
|
+
* - `--spatial-heatmap-label-x`: Where the `start` or the `end` label stands clear of the drawing, from the footer's inline start, in pixels. The component measures it and writes it on the label, with `data-placed`, as the view turns.
|
|
66433
|
+
* - `--spatial-heatmap-label-y`: Where the `start` or the `end` label stands clear of the drawing, from the footer's top, in pixels. The component measures it and writes it on the label, with `data-placed`, as the view turns.
|
|
66434
66434
|
* - `--spatial-heatmap-span`: How many cells the drawing spans across: its columns and its rows together. The component writes it on the strip, and a stylesheet that caps the cell size reads it.
|
|
66435
|
-
* - `--spatial-heatmap-start-x`: Where the front edge starts, under the first column, across the drawing, from 0 at its inline start to 1: 0 in the chart's own drawing, and wherever a renderer draws it. The component writes it on the footer, and a stylesheet that stands the `start` label there reads it.
|
|
66436
|
-
* - `--spatial-heatmap-start-y`: How far down the drawing the front edge starts, under the first column, as a share of the drawing's width. The component writes it on the footer, and a stylesheet that stands the `start` label there reads it.
|
|
66437
66435
|
* - `--heatmap-rows`: How many rows the strip lays out. The component writes it from the data, and the stylesheet that draws the strip reads it.
|
|
66438
66436
|
* - `--heatmap-tone`: The tone of the cell it is set on. The component writes it, and the stylesheet that paints the cell reads it.
|
|
66439
66437
|
* - `--heatmap-tone-1`: The weakest step of the magnitude ramp, used by `tones="1 …"`.
|
|
@@ -66510,9 +66508,9 @@ export type CustomElements = {
|
|
|
66510
66508
|
>;
|
|
66511
66509
|
|
|
66512
66510
|
/**
|
|
66513
|
-
* The
|
|
66514
|
-
*
|
|
66515
|
-
*
|
|
66511
|
+
* The chart draws the points in 3D in SVG, and `@fusion.dev/helix-plot` can
|
|
66512
|
+
* draw them with three.js. Each group takes a series color from the theme, as
|
|
66513
|
+
* every chart's series does, in both drawings.
|
|
66516
66514
|
*
|
|
66517
66515
|
* ## Attributes & Properties
|
|
66518
66516
|
*
|
|
@@ -66744,8 +66742,8 @@ export type CustomElements = {
|
|
|
66744
66742
|
>;
|
|
66745
66743
|
|
|
66746
66744
|
/**
|
|
66747
|
-
* The
|
|
66748
|
-
*
|
|
66745
|
+
* The chart draws the surface in 3D in SVG, and `@fusion.dev/helix-plot` can
|
|
66746
|
+
* draw it with three.js. Every height is shaded along one
|
|
66749
66747
|
* ramp from the theme's primary color, quiet where it is low and strong where
|
|
66750
66748
|
* it is high, so the two drawings agree.
|
|
66751
66749
|
*
|
|
@@ -97103,7 +97101,8 @@ export type CustomElementsSolidJs = {
|
|
|
97103
97101
|
/**
|
|
97104
97102
|
* Each reading is a prism. The top face takes the cell's tone, and the two
|
|
97105
97103
|
* sides are the same tone, shaded darker, so the whole relief follows your
|
|
97106
|
-
* theme's colors.
|
|
97104
|
+
* theme's colors. The chart draws the relief in SVG, and
|
|
97105
|
+
* `@fusion.dev/helix-plot` can draw it with three.js.
|
|
97107
97106
|
*
|
|
97108
97107
|
* `tones="1 2 3 4 5"` uses the same five-step ramp as `Heatmap`, so the tone
|
|
97109
97108
|
* and the height both show the value. Set `--spatial-heatmap-cell-size` to
|
|
@@ -97337,7 +97336,7 @@ export type CustomElementsSolidJs = {
|
|
|
97337
97336
|
* - `placeReading(at: { x: number; y: number } | undefined) => void`: Says where the renderer draws the reading, as fractions of the strip from
|
|
97338
97337
|
* its top left, or `undefined` while it draws none. The tooltip points
|
|
97339
97338
|
* there. Called by the connector.
|
|
97340
|
-
* - `placeCorners(at:
|
|
97339
|
+
* - `placeCorners(at: DrawnCorners | undefined) => void`: Says where the renderer draws the two ends of the front edge, under the
|
|
97341
97340
|
* first column and the last, as fractions of the strip from its top left,
|
|
97342
97341
|
* or `undefined` while they are out of view, where the labels keep the
|
|
97343
97342
|
* last place they had. The `start` and `end` labels stand there. Called by
|
|
@@ -97383,12 +97382,9 @@ export type CustomElementsSolidJs = {
|
|
|
97383
97382
|
* - `--spatial-heatmap-left-shade`: How much less light the left face is than the top, as a step of OKLCH lightness from 0 to 1. 0.07 by default.
|
|
97384
97383
|
* - `--spatial-heatmap-right-shade`: How much less light the right face is than the top, as a step of OKLCH lightness from 0 to 1. 0.14 by default.
|
|
97385
97384
|
* - `--spatial-heatmap-selected-color`: The color of the dashed edges of a selected prism, under `selection-mode`. By default, white on a dark face and black on a light one.
|
|
97386
|
-
* - `--spatial-heatmap-
|
|
97387
|
-
* - `--spatial-heatmap-
|
|
97388
|
-
* - `--spatial-heatmap-end-y`: How far down the drawing the front edge ends, under the newest column, as a share of the drawing's width: its whole depth in the chart's own drawing, and wherever a renderer draws it. The component writes it on the footer, and a stylesheet that stands the `end` label there reads it.
|
|
97385
|
+
* - `--spatial-heatmap-label-x`: Where the `start` or the `end` label stands clear of the drawing, from the footer's inline start, in pixels. The component measures it and writes it on the label, with `data-placed`, as the view turns.
|
|
97386
|
+
* - `--spatial-heatmap-label-y`: Where the `start` or the `end` label stands clear of the drawing, from the footer's top, in pixels. The component measures it and writes it on the label, with `data-placed`, as the view turns.
|
|
97389
97387
|
* - `--spatial-heatmap-span`: How many cells the drawing spans across: its columns and its rows together. The component writes it on the strip, and a stylesheet that caps the cell size reads it.
|
|
97390
|
-
* - `--spatial-heatmap-start-x`: Where the front edge starts, under the first column, across the drawing, from 0 at its inline start to 1: 0 in the chart's own drawing, and wherever a renderer draws it. The component writes it on the footer, and a stylesheet that stands the `start` label there reads it.
|
|
97391
|
-
* - `--spatial-heatmap-start-y`: How far down the drawing the front edge starts, under the first column, as a share of the drawing's width. The component writes it on the footer, and a stylesheet that stands the `start` label there reads it.
|
|
97392
97388
|
* - `--heatmap-rows`: How many rows the strip lays out. The component writes it from the data, and the stylesheet that draws the strip reads it.
|
|
97393
97389
|
* - `--heatmap-tone`: The tone of the cell it is set on. The component writes it, and the stylesheet that paints the cell reads it.
|
|
97394
97390
|
* - `--heatmap-tone-1`: The weakest step of the magnitude ramp, used by `tones="1 …"`.
|
|
@@ -97468,9 +97464,9 @@ export type CustomElementsSolidJs = {
|
|
|
97468
97464
|
>;
|
|
97469
97465
|
|
|
97470
97466
|
/**
|
|
97471
|
-
* The
|
|
97472
|
-
*
|
|
97473
|
-
*
|
|
97467
|
+
* The chart draws the points in 3D in SVG, and `@fusion.dev/helix-plot` can
|
|
97468
|
+
* draw them with three.js. Each group takes a series color from the theme, as
|
|
97469
|
+
* every chart's series does, in both drawings.
|
|
97474
97470
|
*
|
|
97475
97471
|
* ## Attributes & Properties
|
|
97476
97472
|
*
|
|
@@ -97703,8 +97699,8 @@ export type CustomElementsSolidJs = {
|
|
|
97703
97699
|
>;
|
|
97704
97700
|
|
|
97705
97701
|
/**
|
|
97706
|
-
* The
|
|
97707
|
-
*
|
|
97702
|
+
* The chart draws the surface in 3D in SVG, and `@fusion.dev/helix-plot` can
|
|
97703
|
+
* draw it with three.js. Every height is shaded along one
|
|
97708
97704
|
* ramp from the theme's primary color, quiet where it is low and strong where
|
|
97709
97705
|
* it is high, so the two drawings agree.
|
|
97710
97706
|
*
|
|
@@ -107036,18 +107032,12 @@ export type CustomCssProperties = {
|
|
|
107036
107032
|
"--spatial-heatmap-right-shade"?: (string) | undefined;
|
|
107037
107033
|
/** The color of the dashed edges of a selected prism, under `selection-mode`. By default, white on a dark face and black on a light one. */
|
|
107038
107034
|
"--spatial-heatmap-selected-color"?: (string) | undefined;
|
|
107039
|
-
/**
|
|
107040
|
-
"--spatial-heatmap-
|
|
107041
|
-
/** Where the
|
|
107042
|
-
"--spatial-heatmap-
|
|
107043
|
-
/** How far down the drawing the front edge ends, under the newest column, as a share of the drawing's width: its whole depth in the chart's own drawing, and wherever a renderer draws it. The component writes it on the footer, and a stylesheet that stands the `end` label there reads it. */
|
|
107044
|
-
"--spatial-heatmap-end-y"?: (string) | undefined;
|
|
107035
|
+
/** Where the `start` or the `end` label stands clear of the drawing, from the footer's inline start, in pixels. The component measures it and writes it on the label, with `data-placed`, as the view turns. */
|
|
107036
|
+
"--spatial-heatmap-label-x"?: (string) | undefined;
|
|
107037
|
+
/** Where the `start` or the `end` label stands clear of the drawing, from the footer's top, in pixels. The component measures it and writes it on the label, with `data-placed`, as the view turns. */
|
|
107038
|
+
"--spatial-heatmap-label-y"?: (string) | undefined;
|
|
107045
107039
|
/** How many cells the drawing spans across: its columns and its rows together. The component writes it on the strip, and a stylesheet that caps the cell size reads it. */
|
|
107046
107040
|
"--spatial-heatmap-span"?: (string) | undefined;
|
|
107047
|
-
/** Where the front edge starts, under the first column, across the drawing, from 0 at its inline start to 1: 0 in the chart's own drawing, and wherever a renderer draws it. The component writes it on the footer, and a stylesheet that stands the `start` label there reads it. */
|
|
107048
|
-
"--spatial-heatmap-start-x"?: (string) | undefined;
|
|
107049
|
-
/** How far down the drawing the front edge starts, under the first column, as a share of the drawing's width. The component writes it on the footer, and a stylesheet that stands the `start` label there reads it. */
|
|
107050
|
-
"--spatial-heatmap-start-y"?: (string) | undefined;
|
|
107051
107041
|
/** How tall the plot is. */
|
|
107052
107042
|
"--spatial-scatter-chart-block-size"?: (string) | undefined;
|
|
107053
107043
|
/** How tall the plot is. */
|
package/types/vue.d.ts
CHANGED
|
@@ -24187,18 +24187,12 @@ export type CustomCssProperties = {
|
|
|
24187
24187
|
"--spatial-heatmap-right-shade"?: (string) | undefined;
|
|
24188
24188
|
/** The color of the dashed edges of a selected prism, under `selection-mode`. By default, white on a dark face and black on a light one. */
|
|
24189
24189
|
"--spatial-heatmap-selected-color"?: (string) | undefined;
|
|
24190
|
-
/**
|
|
24191
|
-
"--spatial-heatmap-
|
|
24192
|
-
/** Where the
|
|
24193
|
-
"--spatial-heatmap-
|
|
24194
|
-
/** How far down the drawing the front edge ends, under the newest column, as a share of the drawing's width: its whole depth in the chart's own drawing, and wherever a renderer draws it. The component writes it on the footer, and a stylesheet that stands the `end` label there reads it. */
|
|
24195
|
-
"--spatial-heatmap-end-y"?: (string) | undefined;
|
|
24190
|
+
/** Where the `start` or the `end` label stands clear of the drawing, from the footer's inline start, in pixels. The component measures it and writes it on the label, with `data-placed`, as the view turns. */
|
|
24191
|
+
"--spatial-heatmap-label-x"?: (string) | undefined;
|
|
24192
|
+
/** Where the `start` or the `end` label stands clear of the drawing, from the footer's top, in pixels. The component measures it and writes it on the label, with `data-placed`, as the view turns. */
|
|
24193
|
+
"--spatial-heatmap-label-y"?: (string) | undefined;
|
|
24196
24194
|
/** How many cells the drawing spans across: its columns and its rows together. The component writes it on the strip, and a stylesheet that caps the cell size reads it. */
|
|
24197
24195
|
"--spatial-heatmap-span"?: (string) | undefined;
|
|
24198
|
-
/** Where the front edge starts, under the first column, across the drawing, from 0 at its inline start to 1: 0 in the chart's own drawing, and wherever a renderer draws it. The component writes it on the footer, and a stylesheet that stands the `start` label there reads it. */
|
|
24199
|
-
"--spatial-heatmap-start-x"?: (string) | undefined;
|
|
24200
|
-
/** How far down the drawing the front edge starts, under the first column, as a share of the drawing's width. The component writes it on the footer, and a stylesheet that stands the `start` label there reads it. */
|
|
24201
|
-
"--spatial-heatmap-start-y"?: (string) | undefined;
|
|
24202
24196
|
/** How tall the plot is. */
|
|
24203
24197
|
"--spatial-scatter-chart-block-size"?: (string) | undefined;
|
|
24204
24198
|
/** How tall the plot is. */
|
|
@@ -25537,19 +25531,19 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
25537
25531
|
HelixSparklineVueProps,
|
|
25538
25532
|
HelixSparklineVueEvents
|
|
25539
25533
|
>;
|
|
25540
|
-
/** Each reading is a prism. The top face takes the cell's tone, and the two sides are the same tone, shaded darker, so the whole relief follows your theme's colors. 'tones="1 2 3 4 5"' uses the same five-step ramp as 'Heatmap', so the tone and the height both show the value. Set '--spatial-heatmap-cell-size' to change how large a cell may grow. */
|
|
25534
|
+
/** Each reading is a prism. The top face takes the cell's tone, and the two sides are the same tone, shaded darker, so the whole relief follows your theme's colors. The chart draws the relief in SVG, and '@fusion.dev/helix-plot' can draw it with three.js. 'tones="1 2 3 4 5"' uses the same five-step ramp as 'Heatmap', so the tone and the height both show the value. Set '--spatial-heatmap-cell-size' to change how large a cell may grow. */
|
|
25541
25535
|
"helix-spatial-heatmap": DefineCustomElement<
|
|
25542
25536
|
HelixSpatialHeatmap,
|
|
25543
25537
|
HelixSpatialHeatmapVueProps,
|
|
25544
25538
|
HelixSpatialHeatmapVueEvents
|
|
25545
25539
|
>;
|
|
25546
|
-
/** The
|
|
25540
|
+
/** The chart draws the points in 3D in SVG, and '@fusion.dev/helix-plot' can draw them with three.js. Each group takes a series color from the theme, as every chart's series does, in both drawings. */
|
|
25547
25541
|
"helix-spatial-scatter-chart": DefineCustomElement<
|
|
25548
25542
|
HelixSpatialScatterChart,
|
|
25549
25543
|
HelixSpatialScatterChartVueProps,
|
|
25550
25544
|
HelixSpatialScatterChartVueEvents
|
|
25551
25545
|
>;
|
|
25552
|
-
/** The
|
|
25546
|
+
/** The chart draws the surface in 3D in SVG, and '@fusion.dev/helix-plot' can draw it with three.js. Every height is shaded along one ramp from the theme's primary color, quiet where it is low and strong where it is high, so the two drawings agree. */
|
|
25553
25547
|
"helix-spatial-surface-chart": DefineCustomElement<
|
|
25554
25548
|
HelixSpatialSurfaceChart,
|
|
25555
25549
|
HelixSpatialSurfaceChartVueProps,
|