@versini/ui-datagrid 4.2.0 → 4.2.2
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.
- package/dist/262.js +1 -1
- package/dist/354.js +1 -1
- package/dist/631.js +1 -1
- package/dist/937.js +1 -1
- package/dist/DataGrid/DataGrid.d.ts +1 -1
- package/dist/DataGrid/DataGridContext.d.ts +1 -1
- package/dist/DataGrid/DataGridTypes.d.ts +1 -1
- package/dist/DataGrid/index.d.ts +3 -3
- package/dist/DataGrid/index.js +1 -1
- package/dist/DataGridAnimated/index.d.ts +4 -4
- package/dist/DataGridAnimated/index.js +1 -1
- package/dist/DataGridBody/DataGridBody.d.ts +1 -1
- package/dist/DataGridBody/index.d.ts +2 -2
- package/dist/DataGridBody/index.js +1 -1
- package/dist/DataGridCell/DataGridCell.d.ts +1 -1
- package/dist/DataGridCell/index.d.ts +2 -2
- package/dist/DataGridCell/index.js +1 -1
- package/dist/DataGridCellSort/ButtonSort.d.ts +1 -1
- package/dist/DataGridCellSort/DataGridCellSort.d.ts +1 -1
- package/dist/DataGridCellSort/index.d.ts +2 -2
- package/dist/DataGridCellSort/index.js +1 -1
- package/dist/DataGridConstants/index.d.ts +1 -1
- package/dist/DataGridConstants/index.js +1 -1
- package/dist/DataGridFooter/DataGridFooter.d.ts +1 -1
- package/dist/DataGridFooter/index.d.ts +2 -2
- package/dist/DataGridFooter/index.js +1 -1
- package/dist/DataGridHeader/DataGridHeader.d.ts +1 -1
- package/dist/DataGridHeader/index.d.ts +2 -2
- package/dist/DataGridHeader/index.js +1 -1
- package/dist/DataGridInfinite/index.d.ts +2 -2
- package/dist/DataGridInfinite/index.js +1 -1
- package/dist/DataGridRow/DataGridRow.d.ts +1 -1
- package/dist/DataGridRow/index.d.ts +2 -2
- package/dist/DataGridRow/index.js +1 -1
- package/dist/DataGridSorting/index.d.ts +2 -2
- package/dist/DataGridSorting/index.js +1 -1
- package/dist/DataGridSorting/sortingUtils.d.ts +1 -1
- package/dist/utilities/classes.d.ts +1 -1
- package/package.json +6 -3
package/dist/262.js
CHANGED
package/dist/354.js
CHANGED
package/dist/631.js
CHANGED
package/dist/937.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { DataGridProps } from "./DataGridTypes";
|
|
1
|
+
import type { DataGridProps } from "./DataGridTypes.js";
|
|
2
2
|
export declare const DataGrid: ({ className, wrapperClassName, children, mode, compact, stickyHeader, stickyFooter, blurEffect, maxHeight, loading, columns, ...rest }: DataGridProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { DataGridContextValue } from "./DataGridTypes";
|
|
1
|
+
import type { DataGridContextValue } from "./DataGridTypes.js";
|
|
2
2
|
export declare const DataGridContext: import("react").Context<DataGridContextValue>;
|
|
@@ -10,7 +10,7 @@ type GridTrackPrimitive = CSSLength | CSSPercentage | CSSFraction | "auto" | "mi
|
|
|
10
10
|
type CSSMinMax = `minmax(${GridTrackPrimitive}, ${GridTrackPrimitive})`;
|
|
11
11
|
type CSSRepeat = `repeat(${number | "auto-fill" | "auto-fit"}, ${GridTrackPrimitive})`;
|
|
12
12
|
export type DataGridColumnSize = GridTrackPrimitive | CSSMinMax | CSSRepeat;
|
|
13
|
-
import type { BlurEffect, CellWrapperType, SortDirection, ThemeMode } from "../DataGridConstants/DataGridConstants";
|
|
13
|
+
import type { BlurEffect, CellWrapperType, SortDirection, ThemeMode } from "../DataGridConstants/DataGridConstants.js";
|
|
14
14
|
export type DataGridProps = {
|
|
15
15
|
/**
|
|
16
16
|
* The content of the DataGrid (DataGridHeader, DataGridBody, DataGridFooter).
|
package/dist/DataGrid/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { DataGrid } from "./DataGrid";
|
|
2
|
-
export { DataGridContext } from "./DataGridContext";
|
|
3
|
-
export type { DataGridColumnSize, DataGridContextValue, DataGridProps, } from "./DataGridTypes";
|
|
1
|
+
export { DataGrid } from "./DataGrid.js";
|
|
2
|
+
export { DataGridContext } from "./DataGridContext.js";
|
|
3
|
+
export type { DataGridColumnSize, DataGridContextValue, DataGridProps, } from "./DataGridTypes.js";
|
package/dist/DataGrid/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { AnimatedWrapperProps } from "./AnimatedWrapper";
|
|
2
|
-
export { AnimatedWrapper } from "./AnimatedWrapper";
|
|
3
|
-
export type { UseAnimatedHeightOptions, UseAnimatedHeightReturn, } from "./useAnimatedHeight";
|
|
4
|
-
export { useAnimatedHeight } from "./useAnimatedHeight";
|
|
1
|
+
export type { AnimatedWrapperProps } from "./AnimatedWrapper.js";
|
|
2
|
+
export { AnimatedWrapper } from "./AnimatedWrapper.js";
|
|
3
|
+
export type { UseAnimatedHeightOptions, UseAnimatedHeightReturn, } from "./useAnimatedHeight.js";
|
|
4
|
+
export { useAnimatedHeight } from "./useAnimatedHeight.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { DataGridBodyProps } from "../DataGrid/DataGridTypes";
|
|
1
|
+
import type { DataGridBodyProps } from "../DataGrid/DataGridTypes.js";
|
|
2
2
|
export declare const DataGridBody: ({ className, children, noData, noDataText, ...rest }: DataGridBodyProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { DataGridBodyProps } from "../DataGrid/DataGridTypes";
|
|
2
|
-
export { DataGridBody } from "./DataGridBody";
|
|
1
|
+
export type { DataGridBodyProps } from "../DataGrid/DataGridTypes.js";
|
|
2
|
+
export { DataGridBody } from "./DataGridBody.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { DataGridCellProps } from "../DataGrid/DataGridTypes";
|
|
1
|
+
import type { DataGridCellProps } from "../DataGrid/DataGridTypes.js";
|
|
2
2
|
export declare const DataGridCell: ({ className, children, align, borderLeft, borderRight, colSpan, style, ...rest }: DataGridCellProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { DataGridCellProps } from "../DataGrid/DataGridTypes";
|
|
2
|
-
export { DataGridCell } from "./DataGridCell";
|
|
1
|
+
export type { DataGridCellProps } from "../DataGrid/DataGridTypes.js";
|
|
2
|
+
export { DataGridCell } from "./DataGridCell.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { DataGridCellSortProps } from "../DataGrid/DataGridTypes";
|
|
1
|
+
import type { DataGridCellSortProps } from "../DataGrid/DataGridTypes.js";
|
|
2
2
|
export declare const DataGridCellSort: ({ className, children, cellId, onSort, sortDirection, sortedCell, slotLeft, slotRight, buttonClassName, align, ...rest }: DataGridCellSortProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { DataGridCellSortProps } from "../DataGrid/DataGridTypes";
|
|
2
|
-
export { DataGridCellSort } from "./DataGridCellSort";
|
|
1
|
+
export type { DataGridCellSortProps } from "../DataGrid/DataGridTypes.js";
|
|
2
|
+
export { DataGridCellSort } from "./DataGridCellSort.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { type BlurEffect, BlurEffects, CellWrapper, type CellWrapperType, type SortDirection, SortDirections, type ThemeMode, ThemeModes, } from "./DataGridConstants";
|
|
1
|
+
export { type BlurEffect, BlurEffects, CellWrapper, type CellWrapperType, type SortDirection, SortDirections, type ThemeMode, ThemeModes, } from "./DataGridConstants.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DataGridFooterProps } from "../DataGrid/DataGridTypes";
|
|
1
|
+
import type { DataGridFooterProps } from "../DataGrid/DataGridTypes.js";
|
|
2
2
|
export declare const DataGridFooter: {
|
|
3
3
|
({ className, children, ...rest }: DataGridFooterProps): import("react").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { DataGridFooterProps } from "../DataGrid/DataGridTypes";
|
|
2
|
-
export { DataGridFooter } from "./DataGridFooter";
|
|
1
|
+
export type { DataGridFooterProps } from "../DataGrid/DataGridTypes.js";
|
|
2
|
+
export { DataGridFooter } from "./DataGridFooter.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DataGridHeaderProps } from "../DataGrid/DataGridTypes";
|
|
1
|
+
import type { DataGridHeaderProps } from "../DataGrid/DataGridTypes.js";
|
|
2
2
|
export declare const DataGridHeader: {
|
|
3
3
|
({ caption, captionClassName, className, children, ...rest }: DataGridHeaderProps): import("react").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { DataGridHeaderProps } from "../DataGrid/DataGridTypes";
|
|
2
|
-
export { DataGridHeader } from "./DataGridHeader";
|
|
1
|
+
export type { DataGridHeaderProps } from "../DataGrid/DataGridTypes.js";
|
|
2
|
+
export { DataGridHeader } from "./DataGridHeader.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { DataGridInfiniteBodyProps, DataGridInfiniteBodyRef, ScrollToIndexOptions, } from "./DataGridInfiniteBody";
|
|
2
|
-
export { DataGridInfiniteBody } from "./DataGridInfiniteBody";
|
|
1
|
+
export type { DataGridInfiniteBodyProps, DataGridInfiniteBodyRef, ScrollToIndexOptions, } from "./DataGridInfiniteBody.js";
|
|
2
|
+
export { DataGridInfiniteBody } from "./DataGridInfiniteBody.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { DataGridRowProps } from "../DataGrid/DataGridTypes";
|
|
2
|
+
import type { DataGridRowProps } from "../DataGrid/DataGridTypes.js";
|
|
3
3
|
export declare const DataGridRow: ({ className, children, active, style: userStyle, ...rest }: DataGridRowProps) => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { DataGridRowProps } from "../DataGrid/DataGridTypes";
|
|
2
|
-
export { DataGridRow } from "./DataGridRow";
|
|
1
|
+
export type { DataGridRowProps } from "../DataGrid/DataGridTypes.js";
|
|
2
|
+
export { DataGridRow } from "./DataGridRow.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { type SortDirection, SortDirections } from "../DataGridConstants";
|
|
2
|
-
export { getNextSortConfig, getOppositeSortDirection, type SortComparator, type SortConfig, sortByBoolean, sortByDate, sortByNumber, sortByString, sortItems, toggleSortDirection, } from "./sortingUtils";
|
|
1
|
+
export { type SortDirection, SortDirections, } from "../DataGridConstants/index.js";
|
|
2
|
+
export { getNextSortConfig, getOppositeSortDirection, type SortComparator, type SortConfig, sortByBoolean, sortByDate, sortByNumber, sortByString, sortItems, toggleSortDirection, } from "./sortingUtils.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BlurEffect, type CellWrapperType, type ThemeMode } from "../DataGridConstants/DataGridConstants";
|
|
1
|
+
import { type BlurEffect, type CellWrapperType, type ThemeMode } from "../DataGridConstants/DataGridConstants.js";
|
|
2
2
|
/**
|
|
3
3
|
* Text color classes based on theme mode.
|
|
4
4
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-datagrid",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@testing-library/jest-dom": "7.0.0",
|
|
90
|
-
"@versini/ui-button": "15.
|
|
90
|
+
"@versini/ui-button": "15.3.0"
|
|
91
91
|
},
|
|
92
92
|
"dependencies": {
|
|
93
93
|
"@tanstack/react-virtual": "3.14.9",
|
|
@@ -98,5 +98,8 @@
|
|
|
98
98
|
"sideEffects": [
|
|
99
99
|
"**/*.css"
|
|
100
100
|
],
|
|
101
|
-
"
|
|
101
|
+
"peerDependencies": {
|
|
102
|
+
"react": "^19.0.0"
|
|
103
|
+
},
|
|
104
|
+
"gitHead": "de7aa06d4201db44fac928231090caf3ed50bd9c"
|
|
102
105
|
}
|