@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.
Files changed (40) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/COMPONENT_CATALOG.md +644 -123
  3. package/README.md +35 -7
  4. package/dist/core/index.cjs +4 -4
  5. package/dist/core/index.d.cts +2 -2
  6. package/dist/core/index.d.ts +2 -2
  7. package/dist/core/index.js +2 -2
  8. package/dist/docs/02-components/01-core.md +261 -58
  9. package/dist/docs/02-components/02-visuals.md +1 -1
  10. package/dist/docs/02-components/03-shells.md +391 -65
  11. package/dist/docs/02-components/04-surfaces.md +1 -1
  12. package/dist/docs/02-components/index.md +4 -4
  13. package/dist/id-registry.cjs +32 -0
  14. package/dist/id-registry.js +32 -0
  15. package/dist/id-registry.json +68 -0
  16. package/dist/index.cjs +1196 -427
  17. package/dist/index.d.cts +208 -19
  18. package/dist/index.d.ts +208 -19
  19. package/dist/index.js +1050 -295
  20. package/dist/{key-pad-menu-DMmbQ1jF.js → key-pad-menu-BCOeYvsH.js} +59 -67
  21. package/dist/{key-pad-menu-BOVu97bj.d.cts → key-pad-menu-CaIsTHB2.d.cts} +22 -9
  22. package/dist/{key-pad-menu-0KWOnELe.cjs → key-pad-menu-Jaqxhx9P.cjs} +57 -77
  23. package/dist/{key-pad-menu-NlZ9zNF8.d.ts → key-pad-menu-odAEycIX.d.ts} +22 -9
  24. package/dist/meta.cjs +877 -26
  25. package/dist/meta.js +877 -26
  26. package/dist/{field-sidebar-CRdToHRO.js → replay-player-layout-BVUNsUS1.js} +904 -203
  27. package/dist/{field-sidebar-CxxSK4JO.cjs → replay-player-layout-Cmzptq89.cjs} +944 -201
  28. package/dist/{field-sidebar-D-rwuN_w.d.cts → replay-player-layout-DpqdfdQ6.d.ts} +246 -3
  29. package/dist/{field-sidebar-Dz7J4ett.d.ts → replay-player-layout-DuZW-gFF.d.cts} +246 -3
  30. package/dist/shells/index.cjs +58 -52
  31. package/dist/shells/index.d.cts +2 -2
  32. package/dist/shells/index.d.ts +2 -2
  33. package/dist/shells/index.js +2 -2
  34. package/dist/{text-truncate-Bd-0WkSP.js → text-truncate-B-8nJgnu.js} +200 -101
  35. package/dist/{text-truncate-eMzvU_7k.d.cts → text-truncate-DOxUijpB.d.cts} +3 -30
  36. package/dist/{text-truncate-eMzvU_7k.d.ts → text-truncate-DOxUijpB.d.ts} +3 -30
  37. package/dist/{text-truncate-BeYW6XZu.cjs → text-truncate-gQhpMy-Z.cjs} +214 -97
  38. package/dist/theme/server.d.cts +2 -2
  39. package/dist/theme/server.d.ts +2 -2
  40. 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 { ToastOptions as $, DomainDef as A, MenuDef as B, ChartSeriesDef as C, ChatStylePresetDef as D, ChatModelDef as E, FailureItem as F, QuickActionDef as G, NavItem as H, FaqItem as I, TabDef as J, SelectOption as K, FilterGroupDef as L, EnvVarDef as M, ExportColumn as N, CommandDef as O, ExportFormat as P, TimePreset as Q, FilterOption as R, ChartMargin as S, ChatMessageDef as T, NavItemDef as U, MenuItemDef as V, ProjectDef as W, TaskDef as X, TableColumn as Y, TeamMemberDef as Z, DateRangePreset as _, FieldDataType as a, ChartConfig as b, FieldTokenLegendProps as c, ComparisonMode as d, ToolbarButtonDef as et, DEFAULT_PRESETS as f, DateRangePickerProps as g, DateRangePicker as h, FIELD_TYPE_TOKENS as i, EnvGroupDef as j, DeploymentStep as k, FieldTokenProps as l, DateRange as m, TextTruncateProps as n, FieldToken as o, DateGranularity as p, StatCard as q, TruncationSide as r, FieldTokenLegend as s, TextTruncate as t, resolveFieldType as u, ActivityDef as v, ChatConversationDef as w, ChartDataPoint as x, BranchDef as y, FormFieldDef as z };
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 { ToastOptions as $, DomainDef as A, MenuDef as B, ChartSeriesDef as C, ChatStylePresetDef as D, ChatModelDef as E, FailureItem as F, QuickActionDef as G, NavItem as H, FaqItem as I, TabDef as J, SelectOption as K, FilterGroupDef as L, EnvVarDef as M, ExportColumn as N, CommandDef as O, ExportFormat as P, TimePreset as Q, FilterOption as R, ChartMargin as S, ChatMessageDef as T, NavItemDef as U, MenuItemDef as V, ProjectDef as W, TaskDef as X, TableColumn as Y, TeamMemberDef as Z, DateRangePreset as _, FieldDataType as a, ChartConfig as b, FieldTokenLegendProps as c, ComparisonMode as d, ToolbarButtonDef as et, DEFAULT_PRESETS as f, DateRangePickerProps as g, DateRangePicker as h, FIELD_TYPE_TOKENS as i, EnvGroupDef as j, DeploymentStep as k, FieldTokenProps as l, DateRange as m, TextTruncateProps as n, FieldToken as o, DateGranularity as p, StatCard as q, TruncationSide as r, FieldTokenLegend as s, TextTruncate as t, resolveFieldType as u, ActivityDef as v, ChatConversationDef as w, ChartDataPoint as x, BranchDef as y, FormFieldDef as z };
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 };