Skip to content

Commit 1e104c7

Browse files
author
Yunus Ayar
authored
Merge branch 'rodrigodagostino:main' into new
2 parents a145b91 + a8f6522 commit 1e104c7

File tree

40 files changed

+961
-645
lines changed

40 files changed

+961
-645
lines changed

CHANGELOG.md

Lines changed: 95 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,95 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.15.0] (2025-07-04)
11+
12+
### BREAKING
13+
14+
- Add transition customization to `<SortableList.Root>`.
15+
- Add prefix to the CSS custom properties in the base stylesheet.
16+
17+
### Added
18+
19+
- Add transitions customization to `<SortableList.Item>`.
20+
- Expose the `scaleFade()` and `scaleFly()` transition functions.
21+
22+
### Changed
23+
24+
- Assign a proper default value to announcements.
25+
26+
### Docs
27+
28+
- Update the demo pages to reflect the latest changes.
29+
- Add **“With custom transitions”** demo page.
30+
- Update the README to reflect the latest changes.
31+
32+
## [0.14.1] (2025-07-03)
33+
34+
### Added
35+
36+
- Add the `destroyed` event.
37+
- Allow for Svelte 5 as a peer dependency.
38+
39+
### Performance
40+
41+
- Align the `ItemRect` shape with the `DOMRect` shape to stay in line with monomorphism.
42+
- Avoid unnecessary coordinates calculations.
43+
44+
### Changed
45+
46+
- Provide clearer type references in the exposed types and utils.
47+
48+
## [0.14.0] (2025-06-28)
49+
50+
### Performance
51+
52+
- Debounce the `pointermove` handler to reduce the frequency in which it is called in `<SortableList.Root>`.
53+
- Avoid unnecessary re-cloning in `<SortableListGhost>`.
54+
- Move the most common exit conditions to the top in `<SortableList.Item>`.
55+
- Replace queried root with stored reference.
56+
- Add a few small improvements to utils.
57+
58+
### Changed
59+
60+
- Rename `itemsData` variables, stores, functions and types to `itemRects`.
61+
62+
### Fixed
63+
64+
- Correct reference to `rootRef` in `<SortableListGhost>` hover-over comments.
65+
66+
## [0.13.2] (2025-06-26)
67+
68+
### Added
69+
70+
- Add support for vertical alignment in horizontal wrapping lists.
71+
72+
### Changed
73+
74+
- Adjust the `<SortableListGhost>` transform logic to match the same pattern as in `<SortableList.Item>`.
75+
- Simplify the `<SortableListGhost>` and `<SortableList.Item>` transform calculations.
76+
- Unify the `<SortableListGhost>` and `<SortableList.Item>` transform calculations under a couple of common functions: `calculateTranslate()` and `calculateTranslateWithAlignment()`.
77+
78+
### Docs
79+
80+
- Correct the scope of some demo pages styles.
81+
- Correct the fields ids in the **“Interactive items”** demo page.
82+
83+
## [0.13.1] (2025-06-20)
84+
85+
### Changed
86+
87+
- Adjust the dragged item transform to match the same pattern as other related logic.
88+
- Place function declarations above their first usage.
89+
90+
### Fixed
91+
92+
- Correct the `<SortableListGhost>` and `<SortableList.Item>` positioning when wrapping is active.
93+
94+
### Docs
95+
96+
- Improve the wrapping showcase in the **“With wrapping”** demo page.
97+
- Correct the wrapping warning in the README.
98+
1099
## [0.13.0] (2025-06-17)
11100

12101
### Added
@@ -878,7 +967,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
878967
- Add a ghost element to represent the item being dragged and dropped.
879968
- Add base animations.
880969

881-
[unreleased]: https://github.com/rodrigodagostino/svelte-sortable-list/compare/v0.13.0...HEAD
970+
[unreleased]: https://github.com/rodrigodagostino/svelte-sortable-list/compare/v0.15.0...HEAD
971+
[0.15.0]: https://github.com/rodrigodagostino/svelte-sortable-list/compare/v0.14.1...v0.15.0
972+
[0.14.1]: https://github.com/rodrigodagostino/svelte-sortable-list/compare/v0.14.0...v0.14.1
973+
[0.14.0]: https://github.com/rodrigodagostino/svelte-sortable-list/compare/v0.13.2...v0.14.0
974+
[0.13.2]: https://github.com/rodrigodagostino/svelte-sortable-list/compare/v0.13.1...v0.13.2
975+
[0.13.1]: https://github.com/rodrigodagostino/svelte-sortable-list/compare/v0.13.0...v0.13.1
882976
[0.13.0]: https://github.com/rodrigodagostino/svelte-sortable-list/compare/v0.12.8...v0.13.0
883977
[0.12.8]: https://github.com/rodrigodagostino/svelte-sortable-list/compare/v0.12.7...v0.12.8
884978
[0.12.7]: https://github.com/rodrigodagostino/svelte-sortable-list/compare/v0.12.6...v0.12.7

README.md

Lines changed: 58 additions & 25 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rodrigodagostino/svelte-sortable-list",
3-
"version": "0.13.0",
3+
"version": "0.15.0",
44
"author": "Rodrigo D’Agostino <rodrigo.dagostino@proton.me>",
55
"license": "MIT",
66
"type": "module",

0 commit comments

Comments
 (0)