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/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 s } from "./components/overrides/ui/circular-progress.js";
7
- import { AddressFormSection as m } from "./components/overrides/ui/composed/address-form-section.js";
8
- import { ContactFormSection as l } from "./components/overrides/ui/composed/contact-form-section.js";
9
- import { SearchFilterSection as d } from "./components/overrides/ui/composed/search-filter-section.js";
10
- import { UserRegistrationSection as u } from "./components/overrides/ui/composed/user-registration-section.js";
11
- import { CurrencyInput as I } from "./components/overrides/ui/currencyInput/currency-input.js";
12
- import { DoctAnimationLoader as N } from "./components/overrides/ui/doct-animation-loader.js";
13
- import { ExpandableCard as L } from "./components/overrides/ui/expandable-card.js";
14
- import { LabeledInput as x } from "./components/overrides/ui/inputs/labeled-input.js";
15
- import { OtpInput as b } from "./components/overrides/ui/inputs/otp-input.js";
16
- import { PasswordInput as R } from "./components/overrides/ui/inputs/password-input.js";
17
- import { DoctPhoneInput as M } from "./components/overrides/ui/inputs/phone-input.js";
18
- import { DatePickerField as F } from "./components/overrides/ui/pickers/date-picker-field.js";
19
- import { DateRangePickerField as G } from "./components/overrides/ui/pickers/date-range-picker-field.js";
20
- import { SelectField as B } from "./components/overrides/ui/pickers/select-field.js";
21
- import { AutoComplete as k } from "./components/overrides/ui/search/auto-complete.js";
22
- import { SearchInput as V } 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 z } from "./components/ui/alert.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
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 so } from "./components/ui/breadcrumb.js";
28
- import { DoctButton as mo } from "./components/ui/button.js";
29
- import { CalendarDayButton as lo, Calendar as To } from "./components/ui/calendar.js";
30
- import { Checkbox as uo } from "./components/ui/checkbox.js";
31
- import { Collapsible as Io, CollapsibleContent as Oo, CollapsibleTrigger as No } from "./components/ui/collapsible.js";
32
- import { Command as Lo, CommandDialog as go, CommandEmpty as xo, CommandGroup as fo, CommandInput as bo, CommandItem as Eo, CommandList as Ro, CommandSeparator as So, CommandShortcut as Mo } from "./components/ui/command.js";
33
- import { CookieDialog as Fo } from "./components/ui/cookie-dialog.js";
34
- import { Dialog as Go, DialogClose as vo, DialogContent as Bo, DialogDescription as ho, DialogFooter as ko, DialogHeader as Ho, DialogScrollableBody as Vo, DialogTitle as yo, DialogTrigger as Yo } from "./components/ui/dialog.js";
35
- import { Drawer as Ko, DrawerClose as Qo, DrawerContent as Zo, DrawerDescription as zo, DrawerFooter as Xo, 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 sr, DropdownMenuSub as ir, DropdownMenuSubContent as mr, DropdownMenuSubTrigger as Cr, DropdownMenuTrigger as lr } from "./components/ui/dropdown-menu.js";
37
- import { Input as dr } from "./components/ui/input.js";
38
- import { Label as ur } from "./components/ui/label.js";
39
- import { Popover as Ir, PopoverArrow as Or, PopoverBackdrop as Nr, PopoverClose as Pr, PopoverContent as Lr, PopoverDescription as gr, PopoverHeader as xr, PopoverTitle as fr, PopoverTrigger as br, PopoverViewport as Er } from "./components/ui/popover.js";
40
- import { Progress as Sr } from "./components/ui/progress.js";
41
- import { RadioGroup as wr, RadioGroupItem as Fr } from "./components/ui/radio-group.js";
42
- import { Skeleton as Gr } from "./components/ui/skeleton.js";
43
- import { Tabs as Br, TabsContent as hr, TabsList as kr, TabsTrigger as Hr } from "./components/ui/tabs.js";
44
- import { Textarea as yr } from "./components/ui/textarea.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";
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 Xr, TooltipContent as jr, TooltipProvider as qr, TooltipTrigger as Jr } from "./components/ui/tooltip.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 { 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 se, ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_NUMBER as ie, ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_PLACEHOLDER as me, ACCOUNT_CONFLICT_PROMPT_HEADER_TITLE as Ce, ACCOUNT_CONFLICT_PROMPT_LOGIN_UNIFY_HINT as le, ACCOUNT_CONFLICT_PROMPT_PRIMARY_LABEL as Te, ACCOUNT_CONFLICT_PROMPT_SECONDARY_LABEL as de, buildExistingAccountError as _e, buildLoginWithPhoneLabel as ue, buildPhoneDisplay as Ae } from "./components/overrides/ui/account-conflict-prompt/presets.js";
51
- import { ACCOUNT_CONFLICT_PROMPT_DRAWER_BACKDROP_CLASS as Oe } from "./components/overrides/ui/account-conflict-prompt/types.js";
52
- import { DoctAccountConflictPrompt as Pe } from "./components/overrides/ui/account-conflict-prompt/account-conflict-prompt.js";
53
- import { DoctFooter as ge } from "./components/overrides/ui/footer/doct-footer.js";
54
- import { DoctLoginDialog as fe } from "./components/overrides/ui/login-dialog/login-dialog.js";
55
- import { DoctNavigationMenu as Ee } from "./components/overrides/ui/navigation-menu/doct-navigation-menu.js";
56
- import { INDIVIDUAL_NAV_ROUTES as Se, INDIVIDUAL_NAV_ROUTES_PROD as Me, INDIVIDUAL_NAV_ROUTES_QA as we } from "./components/overrides/ui/navigation-menu/individual-nav-routes.js";
57
- import { IndividualNavigationMenu as Ue } from "./components/overrides/ui/navigation-menu/individual-navigation-menu.js";
58
- import { LOGIN_DIALOG_ASSETS as ve, LOGIN_DIALOG_CONTINUE_ANOTHER_WAY_LABEL as Be, LOGIN_DIALOG_CONTINUE_PHONE_EMAIL_LABEL as he, LOGIN_DIALOG_DEFAULT_COPY as ke, LOGIN_DIALOG_RETURNING_HINT as He, LOGIN_DIALOG_RETURNING_PRIMARY_LABEL as Ve } from "./components/overrides/ui/login-dialog/presets.js";
59
- import { LOGIN_DIALOG_IMAGE_HEIGHT as Ye, LOGIN_DIALOG_IMAGE_WIDTH as We, LOGIN_DRAWER_BACKDROP_CLASS as Ke } from "./components/overrides/ui/login-dialog/types.js";
60
- import { ORGANIZATION_NAV_ROUTES as Ze, ORGANIZATION_NAV_ROUTES_PROD as ze, ORGANIZATION_NAV_ROUTES_QA as Xe } from "./components/overrides/ui/navigation-menu/organization-nav-routes.js";
61
- import { OrganizationNavigationMenu as qe } from "./components/overrides/ui/navigation-menu/organization-navigation-menu.js";
62
- import { isPossiblePhoneNumber as $e, isValidPhoneNumber as ot } from "react-phone-number-input";
63
- import { isProdNav as et, isQaNav as tt, resolveNavEnv as at } 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 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
- se as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_DISPLAY,
71
- ie as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_NUMBER,
72
- me as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_PLACEHOLDER,
73
- Oe as ACCOUNT_CONFLICT_PROMPT_DRAWER_BACKDROP_CLASS,
74
- Ce as ACCOUNT_CONFLICT_PROMPT_HEADER_TITLE,
75
- le as ACCOUNT_CONFLICT_PROMPT_LOGIN_UNIFY_HINT,
76
- Te as ACCOUNT_CONFLICT_PROMPT_PRIMARY_LABEL,
77
- de as ACCOUNT_CONFLICT_PROMPT_SECONDARY_LABEL,
78
- lo as CalendarDayButton,
79
- Y as ComponentVariant,
80
- Pe as DoctAccountConflictPrompt,
81
- m as DoctAddressFormSection,
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
- z as DoctAlertTitle,
85
- N as DoctAnimationLoader,
86
- k as DoctAutoComplete,
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
- so as DoctBreadcrumbSeparator,
100
- mo as DoctButton,
101
- To as DoctCalendar,
102
- uo as DoctCheckbox,
99
+ io as DoctBreadcrumbSeparator,
100
+ _o as DoctButton,
101
+ lo as DoctCalendar,
102
+ Io as DoctCheckbox,
103
103
  c as DoctChip,
