docthub-core-components 3.3.1 → 3.3.3
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/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/index.js +181 -162
- 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/components/ui/alert.d.ts +1 -1
- package/dist/src/components/ui/badge.d.ts +1 -1
- package/dist/src/components/ui/button.d.ts +3 -3
- package/dist/src/components/ui/command.d.ts +7 -7
- package/dist/src/components/ui/sheet.d.ts +1 -1
- package/dist/src/index.d.ts +1 -1
- 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
|
@@ -3,87 +3,87 @@
|
|
|
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
5
|
import { Chip as c } from "./components/overrides/ui/chips/doct-chip.js";
|
|
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 Q, AlertDescription as Z, AlertTitle as
|
|
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
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
|
|
28
|
-
import { DoctButton as
|
|
29
|
-
import { CalendarDayButton as
|
|
30
|
-
import { Checkbox as
|
|
31
|
-
import { Collapsible as
|
|
32
|
-
import { Command as
|
|
33
|
-
import { CookieDialog as
|
|
34
|
-
import { Dialog as
|
|
35
|
-
import { Drawer as Ko, DrawerClose as Qo, DrawerContent as Zo, DrawerDescription 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 cr, DropdownMenuSeparator as pr, DropdownMenuShortcut 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
|
|
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
|
+
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";
|
|
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
46
|
import { toast as Qr, Toaster as Zr } from "./components/ui/toast.js";
|
|
47
|
-
import { Tooltip as
|
|
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
|
|
51
|
-
import { ACCOUNT_CONFLICT_PROMPT_DRAWER_BACKDROP_CLASS as
|
|
52
|
-
import { DoctAccountConflictPrompt as
|
|
53
|
-
import { DoctFooter as
|
|
54
|
-
import { DoctLoginDialog as
|
|
55
|
-
import { DoctNavigationMenu as
|
|
56
|
-
import { INDIVIDUAL_NAV_ROUTES as
|
|
57
|
-
import { IndividualNavigationMenu as
|
|
58
|
-
import { LOGIN_DIALOG_ASSETS as
|
|
59
|
-
import { LOGIN_DIALOG_IMAGE_HEIGHT as
|
|
60
|
-
import { ORGANIZATION_NAV_ROUTES as
|
|
61
|
-
import { OrganizationNavigationMenu as
|
|
62
|
-
import { isPossiblePhoneNumber as
|
|
63
|
-
import { isProdNav as
|
|
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";
|
|
64
64
|
export {
|
|
65
65
|
ae as ACCOUNT_CONFLICT_PROMPT_BODY_TITLE,
|
|
66
66
|
De as ACCOUNT_CONFLICT_PROMPT_DEFAULT_COUNTRY_CODE,
|
|
67
67
|
ne as ACCOUNT_CONFLICT_PROMPT_DEFAULT_EXISTING_ACCOUNT_ERROR,
|
|
68
68
|
ce as ACCOUNT_CONFLICT_PROMPT_DEFAULT_INFO_MESSAGE,
|
|
69
69
|
pe as ACCOUNT_CONFLICT_PROMPT_DEFAULT_MASKED_EMAIL,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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
82
|
Q as DoctAlert,
|
|
83
83
|
Z as DoctAlertDescription,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
X as DoctAlertTitle,
|
|
85
|
+
E as DoctAnimationLoader,
|
|
86
|
+
H as DoctAutoComplete,
|
|
87
87
|
t as DoctAutocomplete,
|
|
88
88
|
D as DoctAutocompleteCheckbox,
|
|
89
89
|
j as DoctAvatar,
|
|
@@ -96,44 +96,44 @@ export {
|
|
|
96
96
|
no as DoctBreadcrumbLink,
|
|
97
97
|
co as DoctBreadcrumbList,
|
|
98
98
|
po as DoctBreadcrumbPage,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
io as DoctBreadcrumbSeparator,
|
|
100
|
+
_o as DoctButton,
|
|
101
|
+
lo as DoctCalendar,
|
|
102
|
+
Io as DoctCheckbox,
|
|
103
103
|
c as DoctChip,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
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,
|
|
117
117
|
W as DoctComponentSection,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
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
126
|
ho as DoctDialogDescription,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
127
|
+
Ho as DoctDialogFooter,
|
|
128
|
+
ko as DoctDialogHeader,
|
|
129
|
+
Yo as DoctDialogScrollableBody,
|
|
130
|
+
Vo as DoctDialogTitle,
|
|
131
|
+
yo as DoctDialogTrigger,
|
|
132
132
|
Ko as DoctDrawer,
|
|
133
133
|
Qo as DoctDrawerClose,
|
|
134
134
|
Zo as DoctDrawerContent,
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
Xo as DoctDrawerDescription,
|
|
136
|
+
zo as DoctDrawerFooter,
|
|
137
137
|
jo as DoctDrawerHeader,
|
|
138
138
|
qo as DoctDrawerTitle,
|
|
139
139
|
Jo as DoctDrawerTrigger,
|
|
@@ -146,77 +146,96 @@ export {
|
|
|
146
146
|
nr as DoctDropdownMenuRadioGroup,
|
|
147
147
|
cr as DoctDropdownMenuRadioItem,
|
|
148
148
|
pr as DoctDropdownMenuSeparator,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
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,
|
|
182
183
|
hr as DoctTabsContent,
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
Hr as DoctTabsList,
|
|
185
|
+
kr as DoctTabsTrigger,
|
|
186
|
+
Vr as DoctTextareaField,
|
|
186
187
|
Wr as DoctTimeline,
|
|
187
188
|
Qr as DoctToast,
|
|
188
189
|
Zr as DoctToaster,
|
|
189
|
-
|
|
190
|
+
zr as DoctTooltip,
|
|
190
191
|
jr as DoctTooltipContent,
|
|
191
192
|
qr as DoctTooltipProvider,
|
|
192
193
|
Jr as DoctTooltipTrigger,
|
|
193
194
|
oe as DoctTypography,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
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,
|
|
212
227
|
ro as badgeVariants,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
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,
|
|
221
240
|
ee as useAutocompleteCheckbox
|
|
222
241
|
};
|
|
@@ -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;
|
|
@@ -0,0 +1,52 @@
|
|
|
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 MOBILE_NUMBER_DIALOG_DRAWER_BACKDROP_CLASS = "login-drawer-backdrop";
|
|
4
|
+
/**
|
|
5
|
+
* - `action` - action-triggered prompt from Figma.
|
|
6
|
+
* - `system` - system-triggered prompt from Figma.
|
|
7
|
+
*/
|
|
8
|
+
export type MobileNumberDialogTrigger = "action" | "system";
|
|
9
|
+
/**
|
|
10
|
+
* - `addNumber` - empty phone field with placeholder.
|
|
11
|
+
* - `existingAccount` - filled phone, error, and login secondary action.
|
|
12
|
+
*/
|
|
13
|
+
export type MobileNumberDialogState = "addNumber" | "existingAccount";
|
|
14
|
+
export interface MobileNumberDialogProps {
|
|
15
|
+
open: boolean;
|
|
16
|
+
onOpenChange: (open: boolean) => void;
|
|
17
|
+
/** Layout preset. Default `action`. */
|
|
18
|
+
trigger?: MobileNumberDialogTrigger;
|
|
19
|
+
/** Visual state for phone field and conflict UI. Default `addNumber`. */
|
|
20
|
+
state?: MobileNumberDialogState;
|
|
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
|
+
/** Called when the user changes the selected country calling code. */
|
|
32
|
+
onCountryCodeChange?: (countryCode: string) => void;
|
|
33
|
+
/** Full existing-account validation error (pass from your API when `state="existingAccount"`). */
|
|
34
|
+
existingAccountErrorMessage?: string;
|
|
35
|
+
/** Placeholder when `state="addNumber"`. */
|
|
36
|
+
phonePlaceholder?: string;
|
|
37
|
+
/** Country calling code prefix. Default `+91`. */
|
|
38
|
+
countryCode?: string;
|
|
39
|
+
/** Optional custom phone icon. */
|
|
40
|
+
icon?: ReactNode;
|
|
41
|
+
/** Force mobile drawer or desktop dialog (e.g. Storybook). */
|
|
42
|
+
isMobileOverride?: boolean;
|
|
43
|
+
className?: string;
|
|
44
|
+
}
|
|
45
|
+
/** @deprecated Use `MOBILE_NUMBER_DIALOG_DRAWER_BACKDROP_CLASS`. */
|
|
46
|
+
export declare const ACCOUNT_CONFLICT_PROMPT_DRAWER_BACKDROP_CLASS = "login-drawer-backdrop";
|
|
47
|
+
/** @deprecated Use `MobileNumberDialogTrigger`. */
|
|
48
|
+
export type AccountConflictPromptTrigger = MobileNumberDialogTrigger;
|
|
49
|
+
/** @deprecated Use `MobileNumberDialogState`. */
|
|
50
|
+
export type AccountConflictPromptState = MobileNumberDialogState;
|
|
51
|
+
/** @deprecated Use `MobileNumberDialogProps`. */
|
|
52
|
+
export type DoctAccountConflictPromptProps = MobileNumberDialogProps;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const alertVariants: (props?: ({
|
|
4
|
-
variant?: "
|
|
4
|
+
variant?: "error" | "default" | "destructive" | "success" | "warning" | "info" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
export interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
7
7
|
/** Custom icon to display. Set to false to hide icon. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import type * as React from "react";
|
|
3
3
|
declare const badgeVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "secondary" | "
|
|
4
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
7
7
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
declare const DoctButtonVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "
|
|
5
|
-
size?: "small" | "
|
|
6
|
-
iconSize?: "small" | "
|
|
4
|
+
variant?: "error" | "disabled" | "default" | "secondary" | "outline" | "primary" | "success" | "warning" | "informative" | "secondary-error" | "secondary-success" | "secondary-warning" | "secondary-informative" | "outline-error" | "outline-success" | "outline-warning" | "outline-informative" | "ghost" | "ghost-error" | "ghost-success" | "ghost-warning" | "ghost-informative" | "blue" | "brandBlue" | null | undefined;
|
|
5
|
+
size?: "small" | "medium" | "large" | "icon.large" | "icon.medium" | "icon.small" | null | undefined;
|
|
6
|
+
iconSize?: "small" | "medium" | "large" | null | undefined;
|
|
7
7
|
iconPosition?: "left" | "right" | null | undefined;
|
|
8
8
|
fullWidth?: boolean | null | undefined;
|
|
9
9
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|