@cuemath/leap 3.0.30-j → 3.0.31-beta-0.1

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.
Files changed (52) hide show
  1. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js +12 -0
  2. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js.map +1 -0
  3. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +9 -8
  4. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
  5. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +1 -1
  6. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +1 -1
  7. package/dist/features/auth/forgot-password/forgot-password-styled.js +3 -15
  8. package/dist/features/auth/forgot-password/forgot-password-styled.js.map +1 -1
  9. package/dist/features/auth/forgot-password/otp-form/otp-form.js +29 -29
  10. package/dist/features/auth/forgot-password/otp-form/otp-form.js.map +1 -1
  11. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js +4 -2
  12. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js.map +1 -1
  13. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js +15 -13
  14. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js.map +1 -1
  15. package/dist/features/auth/login/social-login-methods/social-login-methods.js +34 -43
  16. package/dist/features/auth/login/social-login-methods/social-login-methods.js.map +1 -1
  17. package/dist/features/auth/login/username-password-form/username-password-form.js +21 -22
  18. package/dist/features/auth/login/username-password-form/username-password-form.js.map +1 -1
  19. package/dist/features/homework/styles.js +5 -4
  20. package/dist/features/homework/styles.js.map +1 -1
  21. package/dist/features/milestone/create/comps/add-custom-chapter/course-catalog.js +38 -36
  22. package/dist/features/milestone/create/comps/add-custom-chapter/course-catalog.js.map +1 -1
  23. package/dist/features/milestone/create/comps/add-custom-chapter/hooks/use-catalog-helpers.js +24 -22
  24. package/dist/features/milestone/create/comps/add-custom-chapter/hooks/use-catalog-helpers.js.map +1 -1
  25. package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapter-category/chapter-category-container.js +23 -22
  26. package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapter-category/chapter-category-container.js.map +1 -1
  27. package/dist/features/milestone/create/comps/chapters-selection-step/utils.js +49 -47
  28. package/dist/features/milestone/create/comps/chapters-selection-step/utils.js.map +1 -1
  29. package/dist/features/milestone/create/comps/class-details-step/class-details-step.js +94 -87
  30. package/dist/features/milestone/create/comps/class-details-step/class-details-step.js.map +1 -1
  31. package/dist/features/milestone/create/comps/class-details-step/class-details-utils.js +13 -12
  32. package/dist/features/milestone/create/comps/class-details-step/class-details-utils.js.map +1 -1
  33. package/dist/features/milestone/create/comps/test-type-step/test-type-step.js +23 -21
  34. package/dist/features/milestone/create/comps/test-type-step/test-type-step.js.map +1 -1
  35. package/dist/features/milestone/create/milestone-create-helpers.js +165 -162
  36. package/dist/features/milestone/create/milestone-create-helpers.js.map +1 -1
  37. package/dist/features/ui/buttons/button/button-styled.js +29 -29
  38. package/dist/features/ui/buttons/button/button-styled.js.map +1 -1
  39. package/dist/index.d.ts +3 -19
  40. package/dist/index.js +49 -53
  41. package/dist/index.js.map +1 -1
  42. package/package.json +1 -1
  43. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styled.js +0 -21
  44. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styled.js.map +0 -1
  45. package/dist/features/auth/login/login-styled.js +0 -13
  46. package/dist/features/auth/login/login-styled.js.map +0 -1
  47. package/dist/features/auth/login/social-login-methods/social-login-methods-styled.js +0 -9
  48. package/dist/features/auth/login/social-login-methods/social-login-methods-styled.js.map +0 -1
  49. package/dist/features/hooks/use-device-type.js +0 -25
  50. package/dist/features/hooks/use-device-type.js.map +0 -1
  51. package/dist/features/utils/media.js +0 -16
  52. package/dist/features/utils/media.js.map +0 -1
@@ -0,0 +1,12 @@
1
+ import o from "styled-components";
2
+ import e from "../../../ui/layout/flex-view.js";
3
+ const n = o(e)`
4
+ min-height: 100vh;
5
+ `, i = o(e)`
6
+ overflow: hidden;
7
+ `;
8
+ export {
9
+ n as Container,
10
+ i as ContentWrapper
11
+ };
12
+ //# sourceMappingURL=auth-page-layout-styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth-page-layout-styles.js","sources":["../../../../../src/features/auth/comps/auth-page-layout/auth-page-layout-styles.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const Container = styled(FlexView)`\n min-height: 100vh;\n`;\n\nexport const ContentWrapper = styled(FlexView)`\n overflow: hidden;\n`;\n"],"names":["Container","styled","FlexView","ContentWrapper"],"mappings":";;AAIa,MAAAA,IAAYC,EAAOC,CAAQ;AAAA;AAAA,GAI3BC,IAAiBF,EAAOC,CAAQ;AAAA;AAAA;"}
@@ -1,11 +1,12 @@
1
- import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
- import { memo as a } from "react";
3
- import { Container as i, ContentWrapper as h, RightPanel as d } from "./auth-page-layout-styled.js";
4
- const m = ({ leftBlock: e, rightBlock: t, isFullWidth: r }) => /* @__PURE__ */ n(i, { $width: "100%", $height: "100%", $flexDirection: "row", children: [
5
- /* @__PURE__ */ o(h, { $width: r ? "100%" : "50%", $background: "BLACK_1", children: e }),
6
- !r && t && /* @__PURE__ */ o(d, { $width: "50%", $background: "BLACK_2", children: t })
7
- ] }), p = a(m);
1
+ import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
+ import { memo as i } from "react";
3
+ import a from "../../../ui/layout/flex-view.js";
4
+ import { Container as m, ContentWrapper as d } from "./auth-page-layout-styles.js";
5
+ const h = ({ leftBlock: e, rightBlock: r, isFullWidth: o }) => /* @__PURE__ */ n(m, { $width: "100%", $height: "100%", $flexDirection: "row", children: [
6
+ /* @__PURE__ */ t(d, { $width: o ? "100%" : "50%", $background: "BLACK_1", children: e }),
7
+ !o && r && /* @__PURE__ */ t(a, { $width: "50%", $background: "BLACK_2", children: r })
8
+ ] }), f = i(h);
8
9
  export {
9
- p as default
10
+ f as default
10
11
  };
11
12
  //# sourceMappingURL=auth-page-layout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"auth-page-layout.js","sources":["../../../../../src/features/auth/comps/auth-page-layout/auth-page-layout.tsx"],"sourcesContent":["import type { IAuthPageLayoutProps } from './auth-page-layout-types';\n\nimport { memo, type FC } from 'react';\n\nimport * as Styled from './auth-page-layout-styled';\n\nconst AuthPageLayout: FC<IAuthPageLayoutProps> = ({ leftBlock, rightBlock, isFullWidth }) => {\n return (\n <Styled.Container $width=\"100%\" $height=\"100%\" $flexDirection=\"row\">\n <Styled.ContentWrapper $width={isFullWidth ? '100%' : '50%'} $background=\"BLACK_1\">\n {leftBlock}\n </Styled.ContentWrapper>\n {!isFullWidth && rightBlock && (\n <Styled.RightPanel $width=\"50%\" $background=\"BLACK_2\">\n {rightBlock}\n </Styled.RightPanel>\n )}\n </Styled.Container>\n );\n};\n\nexport default memo(AuthPageLayout);\n"],"names":["AuthPageLayout","leftBlock","rightBlock","isFullWidth","jsxs","Styled.Container","jsx","Styled.ContentWrapper","Styled.RightPanel","authPageLayout","memo"],"mappings":";;;AAMA,MAAMA,IAA2C,CAAC,EAAE,WAAAC,GAAW,YAAAC,GAAY,aAAAC,QAEvE,gBAAAC,EAACC,GAAA,EAAiB,QAAO,QAAO,SAAQ,QAAO,gBAAe,OAC5D,UAAA;AAAA,EAAC,gBAAAC,EAAAC,GAAA,EAAsB,QAAQJ,IAAc,SAAS,OAAO,aAAY,WACtE,UACHF,EAAA,CAAA;AAAA,EACC,CAACE,KAAeD,KACd,gBAAAI,EAAAE,GAAA,EAAkB,QAAO,OAAM,aAAY,WACzC,UACHN,EAAA,CAAA;AAEJ,EAAA,CAAA,GAIWO,IAAAC,EAAKV,CAAc;"}
