@webority/support-react 0.22.0 → 0.23.0
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/support-react.js +6 -2
- package/package.json +3 -3
package/dist/support-react.js
CHANGED
|
@@ -382,7 +382,11 @@ function ce({ id: e, config: t, defaultCategory: n, extraFiles: r = [], onSubmit
|
|
|
382
382
|
}
|
|
383
383
|
//#endregion
|
|
384
384
|
//#region src/ReportIssue.jsx
|
|
385
|
-
var le = "supportCapture", ue = {
|
|
385
|
+
var le = "supportCapture", ue = {
|
|
386
|
+
zIndex: "var(--wui-z-fixed)",
|
|
387
|
+
bottom: 0,
|
|
388
|
+
insetInlineEnd: 0
|
|
389
|
+
}, de = (e) => e?.dataset?.[le] !== "exclude";
|
|
386
390
|
async function fe() {
|
|
387
391
|
let e = await k(document.body, {
|
|
388
392
|
filter: de,
|
|
@@ -474,7 +478,7 @@ function me({ label: e = "Report an issue", floating: t = !1, defaultCategory: n
|
|
|
474
478
|
});
|
|
475
479
|
return /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("span", {
|
|
476
480
|
"data-support-capture": "exclude",
|
|
477
|
-
className: [t ? "position-fixed
|
|
481
|
+
className: [t ? "position-fixed m-3" : "d-inline-block", u].filter(Boolean).join(" "),
|
|
478
482
|
style: t ? {
|
|
479
483
|
...ue,
|
|
480
484
|
...f
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/support-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"description": "Webority customer support for React portals: ticket centre, report-an-issue with a page screenshot, and support contact details, built on @webority/ui-react.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"type": "module",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"react": "^19.0.0",
|
|
33
33
|
"react-bootstrap": "^2.10.0",
|
|
34
34
|
"react-dom": "^19.0.0",
|
|
35
|
-
"@webority/ui-react": "0.
|
|
35
|
+
"@webority/ui-react": "0.23.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@testing-library/dom": "10.4.2",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"typescript": "^7.0.2",
|
|
51
51
|
"vite": "^8.0.12",
|
|
52
52
|
"vitest": "5.0.1",
|
|
53
|
-
"@webority/ui-react": "0.
|
|
53
|
+
"@webority/ui-react": "0.23.0"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"html-to-image": "^1.11.13"
|