@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.js
CHANGED
|
@@ -247,8 +247,9 @@ var SelectContent = React7__namespace.forwardRef(({ className, children, positio
|
|
|
247
247
|
position,
|
|
248
248
|
style: {
|
|
249
249
|
zIndex: 99999,
|
|
250
|
-
backgroundColor: "
|
|
251
|
-
|
|
250
|
+
backgroundColor: "hsl(var(--xpa-popover))",
|
|
251
|
+
color: "hsl(var(--xpa-popover-foreground))",
|
|
252
|
+
border: "1px solid hsl(var(--xpa-border))",
|
|
252
253
|
borderRadius: "0.5rem",
|
|
253
254
|
boxShadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
|
|
254
255
|
marginTop: "4px"
|
|
@@ -467,8 +468,9 @@ var DropdownMenuContent = React7__namespace.forwardRef(({ className, sideOffset
|
|
|
467
468
|
),
|
|
468
469
|
style: {
|
|
469
470
|
zIndex: 99999,
|
|
470
|
-
backgroundColor: "
|
|
471
|
-
|
|
471
|
+
backgroundColor: "hsl(var(--xpa-popover))",
|
|
472
|
+
color: "hsl(var(--xpa-popover-foreground))",
|
|
473
|
+
border: "1px solid hsl(var(--xpa-border))",
|
|
472
474
|
borderRadius: "0.5rem",
|
|
473
475
|
boxShadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
|
|
474
476
|
padding: "6px"
|
|
@@ -2309,7 +2311,7 @@ var DraggablePageThumbnail = ({
|
|
|
2309
2311
|
ref,
|
|
2310
2312
|
"data-handler-id": handlerId,
|
|
2311
2313
|
className: cn(
|
|
2312
|
-
"relative group cursor-pointer border-2 rounded-lg overflow-hidden bg-
|
|
2314
|
+
"relative group cursor-pointer border-2 rounded-lg overflow-hidden bg-card transition-all",
|
|
2313
2315
|
isDragging && "opacity-50 scale-95",
|
|
2314
2316
|
isSelected ? "border-primary shadow-md" : "border-gray-200 hover:border-gray-300"
|
|
2315
2317
|
),
|
|
@@ -2337,7 +2339,7 @@ var DraggablePageThumbnail = ({
|
|
|
2337
2339
|
}
|
|
2338
2340
|
},
|
|
2339
2341
|
onContextMenu: handleContextMenu,
|
|
2340
|
-
className: "h-4 w-4 rounded border-
|
|
2342
|
+
className: "h-4 w-4 rounded border-border text-primary focus:ring-primary focus:ring-2 bg-card/90 cursor-pointer"
|
|
2341
2343
|
}
|
|
2342
2344
|
)
|
|
2343
2345
|
}
|
|
@@ -2665,7 +2667,7 @@ var BulkActionBar = ({
|
|
|
2665
2667
|
/* @__PURE__ */ jsxRuntime.jsx(TooltipContent, { children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Move selected pages to another file" }) })
|
|
2666
2668
|
] }) }),
|
|
2667
2669
|
/* @__PURE__ */ jsxRuntime.jsxs(Select, { onValueChange: onMovePages, children: [
|
|
2668
|
-
/* @__PURE__ */ jsxRuntime.jsx(SelectTrigger, { id: "move-select", className: "w-48 bg-
|
|
2670
|
+
/* @__PURE__ */ jsxRuntime.jsx(SelectTrigger, { id: "move-select", className: "w-48 bg-card", children: /* @__PURE__ */ jsxRuntime.jsx(SelectValue, { placeholder: "Choose file..." }) }),
|
|
2669
2671
|
/* @__PURE__ */ jsxRuntime.jsx(SelectContent, { children: files.map((file) => /* @__PURE__ */ jsxRuntime.jsx(SelectItem, { value: file.id, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
2670
2672
|
file.type === "pdf" ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Image, { className: "h-4 w-4" }),
|
|
2671
2673
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children: file.name })
|
|
@@ -2694,7 +2696,7 @@ var BulkActionBar = ({
|
|
|
2694
2696
|
variant: "outline",
|
|
2695
2697
|
size: "sm",
|
|
2696
2698
|
onClick: onClearSelection,
|
|
2697
|
-
className: "bg-
|
|
2699
|
+
className: "bg-card",
|
|
2698
2700
|
children: "Clear Selection"
|
|
2699
2701
|
}
|
|
2700
2702
|
)
|