@synerise/ds-sortable 1.3.6 → 1.3.8

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 CHANGED
@@ -3,67 +3,47 @@
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.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sortable@1.3.5...@synerise/ds-sortable@1.3.6) (2025-10-10)
6
+ ## [1.3.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sortable@1.3.7...@synerise/ds-sortable@1.3.8) (2025-12-15)
7
7
 
8
8
  **Note:** Version bump only for package @synerise/ds-sortable
9
9
 
10
+ ## [1.3.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sortable@1.3.6...@synerise/ds-sortable@1.3.7) (2025-10-31)
10
11
 
12
+ ### Bug Fixes
11
13
 
14
+ - **sortable:** prevent rendering drop label when id is undef ([81898e8](https://github.com/Synerise/synerise-design/commit/81898e87348199cc540ac188b26ea0dd5e621f62))
12
15
 
13
-
14
- ## [1.3.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sortable@1.3.4...@synerise/ds-sortable@1.3.5) (2025-09-16)
16
+ ## [1.3.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sortable@1.3.5...@synerise/ds-sortable@1.3.6) (2025-10-10)
15
17
 
16
18
  **Note:** Version bump only for package @synerise/ds-sortable
17
19
 
20
+ ## [1.3.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sortable@1.3.4...@synerise/ds-sortable@1.3.5) (2025-09-16)
18
21
 
19
-
20
-
22
+ **Note:** Version bump only for package @synerise/ds-sortable
21
23
 
22
24
  ## [1.3.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sortable@1.3.3...@synerise/ds-sortable@1.3.4) (2025-08-28)
23
25
 
24
26
  **Note:** Version bump only for package @synerise/ds-sortable
25
27
 
26
-
27
-
28
-
29
-
30
28
  ## [1.3.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sortable@1.3.2...@synerise/ds-sortable@1.3.3) (2025-07-24)
31
29
 
32
30
  **Note:** Version bump only for package @synerise/ds-sortable
33
31
 
34
-
35
-
36
-
37
-
38
32
  ## [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)
39
33
 
40
-
41
34
  ### Bug Fixes
42
35
 
43
- * **sortable:** fix sorting ([bb697f5](https://github.com/Synerise/synerise-design/commit/bb697f5e1ca38db2ca7b5762e8ba9726c2521381))
44
-
45
-
46
-
47
-
36
+ - **sortable:** fix sorting ([bb697f5](https://github.com/Synerise/synerise-design/commit/bb697f5e1ca38db2ca7b5762e8ba9726c2521381))
48
37
 
49
38
  ## [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)
50
39
 
51
40
  **Note:** Version bump only for package @synerise/ds-sortable
52
41
 
53
-
54
-
55
-
56
-
57
42
  # [1.3.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sortable@1.2.0...@synerise/ds-sortable@1.3.0) (2025-06-24)
58
43
 
59
-
60
44
  ### Features
61
45
 
62
- * **condition:** sortable lib ([8cbc3f5](https://github.com/Synerise/synerise-design/commit/8cbc3f5956ce9138f1a6b0a5eb0e7cd85bb7f4e7))
63
-
64
-
65
-
66
-
46
+ - **condition:** sortable lib ([8cbc3f5](https://github.com/Synerise/synerise-design/commit/8cbc3f5956ce9138f1a6b0a5eb0e7cd85bb7f4e7))
67
47
 
68
48
  # [1.2.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sortable@1.1.3...@synerise/ds-sortable@1.2.0) (2025-06-05)
69
49
 
package/dist/Sortable.js CHANGED
@@ -46,7 +46,7 @@ export var Sortable = function Sortable(_ref) {
46
46
  id: item.id,
47
47
  index: index,
48
48
  placeholderCss: placeholderCss,
49
- isDragged: (activeItem == null ? void 0 : activeItem.id) === item.id,
49
+ isDragged: activeItem && (activeItem == null ? void 0 : activeItem.id) === item.id,
50
50
  key: "sortable-item-" + sortableId + "-" + item.id,
51
51
  data: item,
52
52
  component: ItemComponent
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { useDndMonitor, DragOverlay } from '@dnd-kit/core';
2
+ export type { DraggableAttributes, DraggableSyntheticListeners, } from '@dnd-kit/core';
2
3
  export { arrayMove, useSortable } from '@dnd-kit/sortable';
3
4
  export { CSS } from '@dnd-kit/utilities';
4
5
  export { default } from './Sortable';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-sortable",
3
- "version": "1.3.6",
3
+ "version": "1.3.8",
4
4
  "description": "Sortable UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -21,7 +21,7 @@
21
21
  "build:js": "babel --delete-dir-on-start --root-mode upward src --out-dir dist --extensions '.js,.ts,.tsx'",
22
22
  "build:watch": "npm run build:js -- --watch",
23
23
  "defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
24
- "pack:ci": "npm pack --pack-destination ../../storybook/storybook-static/static",
24
+ "pack:ci": "pnpm pack --pack-destination ../../storybook/storybook-static/static",
25
25
  "prepublish": "npm run build",
26
26
  "test": "jest",
27
27
  "test:watch": "npm run test -- --watchAll",
@@ -39,7 +39,7 @@
39
39
  "@dnd-kit/modifiers": "^7.0.0",
40
40
  "@dnd-kit/sortable": "^8.0.0",
41
41
  "@dnd-kit/utilities": "^3.2.2",
42
- "@synerise/ds-utils": "^1.5.0",
42
+ "@synerise/ds-utils": "^1.5.1",
43
43
  "uuid": "^8.3.2"
44
44
  },
45
45
  "peerDependencies": {
@@ -47,5 +47,5 @@
47
47
  "react": ">=16.9.0 <= 18.3.1",
48
48
  "styled-components": "^5.3.3"
49
49
  },
50
- "gitHead": "4e09fc37fa21ff2e27655e7bb305b136db0ca199"
50
+ "gitHead": "b1279d5354132a2bf0b6f0cfa343db4c6c928f72"
51
51
  }