@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.js
CHANGED
|
@@ -1602,7 +1602,7 @@ var SpreadsheetToolbar = ({
|
|
|
1602
1602
|
]
|
|
1603
1603
|
}
|
|
1604
1604
|
),
|
|
1605
|
-
showMoreMenu && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "absolute right-0 top-full mt-1 bg-white border border-gray-200 shadow-lg rounded py-1 min-w-[180px] z-
|
|
1605
|
+
showMoreMenu && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("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: [
|
|
1606
1606
|
onSettings && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
1607
1607
|
"button",
|
|
1608
1608
|
{
|
|
@@ -5416,12 +5416,12 @@ function Spreadsheet({
|
|
|
5416
5416
|
})
|
|
5417
5417
|
] })
|
|
5418
5418
|
] }),
|
|
5419
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("tbody", { children: isLoading ? Array.from({ length: Math.min(pageSize,
|
|
5419
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("tbody", { children: isLoading ? Array.from({ length: Math.min(pageSize, 100) }).map((_, rowIdx) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("tr", { children: [
|
|
5420
5420
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
5421
5421
|
"td",
|
|
5422
5422
|
{
|
|
5423
5423
|
className: cn(
|
|
5424
|
-
"sticky",
|
|
5424
|
+
"border border-gray-100 sticky",
|
|
5425
5425
|
effectiveCompactMode ? "px-1.5 py-0.5" : "px-2.5 py-1.5"
|
|
5426
5426
|
),
|
|
5427
5427
|
style: {
|
|
@@ -5445,6 +5445,7 @@ function Spreadsheet({
|
|
|
5445
5445
|
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
5446
5446
|
"td",
|
|
5447
5447
|
{
|
|
5448
|
+
className: "border border-gray-100",
|
|
5448
5449
|
style: { backgroundColor: rowIdx % 2 !== 0 ? "#f9fafb" : "white" }
|
|
5449
5450
|
},
|
|
5450
5451
|
`skeleton-${rowIdx}-placeholder-${item.groupId}`
|
|
@@ -5454,6 +5455,7 @@ function Spreadsheet({
|
|
|
5454
5455
|
"td",
|
|
5455
5456
|
{
|
|
5456
5457
|
className: cn(
|
|
5458
|
+
"border border-gray-100",
|
|
5457
5459
|
effectiveCompactMode ? "px-1.5 py-0.5" : "px-2.5 py-1.5"
|
|
5458
5460
|
),
|
|
5459
5461
|
style: {
|