@snapgridjs/react 0.4.0 → 0.6.0
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 +1 -0
- package/dist/index.cjs +129 -647
- package/dist/index.d.cts +34 -167
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +34 -167
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +94 -642
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -7
package/README.md
CHANGED
|
@@ -19,6 +19,7 @@ Draggable, resizable, responsive grid layouts for React — with pluggable packi
|
|
|
19
19
|
- **Pluggable packing** — `vertical` / `horizontal` / `none`, plus `masonry` / `gravity` / `shelf` from [`@snapgridjs/extras`](https://www.npmjs.com/package/@snapgridjs/extras), or your own `Compactor`.
|
|
20
20
|
- **Cross-grid dragging** — wrap grids in a `<SnapGridGroup>` and drag tiles between them.
|
|
21
21
|
- **Nested grids** — drop a grid inside a tile of another grid and drag tiles between levels; isolate a sub-grid with its own provider when you want it contained.
|
|
22
|
+
- **dnd-kit interop** — drag between a grid and a dnd-kit `useSortable` list or board (cards in, tiles out, both reorder) under one provider, via `snapMove`.
|
|
22
23
|
- **Responsive** — per-breakpoint layouts with `<ResponsiveGridLayout>`.
|
|
23
24
|
- **Keyboard accessible** — Enter/Space to pick up, arrow keys to move, Esc to cancel.
|
|
24
25
|
- **SSR-safe** and **TypeScript-first** (types included).
|