@ixfx/components 0.8.6 → 0.8.8

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 (76) hide show
  1. package/bundle/index.d.ts +570 -389
  2. package/bundle/index.d.ts.map +1 -1
  3. package/bundle/index.js +1033 -200
  4. package/bundle/index.js.map +1 -1
  5. package/dist/crumbs.d.ts +1 -1
  6. package/dist/crumbs.js +2 -2
  7. package/dist/{data-grid-D-z7bx5-.d.ts → data-grid-BKa9i86q.d.ts} +15 -2
  8. package/dist/data-grid-BKa9i86q.d.ts.map +1 -0
  9. package/dist/data-grid.d.ts +3 -2
  10. package/dist/data-grid.js +95 -5
  11. package/dist/data-grid.js.map +1 -1
  12. package/dist/{detail-list-_ZJHYEBr.d.ts → detail-list-CHTomlbR.d.ts} +22 -5
  13. package/dist/detail-list-CHTomlbR.d.ts.map +1 -0
  14. package/dist/detail-list.d.ts +4 -3
  15. package/dist/detail-list.js +103 -3
  16. package/dist/detail-list.js.map +1 -1
  17. package/dist/{grid-list-j5C7qtlG.js → grid-list-C8oMxLl-.js} +77 -164
  18. package/dist/grid-list-C8oMxLl-.js.map +1 -0
  19. package/dist/{grid-list-x550wJ0X.d.ts → grid-list-CsZcXxMC.d.ts} +259 -109
  20. package/dist/grid-list-CsZcXxMC.d.ts.map +1 -0
  21. package/dist/grid-list.d.ts +3 -2
  22. package/dist/grid-list.js +1 -1
  23. package/dist/incr-search.d.ts +1 -1
  24. package/dist/{index-h6gxtfHH.d.ts → index-Dgrx-DIA.d.ts} +2 -2
  25. package/dist/{index-h6gxtfHH.d.ts.map → index-Dgrx-DIA.d.ts.map} +1 -1
  26. package/dist/index.d.ts +190 -252
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +8 -7
  29. package/dist/index.js.map +1 -1
  30. package/dist/{interaction-B9AAlsFO.js → interaction-BskmlA9t.js} +1 -1
  31. package/dist/list-drag-types-kpaXz2pZ.d.ts +42 -0
  32. package/dist/list-drag-types-kpaXz2pZ.d.ts.map +1 -0
  33. package/dist/{list-item-animation-DuiwgN3l.js → list-item-animation-BUoEKi5s.js} +29 -10
  34. package/dist/list-item-animation-BUoEKi5s.js.map +1 -0
  35. package/dist/list-native-drag-controller-DrY3qeJM.js +555 -0
  36. package/dist/list-native-drag-controller-DrY3qeJM.js.map +1 -0
  37. package/dist/{menu-HMoxCPY2.js → menu-CMXhIaNZ.js} +3 -3
  38. package/dist/{menu-HMoxCPY2.js.map → menu-CMXhIaNZ.js.map} +1 -1
  39. package/dist/{menu-item-BQDYxk5A.js → menu-item-BYGQzyCe.js} +2 -2
  40. package/dist/{menu-item-BQDYxk5A.js.map → menu-item-BYGQzyCe.js.map} +1 -1
  41. package/dist/menu.js +2 -2
  42. package/dist/miller.d.ts +2 -2
  43. package/dist/miller.js +1 -1
  44. package/dist/narrowed-text.js +1 -1
  45. package/dist/select-horiz.js +1 -1
  46. package/dist/{tree-DTQon838.js → tree-DSMn566I.js} +90 -27
  47. package/dist/tree-DSMn566I.js.map +1 -0
  48. package/dist/{tree-component-F6qZ0Gdv.d.ts → tree-component-nPP5Y-WS.d.ts} +12 -2
  49. package/dist/tree-component-nPP5Y-WS.d.ts.map +1 -0
  50. package/dist/tree.d.ts +3 -2
  51. package/dist/tree.d.ts.map +1 -1
  52. package/dist/tree.js +1 -1
  53. package/dist/{vertical-list-CFuFDygi.d.ts → vertical-list-A6oWfivZ.d.ts} +21 -4
  54. package/dist/vertical-list-A6oWfivZ.d.ts.map +1 -0
  55. package/dist/vertical-list.d.ts +3 -2
  56. package/dist/vertical-list.js +103 -3
  57. package/dist/vertical-list.js.map +1 -1
  58. package/docs-user/README.md +1 -0
  59. package/docs-user/data-grid.md +30 -0
  60. package/docs-user/data-table.md +104 -0
  61. package/docs-user/detail-list.md +29 -0
  62. package/docs-user/grid-list.md +34 -4
  63. package/docs-user/index.json +7 -2
  64. package/docs-user/llms.txt +1 -0
  65. package/docs-user/tree.md +5 -4
  66. package/docs-user/vertical-list.md +30 -1
  67. package/llms.txt +1 -0
  68. package/package.json +1 -1
  69. package/dist/data-grid-D-z7bx5-.d.ts.map +0 -1
  70. package/dist/detail-list-_ZJHYEBr.d.ts.map +0 -1
  71. package/dist/grid-list-j5C7qtlG.js.map +0 -1
  72. package/dist/grid-list-x550wJ0X.d.ts.map +0 -1
  73. package/dist/list-item-animation-DuiwgN3l.js.map +0 -1
  74. package/dist/tree-DTQon838.js.map +0 -1
  75. package/dist/tree-component-F6qZ0Gdv.d.ts.map +0 -1
  76. package/dist/vertical-list-CFuFDygi.d.ts.map +0 -1
