@scrawl-board/board 0.1.0-beta.6 → 0.1.0-beta.8
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/README.md +11 -5
- package/dist/browser.d.ts +593 -15
- package/dist/browser.js +6277 -34044
- package/dist/core.d.ts +711 -16
- package/dist/core.js +2015 -51
- package/dist/index.d.ts +1171 -26
- package/dist/index.js +6209 -33607
- package/dist/local.d.ts +469 -0
- package/dist/local.js +234 -0
- package/dist/react.d.ts +635 -19
- package/dist/react.js +6142 -33785
- package/package.json +17 -3
package/README.md
CHANGED
|
@@ -25,11 +25,17 @@ the stylesheet explicitly.
|
|
|
25
25
|
`ScrawlDefaultUI` supplies the SDK-owned interaction chrome for tools, ink style,
|
|
26
26
|
undo and redo, zoom and fit, search, JSON import, and PNG, SVG, or JSON export.
|
|
27
27
|
Every control calls a public grouped controller capability. The default keyboard
|
|
28
|
-
surface is scoped to the focused Board
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
surface is scoped to the focused Board and centralized in one dispatch table
|
|
29
|
+
(`interaction/keyboard/`, closing issue #27), not scattered across React
|
|
30
|
+
handlers: `P` selects marker, `H` selects highlighter, `V` selects selection,
|
|
31
|
+
`E` selects eraser, `N` selects note, `T` selects text, `F` fits content,
|
|
32
|
+
`Mod+Z` undoes, `Mod+Shift+Z` redoes, `Mod+C` copies the selection, `Mod+X`
|
|
33
|
+
cuts it, `Mod+V` pastes, `Mod+D` duplicates it, `Mod+A` selects every
|
|
34
|
+
top-level (non-hidden) object, `Mod+F` opens Board search, and the arrow keys
|
|
35
|
+
nudge the current selection by a small step (`Shift` for a bigger one) across
|
|
36
|
+
any mix of selected object types, as one undo step. Dialogs trap focus, close
|
|
37
|
+
with Escape, and restore focus to their opener. Hosts that replace the default UI
|
|
38
|
+
can remove it independently while
|
|
33
39
|
retaining `ScrawlProvider` and `ScrawlCanvas`, or disable individual `tools`,
|
|
34
40
|
`history`, `view`, `style`, `search`, `import`, and `export` regions with the
|
|
35
41
|
`ScrawlDefaultUI` `regions` prop.
|