@ewjdev/anyclick-react 1.4.1 → 3.0.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/README.md CHANGED
@@ -43,6 +43,29 @@ export function Providers({ children }: { children: React.ReactNode }) {
43
43
 
44
44
  That's it! Users can now right-click any element to submit feedback.
45
45
 
46
+ ### Advanced inspector (DevTools UI)
47
+
48
+ For the full Chrome DevTools-style inspector (modification tracking, box model overlay, accessibility deep dive), install the dedicated package:
49
+
50
+ ```bash
51
+ npm install @ewjdev/anyclick-devtools
52
+ ```
53
+
54
+ ```tsx
55
+ import {
56
+ InspectDialogManager,
57
+ openInspectDialog,
58
+ } from "@ewjdev/anyclick-devtools";
59
+
60
+ // Place once near the root
61
+ <InspectDialogManager />;
62
+
63
+ // Trigger from a menu item or button
64
+ openInspectDialog(targetElement);
65
+ ```
66
+
67
+ `@ewjdev/anyclick-react` keeps the tiny inspector for quick selector/copy/screenshot flows, while `@ewjdev/anyclick-devtools` hosts the full-featured experience.
68
+
46
69
  ## Features
47
70
 
48
71
  - 🖱️ **Right-Click Context Menu** - Native feel with customizable items
@@ -53,7 +76,7 @@ That's it! Users can now right-click any element to submit feedback.
53
76
  - 📁 **Submenus** - Organize menu items with nested submenus
54
77
  - 🎯 **Scoped Providers** - Limit feedback capture to specific components
55
78
  - 🎨 **Nested Theming** - Override themes for specific sections of your app
56
- - 🔍 **Element Inspector** - Chrome DevTools-style inspect dialog
79
+ - 🔍 **Tiny Inspector** - Built-in lightweight inspector (selector, contents, screenshot); full DevTools UI now lives in `@ewjdev/anyclick-devtools`
57
80
  - ⚡ **Performance Optimized** - Memoized components and efficient re-renders
58
81
 
59
82
  ## API Reference