All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- zIndexTrigger type and dependency array usage
-
Breaking: Public API changed to namespace pattern.
ReshufflableGridis replaced byReshuffled.Grid.// before import { ReshufflableGrid } from 'react-native-reshuffled' <ReshufflableGrid ... /> // after import { Reshuffled } from 'react-native-reshuffled' <Reshuffled.Grid ... />
allowCollisionsprop onReshufflableGrid— whentrue, dragged items can overlap others and the grid does not auto-adjust positions.getNewGridprop onReshufflableGrid— custom callback that overrides the default best-fit reshuffling algorithm, enabling fully custom drop logic (e.g. swap on single overlap, revert on multiple overlaps).onDragEndcallback — fired after every drop with the updated item array.- Puzzle demo in the example app showcasing both collision modes side by side.
- Dragged item briefly appeared beneath other items after being dropped.
ReshufflableGridinternally split intoReshufflableGridCoreanduseReshufflableGridfor better separation of concerns.
- Overflow issue when items exceeded grid bounds.
- TypeScript compilation error.
- Android mock app build problems.
- Grid style inconsistencies on certain screen sizes.
- Item width and height calculation moved to grid context to avoid prop drilling.
- Cleaned up web exports and removed unused legacy C++ implementations.
- Updated dependencies.
gapVerticalandgapHorizontalprops for controlling spacing between grid cells.- Example app demonstrating basic grid usage.
Early development releases establishing the core Nitro / C++ module structure, basic Cell type exports, and Android support.