@1771technologies/lytenyte-pro 1.0.0-beta.1 → 1.0.0-beta.3

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 (90) hide show
  1. package/dist/cell-selection/adjust-rect-for-row-and-cell-span.d.ts +1 -1
  2. package/dist/cell-selection/adjust-rect-for-row-and-cell-span.js +1 -1
  3. package/dist/cell-selection/are-rects-equal.d.ts +1 -1
  4. package/dist/cell-selection/bound-selection-rect.d.ts +1 -1
  5. package/dist/cell-selection/deselect-rect-range.d.ts +1 -1
  6. package/dist/cell-selection/deselect-rect-range.js +1 -1
  7. package/dist/cell-selection/expand-cell-selection-down.d.ts +2 -2
  8. package/dist/cell-selection/expand-cell-selection-down.js +1 -1
  9. package/dist/cell-selection/expand-cell-selection-end.d.ts +2 -2
  10. package/dist/cell-selection/expand-cell-selection-end.js +1 -1
  11. package/dist/cell-selection/expand-cell-selection-start.d.ts +2 -2
  12. package/dist/cell-selection/expand-cell-selection-start.js +1 -1
  13. package/dist/cell-selection/expand-cell-selection-up.d.ts +2 -2
  14. package/dist/cell-selection/expand-cell-selection-up.js +1 -1
  15. package/dist/cell-selection/full-width-start-end-index.d.ts +1 -1
  16. package/dist/cell-selection/get-root-cell.d.ts +1 -1
  17. package/dist/cell-selection/get-root-cell.js +2 -2
  18. package/dist/cell-selection/is-bottom-rect.d.ts +1 -1
  19. package/dist/cell-selection/is-center-col-rect.d.ts +1 -1
  20. package/dist/cell-selection/is-center-rect.d.ts +1 -1
  21. package/dist/cell-selection/is-end-rect.d.ts +1 -1
  22. package/dist/cell-selection/is-overlapping-rect.d.ts +1 -1
  23. package/dist/cell-selection/is-start-rect.d.ts +1 -1
  24. package/dist/cell-selection/is-top-rect.d.ts +1 -1
  25. package/dist/cell-selection/is-within-selection-rect.d.ts +1 -1
  26. package/dist/cell-selection/split-cell-selection-rect.d.ts +1 -1
  27. package/dist/cell-selection/update-additive-cell-selection.d.ts +2 -2
  28. package/dist/cell-selection/update-additive-cell-selection.js +4 -4
  29. package/dist/cell-selection/use-edge-scroll.d.ts +2 -2
  30. package/dist/column-manager/use-column-manager.d.ts +2 -2
  31. package/dist/column-manager/use-column-manager.js +1 -1
  32. package/dist/column-manager/use-columns-from-context.d.ts +2 -2
  33. package/dist/column-manager/use-columns-from-context.js +1 -1
  34. package/dist/filter-tree/filter-tree.d.ts +7 -7
  35. package/dist/filter-tree/filter-tree.js +8 -8
  36. package/dist/filter-tree/hooks/use-tree-item.d.ts +2 -2
  37. package/dist/filter-tree/hooks/use-tree-item.js +2 -2
  38. package/dist/grid-box/+types.d.ts +1 -1
  39. package/dist/grid-box/context.d.ts +1 -1
  40. package/dist/grid-box/use-aggregation-box-items.d.ts +2 -2
  41. package/dist/grid-box/use-column-box-items.d.ts +2 -2
  42. package/dist/grid-box/use-row-group-box-items.d.ts +2 -2
  43. package/dist/grid-provider/context.d.ts +2 -2
  44. package/dist/grid-provider/provider.d.ts +2 -2
  45. package/dist/grid-provider/provider.js +1 -1
  46. package/dist/grid-provider/use-grid.d.ts +2 -2
  47. package/dist/grid-provider/use-grid.js +1 -1
  48. package/dist/grid.d.ts +1 -0
  49. package/dist/grid.js +2 -0
  50. package/dist/header/use-drag-move.d.ts +2 -2
  51. package/dist/row-data-source-client/built-ins/built-ins.d.ts +1 -1
  52. package/dist/row-data-source-client/built-ins/built-ins.js +1 -1
  53. package/dist/row-data-source-client/pivots/create-pivot-columns.js +2 -2
  54. package/dist/row-data-source-client/tree/evaluator-aggregation.d.ts +1 -1
  55. package/dist/row-data-source-client/tree/evaluator-group.d.ts +1 -1
  56. package/dist/row-data-source-client/tree/traverse.d.ts +1 -1
  57. package/dist/row-data-source-client/tree/traverse.js +1 -1
  58. package/dist/row-data-source-client/use-client-data-source-paginated.d.ts +2 -2
  59. package/dist/row-data-source-client/use-client-data-source-paginated.js +5 -5
  60. package/dist/row-data-source-client/use-client-data-source.d.ts +2 -2
  61. package/dist/row-data-source-client/use-client-data-source.js +7 -7
  62. package/dist/row-data-source-client/use-client-tree-data-source.d.ts +1 -1
  63. package/dist/row-data-source-client/use-client-tree-data-source.js +5 -5
  64. package/dist/row-data-source-server/async-tree/apply-delete-action-to-tree.js +1 -1
  65. package/dist/row-data-source-server/async-tree/make-async-tree.js +3 -3
  66. package/dist/row-data-source-server/use-server-data-source.d.ts +1 -1
  67. package/dist/row-data-source-server/use-server-data-source.js +5 -5
  68. package/dist/sort-manager/context.d.ts +3 -3
  69. package/dist/sort-manager/hooks/use-sort-manager.d.ts +2 -2
  70. package/dist/sort-manager/hooks/use-sort-manager.js +2 -2
  71. package/dist/sort-manager/hooks/use-sort-row-item.d.ts +1 -1
  72. package/dist/sort-manager/hooks/use-sort-row-item.js +1 -1
  73. package/dist/sort-manager/utils/sort-item-to-sort-model.d.ts +1 -1
  74. package/dist/sort-manager/utils/sort-model-to-sort-items.d.ts +1 -1
  75. package/dist/state/api/column-autosize.d.ts +1 -1
  76. package/dist/state/api/column-autosize.js +1 -1
  77. package/dist/state/api/column-move.js +1 -1
  78. package/dist/state/api/dialog-frame.d.ts +1 -1
  79. package/dist/state/api/edit-begin.d.ts +1 -1
  80. package/dist/state/api/edit-begin.js +1 -1
  81. package/dist/state/api/edit-end.d.ts +1 -1
  82. package/dist/state/api/edit-is-cell-active.d.ts +1 -1
  83. package/dist/state/api/edit-update.d.ts +1 -1
  84. package/dist/state/api/edit-update.js +1 -1
  85. package/dist/state/api/export-csv.js +1 -1
  86. package/dist/state/api/export-data-rect.js +1 -1
  87. package/dist/state/api/focus-cell.d.ts +1 -1
  88. package/dist/state/api/popover-frame.d.ts +2 -2
  89. package/dist/state/api/row-detail-rendered-height.d.ts +2 -2
  90. package/package.json +9 -9
