@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
package/CHANGELOG.md CHANGED
@@ -7,6 +7,51 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.15.0] - 2026-09-13
11
+
12
+ ### Added
13
+
14
+ - `ReplayScrubber` — the timeline of a session recording. Draws
15
+ active/inactive/gap/buffer segments, a log-scaled activity band, loaded
16
+ ranges and merged event markers under one playhead, and commits `onSeek`
17
+ only when a pointer or keyboard interaction ends; `onPreview` reports the
18
+ hovered or dragged time. `groupReplayMarkers` is exported.
19
+ - `ReplayTransport` — play/pause (restart at the end), go-to-start,
20
+ speed-scaled jumps, a 0.5×–16× speed menu, a skip-inactivity toggle,
21
+ fullscreen and an elapsed/clock timecode. Playback state stays with the
22
+ host; `formatReplayElapsed` is exported.
23
+ - `ReplayPlayerLayout` — stage, meta bar, controls and a resizable inspector
24
+ in one region. Fullscreen is requested on the whole player and reported back
25
+ when the browser leaves it; `shortcuts` fire only while focus is inside the
26
+ player and outside text fields, keyed by `replayShortcutKey`.
27
+
28
+ ## [1.14.0] - 2026-09-06
29
+
30
+ ### Added
31
+
32
+ - `CriteriaBuilder` — a domain-agnostic two-level criteria tree shell. The
33
+ consumer owns the criterion data and renders each one; the shell owns
34
+ structure, the root and per-group AND/OR toggles, order, negation, errors,
35
+ the add menu and the keyboard (`A` adds a criterion to the focused group,
36
+ `G` adds a group). Unknown kinds render as a warning row with
37
+ replace/remove rather than as another kind's fields, and `aside` places a
38
+ live preview beside the tree. The array operations
39
+ (`criteriaBuilderMove`, `criteriaBuilderDuplicate`, `criteriaBuilderRemove`,
40
+ `criteriaBuilderInsert`, `criteriaBuilderRemoveGroup`,
41
+ `criteriaBuilderDuplicateGroup`, `criteriaGroupLetter`) are exported as pure
42
+ functions.
43
+
44
+ ### Changed
45
+
46
+ - `ConditionBuilder` takes a `labels` prop so the live preview wording is
47
+ overridable: `previewSuffix` (default `"matches"`, so existing consumers see
48
+ no change) or `formatPreview` to replace the whole string.
49
+ - `ChartDataPoint`, `ChartSeriesDef`, `ChartConfig` and `ChartMargin` are no
50
+ longer redeclared in `lib/types.ts`. They were byte-identical copies left
51
+ from the opt-charts split; all four still import from `@reopt-ai/opt-ui`
52
+ through the existing `export * from "@reopt-ai/opt-charts"`, so no public
53
+ symbol changes.
54
+
10
55
  ## [1.13.0] - 2026-09-05
11
56
 
12
57
  ### Added