@craftzbay/ui 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/README.md +14 -8
  2. package/dist-lib/__tests__/helpers/color.d.ts +9 -0
  3. package/dist-lib/__tests__/helpers/theme.d.ts +18 -0
  4. package/dist-lib/components/ui/Accordion.js +18 -7
  5. package/dist-lib/components/ui/Accordion.js.map +1 -1
  6. package/dist-lib/components/ui/Alert.d.ts +16 -0
  7. package/dist-lib/components/ui/Alert.js +47 -34
  8. package/dist-lib/components/ui/Alert.js.map +1 -1
  9. package/dist-lib/components/ui/Avatar.d.ts +1 -1
  10. package/dist-lib/components/ui/Avatar.js +45 -47
  11. package/dist-lib/components/ui/Avatar.js.map +1 -1
  12. package/dist-lib/components/ui/Badge.d.ts +3 -1
  13. package/dist-lib/components/ui/Badge.js +24 -15
  14. package/dist-lib/components/ui/Badge.js.map +1 -1
  15. package/dist-lib/components/ui/Breadcrumbs.d.ts +2 -0
  16. package/dist-lib/components/ui/Breadcrumbs.js +46 -28
  17. package/dist-lib/components/ui/Breadcrumbs.js.map +1 -1
  18. package/dist-lib/components/ui/Button.d.ts +5 -3
  19. package/dist-lib/components/ui/Button.js +59 -45
  20. package/dist-lib/components/ui/Button.js.map +1 -1
  21. package/dist-lib/components/ui/Calendar.d.ts +1 -1
  22. package/dist-lib/components/ui/Calendar.js +87 -59
  23. package/dist-lib/components/ui/Calendar.js.map +1 -1
  24. package/dist-lib/components/ui/Card.d.ts +2 -0
  25. package/dist-lib/components/ui/Card.js +48 -67
  26. package/dist-lib/components/ui/Card.js.map +1 -1
  27. package/dist-lib/components/ui/Carousel.d.ts +6 -6
  28. package/dist-lib/components/ui/Carousel.js +133 -102
  29. package/dist-lib/components/ui/Carousel.js.map +1 -1
  30. package/dist-lib/components/ui/Chart.d.ts +49 -10
  31. package/dist-lib/components/ui/Chart.js +415 -181
  32. package/dist-lib/components/ui/Chart.js.map +1 -1
  33. package/dist-lib/components/ui/Checkbox.js +42 -28
  34. package/dist-lib/components/ui/Checkbox.js.map +1 -1
  35. package/dist-lib/components/ui/Combobox.d.ts +2 -0
  36. package/dist-lib/components/ui/Combobox.js +142 -111
  37. package/dist-lib/components/ui/Combobox.js.map +1 -1
  38. package/dist-lib/components/ui/CommandPalette.d.ts +6 -3
  39. package/dist-lib/components/ui/CommandPalette.js +92 -87
  40. package/dist-lib/components/ui/CommandPalette.js.map +1 -1
  41. package/dist-lib/components/ui/ContextMenu.d.ts +7 -2
  42. package/dist-lib/components/ui/ContextMenu.js +77 -62
  43. package/dist-lib/components/ui/ContextMenu.js.map +1 -1
  44. package/dist-lib/components/ui/DataGrid.d.ts +17 -4
  45. package/dist-lib/components/ui/DataGrid.js +65 -50
  46. package/dist-lib/components/ui/DataGrid.js.map +1 -1
  47. package/dist-lib/components/ui/DatePicker.js +118 -99
  48. package/dist-lib/components/ui/DatePicker.js.map +1 -1
  49. package/dist-lib/components/ui/DesignSystemProvider.d.ts +94 -40
  50. package/dist-lib/components/ui/DesignSystemProvider.js +111 -55
  51. package/dist-lib/components/ui/DesignSystemProvider.js.map +1 -1
  52. package/dist-lib/components/ui/Dialog.d.ts +18 -3
  53. package/dist-lib/components/ui/Dialog.js +105 -80
  54. package/dist-lib/components/ui/Dialog.js.map +1 -1
  55. package/dist-lib/components/ui/Drawer.d.ts +17 -2
  56. package/dist-lib/components/ui/Drawer.js +89 -55
  57. package/dist-lib/components/ui/Drawer.js.map +1 -1
  58. package/dist-lib/components/ui/DropdownMenu.js +14 -9
  59. package/dist-lib/components/ui/DropdownMenu.js.map +1 -1
  60. package/dist-lib/components/ui/EmptyState.d.ts +2 -0
  61. package/dist-lib/components/ui/EmptyState.js +30 -16
  62. package/dist-lib/components/ui/EmptyState.js.map +1 -1
  63. package/dist-lib/components/ui/ErrorState.d.ts +13 -2
  64. package/dist-lib/components/ui/ErrorState.js +44 -23
  65. package/dist-lib/components/ui/ErrorState.js.map +1 -1
  66. package/dist-lib/components/ui/FileUpload.js +59 -56
  67. package/dist-lib/components/ui/FileUpload.js.map +1 -1
  68. package/dist-lib/components/ui/Form.d.ts +15 -2
  69. package/dist-lib/components/ui/Form.js +97 -71
  70. package/dist-lib/components/ui/Form.js.map +1 -1
  71. package/dist-lib/components/ui/Icon.d.ts +1 -1
  72. package/dist-lib/components/ui/Icon.js +20 -14
  73. package/dist-lib/components/ui/Icon.js.map +1 -1
  74. package/dist-lib/components/ui/IconButton.d.ts +2 -2
  75. package/dist-lib/components/ui/IconButton.js +28 -20
  76. package/dist-lib/components/ui/IconButton.js.map +1 -1
  77. package/dist-lib/components/ui/Input.d.ts +3 -1
  78. package/dist-lib/components/ui/Input.js +92 -78
  79. package/dist-lib/components/ui/Input.js.map +1 -1
  80. package/dist-lib/components/ui/Kbd.js +1 -1
  81. package/dist-lib/components/ui/Kbd.js.map +1 -1
  82. package/dist-lib/components/ui/MultiSelect.js +121 -107
  83. package/dist-lib/components/ui/MultiSelect.js.map +1 -1
  84. package/dist-lib/components/ui/Pagination.js +67 -62
  85. package/dist-lib/components/ui/Pagination.js.map +1 -1
  86. package/dist-lib/components/ui/Popover.js +14 -14
  87. package/dist-lib/components/ui/Popover.js.map +1 -1
  88. package/dist-lib/components/ui/Progress.d.ts +3 -3
  89. package/dist-lib/components/ui/Progress.js +77 -72
  90. package/dist-lib/components/ui/Progress.js.map +1 -1
  91. package/dist-lib/components/ui/RadioGroup.d.ts +1 -1
  92. package/dist-lib/components/ui/RadioGroup.js +69 -52
  93. package/dist-lib/components/ui/RadioGroup.js.map +1 -1
  94. package/dist-lib/components/ui/RelativeTime.d.ts +19 -0
  95. package/dist-lib/components/ui/RelativeTime.js +31 -0
  96. package/dist-lib/components/ui/RelativeTime.js.map +1 -0
  97. package/dist-lib/components/ui/ScrollArea.d.ts +9 -1
  98. package/dist-lib/components/ui/ScrollArea.js +43 -27
  99. package/dist-lib/components/ui/ScrollArea.js.map +1 -1
  100. package/dist-lib/components/ui/Select.d.ts +6 -1
  101. package/dist-lib/components/ui/Select.js +79 -71
  102. package/dist-lib/components/ui/Select.js.map +1 -1
  103. package/dist-lib/components/ui/Separator.js +1 -1
  104. package/dist-lib/components/ui/Separator.js.map +1 -1
  105. package/dist-lib/components/ui/Sheet.d.ts +9 -0
  106. package/dist-lib/components/ui/Sheet.js +69 -46
  107. package/dist-lib/components/ui/Sheet.js.map +1 -1
  108. package/dist-lib/components/ui/Sidebar.d.ts +12 -9
  109. package/dist-lib/components/ui/Sidebar.js +152 -109
  110. package/dist-lib/components/ui/Sidebar.js.map +1 -1
  111. package/dist-lib/components/ui/Skeleton.d.ts +13 -2
  112. package/dist-lib/components/ui/Skeleton.js +15 -14
  113. package/dist-lib/components/ui/Skeleton.js.map +1 -1
  114. package/dist-lib/components/ui/Slider.js +41 -29
  115. package/dist-lib/components/ui/Slider.js.map +1 -1
  116. package/dist-lib/components/ui/Snackbar.js +23 -22
  117. package/dist-lib/components/ui/Snackbar.js.map +1 -1
  118. package/dist-lib/components/ui/Spinner.js +18 -6
  119. package/dist-lib/components/ui/Spinner.js.map +1 -1
  120. package/dist-lib/components/ui/Stepper.d.ts +6 -0
  121. package/dist-lib/components/ui/Stepper.js +71 -48
  122. package/dist-lib/components/ui/Stepper.js.map +1 -1
  123. package/dist-lib/components/ui/Switch.js +46 -43
  124. package/dist-lib/components/ui/Switch.js.map +1 -1
  125. package/dist-lib/components/ui/Table.d.ts +33 -5
  126. package/dist-lib/components/ui/Table.js +141 -119
  127. package/dist-lib/components/ui/Table.js.map +1 -1
  128. package/dist-lib/components/ui/Tabs.js +50 -48
  129. package/dist-lib/components/ui/Tabs.js.map +1 -1
  130. package/dist-lib/components/ui/TagInput.js +45 -45
  131. package/dist-lib/components/ui/TagInput.js.map +1 -1
  132. package/dist-lib/components/ui/Textarea.js +65 -54
  133. package/dist-lib/components/ui/Textarea.js.map +1 -1
  134. package/dist-lib/components/ui/Timeline.js +39 -35
  135. package/dist-lib/components/ui/Timeline.js.map +1 -1
  136. package/dist-lib/components/ui/Toast.js +44 -57
  137. package/dist-lib/components/ui/Toast.js.map +1 -1
  138. package/dist-lib/components/ui/Tooltip.d.ts +4 -1
  139. package/dist-lib/components/ui/Tooltip.js +24 -22
  140. package/dist-lib/components/ui/Tooltip.js.map +1 -1
  141. package/dist-lib/components/ui/TopNav.d.ts +7 -3
  142. package/dist-lib/components/ui/TopNav.js +35 -25
  143. package/dist-lib/components/ui/TopNav.js.map +1 -1
  144. package/dist-lib/components/ui/Tree.d.ts +15 -10
  145. package/dist-lib/components/ui/Tree.js +82 -79
  146. package/dist-lib/components/ui/Tree.js.map +1 -1
  147. package/dist-lib/hooks/use-debounce.d.ts +19 -0
  148. package/dist-lib/hooks/use-debounce.js +36 -0
  149. package/dist-lib/hooks/use-debounce.js.map +1 -0
  150. package/dist-lib/hooks/use-delayed-loading.d.ts +21 -0
  151. package/dist-lib/hooks/use-delayed-loading.js +20 -0
  152. package/dist-lib/hooks/use-delayed-loading.js.map +1 -0
  153. package/dist-lib/hooks/use-field-ids.d.ts +2 -1
  154. package/dist-lib/hooks/use-field-ids.js +9 -9
  155. package/dist-lib/hooks/use-field-ids.js.map +1 -1
  156. package/dist-lib/hooks/use-media-query.d.ts +3 -1
  157. package/dist-lib/hooks/use-media-query.js +16 -12
  158. package/dist-lib/hooks/use-media-query.js.map +1 -1
  159. package/dist-lib/hooks/use-modifier-key.d.ts +13 -0
  160. package/dist-lib/hooks/use-modifier-key.js +19 -0
  161. package/dist-lib/hooks/use-modifier-key.js.map +1 -0
  162. package/dist-lib/hooks/use-toast.d.ts +7 -2
  163. package/dist-lib/hooks/use-toast.js +61 -30
  164. package/dist-lib/hooks/use-toast.js.map +1 -1
  165. package/dist-lib/icons/index.d.ts +9 -0
  166. package/dist-lib/icons/index.js +148 -130
  167. package/dist-lib/icons/index.js.map +1 -1
  168. package/dist-lib/illustrations/index.d.ts +1 -0
  169. package/dist-lib/illustrations/index.js +15 -6
  170. package/dist-lib/illustrations/index.js.map +1 -1
  171. package/dist-lib/index.d.ts +6 -0
  172. package/dist-lib/index.js +280 -260
  173. package/dist-lib/index.js.map +1 -1
  174. package/dist-lib/lib/format.d.ts +65 -0
  175. package/dist-lib/lib/format.js +95 -0
  176. package/dist-lib/lib/format.js.map +1 -0
  177. package/dist-lib/lib/return-focus.d.ts +11 -0
  178. package/dist-lib/lib/return-focus.js +12 -0
  179. package/dist-lib/lib/return-focus.js.map +1 -0
  180. package/dist-lib/lib/strings.d.ts +62 -1
  181. package/dist-lib/lib/strings.js +75 -19
  182. package/dist-lib/lib/strings.js.map +1 -1
  183. package/dist-lib/lib/strings.mn.js +50 -5
  184. package/dist-lib/lib/strings.mn.js.map +1 -1
  185. package/dist-lib/styles.css +1 -1
  186. package/dist-lib/theme.css +141 -78
  187. package/package.json +10 -3
