@telperion/elements 5.4.3 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/.build-manifest.json +12 -1
  2. package/README.md +37 -0
  3. package/custom-elements.json +863 -0
  4. package/fesm/elements.mjs +474 -1
  5. package/fesm/elements.mjs.map +1 -1
  6. package/iife/elements.js +24 -24
  7. package/iife/elements.js.map +1 -1
  8. package/iife/portal/index.js +2 -0
  9. package/iife/portal/index.js.map +1 -0
  10. package/index.cjs +4 -0
  11. package/index.cjs.map +1 -1
  12. package/index.d.cts +1 -0
  13. package/index.d.ts +1 -0
  14. package/index.js +2 -0
  15. package/index.js.map +1 -1
  16. package/package.json +26 -2
  17. package/portal/dom-ops.cjs +81 -0
  18. package/portal/dom-ops.cjs.map +1 -0
  19. package/portal/dom-ops.js +72 -0
  20. package/portal/dom-ops.js.map +1 -0
  21. package/portal/index.cjs +10 -0
  22. package/portal/index.cjs.map +1 -0
  23. package/portal/index.d.cts +125 -0
  24. package/portal/index.d.ts +125 -0
  25. package/portal/index.js +3 -0
  26. package/portal/index.js.map +1 -0
  27. package/portal/internal-props.cjs +13 -0
  28. package/portal/internal-props.cjs.map +1 -0
  29. package/portal/internal-props.js +9 -0
  30. package/portal/internal-props.js.map +1 -0
  31. package/portal/portal-element.cjs +196 -0
  32. package/portal/portal-element.cjs.map +1 -0
  33. package/portal/portal-element.js +194 -0
  34. package/portal/portal-element.js.map +1 -0
  35. package/portal/portal-outlet-element.cjs +64 -0
  36. package/portal/portal-outlet-element.cjs.map +1 -0
  37. package/portal/portal-outlet-element.js +62 -0
  38. package/portal/portal-outlet-element.js.map +1 -0
  39. package/portal/portal-registry.cjs +61 -0
  40. package/portal/portal-registry.cjs.map +1 -0
  41. package/portal/portal-registry.js +59 -0
  42. package/portal/portal-registry.js.map +1 -0
  43. package/portal/projection.cjs +81 -0
  44. package/portal/projection.cjs.map +1 -0
  45. package/portal/projection.js +79 -0
  46. package/portal/projection.js.map +1 -0
  47. package/portal/styles.cjs +28 -0
  48. package/portal/styles.cjs.map +1 -0
  49. package/portal/styles.js +26 -0
  50. package/portal/styles.js.map +1 -0
@@ -2300,6 +2300,869 @@
2300
2300
  }
2301
2301
  ]
2302
2302
  },
