@xcelsior/ui-spreadsheets 1.3.2 → 1.3.4
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 +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/Spreadsheet.tsx +4 -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, 100) }).map((_, rowIdx) => (
|
|
1097
1097
|
<tr key={`skeleton-${rowIdx}`}>
|
|
1098
1098
|
{/* Row index skeleton */}
|
|
1099
1099
|
<td
|
|
1100
1100
|
className={cn(
|
|
1101
|
-
'border border-gray-
|
|
1101
|
+
'border border-gray-100 sticky',
|
|
1102
1102
|
effectiveCompactMode ? 'px-1.5 py-0.5' : 'px-2.5 py-1.5'
|
|
1103
1103
|
)}
|
|
1104
1104
|
style={{
|
|
@@ -1120,7 +1120,7 @@ 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-
|
|
1123
|
+
className="border border-gray-100"
|
|
1124
1124
|
style={{ backgroundColor: rowIdx % 2 !== 0 ? '#f9fafb' : 'white' }}
|
|
1125
1125
|
/>
|
|
1126
1126
|
);
|
|
@@ -1129,7 +1129,7 @@ export function Spreadsheet<T extends Record<string, any>>({
|
|
|
1129
1129
|
<td
|
|
1130
1130
|
key={`skeleton-${rowIdx}-${item.column.id}`}
|
|
1131
1131
|
className={cn(
|
|
1132
|
-
'border border-gray-
|
|
1132
|
+
'border border-gray-100',
|
|
1133
1133
|
effectiveCompactMode ? 'px-1.5 py-0.5' : 'px-2.5 py-1.5'
|
|
1134
1134
|
)}
|
|
1135
1135
|
style={{
|