@wodira/browser 0.1.0

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.
@@ -0,0 +1,28 @@
1
+ import { WodiraCheckoutFlow, WodiraEventCard, WodiraEventList, WodiraPricingCards, WodiraRegistrationForm } from './components';
2
+ export { WodiraCheckoutFlow, WodiraEventCard, WodiraEventList, WodiraPricingCards, WodiraRegistrationForm, } from './components';
3
+ export type { WodiraUiEventName } from './events';
4
+ export interface WodiraUiElementsOptions {
5
+ /** Prefix is reserved for future namespacing. V1 registers the stable wodira-* tags. */
6
+ prefix?: 'wodira';
7
+ }
8
+ export interface WodiraCheckoutFlowOptions {
9
+ publishableKey: string;
10
+ baseUrl?: string;
11
+ eventId?: string;
12
+ successUrl: string;
13
+ cancelUrl: string;
14
+ locale?: string;
15
+ autoRedirect?: boolean;
16
+ }
17
+ export declare function defineWodiraElements(_options?: WodiraUiElementsOptions): void;
18
+ export declare function createWodiraCheckoutFlow(container: Element, options: WodiraCheckoutFlowOptions): WodiraCheckoutFlow;
19
+ declare global {
20
+ interface HTMLElementTagNameMap {
21
+ 'wodira-event-card': WodiraEventCard;
22
+ 'wodira-event-list': WodiraEventList;
23
+ 'wodira-pricing-cards': WodiraPricingCards;
24
+ 'wodira-registration-form': WodiraRegistrationForm;
25
+ 'wodira-checkout-flow': WodiraCheckoutFlow;
26
+ }
27
+ }
28
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,cAAc,CAAC;AACtB,YAAY,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,MAAM,WAAW,uBAAuB;IACtC,wFAAwF;IACxF,MAAM,CAAC,EAAE,QAAQ,CAAC;CACnB;AAED,MAAM,WAAW,yBAAyB;IACxC,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAUD,wBAAgB,oBAAoB,CAAC,QAAQ,GAAE,uBAA4B,GAAG,IAAI,CAUjF;AAED,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,OAAO,EAClB,OAAO,EAAE,yBAAyB,GACjC,kBAAkB,CAcpB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,eAAe,CAAC;QACrC,mBAAmB,EAAE,eAAe,CAAC;QACrC,sBAAsB,EAAE,kBAAkB,CAAC;QAC3C,0BAA0B,EAAE,sBAAsB,CAAC;QACnD,sBAAsB,EAAE,kBAAkB,CAAC;KAC5C;CACF"}