package/dist-lib/index.js CHANGED
@@ -1,271 +1,291 @@
1
1
  "use client";
2
2
  /* empty css */
3
3
  import { cn as n } from "./lib/utils.js";
4
- import { defaultStrings as i, formatString as m } from "./lib/strings.js";
4
+ import { defaultStrings as p, formatString as i } from "./lib/strings.js";
5
5
  import { mnStrings as x } from "./lib/strings.mn.js";
6
- import { useMediaQuery as d, usePrefersReducedMotion as C } from "./hooks/use-media-query.js";
7
- import { toast as s, useToast as S } from "./hooks/use-toast.js";
8
- import { useFieldIds as c } from "./hooks/use-field-ids.js";
9
- import { useStrings as D } from "./hooks/use-strings.js";
10
- import * as e from "./icons/index.js";
6
+ import { formatDate as d, formatMNT as f, formatNumber as s, formatPhone as C, getDateTimeFormat as T, parsePhoneMN as S } from "./lib/format.js";
7
+ import { useMediaQuery as D, usePrefersReducedMotion as g } from "./hooks/use-media-query.js";
8
+ import { TOAST_DURATIONS as M, toast as w, useToast as P } from "./hooks/use-toast.js";
9
+ import { useFieldIds as I } from "./hooks/use-field-ids.js";
10
+ import { isApplePlatform as v, useModifierKey as A } from "./hooks/use-modifier-key.js";
11
+ import { useDelayedLoading as R } from "./hooks/use-delayed-loading.js";
12
+ import { useDebounce as G, useDebouncedCallback as y } from "./hooks/use-debounce.js";
13
+ import { useStrings as H } from "./hooks/use-strings.js";
14
+ import * as o from "./icons/index.js";
11
15
  import * as r from "./illustrations/index.js";
