mesurer 0.0.5 → 0.0.7

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,16 @@
1
1
  # mesurer
2
2
 
3
+ ## 0.0.7
4
+
5
+ - restore toolbar/menu shadow rendering with stable surface CSS classes
6
+
7
+ ## 0.0.6
8
+
9
+ - add Chrome extension (MV3) with click-to-toggle toolbar
10
+ - isolate styles to avoid host site conflicts
11
+ - prefix Tailwind utilities with `msr:` to prevent class collisions
12
+ - fix guide Alt/Option distance measurement behavior
13
+
3
14
  ## 0.0.5
4
15
 
5
16
  - update toolbar UI
package/README.md CHANGED
@@ -33,31 +33,30 @@ function App() {
33
33
  }
34
34
  ```
35
35
 
36
- No additional CSS import is required.
37
-
38
36
  ## Props
39
37
 
40
- | Prop | Description |
41
- | --- | --- |
42
- | `highlightColor` | Base color for selection/hover overlays (defaults to `oklch(0.62 0.18 255)`). |
43
- | `guideColor` | Base color for guides (defaults to `oklch(0.63 0.26 29.23)`). |
44
- | `hoverHighlightEnabled` | Disables hover highlight and deselects on click when `false`. |
45
- | `persistOnReload` | Persists state in `localStorage` as `mesurer-state` when `true`. |
38
+ | Prop | Description |
39
+ | ----------------------- | ----------------------------------------------------------------------------- |
40
+ | `highlightColor` | Base color for selection/hover overlays (defaults to `oklch(0.62 0.18 255)`). |
41
+ | `guideColor` | Base color for guides (defaults to `oklch(0.63 0.26 29.23)`). |
42
+ | `hoverHighlightEnabled` | Disables hover highlight and deselects on click when `false`. |
43
+ | `persistOnReload` | Persists state in `localStorage` as `mesurer-state` when `true`. |
44
+ | `portalTarget` | Optional element or shadow root used as the overlay portal mount target. |
46
45
 
47
46
  ## Commands
48
47
 
49
- | Shortcut | Action |
50
- | --- | --- |
51
- | `M` | Toggle measurer on/off. |
52
- | `S` | Toggle Select mode. |
53
- | `G` | Toggle Guides mode. |
54
- | `H` | Set guide orientation to horizontal. |
55
- | `V` | Set guide orientation to vertical. |
56
- | `Alt` | Temporarily enable option/guide measurement overlays. |
57
- | `Esc` | Clear all measurements and guides. |
58
- | `Backspace` / `Delete` | Remove selected guides. |
59
- | `Cmd/Ctrl + Z` | Undo. |
60
- | `Cmd/Ctrl + Shift + Z` | Redo. |
48
+ | Shortcut | Action |
49
+ | ---------------------- | ----------------------------------------------------- |
50
+ | `M` | Toggle measurer on/off. |
51
+ | `S` | Toggle Select mode. |
52
+ | `G` | Toggle Guides mode. |
53
+ | `H` | Set guide orientation to horizontal. |
54
+ | `V` | Set guide orientation to vertical. |
55
+ | `Alt` | Temporarily enable option/guide measurement overlays. |
56
+ | `Esc` | Clear all measurements and guides. |
57
+ | `Backspace` / `Delete` | Remove selected guides. |
58
+ | `Cmd/Ctrl + Z` | Undo. |
59
+ | `Cmd/Ctrl + Shift + Z` | Redo. |
61
60
 
62
61
  ## Features
63
62