lilact 0.13.0 → 0.14.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 (43) hide show
  1. package/dist/lilact.development.js +269 -250
  2. package/dist/lilact.development.js.map +1 -1
  3. package/dist/lilact.development.min.js +1 -1
  4. package/dist/lilact.development.min.js.LICENSE.txt +1 -1
  5. package/dist/lilact.development.min.js.map +1 -1
  6. package/dist/lilact.production.min.js +1 -1
  7. package/dist/lilact.production.min.js.map +1 -1
  8. package/docs/assets/hierarchy.js +1 -1
  9. package/docs/assets/highlight.css +4 -4
  10. package/docs/assets/navigation.js +1 -1
  11. package/docs/assets/search.js +1 -1
  12. package/docs/classes/accessories.ErrorBoundary.html +11 -11
  13. package/docs/classes/accessories.Suspense.html +10 -10
  14. package/docs/classes/components.Component.html +11 -11
  15. package/docs/classes/components.HTMLComponent.html +11 -11
  16. package/docs/classes/components.RootComponent.html +12 -12
  17. package/docs/functions/accessories.DragHandle.html +12 -6
  18. package/docs/functions/accessories.Spinner.html +1 -1
  19. package/docs/functions/components.createComponent.html +1 -1
  20. package/docs/functions/components.createRoot.html +1 -1
  21. package/docs/functions/components.render.html +1 -1
  22. package/docs/hierarchy.html +1 -1
  23. package/docs/modules/accessories.html +1 -1
  24. package/docs/modules.html +1 -1
  25. package/docs/static/demos/capture.jsx +26 -0
  26. package/docs/static/index.html +4 -1
  27. package/docs/static/lilact.development.js +269 -250
  28. package/docs/static/lilact.development.min.js +1 -1
  29. package/docs/static/lilact.production.min.js +1 -1
  30. package/docs/variables/{pane.SplitPane.html → accessories.SplitPane.html} +3 -3
  31. package/package.json +1 -1
  32. package/root/demos/capture.jsx +26 -0
  33. package/root/index.html +4 -1
  34. package/root/lilact.development.js +269 -250
  35. package/root/lilact.development.min.js +1 -1
  36. package/root/lilact.production.min.js +1 -1
  37. package/src/accessories.jsx +293 -12
  38. package/src/components.jsx +7 -0
  39. package/src/lilact.jsx +1 -5
  40. package/src/misc.jsx +6 -1
  41. package/typedoc.json +0 -1
  42. package/docs/modules/pane.html +0 -1
  43. package/src/pane.jsx +0 -270
@@ -28,10 +28,15 @@
28
28
 
29
29
  */
30
30
 
31
+
32
+ import { useEffect, useLayoutEffect, useMemo, useRef, useState, useImperativeHandle } from "./hooks.jsx";
33
+ import { Children, forwardRef } from "./misc.jsx";
34
+
35
+
31
36
  import {isThenable} from "./misc.jsx"
32
37
  import {setTimeout, clearTimeout} from "./timers.jsx"
33
38
  import {Component} from "./components.jsx"
34
- import {useRef, useState, useCallback} from './hooks.jsx'
39
+ import {useCallback} from './hooks.jsx'
35
40
  import {emotion} from "./lilact.jsx"
36
41
  const {css,cx} = emotion;
37
42
 