12
- import { Accordion as M, AccordionContent as w, AccordionItem as P, AccordionTrigger as h } from "./components/ui/Accordion.js";
13
- import { Alert as F } from "./components/ui/Alert.js";
14
- import { Avatar as A, AvatarGroup as L } from "./components/ui/Avatar.js";
15
- import { Badge as G } from "./components/ui/Badge.js";
16
- import { Breadcrumbs as k } from "./components/ui/Breadcrumbs.js";
17
- import { Button as y } from "./components/ui/Button.js";
18
- import { Card as N, CardContent as O, CardDescription as U, CardFooter as V, CardHeader as _, CardTitle as K } from "./components/ui/Card.js";
19
- import { Checkbox as $ } from "./components/ui/Checkbox.js";
20
- import { Combobox as q } from "./components/ui/Combobox.js";
21
- import { Command as J, CommandDialog as W, CommandEmpty as X, CommandGroup as Y, CommandInput as Z, CommandItem as oo, CommandList as eo, CommandSeparator as ro, CommandShortcut as to, useCommandPaletteShortcut as ao } from "./components/ui/CommandPalette.js";
22
- import { ContextMenu as po, ContextMenuCheckboxItem as io, ContextMenuContent as mo, ContextMenuGroup as lo, ContextMenuItem as xo, ContextMenuLabel as uo, ContextMenuPortal as Co, ContextMenuRadioGroup as fo, ContextMenuRadioItem as so, ContextMenuSeparator as So, ContextMenuShortcut as To, ContextMenuSub as co, ContextMenuSubContent as go, ContextMenuSubTrigger as Do, ContextMenuTrigger as bo } from "./components/ui/ContextMenu.js";
23
- import { DataGrid as wo } from "./components/ui/DataGrid.js";
24
- import { DatePicker as ho, DateRangePicker as Io } from "./components/ui/DatePicker.js";
25
- import { DesignSystemProvider as vo, brandPresets as Ao } from "./components/ui/DesignSystemProvider.js";
26
- import { ConfirmationDialog as Ro, Dialog as Go, DialogClose as Bo, DialogContent as ko, DialogDescription as Ho, DialogFooter as yo, DialogHeader as Eo, DialogOverlay as No, DialogPortal as Oo, DialogTitle as Uo, DialogTrigger as Vo } from "./components/ui/Dialog.js";
27
- import { DropdownMenu as Ko, DropdownMenuCheckboxItem as Qo, DropdownMenuContent as $o, DropdownMenuGroup as jo, DropdownMenuItem as qo, DropdownMenuLabel as zo, DropdownMenuPortal as Jo, DropdownMenuRadioGroup as Wo, DropdownMenuRadioItem as Xo, DropdownMenuSeparator as Yo, DropdownMenuShortcut as Zo, DropdownMenuSub as oe, DropdownMenuSubContent as ee, DropdownMenuSubTrigger as re, DropdownMenuTrigger as te } from "./components/ui/DropdownMenu.js";
28
- import { EmptyState as ne } from "./components/ui/EmptyState.js";
29
- import { ErrorState as ie } from "./components/ui/ErrorState.js";
30
- import { Form as le, FormControl as xe, FormDescription as ue, FormError as de, FormField as Ce, FormItem as fe, FormLabel as se, useFormField as Se } from "./components/ui/Form.js";
31
- import { IconButton as ce } from "./components/ui/IconButton.js";
32
- import { Input as De } from "./components/ui/Input.js";
33
- import { Kbd as Me } from "./components/ui/Kbd.js";
34
- import { MultiSelect as Pe } from "./components/ui/MultiSelect.js";
35
- import { Pagination as Ie, defaultPaginationLabels as Fe, paginationLabelsFromStrings as ve } from "./components/ui/Pagination.js";
36
- import { Popover as Le, PopoverAnchor as Re, PopoverClose as Ge, PopoverContent as Be, PopoverTrigger as ke } from "./components/ui/Popover.js";
37
- import { Progress as ye, ProgressCircle as Ee } from "./components/ui/Progress.js";
38
- import { RadioGroup as Oe, RadioItem as Ue } from "./components/ui/RadioGroup.js";
39
- import { ScrollArea as _e, ScrollBar as Ke } from "./components/ui/ScrollArea.js";
40
- import { Select as $e, SelectContent as je, SelectGroup as qe, SelectItem as ze, SelectLabel as Je, SelectScrollDownButton as We, SelectScrollUpButton as Xe, SelectSeparator as Ye, SelectTrigger as Ze, SelectValue as or } from "./components/ui/Select.js";
41
- import { Separator as rr } from "./components/ui/Separator.js";
42
- import { Sheet as ar, SheetClose as nr, SheetContent as pr, SheetDescription as ir, SheetFooter as mr, SheetHeader as lr, SheetPortal as xr, SheetTitle as ur, SheetTrigger as dr } from "./components/ui/Sheet.js";
43
- import { Sidebar as fr, SidebarGroup as sr, SidebarItem as Sr, SidebarSection as Tr, useSidebar as cr } from "./components/ui/Sidebar.js";
44
- import { Skeleton as Dr } from "./components/ui/Skeleton.js";
45
- import { Slider as Mr } from "./components/ui/Slider.js";
46
- import { Spinner as Pr } from "./components/ui/Spinner.js";
47
- import { Stepper as Ir } from "./components/ui/Stepper.js";
48
- import { Switch as vr } from "./components/ui/Switch.js";
49
- import { Table as Lr, TableBody as Rr, TableCaption as Gr, TableCell as Br, TableFooter as kr, TableHead as Hr, TableHeader as yr, TableRow as Er, TableSortHeader as Nr } from "./components/ui/Table.js";
50
- import { Tabs as Ur, TabsContent as Vr, TabsList as _r, TabsTrigger as Kr } from "./components/ui/Tabs.js";
51
- import { Textarea as $r } from "./components/ui/Textarea.js";
52
- import { Toast as qr, ToastAction as zr, ToastClose as Jr, ToastDescription as Wr, ToastProvider as Xr, ToastTitle as Yr, ToastViewport as Zr, Toaster as ot } from "./components/ui/Toast.js";
53
- import { Tooltip as rt, TooltipContent as tt, TooltipProvider as at, TooltipRoot as nt, TooltipTrigger as pt } from "./components/ui/Tooltip.js";
54
- import { TopNav as mt, TopNavLink as lt } from "./components/ui/TopNav.js";
55
- import { Calendar as ut } from "./components/ui/Calendar.js";
56
- import { Carousel as Ct, CarouselContent as ft, CarouselItem as st, CarouselNext as St, CarouselPrevious as Tt } from "./components/ui/Carousel.js";
57
- import { AreaChart as gt, BarChart as Dt, DEFAULT_CHART_COLORS as bt, LineChart as Mt, abbreviateNumber as wt } from "./components/ui/Chart.js";
58
- import { Drawer as ht, DrawerClose as It, DrawerContent as Ft, DrawerDescription as vt, DrawerFooter as At, DrawerHeader as Lt, DrawerOverlay as Rt, DrawerPortal as Gt, DrawerTitle as Bt, DrawerTrigger as kt } from "./components/ui/Drawer.js";
59
- import { FileUpload as yt } from "./components/ui/FileUpload.js";
60
- import { Snackbar as Nt } from "./components/ui/Snackbar.js";
61
- import { TagInput as Ut } from "./components/ui/TagInput.js";
62
- import { Timeline as _t, TimelineDescription as Kt, TimelineItem as Qt, TimelineTime as $t, TimelineTitle as jt } from "./components/ui/Timeline.js";
63
- import { Tree as zt } from "./components/ui/Tree.js";
64
- import { cva as Wt } from "class-variance-authority";
16
+ import { Accordion as O, AccordionContent as E, AccordionItem as U, AccordionTrigger as _ } from "./components/ui/Accordion.js";
17
+ import { Alert as V } from "./components/ui/Alert.js";
18
+ import { Avatar as $, AvatarGroup as j } from "./components/ui/Avatar.js";
19
+ import { Badge as z } from "./components/ui/Badge.js";
20
+ import { Breadcrumbs as W } from "./components/ui/Breadcrumbs.js";
21
+ import { Button as Y } from "./components/ui/Button.js";
22
+ import { Card as ee, CardContent as oe, CardDescription as re, CardFooter as te, CardHeader as ae, CardTitle as ne } from "./components/ui/Card.js";
23
+ import { Checkbox as pe } from "./components/ui/Checkbox.js";
24
+ import { Combobox as le } from "./components/ui/Combobox.js";
25
+ import { Command as ue, CommandDialog as de, CommandEmpty as fe, CommandGroup as se, CommandInput as Ce, CommandItem as Te, CommandList as Se, CommandSeparator as ce, CommandShortcut as De, useCommandPaletteShortcut as ge } from "./components/ui/CommandPalette.js";
26
+ import { ContextMenu as Me, ContextMenuCheckboxItem as we, ContextMenuContent as Pe, ContextMenuGroup as he, ContextMenuItem as Ie, ContextMenuLabel as Fe, ContextMenuPortal as ve, ContextMenuRadioGroup as Ae, ContextMenuRadioItem as Le, ContextMenuSeparator as Re, ContextMenuShortcut as ke, ContextMenuSub as Ge, ContextMenuSubContent as ye, ContextMenuSubTrigger as Be, ContextMenuTrigger as He } from "./components/ui/ContextMenu.js";
27
+ import { DataGrid as Oe } from "./components/ui/DataGrid.js";
28
+ import { DatePicker as Ue, DateRangePicker as _e } from "./components/ui/DatePicker.js";
29
+ import { DesignSystemProvider as Ve, brandPresets as Qe } from "./components/ui/DesignSystemProvider.js";
30
+ import { ConfirmationDialog as je, Dialog as qe, DialogClose as ze, DialogContent as Je, DialogDescription as We, DialogFooter as Xe, DialogHeader as Ye, DialogOverlay as Ze, DialogPortal as eo, DialogTitle as oo, DialogTrigger as ro } from "./components/ui/Dialog.js";
31
+ import { DropdownMenu as ao, DropdownMenuCheckboxItem as no, DropdownMenuContent as mo, DropdownMenuGroup as po, DropdownMenuItem as io, DropdownMenuLabel as lo, DropdownMenuPortal as xo, DropdownMenuRadioGroup as uo, DropdownMenuRadioItem as fo, DropdownMenuSeparator as so, DropdownMenuShortcut as Co, DropdownMenuSub as To, DropdownMenuSubContent as So, DropdownMenuSubTrigger as co, DropdownMenuTrigger as Do } from "./components/ui/DropdownMenu.js";
32
+ import { EmptyState as bo } from "./components/ui/EmptyState.js";
33
+ import { ErrorState as wo } from "./components/ui/ErrorState.js";
34
+ import { Form as ho, FormControl as Io, FormDescription as Fo, FormError as vo, FormField as Ao, FormItem as Lo, FormLabel as Ro, useFormField as ko } from "./components/ui/Form.js";
35
+ import { IconButton as yo } from "./components/ui/IconButton.js";
36
+ import { Input as Ho } from "./components/ui/Input.js";
37
+ import { Kbd as Oo } from "./components/ui/Kbd.js";
38
+ import { MultiSelect as Uo } from "./components/ui/MultiSelect.js";
39
+ import { Pagination as Ko, defaultPaginationLabels as Vo, paginationLabelsFromStrings as Qo } from "./components/ui/Pagination.js";
40
+ import { Popover as jo, PopoverAnchor as qo, PopoverClose as zo, PopoverContent as Jo, PopoverTrigger as Wo } from "./components/ui/Popover.js";
41
+ import { Progress as Yo, ProgressCircle as Zo } from "./components/ui/Progress.js";
42
+ import { RadioGroup as or, RadioItem as rr } from "./components/ui/RadioGroup.js";
43
+ import { ScrollArea as ar, ScrollBar as nr } from "./components/ui/ScrollArea.js";
44
+ import { Select as pr, SelectContent as ir, SelectGroup as lr, SelectItem as xr, SelectLabel as ur, SelectScrollDownButton as dr, SelectScrollUpButton as fr, SelectSeparator as sr, SelectTrigger as Cr, SelectValue as Tr } from "./components/ui/Select.js";
45
+ import { Separator as cr } from "./components/ui/Separator.js";
46
+ import { Sheet as gr, SheetClose as br, SheetContent as Mr, SheetDescription as wr, SheetFooter as Pr, SheetHeader as hr, SheetPortal as Ir, SheetTitle as Fr, SheetTrigger as vr } from "./components/ui/Sheet.js";
47
+ import { Sidebar as Lr, SidebarGroup as Rr, SidebarItem as kr, SidebarSection as Gr, useSidebar as yr } from "./components/ui/Sidebar.js";
48
+ import { Skeleton as Hr } from "./components/ui/Skeleton.js";
49
+ import { Slider as Or } from "./components/ui/Slider.js";
50
+ import { Spinner as Ur } from "./components/ui/Spinner.js";
51
+ import { Stepper as Kr } from "./components/ui/Stepper.js";
52
+ import { Switch as Qr } from "./components/ui/Switch.js";
53
+ import { Table as jr, TableBody as qr, TableCaption as zr, TableCell as Jr, TableFooter as Wr, TableHead as Xr, TableHeader as Yr, TableRow as Zr, TableSortHeader as et } from "./components/ui/Table.js";
54
+ import { Tabs as rt, TabsContent as tt, TabsList as at, TabsTrigger as nt } from "./components/ui/Tabs.js";
55
+ import { Textarea as pt } from "./components/ui/Textarea.js";
56
+ import { Toast as lt, ToastAction as xt, ToastClose as ut, ToastDescription as dt, ToastProvider as ft, ToastTitle as st, ToastViewport as Ct, Toaster as Tt } from "./components/ui/Toast.js";
57
+ import { Tooltip as ct, TooltipContent as Dt, TooltipProvider as gt, TooltipRoot as bt, TooltipTrigger as Mt } from "./components/ui/Tooltip.js";
58
+ import { TopNav as Pt, TopNavLink as ht } from "./components/ui/TopNav.js";
59
+ import { Calendar as Ft } from "./components/ui/Calendar.js";
60
+ import { Carousel as At, CarouselContent as Lt, CarouselItem as Rt, CarouselNext as kt, CarouselPrevious as Gt } from "./components/ui/Carousel.js";
61
+ import { AreaChart as Bt, BarChart as Ht, DEFAULT_CHART_COLORS as Nt, LineChart as Ot, abbreviateNumber as Et, defaultChartLabels as Ut, niceTicks as _t } from "./components/ui/Chart.js";
62
+ import { RelativeTime as Vt } from "./components/ui/RelativeTime.js";
63
+ import { Drawer as $t, DrawerClose as jt, DrawerContent as qt, DrawerDescription as zt, DrawerFooter as Jt, DrawerHeader as Wt, DrawerOverlay as Xt, DrawerPortal as Yt, DrawerTitle as Zt, DrawerTrigger as ea } from "./components/ui/Drawer.js";
64
+ import { FileUpload as ra } from "./components/ui/FileUpload.js";
65
+ import { Snackbar as aa } from "./components/ui/Snackbar.js";
66
+ import { TagInput as ma } from "./components/ui/TagInput.js";
67
+ import { Timeline as ia, TimelineDescription as la, TimelineItem as xa, TimelineTime as ua, TimelineTitle as da } from "./components/ui/Timeline.js";
68
+ import { Tree as sa } from "./components/ui/Tree.js";
69
+ import { cva as Ta } from "class-variance-authority";
65
70
  export {
66
- M as Accordion,
67
- w as AccordionContent,
68
- P as AccordionItem,
69
- h as AccordionTrigger,
70
- F as Alert,
71
- gt as AreaChart,
72
- A as Avatar,
73
- L as AvatarGroup,
74
- G as Badge,
75
- Dt as BarChart,
76
- k as Breadcrumbs,
77
- y as Button,
78
- ut as Calendar,
79
- N as Card,
80
- O as CardContent,
81
- U as CardDescription,
82
- V as CardFooter,
83
- _ as CardHeader,
84
- K as CardTitle,
85
- Ct as Carousel,
86
- ft as CarouselContent,
87
- st as CarouselItem,
88
- St as CarouselNext,
89
- Tt as CarouselPrevious,
90
- $ as Checkbox,
91
- q as Combobox,
92
- J as Command,
93
- W as CommandDialog,
94
- X as CommandEmpty,
95
- Y as CommandGroup,
96
- Z as CommandInput,
97
- oo as CommandItem,
98
- eo as CommandList,
99
- ro as CommandSeparator,
100
- to as CommandShortcut,
101
- Ro as ConfirmationDialog,
102
- po as ContextMenu,
103
- io as ContextMenuCheckboxItem,
104
- mo as ContextMenuContent,
105
- lo as ContextMenuGroup,
106
- xo as ContextMenuItem,
107
- uo as ContextMenuLabel,
108
- Co as ContextMenuPortal,
109
- fo as ContextMenuRadioGroup,
110
- so as ContextMenuRadioItem,
111
- So as ContextMenuSeparator,
112
- To as ContextMenuShortcut,
113
- co as ContextMenuSub,
114
- go as ContextMenuSubContent,
115
- Do as ContextMenuSubTrigger,
116
- bo as ContextMenuTrigger,
117
- bt as DEFAULT_CHART_COLORS,
118
- wo as DataGrid,
119
- ho as DatePicker,
120
- Io as DateRangePicker,
121
- vo as DesignSystemProvider,
122
- Go as Dialog,
123
- Bo as DialogClose,
124
- ko as DialogContent,
125
- Ho as DialogDescription,
126
- yo as DialogFooter,
127
- Eo as DialogHeader,
128
- No as DialogOverlay,
129
- Oo as DialogPortal,
130
- Uo as DialogTitle,
131
- Vo as DialogTrigger,
132
- ht as Drawer,
133
- It as DrawerClose,
134
- Ft as DrawerContent,
135
- vt as DrawerDescription,
136
- At as DrawerFooter,
137
- Lt as DrawerHeader,
138
- Rt as DrawerOverlay,
139
- Gt as DrawerPortal,
140
- Bt as DrawerTitle,
141
- kt as DrawerTrigger,
142
- Ko as DropdownMenu,
143
- Qo as DropdownMenuCheckboxItem,
144
- $o as DropdownMenuContent,
145
- jo as DropdownMenuGroup,
146
- qo as DropdownMenuItem,
147
- zo as DropdownMenuLabel,
148
- Jo as DropdownMenuPortal,
149
- Wo as DropdownMenuRadioGroup,
150
- Xo as DropdownMenuRadioItem,
151
- Yo as DropdownMenuSeparator,
152
- Zo as DropdownMenuShortcut,
153
- oe as DropdownMenuSub,
154
- ee as DropdownMenuSubContent,
155
- re as DropdownMenuSubTrigger,
156
- te as DropdownMenuTrigger,
157
- ne as EmptyState,
158
- ie as ErrorState,
159
- yt as FileUpload,
160
- le as Form,
161
- xe as FormControl,
162
- ue as FormDescription,
163
- de as FormError,
164
- Ce as FormField,
165
- fe as FormItem,
166
- se as FormLabel,
167
- ce as IconButton,
168
- e as Icons,
71
+ O as Accordion,
72
+ E as AccordionContent,
73
+ U as AccordionItem,
74
+ _ as AccordionTrigger,
75
+ V as Alert,
76
+ Bt as AreaChart,
77
+ $ as Avatar,
78
+ j as AvatarGroup,
79
+ z as Badge,
80
+ Ht as BarChart,
81
+ W as Breadcrumbs,
82
+ Y as Button,
83
+ Ft as Calendar,
84
+ ee as Card,
85
+ oe as CardContent,
86
+ re as CardDescription,
87
+ te as CardFooter,
88
+ ae as CardHeader,
89
+ ne as CardTitle,
90
+ At as Carousel,
91
+ Lt as CarouselContent,
92
+ Rt as CarouselItem,
93
+ kt as CarouselNext,
94
+ Gt as CarouselPrevious,
95
+ pe as Checkbox,
96
+ le as Combobox,
97
+ ue as Command,
98
+ de as CommandDialog,
99
+ fe as CommandEmpty,
100
+ se as CommandGroup,
101
+ Ce as CommandInput,
102
+ Te as CommandItem,
103
+ Se as CommandList,
104
+ ce as CommandSeparator,
105
+ De as CommandShortcut,
106
+ je as ConfirmationDialog,
107
+ Me as ContextMenu,
108
+ we as ContextMenuCheckboxItem,
109
+ Pe as ContextMenuContent,
110
+ he as ContextMenuGroup,
111
+ Ie as ContextMenuItem,
112
+ Fe as ContextMenuLabel,
113
+ ve as ContextMenuPortal,
114
+ Ae as ContextMenuRadioGroup,
115
+ Le as ContextMenuRadioItem,
116
+ Re as ContextMenuSeparator,
117
+ ke as ContextMenuShortcut,
118
+ Ge as ContextMenuSub,
119
+ ye as ContextMenuSubContent,
120
+ Be as ContextMenuSubTrigger,
121
+ He as ContextMenuTrigger,
122
+ Nt as DEFAULT_CHART_COLORS,
123
+ Oe as DataGrid,
124
+ Ue as DatePicker,
125
+ _e as DateRangePicker,
126
+ Ve as DesignSystemProvider,
127
+ qe as Dialog,
128
+ ze as DialogClose,
129
+ Je as DialogContent,
130
+ We as DialogDescription,
131
+ Xe as DialogFooter,
132
+ Ye as DialogHeader,
133
+ Ze as DialogOverlay,
134
+ eo as DialogPortal,
135
+ oo as DialogTitle,
136
+ ro as DialogTrigger,
137
+ $t as Drawer,
138
+ jt as DrawerClose,
139
+ qt as DrawerContent,
140
+ zt as DrawerDescription,
141
+ Jt as DrawerFooter,
142
+ Wt as DrawerHeader,
143
+ Xt as DrawerOverlay,
144
+ Yt as DrawerPortal,
145
+ Zt as DrawerTitle,
146
+ ea as DrawerTrigger,
147
+ ao as DropdownMenu,
148
+ no as DropdownMenuCheckboxItem,
149
+ mo as DropdownMenuContent,
150
+ po as DropdownMenuGroup,
151
+ io as DropdownMenuItem,
152
+ lo as DropdownMenuLabel,
153
+ xo as DropdownMenuPortal,
154
+ uo as DropdownMenuRadioGroup,
155
+ fo as DropdownMenuRadioItem,
156
+ so as DropdownMenuSeparator,
157
+ Co as DropdownMenuShortcut,
158
+ To as DropdownMenuSub,
159
+ So as DropdownMenuSubContent,
160
+ co as DropdownMenuSubTrigger,
161
+ Do as DropdownMenuTrigger,
162
+ bo as EmptyState,
163
+ wo as ErrorState,
164
+ ra as FileUpload,
165
+ ho as Form,
166
+ Io as FormControl,
167
+ Fo as FormDescription,
168
+ vo as FormError,
169
+ Ao as FormField,
170
+ Lo as FormItem,
171
+ Ro as FormLabel,
172
+ yo as IconButton,
173
+ o as Icons,
169
174
  r as Illustrations,
170
- De as Input,
171
- Me as Kbd,
172
- Mt as LineChart,
173
- Pe as MultiSelect,
174
- Ie as Pagination,
175
- Le as Popover,
176
- Re as PopoverAnchor,
177
- Ge as PopoverClose,
178
- Be as PopoverContent,
179
- ke as PopoverTrigger,
180
- ye as Progress,
181
- Ee as ProgressCircle,
182
- Oe as RadioGroup,
183
- Ue as RadioItem,
184
- _e as ScrollArea,
185
- Ke as ScrollBar,
186
- $e as Select,
187
- je as SelectContent,
188
- qe as SelectGroup,
189
- ze as SelectItem,
190
- Je as SelectLabel,
191
- We as SelectScrollDownButton,
192
- Xe as SelectScrollUpButton,
193
- Ye as SelectSeparator,
194
- Ze as SelectTrigger,
195
- or as SelectValue,
196
- rr as Separator,
197
- ar as Sheet,
198
- nr as SheetClose,
199
- pr as SheetContent,
200
- ir as SheetDescription,
201
- mr as SheetFooter,
202
- lr as SheetHeader,
203
- xr as SheetPortal,
204
- ur as SheetTitle,
205
- dr as SheetTrigger,
206
- fr as Sidebar,
207
- sr as SidebarGroup,
208
- Sr as SidebarItem,
209
- Tr as SidebarSection,
210
- Dr as Skeleton,
211
- Mr as Slider,
212
- Nt as Snackbar,
213
- Pr as Spinner,
214
- Ir as Stepper,
215
- vr as Switch,
216
- Lr as Table,
217
- Rr as TableBody,
218
- Gr as TableCaption,
219
- Br as TableCell,
220
- kr as TableFooter,
221
- Hr as TableHead,
222
- yr as TableHeader,
223
- Er as TableRow,
224
- Nr as TableSortHeader,
225
- Ur as Tabs,
226
- Vr as TabsContent,
227
- _r as TabsList,
228
- Kr as TabsTrigger,
229
- Ut as TagInput,
230
- $r as Textarea,
231
- _t as Timeline,
232
- Kt as TimelineDescription,
233
- Qt as TimelineItem,
234
- $t as TimelineTime,
235
- jt as TimelineTitle,
236
- qr as Toast,
237
- zr as ToastAction,
238
- Jr as ToastClose,
239
- Wr as ToastDescription,
240
- Xr as ToastProvider,
241
- Yr as ToastTitle,
242
- Zr as ToastViewport,
243
- ot as Toaster,
244
- rt as Tooltip,
245
- tt as TooltipContent,
246
- at as TooltipProvider,
247
- nt as TooltipRoot,
248
- pt as TooltipTrigger,
249
- mt as TopNav,
250
- lt as TopNavLink,
251
- zt as Tree,
252
- wt as abbreviateNumber,
253
- Ao as brandPresets,
175
+ Ho as Input,
176
+ Oo as Kbd,
177
+ Ot as LineChart,
178
+ Uo as MultiSelect,
179
+ Ko as Pagination,
180
+ jo as Popover,
181
+ qo as PopoverAnchor,
182
+ zo as PopoverClose,
183
+ Jo as PopoverContent,
184
+ Wo as PopoverTrigger,
185
+ Yo as Progress,
186
+ Zo as ProgressCircle,
187
+ or as RadioGroup,
188
+ rr as RadioItem,
189
+ Vt as RelativeTime,
190
+ ar as ScrollArea,
191
+ nr as ScrollBar,
192
+ pr as Select,
193
+ ir as SelectContent,
194
+ lr as SelectGroup,
195
+ xr as SelectItem,
196
+ ur as SelectLabel,
197
+ dr as SelectScrollDownButton,
198
+ fr as SelectScrollUpButton,
199
+ sr as SelectSeparator,
200
+ Cr as SelectTrigger,
201
+ Tr as SelectValue,
202
+ cr as Separator,
203
+ gr as Sheet,
204
+ br as SheetClose,
205
+ Mr as SheetContent,
206
+ wr as SheetDescription,
207
+ Pr as SheetFooter,
208
+ hr as SheetHeader,
209
+ Ir as SheetPortal,
210
+ Fr as SheetTitle,
211
+ vr as SheetTrigger,
212
+ Lr as Sidebar,
213
+ Rr as SidebarGroup,
214
+ kr as SidebarItem,
215
+ Gr as SidebarSection,
216
+ Hr as Skeleton,
217
+ Or as Slider,
218
+ aa as Snackbar,
219
+ Ur as Spinner,
220
+ Kr as Stepper,
221
+ Qr as Switch,
222
+ M as TOAST_DURATIONS,
223
+ jr as Table,
224
+ qr as TableBody,
225
+ zr as TableCaption,
226
+ Jr as TableCell,
227
+ Wr as TableFooter,
228
+ Xr as TableHead,
229
+ Yr as TableHeader,
230
+ Zr as TableRow,
231
+ et as TableSortHeader,
232
+ rt as Tabs,
233
+ tt as TabsContent,
234
+ at as TabsList,
235
+ nt as TabsTrigger,
236
+ ma as TagInput,
237
+ pt as Textarea,
238
+ ia as Timeline,
239
+ la as TimelineDescription,
240
+ xa as TimelineItem,
241
+ ua as TimelineTime,
242
+ da as TimelineTitle,
243
+ lt as Toast,
244
+ xt as ToastAction,
245
+ ut as ToastClose,
246
+ dt as ToastDescription,
247
+ ft as ToastProvider,
248
+ st as ToastTitle,
249
+ Ct as ToastViewport,
250
+ Tt as Toaster,
251
+ ct as Tooltip,
252
+ Dt as TooltipContent,
253
+ gt as TooltipProvider,
254
+ bt as TooltipRoot,
255
+ Mt as TooltipTrigger,
256
+ Pt as TopNav,
257
+ ht as TopNavLink,
258
+ sa as Tree,
259
+ Et as abbreviateNumber,
260
+ Qe as brandPresets,
254
261
  n as cn,
255
- Wt as cva,
256
- Fe as defaultPaginationLabels,
257
- i as defaultStrings,
258
- m as formatString,
262
+ Ta as cva,
263
+ Ut as defaultChartLabels,
264
+ Vo as defaultPaginationLabels,
265
+ p as defaultStrings,
266
+ d as formatDate,
267
+ f as formatMNT,
268
+ s as formatNumber,
269
+ C as formatPhone,
270
+ i as formatString,
271
+ T as getDateTimeFormat,
272
+ v as isApplePlatform,
259
273
  x as mnStrings,
260
- ve as paginationLabelsFromStrings,
261
- s as toast,
262
- ao as useCommandPaletteShortcut,
263
- c as useFieldIds,
264
- Se as useFormField,
265
- d as useMediaQuery,
266
- C as usePrefersReducedMotion,
267
- cr as useSidebar,
268
- D as useStrings,
269
- S as useToast
274
+ _t as niceTicks,
275
+ Qo as paginationLabelsFromStrings,
276
+ S as parsePhoneMN,
277
+ w as toast,
278
+ ge as useCommandPaletteShortcut,
279
+ G as useDebounce,
280
+ y as useDebouncedCallback,
281
+ R as useDelayedLoading,
282
+ I as useFieldIds,
283
+ ko as useFormField,
284
+ D as useMediaQuery,
285
+ A as useModifierKey,
286
+ g as usePrefersReducedMotion,
287
+ yr as useSidebar,
288
+ H as useStrings,
289
+ P as useToast
270
290
  };
