@tetrascience-npm/tetrascience-react-ui 0.6.0-beta.81.1 → 0.6.0-beta.83.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/charts/AreaGraph/AreaGraph.cjs +1 -1
- package/dist/components/charts/AreaGraph/AreaGraph.cjs.map +1 -1
- package/dist/components/charts/AreaGraph/AreaGraph.js +79 -75
- package/dist/components/charts/AreaGraph/AreaGraph.js.map +1 -1
- package/dist/components/charts/BarGraph/BarGraph.cjs +1 -1
- package/dist/components/charts/BarGraph/BarGraph.cjs.map +1 -1
- package/dist/components/charts/BarGraph/BarGraph.js +37 -36
- package/dist/components/charts/BarGraph/BarGraph.js.map +1 -1
- package/dist/components/charts/Boxplot/Boxplot.cjs +1 -1
- package/dist/components/charts/Boxplot/Boxplot.cjs.map +1 -1
- package/dist/components/charts/Boxplot/Boxplot.js +84 -80
- package/dist/components/charts/Boxplot/Boxplot.js.map +1 -1
- package/dist/components/charts/Chromatogram/Chromatogram.cjs +1 -1
- package/dist/components/charts/Chromatogram/Chromatogram.cjs.map +1 -1
- package/dist/components/charts/Chromatogram/Chromatogram.js +51 -46
- package/dist/components/charts/Chromatogram/Chromatogram.js.map +1 -1
- package/dist/components/charts/ChromatogramChart/ChromatogramChart.cjs +1 -1
- package/dist/components/charts/ChromatogramChart/ChromatogramChart.cjs.map +1 -1
- package/dist/components/charts/ChromatogramChart/ChromatogramChart.js +47 -47
- package/dist/components/charts/ChromatogramChart/ChromatogramChart.js.map +1 -1
- package/dist/components/charts/ChromatogramChart/annotations.cjs +1 -1
- package/dist/components/charts/ChromatogramChart/annotations.cjs.map +1 -1
- package/dist/components/charts/ChromatogramChart/annotations.js +32 -32
- package/dist/components/charts/ChromatogramChart/annotations.js.map +1 -1
- package/dist/components/charts/ChromatogramChart/boundaryMarkers.cjs +1 -1
- package/dist/components/charts/ChromatogramChart/boundaryMarkers.cjs.map +1 -1
- package/dist/components/charts/ChromatogramChart/boundaryMarkers.js +6 -6
- package/dist/components/charts/ChromatogramChart/boundaryMarkers.js.map +1 -1
- package/dist/components/charts/ChromatogramChart/constants.cjs +1 -1
- package/dist/components/charts/ChromatogramChart/constants.cjs.map +1 -1
- package/dist/components/charts/ChromatogramChart/constants.js +11 -5
- package/dist/components/charts/ChromatogramChart/constants.js.map +1 -1
- package/dist/components/charts/DotPlot/DotPlot.cjs +1 -1
- package/dist/components/charts/DotPlot/DotPlot.cjs.map +1 -1
- package/dist/components/charts/DotPlot/DotPlot.js +49 -59
- package/dist/components/charts/DotPlot/DotPlot.js.map +1 -1
- package/dist/components/charts/Histogram/Histogram.cjs +1 -1
- package/dist/components/charts/Histogram/Histogram.cjs.map +1 -1
- package/dist/components/charts/Histogram/Histogram.js +53 -63
- package/dist/components/charts/Histogram/Histogram.js.map +1 -1
- package/dist/components/charts/LineGraph/LineGraph.cjs +1 -1
- package/dist/components/charts/LineGraph/LineGraph.cjs.map +1 -1
- package/dist/components/charts/LineGraph/LineGraph.js +87 -83
- package/dist/components/charts/LineGraph/LineGraph.js.map +1 -1
- package/dist/components/charts/PieChart/PieChart.cjs +1 -1
- package/dist/components/charts/PieChart/PieChart.cjs.map +1 -1
- package/dist/components/charts/PieChart/PieChart.js +41 -48
- package/dist/components/charts/PieChart/PieChart.js.map +1 -1
- package/dist/components/charts/PlateMap/constants.cjs +1 -1
- package/dist/components/charts/PlateMap/constants.cjs.map +1 -1
- package/dist/components/charts/PlateMap/constants.js +20 -29
- package/dist/components/charts/PlateMap/constants.js.map +1 -1
- package/dist/components/charts/ScatterGraph/ScatterGraph.cjs +1 -1
- package/dist/components/charts/ScatterGraph/ScatterGraph.cjs.map +1 -1
- package/dist/components/charts/ScatterGraph/ScatterGraph.js +40 -39
- package/dist/components/charts/ScatterGraph/ScatterGraph.js.map +1 -1
- package/dist/hooks/use-plotly-theme.cjs +1 -1
- package/dist/hooks/use-plotly-theme.cjs.map +1 -1
- package/dist/hooks/use-plotly-theme.js +4 -2
- package/dist/hooks/use-plotly-theme.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +26 -76
- package/dist/index.js +37 -36
- package/dist/index.tailwind.css +1 -1
- package/dist/utils/colors.cjs +1 -1
- package/dist/utils/colors.cjs.map +1 -1
- package/dist/utils/colors.js +38 -93
- package/dist/utils/colors.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -126,7 +126,8 @@ export declare interface AreaDataSeries {
|
|
|
126
126
|
x: number[];
|
|
127
127
|
y: number[];
|
|
128
128
|
name: string;
|
|
129
|
-
color
|
|
129
|
+
/** Optional color override (auto-assigned from CHART_COLORS if not provided) */
|
|
130
|
+
color?: string;
|
|
130
131
|
fill?: "tozeroy" | "tonexty" | "toself";
|
|
131
132
|
}
|
|
132
133
|
|
|
@@ -292,7 +293,8 @@ export declare interface BarDataSeries {
|
|
|
292
293
|
x: number[];
|
|
293
294
|
y: number[];
|
|
294
295
|
name: string;
|
|
295
|
-
color
|
|
296
|
+
/** Optional color override (auto-assigned from CHART_COLORS if not provided) */
|
|
297
|
+
color?: string;
|
|
296
298
|
error_y?: {
|
|
297
299
|
type: "data";
|
|
298
300
|
array: number[];
|
|
@@ -337,7 +339,8 @@ declare type BoundaryMarkerType = "none" | "triangle" | "diamond";
|
|
|
337
339
|
export declare interface BoxDataSeries {
|
|
338
340
|
y: number[];
|
|
339
341
|
name: string;
|
|
340
|
-
color
|
|
342
|
+
/** Optional color override (auto-assigned from CHART_COLORS if not provided) */
|
|
343
|
+
color?: string;
|
|
341
344
|
x?: string[] | number[];
|
|
342
345
|
boxpoints?: "all" | "outliers" | "suspectedoutliers" | false;
|
|
343
346
|
jitter?: number;
|
|
@@ -786,75 +789,6 @@ export declare function CollapsibleContent({ ...props }: React.ComponentProps<ty
|
|
|
786
789
|
|
|
787
790
|
export declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible_2.CollapsibleTrigger>): JSX.Element;
|
|
788
791
|
|
|
789
|
-
/**
|
|
790
|
-
* Centralized color tokens that map to CSS variables
|
|
791
|
-
* This provides TypeScript support while leveraging CSS custom properties
|
|
792
|
-
*/
|
|
793
|
-
export declare const COLORS: {
|
|
794
|
-
readonly BLACK_50: string;
|
|
795
|
-
readonly BLACK_100: string;
|
|
796
|
-
readonly BLACK_200: string;
|
|
797
|
-
readonly BLACK_300: string;
|
|
798
|
-
readonly BLACK_400: string;
|
|
799
|
-
readonly BLACK_500: string;
|
|
800
|
-
readonly BLACK_600: string;
|
|
801
|
-
readonly BLACK_700: string;
|
|
802
|
-
readonly BLACK_800: string;
|
|
803
|
-
readonly BLACK_900: string;
|
|
804
|
-
readonly BLACK: string;
|
|
805
|
-
readonly BLACK_OPACITY_20: "rgba(26, 26, 26, 0.2)";
|
|
806
|
-
readonly WHITE_50: string;
|
|
807
|
-
readonly WHITE_100: string;
|
|
808
|
-
readonly WHITE_200: string;
|
|
809
|
-
readonly WHITE_300: string;
|
|
810
|
-
readonly WHITE_400: string;
|
|
811
|
-
readonly WHITE_500: string;
|
|
812
|
-
readonly WHITE_600: string;
|
|
813
|
-
readonly WHITE_700: string;
|
|
814
|
-
readonly WHITE_800: string;
|
|
815
|
-
readonly WHITE_900: string;
|
|
816
|
-
readonly WHITE: string;
|
|
817
|
-
readonly BLUE_50: string;
|
|
818
|
-
readonly BLUE_100: string;
|
|
819
|
-
readonly BLUE_200: string;
|
|
820
|
-
readonly BLUE_300: string;
|
|
821
|
-
readonly BLUE_400: string;
|
|
822
|
-
readonly BLUE_500: string;
|
|
823
|
-
readonly BLUE_600: string;
|
|
824
|
-
readonly BLUE_700: string;
|
|
825
|
-
readonly BLUE_800: string;
|
|
826
|
-
readonly BLUE_900: string;
|
|
827
|
-
readonly BLUE: string;
|
|
828
|
-
readonly GREY_50: string;
|
|
829
|
-
readonly GREY_100: string;
|
|
830
|
-
readonly GREY_200: string;
|
|
831
|
-
readonly GREY_300: string;
|
|
832
|
-
readonly GREY_400: string;
|
|
833
|
-
readonly GREY_500: string;
|
|
834
|
-
readonly GREY_600: string;
|
|
835
|
-
readonly GREY_700: string;
|
|
836
|
-
readonly GREY_800: string;
|
|
837
|
-
readonly GREY_900: string;
|
|
838
|
-
readonly GREY: string;
|
|
839
|
-
readonly ORANGE: string;
|
|
840
|
-
readonly RED: string;
|
|
841
|
-
readonly GREEN: string;
|
|
842
|
-
readonly YELLOW: string;
|
|
843
|
-
readonly PURPLE: string;
|
|
844
|
-
readonly GREEN_BG: string;
|
|
845
|
-
readonly GREEN_SUCCESS: string;
|
|
846
|
-
readonly ORANGE_BG: string;
|
|
847
|
-
readonly ORANGE_CAUTION: string;
|
|
848
|
-
readonly RED_BG: string;
|
|
849
|
-
readonly RED_ERROR: string;
|
|
850
|
-
readonly GRAPH_SECONDARY_BROWN: string;
|
|
851
|
-
readonly GRAPH_SECONDARY_PINK: string;
|
|
852
|
-
readonly GRAPH_SECONDARY_TEAL: string;
|
|
853
|
-
readonly GRAPH_SECONDARY_DARK_BLUE: string;
|
|
854
|
-
readonly GRAPH_SECONDARY_BLACK: string;
|
|
855
|
-
readonly GRAPH_SECONDARY_GREY: string;
|
|
856
|
-
};
|
|
857
|
-
|
|
858
792
|
/**
|
|
859
793
|
* Color scale definition for the heatmap visualization mode.
|
|
860
794
|
*
|
|
@@ -876,8 +810,6 @@ export declare const COLORS: {
|
|
|
876
810
|
*/
|
|
877
811
|
export declare type ColorScale = string | Array<[number, string]>;
|
|
878
812
|
|
|
879
|
-
export declare type ColorToken = keyof typeof COLORS;
|
|
880
|
-
|
|
881
813
|
export declare const Combobox: typeof Combobox_2.Root;
|
|
882
814
|
|
|
883
815
|
export declare function ComboboxChip({ className, children, showRemove, ...props }: Combobox_2.Chip.Props & {
|
|
@@ -1798,7 +1730,8 @@ export declare interface LineDataSeries {
|
|
|
1798
1730
|
x: number[];
|
|
1799
1731
|
y: number[];
|
|
1800
1732
|
name: string;
|
|
1801
|
-
color
|
|
1733
|
+
/** Optional color override (auto-assigned from CHART_COLORS if not provided) */
|
|
1734
|
+
color?: string;
|
|
1802
1735
|
symbol?: MarkerSymbol;
|
|
1803
1736
|
error_y?: {
|
|
1804
1737
|
type: "data";
|
|
@@ -3205,7 +3138,8 @@ export declare interface ScatterDataSeries {
|
|
|
3205
3138
|
x: number[];
|
|
3206
3139
|
y: number[];
|
|
3207
3140
|
name: string;
|
|
3208
|
-
color
|
|
3141
|
+
/** Optional color override (auto-assigned from CHART_COLORS if not provided) */
|
|
3142
|
+
color?: string;
|
|
3209
3143
|
}
|
|
3210
3144
|
|
|
3211
3145
|
export declare const ScatterGraph: default_2.FC<ScatterGraphProps>;
|
|
@@ -3256,6 +3190,16 @@ export declare function SelectValue({ ...props }: React_2.ComponentProps<typeof
|
|
|
3256
3190
|
|
|
3257
3191
|
export declare function Separator({ className, orientation, decorative, ...props }: React_2.ComponentProps<typeof Separator_2.Root>): JSX.Element;
|
|
3258
3192
|
|
|
3193
|
+
/**
|
|
3194
|
+
* Resolve the color for a data series: use the explicit color when one is
|
|
3195
|
+
* provided, otherwise cycle through the {@link CHART_COLORS} palette by series
|
|
3196
|
+
* index (wrapping around when there are more series than palette slots).
|
|
3197
|
+
*
|
|
3198
|
+
* @param index - Zero-based series index
|
|
3199
|
+
* @param explicit - Caller-provided color override, if any
|
|
3200
|
+
*/
|
|
3201
|
+
export declare const seriesColor: (index: number, explicit?: string | null) => string;
|
|
3202
|
+
|
|
3259
3203
|
export declare function Sheet({ ...props }: React_2.ComponentProps<typeof Dialog_2.Root>): JSX.Element;
|
|
3260
3204
|
|
|
3261
3205
|
export declare function SheetClose({ ...props }: React_2.ComponentProps<typeof Dialog_2.Close>): JSX.Element;
|
|
@@ -3898,6 +3842,12 @@ declare type ToolUIPartApproval = {
|
|
|
3898
3842
|
reason?: string;
|
|
3899
3843
|
} | undefined;
|
|
3900
3844
|
|
|
3845
|
+
/**
|
|
3846
|
+
* Convert a color ramp (e.g. `CHART_SEQUENTIAL.blue`, `CHART_DIVERGING.blueOrange`)
|
|
3847
|
+
* into Plotly's colorscale format: evenly spaced [position, color] stops.
|
|
3848
|
+
*/
|
|
3849
|
+
export declare const toPlotlyColorscale: (ramp: readonly string[]) => Array<[number, string]>;
|
|
3850
|
+
|
|
3901
3851
|
export declare function triagePlateMapCsvByBarcode(text: string, options?: PlateMapCsvTriageOptions): PlateMapCsvTriage;
|
|
3902
3852
|
|
|
3903
3853
|
export declare function triagePlateMapCsvFile(file: File, options?: PlateMapCsvTriageOptions): Promise<PlateMapCsvTriage | undefined>;
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import { WellMetadataForm as D } from "./components/composed/PlateMapEditor/Well
|
|
|
14
14
|
import { WellManifestTable as B } from "./components/composed/PlateMapEditor/WellManifestTable.js";
|
|
15
15
|
import { TemplateIOPanel as L } from "./components/composed/PlateMapEditor/TemplateIOPanel.js";
|
|
16
16
|
import { plateOptionsFromCsvTriage as F, triagePlateMapCsvByBarcode as w, triagePlateMapCsvFile as H } from "./components/composed/PlateMapEditor/csvPlateTriage.js";
|
|
17
|
-
import { ManifestFilterPopover as
|
|
17
|
+
import { ManifestFilterPopover as y } from "./components/composed/PlateMapEditor/ManifestFilterPopover.js";
|
|
18
18
|
import { WellLegend as E } from "./components/composed/PlateMapEditor/WellLegend.js";
|
|
19
19
|
import { PlateZoomControl as Q } from "./components/composed/PlateMapEditor/PlateZoomControl.js";
|
|
20
20
|
import { autoFillPositions as U, autoFillRecords as _ } from "./components/composed/PlateMapEditor/autoFill.js";
|
|
@@ -34,7 +34,7 @@ import { Chromatogram as Ge } from "./components/charts/Chromatogram/Chromatogra
|
|
|
34
34
|
import { ChromatogramChart as Re } from "./components/charts/ChromatogramChart/ChromatogramChart.js";
|
|
35
35
|
import { DotPlot as we } from "./components/charts/DotPlot/DotPlot.js";
|
|
36
36
|
import { Heatmap as ke } from "./components/charts/Heatmap/Heatmap.js";
|
|
37
|
-
import { Histogram as
|
|
37
|
+
import { Histogram as Oe } from "./components/charts/Histogram/Histogram.js";
|
|
38
38
|
import { LineGraph as Ne } from "./components/charts/LineGraph/LineGraph.js";
|
|
39
39
|
import { PieChart as Ve } from "./components/charts/PieChart/PieChart.js";
|
|
40
40
|
import { PlateMap as _e } from "./components/charts/PlateMap/PlateMap.js";
|
|
@@ -46,7 +46,7 @@ import { AspectRatio as So } from "./components/ui/aspect-ratio.js";
|
|
|
46
46
|
import { Avatar as fo, AvatarBadge as Io, AvatarFallback as To, AvatarGroup as Mo, AvatarGroupCount as Po, AvatarImage as ho } from "./components/ui/avatar.js";
|
|
47
47
|
import { Badge as Do, badgeVariants as vo } from "./components/ui/badge.js";
|
|
48
48
|
import { Banner as Go, bannerVariants as Lo } from "./components/ui/banner.js";
|
|
49
|
-
import { Breadcrumb as Fo, BreadcrumbEllipsis as wo, BreadcrumbItem as Ho, BreadcrumbLink as ko, BreadcrumbList as
|
|
49
|
+
import { Breadcrumb as Fo, BreadcrumbEllipsis as wo, BreadcrumbItem as Ho, BreadcrumbLink as ko, BreadcrumbList as yo, BreadcrumbPage as Oo, BreadcrumbSeparator as Eo } from "./components/ui/breadcrumb.js";
|
|
50
50
|
import { Button as Qo, buttonVariants as Vo } from "./components/ui/button.js";
|
|
51
51
|
import { ButtonGroup as _o, ButtonGroupSeparator as Wo, ButtonGroupText as zo, buttonGroupVariants as Ko } from "./components/ui/button-group.js";
|
|
52
52
|
import { Calendar as qo, CalendarDayButton as Zo } from "./components/ui/calendar.js";
|
|
@@ -55,7 +55,7 @@ import { Carousel as at, CarouselContent as it, CarouselItem as pt, CarouselNext
|
|
|
55
55
|
import { Checkbox as dt } from "./components/ui/checkbox.js";
|
|
56
56
|
import { Collapsible as st, CollapsibleContent as xt, CollapsibleTrigger as ct } from "./components/ui/collapsible.js";
|
|
57
57
|
import { Combobox as bt, ComboboxChip as ft, ComboboxChips as It, ComboboxChipsInput as Tt, ComboboxCollection as Mt, ComboboxContent as Pt, ComboboxEmpty as ht, ComboboxGroup as At, ComboboxInput as Dt, ComboboxItem as vt, ComboboxLabel as Bt, ComboboxList as Gt, ComboboxSeparator as Lt, ComboboxTrigger as Rt, ComboboxValue as Ft, useComboboxAnchor as wt } from "./components/ui/combobox.js";
|
|
58
|
-
import { Command as kt, CommandDialog as
|
|
58
|
+
import { Command as kt, CommandDialog as yt, CommandEmpty as Ot, CommandGroup as Et, CommandInput as Nt, CommandItem as Qt, CommandList as Vt, CommandSeparator as Ut, CommandShortcut as _t } from "./components/ui/command.js";
|
|
59
59
|
import { ContextMenu as zt, ContextMenuCheckboxItem as Kt, ContextMenuContent as jt, ContextMenuGroup as qt, ContextMenuItem as Zt, ContextMenuLabel as Jt, ContextMenuPortal as Xt, ContextMenuRadioGroup as Yt, ContextMenuRadioItem as $t, ContextMenuSeparator as er, ContextMenuShortcut as or, ContextMenuSub as tr, ContextMenuSubContent as rr, ContextMenuSubTrigger as nr, ContextMenuTrigger as ar } from "./components/ui/context-menu.js";
|
|
60
60
|
import { DataTable as pr, TableToolbar as mr, applyFilterCondition as lr, useDataTable as ur } from "./components/ui/data-table/data-table.js";
|
|
61
61
|
import { DataTableColumnToggle as dr } from "./components/ui/data-table/data-table-column-toggle.js";
|
|
@@ -63,14 +63,14 @@ import { DataTableFilter as sr } from "./components/ui/data-table/data-table-fil
|
|
|
63
63
|
import { DataTableGroup as cr } from "./components/ui/data-table/data-table-group.js";
|
|
64
64
|
import { DataTablePagination as br } from "./components/ui/data-table/data-table-pagination.js";
|
|
65
65
|
import { Dialog as Ir, DialogBody as Tr, DialogClose as Mr, DialogContent as Pr, DialogDescription as hr, DialogFooter as Ar, DialogHeader as Dr, DialogOverlay as vr, DialogPortal as Br, DialogTitle as Gr, DialogTrigger as Lr } from "./components/ui/dialog.js";
|
|
66
|
-
import { Drawer as Fr, DrawerClose as wr, DrawerContent as Hr, DrawerDescription as kr, DrawerFooter as
|
|
66
|
+
import { Drawer as Fr, DrawerClose as wr, DrawerContent as Hr, DrawerDescription as kr, DrawerFooter as yr, DrawerHeader as Or, DrawerOverlay as Er, DrawerPortal as Nr, DrawerTitle as Qr, DrawerTrigger as Vr } from "./components/ui/drawer.js";
|
|
67
67
|
import { DropdownMenu as _r, DropdownMenuCheckboxItem as Wr, DropdownMenuContent as zr, DropdownMenuGroup as Kr, DropdownMenuItem as jr, DropdownMenuLabel as qr, DropdownMenuPortal as Zr, DropdownMenuRadioGroup as Jr, DropdownMenuRadioItem as Xr, DropdownMenuSeparator as Yr, DropdownMenuShortcut as $r, DropdownMenuSub as en, DropdownMenuSubContent as on, DropdownMenuSubTrigger as tn, DropdownMenuTrigger as rn } from "./components/ui/dropdown-menu.js";
|
|
68
68
|
import { Field as an, FieldContent as pn, FieldDescription as mn, FieldError as ln, FieldGroup as un, FieldLabel as Cn, FieldLegend as dn, FieldSeparator as gn, FieldSet as sn, FieldTitle as xn } from "./components/ui/field.js";
|
|
69
69
|
import { HoverCard as Sn, HoverCardContent as bn, HoverCardTrigger as fn } from "./components/ui/hover-card.js";
|
|
70
70
|
import { Input as Tn } from "./components/ui/input.js";
|
|
71
71
|
import { InputGroup as Pn, InputGroupAddon as hn, InputGroupButton as An, InputGroupInput as Dn, InputGroupText as vn, InputGroupTextarea as Bn } from "./components/ui/input-group.js";
|
|
72
72
|
import { InputOTP as Ln, InputOTPGroup as Rn, InputOTPSeparator as Fn, InputOTPSlot as wn } from "./components/ui/input-otp.js";
|
|
73
|
-
import { Item as kn, ItemActions as
|
|
73
|
+
import { Item as kn, ItemActions as yn, ItemContent as On, ItemDescription as En, ItemFooter as Nn, ItemGroup as Qn, ItemHeader as Vn, ItemMedia as Un, ItemSeparator as _n, ItemTitle as Wn } from "./components/ui/item.js";
|
|
74
74
|
import { Kbd as Kn, KbdGroup as jn } from "./components/ui/kbd.js";
|
|
75
75
|
import { Label as Zn } from "./components/ui/label.js";
|
|
76
76
|
import { Menubar as Xn, MenubarCheckboxItem as Yn, MenubarContent as $n, MenubarGroup as ea, MenubarItem as oa, MenubarLabel as ta, MenubarMenu as ra, MenubarPortal as na, MenubarRadioGroup as aa, MenubarRadioItem as ia, MenubarSeparator as pa, MenubarShortcut as ma, MenubarSub as la, MenubarSubContent as ua, MenubarSubTrigger as Ca, MenubarTrigger as da } from "./components/ui/menubar.js";
|
|
@@ -78,14 +78,14 @@ import { NavigationMenu as sa, NavigationMenuContent as xa, NavigationMenuIndica
|
|
|
78
78
|
import { Popover as ha, PopoverAnchor as Aa, PopoverContent as Da, PopoverTrigger as va } from "./components/ui/popover.js";
|
|
79
79
|
import { RadioGroup as Ga, RadioGroupItem as La } from "./components/ui/radio-group.js";
|
|
80
80
|
import { ResizableHandle as Fa, ResizablePanel as wa, ResizablePanelGroup as Ha } from "./components/ui/resizable.js";
|
|
81
|
-
import { ScrollArea as
|
|
81
|
+
import { ScrollArea as ya, ScrollBar as Oa } from "./components/ui/scroll-area.js";
|
|
82
82
|
import { Select as Na, SelectContent as Qa, SelectGroup as Va, SelectItem as Ua, SelectLabel as _a, SelectScrollDownButton as Wa, SelectScrollUpButton as za, SelectSeparator as Ka, SelectTrigger as ja, SelectValue as qa } from "./components/ui/select.js";
|
|
83
83
|
import { Separator as Ja } from "./components/ui/separator.js";
|
|
84
84
|
import { Sheet as Ya, SheetClose as $a, SheetContent as ei, SheetDescription as oi, SheetFooter as ti, SheetHeader as ri, SheetTitle as ni, SheetTrigger as ai } from "./components/ui/sheet.js";
|
|
85
85
|
import { Sidebar as pi, SidebarContent as mi, SidebarFooter as li, SidebarGroup as ui, SidebarGroupAction as Ci, SidebarGroupContent as di, SidebarGroupLabel as gi, SidebarHeader as si, SidebarInput as xi, SidebarInset as ci, SidebarMenu as Si, SidebarMenuAction as bi, SidebarMenuBadge as fi, SidebarMenuButton as Ii, SidebarMenuItem as Ti, SidebarMenuSkeleton as Mi, SidebarMenuSub as Pi, SidebarMenuSubButton as hi, SidebarMenuSubItem as Ai, SidebarProvider as Di, SidebarRail as vi, SidebarSeparator as Bi, SidebarTrigger as Gi, useSidebar as Li } from "./components/ui/sidebar.js";
|
|
86
86
|
import { Skeleton as Fi } from "./components/ui/skeleton.js";
|
|
87
87
|
import { Slider as Hi } from "./components/ui/slider.js";
|
|
88
|
-
import { Toaster as
|
|
88
|
+
import { Toaster as yi } from "./components/ui/sonner.js";
|
|
89
89
|
import { Spinner as Ei, spinnerVariants as Ni } from "./components/ui/spinner.js";
|
|
90
90
|
import { Switch as Vi } from "./components/ui/switch.js";
|
|
91
91
|
import { Table as _i, TableBody as Wi, TableCaption as zi, TableCell as Ki, TableFooter as ji, TableHead as qi, TableHeader as Zi, TableRow as Ji } from "./components/ui/table.js";
|
|
@@ -97,26 +97,26 @@ import { Tooltip as dp, TooltipContent as gp, TooltipProvider as sp, TooltipTrig
|
|
|
97
97
|
import { CodeEditor as Sp } from "./components/ui/code-editor.js";
|
|
98
98
|
import { TetraScienceIcon as fp } from "./components/ui/tetrascience-icon.js";
|
|
99
99
|
import { Attachment as Tp, AttachmentEmpty as Mp, AttachmentHoverCard as Pp, AttachmentHoverCardContent as hp, AttachmentHoverCardTrigger as Ap, AttachmentInfo as Dp, AttachmentPreview as vp, AttachmentRemove as Bp, Attachments as Gp, getAttachmentLabel as Lp, getMediaCategory as Rp, useAttachmentContext as Fp, useAttachmentsContext as wp } from "./components/ai/attachments.js";
|
|
100
|
-
import { ChainOfThought as kp, ChainOfThoughtContent as
|
|
100
|
+
import { ChainOfThought as kp, ChainOfThoughtContent as yp, ChainOfThoughtImage as Op, ChainOfThoughtSource as Ep, ChainOfThoughtSources as Np, ChainOfThoughtStep as Qp, ChainOfThoughtTrigger as Vp } from "./components/ai/chain-of-thought.js";
|
|
101
101
|
import { CodeBlock as _p, CodeBlockActions as Wp, CodeBlockContainer as zp, CodeBlockContent as Kp, CodeBlockCopyButton as jp, CodeBlockFilename as qp, CodeBlockHeader as Zp, CodeBlockLanguageSelector as Jp, CodeBlockLanguageSelectorContent as Xp, CodeBlockLanguageSelectorItem as Yp, CodeBlockLanguageSelectorTrigger as $p, CodeBlockLanguageSelectorValue as em, CodeBlockTitle as om, highlightCode as tm } from "./components/ui/code-block.js";
|
|
102
102
|
import { Confirmation as nm, ConfirmationAccepted as am, ConfirmationAction as im, ConfirmationActions as pm, ConfirmationCode as mm, ConfirmationRejected as lm, ConfirmationRequest as um, ConfirmationShortcut as Cm, ConfirmationTitle as dm } from "./components/ai/confirmation.js";
|
|
103
103
|
import { Context as sm, ContextCacheUsage as xm, ContextContent as cm, ContextContentBody as Sm, ContextContentFooter as bm, ContextContentHeader as fm, ContextInputUsage as Im, ContextOutputUsage as Tm, ContextReasoningUsage as Mm, ContextTrigger as Pm } from "./components/ai/context.js";
|
|
104
104
|
import { Conversation as Am, ConversationContent as Dm, ConversationDownload as vm, ConversationEmptyState as Bm, ConversationScrollButton as Gm, messagesToMarkdown as Lm } from "./components/ai/conversation.js";
|
|
105
|
-
import { InlineCitation as Fm, InlineCitationCard as wm, InlineCitationCardBody as Hm, InlineCitationCardTrigger as km, InlineCitationCarousel as
|
|
105
|
+
import { InlineCitation as Fm, InlineCitationCard as wm, InlineCitationCardBody as Hm, InlineCitationCardTrigger as km, InlineCitationCarousel as ym, InlineCitationCarouselContent as Om, InlineCitationCarouselHeader as Em, InlineCitationCarouselIndex as Nm, InlineCitationCarouselItem as Qm, InlineCitationCarouselNext as Vm, InlineCitationCarouselPrev as Um, InlineCitationQuote as _m, InlineCitationSource as Wm, InlineCitationText as zm } from "./components/ai/inline-citation.js";
|
|
106
106
|
import { Message as jm, MessageAction as qm, MessageActions as Zm, MessageBranch as Jm, MessageBranchContent as Xm, MessageBranchNext as Ym, MessageBranchPage as $m, MessageBranchPrevious as el, MessageBranchSelector as ol, MessageContent as tl, MessageResponse as rl, MessageToolbar as nl } from "./components/ai/message.js";
|
|
107
107
|
import { ModelSelector as il, ModelSelectorContent as pl, ModelSelectorDialog as ml, ModelSelectorEmpty as ll, ModelSelectorGroup as ul, ModelSelectorInput as Cl, ModelSelectorItem as dl, ModelSelectorList as gl, ModelSelectorLogo as sl, ModelSelectorLogoGroup as xl, ModelSelectorName as cl, ModelSelectorSeparator as Sl, ModelSelectorShortcut as bl, ModelSelectorTrigger as fl } from "./components/ai/model-selector.js";
|
|
108
|
-
import { LocalReferencedSourcesContext as Tl, PromptInput as Ml, PromptInputActionAddAttachments as Pl, PromptInputActionAddScreenshot as hl, PromptInputActionMenu as Al, PromptInputActionMenuContent as Dl, PromptInputActionMenuItem as vl, PromptInputActionMenuTrigger as Bl, PromptInputBody as Gl, PromptInputButton as Ll, PromptInputCommand as Rl, PromptInputCommandEmpty as Fl, PromptInputCommandGroup as wl, PromptInputCommandInput as Hl, PromptInputCommandItem as kl, PromptInputCommandList as
|
|
108
|
+
import { LocalReferencedSourcesContext as Tl, PromptInput as Ml, PromptInputActionAddAttachments as Pl, PromptInputActionAddScreenshot as hl, PromptInputActionMenu as Al, PromptInputActionMenuContent as Dl, PromptInputActionMenuItem as vl, PromptInputActionMenuTrigger as Bl, PromptInputBody as Gl, PromptInputButton as Ll, PromptInputCommand as Rl, PromptInputCommandEmpty as Fl, PromptInputCommandGroup as wl, PromptInputCommandInput as Hl, PromptInputCommandItem as kl, PromptInputCommandList as yl, PromptInputCommandSeparator as Ol, PromptInputFooter as El, PromptInputHeader as Nl, PromptInputHoverCard as Ql, PromptInputHoverCardContent as Vl, PromptInputHoverCardTrigger as Ul, PromptInputProvider as _l, PromptInputSelect as Wl, PromptInputSelectContent as zl, PromptInputSelectItem as Kl, PromptInputSelectTrigger as jl, PromptInputSelectValue as ql, PromptInputSlotSwap as Zl, PromptInputSubmit as Jl, PromptInputTab as Xl, PromptInputTabBody as Yl, PromptInputTabItem as $l, PromptInputTabLabel as eu, PromptInputTabsList as ou, PromptInputTextarea as tu, PromptInputTools as ru, usePromptInputAttachments as nu, usePromptInputController as au, usePromptInputReferencedSources as iu, useProviderAttachments as pu } from "./components/ai/prompt-input.js";
|
|
109
109
|
import { Queue as lu, QueueItem as uu, QueueItemAction as Cu, QueueItemActions as du, QueueItemAttachment as gu, QueueItemContent as su, QueueItemDescription as xu, QueueItemFile as cu, QueueItemImage as Su, QueueItemIndicator as bu, QueueList as fu, QueueSection as Iu, QueueSectionContent as Tu, QueueSectionLabel as Mu, QueueSectionTrigger as Pu } from "./components/ai/queue.js";
|
|
110
110
|
import { Reasoning as Au, ReasoningContent as Du, ReasoningTrigger as vu, useReasoning as Bu } from "./components/ai/reasoning.js";
|
|
111
111
|
import { Shimmer as Lu, TS_SHIMMER_GRADIENT as Ru } from "./components/ai/shimmer.js";
|
|
112
|
-
import { Source as wu, Sources as Hu, SourcesContent as ku, SourcesTrigger as
|
|
112
|
+
import { Source as wu, Sources as Hu, SourcesContent as ku, SourcesTrigger as yu } from "./components/ai/sources.js";
|
|
113
113
|
import { SpeechInput as Eu } from "./components/ai/speech-input.js";
|
|
114
114
|
import { STREAM_STATUS_ICONS as Qu, StreamStatus as Vu } from "./components/ai/stream-status.js";
|
|
115
115
|
import { Suggestion as _u, Suggestions as Wu } from "./components/ai/suggestion.js";
|
|
116
116
|
import { Task as Ku, TaskContent as ju, TaskItem as qu, TaskItemFile as Zu, TaskTrigger as Ju } from "./components/ai/task.js";
|
|
117
117
|
import { Tool as Yu, ToolContent as $u, ToolHeader as eC, ToolInput as oC, ToolOutput as tC, getStatusBadge as rC } from "./components/ai/tool.js";
|
|
118
|
-
import { CHART_COLORS as aC, CHART_DIVERGING as iC, CHART_SEQUENTIAL as pC,
|
|
119
|
-
import { PROCESS_FLOW_STEP_STATUSES as
|
|
118
|
+
import { CHART_COLORS as aC, CHART_DIVERGING as iC, CHART_SEQUENTIAL as pC, seriesColor as mC, toPlotlyColorscale as lC } from "./utils/colors.js";
|
|
119
|
+
import { PROCESS_FLOW_STEP_STATUSES as CC } from "./components/composed/ProcessFlow/ProcessFlow.utils.js";
|
|
120
120
|
export {
|
|
121
121
|
je as Accordion,
|
|
122
122
|
qe as AccordionContent,
|
|
@@ -163,8 +163,8 @@ export {
|
|
|
163
163
|
wo as BreadcrumbEllipsis,
|
|
164
164
|
Ho as BreadcrumbItem,
|
|
165
165
|
ko as BreadcrumbLink,
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
yo as BreadcrumbList,
|
|
167
|
+
Oo as BreadcrumbPage,
|
|
168
168
|
Eo as BreadcrumbSeparator,
|
|
169
169
|
Qo as Button,
|
|
170
170
|
_o as ButtonGroup,
|
|
@@ -173,7 +173,6 @@ export {
|
|
|
173
173
|
aC as CHART_COLORS,
|
|
174
174
|
iC as CHART_DIVERGING,
|
|
175
175
|
pC as CHART_SEQUENTIAL,
|
|
176
|
-
mC as COLORS,
|
|
177
176
|
qo as Calendar,
|
|
178
177
|
Zo as CalendarDayButton,
|
|
179
178
|
Xo as Card,
|
|
@@ -189,8 +188,8 @@ export {
|
|
|
189
188
|
mt as CarouselNext,
|
|
190
189
|
lt as CarouselPrevious,
|
|
191
190
|
kp as ChainOfThought,
|
|
192
|
-
|
|
193
|
-
|
|
191
|
+
yp as ChainOfThoughtContent,
|
|
192
|
+
Op as ChainOfThoughtImage,
|
|
194
193
|
Ep as ChainOfThoughtSource,
|
|
195
194
|
Np as ChainOfThoughtSources,
|
|
196
195
|
Qp as ChainOfThoughtStep,
|
|
@@ -232,8 +231,8 @@ export {
|
|
|
232
231
|
Rt as ComboboxTrigger,
|
|
233
232
|
Ft as ComboboxValue,
|
|
234
233
|
kt as Command,
|
|
235
|
-
|
|
236
|
-
|
|
234
|
+
yt as CommandDialog,
|
|
235
|
+
Ot as CommandEmpty,
|
|
237
236
|
Et as CommandGroup,
|
|
238
237
|
Nt as CommandInput,
|
|
239
238
|
Qt as CommandItem,
|
|
@@ -302,8 +301,8 @@ export {
|
|
|
302
301
|
wr as DrawerClose,
|
|
303
302
|
Hr as DrawerContent,
|
|
304
303
|
kr as DrawerDescription,
|
|
305
|
-
|
|
306
|
-
|
|
304
|
+
yr as DrawerFooter,
|
|
305
|
+
Or as DrawerHeader,
|
|
307
306
|
Er as DrawerOverlay,
|
|
308
307
|
Nr as DrawerPortal,
|
|
309
308
|
Qr as DrawerTitle,
|
|
@@ -336,7 +335,7 @@ export {
|
|
|
336
335
|
xn as FieldTitle,
|
|
337
336
|
r as FormSection,
|
|
338
337
|
ke as Heatmap,
|
|
339
|
-
|
|
338
|
+
Oe as Histogram,
|
|
340
339
|
Sn as HoverCard,
|
|
341
340
|
bn as HoverCardContent,
|
|
342
341
|
fn as HoverCardTrigger,
|
|
@@ -344,8 +343,8 @@ export {
|
|
|
344
343
|
wm as InlineCitationCard,
|
|
345
344
|
Hm as InlineCitationCardBody,
|
|
346
345
|
km as InlineCitationCardTrigger,
|
|
347
|
-
|
|
348
|
-
|
|
346
|
+
ym as InlineCitationCarousel,
|
|
347
|
+
Om as InlineCitationCarouselContent,
|
|
349
348
|
Em as InlineCitationCarouselHeader,
|
|
350
349
|
Nm as InlineCitationCarouselIndex,
|
|
351
350
|
Qm as InlineCitationCarouselItem,
|
|
@@ -366,8 +365,8 @@ export {
|
|
|
366
365
|
Fn as InputOTPSeparator,
|
|
367
366
|
wn as InputOTPSlot,
|
|
368
367
|
kn as Item,
|
|
369
|
-
|
|
370
|
-
|
|
368
|
+
yn as ItemActions,
|
|
369
|
+
On as ItemContent,
|
|
371
370
|
En as ItemDescription,
|
|
372
371
|
Nn as ItemFooter,
|
|
373
372
|
Qn as ItemGroup,
|
|
@@ -380,7 +379,7 @@ export {
|
|
|
380
379
|
Zn as Label,
|
|
381
380
|
Ne as LineGraph,
|
|
382
381
|
Tl as LocalReferencedSourcesContext,
|
|
383
|
-
|
|
382
|
+
y as ManifestFilterPopover,
|
|
384
383
|
Xn as Menubar,
|
|
385
384
|
Yn as MenubarCheckboxItem,
|
|
386
385
|
$n as MenubarContent,
|
|
@@ -431,7 +430,7 @@ export {
|
|
|
431
430
|
fa as NavigationMenuList,
|
|
432
431
|
Ia as NavigationMenuTrigger,
|
|
433
432
|
Ta as NavigationMenuViewport,
|
|
434
|
-
|
|
433
|
+
CC as PROCESS_FLOW_STEP_STATUSES,
|
|
435
434
|
Ve as PieChart,
|
|
436
435
|
_e as PlateMap,
|
|
437
436
|
I as PlateMapActionsMenu,
|
|
@@ -461,8 +460,8 @@ export {
|
|
|
461
460
|
wl as PromptInputCommandGroup,
|
|
462
461
|
Hl as PromptInputCommandInput,
|
|
463
462
|
kl as PromptInputCommandItem,
|
|
464
|
-
|
|
465
|
-
|
|
463
|
+
yl as PromptInputCommandList,
|
|
464
|
+
Ol as PromptInputCommandSeparator,
|
|
466
465
|
El as PromptInputFooter,
|
|
467
466
|
Nl as PromptInputHeader,
|
|
468
467
|
Ql as PromptInputHoverCard,
|
|
@@ -510,8 +509,8 @@ export {
|
|
|
510
509
|
te as RichListItemAvatar,
|
|
511
510
|
Qu as STREAM_STATUS_ICONS,
|
|
512
511
|
ze as ScatterGraph,
|
|
513
|
-
|
|
514
|
-
|
|
512
|
+
ya as ScrollArea,
|
|
513
|
+
Oa as ScrollBar,
|
|
515
514
|
Na as Select,
|
|
516
515
|
Qa as SelectContent,
|
|
517
516
|
Va as SelectGroup,
|
|
@@ -560,7 +559,7 @@ export {
|
|
|
560
559
|
wu as Source,
|
|
561
560
|
Hu as Sources,
|
|
562
561
|
ku as SourcesContent,
|
|
563
|
-
|
|
562
|
+
yu as SourcesTrigger,
|
|
564
563
|
Eu as SpeechInput,
|
|
565
564
|
Ei as Spinner,
|
|
566
565
|
a as StatCard,
|
|
@@ -594,7 +593,7 @@ export {
|
|
|
594
593
|
L as TemplateIOPanel,
|
|
595
594
|
fp as TetraScienceIcon,
|
|
596
595
|
np as Textarea,
|
|
597
|
-
|
|
596
|
+
yi as Toaster,
|
|
598
597
|
ip as Toggle,
|
|
599
598
|
lp as ToggleGroup,
|
|
600
599
|
up as ToggleGroupItem,
|
|
@@ -635,9 +634,11 @@ export {
|
|
|
635
634
|
Z as rectPositions,
|
|
636
635
|
J as resolveDimensions,
|
|
637
636
|
X as rowLabel,
|
|
637
|
+
mC as seriesColor,
|
|
638
638
|
Ni as spinnerVariants,
|
|
639
639
|
tp as tabsListVariants,
|
|
640
640
|
Te as tdpPaths,
|
|
641
|
+
lC as toPlotlyColorscale,
|
|
641
642
|
pp as toggleVariants,
|
|
642
643
|
w as triagePlateMapCsvByBarcode,
|
|
643
644
|
H as triagePlateMapCsvFile,
|