lightweight-charts-drawing 0.2.1 → 0.2.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 CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.2 (28/09/2026)
4
+
5
+ ### Changed
6
+
7
+ - Shift gestures follow TradingView Desktop 3.4.1 (new `tv/interact/shift.ts`):
8
+ - 45° snap = TV `snapPoint45Degree`: horizontal keeps the bar and takes
9
+ the reference price, vertical keeps the price and takes the reference
10
+ bar, a diagonal is rounded to a whole bar.
11
+ - New Shift rules: arrow marker, fib circles, fib speed resistance fan,
12
+ price note, note, rotated rectangle (45°); parallel channel, flat
13
+ top/bottom, disjoint channel (2nd point / anchor 1 only); ellipse (circle,
14
+ finished after 2 clicks); rectangle (square rounded to a bar, the preview
15
+ too, and the middle anchors); Gann box (fixed increments, was a square);
16
+ Gann square anchor drag (keeps the price-per-bar ratio).
17
+ - Shift + body drag moves only horizontally or vertically (past 10 px).
18
+ - Removed Shift rules TV does not have: pitchfork family, pitchfan,
19
+ triangle, trend-based fib extension (45°), bar pattern and fixed range
20
+ volume profile (square).
21
+ - Runtime magnet: Shift turns it off only after the first point or while
22
+ dragging an anchor.
23
+ - Ellipse anchor 0 / 1 drag keeps the minor radius (TV).
24
+
3
25
  ## 0.2.1 (26/09/2026)
4
26
 
5
27
  ### Fixed