@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.
Files changed (235) hide show
  1. package/custom-elements.json +1 -1
  2. package/dist/controllers/reorder-controller/reorder-controller.js +2 -3
  3. package/dist/events/before-activate.d.ts +3 -1
  4. package/dist/events/before-change.d.ts +2 -0
  5. package/dist/events/before-check.d.ts +31 -0
  6. package/dist/events/before-check.js +11 -0
  7. package/dist/events/before-close.d.ts +5 -1
  8. package/dist/events/before-filter.d.ts +17 -0
  9. package/dist/events/before-filter.js +11 -0
  10. package/dist/events/before-listen.d.ts +5 -1
  11. package/dist/events/before-navigate.d.ts +16 -0
  12. package/dist/events/before-navigate.js +11 -0
  13. package/dist/events/before-open.d.ts +2 -0
  14. package/dist/events/before-pin.d.ts +5 -1
  15. package/dist/events/before-reorder.d.ts +2 -0
  16. package/dist/events/before-resize.d.ts +5 -1
  17. package/dist/events/before-select.d.ts +19 -0
  18. package/dist/events/before-select.js +11 -0
  19. package/dist/events/before-sort.d.ts +19 -0
  20. package/dist/events/before-sort.js +11 -0
  21. package/dist/events/check.d.ts +15 -0
  22. package/dist/events/{caret.js → check.js} +3 -3
  23. package/dist/events/details.d.ts +11 -514
  24. package/dist/events/events.d.ts +27 -170
  25. package/dist/events/events.js +13 -165
  26. package/dist/events/expand.d.ts +2 -1
  27. package/dist/events/filter.d.ts +3 -4
  28. package/dist/events/filter.js +1 -1
  29. package/dist/events/found.d.ts +1 -1
  30. package/dist/events/names.d.ts +5 -16
  31. package/dist/events/names.js +11 -15
  32. package/dist/events/navigate.d.ts +3 -5
  33. package/dist/events/navigate.js +1 -1
  34. package/dist/events/reorder.d.ts +12 -13
  35. package/dist/events/reorder.js +1 -1
  36. package/dist/events/select.d.ts +4 -4
  37. package/dist/events/select.js +1 -1
  38. package/dist/events/sort.d.ts +3 -9
  39. package/dist/events/sort.js +1 -1
  40. package/dist/helix-element/helix-element.d.ts +31 -14
  41. package/dist/helix-element/helix-element.js +25 -3
  42. package/dist/helix-element/react-audit-off.d.ts +3 -1
  43. package/dist/helix-element/react-audit-off.js +1 -0
  44. package/dist/helix-element/react-audit.d.ts +22 -0
  45. package/dist/helix-element/react-audit.js +18 -0
  46. package/dist/helix-element/react-bridge.d.ts +34 -1
  47. package/dist/helix-element/react-bridge.js +33 -9
  48. package/dist/helix-element/react-root.d.ts +2 -0
  49. package/dist/helix-element/react-root.js +9 -0
  50. package/dist/helix-form-element/helix-form-element-base.js +12 -12
  51. package/dist/helix-form-element/helix-form-element.js +4 -3
  52. package/dist/index.d.ts +4 -2
  53. package/dist/index.js +4 -2
  54. package/dist/mixins/mixin-controller-checked/mixin-controller-checked.d.ts +3 -3
  55. package/dist/mixins/mixin-controller-checked/mixin-controller-checked.js +2 -2
  56. package/dist/mixins/mixin-field/mixin-field.js +9 -8
  57. package/dist/mixins/mixin-picker-feedback/mixin-picker-feedback.js +3 -2
  58. package/dist/mixins/mixin-picker-field/mixin-picker-field.js +4 -3
  59. package/dist/mixins/mixin-segmented-field/mixin-segmented-field.js +5 -4
  60. package/dist/mixins/mixin-selectable-item/mixin-selectable-item.d.ts +1 -1
  61. package/dist/mixins/mixin-selectable-item/mixin-selectable-item.js +2 -2
  62. package/dist/utils/audit-children/audit-children.d.ts +1 -1
  63. package/dist/utils/audit-name/audit-name.js +12 -1
  64. package/dist/utils/controls/controls.js +6 -1
  65. package/dist/utils/draw-icon/draw-icon.d.ts +1 -1
  66. package/dist/utils/follow-link/follow-link.d.ts +1 -1
  67. package/dist/utils/report-runtime/report-runtime.d.ts +5 -0
  68. package/dist/utils/tell-disclosure/tell-disclosure.d.ts +6 -3
  69. package/dist/utils/ticker/ticker.d.ts +5 -0
  70. package/dist/version.d.ts +4 -5
  71. package/dist/version.js +1 -1
  72. package/package.json +6 -6
  73. package/dist/events/action.d.ts +0 -12
  74. package/dist/events/action.js +0 -6
  75. package/dist/events/aura-fallback.d.ts +0 -12
  76. package/dist/events/aura-fallback.js +0 -11
  77. package/dist/events/band.d.ts +0 -13
  78. package/dist/events/band.js +0 -11
  79. package/dist/events/before-collapse.d.ts +0 -6
  80. package/dist/events/before-collapse.js +0 -11
  81. package/dist/events/before-edit.d.ts +0 -6
  82. package/dist/events/before-edit.js +0 -11
  83. package/dist/events/before-move.d.ts +0 -17
  84. package/dist/events/before-move.js +0 -11
  85. package/dist/events/before-panel-resize.d.ts +0 -13
  86. package/dist/events/before-panel-resize.js +0 -11
  87. package/dist/events/before-paste.d.ts +0 -13
  88. package/dist/events/before-paste.js +0 -11
  89. package/dist/events/before-reconnect.d.ts +0 -14
  90. package/dist/events/before-reconnect.js +0 -11
  91. package/dist/events/before-relabel.d.ts +0 -15
  92. package/dist/events/before-relabel.js +0 -11
  93. package/dist/events/before-split.d.ts +0 -12
  94. package/dist/events/before-split.js +0 -11
  95. package/dist/events/before-toggle.d.ts +0 -23
  96. package/dist/events/before-toggle.js +0 -11
  97. package/dist/events/canvas-edit.d.ts +0 -16
  98. package/dist/events/canvas-edit.js +0 -11
  99. package/dist/events/canvas-pan.d.ts +0 -13
  100. package/dist/events/canvas-pan.js +0 -11
  101. package/dist/events/canvas-view.d.ts +0 -14
  102. package/dist/events/canvas-view.js +0 -11
  103. package/dist/events/canvas-zoom.d.ts +0 -6
  104. package/dist/events/canvas-zoom.js +0 -11
  105. package/dist/events/caret.d.ts +0 -17
  106. package/dist/events/collapse.d.ts +0 -12
  107. package/dist/events/collapse.js +0 -11
  108. package/dist/events/connect.d.ts +0 -14
  109. package/dist/events/connect.js +0 -11
  110. package/dist/events/console.d.ts +0 -13
  111. package/dist/events/console.js +0 -11
  112. package/dist/events/create.d.ts +0 -18
  113. package/dist/events/create.js +0 -11
  114. package/dist/events/device-button.d.ts +0 -14
  115. package/dist/events/device-button.js +0 -11
  116. package/dist/events/device-key.d.ts +0 -16
  117. package/dist/events/device-key.js +0 -11
  118. package/dist/events/device-screenshot.d.ts +0 -13
  119. package/dist/events/device-screenshot.js +0 -10
  120. package/dist/events/device-scroll.d.ts +0 -14
  121. package/dist/events/device-scroll.js +0 -11
  122. package/dist/events/device-swipe.d.ts +0 -15
  123. package/dist/events/device-swipe.js +0 -11
  124. package/dist/events/device-tap.d.ts +0 -13
  125. package/dist/events/device-tap.js +0 -11
  126. package/dist/events/device-text.d.ts +0 -13
  127. package/dist/events/device-text.js +0 -11
  128. package/dist/events/device-touch.d.ts +0 -15
  129. package/dist/events/device-touch.js +0 -11
  130. package/dist/events/edit.d.ts +0 -12
  131. package/dist/events/edit.js +0 -11
  132. package/dist/events/end.d.ts +0 -9
  133. package/dist/events/end.js +0 -6
  134. package/dist/events/facet.d.ts +0 -17
  135. package/dist/events/facet.js +0 -11
  136. package/dist/events/filtered.d.ts +0 -12
  137. package/dist/events/filtered.js +0 -11
  138. package/dist/events/graph-filter.d.ts +0 -10
  139. package/dist/events/graph-filter.js +0 -11
  140. package/dist/events/graph-layout.d.ts +0 -10
  141. package/dist/events/graph-layout.js +0 -11
  142. package/dist/events/graph-pan.d.ts +0 -9
  143. package/dist/events/graph-pan.js +0 -11
  144. package/dist/events/graph-part-change.d.ts +0 -10
  145. package/dist/events/graph-part-change.js +0 -11
  146. package/dist/events/graph-ready.d.ts +0 -8
  147. package/dist/events/graph-ready.js +0 -6
  148. package/dist/events/graph-signal.d.ts +0 -11
  149. package/dist/events/graph-signal.js +0 -11
  150. package/dist/events/graph-zoom.d.ts +0 -6
  151. package/dist/events/graph-zoom.js +0 -11
  152. package/dist/events/history.d.ts +0 -16
  153. package/dist/events/history.js +0 -11
  154. package/dist/events/map-cluster.d.ts +0 -15
  155. package/dist/events/map-cluster.js +0 -11
  156. package/dist/events/map-pan.d.ts +0 -18
  157. package/dist/events/map-pan.js +0 -11
  158. package/dist/events/map-part-change.d.ts +0 -16
  159. package/dist/events/map-part-change.js +0 -11
  160. package/dist/events/map-ready.d.ts +0 -15
  161. package/dist/events/map-ready.js +0 -6
  162. package/dist/events/map-rotate.d.ts +0 -9
  163. package/dist/events/map-rotate.js +0 -11
  164. package/dist/events/map-tilt.d.ts +0 -9
  165. package/dist/events/map-tilt.js +0 -11
  166. package/dist/events/map-zoom.d.ts +0 -13
  167. package/dist/events/map-zoom.js +0 -11
  168. package/dist/events/move.d.ts +0 -11
  169. package/dist/events/move.js +0 -11
  170. package/dist/events/next.d.ts +0 -23
  171. package/dist/events/next.js +0 -11
  172. package/dist/events/panel-resize.d.ts +0 -12
  173. package/dist/events/panel-resize.js +0 -11
  174. package/dist/events/pasted.d.ts +0 -6
  175. package/dist/events/pasted.js +0 -11
  176. package/dist/events/press.d.ts +0 -19
  177. package/dist/events/press.js +0 -11
  178. package/dist/events/preview.d.ts +0 -14
  179. package/dist/events/preview.js +0 -11
  180. package/dist/events/previous.d.ts +0 -6
  181. package/dist/events/previous.js +0 -11
  182. package/dist/events/range-change.d.ts +0 -10
  183. package/dist/events/range-change.js +0 -11
  184. package/dist/events/read.d.ts +0 -19
  185. package/dist/events/read.js +0 -11
  186. package/dist/events/reconnect.d.ts +0 -6
  187. package/dist/events/reconnect.js +0 -11
  188. package/dist/events/reject.d.ts +0 -13
  189. package/dist/events/reject.js +0 -11
  190. package/dist/events/relabel.d.ts +0 -6
  191. package/dist/events/relabel.js +0 -11
  192. package/dist/events/remove.d.ts +0 -12
  193. package/dist/events/remove.js +0 -11
  194. package/dist/events/reordered.d.ts +0 -12
  195. package/dist/events/reordered.js +0 -11
  196. package/dist/events/sample-end.d.ts +0 -5
  197. package/dist/events/sample-end.js +0 -6
  198. package/dist/events/sample-start.d.ts +0 -18
  199. package/dist/events/sample-start.js +0 -6
  200. package/dist/events/scrolled.d.ts +0 -32
  201. package/dist/events/scrolled.js +0 -11
  202. package/dist/events/selected.d.ts +0 -12
  203. package/dist/events/selected.js +0 -11
  204. package/dist/events/send.d.ts +0 -18
  205. package/dist/events/send.js +0 -11
  206. package/dist/events/shortcut.d.ts +0 -13
  207. package/dist/events/shortcut.js +0 -11
  208. package/dist/events/sorted.d.ts +0 -15
  209. package/dist/events/sorted.js +0 -11
  210. package/dist/events/split.d.ts +0 -12
  211. package/dist/events/split.js +0 -11
  212. package/dist/events/stop.d.ts +0 -12
  213. package/dist/events/stop.js +0 -6
  214. package/dist/events/strands-fallback.d.ts +0 -13
  215. package/dist/events/strands-fallback.js +0 -11
  216. package/dist/events/terminal-bell.d.ts +0 -13
  217. package/dist/events/terminal-bell.js +0 -6
  218. package/dist/events/terminal-input.d.ts +0 -14
  219. package/dist/events/terminal-input.js +0 -11
  220. package/dist/events/terminal-link.d.ts +0 -15
  221. package/dist/events/terminal-link.js +0 -11
  222. package/dist/events/terminal-resize.d.ts +0 -13
  223. package/dist/events/terminal-resize.js +0 -11
  224. package/dist/events/terminal-restart.d.ts +0 -11
  225. package/dist/events/terminal-restart.js +0 -10
  226. package/dist/events/terminal-title.d.ts +0 -12
  227. package/dist/events/terminal-title.js +0 -11
  228. package/dist/events/toggle.d.ts +0 -15
  229. package/dist/events/toggle.js +0 -11
  230. package/dist/events/tour-ask.d.ts +0 -16
  231. package/dist/events/tour-ask.js +0 -11
  232. package/dist/events/tour-status.d.ts +0 -14
  233. package/dist/events/tour-status.js +0 -11
  234. package/dist/events/typing.d.ts +0 -10
  235. package/dist/events/typing.js +0 -11
