fansunited-management-components 1.50.16 → 1.51.0-RC1
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/index.es.js +23 -11
- package/index.umd.js +178 -178
- package/package.json +1 -1
- package/src/index.d.ts +22 -9
- package/src/index.d.ts.map +1 -1
- package/src/constants/components2.d.ts +0 -47
- package/src/constants/components2.d.ts.map +0 -1
package/index.es.js
CHANGED
|
@@ -36262,24 +36262,36 @@ const Iy = Qe(/* @__PURE__ */ u.jsx("path", {
|
|
|
36262
36262
|
return window.addEventListener("resize", i), () => window.removeEventListener("resize", i);
|
|
36263
36263
|
}, []), { isMobile: e, isPhone: n };
|
|
36264
36264
|
}, Az = {
|
|
36265
|
+
/**
|
|
36266
|
+
* React context that exposes the Fans United SDK instance and HTTPS service.
|
|
36267
|
+
* Use via `useAPIContext()`.
|
|
36268
|
+
*/
|
|
36265
36269
|
APIProvider: lA,
|
|
36270
|
+
/**
|
|
36271
|
+
* Auth provider that subscribes to Firebase auth state and provides the user once loaded.
|
|
36272
|
+
*/
|
|
36266
36273
|
AuthProvider: cA,
|
|
36274
|
+
/**
|
|
36275
|
+
* React context exposing the current Firebase user.
|
|
36276
|
+
*/
|
|
36267
36277
|
AuthContext: sm,
|
|
36278
|
+
/**
|
|
36279
|
+
* Provider that exposes the components registry to descendants.
|
|
36280
|
+
*/
|
|
36268
36281
|
ComponentProvider: dz,
|
|
36282
|
+
/**
|
|
36283
|
+
* Hook to access the registry of public components provided by ComponentProvider.
|
|
36284
|
+
*/
|
|
36269
36285
|
useComponentContext: fz,
|
|
36286
|
+
/**
|
|
36287
|
+
* Hook to access the API services provided by APIProvider.
|
|
36288
|
+
*/
|
|
36270
36289
|
useAPIContext: xt,
|
|
36290
|
+
/**
|
|
36291
|
+
* Determine if the viewport width is mobile or phone sized and updates on resize.
|
|
36292
|
+
*/
|
|
36271
36293
|
useIsMobile: hz
|
|
36272
36294
|
};
|
|
36273
36295
|
export {
|
|
36274
|
-
|
|
36275
|
-
sm as AuthContext,
|
|
36276
|
-
cA as AuthProvider,
|
|
36277
|
-
Ay as ComponentContext,
|
|
36278
|
-
dz as ComponentProvider,
|
|
36279
|
-
tl as Spinner,
|
|
36280
|
-
uz as components,
|
|
36281
|
-
Az as default,
|
|
36282
|
-
xt as useAPIContext,
|
|
36283
|
-
fz as useComponentContext,
|
|
36284
|
-
hz as useIsMobile
|
|
36296
|
+
Az as default
|
|
36285
36297
|
};
|