@websublime/line-components 0.2.0 → 0.2.1

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.
@@ -8,6 +8,1247 @@
8
8
  "declarations": [],
9
9
  "exports": []
10
10
  },
11
+ {
12
+ "kind": "javascript-module",
13
+ "path": "src/button/button.ts",
14
+ "declarations": [
15
+ {
16
+ "kind": "class",
17
+ "description": "`<line-button>` runs an action when the user activates it. It renders a\nnative `<button>` in its shadow root, and the host is a form-associated\ncustom element, so `type=\"submit\"` and `type=\"reset\"` act on its form as a\nnative button does. `pressed` makes it a toggle; `loading` keeps it\nfocusable while it ignores presses.",
18
+ "name": "LineButton",
19
+ "cssProperties": [
20
+ {
21
+ "description": "Corner radius of `root`.",
22
+ "name": "--line-button-radius",
23
+ "default": "var(--line-radius-2)"
24
+ },
25
+ {
26
+ "description": "Background of `root`; `primary` uses `var(--line-accent-solid)` and `borderless` uses `transparent`.",
27
+ "name": "--line-button-bg",
28
+ "default": "var(--line-gray-bg)"
29
+ },
30
+ {
31
+ "description": "Text colour of `root`; `primary` uses `var(--line-accent-contrast)` and `borderless` uses `var(--line-accent-text)`.",
32
+ "name": "--line-button-color",
33
+ "default": "var(--line-gray-text)"
34
+ },
35
+ {
36
+ "description": "Minimum block size of `root`.",
37
+ "name": "--line-button-height",
38
+ "default": "var(--line-size-7)"
39
+ },
40
+ {
41
+ "description": "Inline padding of `root`.",
42
+ "name": "--line-button-padding-inline",
43
+ "default": "var(--line-size-3)"
44
+ },
45
+ {
46
+ "description": "Gap between the prefix, label, suffix and loading zones.",
47
+ "name": "--line-button-gap",
48
+ "default": "var(--line-size-2)"
49
+ },
50
+ {
51
+ "description": "Font size of `root`.",
52
+ "name": "--line-button-font-size",
53
+ "default": "var(--line-font-size-1)"
54
+ },
55
+ {
56
+ "description": "Font weight of `root`.",
57
+ "name": "--line-button-font-weight",
58
+ "default": "var(--line-font-weight-5)"
59
+ },
60
+ {
61
+ "description": "`outline` of `root` while the host has `data-focus-visible`.",
62
+ "name": "--line-button-focus-ring",
63
+ "default": "var(--line-focus-ring, 2px solid currentColor)"
64
+ }
65
+ ],
66
+ "cssParts": [
67
+ {
68
+ "description": "The inner native `<button>`: box, background, border and focus ring.",
69
+ "name": "root"
70
+ },
71
+ {
72
+ "description": "Wraps the default slot.",
73
+ "name": "label"
74
+ },
75
+ {
76
+ "description": "Wraps the `loading` slot; present only while `loading` is on.",
77
+ "name": "loading"
78
+ }
79
+ ],
80
+ "slots": [
81
+ {
82
+ "description": "The label: text or inline content.",
83
+ "name": ""
84
+ },
85
+ {
86
+ "description": "A leading icon.",
87
+ "name": "prefix"
88
+ },
89
+ {
90
+ "description": "A trailing icon.",
91
+ "name": "suffix"
92
+ },
93
+ {
94
+ "description": "A spinner, loading text or both; rendered only while `loading` is on.",
95
+ "name": "loading"
96
+ }
97
+ ],
98
+ "members": [
99
+ {
100
+ "kind": "field",
101
+ "name": "shadowRootOptions",
102
+ "type": {
103
+ "text": "ShadowRootInit"
104
+ },
105
+ "static": true,
106
+ "default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true }"
107
+ },
108
+ {
109
+ "kind": "field",
110
+ "name": "variant",
111
+ "privacy": "public",
112
+ "type": {
113
+ "text": "ButtonVariant"
114
+ },
115
+ "description": "Semantic emphasis; an unknown value behaves as `default`.",
116
+ "default": "'default'",
117
+ "attribute": "variant",
118
+ "reflects": true
119
+ },
120
+ {
121
+ "kind": "field",
122
+ "name": "type",
123
+ "type": {
124
+ "text": "string"
125
+ },
126
+ "readonly": true,
127
+ "privacy": "public",
128
+ "description": "What activation does to the form owner; an unknown value behaves as `submit`.",
129
+ "default": "'submit'",
130
+ "attribute": "type",
131
+ "reflects": true,
132
+ "inheritedFrom": {
133
+ "name": "FormAssociated",
134
+ "module": "../line-core/src/form-associated.ts"
135
+ }
136
+ },
137
+ {
138
+ "kind": "field",
139
+ "name": "disabled",
140
+ "privacy": "public",
141
+ "type": {
142
+ "text": "boolean"
143
+ },
144
+ "description": "Removes the button from the tab order and blocks activation.",
145
+ "default": "false",
146
+ "attribute": "disabled",
147
+ "reflects": true
148
+ },
149
+ {
150
+ "kind": "field",
151
+ "name": "loading",
152
+ "privacy": "public",
153
+ "type": {
154
+ "text": "boolean"
155
+ },
156
+ "description": "Keeps focus, sets `aria-disabled=\"true\"`, blocks activation and renders the `loading` part.",
157
+ "default": "false",
158
+ "attribute": "loading",
159
+ "reflects": true
160
+ },
161
+ {
162
+ "kind": "field",
163
+ "name": "pressed",
164
+ "privacy": "public",
165
+ "type": {
166
+ "text": "boolean | undefined"
167
+ },
168
+ "description": "`undefined` means not a toggle; a toggle flips it on each activation and fires `line-change`.",
169
+ "attribute": "pressed",
170
+ "reflects": true
171
+ },
172
+ {
173
+ "kind": "field",
174
+ "name": "value",
175
+ "privacy": "public",
176
+ "type": {
177
+ "text": "string"
178
+ },
179
+ "description": "The submitter value; it enters the form data only when this button submits.",
180
+ "default": "''",
181
+ "attribute": "value",
182
+ "reflects": true
183
+ },
184
+ {
185
+ "kind": "field",
186
+ "name": "formAction",
187
+ "privacy": "public",
188
+ "type": {
189
+ "text": "string"
190
+ },
191
+ "description": "Overrides the form's `action` when this button submits.",
192
+ "default": "''",
193
+ "attribute": "formaction",
194
+ "reflects": true
195
+ },
196
+ {
197
+ "kind": "field",
198
+ "name": "formMethod",
199
+ "privacy": "public",
200
+ "type": {
201
+ "text": "ButtonFormMethod | undefined"
202
+ },
203
+ "description": "Overrides the form's `method` when this button submits.",
204
+ "attribute": "formmethod",
205
+ "reflects": true
206
+ },
207
+ {
208
+ "kind": "field",
209
+ "name": "formEnctype",
210
+ "privacy": "public",
211
+ "type": {
212
+ "text": "ButtonFormEnctype | undefined"
213
+ },
214
+ "description": "Overrides the form's `enctype` when this button submits.",
215
+ "attribute": "formenctype",
216
+ "reflects": true
217
+ },
218
+ {
219
+ "kind": "field",
220
+ "name": "formTarget",
221
+ "privacy": "public",
222
+ "type": {
223
+ "text": "string | undefined"
224
+ },
225
+ "description": "Overrides the form's `target` when this button submits.",
226
+ "attribute": "formtarget",
227
+ "reflects": true
228
+ },
229
+ {
230
+ "kind": "field",
231
+ "name": "formNoValidate",
232
+ "privacy": "public",
233
+ "type": {
234
+ "text": "boolean"
235
+ },
236
+ "description": "Skips constraint validation when this button submits.",
237
+ "default": "false",
238
+ "attribute": "formnovalidate",
239
+ "reflects": true
240
+ },
241
+ {
242
+ "kind": "field",
243
+ "name": "customValidity",
244
+ "privacy": "public",
245
+ "type": {
246
+ "text": "string"
247
+ },
248
+ "description": "External validity: a non-empty message marks the button invalid while `type` is `submit`.",
249
+ "default": "''",
250
+ "attribute": "custom-validity"
251
+ },
252
+ {
253
+ "kind": "field",
254
+ "name": "ariaLabel",
255
+ "privacy": "public",
256
+ "type": {
257
+ "text": "string | null"
258
+ },
259
+ "description": "Copied to the inner button, where it names the role.",
260
+ "attribute": "aria-label",
261
+ "reflects": true
262
+ },
263
+ {
264
+ "kind": "field",
265
+ "name": "ariaDescription",
266
+ "privacy": "public",
267
+ "type": {
268
+ "text": "string | null"
269
+ },
270
+ "description": "Copied to the inner button.",
271
+ "attribute": "aria-description",
272
+ "reflects": true
273
+ },
274
+ {
275
+ "kind": "field",
276
+ "name": "#formDisabled",
277
+ "privacy": "private",
278
+ "type": {
279
+ "text": "boolean"
280
+ },
281
+ "default": "false",
282
+ "description": "A disabled `fieldset` ancestor or the host's own `disabled`, from `formDisabledCallback`."
283
+ },
284
+ {
285
+ "kind": "field",
286
+ "name": "#onPressedChange",
287
+ "privacy": "private",
288
+ "readonly": true
289
+ },
290
+ {
291
+ "kind": "field",
292
+ "name": "#machineProps",
293
+ "privacy": "private",
294
+ "readonly": true
295
+ },
296
+ {
297
+ "kind": "field",
298
+ "name": "#ctrl",
299
+ "privacy": "private",
300
+ "readonly": true,
301
+ "default": "new LineMachineController<ButtonMachineSchema>(this, { machine: buttonMachine, props: this.#machineProps, })"
302
+ },
303
+ {
304
+ "kind": "method",
305
+ "name": "formDisabledCallback",
306
+ "return": {
307
+ "type": {
308
+ "text": "void"
309
+ }
310
+ },
311
+ "parameters": [
312
+ {
313
+ "name": "disabled",
314
+ "type": {
315
+ "text": "boolean"
316
+ }
317
+ }
318
+ ],
319
+ "inheritedFrom": {
320
+ "name": "FormAssociated",
321
+ "module": "../line-core/src/form-associated.ts"
322
+ }
323
+ },
324
+ {
325
+ "kind": "method",
326
+ "name": "#api",
327
+ "privacy": "private",
328
+ "return": {
329
+ "type": {
330
+ "text": "ButtonApi"
331
+ }
332
+ },
333
+ "description": "The machine view, or the static view from the host props when the machine failed to start."
334
+ },
335
+ {
336
+ "kind": "field",
337
+ "name": "#onClick",
338
+ "privacy": "private",
339
+ "readonly": true,
340
+ "description": "Stops a click while the button is not interactive. It listens in the\ncapture phase, so it runs before every bubble listener on the host,\nincluding an inline `onclick` or a listener added before the upgrade.\nOtherwise it activates in a later task, once the click dispatch has\nended, unless a listener called `preventDefault()`."
341
+ },
342
+ {
343
+ "kind": "method",
344
+ "name": "#activate",
345
+ "privacy": "private",
346
+ "return": {
347
+ "type": {
348
+ "text": "void"
349
+ }
350
+ }
351
+ },
352
+ {
353
+ "kind": "method",
354
+ "name": "#submit",
355
+ "privacy": "private",
356
+ "return": {
357
+ "type": {
358
+ "text": "void"
359
+ }
360
+ },
361
+ "parameters": [
362
+ {
363
+ "name": "form",
364
+ "type": {
365
+ "text": "HTMLFormElement"
366
+ }
367
+ }
368
+ ],
369
+ "description": "Submits through a temporary native submitter, so the submission gets the native submitter semantics."
370
+ },
371
+ {
372
+ "kind": "field",
373
+ "name": "#onPointerDown",
374
+ "privacy": "private",
375
+ "readonly": true
376
+ },
377
+ {
378
+ "kind": "field",
379
+ "name": "#onKeyDown",
380
+ "privacy": "private",
381
+ "readonly": true
382
+ },
383
+ {
384
+ "kind": "field",
385
+ "name": "#onKeyUp",
386
+ "privacy": "private",
387
+ "readonly": true
388
+ },
389
+ {
390
+ "kind": "field",
391
+ "name": "#onFocus",
392
+ "privacy": "private",
393
+ "readonly": true
394
+ },
395
+ {
396
+ "kind": "field",
397
+ "name": "#onBlur",
398
+ "privacy": "private",
399
+ "readonly": true
400
+ },
401
+ {
402
+ "kind": "field",
403
+ "name": "formAssociated",
404
+ "static": true,
405
+ "default": "true",
406
+ "type": {
407
+ "text": "true"
408
+ },
409
+ "inheritedFrom": {
410
+ "name": "FormAssociated",
411
+ "module": "../line-core/src/form-associated.ts"
412
+ }
413
+ },
414
+ {
415
+ "kind": "method",
416
+ "name": "setFormValue",
417
+ "return": {
418
+ "type": {
419
+ "text": "void"
420
+ }
421
+ },
422
+ "parameters": [
423
+ {
424
+ "name": "value",
425
+ "type": {
426
+ "text": "FormValue"
427
+ }
428
+ },
429
+ {
430
+ "name": "state",
431
+ "optional": true,
432
+ "type": {
433
+ "text": "FormValue"
434
+ }
435
+ }
436
+ ],
437
+ "inheritedFrom": {
438
+ "name": "FormAssociated",
439
+ "module": "../line-core/src/form-associated.ts"
440
+ }
441
+ },
442
+ {
443
+ "kind": "method",
444
+ "name": "setValidity",
445
+ "return": {
446
+ "type": {
447
+ "text": "void"
448
+ }
449
+ },
450
+ "parameters": [
451
+ {
452
+ "name": "flags",
453
+ "type": {
454
+ "text": "ValidityStateFlags"
455
+ }
456
+ },
457
+ {
458
+ "name": "message",
459
+ "optional": true,
460
+ "type": {
461
+ "text": "string"
462
+ }
463
+ },
464
+ {
465
+ "name": "anchor",
466
+ "optional": true,
467
+ "type": {
468
+ "text": "HTMLElement"
469
+ }
470
+ }
471
+ ],
472
+ "inheritedFrom": {
473
+ "name": "FormAssociated",
474
+ "module": "../line-core/src/form-associated.ts"
475
+ }
476
+ },
477
+ {
478
+ "kind": "method",
479
+ "name": "reportValidity",
480
+ "return": {
481
+ "type": {
482
+ "text": "boolean"
483
+ }
484
+ },
485
+ "inheritedFrom": {
486
+ "name": "FormAssociated",
487
+ "module": "../line-core/src/form-associated.ts"
488
+ }
489
+ },
490
+ {
491
+ "kind": "method",
492
+ "name": "checkValidity",
493
+ "return": {
494
+ "type": {
495
+ "text": "boolean"
496
+ }
497
+ },
498
+ "inheritedFrom": {
499
+ "name": "FormAssociated",
500
+ "module": "../line-core/src/form-associated.ts"
501
+ }
502
+ },
503
+ {
504
+ "kind": "field",
505
+ "name": "form",
506
+ "type": {
507
+ "text": "HTMLFormElement | null"
508
+ },
509
+ "readonly": true,
510
+ "inheritedFrom": {
511
+ "name": "FormAssociated",
512
+ "module": "../line-core/src/form-associated.ts"
513
+ }
514
+ },
515
+ {
516
+ "kind": "field",
517
+ "name": "name",
518
+ "type": {
519
+ "text": "string | null"
520
+ },
521
+ "readonly": true,
522
+ "inheritedFrom": {
523
+ "name": "FormAssociated",
524
+ "module": "../line-core/src/form-associated.ts"
525
+ }
526
+ },
527
+ {
528
+ "kind": "field",
529
+ "name": "validity",
530
+ "type": {
531
+ "text": "ValidityState"
532
+ },
533
+ "readonly": true,
534
+ "inheritedFrom": {
535
+ "name": "FormAssociated",
536
+ "module": "../line-core/src/form-associated.ts"
537
+ }
538
+ },
539
+ {
540
+ "kind": "field",
541
+ "name": "validationMessage",
542
+ "type": {
543
+ "text": "string"
544
+ },
545
+ "readonly": true,
546
+ "inheritedFrom": {
547
+ "name": "FormAssociated",
548
+ "module": "../line-core/src/form-associated.ts"
549
+ }
550
+ },
551
+ {
552
+ "kind": "field",
553
+ "name": "willValidate",
554
+ "type": {
555
+ "text": "boolean"
556
+ },
557
+ "readonly": true,
558
+ "inheritedFrom": {
559
+ "name": "FormAssociated",
560
+ "module": "../line-core/src/form-associated.ts"
561
+ }
562
+ },
563
+ {
564
+ "kind": "method",
565
+ "name": "formAssociatedCallback",
566
+ "return": {
567
+ "type": {
568
+ "text": "void"
569
+ }
570
+ },
571
+ "parameters": [
572
+ {
573
+ "name": "form",
574
+ "type": {
575
+ "text": "HTMLFormElement | null"
576
+ }
577
+ }
578
+ ],
579
+ "inheritedFrom": {
580
+ "name": "FormAssociated",
581
+ "module": "../line-core/src/form-associated.ts"
582
+ }
583
+ },
584
+ {
585
+ "kind": "method",
586
+ "name": "formResetCallback",
587
+ "return": {
588
+ "type": {
589
+ "text": "void"
590
+ }
591
+ },
592
+ "inheritedFrom": {
593
+ "name": "FormAssociated",
594
+ "module": "../line-core/src/form-associated.ts"
595
+ }
596
+ },
597
+ {
598
+ "kind": "method",
599
+ "name": "formStateRestoreCallback",
600
+ "return": {
601
+ "type": {
602
+ "text": "void"
603
+ }
604
+ },
605
+ "parameters": [
606
+ {
607
+ "name": "state",
608
+ "type": {
609
+ "text": "FormValue"
610
+ }
611
+ },
612
+ {
613
+ "name": "reason",
614
+ "type": {
615
+ "text": "'autocomplete' | 'restore'"
616
+ }
617
+ }
618
+ ],
619
+ "inheritedFrom": {
620
+ "name": "FormAssociated",
621
+ "module": "../line-core/src/form-associated.ts"
622
+ }
623
+ },
624
+ {
625
+ "kind": "field",
626
+ "name": "properties",
627
+ "type": {
628
+ "text": "PropertyDeclarations"
629
+ },
630
+ "static": true,
631
+ "default": "{ direction: { attribute: false, noAccessor: true }, }",
632
+ "description": "`direction` is reactive but owns its accessor and has no attribute.",
633
+ "inheritedFrom": {
634
+ "name": "DirectionMixin",
635
+ "module": "../line-core/src/mixins/direction.ts"
636
+ }
637
+ },
638
+ {
639
+ "kind": "field",
640
+ "name": "#direction",
641
+ "privacy": "private",
642
+ "type": {
643
+ "text": "Direction"
644
+ },
645
+ "default": "'ltr'",
646
+ "inheritedFrom": {
647
+ "name": "DirectionMixin",
648
+ "module": "../line-core/src/mixins/direction.ts"
649
+ }
650
+ },
651
+ {
652
+ "kind": "field",
653
+ "name": "#recomputeDirection",
654
+ "privacy": "private",
655
+ "readonly": true,
656
+ "inheritedFrom": {
657
+ "name": "DirectionMixin",
658
+ "module": "../line-core/src/mixins/direction.ts"
659
+ }
660
+ },
661
+ {
662
+ "kind": "field",
663
+ "name": "direction",
664
+ "privacy": "public",
665
+ "type": {
666
+ "text": "Direction"
667
+ },
668
+ "description": "Resolved text direction of the host.",
669
+ "readonly": true,
670
+ "inheritedFrom": {
671
+ "name": "DirectionMixin",
672
+ "module": "../line-core/src/mixins/direction.ts"
673
+ }
674
+ },
675
+ {
676
+ "kind": "field",
677
+ "name": "version",
678
+ "type": {
679
+ "text": "string"
680
+ },
681
+ "static": true,
682
+ "default": "'0.0.0'",
683
+ "description": "Component semver string. Surfaced by the Inspector as `data-line-version`.",
684
+ "inheritedFrom": {
685
+ "name": "LineElement",
686
+ "module": "../line-core/src/line-element.ts"
687
+ }
688
+ },
689
+ {
690
+ "kind": "field",
691
+ "name": "docs",
692
+ "type": {
693
+ "text": "string"
694
+ },
695
+ "static": true,
696
+ "default": "''",
697
+ "description": "Documentation URL. Surfaced by the Inspector as `data-line-docs` when set.",
698
+ "inheritedFrom": {
699
+ "name": "MetadataMixin",
700
+ "module": "../line-core/src/mixins/metadata.ts"
701
+ }
702
+ },
703
+ {
704
+ "kind": "field",
705
+ "name": "qa",
706
+ "type": {
707
+ "text": "string[]"
708
+ },
709
+ "static": true,
710
+ "default": "[]",
711
+ "description": "QA tags for the component.",
712
+ "inheritedFrom": {
713
+ "name": "MetadataMixin",
714
+ "module": "../line-core/src/mixins/metadata.ts"
715
+ }
716
+ },
717
+ {
718
+ "kind": "field",
719
+ "name": "scope",
720
+ "type": {
721
+ "text": "string"
722
+ },
723
+ "static": true,
724
+ "default": "''",
725
+ "description": "Component scope identifier.",
726
+ "inheritedFrom": {
727
+ "name": "MetadataMixin",
728
+ "module": "../line-core/src/mixins/metadata.ts"
729
+ }
730
+ },
731
+ {
732
+ "kind": "field",
733
+ "name": "#inspectorDialog",
734
+ "privacy": "private",
735
+ "type": {
736
+ "text": "HTMLDialogElement | null"
737
+ },
738
+ "default": "null",
739
+ "description": "Active dialog panel while the inspector is enabled, else `null`.",
740
+ "inheritedFrom": {
741
+ "name": "InspectorMixin",
742
+ "module": "../line-core/src/mixins/inspector.ts"
743
+ }
744
+ },
745
+ {
746
+ "kind": "field",
747
+ "name": "#onInspectorKeydown",
748
+ "privacy": "private",
749
+ "readonly": true,
750
+ "description": "Bound keydown handler, retained so it can be removed on disconnect.",
751
+ "inheritedFrom": {
752
+ "name": "InspectorMixin",
753
+ "module": "../line-core/src/mixins/inspector.ts"
754
+ }
755
+ },
756
+ {
757
+ "kind": "method",
758
+ "name": "#activateInspector",
759
+ "privacy": "private",
760
+ "return": {
761
+ "type": {
762
+ "text": "void"
763
+ }
764
+ },
765
+ "description": "Wire activation marker, host metadata attributes, the hotkey, and the\ndev-only hover-outline stylesheet.",
766
+ "inheritedFrom": {
767
+ "name": "InspectorMixin",
768
+ "module": "../line-core/src/mixins/inspector.ts"
769
+ }
770
+ },
771
+ {
772
+ "kind": "method",
773
+ "name": "#deactivateInspector",
774
+ "privacy": "private",
775
+ "return": {
776
+ "type": {
777
+ "text": "void"
778
+ }
779
+ },
780
+ "description": "Remove the hotkey, tear down the dialog, drop host attributes, and remove\nthe dev-only hover-outline sheet so the active path leaks nothing.",
781
+ "inheritedFrom": {
782
+ "name": "InspectorMixin",
783
+ "module": "../line-core/src/mixins/inspector.ts"
784
+ }
785
+ },
786
+ {
787
+ "kind": "method",
788
+ "name": "#inspectorRoot",
789
+ "privacy": "private",
790
+ "return": {
791
+ "type": {
792
+ "text": "ShadowRoot | null"
793
+ }
794
+ },
795
+ "description": "The shadow root that carries `adoptedStyleSheets`, or `null`.",
796
+ "inheritedFrom": {
797
+ "name": "InspectorMixin",
798
+ "module": "../line-core/src/mixins/inspector.ts"
799
+ }
800
+ },
801
+ {
802
+ "kind": "method",
803
+ "name": "#adoptInspectorOutline",
804
+ "privacy": "private",
805
+ "return": {
806
+ "type": {
807
+ "text": "void"
808
+ }
809
+ },
810
+ "description": "Append the singleton hover-outline sheet to the shadow root's\n`adoptedStyleSheets` (idempotent — never duplicated, never replaces the\narray). No-op when the sheet or root is unavailable.",
811
+ "inheritedFrom": {
812
+ "name": "InspectorMixin",
813
+ "module": "../line-core/src/mixins/inspector.ts"
814
+ }
815
+ },
816
+ {
817
+ "kind": "method",
818
+ "name": "#releaseInspectorOutline",
819
+ "privacy": "private",
820
+ "return": {
821
+ "type": {
822
+ "text": "void"
823
+ }
824
+ },
825
+ "description": "Remove the singleton hover-outline sheet from the shadow root's\n`adoptedStyleSheets`, preserving every other adopted sheet.",
826
+ "inheritedFrom": {
827
+ "name": "InspectorMixin",
828
+ "module": "../line-core/src/mixins/inspector.ts"
829
+ }
830
+ },
831
+ {
832
+ "kind": "method",
833
+ "name": "#inspectorVersion",
834
+ "privacy": "private",
835
+ "return": {
836
+ "type": {
837
+ "text": "string"
838
+ }
839
+ },
840
+ "description": "Read the host's static `version`, defaulting to `''` when absent.",
841
+ "inheritedFrom": {
842
+ "name": "InspectorMixin",
843
+ "module": "../line-core/src/mixins/inspector.ts"
844
+ }
845
+ },
846
+ {
847
+ "kind": "method",
848
+ "name": "#inspectorDocs",
849
+ "privacy": "private",
850
+ "return": {
851
+ "type": {
852
+ "text": "string"
853
+ }
854
+ },
855
+ "description": "Read the host's static `docs` URL defensively (D3 may not provide one).",
856
+ "inheritedFrom": {
857
+ "name": "InspectorMixin",
858
+ "module": "../line-core/src/mixins/inspector.ts"
859
+ }
860
+ },
861
+ {
862
+ "kind": "method",
863
+ "name": "#toggleInspectorPanel",
864
+ "privacy": "private",
865
+ "return": {
866
+ "type": {
867
+ "text": "void"
868
+ }
869
+ },
870
+ "description": "Open the panel if closed, close it if already open.",
871
+ "inheritedFrom": {
872
+ "name": "InspectorMixin",
873
+ "module": "../line-core/src/mixins/inspector.ts"
874
+ }
875
+ },
876
+ {
877
+ "kind": "method",
878
+ "name": "#openInspectorPanel",
879
+ "privacy": "private",
880
+ "return": {
881
+ "type": {
882
+ "text": "void"
883
+ }
884
+ },
885
+ "description": "Build (once) and open the `<dialog>` metadata panel in the shadow root.",
886
+ "inheritedFrom": {
887
+ "name": "InspectorMixin",
888
+ "module": "../line-core/src/mixins/inspector.ts"
889
+ }
890
+ },
891
+ {
892
+ "kind": "field",
893
+ "name": "#internals",
894
+ "privacy": "private",
895
+ "type": {
896
+ "text": "ElementInternals"
897
+ },
898
+ "inheritedFrom": {
899
+ "name": "LineElement",
900
+ "module": "../line-core/src/line-element.ts"
901
+ }
902
+ },
903
+ {
904
+ "kind": "field",
905
+ "name": "[INTERNALS]",
906
+ "type": {
907
+ "text": "ElementInternals"
908
+ },
909
+ "privacy": "protected",
910
+ "description": "The element's `ElementInternals`, attached once in the constructor (spec §6.C.2, SD19).",
911
+ "readonly": true,
912
+ "inheritedFrom": {
913
+ "name": "LineElement",
914
+ "module": "../line-core/src/line-element.ts"
915
+ }
916
+ },
917
+ {
918
+ "kind": "method",
919
+ "name": "reflectState",
920
+ "privacy": "protected",
921
+ "return": {
922
+ "type": {
923
+ "text": "void"
924
+ }
925
+ },
926
+ "parameters": [
927
+ {
928
+ "name": "name",
929
+ "type": {
930
+ "text": "string"
931
+ }
932
+ },
933
+ {
934
+ "name": "active",
935
+ "type": {
936
+ "text": "boolean"
937
+ }
938
+ }
939
+ ],
940
+ "description": "Reflects machine state `name` on the host as the attribute `data-<name>`\nand the custom state `:state(<name>)`, both verbatim, so a kebab-case name\nsuch as `focus-visible` keeps its spelling. The custom state is skipped\nwhere the internals have no `states`.",
941
+ "inheritedFrom": {
942
+ "name": "LineElement",
943
+ "module": "../line-core/src/line-element.ts"
944
+ }
945
+ }
946
+ ],
947
+ "events": [
948
+ {
949
+ "type": {
950
+ "text": "CustomEvent<LineButtonChangeDetail>"
951
+ },
952
+ "description": "A user activation flipped `pressed` on a toggle button; `detail.value` is the new state. Bubbles, not composed.",
953
+ "name": "line-change"
954
+ }
955
+ ],
956
+ "attributes": [
957
+ {
958
+ "type": {
959
+ "text": "string"
960
+ },
961
+ "description": "The key the submitter value goes under; read through the inherited `name` getter.",
962
+ "name": "name"
963
+ },
964
+ {
965
+ "name": "variant",
966
+ "type": {
967
+ "text": "ButtonVariant"
968
+ },
969
+ "description": "Semantic emphasis; an unknown value behaves as `default`.",
970
+ "default": "'default'",
971
+ "fieldName": "variant"
972
+ },
973
+ {
974
+ "name": "type",
975
+ "type": {
976
+ "text": "ButtonType"
977
+ },
978
+ "description": "What activation does to the form owner; an unknown value behaves as `submit`.",
979
+ "default": "'submit'",
980
+ "fieldName": "type"
981
+ },
982
+ {
983
+ "name": "disabled",
984
+ "type": {
985
+ "text": "boolean"
986
+ },
987
+ "description": "Removes the button from the tab order and blocks activation.",
988
+ "default": "false",
989
+ "fieldName": "disabled"
990
+ },
991
+ {
992
+ "name": "loading",
993
+ "type": {
994
+ "text": "boolean"
995
+ },
996
+ "description": "Keeps focus, sets `aria-disabled=\"true\"`, blocks activation and renders the `loading` part.",
997
+ "default": "false",
998
+ "fieldName": "loading"
999
+ },
1000
+ {
1001
+ "name": "pressed",
1002
+ "type": {
1003
+ "text": "boolean | undefined"
1004
+ },
1005
+ "description": "`undefined` means not a toggle; a toggle flips it on each activation and fires `line-change`.",
1006
+ "fieldName": "pressed"
1007
+ },
1008
+ {
1009
+ "name": "value",
1010
+ "type": {
1011
+ "text": "string"
1012
+ },
1013
+ "description": "The submitter value; it enters the form data only when this button submits.",
1014
+ "default": "''",
1015
+ "fieldName": "value"
1016
+ },
1017
+ {
1018
+ "name": "formaction",
1019
+ "type": {
1020
+ "text": "string"
1021
+ },
1022
+ "description": "Overrides the form's `action` when this button submits.",
1023
+ "default": "''",
1024
+ "fieldName": "formAction"
1025
+ },
1026
+ {
1027
+ "name": "formmethod",
1028
+ "type": {
1029
+ "text": "ButtonFormMethod | undefined"
1030
+ },
1031
+ "description": "Overrides the form's `method` when this button submits.",
1032
+ "fieldName": "formMethod"
1033
+ },
1034
+ {
1035
+ "name": "formenctype",
1036
+ "type": {
1037
+ "text": "ButtonFormEnctype | undefined"
1038
+ },
1039
+ "description": "Overrides the form's `enctype` when this button submits.",
1040
+ "fieldName": "formEnctype"
1041
+ },
1042
+ {
1043
+ "name": "formtarget",
1044
+ "type": {
1045
+ "text": "string | undefined"
1046
+ },
1047
+ "description": "Overrides the form's `target` when this button submits.",
1048
+ "fieldName": "formTarget"
1049
+ },
1050
+ {
1051
+ "name": "formnovalidate",
1052
+ "type": {
1053
+ "text": "boolean"
1054
+ },
1055
+ "description": "Skips constraint validation when this button submits.",
1056
+ "default": "false",
1057
+ "fieldName": "formNoValidate"
1058
+ },
1059
+ {
1060
+ "name": "custom-validity",
1061
+ "type": {
1062
+ "text": "string"
1063
+ },
1064
+ "description": "External validity: a non-empty message marks the button invalid while `type` is `submit`.",
1065
+ "default": "''",
1066
+ "fieldName": "customValidity"
1067
+ },
1068
+ {
1069
+ "name": "aria-label",
1070
+ "type": {
1071
+ "text": "string | null"
1072
+ },
1073
+ "description": "Copied to the inner button, where it names the role.",
1074
+ "fieldName": "ariaLabel"
1075
+ },
1076
+ {
1077
+ "name": "aria-description",
1078
+ "type": {
1079
+ "text": "string | null"
1080
+ },
1081
+ "description": "Copied to the inner button.",
1082
+ "fieldName": "ariaDescription"
1083
+ }
1084
+ ],
1085
+ "mixins": [
1086
+ {
1087
+ "name": "FormAssociated",
1088
+ "package": "@websublime/line-core"
1089
+ }
1090
+ ],
1091
+ "superclass": {
1092
+ "name": "LineElement",
1093
+ "package": "@websublime/line-core"
1094
+ },
1095
+ "summary": "A form-associated button that runs an action, submits or resets its form, or toggles with `pressed`.",
1096
+ "tagName": "line-button",
1097
+ "customElement": true
1098
+ }
1099
+ ],
1100
+ "exports": [
1101
+ {
1102
+ "kind": "js",
1103
+ "name": "LineButton",
1104
+ "declaration": {
1105
+ "name": "LineButton",
1106
+ "module": "src/button/button.ts"
1107
+ }
1108
+ },
1109
+ {
1110
+ "kind": "custom-element-definition",
1111
+ "name": "line-button",
1112
+ "declaration": {
1113
+ "name": "LineButton",
1114
+ "module": "src/button/button.ts"
1115
+ }
1116
+ }
1117
+ ]
1118
+ },
1119
+ {
1120
+ "kind": "javascript-module",
1121
+ "path": "src/button/button.types.ts",
1122
+ "declarations": [],
1123
+ "exports": []
1124
+ },
1125
+ {
1126
+ "kind": "javascript-module",
1127
+ "path": "src/button/index.ts",
1128
+ "declarations": [],
1129
+ "exports": [
1130
+ {
1131
+ "kind": "js",
1132
+ "name": "LineButton",
1133
+ "declaration": {
1134
+ "name": "LineButton",
1135
+ "module": "./button.js"
1136
+ }
1137
+ },
1138
+ {
1139
+ "kind": "js",
1140
+ "name": "ButtonFormEnctype",
1141
+ "declaration": {
1142
+ "name": "ButtonFormEnctype",
1143
+ "module": "./button.types.js"
1144
+ }
1145
+ },
1146
+ {
1147
+ "kind": "js",
1148
+ "name": "ButtonFormMethod",
1149
+ "declaration": {
1150
+ "name": "ButtonFormMethod",
1151
+ "module": "./button.types.js"
1152
+ }
1153
+ },
1154
+ {
1155
+ "kind": "js",
1156
+ "name": "ButtonType",
1157
+ "declaration": {
1158
+ "name": "ButtonType",
1159
+ "module": "./button.types.js"
1160
+ }
1161
+ },
1162
+ {
1163
+ "kind": "js",
1164
+ "name": "ButtonVariant",
1165
+ "declaration": {
1166
+ "name": "ButtonVariant",
1167
+ "module": "./button.types.js"
1168
+ }
1169
+ },
1170
+ {
1171
+ "kind": "js",
1172
+ "name": "LineButtonChangeDetail",
1173
+ "declaration": {
1174
+ "name": "LineButtonChangeDetail",
1175
+ "module": "./button.types.js"
1176
+ }
1177
+ }
1178
+ ]
1179
+ },
1180
+ {
1181
+ "kind": "javascript-module",
1182
+ "path": "src/shared/button-machine.ts",
1183
+ "declarations": [
1184
+ {
1185
+ "kind": "variable",
1186
+ "name": "buttonMachine"
1187
+ },
1188
+ {
1189
+ "kind": "function",
1190
+ "name": "connect",
1191
+ "return": {
1192
+ "type": {
1193
+ "text": "ButtonApi"
1194
+ }
1195
+ },
1196
+ "parameters": [
1197
+ {
1198
+ "name": "service",
1199
+ "type": {
1200
+ "text": "ButtonService"
1201
+ }
1202
+ }
1203
+ ],
1204
+ "description": "Reads the running machine at call time."
1205
+ },
1206
+ {
1207
+ "kind": "function",
1208
+ "name": "connectStatic",
1209
+ "return": {
1210
+ "type": {
1211
+ "text": "ButtonApi"
1212
+ }
1213
+ },
1214
+ "parameters": [
1215
+ {
1216
+ "name": "props",
1217
+ "type": {
1218
+ "text": "ButtonMachineProps"
1219
+ }
1220
+ }
1221
+ ],
1222
+ "description": "The same view without a machine, for the controller's static fallback (MANIFESTO Law 9)."
1223
+ }
1224
+ ],
1225
+ "exports": [
1226
+ {
1227
+ "kind": "js",
1228
+ "name": "buttonMachine",
1229
+ "declaration": {
1230
+ "name": "buttonMachine",
1231
+ "module": "src/shared/button-machine.ts"
1232
+ }
1233
+ },
1234
+ {
1235
+ "kind": "js",
1236
+ "name": "connect",
1237
+ "declaration": {
1238
+ "name": "connect",
1239
+ "module": "src/shared/button-machine.ts"
1240
+ }
1241
+ },
1242
+ {
1243
+ "kind": "js",
1244
+ "name": "connectStatic",
1245
+ "declaration": {
1246
+ "name": "connectStatic",
1247
+ "module": "src/shared/button-machine.ts"
1248
+ }
1249
+ }
1250
+ ]
1251
+ },
11
1252
  {
12
1253
  "kind": "javascript-module",
13
1254
  "path": "../line-core/src/form-associated.ts",
@@ -571,78 +1812,274 @@
571
1812
  },