@@ -290,19 +295,27 @@ export class Suspense extends Component
290
295
  /**
291
296
  * DragHandle - helper component to wire up drag interactions.
292
297
  *
293
- * This component does not implement dragging/movement itself. Instead, it listens
294
- * for drag gesture updates and delegates them to the provided callbacks.
298
+ * This component does not implement dragging/movement itself. Instead, it
299
+ * listens for drag gesture events and delegates them to the provided callbacks.
300
+ *
301
+ * @param {object} props
302
+ * @param {(x: number, y: number, data: any) => void} [props.onDelta]
303
+ * Called when the drag position changes.
304
+ *
305
+ * @param {(data: any) => void} [props.onStart]
306
+ * Called when the drag begins.
295
307
  *
296
- * @param onDelta - Called when the drag position changes. Receives the delta as
297
- * `{ x, y, data }`.
298
- * @param onStart - Called when the drag begins. Receives the provided `data`.
299
- * @param onEnd - Called when the drag finishes or is cancelled.
300
- * Receives `(event, data)` where `event` is either `"up"` (completed) or `"cancel"`.
301
- * @param data - Arbitrary user data passed back to callbacks.
302
- * @param style - Optional style applied to the rendered wrapper.
303
- * @param className - Optional CSS class applied to the rendered wrapper.
304
- * @param children - Content to render inside the drag handle.
308
+ * @param {(event: ("up"|"cancel"), data: any) => void} [props.onEnd]
309
+ * Called when the drag ends or is cancelled.
310
+ *
311
+ * @param {any} [props.data] Arbitrary user data passed through callbacks.
312
+ * @param {object} [props.style] Optional style applied to the wrapper element.
313
+ * @param {string} [props.className] Optional CSS class applied to the wrapper element.
314
+ * A `.dragging` class will be also applied when dragging.
315
+ *
316
+ * @param {React.ReactNode} [props.children] Content rendered inside the handle.
305
317
  */