@@ -1,11 +0,0 @@
1
- export class HelixRangeChangeEvent extends CustomEvent {
2
- static { this.eventName = 'helix-range-change'; }
3
- constructor(detail) {
4
- super(HelixRangeChangeEvent.eventName, {
5
- bubbles: true,
6
- cancelable: false,
7
- composed: true,
8
- detail,
9
- });
10
- }
11
- }
@@ -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
- }
@@ -1,11 +0,0 @@
1
- export class HelixReadEvent extends CustomEvent {
2
- static { this.eventName = 'helix-read'; }
3
- constructor(detail) {
4
- super(HelixReadEvent.eventName, {
5
- bubbles: true,
6
- cancelable: true,
7
- composed: true,
8
- detail,
9
- });
10
- }
11
- }
@@ -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
- }
@@ -1,11 +0,0 @@
1
- export class HelixReconnectEvent extends CustomEvent {
2
- static { this.eventName = 'helix-reconnect'; }
3
- constructor(detail) {
4
- super(HelixReconnectEvent.eventName, {
5
- bubbles: true,
6
- cancelable: false,
7
- composed: true,
8
- detail,
9
- });
10
- }
11
- }
@@ -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
- }
@@ -1,11 +0,0 @@
1
- export class HelixRejectEvent extends CustomEvent {
2
- static { this.eventName = 'helix-reject'; }
3
- constructor(detail) {
4
- super(HelixRejectEvent.eventName, {
5
- bubbles: true,
6
- cancelable: false,
7
- composed: true,
8
- detail,
9
- });
10
- }
11
- }
@@ -1,6 +0,0 @@
1
- import type { RelabelDetail } from './details.js';
2
- /** A label the board draws changed. */
3
- export declare class HelixRelabelEvent extends CustomEvent<RelabelDetail> {
4
- static readonly eventName = "helix-relabel";
5
- constructor(detail: RelabelDetail);
6
- }
@@ -1,11 +0,0 @@
1
- export class HelixRelabelEvent extends CustomEvent {
2
- static { this.eventName = 'helix-relabel'; }
3
- constructor(detail) {
4
- super(HelixRelabelEvent.eventName, {
5
- bubbles: true,
6
- cancelable: false,
7
- composed: true,
8
- detail,
9
- });
10
- }
11
- }
@@ -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
- }
@@ -1,11 +0,0 @@
1
- export class HelixRemoveEvent extends CustomEvent {
2
- static { this.eventName = 'helix-remove'; }
3
- constructor(detail) {
4
- super(HelixRemoveEvent.eventName, {
5
- bubbles: true,
6
- cancelable: false,
7
- composed: true,
8
- detail,
9
- });
10
- }
11
- }
@@ -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
- }
@@ -1,11 +0,0 @@
1
- export class HelixReorderedEvent extends CustomEvent {
2
- static { this.eventName = 'helix-reordered'; }
3
- constructor(detail) {
4
- super(HelixReorderedEvent.eventName, {
5
- bubbles: true,
6
- cancelable: false,
7
- composed: true,
8
- detail,
9
- });
10
- }
11
- }
@@ -1,5 +0,0 @@
1
- /** The eyedropper closing, whether or not a color was taken. */
2
- export declare class HelixSampleEndEvent extends Event {
3
- static readonly eventName = "helix-sample-end";
4
- constructor();
5
- }
@@ -1,6 +0,0 @@
1
- export class HelixSampleEndEvent extends Event {
2
- static { this.eventName = 'helix-sample-end'; }
3
- constructor() {
4
- super(HelixSampleEndEvent.eventName, { bubbles: true, cancelable: false, composed: true });
5
- }
6
- }
@@ -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,6 +0,0 @@
1
- export class HelixSampleStartEvent extends Event {
2
- static { this.eventName = 'helix-sample-start'; }
3
- constructor() {
4
- super(HelixSampleStartEvent.eventName, { bubbles: true, cancelable: false, composed: true });
5
- }
6
- }
@@ -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
- }
@@ -1,11 +0,0 @@
1
- export class HelixScrolledEvent extends CustomEvent {
2
- static { this.eventName = 'helix-scrolled'; }
3
- constructor(detail) {
4
- super(HelixScrolledEvent.eventName, {
5
- bubbles: true,
6
- cancelable: false,
7
- composed: true,
8
- detail,
9
- });
10
- }
11
- }
@@ -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
- }
@@ -1,11 +0,0 @@
1
- export class HelixSelectedEvent extends CustomEvent {
2
- static { this.eventName = 'helix-selected'; }
3
- constructor(detail) {
4
- super(HelixSelectedEvent.eventName, {
5
- bubbles: true,
6
- cancelable: false,
7
- composed: true,
8
- detail,
9
- });
10
- }
11
- }
@@ -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
- }
@@ -1,11 +0,0 @@
1
- export class HelixSendEvent extends CustomEvent {
2
- static { this.eventName = 'helix-send'; }
3
- constructor(detail) {
4
- super(HelixSendEvent.eventName, {
5
- bubbles: true,
6
- cancelable: true,
7
- composed: true,
8
- detail,
9
- });
10
- }
11
- }
@@ -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
- }
@@ -1,11 +0,0 @@
1
- export class HelixShortcutEvent extends CustomEvent {
2
- static { this.eventName = 'helix-shortcut'; }
3
- constructor(detail) {
4
- super(HelixShortcutEvent.eventName, {
5
- bubbles: true,
6
- cancelable: true,
7
- composed: true,
8
- detail,
9
- });
10
- }
11
- }
@@ -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
- }
@@ -1,11 +0,0 @@
1
- export class HelixSortedEvent extends CustomEvent {
2
- static { this.eventName = 'helix-sorted'; }
3
- constructor(detail) {
4
- super(HelixSortedEvent.eventName, {
5
- bubbles: true,
6
- cancelable: false,
7
- composed: true,
8
- detail,
9
- });
10
- }
11
- }
@@ -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
- }
@@ -1,11 +0,0 @@
1
- export class HelixSplitEvent extends CustomEvent {
2
- static { this.eventName = 'helix-split'; }
3
- constructor(detail) {
4
- super(HelixSplitEvent.eventName, {
5
- bubbles: true,
6
- cancelable: false,
7
- composed: true,
8
- detail,
9
- });
10
- }
11
- }
@@ -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
- }
@@ -1,6 +0,0 @@
1
- export class HelixStopEvent extends Event {
2
- static { this.eventName = 'helix-stop'; }
3
- constructor() {
4
- super(HelixStopEvent.eventName, { bubbles: true, cancelable: false, composed: true });
5
- }
6
- }
@@ -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,6 +0,0 @@
1
- export class HelixTerminalBellEvent extends Event {
2
- static { this.eventName = 'helix-terminal-bell'; }
3
- constructor() {
4
- super(HelixTerminalBellEvent.eventName, { bubbles: true, cancelable: false, composed: true });
5
- }
6
- }
@@ -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,10 +0,0 @@
1
- export class HelixTerminalRestartEvent extends Event {
2
- static { this.eventName = 'helix-terminal-restart'; }
3
- constructor() {
4
- super(HelixTerminalRestartEvent.eventName, {
5
- bubbles: true,
6
- cancelable: false,
7
- composed: true,
8
- });
9
- }
10
- }
@@ -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
- }
@@ -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
- }
@@ -1,11 +0,0 @@
1
- export class HelixToggleEvent extends CustomEvent {
2
- static { this.eventName = 'helix-toggle'; }
3
- constructor(detail) {
4
- super(HelixToggleEvent.eventName, {
5
- bubbles: true,
6
- cancelable: false,
7
- composed: true,
8
- detail,
9
- });
10
- }
11
- }