271
291
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,65 @@
1
+ /**
2
+ * Dependency-free locale helpers. Defaults target Mongolia (Asia/Ulaanbaatar,
3
+ * `₮` suffix, `,` thousands) but every option is overridable.
4
+ */
5
+ export interface FormatDateOptions {
6
+ /** IANA zone. Default `Asia/Ulaanbaatar`. */
7
+ tz?: string;
8
+ /**
9
+ * Tokens: `yyyy` `MM` `dd` `HH` `mm` `ss`, plus `M`/`d`/`H` (unpadded).
10
+ * Default `yyyy-MM-dd HH:mm`.
11
+ */
12
+ pattern?: string;
13
+ }
14
+ export declare function getDateTimeFormat(tz: string): Intl.DateTimeFormat;
15
+ /**
16
+ * Format a date in a fixed time zone with a small token pattern.
17
+ *
18
+ * @example
19
+ * formatDate(new Date('2026-08-20T02:05:00Z')) // "2026-08-20 10:05"
20
+ * formatDate(d, { pattern: 'dd.MM.yyyy', tz: 'UTC' }) // "20.08.2026"
21
+ */
22
+ export declare function formatDate(date: Date | number | string, { tz, pattern }?: FormatDateOptions): string;
23
+ export interface FormatNumberOptions {
24
+ /** Max fraction digits. Default 2. */
25
+ maximumFractionDigits?: number;
26
+ /** Min fraction digits. Default 0. */
27
+ minimumFractionDigits?: number;
28
+ /** Thousands separator. Default `,`. */
29
+ group?: string;
30
+ /** Decimal separator. Default `.`. */
31
+ decimal?: string;
32
+ }
33
+ /**
34
+ * Group thousands with a fixed separator (locale-independent, so SSR and
35
+ * client always agree).
36
+ *
37
+ * @example formatNumber(1250000) // "1,250,000"
38
+ */
39
+ export declare function formatNumber(n: number, { maximumFractionDigits, minimumFractionDigits, group, decimal, }?: FormatNumberOptions): string;
40
+ export interface FormatMNTOptions extends Omit<FormatNumberOptions, 'maximumFractionDigits'> {
41
+ /** Abbreviate ≥1,000 as `K` / `M` / `B` with one decimal: `12.4M₮`, `850K₮`. */
42
+ compact?: boolean;
43
+ }
44
+ /**
45
+ * Mongolian tögrög: grouped integer + `₮` suffix, no space.
46
+ *
47
+ * @example formatMNT(1250000) // "1,250,000₮"
48
+ * @example formatMNT(12400000, { compact: true }) // "12.4M₮"
49
+ * @example formatMNT(850000, { compact: true }) // "850K₮"
50
+ */
51
+ export declare function formatMNT(n: number, { compact, ...options }?: FormatMNTOptions): string;
52
+ /**
53
+ * Display form for Mongolian phone numbers. Accepts `XXXXXXXX`, `+976XXXXXXXX`,
54
+ * `976XXXXXXXX`, or already-spaced input; anything else is returned unchanged.
55
+ *
56
+ * @example formatPhone('99112233') // "+976 9911 2233"
57
+ * @example formatPhone('+97699112233') // "+976 9911 2233"
58
+ * @example formatPhone('+1 555 0100') // "+1 555 0100" (non-MN, untouched)
59
+ */
60
+ export declare function formatPhone(input: string): string;
61
+ /**
62
+ * Normalise a Mongolian phone number to E.164 (`+976XXXXXXXX`) for storage.
63
+ * Returns `null` when the input is not an 8-digit MN number.
64
+ */
65
+ export declare function parsePhoneMN(input: string): string | null;