docthub-core-components 3.3.5 → 3.3.7

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.
@@ -0,0 +1,99 @@
1
+ "use client";
2
+ import { jsx as t, jsxs as k } from "react/jsx-runtime";
3
+ import { c as I } from "react-compiler-runtime";
4
+ import { ArrowLeft as U } from "lucide-react";
5
+ import { CircularProgress as H } from "../circular-progress.js";
6
+ import { DoctButton as M } from "../../../ui/button.js";
7
+ import { DoctTypography as L } from "../../../ui/typography.js";
8
+ import { cn as P } from "../../../../lib/utils.js";
9
+ import { OtpInput as W } from "../inputs/otp-input.js";
10
+ import { MOBILE_NUMBER_DIALOG_OTP_RESEND_BUTTON_LABEL as $ } from "./presets.js";
11
+ const V = "flex w-full flex-col overflow-hidden border border-black/[0.12] bg-white";
12
+ function q(B) {
13
+ const e = I(9), {
14
+ title: n,
15
+ onBack: o
16
+ } = B;
17
+ let r;
18
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ t(U, { className: "size-6", "aria-hidden": !0 }), e[0] = r) : r = e[0];
19
+ let l;
20
+ e[1] !== o ? (l = /* @__PURE__ */ t(M, { type: "button", variant: "ghost", onClick: o, className: "flex size-12 shrink-0 items-center justify-center rounded-full p-0 text-black/70", "aria-label": "Go back", icon: r }), e[1] = o, e[2] = l) : l = e[2];
21
+ let i;
22
+ e[3] !== n ? (i = /* @__PURE__ */ t("div", { className: "flex min-h-12 min-w-0 flex-1 items-center justify-center py-[18px]", children: /* @__PURE__ */ t(L, { as: "p", variant: "textLabel1", weight: "semiBold", align: "left", className: "min-w-0 !text-black/80", children: n }) }), e[3] = n, e[4] = i) : i = e[4];
23
+ let a;
24
+ e[5] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ t("div", { className: "size-12 shrink-0", "aria-hidden": !0 }), e[5] = a) : a = e[5];
25
+ let s;
26
+ return e[6] !== l || e[7] !== i ? (s = /* @__PURE__ */ k("div", { className: "flex w-full shrink-0 items-start justify-between overflow-hidden border-b border-black/10", children: [
27
+ l,
28
+ i,
29
+ a
30
+ ] }), e[6] = l, e[7] = i, e[8] = s) : s = e[8], s;
31
+ }
32
+ function ie(B) {
33
+ const e = I(44), {
34
+ headerTitle: n,
35
+ title: o,
36
+ phoneDisplay: r,
37
+ otp: l,
38
+ onOtpChange: i,
39
+ onOtpSubmit: a,
40
+ onBack: s,
41
+ otpError: D,
42
+ canResend: R,
43
+ onResend: E,
44
+ timerText: O,
45
+ submitLabel: S,
46
+ isSubmitting: T,
47
+ className: A,
48
+ surface: F
49
+ } = B, C = R === void 0 ? !1 : R, c = T === void 0 ? !1 : T, j = F === "drawer" ? "h-auto max-w-none rounded-t-[16px]" : "!max-w-[384px] rounded-[16px] shadow-[0_8px_24px_rgba(0,0,0,0.12)]";
50
+ let _;
51
+ e[0] !== A || e[1] !== j ? (_ = P(V, j, A), e[0] = A, e[1] = j, e[2] = _) : _ = e[2];
52
+ const z = _;
53
+ let f;
54
+ e[3] !== n || e[4] !== s ? (f = /* @__PURE__ */ t(q, { title: n, onBack: s }), e[3] = n, e[4] = s, e[5] = f) : f = e[5];
55
+ let m;
56
+ e[6] !== a || e[7] !== l ? (m = (G) => {
57
+ G.preventDefault(), a == null || a(l.join(""));
58
+ }, e[6] = a, e[7] = l, e[8] = m) : m = e[8];
59
+ let d;
60
+ e[9] !== o ? (d = /* @__PURE__ */ t(L, { variant: "h6", weight: "extraBold", align: "left", className: "text-neutral-black", children: o }), e[9] = o, e[10] = d) : d = e[10];
61
+ let u;
62
+ e[11] !== r ? (u = /* @__PURE__ */ t(L, { variant: "title2", align: "left", className: "text-neutral-black", children: r }), e[11] = r, e[12] = u) : u = e[12];
63
+ let h;
64
+ e[13] !== d || e[14] !== u ? (h = /* @__PURE__ */ k("div", { className: "flex w-full flex-col gap-6", children: [
65
+ d,
66
+ u
67
+ ] }), e[13] = d, e[14] = u, e[15] = h) : h = e[15];
68
+ let p;
69
+ e[16] !== i || e[17] !== l || e[18] !== D ? (p = /* @__PURE__ */ t(W, { autoFocus: !0, length: l.length, value: l, onChange: i, error: D, inputClassName: "!h-[44px] !w-[44px]" }), e[16] = i, e[17] = l, e[18] = D, e[19] = p) : p = e[19];
70
+ let x;
71
+ e[20] !== C || e[21] !== E || e[22] !== O ? (x = /* @__PURE__ */ t("div", { className: "flex min-h-7 items-center font-medium", children: C ? /* @__PURE__ */ t(M, { type: "button", variant: "outline", size: "small", onClick: E, className: "!h-[28px]", children: $ }) : /* @__PURE__ */ t(L, { variant: "textLabel3", align: "left", className: "text-neutral-black", children: O }) }), e[20] = C, e[21] = E, e[22] = O, e[23] = x) : x = e[23];
72
+ let b;
73
+ e[24] !== p || e[25] !== x ? (b = /* @__PURE__ */ k("div", { className: "flex w-full flex-col gap-5", children: [
74
+ p,
75
+ x
76
+ ] }), e[24] = p, e[25] = x, e[26] = b) : b = e[26];
77
+ let N;
78
+ e[27] !== b || e[28] !== h ? (N = /* @__PURE__ */ k("div", { className: "flex w-full flex-col items-center gap-7 px-4 py-5", children: [
79
+ h,
80
+ b
81
+ ] }), e[27] = b, e[28] = h, e[29] = N) : N = e[29];
82
+ let g;
83
+ e[30] !== c || e[31] !== S ? (g = c ? /* @__PURE__ */ t(H, { size: 32, strokeWidth: 2 }) : S, e[30] = c, e[31] = S, e[32] = g) : g = e[32];
84
+ let v;
85
+ e[33] !== c || e[34] !== g ? (v = /* @__PURE__ */ t("div", { className: "flex w-full flex-col items-start border-t border-black/10 bg-[#FAFAFA] p-4", children: /* @__PURE__ */ t(M, { type: "submit", variant: "primary", size: "large", fullWidth: !0, disabled: c, children: g }) }), e[33] = c, e[34] = g, e[35] = v) : v = e[35];
86
+ let w;
87
+ e[36] !== N || e[37] !== v || e[38] !== m ? (w = /* @__PURE__ */ k("form", { className: "flex w-full flex-col", noValidate: !0, onSubmit: m, children: [
88
+ N,
89
+ v
90
+ ] }), e[36] = N, e[37] = v, e[38] = m, e[39] = w) : w = e[39];
91
+ let y;
92
+ return e[40] !== z || e[41] !== w || e[42] !== f ? (y = /* @__PURE__ */ k("div", { className: z, children: [
93
+ f,
94
+ w
95
+ ] }), e[40] = z, e[41] = w, e[42] = f, e[43] = y) : y = e[43], y;
96
+ }
97
+ export {
98
+ ie as MobileNumberDialogOtpSurface
99
+ };
@@ -1,23 +1,23 @@
1
1
  "use client";
