@namiml/web-sdk 3.3.9-dev.202603132116 → 3.3.9-dev.202603132233

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.
@@ -10,6 +10,7 @@ declare class PaywallComponent extends LitElement {
10
10
  flow: NamiFlow | undefined;
11
11
  pages: IPaywall[];
12
12
  private currentOffset;
13
+ private presentationStyle;
13
14
  private context;
14
15
  private formFactor;
15
16
  private timeSpentOnPaywall;
@@ -19,21 +20,33 @@ declare class PaywallComponent extends LitElement {
19
20
  private _originalBodyStyles;
20
21
  private _originalDocumentStyles;
21
22
  private _swipeHandler;
23
+ private _halfSheetAbortController?;
24
+ private _savedScrollY;
25
+ private _sheetDragStartY;
26
+ private _sheetIsDragging;
27
+ private _dismissThreshold;
22
28
  constructor(type: string | undefined, value: string, context: NamiPaywallLaunchContext);
23
29
  setPaywallData(): void;
30
+ private getPresentationStyle;
31
+ private get isHalfSheet();
24
32
  connectedCallback(): void;
25
33
  disconnectedCallback(): void;
26
34
  private setOriginalStyles;
27
35
  private restoreStyles;
28
36
  private handleKeyDownEvent;
29
37
  private handleSwipeEvent;
38
+ private setupHalfSheetDragTracking;
39
+ private setupHalfSheetFocusTrap;
30
40
  firstUpdated(): void;
31
- static styles: import("lit").CSSResult;
41
+ updated(changedProperties: Map<string, unknown>): void;
42
+ static styles: import("lit").CSSResult[];
32
43
  private getAnimationStyles;
33
44
  private updatePages;
34
45
  flowNavigateToScreen(next: IPaywall, animation: NamiFlowAnimation): Promise<void>;
46
+ private animateHalfSheetExpand;
35
47
  getSelectedSlideIndexForCurrentCarousel(): number | undefined;
36
48
  private renderFlow;
49
+ private renderHalfSheet;
37
50
  private renderPaywall;
38
51
  render(): TemplateResult;
39
52
  }
@@ -0,0 +1,2 @@
1
+ import { type CSSResult } from 'lit';
2
+ export declare const HALF_SHEET_CSS: CSSResult;