1
+ {"version":3,"file":"auth-page-layout.js","sources":["../../../../../src/features/auth/comps/auth-page-layout/auth-page-layout.tsx"],"sourcesContent":["import type { IAuthPageLayoutProps } from './auth-page-layout-types';\n\nimport { memo, type FC } from 'react';\n\nimport FlexView from '../../../ui/layout/flex-view';\nimport * as Styled from './auth-page-layout-styles';\n\nconst AuthPageLayout: FC<IAuthPageLayoutProps> = ({ leftBlock, rightBlock, isFullWidth }) => {\n return (\n <Styled.Container $width=\"100%\" $height=\"100%\" $flexDirection=\"row\">\n <Styled.ContentWrapper $width={isFullWidth ? '100%' : '50%'} $background=\"BLACK_1\">\n {leftBlock}\n </Styled.ContentWrapper>\n {!isFullWidth && rightBlock && (\n <FlexView $width=\"50%\" $background=\"BLACK_2\">\n {rightBlock}\n </FlexView>\n )}\n </Styled.Container>\n );\n};\n\nexport default memo(AuthPageLayout);\n"],"names":["AuthPageLayout","leftBlock","rightBlock","isFullWidth","jsxs","Styled.Container","jsx","Styled.ContentWrapper","FlexView","authPageLayout","memo"],"mappings":";;;;AAOA,MAAMA,IAA2C,CAAC,EAAE,WAAAC,GAAW,YAAAC,GAAY,aAAAC,QAEvE,gBAAAC,EAACC,GAAA,EAAiB,QAAO,QAAO,SAAQ,QAAO,gBAAe,OAC5D,UAAA;AAAA,EAAC,gBAAAC,EAAAC,GAAA,EAAsB,QAAQJ,IAAc,SAAS,OAAO,aAAY,WACtE,UACHF,EAAA,CAAA;AAAA,EACC,CAACE,KAAeD,KACf,gBAAAI,EAACE,KAAS,QAAO,OAAM,aAAY,WAChC,UACHN,EAAA,CAAA;AAEJ,EAAA,CAAA,GAIWO,IAAAC,EAAKV,CAAc;"}
@@ -5,7 +5,7 @@ import l from "../../../ui/image/image.js";
5
5
  import c from "../../../ui/layout/flex-view.js";
6
6
  import r from "../../../ui/separator/separator.js";
7
7
  import t from "../../../ui/text/text.js";
