galadrim-feedback 1.0.64 → 1.0.65
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/README.md +6 -0
- package/dist/index.cjs +319 -15
- package/dist/index.mjs +319 -15
- package/dist/types/libs/backend-client/api.d.ts +1178 -87
- package/dist/types/src/utils/isolateFromHostApp.d.ts +36 -0
- package/libs/backend-client/api.ts +2312 -106
- package/libs/backend-client/configuration.ts +96 -117
- package/package.json +1 -1
- package/src/components/boundary/StyleBoundary.tsx +10 -2
- package/src/components/molecules/feedbacks/shared/FeedbackTextArea.tsx +2 -1
- package/src/utils/isolateFromHostApp.ts +106 -0
package/README.md
CHANGED
|
@@ -406,6 +406,12 @@ ENV GIT_SHA=$GIT_SHA
|
|
|
406
406
|
|
|
407
407
|
Expose a `<meta name="git-sha" content="...">` tag or a `window.__GIT_SHA__` global at deploy time, or pass the `gitSha` prop to `FeedbackRoot`.
|
|
408
408
|
|
|
409
|
+
## Modals and focus traps
|
|
410
|
+
|
|
411
|
+
Galadrim Feedback works on top of modal dialogs (Radix, Headless UI, MUI, react-focus-lock…) without any configuration on your side: you don't need `modal={false}`, `onInteractOutside`, `onOpenAutoFocus` or any other escape hatch on your dialogs.
|
|
412
|
+
|
|
413
|
+
The widget renders in a shadow root and stops its own events from reaching `document`, so the focus traps and "click outside" layers of your app never mistake it for an outside interaction — leaving a feedback on a modal keeps it open and keeps the comment field focusable.
|
|
414
|
+
|
|
409
415
|
## Account Creation
|
|
410
416
|
|
|
411
417
|
Once it's installed, you can sign up and then in the Galadmin, you add yourself as a collaborator on the project
|