@datum-cloud/datum-ui 0.1.0 → 0.2.0-alpha.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 (60) hide show
  1. package/dist/chunk-CtajNgzt.mjs +36 -0
  2. package/dist/close.icon-DgjsP0sw.mjs +23 -0
  3. package/dist/close.icon-DgjsP0sw.mjs.map +1 -0
  4. package/dist/components/index.d.mts +27 -0
  5. package/dist/components/index.d.mts.map +1 -0
  6. package/dist/components/index.mjs +252 -0
  7. package/dist/components/index.mjs.map +1 -0
  8. package/dist/datum.provider-CsG2KNNc.d.mts +30 -0
  9. package/dist/datum.provider-CsG2KNNc.d.mts.map +1 -0
  10. package/dist/datum.provider-D6VMjSV0.mjs +38 -0
  11. package/dist/datum.provider-D6VMjSV0.mjs.map +1 -0
  12. package/dist/fonts/AllianceNo1-Medium.ttf +0 -0
  13. package/dist/fonts/AllianceNo1-Regular.ttf +0 -0
  14. package/dist/fonts/AllianceNo1-SemiBold.ttf +0 -0
  15. package/dist/fonts/FTRegolaNeue-Medium.woff2 +0 -0
  16. package/dist/fonts/FTRegolaNeue-Regular.woff2 +0 -0
  17. package/dist/fonts/FTRegolaNeue-Semibold.woff2 +0 -0
  18. package/dist/hooks/index.d.mts +3 -0
  19. package/dist/hooks/index.mjs +5 -0
  20. package/dist/icon-wrapper-BTllM5Re.mjs +62 -0
  21. package/dist/icon-wrapper-BTllM5Re.mjs.map +1 -0
  22. package/dist/icons/index.d.mts +3 -0
  23. package/dist/icons/index.mjs +5 -0
  24. package/dist/index-DH2XEEjO.d.mts +3995 -0
  25. package/dist/index-DH2XEEjO.d.mts.map +1 -0
  26. package/dist/index.d.mts +29 -50
  27. package/dist/index.d.mts.map +1 -0
  28. package/dist/index.mjs +251 -3479
  29. package/dist/index.mjs.map +1 -0
  30. package/dist/providers/index.d.mts +3 -0
  31. package/dist/providers/index.mjs +4 -0
  32. package/dist/spinner.icon-q9zisVlw.d.mts +46 -0
  33. package/dist/spinner.icon-q9zisVlw.d.mts.map +1 -0
  34. package/dist/style.css +7096 -0
  35. package/dist/style.css.map +1 -0
  36. package/dist/theme-script-B_TkiYs4.mjs +8841 -0
  37. package/dist/theme-script-B_TkiYs4.mjs.map +1 -0
  38. package/dist/theme.provider-DpFLwtHe.mjs +135 -0
  39. package/dist/theme.provider-DpFLwtHe.mjs.map +1 -0
  40. package/dist/types-BoL47uxV.d.mts +34 -0
  41. package/dist/types-BoL47uxV.d.mts.map +1 -0
  42. package/dist/use-copy-to-clipboard-D5U8bWsn.mjs +117 -0
  43. package/dist/use-copy-to-clipboard-D5U8bWsn.mjs.map +1 -0
  44. package/dist/use-debounce-BYB-jPeX.mjs +25 -0
  45. package/dist/use-debounce-BYB-jPeX.mjs.map +1 -0
  46. package/dist/use-debounce-Dg9zNz9U.d.mts +19 -0
  47. package/dist/use-debounce-Dg9zNz9U.d.mts.map +1 -0
  48. package/dist/utils/index.d.mts +3 -0
  49. package/dist/utils/index.mjs +4 -0
  50. package/package.json +129 -50
  51. package/LICENSE +0 -21
  52. package/README.md +0 -42
  53. package/dist/index.d.ts +0 -52
  54. package/dist/index.js +0 -3529
  55. package/src/styles/custom.css +0 -27
  56. package/src/styles/fonts.css +0 -51
  57. package/src/styles/root.css +0 -28
  58. package/src/styles/themes/alpha.css +0 -421
  59. package/src/styles/tokens/brand-tokens.css +0 -57
  60. package/src/styles/tokens/figma-tokens.css +0 -624
