@danxbot/ui 6.3.2 → 6.3.3

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.
@@ -79,8 +79,10 @@ declare const pips: import("tailwind-variants").TVReturnType<{
79
79
  export type RatingPipsSize = NonNullable<VariantProps<typeof pips>["size"]>;
80
80
  export interface RatingPipsProps {
81
81
  /**
82
- * The rating itself, on `scale`. Null when nothing rated it — which draws the
83
- * empty box rather than nothing at all, so the row keeps its height.
82
+ * The rating itself, on `scale`. Null when nothing rated it — which draws ONE hollow,
83
+ * dashed-outline pip per point on `scale` (SG-724), never the invisible box full marks draw:
84
+ * "nobody rated this" and "this hit the top of the scale" must not read as the same nothing.
85
+ * See the file header's "UNRATED IS ITS OWN VISIBLE STATE" for why.
84
86
  */
85
87
  rating: number | null;
86
88
  /** The top of the scale — the "5" in "4 out of 5". */
@@ -63,7 +63,14 @@ export interface ProvenanceRecord {
63
63
  */
64
64
  confidence: ProvenanceConfidence | null;
65
65
  source: ProvenanceSource | null;
66
- reasoning: string | null;
66
+ /**
67
+ * The model's own words, or a consumer-rendered node over them (SG-692) — a consumer whose
68
+ * stored reasoning is markdown may render it as such here rather than being restricted to raw
69
+ * text. Widened from `string | null` because the library itself has no opinion on markdown; it
70
+ * only ever places this value as `children` of a `<div>` (see `Row` in `ProvenanceDetail.tsx`),
71
+ * which accepts either equally.
72
+ */
73
+ reasoning: ReactNode | null;
67
74
  check: ProvenanceCheck | null;
68
75
  call: ProvenanceCall | null;
69
76
  signoff: ProvenanceSignoff | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danxbot/ui",
3
- "version": "6.3.2",
3
+ "version": "6.3.3",
4
4
  "type": "module",
5
5
  "description": "Danxbot — a domain-agnostic React design system with motion as a first-class primitive.",
6
6
  "license": "MIT",