@@ -1,118 +1,127 @@
1
- import { S as ListSearchController } from "./index-h6gxtfHH.js";
1
+ import { a as ListDragSource, i as ListDragPreviewRenderer, o as ListNativeDragStartDetail, r as ListDragPreviewContext, s as ListNativeDragStartEvent, t as ListDragEntry } from "./list-drag-types-kpaXz2pZ.js";
2
+ import { S as ListSearchController } from "./index-Dgrx-DIA.js";
2
3
  import { i as ListInteractionMode, l as ListSelectionMode } from "./list-selection-types-B5ioL-dG.js";
3
- import { n as TickledController } from "./tickled-controller-C1ZsHpyg.js";
4
- import { LitElement, PropertyValues, html } from "lit";
4
+ import { i as TickledItem, n as TickledController } from "./tickled-controller-C1ZsHpyg.js";
5
+ import { LitElement, PropertyValues, ReactiveController, ReactiveControllerHost, html } from "lit";
5
6
  import { CommandRegistry } from "@clinth/ui-commands";
6
- //#region src/grid-list/types.d.ts
7
- /**
8
- * Adapter for data-backed grid list mode.
9
- * @param T The type of data item.
10
- */
11
- type GridListDataAdapter<T> = {
12
- key: (item: T, index: number) => string;
13
- label?: (item: T, index: number) => string;
14
- render: (item: T, index: number) => unknown;
15
- disabled?: (item: T, index: number) => boolean;
16
- searchableText?: (item: T, index: number) => string;
7
+ //#region src/interaction/list-drag-select-controller.d.ts
8
+ /** Surface-relative rectangle: origin at the scroll container's top-left. */
9
+ type DragSelectRect = {
10
+ readonly x: number;
11
+ readonly y: number;
12
+ readonly width: number;
13
+ readonly height: number;
17
14
  };
18
- /**
19
- * Common detail for per-item events (activate, click, tickle), key-first in
20
- * BOTH element and data modes. `item` is the backward-compat field — Element in
21
- * element mode, T in data mode.
22
- */
23
- type GridListItemEventDetail<T = unknown> = {
24
- readonly key: string;
25
- readonly index: number;
26
- readonly item: T | Element;
27
- readonly element: Element | undefined;
15
+ type ListDragSelectControllerConfig<T> = {
16
+ /** Element the marquee is drawn in and pointer geometry is measured against. */
17
+ getSurface: () => HTMLElement | undefined;
18
+ /** Is drag-select currently allowed? (multi-capable, has items, not disabled) */
19
+ isEnabled: () => boolean;
20
+ /** Pointer types that may start a drag. Default ['mouse', 'pen'] — touch still scrolls. */
21
+ pointerTypes?: readonly string[];
22
+ /** Movement in px before a press becomes a drag. Default 4. */
23
+ threshold?: number;
24
+ /** Map a surface-relative rect to covered items. */
25
+ hitTest: (rect: DragSelectRect) => Iterable<T>;
26
+ /**
27
+ * Selection snapshotted when the drag starts, combined with the hit set
28
+ * while modifiers are held: Shift adds (`base + hit`), Cmd / Ctrl inverts
29
+ * (covered items toggle, the rest is untouched).
30
+ */
31
+ getBaseSelection: () => ReadonlySet<T>;
32
+ /** Continuous visual feedback: the preview set + current rect (undefined when idle). */
33
+ onPreview: (preview: ReadonlySet<T>, rect: DragSelectRect | undefined) => void;
34
+ /**
35
+ * Fired once on release with the final set. Host applies it to its
36
+ * selection. `additive` is `true` when the drag ran with Shift (add) or
37
+ * Cmd / Ctrl (invert) held.
38
+ */
39
+ onCommit: (finalSet: ReadonlySet<T>, info: {
40
+ additive: boolean;
41
+ }) => void;
42
+ /** Optional: scroll the surface when the pointer nears an edge during a drag. */
43
+ autoScroll?: (dx: number, dy: number) => void;
44
+ /**
45
+ * Optional predicate called on pointerdown before the controller records its
46
+ * pointer id or later calls setPointerCapture/preventDefault. Return false
47
+ * to yield to another gesture (e.g. native item drag).
48
+ */
49
+ shouldStart?: (event: PointerEvent) => boolean;
28
50
  };
51
+ type DragHost$1 = ReactiveControllerHost & HTMLElement;
29
52
  /**
30
- * How the caption relates to the cell's content.
31
- * - `hidden`: no caption is rendered.
32
- * - `separate`: content sits in a square; the caption is a detached label
33
- * below it. Square and caption are highlighted separately, like macOS
34
- * Finder icon view.
35
- * - `under` (default): the whole cell is one box — content on top, caption in
36
- * its own strip below it, inside the same box. One selection outline.
37
- * - `overlaid`: the caption floats on top of the content (see
38
- * `GridListCaptionPosition` / `GridListCaptionBackdrop`).
39
- */
40
- type GridListCaptionStyle = `hidden` | `separate` | `under` | `overlaid`;
41
- /** Horizontal alignment of caption text (`middle` is the default). */
42
- type GridListCaptionAlign = `left` | `middle` | `right`;
43
- /** Vertical placement of an `overlaid` caption (`bottom` is the default). */
44
- type GridListCaptionPosition = `top` | `middle` | `bottom`;
45
- /**
46
- * Backdrop behind an `overlaid` caption.
47
- * - `scrim` (default): flat translucent panel.
48
- * - `gradient`: translucent gradient fading away from the caption edge.
49
- * - `blur`: frosted / backdrop-blurred panel.
50
- * - `none`: no panel — caption text only, with a shadow for legibility.
51
- */
52
- type GridListCaptionBackdrop = `scrim` | `gradient` | `blur` | `none`;
53
- /**
54
- * Layout / scroll direction.
55
- * - `grid` (default): items wrap across as many columns as fit and the list
56
- * scrolls vertically.
57
- * - `row`: a single row of items that scrolls horizontally.
58
- * - `column`: a single column of items that scrolls vertically.
53
+ * Shared pointer-drag (marquee / rubber-band) selection for list components.
54
+ *
55
+ * Owns all pointer plumbing and rectangle state; knows nothing about DOM
56
+ * geometry or the selection model — those are host callbacks. Mirrors the
57
+ * `TickledController` attach pattern (`new ListDragSelectController(this, …)`).
58
+ *
59
+ * Behaviour: `pointerdown` on the surface records a start point; once the
60
+ * pointer moves past `threshold`, the surface captures the pointer and every
61
+ * move recomputes the rect, hit-tests, and calls `onPreview`. On release the
62
+ * final set is delivered once via `onCommit`. A press that never crosses the
63
+ * threshold does nothing (the normal `@click` path runs).
59
64
  */
60
- type GridListOrientation = `grid` | `row` | `column`;
61
- interface GridListSelectDetail {
62
- readonly selected: ReadonlySet<Element>;
63
- readonly previous: ReadonlySet<Element>;
64
- readonly selectedKeys: ReadonlySet<string>;
65
- readonly previousKeys: ReadonlySet<string>;
65
+ declare class ListDragSelectController<T> implements ReactiveController {
66
+ #private;
67
+ constructor(host: DragHost$1, config: ListDragSelectControllerConfig<T>);
68
+ /** `true` while a drag is in progress or its trailing click is still pending. */
69
+ get isDragging(): boolean;
70
+ /** `true` once the press has crossed the threshold and a rect is live. */
71
+ get isActive(): boolean;
72
+ hostConnected(): void;
73
+ hostDisconnected(): void;
74
+ /** Re-bind when the surface element appears/changes (e.g. first render). */
75
+ hostUpdated(): void;
66
76
  }
67
- type GridListSelectEvent = CustomEvent<GridListSelectDetail>;
77
+ //#endregion
78
+ //#region src/interaction/list-native-drag-controller.d.ts
79
+ type ListNativeDragControllerConfig<T> = {
80
+ readonly source: ListDragSource;
81
+ /** `itemsDraggable && selection usable` */
82
+ isEnabled: () => boolean;
83
+ /** Event target → item key, or `undefined` when the drag did not start on an item. */
84
+ resolveEventToKey: (target: EventTarget | null) => string | undefined;
85
+ /**
86
+ * Apply the origin rule (origin ∉ selection ⇒ replace with origin); return
87
+ * display-ordered `{ origin, selected }` for both modes, or `undefined` when
88
+ * the origin is not selectable.
89
+ */
90
+ prepareSelection: (originKey: string) => {
91
+ origin: ListDragEntry<T>;
92
+ selected: Array<ListDragEntry<T>>;
93
+ } | undefined;
94
+ getMetrics: () => ListDragPreviewContext<T>[`metrics`];
95
+ getRenderer: () => ListDragPreviewRenderer<T> | undefined;
96
+ /** Fire the cancelable `list-native-drag-start`; return `!defaultPrevented`. */
97
+ dispatch: (detail: ListNativeDragStartDetail<T>) => boolean;
98
+ /** Host toggles `data-native-dragging` / `aria-label`, re-renders. */
99
+ onActiveChange: (active: boolean, originKey?: string) => void;
100
+ /** Host clears state + starts its post-drag click-suppress timer. */
101
+ onEnd: () => void;
102
+ /** Optional: sync `draggable` on light-DOM / slotted children while enabled. */
103
+ syncLightDomDraggable?: () => void;
104
+ };
105
+ type DragHost = ReactiveControllerHost & HTMLElement;
68
106
  /**
69
- * `item` is the backward-compatible field: the light-DOM `Element` in element
70
- * mode, the data value `T` in data mode. Use `element` when you specifically
71
- * need the DOM node (`undefined` in data mode). `key` / `index` are the stable
72
- * contract in both modes.
107
+ * Shared native item/row drag-out for list components.
108
+ *
109
+ * Owns capture-phase `dragstart` / `dragend` listeners on the host and its
110
+ * render root, a `MutationObserver` that keeps light-DOM / slotted item `draggable`
111
+ * attributes in sync, and a single post-dispatch disposal on
112
+ * `requestAnimationFrame`. All DOM / selection knowledge lives in the host
113
+ * config callbacks.
73
114
  */
74
- interface GridListActivateDetail {
75
- readonly item: unknown;
76
- readonly key: string;
77
- readonly index: number;
78
- readonly element: Element | undefined;
79
- }
80
- type GridListActivateEvent = CustomEvent<GridListActivateDetail>;
81
- interface GridListItemClickDetail {
82
- readonly item: unknown;
83
- readonly key: string;
84
- readonly index: number;
85
- readonly element: Element | undefined;
86
- }
87
- type GridListItemClickEvent = CustomEvent<GridListItemClickDetail>;
88
- interface GridListTickleDetail {
89
- readonly item: unknown;
90
- readonly key: string;
91
- readonly index: number;
92
- readonly element: Element | undefined;
93
- }
94
- type GridListTickleEvent = CustomEvent<GridListTickleDetail>;
95
- interface GridListElementEventMap {
96
- 'list-select': GridListSelectEvent;
97
- 'list-activate': GridListActivateEvent;
98
- 'list-item-click': GridListItemClickEvent;
99
- 'list-tickle': GridListTickleEvent;
100
- }
101
- type GridListViewportChangeDetail = {
102
- readonly renderedKeys: string[];
103
- readonly visibleKeys: string[];
104
- };
105
- type GridListViewportChangeEvent = CustomEvent<GridListViewportChangeDetail>;
106
- interface GridListNativeDragStartDetail<T = unknown> {
107
- readonly key: string;
108
- readonly index: number;
109
- readonly item: T | Element;
110
- readonly selectedKeys: readonly string[];
111
- }
112
- type GridListNativeDragStartEvent<T = unknown> = CustomEvent<GridListNativeDragStartDetail<T>>;
113
- interface GridListFullElementEventMap extends GridListElementEventMap {
114
- 'grid-list-viewport-change': GridListViewportChangeEvent;
115
- 'grid-list-native-drag-start': GridListNativeDragStartEvent;
115
+ declare class ListNativeDragController<T> implements ReactiveController {
116
+ #private;
117
+ constructor(host: DragHost, config: ListNativeDragControllerConfig<T>);
118
+ get isDragging(): boolean;
119
+ /** `"true"` when enabled, else `"false"` — for shadow-row template bindings. */
120
+ get draggableAttr(): string;
121
+ /** Re-run the light-DOM `draggable` sync (e.g. after `itemsDraggable` flips). */
122
+ refreshDraggable(): void;
123
+ hostConnected(): void;
124
+ hostDisconnected(): void;
116
125
  }
117
126
  //#endregion
118
127
  //#region src/interaction/list-selection-controller.d.ts
@@ -270,6 +279,140 @@ declare class ListSelectionController<T> {
270
279
  seed(items: Iterable<T>, anchor?: T): void;
271
280
  }
272
281
  //#endregion
282
+ //#region src/interaction/tree-keyboard-controller.d.ts
283
+ type TreeKeyboardNavItemId = string;
284
+ type TreeKeyboardNavCallbacks = {
285
+ getItems: () => ReadonlyArray<TickledItem<TreeKeyboardNavItemId>>;
286
+ onExpand: (id: TreeKeyboardNavItemId) => void;
287
+ onCollapse: (id: TreeKeyboardNavItemId) => void;
288
+ onActivate: (id: TreeKeyboardNavItemId) => void;
289
+ onSelect?: (id: TreeKeyboardNavItemId) => void;
290
+ onEscape?: () => void;
291
+ isLeaf: (id: TreeKeyboardNavItemId) => boolean;
292
+ isExpanded: (id: TreeKeyboardNavItemId) => boolean;
293
+ getParentId?: (id: TreeKeyboardNavItemId) => TreeKeyboardNavItemId | undefined;
294
+ };
295
+ type TreeKeyboardNavControllerConfig = {
296
+ callbacks: TreeKeyboardNavCallbacks;
297
+ disableKeyboardNavigation?: () => boolean;
298
+ };
299
+ declare class TreeKeyboardNavController implements ReactiveController {
300
+ #private;
301
+ private host;
302
+ private tickled;
303
+ private callbacks;
304
+ private disableKeyboardNavigation;
305
+ constructor(host: ReactiveControllerHost, tickled: TickledController<TreeKeyboardNavItemId>, config: TreeKeyboardNavControllerConfig);
306
+ hostConnected(): void;
307
+ hostDisconnected(): void;
308
+ handleKeyDown: (event: KeyboardEvent) => void;
309
+ }
310
+ //#endregion
311
+ //#region src/grid-list/types.d.ts
312
+ /**
313
+ * Adapter for data-backed grid list mode.
314
+ * @param T The type of data item.
315
+ */
316
+ type GridListDataAdapter<T> = {
317
+ key: (item: T, index: number) => string;
318
+ label?: (item: T, index: number) => string;
319
+ render: (item: T, index: number) => unknown;
320
+ disabled?: (item: T, index: number) => boolean;
321
+ searchableText?: (item: T, index: number) => string;
322
+ };
323
+ /**
324
+ * Common detail for per-item events (activate, click, tickle), key-first in
325
+ * BOTH element and data modes. `item` is the backward-compat field — Element in
326
+ * element mode, T in data mode.
327
+ */
328
+ type GridListItemEventDetail<T = unknown> = {
329
+ readonly key: string;
330
+ readonly index: number;
331
+ readonly item: T | Element;
332
+ readonly element: Element | undefined;
333
+ };
334
+ /**
335
+ * How the caption relates to the cell's content.
336
+ * - `hidden`: no caption is rendered.
337
+ * - `separate`: content sits in a square; the caption is a detached label
338
+ * below it. Square and caption are highlighted separately, like macOS
339
+ * Finder icon view.
340
+ * - `under` (default): the whole cell is one box — content on top, caption in
341
+ * its own strip below it, inside the same box. One selection outline.
342
+ * - `overlaid`: the caption floats on top of the content (see
343
+ * `GridListCaptionPosition` / `GridListCaptionBackdrop`).
344
+ */
345
+ type GridListCaptionStyle = `hidden` | `separate` | `under` | `overlaid`;
346
+ /** Horizontal alignment of caption text (`middle` is the default). */
347
+ type GridListCaptionAlign = `left` | `middle` | `right`;
348
+ /** Vertical placement of an `overlaid` caption (`bottom` is the default). */
349
+ type GridListCaptionPosition = `top` | `middle` | `bottom`;
350
+ /**
351
+ * Backdrop behind an `overlaid` caption.
352
+ * - `scrim` (default): flat translucent panel.
353
+ * - `gradient`: translucent gradient fading away from the caption edge.
354
+ * - `blur`: frosted / backdrop-blurred panel.
355
+ * - `none`: no panel — caption text only, with a shadow for legibility.
356
+ */
357
+ type GridListCaptionBackdrop = `scrim` | `gradient` | `blur` | `none`;
358
+ /**
359
+ * Layout / scroll direction.
360
+ * - `grid` (default): items wrap across as many columns as fit and the list
361
+ * scrolls vertically.
362
+ * - `row`: a single row of items that scrolls horizontally.
363
+ * - `column`: a single column of items that scrolls vertically.
364
+ */
365
+ type GridListOrientation = `grid` | `row` | `column`;
366
+ interface GridListSelectDetail {
367
+ readonly selected: ReadonlySet<Element>;
368
+ readonly previous: ReadonlySet<Element>;
369
+ readonly selectedKeys: ReadonlySet<string>;
370
+ readonly previousKeys: ReadonlySet<string>;
371
+ }
372
+ type GridListSelectEvent = CustomEvent<GridListSelectDetail>;
373
+ /**
374
+ * `item` is the backward-compatible field: the light-DOM `Element` in element
375
+ * mode, the data value `T` in data mode. Use `element` when you specifically
376
+ * need the DOM node (`undefined` in data mode). `key` / `index` are the stable
377
+ * contract in both modes.
378
+ */
379
+ interface GridListActivateDetail {
380
+ readonly item: unknown;
381
+ readonly key: string;
382
+ readonly index: number;
383
+ readonly element: Element | undefined;
384
+ }
385
+ type GridListActivateEvent = CustomEvent<GridListActivateDetail>;
386
+ interface GridListItemClickDetail {
387
+ readonly item: unknown;
388
+ readonly key: string;
389
+ readonly index: number;
390
+ readonly element: Element | undefined;
391
+ }
392
+ type GridListItemClickEvent = CustomEvent<GridListItemClickDetail>;
393
+ interface GridListTickleDetail {
394
+ readonly item: unknown;
395
+ readonly key: string;
396
+ readonly index: number;
397
+ readonly element: Element | undefined;
398
+ }
399
+ type GridListTickleEvent = CustomEvent<GridListTickleDetail>;
400
+ interface GridListElementEventMap {
401
+ 'list-select': GridListSelectEvent;
402
+ 'list-activate': GridListActivateEvent;
403
+ 'list-item-click': GridListItemClickEvent;
404
+ 'list-tickle': GridListTickleEvent;
405
+ }
406
+ type GridListViewportChangeDetail = {
407
+ readonly renderedKeys: string[];
408
+ readonly visibleKeys: string[];
409
+ };
410
+ type GridListViewportChangeEvent = CustomEvent<GridListViewportChangeDetail>;
411
+ interface GridListFullElementEventMap extends GridListElementEventMap {
412
+ 'grid-list-viewport-change': GridListViewportChangeEvent;
413
+ 'list-native-drag-start': ListNativeDragStartEvent;
414
+ }
415
+ //#endregion
273
416
  //#region src/pan-text/pan-text.d.ts
274
417
  type PanTextMode = `hover` | `loop`;
275
418
  declare class PanTextElement extends LitElement {
@@ -394,9 +537,16 @@ declare class GridListElement<T = unknown> extends LitElement {
394
537
  /**
395
538
  * Enable native browser drag-and-drop for selectable items. When true,
396
539
  * selectable cells become draggable and the grid emits
397
- * `grid-list-native-drag-start` when a drag begins.
540
+ * `list-native-drag-start` when a drag begins.
398
541
  */
399
542
  itemsDraggable: boolean;
543
+ /**
544
+ * Custom drag preview renderer. Receives the selection snapshot and returns
545
+ * an element for `DataTransfer.setDragImage()` plus an optional pre-painted
546
+ * canvas for native hosts. Synchronous by contract — pre-decode thumbnails
547
+ * as selection changes. Defaults to the shared built-in preview.
548
+ */
549
+ dragPreviewRenderer: ListDragPreviewRenderer<T> | undefined;
400
550
  searchModes: string | undefined;
401
551
  /**
402
552
  * Data items for data-backed mode. When set along with `itemAdapter`, the
@@ -530,5 +680,5 @@ interface GridListElement {
530
680
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
531
681
  }
532
682
  //#endregion
533
- export { GridListOrientation as C, GridListTickleEvent as D, GridListTickleDetail as E, GridListViewportChangeDetail as O, GridListNativeDragStartEvent as S, GridListSelectEvent as T, GridListFullElementEventMap as _, ListSelectionControllerConfig as a, GridListItemEventDetail as b, isMultiMode as c, GridListCaptionAlign as d, GridListCaptionBackdrop as f, GridListElementEventMap as g, GridListDataAdapter as h, ListSelectionController as i, GridListViewportChangeEvent as k, GridListActivateDetail as l, GridListCaptionStyle as m, PanTextElement as n, ListSelectionGesture as o, GridListCaptionPosition as p, PanTextMode as r, ListSelectionModes as s, GridListElement as t, GridListActivateEvent as u, GridListItemClickDetail as v, GridListSelectDetail as w, GridListNativeDragStartDetail as x, GridListItemClickEvent as y };
534
- //# sourceMappingURL=grid-list-x550wJ0X.d.ts.map
683
+ export { ListSelectionModes as A, TreeKeyboardNavCallbacks as C, ListSelectionController as D, TreeKeyboardNavItemId as E, ListDragSelectController as F, ListDragSelectControllerConfig as I, ListNativeDragController as M, ListNativeDragControllerConfig as N, ListSelectionControllerConfig as O, DragSelectRect as P, GridListViewportChangeEvent as S, TreeKeyboardNavControllerConfig as T, GridListSelectDetail as _, GridListActivateEvent as a, GridListTickleEvent as b, GridListCaptionPosition as c, GridListElementEventMap as d, GridListFullElementEventMap as f, GridListOrientation as g, GridListItemEventDetail as h, GridListActivateDetail as i, isMultiMode as j, ListSelectionGesture as k, GridListCaptionStyle as l, GridListItemClickEvent as m, PanTextElement as n, GridListCaptionAlign as o, GridListItemClickDetail as p, PanTextMode as r, GridListCaptionBackdrop as s, GridListElement as t, GridListDataAdapter as u, GridListSelectEvent as v, TreeKeyboardNavController as w, GridListViewportChangeDetail as x, GridListTickleDetail as y };
684
+ //# sourceMappingURL=grid-list-CsZcXxMC.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid-list-CsZcXxMC.d.ts","names":[],"sources":["../src/interaction/list-drag-select-controller.ts","../src/interaction/list-native-drag-controller.ts","../src/interaction/list-selection-controller.ts","../src/interaction/tree-keyboard-controller.ts","../src/grid-list/types.ts","../src/pan-text/pan-text.ts","../src/grid-list/grid-list.ts"],"mappings":";;;;;;;;KAGY;WACD;WACA;WACA;WACA;;KAGC,+BAA+B;;EAEzC,kBAAkB;;EAElB;;EAEA;;EAEA;;EAEA,UAAU,MAAM,mBAAmB,SAAS;;;;;;EAM5C,wBAAwB,YAAY;;EAEpC,YAAY,SAAS,YAAY,IAAI,MAAM;;;;;;EAM3C,WAAW,UAAU,YAAY,IAAI;IAAQ;;;EAE7C,cAAc,YAAY;;;;;;EAM1B,eAAe,OAAO;;KAGnB,aAAW,yBAAyB;;;;;;;;;;;;;;cAsB5B,yBAAyB,cAAc;;EAuBtC,YAAA,MAAM,YAAU,QAAQ,+BAA+B;;MAO/D;;MAKA;EAIJ;EAOA;;EAUA;;;;KChHU,+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-1,3 +1,4 @@
1
+ import { a as ListDragSource, i as ListDragPreviewRenderer, n as ListDragPreview, o as ListNativeDragStartDetail, r as ListDragPreviewContext, s as ListNativeDragStartEvent, t as ListDragEntry } from "./list-drag-types-kpaXz2pZ.js";
1
2
  import { i as ListInteractionMode, l as ListSelectionMode } from "./list-selection-types-B5ioL-dG.js";
2
- import { C as GridListOrientation, D as GridListTickleEvent, E as GridListTickleDetail, O as GridListViewportChangeDetail, S as GridListNativeDragStartEvent, T as GridListSelectEvent, _ as GridListFullElementEventMap, b as GridListItemEventDetail, d as GridListCaptionAlign, f as GridListCaptionBackdrop, g as GridListElementEventMap, h as GridListDataAdapter, k as GridListViewportChangeEvent, l as GridListActivateDetail, m as GridListCaptionStyle, p as GridListCaptionPosition, t as GridListElement, u as GridListActivateEvent, v as GridListItemClickDetail, w as GridListSelectDetail, x as GridListNativeDragStartDetail, y as GridListItemClickEvent } from "./grid-list-x550wJ0X.js";
3
- export { type GridListActivateDetail, type GridListActivateEvent, type GridListCaptionAlign, type GridListCaptionBackdrop, type GridListCaptionPosition, type GridListCaptionStyle, type GridListDataAdapter, GridListElement, type GridListElementEventMap, type GridListFullElementEventMap, type GridListItemClickDetail, type GridListItemClickEvent, type GridListItemEventDetail, type GridListNativeDragStartDetail, type GridListNativeDragStartEvent, type GridListOrientation, type GridListSelectDetail, type GridListSelectEvent, type GridListTickleDetail, type GridListTickleEvent, type GridListViewportChangeDetail, type GridListViewportChangeEvent, type ListInteractionMode, type ListSelectionMode };
3
+ import { S as GridListViewportChangeEvent, _ as GridListSelectDetail, a as GridListActivateEvent, b as GridListTickleEvent, c as GridListCaptionPosition, d as GridListElementEventMap, f as GridListFullElementEventMap, g as GridListOrientation, h as GridListItemEventDetail, i as GridListActivateDetail, l as GridListCaptionStyle, m as GridListItemClickEvent, o as GridListCaptionAlign, p as GridListItemClickDetail, s as GridListCaptionBackdrop, t as GridListElement, u as GridListDataAdapter, v as GridListSelectEvent, x as GridListViewportChangeDetail, y as GridListTickleDetail } from "./grid-list-CsZcXxMC.js";
4
+ export { type GridListActivateDetail, type GridListActivateEvent, type GridListCaptionAlign, type GridListCaptionBackdrop, type GridListCaptionPosition, type GridListCaptionStyle, type GridListDataAdapter, GridListElement, type GridListElementEventMap, type GridListFullElementEventMap, type GridListItemClickDetail, type GridListItemClickEvent, type GridListItemEventDetail, type GridListOrientation, type GridListSelectDetail, type GridListSelectEvent, type GridListTickleDetail, type GridListTickleEvent, type GridListViewportChangeDetail, type GridListViewportChangeEvent, type ListDragEntry, type ListDragPreview, type ListDragPreviewContext, type ListDragPreviewRenderer, type ListDragSource, type ListInteractionMode, type ListNativeDragStartDetail, type ListNativeDragStartEvent, type ListSelectionMode };
package/dist/grid-list.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as GridListElement } from "./grid-list-j5C7qtlG.js";
1
+ import { t as GridListElement } from "./grid-list-C8oMxLl-.js";
2
2
  export { GridListElement };
@@ -1,2 +1,2 @@
1
- import { A as FuzzySearch, C as ListSearchControllerOptions, D as IncrSearchTreeOptions, E as IncrSearchTreeController, F as IncrSearchChangeCallback, I as IncrSearchOptions, L as IncrSearchResult, M as HighlightOptions, N as HighlightTarget, O as createAcCompletionProvider, P as IncrSearch, R as IncrSearchState, S as ListSearchController, T as ListSearchMode, _ as DataListSearchAdapterOptions, a as RegisterListSearchCommandsOptions, b as LIST_SEARCH_MODES, c as applyHighlights, d as createFuzzySearch, f as ElementIncrSearch, g as createElementListSearchAdapter, h as ElementListSearchHost, i as LIST_SEARCH_COMMAND_IDS, j as FuzzySearchOptions, k as ElementIncrSearchOptions, l as buildHighlightTargets, m as ElementListSearchAdapterOptions, n as createTreeListSearchAdapter, o as registerListSearchCommands, p as createElementIncrSearch, r as listSearchStyles, s as createIncrSearch, t as TreeListSearchAdapterOptions, u as clearHighlights, v as DataListSearchItem, w as ListSearchHost, x as ListSearchAdapter, y as createDataListSearchAdapter } from "./index-h6gxtfHH.js";
1
+ import { A as FuzzySearch, C as ListSearchControllerOptions, D as IncrSearchTreeOptions, E as IncrSearchTreeController, F as IncrSearchChangeCallback, I as IncrSearchOptions, L as IncrSearchResult, M as HighlightOptions, N as HighlightTarget, O as createAcCompletionProvider, P as IncrSearch, R as IncrSearchState, S as ListSearchController, T as ListSearchMode, _ as DataListSearchAdapterOptions, a as RegisterListSearchCommandsOptions, b as LIST_SEARCH_MODES, c as applyHighlights, d as createFuzzySearch, f as ElementIncrSearch, g as createElementListSearchAdapter, h as ElementListSearchHost, i as LIST_SEARCH_COMMAND_IDS, j as FuzzySearchOptions, k as ElementIncrSearchOptions, l as buildHighlightTargets, m as ElementListSearchAdapterOptions, n as createTreeListSearchAdapter, o as registerListSearchCommands, p as createElementIncrSearch, r as listSearchStyles, s as createIncrSearch, t as TreeListSearchAdapterOptions, u as clearHighlights, v as DataListSearchItem, w as ListSearchHost, x as ListSearchAdapter, y as createDataListSearchAdapter } from "./index-Dgrx-DIA.js";
2
2
  export { type DataListSearchAdapterOptions, type DataListSearchItem, type ElementIncrSearch, type ElementIncrSearchOptions, type ElementListSearchAdapterOptions, type ElementListSearchHost, type FuzzySearch, type FuzzySearchOptions, type HighlightOptions, type HighlightTarget, type IncrSearch, type IncrSearchChangeCallback, IncrSearchTreeController as IncrSearchMillerController, IncrSearchTreeController, type IncrSearchTreeOptions as IncrSearchMillerOptions, type IncrSearchTreeOptions, type IncrSearchOptions, type IncrSearchResult, type IncrSearchState, LIST_SEARCH_COMMAND_IDS, LIST_SEARCH_MODES, type ListSearchAdapter, ListSearchController, type ListSearchControllerOptions, type ListSearchHost, type ListSearchMode, type RegisterListSearchCommandsOptions, type TreeListSearchAdapterOptions, applyHighlights, buildHighlightTargets, clearHighlights, createAcCompletionProvider, createDataListSearchAdapter, createElementIncrSearch, createElementListSearchAdapter, createFuzzySearch, createIncrSearch, createTreeListSearchAdapter, listSearchStyles, registerListSearchCommands };
@@ -1,5 +1,5 @@
1
1
  import { o as TreeNode } from "./types-Bc23SI94.js";
2
- import { d as TreeSearchHost } from "./tree-component-F6qZ0Gdv.js";
2
+ import { p as TreeSearchHost } from "./tree-component-nPP5Y-WS.js";
3
3
  import { ReactiveController, ReactiveControllerHost, TemplateResult, nothing } from "lit";
4
4
  import { FzfOptions } from "fzf";
5
5
  import { CommandRegistry } from "@clinth/ui-commands";
@@ -394,4 +394,4 @@ interface TreeListSearchAdapterOptions {
394
394
  declare function createTreeListSearchAdapter(host: TreeSearchHost, options?: TreeListSearchAdapterOptions): ListSearchAdapter<TreeSearchItem>;
395
395
  //#endregion
396
396
  export { FuzzySearch as A, ListSearchControllerOptions as C, IncrSearchTreeOptions as D, IncrSearchTreeController as E, IncrSearchChangeCallback as F, IncrSearchOptions as I, IncrSearchResult as L, HighlightOptions as M, HighlightTarget as N, createAcCompletionProvider as O, IncrSearch as P, IncrSearchState as R, ListSearchController as S, ListSearchMode as T, DataListSearchAdapterOptions as _, RegisterListSearchCommandsOptions as a, LIST_SEARCH_MODES as b, applyHighlights as c, createFuzzySearch as d, ElementIncrSearch as f, createElementListSearchAdapter as g, ElementListSearchHost as h, LIST_SEARCH_COMMAND_IDS as i, FuzzySearchOptions as j, ElementIncrSearchOptions as k, buildHighlightTargets as l, ElementListSearchAdapterOptions as m, createTreeListSearchAdapter as n, registerListSearchCommands as o, createElementIncrSearch as p, listSearchStyles as r, createIncrSearch as s, TreeListSearchAdapterOptions as t, clearHighlights as u, DataListSearchItem as v, ListSearchHost as w, ListSearchAdapter as x, createDataListSearchAdapter as y };
397
- //# sourceMappingURL=index-h6gxtfHH.d.ts.map
397
+ //# sourceMappingURL=index-Dgrx-DIA.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-h6gxtfHH.d.ts","names":[],"sources":["../src/incr-search/types.ts","../src/incr-search/ac-adapter.ts","../src/incr-search/controller-tree.ts","../src/incr-search/list-search-controller.ts","../src/incr-search/data-list-search-adapter.ts","../src/incr-search/element-list-search-adapter.ts","../src/incr-search/element-search.ts","../src/incr-search/fuzzy.ts","../src/incr-search/highlight.ts","../src/incr-search/incr-search.ts","../src/incr-search/list-search-commands.ts","../src/incr-search/list-search-styles.ts","../src/incr-search/tree-list-search-adapter.ts"],"mappings":";;;;;;KAGY,iBAAiB;WAClB,MAAM;WACN,WAAW;WACX;;KAIC,gBAAgB;WACjB;WACA,SAAS,cAAc,iBAAiB;WAExC,iBAAiB,YAAY,GAAG;;KAG/B,yBAAyB,MAAM,OAAO,gBAAgB;KAEtD,kBAAkB;WACnB,iBAAiB;WACjB,YAAY,MAAM;WAClB,MAAM,QAAQ,WAAW;WACzB,WAAW,yBAAyB;;KAInC,WAAW;WACZ,WAAW,gBAAgB,KAAK,SAAS,gBAAgB;WACzD,WAAW,eAAe,SAAS,gBAAgB,QAAQ,gBAAgB;WAC3E,kBAAkB;WAClB,OAAO,gBAAgB;WACvB,WAAW,IAAI,yBAAyB;WACxC;;KAGC,mBAAmB;WACpB,YAAY,MAAM;WAClB,MAAM,QAAQ,WAAW;;KAGxB,YAAY;WACb,OAAO,kBAAkB,cAAc,iBAAiB;WACxD,gBAAgB;;KAIf;WACD,SAAS;WACT;WACA,WAAW;;KAGV;WACD;;KAGC;WACD,WAAW;WACX;WACA,YAAY,IAAI;WAChB,UAAU,IAAI;WACd;WACA;WACA,MAAM,QAAQ;IAAa;IAAa;;WACxC,WAAW;IAA2B;IAAa;;;;;;;;;;;;;;;;iBCnD9C,2BAA2B;EAAY;GACrD,gBAAgB,KAChB,UAAS,KAAK,mBAAmB,mBAC/B,eAAe,QAAQ,gBAAgB,QAAQ,MAAM;EAAM,WAAW;;;;KCR9D;EACV,WAAW;IAAQ,MAAM;IAAU;;;;;;;EAMnC;EACA;EACA,QAAQ;EACR,MAAM,QAAQ;IAAa,MAAM;IAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+BhC;;EAOC,YAAA,IAAI,gBAAgB,MAAM;EAStC;EAiBA;EAcM,SAAS,gBAAgB;EAIzB,cAAc;;;;;;;;;;;;;KCrFV;;cAGC,4BAA4B;KAKpC;W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,MAAM,2BAA2B;;;iBCpBzD,kBAAkB,GAChC,gBAAgB,KAChB,UAAS,mBAAmB,KAC3B,YAAY;;;iBCfC,gBACd,kBAAkB,mBAClB,UAAS;iBA+BK,gBAAgB,UAAS;iBAMzB,sBAAsB,GACpC,MAAM,aAAa,SACnB,sBACA,iBAAiB,YAAY,GAAG,sBAChC,UAAU,IAAI,YAAY,eAC1B,UAAU,IAAI,qBACb;;;iBC7Ba,iBAAiB,GAAG,UAAS,kBAAkB,KAAU,WAAW;;;;cChBvE,yBAAyB,SAAS,OAAO;UAYrC;;;;;;;EAOf;;;;;;;;iBASc,2BAA2B,GACzC,UAAU,0BACV,YAAY,qBAAqB,IACjC,UAAS;;;;;;;;;;;;;;cCtBE,gCAAgB;;;KCTxB;EAAmB,MAAM;EAAU;;UAEvB;;EAEf;;EAEA;EACA,YAAY,MAAM;;;;;;;;;;iBAWJ,4BACd,MAAM,gBACN,UAAS,+BACR,kBAAkB"}
1
+ {"version":3,"file":"index-Dgrx-DIA.d.ts","names":[],"sources":["../src/incr-search/types.ts","../src/incr-search/ac-adapter.ts","../src/incr-search/controller-tree.ts","../src/incr-search/list-search-controller.ts","../src/incr-search/data-list-search-adapter.ts","../src/incr-search/element-list-search-adapter.ts","../src/incr-search/element-search.ts","../src/incr-search/fuzzy.ts","../src/incr-search/highlight.ts","../src/incr-search/incr-search.ts","../src/incr-search/list-search-commands.ts","../src/incr-search/list-search-styles.ts","../src/incr-search/tree-list-search-adapter.ts"],"mappings":";;;;;;KAGY,iBAAiB;WAClB,MAAM;WACN,WAAW;WACX;;KAIC,gBAAgB;WACjB;WACA,SAAS,cAAc,iBAAiB;WAExC,iBAAiB,YAAY,GAAG;;KAG/B,yBAAyB,MAAM,OAAO,gBAAgB;KAEtD,kBAAkB;WACnB,iBAAiB;WACjB,YAAY,MAAM;WAClB,MAAM,QAAQ,WAAW;WACzB,WAAW,yBAAyB;;KAInC,WAAW;WACZ,WAAW,gBAAgB,KAAK,SAAS,gBAAgB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