@signiphi/page-assembly 0.2.0-beta.16 → 0.2.0-beta.17
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 +10 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -8
- package/dist/index.mjs.map +1 -1
- package/dist/styles/index.css +182 -155
- package/package.json +1 -1
- package/src/styles/index.css +164 -109
package/dist/index.mjs
CHANGED
|
@@ -220,8 +220,9 @@ var SelectContent = React7.forwardRef(({ className, children, position = "popper
|
|
|
220
220
|
position,
|
|
221
221
|
style: {
|
|
222
222
|
zIndex: 99999,
|
|
223
|
-
backgroundColor: "
|
|
224
|
-
|
|
223
|
+
backgroundColor: "hsl(var(--xpa-popover))",
|
|
224
|
+
color: "hsl(var(--xpa-popover-foreground))",
|
|
225
|
+
border: "1px solid hsl(var(--xpa-border))",
|
|
225
226
|
borderRadius: "0.5rem",
|
|
226
227
|
boxShadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
|
|
227
228
|
marginTop: "4px"
|
|
@@ -440,8 +441,9 @@ var DropdownMenuContent = React7.forwardRef(({ className, sideOffset = 4, ...pro
|
|
|
440
441
|
),
|
|
441
442
|
style: {
|
|
442
443
|
zIndex: 99999,
|
|
443
|
-
backgroundColor: "
|
|
444
|
-
|
|
444
|
+
backgroundColor: "hsl(var(--xpa-popover))",
|
|
445
|
+
color: "hsl(var(--xpa-popover-foreground))",
|
|
446
|
+
border: "1px solid hsl(var(--xpa-border))",
|
|
445
447
|
borderRadius: "0.5rem",
|
|
446
448
|
boxShadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
|
|
447
449
|
padding: "6px"
|
|
@@ -2282,7 +2284,7 @@ var DraggablePageThumbnail = ({
|
|
|
2282
2284
|
ref,
|
|
2283
2285
|
"data-handler-id": handlerId,
|
|
2284
2286
|
className: cn(
|
|
2285
|
-
"relative group cursor-pointer border-2 rounded-lg overflow-hidden bg-
|
|
2287
|
+
"relative group cursor-pointer border-2 rounded-lg overflow-hidden bg-card transition-all",
|
|
2286
2288
|
isDragging && "opacity-50 scale-95",
|
|
2287
2289
|
isSelected ? "border-primary shadow-md" : "border-gray-200 hover:border-gray-300"
|
|
2288
2290
|
),
|
|
@@ -2310,7 +2312,7 @@ var DraggablePageThumbnail = ({
|
|
|
2310
2312
|
}
|
|
2311
2313
|
},
|
|
2312
2314
|
onContextMenu: handleContextMenu,
|
|
2313
|
-
className: "h-4 w-4 rounded border-
|
|
2315
|
+
className: "h-4 w-4 rounded border-border text-primary focus:ring-primary focus:ring-2 bg-card/90 cursor-pointer"
|
|
2314
2316
|
}
|
|
2315
2317
|
)
|
|
2316
2318
|
}
|
|
@@ -2638,7 +2640,7 @@ var BulkActionBar = ({
|
|
|
2638
2640
|
/* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("p", { children: "Move selected pages to another file" }) })
|
|
2639
2641
|
] }) }),
|
|
2640
2642
|
/* @__PURE__ */ jsxs(Select, { onValueChange: onMovePages, children: [
|
|
2641
|
-
/* @__PURE__ */ jsx(SelectTrigger, { id: "move-select", className: "w-48 bg-
|
|
2643
|
+
/* @__PURE__ */ jsx(SelectTrigger, { id: "move-select", className: "w-48 bg-card", children: /* @__PURE__ */ jsx(SelectValue, { placeholder: "Choose file..." }) }),
|
|
2642
2644
|
/* @__PURE__ */ jsx(SelectContent, { children: files.map((file) => /* @__PURE__ */ jsx(SelectItem, { value: file.id, children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
2643
2645
|
file.type === "pdf" ? /* @__PURE__ */ jsx(FileText, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(Image$1, { className: "h-4 w-4" }),
|
|
2644
2646
|
/* @__PURE__ */ jsx("span", { className: "truncate", children: file.name })
|
|
@@ -2667,7 +2669,7 @@ var BulkActionBar = ({
|
|
|
2667
2669
|
variant: "outline",
|
|
2668
2670
|
size: "sm",
|
|
2669
2671
|
onClick: onClearSelection,
|
|
2670
|
-
className: "bg-
|
|
2672
|
+
className: "bg-card",
|
|
2671
2673
|
children: "Clear Selection"
|
|
2672
2674
|
}
|
|
2673
2675
|
)
|