infinity-ui-elements 1.8.26 → 1.8.27
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/components/Table/Table.d.ts.map +1 -1
- package/dist/index.esm.js +2 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3991,6 +3991,7 @@ function TableComponent({ className, wrapperClassName, containerClassName, varia
|
|
|
3991
3991
|
maxHeight: typeof maxHeight === "number" ? `${maxHeight}px` : maxHeight,
|
|
3992
3992
|
};
|
|
3993
3993
|
}, [maxHeight]);
|
|
3994
|
+
// Resolve loading state: prefer 'loading' prop, fallback to 'isLoading' for backward compatibility
|
|
3994
3995
|
const resolvedLoading = typeof loading === "boolean" ? loading : Boolean(isLoading);
|
|
3995
3996
|
const skeletonRowCount = loadingSkeletonRows ?? 5;
|
|
3996
3997
|
const sizeKey = size || "medium";
|
|
@@ -4041,6 +4042,7 @@ function TableComponent({ className, wrapperClassName, containerClassName, varia
|
|
|
4041
4042
|
onRowClick(row);
|
|
4042
4043
|
}
|
|
4043
4044
|
}, [onRowClick]);
|
|
4045
|
+
// ==================== Render Helpers ====================
|
|
4044
4046
|
const renderEmptyState = () => {
|
|
4045
4047
|
if (emptyComponent)
|
|
4046
4048
|
return emptyComponent;
|