@@ -0,0 +1,36 @@
1
+ //#region \0rolldown/runtime.js
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __exportAll = (all, no_symbols) => {
7
+ let target = {};
8
+ for (var name in all) {
9
+ __defProp(target, name, {
10
+ get: all[name],
11
+ enumerable: true
12
+ });
13
+ }
14
+ if (!no_symbols) {
15
+ __defProp(target, Symbol.toStringTag, { value: "Module" });
16
+ }
17
+ return target;
18
+ };
19
+ var __copyProps = (to, from, except, desc) => {
20
+ if (from && typeof from === "object" || typeof from === "function") {
21
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
22
+ key = keys[i];
23
+ if (!__hasOwnProp.call(to, key) && key !== except) {
24
+ __defProp(to, key, {
25
+ get: ((k) => from[k]).bind(null, key),
26
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
27
+ });
28
+ }
29
+ }
30
+ }
31
+ return to;
32
+ };
33
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
34
+
35
+ //#endregion
36
+ export { __reExport as n, __exportAll as t };
@@ -0,0 +1,23 @@
1
+ import { cn } from "@repo/shadcn/lib/utils";
2
+ import { jsx } from "react/jsx-runtime";
3
+
4
+ //#region src/components/icons/close.icon.tsx
5
+ function CloseIcon({ className, fill = "fill-foreground" }) {
6
+ return /* @__PURE__ */ jsx("svg", {
7
+ width: "17",
8
+ height: "17",
9
+ viewBox: "0 0 17 17",
10
+ fill: "none",
11
+ xmlns: "http://www.w3.org/2000/svg",
12
+ className: cn("transition-opacity hover:opacity-90", className),
13
+ children: /* @__PURE__ */ jsx("path", {
14
+ opacity: "0.2",
15
+ d: "M2.38191 2.38176C5.55755 -0.793655 10.7065 -0.793755 13.8821 2.38176C17.0576 5.55733 17.0575 10.7063 13.8821 13.8819C10.7064 17.0576 5.55755 17.0575 2.38191 13.8819C-0.793671 10.7063 -0.793707 5.55738 2.38191 2.38176ZM6.76887 8.15117L4.4107 10.5093L5.76346 11.8621L8.12163 9.50393L10.486 11.8683L11.8388 10.5156L9.47439 8.15117L11.8519 5.77366L10.4991 4.42091L8.12163 6.79841L5.75034 4.42712L4.39758 5.77988L6.76887 8.15117Z",
16
+ className: fill
17
+ })
18
+ });
19
+ }
20
+
21
+ //#endregion
22
+ export { CloseIcon as t };
23
+ //# sourceMappingURL=close.icon-DgjsP0sw.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"close.icon-DgjsP0sw.mjs","names":[],"sources":["../src/components/icons/close.icon.tsx"],"sourcesContent":["import { cn } from '@repo/shadcn/lib/utils'\n\nexport function CloseIcon({\n className,\n fill = 'fill-foreground',\n}: {\n className?: string\n fill?: string\n}) {\n return (\n <svg\n width=\"17\"\n height=\"17\"\n viewBox=\"0 0 17 17\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={cn('transition-opacity hover:opacity-90', className)}\n >\n <path\n opacity=\"0.2\"\n d=\"M2.38191 2.38176C5.55755 -0.793655 10.7065 -0.793755 13.8821 2.38176C17.0576 5.55733 17.0575 10.7063 13.8821 13.8819C10.7064 17.0576 5.55755 17.0575 2.38191 13.8819C-0.793671 10.7063 -0.793707 5.55738 2.38191 2.38176ZM6.76887 8.15117L4.4107 10.5093L5.76346 11.8621L8.12163 9.50393L10.486 11.8683L11.8388 10.5156L9.47439 8.15117L11.8519 5.77366L10.4991 4.42091L8.12163 6.79841L5.75034 4.42712L4.39758 5.77988L6.76887 8.15117Z\"\n className={fill}\n />\n </svg>\n )\n}\n"],"mappings":";;;;AAEA,SAAgB,UAAU,EACxB,WACA,OAAO,qBAIN;AACD,QACE,oBAAC;EACC,OAAM;EACN,QAAO;EACP,SAAQ;EACR,MAAK;EACL,OAAM;EACN,WAAW,GAAG,uCAAuC,UAAU;YAE/D,oBAAC;GACC,SAAQ;GACR,GAAE;GACF,WAAW;IACX;GACE"}
@@ -0,0 +1,27 @@
1
+ import '../style.css';
2
+ import { i as CloseIcon, n as SpinnerIconProps, r as Icon, t as SpinnerIcon } from "../spinner.icon-q9zisVlw.mjs";
3
+ import { $ as TaskSummaryDialog, $i as RadioGroupItem, $n as FormFieldArray, $r as DropdownMenu, $t as NavItem, A as TimezoneSelector, Ai as TabsList, An as Form, Ar as FormStepperProps, At as SidebarFooter, B as createUserMetadata, Bi as SheetTitle, Bn as StepperControls, Br as UseFieldReturn, Bt as SidebarMenuBadge, C as TimeRangePicker, Ca as Badge, Ci as FormAutocompleteProps, Cn as RowState, Cr as FormRadioGroupProps, Ct as TaskSummaryItem, D as getPresetByKey, Da as AlertDescription, Di as TabsContent, Dn as GRID_PREFIX, Dr as FormSelectItemProps, Dt as defineStepper, E as getDefaultPreset, Ea as Alert, Ei as Tabs, En as GRID_COLUMNS, Er as FormRootRenderProps, Et as TagsInput, F as TimeRangeValue, Fi as SheetContent, Fn as useFieldContext, Fr as FormWhenProps, Ft as SidebarHeader, G as matchesCurrentScope, Gi as SelectItem, Gn as FormSwitch, Gr as EmptyContentAction, Gt as SidebarMenuSubButton, H as CurrentScope, Hi as Select, Hn as FormStep, Hr as FormAutocomplete, Ht as SidebarMenuItem, I as TimezoneOption, Ii as SheetDescription, In as useField, Ir as StepConfig, It as SidebarInput, J as useTaskQueue, Ji as SelectScrollUpButton, Jn as FormSelectItem, Jr as DropzoneContent, Jt as SidebarRail, K as useCurrentScope, Ki as SelectLabel, Kn as FormSubmit, Kr as EmptyContentProps, Kt as SidebarMenuSubItem, L as CustomRangePanel, Li as SheetFooter, Ln as InputWithAddons, Lr as StepperContextValue, Lt as SidebarInset, M as ApiTimeRange, Mi as Switch, Mn as useWatchAll, Mr as FormSwitchProps, Mt as SidebarGroupAction, N as DateRange, Ni as Sheet, Nn as useStepper, Nr as FormTelemetry, Nt as SidebarGroupContent, O as getPresetByShortcut, Oa as AlertProps, Oi as TabsLinkTrigger, On as RESPONSIVE_ARRAY, Or as FormSelectProps, Ot as Sidebar, P as PresetConfig, Pi as SheetClose, Pn as useFormContext, Pr as FormTextareaProps, Pt as SidebarGroupLabel, Q as TaskQueue, Qi as RadioGroup, Qn as FormInput, Qr as DropzoneProps, Qt as AppSidebar, R as createOrgMetadata, Ri as SheetHeader, Rn as InputWithAddonsProps, Rr as StepperControlsProps, Rt as SidebarMenu, S as formatTimeRangeDisplay, Sa as buttonVariants, Si as AutocompleteProps, Sn as RowProps, Sr as FormInputProps, St as TaskSummaryData, T as DEFAULT_PRESETS, Ta as badgeVariants, Ti as Textarea, Tn as GRID_BREAKPOINTS, Tr as FormRootProps, Tt as TaskPanel, U as TasksWithLabels, Ui as SelectContent, Un as FormWhen, Ur as FileInputButton, Ut as SidebarMenuSkeleton, V as TaskQueueProvider, Vi as SheetTrigger, Vn as FormStepper, Vr as UseWatchReturn, Vt as SidebarMenuButton, W as getContextLabel, Wi as SelectGroup, Wn as FormTextarea, Wr as EmptyContent, Wt as SidebarMenuSub, X as LocalTaskStorage, Xi as SelectTrigger, Xn as FormRadioGroup, Xr as DropzoneEmptyState, Xt as SidebarTrigger, Y as RedisTaskStorage, Yi as SelectSeparator, Yn as FormRoot, Yr as DropzoneContentProps, Yt as SidebarSeparator, Z as detectStorage, Zi as SelectValue, Zn as FormRadioItem, Zr as DropzoneEmptyStateProps, Zt as useSidebar, _ as utcStringToZonedDate, _a as CalendarDayButton, _i as AvatarStackProps, _n as Col, _r as FormFieldArrayProps, _t as TaskOutcome, a as useToast, aa as DialogFooterProps, ai as DropdownMenuPortal, an as stopProgress, ar as FormCopyBox, at as TaskPanelCounter, b as formatDateForInput, ba as Button, bi as AutocompleteGroup, bn as Gutter, br as FormFieldProps, bt as TaskStatus, c as toApiTimeRange, ca as DialogTriggerProps, ci as DropdownMenuSeparator, cn as LoaderOverlay, cr as FormButtonProps, ct as ItemContext, d as formatUtcForDisplay, da as CardContent, di as DropdownMenuSubContent, dn as MediaQueryCallback, dr as FormCopyBoxProps, dt as RedisClient, ea as Label, ei as DropdownMenuCheckboxItem, en as NavMain, er as FormField, et as TaskSummaryDialogProps, f as getBrowserTimezone, fa as CardDescription, fi as DropdownMenuSubTrigger, fn as getGutter, fr as FormCustomProps, ft as Task, g as localInputStringToUtc, ga as Calendar, gi as AvatarStack, gn as RowContext, gr as FormErrorProps, gt as TaskMetadata, h as getTimezoneOffset, ha as CardTitle, hi as DateRangePreset, hn as Row, hr as FormDialogProps, ht as TaskHandle, i as ClientOnly, ia as DialogContentProps, ii as DropdownMenuLabel, in as startProgress, ir as FormCustom, it as TaskPanelHeader, j as QuickRangesPanel, ji as TabsTrigger, jn as useWatch, jr as FormSubmitProps, jt as SidebarGroup, k as getPresetRange, ka as AlertTitle, ki as TabsLinkTriggerProps, kn as RESPONSIVE_MAP, kr as FormStepProps, kt as SidebarContent, l as createTimezoneOption, la as Checkbox, li as DropdownMenuShortcut, ln as InputNumber, lr as FormCheckboxProps, lt as ProcessItemEnqueueOptions, m as getShortTimezoneDisplay, ma as CardHeader, mi as CalendarDatePicker, mn as registerMediaQuery, mr as FormDescriptionProps, mt as TaskContext, n as useTheme, na as Dialog, ni as DropdownMenuGroup, nn as PageTitleProps, nr as FormDialog, nt as TaskQueueDropdown, o as Toaster, oa as DialogHeaderProps, oi as DropdownMenuRadioGroup, on as MoreActions, or as FormCheckbox, ot as TaskPanelActions, p as getDefaultTimezoneOptions, pa as CardFooter, pi as DropdownMenuTrigger, pn as getResponsiveValue, pr as FormCustomRenderProps, pt as TaskCompletionInfo, q as useTasksWithLabels, qi as SelectScrollDownButton, qn as FormSelect, qr as Dropzone, qt as SidebarProvider, r as ThemeScript, ra as DialogBodyProps, ri as DropdownMenuItem, rn as configureProgress, rr as FormDescription, rt as TaskPanelItem, s as toast, sa as DialogProps, si as DropdownMenuRadioItem, sn as MoreActionsProps, sr as FormButton, st as EnqueueOptions, t as ThemeProvider, ta as Input, ti as DropdownMenuContent, tn as PageTitle, tr as FormError, tt as TaskQueueTrigger, u as formatTimezoneLabel, ua as Card, ui as DropdownMenuSub, un as NumberInputProps, ur as FormContextValue, ut as ProcessorEnqueueOptions, v as utcToLocalInputString, va as LinkButton, vi as avatarStackVariants, vn as ColProps, vr as FormFieldArrayRenderProps, vt as TaskQueueAPI, w as TimeRangePickerProps, wa as BadgeProps, wi as Tooltip, wn as Breakpoint, wr as FormRadioItemProps, wt as UseTaskQueueOptions, x as formatSingleTimeDisplay, xa as ButtonProps, xi as AutocompleteOption, xn as RowContextType, xr as FormFieldRenderProps, xt as TaskStorage, y as zonedDateToUtcString, ya as LinkButtonProps, yi as Autocomplete, yn as ColSize, yr as FormFieldContextValue, yt as TaskQueueConfig, z as createProjectMetadata, zi as SheetOverlay, zn as StepperNavigation, zr as StepperNavigationProps, zt as SidebarMenuAction } from "../index-DH2XEEjO.mjs";
4
+ import { i as UseThemeProps, n as ThemeProviderProps, r as ThemeStyle, t as Theme } from "../types-BoL47uxV.mjs";
5
+ export * from "@repo/shadcn/ui/breadcrumb";
6
+ export * from "@repo/shadcn/ui/button-group";
7
+ export * from "@repo/shadcn/ui/chart";
8
+ export * from "@repo/shadcn/ui/collapsible";
9
+ export * from "@repo/shadcn/ui/command";
10
+ export * from "@repo/shadcn/ui/hover-card";
11
+ export * from "@repo/shadcn/ui/input-group";
12
+ export * from "@repo/shadcn/ui/map";
13
+ export * from "@repo/shadcn/ui/place-autocomplete";
14
+ export * from "@repo/shadcn/ui/popover";
15
+ export * from "@repo/shadcn/ui/separator";
16
+ export * from "@repo/shadcn/ui/skeleton";
17
+ export * from "@repo/shadcn/ui/spinner";
18
+ export * from "@repo/shadcn/ui/table";
19
+ export * from "@repo/shadcn/ui/visuallyhidden";
20
+
21
+ //#region src/components/index.d.ts
22
+ declare namespace index_d_exports {
23
+ export { CustomRangePanel as AbsoluteRangePanel, Alert, AlertDescription, AlertProps, AlertTitle, ApiTimeRange, AppSidebar, Autocomplete, AutocompleteGroup, AutocompleteOption, AutocompleteProps, AvatarStack, AvatarStackProps, Badge, BadgeProps, Breakpoint, Button, ButtonProps, Calendar, CalendarDatePicker, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ClientOnly, CloseIcon, Col, ColProps, ColSize, CurrentScope, CustomRangePanel, DEFAULT_PRESETS, DateRange, DateRangePreset, Dialog, DialogBodyProps, DialogContentProps, DialogFooterProps, DialogHeaderProps, DialogProps, DialogTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, DropzoneContent, DropzoneContentProps, DropzoneEmptyState, DropzoneEmptyStateProps, DropzoneProps, EmptyContent, EmptyContentAction, EmptyContentProps, EnqueueOptions, FileInputButton, Form, FormAutocomplete, FormAutocompleteProps, FormButton, FormButtonProps, FormCheckbox, FormCheckboxProps, FormContextValue, FormCopyBox, FormCopyBoxProps, FormCustom, FormCustomProps, FormCustomRenderProps, FormDescription, FormDescriptionProps, FormDialog, FormDialogProps, FormError, FormErrorProps, FormField, FormFieldArray, FormFieldArrayProps, FormFieldArrayRenderProps, FormFieldContextValue, FormFieldProps, FormFieldRenderProps, FormInput, FormInputProps, FormRadioGroup, FormRadioGroupProps, FormRadioItem, FormRadioItemProps, FormRoot, FormRootProps, FormRootRenderProps, FormSelect, FormSelectItem, FormSelectItemProps, FormSelectProps, FormStep, FormStepProps, FormStepper, FormStepperProps, FormSubmit, FormSubmitProps, FormSwitch, FormSwitchProps, FormTelemetry, FormTextarea, FormTextareaProps, FormWhen, FormWhenProps, GRID_BREAKPOINTS, GRID_COLUMNS, GRID_PREFIX, Gutter, Icon, Input, InputNumber, InputWithAddons, InputWithAddonsProps, ItemContext, Label, LinkButton, LinkButtonProps, LoaderOverlay, LocalTaskStorage, MediaQueryCallback, MoreActions, MoreActionsProps, NavItem, NavMain, NumberInputProps, PageTitle, PageTitleProps, PresetConfig, ProcessItemEnqueueOptions, ProcessorEnqueueOptions, QuickRangesPanel, RESPONSIVE_ARRAY, RESPONSIVE_MAP, RadioGroup, RadioGroupItem, RedisClient, RedisTaskStorage, Row, RowContext, RowContextType, RowProps, RowState, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SpinnerIcon, SpinnerIconProps, StepConfig, StepperContextValue, StepperControls, StepperControlsProps, StepperNavigation, StepperNavigationProps, Switch, Tabs, TabsContent, TabsLinkTrigger, TabsLinkTriggerProps, TabsList, TabsTrigger, TagsInput, Task, TaskCompletionInfo, TaskContext, TaskHandle, TaskMetadata, TaskOutcome, TaskPanel, TaskPanelActions, TaskPanelCounter, TaskPanelHeader, TaskPanelItem, TaskQueue, TaskQueueAPI, TaskQueueConfig, TaskQueueDropdown, TaskQueueProvider, TaskQueueTrigger, TaskStatus, TaskStorage, TaskSummaryData, TaskSummaryDialog, TaskSummaryDialogProps, TaskSummaryItem, TasksWithLabels, Textarea, Theme, ThemeProvider, ThemeProviderProps, ThemeScript, ThemeStyle, TimeRangePicker, TimeRangePickerProps, TimeRangeValue, TimezoneOption, TimezoneSelector, Toaster, Tooltip, UseFieldReturn, UseTaskQueueOptions, UseThemeProps, UseWatchReturn, avatarStackVariants, badgeVariants, buttonVariants, configureProgress, createOrgMetadata, createProjectMetadata, createTimezoneOption, createUserMetadata, defineStepper, detectStorage, formatDateForInput, formatSingleTimeDisplay, formatTimeRangeDisplay, formatTimezoneLabel, formatUtcForDisplay, getBrowserTimezone, getContextLabel, getDefaultPreset, getDefaultTimezoneOptions, getGutter, getPresetByKey, getPresetByShortcut, getPresetRange, getResponsiveValue, getShortTimezoneDisplay, getTimezoneOffset, localInputStringToUtc, matchesCurrentScope, registerMediaQuery, startProgress, stopProgress, toApiTimeRange, toast, useCurrentScope, useField, useFieldContext, useFormContext, useSidebar, useStepper, useTaskQueue, useTasksWithLabels, useTheme, useToast, useWatch, useWatchAll, utcStringToZonedDate, utcToLocalInputString, zonedDateToUtcString };
24
+ }
25
+ //#endregion
26
+ export { CustomRangePanel as AbsoluteRangePanel, CustomRangePanel, Alert, AlertDescription, AlertProps, AlertTitle, ApiTimeRange, AppSidebar, Autocomplete, AutocompleteGroup, AutocompleteOption, AutocompleteProps, AvatarStack, AvatarStackProps, Badge, BadgeProps, Breakpoint, Button, ButtonProps, Calendar, CalendarDatePicker, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ClientOnly, CloseIcon, Col, ColProps, ColSize, CurrentScope, DEFAULT_PRESETS, DateRange, DateRangePreset, Dialog, DialogBodyProps, DialogContentProps, DialogFooterProps, DialogHeaderProps, DialogProps, DialogTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, DropzoneContent, DropzoneContentProps, DropzoneEmptyState, DropzoneEmptyStateProps, DropzoneProps, EmptyContent, EmptyContentAction, EmptyContentProps, EnqueueOptions, FileInputButton, Form, FormAutocomplete, FormAutocompleteProps, FormButton, FormButtonProps, FormCheckbox, FormCheckboxProps, FormContextValue, FormCopyBox, FormCopyBoxProps, FormCustom, FormCustomProps, FormCustomRenderProps, FormDescription, FormDescriptionProps, FormDialog, FormDialogProps, FormError, FormErrorProps, FormField, FormFieldArray, FormFieldArrayProps, FormFieldArrayRenderProps, FormFieldContextValue, FormFieldProps, FormFieldRenderProps, FormInput, FormInputProps, FormRadioGroup, FormRadioGroupProps, FormRadioItem, FormRadioItemProps, FormRoot, FormRootProps, FormRootRenderProps, FormSelect, FormSelectItem, FormSelectItemProps, FormSelectProps, FormStep, FormStepProps, FormStepper, FormStepperProps, FormSubmit, FormSubmitProps, FormSwitch, FormSwitchProps, FormTelemetry, FormTextarea, FormTextareaProps, FormWhen, FormWhenProps, GRID_BREAKPOINTS, GRID_COLUMNS, GRID_PREFIX, Gutter, Icon, Input, InputNumber, InputWithAddons, InputWithAddonsProps, ItemContext, Label, LinkButton, LinkButtonProps, LoaderOverlay, LocalTaskStorage, MediaQueryCallback, MoreActions, MoreActionsProps, NavItem, NavMain, NumberInputProps, PageTitle, PageTitleProps, PresetConfig, ProcessItemEnqueueOptions, ProcessorEnqueueOptions, QuickRangesPanel, RESPONSIVE_ARRAY, RESPONSIVE_MAP, RadioGroup, RadioGroupItem, RedisClient, RedisTaskStorage, Row, RowContext, RowContextType, RowProps, RowState, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SpinnerIcon, SpinnerIconProps, StepConfig, StepperContextValue, StepperControls, StepperControlsProps, StepperNavigation, StepperNavigationProps, Switch, Tabs, TabsContent, TabsLinkTrigger, TabsLinkTriggerProps, TabsList, TabsTrigger, TagsInput, Task, TaskCompletionInfo, TaskContext, TaskHandle, TaskMetadata, TaskOutcome, TaskPanel, TaskPanelActions, TaskPanelCounter, TaskPanelHeader, TaskPanelItem, TaskQueue, TaskQueueAPI, TaskQueueConfig, TaskQueueDropdown, TaskQueueProvider, TaskQueueTrigger, TaskStatus, TaskStorage, TaskSummaryData, TaskSummaryDialog, TaskSummaryDialogProps, TaskSummaryItem, TasksWithLabels, Textarea, Theme, ThemeProvider, ThemeProviderProps, ThemeScript, ThemeStyle, TimeRangePicker, TimeRangePickerProps, TimeRangeValue, TimezoneOption, TimezoneSelector, Toaster, Tooltip, UseFieldReturn, UseTaskQueueOptions, UseThemeProps, UseWatchReturn, avatarStackVariants, badgeVariants, buttonVariants, configureProgress, createOrgMetadata, createProjectMetadata, createTimezoneOption, createUserMetadata, defineStepper, detectStorage, formatDateForInput, formatSingleTimeDisplay, formatTimeRangeDisplay, formatTimezoneLabel, formatUtcForDisplay, getBrowserTimezone, getContextLabel, getDefaultPreset, getDefaultTimezoneOptions, getGutter, getPresetByKey, getPresetByShortcut, getPresetRange, getResponsiveValue, getShortTimezoneDisplay, getTimezoneOffset, localInputStringToUtc, matchesCurrentScope, registerMediaQuery, startProgress, stopProgress, index_d_exports as t, toApiTimeRange, toast, useCurrentScope, useField, useFieldContext, useFormContext, useSidebar, useStepper, useTaskQueue, useTasksWithLabels, useTheme, useToast, useWatch, useWatchAll, utcStringToZonedDate, utcToLocalInputString, zonedDateToUtcString };
27
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/components/index.ts"],"mappings":""}
@@ -0,0 +1,252 @@
1
+ import '../style.css';
2
+ import { n as __reExport, t as __exportAll } from "../chunk-CtajNgzt.mjs";
3
+ import { $ as SidebarGroupAction, $n as SheetClose, $t as FormSwitch, A as TaskPanel, An as DropdownMenuPortal, Ar as CalendarDayButton, At as getGutter, B as TaskQueueProvider, Bn as AvatarStack, Bt as useFormContext, C as localInputStringToUtc, Cn as DropzoneEmptyState, Cr as Card, Ct as startProgress, D as TaskQueueDropdown, Dn as DropdownMenuGroup, Dr as CardHeader, Dt as Col, E as zonedDateToUtcString, En as DropdownMenuContent, Er as CardFooter, Et as InputNumber, F as getContextLabel, Fn as DropdownMenuSub, Fr as badgeVariants, Ft as GRID_PREFIX, G as createOrgMetadata, Gn as Textarea, Gt as StepperControls, H as detectStorage, Hn as Autocomplete, Ht as useField, I as matchesCurrentScope, In as DropdownMenuSubContent, Ir as Alert, It as RESPONSIVE_ARRAY, J as TagsInput, Jn as TabsLinkTrigger, Jt as defineStepper, K as createProjectMetadata, Kn as Tabs, Kt as FormStep, L as useCurrentScope, Ln as DropdownMenuSubTrigger, Lr as AlertDescription, Lt as RESPONSIVE_MAP, M as TaskPanelCounter, Mn as DropdownMenuRadioItem, Mr as Button, Mt as registerMediaQuery, N as TaskPanelActions, Nn as DropdownMenuSeparator, Nr as buttonVariants, Nt as GRID_BREAKPOINTS, O as TaskSummaryDialog, On as DropdownMenuItem, Or as CardTitle, Ot as Row, P as TaskPanelHeader, Pn as DropdownMenuShortcut, Pr as Badge, Pt as GRID_COLUMNS, Q as SidebarGroup, Qn as Sheet, Qt as FormTextarea, R as useTasksWithLabels, Rn as DropdownMenuTrigger, Rr as AlertTitle, Rt as Form, S as getTimezoneOffset, Sn as DropzoneContent, Sr as Checkbox, St as configureProgress, T as utcToLocalInputString, Tn as DropdownMenuCheckboxItem, Tr as CardDescription, Tt as MoreActions, U as RedisTaskStorage, Un as LoaderOverlay, Ut as InputWithAddons, V as TaskQueue, Vn as avatarStackVariants, Vt as useFieldContext, W as LocalTaskStorage, Wn as Tooltip, Wt as StepperNavigation, X as SidebarContent, Xn as TabsTrigger, Xt as useWatch, Y as Sidebar, Yn as TabsList, Yt as FormWhen, Z as SidebarFooter, Zn as Switch, Zt as useWatchAll, _ as formatTimezoneLabel, _n as FormButton, _r as RadioGroup, _t as SidebarTrigger, a as formatDateForInput, an as FormRadioItem, ar as SheetTitle, at as SidebarMenu, b as getDefaultTimezoneOptions, bn as EmptyContent, br as Input, bt as NavMain, c as DEFAULT_PRESETS, cn as FormField, cr as SelectContent, ct as SidebarMenuButton, d as getPresetByShortcut, dn as FormDescription, dr as SelectLabel, dt as SidebarMenuSub, en as FormSubmit, er as SheetContent, et as SidebarGroupContent, f as getPresetRange, fn as FormCustom, fr as SelectScrollDownButton, ft as SidebarMenuSubButton, g as createTimezoneOption, gn as FormCheckbox, gr as SelectValue, gt as SidebarSeparator, h as CustomRangePanel, hn as Toaster, hr as SelectTrigger, ht as SidebarRail, i as TimeRangePicker, in as FormRadioGroup, ir as SheetOverlay, it as SidebarInset, j as TaskPanelItem, jn as DropdownMenuRadioGroup, jr as LinkButton, jt as getResponsiveValue, k as TaskQueueTrigger, kn as DropdownMenuLabel, kr as Calendar, kt as RowContext, l as getDefaultPreset, ln as FormError, lr as SelectGroup, lt as SidebarMenuItem, m as QuickRangesPanel, mn as useToast, mr as SelectSeparator, mt as SidebarProvider, n as ClientOnly, nn as FormSelectItem, nr as SheetFooter, nt as SidebarHeader, o as formatSingleTimeDisplay, on as FormInput, or as SheetTrigger, ot as SidebarMenuAction, p as TimezoneSelector, pn as FormCopyBox, pr as SelectScrollUpButton, pt as SidebarMenuSubItem, q as createUserMetadata, qn as TabsContent, qt as FormStepper, r as toApiTimeRange, rn as FormRoot, rr as SheetHeader, rt as SidebarInput, s as formatTimeRangeDisplay, sn as FormFieldArray, sr as Select, st as SidebarMenuBadge, t as ThemeScript, tn as FormSelect, tr as SheetDescription, tt as SidebarGroupLabel, u as getPresetByKey, un as FormDialog, ur as SelectItem, ut as SidebarMenuSkeleton, v as formatUtcForDisplay, vn as FormAutocomplete, vr as RadioGroupItem, vt as useSidebar, w as utcStringToZonedDate, wn as DropdownMenu, wr as CardContent, wt as stopProgress, x as getShortTimezoneDisplay, xn as Dropzone, xr as Dialog, xt as PageTitle, y as getBrowserTimezone, yn as FileInputButton, yr as Label, yt as AppSidebar, z as useTaskQueue, zn as CalendarDatePicker, zt as useStepper } from "../theme-script-B_TkiYs4.mjs";
4
+ import { n as SpinnerIcon, t as Icon } from "../icon-wrapper-BTllM5Re.mjs";
5
+ import { t as CloseIcon } from "../close.icon-DgjsP0sw.mjs";
6
+ import { n as toast } from "../use-copy-to-clipboard-D5U8bWsn.mjs";
7
+ import { n as useTheme, t as ThemeProvider } from "../theme.provider-DpFLwtHe.mjs";
8
+
9
+ export * from "@repo/shadcn/ui/breadcrumb"
10
+
11
+ export * from "@repo/shadcn/ui/button-group"
12
+
13
+ export * from "@repo/shadcn/ui/chart"
14
+
15
+ export * from "@repo/shadcn/ui/collapsible"
16
+
17
+ export * from "@repo/shadcn/ui/command"
18
+
19
+ export * from "@repo/shadcn/ui/hover-card"
20
+
21
+ export * from "@repo/shadcn/ui/input-group"
22
+
23
+ export * from "@repo/shadcn/ui/map"
24
+
25
+ export * from "@repo/shadcn/ui/place-autocomplete"
26
+
27
+ export * from "@repo/shadcn/ui/popover"
28
+
29
+ export * from "@repo/shadcn/ui/separator"
30
+
31
+ export * from "@repo/shadcn/ui/skeleton"
32
+
33
+ export * from "@repo/shadcn/ui/spinner"
34
+
35
+ export * from "@repo/shadcn/ui/table"
36
+
37
+ export * from "@repo/shadcn/ui/visuallyhidden"
38
+
39
+ //#region src/components/index.ts
40
+ var components_exports = /* @__PURE__ */ __exportAll({
41
+ AbsoluteRangePanel: () => CustomRangePanel,
42
+ Alert: () => Alert,
43
+ AlertDescription: () => AlertDescription,
44
+ AlertTitle: () => AlertTitle,
45
+ AppSidebar: () => AppSidebar,
46
+ Autocomplete: () => Autocomplete,
47
+ AvatarStack: () => AvatarStack,
48
+ Badge: () => Badge,
49
+ Button: () => Button,
50
+ Calendar: () => Calendar,
51
+ CalendarDatePicker: () => CalendarDatePicker,
52
+ CalendarDayButton: () => CalendarDayButton,
53
+ Card: () => Card,
54
+ CardContent: () => CardContent,
55
+ CardDescription: () => CardDescription,
56
+ CardFooter: () => CardFooter,
57
+ CardHeader: () => CardHeader,
58
+ CardTitle: () => CardTitle,
59
+ Checkbox: () => Checkbox,
60
+ ClientOnly: () => ClientOnly,
61
+ CloseIcon: () => CloseIcon,
62
+ Col: () => Col,
63
+ CustomRangePanel: () => CustomRangePanel,
64
+ DEFAULT_PRESETS: () => DEFAULT_PRESETS,
65
+ Dialog: () => Dialog,
66
+ DropdownMenu: () => DropdownMenu,
67
+ DropdownMenuCheckboxItem: () => DropdownMenuCheckboxItem,
68
+ DropdownMenuContent: () => DropdownMenuContent,
69
+ DropdownMenuGroup: () => DropdownMenuGroup,
70
+ DropdownMenuItem: () => DropdownMenuItem,
71
+ DropdownMenuLabel: () => DropdownMenuLabel,
72
+ DropdownMenuPortal: () => DropdownMenuPortal,
73
+ DropdownMenuRadioGroup: () => DropdownMenuRadioGroup,
74
+ DropdownMenuRadioItem: () => DropdownMenuRadioItem,
75
+ DropdownMenuSeparator: () => DropdownMenuSeparator,
76
+ DropdownMenuShortcut: () => DropdownMenuShortcut,
77
+ DropdownMenuSub: () => DropdownMenuSub,
78
+ DropdownMenuSubContent: () => DropdownMenuSubContent,
79
+ DropdownMenuSubTrigger: () => DropdownMenuSubTrigger,
80
+ DropdownMenuTrigger: () => DropdownMenuTrigger,
81
+ Dropzone: () => Dropzone,
82
+ DropzoneContent: () => DropzoneContent,
83
+ DropzoneEmptyState: () => DropzoneEmptyState,
84
+ EmptyContent: () => EmptyContent,
85
+ FileInputButton: () => FileInputButton,
86
+ Form: () => Form,
87
+ FormAutocomplete: () => FormAutocomplete,
88
+ FormButton: () => FormButton,
89
+ FormCheckbox: () => FormCheckbox,
90
+ FormCopyBox: () => FormCopyBox,
91
+ FormCustom: () => FormCustom,
92
+ FormDescription: () => FormDescription,
93
+ FormDialog: () => FormDialog,
94
+ FormError: () => FormError,
95
+ FormField: () => FormField,
96
+ FormFieldArray: () => FormFieldArray,
97
+ FormInput: () => FormInput,
98
+ FormRadioGroup: () => FormRadioGroup,
99
+ FormRadioItem: () => FormRadioItem,
100
+ FormRoot: () => FormRoot,
101
+ FormSelect: () => FormSelect,
102
+ FormSelectItem: () => FormSelectItem,
103
+ FormStep: () => FormStep,
104
+ FormStepper: () => FormStepper,
105
+ FormSubmit: () => FormSubmit,
106
+ FormSwitch: () => FormSwitch,
107
+ FormTextarea: () => FormTextarea,
108
+ FormWhen: () => FormWhen,
109
+ GRID_BREAKPOINTS: () => GRID_BREAKPOINTS,
110
+ GRID_COLUMNS: () => GRID_COLUMNS,
111
+ GRID_PREFIX: () => GRID_PREFIX,
112
+ Icon: () => Icon,
113
+ Input: () => Input,
114
+ InputNumber: () => InputNumber,
115
+ InputWithAddons: () => InputWithAddons,
116
+ Label: () => Label,
117
+ LinkButton: () => LinkButton,
118
+ LoaderOverlay: () => LoaderOverlay,
119
+ LocalTaskStorage: () => LocalTaskStorage,
120
+ MoreActions: () => MoreActions,
121
+ NavMain: () => NavMain,
122
+ PageTitle: () => PageTitle,
123
+ QuickRangesPanel: () => QuickRangesPanel,
124
+ RESPONSIVE_ARRAY: () => RESPONSIVE_ARRAY,
125
+ RESPONSIVE_MAP: () => RESPONSIVE_MAP,
126
+ RadioGroup: () => RadioGroup,
127
+ RadioGroupItem: () => RadioGroupItem,
128
+ RedisTaskStorage: () => RedisTaskStorage,
129
+ Row: () => Row,
130
+ RowContext: () => RowContext,
131
+ Select: () => Select,
132
+ SelectContent: () => SelectContent,
133
+ SelectGroup: () => SelectGroup,
134
+ SelectItem: () => SelectItem,
135
+ SelectLabel: () => SelectLabel,
136
+ SelectScrollDownButton: () => SelectScrollDownButton,
137
+ SelectScrollUpButton: () => SelectScrollUpButton,
138
+ SelectSeparator: () => SelectSeparator,
139
+ SelectTrigger: () => SelectTrigger,
140
+ SelectValue: () => SelectValue,
141
+ Sheet: () => Sheet,
142
+ SheetClose: () => SheetClose,
143
+ SheetContent: () => SheetContent,
144
+ SheetDescription: () => SheetDescription,
145
+ SheetFooter: () => SheetFooter,
146
+ SheetHeader: () => SheetHeader,
147
+ SheetOverlay: () => SheetOverlay,
148
+ SheetTitle: () => SheetTitle,
149
+ SheetTrigger: () => SheetTrigger,
150
+ Sidebar: () => Sidebar,
151
+ SidebarContent: () => SidebarContent,
152
+ SidebarFooter: () => SidebarFooter,
153
+ SidebarGroup: () => SidebarGroup,
154
+ SidebarGroupAction: () => SidebarGroupAction,
155
+ SidebarGroupContent: () => SidebarGroupContent,
156
+ SidebarGroupLabel: () => SidebarGroupLabel,
157
+ SidebarHeader: () => SidebarHeader,
158
+ SidebarInput: () => SidebarInput,
159
+ SidebarInset: () => SidebarInset,
160
+ SidebarMenu: () => SidebarMenu,
161
+ SidebarMenuAction: () => SidebarMenuAction,
162
+ SidebarMenuBadge: () => SidebarMenuBadge,
163
+ SidebarMenuButton: () => SidebarMenuButton,
164
+ SidebarMenuItem: () => SidebarMenuItem,
165
+ SidebarMenuSkeleton: () => SidebarMenuSkeleton,
166
+ SidebarMenuSub: () => SidebarMenuSub,
167
+ SidebarMenuSubButton: () => SidebarMenuSubButton,
168
+ SidebarMenuSubItem: () => SidebarMenuSubItem,
169
+ SidebarProvider: () => SidebarProvider,
170
+ SidebarRail: () => SidebarRail,
171
+ SidebarSeparator: () => SidebarSeparator,
172
+ SidebarTrigger: () => SidebarTrigger,
173
+ SpinnerIcon: () => SpinnerIcon,
174
+ StepperControls: () => StepperControls,
175
+ StepperNavigation: () => StepperNavigation,
176
+ Switch: () => Switch,
177
+ Tabs: () => Tabs,
178
+ TabsContent: () => TabsContent,
179
+ TabsLinkTrigger: () => TabsLinkTrigger,
180
+ TabsList: () => TabsList,
181
+ TabsTrigger: () => TabsTrigger,
182
+ TagsInput: () => TagsInput,
183
+ TaskPanel: () => TaskPanel,
184
+ TaskPanelActions: () => TaskPanelActions,
185
+ TaskPanelCounter: () => TaskPanelCounter,
186
+ TaskPanelHeader: () => TaskPanelHeader,
187
+ TaskPanelItem: () => TaskPanelItem,
188
+ TaskQueue: () => TaskQueue,
189
+ TaskQueueDropdown: () => TaskQueueDropdown,
190
+ TaskQueueProvider: () => TaskQueueProvider,
191
+ TaskQueueTrigger: () => TaskQueueTrigger,
192
+ TaskSummaryDialog: () => TaskSummaryDialog,
193
+ Textarea: () => Textarea,
194
+ ThemeProvider: () => ThemeProvider,
195
+ ThemeScript: () => ThemeScript,
196
+ TimeRangePicker: () => TimeRangePicker,
197
+ TimezoneSelector: () => TimezoneSelector,
198
+ Toaster: () => Toaster,
199
+ Tooltip: () => Tooltip,
200
+ avatarStackVariants: () => avatarStackVariants,
201
+ badgeVariants: () => badgeVariants,
202
+ buttonVariants: () => buttonVariants,
203
+ configureProgress: () => configureProgress,
204
+ createOrgMetadata: () => createOrgMetadata,
205
+ createProjectMetadata: () => createProjectMetadata,
206
+ createTimezoneOption: () => createTimezoneOption,
207
+ createUserMetadata: () => createUserMetadata,
208
+ defineStepper: () => defineStepper,
209
+ detectStorage: () => detectStorage,
210
+ formatDateForInput: () => formatDateForInput,
211
+ formatSingleTimeDisplay: () => formatSingleTimeDisplay,
212
+ formatTimeRangeDisplay: () => formatTimeRangeDisplay,
213
+ formatTimezoneLabel: () => formatTimezoneLabel,
214
+ formatUtcForDisplay: () => formatUtcForDisplay,
215
+ getBrowserTimezone: () => getBrowserTimezone,
216
+ getContextLabel: () => getContextLabel,
217
+ getDefaultPreset: () => getDefaultPreset,
218
+ getDefaultTimezoneOptions: () => getDefaultTimezoneOptions,
219
+ getGutter: () => getGutter,
220
+ getPresetByKey: () => getPresetByKey,
221
+ getPresetByShortcut: () => getPresetByShortcut,
222
+ getPresetRange: () => getPresetRange,
223
+ getResponsiveValue: () => getResponsiveValue,
224
+ getShortTimezoneDisplay: () => getShortTimezoneDisplay,
225
+ getTimezoneOffset: () => getTimezoneOffset,
226
+ localInputStringToUtc: () => localInputStringToUtc,
227
+ matchesCurrentScope: () => matchesCurrentScope,
228
+ registerMediaQuery: () => registerMediaQuery,
229
+ startProgress: () => startProgress,
230
+ stopProgress: () => stopProgress,
231
+ toApiTimeRange: () => toApiTimeRange,
232
+ toast: () => toast,
233
+ useCurrentScope: () => useCurrentScope,
234
+ useField: () => useField,
235
+ useFieldContext: () => useFieldContext,
236
+ useFormContext: () => useFormContext,
237
+ useSidebar: () => useSidebar,
238
+ useStepper: () => useStepper,
239
+ useTaskQueue: () => useTaskQueue,
240
+ useTasksWithLabels: () => useTasksWithLabels,
241
+ useTheme: () => useTheme,
242
+ useToast: () => useToast,
243
+ useWatch: () => useWatch,
244
+ useWatchAll: () => useWatchAll,
245
+ utcStringToZonedDate: () => utcStringToZonedDate,
246
+ utcToLocalInputString: () => utcToLocalInputString,
247
+ zonedDateToUtcString: () => zonedDateToUtcString
248
+ });
249
+
250
+ //#endregion
251
+ export { CustomRangePanel as AbsoluteRangePanel, CustomRangePanel, Alert, AlertDescription, AlertTitle, AppSidebar, Autocomplete, AvatarStack, Badge, Button, Calendar, CalendarDatePicker, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ClientOnly, CloseIcon, Col, DEFAULT_PRESETS, Dialog, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, DropzoneContent, DropzoneEmptyState, EmptyContent, FileInputButton, Form, FormAutocomplete, FormButton, FormCheckbox, FormCopyBox, FormCustom, FormDescription, FormDialog, FormError, FormField, FormFieldArray, FormInput, FormRadioGroup, FormRadioItem, FormRoot, FormSelect, FormSelectItem, FormStep, FormStepper, FormSubmit, FormSwitch, FormTextarea, FormWhen, GRID_BREAKPOINTS, GRID_COLUMNS, GRID_PREFIX, Icon, Input, InputNumber, InputWithAddons, Label, LinkButton, LoaderOverlay, LocalTaskStorage, MoreActions, NavMain, PageTitle, QuickRangesPanel, RESPONSIVE_ARRAY, RESPONSIVE_MAP, RadioGroup, RadioGroupItem, RedisTaskStorage, Row, RowContext, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SpinnerIcon, StepperControls, StepperNavigation, Switch, Tabs, TabsContent, TabsLinkTrigger, TabsList, TabsTrigger, TagsInput, TaskPanel, TaskPanelActions, TaskPanelCounter, TaskPanelHeader, TaskPanelItem, TaskQueue, TaskQueueDropdown, TaskQueueProvider, TaskQueueTrigger, TaskSummaryDialog, Textarea, ThemeProvider, ThemeScript, TimeRangePicker, TimezoneSelector, Toaster, Tooltip, avatarStackVariants, badgeVariants, buttonVariants, configureProgress, createOrgMetadata, createProjectMetadata, createTimezoneOption, createUserMetadata, defineStepper, detectStorage, formatDateForInput, formatSingleTimeDisplay, formatTimeRangeDisplay, formatTimezoneLabel, formatUtcForDisplay, getBrowserTimezone, getContextLabel, getDefaultPreset, getDefaultTimezoneOptions, getGutter, getPresetByKey, getPresetByShortcut, getPresetRange, getResponsiveValue, getShortTimezoneDisplay, getTimezoneOffset, localInputStringToUtc, matchesCurrentScope, registerMediaQuery, startProgress, stopProgress, components_exports as t, toApiTimeRange, toast, useCurrentScope, useField, useFieldContext, useFormContext, useSidebar, useStepper, useTaskQueue, useTasksWithLabels, useTheme, useToast, useWatch, useWatchAll, utcStringToZonedDate, utcToLocalInputString, zonedDateToUtcString };
252
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../src/components/index.ts"],"sourcesContent":["/**\n * Datum UI Components\n *\n * Custom and extended components for the Datum design system.\n */\n\nexport * from './base'\nexport * from './features'\nexport * from './icons'\nexport * from './themes'\n"],"mappings":""}
@@ -0,0 +1,30 @@
1
+ import { r as ThemeStyle, t as Theme } from "./types-BoL47uxV.mjs";
2
+ import { ReactNode } from "react";
3
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
4
+
5
+ //#region src/providers/datum.provider.d.ts
6
+ interface DatumProviderProps {
7
+ children: ReactNode;
8
+ /** Theme mode: light, dark, or follow system preference */
9
+ defaultTheme?: Theme;
10
+ /** Visual style variant applied to the design system */
11
+ themeStyle?: ThemeStyle;
12
+ /** Force a specific theme, overriding user preference */
13
+ forcedTheme?: Theme;
14
+ /** localStorage key for theme persistence */
15
+ storageKey?: string;
16
+ /** Disable CSS transitions during theme switches */
17
+ disableTransitionOnChange?: boolean;
18
+ /** CSP nonce for inline script */
19
+ nonce?: string;
20
+ }
21
+ declare function DatumProvider({
22
+ children,
23
+ defaultTheme,
24
+ themeStyle,
25
+ storageKey,
26
+ ...props
27
+ }: DatumProviderProps): react_jsx_runtime0.JSX.Element;
28
+ //#endregion
29
+ export { DatumProviderProps as n, DatumProvider as t };
30
+ //# sourceMappingURL=datum.provider-CsG2KNNc.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datum.provider-CsG2KNNc.d.mts","names":[],"sources":["../src/providers/datum.provider.tsx"],"mappings":";;;;;UASiB,kBAAA;EACf,QAAA,EAAU,SAAA;EADK;EAGf,YAAA,GAAe,KAAA;;EAEf,UAAA,GAAa,UAAA;EAFE;EAIf,WAAA,GAAc,KAAA;EAAA;EAEd,UAAA;EAFmB;EAInB,yBAAA;EAVU;EAYV,KAAA;AAAA;AAAA,iBASc,aAAA,CAAA;EACd,QAAA;EACA,YAAA;EACA,UAAA;EACA,UAAA;EAAA,GACG;AAAA,GACF,kBAAA,GAAkB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -0,0 +1,38 @@
1
+ import { t as ThemeProvider } from "./theme.provider-DpFLwtHe.mjs";
2
+ import { jsx } from "react/jsx-runtime";
3
+
4
+ //#region src/providers/datum.provider.tsx
5
+ const THEME_STYLE_MAP = {
6
+ alpha: {
7
+ light: "theme-alpha",
8
+ dark: "theme-alpha dark"
9
+ },
10
+ default: {
11
+ light: "theme-default",
12
+ dark: "theme-default dark"
13
+ },
14
+ experimental: {
15
+ light: "theme-experimental",
16
+ dark: "theme-experimental dark"
17
+ }
18
+ };
19
+ function DatumProvider({ children, defaultTheme = "system", themeStyle = "alpha", storageKey = "datum-theme", ...props }) {
20
+ const styleMap = THEME_STYLE_MAP[themeStyle];
21
+ return /* @__PURE__ */ jsx(ThemeProvider, {
22
+ attribute: "class",
23
+ defaultTheme,
24
+ storageKey,
25
+ enableSystem: true,
26
+ enableColorScheme: true,
27
+ value: {
28
+ light: styleMap.light,
29
+ dark: styleMap.dark
30
+ },
31
+ ...props,
32
+ children
33
+ });
34
+ }
35
+
36
+ //#endregion
37
+ export { DatumProvider as t };
38
+ //# sourceMappingURL=datum.provider-D6VMjSV0.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datum.provider-D6VMjSV0.mjs","names":[],"sources":["../src/providers/datum.provider.tsx"],"sourcesContent":["'use client'\n\nimport type { ReactNode } from 'react'\nimport type { Theme, ThemeStyle } from '../components/themes/types'\nimport { ThemeProvider } from '../components/themes/theme.provider'\n\n// Auto-load all styles when DatumProvider is imported\nimport '../styles/root.css'\n\nexport interface DatumProviderProps {\n children: ReactNode\n /** Theme mode: light, dark, or follow system preference */\n defaultTheme?: Theme\n /** Visual style variant applied to the design system */\n themeStyle?: ThemeStyle\n /** Force a specific theme, overriding user preference */\n forcedTheme?: Theme\n /** localStorage key for theme persistence */\n storageKey?: string\n /** Disable CSS transitions during theme switches */\n disableTransitionOnChange?: boolean\n /** CSP nonce for inline script */\n nonce?: string\n}\n\nconst THEME_STYLE_MAP: Record<ThemeStyle, Record<'light' | 'dark', string>> = {\n alpha: { light: 'theme-alpha', dark: 'theme-alpha dark' },\n default: { light: 'theme-default', dark: 'theme-default dark' },\n experimental: { light: 'theme-experimental', dark: 'theme-experimental dark' },\n}\n\nexport function DatumProvider({\n children,\n defaultTheme = 'system',\n themeStyle = 'alpha',\n storageKey = 'datum-theme',\n ...props\n}: DatumProviderProps) {\n const styleMap = THEME_STYLE_MAP[themeStyle]\n\n return (\n <ThemeProvider\n attribute=\"class\"\n defaultTheme={defaultTheme}\n storageKey={storageKey}\n enableSystem\n enableColorScheme\n value={{ light: styleMap.light, dark: styleMap.dark }}\n {...props}\n >\n {children}\n </ThemeProvider>\n )\n}\n"],"mappings":";;;;AAyBA,MAAM,kBAAwE;CAC5E,OAAO;EAAE,OAAO;EAAe,MAAM;EAAoB;CACzD,SAAS;EAAE,OAAO;EAAiB,MAAM;EAAsB;CAC/D,cAAc;EAAE,OAAO;EAAsB,MAAM;EAA2B;CAC/E;AAED,SAAgB,cAAc,EAC5B,UACA,eAAe,UACf,aAAa,SACb,aAAa,eACb,GAAG,SACkB;CACrB,MAAM,WAAW,gBAAgB;AAEjC,QACE,oBAAC;EACC,WAAU;EACI;EACF;EACZ;EACA;EACA,OAAO;GAAE,OAAO,SAAS;GAAO,MAAM,SAAS;GAAM;EACrD,GAAI;EAEH;GACa"}
@@ -0,0 +1,3 @@
1
+ import '../style.css';
2
+ import { n as useCopyToClipboard, t as useDebounce } from "../use-debounce-Dg9zNz9U.mjs";
3
+ export { useCopyToClipboard, useDebounce };
@@ -0,0 +1,5 @@
1
+ import '../style.css';
2
+ import { t as useCopyToClipboard } from "../use-copy-to-clipboard-D5U8bWsn.mjs";
3
+ import { t as useDebounce } from "../use-debounce-BYB-jPeX.mjs";
4
+
5
+ export { useCopyToClipboard, useDebounce };
@@ -0,0 +1,62 @@
1
+ import { cn } from "@repo/shadcn/lib/utils";
2
+ import { cva } from "class-variance-authority";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+
5
+ //#region src/components/icons/spinner.icon.tsx
6
+ const spinnerVariants = cva("animate-spin", {
7
+ variants: { size: {
8
+ "xs": "size-3",
9
+ "sm": "size-4",
10
+ "md": "size-6",
11
+ "lg": "size-8",
12
+ "xl": "size-10",
13
+ "2xl": "size-12",
14
+ "3xl": "size-14",
15
+ "4xl": "size-16",
16
+ "5xl": "size-18",
17
+ "6xl": "size-20",
18
+ "7xl": "size-22",
19
+ "8xl": "size-24",
20
+ "9xl": "size-26"
21
+ } },
22
+ defaultVariants: { size: "md" }
23
+ });
24
+ function SpinnerIcon({ size, className, trackClassName = "text-border", indicatorClassName = "text-primary", ...props }) {
25
+ return /* @__PURE__ */ jsxs("svg", {
26
+ viewBox: "0 0 64 64",
27
+ fill: "none",
28
+ xmlns: "http://www.w3.org/2000/svg",
29
+ className: cn(spinnerVariants({ size }), className),
30
+ ...props,
31
+ children: [/* @__PURE__ */ jsx("path", {
32
+ d: "M32 3C35.8083 3 39.5794 3.75011 43.0978 5.20749C46.6163 6.66488 49.8132 8.80101 52.5061 11.4939C55.199 14.1868 57.3351 17.3837 58.7925 20.9022C60.2499 24.4206 61 28.1917 61 32C61 35.8083 60.2499 39.5794 58.7925 43.0978C57.3351 46.6163 55.199 49.8132 52.5061 52.5061C49.8132 55.199 46.6163 57.3351 43.0978 58.7925C39.5794 60.2499 35.8083 61 32 61C28.1917 61 24.4206 60.2499 20.9022 58.7925C17.3837 57.3351 14.1868 55.199 11.4939 52.5061C8.801 49.8132 6.66487 46.6163 5.20749 43.0978C3.7501 39.5794 3 35.8083 3 32C3 28.1917 3.75011 24.4206 5.2075 20.9022C6.66489 17.3837 8.80101 14.1868 11.4939 11.4939C14.1868 8.80099 17.3838 6.66487 20.9022 5.20749C24.4206 3.7501 28.1917 3 32 3L32 3Z",
33
+ stroke: "currentColor",
34
+ strokeWidth: "5",
35
+ strokeLinecap: "round",
36
+ strokeLinejoin: "round",
37
+ className: trackClassName
38
+ }), /* @__PURE__ */ jsx("path", {
39
+ d: "M32 3C36.5778 3 41.0906 4.08374 45.1692 6.16256C49.2477 8.24138 52.7762 11.2562 55.466 14.9605C58.1558 18.6647 59.9304 22.9531 60.6448 27.4748C61.3591 31.9965 60.9928 36.6232 59.5759 40.9762",
40
+ stroke: "currentColor",
41
+ strokeWidth: "5",
42
+ strokeLinecap: "round",
43
+ strokeLinejoin: "round",
44
+ className: indicatorClassName
45
+ })]
46
+ });
47
+ }
48
+
49
+ //#endregion
50
+ //#region src/components/icons/icon-wrapper.tsx
51
+ function Icon({ icon: IconComponent, strokeWidth = 1, absoluteStrokeWidth = true, size = 16, ...props }) {
52
+ return /* @__PURE__ */ jsx(IconComponent, {
53
+ ...props,
54
+ strokeWidth,
55
+ absoluteStrokeWidth,
56
+ size
57
+ });
58
+ }
59
+
60
+ //#endregion
61
+ export { SpinnerIcon as n, Icon as t };
62
+ //# sourceMappingURL=icon-wrapper-BTllM5Re.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-wrapper-BTllM5Re.mjs","names":[],"sources":["../src/components/icons/spinner.icon.tsx","../src/components/icons/icon-wrapper.tsx"],"sourcesContent":["import type { VariantProps } from 'class-variance-authority'\nimport { cn } from '@repo/shadcn/lib/utils'\nimport { cva } from 'class-variance-authority'\n\nconst spinnerVariants = cva('animate-spin', {\n variants: {\n size: {\n 'xs': 'size-3',\n 'sm': 'size-4',\n 'md': 'size-6',\n 'lg': 'size-8',\n 'xl': 'size-10',\n '2xl': 'size-12',\n '3xl': 'size-14',\n '4xl': 'size-16',\n '5xl': 'size-18',\n '6xl': 'size-20',\n '7xl': 'size-22',\n '8xl': 'size-24',\n '9xl': 'size-26',\n },\n },\n defaultVariants: {\n size: 'md',\n },\n})\n\nexport interface SpinnerIconProps\n extends React.SVGProps<SVGSVGElement>, VariantProps<typeof spinnerVariants> {\n /** Color of the track (background circle) */\n trackClassName?: string\n /** Color of the spinning indicator */\n indicatorClassName?: string\n}\n\nexport function SpinnerIcon({\n size,\n className,\n trackClassName = 'text-border',\n indicatorClassName = 'text-primary',\n ...props\n}: SpinnerIconProps) {\n return (\n <svg\n viewBox=\"0 0 64 64\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={cn(spinnerVariants({ size }), className)}\n {...props}\n >\n {/* Track (background circle) */}\n <path\n d=\"M32 3C35.8083 3 39.5794 3.75011 43.0978 5.20749C46.6163 6.66488 49.8132 8.80101 52.5061 11.4939C55.199 14.1868 57.3351 17.3837 58.7925 20.9022C60.2499 24.4206 61 28.1917 61 32C61 35.8083 60.2499 39.5794 58.7925 43.0978C57.3351 46.6163 55.199 49.8132 52.5061 52.5061C49.8132 55.199 46.6163 57.3351 43.0978 58.7925C39.5794 60.2499 35.8083 61 32 61C28.1917 61 24.4206 60.2499 20.9022 58.7925C17.3837 57.3351 14.1868 55.199 11.4939 52.5061C8.801 49.8132 6.66487 46.6163 5.20749 43.0978C3.7501 39.5794 3 35.8083 3 32C3 28.1917 3.75011 24.4206 5.2075 20.9022C6.66489 17.3837 8.80101 14.1868 11.4939 11.4939C14.1868 8.80099 17.3838 6.66487 20.9022 5.20749C24.4206 3.7501 28.1917 3 32 3L32 3Z\"\n stroke=\"currentColor\"\n strokeWidth=\"5\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={trackClassName}\n />\n {/* Indicator (spinning arc) */}\n <path\n d=\"M32 3C36.5778 3 41.0906 4.08374 45.1692 6.16256C49.2477 8.24138 52.7762 11.2562 55.466 14.9605C58.1558 18.6647 59.9304 22.9531 60.6448 27.4748C61.3591 31.9965 60.9928 36.6232 59.5759 40.9762\"\n stroke=\"currentColor\"\n strokeWidth=\"5\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={indicatorClassName}\n />\n </svg>\n )\n}\n","import type { LucideIcon, LucideProps } from 'lucide-react'\n\ntype IconProps = LucideProps & {\n icon: LucideIcon\n}\n\nexport function Icon({\n icon: IconComponent,\n strokeWidth = 1,\n absoluteStrokeWidth = true,\n size = 16,\n ...props\n}: IconProps) {\n return (\n <IconComponent\n {...props}\n strokeWidth={strokeWidth}\n absoluteStrokeWidth={absoluteStrokeWidth}\n size={size}\n />\n )\n}\n"],"mappings":";;;;;AAIA,MAAM,kBAAkB,IAAI,gBAAgB;CAC1C,UAAU,EACR,MAAM;EACJ,MAAM;EACN,MAAM;EACN,MAAM;EACN,MAAM;EACN,MAAM;EACN,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACR,EACF;CACD,iBAAiB,EACf,MAAM,MACP;CACF,CAAC;AAUF,SAAgB,YAAY,EAC1B,MACA,WACA,iBAAiB,eACjB,qBAAqB,gBACrB,GAAG,SACgB;AACnB,QACE,qBAAC;EACC,SAAQ;EACR,MAAK;EACL,OAAM;EACN,WAAW,GAAG,gBAAgB,EAAE,MAAM,CAAC,EAAE,UAAU;EACnD,GAAI;aAGJ,oBAAC;GACC,GAAE;GACF,QAAO;GACP,aAAY;GACZ,eAAc;GACd,gBAAe;GACf,WAAW;IACX,EAEF,oBAAC;GACC,GAAE;GACF,QAAO;GACP,aAAY;GACZ,eAAc;GACd,gBAAe;GACf,WAAW;IACX;GACE;;;;;AC9DV,SAAgB,KAAK,EACnB,MAAM,eACN,cAAc,GACd,sBAAsB,MACtB,OAAO,IACP,GAAG,SACS;AACZ,QACE,oBAAC;EACC,GAAI;EACS;EACQ;EACf;GACN"}
@@ -0,0 +1,3 @@
1
+ import '../style.css';
2
+ import { i as CloseIcon, n as SpinnerIconProps, r as Icon, t as SpinnerIcon } from "../spinner.icon-q9zisVlw.mjs";
3
+ export { CloseIcon, Icon, SpinnerIcon, SpinnerIconProps };
@@ -0,0 +1,5 @@
1
+ import '../style.css';
2
+ import { n as SpinnerIcon, t as Icon } from "../icon-wrapper-BTllM5Re.mjs";
3
+ import { t as CloseIcon } from "../close.icon-DgjsP0sw.mjs";
4
+
5
+ export { CloseIcon, Icon, SpinnerIcon };