572
1813
  {
573
1814
  "kind": "method",
574
- "name": "#inspectorDocs",
575
- "privacy": "private",
1815
+ "name": "#inspectorDocs",
1816
+ "privacy": "private",
1817
+ "return": {
1818
+ "type": {
1819
+ "text": "string"
1820
+ }
1821
+ },
1822
+ "description": "Read the host's static `docs` URL defensively (D3 may not provide one).",
1823
+ "inheritedFrom": {
1824
+ "name": "InspectorMixin",
1825
+ "module": "../line-core/src/mixins/inspector.ts"
1826
+ }
1827
+ },
1828
+ {
1829
+ "kind": "method",
1830
+ "name": "#toggleInspectorPanel",
1831
+ "privacy": "private",
1832
+ "return": {
1833
+ "type": {
1834
+ "text": "void"
1835
+ }
1836
+ },
1837
+ "description": "Open the panel if closed, close it if already open.",
1838
+ "inheritedFrom": {
1839
+ "name": "InspectorMixin",
1840
+ "module": "../line-core/src/mixins/inspector.ts"
1841
+ }
1842
+ },
1843
+ {
1844
+ "kind": "method",
1845
+ "name": "#openInspectorPanel",
1846
+ "privacy": "private",
1847
+ "return": {
1848
+ "type": {
1849
+ "text": "void"
1850
+ }
1851
+ },
1852
+ "description": "Build (once) and open the `<dialog>` metadata panel in the shadow root.",
1853
+ "inheritedFrom": {
1854
+ "name": "InspectorMixin",
1855
+ "module": "../line-core/src/mixins/inspector.ts"
1856
+ }
1857
+ }
1858
+ ],
1859
+ "mixins": [
1860
+ {
1861
+ "name": "DirectionMixin",
1862
+ "module": "/line-core/src/mixins/direction.js"
1863
+ },
1864
+ {
1865
+ "name": "MetadataMixin",
1866
+ "module": "/line-core/src/mixins/metadata.js"
1867
+ },
1868
+ {
1869
+ "name": "InspectorMixin",
1870
+ "module": "/line-core/src/mixins/inspector.js"
1871
+ }
1872
+ ],
1873
+ "superclass": {
1874
+ "name": "LitElement",
1875
+ "package": "lit"
1876
+ },
1877
+ "customElement": true
1878
+ }
1879
+ ],
1880
+ "exports": [
1881
+ {
1882
+ "kind": "js",
1883
+ "name": "LineElement",
1884
+ "declaration": {
1885
+ "name": "LineElement",
1886
+ "module": "../line-core/src/line-element.ts"
1887
+ }
1888
+ }
1889
+ ]
1890
+ },
1891
+ {
1892
+ "kind": "javascript-module",
1893
+ "path": "../line-core/src/machine/index.ts",
1894
+ "declarations": [],
1895
+ "exports": [
1896
+ {
1897
+ "kind": "js",
1898
+ "name": "Attrs",
1899
+ "declaration": {
1900
+ "name": "Attrs",
1901
+ "package": "@zag-js/vanilla"
1902
+ }
1903
+ },
1904
+ {
1905
+ "kind": "js",
1906
+ "name": "mergeProps",
1907
+ "declaration": {
1908
+ "name": "mergeProps",
1909
+ "package": "@zag-js/vanilla"
1910
+ }
1911
+ },
1912
+ {
1913
+ "kind": "js",
1914
+ "name": "normalizeProps",
1915
+ "declaration": {
1916
+ "name": "normalizeProps",
1917
+ "package": "@zag-js/vanilla"
1918
+ }
1919
+ },
1920
+ {
1921
+ "kind": "js",
1922
+ "name": "spreadProps",
1923
+ "declaration": {
1924
+ "name": "spreadProps",
1925
+ "package": "@zag-js/vanilla"
1926
+ }
1927
+ },
1928
+ {
1929
+ "kind": "js",
1930
+ "name": "VanillaMachine",
1931
+ "declaration": {
1932
+ "name": "VanillaMachine",
1933
+ "package": "@zag-js/vanilla"
1934
+ }
1935
+ },
1936
+ {
1937
+ "kind": "js",
1938
+ "name": "LineMachineController",
1939
+ "declaration": {
1940
+ "name": "LineMachineController",
1941
+ "module": "./line-machine-controller.js"
1942
+ }
1943
+ },
1944
+ {
1945
+ "kind": "js",
1946
+ "name": "LineMachineControllerOptions",
1947
+ "declaration": {
1948
+ "name": "LineMachineControllerOptions",
1949
+ "module": "./line-machine-controller.js"
1950
+ }
1951
+ }
1952
+ ]
1953
+ },
1954
+ {
1955
+ "kind": "javascript-module",
1956
+ "path": "../line-core/src/machine/line-machine-controller.ts",
1957
+ "declarations": [
1958
+ {
1959
+ "kind": "class",
1960
+ "description": "",
1961
+ "name": "LineMachineController",
1962
+ "members": [
1963
+ {
1964
+ "kind": "field",
1965
+ "name": "#host",
1966
+ "privacy": "private",
1967
+ "type": {
1968
+ "text": "ReactiveControllerHost"
1969
+ },
1970
+ "default": "host"
1971
+ },
1972
+ {
1973
+ "kind": "field",
1974
+ "name": "#vanilla",
1975
+ "privacy": "private",
1976
+ "type": {
1977
+ "text": "VanillaMachine<T> | null"
1978
+ },
1979
+ "default": "null"
1980
+ },
1981
+ {
1982
+ "kind": "field",
1983
+ "name": "#unsubscribe",
1984
+ "privacy": "private",
1985
+ "type": {
1986
+ "text": "VoidFunction | null"
1987
+ },
1988
+ "default": "null"
1989
+ },
1990
+ {
1991
+ "kind": "field",
1992
+ "name": "#fallback",
1993
+ "privacy": "private",
1994
+ "type": {
1995
+ "text": "boolean"
1996
+ },
1997
+ "default": "false"
1998
+ },
1999
+ {
2000
+ "kind": "field",
2001
+ "name": "#options",
2002
+ "privacy": "private",
2003
+ "type": {
2004
+ "text": "LineMachineControllerOptions<T>"
2005
+ },
2006
+ "default": "options"
2007
+ },
2008
+ {
2009
+ "kind": "field",
2010
+ "name": "state",
2011
+ "readonly": true
2012
+ },
2013
+ {
2014
+ "kind": "field",
2015
+ "name": "context",
2016
+ "readonly": true
2017
+ },
2018
+ {
2019
+ "kind": "field",
2020
+ "name": "refs",
2021
+ "readonly": true
2022
+ },
2023
+ {
2024
+ "kind": "field",
2025
+ "name": "service",
2026
+ "readonly": true
2027
+ },
2028
+ {
2029
+ "kind": "field",
2030
+ "name": "fallback",
2031
+ "readonly": true
2032
+ },
2033
+ {
2034
+ "kind": "method",
2035
+ "name": "send",
2036
+ "parameters": [
2037
+ {
2038
+ "name": "event",
2039
+ "type": {
2040
+ "text": "Parameters<VanillaMachine<T>['send']>[0]"
2041
+ }
2042
+ }
2043
+ ]
2044
+ },
2045
+ {
2046
+ "kind": "method",
2047
+ "name": "hostConnected",
576
2048
  "return": {
577
2049
  "type": {
578
- "text": "string"
2050
+ "text": "void"
579
2051
  }
580
- },
581
- "description": "Read the host's static `docs` URL defensively (D3 may not provide one).",
582
- "inheritedFrom": {
583
- "name": "InspectorMixin",
584
- "module": "../line-core/src/mixins/inspector.ts"
585
2052
  }
586
2053
  },
587
2054
  {
588
2055
  "kind": "method",
589
- "name": "#toggleInspectorPanel",
590
- "privacy": "private",
2056
+ "name": "hostUpdate",
591
2057
  "return": {
592
2058
  "type": {
593
2059
  "text": "void"
594
2060
  }
595
2061
  },
596
- "description": "Open the panel if closed, close it if already open.",
597
- "inheritedFrom": {
598
- "name": "InspectorMixin",
599
- "module": "../line-core/src/mixins/inspector.ts"
600
- }
2062
+ "description": "Signals the machine before every render that the host props may have changed (D7)."
601
2063
  },
602
2064
  {
603
2065
  "kind": "method",
604
- "name": "#openInspectorPanel",
605
- "privacy": "private",
2066
+ "name": "hostDisconnected",
606
2067
  "return": {
607
2068
  "type": {
608
2069
  "text": "void"
609
2070
  }
610
- },
611
- "description": "Build (once) and open the `<dialog>` metadata panel in the shadow root.",
612
- "inheritedFrom": {
613
- "name": "InspectorMixin",
614
- "module": "../line-core/src/mixins/inspector.ts"
615
2071
  }
616
2072
  }
617
- ],
618
- "mixins": [
619
- {
620
- "name": "DirectionMixin",
621
- "module": "/line-core/src/mixins/direction.js"
622
- },
623
- {
624
- "name": "MetadataMixin",
625
- "module": "/line-core/src/mixins/metadata.js"
626
- },
627
- {
628
- "name": "InspectorMixin",
629
- "module": "/line-core/src/mixins/inspector.js"
630
- }
631
- ],
632
- "superclass": {
633
- "name": "LitElement",
634
- "package": "lit"
635
- },
636
- "customElement": true
2073
+ ]
637
2074
  }
638
2075
  ],
