@websublime/line-components 0.1.4 → 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.
@@ -0,0 +1,2535 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/index.ts",
8
+ "declarations": [],
9
+ "exports": []
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
+ },
1252
+ {
1253
+ "kind": "javascript-module",
1254
+ "path": "../line-core/src/form-associated.ts",
1255
+ "declarations": [
1256
+ {
1257
+ "kind": "mixin",
1258
+ "description": "FormAssociated mixin (D5). Makes a `LineElement` a form-associated custom\nelement backed by `ElementInternals`.\n\nSets `static formAssociated = true` and forwards the form API\n(`setFormValue`, `setValidity`, `reportValidity`, `checkValidity`, `form`,\n`validity`, `validationMessage`, `willValidate`) to the internals that\n`LineElement` attached, through `this[INTERNALS]`. `name` reads the host\nattribute and `type` is the local name. State reflection is the\n`LineElement` `reflectState` body.\n\nOpt-in per component: `class LineInput extends FormAssociated(LineElement) {}`.\nSub-classes implement the form lifecycle callbacks they need. The root entry\nexports it, and `./mixins/form-associated` re-exports it through the bare\nself-reference `@websublime/line-core` instead of a relative copy, so both\nspecifiers share one `INTERNALS` Symbol wherever that name resolves to the\nroot module: through `exports` in a bundler, on jsDelivr `+esm` only when\nevery URL names the same exact version, and on unpkg raw through the import\nmap's `@websublime/line-core` entry (spec §7.7; P6 checks both CDN paths).",
1259
+ "name": "FormAssociated",
1260
+ "members": [
1261
+ {
1262
+ "kind": "field",
1263
+ "name": "formAssociated",
1264
+ "static": true,
1265
+ "default": "true",
1266
+ "type": {
1267
+ "text": "true"
1268
+ }
1269
+ },
1270
+ {
1271
+ "kind": "method",
1272
+ "name": "setFormValue",
1273
+ "return": {
1274
+ "type": {
1275
+ "text": "void"
1276
+ }
1277
+ },
1278
+ "parameters": [
1279
+ {
1280
+ "name": "value",
1281
+ "type": {
1282
+ "text": "FormValue"
1283
+ }
1284
+ },
1285
+ {
1286
+ "name": "state",
1287
+ "optional": true,
1288
+ "type": {
1289
+ "text": "FormValue"
1290
+ }
1291
+ }
1292
+ ]
1293
+ },
1294
+ {
1295
+ "kind": "method",
1296
+ "name": "setValidity",
1297
+ "return": {
1298
+ "type": {
1299
+ "text": "void"
1300
+ }
1301
+ },
1302
+ "parameters": [
1303
+ {
1304
+ "name": "flags",
1305
+ "type": {
1306
+ "text": "ValidityStateFlags"
1307
+ }
1308
+ },
1309
+ {
1310
+ "name": "message",
1311
+ "optional": true,
1312
+ "type": {
1313
+ "text": "string"
1314
+ }
1315
+ },
1316
+ {
1317
+ "name": "anchor",
1318
+ "optional": true,
1319
+ "type": {
1320
+ "text": "HTMLElement"
1321
+ }
1322
+ }
1323
+ ]
1324
+ },
1325
+ {
1326
+ "kind": "method",
1327
+ "name": "reportValidity",
1328
+ "return": {
1329
+ "type": {
1330
+ "text": "boolean"
1331
+ }
1332
+ }
1333
+ },
1334
+ {
1335
+ "kind": "method",
1336
+ "name": "checkValidity",
1337
+ "return": {
1338
+ "type": {
1339
+ "text": "boolean"
1340
+ }
1341
+ }
1342
+ },
1343
+ {
1344
+ "kind": "field",
1345
+ "name": "form",
1346
+ "type": {
1347
+ "text": "HTMLFormElement | null"
1348
+ },
1349
+ "readonly": true
1350
+ },
1351
+ {
1352
+ "kind": "field",
1353
+ "name": "name",
1354
+ "type": {
1355
+ "text": "string | null"
1356
+ },
1357
+ "readonly": true
1358
+ },
1359
+ {
1360
+ "kind": "field",
1361
+ "name": "type",
1362
+ "type": {
1363
+ "text": "string"
1364
+ },
1365
+ "readonly": true
1366
+ },
1367
+ {
1368
+ "kind": "field",
1369
+ "name": "validity",
1370
+ "type": {
1371
+ "text": "ValidityState"
1372
+ },
1373
+ "readonly": true
1374
+ },
1375
+ {
1376
+ "kind": "field",
1377
+ "name": "validationMessage",
1378
+ "type": {
1379
+ "text": "string"
1380
+ },
1381
+ "readonly": true
1382
+ },
1383
+ {
1384
+ "kind": "field",
1385
+ "name": "willValidate",
1386
+ "type": {
1387
+ "text": "boolean"
1388
+ },
1389
+ "readonly": true
1390
+ },
1391
+ {
1392
+ "kind": "method",
1393
+ "name": "formAssociatedCallback",
1394
+ "return": {
1395
+ "type": {
1396
+ "text": "void"
1397
+ }
1398
+ },
1399
+ "parameters": [
1400
+ {
1401
+ "name": "form",
1402
+ "type": {
1403
+ "text": "HTMLFormElement | null"
1404
+ }
1405
+ }
1406
+ ]
1407
+ },
1408
+ {
1409
+ "kind": "method",
1410
+ "name": "formDisabledCallback",
1411
+ "return": {
1412
+ "type": {
1413
+ "text": "void"
1414
+ }
1415
+ },
1416
+ "parameters": [
1417
+ {
1418
+ "name": "disabled",
1419
+ "type": {
1420
+ "text": "boolean"
1421
+ }
1422
+ }
1423
+ ]
1424
+ },
1425
+ {
1426
+ "kind": "method",
1427
+ "name": "formResetCallback",
1428
+ "return": {
1429
+ "type": {
1430
+ "text": "void"
1431
+ }
1432
+ }
1433
+ },
1434
+ {
1435
+ "kind": "method",
1436
+ "name": "formStateRestoreCallback",
1437
+ "return": {
1438
+ "type": {
1439
+ "text": "void"
1440
+ }
1441
+ },
1442
+ "parameters": [
1443
+ {
1444
+ "name": "state",
1445
+ "type": {
1446
+ "text": "FormValue"
1447
+ }
1448
+ },
1449
+ {
1450
+ "name": "reason",
1451
+ "type": {
1452
+ "text": "'autocomplete' | 'restore'"
1453
+ }
1454
+ }
1455
+ ]
1456
+ }
1457
+ ],
1458
+ "parameters": [
1459
+ {
1460
+ "name": "Base",
1461
+ "type": {
1462
+ "text": "T"
1463
+ }
1464
+ }
1465
+ ]
1466
+ }
1467
+ ],
1468
+ "exports": [
1469
+ {
1470
+ "kind": "js",
1471
+ "name": "FormAssociated",
1472
+ "declaration": {
1473
+ "name": "FormAssociated",
1474
+ "module": "../line-core/src/form-associated.ts"
1475
+ }
1476
+ }
1477
+ ]
1478
+ },
1479
+ {
1480
+ "kind": "javascript-module",
1481
+ "path": "../line-core/src/index.ts",
1482
+ "declarations": [],
1483
+ "exports": [
1484
+ {
1485
+ "kind": "js",
1486
+ "name": "FormAssociated",
1487
+ "declaration": {
1488
+ "name": "FormAssociated",
1489
+ "module": "./form-associated.js"
1490
+ }
1491
+ },
1492
+ {
1493
+ "kind": "js",
1494
+ "name": "FormAssociatedMembers",
1495
+ "declaration": {
1496
+ "name": "FormAssociatedMembers",
1497
+ "module": "./form-associated.js"
1498
+ }
1499
+ },
1500
+ {
1501
+ "kind": "js",
1502
+ "name": "INTERNALS",
1503
+ "declaration": {
1504
+ "name": "INTERNALS",
1505
+ "module": "./internals.js"
1506
+ }
1507
+ },
1508
+ {
1509
+ "kind": "js",
1510
+ "name": "LineElement",
1511
+ "declaration": {
1512
+ "name": "LineElement",
1513
+ "module": "./line-element.js"
1514
+ }
1515
+ }
1516
+ ]
1517
+ },
1518
+ {
1519
+ "kind": "javascript-module",
1520
+ "path": "../line-core/src/internals.ts",
1521
+ "declarations": [
1522
+ {
1523
+ "kind": "variable",
1524
+ "name": "INTERNALS",
1525
+ "description": "Key of the `ElementInternals` accessor on the `LineElement` prototype. Subclasses and mixins reach the\nelement's internals as `this[INTERNALS]`; no public `internals` property exists.\n\nA plain `Symbol`, not `Symbol.for`, so only code that imports it can reach the internals. Its\ndescription is `line.internals`, never `internals` or `privateInternals`: axe-core looks up an element's\ninternals through own-property symbols with those two descriptions, and the prototype accessor with this\ndescription keeps every line://ui element outside that lookup. This module imports nothing, so\n`line-element.ts`, `form-associated.ts` and `index.ts` share it without an import cycle."
1526
+ }
1527
+ ],
1528
+ "exports": [
1529
+ {
1530
+ "kind": "js",
1531
+ "name": "INTERNALS",
1532
+ "declaration": {
1533
+ "name": "INTERNALS",
1534
+ "module": "../line-core/src/internals.ts"
1535
+ }
1536
+ }
1537
+ ]
1538
+ },
1539
+ {
1540
+ "kind": "javascript-module",
1541
+ "path": "../line-core/src/line-element.ts",
1542
+ "declarations": [
1543
+ {
1544
+ "kind": "class",
1545
+ "description": "`LineElement` — the base class for every line://ui web component.\n\nComposes the Inspector, Metadata, and Direction mixins over `LitElement`.\nPer spec §6.D.1 it intentionally:\n\n- **does NOT** auto-inject `commonReset` (every component declares its\n resets explicitly — ARCHITECTURE §14.6 invariant), and\n- **does NOT** bake in `FormAssociated` (that mixin is opt-in per component,\n e.g. `class LineInput extends FormAssociated(LineElement) {}`), so it never\n sets `formAssociated`.\n\nEvery element attaches its `ElementInternals` once, in its constructor, and\nkeeps them private; subclasses and mixins reach them as `this[INTERNALS]`.\n`reflectState` writes machine state to the host as `data-<state>` and\n`:state(<state>)` (ARCHITECTURE §14.8).",
1546
+ "name": "LineElement",
1547
+ "members": [
1548
+ {
1549
+ "kind": "field",
1550
+ "name": "version",
1551
+ "type": {
1552
+ "text": "string"
1553
+ },
1554
+ "static": true,
1555
+ "default": "'0.0.0'",
1556
+ "description": "Static version string surfaced by the Inspector mixin.",
1557
+ "inheritedFrom": {
1558
+ "name": "MetadataMixin",
1559
+ "module": "../line-core/src/mixins/metadata.ts"
1560
+ }
1561
+ },
1562
+ {
1563
+ "kind": "field",
1564
+ "name": "#internals",
1565
+ "privacy": "private",
1566
+ "type": {
1567
+ "text": "ElementInternals"
1568
+ }
1569
+ },
1570
+ {
1571
+ "kind": "field",
1572
+ "name": "[INTERNALS]",
1573
+ "type": {
1574
+ "text": "ElementInternals"
1575
+ },
1576
+ "privacy": "protected",
1577
+ "description": "The element's `ElementInternals`, attached once in the constructor (spec §6.C.2, SD19).",
1578
+ "readonly": true
1579
+ },
1580
+ {
1581
+ "kind": "method",
1582
+ "name": "reflectState",
1583
+ "privacy": "protected",
1584
+ "return": {
1585
+ "type": {
1586
+ "text": "void"
1587
+ }
1588
+ },
1589
+ "parameters": [
1590
+ {
1591
+ "name": "name",
1592
+ "type": {
1593
+ "text": "string"
1594
+ }
1595
+ },
1596
+ {
1597
+ "name": "active",
1598
+ "type": {
1599
+ "text": "boolean"
1600
+ }
1601
+ }
1602
+ ],
1603
+ "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`."
1604
+ },
1605
+ {
1606
+ "kind": "field",
1607
+ "name": "properties",
1608
+ "type": {
1609
+ "text": "PropertyDeclarations"
1610
+ },
1611
+ "static": true,
1612
+ "default": "{ direction: { attribute: false, noAccessor: true }, }",
1613
+ "description": "`direction` is reactive but owns its accessor and has no attribute.",
1614
+ "inheritedFrom": {
1615
+ "name": "DirectionMixin",
1616
+ "module": "../line-core/src/mixins/direction.ts"
1617
+ }
1618
+ },
1619
+ {
1620
+ "kind": "field",
1621
+ "name": "#direction",
1622
+ "privacy": "private",
1623
+ "type": {
1624
+ "text": "Direction"
1625
+ },
1626
+ "default": "'ltr'",
1627
+ "inheritedFrom": {
1628
+ "name": "DirectionMixin",
1629
+ "module": "../line-core/src/mixins/direction.ts"
1630
+ }
1631
+ },
1632
+ {
1633
+ "kind": "field",
1634
+ "name": "#recomputeDirection",
1635
+ "privacy": "private",
1636
+ "readonly": true,
1637
+ "inheritedFrom": {
1638
+ "name": "DirectionMixin",
1639
+ "module": "../line-core/src/mixins/direction.ts"
1640
+ }
1641
+ },
1642
+ {
1643
+ "kind": "field",
1644
+ "name": "direction",
1645
+ "privacy": "public",
1646
+ "type": {
1647
+ "text": "Direction"
1648
+ },
1649
+ "description": "Resolved text direction of the host.",
1650
+ "readonly": true,
1651
+ "inheritedFrom": {
1652
+ "name": "DirectionMixin",
1653
+ "module": "../line-core/src/mixins/direction.ts"
1654
+ }
1655
+ },
1656
+ {
1657
+ "kind": "field",
1658
+ "name": "docs",
1659
+ "type": {
1660
+ "text": "string"
1661
+ },
1662
+ "static": true,
1663
+ "default": "''",
1664
+ "description": "Documentation URL. Surfaced by the Inspector as `data-line-docs` when set.",
1665
+ "inheritedFrom": {
1666
+ "name": "MetadataMixin",
1667
+ "module": "../line-core/src/mixins/metadata.ts"
1668
+ }
1669
+ },
1670
+ {
1671
+ "kind": "field",
1672
+ "name": "qa",
1673
+ "type": {
1674
+ "text": "string[]"
1675
+ },
1676
+ "static": true,
1677
+ "default": "[]",
1678
+ "description": "QA tags for the component.",
1679
+ "inheritedFrom": {
1680
+ "name": "MetadataMixin",
1681
+ "module": "../line-core/src/mixins/metadata.ts"
1682
+ }
1683
+ },
1684
+ {
1685
+ "kind": "field",
1686
+ "name": "scope",
1687
+ "type": {
1688
+ "text": "string"
1689
+ },
1690
+ "static": true,
1691
+ "default": "''",
1692
+ "description": "Component scope identifier.",
1693
+ "inheritedFrom": {
1694
+ "name": "MetadataMixin",
1695
+ "module": "../line-core/src/mixins/metadata.ts"
1696
+ }
1697
+ },
1698
+ {
1699
+ "kind": "field",
1700
+ "name": "#inspectorDialog",
1701
+ "privacy": "private",
1702
+ "type": {
1703
+ "text": "HTMLDialogElement | null"
1704
+ },
1705
+ "default": "null",
1706
+ "description": "Active dialog panel while the inspector is enabled, else `null`.",
1707
+ "inheritedFrom": {
1708
+ "name": "InspectorMixin",
1709
+ "module": "../line-core/src/mixins/inspector.ts"
1710
+ }
1711
+ },
1712
+ {
1713
+ "kind": "field",
1714
+ "name": "#onInspectorKeydown",
1715
+ "privacy": "private",
1716
+ "readonly": true,
1717
+ "description": "Bound keydown handler, retained so it can be removed on disconnect.",
1718
+ "inheritedFrom": {
1719
+ "name": "InspectorMixin",
1720
+ "module": "../line-core/src/mixins/inspector.ts"
1721
+ }
1722
+ },
1723
+ {
1724
+ "kind": "method",
1725
+ "name": "#activateInspector",
1726
+ "privacy": "private",
1727
+ "return": {
1728
+ "type": {
1729
+ "text": "void"
1730
+ }
1731
+ },
1732
+ "description": "Wire activation marker, host metadata attributes, the hotkey, and the\ndev-only hover-outline stylesheet.",
1733
+ "inheritedFrom": {
1734
+ "name": "InspectorMixin",
1735
+ "module": "../line-core/src/mixins/inspector.ts"
1736
+ }
1737
+ },
1738
+ {
1739
+ "kind": "method",
1740
+ "name": "#deactivateInspector",
1741
+ "privacy": "private",
1742
+ "return": {
1743
+ "type": {
1744
+ "text": "void"
1745
+ }
1746
+ },
1747
+ "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.",
1748
+ "inheritedFrom": {
1749
+ "name": "InspectorMixin",
1750
+ "module": "../line-core/src/mixins/inspector.ts"
1751
+ }
1752
+ },
1753
+ {
1754
+ "kind": "method",
1755
+ "name": "#inspectorRoot",
1756
+ "privacy": "private",
1757
+ "return": {
1758
+ "type": {
1759
+ "text": "ShadowRoot | null"
1760
+ }
1761
+ },
1762
+ "description": "The shadow root that carries `adoptedStyleSheets`, or `null`.",
1763
+ "inheritedFrom": {
1764
+ "name": "InspectorMixin",
1765
+ "module": "../line-core/src/mixins/inspector.ts"
1766
+ }
1767
+ },
1768
+ {
1769
+ "kind": "method",
1770
+ "name": "#adoptInspectorOutline",
1771
+ "privacy": "private",
1772
+ "return": {
1773
+ "type": {
1774
+ "text": "void"
1775
+ }
1776
+ },
1777
+ "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.",
1778
+ "inheritedFrom": {
1779
+ "name": "InspectorMixin",
1780
+ "module": "../line-core/src/mixins/inspector.ts"
1781
+ }
1782
+ },
1783
+ {
1784
+ "kind": "method",
1785
+ "name": "#releaseInspectorOutline",
1786
+ "privacy": "private",
1787
+ "return": {
1788
+ "type": {
1789
+ "text": "void"
1790
+ }
1791
+ },
1792
+ "description": "Remove the singleton hover-outline sheet from the shadow root's\n`adoptedStyleSheets`, preserving every other adopted sheet.",
1793
+ "inheritedFrom": {
1794
+ "name": "InspectorMixin",
1795
+ "module": "../line-core/src/mixins/inspector.ts"
1796
+ }
1797
+ },
1798
+ {
1799
+ "kind": "method",
1800
+ "name": "#inspectorVersion",
1801
+ "privacy": "private",
1802
+ "return": {
1803
+ "type": {
1804
+ "text": "string"
1805
+ }
1806
+ },
1807
+ "description": "Read the host's static `version`, defaulting to `''` when absent.",
1808
+ "inheritedFrom": {
1809
+ "name": "InspectorMixin",
1810
+ "module": "../line-core/src/mixins/inspector.ts"
1811
+ }
1812
+ },
1813
+ {
1814
+ "kind": "method",
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",
2048
+ "return": {
2049
+ "type": {
2050
+ "text": "void"
2051
+ }
2052
+ }
2053
+ },
2054
+ {
2055
+ "kind": "method",
2056
+ "name": "hostUpdate",
2057
+ "return": {
2058
+ "type": {
2059
+ "text": "void"
2060
+ }
2061
+ },
2062
+ "description": "Signals the machine before every render that the host props may have changed (D7)."
2063
+ },
2064
+ {
2065
+ "kind": "method",
2066
+ "name": "hostDisconnected",
2067
+ "return": {
2068
+ "type": {
2069
+ "text": "void"
2070
+ }
2071
+ }
2072
+ }
2073
+ ]
2074
+ }
2075
+ ],
2076
+ "exports": [
2077
+ {
2078
+ "kind": "js",
2079
+ "name": "LineMachineController",
2080
+ "declaration": {
2081
+ "name": "LineMachineController",
2082
+ "module": "../line-core/src/machine/line-machine-controller.ts"
2083
+ }
2084
+ }
2085
+ ]
2086
+ },
2087
+ {
2088
+ "kind": "javascript-module",
2089
+ "path": "../line-core/src/mixins/direction.ts",
2090
+ "declarations": [
2091
+ {
2092
+ "kind": "mixin",
2093
+ "description": "Direction mixin (D4). Adds a read-only `direction` with the host's resolved\ntext direction.\n\nThe value is `this.matches(':dir(rtl)') ? 'rtl' : 'ltr'`, so the engine\nresolves inheritance, author `dir` on the host, and `dir=\"auto\"`. The mixin\nrecomputes it on connect and on any `dir` attribute mutation in the\ndocument, through one `MutationObserver` shared by every connected host. A\nchanged value calls `requestUpdate('direction', oldValue)`.\n\nThe mixin never writes the host `dir` attribute and leaves the native\n`HTMLElement.dir` alone. Component CSS targets RTL with `:host(:dir(rtl))`.\n\nThe observer does not see `dir` changes inside shadow trees, and a text\nchange under `dir=\"auto\"` mutates no attribute. In both cases `direction`\nstays stale until the next document-level `dir` mutation or reconnect.",
2094
+ "name": "DirectionMixin",
2095
+ "members": [
2096
+ {
2097
+ "kind": "field",
2098
+ "name": "properties",
2099
+ "type": {
2100
+ "text": "PropertyDeclarations"
2101
+ },
2102
+ "static": true,
2103
+ "default": "{ direction: { attribute: false, noAccessor: true }, }",
2104
+ "description": "`direction` is reactive but owns its accessor and has no attribute."
2105
+ },
2106
+ {
2107
+ "kind": "field",
2108
+ "name": "#direction",
2109
+ "privacy": "private",
2110
+ "type": {
2111
+ "text": "Direction"
2112
+ },
2113
+ "default": "'ltr'"
2114
+ },
2115
+ {
2116
+ "kind": "field",
2117
+ "name": "#recomputeDirection",
2118
+ "privacy": "private",
2119
+ "readonly": true
2120
+ },
2121
+ {
2122
+ "kind": "field",
2123
+ "name": "direction",
2124
+ "privacy": "public",
2125
+ "type": {
2126
+ "text": "Direction"
2127
+ },
2128
+ "description": "Resolved text direction of the host.",
2129
+ "readonly": true
2130
+ }
2131
+ ],
2132
+ "parameters": [
2133
+ {
2134
+ "name": "Base",
2135
+ "type": {
2136
+ "text": "T"
2137
+ }
2138
+ }
2139
+ ]
2140
+ }
2141
+ ],
2142
+ "exports": [
2143
+ {
2144
+ "kind": "js",
2145
+ "name": "DirectionMixin",
2146
+ "declaration": {
2147
+ "name": "DirectionMixin",
2148
+ "module": "../line-core/src/mixins/direction.ts"
2149
+ }
2150
+ }
2151
+ ]
2152
+ },
2153
+ {
2154
+ "kind": "javascript-module",
2155
+ "path": "../line-core/src/mixins/form-associated.ts",
2156
+ "declarations": [],
2157
+ "exports": [
2158
+ {
2159
+ "kind": "js",
2160
+ "name": "FormAssociated",
2161
+ "declaration": {
2162
+ "name": "FormAssociated",
2163
+ "package": "@websublime/line-core"
2164
+ }
2165
+ },
2166
+ {
2167
+ "kind": "js",
2168
+ "name": "FormAssociatedMembers",
2169
+ "declaration": {
2170
+ "name": "FormAssociatedMembers",
2171
+ "package": "@websublime/line-core"
2172
+ }
2173
+ }
2174
+ ]
2175
+ },
2176
+ {
2177
+ "kind": "javascript-module",
2178
+ "path": "../line-core/src/mixins/inspector.ts",
2179
+ "declarations": [
2180
+ {
2181
+ "kind": "mixin",
2182
+ "description": "Inspector mixin (D2 — dev-mode element inspection).\n\nGreenfield implementation (spec §6.D.2 / AM-021). There is **no** prior\nin-tree Inspector to preserve; the legacy `<ui-inspector>` custom element was\ndeleted in re-init `939cad2`. Activation is the single contract\n`localStorage.getItem('line-ui:inspector') === 'on'`.\n\nWhen the flag is **unset**, the mixin is a zero-overhead no-op: it adds no\nhost attributes, no listeners, and no inspection behaviour (production path).\n\nWhen the flag is **set to `'on'`**, on connect the mixin:\n- sets `data-line-inspect` on the host — the activation marker that also\n drives the dev-only hover outline (`:host(:hover[data-line-inspect])`) and\n signals that parts/slots are exposed for inspection;\n- adopts a dev-only singleton `CSSStyleSheet` carrying that hover-outline rule\n into the shadow root's `adoptedStyleSheets` (APPENDED, never replacing the\n array — a component's own styles are preserved; ARCHITECTURE §14.6);\n- surfaces the component version as `data-line-version` (read defensively\n from the host's static `version`, default `'0.0.0'` per §6.D.1);\n- surfaces metadata members **defensively** — the docs URL as\n `data-line-docs` only when the Metadata mixin (D3) has provided one\n (D3 is still a stub; D2 ships independently per ORCHESTRATOR_DECISION);\n- installs a `keydown` listener for **`Ctrl+Shift+L`** (`Cmd+Shift+L` on\n macOS — §10/Q5) that toggles a `<dialog>` metadata panel in the shadow\n root, listing the version and any present metadata fields.\n\nOn disconnect the listener, dialog, and outline sheet are torn down so the\nactive path leaks nothing. The file path, export name, and generic signature\nare stable so TypeScript 7.x `tsc --emitDeclarationOnly` emits a\ndeterministic `.d.ts` (D1 constraint).",
2183
+ "name": "InspectorMixin",
2184
+ "members": [
2185
+ {
2186
+ "kind": "field",
2187
+ "name": "#inspectorDialog",
2188
+ "privacy": "private",
2189
+ "type": {
2190
+ "text": "HTMLDialogElement | null"
2191
+ },
2192
+ "default": "null",
2193
+ "description": "Active dialog panel while the inspector is enabled, else `null`."
2194
+ },
2195
+ {
2196
+ "kind": "field",
2197
+ "name": "#onInspectorKeydown",
2198
+ "privacy": "private",
2199
+ "readonly": true,
2200
+ "description": "Bound keydown handler, retained so it can be removed on disconnect."
2201
+ },
2202
+ {
2203
+ "kind": "method",
2204
+ "name": "#activateInspector",
2205
+ "privacy": "private",
2206
+ "return": {
2207
+ "type": {
2208
+ "text": "void"
2209
+ }
2210
+ },
2211
+ "description": "Wire activation marker, host metadata attributes, the hotkey, and the\ndev-only hover-outline stylesheet."
2212
+ },
2213
+ {
2214
+ "kind": "method",
2215
+ "name": "#deactivateInspector",
2216
+ "privacy": "private",
2217
+ "return": {
2218
+ "type": {
2219
+ "text": "void"
2220
+ }
2221
+ },
2222
+ "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."
2223
+ },
2224
+ {
2225
+ "kind": "method",
2226
+ "name": "#inspectorRoot",
2227
+ "privacy": "private",
2228
+ "return": {
2229
+ "type": {
2230
+ "text": "ShadowRoot | null"
2231
+ }
2232
+ },
2233
+ "description": "The shadow root that carries `adoptedStyleSheets`, or `null`."
2234
+ },
2235
+ {
2236
+ "kind": "method",
2237
+ "name": "#adoptInspectorOutline",
2238
+ "privacy": "private",
2239
+ "return": {
2240
+ "type": {
2241
+ "text": "void"
2242
+ }
2243
+ },
2244
+ "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."
2245
+ },
2246
+ {
2247
+ "kind": "method",
2248
+ "name": "#releaseInspectorOutline",
2249
+ "privacy": "private",
2250
+ "return": {
2251
+ "type": {
2252
+ "text": "void"
2253
+ }
2254
+ },
2255
+ "description": "Remove the singleton hover-outline sheet from the shadow root's\n`adoptedStyleSheets`, preserving every other adopted sheet."
2256
+ },
2257
+ {
2258
+ "kind": "method",
2259
+ "name": "#inspectorVersion",
2260
+ "privacy": "private",
2261
+ "return": {
2262
+ "type": {
2263
+ "text": "string"
2264
+ }
2265
+ },
2266
+ "description": "Read the host's static `version`, defaulting to `''` when absent."
2267
+ },
2268
+ {
2269
+ "kind": "method",
2270
+ "name": "#inspectorDocs",
2271
+ "privacy": "private",
2272
+ "return": {
2273
+ "type": {
2274
+ "text": "string"
2275
+ }
2276
+ },
2277
+ "description": "Read the host's static `docs` URL defensively (D3 may not provide one)."
2278
+ },
2279
+ {
2280
+ "kind": "method",
2281
+ "name": "#toggleInspectorPanel",
2282
+ "privacy": "private",
2283
+ "return": {
2284
+ "type": {
2285
+ "text": "void"
2286
+ }
2287
+ },
2288
+ "description": "Open the panel if closed, close it if already open."
2289
+ },
2290
+ {
2291
+ "kind": "method",
2292
+ "name": "#openInspectorPanel",
2293
+ "privacy": "private",
2294
+ "return": {
2295
+ "type": {
2296
+ "text": "void"
2297
+ }
2298
+ },
2299
+ "description": "Build (once) and open the `<dialog>` metadata panel in the shadow root."
2300
+ }
2301
+ ],
2302
+ "parameters": [
2303
+ {
2304
+ "name": "Base",
2305
+ "type": {
2306
+ "text": "T"
2307
+ }
2308
+ }
2309
+ ]
2310
+ }
2311
+ ],
2312
+ "exports": [
2313
+ {
2314
+ "kind": "js",
2315
+ "name": "InspectorMixin",
2316
+ "declaration": {
2317
+ "name": "InspectorMixin",
2318
+ "module": "../line-core/src/mixins/inspector.ts"
2319
+ }
2320
+ }
2321
+ ]
2322
+ },
2323
+ {
2324
+ "kind": "javascript-module",
2325
+ "path": "../line-core/src/mixins/metadata.ts",
2326
+ "declarations": [
2327
+ {
2328
+ "kind": "mixin",
2329
+ "description": "Metadata mixin (D3 — static element metadata members).\n\nDeclares the four static metadata members every line://ui component carries\n(spec §6.D.3):\n\n- `version` — the component's semver string (mirrors / defaults the value the\n Inspector mixin surfaces as `data-line-version`).\n- `docs` — a URL string pointing at the component's documentation.\n- `qa` — an array of QA tags (`string[]`).\n- `scope` — a string naming the component's scope.\n\nComponents override the members declaratively, e.g. `static version = '0.1.0'`.\n\nSURFACING the members as host attributes (`data-line-version`,\n`data-line-docs`, …) is the Inspector mixin's (D2) responsibility — it reads\nthese static members defensively off `this.constructor`. This mixin owns the\nDECLARATION only; it does not touch the DOM.\n\nThe file path, export name, and generic signature remain stable from the D1\nstub (`.d.ts`-determinism invariant; the `LineElement` composition chain in\n`line-element.ts` depends on them).",
2330
+ "name": "MetadataMixin",
2331
+ "members": [
2332
+ {
2333
+ "kind": "field",
2334
+ "name": "version",
2335
+ "type": {
2336
+ "text": "string"
2337
+ },
2338
+ "static": true,
2339
+ "default": "'0.0.0'",
2340
+ "description": "Component semver string. Surfaced by the Inspector as `data-line-version`."
2341
+ },
2342
+ {
2343
+ "kind": "field",
2344
+ "name": "docs",
2345
+ "type": {
2346
+ "text": "string"
2347
+ },
2348
+ "static": true,
2349
+ "default": "''",
2350
+ "description": "Documentation URL. Surfaced by the Inspector as `data-line-docs` when set."
2351
+ },
2352
+ {
2353
+ "kind": "field",
2354
+ "name": "qa",
2355
+ "type": {
2356
+ "text": "string[]"
2357
+ },
2358
+ "static": true,
2359
+ "default": "[]",
2360
+ "description": "QA tags for the component."
2361
+ },
2362
+ {
2363
+ "kind": "field",
2364
+ "name": "scope",
2365
+ "type": {
2366
+ "text": "string"
2367
+ },
2368
+ "static": true,
2369
+ "default": "''",
2370
+ "description": "Component scope identifier."
2371
+ }
2372
+ ],
2373
+ "parameters": [
2374
+ {
2375
+ "name": "Base",
2376
+ "type": {
2377
+ "text": "T"
2378
+ }
2379
+ }
2380
+ ]
2381
+ }
2382
+ ],
2383
+ "exports": [
2384
+ {
2385
+ "kind": "js",
2386
+ "name": "MetadataMixin",
2387
+ "declaration": {
2388
+ "name": "MetadataMixin",
2389
+ "module": "../line-core/src/mixins/metadata.ts"
2390
+ }
2391
+ }
2392
+ ]
2393
+ },
2394
+ {
2395
+ "kind": "javascript-module",
2396
+ "path": "../line-core/src/styles/index.ts",
2397
+ "declarations": [
2398
+ {
2399
+ "kind": "variable",
2400
+ "name": "commonReset"
2401
+ },
2402
+ {
2403
+ "kind": "variable",
2404
+ "name": "inputReset"
2405
+ },
2406
+ {
2407
+ "kind": "variable",
2408
+ "name": "buttonReset"
2409
+ },
2410
+ {
2411
+ "kind": "variable",
2412
+ "name": "textareaReset"
2413
+ },
2414
+ {
2415
+ "kind": "variable",
2416
+ "name": "selectReset"
2417
+ },
2418
+ {
2419
+ "kind": "variable",
2420
+ "name": "rangeReset"
2421
+ },
2422
+ {
2423
+ "kind": "variable",
2424
+ "name": "progressReset"
2425
+ },
2426
+ {
2427
+ "kind": "variable",
2428
+ "name": "summaryReset"
2429
+ },
2430
+ {
2431
+ "kind": "variable",
2432
+ "name": "fieldsetReset"
2433
+ },
2434
+ {
2435
+ "kind": "variable",
2436
+ "name": "tableReset"
2437
+ },
2438
+ {
2439
+ "kind": "variable",
2440
+ "name": "scrollbarReset"
2441
+ }
2442
+ ],
2443
+ "exports": [
2444
+ {
2445
+ "kind": "js",
2446
+ "name": "commonReset",
2447
+ "declaration": {
2448
+ "name": "commonReset",
2449
+ "module": "../line-core/src/styles/index.ts"
2450
+ }
2451
+ },
2452
+ {
2453
+ "kind": "js",
2454
+ "name": "inputReset",
2455
+ "declaration": {
2456
+ "name": "inputReset",
2457
+ "module": "../line-core/src/styles/index.ts"
2458
+ }
2459
+ },
2460
+ {
2461
+ "kind": "js",
2462
+ "name": "buttonReset",
2463
+ "declaration": {
2464
+ "name": "buttonReset",
2465
+ "module": "../line-core/src/styles/index.ts"
2466
+ }
2467
+ },
2468
+ {
2469
+ "kind": "js",
2470
+ "name": "textareaReset",
2471
+ "declaration": {
2472
+ "name": "textareaReset",
2473
+ "module": "../line-core/src/styles/index.ts"
2474
+ }
2475
+ },
2476
+ {
2477
+ "kind": "js",
2478
+ "name": "selectReset",
2479
+ "declaration": {
2480
+ "name": "selectReset",
2481
+ "module": "../line-core/src/styles/index.ts"
2482
+ }
2483
+ },
2484
+ {
2485
+ "kind": "js",
2486
+ "name": "rangeReset",
2487
+ "declaration": {
2488
+ "name": "rangeReset",
2489
+ "module": "../line-core/src/styles/index.ts"
2490
+ }
2491
+ },
2492
+ {
2493
+ "kind": "js",
2494
+ "name": "progressReset",
2495
+ "declaration": {
2496
+ "name": "progressReset",
2497
+ "module": "../line-core/src/styles/index.ts"
2498
+ }
2499
+ },
2500
+ {
2501
+ "kind": "js",
2502
+ "name": "summaryReset",
2503
+ "declaration": {
2504
+ "name": "summaryReset",
2505
+ "module": "../line-core/src/styles/index.ts"
2506
+ }
2507
+ },
2508
+ {
2509
+ "kind": "js",
2510
+ "name": "fieldsetReset",
2511
+ "declaration": {
2512
+ "name": "fieldsetReset",
2513
+ "module": "../line-core/src/styles/index.ts"
2514
+ }
2515
+ },
2516
+ {
2517
+ "kind": "js",
2518
+ "name": "tableReset",
2519
+ "declaration": {
2520
+ "name": "tableReset",
2521
+ "module": "../line-core/src/styles/index.ts"
2522
+ }
2523
+ },
2524
+ {
2525
+ "kind": "js",
2526
+ "name": "scrollbarReset",
2527
+ "declaration": {
2528
+ "name": "scrollbarReset",
2529
+ "module": "../line-core/src/styles/index.ts"
2530
+ }
2531
+ }
2532
+ ]
2533
+ }
2534
+ ]
2535
+ }