@feathery/react 1.0.597 → 1.0.598
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/auth/{LoginProvider.d.ts → LoginForm.d.ts} +6 -4
- package/dist/auth/LoginForm.d.ts.map +1 -0
- package/dist/auth/useAuthClient.d.ts +3 -0
- package/dist/auth/useAuthClient.d.ts.map +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/formHelperFunctions.d.ts +1 -1
- package/dist/utils/formHelperFunctions.d.ts.map +1 -1
- package/package.json +1 -1
- package/umd/index.js +1 -1
- package/dist/auth/LoginProvider.d.ts.map +0 -1
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { Props as FormProps } from '../Form';
|
|
3
|
+
export declare const AuthContext: React.Context<any>;
|
|
2
4
|
export declare const authState: {
|
|
3
5
|
client: any;
|
|
4
6
|
authEmail: string;
|
|
@@ -11,7 +13,7 @@ export declare const authState: {
|
|
|
11
13
|
onLogin: () => void;
|
|
12
14
|
onLogout: () => void;
|
|
13
15
|
};
|
|
14
|
-
declare const
|
|
16
|
+
declare const LoginForm: ({ authId: authIdProp, formProps, loader, loginPath, onLogin, onLogout, onClientReady, children }: {
|
|
15
17
|
authId?: string | undefined;
|
|
16
18
|
formProps: FormProps;
|
|
17
19
|
loader?: JSX.Element | undefined;
|
|
@@ -20,6 +22,6 @@ declare const LoginProvider: ({ authId: authIdProp, formProps, loader, loginPath
|
|
|
20
22
|
onLogout?: (() => void) | undefined;
|
|
21
23
|
onClientReady?: ((authClient: any) => void) | undefined;
|
|
22
24
|
children?: JSX.Element | undefined;
|
|
23
|
-
}) => import("@emotion/react/jsx-runtime").JSX.Element
|
|
24
|
-
export default
|
|
25
|
-
//# sourceMappingURL=
|
|
25
|
+
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
26
|
+
export default LoginForm;
|
|
27
|
+
//# sourceMappingURL=LoginForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoginForm.d.ts","sourceRoot":"","sources":["../../src/auth/LoginForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAO,EAAU,KAAK,IAAI,SAAS,EAAE,MAAM,SAAS,CAAC;AAqBrD,eAAO,MAAM,WAAW,oBAA2B,CAAC;AAEpD,eAAO,MAAM,SAAS;;;;;;;uBASD,MAAM;2BAGF,GAAG;;;CAK3B,CAAC;AAEF,QAAA,MAAM,SAAS;;eAWF,SAAS;;;qBAGJ,IAAI;sBACH,IAAI;kCACQ,GAAG,KAAK,IAAI;;sDAsI1C,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAuthClient.d.ts","sourceRoot":"","sources":["../../src/auth/useAuthClient.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,aAAa,WAAgC,CAAC;AAEpD,eAAe,aAAa,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,8 @@ import Form, { Props as FormProps } from './Form';
|
|
|
4
4
|
import { init, updateUserId, setValues } from './utils/init';
|
|
5
5
|
import { OPERATOR_CODE } from './utils/logic';
|
|
6
6
|
import { FormContext } from './types/Form';
|
|
7
|
-
import
|
|
7
|
+
import LoginForm from './auth/LoginForm';
|
|
8
|
+
import useAuthClient from './auth/useAuthClient';
|
|
8
9
|
declare function getAllValues(): {
|
|
9
10
|
[x: string]: import("./utils/init").FeatheryFieldTypes;
|
|
10
11
|
};
|
|
@@ -67,6 +68,6 @@ declare const Feathery: {
|
|
|
67
68
|
getAllValues: typeof getAllValues;
|
|
68
69
|
renderAt: typeof renderAt;
|
|
69
70
|
};
|
|
70
|
-
export { Form, Elements, init, updateUserKey, updateUserId, setValues, getAllValues, renderAt,
|
|
71
|
+
export { Form, Elements, init, updateUserKey, updateUserId, setValues, getAllValues, renderAt, LoginForm, useAuthClient, Feathery };
|
|
71
72
|
export type { OPERATOR_CODE, FormContext };
|
|
72
73
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,IAAI,EAAE,EAAU,KAAK,IAAI,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,SAAS,EAAe,MAAM,cAAc,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI9C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,aAAa,MAAM,sBAAsB,CAAC;AAEjD,iBAAS,YAAY;;EAGpB;AAED;;;;GAIG;AACH,iBAAS,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS;;;;;;;;;;;;;;;;;;;EAQjD;AAGD,QAAA,MAAM,aAAa,qBAAe,CAAC;AAGnC,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASb,CAAC;AAEF,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,aAAa,EACb,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,aAAa,EACb,QAAQ,EACT,CAAC;AACF,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,IAAI,EAAE,EAAU,KAAK,IAAI,SAAS,E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