@fanfare-io/fanfare-sdk-react 0.18.0 → 0.19.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.
package/dist/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export { AuthInput } from './components/auth/auth-input';
|
|
|
22
22
|
export type { AuthInputProps } from './components/auth/auth-input';
|
|
23
23
|
export { OTPInput } from './components/auth/otp-input';
|
|
24
24
|
export { Button, buttonVariants, type ButtonProps } from './components/primitives/button';
|
|
25
|
+
export { Countdown, type CountdownProps, type CountdownSize, type CountdownTone, } from './components/primitives/countdown';
|
|
25
26
|
export { Input } from './components/primitives/input';
|
|
26
27
|
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './components/primitives/card';
|
|
27
28
|
export { InfoPanel, PanelBody, PanelFooter, PanelHeading, PanelLayout, normalizeOutcomeReason, } from './components/module';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as s, b as o, c as n, e as r, f as t, B as u, C as i, h as l, i as d, j as c, k as P, l as
|
|
3
|
-
import { RTL_LOCALES as
|
|
2
|
+
import { A as s, b as o, c as n, e as r, f as t, B as u, C as i, h as l, i as d, j as c, k as P, l as C, m, n as p, o as S, D as E, E as T, p as h, q as F, r as M, s as f, F as w, t as y, G as A, I as x, v as L, w as V, L as g, O as R, x as v, P as I, y as O, z as k, H as B, J as D, K as J, Q as H, R as _, M as b, N as G, T as W, U as z, V as N, W as Q, X as U, Y as j, Z as q, _ as K, $ as X, a0 as Y, a1 as Z, a2 as $, a3 as aa, a4 as ea, a5 as sa, a6 as oa, a7 as na, u as ra } from "./index-jbm-DC1W.js";
|
|
3
|
+
import { RTL_LOCALES as ua, isRTLLocale as ia } from "@fanfare-io/fanfare-sdk-i18n";
|
|
4
4
|
export {
|
|
5
5
|
s as AccessCodeForm,
|
|
6
6
|
o as AppointmentModule,
|
|
@@ -13,52 +13,53 @@ export {
|
|
|
13
13
|
d as CardDescription,
|
|
14
14
|
c as CardFooter,
|
|
15
15
|
P as CardHeader,
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
C as CardTitle,
|
|
17
|
+
m as ChallengeGate,
|
|
18
18
|
p as CheckoutProcessingPanel,
|
|
19
|
-
S as
|
|
20
|
-
E as
|
|
21
|
-
T as
|
|
22
|
-
h as
|
|
23
|
-
F as
|
|
24
|
-
M as
|
|
25
|
-
f as
|
|
19
|
+
S as Countdown,
|
|
20
|
+
E as DrawModule,
|
|
21
|
+
T as EndedModule,
|
|
22
|
+
h as ErrorView,
|
|
23
|
+
F as ExperienceJourneyController,
|
|
24
|
+
M as ExperienceJourneySkeleton,
|
|
25
|
+
f as ExperienceWidget,
|
|
26
|
+
w as FanfareContext,
|
|
26
27
|
y as FanfareProvider,
|
|
27
28
|
A as GrantedPanel,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
29
|
+
x as I18nProvider,
|
|
30
|
+
L as InfoPanel,
|
|
31
|
+
V as Input,
|
|
32
|
+
g as LoadingView,
|
|
33
|
+
R as OTPInput,
|
|
34
|
+
v as OutcomePanel,
|
|
35
|
+
I as PanelBody,
|
|
36
|
+
O as PanelFooter,
|
|
37
|
+
k as PanelHeading,
|
|
38
|
+
B as PanelLayout,
|
|
39
|
+
D as PaymentCollectionPanel,
|
|
40
|
+
J as ProductSelector,
|
|
41
|
+
H as QueueModule,
|
|
42
|
+
ua as RTL_LOCALES,
|
|
43
|
+
_ as ReceiptPanel,
|
|
44
|
+
b as SelectionSummary,
|
|
45
|
+
G as ShadowDOMPreview,
|
|
46
|
+
W as StartView,
|
|
47
|
+
z as THEME_CSS_VARS,
|
|
48
|
+
N as ThemeProvider,
|
|
49
|
+
Q as TimedReleaseModule,
|
|
50
|
+
U as UpcomingModule,
|
|
51
|
+
j as WaitlistView,
|
|
52
|
+
q as buildThemeCssVars,
|
|
53
|
+
K as buttonVariants,
|
|
54
|
+
ia as isRTLLocale,
|
|
55
|
+
X as normalizeOutcomeReason,
|
|
56
|
+
Y as useBeaconTracker,
|
|
57
|
+
Z as useExperienceJourney,
|
|
58
|
+
$ as useFanfare,
|
|
59
|
+
aa as useFanfareAuth,
|
|
60
|
+
ea as useFanfareDomBridge,
|
|
61
|
+
sa as useJourneySnapshot,
|
|
62
|
+
oa as useNanostore,
|
|
63
|
+
na as useSdkEvent,
|
|
64
|
+
ra as useTranslations
|
|
64
65
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsxs as E, Fragment as F, jsx as g } from "react/jsx-runtime";
|
|
3
3
|
import * as r from "react";
|
|
4
4
|
import { createPortal as M } from "react-dom";
|
|
5
|
-
import { u as B, a as D, d as N, S as I, B as O, g as _ } from "./index-
|
|
5
|
+
import { u as B, a as D, d as N, S as I, B as O, g as _ } from "./index-jbm-DC1W.js";
|
|
6
6
|
const j = [
|
|
7
7
|
"--ff-color-foreground",
|
|
8
8
|
"--ff-font-sans",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fanfare-io/fanfare-sdk-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "React adapter for Fanfare SDK",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"nanostores": "^1.1.0",
|
|
44
44
|
"tailwind-merge": "^2.6.0",
|
|
45
45
|
"valibot": "^1.1.0",
|
|
46
|
-
"@fanfare-io/fanfare-sdk-core": "0.
|
|
47
|
-
"@fanfare-io/fanfare-sdk-i18n": "0.
|
|
46
|
+
"@fanfare-io/fanfare-sdk-core": "0.19.0",
|
|
47
|
+
"@fanfare-io/fanfare-sdk-i18n": "0.19.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@iconify-json/heroicons": "^1.2.3",
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
"vite-plugin-dts": "^4.5.4",
|
|
92
92
|
"vite-tsconfig-paths": "^5.1.4",
|
|
93
93
|
"vitest": "^5.0.0",
|
|
94
|
-
"@fanfare-io/fanfare-sdk-core": "0.
|
|
95
|
-
"@fanfare-io/fanfare-sdk-solid": "0.
|
|
94
|
+
"@fanfare-io/fanfare-sdk-core": "0.19.0",
|
|
95
|
+
"@fanfare-io/fanfare-sdk-solid": "0.19.0"
|
|
96
96
|
},
|
|
97
97
|
"sideEffects": [
|
|
98
98
|
"**/*.css"
|