104
- s as DoctCircularProgress,
105
- Io as DoctCollapsible,
106
- Oo as DoctCollapsibleContent,
107
- No as DoctCollapsibleTrigger,
108
- Lo as DoctCommand,
109
- go as DoctCommandDialog,
110
- xo as DoctCommandEmpty,
111
- fo as DoctCommandGroup,
112
- bo as DoctCommandInput,
113
- Eo as DoctCommandItem,
114
- Ro as DoctCommandList,
115
- So as DoctCommandSeparator,
116
- Mo as DoctCommandShortcut,
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
- l as DoctContactFormSection,
119
- Fo as DoctCookieDialog,
120
- I as DoctCurrencyInput,
121
- F as DoctDatePickerField,
122
- G as DoctDateRangePickerField,
123
- Go as DoctDialog,
124
- vo as DoctDialogClose,
125
- Bo as DoctDialogContent,
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
- ko as DoctDialogFooter,
128
- Ho as DoctDialogHeader,
129
- Vo as DoctDialogScrollableBody,
130
- yo as DoctDialogTitle,
131
- Yo as DoctDialogTrigger,
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
- zo as DoctDrawerDescription,
136
- Xo as DoctDrawerFooter,
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
- sr as DoctDropdownMenuShortcut,
150
- ir as DoctDropdownMenuSub,
151
- mr as DoctDropdownMenuSubContent,
152
- Cr as DoctDropdownMenuSubTrigger,
153
- lr as DoctDropdownMenuTrigger,
154
- L as DoctExpandableCard,
155
- ge as DoctFooter,
156
- dr as DoctInput,
157
- ur as DoctLabel,
158
- x as DoctLabeledInput,
159
- fe as DoctLoginDialog,
160
- Ee as DoctNavigationMenu,
161
- b as DoctOtpInput,
162
- R as DoctPasswordInput,
163
- M as DoctPhoneInput,
164
- Ir as DoctPopover,
165
- Or as DoctPopoverArrow,
166
- Nr as DoctPopoverBackdrop,
167
- Pr as DoctPopoverClose,
168
- Lr as DoctPopoverContent,
169
- gr as DoctPopoverDescription,
170
- xr as DoctPopoverHeader,
171
- fr as DoctPopoverTitle,
172
- br as DoctPopoverTrigger,
173
- Er as DoctPopoverViewport,
174
- Sr as DoctProgress,
175
- wr as DoctRadioGroup,
176
- Fr as DoctRadioGroupItem,
177
- d as DoctSearchFilterSection,
178
- V as DoctSearchInput,
179
- B as DoctSelectField,
180
- Gr as DoctSkeleton,
181
- Br as DoctTabs,
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
- kr as DoctTabsList,
184
- Hr as DoctTabsTrigger,
185
- yr as DoctTextareaField,
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
- Xr as DoctTooltip,
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
- u as DoctUserRegistrationSection,
195
- Se as INDIVIDUAL_NAV_ROUTES,
196
- Me as INDIVIDUAL_NAV_ROUTES_PROD,
197
- we as INDIVIDUAL_NAV_ROUTES_QA,
198
- Ue as IndividualNavigationMenu,
199
- ve as LOGIN_DIALOG_ASSETS,
200
- Be as LOGIN_DIALOG_CONTINUE_ANOTHER_WAY_LABEL,
201
- he as LOGIN_DIALOG_CONTINUE_PHONE_EMAIL_LABEL,
202
- ke as LOGIN_DIALOG_DEFAULT_COPY,
203
- Ye as LOGIN_DIALOG_IMAGE_HEIGHT,
204
- We as LOGIN_DIALOG_IMAGE_WIDTH,
205
- He as LOGIN_DIALOG_RETURNING_HINT,
206
- Ve as LOGIN_DIALOG_RETURNING_PRIMARY_LABEL,
207
- Ke as LOGIN_DRAWER_BACKDROP_CLASS,
208
- Ze as ORGANIZATION_NAV_ROUTES,
209
- ze as ORGANIZATION_NAV_ROUTES_PROD,
210
- Xe as ORGANIZATION_NAV_ROUTES_QA,
211
- qe as OrganizationNavigationMenu,
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
- _e as buildExistingAccountError,
214
- ue as buildLoginWithPhoneLabel,
215
- Ae as buildPhoneDisplay,
216
- $e as isPossiblePhoneNumber,
217
- et as isProdNav,
218
- tt as isQaNav,
219
- ot as isValidPhoneNumber,
220
- at as resolveNavEnv,
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?: "default" | "error" | "success" | "warning" | "destructive" | "info" | null | undefined;
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" | "outline" | "destructive" | null | undefined;
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" | "primary" | "error" | "success" | "warning" | "informative" | "secondary" | "secondary-error" | "secondary-success" | "secondary-warning" | "secondary-informative" | "outline" | "outline-error" | "outline-success" | "outline-warning" | "outline-informative" | "ghost" | "ghost-error" | "ghost-success" | "ghost-warning" | "ghost-informative" | "blue" | "disabled" | "brandBlue" | null | undefined;
5
- size?: "small" | "large" | "medium" | "icon.large" | "icon.medium" | "icon.small" | null | undefined;
6
- iconSize?: "small" | "large" | "medium" | null | undefined;
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;