@1771technologies/lytenyte-pro 1.0.8 → 1.0.10

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 (86) hide show
  1. package/dist/+types.d.ts +1 -1
  2. package/dist/cell-selection/cell-selection-containers.js +5 -5
  3. package/dist/cell-selection/cell-selection-driver.js +9 -9
  4. package/dist/cell-selection/cell-style-row.js +1 -1
  5. package/dist/cell-selection/split-on-pivot.js +1 -1
  6. package/dist/cells/cell-editor.js +2 -2
  7. package/dist/cells/cell-spacer.js +1 -1
  8. package/dist/cells/cell.js +6 -6
  9. package/dist/column-manager/branch.js +4 -4
  10. package/dist/column-manager/column-manager.d.ts +7 -7
  11. package/dist/column-manager/column-manager.js +8 -8
  12. package/dist/column-manager/label.js +1 -1
  13. package/dist/column-manager/leaf.js +4 -4
  14. package/dist/column-manager/move-handle.js +3 -3
  15. package/dist/column-manager/panel.js +1 -1
  16. package/dist/column-manager/root.js +3 -3
  17. package/dist/column-manager/use-column-manager.js +1 -1
  18. package/dist/column-manager/visibility-checkbox.js +3 -3
  19. package/dist/filter-tree/branch.js +3 -3
  20. package/dist/filter-tree/context.d.ts +2 -2
  21. package/dist/filter-tree/hooks/use-filter-tree.js +1 -1
  22. package/dist/filter-tree/inclusion-checkbox.js +1 -1
  23. package/dist/filter-tree/label.js +1 -1
  24. package/dist/filter-tree/leaf.js +3 -3
  25. package/dist/filter-tree/root.js +3 -3
  26. package/dist/grid-box/grid-box.d.ts +5 -5
  27. package/dist/grid-box/grid-box.js +6 -6
  28. package/dist/grid-box/item.js +2 -2
  29. package/dist/grid-box/panel.js +2 -2
  30. package/dist/grid-box/root.d.ts +1 -1
  31. package/dist/grid-box/root.js +3 -3
  32. package/dist/grid.d.ts +8 -8
  33. package/dist/grid.js +12 -12
  34. package/dist/header/header-cell.js +4 -4
  35. package/dist/header/header-group-cell.js +2 -2
  36. package/dist/header/header-row.js +1 -1
  37. package/dist/header/header.js +1 -1
  38. package/dist/header/resize-handler.js +1 -1
  39. package/dist/header/use-header-cell-renderer.js +1 -1
  40. package/dist/icons/index.js +3 -1
  41. package/dist/index.d.ts +4 -4
  42. package/dist/index.js +4 -4
  43. package/dist/license.d.ts +1 -0
  44. package/dist/license.js +10 -13
  45. package/dist/listbox/item.js +1 -1
  46. package/dist/listbox/panel.js +1 -1
  47. package/dist/listbox/root.js +1 -1
  48. package/dist/root/dialog-driver.js +1 -1
  49. package/dist/root/popover-driver.js +1 -1
  50. package/dist/root/root.js +11 -6
  51. package/dist/row-data-source-client/pivots/create-agg-model.d.ts +2 -2
  52. package/dist/row-data-source-client/pivots/create-agg-model.js +1 -1
  53. package/dist/row-data-source-server/async-tree/maybe-apply-set-action-items.js +5 -4
  54. package/dist/row-data-source-server/range-tree/range-tree.d.ts +1 -1
  55. package/dist/row-data-source-server/server-data.d.ts +48 -0
  56. package/dist/row-data-source-server/server-data.js +378 -0
  57. package/dist/row-data-source-server/use-server-data-source.d.ts +1 -1
  58. package/dist/row-data-source-server/use-server-data-source.js +181 -524
  59. package/dist/row-data-source-server/utils/get-node-depth.d.ts +1 -1
  60. package/dist/row-data-source-server/utils/get-node-path.d.ts +1 -1
  61. package/dist/rows/row/row.d.ts +1 -1
  62. package/dist/rows/row/row.js +5 -5
  63. package/dist/rows/row/use-row-context-value.d.ts +3 -3
  64. package/dist/rows/row-detail-row.js +1 -1
  65. package/dist/rows/row-full-width.js +3 -3
  66. package/dist/rows/rows-container.js +1 -1
  67. package/dist/rows/rows-sections.js +3 -3
  68. package/dist/sort-manager/root.d.ts +1 -1
  69. package/dist/sort-manager/root.js +1 -1
  70. package/dist/sort-manager/sort-add.js +1 -1
  71. package/dist/sort-manager/sort-apply.js +2 -2
  72. package/dist/sort-manager/sort-cancel.js +2 -2
  73. package/dist/sort-manager/sort-clear.js +1 -1
  74. package/dist/sort-manager/sort-column-select.js +1 -1
  75. package/dist/sort-manager/sort-direction-select.js +1 -1
  76. package/dist/sort-manager/sort-manager.d.ts +11 -11
  77. package/dist/sort-manager/sort-manager.js +12 -12
  78. package/dist/sort-manager/sort-remove.js +1 -1
  79. package/dist/sort-manager/sort-row.d.ts +1 -1
  80. package/dist/sort-manager/sort-row.js +2 -2
  81. package/dist/sort-manager/sort-rows.js +1 -1
  82. package/dist/sort-manager/sort-value-select.js +1 -1
  83. package/dist/state/api/cell-root.js +2 -2
  84. package/dist/tree-view/root.js +1 -1
  85. package/dist/viewport/viewport.js +2 -2
  86. package/package.json +7 -7
