@reopt-ai/opt-ui 1.13.0 → 1.15.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/CHANGELOG.md +45 -0
- package/COMPONENT_CATALOG.md +644 -123
- package/README.md +35 -7
- package/dist/core/index.cjs +4 -4
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +2 -2
- package/dist/docs/02-components/01-core.md +261 -58
- package/dist/docs/02-components/02-visuals.md +1 -1
- package/dist/docs/02-components/03-shells.md +391 -65
- package/dist/docs/02-components/04-surfaces.md +1 -1
- package/dist/docs/02-components/index.md +4 -4
- package/dist/id-registry.cjs +32 -0
- package/dist/id-registry.js +32 -0
- package/dist/id-registry.json +68 -0
- package/dist/index.cjs +1196 -427
- package/dist/index.d.cts +208 -19
- package/dist/index.d.ts +208 -19
- package/dist/index.js +1050 -295
- package/dist/{key-pad-menu-DMmbQ1jF.js → key-pad-menu-BCOeYvsH.js} +59 -67
- package/dist/{key-pad-menu-BOVu97bj.d.cts → key-pad-menu-CaIsTHB2.d.cts} +22 -9
- package/dist/{key-pad-menu-0KWOnELe.cjs → key-pad-menu-Jaqxhx9P.cjs} +57 -77
- package/dist/{key-pad-menu-NlZ9zNF8.d.ts → key-pad-menu-odAEycIX.d.ts} +22 -9
- package/dist/meta.cjs +877 -26
- package/dist/meta.js +877 -26
- package/dist/{field-sidebar-CRdToHRO.js → replay-player-layout-BVUNsUS1.js} +904 -203
- package/dist/{field-sidebar-CxxSK4JO.cjs → replay-player-layout-Cmzptq89.cjs} +944 -201
- package/dist/{field-sidebar-D-rwuN_w.d.cts → replay-player-layout-DpqdfdQ6.d.ts} +246 -3
- package/dist/{field-sidebar-Dz7J4ett.d.ts → replay-player-layout-DuZW-gFF.d.cts} +246 -3
- package/dist/shells/index.cjs +58 -52
- 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-Bd-0WkSP.js → text-truncate-B-8nJgnu.js} +200 -101
- package/dist/{text-truncate-eMzvU_7k.d.cts → text-truncate-DOxUijpB.d.cts} +3 -30
- package/dist/{text-truncate-eMzvU_7k.d.ts → text-truncate-DOxUijpB.d.ts} +3 -30
- package/dist/{text-truncate-BeYW6XZu.cjs → text-truncate-gQhpMy-Z.cjs} +214 -97
- package/dist/theme/server.d.cts +2 -2
- package/dist/theme/server.d.ts +2 -2
- package/package.json +2 -2
|
@@ -7,6 +7,8 @@ interface CommandDef {
|
|
|
7
7
|
label: string;
|
|
8
8
|
group: string;
|
|
9
9
|
shortcut?: string;
|
|
10
|
+
/** Additional terms matched by command search. */
|
|
11
|
+
keywords?: string[];
|
|
10
12
|
action: () => void;
|
|
11
13
|
}
|
|
12
14
|
/** Defines the stat card shape. */
|
|
@@ -256,35 +258,6 @@ interface FailureItem {
|
|
|
256
258
|
group?: string;
|
|
257
259
|
metadata?: Record<string, unknown>;
|
|
258
260
|
}
|
|
259
|
-
/** Defines the chart data point shape. */
|
|
260
|
-
interface ChartDataPoint {
|
|
261
|
-
name: string;
|
|
262
|
-
[key: string]: string | number;
|
|
263
|
-
}
|
|
264
|
-
/** Defines the chart series shape. */
|
|
265
|
-
interface ChartSeriesDef {
|
|
266
|
-
dataKey: string;
|
|
267
|
-
name: string;
|
|
268
|
-
color?: string;
|
|
269
|
-
type?: "line" | "bar" | "area";
|
|
270
|
-
stackId?: string;
|
|
271
|
-
}
|
|
272
|
-
/** Configuration for chart. */
|
|
273
|
-
interface ChartConfig {
|
|
274
|
-
series: ChartSeriesDef[];
|
|
275
|
-
xAxisKey?: string;
|
|
276
|
-
showGrid?: boolean;
|
|
277
|
-
showTooltip?: boolean;
|
|
278
|
-
showLegend?: boolean;
|
|
279
|
-
animate?: boolean;
|
|
280
|
-
}
|
|
281
|
-
/** Defines the chart margin shape. */
|
|
282
|
-
interface ChartMargin {
|
|
283
|
-
top?: number;
|
|
284
|
-
right?: number;
|
|
285
|
-
bottom?: number;
|
|
286
|
-
left?: number;
|
|
287
|
-
}
|
|
288
261
|
/** Defines the chat conversation shape. */
|
|
289
262
|
interface ChatConversationDef {
|
|
290
263
|
id: string;
|
|
@@ -500,4 +473,4 @@ interface TextTruncateProps {
|
|
|
500
473
|
*/
|
|
501
474
|
declare function TextTruncate({ text, truncation, ellipsis, width, children, className }: TextTruncateProps): import("react").JSX.Element;
|
|
502
475
|
//#endregion
|
|
503
|
-
export {
|
|
476
|
+
export { ExportFormat as A, ProjectDef as B, ChatStylePresetDef as C, EnvGroupDef as D, DomainDef as E, FormFieldDef as F, TableColumn as G, SelectOption as H, MenuDef as I, TimePreset as J, TaskDef as K, MenuItemDef as L, FaqItem as M, FilterGroupDef as N, EnvVarDef as O, FilterOption as P, NavItem as R, ChatModelDef as S, DeploymentStep as T, StatCard as U, QuickActionDef as V, TabDef as W, ToolbarButtonDef as X, ToastOptions as Y, DateRangePreset as _, FieldDataType as a, ChatConversationDef as b, FieldTokenLegendProps as c, ComparisonMode as d, DEFAULT_PRESETS as f, DateRangePickerProps as g, DateRangePicker as h, FIELD_TYPE_TOKENS as i, FailureItem as j, ExportColumn as k, FieldTokenProps as l, DateRange as m, TextTruncateProps as n, FieldToken as o, DateGranularity as p, TeamMemberDef as q, TruncationSide as r, FieldTokenLegend as s, TextTruncate as t, resolveFieldType as u, ActivityDef as v, CommandDef as w, ChatMessageDef as x, BranchDef as y, NavItemDef as z };
|
|
@@ -7,6 +7,8 @@ interface CommandDef {
|
|
|
7
7
|
label: string;
|
|
8
8
|
group: string;
|
|
9
9
|
shortcut?: string;
|
|
10
|
+
/** Additional terms matched by command search. */
|
|
11
|
+
keywords?: string[];
|
|
10
12
|
action: () => void;
|
|
11
13
|
}
|
|
12
14
|
/** Defines the stat card shape. */
|
|
@@ -256,35 +258,6 @@ interface FailureItem {
|
|
|
256
258
|
group?: string;
|
|
257
259
|
metadata?: Record<string, unknown>;
|
|
258
260
|
}
|
|
259
|
-
/** Defines the chart data point shape. */
|
|
260
|
-
interface ChartDataPoint {
|
|
261
|
-
name: string;
|
|
262
|
-
[key: string]: string | number;
|
|
263
|
-
}
|
|
264
|
-
/** Defines the chart series shape. */
|
|
265
|
-
interface ChartSeriesDef {
|
|
266
|
-
dataKey: string;
|
|
267
|
-
name: string;
|
|
268
|
-
color?: string;
|
|
269
|
-
type?: "line" | "bar" | "area";
|
|
270
|
-
stackId?: string;
|
|
271
|
-
}
|
|
272
|
-
/** Configuration for chart. */
|
|
273
|
-
interface ChartConfig {
|
|
274
|
-
series: ChartSeriesDef[];
|
|
275
|
-
xAxisKey?: string;
|
|
276
|
-
showGrid?: boolean;
|
|
277
|
-
showTooltip?: boolean;
|
|
278
|
-
showLegend?: boolean;
|
|
279
|
-
animate?: boolean;
|
|
280
|
-
}
|
|
281
|
-
/** Defines the chart margin shape. */
|
|
282
|
-
interface ChartMargin {
|
|
283
|
-
top?: number;
|
|
284
|
-
right?: number;
|
|
285
|
-
bottom?: number;
|
|
286
|
-
left?: number;
|
|
287
|
-
}
|
|
288
261
|
/** Defines the chat conversation shape. */
|
|
289
262
|
interface ChatConversationDef {
|
|
290
263
|
id: string;
|
|
@@ -500,4 +473,4 @@ interface TextTruncateProps {
|
|
|
500
473
|
*/
|
|
501
474
|
declare function TextTruncate({ text, truncation, ellipsis, width, children, className }: TextTruncateProps): import("react").JSX.Element;
|
|
502
475
|
//#endregion
|
|
503
|
-
export {
|
|
476
|
+
export { ExportFormat as A, ProjectDef as B, ChatStylePresetDef as C, EnvGroupDef as D, DomainDef as E, FormFieldDef as F, TableColumn as G, SelectOption as H, MenuDef as I, TimePreset as J, TaskDef as K, MenuItemDef as L, FaqItem as M, FilterGroupDef as N, EnvVarDef as O, FilterOption as P, NavItem as R, ChatModelDef as S, DeploymentStep as T, StatCard as U, QuickActionDef as V, TabDef as W, ToolbarButtonDef as X, ToastOptions as Y, DateRangePreset as _, FieldDataType as a, ChatConversationDef as b, FieldTokenLegendProps as c, ComparisonMode as d, DEFAULT_PRESETS as f, DateRangePickerProps as g, DateRangePicker as h, FIELD_TYPE_TOKENS as i, FailureItem as j, ExportColumn as k, FieldTokenProps as l, DateRange as m, TextTruncateProps as n, FieldToken as o, DateGranularity as p, TeamMemberDef as q, TruncationSide as r, FieldTokenLegend as s, TextTruncate as t, resolveFieldType as u, ActivityDef as v, CommandDef as w, ChatMessageDef as x, BranchDef as y, NavItemDef as z };
|