quick-bug-reporter-react 1.0.5 → 1.0.6
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.cjs +12 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2189,7 +2189,8 @@ function FloatingBugButton() {
|
|
|
2189
2189
|
"div",
|
|
2190
2190
|
{
|
|
2191
2191
|
ref: containerRef,
|
|
2192
|
-
|
|
2192
|
+
style: { position: "fixed", bottom: "1rem", right: "1rem", zIndex: 1100 },
|
|
2193
|
+
className: "flex flex-col items-end",
|
|
2193
2194
|
"data-bug-reporter-ui": "true",
|
|
2194
2195
|
children: isRecording ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
2195
2196
|
/* @__PURE__ */ jsxRuntime.jsxs(Button, { className: "h-11 gap-2 rounded-full px-4 shadow-lg shadow-black/20", type: "button", variant: "destructive", onClick: () => void handleStopRecording(), children: [
|
|
@@ -2312,6 +2313,7 @@ function DialogOverlay({
|
|
|
2312
2313
|
radixUi.Dialog.Overlay,
|
|
2313
2314
|
{
|
|
2314
2315
|
"data-slot": "dialog-overlay",
|
|
2316
|
+
"data-bug-reporter-ui": "true",
|
|
2315
2317
|
className: cn("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/60 duration-100 supports-backdrop-filter:backdrop-blur-sm fixed inset-0 isolate z-50", className),
|
|
2316
2318
|
...props
|
|
2317
2319
|
}
|
|
@@ -2329,8 +2331,16 @@ function DialogContent({
|
|
|
2329
2331
|
radixUi.Dialog.Content,
|
|
2330
2332
|
{
|
|
2331
2333
|
"data-slot": "dialog-content",
|
|
2334
|
+
"data-bug-reporter-ui": "true",
|
|
2335
|
+
style: {
|
|
2336
|
+
position: "fixed",
|
|
2337
|
+
top: "50%",
|
|
2338
|
+
left: "50%",
|
|
2339
|
+
transform: "translate(-50%, -50%)",
|
|
2340
|
+
translate: "none"
|
|
2341
|
+
},
|
|
2332
2342
|
className: cn(
|
|
2333
|
-
"bg-white text-gray-900 data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 ring-gray-900/5 grid max-w-[calc(100%-2rem)] gap-6 rounded-4xl p-6 text-sm ring-1 shadow-xl duration-100 sm:max-w-md
|
|
2343
|
+
"bg-white text-gray-900 data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 ring-gray-900/5 grid max-w-[calc(100%-2rem)] gap-6 rounded-4xl p-6 text-sm ring-1 shadow-xl duration-100 sm:max-w-md z-50 w-full outline-none",
|
|
2334
2344
|
className
|
|
2335
2345
|
),
|
|
2336
2346
|
...props,
|