@m3ui-vue/m3ui-vue 1.3.4 → 1.3.5

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/dist/API.md CHANGED
@@ -1,4 +1,4 @@
1
- # @m3ui-vue/m3ui-vue 1.3.4 — API reference
1
+ # @m3ui-vue/m3ui-vue 1.3.5 — API reference
2
2
 
3
3
  Material Design 3 components for Vue 3 + Tailwind CSS v4. Generated from the source by
4
4
  `scripts/generate-api.mjs`; full docs with live demos at https://m3ui.dev.
@@ -1400,11 +1400,12 @@ Props:
1400
1400
  - `editable?: boolean = false` — Drag tables around; otherwise a click opens one
1401
1401
  - `grid?: number = 10` — Grid step in plan units (0: no snapping)
1402
1402
  - `showGrid?: boolean = true` — Draw the grid while editing
1403
+ - `tableSnap?: "point" | "cell" = "point"` — Where a table's middle snaps: `point` a grid point (default), `cell` the middle of a grid square, so tables sit in the squares between the points while walls, zones and decor snap to the points (a plan of cells)
1403
1404
  - `chairs?: boolean = true` — Draw chairs from `seats`
1404
1405
  - `decorKinds?: Record<string, FloorDecorKind>` — Decor kinds of yours, or the built-in ones restyled (merged over them by name)
1405
1406
  - `rotatable?: boolean = true` — The handle that turns the picked table or decor (off when your app doesn't keep angles)
1406
1407
  - `dragMerged?: boolean = false` — Dragging (or nudging) a merged table moves its whole merge with it
1407
- - `selectable?: "none" | "multiple" | "single" = "none"` — Outside editing, what a click on a table selects: nothing, one, or several (toggling; to merge them)
1408
+ - `selectable?: "none" | "multiple" | "single" = "none"` — What a click on a table selects outside editing: nothing, one, or several (toggling; to merge them). While editing, `multiple` keeps clicks toggling tables in and out of the selection, and a drag moves the table pressed on its own (to bring the ones being merged together)
1408
1409
  - `canMerge?: ((ids: (string | number)[]) => string | boolean)` — Whether these tables may be merged: `true`, or `false` / a reason to refuse (shown by `merge-refused`)
1409
1410
  - `label?: string` — Accessible name
1410
1411
  - `tables?: FloorTable[] = []` (v-model:tables)