@fusion.dev/helix-headless 0.110.5 → 0.110.6
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 +46 -10
- package/dist/canvas/node/canvas-node.d.ts +11 -0
- package/dist/canvas/node/canvas-node.js +9 -1
- package/dist/canvas/root/canvas-root.js +7 -18
- package/dist/map/marker/map-marker.d.ts +11 -0
- package/dist/map/marker/map-marker.js +9 -1
- package/dist/map/position/map-position.d.ts +12 -0
- package/dist/map/position/map-position.js +9 -1
- package/package.json +5 -5
- package/types/jsx.d.ts +6 -0
package/custom-elements.json
CHANGED
|
@@ -9993,6 +9993,14 @@
|
|
|
9993
9993
|
"description": "The card's name as text. A group shows it, and another card's connections\nread it out.\n\nA group needs one because it has no text of its own; a card that has text\nis named by it, and one holding a picture or a figure is named by nothing\nshort enough to read out in another card's connections.",
|
|
9994
9994
|
"attribute": "label"
|
|
9995
9995
|
},
|
|
9996
|
+
{
|
|
9997
|
+
"kind": "field",
|
|
9998
|
+
"name": "placement",
|
|
9999
|
+
"privacy": "private",
|
|
10000
|
+
"readonly": true,
|
|
10001
|
+
"default": "new PlacementController(this)",
|
|
10002
|
+
"description": "Where the card was placed, kept in its own shadow root."
|
|
10003
|
+
},
|
|
9996
10004
|
{
|
|
9997
10005
|
"kind": "field",
|
|
9998
10006
|
"name": "name",
|
|
@@ -10510,6 +10518,10 @@
|
|
|
10510
10518
|
"description": "The card that receives focus when you tab into the board.",
|
|
10511
10519
|
"name": "current"
|
|
10512
10520
|
},
|
|
10521
|
+
{
|
|
10522
|
+
"description": "Placed on the board.",
|
|
10523
|
+
"name": "placed"
|
|
10524
|
+
},
|
|
10513
10525
|
{
|
|
10514
10526
|
"description": "The card is selected.",
|
|
10515
10527
|
"name": "selected"
|
|
@@ -64521,6 +64533,14 @@
|
|
|
64521
64533
|
"description": "Longitude, in degrees.",
|
|
64522
64534
|
"attribute": "lng"
|
|
64523
64535
|
},
|
|
64536
|
+
{
|
|
64537
|
+
"kind": "field",
|
|
64538
|
+
"name": "placement",
|
|
64539
|
+
"privacy": "private",
|
|
64540
|
+
"readonly": true,
|
|
64541
|
+
"default": "new PlacementController(this)",
|
|
64542
|
+
"description": "Where the marker was placed, kept in its own shadow root."
|
|
64543
|
+
},
|
|
64524
64544
|
{
|
|
64525
64545
|
"kind": "field",
|
|
64526
64546
|
"name": "name",
|
|
@@ -65021,6 +65041,10 @@
|
|
|
65021
65041
|
"description": "Marked as passed.",
|
|
65022
65042
|
"name": "passed"
|
|
65023
65043
|
},
|
|
65044
|
+
{
|
|
65045
|
+
"description": "Placed on the map by the connector.",
|
|
65046
|
+
"name": "placed"
|
|
65047
|
+
},
|
|
65024
65048
|
{
|
|
65025
65049
|
"description": "Shows its name before the point, because there was no room after it.",
|
|
65026
65050
|
"name": "start"
|
|
@@ -65885,6 +65909,14 @@
|
|
|
65885
65909
|
"description": "Longitude, in degrees.",
|
|
65886
65910
|
"attribute": "lng"
|
|
65887
65911
|
},
|
|
65912
|
+
{
|
|
65913
|
+
"kind": "field",
|
|
65914
|
+
"name": "placement",
|
|
65915
|
+
"privacy": "private",
|
|
65916
|
+
"readonly": true,
|
|
65917
|
+
"default": "new PlacementController(this)",
|
|
65918
|
+
"description": "Where the position was placed, kept in its own shadow root."
|
|
65919
|
+
},
|
|
65888
65920
|
{
|
|
65889
65921
|
"kind": "field",
|
|
65890
65922
|
"name": "spoken",
|
|
@@ -66316,6 +66348,20 @@
|
|
|
66316
66348
|
"fieldName": "lng"
|
|
66317
66349
|
}
|
|
66318
66350
|
],
|
|
66351
|
+
"cssStates": [
|
|
66352
|
+
{
|
|
66353
|
+
"description": "Placed on the map by the connector.",
|
|
66354
|
+
"name": "placed"
|
|
66355
|
+
},
|
|
66356
|
+
{
|
|
66357
|
+
"description": "Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.",
|
|
66358
|
+
"name": "settled",
|
|
66359
|
+
"inheritedFrom": {
|
|
66360
|
+
"name": "HelixElement",
|
|
66361
|
+
"module": "src/helix-element/helix-element.ts"
|
|
66362
|
+
}
|
|
66363
|
+
}
|
|
66364
|
+
],
|
|
66319
66365
|
"superclass": {
|
|
66320
66366
|
"name": "HelixElement",
|
|
66321
66367
|
"package": "@fusion.dev/helix-core"
|
|
@@ -66338,16 +66384,6 @@
|
|
|
66338
66384
|
},
|
|
66339
66385
|
"tagName": "helix-headless-map-position",
|
|
66340
66386
|
"customElement": true,
|
|
66341
|
-
"cssStates": [
|
|
66342
|
-
{
|
|
66343
|
-
"description": "Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.",
|
|
66344
|
-
"name": "settled",
|
|
66345
|
-
"inheritedFrom": {
|
|
66346
|
-
"name": "HelixElement",
|
|
66347
|
-
"module": "src/helix-element/helix-element.ts"
|
|
66348
|
-
}
|
|
66349
|
-
}
|
|
66350
|
-
],
|
|
66351
66387
|
"modulePath": "src/map/position/map-position.ts",
|
|
66352
66388
|
"definitionPath": "src/map/position/map-position.ts"
|
|
66353
66389
|
}
|
|
@@ -57,6 +57,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
57
57
|
*
|
|
58
58
|
* @cssstate candidate - While a connection is being drawn and this card is somewhere it could arrive.
|
|
59
59
|
* @cssstate current - The card that receives focus when you tab into the board.
|
|
60
|
+
* @cssstate placed - Placed on the board.
|
|
60
61
|
* @cssstate selected - The card is selected.
|
|
61
62
|
* @cssstate target - A connection being drawn would end here if you released it.
|
|
62
63
|
*/
|
|
@@ -97,6 +98,16 @@ export declare class HelixHeadlessCanvasNode extends HelixElement {
|
|
|
97
98
|
* short enough to read out in another card's connections.
|
|
98
99
|
*/
|
|
99
100
|
label: string;
|
|
101
|
+
/** Where the card was placed, kept in its own shadow root. */
|
|
102
|
+
private readonly placement;
|
|
103
|
+
/**
|
|
104
|
+
* @internal Places the card, written by the board: each custom property
|
|
105
|
+
* given, and each one given as `undefined` taken away. Kept in a sheet in the
|
|
106
|
+
* element's own shadow root, since its `style` is the page's.
|
|
107
|
+
*/
|
|
108
|
+
place(properties: Readonly<Record<string, string | undefined>>): void;
|
|
109
|
+
/** @internal What a custom property was placed at, or `undefined` where it was not. */
|
|
110
|
+
placed(name: string): string | undefined;
|
|
100
111
|
/**
|
|
101
112
|
* The name that connections and events use for this card, unique on its
|
|
102
113
|
* board.
|
|
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { customElement, HelixElement } from '@fusion.dev/helix-core';
|
|
7
|
+
import { customElement, HelixElement, PlacementController } from '@fusion.dev/helix-core';
|
|
8
8
|
import { html, nothing } from 'lit';
|
|
9
9
|
import { property, state } from 'lit/decorators.js';
|
|
10
10
|
const DRAWN = [
|
|
@@ -28,6 +28,7 @@ let HelixHeadlessCanvasNode = class HelixHeadlessCanvasNode extends HelixElement
|
|
|
28
28
|
this.current = false;
|
|
29
29
|
this.height = 0;
|
|
30
30
|
this.label = '';
|
|
31
|
+
this.placement = new PlacementController(this);
|
|
31
32
|
this.name = '';
|
|
32
33
|
this.links = '';
|
|
33
34
|
this.readOnly = false;
|
|
@@ -39,6 +40,13 @@ let HelixHeadlessCanvasNode = class HelixHeadlessCanvasNode extends HelixElement
|
|
|
39
40
|
this.x = 0;
|
|
40
41
|
this.y = 0;
|
|
41
42
|
}
|
|
43
|
+
place(properties) {
|
|
44
|
+
this.placement.set(properties);
|
|
45
|
+
this.toggleState('placed', this.placement.get('--_canvas-card-x') !== undefined);
|
|
46
|
+
}
|
|
47
|
+
placed(name) {
|
|
48
|
+
return this.placement.get(name);
|
|
49
|
+
}
|
|
42
50
|
willUpdate(changed) {
|
|
43
51
|
super.willUpdate(changed);
|
|
44
52
|
this.toggleState('candidate', this.candidate);
|
|
@@ -33,14 +33,7 @@ const onPlane = (node, origin) => ({
|
|
|
33
33
|
const INTERACTIVE = 'input, textarea, select, button, a[href], [contenteditable]:not([contenteditable="false"])';
|
|
34
34
|
const custom = (element, name) => element?.style.getPropertyValue(name).trim() ?? '';
|
|
35
35
|
const finite = (value) => (Number.isFinite(value) ? value : 0);
|
|
36
|
-
const size = (
|
|
37
|
-
if (value > 0) {
|
|
38
|
-
element.style.setProperty(name, `${value}px`);
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
element.style.removeProperty(name);
|
|
42
|
-
}
|
|
43
|
-
};
|
|
36
|
+
const size = (value) => (value > 0 ? `${value}px` : undefined);
|
|
44
37
|
let HelixHeadlessCanvas = class HelixHeadlessCanvas extends MixinViewport(HelixElement) {
|
|
45
38
|
constructor() {
|
|
46
39
|
super(...arguments);
|
|
@@ -1495,12 +1488,6 @@ let HelixHeadlessCanvas = class HelixHeadlessCanvas extends MixinViewport(HelixE
|
|
|
1495
1488
|
return true;
|
|
1496
1489
|
}
|
|
1497
1490
|
const target = record.target;
|
|
1498
|
-
if (target instanceof HelixHeadlessCanvasNode &&
|
|
1499
|
-
this.placed.has(target) &&
|
|
1500
|
-
custom(target, '--_canvas-card-x') === '') {
|
|
1501
|
-
this.placed.delete(target);
|
|
1502
|
-
return true;
|
|
1503
|
-
}
|
|
1504
1491
|
const name = target instanceof HelixHeadlessCanvasNode
|
|
1505
1492
|
? '--canvas-node-color'
|
|
1506
1493
|
: target instanceof HelixHeadlessCanvasEdge
|
|
@@ -1599,10 +1586,12 @@ let HelixHeadlessCanvas = class HelixHeadlessCanvas extends MixinViewport(HelixE
|
|
|
1599
1586
|
const placed = `${x} ${y} ${finite(card.width)} ${finite(card.height)}`;
|
|
1600
1587
|
if (this.placed.get(card) !== placed) {
|
|
1601
1588
|
this.placed.set(card, placed);
|
|
1602
|
-
card.
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1589
|
+
card.place({
|
|
1590
|
+
'--_canvas-card-block-size': size(finite(card.height)),
|
|
1591
|
+
'--_canvas-card-inline-size': size(finite(card.width)),
|
|
1592
|
+
'--_canvas-card-x': `${x}px`,
|
|
1593
|
+
'--_canvas-card-y': `${y}px`,
|
|
1594
|
+
});
|
|
1606
1595
|
}
|
|
1607
1596
|
const node = this.byId.get(card.name);
|
|
1608
1597
|
card.links = node ? this.linksOf(node) : '';
|
|
@@ -36,6 +36,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
36
36
|
* @cssstate fanned - Spread out from a location it shares with other markers, after their cluster was pressed.
|
|
37
37
|
* @cssstate icon - Has content in the icon slot.
|
|
38
38
|
* @cssstate passed - Marked as passed.
|
|
39
|
+
* @cssstate placed - Placed on the map by the connector.
|
|
39
40
|
* @cssstate start - Shows its name before the point, because there was no room after it.
|
|
40
41
|
*/
|
|
41
42
|
export declare class HelixHeadlessMapMarker extends HelixElement {
|
|
@@ -86,6 +87,16 @@ export declare class HelixHeadlessMapMarker extends HelixElement {
|
|
|
86
87
|
* the point unless the view's edge would cut the name off there.
|
|
87
88
|
*/
|
|
88
89
|
side: 'end' | 'start';
|
|
90
|
+
/** Where the marker was placed, kept in its own shadow root. */
|
|
91
|
+
private readonly placement;
|
|
92
|
+
/**
|
|
93
|
+
* @internal Places the marker, written by the connector: each custom property
|
|
94
|
+
* given, and each one given as `undefined` taken away. Kept in a sheet in the
|
|
95
|
+
* element's own shadow root, since its `style` is the page's.
|
|
96
|
+
*/
|
|
97
|
+
place(properties: Readonly<Record<string, string | undefined>>): void;
|
|
98
|
+
/** @internal What a custom property was placed at, or `undefined` where it was not. */
|
|
99
|
+
placed(name: string): string | undefined;
|
|
89
100
|
/** The value `helix-activate` reports. Defaults to the label. */
|
|
90
101
|
name: string;
|
|
91
102
|
/**
|
|
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { customElement, HelixElement, HelixMapPartChangeEvent } from '@fusion.dev/helix-core';
|
|
7
|
+
import { customElement, HelixElement, HelixMapPartChangeEvent, PlacementController, } from '@fusion.dev/helix-core';
|
|
8
8
|
import { html, nothing } from 'lit';
|
|
9
9
|
import { property, state } from 'lit/decorators.js';
|
|
10
10
|
const BOOKKEEPING = new Set([
|
|
@@ -25,11 +25,19 @@ let HelixHeadlessMapMarker = class HelixHeadlessMapMarker extends HelixElement {
|
|
|
25
25
|
this.gatheredBy = undefined;
|
|
26
26
|
this.isMapMarker = true;
|
|
27
27
|
this.side = 'end';
|
|
28
|
+
this.placement = new PlacementController(this);
|
|
28
29
|
this.name = '';
|
|
29
30
|
this.passed = false;
|
|
30
31
|
this.passedLabel = 'passed';
|
|
31
32
|
this.handingOver = false;
|
|
32
33
|
}
|
|
34
|
+
place(properties) {
|
|
35
|
+
this.placement.set(properties);
|
|
36
|
+
this.toggleState('placed', this.placement.get('--_map-marker-x') !== undefined);
|
|
37
|
+
}
|
|
38
|
+
placed(name) {
|
|
39
|
+
return this.placement.get(name);
|
|
40
|
+
}
|
|
33
41
|
willUpdate(changed) {
|
|
34
42
|
super.willUpdate(changed);
|
|
35
43
|
this.handingOver =
|
|
@@ -28,6 +28,8 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
28
28
|
* @csspart position - The image of the position, named by its label.
|
|
29
29
|
* @csspart pulse - A ring that spreads out from the point, showing that the position is live.
|
|
30
30
|
* @csspart status - The description, announced when it changes.
|
|
31
|
+
*
|
|
32
|
+
* @cssstate placed - Placed on the map by the connector.
|
|
31
33
|
*/
|
|
32
34
|
export declare class HelixHeadlessMapPosition extends HelixElement {
|
|
33
35
|
/** How accurate the position is, in meters. Drawn as a ring with this radius. */
|
|
@@ -49,6 +51,16 @@ export declare class HelixHeadlessMapPosition extends HelixElement {
|
|
|
49
51
|
lat?: number;
|
|
50
52
|
/** Longitude, in degrees. */
|
|
51
53
|
lng?: number;
|
|
54
|
+
/** Where the position was placed, kept in its own shadow root. */
|
|
55
|
+
private readonly placement;
|
|
56
|
+
/**
|
|
57
|
+
* @internal Places the position, written by the connector: each custom property
|
|
58
|
+
* given, and each one given as `undefined` taken away. Kept in a sheet in the
|
|
59
|
+
* element's own shadow root, since its `style` is the page's.
|
|
60
|
+
*/
|
|
61
|
+
place(properties: Readonly<Record<string, string | undefined>>): void;
|
|
62
|
+
/** @internal What a custom property was placed at, or `undefined` where it was not. */
|
|
63
|
+
placed(name: string): string | undefined;
|
|
52
64
|
/** The words last spoken, which is what the status holds. */
|
|
53
65
|
private spoken;
|
|
54
66
|
/** When they were spoken, for the interval. */
|
|
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { customElement, HelixElement, HelixMapPartChangeEvent } from '@fusion.dev/helix-core';
|
|
7
|
+
import { customElement, HelixElement, HelixMapPartChangeEvent, PlacementController, } from '@fusion.dev/helix-core';
|
|
8
8
|
import { html } from 'lit';
|
|
9
9
|
import { property, state } from 'lit/decorators.js';
|
|
10
10
|
let HelixHeadlessMapPosition = class HelixHeadlessMapPosition extends HelixElement {
|
|
@@ -13,9 +13,17 @@ let HelixHeadlessMapPosition = class HelixHeadlessMapPosition extends HelixEleme
|
|
|
13
13
|
this.announceEvery = 5000;
|
|
14
14
|
this.isMapPosition = true;
|
|
15
15
|
this.label = 'Live position';
|
|
16
|
+
this.placement = new PlacementController(this);
|
|
16
17
|
this.spoken = '';
|
|
17
18
|
this.spokenAt = Number.NEGATIVE_INFINITY;
|
|
18
19
|
}
|
|
20
|
+
place(properties) {
|
|
21
|
+
this.placement.set(properties);
|
|
22
|
+
this.toggleState('placed', this.placement.get('--_map-position-x') !== undefined);
|
|
23
|
+
}
|
|
24
|
+
placed(name) {
|
|
25
|
+
return this.placement.get(name);
|
|
26
|
+
}
|
|
19
27
|
willUpdate(changed) {
|
|
20
28
|
super.willUpdate(changed);
|
|
21
29
|
if (!changed.has('description') || !this.hasUpdated) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fusion.dev/helix-headless",
|
|
3
3
|
"description": "Headless component tier. Structure, accessibility, state, and form participation. No styling.",
|
|
4
|
-
"version": "0.110.
|
|
4
|
+
"version": "0.110.6",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
},
|
|
47
47
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@fusion.dev/helix-core": "0.110.
|
|
50
|
-
"@fusion.dev/helix-icons": "0.110.
|
|
49
|
+
"@fusion.dev/helix-core": "0.110.6",
|
|
50
|
+
"@fusion.dev/helix-icons": "0.110.6",
|
|
51
51
|
"uqr": "^0.1.3"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@fusion.dev/helix-cem": "0.110.
|
|
55
|
-
"@fusion.dev/helix-testing": "0.110.
|
|
54
|
+
"@fusion.dev/helix-cem": "0.110.6",
|
|
55
|
+
"@fusion.dev/helix-testing": "0.110.6",
|
|
56
56
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
57
57
|
"@happy-dom/global-registrator": "^20.0.0",
|
|
58
58
|
"@lit-labs/ssr": "^4.1.0",
|
package/types/jsx.d.ts
CHANGED
|
@@ -24517,6 +24517,7 @@ export type CustomElements = {
|
|
|
24517
24517
|
*
|
|
24518
24518
|
* - `candidate`: While a connection is being drawn and this card is somewhere it could arrive.
|
|
24519
24519
|
* - `current`: The card that receives focus when you tab into the board.
|
|
24520
|
+
* - `placed`: Placed on the board.
|
|
24520
24521
|
* - `selected`: The card is selected.
|
|
24521
24522
|
* - `target`: A connection being drawn would end here if you released it.
|
|
24522
24523
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
@@ -32754,6 +32755,7 @@ export type CustomElements = {
|
|
|
32754
32755
|
* - `fanned`: Spread out from a location it shares with other markers, after their cluster was pressed.
|
|
32755
32756
|
* - `icon`: Has content in the icon slot.
|
|
32756
32757
|
* - `passed`: Marked as passed.
|
|
32758
|
+
* - `placed`: Placed on the map by the connector.
|
|
32757
32759
|
* - `start`: Shows its name before the point, because there was no room after it.
|
|
32758
32760
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
32759
32761
|
*/
|
|
@@ -32908,6 +32910,7 @@ export type CustomElements = {
|
|
|
32908
32910
|
*
|
|
32909
32911
|
* These can be used to apply styling when a component is in a given state.
|
|
32910
32912
|
*
|
|
32913
|
+
* - `placed`: Placed on the map by the connector.
|
|
32911
32914
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
32912
32915
|
*/
|
|
32913
32916
|
"helix-headless-map-position": Partial<
|
|
@@ -44449,6 +44452,7 @@ export type CustomElementsSolidJs = {
|
|
|
44449
44452
|
*
|
|
44450
44453
|
* - `candidate`: While a connection is being drawn and this card is somewhere it could arrive.
|
|
44451
44454
|
* - `current`: The card that receives focus when you tab into the board.
|
|
44455
|
+
* - `placed`: Placed on the board.
|
|
44452
44456
|
* - `selected`: The card is selected.
|
|
44453
44457
|
* - `target`: A connection being drawn would end here if you released it.
|
|
44454
44458
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
@@ -52799,6 +52803,7 @@ export type CustomElementsSolidJs = {
|
|
|
52799
52803
|
* - `fanned`: Spread out from a location it shares with other markers, after their cluster was pressed.
|
|
52800
52804
|
* - `icon`: Has content in the icon slot.
|
|
52801
52805
|
* - `passed`: Marked as passed.
|
|
52806
|
+
* - `placed`: Placed on the map by the connector.
|
|
52802
52807
|
* - `start`: Shows its name before the point, because there was no room after it.
|
|
52803
52808
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
52804
52809
|
*/
|
|
@@ -52959,6 +52964,7 @@ export type CustomElementsSolidJs = {
|
|
|
52959
52964
|
*
|
|
52960
52965
|
* These can be used to apply styling when a component is in a given state.
|
|
52961
52966
|
*
|
|
52967
|
+
* - `placed`: Placed on the map by the connector.
|
|
52962
52968
|
* - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
|
|
52963
52969
|
*/
|
|
52964
52970
|
"helix-headless-map-position": Partial<
|