@sequenceholdings/atlas-ui 3.6.0 → 3.7.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 +72 -15
- package/dist/index.mjs +97 -95
- package/dist/next.mjs +1 -1
- package/dist/shared/components/ui/breadcrumb.mjs +33 -33
- package/dist/shared/components/ui/date-field.mjs +24 -17
- package/dist/shared/components/ui/date-picker.mjs +3 -0
- package/dist/shared/components/ui/iso-date-field.mjs +16 -0
- package/dist/shared/components/ui/mobile-list-row.mjs +1 -1
- package/package.json +1 -1
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:
|
|
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
|
|
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
|
-
*
|
|
888
|
-
*
|
|
889
|
-
*
|
|
890
|
-
*
|
|
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
|
|
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
|
-
*
|
|
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
|
-
|
|
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
|
|
3
|
-
import { formatCompact as
|
|
4
|
-
import { PortalContainerContext as
|
|
5
|
-
import { useOptimisticResource as
|
|
6
|
-
import { useOptimisticList as
|
|
7
|
-
import { useEditableDraft as
|
|
8
|
-
import { usePersistentTabValue as
|
|
9
|
-
import { MOBILE_BREAKPOINT_PX as
|
|
10
|
-
import { toast as
|
|
11
|
-
import { Badge as
|
|
12
|
-
import { CalendarGrid as
|
|
13
|
-
import { RequiredMarker as
|
|
14
|
-
import { Label as
|
|
15
|
-
import { Separator as
|
|
16
|
-
import { Field as
|
|
17
|
-
import { Button as
|
|
18
|
-
import { Input as
|
|
19
|
-
import { SearchInput as
|
|
20
|
-
import { Switch as
|
|
21
|
-
import { ChoiceCard as
|
|
22
|
-
import { Tooltip as
|
|
23
|
-
import { TruncatedText as
|
|
24
|
-
import { CitationChip as
|
|
25
|
-
import { ChartContainer as
|
|
26
|
-
import { CodeBadge as
|
|
27
|
-
import { FormField as
|
|
28
|
-
import { Toggle as
|
|
29
|
-
import { ToggleGroup as
|
|
30
|
-
import { Card as
|
|
31
|
-
import { ProgressBar as
|
|
32
|
-
import { BreadcrumbPrimitive as
|
|
33
|
-
import { DialogLayer as
|
|
34
|
-
import { DropdownMenu as
|
|
35
|
-
import { Skeleton as
|
|
36
|
-
import { Breadcrumb as
|
|
37
|
-
import { Spinner as
|
|
38
|
-
import { Tabs as
|
|
39
|
-
import { Toaster as
|
|
40
|
-
import { TableBody as
|
|
41
|
-
import { Checkbox as
|
|
42
|
-
import { Popover as
|
|
43
|
-
import { Dialog as
|
|
44
|
-
import { Command as
|
|
45
|
-
import { MultiSelect as
|
|
46
|
-
import { AGENT_TINTS as
|
|
47
|
-
import { ContentLoadingState as
|
|
48
|
-
import { HeatmapTable as
|
|
49
|
-
import { MetricCard as
|
|
50
|
-
import { KpiTile as
|
|
51
|
-
import { TrendBadge as
|
|
52
|
-
import { AsyncActionButton as
|
|
53
|
-
import { FileDropzone as
|
|
54
|
-
import { FilterSelect as
|
|
55
|
-
import { CheckboxGroup as
|
|
56
|
-
import { Slider as
|
|
57
|
-
import { SegmentedControl as
|
|
58
|
-
import { PageState as
|
|
59
|
-
import { ErrorState as
|
|
60
|
-
import { PageSkeleton as
|
|
61
|
-
import { RouteLoading as
|
|
62
|
-
import { ArtifactAppShell as
|
|
63
|
-
import { DashboardShell as
|
|
64
|
-
import { MetricGrid as
|
|
65
|
-
import { MobileActionBar as
|
|
66
|
-
import { MobileListRow as
|
|
67
|
-
import { MobilePageHeader as
|
|
68
|
-
import { formatArtifactOfflineStatus as
|
|
69
|
-
import { ArtifactOfflineControl as
|
|
70
|
-
import { SectionHeader as
|
|
71
|
-
import { MobileAppNav as
|
|
72
|
-
import { EditorTopBar as
|
|
73
|
-
import { EditorSideNav as
|
|
74
|
-
import { EditorPageHeader as
|
|
75
|
-
import { Sheet as
|
|
76
|
-
import { ContextMenu as
|
|
77
|
-
import { GenericAvatar as
|
|
78
|
-
import { HoverCard as
|
|
79
|
-
import { UserChip as
|
|
80
|
-
import { InlineTextCell as
|
|
81
|
-
import { MetricAreaChart as
|
|
82
|
-
import { Textarea as
|
|
83
|
-
import { AlertDialog as
|
|
84
|
-
import { ConfirmDialog as
|
|
85
|
-
import { FormDialog as
|
|
86
|
-
import { AppStatusBadge as
|
|
87
|
-
import { Calendar as
|
|
88
|
-
import { RadioGroup as
|
|
89
|
-
import { Select as
|
|
90
|
-
import { DEFAULT_RANGE_PRESETS as
|
|
91
|
-
import {
|
|
92
|
-
import
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
|
|
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
|
|
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
|
|
9
|
-
return /* @__PURE__ */
|
|
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
|
|
16
|
-
return /* @__PURE__ */
|
|
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
|
|
23
|
-
return /* @__PURE__ */
|
|
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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
function
|
|
37
|
-
return /* @__PURE__ */
|
|
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
|
|
47
|
-
return /* @__PURE__ */
|
|
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
|
-
...
|
|
53
|
-
children: t ?? /* @__PURE__ */
|
|
52
|
+
...i,
|
|
53
|
+
children: t ?? /* @__PURE__ */ a(n, {})
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
return /* @__PURE__ */
|
|
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__ */
|
|
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
|
|
70
|
-
Root:
|
|
71
|
-
List:
|
|
72
|
-
Item:
|
|
73
|
-
Link:
|
|
74
|
-
Page:
|
|
75
|
-
Separator:
|
|
76
|
-
Ellipsis:
|
|
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 {
|
|
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,
|
|
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:
|
|
75
|
-
onOpenChange: (e) => !h &&
|
|
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":
|
|
86
|
-
"aria-
|
|
85
|
+
"aria-label": A ?? "Select date",
|
|
86
|
+
"aria-describedby": j,
|
|
87
|
+
"aria-invalid": M,
|
|
87
88
|
"aria-haspopup": "dialog",
|
|
88
|
-
"aria-expanded":
|
|
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", !
|
|
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:
|
|
96
|
+
children: B ?? m ?? y(l)
|
|
96
97
|
})]
|
|
97
98
|
})
|
|
98
|
-
}),
|
|
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:
|
|
115
|
+
now: L,
|
|
115
116
|
min: C,
|
|
116
117
|
max: v,
|
|
117
|
-
presets:
|
|
118
|
-
yearBias:
|
|
118
|
+
presets: R,
|
|
119
|
+
yearBias: P,
|
|
119
120
|
onApply: (e) => {
|
|
120
121
|
if (e === null) {
|
|
121
|
-
o.onChange(null),
|
|
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
|
-
|
|
135
|
+
I(!1);
|
|
135
136
|
},
|
|
136
|
-
onClose: () =>
|
|
137
|
+
onClose: () => I(!1)
|
|
137
138
|
})
|
|
138
139
|
})]
|
|
139
140
|
});
|
|
@@ -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,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
|
});
|