8
- const h = ({ title: o, description: i }) => /* @__PURE__ */ a(c, { $flex: 1, $alignItems: "center", $justifyContent: "center", $gutterX: 2, children: [
8
+ const h = ({ title: o, description: i }) => /* @__PURE__ */ a(c, { $flex: 1, $alignItems: "center", $justifyContent: "center", $gutterX: 6, children: [
9
9
  /* @__PURE__ */ e(l, { src: m.CIRCLE_CUEMATH_LOGO_WHITE, alt: "Cuemath Logo", withLoader: !1 }),
10
10
  /* @__PURE__ */ e(r, { heightX: 1.5 }),
11
11
  /* @__PURE__ */ e(t, { $whiteSpace: "pre-line", $renderAs: "ah2", $color: "WHITE", $align: "center", children: o }),
@@ -1 +1 @@
1
- {"version":3,"file":"auth-static-panel.js","sources":["../../../../../src/features/auth/comps/auth-static-panel/auth-static-panel.tsx"],"sourcesContent":["import type { IAuthStaticPanelProps } from './auth-static-panel-types';\n\nimport { memo, type FC } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport Image from '../../../ui/image/image';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\n\nconst AuthStaticPanel: FC<IAuthStaticPanelProps> = ({ title, description }) => {\n return (\n <FlexView $flex={1} $alignItems=\"center\" $justifyContent=\"center\" $gutterX={2}>\n <Image src={ILLUSTRATIONS.CIRCLE_CUEMATH_LOGO_WHITE} alt=\"Cuemath Logo\" withLoader={false} />\n <Separator heightX={1.5} />\n <Text $whiteSpace=\"pre-line\" $renderAs=\"ah2\" $color=\"WHITE\" $align=\"center\">\n {title}\n </Text>\n <Separator heightX={1} />\n <Text $whiteSpace=\"pre-line\" $renderAs=\"ab1\" $color=\"WHITE_T_60\" $align=\"center\">\n {description}\n </Text>\n </FlexView>\n );\n};\n\nexport default memo(AuthStaticPanel);\n"],"names":["AuthStaticPanel","title","description","jsxs","FlexView","jsx","Image","ILLUSTRATIONS","Separator","Text","authStaticPanel","memo"],"mappings":";;;;;;;AAUA,MAAMA,IAA6C,CAAC,EAAE,OAAAC,GAAO,aAAAC,QAEzD,gBAAAC,EAACC,KAAS,OAAO,GAAG,aAAY,UAAS,iBAAgB,UAAS,UAAU,GAC1E,UAAA;AAAA,EAAA,gBAAAC,EAACC,KAAM,KAAKC,EAAc,2BAA2B,KAAI,gBAAe,YAAY,IAAO;AAAA,EAC3F,gBAAAF,EAACG,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,EACzB,gBAAAH,EAACI,GAAK,EAAA,aAAY,YAAW,WAAU,OAAM,QAAO,SAAQ,QAAO,UAChE,UACHR,EAAA,CAAA;AAAA,EACA,gBAAAI,EAACG,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,EACvB,gBAAAH,EAACI,GAAK,EAAA,aAAY,YAAW,WAAU,OAAM,QAAO,cAAa,QAAO,UACrE,UACHP,EAAA,CAAA;AACF,EAAA,CAAA,GAIWQ,IAAAC,EAAKX,CAAe;"}
1
+ {"version":3,"file":"auth-static-panel.js","sources":["../../../../../src/features/auth/comps/auth-static-panel/auth-static-panel.tsx"],"sourcesContent":["import type { IAuthStaticPanelProps } from './auth-static-panel-types';\n\nimport { memo, type FC } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport Image from '../../../ui/image/image';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\n\nconst AuthStaticPanel: FC<IAuthStaticPanelProps> = ({ title, description }) => {\n return (\n <FlexView $flex={1} $alignItems=\"center\" $justifyContent=\"center\" $gutterX={6}>\n <Image src={ILLUSTRATIONS.CIRCLE_CUEMATH_LOGO_WHITE} alt=\"Cuemath Logo\" withLoader={false} />\n <Separator heightX={1.5} />\n <Text $whiteSpace=\"pre-line\" $renderAs=\"ah2\" $color=\"WHITE\" $align=\"center\">\n {title}\n </Text>\n <Separator heightX={1} />\n <Text $whiteSpace=\"pre-line\" $renderAs=\"ab1\" $color=\"WHITE_T_60\" $align=\"center\">\n {description}\n </Text>\n </FlexView>\n );\n};\n\nexport default memo(AuthStaticPanel);\n"],"names":["AuthStaticPanel","title","description","jsxs","FlexView","jsx","Image","ILLUSTRATIONS","Separator","Text","authStaticPanel","memo"],"mappings":";;;;;;;AAUA,MAAMA,IAA6C,CAAC,EAAE,OAAAC,GAAO,aAAAC,QAEzD,gBAAAC,EAACC,KAAS,OAAO,GAAG,aAAY,UAAS,iBAAgB,UAAS,UAAU,GAC1E,UAAA;AAAA,EAAA,gBAAAC,EAACC,KAAM,KAAKC,EAAc,2BAA2B,KAAI,gBAAe,YAAY,IAAO;AAAA,EAC3F,gBAAAF,EAACG,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,EACzB,gBAAAH,EAACI,GAAK,EAAA,aAAY,YAAW,WAAU,OAAM,QAAO,SAAQ,QAAO,UAChE,UACHR,EAAA,CAAA;AAAA,EACA,gBAAAI,EAACG,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,EACvB,gBAAAH,EAACI,GAAK,EAAA,aAAY,YAAW,WAAU,OAAM,QAAO,cAAa,QAAO,UACrE,UACHP,EAAA,CAAA;AACF,EAAA,CAAA,GAIWQ,IAAAC,EAAKX,CAAe;"}
@@ -1,24 +1,12 @@
1
- import { styled as t } from "styled-components";
2
- import o from "../../ui/buttons/button/button.js";
3
- import p from "../../ui/layout/flex-view.js";
4
- const m = t.form`
1
+ import { styled as e } from "styled-components";
2
+ const t = e.form`
5
3
  display: flex;
6
4
  flex: 1;
7
5
  margin-top: 8px;
8
6
  flex-direction: column;
9
7
  justify-content: space-between;
10
- max-width: 336px;
11
- width: 100%;
12
- `, n = t(p)`
13
- margin-top: 8px;
14
- max-width: 336px;
15
- width: 100%;
16
- `, x = t(o)`
17
- width: 100%;
18
8
  `;
19
9
  export {
20
- x as ButtonWrapper,
21
- m as FormWrapper,
22
- n as Wrapper
10
+ t as FormWrapper
23
11
  };
24
12
  //# sourceMappingURL=forgot-password-styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"forgot-password-styled.js","sources":["../../../../src/features/auth/forgot-password/forgot-password-styled.tsx"],"sourcesContent":["import { styled } from 'styled-components';\n\nimport Button from '../../ui/buttons/button/button';\nimport FlexView from '../../ui/layout/flex-view';\n\nexport const FormWrapper = styled.form`\n display: flex;\n flex: 1;\n margin-top: 8px;\n flex-direction: column;\n justify-content: space-between;\n max-width: 336px;\n width: 100%;\n`;\n\nexport const Wrapper = styled(FlexView)`\n margin-top: 8px;\n max-width: 336px;\n width: 100%;\n`;\n\nexport const ButtonWrapper = styled(Button)`\n width: 100%;\n`;\n"],"names":["FormWrapper","styled","Wrapper","FlexView","ButtonWrapper","Button"],"mappings":";;;AAKO,MAAMA,IAAcC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAUrBC,IAAUD,EAAOE,CAAQ;AAAA;AAAA;AAAA;AAAA,GAMzBC,IAAgBH,EAAOI,CAAM;AAAA;AAAA;"}
1
+ {"version":3,"file":"forgot-password-styled.js","sources":["../../../../src/features/auth/forgot-password/forgot-password-styled.tsx"],"sourcesContent":["import { styled } from 'styled-components';\n\nexport const FormWrapper = styled.form`\n display: flex;\n flex: 1;\n margin-top: 8px;\n flex-direction: column;\n justify-content: space-between;\n`;\n"],"names":["FormWrapper","styled"],"mappings":";AAEO,MAAMA,IAAcC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
@@ -1,66 +1,66 @@
1
- import { jsx as e, jsxs as p } from "react/jsx-runtime";
2
- import { memo as d, useCallback as c } from "react";
3
- import l from "../../../ui/inputs/text-input/text-input.js";
4
- import f from "../../../ui/layout/flex-view.js";
5
- import b from "../../comps/input-status-icon/input-status-icon.js";
6
- import g from "../../comps/resend-otp/resend-otp.js";
7
- import { Wrapper as h } from "../forgot-password-styled.js";
8
- const $ = ({
9
- onSubmit: n,
1
+ import { jsx as e, jsxs as c } from "react/jsx-runtime";
2
+ import { memo as p, useCallback as l } from "react";
3
+ import f from "../../../ui/inputs/text-input/text-input.js";
4
+ import o from "../../../ui/layout/flex-view.js";
5
+ import g from "../../comps/input-status-icon/input-status-icon.js";
6
+ import b from "../../comps/resend-otp/resend-otp.js";
7
+ const h = ({
8
+ onSubmit: a,
10
9
  onChange: r,
11
- value: a,
10
+ value: i,
12
11
  error: t,
13
- isProcessing: o,
12
+ isProcessing: n,
14
13
  isValid: s = !1,
15
- helperText: i
14
+ helperText: m
16
15
  }) => {
17
- const m = c(
18
- (u) => {
19
- r("otp", u.target.value);
16
+ const u = l(
17
+ (d) => {
18
+ r("otp", d.target.value);
20
19
  },
21
20
  [r]
22
21
  );
23
22
  return /* @__PURE__ */ e(
24
- f,
23
+ o,
25
24
  {
26
- $gutterX: 1.5,
25
+ $gutterX: 2,
27
26
  $gapX: 1.5,
28
27
  $alignItems: "center",
29
28
  $justifyContent: "center",
30
29
  $background: "BLACK_2",
31
30
  $height: 308,
32
- children: /* @__PURE__ */ p(h, { $flex: 1, $justifyContent: "space-between", children: [
31
+ children: /* @__PURE__ */ c(o, { $alignItems: "center", $justifyContent: "space-between", $flex: 1, children: [
33
32
  /* @__PURE__ */ e(
34
- l,
33
+ f,
35
34
  {
36
35
  renderAs: t ? "error-dark" : s ? "success-dark" : "primary-dark",
37
36
  autoFocus: !0,
38
37
  label: "Verification code",
39
- value: a,
40
- onChange: m,
38
+ value: i,
39
+ onChange: u,
40
+ width: 330,
41
41
  required: !0,
42
42
  shape: "borderLess",
43
43
  type: "number",
44
44
  errorMessage: t,
45
- siblingElement: /* @__PURE__ */ e(b, { isError: !!t, isValid: s, isLoading: o }),
46
- helperText: i
45
+ siblingElement: /* @__PURE__ */ e(g, { isError: !!t, isValid: s, isLoading: n }),
46
+ helperText: m
47
47
  }
48
48
  ),
49
49
  /* @__PURE__ */ e(
50
- g,
50
+ b,
51
51
  {
52
52
  renderAs: "submit",
53
53
  timerSeconds: 15,
54
- onResendOTP: n,
55
- disabled: o,
56
- width: "100%"
54
+ onResendOTP: a,
55
+ width: 336,
56
+ disabled: n
57
57
  }
58
58
  )
59
59
  ] })
60
60
  }
61
61
  );
62
- }, T = d($);
62
+ }, y = p(h);
63
63
  export {
64
- T as default
64
+ y as default
65
65
  };
66
66
  //# sourceMappingURL=otp-form.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"otp-form.js","sources":["../../../../../src/features/auth/forgot-password/otp-form/otp-form.tsx"],"sourcesContent":["import type { ISingleFieldFormProps } from '../forgot-password-types';\n\nimport { type ChangeEvent, memo, useCallback } from 'react';\n\nimport TextInput from '../../../ui/inputs/text-input/text-input';\nimport FlexView from '../../../ui/layout/flex-view';\nimport InputStatusIcon from '../../comps/input-status-icon/input-status-icon';\nimport ResendOtp from '../../comps/resend-otp/resend-otp';\nimport * as Styled from '../forgot-password-styled';\n\nconst OTPForm = ({\n onSubmit,\n onChange,\n value,\n error,\n isProcessing,\n isValid = false,\n helperText,\n}: ISingleFieldFormProps) => {\n const handleOTPChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('otp', e.target.value);\n },\n [onChange],\n );\n\n const statusVariant = isValid ? 'success-dark' : 'primary-dark';\n\n return (\n <FlexView\n $gutterX={1.5}\n $gapX={1.5}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background=\"BLACK_2\"\n $height={308}\n >\n <Styled.Wrapper $flex={1} $justifyContent=\"space-between\">\n <TextInput\n renderAs={error ? 'error-dark' : statusVariant}\n autoFocus\n label=\"Verification code\"\n value={value}\n onChange={handleOTPChange}\n required\n shape=\"borderLess\"\n type=\"number\"\n errorMessage={error}\n siblingElement={\n <InputStatusIcon isError={!!error} isValid={isValid} isLoading={isProcessing} />\n }\n helperText={helperText}\n />\n <ResendOtp\n renderAs=\"submit\"\n timerSeconds={15}\n onResendOTP={onSubmit}\n disabled={isProcessing}\n width=\"100%\"\n />\n </Styled.Wrapper>\n </FlexView>\n );\n};\n\nexport default memo(OTPForm);\n"],"names":["OTPForm","onSubmit","onChange","value","error","isProcessing","isValid","helperText","handleOTPChange","useCallback","e","jsx","FlexView","Styled.Wrapper","TextInput","InputStatusIcon","ResendOtp","otpForm","memo"],"mappings":";;;;;;;AAUA,MAAMA,IAAU,CAAC;AAAA,EACf,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,cAAAC;AAAA,EACA,SAAAC,IAAU;AAAA,EACV,YAAAC;AACF,MAA6B;AAC3B,QAAMC,IAAkBC;AAAA,IACtB,CAACC,MAAqC;AAC3B,MAAAR,EAAA,OAAOQ,EAAE,OAAO,KAAK;AAAA,IAChC;AAAA,IACA,CAACR,CAAQ;AAAA,EAAA;AAMT,SAAA,gBAAAS;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,aAAY;AAAA,MACZ,SAAS;AAAA,MAET,4BAACC,GAAA,EAAe,OAAO,GAAG,iBAAgB,iBACxC,UAAA;AAAA,QAAA,gBAAAF;AAAA,UAACG;AAAA,UAAA;AAAA,YACC,UAAUV,IAAQ,eAbJE,IAAU,iBAAiB;AAAA,YAczC,WAAS;AAAA,YACT,OAAM;AAAA,YACN,OAAAH;AAAA,YACA,UAAUK;AAAA,YACV,UAAQ;AAAA,YACR,OAAM;AAAA,YACN,MAAK;AAAA,YACL,cAAcJ;AAAA,YACd,kCACGW,GAAgB,EAAA,SAAS,CAAC,CAACX,GAAO,SAAAE,GAAkB,WAAWD,GAAc;AAAA,YAEhF,YAAAE;AAAA,UAAA;AAAA,QACF;AAAA,QACA,gBAAAI;AAAA,UAACK;AAAA,UAAA;AAAA,YACC,UAAS;AAAA,YACT,cAAc;AAAA,YACd,aAAaf;AAAA,YACb,UAAUI;AAAA,YACV,OAAM;AAAA,UAAA;AAAA,QACR;AAAA,MAAA,GACF;AAAA,IAAA;AAAA,EAAA;AAGN,GAEeY,IAAAC,EAAKlB,CAAO;"}
1
+ {"version":3,"file":"otp-form.js","sources":["../../../../../src/features/auth/forgot-password/otp-form/otp-form.tsx"],"sourcesContent":["import type { ISingleFieldFormProps } from '../forgot-password-types';\n\nimport { type ChangeEvent, memo, useCallback } from 'react';\n\nimport TextInput from '../../../ui/inputs/text-input/text-input';\nimport FlexView from '../../../ui/layout/flex-view';\nimport InputStatusIcon from '../../comps/input-status-icon/input-status-icon';\nimport ResendOtp from '../../comps/resend-otp/resend-otp';\n\nconst OTPForm = ({\n onSubmit,\n onChange,\n value,\n error,\n isProcessing,\n isValid = false,\n helperText,\n}: ISingleFieldFormProps) => {\n const handleOTPChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('otp', e.target.value);\n },\n [onChange],\n );\n\n const statusVariant = isValid ? 'success-dark' : 'primary-dark';\n\n return (\n <FlexView\n $gutterX={2}\n $gapX={1.5}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background=\"BLACK_2\"\n $height={308}\n >\n <FlexView $alignItems=\"center\" $justifyContent=\"space-between\" $flex={1}>\n <TextInput\n renderAs={error ? 'error-dark' : statusVariant}\n autoFocus\n label=\"Verification code\"\n value={value}\n onChange={handleOTPChange}\n width={330}\n required\n shape=\"borderLess\"\n type=\"number\"\n errorMessage={error}\n siblingElement={\n <InputStatusIcon isError={!!error} isValid={isValid} isLoading={isProcessing} />\n }\n helperText={helperText}\n />\n <ResendOtp\n renderAs=\"submit\"\n timerSeconds={15}\n onResendOTP={onSubmit}\n width={336}\n disabled={isProcessing}\n />\n </FlexView>\n </FlexView>\n );\n};\n\nexport default memo(OTPForm);\n"],"names":["OTPForm","onSubmit","onChange","value","error","isProcessing","isValid","helperText","handleOTPChange","useCallback","e","jsx","FlexView","TextInput","InputStatusIcon","ResendOtp","otpForm","memo"],"mappings":";;;;;;AASA,MAAMA,IAAU,CAAC;AAAA,EACf,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,cAAAC;AAAA,EACA,SAAAC,IAAU;AAAA,EACV,YAAAC;AACF,MAA6B;AAC3B,QAAMC,IAAkBC;AAAA,IACtB,CAACC,MAAqC;AAC3B,MAAAR,EAAA,OAAOQ,EAAE,OAAO,KAAK;AAAA,IAChC;AAAA,IACA,CAACR,CAAQ;AAAA,EAAA;AAMT,SAAA,gBAAAS;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,aAAY;AAAA,MACZ,SAAS;AAAA,MAET,4BAACA,GAAS,EAAA,aAAY,UAAS,iBAAgB,iBAAgB,OAAO,GACpE,UAAA;AAAA,QAAA,gBAAAD;AAAA,UAACE;AAAA,UAAA;AAAA,YACC,UAAUT,IAAQ,eAbJE,IAAU,iBAAiB;AAAA,YAczC,WAAS;AAAA,YACT,OAAM;AAAA,YACN,OAAAH;AAAA,YACA,UAAUK;AAAA,YACV,OAAO;AAAA,YACP,UAAQ;AAAA,YACR,OAAM;AAAA,YACN,MAAK;AAAA,YACL,cAAcJ;AAAA,YACd,kCACGU,GAAgB,EAAA,SAAS,CAAC,CAACV,GAAO,SAAAE,GAAkB,WAAWD,GAAc;AAAA,YAEhF,YAAAE;AAAA,UAAA;AAAA,QACF;AAAA,QACA,gBAAAI;AAAA,UAACI;AAAA,UAAA;AAAA,YACC,UAAS;AAAA,YACT,cAAc;AAAA,YACd,aAAad;AAAA,YACb,OAAO;AAAA,YACP,UAAUI;AAAA,UAAA;AAAA,QACZ;AAAA,MAAA,GACF;AAAA,IAAA;AAAA,EAAA;AAGN,GAEeW,IAAAC,EAAKjB,CAAO;"}
@@ -29,7 +29,7 @@ const y = ({
29
29
  return /* @__PURE__ */ r(
30
30
  m,
31
31
  {
32
- $gutterX: 1.5,
32
+ $gutterX: 2,
33
33
  $gapX: 1.5,
34
34
  $alignItems: "center",
35
35
  $justifyContent: "center",
@@ -46,6 +46,7 @@ const y = ({
46
46
  label: "New Password",
47
47
  value: o.password,
48
48
  onChange: f,
49
+ width: 330,
49
50
  autoFocus: !0,
50
51
  required: !0,
51
52
  shape: "borderLess",
@@ -63,6 +64,7 @@ const y = ({
63
64
  label: "Re-enter Password",
64
65
  value: o.confirmPassword,
65
66
  onChange: g,
67
+ width: 330,
66
68
  required: !0,
67
69
  shape: "borderLess",
68
70
  errorMessage: s.confirmPassword,
@@ -84,7 +86,7 @@ const y = ({
84
86
  renderAs: "secondary-dark",
85
87
  type: "submit",
86
88
  label: "Continue",
87
- width: "100%",
89
+ width: 336,
88
90
  busy: u,
89
91
  disabled: w
90
92
  }
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password-form.js","sources":["../../../../../src/features/auth/forgot-password/reset-password-form/reset-password-form.tsx"],"sourcesContent":["import type { IResetPasswordFormProps } from './reset-password-form-types';\n\nimport { type ChangeEvent, memo, useCallback } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport TextInput from '../../../ui/inputs/text-input/text-input';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport InputStatusIcon from '../../comps/input-status-icon/input-status-icon';\nimport * as Styled from '../forgot-password-styled';\n\nconst ResetPasswordForm = ({\n onSubmit,\n onChange,\n formData,\n errors,\n isSubmitDisabled,\n isProcessing,\n isValid = false,\n}: IResetPasswordFormProps) => {\n const isConfirmPasswordValid = isValid && formData.password === formData.confirmPassword;\n\n const handlePasswordChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('password', e.target.value);\n },\n [onChange],\n );\n\n const handleConfirmPasswordChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('confirmPassword', e.target.value);\n },\n [onChange],\n );\n\n return (\n <FlexView\n $gutterX={1.5}\n $gapX={1.5}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background=\"BLACK_2\"\n $height={308}\n >\n <Styled.FormWrapper onSubmit={onSubmit}>\n <FlexView>\n <TextInput\n type={'password'}\n renderAs={errors.password ? 'error-dark' : 'primary-dark'}\n autoComplete=\"new-password\"\n label=\"New Password\"\n value={formData.password}\n onChange={handlePasswordChange}\n autoFocus\n required\n shape=\"borderLess\"\n errorMessage={errors.password}\n siblingElement={\n <InputStatusIcon isError={!!errors.password} isValid={isValid} isLoading={false} />\n }\n />\n <Separator height={36} />\n <TextInput\n type=\"password\"\n renderAs={errors.confirmPassword ? 'error-dark' : 'primary-dark'}\n autoComplete=\"new-password\"\n label=\"Re-enter Password\"\n value={formData.confirmPassword}\n onChange={handleConfirmPasswordChange}\n required\n shape=\"borderLess\"\n errorMessage={errors.confirmPassword}\n siblingElement={\n <InputStatusIcon\n isError={!!errors.confirmPassword}\n isValid={isConfirmPasswordValid}\n isLoading={false}\n />\n }\n />\n </FlexView>\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n type=\"submit\"\n label=\"Continue\"\n width=\"100%\"\n busy={isProcessing}\n disabled={isSubmitDisabled}\n />\n </Styled.FormWrapper>\n </FlexView>\n );\n};\n\nexport default memo(ResetPasswordForm);\n"],"names":["ResetPasswordForm","onSubmit","onChange","formData","errors","isSubmitDisabled","isProcessing","isValid","isConfirmPasswordValid","handlePasswordChange","useCallback","e","handleConfirmPasswordChange","jsx","FlexView","jsxs","Styled.FormWrapper","TextInput","InputStatusIcon","Separator","Button","resetPasswordForm","memo"],"mappings":";;;;;;;;AAWA,MAAMA,IAAoB,CAAC;AAAA,EACzB,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,SAAAC,IAAU;AACZ,MAA+B;AAC7B,QAAMC,IAAyBD,KAAWJ,EAAS,aAAaA,EAAS,iBAEnEM,IAAuBC;AAAA,IAC3B,CAACC,MAAqC;AAC3B,MAAAT,EAAA,YAAYS,EAAE,OAAO,KAAK;AAAA,IACrC;AAAA,IACA,CAACT,CAAQ;AAAA,EAAA,GAGLU,IAA8BF;AAAA,IAClC,CAACC,MAAqC;AAC3B,MAAAT,EAAA,mBAAmBS,EAAE,OAAO,KAAK;AAAA,IAC5C;AAAA,IACA,CAACT,CAAQ;AAAA,EAAA;AAIT,SAAA,gBAAAW;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,aAAY;AAAA,MACZ,SAAS;AAAA,MAET,UAAC,gBAAAC,EAAAC,GAAA,EAAmB,UAAAf,GAClB,UAAA;AAAA,QAAA,gBAAAc,EAACD,GACC,EAAA,UAAA;AAAA,UAAA,gBAAAD;AAAA,YAACI;AAAA,YAAA;AAAA,cACC,MAAM;AAAA,cACN,UAAUb,EAAO,WAAW,eAAe;AAAA,cAC3C,cAAa;AAAA,cACb,OAAM;AAAA,cACN,OAAOD,EAAS;AAAA,cAChB,UAAUM;AAAA,cACV,WAAS;AAAA,cACT,UAAQ;AAAA,cACR,OAAM;AAAA,cACN,cAAcL,EAAO;AAAA,cACrB,gBACG,gBAAAS,EAAAK,GAAA,EAAgB,SAAS,CAAC,CAACd,EAAO,UAAU,SAAAG,GAAkB,WAAW,GAAO,CAAA;AAAA,YAAA;AAAA,UAErF;AAAA,UACA,gBAAAM,EAACM,GAAU,EAAA,QAAQ,GAAI,CAAA;AAAA,UACvB,gBAAAN;AAAA,YAACI;AAAA,YAAA;AAAA,cACC,MAAK;AAAA,cACL,UAAUb,EAAO,kBAAkB,eAAe;AAAA,cAClD,cAAa;AAAA,cACb,OAAM;AAAA,cACN,OAAOD,EAAS;AAAA,cAChB,UAAUS;AAAA,cACV,UAAQ;AAAA,cACR,OAAM;AAAA,cACN,cAAcR,EAAO;AAAA,cACrB,gBACE,gBAAAS;AAAA,gBAACK;AAAA,gBAAA;AAAA,kBACC,SAAS,CAAC,CAACd,EAAO;AAAA,kBAClB,SAASI;AAAA,kBACT,WAAW;AAAA,gBAAA;AAAA,cACb;AAAA,YAAA;AAAA,UAEJ;AAAA,QAAA,GACF;AAAA,QACA,gBAAAK;AAAA,UAACO;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,UAAS;AAAA,YACT,MAAK;AAAA,YACL,OAAM;AAAA,YACN,OAAM;AAAA,YACN,MAAMd;AAAA,YACN,UAAUD;AAAA,UAAA;AAAA,QACZ;AAAA,MAAA,GACF;AAAA,IAAA;AAAA,EAAA;AAGN,GAEegB,IAAAC,EAAKtB,CAAiB;"}
1
+ {"version":3,"file":"reset-password-form.js","sources":["../../../../../src/features/auth/forgot-password/reset-password-form/reset-password-form.tsx"],"sourcesContent":["import type { IResetPasswordFormProps } from './reset-password-form-types';\n\nimport { type ChangeEvent, memo, useCallback } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport TextInput from '../../../ui/inputs/text-input/text-input';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport InputStatusIcon from '../../comps/input-status-icon/input-status-icon';\nimport * as Styled from '../forgot-password-styled';\n\nconst ResetPasswordForm = ({\n onSubmit,\n onChange,\n formData,\n errors,\n isSubmitDisabled,\n isProcessing,\n isValid = false,\n}: IResetPasswordFormProps) => {\n const isConfirmPasswordValid = isValid && formData.password === formData.confirmPassword;\n\n const handlePasswordChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('password', e.target.value);\n },\n [onChange],\n );\n\n const handleConfirmPasswordChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('confirmPassword', e.target.value);\n },\n [onChange],\n );\n\n return (\n <FlexView\n $gutterX={2}\n $gapX={1.5}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background=\"BLACK_2\"\n $height={308}\n >\n <Styled.FormWrapper onSubmit={onSubmit}>\n <FlexView>\n <TextInput\n type={'password'}\n renderAs={errors.password ? 'error-dark' : 'primary-dark'}\n autoComplete=\"new-password\"\n label=\"New Password\"\n value={formData.password}\n onChange={handlePasswordChange}\n width={330}\n autoFocus\n required\n shape=\"borderLess\"\n errorMessage={errors.password}\n siblingElement={\n <InputStatusIcon isError={!!errors.password} isValid={isValid} isLoading={false} />\n }\n />\n <Separator height={36} />\n <TextInput\n type=\"password\"\n renderAs={errors.confirmPassword ? 'error-dark' : 'primary-dark'}\n autoComplete=\"new-password\"\n label=\"Re-enter Password\"\n value={formData.confirmPassword}\n onChange={handleConfirmPasswordChange}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={errors.confirmPassword}\n siblingElement={\n <InputStatusIcon\n isError={!!errors.confirmPassword}\n isValid={isConfirmPasswordValid}\n isLoading={false}\n />\n }\n />\n </FlexView>\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n type=\"submit\"\n label=\"Continue\"\n width={336}\n busy={isProcessing}\n disabled={isSubmitDisabled}\n />\n </Styled.FormWrapper>\n </FlexView>\n );\n};\n\nexport default memo(ResetPasswordForm);\n"],"names":["ResetPasswordForm","onSubmit","onChange","formData","errors","isSubmitDisabled","isProcessing","isValid","isConfirmPasswordValid","handlePasswordChange","useCallback","e","handleConfirmPasswordChange","jsx","FlexView","jsxs","Styled.FormWrapper","TextInput","InputStatusIcon","Separator","Button","resetPasswordForm","memo"],"mappings":";;;;;;;;AAWA,MAAMA,IAAoB,CAAC;AAAA,EACzB,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,SAAAC,IAAU;AACZ,MAA+B;AAC7B,QAAMC,IAAyBD,KAAWJ,EAAS,aAAaA,EAAS,iBAEnEM,IAAuBC;AAAA,IAC3B,CAACC,MAAqC;AAC3B,MAAAT,EAAA,YAAYS,EAAE,OAAO,KAAK;AAAA,IACrC;AAAA,IACA,CAACT,CAAQ;AAAA,EAAA,GAGLU,IAA8BF;AAAA,IAClC,CAACC,MAAqC;AAC3B,MAAAT,EAAA,mBAAmBS,EAAE,OAAO,KAAK;AAAA,IAC5C;AAAA,IACA,CAACT,CAAQ;AAAA,EAAA;AAIT,SAAA,gBAAAW;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,aAAY;AAAA,MACZ,SAAS;AAAA,MAET,UAAC,gBAAAC,EAAAC,GAAA,EAAmB,UAAAf,GAClB,UAAA;AAAA,QAAA,gBAAAc,EAACD,GACC,EAAA,UAAA;AAAA,UAAA,gBAAAD;AAAA,YAACI;AAAA,YAAA;AAAA,cACC,MAAM;AAAA,cACN,UAAUb,EAAO,WAAW,eAAe;AAAA,cAC3C,cAAa;AAAA,cACb,OAAM;AAAA,cACN,OAAOD,EAAS;AAAA,cAChB,UAAUM;AAAA,cACV,OAAO;AAAA,cACP,WAAS;AAAA,cACT,UAAQ;AAAA,cACR,OAAM;AAAA,cACN,cAAcL,EAAO;AAAA,cACrB,gBACG,gBAAAS,EAAAK,GAAA,EAAgB,SAAS,CAAC,CAACd,EAAO,UAAU,SAAAG,GAAkB,WAAW,GAAO,CAAA;AAAA,YAAA;AAAA,UAErF;AAAA,UACA,gBAAAM,EAACM,GAAU,EAAA,QAAQ,GAAI,CAAA;AAAA,UACvB,gBAAAN;AAAA,YAACI;AAAA,YAAA;AAAA,cACC,MAAK;AAAA,cACL,UAAUb,EAAO,kBAAkB,eAAe;AAAA,cAClD,cAAa;AAAA,cACb,OAAM;AAAA,cACN,OAAOD,EAAS;AAAA,cAChB,UAAUS;AAAA,cACV,OAAO;AAAA,cACP,UAAQ;AAAA,cACR,OAAM;AAAA,cACN,cAAcR,EAAO;AAAA,cACrB,gBACE,gBAAAS;AAAA,gBAACK;AAAA,gBAAA;AAAA,kBACC,SAAS,CAAC,CAACd,EAAO;AAAA,kBAClB,SAASI;AAAA,kBACT,WAAW;AAAA,gBAAA;AAAA,cACb;AAAA,YAAA;AAAA,UAEJ;AAAA,QAAA,GACF;AAAA,QACA,gBAAAK;AAAA,UAACO;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,UAAS;AAAA,YACT,MAAK;AAAA,YACL,OAAM;AAAA,YACN,OAAO;AAAA,YACP,MAAMd;AAAA,YACN,UAAUD;AAAA,UAAA;AAAA,QACZ;AAAA,MAAA,GACF;AAAA,IAAA;AAAA,EAAA;AAGN,GAEegB,IAAAC,EAAKtB,CAAiB;"}
@@ -1,17 +1,18 @@
1
1
  import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
2
  import { memo as p, useCallback as f } from "react";
3
- import c from "../../../ui/inputs/text-input/text-input.js";
4
- import g from "../../../ui/layout/flex-view.js";
3
+ import c from "../../../ui/buttons/button/button.js";
4
+ import g from "../../../ui/inputs/text-input/text-input.js";
5
+ import h from "../../../ui/layout/flex-view.js";
5
6
  import b from "../../comps/input-status-icon/input-status-icon.js";
6
- import { FormWrapper as h, ButtonWrapper as I } from "../forgot-password-styled.js";
7
+ import { FormWrapper as I } from "../forgot-password-styled.js";
7
8
  const $ = ({
8
9
  onSubmit: i,
9
10
  onChange: t,
10
11
  value: o,
11
12
  error: r,
12
13
  isSubmitDisabled: s,
13
- isProcessing: a,
14
- isValid: n = !1,
14
+ isProcessing: n,
15
+ isValid: a = !1,
15
16
  label: m
16
17
  }) => {
17
18
  const d = f(
@@ -21,38 +22,39 @@ const $ = ({
21
22
  [t]
22
23
  );
23
24
  return /* @__PURE__ */ e(
24
- g,
25
+ h,
25
26
  {
26
- $gutterX: 1.5,
27
+ $gutterX: 2,
27
28
  $gapX: 1.5,
28
29
  $alignItems: "center",
29
30
  $justifyContent: "center",
30
31
  $background: "BLACK_2",
31
32
  $height: 308,
32
- children: /* @__PURE__ */ l(h, { onSubmit: i, children: [
33
+ children: /* @__PURE__ */ l(I, { onSubmit: i, children: [
33
34
  /* @__PURE__ */ e(
34
- c,
35
+ g,
35
36
  {
36
37
  renderAs: r ? "error-dark" : "primary-dark",
37
38
  autoFocus: !0,
38
39
  label: m,
39
40
  value: o,
40
41
  onChange: d,
42
+ width: 330,
41
43
  required: !0,
42
44
  shape: "borderLess",
43
45
  errorMessage: r,
44
- siblingElement: /* @__PURE__ */ e(b, { isError: !!r, isValid: n, isLoading: !1 })
46
+ siblingElement: /* @__PURE__ */ e(b, { isError: !!r, isValid: a, isLoading: !1 })
45
47
  }
46
48
  ),
47
49
  /* @__PURE__ */ e(
48
- I,
50
+ c,
49
51
  {
50
52
  size: "small",
51
53
  renderAs: "secondary-dark",
52
54
  type: "submit",
53
- width: "100%",
54
55
  label: "Get Verification Code",
55
- busy: a,
56
+ width: 336,
57
+ busy: n,
56
58
  disabled: s
57
59
  }
58
60
  )
@@ -1 +1 @@
1
- {"version":3,"file":"user-identifier-form.js","sources":["../../../../../src/features/auth/forgot-password/user-identifier-form/user-identifier-form.tsx"],"sourcesContent":["import type { ISingleFieldFormProps } from '../forgot-password-types';\n\nimport { memo, useCallback, type ChangeEvent } from 'react';\n\nimport TextInput from '../../../ui/inputs/text-input/text-input';\nimport FlexView from '../../../ui/layout/flex-view';\nimport InputStatusIcon from '../../comps/input-status-icon/input-status-icon';\nimport * as Styled from '../forgot-password-styled';\n\nconst UserIdentifierForm = ({\n onSubmit,\n onChange,\n value,\n error,\n isSubmitDisabled,\n isProcessing,\n isValid = false,\n label,\n}: ISingleFieldFormProps) => {\n const handleInputChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('identifier', e.target.value);\n },\n [onChange],\n );\n\n return (\n <FlexView\n $gutterX={1.5}\n $gapX={1.5}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background=\"BLACK_2\"\n $height={308}\n >\n <Styled.FormWrapper onSubmit={onSubmit}>\n <TextInput\n renderAs={error ? 'error-dark' : 'primary-dark'}\n autoFocus\n label={label}\n value={value}\n onChange={handleInputChange}\n required\n shape=\"borderLess\"\n errorMessage={error}\n siblingElement={<InputStatusIcon isError={!!error} isValid={isValid} isLoading={false} />}\n />\n <Styled.ButtonWrapper\n size=\"small\"\n renderAs=\"secondary-dark\"\n type=\"submit\"\n width=\"100%\"\n label=\"Get Verification Code\"\n busy={isProcessing}\n disabled={isSubmitDisabled}\n />\n </Styled.FormWrapper>\n </FlexView>\n );\n};\n\nexport default memo(UserIdentifierForm);\n"],"names":["UserIdentifierForm","onSubmit","onChange","value","error","isSubmitDisabled","isProcessing","isValid","label","handleInputChange","useCallback","e","jsx","FlexView","jsxs","Styled.FormWrapper","TextInput","InputStatusIcon","Styled.ButtonWrapper","userIdentifierForm","memo"],"mappings":";;;;;;AASA,MAAMA,IAAqB,CAAC;AAAA,EAC1B,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,SAAAC,IAAU;AAAA,EACV,OAAAC;AACF,MAA6B;AAC3B,QAAMC,IAAoBC;AAAA,IACxB,CAACC,MAAqC;AAC3B,MAAAT,EAAA,cAAcS,EAAE,OAAO,KAAK;AAAA,IACvC;AAAA,IACA,CAACT,CAAQ;AAAA,EAAA;AAIT,SAAA,gBAAAU;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,aAAY;AAAA,MACZ,SAAS;AAAA,MAET,UAAC,gBAAAC,EAAAC,GAAA,EAAmB,UAAAd,GAClB,UAAA;AAAA,QAAA,gBAAAW;AAAA,UAACI;AAAA,UAAA;AAAA,YACC,UAAUZ,IAAQ,eAAe;AAAA,YACjC,WAAS;AAAA,YACT,OAAAI;AAAA,YACA,OAAAL;AAAA,YACA,UAAUM;AAAA,YACV,UAAQ;AAAA,YACR,OAAM;AAAA,YACN,cAAcL;AAAA,YACd,kCAAiBa,GAAgB,EAAA,SAAS,CAAC,CAACb,GAAO,SAAAG,GAAkB,WAAW,IAAO;AAAA,UAAA;AAAA,QACzF;AAAA,QACA,gBAAAK;AAAA,UAACM;AAAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,UAAS;AAAA,YACT,MAAK;AAAA,YACL,OAAM;AAAA,YACN,OAAM;AAAA,YACN,MAAMZ;AAAA,YACN,UAAUD;AAAA,UAAA;AAAA,QACZ;AAAA,MAAA,GACF;AAAA,IAAA;AAAA,EAAA;AAGN,GAEec,IAAAC,EAAKpB,CAAkB;"}
1
+ {"version":3,"file":"user-identifier-form.js","sources":["../../../../../src/features/auth/forgot-password/user-identifier-form/user-identifier-form.tsx"],"sourcesContent":["import type { ISingleFieldFormProps } from '../forgot-password-types';\n\nimport { memo, useCallback, type ChangeEvent } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport TextInput from '../../../ui/inputs/text-input/text-input';\nimport FlexView from '../../../ui/layout/flex-view';\nimport InputStatusIcon from '../../comps/input-status-icon/input-status-icon';\nimport * as Styled from '../forgot-password-styled';\n\nconst UserIdentifierForm = ({\n onSubmit,\n onChange,\n value,\n error,\n isSubmitDisabled,\n isProcessing,\n isValid = false,\n label,\n}: ISingleFieldFormProps) => {\n const handleInputChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('identifier', e.target.value);\n },\n [onChange],\n );\n\n return (\n <FlexView\n $gutterX={2}\n $gapX={1.5}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background=\"BLACK_2\"\n $height={308}\n >\n <Styled.FormWrapper onSubmit={onSubmit}>\n <TextInput\n renderAs={error ? 'error-dark' : 'primary-dark'}\n autoFocus\n label={label}\n value={value}\n onChange={handleInputChange}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={error}\n siblingElement={<InputStatusIcon isError={!!error} isValid={isValid} isLoading={false} />}\n />\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n type=\"submit\"\n label=\"Get Verification Code\"\n width={336}\n busy={isProcessing}\n disabled={isSubmitDisabled}\n />\n </Styled.FormWrapper>\n </FlexView>\n );\n};\n\nexport default memo(UserIdentifierForm);\n"],"names":["UserIdentifierForm","onSubmit","onChange","value","error","isSubmitDisabled","isProcessing","isValid","label","handleInputChange","useCallback","e","jsx","FlexView","jsxs","Styled.FormWrapper","TextInput","InputStatusIcon","Button","userIdentifierForm","memo"],"mappings":";;;;;;;AAUA,MAAMA,IAAqB,CAAC;AAAA,EAC1B,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,SAAAC,IAAU;AAAA,EACV,OAAAC;AACF,MAA6B;AAC3B,QAAMC,IAAoBC;AAAA,IACxB,CAACC,MAAqC;AAC3B,MAAAT,EAAA,cAAcS,EAAE,OAAO,KAAK;AAAA,IACvC;AAAA,IACA,CAACT,CAAQ;AAAA,EAAA;AAIT,SAAA,gBAAAU;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,aAAY;AAAA,MACZ,SAAS;AAAA,MAET,UAAC,gBAAAC,EAAAC,GAAA,EAAmB,UAAAd,GAClB,UAAA;AAAA,QAAA,gBAAAW;AAAA,UAACI;AAAA,UAAA;AAAA,YACC,UAAUZ,IAAQ,eAAe;AAAA,YACjC,WAAS;AAAA,YACT,OAAAI;AAAA,YACA,OAAAL;AAAA,YACA,UAAUM;AAAA,YACV,OAAO;AAAA,YACP,UAAQ;AAAA,YACR,OAAM;AAAA,YACN,cAAcL;AAAA,YACd,kCAAiBa,GAAgB,EAAA,SAAS,CAAC,CAACb,GAAO,SAAAG,GAAkB,WAAW,IAAO;AAAA,UAAA;AAAA,QACzF;AAAA,QACA,gBAAAK;AAAA,UAACM;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,UAAS;AAAA,YACT,MAAK;AAAA,YACL,OAAM;AAAA,YACN,OAAO;AAAA,YACP,MAAMZ;AAAA,YACN,UAAUD;AAAA,UAAA;AAAA,QACZ;AAAA,MAAA,GACF;AAAA,IAAA;AAAA,EAAA;AAGN,GAEec,IAAAC,EAAKpB,CAAkB;"}
@@ -1,56 +1,47 @@
1
1
  import { jsxs as a, jsx as i } from "react/jsx-runtime";
2
2
  import { memo as r } from "react";
3
3
  import c from "../../../../assets/line-icons/icons/apple-icon.js";
4
- import p from "../../../../assets/line-icons/icons/google-icon.js";
4
+ import d from "../../../../assets/line-icons/icons/google-icon.js";
5
5
  import s from "../../../ui/buttons/button/button.js";
6
- import { Wrapper as d } from "./social-login-methods-styled.js";
6
+ import p from "../../../ui/layout/flex-view.js";
7
7
  const m = ({
8
8
  onGoogleLogin: n,
9
9
  onAppleLogin: t,
10
10
  loadingProvider: o
11
11
  }) => {
12
12
  const e = o === "google", l = o === "apple";
13
- return /* @__PURE__ */ a(
14
- d,
15
- {
16
- $flexGapX: 1,
17
- $flexDirection: "row",
18
- $justifyContent: "space-between",
19
- $width: "100%",
20
- children: [
21
- /* @__PURE__ */ i(
22
- s,
23
- {
24
- renderAs: "secondary-dark",
25
- Icon: p,
26
- label: "",
27
- analyticsLabel: "google_login",
28
- onClick: n,
29
- size: "small",
30
- width: "100%",
31
- busy: e,
32
- disabled: e
33
- }
34
- ),
35
- /* @__PURE__ */ i(
36
- s,
37
- {
38
- renderAs: "secondary-dark",
39
- size: "small",
40
- Icon: c,
41
- width: "100%",
42
- label: "",
43
- analyticsLabel: "apple_login",
44
- onClick: t,
45
- busy: l,
46
- disabled: l
47
- }
48
- )
49
- ]
50
- }
51
- );
52
- }, L = r(m);
13
+ return /* @__PURE__ */ a(p, { $flexGapX: 1, $flexDirection: "row", $justifyContent: "space-between", $width: 336, children: [
14
+ /* @__PURE__ */ i(
15
+ s,
16
+ {
17
+ renderAs: "secondary-dark",
18
+ Icon: d,
19
+ width: 160,
20
+ label: "",
21
+ analyticsLabel: "google_login",
22
+ onClick: n,
23
+ size: "small",
24
+ busy: e,
25
+ disabled: e
26
+ }
27
+ ),
28
+ /* @__PURE__ */ i(
29
+ s,
30
+ {
31
+ renderAs: "secondary-dark",
32
+ size: "small",
33
+ width: 160,
34
+ Icon: c,
35
+ label: "",
36
+ analyticsLabel: "apple_login",
37
+ onClick: t,
38
+ busy: l,
39
+ disabled: l
40
+ }
41
+ )
42
+ ] });
43
+ }, w = r(m);
53
44
  export {
54
- L as default
45
+ w as default
55
46
  };
56
47
  //# sourceMappingURL=social-login-methods.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"social-login-methods.js","sources":["../../../../../src/features/auth/login/social-login-methods/social-login-methods.tsx"],"sourcesContent":["import type { ISocialLoginMethodsProps } from './social-login-methods-types';\nimport type { FC } from 'react';\n\nimport { memo } from 'react';\n\nimport AppleIcon from '../../../../assets/line-icons/icons/apple-icon';\nimport GoogleIcon from '../../../../assets/line-icons/icons/google-icon';\nimport Button from '../../../ui/buttons/button/button';\nimport * as Styled from './social-login-methods-styled';\n\nconst SocialLoginMethods: FC<ISocialLoginMethodsProps> = ({\n onGoogleLogin,\n onAppleLogin,\n loadingProvider,\n}) => {\n const isLoadingGoogle = loadingProvider === 'google';\n const isLoadingApple = loadingProvider === 'apple';\n\n return (\n <Styled.Wrapper\n $flexGapX={1}\n $flexDirection=\"row\"\n $justifyContent=\"space-between\"\n $width=\"100%\"\n >\n <Button\n renderAs=\"secondary-dark\"\n Icon={GoogleIcon}\n label=\"\"\n analyticsLabel=\"google_login\"\n onClick={onGoogleLogin}\n size=\"small\"\n width=\"100%\"\n busy={isLoadingGoogle}\n disabled={isLoadingGoogle}\n />\n <Button\n renderAs=\"secondary-dark\"\n size=\"small\"\n Icon={AppleIcon}\n width=\"100%\"\n label=\"\"\n analyticsLabel=\"apple_login\"\n onClick={onAppleLogin}\n busy={isLoadingApple}\n disabled={isLoadingApple}\n />\n </Styled.Wrapper>\n );\n};\n\nexport default memo(SocialLoginMethods);\n"],"names":["SocialLoginMethods","onGoogleLogin","onAppleLogin","loadingProvider","isLoadingGoogle","isLoadingApple","jsxs","Styled.Wrapper","jsx","Button","GoogleIcon","AppleIcon","socialLoginMethods","memo"],"mappings":";;;;;;AAUA,MAAMA,IAAmD,CAAC;AAAA,EACxD,eAAAC;AAAA,EACA,cAAAC;AAAA,EACA,iBAAAC;AACF,MAAM;AACJ,QAAMC,IAAkBD,MAAoB,UACtCE,IAAiBF,MAAoB;AAGzC,SAAA,gBAAAG;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,WAAW;AAAA,MACX,gBAAe;AAAA,MACf,iBAAgB;AAAA,MAChB,QAAO;AAAA,MAEP,UAAA;AAAA,QAAA,gBAAAC;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,UAAS;AAAA,YACT,MAAMC;AAAA,YACN,OAAM;AAAA,YACN,gBAAe;AAAA,YACf,SAAST;AAAA,YACT,MAAK;AAAA,YACL,OAAM;AAAA,YACN,MAAMG;AAAA,YACN,UAAUA;AAAA,UAAA;AAAA,QACZ;AAAA,QACA,gBAAAI;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,UAAS;AAAA,YACT,MAAK;AAAA,YACL,MAAME;AAAA,YACN,OAAM;AAAA,YACN,OAAM;AAAA,YACN,gBAAe;AAAA,YACf,SAAST;AAAA,YACT,MAAMG;AAAA,YACN,UAAUA;AAAA,UAAA;AAAA,QACZ;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEeO,IAAAC,EAAKb,CAAkB;"}
1
+ {"version":3,"file":"social-login-methods.js","sources":["../../../../../src/features/auth/login/social-login-methods/social-login-methods.tsx"],"sourcesContent":["import type { ISocialLoginMethodsProps } from './social-login-methods-types';\nimport type { FC } from 'react';\n\nimport { memo } from 'react';\n\nimport AppleIcon from '../../../../assets/line-icons/icons/apple-icon';\nimport GoogleIcon from '../../../../assets/line-icons/icons/google-icon';\nimport Button from '../../../ui/buttons/button/button';\nimport FlexView from '../../../ui/layout/flex-view';\n\nconst SocialLoginMethods: FC<ISocialLoginMethodsProps> = ({\n onGoogleLogin,\n onAppleLogin,\n loadingProvider,\n}) => {\n const isLoadingGoogle = loadingProvider === 'google';\n const isLoadingApple = loadingProvider === 'apple';\n\n return (\n <FlexView $flexGapX={1} $flexDirection=\"row\" $justifyContent=\"space-between\" $width={336}>\n <Button\n renderAs=\"secondary-dark\"\n Icon={GoogleIcon}\n width={160}\n label=\"\"\n analyticsLabel=\"google_login\"\n onClick={onGoogleLogin}\n size=\"small\"\n busy={isLoadingGoogle}\n disabled={isLoadingGoogle}\n />\n <Button\n renderAs=\"secondary-dark\"\n size=\"small\"\n width={160}\n Icon={AppleIcon}\n label=\"\"\n analyticsLabel=\"apple_login\"\n onClick={onAppleLogin}\n busy={isLoadingApple}\n disabled={isLoadingApple}\n />\n </FlexView>\n );\n};\n\nexport default memo(SocialLoginMethods);\n"],"names":["SocialLoginMethods","onGoogleLogin","onAppleLogin","loadingProvider","isLoadingGoogle","isLoadingApple","jsxs","FlexView","jsx","Button","GoogleIcon","AppleIcon","socialLoginMethods","memo"],"mappings":";;;;;;AAUA,MAAMA,IAAmD,CAAC;AAAA,EACxD,eAAAC;AAAA,EACA,cAAAC;AAAA,EACA,iBAAAC;AACF,MAAM;AACJ,QAAMC,IAAkBD,MAAoB,UACtCE,IAAiBF,MAAoB;AAGzC,SAAA,gBAAAG,EAACC,KAAS,WAAW,GAAG,gBAAe,OAAM,iBAAgB,iBAAgB,QAAQ,KACnF,UAAA;AAAA,IAAA,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,UAAS;AAAA,QACT,MAAMC;AAAA,QACN,OAAO;AAAA,QACP,OAAM;AAAA,QACN,gBAAe;AAAA,QACf,SAAST;AAAA,QACT,MAAK;AAAA,QACL,MAAMG;AAAA,QACN,UAAUA;AAAA,MAAA;AAAA,IACZ;AAAA,IACA,gBAAAI;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,UAAS;AAAA,QACT,MAAK;AAAA,QACL,OAAO;AAAA,QACP,MAAME;AAAA,QACN,OAAM;AAAA,QACN,gBAAe;AAAA,QACf,SAAST;AAAA,QACT,MAAMG;AAAA,QACN,UAAUA;AAAA,MAAA;AAAA,IACZ;AAAA,EACF,EAAA,CAAA;AAEJ,GAEeO,IAAAC,EAAKb,CAAkB;"}
@@ -1,13 +1,12 @@
1
1
  import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
2
  import { memo as f, useCallback as l } from "react";
3
3
  import w from "../../../ui/buttons/button/button.js";
4
- import C from "../../../ui/buttons/text-button/text-button.js";
4
+ import $ from "../../../ui/buttons/text-button/text-button.js";
5
5
  import u from "../../../ui/inputs/text-input/text-input.js";
6
6
  import s from "../../../ui/layout/flex-view.js";
7
- import o from "../../../ui/separator/separator.js";
8
- import $ from "../../comps/input-status-icon/input-status-icon.js";
9
- import { FormContainer as y } from "../login-styled.js";
10
- const k = ({
7
+ import a from "../../../ui/separator/separator.js";
8
+ import y from "../../comps/input-status-icon/input-status-icon.js";
9
+ const C = ({
11
10
  username: i,
12
11
  password: m,
13
12
  errors: r,
@@ -17,28 +16,28 @@ const k = ({
17
16
  onForgotPassword: h
18
17
  }) => {
19
18
  const c = d || !i.trim() || !m.trim(), g = l(
20
- (a) => {
21
- t("username", a.target.value);
19
+ (o) => {
20
+ t("username", o.target.value);
22
21
  },
23
22
  [t]
24
23
  ), b = l(
25
- (a) => {
26
- t("password", a.target.value);
24
+ (o) => {
25
+ t("password", o.target.value);
27
26
  },
28
27
  [t]
29
28
  );
30
29
  return /* @__PURE__ */ n(
31
30
  s,
32
31
  {
33
- $gutterX: 1.5,
32
+ $gutterX: 2,
34
33
  $gapX: 1.5,
35
34
  $alignItems: "center",
36
35
  $justifyContent: "center",
37
36
  $background: "BLACK_2",
38
37
  $height: 308,
39
38
  children: [
40
- /* @__PURE__ */ e(o, { heightX: 0.5 }),
41
- /* @__PURE__ */ n(y, { onSubmit: p, children: [
39
+ /* @__PURE__ */ e(a, { heightX: 0.5 }),
40
+ /* @__PURE__ */ n("form", { onSubmit: p, children: [
42
41
  /* @__PURE__ */ n(s, { $alignItems: "center", $justifyContent: "center", children: [
43
42
  /* @__PURE__ */ e(
44
43
  u,
@@ -48,14 +47,14 @@ const k = ({
48
47
  autoComplete: "username",
49
48
  label: "Username",
50
49
  value: i,
51
- width: "100%",
52
50
  onChange: g,
51
+ width: 330,
53
52
  required: !0,
54
53
  shape: "borderLess",
55
54
  errorMessage: r.username
56
55
  }
57
56
  ),
58
- /* @__PURE__ */ e(o, { height: 36 }),
57
+ /* @__PURE__ */ e(a, { height: 36 }),
59
58
  /* @__PURE__ */ e(
60
59
  u,
61
60
  {
@@ -64,18 +63,18 @@ const k = ({
64
63
  autoComplete: "password",
65
64
  label: "Password",
66
65
  value: m,
67
- width: "100%",
68
66
  onChange: b,
67
+ width: 330,
69
68
  required: !0,
70
69
  shape: "borderLess",
71
70
  errorMessage: r.password,
72
- siblingElement: /* @__PURE__ */ e($, { isError: !!r.password })
71
+ siblingElement: /* @__PURE__ */ e(y, { isError: !!r.password })
73
72
  }
74
73
  )
75
74
  ] }),
76
- /* @__PURE__ */ e(o, { heightX: 1.25 }),
77
- /* @__PURE__ */ e(s, { $alignItems: "flex-end", children: /* @__PURE__ */ e(C, { label: "Forgot Password?", onClick: h, color: "WHITE_T_60" }) }),
78
- /* @__PURE__ */ e(o, { heightX: 2 }),
75
+ /* @__PURE__ */ e(a, { heightX: 1.25 }),
76
+ /* @__PURE__ */ e(s, { $alignItems: "flex-end", children: /* @__PURE__ */ e($, { label: "Forgot Password?", onClick: h, color: "WHITE_T_60" }) }),
77
+ /* @__PURE__ */ e(a, { heightX: 2 }),
79
78
  /* @__PURE__ */ e(s, { $justifyContent: "center", children: /* @__PURE__ */ e(
80
79
  w,
81
80
  {
@@ -83,7 +82,7 @@ const k = ({
83
82
  renderAs: "secondary-dark",
84
83
  type: "submit",
85
84
  label: "Log in",
86
- width: "100%",
85
+ width: 336,
87
86
  busy: d,
88
87
  disabled: c
89
88
  }
@@ -92,8 +91,8 @@ const k = ({
92
91
  ]
93
92
  }
94
93
  );
95
- }, B = f(k);
94
+ }, A = f(C);
96
95
  export {
97
- B as default
96
+ A as default
98
97
  };
99
98
  //# sourceMappingURL=username-password-form.js.map