@kendew-agency/react-feedback-layer 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +17 -17
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @kendew/react-feedback-layer
1
+ # @kendew-agency/react-feedback-layer
2
2
 
3
3
  A drop-in React feedback layer for collecting contextual user feedback through interactive comments and annotations. Perfect for design review tools, bug reporting systems, and collaborative annotation platforms.
4
4
 
@@ -17,7 +17,7 @@ A drop-in React feedback layer for collecting contextual user feedback through i
17
17
  ## Installation
18
18
 
19
19
  ```bash
20
- npm install @kendew/react-feedback-layer
20
+ npm install @kendew-agency/react-feedback-layer
21
21
  ```
22
22
 
23
23
  ### Peer Dependencies
@@ -35,7 +35,7 @@ import {
35
35
  CommentContextProvider,
36
36
  CommentOverlay,
37
37
  CommentRenderer,
38
- } from '@kendew/react-feedback-layer';
38
+ } from '@kendew-agency/react-feedback-layer';
39
39
 
40
40
  function App() {
41
41
  const handleConfirm = async (comments) => {
@@ -401,7 +401,7 @@ interface CommentButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
401
401
  **Example:**
402
402
 
403
403
  ```tsx
404
- import { ToggleOverlayButton } from '@kendew/react-feedback-layer';
404
+ import { ToggleOverlayButton } from '@kendew-agency/react-feedback-layer';
405
405
 
406
406
  <ToggleOverlayButton className="toggle-btn">
407
407
  Toggle Comments
@@ -415,7 +415,7 @@ Confirms all draft comments and triggers the `onConfirm` callback.
415
415
  **Example:**
416
416
 
417
417
  ```tsx
418
- import { ConfirmComments } from '@kendew/react-feedback-layer';
418
+ import { ConfirmComments } from '@kendew-agency/react-feedback-layer';
419
419
 
420
420
  <ConfirmComments className="btn-save">
421
421
  Save All Comments
@@ -429,7 +429,7 @@ Resolves all resolving comments and triggers the `onResolve` callback.
429
429
  **Example:**
430
430
 
431
431
  ```tsx
432
- import { ResolveComments } from '@kendew/react-feedback-layer';
432
+ import { ResolveComments } from '@kendew-agency/react-feedback-layer';
433
433
 
434
434
  <ResolveComments className="btn-resolve-all">
435
435
  Resolve All
@@ -476,7 +476,7 @@ interface CommentContext {
476
476
  **Example:**
477
477
 
478
478
  ```tsx
479
- import { useComments } from '@kendew/react-feedback-layer';
479
+ import { useComments } from '@kendew-agency/react-feedback-layer';
480
480
 
481
481
  function CommentToolbar() {
482
482
  const {
@@ -524,7 +524,7 @@ interface CommentScope {
524
524
  **Example:**
525
525
 
526
526
  ```tsx
527
- import { useCommentScope } from '@kendew/react-feedback-layer';
527
+ import { useCommentScope } from '@kendew-agency/react-feedback-layer';
528
528
 
529
529
  function CustomCommentContent() {
530
530
  const { comment, isActive, draft } = useCommentScope();
@@ -553,7 +553,7 @@ import type {
553
553
  CommentVisibility,
554
554
  CommentAction,
555
555
  Config
556
- } from '@kendew/react-feedback-layer/types';
556
+ } from '@kendew-agency/react-feedback-layer/types';
557
557
  ```
558
558
 
559
559
  #### `CommentType`
@@ -633,7 +633,7 @@ import {
633
633
  Comment,
634
634
  ToggleOverlayButton,
635
635
  ConfirmComments,
636
- } from '@kendew/react-feedback-layer';
636
+ } from '@kendew-agency/react-feedback-layer';
637
637
 
638
638
  function DraftComment({ comment }) {
639
639
  return (
@@ -757,7 +757,7 @@ function App() {
757
757
  ### Custom Toolbar with Visibility Controls
758
758
 
759
759
  ```tsx
760
- import { useComments } from '@kendew/react-feedback-layer';
760
+ import { useComments } from '@kendew-agency/react-feedback-layer';
761
761
 
762
762
  function CommentToolbar() {
763
763
  const {
@@ -824,7 +824,7 @@ function CommentToolbar() {
824
824
  The `asChild` prop (powered by Radix UI Slot) lets you render components as different elements:
825
825
 
826
826
  ```tsx
827
- import { Comment } from '@kendew/react-feedback-layer';
827
+ import { Comment } from '@kendew-agency/react-feedback-layer';
828
828
 
829
829
  function CustomComment({ comment }) {
830
830
  return (
@@ -920,7 +920,7 @@ function VisibilityControls() {
920
920
  ### Programmatic Comment Creation
921
921
 
922
922
  ```tsx
923
- import { useComments } from '@kendew/react-feedback-layer';
923
+ import { useComments } from '@kendew-agency/react-feedback-layer';
924
924
 
925
925
  function CustomTool() {
926
926
  const { registerComment } = useComments();
@@ -968,7 +968,7 @@ You can handle errors in two ways:
968
968
  **2. Handling errors from action results:**
969
969
 
970
970
  ```tsx
971
- import { useComments } from '@kendew/react-feedback-layer';
971
+ import { useComments } from '@kendew-agency/react-feedback-layer';
972
972
 
973
973
  function SaveButton() {
974
974
  const { confirmComments, overlayState } = useComments();
@@ -998,7 +998,7 @@ function SaveButton() {
998
998
  ### Filtering and Searching Comments
999
999
 
1000
1000
  ```tsx
1001
- import { useComments } from '@kendew/react-feedback-layer';
1001
+ import { useComments } from '@kendew-agency/react-feedback-layer';
1002
1002
  import { useState } from 'react';
1003
1003
 
1004
1004
  function CommentList() {
@@ -1095,7 +1095,7 @@ This library is completely unstyled (headless). Here's a basic CSS example to ge
1095
1095
  This library is written in TypeScript and includes full type definitions. No additional `@types` packages needed.
1096
1096
 
1097
1097
  ```tsx
1098
- import type { CommentType, User } from '@kendew/react-feedback-layer/types';
1098
+ import type { CommentType, User } from '@kendew-agency/react-feedback-layer/types';
1099
1099
 
1100
1100
  const user: User = {
1101
1101
  id: '123',
@@ -1153,4 +1153,4 @@ MIT © [Kendew Agency](https://github.com/Kendew-Agency)
1153
1153
 
1154
1154
  - [GitHub Repository](https://github.com/Kendew-Agency/react-feedback-layer)
1155
1155
  - [Issue Tracker](https://github.com/Kendew-Agency/react-feedback-layer/issues)
1156
- - [NPM Package](https://www.npmjs.com/package/@kendew/react-feedback-layer)
1156
+ - [NPM Package](https://www.npmjs.com/package/@kendew-agency/react-feedback-layer)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kendew-agency/react-feedback-layer",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Drop-in React feedback layer for collecting contextual user feedback",
5
5
  "license": "MIT",
6
6
  "author": "Kendew Agency",