@sequenceholdings/atlas-ui 3.7.0 → 4.0.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.
package/dist/index.d.ts CHANGED
@@ -878,23 +878,11 @@ declare interface DashboardShellProps {
878
878
  bodyClassName?: string;
879
879
  }
880
880
 
881
- /**
882
- * Legacy Date-object single/range control; prefer DatePicker or DateRangePicker.
883
- * Radix popover + react-day-picker calendar + free-text parsing + presets.
884
- *
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.
889
- *
890
- * @see DatePicker — single date-only string fields (the common case)
891
- * @see DateRangePill — start–end ranges persisted as strings
892
- * @deprecated Use DatePicker for one date or DateRangePicker for a range.
893
- */
894
- export declare function DateField(props: DateFieldProps): React_2.ReactElement;
895
-
896
881
  declare interface DateFieldCommonProps {
897
- /** Optional id for the trigger control (enables `<label htmlFor>` association). */
882
+ /**
883
+ * Optional id for the trigger control. With no `ariaLabel`, an associated
884
+ * `<label htmlFor>` names the trigger.
885
+ */
898
886
  id?: string;
899
887
  /** Placeholder for the trigger when no value is set. */
900
888
  placeholder?: string;
@@ -968,7 +956,7 @@ export declare interface DateFieldPreset {
968
956
  resolve: (now: Date) => Date | DateRange | null;
969
957
  }
970
958
 
971
- export declare type DateFieldProps = DateFieldSingleProps | DateFieldRangeProps;
959
+ declare type DateFieldProps = DateFieldSingleProps | DateFieldRangeProps;
972
960
 
973
961
  declare interface DateFieldRangeProps extends DateFieldCommonProps {
974
962
  mode: 'range';
@@ -982,22 +970,49 @@ declare interface DateFieldSingleProps extends DateFieldCommonProps {
982
970
  onChange: (next: Date | null) => void;
983
971
  }
984
972
 
973
+ /**
974
+ * Compatibility string adapter; prefer DatePicker for one standalone calendar date.
975
+ * Bridges the shared `DateField` (which works in
976
+ * `Date | null`) and the `YYYY-MM-DD` string contract for persisted
977
+ * date-only values.
978
+ *
979
+ * All timezone-drift and validation handling lives in the shared
980
+ * `fromIsoDate` / `toIsoDateOrNull` helpers (`@shared/lib/iso-date`): a bare
981
+ * `YYYY-MM-DD` parses at local midnight so the day doesn't shift at the
982
+ * dateline, and an invalid calendar string clears the field instead of
983
+ * rolling to a different day.
984
+ *
985
+ * This component owns only the conversion — no label, no error chrome. Compose
986
+ * it inside an app's labeled field wrapper when you need those.
987
+ *
988
+ * @see DateRangePicker — use for calendar ranges
989
+ * @see DateRangePill — the start–end range analogue (also string-based)
990
+ */
991
+ export declare function DatePicker({ value, onChange, min, max, ...rest }: DatePickerProps): JSX.Element;
992
+
993
+ export declare interface DatePickerProps extends ForwardedProps {
994
+ /** Date-only ISO string (`YYYY-MM-DD`) or null/undefined when unset. */
995
+ value: string | null | undefined;
996
+ /** Fires with a `YYYY-MM-DD` string, or `null` when the field is cleared. */
997
+ onChange: (next: string | null) => void;
998
+ /** Earliest selectable day, as a `YYYY-MM-DD` string. Inclusive. */
999
+ min?: string;
1000
+ /** Latest selectable day, as a `YYYY-MM-DD` string. Inclusive. */
1001
+ max?: string;
1002
+ }
1003
+
985
1004
  export declare interface DateRange {
986
1005
  from: Date;
987
1006
  to: Date;
988
1007
  }
989
1008
 
990
- declare function DateRangeField(props: DateRangeFieldProps): React_2.ReactElement;
991
- export { DateRangeField }
992
- export { DateRangeField as DateRangePicker }
1009
+ export declare function DateRangePicker(props: DateRangePickerProps): React_2.ReactElement;
993
1010
 
994
1011
  /** Compatibility range control; prefer DateRangePicker for a range, DatePicker for one date. */
995
- declare interface DateRangeFieldProps extends DateFieldCommonProps {
1012
+ export declare interface DateRangePickerProps extends DateFieldCommonProps {
996
1013
  value: DateRange | null;
997
1014
  onChange: (next: DateRange | null) => void;
998
1015
  }
999
- export { DateRangeFieldProps }
1000
- export { DateRangeFieldProps as DateRangePickerProps }
1001
1016
 
1002
1017
  /** Checkbox "checked" target: clicking an unchecked row sets this. */
1003
1018
  export declare const DEFAULT_COMPLETE_STATUS = "done";
@@ -1574,6 +1589,65 @@ export declare interface FileRejection {
1574
1589
  message: string;
1575
1590
  }
1576
1591
 
1592
+ export declare type FilterFacet = MultiFilterFacet | SingleFilterFacet;
1593
+
1594
+ /**
1595
+ * FilterMenu — a reusable, Linear-style faceted filter control.
1596
+ *
1597
+ * Default trigger is a platform `Button` (`variant="outline" size="icon-sm"`):
1598
+ * the icon size step that pairs with labeled `sm` / toolbar search (`h-8`).
1599
+ * Icon-only controls must use an `icon*` size so `rounded-control` reads as a
1600
+ * circle — a labeled size (`sm`/`default`) adds `px-*` and becomes a pill.
1601
+ * Glyph is bare Tabler `IconFilter2` (three decreasing lines); Button stamps
1602
+ * `size-icon`. See Button's size-ladder comment (DES-313).
1603
+ *
1604
+ * A single trigger opens an "add filter" menu; each facet expands into a nested
1605
+ * submenu. Multi-select facets render the shared `MultiSelectList`,
1606
+ * single-select facets render the shared `SingleSelectList` — so the menu
1607
+ * is fully composed from shared primitives (`dropdown-menu` + the select
1608
+ * lists) and carries no bespoke list/checkbox/radio markup.
1609
+ *
1610
+ * Config-driven: callers pass an array of `FilterFacet` descriptors with
1611
+ * their own state + `onChange`. Designed to drop onto any table toolbar.
1612
+ */
1613
+ declare interface FilterFacetBase {
1614
+ /** Stable identifier (also the submenu React key). */
1615
+ key: string;
1616
+ /** Submenu trigger text. */
1617
+ label: string;
1618
+ /** Search-input placeholder inside the submenu. Defaults to `label`. */
1619
+ searchPlaceholder?: string;
1620
+ }
1621
+
1622
+ export declare function FilterMenu({ facets, align, trigger, triggerClassName, badgeClassName, contentClassName, onClearAll, }: FilterMenuProps): JSX.Element;
1623
+
1624
+ export declare interface FilterMenuProps {
1625
+ facets: FilterFacet[];
1626
+ /** Menu alignment relative to the trigger. Default `end`. */
1627
+ align?: 'start' | 'center' | 'end';
1628
+ /** Override the default funnel trigger entirely. */
1629
+ trigger?: ReactNode;
1630
+ /** Class applied to the default funnel trigger button. */
1631
+ triggerClassName?: string;
1632
+ /**
1633
+ * Class applied to the active-count badge. Defaults to token colors
1634
+ * (`bg-foreground text-background`). Override with literal colors in
1635
+ * surfaces whose Tailwind build doesn't emit those token utilities
1636
+ * (e.g. the chat MFE — pass `bg-[#090a0c] text-white`).
1637
+ */
1638
+ badgeClassName?: string;
1639
+ /** Class applied to the menu content. */
1640
+ contentClassName?: string;
1641
+ /**
1642
+ * One-shot "Clear all" handler. Prefer this when several facets share a
1643
+ * single backing object (e.g. `{...filters, field}` setters) — resetting
1644
+ * each facet in a loop would clobber the others from the same stale
1645
+ * snapshot. When omitted, each facet is reset individually (correct only
1646
+ * when facets own independent state).
1647
+ */
1648
+ onClearAll?: () => void;
1649
+ }
1650
+
1577
1651
  /** @deprecated Use `MultiSelectOption` from `./multi-select`. */
1578
1652
  export declare interface FilterOption<T extends string> {
1579
1653
  value: T;
@@ -1838,41 +1912,6 @@ export declare function insertTrackedMention(input: {
1838
1912
  */
1839
1913
  export declare function isFieldEditable(field: TaskFieldDef): boolean;
1840
1914
 
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
-
1876
1915
  export declare function KpiTile({ label, labelAdornment, onLabelClick, value, delta, deltaTone, footer, tone, valueAdornment, pinValue, className, onClick, }: KpiTileProps): JSX.Element;
1877
1916
 
1878
1917
  /**
@@ -2109,6 +2148,13 @@ export declare type MobilePageHeaderProps = Omit<ComponentProps<'header'>, 'titl
2109
2148
  sticky?: boolean;
2110
2149
  };
2111
2150
 
2151
+ export declare interface MultiFilterFacet extends FilterFacetBase {
2152
+ type: 'multi';
2153
+ options: MultiSelectOption[];
2154
+ selected: string[];
2155
+ onChange: (values: string[]) => void;
2156
+ }
2157
+
2112
2158
  export declare function MultiSelect({ label, countLabel, options, selected, onChange, searchPlaceholder, emptyMessage, maxStackedIcons, hideWhenEmpty, modal, className, }: MultiSelectProps): JSX.Element | null;
2113
2159
 
2114
2160
  /**
@@ -3171,6 +3217,22 @@ export declare function showFieldInline({ show, hasValue, }: {
3171
3217
  hasValue: boolean;
3172
3218
  }): boolean;
3173
3219
 
3220
+ export declare interface SingleFilterFacet extends FilterFacetBase {
3221
+ type: 'single';
3222
+ options: MultiSelectOption[];
3223
+ value: string | null;
3224
+ onChange: (value: string | null) => void;
3225
+ /**
3226
+ * The baseline value that counts as "no filter applied" (e.g. an
3227
+ * `'all'` tristate default). When `value` equals this, the facet is
3228
+ * inactive (not counted in the badge) and "Clear all" resets to it.
3229
+ * Omit for facets whose unset state is `null`.
3230
+ */
3231
+ defaultValue?: string;
3232
+ /** Clicking the selected row clears it. Default true. Ignored when `defaultValue` is set. */
3233
+ clearable?: boolean;
3234
+ }
3235
+
3174
3236
  declare type SingleProps = Extract<DateFieldProps, {
3175
3237
  mode?: 'single';
3176
3238
  }>;
package/dist/index.mjs CHANGED
@@ -1,98 +1,99 @@
1
1
  import { cn as ee } from "./shared/lib/utils.mjs";
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";
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 { FilterMenu as jt } from "./shared/components/ui/filter-menu.mjs";
47
+ import { AGENT_TINTS as Mt, AvatarTextCell as Nt, CodePillCell as Pt, LineSparklineCell as Ft, PercentCell as It, ProDataTable as Q, ProDataTablePagination as Lt, ProDataTableToolbar as Rt, ProgressBarCell as zt, RelativeTimeCell as Bt, ResultsBarCell as Vt, STATUS_TONES as Ht, ScoreBarCell as Ut, SparklineCell as Wt, StatusDotBadge as Gt, facetFilterMatches as Kt, scoreBand as qt, tintForString as Jt } from "./shared/components/ui/pro-data-table.mjs";
48
+ import { ContentLoadingState as Yt, EmptyState as Xt, SectionLoadingState as Zt } from "./shared/components/ui/loading-state.mjs";
49
+ import { HeatmapTable as Qt, SortableHeader as $, buildPeriodColumns as $t, buildTotalColumn as en, heatCellStyle as tn } from "./shared/components/ui/heatmap-table.mjs";
50
+ import { MetricCard as nn } from "./shared/components/ui/metric-card.mjs";
51
+ import { KpiTile as rn, KpiTileGrid as an } from "./shared/components/ui/kpi-tile.mjs";
52
+ import { TrendBadge as on } from "./shared/components/ui/trend-badge.mjs";
53
+ import { AsyncActionButton as sn } from "./shared/components/ui/async-action-button.mjs";
54
+ import { FileDropzone as cn, FileDropzoneList as ln, formatBytes as un } from "./shared/components/ui/file-dropzone.mjs";
55
+ import { FilterSelect as dn } from "./shared/components/ui/filter-select.mjs";
56
+ import { CheckboxGroup as fn } from "./shared/components/ui/checkbox-group.mjs";
57
+ import { Slider as pn } from "./shared/components/ui/slider.mjs";
58
+ import { SegmentedControl as mn } from "./shared/components/ui/segmented-control.mjs";
59
+ import { PageState as hn } from "./shared/components/ui/page-state.mjs";
60
+ import { ErrorState as gn } from "./shared/components/ui/error-state.mjs";
61
+ import { PageSkeleton as _n, SkeletonBlock as vn } from "./shared/components/ui/page-skeleton.mjs";
62
+ import { RouteLoading as yn } from "./shared/components/ui/route-loading.mjs";
63
+ import { ArtifactAppShell as bn } from "./shared/components/ui/artifact-app-shell.mjs";
64
+ import { DashboardShell as xn } from "./shared/components/ui/dashboard-shell.mjs";
65
+ import { MetricGrid as Sn } from "./shared/components/ui/metric-grid.mjs";
66
+ import { MobileActionBar as Cn } from "./shared/components/ui/mobile-action-bar.mjs";
67
+ import { MobileListRow as wn } from "./shared/components/ui/mobile-list-row.mjs";
68
+ import { MobilePageHeader as Tn } from "./shared/components/ui/mobile-page-header.mjs";
69
+ import { formatArtifactOfflineStatus as En } from "./shared/components/ui/artifact-offline-status.mjs";
70
+ import { ArtifactOfflineControl as Dn } from "./shared/components/ui/artifact-offline-control.mjs";
71
+ import { SectionHeader as On } from "./shared/components/ui/section-header.mjs";
72
+ import { MobileAppNav as kn, mobileAppNavItemVariants as An } from "./shared/components/ui/mobile-app-nav.mjs";
73
+ import { EditorTopBar as jn, EditorTopBarActions as Mn, EditorTopBarBackButton as Nn, EditorTopBarIdentity as Pn, EditorTopBarStatusBadge as Fn } from "./shared/components/ui/editor-top-bar.mjs";
74
+ import { EditorSideNav as In, EditorSideNavGroup as Ln, EditorSideNavItem as Rn } from "./shared/components/ui/editor-side-nav.mjs";
75
+ import { EditorPageHeader as zn, EditorPagePane as Bn, EditorSection as Vn } from "./shared/components/ui/editor-page-header.mjs";
76
+ import { Sheet as Hn, SheetClose as Un, SheetContent as Wn, SheetDescription as Gn, SheetFooter as Kn, SheetHeader as qn, SheetOverlay as Jn, SheetPortal as Yn, SheetTitle as Xn, SheetTrigger as Zn } from "./shared/components/ui/sheet.mjs";
77
+ import { ContextMenu as Qn, ContextMenuCheckboxItem as $n, ContextMenuContent as er, ContextMenuGroup as tr, ContextMenuItem as nr, ContextMenuLabel as rr, ContextMenuPortal as ir, ContextMenuRadioGroup as ar, ContextMenuRadioItem as or, ContextMenuSeparator as sr, ContextMenuShortcut as cr, ContextMenuSub as lr, ContextMenuSubContent as ur, ContextMenuSubTrigger as dr, ContextMenuTrigger as fr } from "./shared/components/ui/context-menu.mjs";
78
+ import { GenericAvatar as pr, UserAvatar as mr } from "./shared/components/ui/user-avatar.mjs";
79
+ import { HoverCard as hr, HoverCardContent as gr, HoverCardTrigger as _r } from "./shared/components/ui/hover-card.mjs";
80
+ import { UserChip as vr } from "./shared/components/ui/user-chip.mjs";
81
+ import { InlineTextCell as yr } from "./shared/components/ui/inline-text-cell.mjs";
82
+ import { MetricAreaChart as br } from "./shared/components/ui/metric-area-chart.mjs";
83
+ import { Textarea as xr } from "./shared/components/ui/textarea.mjs";
84
+ import { AlertDialog as Sr, AlertDialogAction as Cr, AlertDialogCancel as wr, AlertDialogContent as Tr, AlertDialogDescription as Er, AlertDialogFooter as Dr, AlertDialogHeader as Or, AlertDialogOverlay as kr, AlertDialogPortal as Ar, AlertDialogTitle as jr, AlertDialogTrigger as Mr } from "./shared/components/ui/alert-dialog.mjs";
85
+ import { ConfirmDialog as Nr } from "./shared/components/ui/confirm-dialog.mjs";
86
+ import { FormDialog as Pr } from "./shared/components/ui/form-dialog.mjs";
87
+ import { AppStatusBadge as Fr } from "./shared/components/ui/app-status-badge.mjs";
88
+ import { Calendar as Ir } from "./shared/components/ui/calendar.mjs";
89
+ import { RadioGroup as Lr, RadioGroupItem as Rr } from "./shared/components/ui/radio-group.mjs";
90
+ import { Select as zr, SelectContent as Br, SelectGroup as Vr, SelectItem as Hr, SelectLabel as Ur, SelectScrollDownButton as Wr, SelectScrollUpButton as Gr, SelectSeparator as Kr, SelectTrigger as qr, SelectValue as Jr } from "./shared/components/ui/select.mjs";
91
+ import { DEFAULT_RANGE_PRESETS as Yr, DEFAULT_SINGLE_PRESETS as Xr, DateRangeField as Zr } from "./shared/components/ui/date-field.mjs";
92
+ import { IsoDateField as Qr } from "./shared/components/ui/iso-date-field.mjs";
92
93
  import "./shared/components/ui/date-picker.mjs";
93
94
  import { ScrollArea as $r, ScrollBar as ei } from "./shared/components/ui/scroll-area.mjs";
94
95
  import { TaskFieldChip as ti, fieldChipText as ni, fieldEditorValue as ri, isFieldEditable as ii, showFieldInline as ai } from "./shared/components/ui/task-field.mjs";
95
96
  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
97
  import { TaskCreateDialog as _i } from "./shared/components/ui/task-create-dialog.mjs";
97
98
  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 };
99
+ export { Mt as AGENT_TINTS, Sr as AlertDialog, Cr as AlertDialogAction, wr as AlertDialogCancel, Tr as AlertDialogContent, Er as AlertDialogDescription, Dr as AlertDialogFooter, Or as AlertDialogHeader, kr as AlertDialogOverlay, Ar as AlertDialogPortal, jr as AlertDialogTitle, Mr as AlertDialogTrigger, Fr as AppStatusBadge, bn as ArtifactAppShell, Dn as ArtifactOfflineControl, sn as AsyncActionButton, Nt as AvatarTextCell, b as Badge, Be as Breadcrumb, Ve as BreadcrumbLinkProvider, ye as BreadcrumbPrimitive, I as Button, Ir 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, fn as CheckboxGroup, V as ChoiceCard, H as ChoiceCardGroup, Y as CitationChip, oe as CodeBadge, Pt 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, Nr as ConfirmDialog, Yt as ContentLoadingState, Qn as ContextMenu, $n as ContextMenuCheckboxItem, er as ContextMenuContent, tr as ContextMenuGroup, nr as ContextMenuItem, rr as ContextMenuLabel, ir as ContextMenuPortal, ar as ContextMenuRadioGroup, or as ContextMenuRadioItem, sr as ContextMenuSeparator, cr as ContextMenuShortcut, lr as ContextMenuSub, ur as ContextMenuSubContent, dr as ContextMenuSubTrigger, fr as ContextMenuTrigger, oi as DEFAULT_COMPLETE_STATUS, si as DEFAULT_INCOMPLETE_STATUS, Yr as DEFAULT_RANGE_PRESETS, ci as DEFAULT_RESOLVED_STATUSES, Xr as DEFAULT_SINGLE_PRESETS, li as DEFAULT_START_STATUS, ui as DEFAULT_STATUS_BOARD_ORDER, di as DEFAULT_STATUS_OPTIONS, xn as DashboardShell, Q as DataTable, Qr as DatePicker, Zr as DateRangePicker, 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, zn as EditorPageHeader, Bn as EditorPagePane, Vn as EditorSection, In as EditorSideNav, Ln as EditorSideNavGroup, Rn as EditorSideNavItem, jn as EditorTopBar, Mn as EditorTopBarActions, Nn as EditorTopBarBackButton, Pn as EditorTopBarIdentity, Fn as EditorTopBarStatusBadge, Xt as EmptyState, gn 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, cn as FileDropzone, ln as FileDropzoneList, jt as FilterMenu, dn as FilterSelect, Pr as FormDialog, ce as FormField, pr as GenericAvatar, Qt as HeatmapTable, hr as HoverCard, gr as HoverCardContent, _r as HoverCardTrigger, yr as InlineTextCell, R as Input, rn as KpiTile, an as KpiTileGrid, w as Label, Ft as LineSparklineCell, _ as MOBILE_BREAKPOINT_PX, br as MetricAreaChart, nn as MetricCard, Sn as MetricGrid, Cn as MobileActionBar, kn as MobileAppNav, wn as MobileListRow, Tn as MobilePageHeader, Ot as MultiSelect, kt as MultiSelectList, _n as PageSkeleton, hn as PageState, It as PercentCell, it as Popover, at as PopoverAnchor, ot as PopoverContent, st as PopoverTrigger, l as PortalContainerContext, u as PortalContainerProvider, Q as ProDataTable, Lt as ProDataTablePagination, Rt as ProDataTableToolbar, ve as ProgressBar, zt as ProgressBarCell, Lr as RadioGroup, Rr as RadioGroupItem, Bt as RelativeTimeCell, C as RequiredMarker, Vt as ResultsBarCell, yn as RouteLoading, Ht as STATUS_TONES, Ut as ScoreBarCell, $r as ScrollArea, ei as ScrollBar, z as SearchInput, On as SectionHeader, Zt as SectionLoadingState, mn as SegmentedControl, zr as Select, Br as SelectContent, Vr as SelectGroup, Hr as SelectItem, Ur as SelectLabel, Wr as SelectScrollDownButton, Gr as SelectScrollUpButton, Kr as SelectSeparator, qr as SelectTrigger, Jr as SelectValue, T as Separator, Hn as Sheet, Un as SheetClose, Wn as SheetContent, Gn as SheetDescription, Kn as SheetFooter, qn as SheetHeader, Jn as SheetOverlay, Yn as SheetPortal, Xn as SheetTitle, Zn as SheetTrigger, At as SingleSelectList, ze as Skeleton, vn as SkeletonBlock, pn as Slider, $ as SortableHeader, Wt as SparklineCell, He as Spinner, Gt 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, _i as TaskCreateDialog, ti as TaskFieldChip, vi as TaskList, fi as TaskRow, pi as TaskStatusIndicator, xr 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, on as TrendBadge, J as TruncatedText, mr as UserAvatar, vr as UserChip, x as badgeVariants, $t as buildPeriodColumns, en as buildTotalColumn, L as buttonVariants, ee as cn, se as codeBadgeVariants, xe as dialogStackZ, Kt as facetFilterMatches, ni as fieldChipText, ri as fieldEditorValue, En as formatArtifactOfflineStatus, un as formatBytes, t as formatCompact, n as formatCurrency, r as formatCurrencyPrecise, i as formatDurationMs, a as formatNumber, o as formatPercent, s as formatTimestamp, tn as heatCellStyle, te as insertTrackedMention, ii as isFieldEditable, Se as menuStackStyle, An as mobileAppNavItemVariants, c as pctChange, ne as reconcileTrackedMentions, qt as scoreBand, ai as showFieldInline, Ue as spinnerVariants, mi as statusBoardRankIn, hi as statusMetaOf, gi as statusSelectOptions, Jt 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 };
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, 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';
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, DatePicker, 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, FilterMenu, 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';
@@ -82,7 +82,7 @@ function v(o) {
82
82
  id: u,
83
83
  type: "button",
84
84
  disabled: h,
85
- "aria-label": A ?? "Select date",
85
+ "aria-label": A ?? (u ? void 0 : "Select date"),
86
86
  "aria-describedby": j,
87
87
  "aria-invalid": M,
88
88
  "aria-haspopup": "dialog",
@@ -276,10 +276,7 @@ function S({ mode: t, value: n, now: r, min: i, max: a, presets: s, showClear: c
276
276
  children: [
277
277
  /* @__PURE__ */ f("div", {
278
278
  className: "border-b border-border p-2",
279
- children: /* @__PURE__ */ p("form", {
280
- onSubmit: (e) => {
281
- e.preventDefault(), F(S);
282
- },
279
+ children: /* @__PURE__ */ p("div", {
283
280
  className: "flex flex-col gap-1",
284
281
  children: [/* @__PURE__ */ f("input", {
285
282
  ref: k,
@@ -289,6 +286,9 @@ function S({ mode: t, value: n, now: r, min: i, max: a, presets: s, showClear: c
289
286
  w(e.target.value), T && E(null);
290
287
  },
291
288
  onBlur: I,
289
+ onKeyDown: (e) => {
290
+ e.key === "Enter" && (e.preventDefault(), e.stopPropagation(), F(S));
291
+ },
292
292
  placeholder: P ? "Jan – Mar, last 7 days, Q1 2024…" : "Jan 15, today, last Friday…",
293
293
  "aria-invalid": T ? "true" : void 0,
294
294
  "aria-label": P ? "Type a date range" : "Type a date",
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "publishConfig": {
10
10
  "access": "public"
11
11
  },
12
- "version": "3.7.0",
12
+ "version": "4.0.0",
13
13
  "description": "Atlas shared UI component library for Artifact Studio apps",
14
14
  "type": "module",
15
15
  "sideEffects": [