@sequenceholdings/atlas-ui 3.6.0 → 3.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -266,10 +266,6 @@ declare function BreadcrumbEllipsis({ className, ...props }: React_2.ComponentPr
266
266
 
267
267
  declare function BreadcrumbItem({ className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
268
268
 
269
- declare function BreadcrumbLink({ asChild, className, ...props }: React_2.ComponentProps<"a"> & {
270
- asChild?: boolean;
271
- }): JSX.Element;
272
-
273
269
  /**
274
270
  * Supplies the router link that `Breadcrumb` uses for ancestor crumbs. Mount it
275
271
  * once in the app shell with your SPA `Link` so every breadcrumb navigates
@@ -306,7 +302,9 @@ export declare const BreadcrumbPrimitive: {
306
302
  Root: typeof Breadcrumb_2;
307
303
  List: typeof BreadcrumbList;
308
304
  Item: typeof BreadcrumbItem;
309
- Link: typeof BreadcrumbLink;
305
+ Link: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLAnchorElement> & React_2.AnchorHTMLAttributes<HTMLAnchorElement> & {
306
+ asChild?: boolean;
307
+ }, "ref"> & React_2.RefAttributes<HTMLAnchorElement>>;
310
308
  Page: typeof BreadcrumbPage;
311
309
  Separator: typeof BreadcrumbSeparator;
312
310
  Ellipsis: typeof BreadcrumbEllipsis;
@@ -881,18 +879,17 @@ declare interface DashboardShellProps {
881
879
  }
882
880
 
883
881
  /**
884
- * Date picker working in `Date | null` (or `DateRange | null` in `mode="range"`).
882
+ * Legacy Date-object single/range control; prefer DatePicker or DateRangePicker.
885
883
  * Radix popover + react-day-picker calendar + free-text parsing + presets.
886
884
  *
887
- * Most fields persist a date-only `YYYY-MM-DD` string — for those, reach for
888
- * {@link IsoDateField} (single) or `DateRangePill` (start–end range) instead,
889
- * which own the string ↔ Date bridge (local-midnight parse, invalid-date
890
- * rejection) so you don't re-implement it. Use `DateField` directly only when
891
- * the value is genuinely a `Date`/`DateRange`: an in-memory filter, a
892
- * non-date-only serialization (e.g. a full timestamp), or a custom trigger.
885
+ * Single mode takes Date | null; range mode takes DateRange | null.
886
+ * Both take Date bounds. DatePicker instead uses YYYY-MM-DD strings for its
887
+ * value and bounds. Keep DateField and compatibility aliases through 3.x;
888
+ * removal is planned for the next major, not the transition minor.
893
889
  *
894
- * @see IsoDateField — single date-only string fields (the common case)
890
+ * @see DatePicker — single date-only string fields (the common case)
895
891
  * @see DateRangePill — start–end ranges persisted as strings
892
+ * @deprecated Use DatePicker for one date or DateRangePicker for a range.
896
893
  */
897
894
  export declare function DateField(props: DateFieldProps): React_2.ReactElement;
898
895
 
@@ -924,8 +921,12 @@ declare interface DateFieldCommonProps {
924
921
  containerClassName?: string;
925
922
  /** Extra classes applied to the trigger button. */
926
923
  className?: string;
924
+ /** Extra classes applied to the calendar popover (for dialog stacking). */
925
+ popoverClassName?: string;
927
926
  /** ARIA label for the trigger button. */
928
927
  ariaLabel?: string;
928
+ /** IDs of help or error text that describes the trigger button. */
929
+ 'aria-describedby'?: string;
929
930
  /**
930
931
  * When set, applies `aria-invalid` to the trigger button so validation
931
932
  * helpers (e.g. scroll-to-first-error) can locate and focus this control.
@@ -939,6 +940,7 @@ declare interface DateFieldCommonProps {
939
940
  * retrospective filter usage. Pass `'future'` on forward-planning
940
941
  * surfaces (due dates, scheduling) so `"Jun 8"` in May reads as the
941
942
  * upcoming June 8 instead of last year's.
943
+ * @default 'past'
942
944
  */
943
945
  yearBias?: YearBias;
944
946
  }
@@ -985,6 +987,18 @@ export declare interface DateRange {
985
987
  to: Date;
986
988
  }
987
989
 
990
+ declare function DateRangeField(props: DateRangeFieldProps): React_2.ReactElement;
991
+ export { DateRangeField }
992
+ export { DateRangeField as DateRangePicker }
993
+
994
+ /** Compatibility range control; prefer DateRangePicker for a range, DatePicker for one date. */
995
+ declare interface DateRangeFieldProps extends DateFieldCommonProps {
996
+ value: DateRange | null;
997
+ onChange: (next: DateRange | null) => void;
998
+ }
999
+ export { DateRangeFieldProps }
1000
+ export { DateRangeFieldProps as DateRangePickerProps }
1001
+
988
1002
  /** Checkbox "checked" target: clicking an unchecked row sets this. */
989
1003
  export declare const DEFAULT_COMPLETE_STATUS = "done";
990
1004
 
@@ -1717,6 +1731,8 @@ export declare interface FormFieldProps {
1717
1731
  className?: string;
1718
1732
  }
1719
1733
 
1734
+ declare type ForwardedProps = Omit<SingleProps, 'mode' | 'value' | 'onChange' | 'min' | 'max'>;
1735
+
1720
1736
  export declare function GenericAvatar({ size, className }: GenericAvatarProps): JSX.Element;
1721
1737
 
1722
1738
  export declare interface GenericAvatarProps {
@@ -1793,7 +1809,8 @@ declare interface InputOwnProps {
1793
1809
  }
1794
1810
 
1795
1811
  /**
1796
- * Shared shadcn input: sensitive uses native text events; currency and percentage emit raw strings.
1812
+ * Ordinary text input; use DatePicker for a calendar date or DateRangePicker for a range.
1813
+ * Sensitive uses native text events; currency and percentage emit raw strings.
1797
1814
  * For sensitive and percentage, className styles the outer visual field; text styles
1798
1815
  * inherit into the native input. Refs and native input props target the inner input.
1799
1816
  * @example
@@ -1821,6 +1838,41 @@ export declare function insertTrackedMention(input: {
1821
1838
  */
1822
1839
  export declare function isFieldEditable(field: TaskFieldDef): boolean;
1823
1840
 
1841
+ /**
1842
+ * Compatibility string adapter; prefer DatePicker for one standalone calendar date.
1843
+ * Bridges the shared `DateField` (which works in
1844
+ * `Date | null`) and the `YYYY-MM-DD` string contract for persisted
1845
+ * date-only values.
1846
+ *
1847
+ * All timezone-drift and validation handling lives in the shared
1848
+ * `fromIsoDate` / `toIsoDateOrNull` helpers (`@shared/lib/iso-date`): a bare
1849
+ * `YYYY-MM-DD` parses at local midnight so the day doesn't shift at the
1850
+ * dateline, and an invalid calendar string clears the field instead of
1851
+ * rolling to a different day.
1852
+ *
1853
+ * This component owns only the conversion — no label, no error chrome. Compose
1854
+ * it inside an app's labeled field wrapper when you need those.
1855
+ *
1856
+ * @see DateRangePicker — use for calendar ranges
1857
+ * @see DateRangePill — the start–end range analogue (also string-based)
1858
+ */
1859
+ declare function IsoDateField({ value, onChange, min, max, ...rest }: IsoDateFieldProps): JSX.Element;
1860
+ export { IsoDateField as DatePicker }
1861
+ export { IsoDateField }
1862
+
1863
+ declare interface IsoDateFieldProps extends ForwardedProps {
1864
+ /** Date-only ISO string (`YYYY-MM-DD`) or null/undefined when unset. */
1865
+ value: string | null | undefined;
1866
+ /** Fires with a `YYYY-MM-DD` string, or `null` when the field is cleared. */
1867
+ onChange: (next: string | null) => void;
1868
+ /** Earliest selectable day, as a `YYYY-MM-DD` string. Inclusive. */
1869
+ min?: string;
1870
+ /** Latest selectable day, as a `YYYY-MM-DD` string. Inclusive. */
1871
+ max?: string;
1872
+ }
1873
+ export { IsoDateFieldProps as DatePickerProps }
1874
+ export { IsoDateFieldProps }
1875
+
1824
1876
  export declare function KpiTile({ label, labelAdornment, onLabelClick, value, delta, deltaTone, footer, tone, valueAdornment, pinValue, className, onClick, }: KpiTileProps): JSX.Element;
1825
1877
 
1826
1878
  /**
@@ -3015,7 +3067,8 @@ declare interface SegmentedControlOption<T extends string> {
3015
3067
 
3016
3068
  declare interface SegmentedControlProps<T extends string> {
3017
3069
  options: SegmentedControlOption<T>[];
3018
- value: T;
3070
+ /** `null` when the selection lives elsewhere (say, a picked date): no option reads as active, and any click reports. */
3071
+ value: T | null;
3019
3072
  onChange: (value: T) => void;
3020
3073
  className?: string;
3021
3074
  size?: 'default' | 'touch';
@@ -3118,6 +3171,10 @@ export declare function showFieldInline({ show, hasValue, }: {
3118
3171
  hasValue: boolean;
3119
3172
  }): boolean;
3120
3173
 
3174
+ declare type SingleProps = Extract<DateFieldProps, {
3175
+ mode?: 'single';
3176
+ }>;
3177
+
3121
3178
  /**
3122
3179
  * SingleSelectList — the single-select sibling of `MultiSelectList`. Same
3123
3180
  * searchable cmdk body, pinned grouping, and icon column, but rows carry a
package/dist/index.mjs CHANGED
@@ -1,96 +1,98 @@
1
1
  import { cn as ee } from "./shared/lib/utils.mjs";
2
- import { insertTrackedMention as te, reconcileTrackedMentions as ne, trackedMentionRecipientIds as e } from "./src/mention-tokens.mjs";
3
- import { formatCompact as t, formatCurrency as n, formatCurrencyPrecise as r, formatDurationMs as i, formatNumber as a, formatPercent as o, formatTimestamp as s, pctChange as c } from "./shared/lib/format.mjs";
4
- import { PortalContainerContext as l, PortalContainerProvider as u, useAppClassName as d, usePortalContainer as f } from "./shared/contexts/PortalContainerContext.mjs";
5
- import { useOptimisticResource as p } from "./shared/hooks/useOptimisticResource.mjs";
6
- import { useOptimisticList as m } from "./shared/hooks/useOptimisticList.mjs";
7
- import { useEditableDraft as h } from "./shared/hooks/useEditableDraft.mjs";
8
- import { usePersistentTabValue as g } from "./shared/hooks/usePersistentTabValue.mjs";
9
- import { MOBILE_BREAKPOINT_PX as _, useIsMobileViewport as v } from "./shared/lib/useIsMobileViewport.mjs";
10
- import { toast as y } from "./vendor/sonner@2.0.7_react-dom@19.2.6_react@19.2.6__react@19.2.6/dist/index.mjs";
11
- import { Badge as b, badgeVariants as x } from "./shared/components/ui/badge.mjs";
12
- import { CalendarGrid as S } from "./shared/components/calendar-grid.mjs";
13
- import { RequiredMarker as C } from "./shared/components/ui/required-marker.mjs";
14
- import { Label as w } from "./shared/components/ui/label.mjs";
15
- import { Separator as T } from "./shared/components/ui/separator.mjs";
16
- import { Field as E, FieldContent as D, FieldDescription as O, FieldError as k, FieldGroup as A, FieldLabel as j, FieldLegend as M, FieldSeparator as N, FieldSet as P, FieldTitle as F } from "./shared/components/ui/field.mjs";
17
- import { Button as I, buttonVariants as L } from "./shared/components/ui/button.mjs";
18
- import { Input as R } from "./shared/components/ui/input.mjs";
19
- import { SearchInput as z } from "./shared/components/ui/search-input.mjs";
20
- import { Switch as B } from "./shared/components/ui/switch.mjs";
21
- import { ChoiceCard as V, ChoiceCardGroup as H } from "./shared/components/ui/choice-card.mjs";
22
- import { Tooltip as U, TooltipArrow as W, TooltipContent as G, TooltipProvider as K, TooltipTrigger as q } from "./shared/components/ui/tooltip.mjs";
23
- import { TruncatedText as J } from "./shared/components/ui/truncated-text.mjs";
24
- import { CitationChip as Y } from "./shared/components/ui/citation-chip.mjs";
25
- import { ChartContainer as X, ChartLegend as Z, ChartLegendContent as re, ChartTooltip as ie, ChartTooltipContent as ae } from "./shared/components/ui/chart.mjs";
26
- import { CodeBadge as oe, codeBadgeVariants as se } from "./shared/components/ui/code-badge.mjs";
27
- import { FormField as ce } from "./shared/components/ui/form-field.mjs";
28
- import { Toggle as le, toggleVariants as ue } from "./shared/components/ui/toggle.mjs";
29
- import { ToggleGroup as de, ToggleGroupItem as fe } from "./shared/components/ui/toggle-group.mjs";
30
- import { Card as pe, CardContent as me, CardDescription as he, CardHeader as ge, CardTitle as _e } from "./shared/components/ui/card.mjs";
31
- import { ProgressBar as ve } from "./shared/components/ui/progress-bar.mjs";
32
- import { BreadcrumbPrimitive as ye } from "./shared/components/ui/breadcrumb.mjs";
33
- import { DialogLayer as be, dialogStackZ as xe, menuStackStyle as Se, useMenuZIndex as Ce } from "./shared/components/ui/dialog-layer.mjs";
34
- import { DropdownMenu as we, DropdownMenuCheckboxItem as Te, DropdownMenuContent as Ee, DropdownMenuGroup as De, DropdownMenuItem as Oe, DropdownMenuLabel as ke, DropdownMenuPortal as Ae, DropdownMenuRadioGroup as je, DropdownMenuRadioItem as Me, DropdownMenuSeparator as Ne, DropdownMenuShortcut as Pe, DropdownMenuSub as Fe, DropdownMenuSubContent as Ie, DropdownMenuSubTrigger as Le, DropdownMenuTrigger as Re } from "./shared/components/ui/dropdown-menu.mjs";
35
- import { Skeleton as ze } from "./shared/components/ui/skeleton.mjs";
36
- import { Breadcrumb as Be, BreadcrumbLinkProvider as Ve } from "./shared/components/ui/breadcrumb-nav.mjs";
37
- import { Spinner as He, spinnerVariants as Ue } from "./shared/components/ui/spinner.mjs";
38
- import { Tabs as We, TabsContent as Ge, TabsList as Ke, TabsTrigger as qe } from "./shared/components/ui/tabs.mjs";
39
- import { Toaster as Je } from "./shared/components/ui/sonner.mjs";
40
- import { TableBody as Ye, TableCaption as Xe, TableCell as Ze, TableFooter as Qe, TableHead as $e, TableHeader as et, TablePrimitive as tt, TableRow as nt } from "./shared/components/ui/table.mjs";
41
- import { Checkbox as rt } from "./shared/components/ui/checkbox.mjs";
42
- import { Popover as it, PopoverAnchor as at, PopoverContent as ot, PopoverTrigger as st } from "./shared/components/ui/popover.mjs";
43
- import { Dialog as ct, DialogBody as lt, DialogClose as ut, DialogContent as dt, DialogDescription as ft, DialogFooter as pt, DialogHeader as mt, DialogOverlay as ht, DialogPortal as gt, DialogTitle as _t, DialogTrigger as vt } from "./shared/components/ui/dialog.mjs";
44
- import { Command as yt, CommandDialog as bt, CommandEmpty as xt, CommandGroup as St, CommandInput as Ct, CommandItem as wt, CommandList as Tt, CommandSeparator as Et, CommandShortcut as Dt } from "./shared/components/ui/command.mjs";
45
- import { MultiSelect as Ot, MultiSelectList as kt, SingleSelectList as At } from "./shared/components/ui/multi-select.mjs";
46
- import { AGENT_TINTS as jt, AvatarTextCell as Mt, CodePillCell as Nt, LineSparklineCell as Pt, PercentCell as Ft, ProDataTable as Q, ProDataTablePagination as It, ProDataTableToolbar as Lt, ProgressBarCell as Rt, RelativeTimeCell as zt, ResultsBarCell as Bt, STATUS_TONES as Vt, ScoreBarCell as Ht, SparklineCell as Ut, StatusDotBadge as Wt, facetFilterMatches as Gt, scoreBand as Kt, tintForString as qt } from "./shared/components/ui/pro-data-table.mjs";
47
- import { ContentLoadingState as Jt, EmptyState as $, SectionLoadingState as Yt } from "./shared/components/ui/loading-state.mjs";
48
- import { HeatmapTable as Xt, SortableHeader as Zt, buildPeriodColumns as Qt, buildTotalColumn as $t, heatCellStyle as en } from "./shared/components/ui/heatmap-table.mjs";
49
- import { MetricCard as tn } from "./shared/components/ui/metric-card.mjs";
50
- import { KpiTile as nn, KpiTileGrid as rn } from "./shared/components/ui/kpi-tile.mjs";
51
- import { TrendBadge as an } from "./shared/components/ui/trend-badge.mjs";
52
- import { AsyncActionButton as on } from "./shared/components/ui/async-action-button.mjs";
53
- import { FileDropzone as sn, FileDropzoneList as cn, formatBytes as ln } from "./shared/components/ui/file-dropzone.mjs";
54
- import { FilterSelect as un } from "./shared/components/ui/filter-select.mjs";
55
- import { CheckboxGroup as dn } from "./shared/components/ui/checkbox-group.mjs";
56
- import { Slider as fn } from "./shared/components/ui/slider.mjs";
57
- import { SegmentedControl as pn } from "./shared/components/ui/segmented-control.mjs";
58
- import { PageState as mn } from "./shared/components/ui/page-state.mjs";
59
- import { ErrorState as hn } from "./shared/components/ui/error-state.mjs";
60
- import { PageSkeleton as gn, SkeletonBlock as _n } from "./shared/components/ui/page-skeleton.mjs";
61
- import { RouteLoading as vn } from "./shared/components/ui/route-loading.mjs";
62
- import { ArtifactAppShell as yn } from "./shared/components/ui/artifact-app-shell.mjs";
63
- import { DashboardShell as bn } from "./shared/components/ui/dashboard-shell.mjs";
64
- import { MetricGrid as xn } from "./shared/components/ui/metric-grid.mjs";
65
- import { MobileActionBar as Sn } from "./shared/components/ui/mobile-action-bar.mjs";
66
- import { MobileListRow as Cn } from "./shared/components/ui/mobile-list-row.mjs";
67
- import { MobilePageHeader as wn } from "./shared/components/ui/mobile-page-header.mjs";
68
- import { formatArtifactOfflineStatus as Tn } from "./shared/components/ui/artifact-offline-status.mjs";
69
- import { ArtifactOfflineControl as En } from "./shared/components/ui/artifact-offline-control.mjs";
70
- import { SectionHeader as Dn } from "./shared/components/ui/section-header.mjs";
71
- import { MobileAppNav as On, mobileAppNavItemVariants as kn } from "./shared/components/ui/mobile-app-nav.mjs";
72
- import { EditorTopBar as An, EditorTopBarActions as jn, EditorTopBarBackButton as Mn, EditorTopBarIdentity as Nn, EditorTopBarStatusBadge as Pn } from "./shared/components/ui/editor-top-bar.mjs";
73
- import { EditorSideNav as Fn, EditorSideNavGroup as In, EditorSideNavItem as Ln } from "./shared/components/ui/editor-side-nav.mjs";
74
- import { EditorPageHeader as Rn, EditorPagePane as zn, EditorSection as Bn } from "./shared/components/ui/editor-page-header.mjs";
75
- import { Sheet as Vn, SheetClose as Hn, SheetContent as Un, SheetDescription as Wn, SheetFooter as Gn, SheetHeader as Kn, SheetOverlay as qn, SheetPortal as Jn, SheetTitle as Yn, SheetTrigger as Xn } from "./shared/components/ui/sheet.mjs";
76
- import { ContextMenu as Zn, ContextMenuCheckboxItem as Qn, ContextMenuContent as $n, ContextMenuGroup as er, ContextMenuItem as tr, ContextMenuLabel as nr, ContextMenuPortal as rr, ContextMenuRadioGroup as ir, ContextMenuRadioItem as ar, ContextMenuSeparator as or, ContextMenuShortcut as sr, ContextMenuSub as cr, ContextMenuSubContent as lr, ContextMenuSubTrigger as ur, ContextMenuTrigger as dr } from "./shared/components/ui/context-menu.mjs";
77
- import { GenericAvatar as fr, UserAvatar as pr } from "./shared/components/ui/user-avatar.mjs";
78
- import { HoverCard as mr, HoverCardContent as hr, HoverCardTrigger as gr } from "./shared/components/ui/hover-card.mjs";
79
- import { UserChip as _r } from "./shared/components/ui/user-chip.mjs";
80
- import { InlineTextCell as vr } from "./shared/components/ui/inline-text-cell.mjs";
81
- import { MetricAreaChart as yr } from "./shared/components/ui/metric-area-chart.mjs";
82
- import { Textarea as br } from "./shared/components/ui/textarea.mjs";
83
- import { AlertDialog as xr, AlertDialogAction as Sr, AlertDialogCancel as Cr, AlertDialogContent as wr, AlertDialogDescription as Tr, AlertDialogFooter as Er, AlertDialogHeader as Dr, AlertDialogOverlay as Or, AlertDialogPortal as kr, AlertDialogTitle as Ar, AlertDialogTrigger as jr } from "./shared/components/ui/alert-dialog.mjs";
84
- import { ConfirmDialog as Mr } from "./shared/components/ui/confirm-dialog.mjs";
85
- import { FormDialog as Nr } from "./shared/components/ui/form-dialog.mjs";
86
- import { AppStatusBadge as Pr } from "./shared/components/ui/app-status-badge.mjs";
87
- import { Calendar as Fr } from "./shared/components/ui/calendar.mjs";
88
- import { RadioGroup as Ir, RadioGroupItem as Lr } from "./shared/components/ui/radio-group.mjs";
89
- import { Select as Rr, SelectContent as zr, SelectGroup as Br, SelectItem as Vr, SelectLabel as Hr, SelectScrollDownButton as Ur, SelectScrollUpButton as Wr, SelectSeparator as Gr, SelectTrigger as Kr, SelectValue as qr } from "./shared/components/ui/select.mjs";
90
- import { DEFAULT_RANGE_PRESETS as Jr, DEFAULT_SINGLE_PRESETS as Yr, DateField as Xr } from "./shared/components/ui/date-field.mjs";
91
- import { ScrollArea as Zr, ScrollBar as Qr } from "./shared/components/ui/scroll-area.mjs";
92
- import { TaskFieldChip as $r, fieldChipText as ei, fieldEditorValue as ti, isFieldEditable as ni, showFieldInline as ri } from "./shared/components/ui/task-field.mjs";
93
- import { DEFAULT_COMPLETE_STATUS as ii, DEFAULT_INCOMPLETE_STATUS as ai, DEFAULT_RESOLVED_STATUSES as oi, DEFAULT_START_STATUS as si, DEFAULT_STATUS_BOARD_ORDER as ci, DEFAULT_STATUS_OPTIONS as li, TaskRow as ui, TaskStatusIndicator as di, statusBoardRankIn as fi, statusMetaOf as pi, statusSelectOptions as mi } from "./shared/components/ui/task-row.mjs";
94
- import { TaskCreateDialog as hi } from "./shared/components/ui/task-create-dialog.mjs";
95
- import { TaskList as gi } from "./shared/components/ui/task-list.mjs";
96
- export { jt as AGENT_TINTS, xr as AlertDialog, Sr as AlertDialogAction, Cr as AlertDialogCancel, wr as AlertDialogContent, Tr as AlertDialogDescription, Er as AlertDialogFooter, Dr as AlertDialogHeader, Or as AlertDialogOverlay, kr as AlertDialogPortal, Ar as AlertDialogTitle, jr as AlertDialogTrigger, Pr as AppStatusBadge, yn as ArtifactAppShell, En as ArtifactOfflineControl, on as AsyncActionButton, Mt as AvatarTextCell, b as Badge, Be as Breadcrumb, Ve as BreadcrumbLinkProvider, ye as BreadcrumbPrimitive, I as Button, Fr as Calendar, S as CalendarGrid, pe as Card, me as CardContent, he as CardDescription, ge as CardHeader, _e as CardTitle, X as ChartContainer, Z as ChartLegend, re as ChartLegendContent, ie as ChartTooltip, ae as ChartTooltipContent, rt as Checkbox, dn as CheckboxGroup, V as ChoiceCard, H as ChoiceCardGroup, Y as CitationChip, oe as CodeBadge, Nt as CodePillCell, yt as Command, bt as CommandDialog, xt as CommandEmpty, St as CommandGroup, Ct as CommandInput, wt as CommandItem, Tt as CommandList, Et as CommandSeparator, Dt as CommandShortcut, Mr as ConfirmDialog, Jt as ContentLoadingState, Zn as ContextMenu, Qn as ContextMenuCheckboxItem, $n as ContextMenuContent, er as ContextMenuGroup, tr as ContextMenuItem, nr as ContextMenuLabel, rr as ContextMenuPortal, ir as ContextMenuRadioGroup, ar as ContextMenuRadioItem, or as ContextMenuSeparator, sr as ContextMenuShortcut, cr as ContextMenuSub, lr as ContextMenuSubContent, ur as ContextMenuSubTrigger, dr as ContextMenuTrigger, ii as DEFAULT_COMPLETE_STATUS, ai as DEFAULT_INCOMPLETE_STATUS, Jr as DEFAULT_RANGE_PRESETS, oi as DEFAULT_RESOLVED_STATUSES, Yr as DEFAULT_SINGLE_PRESETS, si as DEFAULT_START_STATUS, ci as DEFAULT_STATUS_BOARD_ORDER, li as DEFAULT_STATUS_OPTIONS, bn as DashboardShell, Q as DataTable, Xr as DateField, ct as Dialog, lt as DialogBody, ut as DialogClose, dt as DialogContent, ft as DialogDescription, pt as DialogFooter, mt as DialogHeader, be as DialogLayer, ht as DialogOverlay, gt as DialogPortal, _t as DialogTitle, vt as DialogTrigger, we as DropdownMenu, Te as DropdownMenuCheckboxItem, Ee as DropdownMenuContent, De as DropdownMenuGroup, Oe as DropdownMenuItem, ke as DropdownMenuLabel, Ae as DropdownMenuPortal, je as DropdownMenuRadioGroup, Me as DropdownMenuRadioItem, Ne as DropdownMenuSeparator, Pe as DropdownMenuShortcut, Fe as DropdownMenuSub, Ie as DropdownMenuSubContent, Le as DropdownMenuSubTrigger, Re as DropdownMenuTrigger, Rn as EditorPageHeader, zn as EditorPagePane, Bn as EditorSection, Fn as EditorSideNav, In as EditorSideNavGroup, Ln as EditorSideNavItem, An as EditorTopBar, jn as EditorTopBarActions, Mn as EditorTopBarBackButton, Nn as EditorTopBarIdentity, Pn as EditorTopBarStatusBadge, $ as EmptyState, hn as ErrorState, E as Field, D as FieldContent, O as FieldDescription, k as FieldError, A as FieldGroup, j as FieldLabel, M as FieldLegend, N as FieldSeparator, P as FieldSet, F as FieldTitle, sn as FileDropzone, cn as FileDropzoneList, un as FilterSelect, Nr as FormDialog, ce as FormField, fr as GenericAvatar, Xt as HeatmapTable, mr as HoverCard, hr as HoverCardContent, gr as HoverCardTrigger, vr as InlineTextCell, R as Input, nn as KpiTile, rn as KpiTileGrid, w as Label, Pt as LineSparklineCell, _ as MOBILE_BREAKPOINT_PX, yr as MetricAreaChart, tn as MetricCard, xn as MetricGrid, Sn as MobileActionBar, On as MobileAppNav, Cn as MobileListRow, wn as MobilePageHeader, Ot as MultiSelect, kt as MultiSelectList, gn as PageSkeleton, mn as PageState, Ft as PercentCell, it as Popover, at as PopoverAnchor, ot as PopoverContent, st as PopoverTrigger, l as PortalContainerContext, u as PortalContainerProvider, Q as ProDataTable, It as ProDataTablePagination, Lt as ProDataTableToolbar, ve as ProgressBar, Rt as ProgressBarCell, Ir as RadioGroup, Lr as RadioGroupItem, zt as RelativeTimeCell, C as RequiredMarker, Bt as ResultsBarCell, vn as RouteLoading, Vt as STATUS_TONES, Ht as ScoreBarCell, Zr as ScrollArea, Qr as ScrollBar, z as SearchInput, Dn as SectionHeader, Yt as SectionLoadingState, pn as SegmentedControl, Rr as Select, zr as SelectContent, Br as SelectGroup, Vr as SelectItem, Hr as SelectLabel, Ur as SelectScrollDownButton, Wr as SelectScrollUpButton, Gr as SelectSeparator, Kr as SelectTrigger, qr as SelectValue, T as Separator, Vn as Sheet, Hn as SheetClose, Un as SheetContent, Wn as SheetDescription, Gn as SheetFooter, Kn as SheetHeader, qn as SheetOverlay, Jn as SheetPortal, Yn as SheetTitle, Xn as SheetTrigger, At as SingleSelectList, ze as Skeleton, _n as SkeletonBlock, fn as Slider, Zt as SortableHeader, Ut as SparklineCell, He as Spinner, Wt as StatusDotBadge, B as Switch, Q as Table, Ye as TableBody, Xe as TableCaption, Ze as TableCell, Qe as TableFooter, $e as TableHead, et as TableHeader, tt as TablePrimitive, nt as TableRow, We as Tabs, Ge as TabsContent, Ke as TabsList, qe as TabsTrigger, hi as TaskCreateDialog, $r as TaskFieldChip, gi as TaskList, ui as TaskRow, di as TaskStatusIndicator, br as Textarea, Je as Toaster, le as Toggle, de as ToggleGroup, fe as ToggleGroupItem, U as Tooltip, W as TooltipArrow, G as TooltipContent, K as TooltipProvider, q as TooltipTrigger, an as TrendBadge, J as TruncatedText, pr as UserAvatar, _r as UserChip, x as badgeVariants, Qt as buildPeriodColumns, $t as buildTotalColumn, L as buttonVariants, ee as cn, se as codeBadgeVariants, xe as dialogStackZ, Gt as facetFilterMatches, ei as fieldChipText, ti as fieldEditorValue, Tn as formatArtifactOfflineStatus, ln as formatBytes, t as formatCompact, n as formatCurrency, r as formatCurrencyPrecise, i as formatDurationMs, a as formatNumber, o as formatPercent, s as formatTimestamp, en as heatCellStyle, te as insertTrackedMention, ni as isFieldEditable, Se as menuStackStyle, kn as mobileAppNavItemVariants, c as pctChange, ne as reconcileTrackedMentions, Kt as scoreBand, ri as showFieldInline, Ue as spinnerVariants, fi as statusBoardRankIn, pi as statusMetaOf, mi as statusSelectOptions, qt as tintForString, y as toast, ue as toggleVariants, e as trackedMentionRecipientIds, d as useAppClassName, h as useEditableDraft, v as useIsMobileViewport, Ce as useMenuZIndex, m as useOptimisticList, p as useOptimisticResource, g as usePersistentTabValue, f as usePortalContainer };
2
+ import { insertTrackedMention as te, reconcileTrackedMentions as ne, trackedMentionRecipientIds as re } from "./src/mention-tokens.mjs";
3
+ import { formatCompact as ie, formatCurrency as e, formatCurrencyPrecise as t, formatDurationMs as n, formatNumber as r, formatPercent as i, formatTimestamp as a, pctChange as o } from "./shared/lib/format.mjs";
4
+ import { PortalContainerContext as s, PortalContainerProvider as c, useAppClassName as l, usePortalContainer as u } from "./shared/contexts/PortalContainerContext.mjs";
5
+ import { useOptimisticResource as d } from "./shared/hooks/useOptimisticResource.mjs";
6
+ import { useOptimisticList as f } from "./shared/hooks/useOptimisticList.mjs";
7
+ import { useEditableDraft as p } from "./shared/hooks/useEditableDraft.mjs";
8
+ import { usePersistentTabValue as m } from "./shared/hooks/usePersistentTabValue.mjs";
9
+ import { MOBILE_BREAKPOINT_PX as h, useIsMobileViewport as g } from "./shared/lib/useIsMobileViewport.mjs";
10
+ import { toast as _ } from "./vendor/sonner@2.0.7_react-dom@19.2.6_react@19.2.6__react@19.2.6/dist/index.mjs";
11
+ import { Badge as v, badgeVariants as y } from "./shared/components/ui/badge.mjs";
12
+ import { CalendarGrid as b } from "./shared/components/calendar-grid.mjs";
13
+ import { RequiredMarker as x } from "./shared/components/ui/required-marker.mjs";
14
+ import { Label as S } from "./shared/components/ui/label.mjs";
15
+ import { Separator as C } from "./shared/components/ui/separator.mjs";
16
+ import { Field as w, FieldContent as T, FieldDescription as E, FieldError as D, FieldGroup as O, FieldLabel as k, FieldLegend as A, FieldSeparator as j, FieldSet as M, FieldTitle as N } from "./shared/components/ui/field.mjs";
17
+ import { Button as P, buttonVariants as F } from "./shared/components/ui/button.mjs";
18
+ import { Input as I } from "./shared/components/ui/input.mjs";
19
+ import { SearchInput as L } from "./shared/components/ui/search-input.mjs";
20
+ import { Switch as R } from "./shared/components/ui/switch.mjs";
21
+ import { ChoiceCard as z, ChoiceCardGroup as B } from "./shared/components/ui/choice-card.mjs";
22
+ import { Tooltip as V, TooltipArrow as H, TooltipContent as U, TooltipProvider as W, TooltipTrigger as G } from "./shared/components/ui/tooltip.mjs";
23
+ import { TruncatedText as K } from "./shared/components/ui/truncated-text.mjs";
24
+ import { CitationChip as q } from "./shared/components/ui/citation-chip.mjs";
25
+ import { ChartContainer as J, ChartLegend as Y, ChartLegendContent as ae, ChartTooltip as oe, ChartTooltipContent as se } from "./shared/components/ui/chart.mjs";
26
+ import { CodeBadge as ce, codeBadgeVariants as le } from "./shared/components/ui/code-badge.mjs";
27
+ import { FormField as ue } from "./shared/components/ui/form-field.mjs";
28
+ import { Toggle as de, toggleVariants as fe } from "./shared/components/ui/toggle.mjs";
29
+ import { ToggleGroup as pe, ToggleGroupItem as me } from "./shared/components/ui/toggle-group.mjs";
30
+ import { Card as he, CardContent as ge, CardDescription as _e, CardHeader as ve, CardTitle as ye } from "./shared/components/ui/card.mjs";
31
+ import { ProgressBar as be } from "./shared/components/ui/progress-bar.mjs";
32
+ import { BreadcrumbPrimitive as xe } from "./shared/components/ui/breadcrumb.mjs";
33
+ import { DialogLayer as Se, dialogStackZ as Ce, menuStackStyle as we, useMenuZIndex as Te } from "./shared/components/ui/dialog-layer.mjs";
34
+ import { DropdownMenu as Ee, DropdownMenuCheckboxItem as De, DropdownMenuContent as Oe, DropdownMenuGroup as ke, DropdownMenuItem as Ae, DropdownMenuLabel as je, DropdownMenuPortal as Me, DropdownMenuRadioGroup as Ne, DropdownMenuRadioItem as Pe, DropdownMenuSeparator as Fe, DropdownMenuShortcut as Ie, DropdownMenuSub as Le, DropdownMenuSubContent as Re, DropdownMenuSubTrigger as ze, DropdownMenuTrigger as Be } from "./shared/components/ui/dropdown-menu.mjs";
35
+ import { Skeleton as Ve } from "./shared/components/ui/skeleton.mjs";
36
+ import { Breadcrumb as He, BreadcrumbLinkProvider as Ue } from "./shared/components/ui/breadcrumb-nav.mjs";
37
+ import { Spinner as We, spinnerVariants as Ge } from "./shared/components/ui/spinner.mjs";
38
+ import { Tabs as Ke, TabsContent as qe, TabsList as Je, TabsTrigger as Ye } from "./shared/components/ui/tabs.mjs";
39
+ import { Toaster as Xe } from "./shared/components/ui/sonner.mjs";
40
+ import { TableBody as Ze, TableCaption as Qe, TableCell as $e, TableFooter as et, TableHead as tt, TableHeader as nt, TablePrimitive as rt, TableRow as it } from "./shared/components/ui/table.mjs";
41
+ import { Checkbox as at } from "./shared/components/ui/checkbox.mjs";
42
+ import { Popover as ot, PopoverAnchor as st, PopoverContent as ct, PopoverTrigger as lt } from "./shared/components/ui/popover.mjs";
43
+ import { Dialog as ut, DialogBody as dt, DialogClose as ft, DialogContent as pt, DialogDescription as mt, DialogFooter as ht, DialogHeader as gt, DialogOverlay as _t, DialogPortal as vt, DialogTitle as yt, DialogTrigger as bt } from "./shared/components/ui/dialog.mjs";
44
+ import { Command as xt, CommandDialog as St, CommandEmpty as Ct, CommandGroup as wt, CommandInput as Tt, CommandItem as Et, CommandList as Dt, CommandSeparator as Ot, CommandShortcut as kt } from "./shared/components/ui/command.mjs";
45
+ import { MultiSelect as At, MultiSelectList as jt, SingleSelectList as Mt } from "./shared/components/ui/multi-select.mjs";
46
+ import { AGENT_TINTS as Nt, AvatarTextCell as Pt, CodePillCell as Ft, LineSparklineCell as It, PercentCell as Lt, ProDataTable as X, ProDataTablePagination as Rt, ProDataTableToolbar as zt, ProgressBarCell as Bt, RelativeTimeCell as Vt, ResultsBarCell as Ht, STATUS_TONES as Ut, ScoreBarCell as Wt, SparklineCell as Gt, StatusDotBadge as Kt, facetFilterMatches as qt, scoreBand as Jt, tintForString as Yt } from "./shared/components/ui/pro-data-table.mjs";
47
+ import { ContentLoadingState as Xt, EmptyState as Zt, SectionLoadingState as Qt } from "./shared/components/ui/loading-state.mjs";
48
+ import { HeatmapTable as $t, SortableHeader as en, buildPeriodColumns as Z, buildTotalColumn as tn, heatCellStyle as nn } from "./shared/components/ui/heatmap-table.mjs";
49
+ import { MetricCard as rn } from "./shared/components/ui/metric-card.mjs";
50
+ import { KpiTile as an, KpiTileGrid as on } from "./shared/components/ui/kpi-tile.mjs";
51
+ import { TrendBadge as sn } from "./shared/components/ui/trend-badge.mjs";
52
+ import { AsyncActionButton as cn } from "./shared/components/ui/async-action-button.mjs";
53
+ import { FileDropzone as ln, FileDropzoneList as un, formatBytes as dn } from "./shared/components/ui/file-dropzone.mjs";
54
+ import { FilterSelect as fn } from "./shared/components/ui/filter-select.mjs";
55
+ import { CheckboxGroup as pn } from "./shared/components/ui/checkbox-group.mjs";
56
+ import { Slider as mn } from "./shared/components/ui/slider.mjs";
57
+ import { SegmentedControl as hn } from "./shared/components/ui/segmented-control.mjs";
58
+ import { PageState as gn } from "./shared/components/ui/page-state.mjs";
59
+ import { ErrorState as _n } from "./shared/components/ui/error-state.mjs";
60
+ import { PageSkeleton as vn, SkeletonBlock as yn } from "./shared/components/ui/page-skeleton.mjs";
61
+ import { RouteLoading as bn } from "./shared/components/ui/route-loading.mjs";
62
+ import { ArtifactAppShell as xn } from "./shared/components/ui/artifact-app-shell.mjs";
63
+ import { DashboardShell as Sn } from "./shared/components/ui/dashboard-shell.mjs";
64
+ import { MetricGrid as Cn } from "./shared/components/ui/metric-grid.mjs";
65
+ import { MobileActionBar as wn } from "./shared/components/ui/mobile-action-bar.mjs";
66
+ import { MobileListRow as Tn } from "./shared/components/ui/mobile-list-row.mjs";
67
+ import { MobilePageHeader as En } from "./shared/components/ui/mobile-page-header.mjs";
68
+ import { formatArtifactOfflineStatus as Dn } from "./shared/components/ui/artifact-offline-status.mjs";
69
+ import { ArtifactOfflineControl as On } from "./shared/components/ui/artifact-offline-control.mjs";
70
+ import { SectionHeader as kn } from "./shared/components/ui/section-header.mjs";
71
+ import { MobileAppNav as An, mobileAppNavItemVariants as jn } from "./shared/components/ui/mobile-app-nav.mjs";
72
+ import { EditorTopBar as Mn, EditorTopBarActions as Nn, EditorTopBarBackButton as Pn, EditorTopBarIdentity as Fn, EditorTopBarStatusBadge as In } from "./shared/components/ui/editor-top-bar.mjs";
73
+ import { EditorSideNav as Ln, EditorSideNavGroup as Rn, EditorSideNavItem as zn } from "./shared/components/ui/editor-side-nav.mjs";
74
+ import { EditorPageHeader as Bn, EditorPagePane as Vn, EditorSection as Hn } from "./shared/components/ui/editor-page-header.mjs";
75
+ import { Sheet as Un, SheetClose as Wn, SheetContent as Gn, SheetDescription as Kn, SheetFooter as qn, SheetHeader as Jn, SheetOverlay as Yn, SheetPortal as Xn, SheetTitle as Zn, SheetTrigger as Qn } from "./shared/components/ui/sheet.mjs";
76
+ import { ContextMenu as $n, ContextMenuCheckboxItem as er, ContextMenuContent as tr, ContextMenuGroup as nr, ContextMenuItem as rr, ContextMenuLabel as ir, ContextMenuPortal as ar, ContextMenuRadioGroup as or, ContextMenuRadioItem as sr, ContextMenuSeparator as cr, ContextMenuShortcut as lr, ContextMenuSub as ur, ContextMenuSubContent as dr, ContextMenuSubTrigger as fr, ContextMenuTrigger as pr } from "./shared/components/ui/context-menu.mjs";
77
+ import { GenericAvatar as mr, UserAvatar as hr } from "./shared/components/ui/user-avatar.mjs";
78
+ import { HoverCard as gr, HoverCardContent as _r, HoverCardTrigger as vr } from "./shared/components/ui/hover-card.mjs";
79
+ import { UserChip as yr } from "./shared/components/ui/user-chip.mjs";
80
+ import { InlineTextCell as br } from "./shared/components/ui/inline-text-cell.mjs";
81
+ import { MetricAreaChart as xr } from "./shared/components/ui/metric-area-chart.mjs";
82
+ import { Textarea as Sr } from "./shared/components/ui/textarea.mjs";
83
+ import { AlertDialog as Cr, AlertDialogAction as wr, AlertDialogCancel as Tr, AlertDialogContent as Er, AlertDialogDescription as Dr, AlertDialogFooter as Or, AlertDialogHeader as kr, AlertDialogOverlay as Ar, AlertDialogPortal as jr, AlertDialogTitle as Mr, AlertDialogTrigger as Nr } from "./shared/components/ui/alert-dialog.mjs";
84
+ import { ConfirmDialog as Pr } from "./shared/components/ui/confirm-dialog.mjs";
85
+ import { FormDialog as Fr } from "./shared/components/ui/form-dialog.mjs";
86
+ import { AppStatusBadge as Ir } from "./shared/components/ui/app-status-badge.mjs";
87
+ import { Calendar as Lr } from "./shared/components/ui/calendar.mjs";
88
+ import { RadioGroup as Rr, RadioGroupItem as zr } from "./shared/components/ui/radio-group.mjs";
89
+ import { Select as Br, SelectContent as Vr, SelectGroup as Hr, SelectItem as Ur, SelectLabel as Wr, SelectScrollDownButton as Gr, SelectScrollUpButton as Kr, SelectSeparator as qr, SelectTrigger as Jr, SelectValue as Yr } from "./shared/components/ui/select.mjs";
90
+ import { DEFAULT_RANGE_PRESETS as Xr, DEFAULT_SINGLE_PRESETS as Zr, DateField as Qr, DateRangeField as Q } from "./shared/components/ui/date-field.mjs";
91
+ import { IsoDateField as $ } from "./shared/components/ui/iso-date-field.mjs";
92
+ import "./shared/components/ui/date-picker.mjs";
93
+ import { ScrollArea as $r, ScrollBar as ei } from "./shared/components/ui/scroll-area.mjs";
94
+ import { TaskFieldChip as ti, fieldChipText as ni, fieldEditorValue as ri, isFieldEditable as ii, showFieldInline as ai } from "./shared/components/ui/task-field.mjs";
95
+ import { DEFAULT_COMPLETE_STATUS as oi, DEFAULT_INCOMPLETE_STATUS as si, DEFAULT_RESOLVED_STATUSES as ci, DEFAULT_START_STATUS as li, DEFAULT_STATUS_BOARD_ORDER as ui, DEFAULT_STATUS_OPTIONS as di, TaskRow as fi, TaskStatusIndicator as pi, statusBoardRankIn as mi, statusMetaOf as hi, statusSelectOptions as gi } from "./shared/components/ui/task-row.mjs";
96
+ import { TaskCreateDialog as _i } from "./shared/components/ui/task-create-dialog.mjs";
97
+ import { TaskList as vi } from "./shared/components/ui/task-list.mjs";
98
+ export { Nt as AGENT_TINTS, Cr as AlertDialog, wr as AlertDialogAction, Tr as AlertDialogCancel, Er as AlertDialogContent, Dr as AlertDialogDescription, Or as AlertDialogFooter, kr as AlertDialogHeader, Ar as AlertDialogOverlay, jr as AlertDialogPortal, Mr as AlertDialogTitle, Nr as AlertDialogTrigger, Ir as AppStatusBadge, xn as ArtifactAppShell, On as ArtifactOfflineControl, cn as AsyncActionButton, Pt as AvatarTextCell, v as Badge, He as Breadcrumb, Ue as BreadcrumbLinkProvider, xe as BreadcrumbPrimitive, P as Button, Lr as Calendar, b as CalendarGrid, he as Card, ge as CardContent, _e as CardDescription, ve as CardHeader, ye as CardTitle, J as ChartContainer, Y as ChartLegend, ae as ChartLegendContent, oe as ChartTooltip, se as ChartTooltipContent, at as Checkbox, pn as CheckboxGroup, z as ChoiceCard, B as ChoiceCardGroup, q as CitationChip, ce as CodeBadge, Ft as CodePillCell, xt as Command, St as CommandDialog, Ct as CommandEmpty, wt as CommandGroup, Tt as CommandInput, Et as CommandItem, Dt as CommandList, Ot as CommandSeparator, kt as CommandShortcut, Pr as ConfirmDialog, Xt as ContentLoadingState, $n as ContextMenu, er as ContextMenuCheckboxItem, tr as ContextMenuContent, nr as ContextMenuGroup, rr as ContextMenuItem, ir as ContextMenuLabel, ar as ContextMenuPortal, or as ContextMenuRadioGroup, sr as ContextMenuRadioItem, cr as ContextMenuSeparator, lr as ContextMenuShortcut, ur as ContextMenuSub, dr as ContextMenuSubContent, fr as ContextMenuSubTrigger, pr as ContextMenuTrigger, oi as DEFAULT_COMPLETE_STATUS, si as DEFAULT_INCOMPLETE_STATUS, Xr as DEFAULT_RANGE_PRESETS, ci as DEFAULT_RESOLVED_STATUSES, Zr as DEFAULT_SINGLE_PRESETS, li as DEFAULT_START_STATUS, ui as DEFAULT_STATUS_BOARD_ORDER, di as DEFAULT_STATUS_OPTIONS, Sn as DashboardShell, X as DataTable, Qr as DateField, $ as DatePicker, Q as DateRangeField, Q as DateRangePicker, ut as Dialog, dt as DialogBody, ft as DialogClose, pt as DialogContent, mt as DialogDescription, ht as DialogFooter, gt as DialogHeader, Se as DialogLayer, _t as DialogOverlay, vt as DialogPortal, yt as DialogTitle, bt as DialogTrigger, Ee as DropdownMenu, De as DropdownMenuCheckboxItem, Oe as DropdownMenuContent, ke as DropdownMenuGroup, Ae as DropdownMenuItem, je as DropdownMenuLabel, Me as DropdownMenuPortal, Ne as DropdownMenuRadioGroup, Pe as DropdownMenuRadioItem, Fe as DropdownMenuSeparator, Ie as DropdownMenuShortcut, Le as DropdownMenuSub, Re as DropdownMenuSubContent, ze as DropdownMenuSubTrigger, Be as DropdownMenuTrigger, Bn as EditorPageHeader, Vn as EditorPagePane, Hn as EditorSection, Ln as EditorSideNav, Rn as EditorSideNavGroup, zn as EditorSideNavItem, Mn as EditorTopBar, Nn as EditorTopBarActions, Pn as EditorTopBarBackButton, Fn as EditorTopBarIdentity, In as EditorTopBarStatusBadge, Zt as EmptyState, _n as ErrorState, w as Field, T as FieldContent, E as FieldDescription, D as FieldError, O as FieldGroup, k as FieldLabel, A as FieldLegend, j as FieldSeparator, M as FieldSet, N as FieldTitle, ln as FileDropzone, un as FileDropzoneList, fn as FilterSelect, Fr as FormDialog, ue as FormField, mr as GenericAvatar, $t as HeatmapTable, gr as HoverCard, _r as HoverCardContent, vr as HoverCardTrigger, br as InlineTextCell, I as Input, $ as IsoDateField, an as KpiTile, on as KpiTileGrid, S as Label, It as LineSparklineCell, h as MOBILE_BREAKPOINT_PX, xr as MetricAreaChart, rn as MetricCard, Cn as MetricGrid, wn as MobileActionBar, An as MobileAppNav, Tn as MobileListRow, En as MobilePageHeader, At as MultiSelect, jt as MultiSelectList, vn as PageSkeleton, gn as PageState, Lt as PercentCell, ot as Popover, st as PopoverAnchor, ct as PopoverContent, lt as PopoverTrigger, s as PortalContainerContext, c as PortalContainerProvider, X as ProDataTable, Rt as ProDataTablePagination, zt as ProDataTableToolbar, be as ProgressBar, Bt as ProgressBarCell, Rr as RadioGroup, zr as RadioGroupItem, Vt as RelativeTimeCell, x as RequiredMarker, Ht as ResultsBarCell, bn as RouteLoading, Ut as STATUS_TONES, Wt as ScoreBarCell, $r as ScrollArea, ei as ScrollBar, L as SearchInput, kn as SectionHeader, Qt as SectionLoadingState, hn as SegmentedControl, Br as Select, Vr as SelectContent, Hr as SelectGroup, Ur as SelectItem, Wr as SelectLabel, Gr as SelectScrollDownButton, Kr as SelectScrollUpButton, qr as SelectSeparator, Jr as SelectTrigger, Yr as SelectValue, C as Separator, Un as Sheet, Wn as SheetClose, Gn as SheetContent, Kn as SheetDescription, qn as SheetFooter, Jn as SheetHeader, Yn as SheetOverlay, Xn as SheetPortal, Zn as SheetTitle, Qn as SheetTrigger, Mt as SingleSelectList, Ve as Skeleton, yn as SkeletonBlock, mn as Slider, en as SortableHeader, Gt as SparklineCell, We as Spinner, Kt as StatusDotBadge, R as Switch, X as Table, Ze as TableBody, Qe as TableCaption, $e as TableCell, et as TableFooter, tt as TableHead, nt as TableHeader, rt as TablePrimitive, it as TableRow, Ke as Tabs, qe as TabsContent, Je as TabsList, Ye as TabsTrigger, _i as TaskCreateDialog, ti as TaskFieldChip, vi as TaskList, fi as TaskRow, pi as TaskStatusIndicator, Sr as Textarea, Xe as Toaster, de as Toggle, pe as ToggleGroup, me as ToggleGroupItem, V as Tooltip, H as TooltipArrow, U as TooltipContent, W as TooltipProvider, G as TooltipTrigger, sn as TrendBadge, K as TruncatedText, hr as UserAvatar, yr as UserChip, y as badgeVariants, Z as buildPeriodColumns, tn as buildTotalColumn, F as buttonVariants, ee as cn, le as codeBadgeVariants, Ce as dialogStackZ, qt as facetFilterMatches, ni as fieldChipText, ri as fieldEditorValue, Dn as formatArtifactOfflineStatus, dn as formatBytes, ie as formatCompact, e as formatCurrency, t as formatCurrencyPrecise, n as formatDurationMs, r as formatNumber, i as formatPercent, a as formatTimestamp, nn as heatCellStyle, te as insertTrackedMention, ii as isFieldEditable, we as menuStackStyle, jn as mobileAppNavItemVariants, o as pctChange, ne as reconcileTrackedMentions, Jt as scoreBand, ai as showFieldInline, Ge as spinnerVariants, mi as statusBoardRankIn, hi as statusMetaOf, gi as statusSelectOptions, Yt as tintForString, _ as toast, fe as toggleVariants, re as trackedMentionRecipientIds, l as useAppClassName, p as useEditableDraft, g as useIsMobileViewport, Te as useMenuZIndex, f as useOptimisticList, d as useOptimisticResource, m as usePersistentTabValue, u as usePortalContainer };
package/dist/next.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  'use client';
2
2
 
3
- export { AGENT_TINTS, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AppStatusBadge, ArtifactAppShell, ArtifactOfflineControl, AsyncActionButton, AvatarTextCell, Badge, Breadcrumb, BreadcrumbLinkProvider, BreadcrumbPrimitive, Button, Calendar, CalendarGrid, Card, CardContent, CardDescription, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxGroup, ChoiceCard, ChoiceCardGroup, CitationChip, CodeBadge, CodePillCell, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, ContentLoadingState, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DEFAULT_COMPLETE_STATUS, DEFAULT_INCOMPLETE_STATUS, DEFAULT_RANGE_PRESETS, DEFAULT_RESOLVED_STATUSES, DEFAULT_SINGLE_PRESETS, DEFAULT_START_STATUS, DEFAULT_STATUS_BOARD_ORDER, DEFAULT_STATUS_OPTIONS, DashboardShell, DataTable, DateField, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogLayer, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditorPageHeader, EditorPagePane, EditorSection, EditorSideNav, EditorSideNavGroup, EditorSideNavItem, EditorTopBar, EditorTopBarActions, EditorTopBarBackButton, EditorTopBarIdentity, EditorTopBarStatusBadge, EmptyState, ErrorState, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FileDropzone, FileDropzoneList, FilterSelect, FormDialog, FormField, GenericAvatar, HeatmapTable, HoverCard, HoverCardContent, HoverCardTrigger, InlineTextCell, Input, KpiTile, KpiTileGrid, Label, LineSparklineCell, MOBILE_BREAKPOINT_PX, MetricAreaChart, MetricCard, MetricGrid, MobileActionBar, MobileAppNav, MobileListRow, MobilePageHeader, MultiSelect, MultiSelectList, PageSkeleton, PageState, PercentCell, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerContext, PortalContainerProvider, ProDataTable, ProDataTablePagination, ProDataTableToolbar, ProgressBar, ProgressBarCell, RadioGroup, RadioGroupItem, RelativeTimeCell, RequiredMarker, ResultsBarCell, RouteLoading, STATUS_TONES, ScoreBarCell, ScrollArea, ScrollBar, SearchInput, SectionHeader, SectionLoadingState, SegmentedControl, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SingleSelectList, Skeleton, SkeletonBlock, Slider, SortableHeader, SparklineCell, Spinner, StatusDotBadge, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TablePrimitive, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TaskCreateDialog, TaskFieldChip, TaskList, TaskRow, TaskStatusIndicator, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, TrendBadge, TruncatedText, UserAvatar, UserChip, badgeVariants, buildPeriodColumns, buildTotalColumn, buttonVariants, cn, codeBadgeVariants, dialogStackZ, facetFilterMatches, fieldChipText, fieldEditorValue, formatArtifactOfflineStatus, formatBytes, formatCompact, formatCurrency, formatCurrencyPrecise, formatDurationMs, formatNumber, formatPercent, formatTimestamp, heatCellStyle, insertTrackedMention, isFieldEditable, menuStackStyle, mobileAppNavItemVariants, pctChange, reconcileTrackedMentions, scoreBand, showFieldInline, spinnerVariants, statusBoardRankIn, statusMetaOf, statusSelectOptions, tintForString, toast, toggleVariants, trackedMentionRecipientIds, useAppClassName, useEditableDraft, useIsMobileViewport, useMenuZIndex, useOptimisticList, useOptimisticResource, usePersistentTabValue, usePortalContainer } from './index.mjs';
3
+ export { AGENT_TINTS, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AppStatusBadge, ArtifactAppShell, ArtifactOfflineControl, AsyncActionButton, AvatarTextCell, Badge, Breadcrumb, BreadcrumbLinkProvider, BreadcrumbPrimitive, Button, Calendar, CalendarGrid, Card, CardContent, CardDescription, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxGroup, ChoiceCard, ChoiceCardGroup, CitationChip, CodeBadge, CodePillCell, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, ContentLoadingState, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DEFAULT_COMPLETE_STATUS, DEFAULT_INCOMPLETE_STATUS, DEFAULT_RANGE_PRESETS, DEFAULT_RESOLVED_STATUSES, DEFAULT_SINGLE_PRESETS, DEFAULT_START_STATUS, DEFAULT_STATUS_BOARD_ORDER, DEFAULT_STATUS_OPTIONS, DashboardShell, DataTable, DateField, DatePicker, DateRangeField, DateRangePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogLayer, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditorPageHeader, EditorPagePane, EditorSection, EditorSideNav, EditorSideNavGroup, EditorSideNavItem, EditorTopBar, EditorTopBarActions, EditorTopBarBackButton, EditorTopBarIdentity, EditorTopBarStatusBadge, EmptyState, ErrorState, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FileDropzone, FileDropzoneList, FilterSelect, FormDialog, FormField, GenericAvatar, HeatmapTable, HoverCard, HoverCardContent, HoverCardTrigger, InlineTextCell, Input, IsoDateField, KpiTile, KpiTileGrid, Label, LineSparklineCell, MOBILE_BREAKPOINT_PX, MetricAreaChart, MetricCard, MetricGrid, MobileActionBar, MobileAppNav, MobileListRow, MobilePageHeader, MultiSelect, MultiSelectList, PageSkeleton, PageState, PercentCell, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerContext, PortalContainerProvider, ProDataTable, ProDataTablePagination, ProDataTableToolbar, ProgressBar, ProgressBarCell, RadioGroup, RadioGroupItem, RelativeTimeCell, RequiredMarker, ResultsBarCell, RouteLoading, STATUS_TONES, ScoreBarCell, ScrollArea, ScrollBar, SearchInput, SectionHeader, SectionLoadingState, SegmentedControl, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SingleSelectList, Skeleton, SkeletonBlock, Slider, SortableHeader, SparklineCell, Spinner, StatusDotBadge, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TablePrimitive, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TaskCreateDialog, TaskFieldChip, TaskList, TaskRow, TaskStatusIndicator, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, TrendBadge, TruncatedText, UserAvatar, UserChip, badgeVariants, buildPeriodColumns, buildTotalColumn, buttonVariants, cn, codeBadgeVariants, dialogStackZ, facetFilterMatches, fieldChipText, fieldEditorValue, formatArtifactOfflineStatus, formatBytes, formatCompact, formatCurrency, formatCurrencyPrecise, formatDurationMs, formatNumber, formatPercent, formatTimestamp, heatCellStyle, insertTrackedMention, isFieldEditable, menuStackStyle, mobileAppNavItemVariants, pctChange, reconcileTrackedMentions, scoreBand, showFieldInline, spinnerVariants, statusBoardRankIn, statusMetaOf, statusSelectOptions, tintForString, toast, toggleVariants, trackedMentionRecipientIds, useAppClassName, useEditableDraft, useIsMobileViewport, useMenuZIndex, useOptimisticList, useOptimisticResource, usePersistentTabValue, usePortalContainer } from './index.mjs';
@@ -2,39 +2,39 @@ import { cn as e } from "../../lib/utils.mjs";
2
2
  import { Root as t } from "../../../vendor/@radix-ui_react-slot@1.2.4_@types_react@19.2.14_react@19.2.6/dist/index.mjs";
3
3
  import n from "../../../vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/chevron-right.mjs";
4
4
  import r from "../../../vendor/lucide-react@0.546.0_react@19.2.6/dist/esm/icons/ellipsis.mjs";
5
- import "react";
6
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
+ import * as i from "react";
6
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
7
  //#region ../../../atlas/src/shared/components/ui/breadcrumb.tsx
8
- function o({ ...e }) {
9
- return /* @__PURE__ */ i("nav", {
8
+ function s({ ...e }) {
9
+ return /* @__PURE__ */ a("nav", {
10
10
  "aria-label": "breadcrumb",
11
11
  "data-slot": "breadcrumb",
12
12
  ...e
13
13
  });
14
14
  }
15
- function s({ className: t, ...n }) {
16
- return /* @__PURE__ */ i("ol", {
15
+ function c({ className: t, ...n }) {
16
+ return /* @__PURE__ */ a("ol", {
17
17
  "data-slot": "breadcrumb-list",
18
18
  className: e("text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5", t),
19
19
  ...n
20
20
  });
21
21
  }
22
- function c({ className: t, ...n }) {
23
- return /* @__PURE__ */ i("li", {
22
+ function l({ className: t, ...n }) {
23
+ return /* @__PURE__ */ a("li", {
24
24
  "data-slot": "breadcrumb-item",
25
25
  className: e("inline-flex items-center gap-1.5", t),
26
26
  ...n
27
27
  });
28
28
  }
29
- function l({ asChild: n, className: r, ...a }) {
30
- return /* @__PURE__ */ i(n ? t : "a", {
31
- "data-slot": "breadcrumb-link",
32
- className: e("hover:text-foreground transition-colors", r),
33
- ...a
34
- });
35
- }
36
- function u({ className: t, ...n }) {
37
- return /* @__PURE__ */ i("span", {
29
+ var u = i.forwardRef(({ asChild: n, className: r, ...i }, o) => /* @__PURE__ */ a(n ? t : "a", {
30
+ ref: o,
31
+ "data-slot": "breadcrumb-link",
32
+ className: e("hover:text-foreground transition-colors", r),
33
+ ...i
34
+ }));
35
+ u.displayName = "BreadcrumbLink";
36
+ function d({ className: t, ...n }) {
37
+ return /* @__PURE__ */ a("span", {
38
38
  "data-slot": "breadcrumb-page",
39
39
  role: "link",
40
40
  "aria-disabled": "true",
@@ -43,37 +43,37 @@ function u({ className: t, ...n }) {
43
43
  ...n
44
44
  });
45
45
  }
46
- function d({ children: t, className: r, ...a }) {
47
- return /* @__PURE__ */ i("li", {
46
+ function f({ children: t, className: r, ...i }) {
47
+ return /* @__PURE__ */ a("li", {
48
48
  "data-slot": "breadcrumb-separator",
49
49
  role: "presentation",
50
50
  "aria-hidden": "true",
51
51
  className: e("[&>svg]:size-3.5", r),
52
- ...a,
53
- children: t ?? /* @__PURE__ */ i(n, {})
52
+ ...i,
53
+ children: t ?? /* @__PURE__ */ a(n, {})
54
54
  });
55
55
  }
56
- function f({ className: t, ...n }) {
57
- return /* @__PURE__ */ a("span", {
56
+ function p({ className: t, ...n }) {
57
+ return /* @__PURE__ */ o("span", {
58
58
  "data-slot": "breadcrumb-ellipsis",
59
59
  role: "presentation",
60
60
  "aria-hidden": "true",
61
61
  className: e("flex size-9 items-center justify-center", t),
62
62
  ...n,
63
- children: [/* @__PURE__ */ i(r, { className: "size-icon" }), /* @__PURE__ */ i("span", {
63
+ children: [/* @__PURE__ */ a(r, { className: "size-icon" }), /* @__PURE__ */ a("span", {
64
64
  className: "sr-only",
65
65
  children: "More"
66
66
  })]
67
67
  });
68
68
  }
69
- var p = {
70
- Root: o,
71
- List: s,
72
- Item: c,
73
- Link: l,
74
- Page: u,
75
- Separator: d,
76
- Ellipsis: f
69
+ var m = {
70
+ Root: s,
71
+ List: c,
72
+ Item: l,
73
+ Link: u,
74
+ Page: d,
75
+ Separator: f,
76
+ Ellipsis: p
77
77
  };
78
78
  //#endregion
79
- export { p as BreadcrumbPrimitive };
79
+ export { m as BreadcrumbPrimitive };
@@ -69,10 +69,10 @@ var g = [
69
69
  }
70
70
  ];
71
71
  function v(o) {
72
- let l = o.mode ?? "single", { id: u, placeholder: m, disabled: h, max: v, min: C, referenceDate: w, align: T = "start", presets: E, containerClassName: D, className: O, ariaLabel: k, "aria-invalid": A, clearable: j = !0, yearBias: M = "past" } = o, [N, P] = d.useState(!1), F = d.useMemo(() => w ?? /* @__PURE__ */ new Date(), [w, N]), I = E ?? (l === "range" ? _ : g), L = o.value, R = d.useMemo(() => L === null ? null : l === "range" ? c(L) : s(L), [l, L]);
72
+ let l = o.mode ?? "single", { id: u, placeholder: m, disabled: h, max: v, min: C, referenceDate: w, align: T = "start", presets: E, containerClassName: D, className: O, popoverClassName: k, ariaLabel: A, "aria-describedby": j, "aria-invalid": M, clearable: N = !0, yearBias: P = "past" } = o, [F, I] = d.useState(!1), L = d.useMemo(() => w ?? /* @__PURE__ */ new Date(), [w, F]), R = E ?? (l === "range" ? _ : g), z = o.value, B = d.useMemo(() => z === null ? null : l === "range" ? c(z) : s(z), [l, z]);
73
73
  return /* @__PURE__ */ p(r, {
74
- open: N,
75
- onOpenChange: (e) => !h && P(e),
74
+ open: F,
75
+ onOpenChange: (e) => !h && I(e),
76
76
  modal: !1,
77
77
  children: [/* @__PURE__ */ p("div", {
78
78
  className: e("relative inline-flex", D),
@@ -82,20 +82,21 @@ function v(o) {
82
82
  id: u,
83
83
  type: "button",
84
84
  disabled: h,
85
- "aria-label": k ?? "Select date",
86
- "aria-invalid": A,
85
+ "aria-label": A ?? "Select date",
86
+ "aria-describedby": j,
87
+ "aria-invalid": M,
87
88
  "aria-haspopup": "dialog",
88
- "aria-expanded": N,
89
- className: e("inline-flex h-9 w-full items-center gap-2 rounded-field border bg-field px-3 text-sm transition-colors", "border-input text-foreground hover:border-input hover:bg-accent", "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring", "disabled:cursor-not-allowed disabled:opacity-50", !R && "text-muted-foreground", j && R && !h && "pr-9", O),
89
+ "aria-expanded": F,
90
+ className: e("inline-flex h-9 w-full items-center gap-2 rounded-field border bg-field px-3 text-sm transition-colors", "border-input text-foreground hover:border-input hover:bg-accent", "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring", "disabled:cursor-not-allowed disabled:opacity-50", !B && "text-muted-foreground", N && B && !h && "pr-9", O),
90
91
  children: [/* @__PURE__ */ f(t, {
91
92
  className: "size-icon shrink-0 text-muted-foreground",
92
93
  stroke: 1.75
93
94
  }), /* @__PURE__ */ f("span", {
94
95
  className: "flex-1 truncate text-left",
95
- children: R ?? m ?? y(l)
96
+ children: B ?? m ?? y(l)
96
97
  })]
97
98
  })
98
- }), j && R && !h && /* @__PURE__ */ f("button", {
99
+ }), N && B && !h && /* @__PURE__ */ f("button", {
99
100
  type: "button",
100
101
  onClick: (e) => {
101
102
  e.preventDefault(), e.stopPropagation(), o.onChange(null);
@@ -106,19 +107,19 @@ function v(o) {
106
107
  })]
107
108
  }), /* @__PURE__ */ f(i, {
108
109
  align: T,
109
- className: "w-auto p-0 border-input",
110
+ className: e("w-auto p-0 border-input", k),
110
111
  onInteractOutside: b,
111
112
  children: /* @__PURE__ */ f(S, {
112
113
  mode: l,
113
114
  value: o.value,
114
- now: F,
115
+ now: L,
115
116
  min: C,
116
117
  max: v,
117
- presets: I,
118
- yearBias: M,
118
+ presets: R,
119
+ yearBias: P,
119
120
  onApply: (e) => {
120
121
  if (e === null) {
121
- o.onChange(null), P(!1);
122
+ o.onChange(null), I(!1);
122
123
  return;
123
124
  }
124
125
  if (l === "range") {
@@ -131,9 +132,9 @@ function v(o) {
131
132
  let t = x(e) ? e.from : e;
132
133
  o.onChange(t);
133
134
  }
134
- P(!1);
135
+ I(!1);
135
136
  },
136
- onClose: () => P(!1)
137
+ onClose: () => I(!1)
137
138
  })
138
139
  })]
139
140
  });
@@ -275,10 +276,7 @@ function S({ mode: t, value: n, now: r, min: i, max: a, presets: s, showClear: c
275
276
  children: [
276
277
  /* @__PURE__ */ f("div", {
277
278
  className: "border-b border-border p-2",
278
- children: /* @__PURE__ */ p("form", {
279
- onSubmit: (e) => {
280
- e.preventDefault(), F(S);
281
- },
279
+ children: /* @__PURE__ */ p("div", {
282
280
  className: "flex flex-col gap-1",
283
281
  children: [/* @__PURE__ */ f("input", {
284
282
  ref: k,
@@ -288,6 +286,9 @@ function S({ mode: t, value: n, now: r, min: i, max: a, presets: s, showClear: c
288
286
  w(e.target.value), T && E(null);
289
287
  },
290
288
  onBlur: I,
289
+ onKeyDown: (e) => {
290
+ e.key === "Enter" && (e.preventDefault(), e.stopPropagation(), F(S));
291
+ },
291
292
  placeholder: P ? "Jan – Mar, last 7 days, Q1 2024…" : "Jan 15, today, last Friday…",
292
293
  "aria-invalid": T ? "true" : void 0,
293
294
  "aria-label": P ? "Type a date range" : "Type a date",
@@ -369,5 +370,11 @@ function O(e, t, n) {
369
370
  }
370
371
  return E(x(e) ? e.from : e, x(t) ? t.from : t);
371
372
  }
373
+ function k(e) {
374
+ return /* @__PURE__ */ f(v, {
375
+ ...e,
376
+ mode: "range"
377
+ });
378
+ }
372
379
  //#endregion
373
- export { _ as DEFAULT_RANGE_PRESETS, g as DEFAULT_SINGLE_PRESETS, v as DateField, S as DateFieldBody, b as shouldKeepDateFieldOpen };
380
+ export { _ as DEFAULT_RANGE_PRESETS, g as DEFAULT_SINGLE_PRESETS, v as DateField, S as DateFieldBody, k as DateRangeField, b as shouldKeepDateFieldOpen };
@@ -0,0 +1,3 @@
1
+ import { DateRangeField as e } from "./date-field.mjs";
2
+ import { IsoDateField as t } from "./iso-date-field.mjs";
3
+ export { t as DatePicker, e as DateRangePicker };
@@ -0,0 +1,16 @@
1
+ import { DateField as e } from "./date-field.mjs";
2
+ import { fromIsoDate as t, toIsoDateOrNull as n } from "../../lib/iso-date.mjs";
3
+ import { jsx as r } from "react/jsx-runtime";
4
+ //#region ../../../atlas/src/shared/components/ui/iso-date-field.tsx
5
+ function i({ value: i, onChange: a, min: o, max: s, ...c }) {
6
+ return /* @__PURE__ */ r(e, {
7
+ mode: "single",
8
+ value: t(i),
9
+ onChange: (e) => a(n(e)),
10
+ min: t(o) ?? void 0,
11
+ max: t(s) ?? void 0,
12
+ ...c
13
+ });
14
+ }
15
+ //#endregion
16
+ export { i as IsoDateField };
@@ -34,7 +34,7 @@ function a({ title: a, titleText: o, description: s, leading: c, trailing: l, sh
34
34
  }) : null,
35
35
  u ? /* @__PURE__ */ r(n, {
36
36
  "aria-hidden": "true",
37
- className: "size-icon shrink-0 text-disabled"
37
+ className: "size-icon shrink-0 text-foreground-disabled"
38
38
  }) : null
39
39
  ]
40
40
  });
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "publishConfig": {
10
10
  "access": "public"
11
11
  },
12
- "version": "3.6.0",
12
+ "version": "3.7.1",
13
13
  "description": "Atlas shared UI component library for Artifact Studio apps",
14
14
  "type": "module",
15
15
  "sideEffects": [