mesurer 0.1.1 → 0.1.3

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,20 @@
1
1
  # mesurer
2
2
 
3
+ ## 0.1.3
4
+
5
+ - fix color settings input, copy, and paste updates in embedded apps and the Chrome extension
6
+ - scope extension keyboard isolation so it does not interfere with embedded Mesurer instances
7
+
8
+ ## 0.1.2
9
+
10
+ - add configurable keyboard shortcuts and toolbar minimization
11
+ - improve keyboard shortcut reliability in host-page editors and browser prompts
12
+ - preserve Text-tool typing, paste, IME input, and host-page focus
13
+ - fix annotation deletion with Backspace/Delete after a page editor has focus
14
+ - improve Chrome extension keyboard isolation and focus handoff
15
+ - fix interruptible toolbar motion when switching inspect/annotate or minimizing
16
+ - stretch toolbar separators to the pill edges
17
+
3
18
  ## 0.1.1
4
19
 
5
20
  - 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