@reopt-ai/opt-ui 1.10.0 → 1.12.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/COMPONENT_CATALOG.md +522 -218
- package/README.md +61 -7
- package/dist/core/index.cjs +10 -8
- package/dist/core/index.d.cts +3 -3
- package/dist/core/index.d.ts +3 -3
- package/dist/core/index.js +3 -3
- package/dist/docs/02-components/01-core.md +213 -96
- package/dist/docs/02-components/02-visuals.md +1 -1
- package/dist/docs/02-components/03-shells.md +334 -123
- package/dist/docs/02-components/04-surfaces.md +1 -1
- package/dist/docs/02-components/index.md +5 -5
- package/dist/docs/03-recipes/02-dashboards.md +126 -10
- package/dist/{field-sidebar-B6Ndr8HE.cjs → field-sidebar-BYgEmdy0.cjs} +2128 -1558
- package/dist/{field-sidebar-BXjvV7Cz.js → field-sidebar-BuO37l4c.js} +2111 -1561
- package/dist/{field-sidebar-nwcE9LC4.d.cts → field-sidebar-CrYlRZew.d.ts} +375 -154
- package/dist/{field-sidebar-DWfJAJlx.d.ts → field-sidebar-uXmoyvd7.d.cts} +375 -154
- package/dist/id-registry.cjs +124 -12
- package/dist/id-registry.d.cts +1 -2
- package/dist/id-registry.d.ts +1 -2
- package/dist/id-registry.js +124 -14
- package/dist/id-registry.json +265 -31
- package/dist/index.cjs +1162 -253
- package/dist/index.d.cts +573 -60
- package/dist/index.d.ts +573 -60
- package/dist/index.js +1134 -242
- package/dist/{key-pad-menu-DfZbeXhG.d.cts → key-pad-menu-CwcY_Vps.d.cts} +151 -7
- package/dist/{key-pad-menu-BQunU20e.js → key-pad-menu-Di2aRGbM.js} +388 -461
- package/dist/{key-pad-menu-D5mQcS5v.cjs → key-pad-menu-SItoHPLu.cjs} +490 -609
- package/dist/{key-pad-menu-BsgJMjD4.d.ts → key-pad-menu-WBJShCJn.d.ts} +152 -8
- package/dist/meta.cjs +1304 -168
- package/dist/meta.d.cts +12 -36
- package/dist/meta.d.ts +12 -36
- package/dist/meta.js +1304 -170
- package/dist/query.d.cts +1 -2
- package/dist/query.d.ts +1 -2
- package/dist/query.js +0 -2
- package/dist/shells/index.cjs +4 -1
- package/dist/shells/index.d.cts +2 -2
- package/dist/shells/index.d.ts +2 -2
- package/dist/shells/index.js +2 -2
- package/dist/{text-truncate-BGr7bB_8.d.cts → text-truncate-CQyfUZvq.d.cts} +48 -5
- package/dist/{text-truncate-BGr7bB_8.d.ts → text-truncate-CQyfUZvq.d.ts} +48 -5
- package/dist/{text-truncate-j6X3z7Pv.js → text-truncate-DSuZECy0.js} +446 -94
- package/dist/{text-truncate-CxdzAnhS.cjs → text-truncate-I1XLWmRa.cjs} +522 -90
- package/dist/theme/server.d.cts +1 -2
- package/dist/theme/server.d.ts +1 -2
- package/dist/theme/server.js +0 -2
- package/dist/visuals/index.js +0 -1
- package/package.json +4 -3
- package/dist/field-sidebar-BXjvV7Cz.js.map +0 -1
- package/dist/field-sidebar-DWfJAJlx.d.ts.map +0 -1
- package/dist/field-sidebar-nwcE9LC4.d.cts.map +0 -1
- package/dist/id-registry.d.cts.map +0 -1
- package/dist/id-registry.d.ts.map +0 -1
- package/dist/id-registry.js.map +0 -1
- package/dist/index.d.cts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/key-pad-menu-BQunU20e.js.map +0 -1
- package/dist/key-pad-menu-BsgJMjD4.d.ts.map +0 -1
- package/dist/key-pad-menu-DfZbeXhG.d.cts.map +0 -1
- package/dist/meta.d.cts.map +0 -1
- package/dist/meta.d.ts.map +0 -1
- package/dist/meta.js.map +0 -1
- package/dist/query.d.cts.map +0 -1
- package/dist/query.d.ts.map +0 -1
- package/dist/query.js.map +0 -1
- package/dist/text-truncate-BGr7bB_8.d.cts.map +0 -1
- package/dist/text-truncate-BGr7bB_8.d.ts.map +0 -1
- package/dist/text-truncate-j6X3z7Pv.js.map +0 -1
- package/dist/theme/server.d.cts.map +0 -1
- package/dist/theme/server.d.ts.map +0 -1
- package/dist/theme/server.js.map +0 -1
package/dist/query.d.cts
CHANGED
|
@@ -137,5 +137,4 @@ declare function matchesQueryObject(query: Query, row: Record<string, unknown>,
|
|
|
137
137
|
nested?: string;
|
|
138
138
|
}): boolean;
|
|
139
139
|
//#endregion
|
|
140
|
-
export { EMPTY_QUERY, type FieldReader, type ParsedQuery, type Query, type QueryCellAction, type QueryClause, type QueryDiagnostic, type QueryFieldClause, type QueryOperator, type QueryTermClause, addClause, applyCellAction, describeClause, fieldValues, formatClause, formatQuery, isEmptyQuery, matchesQuery, matchesQueryObject, parseQuery, parseQueryWithDiagnostics, queryFields, quoteValue, removeClause, withFieldValue, withoutField };
|
|
141
|
-
//# sourceMappingURL=query.d.cts.map
|
|
140
|
+
export { EMPTY_QUERY, type FieldReader, type ParsedQuery, type Query, type QueryCellAction, type QueryClause, type QueryDiagnostic, type QueryFieldClause, type QueryOperator, type QueryTermClause, addClause, applyCellAction, describeClause, fieldValues, formatClause, formatQuery, isEmptyQuery, matchesQuery, matchesQueryObject, parseQuery, parseQueryWithDiagnostics, queryFields, quoteValue, removeClause, withFieldValue, withoutField };
|
package/dist/query.d.ts
CHANGED
|
@@ -137,5 +137,4 @@ declare function matchesQueryObject(query: Query, row: Record<string, unknown>,
|
|
|
137
137
|
nested?: string;
|
|
138
138
|
}): boolean;
|
|
139
139
|
//#endregion
|
|
140
|
-
export { EMPTY_QUERY, type FieldReader, type ParsedQuery, type Query, type QueryCellAction, type QueryClause, type QueryDiagnostic, type QueryFieldClause, type QueryOperator, type QueryTermClause, addClause, applyCellAction, describeClause, fieldValues, formatClause, formatQuery, isEmptyQuery, matchesQuery, matchesQueryObject, parseQuery, parseQueryWithDiagnostics, queryFields, quoteValue, removeClause, withFieldValue, withoutField };
|
|
141
|
-
//# sourceMappingURL=query.d.ts.map
|
|
140
|
+
export { EMPTY_QUERY, type FieldReader, type ParsedQuery, type Query, type QueryCellAction, type QueryClause, type QueryDiagnostic, type QueryFieldClause, type QueryOperator, type QueryTermClause, addClause, applyCellAction, describeClause, fieldValues, formatClause, formatQuery, isEmptyQuery, matchesQuery, matchesQueryObject, parseQuery, parseQueryWithDiagnostics, queryFields, quoteValue, removeClause, withFieldValue, withoutField };
|
package/dist/query.js
CHANGED
|
@@ -367,5 +367,3 @@ function matchesQueryObject(query, row, options = {}) {
|
|
|
367
367
|
}
|
|
368
368
|
//#endregion
|
|
369
369
|
export { EMPTY_QUERY, addClause, applyCellAction, describeClause, fieldValues, formatClause, formatQuery, isEmptyQuery, matchesQuery, matchesQueryObject, parseQuery, parseQueryWithDiagnostics, queryFields, quoteValue, removeClause, withFieldValue, withoutField };
|
|
370
|
-
|
|
371
|
-
//# sourceMappingURL=query.js.map
|
package/dist/shells/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const require_field_sidebar = require("../field-sidebar-
|
|
4
|
+
const require_field_sidebar = require("../field-sidebar-BYgEmdy0.cjs");
|
|
5
5
|
let _reopt_ai_opt_charts = require("@reopt-ai/opt-charts");
|
|
6
6
|
exports.AppMenubar = require_field_sidebar.AppMenubar;
|
|
7
7
|
exports.BranchSelect = require_field_sidebar.BranchSelect;
|
|
@@ -21,9 +21,11 @@ Object.defineProperty(exports, "EventSparkline", {
|
|
|
21
21
|
return _reopt_ai_opt_charts.EventSparkline;
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
|
+
exports.EventTimeline = require_field_sidebar.EventTimeline;
|
|
24
25
|
exports.FailureList = require_field_sidebar.FailureList;
|
|
25
26
|
exports.FaqAccordion = require_field_sidebar.FaqAccordion;
|
|
26
27
|
exports.FieldSidebar = require_field_sidebar.FieldSidebar;
|
|
28
|
+
exports.Flyout = require_field_sidebar.Flyout;
|
|
27
29
|
exports.KeyValueEditor = require_field_sidebar.KeyValueEditor;
|
|
28
30
|
exports.LogTable = require_field_sidebar.LogTable;
|
|
29
31
|
Object.defineProperty(exports, "MetricsCard", {
|
|
@@ -41,6 +43,7 @@ Object.defineProperty(exports, "ReportWidget", {
|
|
|
41
43
|
return _reopt_ai_opt_charts.ReportWidget;
|
|
42
44
|
}
|
|
43
45
|
});
|
|
46
|
+
exports.ScoreBreakdown = require_field_sidebar.ScoreBreakdown;
|
|
44
47
|
exports.SearchCombobox = require_field_sidebar.SearchCombobox;
|
|
45
48
|
exports.SettingsForm = require_field_sidebar.SettingsForm;
|
|
46
49
|
exports.SidebarNav = require_field_sidebar.SidebarNav;
|
package/dist/shells/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
import { $ as
|
|
2
|
+
import { $ as EventTimelineItem, $t as DashboardGridProps, At as EnvPanel, Bt as ContentTabs, C as TimeRangePreset, Ct as ColumnDef, D as QueryField, Dt as DomainTableProps, E as QueryBarProps, Et as DomainTable, Ft as DeploymentTimelineProps, G as FlyoutProps, Gt as SidebarNavProps, Ht as EditorToolbar, It as SettingsForm, J as ScoreBreakdown, Jt as StatusSelect, K as ScoreAxis, Kt as AppMenubar, Lt as SettingsFormProps, Mt as ProjectSwitcher, Nt as ProjectSwitcherProps, Ot as BranchSelect, Pt as DeploymentTimeline, Q as EventTimelineGroup, Qt as DashboardGrid, Rt as FaqAccordion, S as TimeRangeControlProps, St as useToast, T as QueryBarLabels, Tt as DataTableProps, U as Flyout, Ut as EditorToolbarProps, Vt as ContentTabsProps, W as FlyoutLabels, Wt as SidebarNav, X as ScoreBreakdownProps, Xt as SearchCombobox, Y as ScoreBreakdownLabels, Yt as StatusSelectProps, Z as EventTimeline, Zt as SearchComboboxProps, _ as TimeSeriesPanelProps, _t as ToastMessage, a as FieldValueCount, at as WorkflowCanvasProps, b as TimeRangeControl, c as LogColumnPriority, ct as KeyValueEditorLabels, d as LogTable, dt as FailureList, en as CommandPaletteTrigger, et as EventTimelineLabels, f as LogTableHandle, ft as FailureListLabels, g as TimeSeriesPanelLabels, gt as ToastContextValue, h as TimeSeriesPanel, i as FieldSummary, it as WorkflowCanvasConnection, jt as EnvPanelProps, kt as BranchSelectProps, l as LogDensity, lt as KeyValueEditorProps, m as LogTableProps, mt as NotificationToast, n as FieldSidebarLabels, nn as CommandPalette, nt as EventTimelineTone, o as LogCellAction, ot as WorkflowCanvasStep, p as LogTableLabels, pt as FailureListProps, q as ScoreBand, qt as AppMenubarProps, r as FieldSidebarProps, rn as CommandPaletteProps, rt as WorkflowCanvas, s as LogColumn, st as KeyValueEditor, t as FieldSidebar, tn as CommandPaletteTriggerProps, tt as EventTimelineProps, u as LogSort, ut as KeyValueEntry, v as DEFAULT_TIME_PRESETS, vt as ToastProvider, w as QueryBar, wt as DataTable, x as TimeRangeControlLabels, y as RefreshSetting, yt as ToastProviderProps, zt as FaqAccordionProps } from "../field-sidebar-uXmoyvd7.cjs";
|
|
3
3
|
import { EventSparkline, EventSparklineLabels, EventSparklineProps, MetricsCard, MetricsCardProps, ReportWidget, ReportWidgetConfig, ReportWidgetLabels, ReportWidgetProps, ReportWidgetType, TrendChart, TrendChartProps } from "@reopt-ai/opt-charts";
|
|
4
|
-
export { AppMenubar, type AppMenubarProps, BranchSelect, type BranchSelectProps, type ColumnDef, CommandPalette, type CommandPaletteProps, CommandPaletteTrigger, type CommandPaletteTriggerProps, ContentTabs, type ContentTabsProps, DEFAULT_TIME_PRESETS, DashboardGrid, type DashboardGridProps, DataTable, type DataTableProps, DeploymentTimeline, type DeploymentTimelineProps, DomainTable, type DomainTableProps, EditorToolbar, type EditorToolbarProps, EnvPanel, type EnvPanelProps, EventSparkline, type EventSparklineLabels, type EventSparklineProps, FailureList, type FailureListLabels, type FailureListProps, FaqAccordion, type FaqAccordionProps, FieldSidebar, type FieldSidebarLabels, type FieldSidebarProps, type FieldSummary, type FieldValueCount, KeyValueEditor, type KeyValueEditorLabels, type KeyValueEditorProps, type KeyValueEntry, type LogCellAction, type LogColumn, type LogColumnPriority, type LogDensity, type LogSort, LogTable, type LogTableHandle, type LogTableLabels, type LogTableProps, MetricsCard, type MetricsCardProps, NotificationToast, ProjectSwitcher, type ProjectSwitcherProps, QueryBar, type QueryBarLabels, type QueryBarProps, type QueryField, type RefreshSetting, ReportWidget, type ReportWidgetConfig, type ReportWidgetLabels, type ReportWidgetProps, type ReportWidgetType, SearchCombobox, type SearchComboboxProps, SettingsForm, type SettingsFormProps, SidebarNav, type SidebarNavProps, StatusSelect, type StatusSelectProps, TimeRangeControl, type TimeRangeControlLabels, type TimeRangeControlProps, type TimeRangePreset, TimeSeriesPanel, type TimeSeriesPanelLabels, type TimeSeriesPanelProps, type ToastContextValue, type ToastMessage, ToastProvider, type ToastProviderProps, TrendChart, type TrendChartProps, WorkflowCanvas, type WorkflowCanvasConnection, type WorkflowCanvasProps, type WorkflowCanvasStep, useToast };
|
|
4
|
+
export { AppMenubar, type AppMenubarProps, BranchSelect, type BranchSelectProps, type ColumnDef, CommandPalette, type CommandPaletteProps, CommandPaletteTrigger, type CommandPaletteTriggerProps, ContentTabs, type ContentTabsProps, DEFAULT_TIME_PRESETS, DashboardGrid, type DashboardGridProps, DataTable, type DataTableProps, DeploymentTimeline, type DeploymentTimelineProps, DomainTable, type DomainTableProps, EditorToolbar, type EditorToolbarProps, EnvPanel, type EnvPanelProps, EventSparkline, type EventSparklineLabels, type EventSparklineProps, EventTimeline, type EventTimelineGroup, type EventTimelineItem, type EventTimelineLabels, type EventTimelineProps, type EventTimelineTone, FailureList, type FailureListLabels, type FailureListProps, FaqAccordion, type FaqAccordionProps, FieldSidebar, type FieldSidebarLabels, type FieldSidebarProps, type FieldSummary, type FieldValueCount, Flyout, type FlyoutLabels, type FlyoutProps, KeyValueEditor, type KeyValueEditorLabels, type KeyValueEditorProps, type KeyValueEntry, type LogCellAction, type LogColumn, type LogColumnPriority, type LogDensity, type LogSort, LogTable, type LogTableHandle, type LogTableLabels, type LogTableProps, MetricsCard, type MetricsCardProps, NotificationToast, ProjectSwitcher, type ProjectSwitcherProps, QueryBar, type QueryBarLabels, type QueryBarProps, type QueryField, type RefreshSetting, ReportWidget, type ReportWidgetConfig, type ReportWidgetLabels, type ReportWidgetProps, type ReportWidgetType, type ScoreAxis, type ScoreBand, ScoreBreakdown, type ScoreBreakdownLabels, type ScoreBreakdownProps, SearchCombobox, type SearchComboboxProps, SettingsForm, type SettingsFormProps, SidebarNav, type SidebarNavProps, StatusSelect, type StatusSelectProps, TimeRangeControl, type TimeRangeControlLabels, type TimeRangeControlProps, type TimeRangePreset, TimeSeriesPanel, type TimeSeriesPanelLabels, type TimeSeriesPanelProps, type ToastContextValue, type ToastMessage, ToastProvider, type ToastProviderProps, TrendChart, type TrendChartProps, WorkflowCanvas, type WorkflowCanvasConnection, type WorkflowCanvasProps, type WorkflowCanvasStep, useToast };
|
package/dist/shells/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
import { $ as
|
|
2
|
+
import { $ as EventTimelineItem, $t as DashboardGridProps, At as EnvPanel, Bt as ContentTabs, C as TimeRangePreset, Ct as ColumnDef, D as QueryField, Dt as DomainTableProps, E as QueryBarProps, Et as DomainTable, Ft as DeploymentTimelineProps, G as FlyoutProps, Gt as SidebarNavProps, Ht as EditorToolbar, It as SettingsForm, J as ScoreBreakdown, Jt as StatusSelect, K as ScoreAxis, Kt as AppMenubar, Lt as SettingsFormProps, Mt as ProjectSwitcher, Nt as ProjectSwitcherProps, Ot as BranchSelect, Pt as DeploymentTimeline, Q as EventTimelineGroup, Qt as DashboardGrid, Rt as FaqAccordion, S as TimeRangeControlProps, St as useToast, T as QueryBarLabels, Tt as DataTableProps, U as Flyout, Ut as EditorToolbarProps, Vt as ContentTabsProps, W as FlyoutLabels, Wt as SidebarNav, X as ScoreBreakdownProps, Xt as SearchCombobox, Y as ScoreBreakdownLabels, Yt as StatusSelectProps, Z as EventTimeline, Zt as SearchComboboxProps, _ as TimeSeriesPanelProps, _t as ToastMessage, a as FieldValueCount, at as WorkflowCanvasProps, b as TimeRangeControl, c as LogColumnPriority, ct as KeyValueEditorLabels, d as LogTable, dt as FailureList, en as CommandPaletteTrigger, et as EventTimelineLabels, f as LogTableHandle, ft as FailureListLabels, g as TimeSeriesPanelLabels, gt as ToastContextValue, h as TimeSeriesPanel, i as FieldSummary, it as WorkflowCanvasConnection, jt as EnvPanelProps, kt as BranchSelectProps, l as LogDensity, lt as KeyValueEditorProps, m as LogTableProps, mt as NotificationToast, n as FieldSidebarLabels, nn as CommandPalette, nt as EventTimelineTone, o as LogCellAction, ot as WorkflowCanvasStep, p as LogTableLabels, pt as FailureListProps, q as ScoreBand, qt as AppMenubarProps, r as FieldSidebarProps, rn as CommandPaletteProps, rt as WorkflowCanvas, s as LogColumn, st as KeyValueEditor, t as FieldSidebar, tn as CommandPaletteTriggerProps, tt as EventTimelineProps, u as LogSort, ut as KeyValueEntry, v as DEFAULT_TIME_PRESETS, vt as ToastProvider, w as QueryBar, wt as DataTable, x as TimeRangeControlLabels, y as RefreshSetting, yt as ToastProviderProps, zt as FaqAccordionProps } from "../field-sidebar-CrYlRZew.js";
|
|
3
3
|
import { EventSparkline, EventSparklineLabels, EventSparklineProps, MetricsCard, MetricsCardProps, ReportWidget, ReportWidgetConfig, ReportWidgetLabels, ReportWidgetProps, ReportWidgetType, TrendChart, TrendChartProps } from "@reopt-ai/opt-charts";
|
|
4
|
-
export { AppMenubar, type AppMenubarProps, BranchSelect, type BranchSelectProps, type ColumnDef, CommandPalette, type CommandPaletteProps, CommandPaletteTrigger, type CommandPaletteTriggerProps, ContentTabs, type ContentTabsProps, DEFAULT_TIME_PRESETS, DashboardGrid, type DashboardGridProps, DataTable, type DataTableProps, DeploymentTimeline, type DeploymentTimelineProps, DomainTable, type DomainTableProps, EditorToolbar, type EditorToolbarProps, EnvPanel, type EnvPanelProps, EventSparkline, type EventSparklineLabels, type EventSparklineProps, FailureList, type FailureListLabels, type FailureListProps, FaqAccordion, type FaqAccordionProps, FieldSidebar, type FieldSidebarLabels, type FieldSidebarProps, type FieldSummary, type FieldValueCount, KeyValueEditor, type KeyValueEditorLabels, type KeyValueEditorProps, type KeyValueEntry, type LogCellAction, type LogColumn, type LogColumnPriority, type LogDensity, type LogSort, LogTable, type LogTableHandle, type LogTableLabels, type LogTableProps, MetricsCard, type MetricsCardProps, NotificationToast, ProjectSwitcher, type ProjectSwitcherProps, QueryBar, type QueryBarLabels, type QueryBarProps, type QueryField, type RefreshSetting, ReportWidget, type ReportWidgetConfig, type ReportWidgetLabels, type ReportWidgetProps, type ReportWidgetType, SearchCombobox, type SearchComboboxProps, SettingsForm, type SettingsFormProps, SidebarNav, type SidebarNavProps, StatusSelect, type StatusSelectProps, TimeRangeControl, type TimeRangeControlLabels, type TimeRangeControlProps, type TimeRangePreset, TimeSeriesPanel, type TimeSeriesPanelLabels, type TimeSeriesPanelProps, type ToastContextValue, type ToastMessage, ToastProvider, type ToastProviderProps, TrendChart, type TrendChartProps, WorkflowCanvas, type WorkflowCanvasConnection, type WorkflowCanvasProps, type WorkflowCanvasStep, useToast };
|
|
4
|
+
export { AppMenubar, type AppMenubarProps, BranchSelect, type BranchSelectProps, type ColumnDef, CommandPalette, type CommandPaletteProps, CommandPaletteTrigger, type CommandPaletteTriggerProps, ContentTabs, type ContentTabsProps, DEFAULT_TIME_PRESETS, DashboardGrid, type DashboardGridProps, DataTable, type DataTableProps, DeploymentTimeline, type DeploymentTimelineProps, DomainTable, type DomainTableProps, EditorToolbar, type EditorToolbarProps, EnvPanel, type EnvPanelProps, EventSparkline, type EventSparklineLabels, type EventSparklineProps, EventTimeline, type EventTimelineGroup, type EventTimelineItem, type EventTimelineLabels, type EventTimelineProps, type EventTimelineTone, FailureList, type FailureListLabels, type FailureListProps, FaqAccordion, type FaqAccordionProps, FieldSidebar, type FieldSidebarLabels, type FieldSidebarProps, type FieldSummary, type FieldValueCount, Flyout, type FlyoutLabels, type FlyoutProps, KeyValueEditor, type KeyValueEditorLabels, type KeyValueEditorProps, type KeyValueEntry, type LogCellAction, type LogColumn, type LogColumnPriority, type LogDensity, type LogSort, LogTable, type LogTableHandle, type LogTableLabels, type LogTableProps, MetricsCard, type MetricsCardProps, NotificationToast, ProjectSwitcher, type ProjectSwitcherProps, QueryBar, type QueryBarLabels, type QueryBarProps, type QueryField, type RefreshSetting, ReportWidget, type ReportWidgetConfig, type ReportWidgetLabels, type ReportWidgetProps, type ReportWidgetType, type ScoreAxis, type ScoreBand, ScoreBreakdown, type ScoreBreakdownLabels, type ScoreBreakdownProps, SearchCombobox, type SearchComboboxProps, SettingsForm, type SettingsFormProps, SidebarNav, type SidebarNavProps, StatusSelect, type StatusSelectProps, TimeRangeControl, type TimeRangeControlLabels, type TimeRangeControlProps, type TimeRangePreset, TimeSeriesPanel, type TimeSeriesPanelLabels, type TimeSeriesPanelProps, type ToastContextValue, type ToastMessage, ToastProvider, type ToastProviderProps, TrendChart, type TrendChartProps, WorkflowCanvas, type WorkflowCanvasConnection, type WorkflowCanvasProps, type WorkflowCanvasStep, useToast };
|
package/dist/shells/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { A as
|
|
3
|
+
import { A as ToastProvider, B as FaqAccordion, C as Flyout, D as KeyValueEditor, E as WorkflowCanvas, F as BranchSelect, G as StatusSelect, H as EditorToolbar, I as EnvPanel, J as CommandPaletteTrigger, K as SearchCombobox, L as ProjectSwitcher, M as useToast, N as DataTable, O as FailureList, P as DomainTable, R as DeploymentTimeline, T as EventTimeline, U as SidebarNav, V as ContentTabs, W as AppMenubar, Y as CommandPalette, a as TimeRangeControl, i as DEFAULT_TIME_PRESETS, k as NotificationToast, n as LogTable, q as DashboardGrid, r as TimeSeriesPanel, s as QueryBar, t as FieldSidebar, w as ScoreBreakdown, z as SettingsForm } from "../field-sidebar-BuO37l4c.js";
|
|
4
4
|
import { EventSparkline, MetricsCard, ReportWidget, TrendChart } from "@reopt-ai/opt-charts";
|
|
5
|
-
export { AppMenubar, BranchSelect, CommandPalette, CommandPaletteTrigger, ContentTabs, DEFAULT_TIME_PRESETS, DashboardGrid, DataTable, DeploymentTimeline, DomainTable, EditorToolbar, EnvPanel, EventSparkline, FailureList, FaqAccordion, FieldSidebar, KeyValueEditor, LogTable, MetricsCard, NotificationToast, ProjectSwitcher, QueryBar, ReportWidget, SearchCombobox, SettingsForm, SidebarNav, StatusSelect, TimeRangeControl, TimeSeriesPanel, ToastProvider, TrendChart, WorkflowCanvas, useToast };
|
|
5
|
+
export { AppMenubar, BranchSelect, CommandPalette, CommandPaletteTrigger, ContentTabs, DEFAULT_TIME_PRESETS, DashboardGrid, DataTable, DeploymentTimeline, DomainTable, EditorToolbar, EnvPanel, EventSparkline, EventTimeline, FailureList, FaqAccordion, FieldSidebar, Flyout, KeyValueEditor, LogTable, MetricsCard, NotificationToast, ProjectSwitcher, QueryBar, ReportWidget, ScoreBreakdown, SearchCombobox, SettingsForm, SidebarNav, StatusSelect, TimeRangeControl, TimeSeriesPanel, ToastProvider, TrendChart, WorkflowCanvas, useToast };
|
|
@@ -14,8 +14,23 @@ interface StatCard {
|
|
|
14
14
|
id: string;
|
|
15
15
|
title: string;
|
|
16
16
|
value: string;
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Comparison text, e.g. `"+12.5%"`. Omit when there is nothing to compare
|
|
19
|
+
* against — the delta row is dropped rather than rendered blank, so a card
|
|
20
|
+
* without a baseline reads as a plain figure instead of a broken one.
|
|
21
|
+
*/
|
|
22
|
+
change?: string;
|
|
23
|
+
/** Direction the `change` moved. Only meaningful alongside `change`. */
|
|
24
|
+
trend?: "up" | "down" | "neutral";
|
|
25
|
+
/**
|
|
26
|
+
* Whether an upward `trend` is good. Bounce rate and error count go the
|
|
27
|
+
* other way, and colouring them green on a rise misreads the number.
|
|
28
|
+
*/
|
|
29
|
+
polarity?: "positive" | "negative";
|
|
30
|
+
/** One line under the value — what the figure counts, or its window. */
|
|
31
|
+
description?: string;
|
|
32
|
+
/** Longer explanation surfaced on hover/focus, e.g. how it is derived. */
|
|
33
|
+
hint?: string;
|
|
19
34
|
rawValue?: number;
|
|
20
35
|
format?: "text" | "duration" | "percentage";
|
|
21
36
|
durationUnit?: "ms" | "s";
|
|
@@ -343,6 +358,17 @@ interface FieldTokenProps {
|
|
|
343
358
|
* already stated in adjacent text, so it is not read twice.
|
|
344
359
|
*/
|
|
345
360
|
decorative?: boolean;
|
|
361
|
+
/**
|
|
362
|
+
* Draw the type's name beside the glyph.
|
|
363
|
+
*
|
|
364
|
+
* A glyph alone is a vocabulary the reader has to have learned. In a legend,
|
|
365
|
+
* a filter, or the one place a type is the subject rather than a decoration,
|
|
366
|
+
* the word carries the meaning and the glyph becomes the decoration — so the
|
|
367
|
+
* token drops out of the accessibility tree and the text takes over.
|
|
368
|
+
*/
|
|
369
|
+
withLabel?: boolean;
|
|
370
|
+
/** The text `withLabel` draws. Defaults to the type's own name. */
|
|
371
|
+
label?: string;
|
|
346
372
|
className?: string;
|
|
347
373
|
}
|
|
348
374
|
/**
|
|
@@ -359,7 +385,25 @@ interface FieldTokenProps {
|
|
|
359
385
|
* <FieldToken type={resolveFieldType(column.dataType)} title={column.name} />
|
|
360
386
|
* ```
|
|
361
387
|
*/
|
|
362
|
-
declare function FieldToken({ type, size, fill, shape, title, decorative, className }: FieldTokenProps): import("react").JSX.Element;
|
|
388
|
+
declare function FieldToken({ type, size, fill, shape, title, decorative, withLabel, label: labelText, className }: FieldTokenProps): import("react").JSX.Element;
|
|
389
|
+
/** Props for the field token legend. */
|
|
390
|
+
interface FieldTokenLegendProps {
|
|
391
|
+
/** The types to explain, in the order they should be read. */
|
|
392
|
+
types: FieldDataType[];
|
|
393
|
+
size?: FieldTokenProps["size"];
|
|
394
|
+
labels?: {
|
|
395
|
+
heading?: string;
|
|
396
|
+
};
|
|
397
|
+
className?: string;
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* FieldTokenLegend — the glyph vocabulary, spelled out.
|
|
401
|
+
*
|
|
402
|
+
* The tokens are only worth their width if a reader can learn them, and the
|
|
403
|
+
* cheapest place to learn them is next to the table that uses them. Rendered
|
|
404
|
+
* from the same map the tokens read, so a legend cannot fall behind the set.
|
|
405
|
+
*/
|
|
406
|
+
declare function FieldTokenLegend({ types, size, labels, className }: FieldTokenLegendProps): import("react").JSX.Element;
|
|
363
407
|
//#endregion
|
|
364
408
|
//#region src/core/text-truncate.d.ts
|
|
365
409
|
/** Where the characters are dropped from. */
|
|
@@ -405,5 +449,4 @@ interface TextTruncateProps {
|
|
|
405
449
|
*/
|
|
406
450
|
declare function TextTruncate({ text, truncation, ellipsis, width, children, className }: TextTruncateProps): import("react").JSX.Element;
|
|
407
451
|
//#endregion
|
|
408
|
-
export {
|
|
409
|
-
//# sourceMappingURL=text-truncate-BGr7bB_8.d.cts.map
|
|
452
|
+
export { FilterGroupDef as A, StatCard as B, DomainDef as C, ExportFormat as D, ExportColumn as E, NavItem as F, TimePreset as G, TableColumn as H, NavItemDef as I, ToastOptions as K, ProjectDef as L, FormFieldDef as M, MenuDef as N, FailureItem as O, MenuItemDef as P, QuickActionDef as R, DeploymentStep as S, EnvVarDef as T, TaskDef as U, TabDef as V, TeamMemberDef as W, ChatConversationDef as _, FieldDataType as a, ChatStylePresetDef as b, FieldTokenLegendProps as c, ActivityDef as d, BranchDef as f, ChartSeriesDef as g, ChartMargin as h, FIELD_TYPE_TOKENS as i, FilterOption as j, FaqItem as k, FieldTokenProps as l, ChartDataPoint as m, TextTruncateProps as n, FieldToken as o, ChartConfig as p, ToolbarButtonDef as q, TruncationSide as r, FieldTokenLegend as s, TextTruncate as t, resolveFieldType as u, ChatMessageDef as v, EnvGroupDef as w, CommandDef as x, ChatModelDef as y, SelectOption as z };
|
|
@@ -14,8 +14,23 @@ interface StatCard {
|
|
|
14
14
|
id: string;
|
|
15
15
|
title: string;
|
|
16
16
|
value: string;
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Comparison text, e.g. `"+12.5%"`. Omit when there is nothing to compare
|
|
19
|
+
* against — the delta row is dropped rather than rendered blank, so a card
|
|
20
|
+
* without a baseline reads as a plain figure instead of a broken one.
|
|
21
|
+
*/
|
|
22
|
+
change?: string;
|
|
23
|
+
/** Direction the `change` moved. Only meaningful alongside `change`. */
|
|
24
|
+
trend?: "up" | "down" | "neutral";
|
|
25
|
+
/**
|
|
26
|
+
* Whether an upward `trend` is good. Bounce rate and error count go the
|
|
27
|
+
* other way, and colouring them green on a rise misreads the number.
|
|
28
|
+
*/
|
|
29
|
+
polarity?: "positive" | "negative";
|
|
30
|
+
/** One line under the value — what the figure counts, or its window. */
|
|
31
|
+
description?: string;
|
|
32
|
+
/** Longer explanation surfaced on hover/focus, e.g. how it is derived. */
|
|
33
|
+
hint?: string;
|
|
19
34
|
rawValue?: number;
|
|
20
35
|
format?: "text" | "duration" | "percentage";
|
|
21
36
|
durationUnit?: "ms" | "s";
|
|
@@ -343,6 +358,17 @@ interface FieldTokenProps {
|
|
|
343
358
|
* already stated in adjacent text, so it is not read twice.
|
|
344
359
|
*/
|
|
345
360
|
decorative?: boolean;
|
|
361
|
+
/**
|
|
362
|
+
* Draw the type's name beside the glyph.
|
|
363
|
+
*
|
|
364
|
+
* A glyph alone is a vocabulary the reader has to have learned. In a legend,
|
|
365
|
+
* a filter, or the one place a type is the subject rather than a decoration,
|
|
366
|
+
* the word carries the meaning and the glyph becomes the decoration — so the
|
|
367
|
+
* token drops out of the accessibility tree and the text takes over.
|
|
368
|
+
*/
|
|
369
|
+
withLabel?: boolean;
|
|
370
|
+
/** The text `withLabel` draws. Defaults to the type's own name. */
|
|
371
|
+
label?: string;
|
|
346
372
|
className?: string;
|
|
347
373
|
}
|
|
348
374
|
/**
|
|
@@ -359,7 +385,25 @@ interface FieldTokenProps {
|
|
|
359
385
|
* <FieldToken type={resolveFieldType(column.dataType)} title={column.name} />
|
|
360
386
|
* ```
|
|
361
387
|
*/
|
|
362
|
-
declare function FieldToken({ type, size, fill, shape, title, decorative, className }: FieldTokenProps): import("react").JSX.Element;
|
|
388
|
+
declare function FieldToken({ type, size, fill, shape, title, decorative, withLabel, label: labelText, className }: FieldTokenProps): import("react").JSX.Element;
|
|
389
|
+
/** Props for the field token legend. */
|
|
390
|
+
interface FieldTokenLegendProps {
|
|
391
|
+
/** The types to explain, in the order they should be read. */
|
|
392
|
+
types: FieldDataType[];
|
|
393
|
+
size?: FieldTokenProps["size"];
|
|
394
|
+
labels?: {
|
|
395
|
+
heading?: string;
|
|
396
|
+
};
|
|
397
|
+
className?: string;
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* FieldTokenLegend — the glyph vocabulary, spelled out.
|
|
401
|
+
*
|
|
402
|
+
* The tokens are only worth their width if a reader can learn them, and the
|
|
403
|
+
* cheapest place to learn them is next to the table that uses them. Rendered
|
|
404
|
+
* from the same map the tokens read, so a legend cannot fall behind the set.
|
|
405
|
+
*/
|
|
406
|
+
declare function FieldTokenLegend({ types, size, labels, className }: FieldTokenLegendProps): import("react").JSX.Element;
|
|
363
407
|
//#endregion
|
|
364
408
|
//#region src/core/text-truncate.d.ts
|
|
365
409
|
/** Where the characters are dropped from. */
|
|
@@ -405,5 +449,4 @@ interface TextTruncateProps {
|
|
|
405
449
|
*/
|
|
406
450
|
declare function TextTruncate({ text, truncation, ellipsis, width, children, className }: TextTruncateProps): import("react").JSX.Element;
|
|
407
451
|
//#endregion
|
|
408
|
-
export {
|
|
409
|
-
//# sourceMappingURL=text-truncate-BGr7bB_8.d.ts.map
|
|
452
|
+
export { FilterGroupDef as A, StatCard as B, DomainDef as C, ExportFormat as D, ExportColumn as E, NavItem as F, TimePreset as G, TableColumn as H, NavItemDef as I, ToastOptions as K, ProjectDef as L, FormFieldDef as M, MenuDef as N, FailureItem as O, MenuItemDef as P, QuickActionDef as R, DeploymentStep as S, EnvVarDef as T, TaskDef as U, TabDef as V, TeamMemberDef as W, ChatConversationDef as _, FieldDataType as a, ChatStylePresetDef as b, FieldTokenLegendProps as c, ActivityDef as d, BranchDef as f, ChartSeriesDef as g, ChartMargin as h, FIELD_TYPE_TOKENS as i, FilterOption as j, FaqItem as k, FieldTokenProps as l, ChartDataPoint as m, TextTruncateProps as n, FieldToken as o, ChartConfig as p, ToolbarButtonDef as q, TruncationSide as r, FieldTokenLegend as s, TextTruncate as t, resolveFieldType as u, ChatMessageDef as v, EnvGroupDef as w, CommandDef as x, ChatModelDef as y, SelectOption as z };
|