@fiddle-digital/string-tune 1.2.1-alpha.8 → 1.2.1-alpha.9

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
@@ -1838,11 +1838,16 @@ declare class StringMarquee extends StringModule {
1838
1838
  onObjectConnected(object: StringObject): void;
1839
1839
  onObjectDisconnected(object: StringObject): void;
1840
1840
  onResizeWidth(): void;
1841
+ private refreshAll;
1841
1842
  onFrame(data: StringData): void;
1842
1843
  private createState;
1843
1844
  private mountStructure;
1844
1845
  private syncConfig;
1845
1846
  private refresh;
1847
+ private applyStaticLayout;
1848
+ private measure;
1849
+ private applyMeasurement;
1850
+ private scheduleRefresh;
1846
1851
  private syncCopies;
1847
1852
  private syncPartClass;
1848
1853
  private updatePartProgress;
@@ -2605,6 +2610,7 @@ declare class StringScrollContainer extends StringModule {
2605
2610
  *
2606
2611
  * @param data Global frame data including time deltas.
2607
2612
  */
2613
+ private get effectiveMode();
2608
2614
  onFrame(data: StringData): void;
2609
2615
  /**
2610
2616
  * Called when the window or layout is resized.
@@ -3859,6 +3865,15 @@ declare class StringTune {
3859
3865
  * Can be 'smooth', 'default', or 'disable'.
3860
3866
  */
3861
3867
  set scrollMobileMode(mode: ScrollMode);
3868
+ /**
3869
+ * Locks page scroll without changing desktop/mobile mode preferences.
3870
+ * Use when opening modals — scroll containers remain functional.
3871
+ */
3872
+ lockPageScroll(): void;
3873
+ /**
3874
+ * Unlocks page scroll, restoring the mode based on current device (desktop/mobile).
3875
+ */
3876
+ unlockPageScroll(): void;
3862
3877
  set FPSTrackerVisible(visible: boolean);
3863
3878
  set PositionTrackerVisible(visible: boolean);
3864
3879
  set domBatcherEnabled(enabled: boolean);
package/dist/index.d.ts CHANGED
@@ -1838,11 +1838,16 @@ declare class StringMarquee extends StringModule {
1838
1838
  onObjectConnected(object: StringObject): void;
1839
1839
  onObjectDisconnected(object: StringObject): void;
1840
1840
  onResizeWidth(): void;
1841
+ private refreshAll;
1841
1842
  onFrame(data: StringData): void;
1842
1843
  private createState;
1843
1844
  private mountStructure;
1844
1845
  private syncConfig;
1845
1846
  private refresh;
1847
+ private applyStaticLayout;
1848
+ private measure;
1849
+ private applyMeasurement;
1850
+ private scheduleRefresh;
1846
1851
  private syncCopies;
1847
1852
  private syncPartClass;
1848
1853
  private updatePartProgress;
@@ -2605,6 +2610,7 @@ declare class StringScrollContainer extends StringModule {
2605
2610
  *
2606
2611
  * @param data Global frame data including time deltas.
2607
2612
  */
2613
+ private get effectiveMode();
2608
2614
  onFrame(data: StringData): void;
2609
2615
  /**
2610
2616
  * Called when the window or layout is resized.
@@ -3859,6 +3865,15 @@ declare class StringTune {
3859
3865
  * Can be 'smooth', 'default', or 'disable'.
3860
3866
  */
3861
3867
  set scrollMobileMode(mode: ScrollMode);
3868
+ /**
3869
+ * Locks page scroll without changing desktop/mobile mode preferences.
3870
+ * Use when opening modals — scroll containers remain functional.
3871
+ */
3872
+ lockPageScroll(): void;
3873
+ /**
3874
+ * Unlocks page scroll, restoring the mode based on current device (desktop/mobile).
3875
+ */
3876
+ unlockPageScroll(): void;
3862
3877
  set FPSTrackerVisible(visible: boolean);
3863
3878
  set PositionTrackerVisible(visible: boolean);
3864
3879
  set domBatcherEnabled(enabled: boolean);