2303
+ {
2304
+ "kind": "javascript-module",
2305
+ "path": "src/portal/dom-ops.ts",
2306
+ "declarations": [
2307
+ {
2308
+ "kind": "function",
2309
+ "name": "insertNode",
2310
+ "return": {
2311
+ "type": {
2312
+ "text": "void"
2313
+ }
2314
+ },
2315
+ "parameters": [
2316
+ {
2317
+ "name": "parent",
2318
+ "type": {
2319
+ "text": "Node"
2320
+ }
2321
+ },
2322
+ {
2323
+ "name": "node",
2324
+ "type": {
2325
+ "text": "Node"
2326
+ }
2327
+ },
2328
+ {
2329
+ "name": "ref",
2330
+ "type": {
2331
+ "text": "Node | null"
2332
+ }
2333
+ }
2334
+ ]
2335
+ },
2336
+ {
2337
+ "kind": "function",
2338
+ "name": "removeNode",
2339
+ "return": {
2340
+ "type": {
2341
+ "text": "void"
2342
+ }
2343
+ },
2344
+ "parameters": [
2345
+ {
2346
+ "name": "node",
2347
+ "type": {
2348
+ "text": "Node"
2349
+ }
2350
+ }
2351
+ ]
2352
+ },
2353
+ {
2354
+ "kind": "function",
2355
+ "name": "replaceNode",
2356
+ "return": {
2357
+ "type": {
2358
+ "text": "void"
2359
+ }
2360
+ },
2361
+ "parameters": [
2362
+ {
2363
+ "name": "parent",
2364
+ "type": {
2365
+ "text": "Node"
2366
+ }
2367
+ },
2368
+ {
2369
+ "name": "next",
2370
+ "type": {
2371
+ "text": "Node"
2372
+ }
2373
+ },
2374
+ {
2375
+ "name": "prev",
2376
+ "type": {
2377
+ "text": "Node"
2378
+ }
2379
+ }
2380
+ ]
2381
+ },
2382
+ {
2383
+ "kind": "function",
2384
+ "name": "moveNode",
2385
+ "return": {
2386
+ "type": {
2387
+ "text": "void"
2388
+ }
2389
+ },
2390
+ "parameters": [
2391
+ {
2392
+ "name": "parent",
2393
+ "type": {
2394
+ "text": "Node"
2395
+ }
2396
+ },
2397
+ {
2398
+ "name": "node",
2399
+ "type": {
2400
+ "text": "Node"
2401
+ }
2402
+ },
2403
+ {
2404
+ "name": "ref",
2405
+ "type": {
2406
+ "text": "Node | null"
2407
+ }
2408
+ },
2409
+ {
2410
+ "name": "preferMove",
2411
+ "default": "true"
2412
+ }
2413
+ ],
2414
+ "description": "Moves `node` into `parent` before `ref`. Prefers the state-preserving\n`moveBefore()` (focus, iframes, animations, no disconnect/connect\nreactions) and falls back to a plain insertion where it is unsupported or\nnot allowed (e.g. one side is disconnected)."
2415
+ },
2416
+ {
2417
+ "kind": "function",
2418
+ "name": "hasNativeMoveBefore",
2419
+ "return": {
2420
+ "type": {
2421
+ "text": "boolean"
2422
+ }
2423
+ }
2424
+ },
2425
+ {
2426
+ "kind": "function",
2427
+ "name": "nativeMove",
2428
+ "return": {
2429
+ "type": {
2430
+ "text": "void"
2431
+ }
2432
+ },
2433
+ "parameters": [
2434
+ {
2435
+ "name": "parent",
2436
+ "type": {
2437
+ "text": "Node"
2438
+ }
2439
+ },
2440
+ {
2441
+ "name": "node",
2442
+ "type": {
2443
+ "text": "Node"
2444
+ }
2445
+ },
2446
+ {
2447
+ "name": "ref",
2448
+ "type": {
2449
+ "text": "Node | null"
2450
+ }
2451
+ }
2452
+ ]
2453
+ },
2454
+ {
2455
+ "kind": "function",
2456
+ "name": "nodesBetween",
2457
+ "return": {
2458
+ "type": {
2459
+ "text": "Node[]"
2460
+ }
2461
+ },
2462
+ "parameters": [
2463
+ {
2464
+ "name": "start",
2465
+ "type": {
2466
+ "text": "Node"
2467
+ }
2468
+ },
2469
+ {
2470
+ "name": "end",
2471
+ "type": {
2472
+ "text": "Node"
2473
+ }
2474
+ }
2475
+ ],
2476
+ "description": "Nodes strictly between two sibling markers (empty when the markers were torn out)."
2477
+ },
2478
+ {
2479
+ "kind": "function",
2480
+ "name": "serializeNodes",
2481
+ "return": {
2482
+ "type": {
2483
+ "text": "string"
2484
+ }
2485
+ },
2486
+ "parameters": [
2487
+ {
2488
+ "name": "nodes",
2489
+ "type": {
2490
+ "text": "Node[]"
2491
+ }
2492
+ }
2493
+ ],
2494
+ "description": "Minimal HTML serialization of a node list (used for `innerHTML` while projected)."
2495
+ }
2496
+ ],
2497
+ "exports": [
2498
+ {
2499
+ "kind": "js",
2500
+ "name": "insertNode",
2501
+ "declaration": {
2502
+ "name": "insertNode",
2503
+ "module": "src/portal/dom-ops.ts"
2504
+ }
2505
+ },
2506
+ {
2507
+ "kind": "js",
2508
+ "name": "removeNode",
2509
+ "declaration": {
2510
+ "name": "removeNode",
2511
+ "module": "src/portal/dom-ops.ts"
2512
+ }
2513
+ },
2514
+ {
2515
+ "kind": "js",
2516
+ "name": "replaceNode",
2517
+ "declaration": {
2518
+ "name": "replaceNode",
2519
+ "module": "src/portal/dom-ops.ts"
2520
+ }
2521
+ },
2522
+ {
2523
+ "kind": "js",
2524
+ "name": "moveNode",
2525
+ "declaration": {
2526
+ "name": "moveNode",
2527
+ "module": "src/portal/dom-ops.ts"
2528
+ }
2529
+ },
2530
+ {
2531
+ "kind": "js",
2532
+ "name": "hasNativeMoveBefore",
2533
+ "declaration": {
2534
+ "name": "hasNativeMoveBefore",
2535
+ "module": "src/portal/dom-ops.ts"
2536
+ }
2537
+ },
2538
+ {
2539
+ "kind": "js",
2540
+ "name": "nativeMove",
2541
+ "declaration": {
2542
+ "name": "nativeMove",
2543
+ "module": "src/portal/dom-ops.ts"
2544
+ }
2545
+ },
2546
+ {
2547
+ "kind": "js",
2548
+ "name": "nodesBetween",
2549
+ "declaration": {
2550
+ "name": "nodesBetween",
2551
+ "module": "src/portal/dom-ops.ts"
2552
+ }
2553
+ },
2554
+ {
2555
+ "kind": "js",
2556
+ "name": "serializeNodes",
2557
+ "declaration": {
2558
+ "name": "serializeNodes",
2559
+ "module": "src/portal/dom-ops.ts"
2560
+ }
2561
+ }
2562
+ ]
2563
+ },
2564
+ {
2565
+ "kind": "javascript-module",
2566
+ "path": "src/portal/internal-props.ts",
2567
+ "declarations": [
2568
+ {
2569
+ "kind": "variable",
2570
+ "name": "SYNC_PORTAL",
2571
+ "description": "Registry → portal: re-resolve the active outlet and (re)project into it."
2572
+ },
2573
+ {
2574
+ "kind": "variable",
2575
+ "name": "ATTACH_PORTAL",
2576
+ "description": "Portal → outlet: a portal started projecting into the outlet."
2577
+ },
2578
+ {
2579
+ "kind": "variable",
2580
+ "name": "DETACH_PORTAL",
2581
+ "description": "Portal → outlet: a portal stopped projecting into the outlet."
2582
+ }
2583
+ ],
2584
+ "exports": [
2585
+ {
2586
+ "kind": "js",
2587
+ "name": "SYNC_PORTAL",
2588
+ "declaration": {
2589
+ "name": "SYNC_PORTAL",
2590
+ "module": "src/portal/internal-props.ts"
2591
+ }
2592
+ },
2593
+ {
2594
+ "kind": "js",
2595
+ "name": "ATTACH_PORTAL",
2596
+ "declaration": {
2597
+ "name": "ATTACH_PORTAL",
2598
+ "module": "src/portal/internal-props.ts"
2599
+ }
2600
+ },
2601
+ {
2602
+ "kind": "js",
2603
+ "name": "DETACH_PORTAL",
2604
+ "declaration": {
2605
+ "name": "DETACH_PORTAL",
2606
+ "module": "src/portal/internal-props.ts"
2607
+ }
2608
+ }
2609
+ ]
2610
+ },
2611
+ {
2612
+ "kind": "javascript-module",
2613
+ "path": "src/portal/portal-element.ts",
2614
+ "declarations": [
2615
+ {
2616
+ "kind": "class",
2617
+ "description": "Renders its children inside the `<tp-portal-outlet>` with the same\n`name`, wherever that outlet is in the document.\n\nThe child **nodes themselves** are moved (not cloned), so event\nlisteners, element state and framework bindings stay intact. While no\nmatching outlet is connected the children stay inside the portal, which\nis `display: none` by default.\n\nFramework-safe: frameworks (React, Angular, Vue, Lit, …) keep calling\n`appendChild` / `insertBefore` / `removeChild` / `replaceChild` /\n`textContent` / `innerHTML` on the portal; while projected, those calls\nare forwarded to the outlet, so no \"node is not a child of this node\"\nerrors are thrown.\n\nUses the state-preserving `moveBefore()` when the browser supports it\n(focus, iframes, CSS animations survive projection).\n\n#### Examples\n\n```html\n<tp-portal name=\"toolbar\">\n <button>Save</button>\n</tp-portal>\n\n<header>\n <tp-portal-outlet name=\"toolbar\"></tp-portal-outlet>\n</header>\n```",
2618
+ "name": "PortalElement",
2619
+ "members": [
2620
+ {
2621
+ "kind": "field",
2622
+ "name": "#projection",
2623
+ "privacy": "private",
2624
+ "readonly": true,
2625
+ "default": "new Projection()"
2626
+ },
2627
+ {
2628
+ "kind": "field",
2629
+ "name": "#observer",
2630
+ "privacy": "private",
2631
+ "readonly": true,
2632
+ "default": "new MutationObserver(() => this.#projection.pull(this))"
2633
+ },
2634
+ {
2635
+ "kind": "field",
2636
+ "name": "#outlet",
2637
+ "privacy": "private",
2638
+ "type": {
2639
+ "text": "PortalOutletElement | null"
2640
+ },
2641
+ "default": "null"
2642
+ },
2643
+ {
2644
+ "kind": "field",
2645
+ "name": "#registeredName",
2646
+ "privacy": "private",
2647
+ "type": {
2648
+ "text": "string | null"
2649
+ },
2650
+ "default": "null"
2651
+ },
2652
+ {
2653
+ "kind": "field",
2654
+ "name": "name",
2655
+ "type": {
2656
+ "text": "string"
2657
+ },
2658
+ "description": "Outlet name to project into."
2659
+ },
2660
+ {
2661
+ "kind": "field",
2662
+ "name": "outlet",
2663
+ "type": {
2664
+ "text": "PortalOutletElement | null"
2665
+ },
2666
+ "description": "The outlet currently hosting this portal's content, if any.",
2667
+ "readonly": true
2668
+ },
2669
+ {
2670
+ "kind": "field",
2671
+ "name": "projectedNodes",
2672
+ "type": {
2673
+ "text": "Node[]"
2674
+ },
2675
+ "description": "The portal's content nodes, wherever they currently live.",
2676
+ "readonly": true
2677
+ },
2678
+ {
2679
+ "kind": "method",
2680
+ "name": "#register",
2681
+ "privacy": "private",
2682
+ "return": {
2683
+ "type": {
2684
+ "text": "void"
2685
+ }
2686
+ }
2687
+ },
2688
+ {
2689
+ "kind": "method",
2690
+ "name": "#unregister",
2691
+ "privacy": "private",
2692
+ "return": {
2693
+ "type": {
2694
+ "text": "void"
2695
+ }
2696
+ },
2697
+ "description": "Unregisters and brings the content home (so it leaves the document with us)."
2698
+ },
2699
+ {
2700
+ "kind": "method",
2701
+ "name": "#attach",
2702
+ "privacy": "private",
2703
+ "return": {
2704
+ "type": {
2705
+ "text": "void"
2706
+ }
2707
+ },
2708
+ "parameters": [
2709
+ {
2710
+ "name": "outlet",
2711
+ "type": {
2712
+ "text": "PortalOutletElement"
2713
+ }
2714
+ }
2715
+ ]
2716
+ },
2717
+ {
2718
+ "kind": "method",
2719
+ "name": "#detach",
2720
+ "privacy": "private",
2721
+ "return": {
2722
+ "type": {
2723
+ "text": "void"
2724
+ }
2725
+ }
2726
+ }
2727
+ ],
2728
+ "attributes": [
2729
+ {
2730
+ "name": "name",
2731
+ "description": "Outlet name to project into."
2732
+ },
2733
+ {
2734
+ "name": "projected",
2735
+ "description": "Reflected (read-only) while the content is in an outlet."
2736
+ }
2737
+ ],
2738
+ "superclass": {
2739
+ "name": "HTMLElement"
2740
+ },
2741
+ "tagName": "tp-portal",
2742
+ "customElement": true
2743
+ }
2744
+ ],
2745
+ "exports": [
2746
+ {
2747
+ "kind": "js",
2748
+ "name": "PortalElement",
2749
+ "declaration": {
2750
+ "name": "PortalElement",
2751
+ "module": "src/portal/portal-element.ts"
2752
+ }
2753
+ },
2754
+ {
2755
+ "kind": "custom-element-definition",
2756
+ "name": "tp-portal",
2757
+ "declaration": {
2758
+ "name": "PortalElement",
2759
+ "module": "src/portal/portal-element.ts"
2760
+ }
2761
+ }
2762
+ ]
2763
+ },
2764
+ {
2765
+ "kind": "javascript-module",
2766
+ "path": "src/portal/portal-outlet-element.ts",
2767
+ "declarations": [
2768
+ {
2769
+ "kind": "class",
2770
+ "description": "Render target for `<tp-portal>` elements with the same `name`.\n\nContent of every matching portal is appended after the outlet's own\nchildren, in the order the portals connected. When several outlets share\na name, the most recently connected one is active; if it disconnects,\nthe previous one takes over and the content moves there.\n\nThe outlet is `display: contents` by default, so projected content lays\nout as if it were a child of the outlet's parent.\n\n#### Examples\n\n```html\n<tp-portal-outlet name=\"toolbar\"></tp-portal-outlet>\n```",
2771
+ "name": "PortalOutletElement",
2772
+ "members": [
2773
+ {
2774
+ "kind": "field",
2775
+ "name": "#portals",
2776
+ "privacy": "private",
2777
+ "readonly": true,
2778
+ "default": "new Set<PortalElement>()"
2779
+ },
2780
+ {
2781
+ "kind": "field",
2782
+ "name": "#registeredName",
2783
+ "privacy": "private",
2784
+ "type": {
2785
+ "text": "string | null"
2786
+ },
2787
+ "default": "null"
2788
+ },
2789
+ {
2790
+ "kind": "field",
2791
+ "name": "name",
2792
+ "type": {
2793
+ "text": "string"
2794
+ },
2795
+ "description": "Name that `<tp-portal>` elements target."
2796
+ },
2797
+ {
2798
+ "kind": "field",
2799
+ "name": "portals",
2800
+ "type": {
2801
+ "text": "readonly PortalElement[]"
2802
+ },
2803
+ "description": "Portals currently projecting into this outlet, in projection order.",
2804
+ "readonly": true
2805
+ },
2806
+ {
2807
+ "kind": "method",
2808
+ "name": "#register",
2809
+ "privacy": "private",
2810
+ "return": {
2811
+ "type": {
2812
+ "text": "void"
2813
+ }
2814
+ }
2815
+ },
2816
+ {
2817
+ "kind": "method",
2818
+ "name": "#unregister",
2819
+ "privacy": "private",
2820
+ "return": {
2821
+ "type": {
2822
+ "text": "void"
2823
+ }
2824
+ }
2825
+ }
2826
+ ],
2827
+ "attributes": [
2828
+ {
2829
+ "name": "name",
2830
+ "description": "Name that `<tp-portal>` elements target."
2831
+ },
2832
+ {
2833
+ "name": "active",
2834
+ "description": "Reflected (read-only) while at least one portal projects here."
2835
+ }
2836
+ ],
2837
+ "superclass": {
2838
+ "name": "HTMLElement"
2839
+ },
2840
+ "tagName": "tp-portal-outlet",
2841
+ "customElement": true
2842
+ }
2843
+ ],
2844
+ "exports": [
2845
+ {
2846
+ "kind": "js",
2847
+ "name": "PortalOutletElement",
2848
+ "declaration": {
2849
+ "name": "PortalOutletElement",
2850
+ "module": "src/portal/portal-outlet-element.ts"
2851
+ }
2852
+ },
2853
+ {
2854
+ "kind": "custom-element-definition",
2855
+ "name": "tp-portal-outlet",
2856
+ "declaration": {
2857
+ "name": "PortalOutletElement",
2858
+ "module": "src/portal/portal-outlet-element.ts"
2859
+ }
2860
+ }
2861
+ ]
2862
+ },
2863
+ {
2864
+ "kind": "javascript-module",
2865
+ "path": "src/portal/portal-registry.ts",
2866
+ "declarations": [
2867
+ {
2868
+ "kind": "variable",
2869
+ "name": "portalRegistry",
2870
+ "default": "new PortalRegistry()"
2871
+ }
2872
+ ],
2873
+ "exports": [
2874
+ {
2875
+ "kind": "js",
2876
+ "name": "portalRegistry",
2877
+ "declaration": {
2878
+ "name": "portalRegistry",
2879
+ "module": "src/portal/portal-registry.ts"
2880
+ }
2881
+ }
2882
+ ]
2883
+ },
2884
+ {
2885
+ "kind": "javascript-module",
2886
+ "path": "src/portal/projection.ts",
2887
+ "declarations": [
2888
+ {
2889
+ "kind": "class",
2890
+ "description": "The part of an outlet a single portal owns: a `<!--tp-portal-->` …\n`<!--/tp-portal-->` comment pair, with the portal's nodes in between.\n\nMarkers keep each portal's nodes contiguous even when several portals share\nan outlet, and give frameworks a stable `nextSibling` to insert before\n(Angular / Vue insert relative to siblings, which land inside the range).",
2891
+ "name": "Projection",
2892
+ "members": [
2893
+ {
2894
+ "kind": "field",
2895
+ "name": "#start",
2896
+ "privacy": "private",
2897
+ "readonly": true
2898
+ },
2899
+ {
2900
+ "kind": "field",
2901
+ "name": "#end",
2902
+ "privacy": "private",
2903
+ "readonly": true
2904
+ },
2905
+ {
2906
+ "kind": "field",
2907
+ "name": "#container",
2908
+ "privacy": "private",
2909
+ "type": {
2910
+ "text": "Node | null"
2911
+ },
2912
+ "default": "null"
2913
+ },
2914
+ {
2915
+ "kind": "field",
2916
+ "name": "container",
2917
+ "type": {
2918
+ "text": "Node | null"
2919
+ },
2920
+ "description": "The node currently hosting the projected content, if any.",
2921
+ "readonly": true
2922
+ },
2923
+ {
2924
+ "kind": "field",
2925
+ "name": "active",
2926
+ "type": {
2927
+ "text": "boolean"
2928
+ },
2929
+ "readonly": true
2930
+ },
2931
+ {
2932
+ "kind": "method",
2933
+ "name": "nodes",
2934
+ "return": {
2935
+ "type": {
2936
+ "text": "Node[]"
2937
+ }
2938
+ },
2939
+ "description": "Nodes currently projected (in order)."
2940
+ },
2941
+ {
2942
+ "kind": "method",
2943
+ "name": "owns",
2944
+ "return": {
2945
+ "type": {
2946
+ "text": "boolean"
2947
+ }
2948
+ },
2949
+ "parameters": [
2950
+ {
2951
+ "name": "ref",
2952
+ "type": {
2953
+ "text": "Node | null"
2954
+ }
2955
+ }
2956
+ ],
2957
+ "description": "Whether `ref` is a valid insertion reference inside the projected range."
2958
+ },
2959
+ {
2960
+ "kind": "method",
2961
+ "name": "open",
2962
+ "return": {
2963
+ "type": {
2964
+ "text": "void"
2965
+ }
2966
+ },
2967
+ "parameters": [
2968
+ {
2969
+ "name": "container",
2970
+ "type": {
2971
+ "text": "Node"
2972
+ }
2973
+ },
2974
+ {
2975
+ "name": "source",
2976
+ "type": {
2977
+ "text": "Node"
2978
+ }
2979
+ }
2980
+ ],
2981
+ "description": "Opens the range at the end of `container` and moves `source`'s children into it."
2982
+ },
2983
+ {
2984
+ "kind": "method",
2985
+ "name": "pull",
2986
+ "return": {
2987
+ "type": {
2988
+ "text": "void"
2989
+ }
2990
+ },
2991
+ "parameters": [
2992
+ {
2993
+ "name": "source",
2994
+ "type": {
2995
+ "text": "Node"
2996
+ }
2997
+ }
2998
+ ],
2999
+ "description": "Moves every child of `source` into the range (keeps order)."
3000
+ },
3001
+ {
3002
+ "kind": "method",
3003
+ "name": "close",
3004
+ "return": {
3005
+ "type": {
3006
+ "text": "void"
3007
+ }
3008
+ },
3009
+ "parameters": [
3010
+ {
3011
+ "name": "target",
3012
+ "type": {
3013
+ "text": "Node"
3014
+ }
3015
+ }
3016
+ ],
3017
+ "description": "Moves projected nodes back to `target`, removes the markers and closes the range."
3018
+ },
3019
+ {
3020
+ "kind": "method",
3021
+ "name": "insert",
3022
+ "return": {
3023
+ "type": {
3024
+ "text": "void"
3025
+ }
3026
+ },
3027
+ "parameters": [
3028
+ {
3029
+ "name": "node",
3030
+ "type": {
3031
+ "text": "Node"
3032
+ }
3033
+ },
3034
+ {
3035
+ "name": "ref",
3036
+ "type": {
3037
+ "text": "Node | null"
3038
+ }
3039
+ }
3040
+ ]
3041
+ },
3042
+ {
3043
+ "kind": "method",
3044
+ "name": "prepend",
3045
+ "return": {
3046
+ "type": {
3047
+ "text": "void"
3048
+ }
3049
+ },
3050
+ "parameters": [
3051
+ {
3052
+ "name": "node",
3053
+ "type": {
3054
+ "text": "Node"
3055
+ }
3056
+ }
3057
+ ]
3058
+ },
3059
+ {
3060
+ "kind": "method",
3061
+ "name": "remove",
3062
+ "return": {
3063
+ "type": {
3064
+ "text": "void"
3065
+ }
3066
+ },
3067
+ "parameters": [
3068
+ {
3069
+ "name": "node",
3070
+ "type": {
3071
+ "text": "Node"
3072
+ }
3073
+ }
3074
+ ]
3075
+ },
3076
+ {
3077
+ "kind": "method",
3078
+ "name": "replace",
3079
+ "return": {
3080
+ "type": {
3081
+ "text": "void"
3082
+ }
3083
+ },
3084
+ "parameters": [
3085
+ {
3086
+ "name": "next",
3087
+ "type": {
3088
+ "text": "Node"
3089
+ }
3090
+ },
3091
+ {
3092
+ "name": "prev",
3093
+ "type": {
3094
+ "text": "Node"
3095
+ }
3096
+ }
3097
+ ]
3098
+ },
3099
+ {
3100
+ "kind": "method",
3101
+ "name": "clear",
3102
+ "return": {
3103
+ "type": {
3104
+ "text": "void"
3105
+ }
3106
+ }
3107
+ },
3108
+ {
3109
+ "kind": "method",
3110
+ "name": "refFor",
3111
+ "return": {
3112
+ "type": {
3113
+ "text": "Node"
3114
+ }
3115
+ },
3116
+ "parameters": [
3117
+ {
3118
+ "name": "ref",
3119
+ "type": {
3120
+ "text": "Node | null"
3121
+ }
3122
+ }
3123
+ ],
3124
+ "description": "Reference node to use for `moveBefore` forwarding."
3125
+ }
3126
+ ]
3127
+ }
3128
+ ],
3129
+ "exports": [
3130
+ {
3131
+ "kind": "js",
3132
+ "name": "Projection",
3133
+ "declaration": {
3134
+ "name": "Projection",
3135
+ "module": "src/portal/projection.ts"
3136
+ }
3137
+ }
3138
+ ]
3139
+ },
3140
+ {
3141
+ "kind": "javascript-module",
3142
+ "path": "src/portal/styles.ts",
3143
+ "declarations": [
3144
+ {
3145
+ "kind": "function",
3146
+ "name": "injectPortalStyles",
3147
+ "return": {
3148
+ "type": {
3149
+ "text": "void"
3150
+ }
3151
+ },
3152
+ "description": "Document-level defaults, adopted once:\n- `tp-portal` never renders in place; its content only shows in an outlet.\n- `tp-portal-outlet` is layout-transparent so projected content behaves as\n if it were a direct child of the outlet's parent. Override freely."
3153
+ }
3154
+ ],
3155
+ "exports": [
3156
+ {
3157
+ "kind": "js",
3158
+ "name": "injectPortalStyles",
3159
+ "declaration": {
3160
+ "name": "injectPortalStyles",
3161
+ "module": "src/portal/styles.ts"
3162
+ }
3163
+ }
3164
+ ]
3165
+ },
2303
3166
  {
2304
3167
  "kind": "javascript-module",
2305
3168
  "path": "src/router/history-managed.ts",