318
+
306
319
  export function DragHandle({
307
320
  onDelta,
308
321
  onStart,
@@ -402,3 +415,271 @@ export function DragHandle({
402
415
  );
403
416
  }
404
417
 
418
+
419
+
420
+ const clamp = (n, min, max) => {
421
+ if (!Number.isFinite(n)) return n;
422
+ return Math.min(max, Math.max(min, n));
423
+ };
424
+
425
+ /**
426
+ * A split-pane container with a draggable splitter, supporting both horizontal and vertical layouts.
427
+ *
428
+ * The pane can be either:
429
+ * - **Controlled** via the `position` prop (number between `min` and `max`), or
430
+ * - **Uncontrolled** via `defaultPosition` (used as the initial position).
431
+ *
432
+ * Layout behavior:
433
+ * - `mode="horizontal"`: the `position` controls the width of the **left** pane.
434
+ * - `mode="vertical"`: the `position` controls the height of the **top** pane.
435
+ *
436
+ * Ref API:
437
+ * - Exposes imperative methods on `ref.current`:
438
+ * - `getMode()` to get the current mode
439
+ * - `setMode(mode)` to switch between `"horizontal"` and `"vertical"`
440
+ * - `getPosition()` to get the current splitter position
441
+ * - `setPosition(position)` to update the splitter position
442
+ *
443
+ * Events:
444
+ * - Calls `onSizeChange(position)` whenever the pane size/position changes (e.g., via dragging).
445
+ *
446
+ * Rendering:
447
+ * - Renders `children` into two separate containers (no portals).
448
+ *
449
+ * @param mode - Split direction: `"horizontal"` or `"vertical"`. Defaults to `"horizontal"`.
450
+ * @param position - Controlled splitter position. Normalized value within `[min, max]`.
451
+ * If provided, the component uses this value instead of internal state.
452
+ * @param defaultPosition - Initial splitter position for uncontrolled usage. Defaults to `0.5`.
453
+ * @param min - Minimum allowed position. Defaults to `0.1`.
454
+ * @param max - Maximum allowed position. Defaults to `0.9`.
455
+ * @param splitterSize - Thickness of the draggable splitter in pixels. Defaults to `8`.
456
+ * @param onSizeChange - Callback invoked when the position changes. Receives the new normalized position.
457
+ * @param style - Optional root container styles.
458
+ * @param className - Optional root container CSS class.
459
+ * @param leftPaneStyle - Optional styles applied to the left pane (or top pane in vertical mode).
460
+ * @param rightPaneStyle - Optional styles applied to the right pane (or bottom pane in vertical mode).
461
+ * @param splitterStyle - Optional styles applied to the splitter element.
462
+ * @param children - React children to be rendered into the two pane containers.
463
+ *
464
+ * @example
465
+ * ```tsx
466
+ * const ref = useRef<SplitPaneHandle>(null);
467
+ *
468
+ * <SplitPane
469
+ * ref={ref}
470
+ * mode="horizontal"
471
+ * defaultPosition={0.5}
472
+ * min={0.1}
473
+ * max={0.9}
474
+ * onSizeChange={(pos) => console.log(pos)}
475
+ * >
476
+ * <div /> <div />
477
+ * </SplitPane>
478
+ * ```
479
+ */
480
+ export const SplitPane = forwardRef(function SplitPane(
481
+ {
482
+ mode = "horizontal",
483
+ position, // controlled: number | undefined/null
484
+ defaultPosition = 0.5,
485
+ min = 0.1,
486
+ max = 0.9,
487
+ splitterSize = 8,
488
+ onSizeChange,
489
+ style,
490
+ className,
491
+ leftPaneStyle,
492
+ rightPaneStyle,
493
+ splitterStyle,
494
+ children,
495
+ },
496
+ ref
497
+ ) {
498
+ const containerRef = useRef(null);
499
+ const panes = Children.toArray(children);
500
+ const leftChild = panes[0] ?? null;
501
+ const rightChild = panes[1] ?? null;
502
+
503
+ const isControlled = position != null;
504
+
505
+ const [internalMode, setInternalMode] = useState(mode);
506
+
507
+ const [posUncontrolled, setPosUncontrolled] = useState(() =>
508
+ clamp(
509
+ position ?? defaultPosition,
510
+ min,
511
+ max
512
+ )
513
+ );
514
+
515
+ useEffect(() => {
516
+ if (mode != null) setInternalMode(mode);
517
+ }, [mode]);
518
+
519
+ // keep internal position clamped if min/max change (uncontrolled only)
520
+ useLayoutEffect(() => {
521
+ if (isControlled) return;
522
+ setPosUncontrolled((p) => clamp(p, min, max));
523
+ }, [min, max, isControlled]);
524
+
525
+ const posResolved = isControlled ? clamp(position, min, max) : posUncontrolled;
526
+
527
+ const setPosition = (next) => {
528
+ const clamped = clamp(next, min, max);
529
+ if (!isControlled) setPosUncontrolled(clamped);
530
+ onSizeChange?.(clamped);
531
+ };
532
+
533
+ const draggingRef = useRef(false);
534
+ const pointerIdRef = useRef(null);
535
+
536
+ const updateFromClient = (clientX, clientY) => {
537
+ const el = containerRef.current;
538
+ if (!el) return;
539
+
540
+ const rect = el.getBoundingClientRect();
541
+
542
+ if (internalMode === "horizontal") {
543
+ const usable = rect.width;
544
+ if (!Number.isFinite(usable) || usable <= 0) return; // no jump on init
545
+ const raw = (clientX - rect.left) / usable;
546
+ if (!Number.isFinite(raw)) return;
547
+ setPosition(raw);
548
+ } else {
549
+ const usable = rect.height;
550
+ if (!Number.isFinite(usable) || usable <= 0) return; // no jump on init
551
+ const raw = (clientY - rect.top) / usable;
552
+ if (!Number.isFinite(raw)) return;
553
+ setPosition(raw);
554
+ }
555
+ };
556
+
557
+ // stable global listeners: only act while draggingRef.current === true
558
+ useEffect(() => {
559
+ const onMove = (e) => {
560
+ if (!draggingRef.current) return;
561
+ if (pointerIdRef.current != null && e.pointerId !== pointerIdRef.current) return;
562
+ updateFromClient(e.clientX, e.clientY);
563
+ };
564
+
565
+ const stop = (e) => {
566
+ if (!draggingRef.current) return;
567
+ if (pointerIdRef.current != null && e.pointerId !== pointerIdRef.current) return;
568
+ draggingRef.current = false;
569
+ pointerIdRef.current = null;
570
+ };
571
+
572
+ window.addEventListener("pointermove", onMove, { passive: true });
573
+ window.addEventListener("pointerup", stop, { passive: true });
574
+ window.addEventListener("pointercancel", stop, { passive: true });
575
+
576
+ return () => {
577
+ window.removeEventListener("pointermove", onMove);
578
+ window.removeEventListener("pointerup", stop);
579
+ window.removeEventListener("pointercancel", stop);
580
+ };
581
+ }, [internalMode]); // updateFromClient uses internalMode
582
+
583
+ const onPointerDown = (e) => {
584
+ if (e.button != null && e.button !== 0) return;
585
+ e.preventDefault();
586
+
587
+ draggingRef.current = true;
588
+ pointerIdRef.current = e.pointerId;
589
+
590
+ try {
591
+ e.currentTarget.setPointerCapture?.(e.pointerId);
592
+ } catch {}
593
+
594
+ updateFromClient(e.clientX, e.clientY); // first update only if rect is sane
595
+ };
596
+
597
+ const onKeyDown = (e) => {
598
+ const step = 0.02;
599
+ let delta = 0;
600
+
601
+ if (internalMode === "horizontal") {
602
+ if (e.key === "ArrowLeft") delta = -step;
603
+ if (e.key === "ArrowRight") delta = step;
604
+ } else {
605
+ if (e.key === "ArrowUp") delta = -step;
606
+ if (e.key === "ArrowDown") delta = step;
607
+ }
608
+
609
+ if (delta !== 0) {
610
+ e.preventDefault();
611
+ setPosition(posResolved + delta);
612
+ }
613
+ };
614
+
615
+ const sizes = useMemo(() => {
616
+ const leftPct = `${posResolved * 100}%`;
617
+ const rightCalc = `calc(${100 - posResolved * 100}% - ${splitterSize}px)`;
618
+ return { leftPct, rightCalc };
619
+ }, [posResolved, splitterSize]);
620
+
621
+ const rootStyle = {
622
+ display: "flex",
623
+ width: "100%",
624
+ height: "100%",
625
+ overflow: "hidden",
626
+ touchAction: "none",
627
+ ...(style || {}),
628
+ flexDirection: internalMode === "horizontal" ? "row" : "column",
629
+ };
630
+
631
+ const leftPaneComputed =
632
+ internalMode === "horizontal"
633
+ ? { width: sizes.leftPct, flex: `0 0 ${sizes.leftPct}`, overflow: "auto", ...(leftPaneStyle || {}) }
634
+ : { height: sizes.leftPct, flex: `0 0 ${sizes.leftPct}`, overflow: "auto", ...(leftPaneStyle || {}) };
635
+
636
+ const rightPaneComputed =
637
+ internalMode === "horizontal"
638
+ ? { width: sizes.rightCalc, flex: "1 1 auto", overflow: "auto", ...(rightPaneStyle || {}) }
639
+ : { height: sizes.rightCalc, flex: "1 1 auto", overflow: "auto", ...(rightPaneStyle || {}) };
640
+
641
+ const splitterComputed =
642
+ internalMode === "horizontal"
643
+ ? { width: `${splitterSize}px`, transform: "translateX(-50%)", height: '100%', flex: `0 0 ${splitterSize}px`, background: "rgba(0,0,0,0.08)", cursor: "col-resize", ...(splitterStyle || {}) }
644
+ : { height: `${splitterSize}px`, transform: "translateY(-50%)", width: '100%', flex: `0 0 ${splitterSize}px`, background: "rgba(0,0,0,0.08)", cursor: "row-resize", ...(splitterStyle || {}) };
645
+
646
+ const dividerVisualStyle =
647
+ internalMode === "horizontal"
648
+ ? { height: "100%", width: "100%" }
649
+ : { width: "100%", height: "100%" };
650
+
651
+ useImperativeHandle(ref, () => ({
652
+ setPosition,
653
+ setMode: (nextMode) => setInternalMode(nextMode === "vertical" ? "vertical" : "horizontal"),
654
+ getPosition: () => posResolved,
655
+ getMode: () => internalMode,
656
+ }));
657
+
658
+ return (
659
+ <div ref={containerRef} className={className} style={rootStyle}>
660
+ <div style={leftPaneComputed}>{leftChild}</div>
661
+
662
+ <div
663
+ role="separator"
664
+ aria-orientation={internalMode === "horizontal" ? "vertical" : "horizontal"}
665
+ aria-valuemin={min}
666
+ aria-valuemax={max}
667
+ aria-valuenow={posResolved}
668
+ tabIndex={0}
669
+ onPointerDown={onPointerDown}
670
+ onPointerCancel={() => {
671
+ draggingRef.current = false;
672
+ pointerIdRef.current = null;
673
+ }}
674
+ onKeyDown={onKeyDown}
675
+ style={splitterComputed}
676
+ >
677
+ <div style={dividerVisualStyle} />
678
+ </div>
679
+
680
+ <div style={rightPaneComputed}>{rightChild}</div>
681
+ </div>
682
+ );
683
+ });
684
+
685
+
@@ -426,6 +426,13 @@ class ComponentCore
426
426
  this.event_detachers[al]?.();
427
427
  this.event_detachers[al] = Lilact.addWrappedEventListener(this.element, al.substring(2), patch[a]);
428
428
  }
429
+ else if( Lilact.capture_events_set.hasOwnProperty(al) ) {
430
+ const alc = Lilact.capture_events_set[al];
431
+ this.event_detachers ??= {};
432
+ this.event_detachers[al]?.();
433
+ this.event_detachers[al] =
434
+ Lilact.addWrappedEventListener(this.element, alc.substring(2), patch[a], {capture: true});
435
+ }
429
436
  else if(al==='style') {
430
437
  for(const x in patch[a]) {
431
438
  if( Lilact.length_css_attributes_set.has(x) ) {
package/src/lilact.jsx CHANGED
@@ -63,7 +63,6 @@ import * as misc from './misc.jsx';
63
63
  import * as errors from './errors.jsx';
64
64
  import * as router from './router.jsx';
65
65
  import * as accessories from './accessories.jsx';
66
- import {SplitPane} from './pane.jsx';
67
66
  import {transpileJSX, transpilerConfig} from "./jsx";
68
67
 
69
68
 
@@ -80,7 +79,6 @@ export * from './misc.jsx';
80
79
  export * from './errors.jsx';
81
80
  export * from './router.jsx';
82
81
  export * from './accessories.jsx';
83
- export {SplitPane} from './pane.jsx';
84
82
  export {transpileJSX, transpilerConfig} from "./jsx";
85
83
 
86
84
 
@@ -94,7 +92,7 @@ export {transpileJSX, transpilerConfig} from "./jsx";
94
92
  export const Lilact =
95
93
  {
96
94
 
97
- VERSION: "beta.13",
95
+ VERSION: "beta.14",
98
96
 
99
97
  // Configuration
100
98
 
@@ -117,8 +115,6 @@ export const Lilact =
117
115
  ...router,
118
116
  ...accessories,
119
117
 
120
- SplitPane,
121
-
122
118
  transpileJSX,
123
119
  transpilerConfig,
124
120
 
package/src/misc.jsx CHANGED
@@ -380,11 +380,16 @@ export const events_set = new Set([
380
380
  "onloadeddata","onloadedmetadata","onloadstart","onpause","onplay","onplaying","onprogress","onratechange",
381
381
  "onseeked","onseeking","onstalled","onsuspend","ontimeupdate","onvolumechange","onwaiting",
382
382
  "ontoggle",
383
-
384
383
  "onpointerdown", "onpointerup", "onpointermove", "onpointercancel", "onpointerover", "onpointerout",
385
384
  "onpointerenter", "onpointerleave"
386
385
  ]);
387
386
 
387
+ /** @ignore */
388
+ export const capture_events_set = {};
389
+ for (const x of events_set) {
390
+ capture_events_set[x+"capture"] = x;
391
+ }
392
+
388
393
  /** @ignore */
389
394
  export const length_css_attributes_set = new Set([
390
395
  "width","height","minWidth","minHeight","maxWidth","maxHeight","top","right","bottom","left","margin",
package/typedoc.json CHANGED
@@ -11,7 +11,6 @@
11
11
  ".tmp/accessories.js",
12
12
  ".tmp/components.js",
13
13
  ".tmp/errors.js",
14
- ".tmp/pane.js",
15
14
  // ".tmp/events.js",
16
15
  ".tmp/hooks.js",
17
16
  ".tmp/misc.js",
@@ -1 +0,0 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>pane | Lilact</title><meta name="description" content="Documentation for Lilact"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Lilact</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">pane</a></li></ul><h1>Module pane</h1></div><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Variables"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Variables</h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="splitpane"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Variable"><use href="../assets/icons.svg#icon-32"></use></svg><a href="../variables/pane.SplitPane.html">SplitPane</a><a href="#splitpane" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Variables"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Variables</summary><div><a href="#splitpane"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Variable"><use href="../assets/icons.svg#icon-32"></use></svg><span>Split<wbr/>Pane</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">Lilact</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>