UNPKG

@namiml/web-sdk

Version:

Subscription monetization infrastructure — drop-in SDK with no-code paywalls, onboarding flows, A/B testing for web

27 lines (26 loc) 944 B
import { CSSResult, PropertyValueMap } from 'lit'; import { type TButtonContainer, type TSemverObj } from '@namiml/sdk-core'; import { NamiElement } from '../NamiElement'; export declare class NamiButton extends NamiElement { component: TButtonContainer; inFocusedState: boolean; scaleFactor: number; minSDKVersion: TSemverObj; private defaultFocused; private readonly _boundHandleFocus; private readonly _boundHandleBlur; constructor(); firstTextValue(): string | undefined; connectedCallback(): void; disconnectedCallback(): void; protected updated(changedProperties: PropertyValueMap<this>): void; private _handleFocus; private _handleBlur; private _dispatchFocusChange; private _dispatchPageChange; private _handleKeyDown; private _handleKeyUp; private _handleClick; protected styles(): CSSResult; render(): any[] | import("lit-html").TemplateResult<1>; }