@@ -1,2 +1,2 @@
1
- import type { TreeLeaf, TreeParent } from "../async-tree/+types.async-tree";
1
+ import type { TreeLeaf, TreeParent } from "../async-tree/+types.async-tree.js";
2
2
  export declare function getNodeDepth(node: TreeParent<any, any> | TreeLeaf<any, any>): number;
@@ -1,2 +1,2 @@
1
- import type { TreeParent, TreeRoot } from "../async-tree/+types.async-tree";
1
+ import type { TreeParent, TreeRoot } from "../async-tree/+types.async-tree.js";
2
2
  export declare function getNodePath<T, K>(c: TreeRoot<T, K> | TreeParent<T, K>): (string | null)[];
@@ -1,4 +1,4 @@
1
- import type { RowNormalRowLayout } from "../../+types";
1
+ import type { RowNormalRowLayout } from "../../+types.js";
2
2
  import { type DropWrapProps } from "@1771technologies/lytenyte-shared";
3
3
  export interface RowProps extends Omit<DropWrapProps, "accepted"> {
4
4
  readonly row: RowNormalRowLayout<any>;
@@ -1,12 +1,12 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { forwardRef, memo } from "react";
3
- import { useGridRoot } from "../../context";
4
- import { RowDetailRow } from "../row-detail-row";
3
+ import { useGridRoot } from "../../context.js";
4
+ import { RowDetailRow } from "../row-detail-row.js";
5
5
  import { RowReact } from "@1771technologies/lytenyte-shared";
6
- import { useRowContextValue } from "./use-row-context-value";
7
- import { RowContext } from "./context";
6
+ import { useRowContextValue } from "./use-row-context-value.js";
7
+ import { RowContext } from "./context.js";
8
8
  import { equal } from "@1771technologies/lytenyte-js-utils";
9
- import { CellSpacerNoPin } from "../../cells/cell-spacer";
9
+ import { CellSpacerNoPin } from "../../cells/cell-spacer.js";
10
10
  const empty = [];
11
11
  const RowImpl = forwardRef(function Rows({ row, ...props }, forwarded) {
12
12
  const ctx = useGridRoot().grid;
@@ -1,6 +1,6 @@
1
- import type { Grid, GridAtomReadonlyUnwatchable, RowNode } from "../../+types";
2
- import type { InternalAtoms } from "../../state/+types";
3
- import type { RowMetaData } from "./context";
1
+ import type { Grid, GridAtomReadonlyUnwatchable, RowNode } from "../../+types.js";
2
+ import type { InternalAtoms } from "../../state/+types.js";
3
+ import type { RowMetaData } from "./context.js";
4
4
  export declare function useRowContextValue(grid: Grid<any> & {
5
5
  internal: InternalAtoms;
6
6
  }, row: GridAtomReadonlyUnwatchable<RowNode<any> | null>, yPositions: Uint32Array): RowMetaData;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { getNearestRow, getRowIndexFromEl, SCROLL_WIDTH_VARIABLE_USE, sizeFromCoord, } from "@1771technologies/lytenyte-shared";
3
- import { useGridRoot } from "../context";
3
+ import { useGridRoot } from "../context.js";
4
4
  import { useEffect, useState } from "react";
5
5
  import { getTabbables, isHTMLElement } from "@1771technologies/lytenyte-dom-utils";
6
6
  export function RowDetailRow({ layout, }) {
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
3
  import { fastDeepMemo } from "@1771technologies/lytenyte-react-hooks";
4
- import { useGridRoot } from "../context";
4
+ import { useGridRoot } from "../context.js";
5
5
  import { RowFullWidthReact } from "@1771technologies/lytenyte-shared";
6
- import { RowDetailRow } from "./row-detail-row";
7
- import { useRowContextValue } from "./row/use-row-context-value";
6
+ import { RowDetailRow } from "./row-detail-row.js";
7
+ import { useRowContextValue } from "./row/use-row-context-value.js";
8
8
  const empty = [];
9
9
  const RowFullWidthImpl = forwardRef(function RowFullWidth({ row: layout, space, children, ...props }, forwarded) {
10
10
  const grid = useGridRoot().grid;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
- import { useGridRoot } from "../context";
3
+ import { useGridRoot } from "../context.js";
4
4
  import { fastDeepMemo } from "@1771technologies/lytenyte-react-hooks";
5
5
  import { RowsContainerReact } from "@1771technologies/lytenyte-shared";
6
6
  export const RowsContainer = fastDeepMemo(forwardRef(function Rows(props, forwarded) {
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
3
  import { fastDeepMemo } from "@1771technologies/lytenyte-react-hooks";
4
- import { useGridRoot } from "../context";
5
- import { NativeScroller } from "./scrollers/native-scroller";
4
+ import { useGridRoot } from "../context.js";
5
+ import { NativeScroller } from "./scrollers/native-scroller.js";
6
6
  import { RowsBottomReact, RowsCenterReact, RowsTopReact } from "@1771technologies/lytenyte-shared";
7
- import { CellSelectionBottom, CellSelectionCenter, CellSelectionTop, } from "../cell-selection/cell-selection-containers";
7
+ import { CellSelectionBottom, CellSelectionCenter, CellSelectionTop, } from "../cell-selection/cell-selection-containers.js";
8
8
  export const RowsTop = fastDeepMemo(forwardRef(function RowsTop(props, forwarded) {
9
9
  const cx = useGridRoot().grid;
10
10
  const view = cx.view.useValue().rows;
@@ -1,3 +1,3 @@
1
1
  import { type PropsWithChildren } from "react";
2
- import { type SortManagerContext } from "./context";
2
+ import { type SortManagerContext } from "./context.js";
3
3
  export declare function Root({ sortItems, setSortItems, grid, mode, children, }: PropsWithChildren<SortManagerContext>): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useMemo } from "react";
3
- import { context } from "./context";
3
+ import { context } from "./context.js";
4
4
  export function Root({ sortItems, setSortItems, grid, mode, children, }) {
5
5
  const value = useMemo(() => {
6
6
  return {
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useSlot } from "@1771technologies/lytenyte-react-hooks";
3
3
  import { forwardRef } from "react";
4
- import { useSortRowCtx } from "./context";
4
+ import { useSortRowCtx } from "./context.js";
5
5
  export const SortAdd = forwardRef(function SortAdd({ as: as, ...props }, forwarded) {
6
6
  const row = useSortRowCtx();
7
7
  const renderer = useSlot({
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useEvent, useSlot } from "@1771technologies/lytenyte-react-hooks";
3
3
  import { forwardRef } from "react";
4
- import { useSortManagerCtx } from "./context";
4
+ import { useSortManagerCtx } from "./context.js";
5
5
  import { itemsWithIdToMap } from "@1771technologies/lytenyte-js-utils";
6
- import { sortItemsToSortModel } from "./utils/sort-item-to-sort-model";
6
+ import { sortItemsToSortModel } from "./utils/sort-item-to-sort-model.js";
7
7
  export const SortApply = forwardRef(function SortApply({ as, ...props }, forwarded) {
8
8
  const ctx = useSortManagerCtx();
9
9
  const onApply = useEvent(() => {
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useEvent, useSlot } from "@1771technologies/lytenyte-react-hooks";
3
3
  import { forwardRef } from "react";
4
- import { useSortManagerCtx } from "./context";
5
- import { sortModelToSortItems } from "./utils/sort-model-to-sort-items";
4
+ import { useSortManagerCtx } from "./context.js";
5
+ import { sortModelToSortItems } from "./utils/sort-model-to-sort-items.js";
6
6
  import { itemsWithIdToMap } from "@1771technologies/lytenyte-js-utils";
7
7
  export const SortCancel = forwardRef(function SortCancel({ as, ...props }, forwarded) {
8
8
  const ctx = useSortManagerCtx();
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useEvent, useSlot } from "@1771technologies/lytenyte-react-hooks";
3
3
  import { forwardRef } from "react";
4
- import { useSortManagerCtx } from "./context";
4
+ import { useSortManagerCtx } from "./context.js";
5
5
  export const SortClear = forwardRef(function SortClear({ as, ...props }, forwarded) {
6
6
  const ctx = useSortManagerCtx();
7
7
  const onClear = useEvent(() => {
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useSlot } from "@1771technologies/lytenyte-react-hooks";
3
3
  import { forwardRef } from "react";
4
- import { useSortRowCtx } from "./context";
4
+ import { useSortRowCtx } from "./context.js";
5
5
  export const SortColumnSelect = forwardRef(function SortColumnSelect({ as, ...props }, forwarded) {
6
6
  const row = useSortRowCtx();
7
7
  const el = (_jsxs("select", { "aria-label": "Select column to sort", value: row.columnItem?.value ?? "", onChange: (e) => {
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useSlot } from "@1771technologies/lytenyte-react-hooks";
3
3
  import { forwardRef } from "react";
4
- import { useSortRowCtx } from "./context";
4
+ import { useSortRowCtx } from "./context.js";
5
5
  export const SortDirectionSelect = forwardRef(function SortDirectionSelect({ as, ...props }, forwarded) {
6
6
  const row = useSortRowCtx();
7
7
  const el = (_jsx("select", { "aria-label": "Select sort direction", value: row.sortDirectionSelected?.value ?? "", onChange: (e) => {
@@ -1,16 +1,16 @@
1
- import { Root } from "./root";
2
- import { useSortManager } from "./hooks/use-sort-manager";
1
+ import { Root } from "./root.js";
2
+ import { useSortManager } from "./hooks/use-sort-manager.js";
3
3
  export declare const SortManager: {
4
4
  Root: typeof Root;
5
- Row: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("./sort-row").SortRowProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
5
+ Row: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("./sort-row.js").SortRowProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
6
6
  Rows: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
7
- ColumnSelect: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("./sort-column-select").SortColumnSelectProps, "ref"> & import("react").RefAttributes<HTMLSelectElement>>;
8
- ValueSelect: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("./sort-value-select").SortValueSelectProps, "ref"> & import("react").RefAttributes<HTMLSelectElement>>;
9
- DirectionSelect: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("./sort-direction-select").SortDirectionSelectProps, "ref"> & import("react").RefAttributes<HTMLSelectElement>>;
10
- Add: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("./sort-add").SortAddProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
11
- Remove: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("./sort-remove").SortRemoveProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
12
- Cancel: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("./sort-cancel").SortCancelProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
13
- Clear: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("./sort-clear").SortClearProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
14
- Apply: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("./sort-apply").SortApplyProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
7
+ ColumnSelect: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("./sort-column-select.js").SortColumnSelectProps, "ref"> & import("react").RefAttributes<HTMLSelectElement>>;
8
+ ValueSelect: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("./sort-value-select.js").SortValueSelectProps, "ref"> & import("react").RefAttributes<HTMLSelectElement>>;
9
+ DirectionSelect: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("./sort-direction-select.js").SortDirectionSelectProps, "ref"> & import("react").RefAttributes<HTMLSelectElement>>;
10
+ Add: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("./sort-add.js").SortAddProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
11
+ Remove: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("./sort-remove.js").SortRemoveProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
12
+ Cancel: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("./sort-cancel.js").SortCancelProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
13
+ Clear: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("./sort-clear.js").SortClearProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
14
+ Apply: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("./sort-apply.js").SortApplyProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
15
15
  useSortManager: typeof useSortManager;
16
16
  };
@@ -1,15 +1,15 @@
1
- import { Root } from "./root";
2
- import { SortRow } from "./sort-row";
3
- import { SortRows } from "./sort-rows";
4
- import { useSortManager } from "./hooks/use-sort-manager";
5
- import { SortColumnSelect } from "./sort-column-select";
6
- import { SortValueSelect } from "./sort-value-select";
7
- import { SortDirectionSelect } from "./sort-direction-select";
8
- import { SortAdd } from "./sort-add";
9
- import { SortRemove } from "./sort-remove";
10
- import { SortCancel } from "./sort-cancel";
11
- import { SortClear } from "./sort-clear";
12
- import { SortApply } from "./sort-apply";
1
+ import { Root } from "./root.js";
2
+ import { SortRow } from "./sort-row.js";
3
+ import { SortRows } from "./sort-rows.js";
4
+ import { useSortManager } from "./hooks/use-sort-manager.js";
5
+ import { SortColumnSelect } from "./sort-column-select.js";
6
+ import { SortValueSelect } from "./sort-value-select.js";
7
+ import { SortDirectionSelect } from "./sort-direction-select.js";
8
+ import { SortAdd } from "./sort-add.js";
9
+ import { SortRemove } from "./sort-remove.js";
10
+ import { SortCancel } from "./sort-cancel.js";
11
+ import { SortClear } from "./sort-clear.js";
12
+ import { SortApply } from "./sort-apply.js";
13
13
  export const SortManager = {
14
14
  Root,
15
15
  Row: SortRow,
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useSlot } from "@1771technologies/lytenyte-react-hooks";
3
3
  import { forwardRef } from "react";
4
- import { useSortRowCtx } from "./context";
4
+ import { useSortRowCtx } from "./context.js";
5
5
  export const SortRemove = forwardRef(function SortRemove({ as, ...props }, forwarded) {
6
6
  const row = useSortRowCtx();
7
7
  const renderer = useSlot({
@@ -1,4 +1,4 @@
1
- import type { SortRowItem } from "./hooks/use-sort-row-item";
1
+ import type { SortRowItem } from "./hooks/use-sort-row-item.js";
2
2
  export interface SortRowProps {
3
3
  readonly row: SortRowItem;
4
4
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
- import { Item } from "../listbox/item";
4
- import { rowContext } from "./context";
3
+ import { Item } from "../listbox/item.js";
4
+ import { rowContext } from "./context.js";
5
5
  export const SortRow = forwardRef(function SortRow({ row, ...props }, forwarded) {
6
6
  return (_jsx(rowContext.Provider, { value: row, children: _jsx(Item, { ...props, ref: forwarded }) }));
7
7
  });
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
- import { Panel } from "../listbox/panel";
3
+ import { Panel } from "../listbox/panel.js";
4
4
  export const SortRows = forwardRef(function SortRows(props, forwarded) {
5
5
  return _jsx(Panel, { ...props, ref: forwarded });
6
6
  });
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useSlot } from "@1771technologies/lytenyte-react-hooks";
3
3
  import { forwardRef } from "react";
4
- import { useSortRowCtx } from "./context";
4
+ import { useSortRowCtx } from "./context.js";
5
5
  export const SortValueSelect = forwardRef(function SortValueSelect({ as, ...props }, forwarded) {
6
6
  const row = useSortRowCtx();
7
7
  const el = (_jsxs("select", { "aria-label": "Select sort value", value: row.sortSelected?.value ?? "", onChange: (e) => {
@@ -1,6 +1,6 @@
1
1
  import { CONTAINS_DEAD_CELLS, FULL_WIDTH, updateLayout } from "@1771technologies/lytenyte-shared";
2
- import { getSpanFn } from "../helpers/get-span-callback";
3
- import { getFullWidthCallback } from "../helpers/get-full-width-callback";
2
+ import { getSpanFn } from "../helpers/get-span-callback.js";
3
+ import { getFullWidthCallback } from "../helpers/get-full-width-callback.js";
4
4
  export const makeCellRoot = (grid) => {
5
5
  return (row, column) => {
6
6
  const l = grid.internal.layout;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { forwardRef, useMemo, useRef, useState } from "react";
3
- import { context } from "./context";
3
+ import { context } from "./context.js";
4
4
  import { useCombinedRefs, useEvent } from "@1771technologies/lytenyte-react-hooks";
5
5
  import { getAllIds } from "./navigation/get-all-ids.js";
6
6
  import { getIdsBetweenNodes } from "./utils/get-ids-between-nodes.js";
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
3
  import { useCombinedRefs } from "@1771technologies/lytenyte-react-hooks";
4
- import { useGridRoot } from "../context";
4
+ import { useGridRoot } from "../context.js";
5
5
  import { handleNavigationKeys, handleSkipInner, useFocusTracking, } from "@1771technologies/lytenyte-shared";
6
- import { beginEditing } from "./begin-editing";
6
+ import { beginEditing } from "./begin-editing.js";
7
7
  export const Viewport = forwardRef(function Viewport({ children, style, ...props }, forwarded) {
8
8
  const ctx = useGridRoot();
9
9
  const ref = useCombinedRefs(ctx.ref, forwarded);
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.8",
4
+ "version": "1.0.10",
5
5
  "type": "module",
6
6
  "license": "COMMERCIAL",
7
7
  "files": [
@@ -49,12 +49,12 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@1771technologies/atom": "^1.0.2",
52
- "@1771technologies/lytenyte-core": "1.0.8",
53
- "@1771technologies/lytenyte-dragon": "1.0.8",
54
- "@1771technologies/lytenyte-shared": "1.0.8",
55
- "@1771technologies/lytenyte-dom-utils": "1.0.8",
56
- "@1771technologies/lytenyte-react-hooks": "1.0.8",
57
- "@1771technologies/lytenyte-js-utils": "1.0.8"
52
+ "@1771technologies/lytenyte-shared": "1.0.10",
53
+ "@1771technologies/lytenyte-core": "1.0.10",
54
+ "@1771technologies/lytenyte-js-utils": "1.0.10",
55
+ "@1771technologies/lytenyte-react-hooks": "1.0.10",
56
+ "@1771technologies/lytenyte-dom-utils": "1.0.10",
57
+ "@1771technologies/lytenyte-dragon": "1.0.10"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "react": "^18.0.0 || ^19.0.0",