arethesis 0.1.1 → 0.1.4

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
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.4
4
+
5
+ ### Fixed
6
+
7
+ - Binding a component to another list now replaces its rows. Before, the old rows were forgotten but stayed on the page, and the new list's rows were added after them. `unbind()` now removes a list's rows too.
8
+ - A component moved in the DOM keeps its binding (and live rows) instead of silently losing it.
9
+ - `CollabSession` keeps its textarea read-only until the document has loaded. Before, anything typed in that moment was silently replaced by the server's copy, which was easy to hit on a slow connection.
10
+
11
+ ## 0.1.3
12
+
13
+ 0.1.2 was tagged but never published; its changes are in this release.
14
+
15
+ ### Changed
16
+
17
+ - **Smoother drag and drop** (`sortable`), following [dnd kit](https://dndkit.com/)'s approach:
18
+ - **Starting:** a drag starts after a few pixels of movement, or a press-and-hold on touch screens, so clicks, taps and scrolling still work.
19
+ - **The item stays in place in the DOM** while it's lifted, so components inside it keep their state. Dragging a dashboard panel no longer re-renders it.
20
+ - **The drop position** is the item under the pointer, or the nearest one in two dimensions, so grids, wrapping rows and panels of mixed sizes behave. The closest container wins even from the gap between containers.
21
+ - **Animation:** neighbours slide aside instead of jumping, and the item glides into place on drop. There's no animation with reduced motion.
22
+ - **Auto-scroll** near the edges of scroll containers and the page.
23
+ - New options: `animation`, `activationDistance`, `touchDelay`, `autoScroll`. New event: `sortable:move`.
24
+
25
+ ### Fixed
26
+
27
+ - `<a-flex-view>`: splitters now appear next to a panel as soon as it's dragged into another row.
28
+ - `sortable:end` now fires once the dropped item is in its final position, so listeners can measure it.
29
+ - Mixins destroyed with `instance.destroy()` are now removed from the registry, so they can be applied to the same element again. Before, `<a-flex-view>` panels could no longer be dragged after "Reset layout".
30
+
3
31
  ## 0.1.1
4
32
 
5
33
  ### Added