639
2076
  "exports": [
640
2077
  {
641
2078
  "kind": "js",
642
- "name": "LineElement",
2079
+ "name": "LineMachineController",
643
2080
  "declaration": {
644
- "name": "LineElement",
645
- "module": "../line-core/src/line-element.ts"
2081
+ "name": "LineMachineController",
2082
+ "module": "../line-core/src/machine/line-machine-controller.ts"
646
2083
  }
647
2084
  }
648
2085
  ]
@@ -1093,202 +2530,6 @@
1093
2530
  }
1094
2531
  }
1095
2532
  ]
1096
- },
1097
- {
1098
- "kind": "javascript-module",
1099
- "path": "../line-core/src/machine/index.ts",
1100
- "declarations": [],
1101
- "exports": [
1102
- {
1103
- "kind": "js",
1104
- "name": "Attrs",
1105
- "declaration": {
1106
- "name": "Attrs",
1107
- "package": "@zag-js/vanilla"
1108
- }
1109
- },
1110
- {
1111
- "kind": "js",
1112
- "name": "mergeProps",
1113
- "declaration": {
1114
- "name": "mergeProps",
1115
- "package": "@zag-js/vanilla"
1116
- }
1117
- },
1118
- {
1119
- "kind": "js",
1120
- "name": "normalizeProps",
1121
- "declaration": {
1122
- "name": "normalizeProps",
1123
- "package": "@zag-js/vanilla"
1124
- }
1125
- },
1126
- {
1127
- "kind": "js",
1128
- "name": "spreadProps",
1129
- "declaration": {
1130
- "name": "spreadProps",
1131
- "package": "@zag-js/vanilla"
1132
- }
1133
- },
1134
- {
1135
- "kind": "js",
1136
- "name": "VanillaMachine",
1137
- "declaration": {
1138
- "name": "VanillaMachine",
1139
- "package": "@zag-js/vanilla"
1140
- }
1141
- },
1142
- {
1143
- "kind": "js",
1144
- "name": "LineMachineController",
1145
- "declaration": {
1146
- "name": "LineMachineController",
1147
- "module": "./line-machine-controller.js"
1148
- }
1149
- },
1150
- {
1151
- "kind": "js",
1152
- "name": "LineMachineControllerOptions",
1153
- "declaration": {
1154
- "name": "LineMachineControllerOptions",
1155
- "module": "./line-machine-controller.js"
1156
- }
1157
- }
1158
- ]
1159
- },
1160
- {
1161
- "kind": "javascript-module",
1162
- "path": "../line-core/src/machine/line-machine-controller.ts",
1163
- "declarations": [
1164
- {
1165
- "kind": "class",
1166
- "description": "",
1167
- "name": "LineMachineController",
1168
- "members": [
1169
- {
1170
- "kind": "field",
1171
- "name": "#host",
1172
- "privacy": "private",
1173
- "type": {
1174
- "text": "ReactiveControllerHost"
1175
- },
1176
- "default": "host"
1177
- },
1178
- {
1179
- "kind": "field",
1180
- "name": "#vanilla",
1181
- "privacy": "private",
1182
- "type": {
1183
- "text": "VanillaMachine<T> | null"
1184
- },
1185
- "default": "null"
1186
- },
1187
- {
1188
- "kind": "field",
1189
- "name": "#unsubscribe",
1190
- "privacy": "private",
1191
- "type": {
1192
- "text": "VoidFunction | null"
1193
- },
1194
- "default": "null"
1195
- },
1196
- {
1197
- "kind": "field",
1198
- "name": "#fallback",
1199
- "privacy": "private",
1200
- "type": {
1201
- "text": "boolean"
1202
- },
1203
- "default": "false"
1204
- },
1205
- {
1206
- "kind": "field",
1207
- "name": "#options",
1208
- "privacy": "private",
1209
- "type": {
1210
- "text": "LineMachineControllerOptions<T>"
1211
- },
1212
- "default": "options"
1213
- },
1214
- {
1215
- "kind": "field",
1216
- "name": "state",
1217
- "readonly": true
1218
- },
1219
- {
1220
- "kind": "field",
1221
- "name": "context",
1222
- "readonly": true
1223
- },
1224
- {
1225
- "kind": "field",
1226
- "name": "refs",
1227
- "readonly": true
1228
- },
1229
- {
1230
- "kind": "field",
1231
- "name": "service",
1232
- "readonly": true
1233
- },
1234
- {
1235
- "kind": "field",
1236
- "name": "fallback",
1237
- "readonly": true
1238
- },
1239
- {
1240
- "kind": "method",
1241
- "name": "send",
1242
- "parameters": [
1243
- {
1244
- "name": "event",
1245
- "type": {
1246
- "text": "Parameters<VanillaMachine<T>['send']>[0]"
1247
- }
1248
- }
1249
- ]
1250
- },
1251
- {
1252
- "kind": "method",
1253
- "name": "hostConnected",
1254
- "return": {
1255
- "type": {
1256
- "text": "void"
1257
- }
1258
- }
1259
- },
1260
- {
1261
- "kind": "method",
1262
- "name": "hostUpdate",
1263
- "return": {
1264
- "type": {
1265
- "text": "void"
1266
- }
1267
- },
1268
- "description": "Signals the machine before every render that the host props may have changed (D7)."
1269
- },
1270
- {
1271
- "kind": "method",
1272
- "name": "hostDisconnected",
1273
- "return": {
1274
- "type": {
1275
- "text": "void"
1276
- }
1277
- }
1278
- }
1279
- ]
1280
- }
1281
- ],
1282
- "exports": [
1283
- {
1284
- "kind": "js",
1285
- "name": "LineMachineController",
1286
- "declaration": {
1287
- "name": "LineMachineController",
1288
- "module": "../line-core/src/machine/line-machine-controller.ts"
1289
- }
1290
- }
1291
- ]
1292
2533
  }
1293
2534
  ]
1294
2535
  }