@xcelsior/ui-spreadsheets 1.3.3 → 1.3.5
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 +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/dist/styles/globals.css +3 -0
- package/dist/styles/globals.css.map +1 -1
- package/package.json +1 -1
- package/src/components/Spreadsheet.tsx +4 -2
- package/src/components/SpreadsheetToolbar.tsx +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1557,7 +1557,7 @@ var SpreadsheetToolbar = ({
|
|
|
1557
1557
|
]
|
|
1558
1558
|
}
|
|
1559
1559
|
),
|
|
1560
|
-
showMoreMenu && /* @__PURE__ */ jsxs4("div", { className: "absolute right-0 top-full mt-1 bg-white border border-gray-200 shadow-lg rounded py-1 min-w-[180px] z-
|
|
1560
|
+
showMoreMenu && /* @__PURE__ */ jsxs4("div", { className: "absolute right-0 top-full mt-1 bg-white border border-gray-200 shadow-lg rounded py-1 min-w-[180px] z-[60]", children: [
|
|
1561
1561
|
onSettings && /* @__PURE__ */ jsxs4(
|
|
1562
1562
|
"button",
|
|
1563
1563
|
{
|
|
@@ -5371,12 +5371,12 @@ function Spreadsheet({
|
|
|
5371
5371
|
})
|
|
5372
5372
|
] })
|
|
5373
5373
|
] }),
|
|
5374
|
-
/* @__PURE__ */ jsx14("tbody", { children: isLoading ? Array.from({ length: Math.min(pageSize,
|
|
5374
|
+
/* @__PURE__ */ jsx14("tbody", { children: isLoading ? Array.from({ length: Math.min(pageSize, 100) }).map((_, rowIdx) => /* @__PURE__ */ jsxs14("tr", { children: [
|
|
5375
5375
|
/* @__PURE__ */ jsx14(
|
|
5376
5376
|
"td",
|
|
5377
5377
|
{
|
|
5378
5378
|
className: cn(
|
|
5379
|
-
"sticky",
|
|
5379
|
+
"border border-gray-100 sticky",
|
|
5380
5380
|
effectiveCompactMode ? "px-1.5 py-0.5" : "px-2.5 py-1.5"
|
|
5381
5381
|
),
|
|
5382
5382
|
style: {
|
|
@@ -5400,6 +5400,7 @@ function Spreadsheet({
|
|
|
5400
5400
|
return /* @__PURE__ */ jsx14(
|
|
5401
5401
|
"td",
|
|
5402
5402
|
{
|
|
5403
|
+
className: "border border-gray-100",
|
|
5403
5404
|
style: { backgroundColor: rowIdx % 2 !== 0 ? "#f9fafb" : "white" }
|
|
5404
5405
|
},
|
|
5405
5406
|
`skeleton-${rowIdx}-placeholder-${item.groupId}`
|
|
@@ -5409,6 +5410,7 @@ function Spreadsheet({
|
|
|
5409
5410
|
"td",
|
|
5410
5411
|
{
|
|
5411
5412
|
className: cn(
|
|
5413
|
+
"border border-gray-100",
|
|
5412
5414
|
effectiveCompactMode ? "px-1.5 py-0.5" : "px-2.5 py-1.5"
|
|
5413
5415
|
),
|
|
5414
5416
|
style: {
|