docthub-core-components 3.2.9 → 3.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/overrides/ui/account-conflict-prompt/account-conflict-prompt.js +265 -0
- package/dist/components/overrides/ui/account-conflict-prompt/presets.js +50 -0
- package/dist/components/overrides/ui/account-conflict-prompt/types.js +5 -0
- package/dist/components/overrides/ui/mobile-number-dialog/mobile-number-dialog.js +268 -0
- package/dist/components/overrides/ui/mobile-number-dialog/presets.js +66 -0
- package/dist/components/overrides/ui/mobile-number-dialog/types.js +6 -0
- package/dist/components/overrides/ui/pickers/date-picker-field.js +2 -2
- package/dist/components/overrides/ui/pickers/date-range-picker-field.js +2 -2
- package/dist/components/ui/cookie-dialog.js +38 -32
- package/dist/components/ui/dialog.js +148 -145
- package/dist/index.js +210 -171
- package/dist/src/components/overrides/ui/account-conflict-prompt/account-conflict-prompt.d.ts +2 -0
- package/dist/src/components/overrides/ui/account-conflict-prompt/index.d.ts +3 -0
- package/dist/src/components/overrides/ui/account-conflict-prompt/presets.d.ts +22 -0
- package/dist/src/components/overrides/ui/account-conflict-prompt/types.d.ts +42 -0
- package/dist/src/components/overrides/ui/mobile-number-dialog/index.d.ts +3 -0
- package/dist/src/components/overrides/ui/mobile-number-dialog/mobile-number-dialog.d.ts +5 -0
- package/dist/src/components/overrides/ui/mobile-number-dialog/presets.d.ts +57 -0
- package/dist/src/components/overrides/ui/mobile-number-dialog/types.d.ts +52 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/mobile-number-dialog.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,124 +2,141 @@
|
|
|
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
|
|
6
|
-
import { CircularProgress as
|
|
7
|
-
import { AddressFormSection as
|
|
8
|
-
import { ContactFormSection as
|
|
9
|
-
import { SearchFilterSection as
|
|
10
|
-
import { UserRegistrationSection as
|
|
11
|
-
import { CurrencyInput as
|
|
12
|
-
import { DoctAnimationLoader as
|
|
13
|
-
import { ExpandableCard as
|
|
14
|
-
import { LabeledInput as
|
|
15
|
-
import { OtpInput as
|
|
16
|
-
import { PasswordInput as
|
|
17
|
-
import { DoctPhoneInput as
|
|
18
|
-
import { DatePickerField as
|
|
19
|
-
import { DateRangePickerField as
|
|
20
|
-
import { SelectField as
|
|
21
|
-
import { AutoComplete as
|
|
22
|
-
import { SearchInput as
|
|
23
|
-
import { ComponentVariant as
|
|
24
|
-
import { Alert as
|
|
25
|
-
import { Avatar as
|
|
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";
|
|
13
|
+
import { ExpandableCard as u } from "./components/overrides/ui/expandable-card.js";
|
|
14
|
+
import { LabeledInput as P } from "./components/overrides/ui/inputs/labeled-input.js";
|
|
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";
|
|
19
|
+
import { DateRangePickerField as F } from "./components/overrides/ui/pickers/date-range-picker-field.js";
|
|
20
|
+
import { SelectField as v } from "./components/overrides/ui/pickers/select-field.js";
|
|
21
|
+
import { AutoComplete as H } from "./components/overrides/ui/search/auto-complete.js";
|
|
22
|
+
import { SearchInput as Y } from "./components/overrides/ui/search/search-input.js";
|
|
23
|
+
import { ComponentVariant as y, ComponentSection as W } from "./components/overrides/ui/showcase/component-section.js";
|
|
24
|
+
import { Alert as Q, AlertDescription as Z, AlertTitle as X } from "./components/ui/alert.js";
|
|
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
|
|
28
|
-
import { DoctButton as
|
|
29
|
-
import { CalendarDayButton as
|
|
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";
|
|
30
30
|
import { Checkbox as Io } from "./components/ui/checkbox.js";
|
|
31
|
-
import { Collapsible as
|
|
32
|
-
import { Command as
|
|
33
|
-
import { CookieDialog as
|
|
34
|
-
import { Dialog as
|
|
35
|
-
import { Drawer as
|
|
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
|
|
37
|
-
import { Input as
|
|
38
|
-
import { Label as
|
|
39
|
-
import { Popover as
|
|
40
|
-
import { Progress as
|
|
41
|
-
import { RadioGroup as
|
|
42
|
-
import { Skeleton as
|
|
43
|
-
import { Tabs as
|
|
44
|
-
import { Textarea as
|
|
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";
|
|
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
|
+
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";
|
|
42
|
+
import { Skeleton as Fr } from "./components/ui/skeleton.js";
|
|
43
|
+
import { Tabs as vr, TabsContent as hr, TabsList as Hr, TabsTrigger as kr } from "./components/ui/tabs.js";
|
|
44
|
+
import { Textarea as Vr } from "./components/ui/textarea.js";
|
|
45
45
|
import { Timeline as Wr } from "./components/ui/timeline.js";
|
|
46
|
-
import { toast as
|
|
47
|
-
import { Tooltip as
|
|
46
|
+
import { toast as Qr, Toaster as Zr } from "./components/ui/toast.js";
|
|
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 {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
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";
|
|
61
64
|
export {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
65
|
+
ae as ACCOUNT_CONFLICT_PROMPT_BODY_TITLE,
|
|
66
|
+
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,
|
|
69
|
+
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,
|
|
74
|
+
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,
|
|
79
|
+
y as ComponentVariant,
|
|
80
|
+
He as DoctAccountConflictPrompt,
|
|
81
|
+
_ as DoctAddressFormSection,
|
|
82
|
+
Q as DoctAlert,
|
|
83
|
+
Z as DoctAlertDescription,
|
|
84
|
+
X as DoctAlertTitle,
|
|
85
|
+
E as DoctAnimationLoader,
|
|
86
|
+
H as DoctAutoComplete,
|
|
70
87
|
t as DoctAutocomplete,
|
|
71
88
|
D as DoctAutocompleteCheckbox,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
89
|
+
j as DoctAvatar,
|
|
90
|
+
q as DoctAvatarFallback,
|
|
91
|
+
J as DoctAvatarImage,
|
|
75
92
|
oo as DoctBadge,
|
|
76
93
|
to as DoctBreadcrumb,
|
|
77
94
|
ao as DoctBreadcrumbEllipsis,
|
|
78
95
|
Do as DoctBreadcrumbItem,
|
|
79
96
|
no as DoctBreadcrumbLink,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
97
|
+
co as DoctBreadcrumbList,
|
|
98
|
+
po as DoctBreadcrumbPage,
|
|
99
|
+
io as DoctBreadcrumbSeparator,
|
|
100
|
+
_o as DoctButton,
|
|
101
|
+
lo as DoctCalendar,
|
|
85
102
|
Io as DoctCheckbox,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
103
|
+
c as DoctChip,
|
|
104
|
+
i as DoctCircularProgress,
|
|
105
|
+
Oo as DoctCollapsible,
|
|
106
|
+
Lo as DoctCollapsibleContent,
|
|
107
|
+
Eo as DoctCollapsibleTrigger,
|
|
108
|
+
uo as DoctCommand,
|
|
109
|
+
Mo as DoctCommandDialog,
|
|
110
|
+
Po as DoctCommandEmpty,
|
|
111
|
+
Ro as DoctCommandGroup,
|
|
112
|
+
go as DoctCommandInput,
|
|
113
|
+
bo as DoctCommandItem,
|
|
114
|
+
xo as DoctCommandList,
|
|
115
|
+
Uo as DoctCommandSeparator,
|
|
116
|
+
So as DoctCommandShortcut,
|
|
100
117
|
W as DoctComponentSection,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
118
|
+
C as DoctContactFormSection,
|
|
119
|
+
Bo as DoctCookieDialog,
|
|
120
|
+
L as DoctCurrencyInput,
|
|
121
|
+
B as DoctDatePickerField,
|
|
122
|
+
F as DoctDateRangePickerField,
|
|
123
|
+
Fo as DoctDialog,
|
|
124
|
+
wo as DoctDialogClose,
|
|
125
|
+
vo as DoctDialogContent,
|
|
126
|
+
ho as DoctDialogDescription,
|
|
127
|
+
Ho as DoctDialogFooter,
|
|
128
|
+
ko as DoctDialogHeader,
|
|
129
|
+
Yo as DoctDialogScrollableBody,
|
|
130
|
+
Vo as DoctDialogTitle,
|
|
131
|
+
yo as DoctDialogTrigger,
|
|
132
|
+
Ko as DoctDrawer,
|
|
133
|
+
Qo as DoctDrawerClose,
|
|
134
|
+
Zo as DoctDrawerContent,
|
|
135
|
+
Xo as DoctDrawerDescription,
|
|
136
|
+
zo as DoctDrawerFooter,
|
|
137
|
+
jo as DoctDrawerHeader,
|
|
138
|
+
qo as DoctDrawerTitle,
|
|
139
|
+
Jo as DoctDrawerTrigger,
|
|
123
140
|
or as DoctDropdownMenu,
|
|
124
141
|
rr as DoctDropdownMenuCheckboxItem,
|
|
125
142
|
er as DoctDropdownMenuContent,
|
|
@@ -127,76 +144,98 @@ export {
|
|
|
127
144
|
ar as DoctDropdownMenuItem,
|
|
128
145
|
Dr as DoctDropdownMenuLabel,
|
|
129
146
|
nr as DoctDropdownMenuRadioGroup,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
147
|
+
cr as DoctDropdownMenuRadioItem,
|
|
148
|
+
pr as DoctDropdownMenuSeparator,
|
|
149
|
+
ir as DoctDropdownMenuShortcut,
|
|
150
|
+
sr as DoctDropdownMenuSub,
|
|
151
|
+
_r as DoctDropdownMenuSubContent,
|
|
152
|
+
mr as DoctDropdownMenuSubTrigger,
|
|
153
|
+
Cr as DoctDropdownMenuTrigger,
|
|
154
|
+
u as DoctExpandableCard,
|
|
155
|
+
ye as DoctFooter,
|
|
156
|
+
Tr as DoctInput,
|
|
157
|
+
Ar as DoctLabel,
|
|
158
|
+
P as DoctLabeledInput,
|
|
159
|
+
Ke as DoctLoginDialog,
|
|
160
|
+
ke as DoctMobileNumberDialog,
|
|
161
|
+
Ze as DoctNavigationMenu,
|
|
162
|
+
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,
|
|
169
|
+
ur as DoctPopoverContent,
|
|
170
|
+
Mr as DoctPopoverDescription,
|
|
171
|
+
Pr as DoctPopoverHeader,
|
|
172
|
+
Rr as DoctPopoverTitle,
|
|
173
|
+
gr as DoctPopoverTrigger,
|
|
174
|
+
br as DoctPopoverViewport,
|
|
175
|
+
Ur as DoctProgress,
|
|
176
|
+
fr as DoctRadioGroup,
|
|
177
|
+
Br as DoctRadioGroupItem,
|
|
178
|
+
T as DoctSearchFilterSection,
|
|
179
|
+
Y as DoctSearchInput,
|
|
180
|
+
v as DoctSelectField,
|
|
181
|
+
Fr as DoctSkeleton,
|
|
182
|
+
vr as DoctTabs,
|
|
183
|
+
hr as DoctTabsContent,
|
|
184
|
+
Hr as DoctTabsList,
|
|
185
|
+
kr as DoctTabsTrigger,
|
|
186
|
+
Vr as DoctTextareaField,
|
|
169
187
|
Wr as DoctTimeline,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
188
|
+
Qr as DoctToast,
|
|
189
|
+
Zr as DoctToaster,
|
|
190
|
+
zr as DoctTooltip,
|
|
191
|
+
jr as DoctTooltipContent,
|
|
192
|
+
qr as DoctTooltipProvider,
|
|
193
|
+
Jr as DoctTooltipTrigger,
|
|
176
194
|
oe as DoctTypography,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
Oe as
|
|
194
|
-
|
|
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,
|
|
209
|
+
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,
|
|
216
|
+
ue as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_PLACEHOLDER,
|
|
217
|
+
ve as MOBILE_NUMBER_DIALOG_DRAWER_BACKDROP_CLASS,
|
|
218
|
+
Me as MOBILE_NUMBER_DIALOG_HEADER_TITLE,
|
|
219
|
+
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,
|
|
195
227
|
ro as badgeVariants,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
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,
|
|
201
240
|
ee as useAutocompleteCheckbox
|
|
202
241
|
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { DoctAccountConflictPromptProps } from './types';
|
|
2
|
+
export declare function DoctAccountConflictPrompt({ open, onOpenChange, trigger, state, headerTitle, bodyTitle, infoMessage, phoneNumber, onPhoneNumberChange, existingAccountErrorMessage, phonePlaceholder, countryCode, icon, isMobileOverride, className, }: DoctAccountConflictPromptProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { DoctAccountConflictPrompt } from './account-conflict-prompt';
|
|
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, buildLoginWithPhoneLabel, buildPhoneDisplay, } from './presets';
|
|
3
|
+
export { ACCOUNT_CONFLICT_PROMPT_DRAWER_BACKDROP_CLASS, type AccountConflictPromptState, type AccountConflictPromptTrigger, type DoctAccountConflictPromptProps, } from './types';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AccountConflictPromptState, AccountConflictPromptTrigger } from './types';
|
|
2
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_DEFAULT_COUNTRY_CODE = "+91";
|
|
3
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_PLACEHOLDER = "Enter number";
|
|
4
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_NUMBER = "9825910X0X";
|
|
5
|
+
/** @deprecated Use `ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_NUMBER` with `buildPhoneDisplay`. */
|
|
6
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_DISPLAY = "+91 9825910X0X";
|
|
7
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_DEFAULT_MASKED_EMAIL = "user******@gmail.com";
|
|
8
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_DEFAULT_INFO_MESSAGE = "Your mobile number required to complete certain actions as well as it's associated with security of your Docthub account.";
|
|
9
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_HEADER_TITLE: Record<AccountConflictPromptTrigger, string>;
|
|
10
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_BODY_TITLE: Record<AccountConflictPromptTrigger, string>;
|
|
11
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_LOGIN_UNIFY_HINT = "your accounts will be unified on login";
|
|
12
|
+
export declare function buildExistingAccountError(maskedEmail: string): string;
|
|
13
|
+
/** Default existing-account error copy for Storybook / demos. */
|
|
14
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_DEFAULT_EXISTING_ACCOUNT_ERROR: string;
|
|
15
|
+
export declare function buildLoginWithPhoneLabel(phoneDisplay: string): string;
|
|
16
|
+
export declare function buildPhoneDisplay(countryCode: string, phoneNumber: string): string;
|
|
17
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_PRIMARY_LABEL: Record<AccountConflictPromptTrigger, {
|
|
18
|
+
addNumber: string;
|
|
19
|
+
existingAccount: string;
|
|
20
|
+
}>;
|
|
21
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_SECONDARY_LABEL = "Add later";
|
|
22
|
+
export declare function isPrimaryDisabled(state: AccountConflictPromptState): boolean;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/** Body class when drawer is open – lighter scrim in `index.css` (shared with login drawer). */
|
|
3
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_DRAWER_BACKDROP_CLASS = "login-drawer-backdrop";
|
|
4
|
+
/**
|
|
5
|
+
* - `system` — header “To continue..”, single primary CTA or disabled continue when number exists.
|
|
6
|
+
* - `action` — header “Add mobile number”, “Add later” + “Save” actions.
|
|
7
|
+
*/
|
|
8
|
+
export type AccountConflictPromptTrigger = "system" | "action";
|
|
9
|
+
/**
|
|
10
|
+
* - `addNumber` — empty phone field with placeholder.
|
|
11
|
+
* - `existingAccount` — filled phone, error, and “Login with …” secondary action.
|
|
12
|
+
*/
|
|
13
|
+
export type AccountConflictPromptState = "addNumber" | "existingAccount";
|
|
14
|
+
export interface DoctAccountConflictPromptProps {
|
|
15
|
+
open: boolean;
|
|
16
|
+
onOpenChange: (open: boolean) => void;
|
|
17
|
+
/** Layout preset. Default `system`. */
|
|
18
|
+
trigger?: AccountConflictPromptTrigger;
|
|
19
|
+
/** Visual state for phone field and conflict UI. Default `addNumber`. */
|
|
20
|
+
state?: AccountConflictPromptState;
|
|
21
|
+
/** Header title (top bar). */
|
|
22
|
+
headerTitle?: string;
|
|
23
|
+
/** Main heading below the icon. */
|
|
24
|
+
bodyTitle?: string;
|
|
25
|
+
/** Blue info callout copy. */
|
|
26
|
+
infoMessage?: string;
|
|
27
|
+
/** Controlled mobile number without the country code prefix (e.g. `9825910X0X`). */
|
|
28
|
+
phoneNumber?: string;
|
|
29
|
+
/** Called when the user edits the mobile number field. */
|
|
30
|
+
onPhoneNumberChange?: (phoneNumber: string) => void;
|
|
31
|
+
/** Full existing-account validation error (pass from your API when `state="existingAccount"`). */
|
|
32
|
+
existingAccountErrorMessage?: string;
|
|
33
|
+
/** Placeholder when `state="addNumber"`. */
|
|
34
|
+
phonePlaceholder?: string;
|
|
35
|
+
/** Country calling code prefix (display only). Default `+91`. */
|
|
36
|
+
countryCode?: string;
|
|
37
|
+
/** Optional custom phone icon. */
|
|
38
|
+
icon?: ReactNode;
|
|
39
|
+
/** Force mobile drawer or desktop dialog (e.g. Storybook). */
|
|
40
|
+
isMobileOverride?: boolean;
|
|
41
|
+
className?: string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
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';
|
|
@@ -0,0 +1,5 @@
|
|
|
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;
|
|
3
|
+
export declare const DoctMobileNumberDialog: typeof MobileNumberDialog;
|
|
4
|
+
/** @deprecated Use `MobileNumberDialog`. */
|
|
5
|
+
export declare const DoctAccountConflictPrompt: typeof MobileNumberDialog;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { MobileNumberDialogState, MobileNumberDialogTrigger } from './types';
|
|
2
|
+
export declare const MOBILE_NUMBER_DIALOG_DEFAULT_COUNTRY_CODE = "+91";
|
|
3
|
+
export declare const MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_PLACEHOLDER = "Enter number";
|
|
4
|
+
export declare const MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_NUMBER = "9825910X0X";
|
|
5
|
+
/** @deprecated Use `MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_NUMBER` with `buildMobileNumberDisplay`. */
|
|
6
|
+
export declare const MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_DISPLAY = "+91 9825910X0X";
|
|
7
|
+
export declare const MOBILE_NUMBER_DIALOG_DEFAULT_MASKED_EMAIL = "user******@gmail.com";
|
|
8
|
+
export declare const MOBILE_NUMBER_DIALOG_DEFAULT_INFO_MESSAGE = "Your mobile number required to complete certain actions as well as it's associated with security of your Docthub account.";
|
|
9
|
+
export declare const MOBILE_NUMBER_DIALOG_HEADER_TITLE: Record<MobileNumberDialogTrigger, string>;
|
|
10
|
+
export declare const MOBILE_NUMBER_DIALOG_BODY_TITLE: Record<MobileNumberDialogTrigger, string>;
|
|
11
|
+
export declare const MOBILE_NUMBER_DIALOG_LOGIN_UNIFY_HINT = "your accounts will be unified on login";
|
|
12
|
+
export declare function buildExistingMobileNumberError(maskedEmail: string): string;
|
|
13
|
+
/** Default existing-account error copy for Storybook / demos. */
|
|
14
|
+
export declare const MOBILE_NUMBER_DIALOG_DEFAULT_EXISTING_ACCOUNT_ERROR: string;
|
|
15
|
+
export declare function buildLoginWithMobileNumberLabel(phoneDisplay: string): string;
|
|
16
|
+
export declare function buildMobileNumberDisplay(countryCode: string, phoneNumber: string): string;
|
|
17
|
+
export declare const MOBILE_NUMBER_DIALOG_PRIMARY_LABEL: Record<MobileNumberDialogTrigger, {
|
|
18
|
+
addNumber: string;
|
|
19
|
+
existingAccount: string;
|
|
20
|
+
}>;
|
|
21
|
+
export declare const MOBILE_NUMBER_DIALOG_SECONDARY_LABEL = "Add later";
|
|
22
|
+
export declare function isMobileNumberDialogPrimaryDisabled(state: MobileNumberDialogState): boolean;
|
|
23
|
+
/** @deprecated Use `MOBILE_NUMBER_DIALOG_BODY_TITLE`. */
|
|
24
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_BODY_TITLE: Record<MobileNumberDialogTrigger, string>;
|
|
25
|
+
/** @deprecated Use `MOBILE_NUMBER_DIALOG_DEFAULT_COUNTRY_CODE`. */
|
|
26
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_DEFAULT_COUNTRY_CODE = "+91";
|
|
27
|
+
/** @deprecated Use `MOBILE_NUMBER_DIALOG_DEFAULT_EXISTING_ACCOUNT_ERROR`. */
|
|
28
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_DEFAULT_EXISTING_ACCOUNT_ERROR: string;
|
|
29
|
+
/** @deprecated Use `MOBILE_NUMBER_DIALOG_DEFAULT_INFO_MESSAGE`. */
|
|
30
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_DEFAULT_INFO_MESSAGE = "Your mobile number required to complete certain actions as well as it's associated with security of your Docthub account.";
|
|
31
|
+
/** @deprecated Use `MOBILE_NUMBER_DIALOG_DEFAULT_MASKED_EMAIL`. */
|
|
32
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_DEFAULT_MASKED_EMAIL = "user******@gmail.com";
|
|
33
|
+
/** @deprecated Use `MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_DISPLAY`. */
|
|
34
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_DISPLAY = "+91 9825910X0X";
|
|
35
|
+
/** @deprecated Use `MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_NUMBER`. */
|
|
36
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_NUMBER = "9825910X0X";
|
|
37
|
+
/** @deprecated Use `MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_PLACEHOLDER`. */
|
|
38
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_PLACEHOLDER = "Enter number";
|
|
39
|
+
/** @deprecated Use `MOBILE_NUMBER_DIALOG_HEADER_TITLE`. */
|
|
40
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_HEADER_TITLE: Record<MobileNumberDialogTrigger, string>;
|
|
41
|
+
/** @deprecated Use `MOBILE_NUMBER_DIALOG_LOGIN_UNIFY_HINT`. */
|
|
42
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_LOGIN_UNIFY_HINT = "your accounts will be unified on login";
|
|
43
|
+
/** @deprecated Use `MOBILE_NUMBER_DIALOG_PRIMARY_LABEL`. */
|
|
44
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_PRIMARY_LABEL: Record<MobileNumberDialogTrigger, {
|
|
45
|
+
addNumber: string;
|
|
46
|
+
existingAccount: string;
|
|
47
|
+
}>;
|
|
48
|
+
/** @deprecated Use `MOBILE_NUMBER_DIALOG_SECONDARY_LABEL`. */
|
|
49
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_SECONDARY_LABEL = "Add later";
|
|
50
|
+
/** @deprecated Use `buildExistingMobileNumberError`. */
|
|
51
|
+
export declare const buildExistingAccountError: typeof buildExistingMobileNumberError;
|
|
52
|
+
/** @deprecated Use `buildLoginWithMobileNumberLabel`. */
|
|
53
|
+
export declare const buildLoginWithPhoneLabel: typeof buildLoginWithMobileNumberLabel;
|
|
54
|
+
/** @deprecated Use `buildMobileNumberDisplay`. */
|
|
55
|
+
export declare const buildPhoneDisplay: typeof buildMobileNumberDisplay;
|
|
56
|
+
/** @deprecated Use `isMobileNumberDialogPrimaryDisabled`. */
|
|
57
|
+
export declare const isPrimaryDisabled: typeof isMobileNumberDialogPrimaryDisabled;
|