mesurer 0.1.1 → 0.1.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # mesurer
2
2
 
3
+ ## 0.1.2
4
+
5
+ - add configurable keyboard shortcuts and toolbar minimization
6
+ - improve keyboard shortcut reliability in host-page editors and browser prompts
7
+ - preserve Text-tool typing, paste, IME input, and host-page focus
8
+ - fix annotation deletion with Backspace/Delete after a page editor has focus
9
+ - improve Chrome extension keyboard isolation and focus handoff
10
+ - fix interruptible toolbar motion when switching inspect/annotate or minimizing
11
+ - stretch toolbar separators to the pill edges
12
+
3
13
  ## 0.1.1
4
14
 
5
15
  - add grouped Select & Inspect and Annotate toolbars
package/README.md CHANGED
@@ -53,6 +53,7 @@ function App() {
53
53
  | `hoverHighlightEnabled` | Disables hover highlight and deselects on click when `false`. |
54
54
  | `layoutDetailsEnabled` | Shows gap and padding under selected dimensions. Default `true`. |
55
55
  | `persistOnReload` | Persists workspace state across reloads when `true`. |
56
+ | `shortcutsEnabled` | Enables global keyboard shortcuts when `true`. Default `true`. |
56
57
  | `persistKey` | Optional workspace storage key; default workspaces are isolated per browser tab. |
57
58
  | `portalTarget` | Optional element or shadow root used as the overlay portal mount target. |
58
59
  | `persistence` | Optional storage adapter for custom or extension-backed persistence. |
@@ -93,7 +94,7 @@ Props are the defaults. Saved settings override them; **Use defaults** restores
93
94
  | `H` | Set guide orientation to horizontal. |
94
95
  | `V` | Set guide orientation to vertical. |
95
96
  | `Alt` | Temporarily enable option/guide measurement overlays. |
96
- | `Esc` | Close an open panel, cancel the current interaction, or deselect the tool; press twice to exit Mesurer completely. |
97
+ | `Esc` | Close an open panel, cancel the current interaction, or deselect the tool. Press again to minimize Mesurer. |
97
98
  | `Backspace` / `Delete` | Remove selected guides, arrows, pen strokes, or text. |
98
99
  | `Cmd/Ctrl + Z` | Undo. |
99
100
  | `Cmd/Ctrl + Shift + Z` | Redo. |
@@ -114,7 +115,7 @@ Props are the defaults. Saved settings override them; **Use defaults** restores
114
115
  - **Distance overlays** - Hold Alt for quick spacing checks
115
116
  - **Undo/redo** - Command history for guides, measurements, arrows, pen strokes, and text annotations
116
117
  - **Settings** - Configure selection, guide, ruler, arrow, text, color, format, and persistence behavior
117
- - **Workspace controls** - Restore defaults or clear guides, measurements, and annotations
118
+ - **Workspace controls** - Restore defaults or clear guides, measurements, and annotations; minimize Mesurer to a single toolbar button
118
119
 
119
120
  ## Requirements
120
121