@fusion.dev/helix-core 0.223.1 → 0.225.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/read.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { ReadDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* Fired when something a user comes back to is marked read, or unread.
|
|
4
|
-
*
|
|
5
|
-
* **Read state is reported rather than owned.** Marking a notification read is
|
|
6
|
-
* usually a round trip, and a component that flips the state itself and then
|
|
7
|
-
* hears the request failed has already told the reader something untrue. So this
|
|
8
|
-
* is cancelable, and refusing it leaves the item alone; the component applies
|
|
9
|
-
* it once nobody has refused, which is the same contract every other axis in
|
|
10
|
-
* the library uses.
|
|
11
|
-
*
|
|
12
|
-
* Bubbles and is composed, so a feed hears its own items: one handler on the
|
|
13
|
-
* list serves every notification in it, which is what a consumer syncing to a
|
|
14
|
-
* server actually wants.
|
|
15
|
-
*/
|
|
16
|
-
export declare class HelixReadEvent extends CustomEvent<ReadDetail> {
|
|
17
|
-
static readonly eventName = "helix-read";
|
|
18
|
-
constructor(detail: ReadDetail);
|
|
19
|
-
}
|
package/dist/events/read.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ReconnectDetail } from './details.js';
|
|
2
|
-
/** A connection's end moved, and the move is finished. */
|
|
3
|
-
export declare class HelixReconnectEvent extends CustomEvent<ReconnectDetail> {
|
|
4
|
-
static readonly eventName = "helix-reconnect";
|
|
5
|
-
constructor(detail: ReconnectDetail);
|
|
6
|
-
}
|
package/dist/events/reconnect.js
DELETED
package/dist/events/reject.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { RejectDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* Files arrived at a file field and some were refused: by `accept`, by
|
|
4
|
-
* `max-file-size`, by `max-files`, or by the field's own `validate`.
|
|
5
|
-
*
|
|
6
|
-
* A notification and not a request, because the files are already left out;
|
|
7
|
-
* the event is how a page tells the reader why. Bubbles and is composed, so a
|
|
8
|
-
* form around the field hears it.
|
|
9
|
-
*/
|
|
10
|
-
export declare class HelixRejectEvent extends CustomEvent<RejectDetail> {
|
|
11
|
-
static readonly eventName = "helix-reject";
|
|
12
|
-
constructor(detail: RejectDetail);
|
|
13
|
-
}
|
package/dist/events/reject.js
DELETED
package/dist/events/relabel.d.ts
DELETED
package/dist/events/relabel.js
DELETED
package/dist/events/remove.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { RemoveDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* A reader asked for cards or connections to be taken away.
|
|
4
|
-
*
|
|
5
|
-
* A request for the reason `helix-connect` is one: the elements are the page's,
|
|
6
|
-
* so the page removes them. Nothing to refuse, because nothing happens unless
|
|
7
|
-
* the page acts.
|
|
8
|
-
*/
|
|
9
|
-
export declare class HelixRemoveEvent extends CustomEvent<RemoveDetail> {
|
|
10
|
-
static readonly eventName = "helix-remove";
|
|
11
|
-
constructor(detail: RemoveDetail);
|
|
12
|
-
}
|
package/dist/events/remove.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ReorderDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* Data Table's columns are in a different order.
|
|
4
|
-
*
|
|
5
|
-
* The notification after `helix-reorder`, sent once the order has moved, with
|
|
6
|
-
* every field in the new one. Not cancelable, and past tense for the reason
|
|
7
|
-
* `helix-sorted` is.
|
|
8
|
-
*/
|
|
9
|
-
export declare class HelixReorderedEvent extends CustomEvent<ReorderDetail> {
|
|
10
|
-
static readonly eventName = "helix-reordered";
|
|
11
|
-
constructor(detail: ReorderDetail);
|
|
12
|
-
}
|
package/dist/events/reordered.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The eyedropper opening, and closing again.
|
|
3
|
-
*
|
|
4
|
-
* Two events rather than one carrying a flag, because what a consumer does with
|
|
5
|
-
* them is not symmetrical: the surface holding the picker has to get out of the
|
|
6
|
-
* way for the sample and come back afterwards, and those are two moments with
|
|
7
|
-
* different work in each.
|
|
8
|
-
*
|
|
9
|
-
* **A class rather than a bare `Event`.** The check that holds an event to being
|
|
10
|
-
* declared reads `new Event(` as well as `new HelixSomethingEvent(`, so a
|
|
11
|
-
* hand-rolled one is public API a consumer can hear and cannot find.
|
|
12
|
-
*
|
|
13
|
-
* No detail, because there is nothing to say beyond that it happened.
|
|
14
|
-
*/
|
|
15
|
-
export declare class HelixSampleStartEvent extends Event {
|
|
16
|
-
static readonly eventName = "helix-sample-start";
|
|
17
|
-
constructor();
|
|
18
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { ScrolledDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* Fired when a header crosses the threshold between resting at the top of the
|
|
4
|
-
* page and floating over it.
|
|
5
|
-
*
|
|
6
|
-
* **The threshold lives in a custom state, and is announced rather than
|
|
7
|
-
* reflected.** A `data-scrolled` on the host is an attribute nobody rendered: a
|
|
8
|
-
* server sends the element without it and the element adds it on upgrade, so a
|
|
9
|
-
* framework hydrating the page finds markup that no longer matches what it sent.
|
|
10
|
-
* A custom state is deliberately not in the DOM and therefore not something a
|
|
11
|
-
* hydration pass can disagree with.
|
|
12
|
-
*
|
|
13
|
-
* That closes the observability an attribute would accidentally provide. A
|
|
14
|
-
* `MutationObserver` can watch an attribute and there is no equivalent for
|
|
15
|
-
* `ElementInternals.states`, so a component holding a boolean nothing can read
|
|
16
|
-
* is a component with a private opinion its consumers demonstrably need: the
|
|
17
|
-
* bar's own backdrop is drawn by the page around it, and the page has to know
|
|
18
|
-
* when to light it.
|
|
19
|
-
*
|
|
20
|
-
* Not cancelable. It reports where the page is rather than asking permission to
|
|
21
|
-
* be there, and refusing it would leave the state and the announcement
|
|
22
|
-
* disagreeing.
|
|
23
|
-
*
|
|
24
|
-
* The hysteresis stays inside the header, which is the point of announcing at
|
|
25
|
-
* all: a consumer listening to `scroll` itself would be a second opinion on
|
|
26
|
-
* when the page counts as scrolled, and the two would part company at the eight
|
|
27
|
-
* pixels of travel this waits for.
|
|
28
|
-
*/
|
|
29
|
-
export declare class HelixScrolledEvent extends CustomEvent<ScrolledDetail> {
|
|
30
|
-
static readonly eventName = "helix-scrolled";
|
|
31
|
-
constructor(detail: ScrolledDetail);
|
|
32
|
-
}
|
package/dist/events/scrolled.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { SelectDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* A set holds a different selection.
|
|
4
|
-
*
|
|
5
|
-
* The notification after a `helix-select` that asked to change what is
|
|
6
|
-
* selected, sent once the selection has moved, with the selection now in
|
|
7
|
-
* force. Not cancelable, and past tense for the reason `helix-sorted` is.
|
|
8
|
-
*/
|
|
9
|
-
export declare class HelixSelectedEvent extends CustomEvent<SelectDetail> {
|
|
10
|
-
static readonly eventName = "helix-selected";
|
|
11
|
-
constructor(detail: SelectDetail);
|
|
12
|
-
}
|
package/dist/events/selected.js
DELETED
package/dist/events/send.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { SendDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* Fired when the reader offers something they wrote.
|
|
4
|
-
*
|
|
5
|
-
* **Cancelable, and the composer clears only when nobody refused.** Sending is a
|
|
6
|
-
* round trip: a composer that empties itself and then hears the request failed
|
|
7
|
-
* has thrown away the only copy of what the reader typed, and a reader who has
|
|
8
|
-
* just written three paragraphs is exactly who cannot afford that. Refusing
|
|
9
|
-
* leaves the text where it is.
|
|
10
|
-
*
|
|
11
|
-
* Not `helix-create`, which is the combobox's event for a value a list does not
|
|
12
|
-
* hold, and not `helix-change`, because nothing about a value changed: the
|
|
13
|
-
* reader finished something and handed it over.
|
|
14
|
-
*/
|
|
15
|
-
export declare class HelixSendEvent extends CustomEvent<SendDetail> {
|
|
16
|
-
static readonly eventName = "helix-send";
|
|
17
|
-
constructor(detail: SendDetail);
|
|
18
|
-
}
|
package/dist/events/send.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ShortcutDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* Fired when a shortcut's chord is pressed.
|
|
4
|
-
*
|
|
5
|
-
* Cancelable, and the key event is only consumed where this is not refused: a
|
|
6
|
-
* consumer that decides the moment is wrong, a dialog is over the control or
|
|
7
|
-
* the reader is mid-composition, calls `preventDefault()` and the keystroke
|
|
8
|
-
* goes on to whatever would have had it.
|
|
9
|
-
*/
|
|
10
|
-
export declare class HelixShortcutEvent extends CustomEvent<ShortcutDetail> {
|
|
11
|
-
static readonly eventName = "helix-shortcut";
|
|
12
|
-
constructor(detail: ShortcutDetail);
|
|
13
|
-
}
|
package/dist/events/shortcut.js
DELETED
package/dist/events/sorted.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { SortDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* The rows are in a different order.
|
|
4
|
-
*
|
|
5
|
-
* The notification after `helix-sort`, sent once `sort` has moved, with the
|
|
6
|
-
* order now in force. Not cancelable: the decision was the request's.
|
|
7
|
-
*
|
|
8
|
-
* **Past tense, because the plain verb is the request.** `helix-sort` was
|
|
9
|
-
* cancelable before the library had a word for its notification, and
|
|
10
|
-
* consumers bind it by that name, so the notification takes the one after it.
|
|
11
|
-
*/
|
|
12
|
-
export declare class HelixSortedEvent extends CustomEvent<SortDetail> {
|
|
13
|
-
static readonly eventName = "helix-sorted";
|
|
14
|
-
constructor(detail: SortDetail);
|
|
15
|
-
}
|
package/dist/events/sorted.js
DELETED
package/dist/events/split.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ChangeDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* The divider between a sandbox's panes settled somewhere new.
|
|
4
|
-
*
|
|
5
|
-
* The notification half of `helix-before-split`, sent once `split` has moved,
|
|
6
|
-
* with the lead pane's new share. Not cancelable: the decision was the
|
|
7
|
-
* request's.
|
|
8
|
-
*/
|
|
9
|
-
export declare class HelixSplitEvent extends CustomEvent<ChangeDetail> {
|
|
10
|
-
static readonly eventName = "helix-split";
|
|
11
|
-
constructor(detail: ChangeDetail);
|
|
12
|
-
}
|
package/dist/events/split.js
DELETED
package/dist/events/stop.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A reader asked for what is under way to stop: the stop control a chat
|
|
3
|
-
* composer shows in place of its send button while a reply is on its way.
|
|
4
|
-
*
|
|
5
|
-
* Carries nothing, because what stops is the listener's to know. Not
|
|
6
|
-
* cancelable: the reader has asked, and the composer changes nothing by
|
|
7
|
-
* itself, so there is nothing for a listener to refuse.
|
|
8
|
-
*/
|
|
9
|
-
export declare class HelixStopEvent extends Event {
|
|
10
|
-
static readonly eventName = "helix-stop";
|
|
11
|
-
constructor();
|
|
12
|
-
}
|
package/dist/events/stop.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { StrandsFallbackDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* A strands element stopped drawing its ribbon and shows its gradient, and
|
|
4
|
-
* says why.
|
|
5
|
-
*
|
|
6
|
-
* Sent each time it falls back, from the element, which then matches
|
|
7
|
-
* `:state(fallback)` until it draws again. Not cancelable: there is nothing
|
|
8
|
-
* left to refuse.
|
|
9
|
-
*/
|
|
10
|
-
export declare class HelixStrandsFallbackEvent extends CustomEvent<StrandsFallbackDetail> {
|
|
11
|
-
static readonly eventName = "helix-strands-fallback";
|
|
12
|
-
constructor(detail: StrandsFallbackDetail);
|
|
13
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export class HelixStrandsFallbackEvent extends CustomEvent {
|
|
2
|
-
static { this.eventName = 'helix-strands-fallback'; }
|
|
3
|
-
constructor(detail) {
|
|
4
|
-
super(HelixStrandsFallbackEvent.eventName, {
|
|
5
|
-
bubbles: true,
|
|
6
|
-
cancelable: false,
|
|
7
|
-
composed: true,
|
|
8
|
-
detail,
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The program in a terminal rang the bell, the BEL character, which shells
|
|
3
|
-
* send when a completion has no match and which long-running commands send
|
|
4
|
-
* when they finish.
|
|
5
|
-
*
|
|
6
|
-
* Sent from the frame, which also flashes once. Not cancelable: the bell has
|
|
7
|
-
* rung, and a page that wants its own signal, a badge on a tab, adds it beside
|
|
8
|
-
* the flash.
|
|
9
|
-
*/
|
|
10
|
-
export declare class HelixTerminalBellEvent extends Event {
|
|
11
|
-
static readonly eventName = "helix-terminal-bell";
|
|
12
|
-
constructor();
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { TerminalInputDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* What a reader typed or pasted into a terminal, encoded the way the program
|
|
4
|
-
* running in it reads input, for the page to write to the process.
|
|
5
|
-
*
|
|
6
|
-
* **Not cancelable, because nothing in the library acts on it.** The frame
|
|
7
|
-
* never writes input anywhere: the page owns the process, so the page is the
|
|
8
|
-
* only listener that does anything. A frame that is `readonly`, or whose
|
|
9
|
-
* process has exited, sends none.
|
|
10
|
-
*/
|
|
11
|
-
export declare class HelixTerminalInputEvent extends CustomEvent<TerminalInputDetail> {
|
|
12
|
-
static readonly eventName = "helix-terminal-input";
|
|
13
|
-
constructor(detail: TerminalInputDetail);
|
|
14
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export class HelixTerminalInputEvent extends CustomEvent {
|
|
2
|
-
static { this.eventName = 'helix-terminal-input'; }
|
|
3
|
-
constructor(detail) {
|
|
4
|
-
super(HelixTerminalInputEvent.eventName, {
|
|
5
|
-
bubbles: true,
|
|
6
|
-
cancelable: false,
|
|
7
|
-
composed: true,
|
|
8
|
-
detail,
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { TerminalLinkDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* A link in a terminal's output was activated: an address the program wrote
|
|
4
|
-
* as a hyperlink, or one the renderer found in the text.
|
|
5
|
-
*
|
|
6
|
-
* **Cancelable, and the frame reads the answer.** Left alone, the frame opens
|
|
7
|
-
* an `http` or `https` address in a new tab, with no reference back to the
|
|
8
|
-
* page, and opens nothing else: a program can write any address, including a
|
|
9
|
-
* `javascript:` one. Cancel it to open the address yourself, as a desktop
|
|
10
|
-
* app does through the system's browser.
|
|
11
|
-
*/
|
|
12
|
-
export declare class HelixTerminalLinkEvent extends CustomEvent<TerminalLinkDetail> {
|
|
13
|
-
static readonly eventName = "helix-terminal-link";
|
|
14
|
-
constructor(detail: TerminalLinkDetail);
|
|
15
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export class HelixTerminalLinkEvent extends CustomEvent {
|
|
2
|
-
static { this.eventName = 'helix-terminal-link'; }
|
|
3
|
-
constructor(detail) {
|
|
4
|
-
super(HelixTerminalLinkEvent.eventName, {
|
|
5
|
-
bubbles: true,
|
|
6
|
-
cancelable: true,
|
|
7
|
-
composed: true,
|
|
8
|
-
detail,
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { TerminalResizeDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* A terminal's grid changed size, in character cells and in pixels, for the
|
|
4
|
-
* page to resize the process's pseudo-terminal to match.
|
|
5
|
-
*
|
|
6
|
-
* Sent once the grid has its first size and after every change. Not
|
|
7
|
-
* cancelable: it reports the grid the renderer already drew, as `helix-resize`
|
|
8
|
-
* reports a height already measured.
|
|
9
|
-
*/
|
|
10
|
-
export declare class HelixTerminalResizeEvent extends CustomEvent<TerminalResizeDetail> {
|
|
11
|
-
static readonly eventName = "helix-terminal-resize";
|
|
12
|
-
constructor(detail: TerminalResizeDetail);
|
|
13
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export class HelixTerminalResizeEvent extends CustomEvent {
|
|
2
|
-
static { this.eventName = 'helix-terminal-resize'; }
|
|
3
|
-
constructor(detail) {
|
|
4
|
-
super(HelixTerminalResizeEvent.eventName, {
|
|
5
|
-
bubbles: true,
|
|
6
|
-
cancelable: false,
|
|
7
|
-
composed: true,
|
|
8
|
-
detail,
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A reader pressed Restart in a terminal whose process has exited.
|
|
3
|
-
*
|
|
4
|
-
* The page answers it: it starts a new process, clears the frame's
|
|
5
|
-
* `exit-code`, and writes the new output. Not cancelable, since the frame does
|
|
6
|
-
* nothing on its own when it is sent.
|
|
7
|
-
*/
|
|
8
|
-
export declare class HelixTerminalRestartEvent extends Event {
|
|
9
|
-
static readonly eventName = "helix-terminal-restart";
|
|
10
|
-
constructor();
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { TerminalTitleDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* The program in a terminal set its title, with the escape codes a shell
|
|
4
|
-
* writes to name its window, such as the folder it is in.
|
|
5
|
-
*
|
|
6
|
-
* The frame keeps its own `label`. Show the title where it belongs on your
|
|
7
|
-
* page, such as on the tab the terminal sits under. Not cancelable.
|
|
8
|
-
*/
|
|
9
|
-
export declare class HelixTerminalTitleEvent extends CustomEvent<TerminalTitleDetail> {
|
|
10
|
-
static readonly eventName = "helix-terminal-title";
|
|
11
|
-
constructor(detail: TerminalTitleDetail);
|
|
12
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export class HelixTerminalTitleEvent extends CustomEvent {
|
|
2
|
-
static { this.eventName = 'helix-terminal-title'; }
|
|
3
|
-
constructor(detail) {
|
|
4
|
-
super(HelixTerminalTitleEvent.eventName, {
|
|
5
|
-
bubbles: true,
|
|
6
|
-
cancelable: false,
|
|
7
|
-
composed: true,
|
|
8
|
-
detail,
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
}
|
package/dist/events/toggle.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ToggleDetail } from './details.js';
|
|
2
|
-
/**
|
|
3
|
-
* A checked state changed after `helix-before-toggle` let it: a map layer
|
|
4
|
-
* shown or hidden from the layers menu. Sent from what changed, with the state
|
|
5
|
-
* it now holds.
|
|
6
|
-
*
|
|
7
|
-
* **Not the native `toggle`.** That one is a `ToggleEvent` saying a popover or
|
|
8
|
-
* a `<details>` opened or closed, with `newState` of `open` or `closed`, and a
|
|
9
|
-
* layer shown on a map is neither: it is the request's own verb without
|
|
10
|
-
* `before`, carrying the same `checked` the request did.
|
|
11
|
-
*/
|
|
12
|
-
export declare class HelixToggleEvent extends CustomEvent<ToggleDetail> {
|
|
13
|
-
static readonly eventName = "helix-toggle";
|
|
14
|
-
constructor(detail: ToggleDetail);
|
|
15
|
-
}
|
package/dist/events/toggle.js
DELETED