galadrim-feedback 0.0.13 → 0.0.14
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 +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.js +235 -91
- package/dist/index.es.css +2 -2
- package/dist/index.es.js +236 -92
- package/dist/types/src/index.d.ts +5 -0
- package/package.json +1 -4
- package/rollup.config.js +1 -1
- package/src/components/molecules/feedbacks/item/FeedbackListItem.tsx +5 -0
- package/src/components/molecules/feedbacks/shared/FeedbackPositioner.tsx +4 -2
- package/src/components/organisms/Root.tsx +2 -0
- package/src/components/organisms/SideBar.tsx +3 -6
- package/src/contexts/FeedbackContext.tsx +38 -26
- package/src/index.css +2 -2
- package/src/index.tsx +22 -0
- package/src/App.tsx +0 -18
package/README.md
CHANGED
|
@@ -13,3 +13,10 @@ const feedbackConfig = require("galadrim-feedback/tailwind.config");
|
|
|
13
13
|
const { merge } = require("lodash"); // Install lodash if not already installed
|
|
14
14
|
|
|
15
15
|
merge(feedbackConfig, {
|
|
16
|
+
|
|
17
|
+
add the FeedbackProvider to the root of your app (it needs to be inside the router)
|
|
18
|
+
const router = createBrowserRouter([
|
|
19
|
+
{
|
|
20
|
+
element: (
|
|
21
|
+
<FeedbackProvider rootDir="/Users/nicolasdescreux/Projects/galadrim/dashboard-client" />
|
|
22
|
+
),
|
package/dist/index.cjs.css
CHANGED
|
@@ -890,7 +890,7 @@ body.comment-cursor
|
|
|
890
890
|
cursor: url("/feedback/comment.svg") 0 24, auto !important;
|
|
891
891
|
}
|
|
892
892
|
|
|
893
|
-
body.comment-cursor
|
|
893
|
+
body.comment-cursor #feedback-sidebar,
|
|
894
894
|
body.comment-cursor .comment-container div {
|
|
895
895
|
cursor: auto !important;
|
|
896
896
|
}
|
|
@@ -932,7 +932,7 @@ body.comment-cursor .comment-container div {
|
|
|
932
932
|
align-items: start;
|
|
933
933
|
min-height: 48px;
|
|
934
934
|
width: 348px;
|
|
935
|
-
gap:
|
|
935
|
+
gap: 8px;
|
|
936
936
|
}
|
|
937
937
|
|
|
938
938
|
.comment-input-container-empty {
|