@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 +120 -58
- package/dist/index.mjs +92 -91
- package/dist/next.mjs +1 -1
- package/dist/shared/components/ui/date-field.mjs +5 -5
- package/package.json +1 -1
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
|
-
/**
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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 {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
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 {
|
|
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,
|
|
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("
|
|
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",
|