@cuemath/leap 3.1.2-j2 → 3.1.2-j3
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.
@@ -1,4 +1,4 @@
|
|
1
|
-
import { jsxs as
|
1
|
+
import { jsxs as o, Fragment as i, jsx as e } from "react/jsx-runtime";
|
2
2
|
import { memo as c } from "react";
|
3
3
|
import r from "../../../ui/buttons/button/button.js";
|
4
4
|
import l from "../../../ui/layout/flex-view.js";
|
@@ -6,10 +6,10 @@ import m from "../../../ui/separator/separator.js";
|
|
6
6
|
const s = ({
|
7
7
|
onRetryLogin: t,
|
8
8
|
onGoToSignup: n,
|
9
|
-
|
10
|
-
}) => /* @__PURE__ */
|
11
|
-
!!a && /* @__PURE__ */
|
12
|
-
/* @__PURE__ */
|
9
|
+
showSignupButton: a = !0
|
10
|
+
}) => /* @__PURE__ */ o(l, { $alignItems: "center", $justifyContent: "center", children: [
|
11
|
+
!!a && /* @__PURE__ */ o(i, { children: [
|
12
|
+
/* @__PURE__ */ e(
|
13
13
|
r,
|
14
14
|
{
|
15
15
|
size: "small",
|
@@ -19,9 +19,9 @@ const s = ({
|
|
19
19
|
onClick: n
|
20
20
|
}
|
21
21
|
),
|
22
|
-
/* @__PURE__ */
|
22
|
+
/* @__PURE__ */ e(m, { heightX: 1 })
|
23
23
|
] }),
|
24
|
-
/* @__PURE__ */
|
24
|
+
/* @__PURE__ */ e(
|
25
25
|
r,
|
26
26
|
{
|
27
27
|
size: "small",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"social-account-not-found.js","sources":["../../../../../src/features/auth/login/social-account-not-found/social-account-not-found.tsx"],"sourcesContent":["import type { ISocialAccountNotFoundProps } from './social-account-not-found-types';\n\nimport { memo } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\n\nconst SocialAccountNotFound = ({\n onRetryLogin,\n onGoToSignup,\n
|
1
|
+
{"version":3,"file":"social-account-not-found.js","sources":["../../../../../src/features/auth/login/social-account-not-found/social-account-not-found.tsx"],"sourcesContent":["import type { ISocialAccountNotFoundProps } from './social-account-not-found-types';\n\nimport { memo } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\n\nconst SocialAccountNotFound = ({\n onRetryLogin,\n onGoToSignup,\n showSignupButton = true,\n}: ISocialAccountNotFoundProps) => {\n return (\n <FlexView $alignItems=\"center\" $justifyContent=\"center\">\n {!!showSignupButton && (\n <>\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n label=\"Create a new account\"\n width={232}\n onClick={onGoToSignup}\n />\n <Separator heightX={1} />\n </>\n )}\n\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n label=\"Try another Login method\"\n width={232}\n onClick={onRetryLogin}\n />\n </FlexView>\n );\n};\n\nexport default memo(SocialAccountNotFound);\n"],"names":["SocialAccountNotFound","onRetryLogin","onGoToSignup","showSignupButton","jsxs","FlexView","Fragment","jsx","Button","Separator","socialAccountNotFound","memo"],"mappings":";;;;;AAQA,MAAMA,IAAwB,CAAC;AAAA,EAC7B,cAAAC;AAAA,EACA,cAAAC;AAAA,EACA,kBAAAC,IAAmB;AACrB,MAEK,gBAAAC,EAAAC,GAAA,EAAS,aAAY,UAAS,iBAAgB,UAC5C,UAAA;AAAA,EAAC,CAAA,CAACF,KAEC,gBAAAC,EAAAE,GAAA,EAAA,UAAA;AAAA,IAAA,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,UAAS;AAAA,QACT,OAAM;AAAA,QACN,OAAO;AAAA,QACP,SAASN;AAAA,MAAA;AAAA,IACX;AAAA,IACA,gBAAAK,EAACE,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,EAAA,GACzB;AAAA,EAGF,gBAAAF;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,UAAS;AAAA,MACT,OAAM;AAAA,MACN,OAAO;AAAA,MACP,SAASP;AAAA,IAAA;AAAA,EACX;AACF,EAAA,CAAA,GAIWS,IAAAC,EAAKX,CAAqB;"}
|
package/dist/index.d.ts
CHANGED
@@ -3011,7 +3011,7 @@ declare interface ISingleFieldFormProps {
|
|
3011
3011
|
declare interface ISocialAccountNotFoundProps {
|
3012
3012
|
onRetryLogin: () => void;
|
3013
3013
|
onGoToSignup?: () => void;
|
3014
|
-
|
3014
|
+
showSignupButton?: boolean;
|
3015
3015
|
}
|
3016
3016
|
|
3017
3017
|
declare interface ISocialLoginMethodsProps {
|
@@ -4489,7 +4489,7 @@ export declare const SkipColoredIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
4489
4489
|
|
4490
4490
|
export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4491
4491
|
|
4492
|
-
export declare const SocialAccountNotFound: MemoExoticComponent<({ onRetryLogin, onGoToSignup,
|
4492
|
+
export declare const SocialAccountNotFound: MemoExoticComponent<({ onRetryLogin, onGoToSignup, showSignupButton, }: ISocialAccountNotFoundProps) => JSX_2.Element>;
|
4493
4493
|
|
4494
4494
|
export declare const SocialLoginMethods: NamedExoticComponent<ISocialLoginMethodsProps>;
|
4495
4495
|
|