2
- const L = "+91", o = "Enter number", i = "9825910X0X", e = "+91 9825910X0X", n = "user******@gmail.com", T = "Your mobile number required to complete certain actions as well as it's associated with security of your Docthub account.", A = {
2
+ const t = "+91", o = "Enter number", T = "9825910X0X", A = "+91 9825910X0X", O = "user******@gmail.com", i = "Your mobile number required to complete certain actions as well as it's associated with security of your Docthub account.", N = {
3
3
  action: "To continue..",
4
4
  system: "Add mobile number"
5
- }, N = {
5
+ }, e = {
6
6
  action: "Add your mobile number",
7
7
  system: "Keep your account secure"
8
- }, s = "your accounts will be unified on login";
9
- function t(_) {
10
- return `This phone is already registered with "${_}". Please use different phone number or login with this mobile number`;
8
+ }, I = "your accounts will be unified on login", D = "Login with Mobile", U = "6 digit OTP has been sent to your Mobile", u = "Resend code in: 00:59", r = "Resend Code", B = "Submit";
9
+ function L(_) {
10
+ return `This number is already linked to a Docthub account (${_})`;
11
11
  }
12
- const C = t(n);
13
- function I(_) {
12
+ const c = L(O);
13
+ function s(_) {
14
14
  return _ ? `Login with '${_}'` : "Login";
15
15
  }
16
- function c(_, E) {
17
- const O = E.trim();
18
- return O ? O.startsWith(_) ? O : `${_} ${O}` : _;
16
+ function M(_, n) {
17
+ const E = n.trim();
18
+ return E ? E.startsWith(_) ? E : `${_} ${E}` : _;
19
19
  }
20
- const r = {
20
+ const C = {
21
21
  action: {
22
22
  addNumber: "Continue",
23
23
  existingAccount: "Continue"
@@ -26,41 +26,46 @@ const r = {
26
26
  addNumber: "Save",
27
27
  existingAccount: "Save"
28
28
  }
29
- }, M = "Add later";
30
- function u(_) {
29
+ }, R = "Add later";
30
+ function P(_) {
31
31
  return _ === "existingAccount";
32
32
  }
33
- const U = N, D = L, R = C, P = T, B = n, b = e, l = i, F = o, a = A, m = s, d = r, G = M, g = t, S = I, h = c;
33
+ const b = e, l = t, a = c, F = i, d = O, m = A, G = T, S = o, g = N, H = I, Y = C, h = R, y = L, f = s, x = M;
34
34
  export {
35
- U as ACCOUNT_CONFLICT_PROMPT_BODY_TITLE,
36
- D as ACCOUNT_CONFLICT_PROMPT_DEFAULT_COUNTRY_CODE,
37
- R as ACCOUNT_CONFLICT_PROMPT_DEFAULT_EXISTING_ACCOUNT_ERROR,
38
- P as ACCOUNT_CONFLICT_PROMPT_DEFAULT_INFO_MESSAGE,
39
- B as ACCOUNT_CONFLICT_PROMPT_DEFAULT_MASKED_EMAIL,
40
- b as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_DISPLAY,
41
- l as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_NUMBER,
42
- F as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_PLACEHOLDER,
43
- a as ACCOUNT_CONFLICT_PROMPT_HEADER_TITLE,
44
- m as ACCOUNT_CONFLICT_PROMPT_LOGIN_UNIFY_HINT,
45
- d as ACCOUNT_CONFLICT_PROMPT_PRIMARY_LABEL,
46
- G as ACCOUNT_CONFLICT_PROMPT_SECONDARY_LABEL,
47
- N as MOBILE_NUMBER_DIALOG_BODY_TITLE,
48
- L as MOBILE_NUMBER_DIALOG_DEFAULT_COUNTRY_CODE,
49
- C as MOBILE_NUMBER_DIALOG_DEFAULT_EXISTING_ACCOUNT_ERROR,
50
- T as MOBILE_NUMBER_DIALOG_DEFAULT_INFO_MESSAGE,
51
- n as MOBILE_NUMBER_DIALOG_DEFAULT_MASKED_EMAIL,
52
- e as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_DISPLAY,
53
- i as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_NUMBER,
35
+ b as ACCOUNT_CONFLICT_PROMPT_BODY_TITLE,
36
+ l as ACCOUNT_CONFLICT_PROMPT_DEFAULT_COUNTRY_CODE,
37
+ a as ACCOUNT_CONFLICT_PROMPT_DEFAULT_EXISTING_ACCOUNT_ERROR,
38
+ F as ACCOUNT_CONFLICT_PROMPT_DEFAULT_INFO_MESSAGE,
39
+ d as ACCOUNT_CONFLICT_PROMPT_DEFAULT_MASKED_EMAIL,
40
+ m as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_DISPLAY,
41
+ G as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_NUMBER,
42
+ S as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_PLACEHOLDER,
43
+ g as ACCOUNT_CONFLICT_PROMPT_HEADER_TITLE,
44
+ H as ACCOUNT_CONFLICT_PROMPT_LOGIN_UNIFY_HINT,
45
+ Y as ACCOUNT_CONFLICT_PROMPT_PRIMARY_LABEL,
46
+ h as ACCOUNT_CONFLICT_PROMPT_SECONDARY_LABEL,
47
+ e as MOBILE_NUMBER_DIALOG_BODY_TITLE,
48
+ t as MOBILE_NUMBER_DIALOG_DEFAULT_COUNTRY_CODE,
49
+ c as MOBILE_NUMBER_DIALOG_DEFAULT_EXISTING_ACCOUNT_ERROR,
50
+ i as MOBILE_NUMBER_DIALOG_DEFAULT_INFO_MESSAGE,
51
+ O as MOBILE_NUMBER_DIALOG_DEFAULT_MASKED_EMAIL,
52
+ A as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_DISPLAY,
53
+ T as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_NUMBER,
54
54
  o as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_PLACEHOLDER,
55
- A as MOBILE_NUMBER_DIALOG_HEADER_TITLE,
56
- s as MOBILE_NUMBER_DIALOG_LOGIN_UNIFY_HINT,
57
- r as MOBILE_NUMBER_DIALOG_PRIMARY_LABEL,
58
- M as MOBILE_NUMBER_DIALOG_SECONDARY_LABEL,
59
- g as buildExistingAccountError,
60
- t as buildExistingMobileNumberError,
61
- I as buildLoginWithMobileNumberLabel,
62
- S as buildLoginWithPhoneLabel,
63
- c as buildMobileNumberDisplay,
64
- h as buildPhoneDisplay,
65
- u as isMobileNumberDialogPrimaryDisabled
55
+ N as MOBILE_NUMBER_DIALOG_HEADER_TITLE,
56
+ I as MOBILE_NUMBER_DIALOG_LOGIN_UNIFY_HINT,
57
+ D as MOBILE_NUMBER_DIALOG_OTP_HEADER_TITLE,
58
+ r as MOBILE_NUMBER_DIALOG_OTP_RESEND_BUTTON_LABEL,
59
+ u as MOBILE_NUMBER_DIALOG_OTP_RESEND_LABEL,
60
+ B as MOBILE_NUMBER_DIALOG_OTP_SUBMIT_LABEL,
61
+ U as MOBILE_NUMBER_DIALOG_OTP_TITLE,
62
+ C as MOBILE_NUMBER_DIALOG_PRIMARY_LABEL,
63
+ R as MOBILE_NUMBER_DIALOG_SECONDARY_LABEL,
64
+ y as buildExistingAccountError,
65
+ L as buildExistingMobileNumberError,
66
+ s as buildLoginWithMobileNumberLabel,
67
+ f as buildLoginWithPhoneLabel,
68
+ M as buildMobileNumberDisplay,
69
+ x as buildPhoneDisplay,
70
+ P as isMobileNumberDialogPrimaryDisabled
66
71
  };
package/dist/index.js CHANGED
@@ -2,20 +2,20 @@
2
2
  /* empty css */
3
3
  import { DoctAutocomplete as t } from "./components/overrides/ui/auto-complete.js";
4
4
  import { AutocompleteCheckbox as D } from "./components/overrides/ui/autocomplete-checkbox.js";
5
- import { Chip as c } from "./components/overrides/ui/chips/doct-chip.js";
6
- import { CircularProgress as i } from "./components/overrides/ui/circular-progress.js";
7
- import { AddressFormSection as _ } from "./components/overrides/ui/composed/address-form-section.js";
8
- import { ContactFormSection as C } from "./components/overrides/ui/composed/contact-form-section.js";
9
- import { SearchFilterSection as T } from "./components/overrides/ui/composed/search-filter-section.js";
10
- import { UserRegistrationSection as A } from "./components/overrides/ui/composed/user-registration-section.js";
11
- import { CurrencyInput as L } from "./components/overrides/ui/currencyInput/currency-input.js";
12
- import { DoctAnimationLoader as E } from "./components/overrides/ui/doct-animation-loader.js";
5
+ import { Chip as n } from "./components/overrides/ui/chips/doct-chip.js";
6
+ import { CircularProgress as c } from "./components/overrides/ui/circular-progress.js";
7
+ import { AddressFormSection as s } from "./components/overrides/ui/composed/address-form-section.js";
8
+ import { ContactFormSection as O } from "./components/overrides/ui/composed/contact-form-section.js";
9
+ import { SearchFilterSection as C } from "./components/overrides/ui/composed/search-filter-section.js";
10
+ import { UserRegistrationSection as l } from "./components/overrides/ui/composed/user-registration-section.js";
11
+ import { CurrencyInput as A } from "./components/overrides/ui/currencyInput/currency-input.js";
12
+ import { DoctAnimationLoader as N } from "./components/overrides/ui/doct-animation-loader.js";
13
13
  import { ExpandableCard as u } from "./components/overrides/ui/expandable-card.js";
14
14
  import { LabeledInput as P } from "./components/overrides/ui/inputs/labeled-input.js";
15
15
  import { OtpInput as g } from "./components/overrides/ui/inputs/otp-input.js";
16
- import { PasswordInput as x } from "./components/overrides/ui/inputs/password-input.js";
17
- import { DoctPhoneInput as S } from "./components/overrides/ui/inputs/phone-input.js";
18
- import { DatePickerField as B } from "./components/overrides/ui/pickers/date-picker-field.js";
16
+ import { PasswordInput as B } from "./components/overrides/ui/inputs/password-input.js";
17
+ import { DoctPhoneInput as U } from "./components/overrides/ui/inputs/phone-input.js";
18
+ import { DatePickerField as f } from "./components/overrides/ui/pickers/date-picker-field.js";
19
19
  import { DateRangePickerField as F } from "./components/overrides/ui/pickers/date-range-picker-field.js";
20
20
  import { SelectField as v } from "./components/overrides/ui/pickers/select-field.js";
21
21
  import { AutoComplete as H } from "./components/overrides/ui/search/auto-complete.js";
@@ -24,21 +24,21 @@ import { ComponentVariant as y, ComponentSection as W } from "./components/overr
24
24
  import { Alert as Q, AlertDescription as Z, AlertTitle as X } from "./components/ui/alert.js";
25
25
  import { Avatar as j, AvatarFallback as q, AvatarImage as J } from "./components/ui/avatar.js";
26
26
  import { Badge as oo, badgeVariants as ro } from "./components/ui/badge.js";
27
- import { Breadcrumb as to, BreadcrumbEllipsis as ao, BreadcrumbItem as Do, BreadcrumbLink as no, BreadcrumbList as co, BreadcrumbPage as po, BreadcrumbSeparator as io } from "./components/ui/breadcrumb.js";
28
- import { DoctButton as _o } from "./components/ui/button.js";
29
- import { CalendarDayButton as Co, Calendar as lo } from "./components/ui/calendar.js";
27
+ import { Breadcrumb as to, BreadcrumbEllipsis as ao, BreadcrumbItem as Do, BreadcrumbLink as _o, BreadcrumbList as no, BreadcrumbPage as po, BreadcrumbSeparator as co } from "./components/ui/breadcrumb.js";
28
+ import { DoctButton as so } from "./components/ui/button.js";
29
+ import { CalendarDayButton as Oo, Calendar as To } from "./components/ui/calendar.js";
30
30
  import { Checkbox as Io } from "./components/ui/checkbox.js";
31
- import { Collapsible as Oo, CollapsibleContent as Lo, CollapsibleTrigger as Eo } from "./components/ui/collapsible.js";
32
- import { Command as uo, CommandDialog as Mo, CommandEmpty as Po, CommandGroup as Ro, CommandInput as go, CommandItem as bo, CommandList as xo, CommandSeparator as Uo, CommandShortcut as So } from "./components/ui/command.js";
33
- import { CookieDialog as Bo } from "./components/ui/cookie-dialog.js";
31
+ import { Collapsible as Lo, CollapsibleContent as Ao, CollapsibleTrigger as Eo } from "./components/ui/collapsible.js";
32
+ import { Command as uo, CommandDialog as Mo, CommandEmpty as Po, CommandGroup as Ro, CommandInput as go, CommandItem as bo, CommandList as Bo, CommandSeparator as xo, CommandShortcut as Uo } from "./components/ui/command.js";
33
+ import { CookieDialog as fo } from "./components/ui/cookie-dialog.js";
34
34
  import { Dialog as Fo, DialogClose as wo, DialogContent as vo, DialogDescription as ho, DialogFooter as Ho, DialogHeader as ko, DialogScrollableBody as Yo, DialogTitle as Vo, DialogTrigger as yo } from "./components/ui/dialog.js";
35
35
  import { Drawer as Ko, DrawerClose as Qo, DrawerContent as Zo, DrawerDescription as Xo, DrawerFooter as zo, DrawerHeader as jo, DrawerTitle as qo, DrawerTrigger as Jo } from "./components/ui/drawer.js";
36
- import { DropdownMenu as or, DropdownMenuCheckboxItem as rr, DropdownMenuContent as er, DropdownMenuGroup as tr, DropdownMenuItem as ar, DropdownMenuLabel as Dr, DropdownMenuRadioGroup as nr, DropdownMenuRadioItem as cr, DropdownMenuSeparator as pr, DropdownMenuShortcut as ir, DropdownMenuSub as sr, DropdownMenuSubContent as _r, DropdownMenuSubTrigger as mr, DropdownMenuTrigger as Cr } from "./components/ui/dropdown-menu.js";
37
- import { Input as Tr } from "./components/ui/input.js";
38
- import { Label as Ar } from "./components/ui/label.js";
39
- import { Popover as Lr, PopoverArrow as dr, PopoverBackdrop as Er, PopoverClose as Nr, PopoverContent as ur, PopoverDescription as Mr, PopoverHeader as Pr, PopoverTitle as Rr, PopoverTrigger as gr, PopoverViewport as br } from "./components/ui/popover.js";
40
- import { Progress as Ur } from "./components/ui/progress.js";
41
- import { RadioGroup as fr, RadioGroupItem as Br } from "./components/ui/radio-group.js";
36
+ import { DropdownMenu as or, DropdownMenuCheckboxItem as rr, DropdownMenuContent as er, DropdownMenuGroup as tr, DropdownMenuItem as ar, DropdownMenuLabel as Dr, DropdownMenuRadioGroup as _r, DropdownMenuRadioItem as nr, DropdownMenuSeparator as pr, DropdownMenuShortcut as cr, DropdownMenuSub as ir, DropdownMenuSubContent as sr, DropdownMenuSubTrigger as mr, DropdownMenuTrigger as Or } from "./components/ui/dropdown-menu.js";
37
+ import { Input as Cr } from "./components/ui/input.js";
38
+ import { Label as lr } from "./components/ui/label.js";
39
+ import { Popover as Ar, PopoverArrow as Er, PopoverBackdrop as Nr, PopoverClose as dr, PopoverContent as ur, PopoverDescription as Mr, PopoverHeader as Pr, PopoverTitle as Rr, PopoverTrigger as gr, PopoverViewport as br } from "./components/ui/popover.js";
40
+ import { Progress as xr } from "./components/ui/progress.js";
41
+ import { RadioGroup as Sr, RadioGroupItem as fr } from "./components/ui/radio-group.js";
42
42
  import { Skeleton as Fr } from "./components/ui/skeleton.js";
43
43
  import { Tabs as vr, TabsContent as hr, TabsList as Hr, TabsTrigger as kr } from "./components/ui/tabs.js";
44
44
  import { Textarea as Vr } from "./components/ui/textarea.js";
@@ -47,42 +47,43 @@ import { toast as Qr, Toaster as Zr } from "./components/ui/toast.js";
47
47
  import { Tooltip as zr, TooltipContent as jr, TooltipProvider as qr, TooltipTrigger as Jr } from "./components/ui/tooltip.js";
48
48
  import { DoctTypography as oe } from "./components/ui/typography.js";
49
49
  import { useAutocompleteCheckbox as ee } from "./hooks/useAutocompleteCheckbox.js";
50
- import { ACCOUNT_CONFLICT_PROMPT_BODY_TITLE as ae, ACCOUNT_CONFLICT_PROMPT_DEFAULT_COUNTRY_CODE as De, ACCOUNT_CONFLICT_PROMPT_DEFAULT_EXISTING_ACCOUNT_ERROR as ne, ACCOUNT_CONFLICT_PROMPT_DEFAULT_INFO_MESSAGE as ce, ACCOUNT_CONFLICT_PROMPT_DEFAULT_MASKED_EMAIL as pe, ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_DISPLAY as ie, ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_NUMBER as se, ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_PLACEHOLDER as _e, ACCOUNT_CONFLICT_PROMPT_HEADER_TITLE as me, ACCOUNT_CONFLICT_PROMPT_LOGIN_UNIFY_HINT as Ce, ACCOUNT_CONFLICT_PROMPT_PRIMARY_LABEL as le, ACCOUNT_CONFLICT_PROMPT_SECONDARY_LABEL as Te, MOBILE_NUMBER_DIALOG_BODY_TITLE as Ie, MOBILE_NUMBER_DIALOG_DEFAULT_COUNTRY_CODE as Ae, MOBILE_NUMBER_DIALOG_DEFAULT_EXISTING_ACCOUNT_ERROR as Oe, MOBILE_NUMBER_DIALOG_DEFAULT_INFO_MESSAGE as Le, MOBILE_NUMBER_DIALOG_DEFAULT_MASKED_EMAIL as de, MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_DISPLAY as Ee, MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_NUMBER as Ne, MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_PLACEHOLDER as ue, MOBILE_NUMBER_DIALOG_HEADER_TITLE as Me, MOBILE_NUMBER_DIALOG_LOGIN_UNIFY_HINT as Pe, MOBILE_NUMBER_DIALOG_PRIMARY_LABEL as Re, MOBILE_NUMBER_DIALOG_SECONDARY_LABEL as ge, buildExistingAccountError as be, buildExistingMobileNumberError as xe, buildLoginWithMobileNumberLabel as Ue, buildLoginWithPhoneLabel as Se, buildMobileNumberDisplay as fe, buildPhoneDisplay as Be, isMobileNumberDialogPrimaryDisabled as Ge } from "./components/overrides/ui/mobile-number-dialog/presets.js";
51
- import { ACCOUNT_CONFLICT_PROMPT_DRAWER_BACKDROP_CLASS as we, MOBILE_NUMBER_DIALOG_DRAWER_BACKDROP_CLASS as ve } from "./components/overrides/ui/mobile-number-dialog/types.js";
52
- import { DoctAccountConflictPrompt as He, DoctMobileNumberDialog as ke, MobileNumberDialog as Ye } from "./components/overrides/ui/mobile-number-dialog/mobile-number-dialog.js";
53
- import { DoctFooter as ye } from "./components/overrides/ui/footer/doct-footer.js";
54
- import { DoctLoginDialog as Ke } from "./components/overrides/ui/login-dialog/login-dialog.js";
55
- import { DoctNavigationMenu as Ze } from "./components/overrides/ui/navigation-menu/doct-navigation-menu.js";
56
- import { INDIVIDUAL_NAV_ROUTES as ze, INDIVIDUAL_NAV_ROUTES_PROD as je, INDIVIDUAL_NAV_ROUTES_QA as qe } from "./components/overrides/ui/navigation-menu/individual-nav-routes.js";
57
- import { IndividualNavigationMenu as $e } from "./components/overrides/ui/navigation-menu/individual-navigation-menu.js";
58
- import { LOGIN_DIALOG_ASSETS as rt, LOGIN_DIALOG_CONTINUE_ANOTHER_WAY_LABEL as et, LOGIN_DIALOG_CONTINUE_PHONE_EMAIL_LABEL as tt, LOGIN_DIALOG_DEFAULT_COPY as at, LOGIN_DIALOG_RETURNING_HINT as Dt, LOGIN_DIALOG_RETURNING_PRIMARY_LABEL as nt } from "./components/overrides/ui/login-dialog/presets.js";
59
- import { LOGIN_DIALOG_IMAGE_HEIGHT as pt, LOGIN_DIALOG_IMAGE_WIDTH as it, LOGIN_DRAWER_BACKDROP_CLASS as st } from "./components/overrides/ui/login-dialog/types.js";
60
- import { ORGANIZATION_NAV_ROUTES as mt, ORGANIZATION_NAV_ROUTES_PROD as Ct, ORGANIZATION_NAV_ROUTES_QA as lt } from "./components/overrides/ui/navigation-menu/organization-nav-routes.js";
61
- import { OrganizationNavigationMenu as It } from "./components/overrides/ui/navigation-menu/organization-navigation-menu.js";
62
- import { isPossiblePhoneNumber as Ot, isValidPhoneNumber as Lt } from "react-phone-number-input";
63
- import { isProdNav as Et, isQaNav as Nt, resolveNavEnv as ut } from "./components/overrides/ui/navigation-menu/nav-env.js";
50
+ import { ACCOUNT_CONFLICT_PROMPT_BODY_TITLE as ae, ACCOUNT_CONFLICT_PROMPT_DEFAULT_COUNTRY_CODE as De, ACCOUNT_CONFLICT_PROMPT_DEFAULT_EXISTING_ACCOUNT_ERROR as _e, ACCOUNT_CONFLICT_PROMPT_DEFAULT_INFO_MESSAGE as ne, ACCOUNT_CONFLICT_PROMPT_DEFAULT_MASKED_EMAIL as pe, ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_DISPLAY as ce, ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_NUMBER as ie, ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_PLACEHOLDER as se, ACCOUNT_CONFLICT_PROMPT_HEADER_TITLE as me, ACCOUNT_CONFLICT_PROMPT_LOGIN_UNIFY_HINT as Oe, ACCOUNT_CONFLICT_PROMPT_PRIMARY_LABEL as Te, ACCOUNT_CONFLICT_PROMPT_SECONDARY_LABEL as Ce, MOBILE_NUMBER_DIALOG_BODY_TITLE as Ie, MOBILE_NUMBER_DIALOG_DEFAULT_COUNTRY_CODE as le, MOBILE_NUMBER_DIALOG_DEFAULT_EXISTING_ACCOUNT_ERROR as Le, MOBILE_NUMBER_DIALOG_DEFAULT_INFO_MESSAGE as Ae, MOBILE_NUMBER_DIALOG_DEFAULT_MASKED_EMAIL as Ee, MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_DISPLAY as Ne, MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_NUMBER as de, MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_PLACEHOLDER as ue, MOBILE_NUMBER_DIALOG_HEADER_TITLE as Me, MOBILE_NUMBER_DIALOG_LOGIN_UNIFY_HINT as Pe, MOBILE_NUMBER_DIALOG_OTP_HEADER_TITLE as Re, MOBILE_NUMBER_DIALOG_OTP_RESEND_BUTTON_LABEL as ge, MOBILE_NUMBER_DIALOG_OTP_RESEND_LABEL as be, MOBILE_NUMBER_DIALOG_OTP_SUBMIT_LABEL as Be, MOBILE_NUMBER_DIALOG_OTP_TITLE as xe, MOBILE_NUMBER_DIALOG_PRIMARY_LABEL as Ue, MOBILE_NUMBER_DIALOG_SECONDARY_LABEL as Se, buildExistingAccountError as fe, buildExistingMobileNumberError as Ge, buildLoginWithMobileNumberLabel as Fe, buildLoginWithPhoneLabel as we, buildMobileNumberDisplay as ve, buildPhoneDisplay as he, isMobileNumberDialogPrimaryDisabled as He } from "./components/overrides/ui/mobile-number-dialog/presets.js";
51
+ import { ACCOUNT_CONFLICT_PROMPT_DRAWER_BACKDROP_CLASS as Ye, MOBILE_NUMBER_DIALOG_DRAWER_BACKDROP_CLASS as Ve } from "./components/overrides/ui/mobile-number-dialog/types.js";
52
+ import { DoctAccountConflictPrompt as We, DoctMobileNumberDialog as Ke, MobileNumberDialog as Qe } from "./components/overrides/ui/mobile-number-dialog/mobile-number-dialog.js";
53
+ import { DoctFooter as Xe } from "./components/overrides/ui/footer/doct-footer.js";
54
+ import { DoctLoginDialog as je } from "./components/overrides/ui/login-dialog/login-dialog.js";
55
+ import { DoctNavigationMenu as Je } from "./components/overrides/ui/navigation-menu/doct-navigation-menu.js";
56
+ import { INDIVIDUAL_NAV_ROUTES as ot, INDIVIDUAL_NAV_ROUTES_PROD as rt, INDIVIDUAL_NAV_ROUTES_QA as et } from "./components/overrides/ui/navigation-menu/individual-nav-routes.js";
57
+ import { IndividualNavigationMenu as at } from "./components/overrides/ui/navigation-menu/individual-navigation-menu.js";
58
+ import { LOGIN_DIALOG_ASSETS as _t, LOGIN_DIALOG_CONTINUE_ANOTHER_WAY_LABEL as nt, LOGIN_DIALOG_CONTINUE_PHONE_EMAIL_LABEL as pt, LOGIN_DIALOG_DEFAULT_COPY as ct, LOGIN_DIALOG_RETURNING_HINT as it, LOGIN_DIALOG_RETURNING_PRIMARY_LABEL as st } from "./components/overrides/ui/login-dialog/presets.js";
59
+ import { LOGIN_DIALOG_IMAGE_HEIGHT as Ot, LOGIN_DIALOG_IMAGE_WIDTH as Tt, LOGIN_DRAWER_BACKDROP_CLASS as Ct } from "./components/overrides/ui/login-dialog/types.js";
60
+ import { MobileNumberDialogOtpSurface as lt } from "./components/overrides/ui/mobile-number-dialog/otp-dialog.js";
61
+ import { ORGANIZATION_NAV_ROUTES as At, ORGANIZATION_NAV_ROUTES_PROD as Et, ORGANIZATION_NAV_ROUTES_QA as Nt } from "./components/overrides/ui/navigation-menu/organization-nav-routes.js";
62
+ import { OrganizationNavigationMenu as ut } from "./components/overrides/ui/navigation-menu/organization-navigation-menu.js";
63
+ import { isPossiblePhoneNumber as Pt, isValidPhoneNumber as Rt } from "react-phone-number-input";
64
+ import { isProdNav as bt, isQaNav as Bt, resolveNavEnv as xt } from "./components/overrides/ui/navigation-menu/nav-env.js";
64
65
  export {
65
66
  ae as ACCOUNT_CONFLICT_PROMPT_BODY_TITLE,
66
67
  De as ACCOUNT_CONFLICT_PROMPT_DEFAULT_COUNTRY_CODE,
67
- ne as ACCOUNT_CONFLICT_PROMPT_DEFAULT_EXISTING_ACCOUNT_ERROR,
68
- ce as ACCOUNT_CONFLICT_PROMPT_DEFAULT_INFO_MESSAGE,
68
+ _e as ACCOUNT_CONFLICT_PROMPT_DEFAULT_EXISTING_ACCOUNT_ERROR,
69
+ ne as ACCOUNT_CONFLICT_PROMPT_DEFAULT_INFO_MESSAGE,
69
70
  pe as ACCOUNT_CONFLICT_PROMPT_DEFAULT_MASKED_EMAIL,
70
- ie as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_DISPLAY,
71
- se as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_NUMBER,
72
- _e as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_PLACEHOLDER,
73
- we as ACCOUNT_CONFLICT_PROMPT_DRAWER_BACKDROP_CLASS,
71
+ ce as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_DISPLAY,
72
+ ie as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_NUMBER,
73
+ se as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_PLACEHOLDER,
74
+ Ye as ACCOUNT_CONFLICT_PROMPT_DRAWER_BACKDROP_CLASS,
74
75
  me as ACCOUNT_CONFLICT_PROMPT_HEADER_TITLE,
75
- Ce as ACCOUNT_CONFLICT_PROMPT_LOGIN_UNIFY_HINT,
76
- le as ACCOUNT_CONFLICT_PROMPT_PRIMARY_LABEL,
77
- Te as ACCOUNT_CONFLICT_PROMPT_SECONDARY_LABEL,
78
- Co as CalendarDayButton,
76
+ Oe as ACCOUNT_CONFLICT_PROMPT_LOGIN_UNIFY_HINT,
77
+ Te as ACCOUNT_CONFLICT_PROMPT_PRIMARY_LABEL,
78
+ Ce as ACCOUNT_CONFLICT_PROMPT_SECONDARY_LABEL,
79
+ Oo as CalendarDayButton,
79
80
  y as ComponentVariant,
80
- He as DoctAccountConflictPrompt,
81
- _ as DoctAddressFormSection,
81
+ We as DoctAccountConflictPrompt,
82
+ s as DoctAddressFormSection,
82
83
  Q as DoctAlert,
83
84
  Z as DoctAlertDescription,
84
85
  X as DoctAlertTitle,
85
- E as DoctAnimationLoader,
86
+ N as DoctAnimationLoader,
86
87
  H as DoctAutoComplete,
87
88
  t as DoctAutocomplete,
88
89
  D as DoctAutocompleteCheckbox,
@@ -93,17 +94,17 @@ export {
93
94
  to as DoctBreadcrumb,
94
95
  ao as DoctBreadcrumbEllipsis,
95
96
  Do as DoctBreadcrumbItem,
96
- no as DoctBreadcrumbLink,
97
- co as DoctBreadcrumbList,
97
+ _o as DoctBreadcrumbLink,
98
+ no as DoctBreadcrumbList,
98
99
  po as DoctBreadcrumbPage,
99
- io as DoctBreadcrumbSeparator,
100
- _o as DoctButton,
101
- lo as DoctCalendar,
100
+ co as DoctBreadcrumbSeparator,
101
+ so as DoctButton,
102
+ To as DoctCalendar,
102
103
  Io as DoctCheckbox,
103
- c as DoctChip,
104
- i as DoctCircularProgress,
105
- Oo as DoctCollapsible,
106
- Lo as DoctCollapsibleContent,
104
+ n as DoctChip,
105
+ c as DoctCircularProgress,
106
+ Lo as DoctCollapsible,
107
+ Ao as DoctCollapsibleContent,
107
108
  Eo as DoctCollapsibleTrigger,
108
109
  uo as DoctCommand,
109
110
  Mo as DoctCommandDialog,
@@ -111,14 +112,14 @@ export {
111
112
  Ro as DoctCommandGroup,
112
113
  go as DoctCommandInput,
113
114
  bo as DoctCommandItem,
114
- xo as DoctCommandList,
115
- Uo as DoctCommandSeparator,
116
- So as DoctCommandShortcut,
115
+ Bo as DoctCommandList,
116
+ xo as DoctCommandSeparator,
117
+ Uo as DoctCommandShortcut,
117
118
  W as DoctComponentSection,
118
- C as DoctContactFormSection,
119
- Bo as DoctCookieDialog,
120
- L as DoctCurrencyInput,
121
- B as DoctDatePickerField,
119
+ O as DoctContactFormSection,
120
+ fo as DoctCookieDialog,
121
+ A as DoctCurrencyInput,
122
+ f as DoctDatePickerField,
122
123
  F as DoctDateRangePickerField,
123
124
  Fo as DoctDialog,
124
125
  wo as DoctDialogClose,
@@ -143,39 +144,39 @@ export {
143
144
  tr as DoctDropdownMenuGroup,
144
145
  ar as DoctDropdownMenuItem,
145
146
  Dr as DoctDropdownMenuLabel,
146
- nr as DoctDropdownMenuRadioGroup,
147
- cr as DoctDropdownMenuRadioItem,
147
+ _r as DoctDropdownMenuRadioGroup,
148
+ nr as DoctDropdownMenuRadioItem,
148
149
  pr as DoctDropdownMenuSeparator,
149
- ir as DoctDropdownMenuShortcut,
150
- sr as DoctDropdownMenuSub,
151
- _r as DoctDropdownMenuSubContent,
150
+ cr as DoctDropdownMenuShortcut,
151
+ ir as DoctDropdownMenuSub,
152
+ sr as DoctDropdownMenuSubContent,
152
153
  mr as DoctDropdownMenuSubTrigger,
153
- Cr as DoctDropdownMenuTrigger,
154
+ Or as DoctDropdownMenuTrigger,
154
155
  u as DoctExpandableCard,
155
- ye as DoctFooter,
156
- Tr as DoctInput,
157
- Ar as DoctLabel,
156
+ Xe as DoctFooter,
157
+ Cr as DoctInput,
158
+ lr as DoctLabel,
158
159
  P as DoctLabeledInput,
159
- Ke as DoctLoginDialog,
160
- ke as DoctMobileNumberDialog,
161
- Ze as DoctNavigationMenu,
160
+ je as DoctLoginDialog,
161
+ Ke as DoctMobileNumberDialog,
162
+ Je as DoctNavigationMenu,
162
163
  g as DoctOtpInput,
163
- x as DoctPasswordInput,
164
- S as DoctPhoneInput,
165
- Lr as DoctPopover,
166
- dr as DoctPopoverArrow,
167
- Er as DoctPopoverBackdrop,
168
- Nr as DoctPopoverClose,
164
+ B as DoctPasswordInput,
165
+ U as DoctPhoneInput,
166
+ Ar as DoctPopover,
167
+ Er as DoctPopoverArrow,
168
+ Nr as DoctPopoverBackdrop,
169
+ dr as DoctPopoverClose,
169
170
  ur as DoctPopoverContent,
170
171
  Mr as DoctPopoverDescription,
171
172
  Pr as DoctPopoverHeader,
172
173
  Rr as DoctPopoverTitle,
173
174
  gr as DoctPopoverTrigger,
174
175
  br as DoctPopoverViewport,
175
- Ur as DoctProgress,
176
- fr as DoctRadioGroup,
177
- Br as DoctRadioGroupItem,
178
- T as DoctSearchFilterSection,
176
+ xr as DoctProgress,
177
+ Sr as DoctRadioGroup,
178
+ fr as DoctRadioGroupItem,
179
+ C as DoctSearchFilterSection,
179
180
  Y as DoctSearchInput,
180
181
  v as DoctSelectField,
181
182
  Fr as DoctSkeleton,
@@ -192,50 +193,56 @@ export {
192
193
  qr as DoctTooltipProvider,
193
194
  Jr as DoctTooltipTrigger,
194
195
  oe as DoctTypography,
195
- A as DoctUserRegistrationSection,
196
- ze as INDIVIDUAL_NAV_ROUTES,
197
- je as INDIVIDUAL_NAV_ROUTES_PROD,
198
- qe as INDIVIDUAL_NAV_ROUTES_QA,
199
- $e as IndividualNavigationMenu,
200
- rt as LOGIN_DIALOG_ASSETS,
201
- et as LOGIN_DIALOG_CONTINUE_ANOTHER_WAY_LABEL,
202
- tt as LOGIN_DIALOG_CONTINUE_PHONE_EMAIL_LABEL,
203
- at as LOGIN_DIALOG_DEFAULT_COPY,
204
- pt as LOGIN_DIALOG_IMAGE_HEIGHT,
205
- it as LOGIN_DIALOG_IMAGE_WIDTH,
206
- Dt as LOGIN_DIALOG_RETURNING_HINT,
207
- nt as LOGIN_DIALOG_RETURNING_PRIMARY_LABEL,
208
- st as LOGIN_DRAWER_BACKDROP_CLASS,
196
+ l as DoctUserRegistrationSection,
197
+ ot as INDIVIDUAL_NAV_ROUTES,
198
+ rt as INDIVIDUAL_NAV_ROUTES_PROD,
199
+ et as INDIVIDUAL_NAV_ROUTES_QA,
200
+ at as IndividualNavigationMenu,
201
+ _t as LOGIN_DIALOG_ASSETS,
202
+ nt as LOGIN_DIALOG_CONTINUE_ANOTHER_WAY_LABEL,
203
+ pt as LOGIN_DIALOG_CONTINUE_PHONE_EMAIL_LABEL,
204
+ ct as LOGIN_DIALOG_DEFAULT_COPY,
205
+ Ot as LOGIN_DIALOG_IMAGE_HEIGHT,
206
+ Tt as LOGIN_DIALOG_IMAGE_WIDTH,
207
+ it as LOGIN_DIALOG_RETURNING_HINT,
208
+ st as LOGIN_DIALOG_RETURNING_PRIMARY_LABEL,
209
+ Ct as LOGIN_DRAWER_BACKDROP_CLASS,
209
210
  Ie as MOBILE_NUMBER_DIALOG_BODY_TITLE,
210
- Ae as MOBILE_NUMBER_DIALOG_DEFAULT_COUNTRY_CODE,
211
- Oe as MOBILE_NUMBER_DIALOG_DEFAULT_EXISTING_ACCOUNT_ERROR,
212
- Le as MOBILE_NUMBER_DIALOG_DEFAULT_INFO_MESSAGE,
213
- de as MOBILE_NUMBER_DIALOG_DEFAULT_MASKED_EMAIL,
214
- Ee as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_DISPLAY,
215
- Ne as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_NUMBER,
211
+ le as MOBILE_NUMBER_DIALOG_DEFAULT_COUNTRY_CODE,
212
+ Le as MOBILE_NUMBER_DIALOG_DEFAULT_EXISTING_ACCOUNT_ERROR,
213
+ Ae as MOBILE_NUMBER_DIALOG_DEFAULT_INFO_MESSAGE,
214
+ Ee as MOBILE_NUMBER_DIALOG_DEFAULT_MASKED_EMAIL,
215
+ Ne as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_DISPLAY,
216
+ de as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_NUMBER,
216
217
  ue as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_PLACEHOLDER,
217
- ve as MOBILE_NUMBER_DIALOG_DRAWER_BACKDROP_CLASS,
218
+ Ve as MOBILE_NUMBER_DIALOG_DRAWER_BACKDROP_CLASS,
218
219
  Me as MOBILE_NUMBER_DIALOG_HEADER_TITLE,
219
220
  Pe as MOBILE_NUMBER_DIALOG_LOGIN_UNIFY_HINT,
220
- Re as MOBILE_NUMBER_DIALOG_PRIMARY_LABEL,
221
- ge as MOBILE_NUMBER_DIALOG_SECONDARY_LABEL,
222
- Ye as MobileNumberDialog,
223
- mt as ORGANIZATION_NAV_ROUTES,
224
- Ct as ORGANIZATION_NAV_ROUTES_PROD,
225
- lt as ORGANIZATION_NAV_ROUTES_QA,
226
- It as OrganizationNavigationMenu,
221
+ Re as MOBILE_NUMBER_DIALOG_OTP_HEADER_TITLE,
222
+ ge as MOBILE_NUMBER_DIALOG_OTP_RESEND_BUTTON_LABEL,
223
+ be as MOBILE_NUMBER_DIALOG_OTP_RESEND_LABEL,
224
+ Be as MOBILE_NUMBER_DIALOG_OTP_SUBMIT_LABEL,
225
+ xe as MOBILE_NUMBER_DIALOG_OTP_TITLE,
226
+ Ue as MOBILE_NUMBER_DIALOG_PRIMARY_LABEL,
227
+ Se as MOBILE_NUMBER_DIALOG_SECONDARY_LABEL,
228
+ Qe as MobileNumberDialog,
229
+ lt as MobileNumberDialogOtpSurface,
230
+ At as ORGANIZATION_NAV_ROUTES,
231
+ Et as ORGANIZATION_NAV_ROUTES_PROD,
232
+ Nt as ORGANIZATION_NAV_ROUTES_QA,
233
+ ut as OrganizationNavigationMenu,
227
234
  ro as badgeVariants,
228
- be as buildExistingAccountError,
229
- xe as buildExistingMobileNumberError,
230
- Ue as buildLoginWithMobileNumberLabel,
231
- Se as buildLoginWithPhoneLabel,
232
- fe as buildMobileNumberDisplay,
233
- Be as buildPhoneDisplay,
234
- Ge as isMobileNumberDialogPrimaryDisabled,
235
- Ot as isPossiblePhoneNumber,
236
- Et as isProdNav,
237
- Nt as isQaNav,
238
- Lt as isValidPhoneNumber,
239
- ut as resolveNavEnv,
235
+ fe as buildExistingAccountError,
236
+ Ge as buildExistingMobileNumberError,
237
+ Fe as buildLoginWithMobileNumberLabel,
238
+ we as buildLoginWithPhoneLabel,
239
+ ve as buildMobileNumberDisplay,
240
+ he as buildPhoneDisplay,
241
+ He as isMobileNumberDialogPrimaryDisabled,
242
+ Pt as isPossiblePhoneNumber,
243
+ bt as isProdNav,
244
+ Bt as isQaNav,
245
+ Rt as isValidPhoneNumber,
246
+ xt as resolveNavEnv,
240
247
  ee as useAutocompleteCheckbox
241
248
  };
@@ -1,3 +1,4 @@
1
1
  export { DoctAccountConflictPrompt, DoctMobileNumberDialog, MobileNumberDialog, } from './mobile-number-dialog';
2
- export { ACCOUNT_CONFLICT_PROMPT_BODY_TITLE, ACCOUNT_CONFLICT_PROMPT_DEFAULT_COUNTRY_CODE, ACCOUNT_CONFLICT_PROMPT_DEFAULT_EXISTING_ACCOUNT_ERROR, ACCOUNT_CONFLICT_PROMPT_DEFAULT_INFO_MESSAGE, ACCOUNT_CONFLICT_PROMPT_DEFAULT_MASKED_EMAIL, ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_DISPLAY, ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_NUMBER, ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_PLACEHOLDER, ACCOUNT_CONFLICT_PROMPT_HEADER_TITLE, ACCOUNT_CONFLICT_PROMPT_LOGIN_UNIFY_HINT, ACCOUNT_CONFLICT_PROMPT_PRIMARY_LABEL, ACCOUNT_CONFLICT_PROMPT_SECONDARY_LABEL, buildExistingAccountError, buildExistingMobileNumberError, buildLoginWithMobileNumberLabel, buildLoginWithPhoneLabel, buildMobileNumberDisplay, buildPhoneDisplay, isMobileNumberDialogPrimaryDisabled, isPrimaryDisabled, MOBILE_NUMBER_DIALOG_BODY_TITLE, MOBILE_NUMBER_DIALOG_DEFAULT_COUNTRY_CODE, MOBILE_NUMBER_DIALOG_DEFAULT_EXISTING_ACCOUNT_ERROR, MOBILE_NUMBER_DIALOG_DEFAULT_INFO_MESSAGE, MOBILE_NUMBER_DIALOG_DEFAULT_MASKED_EMAIL, MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_DISPLAY, MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_NUMBER, MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_PLACEHOLDER, MOBILE_NUMBER_DIALOG_HEADER_TITLE, MOBILE_NUMBER_DIALOG_LOGIN_UNIFY_HINT, MOBILE_NUMBER_DIALOG_PRIMARY_LABEL, MOBILE_NUMBER_DIALOG_SECONDARY_LABEL, } from './presets';
3
- export { ACCOUNT_CONFLICT_PROMPT_DRAWER_BACKDROP_CLASS, type AccountConflictPromptState, type AccountConflictPromptTrigger, type DoctAccountConflictPromptProps, MOBILE_NUMBER_DIALOG_DRAWER_BACKDROP_CLASS, type MobileNumberDialogProps, type MobileNumberDialogState, type MobileNumberDialogTrigger, } from './types';
2
+ export { MobileNumberDialogOtpSurface, type MobileNumberDialogOtpSurfaceProps, } from './otp-dialog';
3
+ export { ACCOUNT_CONFLICT_PROMPT_BODY_TITLE, ACCOUNT_CONFLICT_PROMPT_DEFAULT_COUNTRY_CODE, ACCOUNT_CONFLICT_PROMPT_DEFAULT_EXISTING_ACCOUNT_ERROR, ACCOUNT_CONFLICT_PROMPT_DEFAULT_INFO_MESSAGE, ACCOUNT_CONFLICT_PROMPT_DEFAULT_MASKED_EMAIL, ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_DISPLAY, ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_NUMBER, ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_PLACEHOLDER, ACCOUNT_CONFLICT_PROMPT_HEADER_TITLE, ACCOUNT_CONFLICT_PROMPT_LOGIN_UNIFY_HINT, ACCOUNT_CONFLICT_PROMPT_PRIMARY_LABEL, ACCOUNT_CONFLICT_PROMPT_SECONDARY_LABEL, buildExistingAccountError, buildExistingMobileNumberError, buildLoginWithMobileNumberLabel, buildLoginWithPhoneLabel, buildMobileNumberDisplay, buildPhoneDisplay, isMobileNumberDialogPrimaryDisabled, isPrimaryDisabled, MOBILE_NUMBER_DIALOG_BODY_TITLE, MOBILE_NUMBER_DIALOG_DEFAULT_COUNTRY_CODE, MOBILE_NUMBER_DIALOG_DEFAULT_EXISTING_ACCOUNT_ERROR, MOBILE_NUMBER_DIALOG_DEFAULT_INFO_MESSAGE, MOBILE_NUMBER_DIALOG_DEFAULT_MASKED_EMAIL, MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_DISPLAY, MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_NUMBER, MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_PLACEHOLDER, MOBILE_NUMBER_DIALOG_HEADER_TITLE, MOBILE_NUMBER_DIALOG_LOGIN_UNIFY_HINT, MOBILE_NUMBER_DIALOG_OTP_HEADER_TITLE, MOBILE_NUMBER_DIALOG_OTP_RESEND_BUTTON_LABEL, MOBILE_NUMBER_DIALOG_OTP_RESEND_LABEL, MOBILE_NUMBER_DIALOG_OTP_SUBMIT_LABEL, MOBILE_NUMBER_DIALOG_OTP_TITLE, MOBILE_NUMBER_DIALOG_PRIMARY_LABEL, MOBILE_NUMBER_DIALOG_SECONDARY_LABEL, } from './presets';
4
+ export { ACCOUNT_CONFLICT_PROMPT_DRAWER_BACKDROP_CLASS, type AccountConflictPromptState, type AccountConflictPromptStep, type AccountConflictPromptTrigger, type DoctAccountConflictPromptProps, MOBILE_NUMBER_DIALOG_DRAWER_BACKDROP_CLASS, type MobileNumberDialogProps, type MobileNumberDialogState, type MobileNumberDialogStep, type MobileNumberDialogTrigger, } from './types';
@@ -1,5 +1,5 @@
1
1
  import { MobileNumberDialogProps } from './types';
2
- export declare function MobileNumberDialog({ open, onOpenChange, trigger, state, headerTitle, bodyTitle, infoMessage, phoneNumber, onPhoneNumberChange, onCountryCodeChange, existingAccountErrorMessage, phonePlaceholder, countryCode, icon, isMobileOverride, className, }: MobileNumberDialogProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function MobileNumberDialog({ open, onOpenChange, trigger, state, headerTitle, bodyTitle, infoMessage, phoneNumber, onPhoneNumberChange, onCountryCodeChange, step, defaultStep, onStepChange, onExistingAccountLoginClick, phoneErrorMessage, onPrimaryClick, onSecondaryClick, isPrimaryLoading, maskedRecipient, otpHeaderTitle, onOtpBack, otpError, otpCanResend, onOtpResend, otpTimerText, isOtpSubmitting, otpValue, onOtpChange, otpLength, onOtpSubmit, otpTitle, otpResendLabel, otpSubmitLabel, existingAccountErrorMessage, phonePlaceholder, countryCode, icon, isMobileOverride, closeOnOutsideClick, className, }: MobileNumberDialogProps): import("react/jsx-runtime").JSX.Element;
3
3
  export declare const DoctMobileNumberDialog: typeof MobileNumberDialog;
4
4
  /** @deprecated Use `MobileNumberDialog`. */
5
5
  export declare const DoctAccountConflictPrompt: typeof MobileNumberDialog;
@@ -0,0 +1,18 @@
1
+ export interface MobileNumberDialogOtpSurfaceProps {
2
+ headerTitle: string;
3
+ title: string;
4
+ phoneDisplay: string;
5
+ otp: string[];
6
+ onOtpChange: (otp: string[]) => void;
7
+ onOtpSubmit?: (otp: string) => void;
8
+ onBack?: () => void;
9
+ otpError?: string;
10
+ canResend?: boolean;
11
+ onResend?: () => void;
12
+ timerText?: string;
13
+ submitLabel: string;
14
+ isSubmitting?: boolean;
15
+ className?: string;
16
+ surface: "drawer" | "dialog";
17
+ }
18
+ export declare function MobileNumberDialogOtpSurface({ headerTitle, title, phoneDisplay, otp, onOtpChange, onOtpSubmit, onBack, otpError, canResend, onResend, timerText, submitLabel, isSubmitting, className, surface, }: Readonly<MobileNumberDialogOtpSurfaceProps>): import("react/jsx-runtime").JSX.Element;