@fiddle-digital/string-tune 1.1.42-fix.1 → 1.1.42-fix.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/dist/index.d.mts CHANGED
@@ -1933,6 +1933,10 @@ declare class StringPositionTracker extends StringModule {
1933
1933
  private lastVal;
1934
1934
  private lastValPct;
1935
1935
  private lastDir;
1936
+ /** Previous scroll position for direction detection */
1937
+ private previousCurrent;
1938
+ /** Timeout for resetting direction to idle state */
1939
+ private idleTimeout;
1936
1940
  constructor(context: StringContext);
1937
1941
  /**
1938
1942
  * Called on start — creates debug element and scans for tracked elements.
@@ -1942,6 +1946,10 @@ declare class StringPositionTracker extends StringModule {
1942
1946
  * Called on scroll — updates all tracked elements with position data.
1943
1947
  */
1944
1948
  onScroll(data: StringData): void;
1949
+ /**
1950
+ * Updates direction on all tracked elements.
1951
+ */
1952
+ private setDirection;
1945
1953
  /**
1946
1954
  * Cleans up DOM observer and display element.
1947
1955
  */
package/dist/index.d.ts CHANGED
@@ -1933,6 +1933,10 @@ declare class StringPositionTracker extends StringModule {
1933
1933
  private lastVal;
1934
1934
  private lastValPct;
1935
1935
  private lastDir;
1936
+ /** Previous scroll position for direction detection */
1937
+ private previousCurrent;
1938
+ /** Timeout for resetting direction to idle state */
1939
+ private idleTimeout;
1936
1940
  constructor(context: StringContext);
1937
1941
  /**
1938
1942
  * Called on start — creates debug element and scans for tracked elements.
@@ -1942,6 +1946,10 @@ declare class StringPositionTracker extends StringModule {
1942
1946
  * Called on scroll — updates all tracked elements with position data.
1943
1947
  */
1944
1948
  onScroll(data: StringData): void;
1949
+ /**
1950
+ * Updates direction on all tracked elements.
1951
+ */
1952
+ private setDirection;
1945
1953
  /**
1946
1954
  * Cleans up DOM observer and display element.
1947
1955
  */