@fusion.dev/helix 0.110.4 → 0.110.5
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/custom-elements.json
CHANGED
|
@@ -15409,20 +15409,6 @@
|
|
|
15409
15409
|
"module": "src/canvas/root/canvas-root.ts"
|
|
15410
15410
|
}
|
|
15411
15411
|
},
|
|
15412
|
-
{
|
|
15413
|
-
"kind": "field",
|
|
15414
|
-
"name": "groups",
|
|
15415
|
-
"type": {
|
|
15416
|
-
"text": "CanvasNode[]"
|
|
15417
|
-
},
|
|
15418
|
-
"privacy": "private",
|
|
15419
|
-
"description": "The groups alone, which is all a card's group is chosen from.",
|
|
15420
|
-
"readonly": true,
|
|
15421
|
-
"inheritedFrom": {
|
|
15422
|
-
"name": "HelixHeadlessCanvas",
|
|
15423
|
-
"module": "src/canvas/root/canvas-root.ts"
|
|
15424
|
-
}
|
|
15425
|
-
},
|
|
15426
15412
|
{
|
|
15427
15413
|
"kind": "field",
|
|
15428
15414
|
"name": "cache",
|
|
@@ -16255,6 +16241,34 @@
|
|
|
16255
16241
|
"module": "src/canvas/root/canvas-root.ts"
|
|
16256
16242
|
}
|
|
16257
16243
|
},
|
|
16244
|
+
{
|
|
16245
|
+
"kind": "field",
|
|
16246
|
+
"name": "keying",
|
|
16247
|
+
"type": {
|
|
16248
|
+
"text": "| {\n byElement: Map<HelixHeadlessCanvasEdge, string>\n byKey: Map<string, HelixHeadlessCanvasEdge>\n }\n | undefined"
|
|
16249
|
+
},
|
|
16250
|
+
"privacy": "private",
|
|
16251
|
+
"default": "undefined",
|
|
16252
|
+
"description": "Every connection's key and every key's element, worked out once for the\nrender that asks for them.\n\n**One pass, where each asked alone walked them all.** A connection with no\n`name` counts its twins to be told apart, and a render asks every\nconnection's element by key, so four hundred unnamed connections cost 53\nms a render and 4.7 seconds with them all chosen, every step of a drag.\nKept from `willUpdate` to `updated` only: outside a render a handler may\nhave just moved a connection's ends, and its key is worked out afresh.",
|
|
16253
|
+
"inheritedFrom": {
|
|
16254
|
+
"name": "HelixHeadlessCanvas",
|
|
16255
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
16256
|
+
}
|
|
16257
|
+
},
|
|
16258
|
+
{
|
|
16259
|
+
"kind": "method",
|
|
16260
|
+
"name": "keyAll",
|
|
16261
|
+
"privacy": "private",
|
|
16262
|
+
"return": {
|
|
16263
|
+
"type": {
|
|
16264
|
+
"text": "{\n byElement: Map<HelixHeadlessCanvasEdge, string>\n byKey: Map<string, HelixHeadlessCanvasEdge>\n }"
|
|
16265
|
+
}
|
|
16266
|
+
},
|
|
16267
|
+
"inheritedFrom": {
|
|
16268
|
+
"name": "HelixHeadlessCanvas",
|
|
16269
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
16270
|
+
}
|
|
16271
|
+
},
|
|
16258
16272
|
{
|
|
16259
16273
|
"kind": "field",
|
|
16260
16274
|
"name": "edgeElements",
|
|
@@ -16997,6 +17011,20 @@
|
|
|
16997
17011
|
"module": "src/canvas/root/canvas-root.ts"
|
|
16998
17012
|
}
|
|
16999
17013
|
},
|
|
17014
|
+
{
|
|
17015
|
+
"kind": "field",
|
|
17016
|
+
"name": "waiting",
|
|
17017
|
+
"type": {
|
|
17018
|
+
"text": "CanvasView | undefined"
|
|
17019
|
+
},
|
|
17020
|
+
"privacy": "private",
|
|
17021
|
+
"default": "undefined",
|
|
17022
|
+
"description": "A view written before the board could place it, placed once it can.",
|
|
17023
|
+
"inheritedFrom": {
|
|
17024
|
+
"name": "HelixHeadlessCanvas",
|
|
17025
|
+
"module": "src/canvas/root/canvas-root.ts"
|
|
17026
|
+
}
|
|
17027
|
+
},
|
|
17000
17028
|
{
|
|
17001
17029
|
"kind": "field",
|
|
17002
17030
|
"name": "reported",
|
|
@@ -18378,7 +18406,7 @@
|
|
|
18378
18406
|
}
|
|
18379
18407
|
},
|
|
18380
18408
|
{
|
|
18381
|
-
"description": "The user has been still
|
|
18409
|
+
"description": "The user has been still for `idle-delay` milliseconds. The board's own controls stay; select on it to hide chrome of your own.",
|
|
18382
18410
|
"name": "idle",
|
|
18383
18411
|
"inheritedFrom": {
|
|
18384
18412
|
"name": "HelixHeadlessCanvas",
|
|
@@ -22,8 +22,9 @@ display: block;
|
|
|
22
22
|
font-family: var(--helix-font-sans);
|
|
23
23
|
font-size: var(--helix-text-sm);
|
|
24
24
|
inline-size: var(--_canvas-card-inline-size);
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
|
|
26
|
+
left: var(--_canvas-card-x);
|
|
27
|
+
top: var(--_canvas-card-y);
|
|
27
28
|
|
|
28
29
|
overflow: visible;
|
|
29
30
|
position: absolute;
|
|
@@ -168,6 +169,13 @@ box-shadow: 0 0 0 var(--helix-border-thick) var(--helix-color-accent);
|
|
|
168
169
|
background-color: var(--_canvas-handle-color);
|
|
169
170
|
}
|
|
170
171
|
|
|
172
|
+
@media (forced-colors: active) {
|
|
173
|
+
:host(:state(target)) {
|
|
174
|
+
outline: var(--helix-border-thick) solid Highlight;
|
|
175
|
+
outline-offset: var(--helix-space-2xs);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
171
179
|
@media (prefers-reduced-motion: reduce) {
|
|
172
180
|
[part~="handle"],
|
|
173
181
|
[part~="move"] {
|
|
@@ -34,8 +34,10 @@ display: none;
|
|
|
34
34
|
[part="board"] {
|
|
35
35
|
block-size: var(--_canvas-plane-block-size);
|
|
36
36
|
inline-size: var(--_canvas-plane-inline-size);
|
|
37
|
-
|
|
37
|
+
|
|
38
|
+
left: 0;
|
|
38
39
|
position: absolute;
|
|
40
|
+
top: 0;
|
|
39
41
|
transform: translate(var(--_canvas-x), var(--_canvas-y)) scale(var(--_canvas-zoom));
|
|
40
42
|
transform-origin: 0 0;
|
|
41
43
|
|
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.110.
|
|
4
|
+
"version": "0.110.5",
|
|
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.110.
|
|
55
|
-
"@fusion.dev/helix-headless": "0.110.
|
|
56
|
-
"@fusion.dev/helix-styles": "0.110.
|
|
54
|
+
"@fusion.dev/helix-core": "0.110.5",
|
|
55
|
+
"@fusion.dev/helix-headless": "0.110.5",
|
|
56
|
+
"@fusion.dev/helix-styles": "0.110.5"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@fusion.dev/helix-cem": "0.110.
|
|
60
|
-
"@fusion.dev/helix-testing": "0.110.
|
|
59
|
+
"@fusion.dev/helix-cem": "0.110.5",
|
|
60
|
+
"@fusion.dev/helix-testing": "0.110.5",
|
|
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
|
@@ -28806,7 +28806,7 @@ export type CustomElements = {
|
|
|
28806
28806
|
* - `empty`: While the document has no nodes.
|
|
28807
28807
|
* - `fullscreen`: While the board fills the screen.
|
|
28808
28808
|
* - `holding`: An item picked up with a click follows the pointer until the next press puts it down.
|
|
28809
|
-
* - `idle`: The user has been still
|
|
28809
|
+
* - `idle`: The user has been still for `idle-delay` milliseconds. The board's own controls stay; select on it to hide chrome of your own.
|
|
28810
28810
|
* - `pressing`: While a press on the board, its cards or its connections is under way.
|
|
28811
28811
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
28812
28812
|
*/
|
|
@@ -50606,7 +50606,7 @@ export type CustomElementsSolidJs = {
|
|
|
50606
50606
|
* - `empty`: While the document has no nodes.
|
|
50607
50607
|
* - `fullscreen`: While the board fills the screen.
|
|
50608
50608
|
* - `holding`: An item picked up with a click follows the pointer until the next press puts it down.
|
|
50609
|
-
* - `idle`: The user has been still
|
|
50609
|
+
* - `idle`: The user has been still for `idle-delay` milliseconds. The board's own controls stay; select on it to hide chrome of your own.
|
|
50610
50610
|
* - `pressing`: While a press on the board, its cards or its connections is under way.
|
|
50611
50611
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
50612
50612
|
*/
|