mesurer-solid 0.1.7-beta.8 → 0.1.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.
@@ -151,6 +151,8 @@ The editing UI exposes direct B/I/U, Font, Size, Weight, rendered-page colors, c
151
151
 
152
152
  If Typography was already explicitly selected, the direct-edit session suppresses the older hover/pinned Typography surface so the field has one live card. The normal surface returns when editing ends.
153
153
 
154
+ Direct edit also owns the field's visible selection lane. The duplicate ordinary selected border is paint-suppressed, the selected dimensions pill remains available, and the Typography card stays source-relative without reacting to ordinary pointer movement. The selection-adjacent Add Note button is intentionally hidden during the active edit and returns afterward. Existing saved annotation state remains available throughout.
155
+
154
156
  Read durable intent through:
155
157
 
156
158
  ```js
@@ -162,6 +164,8 @@ Treat `intent.desired` and style deltas as visual/source requirements, not inlin
162
164
 
163
165
  Verification must use Live source with the Desired preview inactive. Text/style preview ownership follows the same conservative rule as Arrange: while the DOM still equals Mesurer's owned value, undo/redo can move it to the restored Desired value; once the application changes it, Mesurer preserves the host value instead of overwriting it during history or cleanup.
164
166
 
167
+ Do not infer Context availability from transient chrome. While a direct editor is active the Add Note button is absent by design, but `annotations()`, annotation-scoped `context()`, and `review()` remain the durable interface.
168
+
165
169
  See [Direct text editing and Typography](../../docs/TEXT_EDITING.md).
166
170
 
167
171
  ## Annotation and context review
package/README.md CHANGED
@@ -88,6 +88,8 @@ Arrange is not a toolbar mode. It can be activated before a selection exists and
88
88
 
89
89
  Direct text editing respects native editing boundaries. Descendants of an editable ancestor remain native, while a nested `contenteditable="false"` boundary ends inherited editability and can become a Mesurer target when the normal direct-text rules pass.
90
90
 
91
+ While direct text editing is active, Mesurer keeps one visible edit ring, keeps the selected dimensions pill and Typography separated by the same `2px` rendered gap when the card is below the source, and keeps Typography stationary during ordinary pointer movement. The selection-adjacent Add Note button is suppressed only for the active edit and returns when the editor closes; saved annotation markers and panels remain available.
92
+
91
93
  Mesurer previews text, styles, and Arrange transforms only while it still owns the value it applied. Host-authored changes take ownership and are preserved through undo/redo, Live review, cleanup, and disposal.
92
94
 
93
95
  ## Shortcuts