@sandeepmvn/react-pdf-annotator-v2 1.2.6 → 1.2.7
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.
|
@@ -78,7 +78,7 @@ const qu = [8, 10, 12, 14, 16, 20, 24, 32, 48, 64], Gu = [1, 2, 4, 8, 12], Ku =
|
|
|
78
78
|
/* @__PURE__ */ we("div", { className: "flex items-center gap-2", children: [
|
|
79
79
|
/* @__PURE__ */ P("button", { onClick: () => o(r - 1), disabled: r <= 1, className: "p-2 rounded-md hover:bg-gray-700 disabled:opacity-50", children: "‹" }),
|
|
80
80
|
/* @__PURE__ */ we("div", { className: "flex items-center", children: [
|
|
81
|
-
/* @__PURE__ */ P("input", { type: "number", value: r, onChange: N, className: "w-12 text-center bg-
|
|
81
|
+
/* @__PURE__ */ P("input", { type: "number", value: r, onChange: N, className: "w-12 text-center bg-white-800 rounded-md border border-gray-700" }),
|
|
82
82
|
/* @__PURE__ */ P("span", { className: "mx-2", children: "/" }),
|
|
83
83
|
/* @__PURE__ */ P("span", { children: n })
|
|
84
84
|
] }),
|
|
@@ -87,7 +87,7 @@ const qu = [8, 10, 12, 14, 16, 20, 24, 32, 48, 64], Gu = [1, 2, 4, 8, 12], Ku =
|
|
|
87
87
|
/* @__PURE__ */ P("div", { className: "w-px h-6 bg-gray-700" }),
|
|
88
88
|
/* @__PURE__ */ we("div", { className: "flex items-center gap-2", children: [
|
|
89
89
|
/* @__PURE__ */ P(_e, { label: "Zoom Out", onClick: () => a(Math.max(0.25, i - 0.25)), children: /* @__PURE__ */ P(nl, {}) }),
|
|
90
|
-
/* @__PURE__ */ we("span", { className: "w-16 text-center cursor-pointer", onClick: () => a(1), children: [
|
|
90
|
+
/* @__PURE__ */ we("span", { className: "w-16 text-center bg-white-800 rounded-md border border-gray-700 cursor-pointer", onClick: () => a(1), children: [
|
|
91
91
|
Math.round(i * 100),
|
|
92
92
|
"%"
|
|
93
93
|
] }),
|
|
@@ -120,15 +120,15 @@ const qu = [8, 10, 12, 14, 16, 20, 24, 32, 48, 64], Gu = [1, 2, 4, 8, 12], Ku =
|
|
|
120
120
|
] }),
|
|
121
121
|
/* @__PURE__ */ we("div", { className: "flex items-center gap-1 bg-gray-800 p-1 rounded-lg", children: [
|
|
122
122
|
/* @__PURE__ */ P(_e, { label: "Stamp", isActive: s === "STAMP", onClick: () => u("STAMP"), children: /* @__PURE__ */ P(ul, {}) }),
|
|
123
|
-
/* @__PURE__ */ P("select", { value: I, onChange: (R) => D(R.target.value), className: "bg-
|
|
123
|
+
/* @__PURE__ */ P("select", { value: I, onChange: (R) => D(R.target.value), className: "bg-white-700 border border-gray-600 rounded-md px-2 py-1 text-sm focus:outline-none focus:ring-2 focus:ring-indigo-500", children: Zu.map((R) => /* @__PURE__ */ P("option", { value: R, children: R }, R)) })
|
|
124
124
|
] }),
|
|
125
125
|
/* @__PURE__ */ we("div", { className: "flex items-center gap-2 bg-gray-800 p-1 rounded-lg", children: [
|
|
126
126
|
/* @__PURE__ */ P("input", { type: "color", value: c, onChange: (R) => l(R.target.value), className: "w-8 h-8 p-0 border-none rounded-md cursor-pointer bg-transparent", title: "Select color" }),
|
|
127
|
-
/* @__PURE__ */ P("select", { value: d, onChange: (R) => f(Number(R.target.value)), className: "bg-
|
|
127
|
+
/* @__PURE__ */ P("select", { value: d, onChange: (R) => f(Number(R.target.value)), className: "bg-white-700 border border-gray-600 rounded-md px-2 py-1 text-sm focus:outline-none focus:ring-2 focus:ring-indigo-500", title: "Stroke Width", children: Gu.map((R) => /* @__PURE__ */ we("option", { value: R, children: [
|
|
128
128
|
R,
|
|
129
129
|
"px"
|
|
130
130
|
] }, R)) }),
|
|
131
|
-
/* @__PURE__ */ P("select", { value: h, onChange: (R) => v(Number(R.target.value)), className: "bg-
|
|
131
|
+
/* @__PURE__ */ P("select", { value: h, onChange: (R) => v(Number(R.target.value)), className: "bg-white-700 border border-gray-600 rounded-md px-2 py-1 text-sm focus:outline-none focus:ring-2 focus:ring-indigo-500", title: "Font Size", children: qu.map((R) => /* @__PURE__ */ we("option", { value: R, children: [
|
|
132
132
|
R,
|
|
133
133
|
"pt"
|
|
134
134
|
] }, R)) })
|