@flowscape-ui/core-sdk 1.0.0 → 1.0.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.
package/README.md CHANGED
@@ -6,10 +6,9 @@
6
6
 
7
7
  [![npm version](https://img.shields.io/npm/v/@flowscape-ui/core-sdk.svg)](https://www.npmjs.com/package/@flowscape-ui/core-sdk)
8
8
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
9
- [![TypeScript](https://img.shields.io/badge/TypeScript-5.6-blue)](https://www.typescriptlang.org/)
10
- [![Bundle Size](https://img.shields.io/bundlephobia/minzip/@flowscape-ui/core-sdk)](https://bundlephobia.com/package/@flowscape-ui/core-sdk)
11
-
9
+ [![Buy Me A Coffee](https://img.shields.io/badge/Buy%20Me%20A%20Coffee-FFDD00?logo=buy-me-a-coffee&logoColor=black)](https://buymeacoffee.com/flowscape)
12
10
  [Documentation](https://github.com/Flowscape-UI/core-sdk#readme) • [Examples](https://github.com/Flowscape-UI/core-sdk/tree/main/playground) • [Changelog](./CHANGELOG.md)
11
+ [![Bundle Size](https://img.shields.io/bundlephobia/minzip/@flowscape-ui/core-sdk)](https://bundlephobia.com/package/@flowscape-ui/core-sdk)
13
12
 
14
13
  </div>
15
14
 
@@ -139,16 +138,60 @@ const core = new CoreEngine({
139
138
 
140
139
  ### Built-in Plugins
141
140
 
142
- | Plugin | Description |
143
- | --------------------- | ---------------------------------------- |
144
- | `GridPlugin` | Adaptive grid with automatic scaling |
145
- | `SelectionPlugin` | Selection, transformation, drag & drop |
146
- | `NodeHotkeysPlugin` | Ctrl+C/V/X, Delete, Ctrl+[/] for z-index |
147
- | `CameraHotkeysPlugin` | Ctrl+wheel for zoom, arrows for pan |
148
- | `RulerPlugin` | Rulers with measurement units |
149
- | `RulerGuidesPlugin` | Guide lines (drag from rulers) |
150
- | `AreaSelectionPlugin` | Area selection with frame (Shift+Drag) |
151
- | `LogoPlugin` | Watermark/logo on canvas |
141
+ | Plugin | Description |
142
+ | ---------------------- | ------------------------------------------------ |
143
+ | `GridPlugin` | Adaptive grid with automatic scaling |
144
+ | `SelectionPlugin` | Selection, transformation, drag & drop, grouping |
145
+ | `NodeHotkeysPlugin` | Copy/paste/cut nodes, delete, z-index management |
146
+ | `CameraHotkeysPlugin` | Zoom and pan controls with keyboard |
147
+ | `RulerPlugin` | Rulers with measurement units |
148
+ | `RulerGuidesPlugin` | Draggable guide lines from rulers |
149
+ | `RulerHighlightPlugin` | Ruler highlighting on hover |
150
+ | `RulerManagerPlugin` | Toggle rulers and manage guides |
151
+ | `AreaSelectionPlugin` | Area selection with frame (Shift+Drag) |
152
+ | `LogoPlugin` | Watermark/logo on canvas |
153
+
154
+ ### ⌨️ Keyboard Shortcuts
155
+
156
+ #### Node Operations (NodeHotkeysPlugin)
157
+
158
+ | Shortcut | Action |
159
+ | ---------------------- | ------------------------ |
160
+ | `Ctrl+C` | Copy selected nodes |
161
+ | `Ctrl+X` | Cut selected nodes |
162
+ | `Ctrl+V` | Paste nodes |
163
+ | `Delete` / `Backspace` | Delete selected nodes |
164
+ | `Ctrl+]` | Move node up (z-index) |
165
+ | `Ctrl+[` | Move node down (z-index) |
166
+
167
+ #### Grouping (SelectionPlugin)
168
+
169
+ | Shortcut | Action |
170
+ | -------------- | --------------------------------- |
171
+ | `Ctrl+G` | Group selected nodes |
172
+ | `Ctrl+Shift+G` | Ungroup selected group |
173
+ | `Shift+Click` | Add/remove node to/from selection |
174
+ | `Shift` | Lock aspect ratio during resize |
175
+
176
+ #### Camera Controls (CameraHotkeysPlugin)
177
+
178
+ | Shortcut | Action |
179
+ | ------------------- | ------------------ |
180
+ | `Ctrl+Wheel` | Zoom in/out |
181
+ | `+` / `=` | Zoom in |
182
+ | `-` | Zoom out |
183
+ | `Arrow Keys` | Pan camera |
184
+ | `Space+Drag` | Pan camera (mouse) |
185
+ | `Middle Mouse+Drag` | Pan camera |
186
+ | `Right Mouse+Drag` | Pan camera |
187
+
188
+ #### Ruler Controls (RulerManagerPlugin)
189
+
190
+ | Shortcut | Action |
191
+ | ---------------------- | ------------------------ |
192
+ | `Shift+R` | Toggle rulers visibility |
193
+ | `Delete` / `Backspace` | Delete active guide |
194
+ | `Drag from ruler` | Create guide line |
152
195
 
153
196
  ## 📚 Usage Examples
154
197
 
@@ -282,11 +325,6 @@ bun run lint:fix # Auto-fix
282
325
 
283
326
  Coming soon
284
327
 
285
- ### Branching Strategy
286
-
287
- - `dev` — active development
288
- - `main` — stable version, auto-publish to npm
289
-
290
328
  ## 📄 License
291
329
 
292
330
  MIT © [Flowscape UI Team](https://github.com/Flowscape-UI)