@toolbox-web/grid 2.4.0 → 2.5.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 (54) hide show
  1. package/all.js +2 -2
  2. package/all.js.map +1 -1
  3. package/index.js +1 -1
  4. package/index.js.map +1 -1
  5. package/lib/core/internal/aria.d.ts +13 -0
  6. package/lib/core/types.d.ts +26 -0
  7. package/lib/plugins/clipboard/index.js.map +1 -1
  8. package/lib/plugins/column-virtualization/index.js.map +1 -1
  9. package/lib/plugins/context-menu/index.js.map +1 -1
  10. package/lib/plugins/editing/index.js +1 -1
  11. package/lib/plugins/editing/index.js.map +1 -1
  12. package/lib/plugins/editing/internal/helpers.d.ts +17 -0
  13. package/lib/plugins/export/index.js.map +1 -1
  14. package/lib/plugins/filtering/FilteringPlugin.d.ts +15 -0
  15. package/lib/plugins/filtering/index.js +1 -1
  16. package/lib/plugins/filtering/index.js.map +1 -1
  17. package/lib/plugins/grouping-columns/index.js.map +1 -1
  18. package/lib/plugins/grouping-rows/index.js.map +1 -1
  19. package/lib/plugins/master-detail/index.js.map +1 -1
  20. package/lib/plugins/multi-sort/index.js.map +1 -1
  21. package/lib/plugins/pinned-columns/index.js.map +1 -1
  22. package/lib/plugins/pinned-rows/index.js.map +1 -1
  23. package/lib/plugins/pivot/index.js.map +1 -1
  24. package/lib/plugins/print/index.js.map +1 -1
  25. package/lib/plugins/reorder-columns/index.js.map +1 -1
  26. package/lib/plugins/reorder-rows/index.js +1 -1
  27. package/lib/plugins/reorder-rows/index.js.map +1 -1
  28. package/lib/plugins/responsive/index.js.map +1 -1
  29. package/lib/plugins/row-drag-drop/RowDragDropPlugin.d.ts +40 -0
  30. package/lib/plugins/row-drag-drop/index.js +1 -1
  31. package/lib/plugins/row-drag-drop/index.js.map +1 -1
  32. package/lib/plugins/row-drag-drop/types.d.ts +22 -1
  33. package/lib/plugins/selection/index.js +1 -1
  34. package/lib/plugins/selection/index.js.map +1 -1
  35. package/lib/plugins/server-side/index.js.map +1 -1
  36. package/lib/plugins/tooltip/index.js.map +1 -1
  37. package/lib/plugins/tree/index.js.map +1 -1
  38. package/lib/plugins/undo-redo/index.js.map +1 -1
  39. package/lib/plugins/visibility/index.js.map +1 -1
  40. package/package.json +1 -1
  41. package/umd/grid.all.umd.js +1 -1
  42. package/umd/grid.all.umd.js.map +1 -1
  43. package/umd/grid.umd.js +1 -1
  44. package/umd/grid.umd.js.map +1 -1
  45. package/umd/plugins/editing.umd.js +1 -1
  46. package/umd/plugins/editing.umd.js.map +1 -1
  47. package/umd/plugins/filtering.umd.js +1 -1
  48. package/umd/plugins/filtering.umd.js.map +1 -1
  49. package/umd/plugins/reorder-rows.umd.js +1 -1
  50. package/umd/plugins/reorder-rows.umd.js.map +1 -1
  51. package/umd/plugins/row-drag-drop.umd.js +1 -1
  52. package/umd/plugins/row-drag-drop.umd.js.map +1 -1
  53. package/umd/plugins/selection.umd.js +1 -1
  54. package/umd/plugins/selection.umd.js.map +1 -1
@@ -47,6 +47,23 @@ export declare function wireEditorInputs(editorHost: HTMLElement, column: Column
47
47
  * ```
48
48
  */
49
49
  export declare function shouldPreventEditClose(config: EditingConfig, event: MouseEvent | KeyboardEvent): boolean;
50
+ /**
51
+ * Returns `true` when `target` is inside an overlay panel that is currently
52
+ * "owned" by an open combobox/listbox/menu inside `scopeEl`.
53
+ *
54
+ * Detection uses the WAI-ARIA pattern: a control with
55
+ * `aria-expanded="true"` and `aria-controls="<id>"` declares ownership of
56
+ * the panel with that id. Used by the editing plugin as a generic fallback
57
+ * so portal-rendered overlays from libraries like Downshift, Material UI,
58
+ * or Headless UI are recognised as part of the active editor without the
59
+ * consumer having to call `registerExternalFocusContainer` (#251).
60
+ *
61
+ * Cheap: only walks elements with `aria-expanded="true"` inside the
62
+ * editor scope (typically zero or one).
63
+ *
64
+ * @internal
65
+ */
66
+ export declare function isInsideOpenAriaOverlay(target: Node | null | undefined, scopeEl: HTMLElement): boolean;
50
67
  /**
51
68
  * Shallow-compare a snapshot against the current row to detect changes.
52
69
  * Returns `true` if any own-property value differs between the two objects.