@xcelsior/ui-spreadsheets 1.3.2 → 1.3.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.
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/Spreadsheet.tsx +2 -4
package/package.json
CHANGED
|
@@ -1093,12 +1093,12 @@ export function Spreadsheet<T extends Record<string, any>>({
|
|
|
1093
1093
|
|
|
1094
1094
|
<tbody>
|
|
1095
1095
|
{isLoading ? (
|
|
1096
|
-
Array.from({ length: Math.min(pageSize,
|
|
1096
|
+
Array.from({ length: Math.min(pageSize, 40) }).map((_, rowIdx) => (
|
|
1097
1097
|
<tr key={`skeleton-${rowIdx}`}>
|
|
1098
1098
|
{/* Row index skeleton */}
|
|
1099
1099
|
<td
|
|
1100
1100
|
className={cn(
|
|
1101
|
-
'
|
|
1101
|
+
'sticky',
|
|
1102
1102
|
effectiveCompactMode ? 'px-1.5 py-0.5' : 'px-2.5 py-1.5'
|
|
1103
1103
|
)}
|
|
1104
1104
|
style={{
|
|
@@ -1120,7 +1120,6 @@ export function Spreadsheet<T extends Record<string, any>>({
|
|
|
1120
1120
|
return (
|
|
1121
1121
|
<td
|
|
1122
1122
|
key={`skeleton-${rowIdx}-placeholder-${item.groupId}`}
|
|
1123
|
-
className="border border-gray-200"
|
|
1124
1123
|
style={{ backgroundColor: rowIdx % 2 !== 0 ? '#f9fafb' : 'white' }}
|
|
1125
1124
|
/>
|
|
1126
1125
|
);
|
|
@@ -1129,7 +1128,6 @@ export function Spreadsheet<T extends Record<string, any>>({
|
|
|
1129
1128
|
<td
|
|
1130
1129
|
key={`skeleton-${rowIdx}-${item.column.id}`}
|
|
1131
1130
|
className={cn(
|
|
1132
|
-
'border border-gray-200',
|
|
1133
1131
|
effectiveCompactMode ? 'px-1.5 py-0.5' : 'px-2.5 py-1.5'
|
|
1134
1132
|
)}
|
|
1135
1133
|
style={{
|