@1agh/maude 1.6.13 → 1.7.1

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.
@@ -18,6 +18,7 @@
18
18
  */
19
19
 
20
20
  import { type ReactNode, useCallback, useEffect, useMemo, useRef } from 'react';
21
+ import { lockedStrokeIds } from './annotations/lock.ts';
21
22
  import { defOf } from './annotations/registry.ts';
22
23
  import { useAnnotationPipeline } from './annotations/ui/pipeline-context.ts';
23
24
  import { anchorPoint, BIND_THRESHOLD_PX, bindCandidate } from './annotations-bindings.ts';
@@ -598,7 +599,9 @@ export function AnnotationResizeOverlay({ store }: { store: StrokesStoreValue |
598
599
  const selectedId = annotSel.selectedIds.length === 1 ? (annotSel.selectedIds[0] ?? null) : null;
599
600
  const selectedStroke: Stroke | null = useMemo(() => {
600
601
  if (!selectedId || !store) return null;
601
- return store.strokes.find((s) => s.id === selectedId) ?? null;
602
+ const found = store.strokes.find((s) => s.id === selectedId) ?? null;
603
+ // #137 — a locked element shows no resize / rotate / endpoint handles.
604
+ return found && !lockedStrokeIds(store.strokes).has(found.id) ? found : null;
602
605
  }, [selectedId, store]);
603
606
 
604
607
  // Live for the same reason the rAF loop is: a trackpad pinch mid-drag moves
@@ -1,6 +1,15 @@
1
1
  {
2
2
  "$schema": "./whats-new.schema.json",
3
3
  "entries": [
4
+ {
5
+ "id": "annotation-lock",
6
+ "version": "1.7.0",
7
+ "date": "2026-10-05",
8
+ "kind": "feature",
9
+ "title": "Lock whiteboard items in place",
10
+ "summary": "Select a sticky, shape, image or section and press ⌘⇧L (or use the lock button) to pin it. A locked item can't be dragged, resized, erased or deleted by accident, and marquee selection skips it. Unlock it the same way.",
11
+ "surface": "design-ui"
12
+ },
4
13
  {
5
14
  "id": "idle-desktop-lets-cloud-sleep",
6
15
  "version": "1.6.13",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1agh/maude",
3
- "version": "1.6.13",
3
+ "version": "1.7.1",
4
4
  "description": "Marketplace of Claude Code plugins by Michal Dovrtěl: `design` (canvas-first design iteration) + `flow` (generic agentic workflow loop with .ai second brain). Ships the `maude` CLI (with `mdcc` legacy alias) to scaffold workspace, run the design dev server, and manage configs.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -58,13 +58,13 @@
58
58
  "test:e2e:desktop:parity:cloud": "pnpm --filter @maude/desktop-e2e e2e:parity:cloud"
59
59
  },
60
60
  "optionalDependencies": {
61
- "@1agh/maude-darwin-arm64": "1.6.13",
62
- "@1agh/maude-darwin-x64": "1.6.13",
63
- "@1agh/maude-linux-arm64": "1.6.13",
64
- "@1agh/maude-linux-arm64-musl": "1.6.13",
65
- "@1agh/maude-linux-x64": "1.6.13",
66
- "@1agh/maude-linux-x64-musl": "1.6.13",
67
- "@1agh/maude-win32-x64": "1.6.13"
61
+ "@1agh/maude-darwin-arm64": "1.7.1",
62
+ "@1agh/maude-darwin-x64": "1.7.1",
63
+ "@1agh/maude-linux-arm64": "1.7.1",
64
+ "@1agh/maude-linux-arm64-musl": "1.7.1",
65
+ "@1agh/maude-linux-x64": "1.7.1",
66
+ "@1agh/maude-linux-x64-musl": "1.7.1",
67
+ "@1agh/maude-win32-x64": "1.7.1"
68
68
  },
69
69
  "files": [
70
70
  "cli",