@synerise/ds-sortable 1.3.1 → 1.3.2
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/CHANGELOG.md +11 -0
- package/dist/SortableContainer.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.3.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sortable@1.3.1...@synerise/ds-sortable@1.3.2) (2025-07-04)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **sortable:** fix sorting ([bb697f5](https://github.com/Synerise/synerise-design/commit/bb697f5e1ca38db2ca7b5762e8ba9726c2521381))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [1.3.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sortable@1.3.0...@synerise/ds-sortable@1.3.1) (2025-07-01)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @synerise/ds-sortable
|
|
@@ -22,7 +22,7 @@ export var SortableContainer = function SortableContainer(_ref) {
|
|
|
22
22
|
var handleDragEnd = function handleDragEnd(event) {
|
|
23
23
|
var active = event.active,
|
|
24
24
|
over = event.over;
|
|
25
|
-
if (active.id !==
|
|
25
|
+
if (over && active.id !== over.id) {
|
|
26
26
|
var oldIndex = order.findIndex(function (item) {
|
|
27
27
|
return item.id === active.id;
|
|
28
28
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-sortable",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "Sortable UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"react": ">=16.9.0 <= 18.3.1",
|
|
47
47
|
"styled-components": "^5.3.3"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "2161bdb04f3db0f79b7d0465ce6b41121f1543ef"
|
|
50
50
|
}
|