@fusion.dev/helix-core 0.223.0 → 0.224.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/custom-elements.json +1 -1
- package/dist/controllers/reorder-controller/reorder-controller.js +2 -3
- package/dist/events/before-activate.d.ts +3 -1
- package/dist/events/before-change.d.ts +2 -0
- package/dist/events/before-check.d.ts +31 -0
- package/dist/events/before-check.js +11 -0
- package/dist/events/before-close.d.ts +5 -1
- package/dist/events/before-filter.d.ts +17 -0
- package/dist/events/before-filter.js +11 -0
- package/dist/events/before-listen.d.ts +5 -1
- package/dist/events/before-navigate.d.ts +16 -0
- package/dist/events/before-navigate.js +11 -0
- package/dist/events/before-open.d.ts +2 -0
- package/dist/events/before-pin.d.ts +5 -1
- package/dist/events/before-reorder.d.ts +2 -0
- package/dist/events/before-resize.d.ts +5 -1
- package/dist/events/before-select.d.ts +19 -0
- package/dist/events/before-select.js +11 -0
- package/dist/events/before-sort.d.ts +19 -0
- package/dist/events/before-sort.js +11 -0
- package/dist/events/check.d.ts +15 -0
- package/dist/events/{caret.js → check.js} +3 -3
- package/dist/events/details.d.ts +11 -514
- package/dist/events/events.d.ts +27 -170
- package/dist/events/events.js +13 -165
- package/dist/events/expand.d.ts +2 -1
- package/dist/events/filter.d.ts +3 -4
- package/dist/events/filter.js +1 -1
- package/dist/events/found.d.ts +1 -1
- package/dist/events/names.d.ts +5 -16
- package/dist/events/names.js +11 -15
- package/dist/events/navigate.d.ts +3 -5
- package/dist/events/navigate.js +1 -1
- package/dist/events/reorder.d.ts +12 -13
- package/dist/events/reorder.js +1 -1
- package/dist/events/select.d.ts +4 -4
- package/dist/events/select.js +1 -1
- package/dist/events/sort.d.ts +3 -9
- package/dist/events/sort.js +1 -1
- package/dist/helix-element/helix-element.d.ts +31 -14
- package/dist/helix-element/helix-element.js +25 -3
- package/dist/helix-element/react-audit-off.d.ts +3 -1
- package/dist/helix-element/react-audit-off.js +1 -0
- package/dist/helix-element/react-audit.d.ts +22 -0
- package/dist/helix-element/react-audit.js +18 -0
- package/dist/helix-element/react-bridge.d.ts +34 -1
- package/dist/helix-element/react-bridge.js +33 -9
- package/dist/helix-element/react-root.d.ts +2 -0
- package/dist/helix-element/react-root.js +9 -0
- package/dist/helix-form-element/helix-form-element-base.js +12 -12
- package/dist/helix-form-element/helix-form-element.js +4 -3
- package/dist/index.d.ts +4 -2
- package/dist/index.js +4 -2
- package/dist/mixins/mixin-controller-checked/mixin-controller-checked.d.ts +3 -3
- package/dist/mixins/mixin-controller-checked/mixin-controller-checked.js +2 -2
- package/dist/mixins/mixin-field/mixin-field.js +9 -8
- package/dist/mixins/mixin-picker-feedback/mixin-picker-feedback.js +3 -2
- package/dist/mixins/mixin-picker-field/mixin-picker-field.js +4 -3
- package/dist/mixins/mixin-segmented-field/mixin-segmented-field.js +5 -4
- package/dist/mixins/mixin-selectable-item/mixin-selectable-item.d.ts +1 -1
- package/dist/mixins/mixin-selectable-item/mixin-selectable-item.js +2 -2
- package/dist/utils/audit-children/audit-children.d.ts +1 -1
- package/dist/utils/audit-name/audit-name.js +12 -1
- package/dist/utils/controls/controls.js +6 -1
- package/dist/utils/draw-icon/draw-icon.d.ts +1 -1
- package/dist/utils/follow-link/follow-link.d.ts +1 -1
- package/dist/utils/report-runtime/report-runtime.d.ts +5 -0
- package/dist/utils/tell-disclosure/tell-disclosure.d.ts +6 -3
- package/dist/utils/ticker/ticker.d.ts +5 -0
- package/dist/version.d.ts +4 -5
- package/dist/version.js +1 -1
- package/package.json +6 -6
- package/dist/events/action.d.ts +0 -12
- package/dist/events/action.js +0 -6
- package/dist/events/aura-fallback.d.ts +0 -12
- package/dist/events/aura-fallback.js +0 -11
- package/dist/events/band.d.ts +0 -13
- package/dist/events/band.js +0 -11
- package/dist/events/before-collapse.d.ts +0 -6
- package/dist/events/before-collapse.js +0 -11
- package/dist/events/before-edit.d.ts +0 -6
- package/dist/events/before-edit.js +0 -11
- package/dist/events/before-move.d.ts +0 -17
- package/dist/events/before-move.js +0 -11
- package/dist/events/before-panel-resize.d.ts +0 -13
- package/dist/events/before-panel-resize.js +0 -11
- package/dist/events/before-paste.d.ts +0 -13
- package/dist/events/before-paste.js +0 -11
- package/dist/events/before-reconnect.d.ts +0 -14
- package/dist/events/before-reconnect.js +0 -11
- package/dist/events/before-relabel.d.ts +0 -15
- package/dist/events/before-relabel.js +0 -11
- package/dist/events/before-split.d.ts +0 -12
- package/dist/events/before-split.js +0 -11
- package/dist/events/before-toggle.d.ts +0 -23
- package/dist/events/before-toggle.js +0 -11
- package/dist/events/canvas-edit.d.ts +0 -16
- package/dist/events/canvas-edit.js +0 -11
- package/dist/events/canvas-pan.d.ts +0 -13
- package/dist/events/canvas-pan.js +0 -11
- package/dist/events/canvas-view.d.ts +0 -14
- package/dist/events/canvas-view.js +0 -11
- package/dist/events/canvas-zoom.d.ts +0 -6
- package/dist/events/canvas-zoom.js +0 -11
- package/dist/events/caret.d.ts +0 -17
- package/dist/events/collapse.d.ts +0 -12
- package/dist/events/collapse.js +0 -11
- package/dist/events/connect.d.ts +0 -14
- package/dist/events/connect.js +0 -11
- package/dist/events/console.d.ts +0 -13
- package/dist/events/console.js +0 -11
- package/dist/events/create.d.ts +0 -18
- package/dist/events/create.js +0 -11
- package/dist/events/device-button.d.ts +0 -14
- package/dist/events/device-button.js +0 -11
- package/dist/events/device-key.d.ts +0 -16
- package/dist/events/device-key.js +0 -11
- package/dist/events/device-screenshot.d.ts +0 -13
- package/dist/events/device-screenshot.js +0 -10
- package/dist/events/device-scroll.d.ts +0 -14
- package/dist/events/device-scroll.js +0 -11
- package/dist/events/device-swipe.d.ts +0 -15
- package/dist/events/device-swipe.js +0 -11
- package/dist/events/device-tap.d.ts +0 -13
- package/dist/events/device-tap.js +0 -11
- package/dist/events/device-text.d.ts +0 -13
- package/dist/events/device-text.js +0 -11
- package/dist/events/device-touch.d.ts +0 -15
- package/dist/events/device-touch.js +0 -11
- package/dist/events/edit.d.ts +0 -12
- package/dist/events/edit.js +0 -11
- package/dist/events/end.d.ts +0 -9
- package/dist/events/end.js +0 -6
- package/dist/events/facet.d.ts +0 -17
- package/dist/events/facet.js +0 -11
- package/dist/events/filtered.d.ts +0 -12
- package/dist/events/filtered.js +0 -11
- package/dist/events/graph-filter.d.ts +0 -10
- package/dist/events/graph-filter.js +0 -11
- package/dist/events/graph-layout.d.ts +0 -10
- package/dist/events/graph-layout.js +0 -11
- package/dist/events/graph-pan.d.ts +0 -9
- package/dist/events/graph-pan.js +0 -11
- package/dist/events/graph-part-change.d.ts +0 -10
- package/dist/events/graph-part-change.js +0 -11
- package/dist/events/graph-ready.d.ts +0 -8
- package/dist/events/graph-ready.js +0 -6
- package/dist/events/graph-signal.d.ts +0 -11
- package/dist/events/graph-signal.js +0 -11
- package/dist/events/graph-zoom.d.ts +0 -6
- package/dist/events/graph-zoom.js +0 -11
- package/dist/events/history.d.ts +0 -16
- package/dist/events/history.js +0 -11
- package/dist/events/map-cluster.d.ts +0 -15
- package/dist/events/map-cluster.js +0 -11
- package/dist/events/map-pan.d.ts +0 -18
- package/dist/events/map-pan.js +0 -11
- package/dist/events/map-part-change.d.ts +0 -16
- package/dist/events/map-part-change.js +0 -11
- package/dist/events/map-ready.d.ts +0 -15
- package/dist/events/map-ready.js +0 -6
- package/dist/events/map-rotate.d.ts +0 -9
- package/dist/events/map-rotate.js +0 -11
- package/dist/events/map-tilt.d.ts +0 -9
- package/dist/events/map-tilt.js +0 -11
- package/dist/events/map-zoom.d.ts +0 -13
- package/dist/events/map-zoom.js +0 -11
- package/dist/events/move.d.ts +0 -11
- package/dist/events/move.js +0 -11
- package/dist/events/next.d.ts +0 -23
- package/dist/events/next.js +0 -11
- package/dist/events/panel-resize.d.ts +0 -12
- package/dist/events/panel-resize.js +0 -11
- package/dist/events/pasted.d.ts +0 -6
- package/dist/events/pasted.js +0 -11
- package/dist/events/press.d.ts +0 -19
- package/dist/events/press.js +0 -11
- package/dist/events/preview.d.ts +0 -14
- package/dist/events/preview.js +0 -11
- package/dist/events/previous.d.ts +0 -6
- package/dist/events/previous.js +0 -11
- package/dist/events/range-change.d.ts +0 -10
- package/dist/events/range-change.js +0 -11
- package/dist/events/read.d.ts +0 -19
- package/dist/events/read.js +0 -11
- package/dist/events/reconnect.d.ts +0 -6
- package/dist/events/reconnect.js +0 -11
- package/dist/events/reject.d.ts +0 -13
- package/dist/events/reject.js +0 -11
- package/dist/events/relabel.d.ts +0 -6
- package/dist/events/relabel.js +0 -11
- package/dist/events/remove.d.ts +0 -12
- package/dist/events/remove.js +0 -11
- package/dist/events/reordered.d.ts +0 -12
- package/dist/events/reordered.js +0 -11
- package/dist/events/sample-end.d.ts +0 -5
- package/dist/events/sample-end.js +0 -6
- package/dist/events/sample-start.d.ts +0 -18
- package/dist/events/sample-start.js +0 -6
- package/dist/events/scrolled.d.ts +0 -32
- package/dist/events/scrolled.js +0 -11
- package/dist/events/selected.d.ts +0 -12
- package/dist/events/selected.js +0 -11
- package/dist/events/send.d.ts +0 -18
- package/dist/events/send.js +0 -11
- package/dist/events/shortcut.d.ts +0 -13
- package/dist/events/shortcut.js +0 -11
- package/dist/events/sorted.d.ts +0 -15
- package/dist/events/sorted.js +0 -11
- package/dist/events/split.d.ts +0 -12
- package/dist/events/split.js +0 -11
- package/dist/events/stop.d.ts +0 -12
- package/dist/events/stop.js +0 -6
- package/dist/events/strands-fallback.d.ts +0 -13
- package/dist/events/strands-fallback.js +0 -11
- package/dist/events/terminal-bell.d.ts +0 -13
- package/dist/events/terminal-bell.js +0 -6
- package/dist/events/terminal-input.d.ts +0 -14
- package/dist/events/terminal-input.js +0 -11
- package/dist/events/terminal-link.d.ts +0 -15
- package/dist/events/terminal-link.js +0 -11
- package/dist/events/terminal-resize.d.ts +0 -13
- package/dist/events/terminal-resize.js +0 -11
- package/dist/events/terminal-restart.d.ts +0 -11
- package/dist/events/terminal-restart.js +0 -10
- package/dist/events/terminal-title.d.ts +0 -12
- package/dist/events/terminal-title.js +0 -11
- package/dist/events/toggle.d.ts +0 -15
- package/dist/events/toggle.js +0 -11
- package/dist/events/tour-ask.d.ts +0 -16
- package/dist/events/tour-ask.js +0 -11
- package/dist/events/tour-status.d.ts +0 -14
- package/dist/events/tour-status.js +0 -11
- package/dist/events/typing.d.ts +0 -10
- package/dist/events/typing.js +0 -11
package/dist/events/facet.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { FacetDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* Fired when the reader changes which values a field is filtered by.
|
|
4
|
-
*
|
|
5
|
-
* **Not `helix-filter`, which is a different thing already taken.** That one
|
|
6
|
-
* says a list narrowed itself to a string, and `Data Table` and `Listbox` both
|
|
7
|
-
* dispatch it with exactly that meaning. This one carries a structured filter:
|
|
8
|
-
* a field, a comparison and a set of values, which is a shape neither of those
|
|
9
|
-
* has and neither should grow.
|
|
10
|
-
*
|
|
11
|
-
* Cancelable, and refusing it is how a consumer takes the decision for one
|
|
12
|
-
* interaction, the way `requestChange` documents for every stateful change here.
|
|
13
|
-
*/
|
|
14
|
-
export declare class HelixFacetEvent extends CustomEvent<FacetDetail> {
|
|
15
|
-
static readonly eventName = "helix-facet";
|
|
16
|
-
constructor(detail: FacetDetail);
|
|
17
|
-
}
|
package/dist/events/facet.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { FilterDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* A component is showing a narrower or a wider set.
|
|
4
|
-
*
|
|
5
|
-
* The notification after `helix-filter`, sent once the query has moved, with
|
|
6
|
-
* the query now in force. Not cancelable, and past tense for the reason
|
|
7
|
-
* `helix-sorted` is.
|
|
8
|
-
*/
|
|
9
|
-
export declare class HelixFilteredEvent extends CustomEvent<FilterDetail> {
|
|
10
|
-
static readonly eventName = "helix-filtered";
|
|
11
|
-
constructor(detail: FilterDetail);
|
|
12
|
-
}
|
package/dist/events/filtered.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { GraphFilterDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* A reader pressed a group in the graph's legend, which would show or hide
|
|
4
|
-
* its notes, sent from the frame before it does. Cancelable: cancel it to
|
|
5
|
-
* keep the groups as they were, or to set `hiddenGroups` yourself.
|
|
6
|
-
*/
|
|
7
|
-
export declare class HelixGraphFilterEvent extends CustomEvent<GraphFilterDetail> {
|
|
8
|
-
static readonly eventName = "helix-graph-filter";
|
|
9
|
-
constructor(detail: GraphFilterDetail);
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { GraphLayoutDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* A layout settled, with where it put every note. Keep the positions and hand
|
|
4
|
-
* them back as each note's `x` and `y`, and the graph opens where the reader
|
|
5
|
-
* left it, with no layout to run.
|
|
6
|
-
*/
|
|
7
|
-
export declare class HelixGraphLayoutEvent extends CustomEvent<GraphLayoutDetail> {
|
|
8
|
-
static readonly eventName = "helix-graph-layout";
|
|
9
|
-
constructor(detail: GraphLayoutDetail);
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ViewportPanDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* The reader asked the graph to move. A request, as a map's is: Helix draws no
|
|
4
|
-
* graph, and the renderer the page slotted, or `connectGraph`, answers it.
|
|
5
|
-
*/
|
|
6
|
-
export declare class HelixGraphPanEvent extends CustomEvent<ViewportPanDetail> {
|
|
7
|
-
static readonly eventName = "helix-graph-pan";
|
|
8
|
-
constructor(detail: ViewportPanDetail);
|
|
9
|
-
}
|
package/dist/events/graph-pan.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { GraphPartChangeDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* The frame's notes, links, selection, depth or gestures changed, which the
|
|
4
|
-
* connector hears and the renderer is told. It stays on the frame, being the
|
|
5
|
-
* family's own bookkeeping rather than news for a page.
|
|
6
|
-
*/
|
|
7
|
-
export declare class HelixGraphPartChangeEvent extends CustomEvent<GraphPartChangeDetail> {
|
|
8
|
-
static readonly eventName = "helix-graph-part-change";
|
|
9
|
-
constructor(detail: GraphPartChangeDetail);
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export class HelixGraphPartChangeEvent extends CustomEvent {
|
|
2
|
-
static { this.eventName = 'helix-graph-part-change'; }
|
|
3
|
-
constructor(detail) {
|
|
4
|
-
super(HelixGraphPartChangeEvent.eventName, {
|
|
5
|
-
bubbles: false,
|
|
6
|
-
cancelable: false,
|
|
7
|
-
composed: false,
|
|
8
|
-
detail,
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The graph has been drawn whole, laid out and settled, sent once each time it
|
|
3
|
-
* is connected, from the frame, which then matches `:state(ready)`.
|
|
4
|
-
*/
|
|
5
|
-
export declare class HelixGraphReadyEvent extends Event {
|
|
6
|
-
static readonly eventName = "helix-graph-ready";
|
|
7
|
-
constructor();
|
|
8
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { GraphSignalDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* Something passed between two notes, which the renderer draws traveling
|
|
4
|
-
* from one to the other. The connector hears it and the renderer draws it; it
|
|
5
|
-
* stays on the frame, being the family's own bookkeeping rather than news for
|
|
6
|
-
* a page.
|
|
7
|
-
*/
|
|
8
|
-
export declare class HelixGraphSignalEvent extends CustomEvent<GraphSignalDetail> {
|
|
9
|
-
static readonly eventName = "helix-graph-signal";
|
|
10
|
-
constructor(detail: GraphSignalDetail);
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export class HelixGraphSignalEvent extends CustomEvent {
|
|
2
|
-
static { this.eventName = 'helix-graph-signal'; }
|
|
3
|
-
constructor(detail) {
|
|
4
|
-
super(HelixGraphSignalEvent.eventName, {
|
|
5
|
-
bubbles: false,
|
|
6
|
-
cancelable: false,
|
|
7
|
-
composed: false,
|
|
8
|
-
detail,
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ViewportZoomDetail } from './details.js';
|
|
2
|
-
/** The reader asked the graph to zoom, a direction and not a level, as a map's is. */
|
|
3
|
-
export declare class HelixGraphZoomEvent extends CustomEvent<ViewportZoomDetail> {
|
|
4
|
-
static readonly eventName = "helix-graph-zoom";
|
|
5
|
-
constructor(detail: ViewportZoomDetail);
|
|
6
|
-
}
|
package/dist/events/history.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Fired when a reader reaches the oldest turn a transcript holds, while there are
|
|
3
|
-
* older ones to fetch.
|
|
4
|
-
*
|
|
5
|
-
* **A report of where the reader is, not a request to be granted**, so it is not
|
|
6
|
-
* cancelable: there is nothing for the transcript to do if nobody refuses, and
|
|
7
|
-
* nothing to stop if somebody does. The consumer answers by fetching, and says
|
|
8
|
-
* so through the transcript's `history` while the older turns are on their way.
|
|
9
|
-
*
|
|
10
|
-
* No detail. The consumer holds the transcript and knows its oldest turn, which
|
|
11
|
-
* is the one thing a fetch needs.
|
|
12
|
-
*/
|
|
13
|
-
export declare class HelixHistoryEvent extends CustomEvent<Record<string, never>> {
|
|
14
|
-
static readonly eventName = "helix-history";
|
|
15
|
-
constructor();
|
|
16
|
-
}
|
package/dist/events/history.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { MapClusterDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* A reader pressed a cluster, one marker standing for several that would have
|
|
4
|
-
* drawn over each other.
|
|
5
|
-
*
|
|
6
|
-
* **Opened by zooming in**, which the connector does, framing the places the
|
|
7
|
-
* cluster holds, as pressing one does on every map a reader has used. Told
|
|
8
|
-
* rather than asked: a page that lists them in a panel instead connects with
|
|
9
|
-
* `clusterZoom: false`. Sent from the marker the cluster is drawn as, and
|
|
10
|
-
* bubbles through the frame to the page.
|
|
11
|
-
*/
|
|
12
|
-
export declare class HelixMapClusterEvent extends CustomEvent<MapClusterDetail> {
|
|
13
|
-
static readonly eventName = "helix-map-cluster";
|
|
14
|
-
constructor(detail: MapClusterDetail);
|
|
15
|
-
}
|
package/dist/events/map-pan.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { MapPanDetail, ViewportPanDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* The reader asked the map to move, which is as far as this library goes.
|
|
4
|
-
*
|
|
5
|
-
* **Helix draws no map and moves nobody's.** A tile renderer is a library and
|
|
6
|
-
* the frame around it is what this adds, so panning is a request the consumer
|
|
7
|
-
* answers against whatever they slotted: MapLibre, Leaflet, Google, or their
|
|
8
|
-
* own. The direction is in reading order rather than compass order, because the
|
|
9
|
-
* control that sent it is a button a reader pressed and `start` on a
|
|
10
|
-
* right-to-left page is east.
|
|
11
|
-
*
|
|
12
|
-
* Not cancelable. Nothing here moves on its own, and an event whose
|
|
13
|
-
* `preventDefault` means nothing is an event that lies about what it offers.
|
|
14
|
-
*/
|
|
15
|
-
export declare class HelixMapPanEvent extends CustomEvent<ViewportPanDetail> {
|
|
16
|
-
static readonly eventName = "helix-map-pan";
|
|
17
|
-
constructor(detail: MapPanDetail);
|
|
18
|
-
}
|
package/dist/events/map-pan.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { MapPartChangeDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* A marker, a position, a route or an area changed what it says: where it is,
|
|
4
|
-
* its points, its progress, its name.
|
|
5
|
-
*
|
|
6
|
-
* **Said rather than reflected.** The connector and the frame follow the
|
|
7
|
-
* parts, and heard them through their attributes until the parts reflected
|
|
8
|
-
* nothing CSS selects on: a live position's coordinates are state, and a
|
|
9
|
-
* route's points are a payload, neither of which belongs in the markup. It
|
|
10
|
-
* bubbles to the frame, whose light-DOM children the parts are, and goes no
|
|
11
|
-
* further, being the family's own bookkeeping rather than news for a page.
|
|
12
|
-
*/
|
|
13
|
-
export declare class HelixMapPartChangeEvent extends CustomEvent<MapPartChangeDetail> {
|
|
14
|
-
static readonly eventName = "helix-map-part-change";
|
|
15
|
-
constructor(detail: MapPartChangeDetail);
|
|
16
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export class HelixMapPartChangeEvent extends CustomEvent {
|
|
2
|
-
static { this.eventName = 'helix-map-part-change'; }
|
|
3
|
-
constructor(detail) {
|
|
4
|
-
super(HelixMapPartChangeEvent.eventName, {
|
|
5
|
-
bubbles: true,
|
|
6
|
-
cancelable: false,
|
|
7
|
-
composed: false,
|
|
8
|
-
detail,
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The map has been drawn whole: its style, every tile the view needs, and the
|
|
3
|
-
* ground raised where it has terrain. Sent once each time a map is connected,
|
|
4
|
-
* from the frame, which then matches `:state(ready)`.
|
|
5
|
-
*
|
|
6
|
-
* **What a page waits on to show a map that is finished**, where it would
|
|
7
|
-
* otherwise watch it draw in stages: the streets, then the imagery tile by
|
|
8
|
-
* tile, then the ground rising under the markers about half a second in. The
|
|
9
|
-
* shapes the frame draws are left out of "whole", since a route that animates
|
|
10
|
-
* is redrawn every frame and would never count as drawn.
|
|
11
|
-
*/
|
|
12
|
-
export declare class HelixMapReadyEvent extends Event {
|
|
13
|
-
static readonly eventName = "helix-map-ready";
|
|
14
|
-
constructor();
|
|
15
|
-
}
|
package/dist/events/map-ready.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { MapRotateDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* The user asked the map to rotate, from a rotate button or key. Turn your map
|
|
4
|
-
* in response. Not cancelable, because the frame moves nothing itself.
|
|
5
|
-
*/
|
|
6
|
-
export declare class HelixMapRotateEvent extends CustomEvent<MapRotateDetail> {
|
|
7
|
-
static readonly eventName = "helix-map-rotate";
|
|
8
|
-
constructor(detail: MapRotateDetail);
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { MapTiltDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* The user asked the map to tilt, from a tilt button or key. Tilt your map in
|
|
4
|
-
* response. Not cancelable, because the frame moves nothing itself.
|
|
5
|
-
*/
|
|
6
|
-
export declare class HelixMapTiltEvent extends CustomEvent<MapTiltDetail> {
|
|
7
|
-
static readonly eventName = "helix-map-tilt";
|
|
8
|
-
constructor(detail: MapTiltDetail);
|
|
9
|
-
}
|
package/dist/events/map-tilt.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { MapZoomDetail, ViewportZoomDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* The reader asked the map to zoom, and for the same reason it is a request.
|
|
4
|
-
*
|
|
5
|
-
* `by` is a direction rather than a level: a scale a consumer's map understands
|
|
6
|
-
* is the consumer's to decide, and a frame that said "go to zoom 14" would be
|
|
7
|
-
* asserting a numbering that Leaflet, MapLibre and a static tile server do not
|
|
8
|
-
* agree on.
|
|
9
|
-
*/
|
|
10
|
-
export declare class HelixMapZoomEvent extends CustomEvent<ViewportZoomDetail> {
|
|
11
|
-
static readonly eventName = "helix-map-zoom";
|
|
12
|
-
constructor(detail: MapZoomDetail);
|
|
13
|
-
}
|
package/dist/events/map-zoom.js
DELETED
package/dist/events/move.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { MoveDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* Cards moved, and the move is finished: a drag let go, or a key press.
|
|
4
|
-
*
|
|
5
|
-
* The `change` to `helix-before-move`'s `input`: what a consumer binds who
|
|
6
|
-
* only wants to save a board once somebody has finished rearranging it.
|
|
7
|
-
*/
|
|
8
|
-
export declare class HelixMoveEvent extends CustomEvent<MoveDetail> {
|
|
9
|
-
static readonly eventName = "helix-move";
|
|
10
|
-
constructor(detail: MoveDetail);
|
|
11
|
-
}
|
package/dist/events/move.js
DELETED
package/dist/events/next.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { SkipDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* Fired when the reader asks for the next thing in a set.
|
|
4
|
-
*
|
|
5
|
-
* Paired with `helix-previous` rather than being one event carrying a
|
|
6
|
-
* direction, which is the reason `helix-before-open` gives for its own pair: a
|
|
7
|
-
* listener that only cares about one direction says so by which event it
|
|
8
|
-
* listens for. The detail carries the direction anyway, so a consumer who does
|
|
9
|
-
* want one handler can have one.
|
|
10
|
-
*
|
|
11
|
-
* Bubbles and is composed, because the thing that answers this is usually not
|
|
12
|
-
* the thing that asked. A video has no notion of a set: it plays one resource,
|
|
13
|
-
* and what comes next is a playlist's business or the consumer's, so the event
|
|
14
|
-
* has to reach a wrapper.
|
|
15
|
-
*
|
|
16
|
-
* Not cancelable. There is no default action to refuse: the component that
|
|
17
|
-
* fires this does nothing on its own, and an event whose `preventDefault` means
|
|
18
|
-
* nothing is an event that lies about what it offers.
|
|
19
|
-
*/
|
|
20
|
-
export declare class HelixNextEvent extends CustomEvent<SkipDetail> {
|
|
21
|
-
static readonly eventName = "helix-next";
|
|
22
|
-
constructor();
|
|
23
|
-
}
|
package/dist/events/next.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ChangeDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* A sandbox's panel settled at a new height.
|
|
4
|
-
*
|
|
5
|
-
* The notification half of `helix-before-panel-resize`, sent once `panelSize`
|
|
6
|
-
* has moved, with the height in pixels. Not cancelable: the decision was the
|
|
7
|
-
* request's.
|
|
8
|
-
*/
|
|
9
|
-
export declare class HelixPanelResizeEvent extends CustomEvent<ChangeDetail> {
|
|
10
|
-
static readonly eventName = "helix-panel-resize";
|
|
11
|
-
constructor(detail: ChangeDetail);
|
|
12
|
-
}
|
package/dist/events/pasted.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { PasteDetail } from './details.js';
|
|
2
|
-
/** Cards and connections were pasted onto a board, which now holds them. */
|
|
3
|
-
export declare class HelixPastedEvent extends CustomEvent<PasteDetail> {
|
|
4
|
-
static readonly eventName = "helix-pasted";
|
|
5
|
-
constructor(detail: PasteDetail);
|
|
6
|
-
}
|
package/dist/events/pasted.js
DELETED
package/dist/events/press.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { PressDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* A control was pressed and acted, whatever pressed it: a pointer, Enter or
|
|
4
|
-
* Space, or a screen reader. React Aria's `onPress`.
|
|
5
|
-
*
|
|
6
|
-
* **One event for every way in, with the way in on it.** `click` arrives for
|
|
7
|
-
* all of them and says which only in some engines: Chromium sends a keyboard
|
|
8
|
-
* press and a script's `click()` alike, with no pointer kind and a count of
|
|
9
|
-
* zero. `pointerType` here is worked out once, by `pressType`, for every
|
|
10
|
-
* listener.
|
|
11
|
-
*
|
|
12
|
-
* Sent after the press has acted, and only when it has: a disabled or pending
|
|
13
|
-
* control sends none. Not cancelable, since the action is done. Bubbles and is
|
|
14
|
-
* composed, as `click` does.
|
|
15
|
-
*/
|
|
16
|
-
export declare class HelixPressEvent extends CustomEvent<PressDetail> {
|
|
17
|
-
static readonly eventName = "helix-press";
|
|
18
|
-
constructor(detail: PressDetail);
|
|
19
|
-
}
|
package/dist/events/press.js
DELETED
package/dist/events/preview.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { ChangeDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* A control is showing what a press would choose, before anything is chosen:
|
|
4
|
-
* a rating lighting the marks under the pointer. Zag's `onHoverChange`.
|
|
5
|
-
*
|
|
6
|
-
* `value` is the value being previewed, and `''` once the preview ends and
|
|
7
|
-
* the control shows its own value again. Sent each time the preview changes,
|
|
8
|
-
* not on every pointer move. Not cancelable, since a preview changes nothing.
|
|
9
|
-
* Bubbles and is composed.
|
|
10
|
-
*/
|
|
11
|
-
export declare class HelixPreviewEvent extends CustomEvent<ChangeDetail> {
|
|
12
|
-
static readonly eventName = "helix-preview";
|
|
13
|
-
constructor(detail: ChangeDetail);
|
|
14
|
-
}
|
package/dist/events/preview.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { SkipDetail } from './details.js';
|
|
2
|
-
/** Fired when the reader asks for the previous one. See `HelixNextEvent`. */
|
|
3
|
-
export declare class HelixPreviousEvent extends CustomEvent<SkipDetail> {
|
|
4
|
-
static readonly eventName = "helix-previous";
|
|
5
|
-
constructor();
|
|
6
|
-
}
|
package/dist/events/previous.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export class HelixPreviousEvent extends CustomEvent {
|
|
2
|
-
static { this.eventName = 'helix-previous'; }
|
|
3
|
-
constructor() {
|
|
4
|
-
super(HelixPreviousEvent.eventName, {
|
|
5
|
-
bubbles: true,
|
|
6
|
-
cancelable: false,
|
|
7
|
-
composed: true,
|
|
8
|
-
detail: { to: 'previous' },
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { RangeDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* The items on screen changed: a virtual list was scrolled or resized, or its
|
|
4
|
-
* items changed. Carries the new range, which the list's `range` also holds.
|
|
5
|
-
* Not cancelable: the list has already moved.
|
|
6
|
-
*/
|
|
7
|
-
export declare class HelixRangeChangeEvent extends CustomEvent<RangeDetail> {
|
|
8
|
-
static readonly eventName = "helix-range-change";
|
|
9
|
-
constructor(detail: RangeDetail);
|
|
10
|
-
}
|