@@ -1,2 +1,2 @@
1
- import type { DataRect, Grid } from "../+types";
1
+ import type { DataRect, Grid } from "../+types.js";
2
2
  export declare function adjustRectForRowAndCellSpan<T>(grid: Grid<T>, rect: DataRect): DataRect;
@@ -1,4 +1,4 @@
1
- import { getRootCell } from "./get-root-cell";
1
+ import { getRootCell } from "./get-root-cell.js";
2
2
  export function adjustRectForRowAndCellSpan(grid, rect) {
3
3
  let { rowStart, rowEnd, columnStart, columnEnd } = rect;
4
4
  // Check the top row of the rect.
@@ -1,2 +1,2 @@
1
- import type { DataRect } from "../+types";
1
+ import type { DataRect } from "../+types.js";
2
2
  export declare function areRectsEqual(left: DataRect, right: DataRect): boolean;
@@ -1,2 +1,2 @@
1
- import type { DataRect, Grid } from "../+types";
1
+ import type { DataRect, Grid } from "../+types.js";
2
2
  export declare function boundSelectionRect(grid: Grid<any>, rect: DataRect): DataRect;
@@ -1,2 +1,2 @@
1
- import type { DataRect } from "../+types";
1
+ import type { DataRect } from "../+types.js";
2
2
  export declare function deselectRectRange(rect: DataRect, deselectRect: DataRect): DataRect[];
@@ -1,4 +1,4 @@
1
- import { isOverlappingRect } from "./is-overlapping-rect";
1
+ import { isOverlappingRect } from "./is-overlapping-rect.js";
2
2
  export function deselectRectRange(rect, deselectRect) {
3
3
  if (!isOverlappingRect(rect, deselectRect))
4
4
  return [rect];
@@ -1,5 +1,5 @@
1
- import type { Grid } from "../+types";
2
- import type { InternalAtoms } from "../state/+types";
1
+ import type { Grid } from "../+types.js";
2
+ import type { InternalAtoms } from "../state/+types.js";
3
3
  export declare function expandCellSelectionDown(grid: Grid<any> & {
4
4
  internal: InternalAtoms;
5
5
  }, meta: boolean): void;
@@ -1,4 +1,4 @@
1
- import { getRootCell } from "./get-root-cell";
1
+ import { getRootCell } from "./get-root-cell.js";
2
2
  export function expandCellSelectionDown(grid, meta) {
3
3
  const cellSelections = grid.state.cellSelections.get();
4
4
  const rect = cellSelections.at(-1);
@@ -1,5 +1,5 @@
1
- import type { Grid } from "../+types";
2
- import type { InternalAtoms } from "../state/+types";
1
+ import type { Grid } from "../+types.js";
2
+ import type { InternalAtoms } from "../state/+types.js";
3
3
  export declare function expandCellSelectionEnd(grid: Grid<any> & {
4
4
  internal: InternalAtoms;
5
5
  }, meta: boolean): void;
@@ -1,4 +1,4 @@
1
- import { getRootCell } from "./get-root-cell";
1
+ import { getRootCell } from "./get-root-cell.js";
2
2
  export function expandCellSelectionEnd(grid, meta) {
3
3
  const selections = grid.state.cellSelections.get();
4
4
  const cellSelectionPivot = grid.internal.cellSelectionPivot.get();
@@ -1,5 +1,5 @@
1
- import type { InternalAtoms } from "../state/+types";
2
- import type { Grid } from "../+types";
1
+ import type { InternalAtoms } from "../state/+types.js";
2
+ import type { Grid } from "../+types.js";
3
3
  export declare function expandCellSelectionStart(grid: Grid<any> & {
4
4
  internal: InternalAtoms;
5
5
  }, meta: boolean): void;
@@ -1,4 +1,4 @@
1
- import { getRootCell } from "./get-root-cell";
1
+ import { getRootCell } from "./get-root-cell.js";
2
2
  export function expandCellSelectionStart(grid, meta) {
3
3
  const selections = grid.state.cellSelections.get();
4
4
  const cellSelectionPivot = grid.internal.cellSelectionPivot.get();
@@ -1,5 +1,5 @@
1
- import type { InternalAtoms } from "../state/+types";
2
- import type { Grid } from "../+types";
1
+ import type { InternalAtoms } from "../state/+types.js";
2
+ import type { Grid } from "../+types.js";
3
3
  export declare function expandCellSelectionUp(grid: Grid<any> & {
4
4
  internal: InternalAtoms;
5
5
  }, meta: boolean): void;
@@ -1,4 +1,4 @@
1
- import { getRootCell } from "./get-root-cell";
1
+ import { getRootCell } from "./get-root-cell.js";
2
2
  export function expandCellSelectionUp(grid, meta) {
3
3
  const selections = grid.state.cellSelections.get();
4
4
  const cellSelectionPivot = grid.internal.cellSelectionPivot.get();
@@ -1,2 +1,2 @@
1
- import type { Grid } from "../+types";
1
+ import type { Grid } from "../+types.js";
2
2
  export declare function fullWidthStartEndIndex(grid: Grid<any>): number[];
@@ -1,2 +1,2 @@
1
- import type { Grid, PositionGridCell } from "../+types";
1
+ import type { Grid, PositionGridCell } from "../+types.js";
2
2
  export declare const getRootCell: (grid: Grid<any>, rowIndex: number, columnIndex: number) => PositionGridCell["root"];
@@ -1,5 +1,5 @@
1
- import { getSpanFn } from "../state/helpers/get-span-callback";
2
- import { getFullWidthCallback } from "../state/helpers/get-full-width-callback";
1
+ import { getSpanFn } from "../state/helpers/get-span-callback.js";
2
+ import { getFullWidthCallback } from "../state/helpers/get-full-width-callback.js";
3
3
  import { applyLayoutUpdate } from "@1771technologies/lytenyte-shared";
4
4
  export const getRootCell = (grid, rowIndex, columnIndex) => {
5
5
  const rds = grid.state.rowDataSource.get();
@@ -1,2 +1,2 @@
1
- import type { DataRect, Grid } from "../+types";
1
+ import type { DataRect, Grid } from "../+types.js";
2
2
  export declare function isBottomRect(grid: Grid<any>, rect: DataRect): boolean;
@@ -1,4 +1,4 @@
1
- import type { Grid } from "../+types";
1
+ import type { Grid } from "../+types.js";
2
2
  export declare function isCenterColRect(grid: Grid<any>, rect: {
3
3
  columnStart: number;
4
4
  columnEnd: number;
@@ -1,2 +1,2 @@
1
- import type { DataRect, Grid } from "../+types";
1
+ import type { DataRect, Grid } from "../+types.js";
2
2
  export declare function isCenterRect(grid: Grid<any>, rect: DataRect): boolean;
@@ -1,4 +1,4 @@
1
- import type { Grid } from "../+types";
1
+ import type { Grid } from "../+types.js";
2
2
  export declare function isEndRect(grid: Grid<any>, rect: {
3
3
  columnStart: number;
4
4
  columnEnd: number;
@@ -1,2 +1,2 @@
1
- import type { DataRect } from "../+types";
1
+ import type { DataRect } from "../+types.js";
2
2
  export declare function isOverlappingRect(rect1: DataRect, rect2: DataRect): boolean;
@@ -1,4 +1,4 @@
1
- import type { Grid } from "../+types";
1
+ import type { Grid } from "../+types.js";
2
2
  export declare function isStartRect(grid: Grid<any>, rect: {
3
3
  columnStart: number;
4
4
  columnEnd: number;
@@ -1,2 +1,2 @@
1
- import type { DataRect, Grid } from "../+types";
1
+ import type { DataRect, Grid } from "../+types.js";
2
2
  export declare function isTopRect(grid: Grid<any>, rect: DataRect): boolean;
@@ -1,2 +1,2 @@
1
- import type { DataRect } from "../+types";
1
+ import type { DataRect } from "../+types.js";
2
2
  export declare function isWithinSelectionRect(rect: DataRect, r: number, c: number): boolean;
@@ -1,4 +1,4 @@
1
- import type { DataRect } from "../+types";
1
+ import type { DataRect } from "../+types.js";
2
2
  interface SplitCellSelectionRectArgs {
3
3
  readonly rect: DataRect;
4
4
  readonly colStartCount: number;
@@ -1,5 +1,5 @@
1
- import type { DataRect, Grid } from "../+types";
2
- import type { InternalAtoms } from "../state/+types";
1
+ import type { DataRect, Grid } from "../+types.js";
2
+ import type { InternalAtoms } from "../state/+types.js";
3
3
  export declare function updateAdditiveCellSelection(grid: Grid<any> & {
4
4
  internal: InternalAtoms;
5
5
  }, rect: DataRect): void;
@@ -1,7 +1,7 @@
1
- import { boundSelectionRect } from "./bound-selection-rect";
2
- import { adjustRectForRowAndCellSpan } from "./adjust-rect-for-row-and-cell-span";
3
- import { areRectsEqual } from "./are-rects-equal";
4
- import { splitCellSelectionRect } from "./split-cell-selection-rect";
1
+ import { boundSelectionRect } from "./bound-selection-rect.js";
2
+ import { adjustRectForRowAndCellSpan } from "./adjust-rect-for-row-and-cell-span.js";
3
+ import { areRectsEqual } from "./are-rects-equal.js";
4
+ import { splitCellSelectionRect } from "./split-cell-selection-rect.js";
5
5
  export function updateAdditiveCellSelection(grid, rect) {
6
6
  const s = grid.state.columnMeta.get();
7
7
  const ds = grid.state.rowDataStore;
@@ -1,5 +1,5 @@
1
- import type { Grid } from "../+types";
2
- import type { InternalAtoms } from "../state/+types";
1
+ import type { Grid } from "../+types.js";
2
+ import type { InternalAtoms } from "../state/+types.js";
3
3
  export declare function useEdgeScroll(grid: Grid<any> & {
4
4
  internal: InternalAtoms;
5
5
  }): {
@@ -1,6 +1,6 @@
1
1
  import { type Dispatch, type JSX, type SetStateAction } from "react";
2
- import type { Column, Grid } from "../+types";
3
- import type { TreeVirtualItem } from "../tree-view/virtualized/make-virtual-tree";
2
+ import type { Column, Grid } from "../+types.js";
3
+ import type { TreeVirtualItem } from "../tree-view/virtualized/make-virtual-tree.js";
4
4
  import type { PathRoot } from "@1771technologies/lytenyte-shared";
5
5
  export interface UseColumnManagerReturn<T> {
6
6
  readonly rootProps: {
@@ -1,5 +1,5 @@
1
1
  import { useState } from "react";
2
- import { useVirtualizedTree } from "../tree-view/virtualized/use-virtualized-tree";
2
+ import { useVirtualizedTree } from "../tree-view/virtualized/use-virtualized-tree.js";
3
3
  export function useColumnManager(grid) {
4
4
  const [expansions, onExpansionChange] = useState({});
5
5
  const columns = grid.state.columns.useValue();
@@ -1,3 +1,3 @@
1
- import type { TreeVirtualItem } from "../tree-view/virtualized/make-virtual-tree";
2
- import type { Column } from "../+types";
1
+ import type { TreeVirtualItem } from "../tree-view/virtualized/make-virtual-tree.js";
2
+ import type { Column } from "../+types.js";
3
3
  export declare function useColumnsFromContext(item: TreeVirtualItem<Column<any>>): Column<any>[];
@@ -1,5 +1,5 @@
1
1
  import { useMemo } from "react";
2
- import { useBranchLookup } from "./branch-lookup-context";
2
+ import { useBranchLookup } from "./branch-lookup-context.js";
3
3
  export function useColumnsFromContext(item) {
4
4
  const lookup = useBranchLookup();
5
5
  const columns = useMemo(() => {
@@ -1,14 +1,14 @@
1
- import { ForceSyncScrolling } from "../tree-view/virtualized/force-sync-scrolling";
2
- import { InclusionCheckbox } from "./inclusion-checkbox";
3
- import { Root } from "./root";
4
- import { useFilterTree } from "./hooks/use-filter-tree";
1
+ import { ForceSyncScrolling } from "../tree-view/virtualized/force-sync-scrolling.js";
2
+ import { InclusionCheckbox } from "./inclusion-checkbox.js";
3
+ import { Root } from "./root.js";
4
+ import { useFilterTree } from "./hooks/use-filter-tree.js";
5
5
  export declare const FilterTree: {
6
6
  Root: typeof Root;
7
7
  Panel: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & import("react").RefAttributes<HTMLUListElement>>;
8
8
  PassiveScroll: typeof ForceSyncScrolling;
9
- Leaf: import("react").ForwardRefExoticComponent<Omit<import("./leaf").FilterTreeLeafProps & import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement>, "ref"> & import("react").RefAttributes<HTMLLIElement>>;
10
- Branch: import("react").ForwardRefExoticComponent<Omit<import("./branch").FilterTreeBranch & import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement>, "ref"> & import("react").RefAttributes<HTMLLIElement>>;
11
- Label: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("./label").LabelProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
9
+ Leaf: import("react").ForwardRefExoticComponent<Omit<import("./leaf.js").FilterTreeLeafProps & import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement>, "ref"> & import("react").RefAttributes<HTMLLIElement>>;
10
+ Branch: import("react").ForwardRefExoticComponent<Omit<import("./branch.js").FilterTreeBranch & import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement>, "ref"> & import("react").RefAttributes<HTMLLIElement>>;
11
+ Label: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("./label.js").LabelProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
12
12
  Checkbox: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & InclusionCheckbox, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
13
13
  useFilterTree: typeof useFilterTree;
14
14
  };
@@ -1,11 +1,11 @@
1
- import { TreePanel } from "../tree-view/panel/panel";
2
- import { ForceSyncScrolling } from "../tree-view/virtualized/force-sync-scrolling";
3
- import { Branch } from "./branch";
4
- import { InclusionCheckbox } from "./inclusion-checkbox";
5
- import { Label } from "./label";
6
- import { Leaf } from "./leaf";
7
- import { Root } from "./root";
8
- import { useFilterTree } from "./hooks/use-filter-tree";
1
+ import { TreePanel } from "../tree-view/panel/panel.js";
2
+ import { ForceSyncScrolling } from "../tree-view/virtualized/force-sync-scrolling.js";
3
+ import { Branch } from "./branch.js";
4
+ import { InclusionCheckbox } from "./inclusion-checkbox.js";
5
+ import { Label } from "./label.js";
6
+ import { Leaf } from "./leaf.js";
7
+ import { Root } from "./root.js";
8
+ import { useFilterTree } from "./hooks/use-filter-tree.js";
9
9
  export const FilterTree = {
10
10
  Root,
11
11
  Panel: TreePanel,
@@ -1,5 +1,5 @@
1
- import type { FilterInFilterItem } from "../../+types";
2
- import type { TreeVirtualItem } from "../../tree-view/virtualized/make-virtual-tree";
1
+ import type { FilterInFilterItem } from "../../+types.js";
2
+ import type { TreeVirtualItem } from "../../tree-view/virtualized/make-virtual-tree.js";
3
3
  export declare function useTreeItem(item: TreeVirtualItem<FilterInFilterItem>): {
4
4
  onCheckChange: (b?: boolean) => void;
5
5
  isChecked: boolean;
@@ -1,6 +1,6 @@
1
1
  import { useCallback, useMemo } from "react";
2
- import { useGrid } from "../../grid-provider/use-grid";
3
- import { useTreeContext } from "../context";
2
+ import { useGrid } from "../../grid-provider/use-grid.js";
3
+ import { useTreeContext } from "../context.js";
4
4
  function isSelectAll(item) {
5
5
  return item.kind === "leaf" && item.leaf.data.id === "__LNG__SELECT_ALL";
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from "react";
2
- import type { DropEventParams } from "../+types";
2
+ import type { DropEventParams } from "../+types.js";
3
3
  export interface GridBoxItem<T = any> {
4
4
  readonly id: string;
5
5
  readonly label: string;
@@ -1,4 +1,4 @@
1
- import type { DropEventParams } from "../+types";
1
+ import type { DropEventParams } from "../+types.js";
2
2
  interface GridBoxContextValue {
3
3
  readonly accepted: string[];
4
4
  readonly orientation: "horizontal" | "vertical";
@@ -1,5 +1,5 @@
1
- import type { AggModelFn, DropEventParams, Grid } from "../+types";
2
- import type { GridBoxItem } from "./+types";
1
+ import type { AggModelFn, DropEventParams, Grid } from "../+types.js";
2
+ import type { GridBoxItem } from "./+types.js";
3
3
  export interface UseAggregationBoxItemsProps<T> {
4
4
  readonly grid: Grid<T>;
5
5
  readonly orientation?: "horizontal" | "vertical";
@@ -1,6 +1,6 @@
1
1
  import { type ReactNode } from "react";
2
- import type { Column, DropEventParams, Grid } from "../+types";
3
- import type { GridBoxItem } from "./+types";
2
+ import type { Column, DropEventParams, Grid } from "../+types.js";
3
+ import type { GridBoxItem } from "./+types.js";
4
4
  export interface OnDropParams<T> {
5
5
  readonly target: Column<T>;
6
6
  readonly src: Column<T>;
@@ -1,6 +1,6 @@
1
1
  import { type ReactNode } from "react";
2
- import type { DropEventParams, Grid, RowGroupModelItem } from "../+types";
3
- import type { GridBoxItem } from "./+types";
2
+ import type { DropEventParams, Grid, RowGroupModelItem } from "../+types.js";
3
+ import type { GridBoxItem } from "./+types.js";
4
4
  export interface UseRowGroupBoxItems<T> {
5
5
  readonly grid: Grid<T>;
6
6
  readonly orientation?: "horizontal" | "vertical";
@@ -1,5 +1,5 @@
1
- import type { Grid } from "../+types";
2
- import type { InternalAtoms } from "../state/+types";
1
+ import type { Grid } from "../+types.js";
2
+ import type { InternalAtoms } from "../state/+types.js";
3
3
  export declare const gridContext: import("react").Context<Grid<any> & {
4
4
  internal: InternalAtoms;
5
5
  }>;
@@ -1,3 +1,3 @@
1
- export declare const GridProvider: import("react").Provider<import("../+types").Grid<any> & {
2
- internal: import("../state/+types").InternalAtoms;
1
+ export declare const GridProvider: import("react").Provider<import("../+types.js").Grid<any> & {
2
+ internal: import("../state/+types.js").InternalAtoms;
3
3
  }>;
@@ -1,2 +1,2 @@
1
- import { gridContext } from "./context";
1
+ import { gridContext } from "./context.js";
2
2
  export const GridProvider = gridContext.Provider;
@@ -1,3 +1,3 @@
1
- export declare const useGrid: () => import("../+types").Grid<any> & {
2
- internal: import("../state/+types").InternalAtoms;
1
+ export declare const useGrid: () => import("../+types.js").Grid<any> & {
2
+ internal: import("../state/+types.js").InternalAtoms;
3
3
  };
@@ -1,3 +1,3 @@
1
1
  import { useContext } from "react";
2
- import { gridContext } from "./context";
2
+ import { gridContext } from "./context.js";
3
3
  export const useGrid = () => useContext(gridContext);
package/dist/grid.d.ts CHANGED
@@ -15,6 +15,7 @@ export declare const Grid: {
15
15
  RowsContainer: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
16
16
  RowsBottom: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
17
17
  RowsTop: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
18
+ Row: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "onDrag"> & import("./rows/row/row").RowProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
18
19
  RowsCenter: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
19
20
  Viewport: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
20
21
  useLyteNyte: typeof useLyteNyte;
package/dist/grid.js CHANGED
@@ -9,6 +9,7 @@ import { makeClientDataSourcePaginated, useClientRowDataSourcePaginated, } from
9
9
  import { makeClientTreeDataSource, useClientTreeDataSource, } from "./row-data-source-client/use-client-tree-data-source";
10
10
  import { makeServerDataSource, useServerDataSource, } from "./row-data-source-server/use-server-data-source";
11
11
  import { RowFullWidth } from "./rows/row-full-width";
12
+ import { Row } from "./rows/row/row";
12
13
  import { RowsContainer } from "./rows/rows-container";
13
14
  import { RowsBottom, RowsCenter, RowsTop } from "./rows/rows-sections";
14
15
  import { useLyteNyte } from "./state/use-lytenyte";
@@ -24,6 +25,7 @@ export const Grid = {
24
25
  RowsContainer,
25
26
  RowsBottom,
26
27
  RowsTop,
28
+ Row,
27
29
  RowsCenter,
28
30
  Viewport,
29
31
  useLyteNyte,
@@ -1,6 +1,6 @@
1
- import type { Grid, HeaderCellFloating, HeaderCellLayout, HeaderGroupCellLayout } from "../+types";
1
+ import type { Grid, HeaderCellFloating, HeaderCellLayout, HeaderGroupCellLayout } from "../+types.js";
2
2
  import { type JSX } from "react";
3
- import type { InternalAtoms } from "../state/+types";
3
+ import type { InternalAtoms } from "../state/+types.js";
4
4
  export declare function useDragMove<T>(grid: Grid<T> & {
5
5
  internal: InternalAtoms;
6
6
  }, cell: HeaderGroupCellLayout | HeaderCellLayout<T> | HeaderCellFloating<T>, onDragStart?: JSX.IntrinsicElements["div"]["onDragStart"]): {
@@ -10,7 +10,7 @@ import { sum } from "./sum.js";
10
10
  * Collection of built-in array utility functions for numerical and statistical operations.
11
11
  * Each function handles null and undefined values gracefully.
12
12
  * @example
13
- * import { builtIns } from './builtIns';
13
+ * import { builtIns } from './builtIns.js';
14
14
  *
15
15
  * const data = [1, null, 3, 2];
16
16
  * builtIns.sum(data); // Returns 6
@@ -10,7 +10,7 @@ import { sum } from "./sum.js";
10
10
  * Collection of built-in array utility functions for numerical and statistical operations.
11
11
  * Each function handles null and undefined values gracefully.
12
12
  * @example
13
- * import { builtIns } from './builtIns';
13
+ * import { builtIns } from './builtIns.js';
14
14
  *
15
15
  * const data = [1, null, 3, 2];
16
16
  * builtIns.sum(data); // Returns 6
@@ -1,5 +1,5 @@
1
- import { createColumnPivotsFromPaths } from "./create-pivot-columns-from-paths";
2
- import { createPivotTree } from "./create-pivot-tree";
1
+ import { createColumnPivotsFromPaths } from "./create-pivot-columns-from-paths.js";
2
+ import { createPivotTree } from "./create-pivot-tree.js";
3
3
  export function createPivotColumns(model, lookup, grid, leafRows) {
4
4
  const activeColumns = model.columns.filter((c) => lookup.has(c.field) && (c.active ?? true));
5
5
  const activeValues = model.values.filter((c) => lookup.has(c.field) && (c.active ?? true));
@@ -1,2 +1,2 @@
1
- import type { AggregationItem } from "../+types";
1
+ import type { AggregationItem } from "../+types.js";
2
2
  export declare function aggregationEvaluator<Data>(agg: AggregationItem<Data>[], data: Data[]): Record<string, unknown>;
@@ -1,2 +1,2 @@
1
- import type { GroupItem } from "../+types";
1
+ import type { GroupItem } from "../+types.js";
2
2
  export declare function groupEvaluator<Data>(g: GroupItem<Data>[] | ((d: Data) => (string | null | undefined)[]), d: Data): (string | null | undefined)[];
@@ -1,2 +1,2 @@
1
- import type { BranchNode, Root, TreeNode } from "../+types";
1
+ import type { BranchNode, Root, TreeNode } from "../+types.js";
2
2
  export declare function traverse<Data>(root: Root<Data> | BranchNode<Data>, fn: (node: TreeNode<Data>, lookupKey: string | null) => boolean | void, comparator?: (l: TreeNode<Data>, r: TreeNode<Data>) => number): void;
@@ -1,4 +1,4 @@
1
- import { LEAF } from "../+constants";
1
+ import { LEAF } from "../+constants.js";
2
2
  export function traverse(root, fn, comparator) {
3
3
  const entries = root instanceof Map ? root.entries() : root.children.entries();
4
4
  const stack = [...entries];
@@ -1,5 +1,5 @@
1
- import type { GridAtom, RowDataSourceClientPaginated } from "../+types";
2
- import { type ClientRowDataSourceParams } from "../+types";
1
+ import type { GridAtom, RowDataSourceClientPaginated } from "../+types.js";
2
+ import { type ClientRowDataSourceParams } from "../+types.js";
3
3
  interface DataAtoms<T> {
4
4
  readonly top: GridAtom<T[]>;
5
5
  readonly center: GridAtom<T[]>;
@@ -1,12 +1,12 @@
1
- import {} from "../+types";
1
+ import {} from "../+types.js";
2
2
  import { useRef } from "react";
3
3
  import { atom, createStore } from "@1771technologies/atom";
4
- import { traverse } from "./tree/traverse";
4
+ import { traverse } from "./tree/traverse.js";
5
5
  import { dateComparator, makeGridAtom, numberComparator, stringComparator, } from "@1771technologies/lytenyte-shared";
6
6
  import { clamp, equal, get } from "@1771technologies/lytenyte-js-utils";
7
- import { makeClientTree } from "./tree/client-tree";
8
- import { computeFilteredRows } from "./filter/compute-filtered-rows";
9
- import { builtIns } from "./built-ins/built-ins";
7
+ import { makeClientTree } from "./tree/client-tree.js";
8
+ import { computeFilteredRows } from "./filter/compute-filtered-rows.js";
9
+ import { builtIns } from "./built-ins/built-ins.js";
10
10
  export function makeClientDataSourcePaginated(p) {
11
11
  const rdsStore = createStore();
12
12
  const pageInternal = atom(0);
@@ -1,5 +1,5 @@
1
- import type { GridAtom, RowDataSourceClient } from "../+types";
2
- import { type ClientRowDataSourceParams } from "../+types";
1
+ import type { GridAtom, RowDataSourceClient } from "../+types.js";
2
+ import { type ClientRowDataSourceParams } from "../+types.js";
3
3
  interface DataAtoms<T> {
4
4
  readonly top: GridAtom<T[]>;
5
5
  readonly center: GridAtom<T[]>;
@@ -1,14 +1,14 @@
1
- import {} from "../+types";
1
+ import {} from "../+types.js";
2
2
  import { useRef } from "react";
3
3
  import { atom, createStore } from "@1771technologies/atom";
4
- import { traverse } from "./tree/traverse";
4
+ import { traverse } from "./tree/traverse.js";
5
5
  import { dateComparator, makeGridAtom, numberComparator, stringComparator, } from "@1771technologies/lytenyte-shared";
6
6
  import { equal, get, itemsWithIdToMap } from "@1771technologies/lytenyte-js-utils";
7
- import { makeClientTree } from "./tree/client-tree";
8
- import { computeFilteredRows } from "./filter/compute-filtered-rows";
9
- import { builtIns } from "./built-ins/built-ins";
10
- import { createPivotColumns } from "./pivots/create-pivot-columns";
11
- import { createAggModel } from "./pivots/create-agg-model";
7
+ import { computeFilteredRows } from "./filter/compute-filtered-rows.js";
8
+ import { builtIns } from "./built-ins/built-ins.js";
9
+ import { createPivotColumns } from "./pivots/create-pivot-columns.js";
10
+ import { createAggModel } from "./pivots/create-agg-model.js";
11
+ import { makeClientTree } from "./tree/client-tree.js";
12
12
  export function makeClientDataSource(p) {
13
13
  const rdsStore = createStore();
14
14
  const data = atom(p.data);
@@ -1,4 +1,4 @@
1
- import type { GridAtom, RowDataSourceClient, ClientTreeDataSourceParams } from "../+types";
1
+ import type { GridAtom, RowDataSourceClient, ClientTreeDataSourceParams } from "../+types.js";
2
2
  interface DataAtoms<T> {
3
3
  readonly top: GridAtom<T[]>;
4
4
  readonly center: GridAtom<T[]>;
@@ -1,12 +1,12 @@
1
- import {} from "../+types";
1
+ import {} from "../+types.js";
2
2
  import { useRef } from "react";
3
3
  import { atom, createStore } from "@1771technologies/atom";
4
- import { traverse } from "./tree/traverse";
4
+ import { traverse } from "./tree/traverse.js";
5
5
  import { dateComparator, makeGridAtom, numberComparator, stringComparator, } from "@1771technologies/lytenyte-shared";
6
6
  import { equal } from "@1771technologies/lytenyte-js-utils";
7
- import { makeClientTree } from "./tree/client-tree";
8
- import { computeFilteredRows } from "./filter/compute-filtered-rows";
9
- import { builtIns } from "./built-ins/built-ins";
7
+ import { makeClientTree } from "./tree/client-tree.js";
8
+ import { computeFilteredRows } from "./filter/compute-filtered-rows.js";
9
+ import { builtIns } from "./built-ins/built-ins.js";
10
10
  export function makeClientTreeDataSource(p) {
11
11
  const rdsStore = createStore();
12
12
  const data = atom(p.data);
@@ -1,4 +1,4 @@
1
- import { getParentNodeByPath } from "./get-parent-node-by-path";
1
+ import { getParentNodeByPath } from "./get-parent-node-by-path.js";
2
2
  export function applyDeleteActionToTree(p, tree) {
3
3
  // No op. We aren't deleting keys or indices
4
4
  if (!p.relIndices?.length && !p.paths?.length)
@@ -1,6 +1,6 @@
1
- import { applyDeleteActionToTree } from "./apply-delete-action-to-tree";
2
- import { applySetActionToTree } from "./apply-set-action-to-tree";
3
- import { getParentNodeByPath } from "./get-parent-node-by-path";
1
+ import { applyDeleteActionToTree } from "./apply-delete-action-to-tree.js";
2
+ import { applySetActionToTree } from "./apply-set-action-to-tree.js";
3
+ import { getParentNodeByPath } from "./get-parent-node-by-path.js";
4
4
  export function makeAsyncTree() {
5
5
  const tree = {
6
6
  kind: "root",
@@ -1,3 +1,3 @@
1
- import type { RowDataSourceServer, RowDataSourceServerParams } from "../+types";
1
+ import type { RowDataSourceServer, RowDataSourceServerParams } from "../+types.js";
2
2
  export declare function makeServerDataSource<T>({ dataFetcher, dataColumnPivotFetcher, dataInFilterItemFetcher, cellUpdateHandler, cellUpdateOptimistically, blockSize, }: RowDataSourceServerParams<T>): RowDataSourceServer<T>;
3
3
  export declare function useServerDataSource<T>(p: RowDataSourceServerParams<T>): RowDataSourceServer<T>;
@@ -1,11 +1,11 @@
1
1
  import { atom, createStore } from "@1771technologies/atom";
2
2
  import { useRef } from "react";
3
- import { makeAsyncTree } from "./async-tree/make-async-tree";
3
+ import { makeAsyncTree } from "./async-tree/make-async-tree.js";
4
4
  import { makeGridAtom } from "@1771technologies/lytenyte-shared";
5
- import { getNodeDepth } from "./utils/get-node-depth";
6
- import { getRequestId } from "./utils/get-request-id";
7
- import { RangeTree } from "./range-tree/range-tree";
8
- import { getNodePath } from "./utils/get-node-path";
5
+ import { getNodeDepth } from "./utils/get-node-depth.js";
6
+ import { getRequestId } from "./utils/get-request-id.js";
7
+ import { RangeTree } from "./range-tree/range-tree.js";
8
+ import { getNodePath } from "./utils/get-node-path.js";
9
9
  import { equal } from "@1771technologies/lytenyte-js-utils";
10
10
  export function makeServerDataSource({ dataFetcher, dataColumnPivotFetcher, dataInFilterItemFetcher, cellUpdateHandler, cellUpdateOptimistically = true, blockSize = 200, }) {
11
11
  let grid = null;
@@ -1,7 +1,7 @@
1
1
  import { type Dispatch, type SetStateAction } from "react";
2
- import type { SortItem } from "./+types";
3
- import type { SortRowItem } from "./hooks/use-sort-row-item";
4
- import type { Grid } from "../+types";
2
+ import type { SortItem } from "./+types.js";
3
+ import type { SortRowItem } from "./hooks/use-sort-row-item.js";
4
+ import type { Grid } from "../+types.js";
5
5
  export interface SortManagerContext {
6
6
  readonly grid: Grid<any>;
7
7
  readonly sortItems: SortItem[];
@@ -1,5 +1,5 @@
1
1
  import type { Grid } from "../../+types";
2
- import type { SortItem } from "../+types";
2
+ import type { SortItem } from "../+types.js";
3
3
  export interface UseSortManagerArgs<T> {
4
4
  readonly grid: Grid<T>;
5
5
  readonly pivotMode?: boolean;
@@ -11,5 +11,5 @@ export declare function useSortManager<T>({ grid, pivotMode }: UseSortManagerArg
11
11
  mode: boolean;
12
12
  grid: Grid<T>;
13
13
  };
14
- rows: import("./use-sort-row-item").SortRowItem[];
14
+ rows: import("./use-sort-row-item.js").SortRowItem[];
15
15
  };
@@ -1,7 +1,7 @@
1
1
  import { useCallback, useEffect, useRef, useState } from "react";
2
- import { sortModelToSortItems } from "../utils/sort-model-to-sort-items";
2
+ import { sortModelToSortItems } from "../utils/sort-model-to-sort-items.js";
3
3
  import { itemsWithIdToMap } from "@1771technologies/lytenyte-js-utils";
4
- import { useSortRowItems } from "./use-sort-row-item";
4
+ import { useSortRowItems } from "./use-sort-row-item.js";
5
5
  import { useEvent } from "@1771technologies/lytenyte-react-hooks";
6
6
  export function useSortManager({ grid, pivotMode }) {
7
7
  const statePivotMode = grid.state.columnPivotMode.useValue();
@@ -1,5 +1,5 @@
1
1
  import { type Dispatch, type SetStateAction } from "react";
2
- import type { SortItem } from "../+types";
2
+ import type { SortItem } from "../+types.js";
3
3
  import type { Grid } from "../../+types";
4
4
  export interface SortRowItem {
5
5
  readonly isCustom: boolean;
@@ -1,5 +1,5 @@
1
1
  import { useMemo } from "react";
2
- import { useSortableColumnItems } from "./use-sortable-column-items";
2
+ import { useSortableColumnItems } from "./use-sortable-column-items.js";
3
3
  import { itemsWithIdToMap } from "@1771technologies/lytenyte-js-utils";
4
4
  export function useSortRowItems(sortItems, setSortItems, grid, pivotMode) {
5
5
  const columnItems = useSortableColumnItems(grid, pivotMode);
@@ -1,3 +1,3 @@
1
- import type { SortItem } from "../+types";
1
+ import type { SortItem } from "../+types.js";
2
2
  import type { Column, SortModelItem } from "../../+types";
3
3
  export declare function sortItemsToSortModel(sortItems: SortItem[], lookup: Map<string, Column<any>>): SortModelItem<any>[];
@@ -1,3 +1,3 @@
1
1
  import type { Column, SortModelItem } from "../../+types";
2
- import type { SortItem } from "../+types";
2
+ import type { SortItem } from "../+types.js";
3
3
  export declare function sortModelToSortItems<T>(items: SortModelItem<T>[], lookup: Map<string, Column<T>>): SortItem[];
@@ -1,4 +1,4 @@
1
- import type { InternalAtoms } from "../+types";
1
+ import type { InternalAtoms } from "../+types.js";
2
2
  import type { Grid, GridApi } from "../../+types";
3
3
  export declare const makeColumnAutosize: (grid: Grid<any> & {
4
4
  internal: InternalAtoms;
@@ -1,5 +1,5 @@
1
1
  import { measureText } from "@1771technologies/lytenyte-shared";
2
- import { resolveColumn } from "../helpers/resolve-column";
2
+ import { resolveColumn } from "../helpers/resolve-column.js";
3
3
  export const makeColumnAutosize = (grid) => {
4
4
  return (params) => {
5
5
  const errorRef = { current: false };
@@ -1,4 +1,4 @@
1
- import { resolveColumn } from "../helpers/resolve-column";
1
+ import { resolveColumn } from "../helpers/resolve-column.js";
2
2
  export const makeColumnMove = (grid) => {
3
3
  return (params) => {
4
4
  const meta = grid.state.columnMeta.get();
@@ -1,4 +1,4 @@
1
- import type { InternalAtoms } from "../+types";
1
+ import type { InternalAtoms } from "../+types.js";
2
2
  import type { Grid, GridApi } from "../../+types";
3
3
  export declare const makeDialogFrameOpen: (grid: Grid<any> & {
4
4
  internal: InternalAtoms;
@@ -1,4 +1,4 @@
1
- import type { InternalAtoms } from "../+types";
1
+ import type { InternalAtoms } from "../+types.js";
2
2
  import type { Grid, GridApi } from "../../+types";
3
3
  export declare const makeEditBegin: (grid: Grid<any> & {
4
4
  internal: InternalAtoms;
@@ -1,6 +1,6 @@
1
1
  import { focusCell, isFullWidthMap } from "@1771technologies/lytenyte-shared";
2
2
  import { runWithBackoff } from "@1771technologies/lytenyte-js-utils";
3
- import { editOnChange } from "../helpers/edit-on-change";
3
+ import { editOnChange } from "../helpers/edit-on-change.js";
4
4
  export const makeEditBegin = (grid) => {
5
5
  return (params) => {
6
6
  if (grid.state.editCellMode.get() === "readonly" || grid.state.columnPivotMode.get())
@@ -1,4 +1,4 @@
1
- import type { InternalAtoms } from "../+types";
1
+ import type { InternalAtoms } from "../+types.js";
2
2
  import type { Grid, GridApi } from "../../+types";
3
3
  export declare const makeEditEnd: (grid: Grid<any> & {
4
4
  internal: InternalAtoms;
@@ -1,4 +1,4 @@
1
- import type { InternalAtoms } from "../+types";
1
+ import type { InternalAtoms } from "../+types.js";
2
2
  import type { Grid, GridApi } from "../../+types";
3
3
  export declare const makeEditIsCellActive: (grid: Grid<any> & {
4
4
  internal: InternalAtoms;
@@ -1,4 +1,4 @@
1
- import type { InternalAtoms } from "../+types";
1
+ import type { InternalAtoms } from "../+types.js";
2
2
  import type { Grid, GridApi } from "../../+types";
3
3
  export declare const makeEditUpdate: (grid: Grid<any> & {
4
4
  internal: InternalAtoms;
@@ -1,4 +1,4 @@
1
- import { editOnChange } from "../helpers/edit-on-change";
1
+ import { editOnChange } from "../helpers/edit-on-change.js";
2
2
  export const makeEditUpdate = (grid) => {
3
3
  return (params) => {
4
4
  if (grid.state.editCellMode.get() === "readonly" || grid.state.columnPivotMode.get())
@@ -1,4 +1,4 @@
1
- import { getDataRect } from "../helpers/get-data-rect";
1
+ import { getDataRect } from "../helpers/get-data-rect.js";
2
2
  export const makeExportCsv = (grid) => {
3
3
  return async (p) => {
4
4
  const visible = grid.state.columnMeta.get().columnsVisible;
@@ -1,4 +1,4 @@
1
- import { getDataRect } from "../helpers/get-data-rect";
1
+ import { getDataRect } from "../helpers/get-data-rect.js";
2
2
  export const makeExportDataRect = (grid) => {
3
3
  return (p) => {
4
4
  const s = grid.state;
@@ -1,5 +1,5 @@
1
1
  import type { Grid, GridApi } from "../../+types";
2
- import type { InternalAtoms } from "../+types";
2
+ import type { InternalAtoms } from "../+types.js";
3
3
  export declare const makeFocusCell: (grid: Grid<any> & {
4
4
  internal: InternalAtoms;
5
5
  }) => GridApi<any>["focusCell"];
@@ -1,5 +1,5 @@
1
- import type { InternalAtoms } from "../+types";
2
- import type { Grid, GridApi } from "../../+types";
1
+ import type { InternalAtoms } from "../+types.js";
2
+ import type { Grid, GridApi } from "../../+types.js";
3
3
  export declare const makePopoverFrameOpen: (grid: Grid<any> & {
4
4
  internal: InternalAtoms;
5
5
  }) => GridApi<any>["popoverFrameOpen"];
@@ -1,5 +1,5 @@
1
- import type { InternalAtoms } from "../+types";
2
- import type { Grid, GridApi } from "../../+types";
1
+ import type { InternalAtoms } from "../+types.js";
2
+ import type { Grid, GridApi } from "../../+types.js";
3
3
  export declare const makeRowDetailRenderedHeight: (grid: Grid<any> & {
4
4
  internal: InternalAtoms;
5
5
  }) => GridApi<any>["rowDetailRenderedHeight"];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@1771technologies/lytenyte-pro",
3
3
  "description": "Blazingly fast headless React data grid with 100s of features.",
4
- "version": "1.0.0-beta.1",
4
+ "version": "1.0.0-beta.3",
5
5
  "type": "module",
6
6
  "license": "COMMERCIAL",
7
7
  "files": [
@@ -33,9 +33,9 @@
33
33
  "require": "./dist/index.js"
34
34
  },
35
35
  "./types": {
36
- "types": "./dist/types.d.ts",
37
- "import": "./dist/types.js",
38
- "require": "./dist/types.js"
36
+ "types": "./dist/+types.d.ts",
37
+ "import": "./dist/+types.js",
38
+ "require": "./dist/+types.js"
39
39
  },
40
40
  "./grid.css": "./main.css"
41
41
  },
@@ -44,11 +44,11 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@1771technologies/atom": "^1.0.2",
47
- "@1771technologies/lytenyte-dragon": "1.0.0-beta.1",
48
- "@1771technologies/lytenyte-shared": "1.0.0-beta.1",
49
- "@1771technologies/lytenyte-dom-utils": "1.0.0-beta.1",
50
- "@1771technologies/lytenyte-react-hooks": "1.0.0-beta.1",
51
- "@1771technologies/lytenyte-js-utils": "1.0.0-beta.1"
47
+ "@1771technologies/lytenyte-js-utils": "1.0.0-beta.3",
48
+ "@1771technologies/lytenyte-dom-utils": "1.0.0-beta.3",
49
+ "@1771technologies/lytenyte-shared": "1.0.0-beta.3",
50
+ "@1771technologies/lytenyte-dragon": "1.0.0-beta.3",
51
+ "@1771technologies/lytenyte-react-hooks": "1.0.0-beta.3"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "react": "^18.0.0 || ^19.0.0",