@facet-tools/ui 0.0.0-stage → 0.1.0-rc.1

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 (82) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +6 -0
  3. package/README.md +24 -2
  4. package/THIRD_PARTY.md +673 -0
  5. package/dist/NOTICE +6 -0
  6. package/dist/THIRD_PARTY.md +15 -0
  7. package/dist/atlas-BsWEDCxa.d.cts +4861 -0
  8. package/dist/atlas-BsWEDCxa.d.ts +4861 -0
  9. package/dist/chunk-7FW4IMVY.cjs +2013 -0
  10. package/dist/chunk-7FW4IMVY.cjs.map +1 -0
  11. package/dist/chunk-7SLSRYM3.cjs +6324 -0
  12. package/dist/chunk-7SLSRYM3.cjs.map +1 -0
  13. package/dist/chunk-A4BERWE6.js +19973 -0
  14. package/dist/chunk-A4BERWE6.js.map +1 -0
  15. package/dist/chunk-EZP2CCQY.js +6209 -0
  16. package/dist/chunk-EZP2CCQY.js.map +1 -0
  17. package/dist/chunk-FR6DIALV.js +511 -0
  18. package/dist/chunk-FR6DIALV.js.map +1 -0
  19. package/dist/chunk-GDFKDECN.cjs +1788 -0
  20. package/dist/chunk-GDFKDECN.cjs.map +1 -0
  21. package/dist/chunk-K2OVG2BC.cjs +20035 -0
  22. package/dist/chunk-K2OVG2BC.cjs.map +1 -0
  23. package/dist/chunk-LOI5RY3Y.js +1754 -0
  24. package/dist/chunk-LOI5RY3Y.js.map +1 -0
  25. package/dist/chunk-SWCO2XQL.js +1968 -0
  26. package/dist/chunk-SWCO2XQL.js.map +1 -0
  27. package/dist/chunk-WAG2ZZJH.cjs +514 -0
  28. package/dist/chunk-WAG2ZZJH.cjs.map +1 -0
  29. package/dist/classic.cjs +467 -0
  30. package/dist/classic.cjs.map +1 -0
  31. package/dist/classic.css +635 -0
  32. package/dist/classic.d.cts +4 -0
  33. package/dist/classic.d.ts +4 -0
  34. package/dist/classic.js +6 -0
  35. package/dist/classic.js.map +1 -0
  36. package/dist/companion-BUs0yNdX.d.cts +110 -0
  37. package/dist/companion-DOQ435G6.d.ts +110 -0
  38. package/dist/core/fixtures.cjs +268 -0
  39. package/dist/core/fixtures.cjs.map +1 -0
  40. package/dist/core/fixtures.d.cts +11 -0
  41. package/dist/core/fixtures.d.ts +11 -0
  42. package/dist/core/fixtures.js +261 -0
  43. package/dist/core/fixtures.js.map +1 -0
  44. package/dist/core.cjs +310 -0
  45. package/dist/core.cjs.map +1 -0
  46. package/dist/core.d.cts +268 -0
  47. package/dist/core.d.ts +268 -0
  48. package/dist/core.js +5 -0
  49. package/dist/core.js.map +1 -0
  50. package/dist/elements.cjs +616 -0
  51. package/dist/elements.cjs.map +1 -0
  52. package/dist/elements.d.cts +20 -0
  53. package/dist/elements.d.ts +20 -0
  54. package/dist/elements.js +612 -0
  55. package/dist/elements.js.map +1 -0
  56. package/dist/facet/atlas.cjs +25 -0
  57. package/dist/facet/atlas.cjs.map +1 -0
  58. package/dist/facet/atlas.d.cts +2 -0
  59. package/dist/facet/atlas.d.ts +2 -0
  60. package/dist/facet/atlas.js +4 -0
  61. package/dist/facet/atlas.js.map +1 -0
  62. package/dist/facet-ui.standalone.js +104 -0
  63. package/dist/facet.cjs +253 -0
  64. package/dist/facet.cjs.map +1 -0
  65. package/dist/facet.css +10649 -0
  66. package/dist/facet.d.cts +91 -0
  67. package/dist/facet.d.ts +91 -0
  68. package/dist/facet.js +4 -0
  69. package/dist/facet.js.map +1 -0
  70. package/dist/index.cjs +467 -0
  71. package/dist/index.cjs.map +1 -0
  72. package/dist/index.d.cts +1584 -0
  73. package/dist/index.d.ts +1584 -0
  74. package/dist/index.js +6 -0
  75. package/dist/index.js.map +1 -0
  76. package/dist/licenses/react-dom@19.2.8/LICENSE +21 -0
  77. package/dist/licenses/react@19.2.8/LICENSE +21 -0
  78. package/dist/licenses/scheduler@0.27.0/LICENSE +21 -0
  79. package/dist/tokens.css +635 -0
  80. package/dist/types-DkZBrIXE.d.cts +527 -0
  81. package/dist/types-DkZBrIXE.d.ts +527 -0
  82. package/package.json +169 -4
@@ -0,0 +1,1584 @@
1
+ import * as react from 'react';
2
+ import { CSSProperties, ReactNode, HTMLAttributes, ComponentType, KeyboardEvent, ChangeEvent } from 'react';
3
+ import { m as IndexStatus, j as GherkinToken, C as CompanionPlan } from './companion-DOQ435G6.js';
4
+ import { S as ScenarioStep, F as FacetRecord, X as Scenario, m as Anchor, y as DriftEntry, z as Edge, O as KnowledgeSlot, q as Clause, a1 as SchemaField, K as Evidence, a3 as SloEntry, l as AlertEntry, a as RoleKey } from './types-DkZBrIXE.js';
5
+
6
+ declare const color: {
7
+ readonly paper: "var(--paper)";
8
+ readonly surface: "var(--surface)";
9
+ readonly tint: "var(--tint)";
10
+ readonly tint2: "var(--tint-2)";
11
+ readonly line: "var(--line)";
12
+ readonly line2: "var(--line-2)";
13
+ readonly ink: "var(--ink)";
14
+ readonly soft: "var(--soft)";
15
+ readonly dim: "var(--dim)";
16
+ readonly faint: "var(--faint)";
17
+ readonly signal: "var(--signal)";
18
+ readonly signalSoft: "var(--sig-soft)";
19
+ readonly signalMid: "var(--sig-mid)";
20
+ readonly deadline: "var(--deadline)";
21
+ readonly deadlineSoft: "var(--deadline-soft)";
22
+ readonly ok: "var(--ok)";
23
+ readonly okSoft: "var(--ok-soft)";
24
+ readonly plan: "var(--plan)";
25
+ readonly scrim: "var(--scrim)";
26
+ readonly heat1: "var(--heat-1)";
27
+ readonly heat2: "var(--heat-2)";
28
+ readonly heat3: "var(--heat-3)";
29
+ readonly heat4: "var(--heat-4)";
30
+ };
31
+ declare const font: {
32
+ readonly sans: "var(--font-sans)";
33
+ readonly mono: "var(--font-mono)";
34
+ };
35
+ declare const fontSize: {
36
+ readonly micro: "var(--text-micro)";
37
+ readonly caption: "var(--text-caption)";
38
+ readonly label: "var(--text-label)";
39
+ readonly meta: "var(--text-meta)";
40
+ readonly body: "var(--text-body)";
41
+ readonly base: "var(--text-base)";
42
+ readonly lead: "var(--text-lead)";
43
+ readonly title: "var(--text-title)";
44
+ readonly display: "var(--text-display)";
45
+ readonly hero: "var(--text-hero)";
46
+ };
47
+ declare const space: {
48
+ readonly s1: "var(--space-1)";
49
+ readonly s2: "var(--space-2)";
50
+ readonly s3: "var(--space-3)";
51
+ readonly s4: "var(--space-4)";
52
+ readonly s5: "var(--space-5)";
53
+ readonly s6: "var(--space-6)";
54
+ readonly s7: "var(--space-7)";
55
+ };
56
+ declare const motion: {
57
+ readonly ease: "var(--motion-ease)";
58
+ readonly reveal: "var(--motion-reveal)";
59
+ readonly fade: "var(--motion-fade)";
60
+ readonly open: "var(--motion-open)";
61
+ readonly hit: "var(--motion-hit)";
62
+ };
63
+ type Meaning = "neutral" | "signal" | "ok" | "plan" | "deadline";
64
+ declare const MEANING_COLOR: Record<Meaning, string>;
65
+ declare const MEANING_SURFACE: Record<Meaning, string>;
66
+ declare const FACETS: readonly ["intent", "contract", "verification", "observation", "knowledge", "lineage", "anchors"];
67
+ type Facet = (typeof FACETS)[number];
68
+ declare const FACET_LABEL: Record<Facet, string>;
69
+ declare const TEST_KINDS: readonly ["unit", "property", "integration", "e2e"];
70
+ type TestKind = (typeof TEST_KINDS)[number];
71
+ declare const TEST_KIND_LABEL: Record<string, string>;
72
+ declare const KIND_WORD: Record<string, string>;
73
+ declare const LIFECYCLE_LABEL: Record<string, string>;
74
+ declare function lifecycleColor(lifecycle: string | undefined): string;
75
+ declare function heatSurface(count: number, max: number): string;
76
+ type Status = "ready" | "loading" | "empty" | "error";
77
+
78
+ type TextVariant = "hero" | "display" | "title" | "lead" | "body" | "meta" | "label" | "caption" | "micro";
79
+ type TextTone = "ink" | "soft" | "dim" | "faint" | "signal" | "ok" | "plan" | "deadline" | "inherit";
80
+ declare const TONE_COLOR: Record<TextTone, string>;
81
+ declare const VARIANT_STYLE: Record<TextVariant, CSSProperties>;
82
+ type TextStyleOptions = {
83
+ variant: TextVariant;
84
+ tone: TextTone;
85
+ mono?: boolean;
86
+ truncate?: boolean;
87
+ clamp?: number;
88
+ align?: CSSProperties["textAlign"];
89
+ weight?: CSSProperties["fontWeight"];
90
+ nowrap?: boolean;
91
+ tabular?: boolean;
92
+ };
93
+ declare function textStyle(options: TextStyleOptions): CSSProperties;
94
+
95
+ type TextElement = "p" | "span" | "div" | "h1" | "h2" | "h3" | "h4" | "dt" | "dd" | "li";
96
+ type TextProps = {
97
+ as?: TextElement;
98
+ computedStyle: CSSProperties;
99
+ children?: ReactNode;
100
+ } & Omit<HTMLAttributes<HTMLElement>, "style">;
101
+
102
+ type WithTextProps = Omit<TextProps, "computedStyle"> & Partial<TextStyleOptions> & {
103
+ style?: CSSProperties;
104
+ };
105
+ declare function withTextLogic(Component: ComponentType<TextProps>): react.MemoExoticComponent<({ variant, tone, mono, truncate, clamp, align, weight, nowrap, tabular, style, ...rest }: WithTextProps) => react.JSX.Element>;
106
+
107
+ declare const _default$L: react.MemoExoticComponent<({ variant, tone, mono, truncate, clamp, align, weight, nowrap, tabular, style, ...rest }: WithTextProps) => react.JSX.Element>;
108
+
109
+ type StackProps = {
110
+ computedStyle: CSSProperties;
111
+ children?: ReactNode;
112
+ } & Omit<HTMLAttributes<HTMLDivElement>, "style">;
113
+
114
+ type StackDirection = "row" | "column";
115
+ type WithStackProps = Omit<StackProps, "computedStyle"> & {
116
+ direction?: StackDirection;
117
+ gap?: number | keyof typeof space;
118
+ align?: CSSProperties["alignItems"];
119
+ justify?: CSSProperties["justifyContent"];
120
+ wrap?: boolean;
121
+ grow?: boolean;
122
+ style?: CSSProperties;
123
+ };
124
+ declare function withStackLogic(Component: ComponentType<StackProps>): react.MemoExoticComponent<({ direction, gap, align, justify, wrap, grow, style, ...rest }: WithStackProps) => react.JSX.Element>;
125
+
126
+ declare const _default$K: react.MemoExoticComponent<({ direction, gap, align, justify, wrap, grow, style, ...rest }: WithStackProps) => react.JSX.Element>;
127
+
128
+ type HairlineProps = {
129
+ computedStyle: CSSProperties;
130
+ role?: string;
131
+ "aria-orientation"?: "horizontal" | "vertical";
132
+ "data-testid"?: string;
133
+ };
134
+
135
+ type HairlineOrientation = "horizontal" | "vertical";
136
+ type WithHairlineProps = Omit<HairlineProps, "computedStyle" | "role" | "aria-orientation"> & {
137
+ orientation?: HairlineOrientation;
138
+ strength?: "line" | "line2";
139
+ inset?: number;
140
+ style?: CSSProperties;
141
+ };
142
+ declare function withHairlineLogic(Component: ComponentType<HairlineProps>): react.MemoExoticComponent<({ orientation, strength, inset, style, ...rest }: WithHairlineProps) => react.JSX.Element>;
143
+
144
+ declare const _default$J: react.MemoExoticComponent<({ orientation, strength, inset, style, ...rest }: WithHairlineProps) => react.JSX.Element>;
145
+
146
+ type SurfaceProps = {
147
+ computedStyle: CSSProperties;
148
+ children?: ReactNode;
149
+ } & Omit<HTMLAttributes<HTMLDivElement>, "style">;
150
+
151
+ type SurfaceTone = "paper" | "surface" | "tint" | "tint2" | "transparent";
152
+ type WithSurfaceProps = Omit<SurfaceProps, "computedStyle"> & {
153
+ tone?: SurfaceTone;
154
+ padding?: number | keyof typeof space;
155
+ edge?: "top" | "bottom" | "left" | "right" | "none";
156
+ rail?: string;
157
+ scroll?: boolean;
158
+ style?: CSSProperties;
159
+ };
160
+ declare function withSurfaceLogic(Component: ComponentType<SurfaceProps>): react.MemoExoticComponent<({ tone, padding, edge, rail, scroll, style, ...rest }: WithSurfaceProps) => react.JSX.Element>;
161
+
162
+ declare const _default$I: react.MemoExoticComponent<({ tone, padding, edge, rail, scroll, style, ...rest }: WithSurfaceProps) => react.JSX.Element>;
163
+
164
+ type MarkBar = {
165
+ key: string;
166
+ x: number;
167
+ y: number;
168
+ width: number;
169
+ height: number;
170
+ fill: string;
171
+ animationKey?: string;
172
+ };
173
+ type MarkProps = {
174
+ size: number;
175
+ viewBoxWidth: number;
176
+ viewBoxHeight: number;
177
+ bars: MarkBar[];
178
+ label: string;
179
+ interactive: boolean;
180
+ wrapperStyle: CSSProperties;
181
+ onClick?: () => void;
182
+ "data-testid"?: string;
183
+ };
184
+
185
+ type MarkVariant = "static" | "loading" | "brand";
186
+ type WithMarkProps = Omit<MarkProps, "size" | "viewBoxWidth" | "viewBoxHeight" | "bars" | "label" | "interactive" | "wrapperStyle" | "onClick"> & {
187
+ variant?: MarkVariant;
188
+ size?: number;
189
+ label?: string;
190
+ style?: CSSProperties;
191
+ };
192
+ declare function withMarkLogic(Component: ComponentType<MarkProps>): react.MemoExoticComponent<({ variant, size, label, style, ...rest }: WithMarkProps) => react.JSX.Element>;
193
+
194
+ declare const _default$H: react.MemoExoticComponent<({ variant, size, label, style, ...rest }: WithMarkProps) => react.JSX.Element>;
195
+
196
+ type DotProps = {
197
+ computedStyle: CSSProperties;
198
+ label?: string;
199
+ "data-testid"?: string;
200
+ };
201
+
202
+ type WithDotProps = Omit<DotProps, "computedStyle"> & {
203
+ meaning?: Meaning;
204
+ size?: number;
205
+ hollow?: boolean;
206
+ style?: CSSProperties;
207
+ };
208
+ declare function withDotLogic(Component: ComponentType<DotProps>): react.MemoExoticComponent<({ meaning, size, hollow, style, ...rest }: WithDotProps) => react.JSX.Element>;
209
+
210
+ declare const _default$G: react.MemoExoticComponent<({ meaning, size, hollow, style, ...rest }: WithDotProps) => react.JSX.Element>;
211
+
212
+ type BarProps = {
213
+ trackStyle: CSSProperties;
214
+ fillStyle: CSSProperties;
215
+ label: string;
216
+ percent: number;
217
+ "data-testid"?: string;
218
+ };
219
+
220
+ type WithBarProps = Omit<BarProps, "trackStyle" | "fillStyle" | "percent"> & {
221
+ value: number;
222
+ total: number;
223
+ meaning?: Meaning;
224
+ height?: number;
225
+ autoComplete?: boolean;
226
+ style?: CSSProperties;
227
+ };
228
+ declare function withBarLogic(Component: ComponentType<BarProps>): react.MemoExoticComponent<({ value, total, meaning, height, autoComplete, style, ...rest }: WithBarProps) => react.JSX.Element>;
229
+
230
+ declare const _default$F: react.MemoExoticComponent<({ value, total, meaning, height, autoComplete, style, ...rest }: WithBarProps) => react.JSX.Element>;
231
+
232
+ type SegmentView = {
233
+ key: string;
234
+ width: string;
235
+ background: string;
236
+ title: string;
237
+ };
238
+ type SegmentBandProps = {
239
+ segments: SegmentView[];
240
+ containerStyle: CSSProperties;
241
+ label: string;
242
+ "data-testid"?: string;
243
+ };
244
+
245
+ type Segment = {
246
+ key: string;
247
+ label: string;
248
+ value: number;
249
+ color: string;
250
+ };
251
+ type WithSegmentBandProps = Omit<SegmentBandProps, "segments" | "containerStyle" | "label"> & {
252
+ segments: Segment[];
253
+ height?: number;
254
+ label?: string;
255
+ style?: CSSProperties;
256
+ };
257
+ declare function withSegmentBandLogic(Component: ComponentType<SegmentBandProps>): react.MemoExoticComponent<({ segments, height, label, style, ...rest }: WithSegmentBandProps) => react.JSX.Element>;
258
+
259
+ declare const _default$E: react.MemoExoticComponent<({ segments, height, label, style, ...rest }: WithSegmentBandProps) => react.JSX.Element>;
260
+
261
+ type CounterProps = {
262
+ display: string;
263
+ computedStyle: CSSProperties;
264
+ finalLabel: string;
265
+ "data-testid"?: string;
266
+ };
267
+
268
+ type WithCounterProps = Omit<CounterProps, "display" | "computedStyle" | "finalLabel"> & {
269
+ value: number;
270
+ unit?: string;
271
+ duration?: number;
272
+ animate?: boolean;
273
+ style?: CSSProperties;
274
+ };
275
+ declare function withCounterLogic(Component: ComponentType<CounterProps>): react.MemoExoticComponent<({ value, unit, duration, animate, style, ...rest }: WithCounterProps) => react.JSX.Element>;
276
+
277
+ declare const _default$D: react.MemoExoticComponent<({ value, unit, duration, animate, style, ...rest }: WithCounterProps) => react.JSX.Element>;
278
+
279
+ type ProbeNumberProps = {
280
+ computedStyle: CSSProperties;
281
+ children: ReactNode;
282
+ expanded: boolean;
283
+ label: string;
284
+ onClick?: () => void;
285
+ onKeyDown?: (event: React.KeyboardEvent<HTMLButtonElement>) => void;
286
+ disabled?: boolean;
287
+ "data-testid"?: string;
288
+ };
289
+
290
+ type WithProbeNumberProps = Omit<ProbeNumberProps, "computedStyle" | "expanded" | "label" | "onClick"> & {
291
+ probeKey: string;
292
+ activeProbe?: string | null;
293
+ label: string;
294
+ onToggle?: (probeKey: string | null) => void;
295
+ style?: CSSProperties;
296
+ };
297
+ declare function withProbeNumberLogic(Component: ComponentType<ProbeNumberProps>): react.MemoExoticComponent<({ probeKey, activeProbe, label, onToggle, style, ...rest }: WithProbeNumberProps) => react.JSX.Element>;
298
+
299
+ declare const _default$C: react.MemoExoticComponent<({ probeKey, activeProbe, label, onToggle, style, ...rest }: WithProbeNumberProps) => react.JSX.Element>;
300
+
301
+ type ScanValueProps = {
302
+ computedStyle: CSSProperties;
303
+ children: ReactNode;
304
+ originLabel: string;
305
+ "data-testid"?: string;
306
+ };
307
+
308
+ type ScanOrigin = "scan" | "host";
309
+ type WithScanValueProps = Omit<ScanValueProps, "computedStyle" | "originLabel"> & {
310
+ origin?: ScanOrigin;
311
+ originLabel?: string;
312
+ style?: CSSProperties;
313
+ };
314
+ declare function withScanValueLogic(Component: ComponentType<ScanValueProps>): react.MemoExoticComponent<({ origin, originLabel, style, ...rest }: WithScanValueProps) => react.JSX.Element>;
315
+
316
+ declare const _default$B: react.MemoExoticComponent<({ origin, originLabel, style, ...rest }: WithScanValueProps) => react.JSX.Element>;
317
+
318
+ type QuietLineProps = {
319
+ computedStyle: CSSProperties;
320
+ children: ReactNode;
321
+ "data-testid"?: string;
322
+ };
323
+
324
+ type WithQuietLineProps = Omit<QuietLineProps, "computedStyle"> & {
325
+ tone?: "quiet" | "ok";
326
+ style?: CSSProperties;
327
+ };
328
+ declare function withQuietLineLogic(Component: ComponentType<QuietLineProps>): react.MemoExoticComponent<({ tone, style, ...rest }: WithQuietLineProps) => react.JSX.Element>;
329
+
330
+ declare const _default$A: react.MemoExoticComponent<({ tone, style, ...rest }: WithQuietLineProps) => react.JSX.Element>;
331
+
332
+ type KbdProps = {
333
+ computedStyle: CSSProperties;
334
+ keys: string;
335
+ label: string;
336
+ "data-testid"?: string;
337
+ };
338
+
339
+ type WithKbdProps = Omit<KbdProps, "computedStyle" | "keys" | "label"> & {
340
+ keys: string | string[];
341
+ label?: string;
342
+ style?: CSSProperties;
343
+ };
344
+ declare function withKbdLogic(Component: ComponentType<KbdProps>): react.MemoExoticComponent<({ keys, label, style, ...rest }: WithKbdProps) => react.JSX.Element>;
345
+
346
+ declare const _default$z: react.MemoExoticComponent<({ keys, label, style, ...rest }: WithKbdProps) => react.JSX.Element>;
347
+
348
+ type SkeletonProps = {
349
+ computedStyle: CSSProperties;
350
+ label: string;
351
+ "data-testid"?: string;
352
+ };
353
+
354
+ type WithSkeletonProps = Omit<SkeletonProps, "computedStyle" | "label"> & {
355
+ height?: number;
356
+ width?: string | number;
357
+ label?: string;
358
+ style?: CSSProperties;
359
+ };
360
+ declare function withSkeletonLogic(Component: ComponentType<SkeletonProps>): react.MemoExoticComponent<({ height, width, label, style, ...rest }: WithSkeletonProps) => react.JSX.Element>;
361
+
362
+ declare const _default$y: react.MemoExoticComponent<({ height, width, label, style, ...rest }: WithSkeletonProps) => react.JSX.Element>;
363
+
364
+ type ButtonProps = {
365
+ computedStyle: CSSProperties;
366
+ children: ReactNode;
367
+ type?: "button" | "submit";
368
+ onClick?: () => void;
369
+ disabled?: boolean;
370
+ title?: string;
371
+ "aria-label"?: string;
372
+ "aria-pressed"?: boolean;
373
+ "aria-expanded"?: boolean;
374
+ "data-testid"?: string;
375
+ };
376
+
377
+ type ButtonVariant = "signal" | "quiet" | "ghost";
378
+ type WithButtonProps = Omit<ButtonProps, "computedStyle"> & {
379
+ variant?: ButtonVariant;
380
+ block?: boolean;
381
+ style?: CSSProperties;
382
+ };
383
+ declare function withButtonLogic(Component: ComponentType<ButtonProps>): react.MemoExoticComponent<({ variant, block, disabled, style, ...rest }: WithButtonProps) => react.JSX.Element>;
384
+
385
+ declare const _default$x: react.MemoExoticComponent<({ variant, block, disabled, style, ...rest }: WithButtonProps) => react.JSX.Element>;
386
+
387
+ type StatValueProps = {
388
+ containerStyle: CSSProperties;
389
+ labelStyle: CSSProperties;
390
+ valueStyle: CSSProperties;
391
+ hintStyle: CSSProperties;
392
+ label: string;
393
+ value: ReactNode;
394
+ hint?: string;
395
+ "data-testid"?: string;
396
+ };
397
+
398
+ type StatSize = "compact" | "regular" | "stage";
399
+ type WithStatValueProps = Omit<StatValueProps, "containerStyle" | "labelStyle" | "valueStyle" | "hintStyle"> & {
400
+ meaning?: Meaning;
401
+ size?: StatSize;
402
+ style?: CSSProperties;
403
+ };
404
+ declare function withStatValueLogic(Component: ComponentType<StatValueProps>): react.MemoExoticComponent<({ meaning, size, style, ...rest }: WithStatValueProps) => react.JSX.Element>;
405
+
406
+ declare const _default$w: react.MemoExoticComponent<({ meaning, size, style, ...rest }: WithStatValueProps) => react.JSX.Element>;
407
+
408
+ type CoverageRingProps = {
409
+ size: number;
410
+ circumference: number;
411
+ dash: number;
412
+ strokeWidth: number;
413
+ trackColor: string;
414
+ fillColor: string;
415
+ display: string;
416
+ label: string;
417
+ labelStyle: CSSProperties;
418
+ containerStyle: CSSProperties;
419
+ "data-testid"?: string;
420
+ };
421
+
422
+ type WithCoverageRingProps = Omit<CoverageRingProps, "circumference" | "dash" | "trackColor" | "fillColor" | "display" | "label" | "labelStyle" | "containerStyle" | "size" | "strokeWidth"> & {
423
+ value: number;
424
+ total: number;
425
+ size?: number;
426
+ strokeWidth?: number;
427
+ label?: string;
428
+ style?: CSSProperties;
429
+ };
430
+ declare function withCoverageRingLogic(Component: ComponentType<CoverageRingProps>): react.MemoExoticComponent<({ value, total, size, strokeWidth, label, style, ...rest }: WithCoverageRingProps) => react.JSX.Element>;
431
+
432
+ declare const _default$v: react.MemoExoticComponent<({ value, total, size, strokeWidth, label, style, ...rest }: WithCoverageRingProps) => react.JSX.Element>;
433
+
434
+ type FieldRowProps = {
435
+ containerStyle: CSSProperties;
436
+ labelStyle: CSSProperties;
437
+ valueStyle: CSSProperties;
438
+ label: string;
439
+ value: ReactNode;
440
+ "data-testid"?: string;
441
+ };
442
+
443
+ type WithFieldRowProps = Omit<FieldRowProps, "containerStyle" | "labelStyle" | "valueStyle"> & {
444
+ emphasis?: boolean;
445
+ meaning?: "neutral" | "signal" | "deadline";
446
+ labelWidth?: number;
447
+ preserveLines?: boolean;
448
+ style?: CSSProperties;
449
+ };
450
+ declare function withFieldRowLogic(Component: ComponentType<FieldRowProps>): react.MemoExoticComponent<({ emphasis, meaning, labelWidth, preserveLines, style, ...rest }: WithFieldRowProps) => react.JSX.Element>;
451
+
452
+ declare const _default$u: react.MemoExoticComponent<({ emphasis, meaning, labelWidth, preserveLines, style, ...rest }: WithFieldRowProps) => react.JSX.Element>;
453
+
454
+ type FocusRowProps = {
455
+ containerStyle: CSSProperties;
456
+ headerStyle: CSSProperties;
457
+ rankStyle: CSSProperties;
458
+ titleStyle: CSSProperties;
459
+ whyStyle: CSSProperties;
460
+ metaStyle: CSSProperties;
461
+ bodyStyle: CSSProperties;
462
+ rank: string;
463
+ title: string;
464
+ why: string;
465
+ meta?: string;
466
+ open: boolean;
467
+ children?: ReactNode;
468
+ onToggle: () => void;
469
+ onKeyDown: (event: KeyboardEvent<HTMLDivElement>) => void;
470
+ "data-testid"?: string;
471
+ };
472
+
473
+ type WithFocusRowProps = Omit<FocusRowProps, "containerStyle" | "headerStyle" | "rankStyle" | "titleStyle" | "whyStyle" | "metaStyle" | "bodyStyle" | "onToggle" | "onKeyDown" | "open" | "rank"> & {
474
+ rank: number;
475
+ id: string;
476
+ openId?: string | null;
477
+ dimmed?: boolean;
478
+ overdue?: boolean;
479
+ onOpenChange?: (id: string | null) => void;
480
+ onDeeper?: (id: string) => void;
481
+ style?: CSSProperties;
482
+ };
483
+ declare function withFocusRowLogic(Component: ComponentType<FocusRowProps>): react.MemoExoticComponent<({ rank, id, openId, dimmed, overdue, onOpenChange, onDeeper, style, ...rest }: WithFocusRowProps) => react.JSX.Element>;
484
+
485
+ declare const _default$t: react.MemoExoticComponent<({ rank, id, openId, dimmed, overdue, onOpenChange, onDeeper, style, ...rest }: WithFocusRowProps) => react.JSX.Element>;
486
+
487
+ type RestTick = {
488
+ key: string;
489
+ background: string;
490
+ flexGrow: number;
491
+ };
492
+ type RestCloudProps = {
493
+ containerStyle: CSSProperties;
494
+ stripStyle: CSSProperties;
495
+ labelStyle: CSSProperties;
496
+ ticks: RestTick[];
497
+ label: string;
498
+ expanded: boolean;
499
+ onToggle: () => void;
500
+ onKeyDown: (event: KeyboardEvent<HTMLDivElement>) => void;
501
+ "data-testid"?: string;
502
+ };
503
+
504
+ type RestItem = {
505
+ id: string;
506
+ meaning?: Meaning;
507
+ };
508
+ type WithRestCloudProps = Omit<RestCloudProps, "containerStyle" | "stripStyle" | "labelStyle" | "ticks" | "label" | "onToggle" | "onKeyDown" | "expanded"> & {
509
+ expanded?: boolean;
510
+ items: RestItem[];
511
+ noun?: [singular: string, plural: string];
512
+ onToggle?: (expanded: boolean) => void;
513
+ maxTicks?: number;
514
+ style?: CSSProperties;
515
+ };
516
+ declare function withRestCloudLogic(Component: ComponentType<RestCloudProps>): react.MemoExoticComponent<({ items, expanded, noun, onToggle, maxTicks, style, ...rest }: WithRestCloudProps) => react.JSX.Element>;
517
+
518
+ declare const _default$s: react.MemoExoticComponent<({ items, expanded, noun, onToggle, maxTicks, style, ...rest }: WithRestCloudProps) => react.JSX.Element>;
519
+
520
+ type SheetProps = {
521
+ scrimStyle: CSSProperties;
522
+ panelStyle: CSSProperties;
523
+ open: boolean;
524
+ label: string;
525
+ children: ReactNode;
526
+ onScrimClick: () => void;
527
+ onKeyDown: (event: KeyboardEvent<HTMLDivElement>) => void;
528
+ panelRef?: (element: HTMLDivElement | null) => void;
529
+ "data-testid"?: string;
530
+ };
531
+
532
+ type WithSheetProps = Omit<SheetProps, "scrimStyle" | "panelStyle" | "onScrimClick" | "onKeyDown" | "panelRef"> & {
533
+ onClose?: () => void;
534
+ height?: string;
535
+ style?: CSSProperties;
536
+ };
537
+ declare function withSheetLogic(Component: ComponentType<SheetProps>): react.MemoExoticComponent<({ open, onClose, height, style, ...rest }: WithSheetProps) => react.JSX.Element>;
538
+
539
+ declare const _default$r: react.MemoExoticComponent<({ open, onClose, height, style, ...rest }: WithSheetProps) => react.JSX.Element>;
540
+
541
+ type BlindProps = {
542
+ scrimStyle: CSSProperties;
543
+ panelStyle: CSSProperties;
544
+ open: boolean;
545
+ label: string;
546
+ children: ReactNode;
547
+ onScrimClick: () => void;
548
+ onKeyDown: (event: KeyboardEvent<HTMLDivElement>) => void;
549
+ panelRef?: (element: HTMLDivElement | null) => void;
550
+ "data-testid"?: string;
551
+ };
552
+
553
+ type WithBlindProps = Omit<BlindProps, "scrimStyle" | "panelStyle" | "onScrimClick" | "onKeyDown" | "panelRef"> & {
554
+ onClose?: () => void;
555
+ width?: number | string;
556
+ style?: CSSProperties;
557
+ };
558
+ declare function withBlindLogic(Component: ComponentType<BlindProps>): react.MemoExoticComponent<({ open, onClose, width, style, ...rest }: WithBlindProps) => react.JSX.Element>;
559
+
560
+ declare const _default$q: react.MemoExoticComponent<({ open, onClose, width, style, ...rest }: WithBlindProps) => react.JSX.Element>;
561
+
562
+ type TrailStepView = {
563
+ key: string;
564
+ label: string;
565
+ style: CSSProperties;
566
+ onClick?: () => void;
567
+ current: boolean;
568
+ };
569
+ type TrailProps = {
570
+ containerStyle: CSSProperties;
571
+ separatorStyle: CSSProperties;
572
+ steps: TrailStepView[];
573
+ label: string;
574
+ "data-testid"?: string;
575
+ };
576
+
577
+ type TrailStep = {
578
+ key: string;
579
+ label: string;
580
+ onSelect?: () => void;
581
+ };
582
+ type WithTrailProps = Omit<TrailProps, "containerStyle" | "separatorStyle" | "steps" | "label"> & {
583
+ steps: TrailStep[];
584
+ label?: string;
585
+ style?: CSSProperties;
586
+ };
587
+ declare function withTrailLogic(Component: ComponentType<TrailProps>): react.MemoExoticComponent<({ steps, label, style, ...rest }: WithTrailProps) => react.JSX.Element>;
588
+
589
+ declare const _default$p: react.MemoExoticComponent<({ steps, label, style, ...rest }: WithTrailProps) => react.JSX.Element>;
590
+
591
+ type DepthStepView = {
592
+ key: string;
593
+ label: string;
594
+ style: CSSProperties;
595
+ current: boolean;
596
+ onSelect: () => void;
597
+ };
598
+ type DepthLadderProps = {
599
+ containerStyle: CSSProperties;
600
+ hintStyle: CSSProperties;
601
+ steps: DepthStepView[];
602
+ label: string;
603
+ hint: string;
604
+ onKeyDown: (event: KeyboardEvent<HTMLButtonElement>) => void;
605
+ "data-testid"?: string;
606
+ };
607
+
608
+ declare const DEPTH_STEPS: readonly ["Antwort", "Beleg", "Rohquelle"];
609
+ type WithDepthLadderProps = Omit<DepthLadderProps, "containerStyle" | "hintStyle" | "steps" | "label" | "hint" | "onKeyDown"> & {
610
+ depth: number;
611
+ onDepthChange?: (depth: number) => void;
612
+ steps?: readonly string[];
613
+ label?: string;
614
+ style?: CSSProperties;
615
+ };
616
+ declare function withDepthLadderLogic(Component: ComponentType<DepthLadderProps>): react.MemoExoticComponent<({ depth, onDepthChange, steps, label, style, ...rest }: WithDepthLadderProps) => react.JSX.Element>;
617
+
618
+ declare const _default$o: react.MemoExoticComponent<({ depth, onDepthChange, steps, label, style, ...rest }: WithDepthLadderProps) => react.JSX.Element>;
619
+
620
+ type EmptyStateProps = {
621
+ containerStyle: CSSProperties;
622
+ headlineStyle: CSSProperties;
623
+ bodyStyle: CSSProperties;
624
+ headline: string;
625
+ body?: string;
626
+ action?: ReactNode;
627
+ "data-testid"?: string;
628
+ };
629
+
630
+ type WithEmptyStateProps = Omit<EmptyStateProps, "containerStyle" | "headlineStyle" | "bodyStyle"> & {
631
+ tone?: "quiet" | "open";
632
+ style?: CSSProperties;
633
+ };
634
+ declare function withEmptyStateLogic(Component: ComponentType<EmptyStateProps>): react.MemoExoticComponent<({ tone, style, ...rest }: WithEmptyStateProps) => react.JSX.Element>;
635
+
636
+ declare const _default$n: react.MemoExoticComponent<({ tone, style, ...rest }: WithEmptyStateProps) => react.JSX.Element>;
637
+
638
+ type ErrorStateProps = {
639
+ containerStyle: CSSProperties;
640
+ headlineStyle: CSSProperties;
641
+ originStyle: CSSProperties;
642
+ retryStyle: CSSProperties;
643
+ headline: string;
644
+ origin?: string;
645
+ onRetry?: () => void;
646
+ retryLabel: string;
647
+ "data-testid"?: string;
648
+ };
649
+
650
+ type WithErrorStateProps = Omit<ErrorStateProps, "containerStyle" | "headlineStyle" | "originStyle" | "retryStyle" | "headline" | "origin" | "retryLabel"> & {
651
+ error: unknown;
652
+ path?: string;
653
+ retryLabel?: string;
654
+ style?: CSSProperties;
655
+ };
656
+ declare function withErrorStateLogic(Component: ComponentType<ErrorStateProps>): react.MemoExoticComponent<({ error, path, retryLabel, style, ...rest }: WithErrorStateProps) => react.JSX.Element>;
657
+
658
+ declare const _default$m: react.MemoExoticComponent<({ error, path, retryLabel, style, ...rest }: WithErrorStateProps) => react.JSX.Element>;
659
+
660
+ type IndexPhaseRow = {
661
+ key: string;
662
+ label: string;
663
+ detail: string;
664
+ mark: string;
665
+ rowStyle: CSSProperties;
666
+ markStyle: CSSProperties;
667
+ labelStyle: CSSProperties;
668
+ detailStyle: CSSProperties;
669
+ };
670
+ type IndexProgressProps = {
671
+ containerStyle: CSSProperties;
672
+ brandMarkStyle: CSSProperties;
673
+ titleStyle: CSSProperties;
674
+ originStyle: CSSProperties;
675
+ ladderStyle: CSSProperties;
676
+ captionStyle: CSSProperties;
677
+ tickerStyle: CSSProperties;
678
+ tickerRowStyles: CSSProperties[];
679
+ title: string;
680
+ origin: string;
681
+ phases: IndexPhaseRow[];
682
+ percent: number | null;
683
+ progressLabel: string;
684
+ caption: string;
685
+ ticker: string[];
686
+ busy: boolean;
687
+ "data-testid"?: string;
688
+ };
689
+
690
+ type WithIndexProgressProps = Omit<IndexProgressProps, "containerStyle" | "brandMarkStyle" | "titleStyle" | "originStyle" | "ladderStyle" | "captionStyle" | "tickerStyle" | "tickerRowStyles" | "title" | "origin" | "phases" | "percent" | "progressLabel" | "caption" | "ticker" | "busy"> & {
691
+ status: IndexStatus;
692
+ root?: string;
693
+ registry?: string;
694
+ historyLength?: number;
695
+ style?: CSSProperties;
696
+ };
697
+ declare function withIndexProgressLogic(Component: ComponentType<IndexProgressProps>): react.MemoExoticComponent<({ status, root, registry, historyLength, style, ...rest }: WithIndexProgressProps) => react.JSX.Element>;
698
+
699
+ declare const _default$l: react.MemoExoticComponent<({ status, root, registry, historyLength, style, ...rest }: WithIndexProgressProps) => react.JSX.Element>;
700
+
701
+ type GherkinStepView = {
702
+ key: string;
703
+ keyword: string;
704
+ role: string;
705
+ tokens: GherkinToken[];
706
+ keywordStyle: CSSProperties;
707
+ roleStyle: CSSProperties;
708
+ railStyle: CSSProperties;
709
+ rowStyle: CSSProperties;
710
+ };
711
+ type GherkinStatementProps = {
712
+ containerStyle: CSSProperties;
713
+ textStyle: CSSProperties;
714
+ tokenStyle: Record<GherkinToken["kind"], CSSProperties>;
715
+ steps: GherkinStepView[];
716
+ "data-testid"?: string;
717
+ };
718
+
719
+ type WithGherkinStatementProps = Omit<GherkinStatementProps, "containerStyle" | "textStyle" | "tokenStyle" | "steps"> & {
720
+ statement?: string;
721
+ steps?: ScenarioStep[];
722
+ compact?: boolean;
723
+ style?: CSSProperties;
724
+ };
725
+ declare function withGherkinStatementLogic(Component: ComponentType<GherkinStatementProps>): react.MemoExoticComponent<({ statement, steps, compact, style, ...rest }: WithGherkinStatementProps) => react.JSX.Element>;
726
+
727
+ declare const _default$k: react.MemoExoticComponent<({ statement, steps, compact, style, ...rest }: WithGherkinStatementProps) => react.JSX.Element>;
728
+
729
+ type SealStripe = {
730
+ key: string;
731
+ label: string;
732
+ filled: boolean;
733
+ style: CSSProperties;
734
+ };
735
+ type SealProps = {
736
+ containerStyle: CSSProperties;
737
+ countStyle: CSSProperties;
738
+ stripes: SealStripe[];
739
+ count: string;
740
+ label: string;
741
+ "data-testid"?: string;
742
+ };
743
+
744
+ type WithSealProps = Omit<SealProps, "containerStyle" | "countStyle" | "stripes" | "count" | "label"> & {
745
+ record?: Pick<FacetRecord, "present">;
746
+ present?: Partial<Record<Facet, boolean>>;
747
+ height?: number;
748
+ hideCount?: boolean;
749
+ style?: CSSProperties;
750
+ };
751
+ declare function withSealLogic(Component: ComponentType<SealProps>): react.MemoExoticComponent<({ record, present, height, hideCount, style, ...rest }: WithSealProps) => react.JSX.Element>;
752
+
753
+ declare const _default$j: react.MemoExoticComponent<({ record, present, height, hideCount, style, ...rest }: WithSealProps) => react.JSX.Element>;
754
+
755
+ type LifecycleBadgeProps = {
756
+ containerStyle: CSSProperties;
757
+ markStyle: CSSProperties;
758
+ labelStyle: CSSProperties;
759
+ ageStyle: CSSProperties;
760
+ label: string;
761
+ age: string;
762
+ title: string;
763
+ "data-testid"?: string;
764
+ };
765
+
766
+ type WithLifecycleBadgeProps = Omit<LifecycleBadgeProps, "containerStyle" | "markStyle" | "labelStyle" | "ageStyle" | "label" | "age" | "title"> & {
767
+ lifecycle: string;
768
+ createdAt?: string;
769
+ today?: Date;
770
+ supersededBy?: string | null;
771
+ style?: CSSProperties;
772
+ };
773
+ declare function withLifecycleBadgeLogic(Component: ComponentType<LifecycleBadgeProps>): react.MemoExoticComponent<({ lifecycle, createdAt, today, supersededBy, style, ...rest }: WithLifecycleBadgeProps) => react.JSX.Element>;
774
+
775
+ declare const _default$i: react.MemoExoticComponent<({ lifecycle, createdAt, today, supersededBy, style, ...rest }: WithLifecycleBadgeProps) => react.JSX.Element>;
776
+
777
+ type ProofCell = {
778
+ key: string;
779
+ count: number;
780
+ style: CSSProperties;
781
+ title: string;
782
+ };
783
+ type ProofRow = {
784
+ key: string;
785
+ scenario: string;
786
+ proven: boolean;
787
+ cells: ProofCell[];
788
+ rowStyle: CSSProperties;
789
+ labelStyle: CSSProperties;
790
+ };
791
+ type ProofMatrixProps = {
792
+ containerStyle: CSSProperties;
793
+ headerStyle: CSSProperties;
794
+ headCellStyle: CSSProperties;
795
+ captionStyle: CSSProperties;
796
+ columns: string[];
797
+ rows: ProofRow[];
798
+ caption: string;
799
+ "data-testid"?: string;
800
+ };
801
+
802
+ type WithProofMatrixProps = Omit<ProofMatrixProps, "containerStyle" | "headerStyle" | "headCellStyle" | "captionStyle" | "columns" | "rows" | "caption"> & {
803
+ scenarios: Scenario[];
804
+ kinds?: readonly string[];
805
+ onlyGaps?: boolean;
806
+ style?: CSSProperties;
807
+ };
808
+ declare function withProofMatrixLogic(Component: ComponentType<ProofMatrixProps>): react.MemoExoticComponent<({ scenarios, kinds, onlyGaps, style, ...rest }: WithProofMatrixProps) => react.JSX.Element>;
809
+
810
+ declare const _default$h: react.MemoExoticComponent<({ scenarios, kinds, onlyGaps, style, ...rest }: WithProofMatrixProps) => react.JSX.Element>;
811
+
812
+ type AnchorEntryView = {
813
+ key: string;
814
+ path: string;
815
+ line: string;
816
+ role: string;
817
+ excerpt?: string;
818
+ drifted: boolean;
819
+ rowStyle: CSSProperties;
820
+ pathStyle: CSSProperties;
821
+ lineStyle: CSSProperties;
822
+ roleStyle: CSSProperties;
823
+ excerptStyle: CSSProperties;
824
+ href?: string;
825
+ onOpen?: () => void;
826
+ };
827
+ type AnchorMapProps = {
828
+ containerStyle: CSSProperties;
829
+ captionStyle: CSSProperties;
830
+ entries: AnchorEntryView[];
831
+ caption: string;
832
+ "data-testid"?: string;
833
+ };
834
+
835
+ type WithAnchorMapProps = Omit<AnchorMapProps, "containerStyle" | "captionStyle" | "entries" | "caption"> & {
836
+ anchors: Anchor[];
837
+ drift?: DriftEntry[] | null;
838
+ lifecycle?: string;
839
+ buildHref?: (anchor: Anchor) => string | undefined;
840
+ onOpen?: (anchor: Anchor) => void;
841
+ hideExcerpt?: boolean;
842
+ style?: CSSProperties;
843
+ };
844
+ declare function withAnchorMapLogic(Component: ComponentType<AnchorMapProps>): react.MemoExoticComponent<({ anchors, drift, lifecycle, buildHref, onOpen, hideExcerpt, style, ...rest }: WithAnchorMapProps) => react.JSX.Element>;
845
+
846
+ declare const _default$g: react.MemoExoticComponent<({ anchors, drift, lifecycle, buildHref, onOpen, hideExcerpt, style, ...rest }: WithAnchorMapProps) => react.JSX.Element>;
847
+
848
+ type FanLink = {
849
+ id: string;
850
+ label: string;
851
+ ghost: boolean;
852
+ style: CSSProperties;
853
+ onOpen?: () => void;
854
+ };
855
+ type FanGroup = {
856
+ key: string;
857
+ label: string;
858
+ rank: string;
859
+ upstream: FanLink[];
860
+ downstream: FanLink[];
861
+ rowStyle: CSSProperties;
862
+ rankStyle: CSSProperties;
863
+ labelStyle: CSSProperties;
864
+ armStyle: CSSProperties;
865
+ armLabelStyle: CSSProperties;
866
+ onOpen?: () => void;
867
+ };
868
+ type DependencyFanProps = {
869
+ containerStyle: CSSProperties;
870
+ captionStyle: CSSProperties;
871
+ emptyStyle: CSSProperties;
872
+ groups: FanGroup[];
873
+ caption: string;
874
+ emptyText: string;
875
+ upstreamLabel: string;
876
+ downstreamLabel: string;
877
+ "data-testid"?: string;
878
+ };
879
+
880
+ type WithDependencyFanProps = Omit<DependencyFanProps, "containerStyle" | "captionStyle" | "emptyStyle" | "groups" | "caption" | "emptyText" | "upstreamLabel" | "downstreamLabel"> & {
881
+ edges: Edge[];
882
+ depth?: Record<string, number>;
883
+ ghosts?: string[];
884
+ labelOf?: (id: string) => string;
885
+ onOpen?: (id: string) => void;
886
+ style?: CSSProperties;
887
+ };
888
+ declare function withDependencyFanLogic(Component: ComponentType<DependencyFanProps>): react.MemoExoticComponent<({ edges, depth, ghosts, labelOf, onOpen, style, ...rest }: WithDependencyFanProps) => react.JSX.Element>;
889
+
890
+ declare const _default$f: react.MemoExoticComponent<({ edges, depth, ghosts, labelOf, onOpen, style, ...rest }: WithDependencyFanProps) => react.JSX.Element>;
891
+
892
+ type LedgerEntry = {
893
+ key: string;
894
+ id: string;
895
+ proven: boolean;
896
+ status: string;
897
+ state: string;
898
+ tests: string[];
899
+ backingGap: string;
900
+ implementedBy: string[];
901
+ implementedByLabel: string;
902
+ implementedByState: "implemented" | "gap" | "unclaimed" | "not-explained";
903
+ statement: ReactNode;
904
+ rowStyle: CSSProperties;
905
+ idStyle: CSSProperties;
906
+ statusStyle: CSSProperties;
907
+ stateStyle: CSSProperties;
908
+ testStyle: CSSProperties;
909
+ backingStyle: CSSProperties;
910
+ implementedStyle: CSSProperties;
911
+ };
912
+ type ScenarioLedgerProps = {
913
+ containerStyle: CSSProperties;
914
+ captionStyle: CSSProperties;
915
+ entries: LedgerEntry[];
916
+ caption: string;
917
+ "data-testid"?: string;
918
+ };
919
+
920
+ type WithScenarioLedgerProps = Omit<ScenarioLedgerProps, "containerStyle" | "captionStyle" | "entries" | "caption"> & {
921
+ scenarios: Scenario[];
922
+ onlyGaps?: boolean;
923
+ compact?: boolean;
924
+ style?: CSSProperties;
925
+ };
926
+ declare function withScenarioLedgerLogic(Component: ComponentType<ScenarioLedgerProps>): react.MemoExoticComponent<({ scenarios, onlyGaps, compact, style, ...rest }: WithScenarioLedgerProps) => react.JSX.Element>;
927
+
928
+ declare const _default$e: react.MemoExoticComponent<({ scenarios, onlyGaps, compact, style, ...rest }: WithScenarioLedgerProps) => react.JSX.Element>;
929
+
930
+ type PyramidLevel = {
931
+ key: string;
932
+ label: string;
933
+ count: number;
934
+ share: number;
935
+ rowStyle: CSSProperties;
936
+ labelStyle: CSSProperties;
937
+ barStyle: CSSProperties;
938
+ countStyle: CSSProperties;
939
+ };
940
+ type TestPyramidProps = {
941
+ containerStyle: CSSProperties;
942
+ captionStyle: CSSProperties;
943
+ levels: PyramidLevel[];
944
+ caption: string;
945
+ "data-testid"?: string;
946
+ };
947
+
948
+ type WithTestPyramidProps = Omit<TestPyramidProps, "containerStyle" | "captionStyle" | "levels" | "caption"> & {
949
+ counts: Record<string, number>;
950
+ kinds?: readonly string[];
951
+ style?: CSSProperties;
952
+ };
953
+ declare function withTestPyramidLogic(Component: ComponentType<TestPyramidProps>): react.MemoExoticComponent<({ counts, kinds, style, ...rest }: WithTestPyramidProps) => react.JSX.Element>;
954
+
955
+ declare const _default$d: react.MemoExoticComponent<({ counts, kinds, style, ...rest }: WithTestPyramidProps) => react.JSX.Element>;
956
+
957
+ type KnowledgeSlotView = {
958
+ key: string;
959
+ slot: string;
960
+ question: string;
961
+ answer: string;
962
+ derivation: string;
963
+ filled: boolean;
964
+ rowStyle: CSSProperties;
965
+ slotStyle: CSSProperties;
966
+ questionStyle: CSSProperties;
967
+ answerStyle: CSSProperties;
968
+ derivationStyle: CSSProperties;
969
+ };
970
+ type KnowledgeSlotsProps = {
971
+ containerStyle: CSSProperties;
972
+ captionStyle: CSSProperties;
973
+ slots: KnowledgeSlotView[];
974
+ caption: string;
975
+ "data-testid"?: string;
976
+ };
977
+
978
+ type WithKnowledgeSlotsProps = Omit<KnowledgeSlotsProps, "containerStyle" | "captionStyle" | "slots" | "caption"> & {
979
+ slots: KnowledgeSlot[];
980
+ onlyOpen?: boolean;
981
+ style?: CSSProperties;
982
+ };
983
+ declare function withKnowledgeSlotsLogic(Component: ComponentType<KnowledgeSlotsProps>): react.MemoExoticComponent<({ slots, onlyOpen, style, ...rest }: WithKnowledgeSlotsProps) => react.JSX.Element>;
984
+
985
+ declare const _default$c: react.MemoExoticComponent<({ slots, onlyOpen, style, ...rest }: WithKnowledgeSlotsProps) => react.JSX.Element>;
986
+
987
+ type ClauseView = {
988
+ key: string;
989
+ id: string;
990
+ obligation: string;
991
+ requirement: string;
992
+ measure: string;
993
+ binding: boolean;
994
+ rowStyle: CSSProperties;
995
+ idStyle: CSSProperties;
996
+ obligationStyle: CSSProperties;
997
+ requirementStyle: CSSProperties;
998
+ measureStyle: CSSProperties;
999
+ };
1000
+ type ClauseSheetProps = {
1001
+ containerStyle: CSSProperties;
1002
+ captionStyle: CSSProperties;
1003
+ clauses: ClauseView[];
1004
+ caption: string;
1005
+ "data-testid"?: string;
1006
+ };
1007
+
1008
+ type WithClauseSheetProps = Omit<ClauseSheetProps, "containerStyle" | "captionStyle" | "clauses" | "caption"> & {
1009
+ clauses: Clause[];
1010
+ onlyBinding?: boolean;
1011
+ style?: CSSProperties;
1012
+ };
1013
+ declare function withClauseSheetLogic(Component: ComponentType<ClauseSheetProps>): react.MemoExoticComponent<({ clauses, onlyBinding, style, ...rest }: WithClauseSheetProps) => react.JSX.Element>;
1014
+
1015
+ declare const _default$b: react.MemoExoticComponent<({ clauses, onlyBinding, style, ...rest }: WithClauseSheetProps) => react.JSX.Element>;
1016
+
1017
+ type FieldView = {
1018
+ key: string;
1019
+ name: string;
1020
+ type: string;
1021
+ sensitivity: string;
1022
+ retention: string;
1023
+ open: boolean;
1024
+ rowStyle: CSSProperties;
1025
+ nameStyle: CSSProperties;
1026
+ typeStyle: CSSProperties;
1027
+ sensitivityStyle: CSSProperties;
1028
+ retentionStyle: CSSProperties;
1029
+ };
1030
+ type FieldSheetProps = {
1031
+ containerStyle: CSSProperties;
1032
+ captionStyle: CSSProperties;
1033
+ fields: FieldView[];
1034
+ caption: string;
1035
+ "data-testid"?: string;
1036
+ };
1037
+
1038
+ type WithFieldSheetProps = Omit<FieldSheetProps, "containerStyle" | "captionStyle" | "fields" | "caption"> & {
1039
+ fields: SchemaField[];
1040
+ onlyPii?: boolean;
1041
+ style?: CSSProperties;
1042
+ };
1043
+ declare function withFieldSheetLogic(Component: ComponentType<FieldSheetProps>): react.MemoExoticComponent<({ fields, onlyPii, style, ...rest }: WithFieldSheetProps) => react.JSX.Element>;
1044
+
1045
+ declare const _default$a: react.MemoExoticComponent<({ fields, onlyPii, style, ...rest }: WithFieldSheetProps) => react.JSX.Element>;
1046
+
1047
+ type EvidenceView = {
1048
+ key: string;
1049
+ date: string;
1050
+ kind: string;
1051
+ note: string;
1052
+ oldest: boolean;
1053
+ rowStyle: CSSProperties;
1054
+ dateStyle: CSSProperties;
1055
+ kindStyle: CSSProperties;
1056
+ noteStyle: CSSProperties;
1057
+ };
1058
+ type EvidenceLedgerProps = {
1059
+ containerStyle: CSSProperties;
1060
+ captionStyle: CSSProperties;
1061
+ entries: EvidenceView[];
1062
+ caption: string;
1063
+ "data-testid"?: string;
1064
+ };
1065
+
1066
+ type WithEvidenceLedgerProps = Omit<EvidenceLedgerProps, "containerStyle" | "captionStyle" | "entries" | "caption"> & {
1067
+ evidence: Evidence[];
1068
+ staleMonths?: number;
1069
+ today?: Date;
1070
+ style?: CSSProperties;
1071
+ };
1072
+ declare function withEvidenceLedgerLogic(Component: ComponentType<EvidenceLedgerProps>): react.MemoExoticComponent<({ evidence, staleMonths, today, style, ...rest }: WithEvidenceLedgerProps) => react.JSX.Element>;
1073
+
1074
+ declare const _default$9: react.MemoExoticComponent<({ evidence, staleMonths, today, style, ...rest }: WithEvidenceLedgerProps) => react.JSX.Element>;
1075
+
1076
+ type SignalEntry = {
1077
+ key: string;
1078
+ kind: "slo" | "alert";
1079
+ name: string;
1080
+ detail: string;
1081
+ meta: string;
1082
+ runbook: string;
1083
+ open: boolean;
1084
+ rowStyle: CSSProperties;
1085
+ nameStyle: CSSProperties;
1086
+ detailStyle: CSSProperties;
1087
+ metaStyle: CSSProperties;
1088
+ runbookStyle: CSSProperties;
1089
+ };
1090
+ type SignalStackProps = {
1091
+ containerStyle: CSSProperties;
1092
+ captionStyle: CSSProperties;
1093
+ entries: SignalEntry[];
1094
+ caption: string;
1095
+ "data-testid"?: string;
1096
+ };
1097
+
1098
+ type WithSignalStackProps = Omit<SignalStackProps, "containerStyle" | "captionStyle" | "entries" | "caption"> & {
1099
+ slos?: SloEntry[];
1100
+ alerts?: AlertEntry[];
1101
+ onlyGaps?: boolean;
1102
+ style?: CSSProperties;
1103
+ };
1104
+ declare function withSignalStackLogic(Component: ComponentType<SignalStackProps>): react.MemoExoticComponent<({ slos, alerts, onlyGaps, style, ...rest }: WithSignalStackProps) => react.JSX.Element>;
1105
+
1106
+ declare const _default$8: react.MemoExoticComponent<({ slos, alerts, onlyGaps, style, ...rest }: WithSignalStackProps) => react.JSX.Element>;
1107
+
1108
+ type SourceToken = {
1109
+ kind: "key" | "value" | "punct" | "comment" | "marker";
1110
+ text: string;
1111
+ };
1112
+ type SourceLine = {
1113
+ key: string;
1114
+ number: string;
1115
+ tokens: SourceToken[];
1116
+ marked: boolean;
1117
+ rowStyle: CSSProperties;
1118
+ numberStyle: CSSProperties;
1119
+ };
1120
+ type RecordSourceProps = {
1121
+ containerStyle: CSSProperties;
1122
+ captionStyle: CSSProperties;
1123
+ tokenStyle: Record<SourceToken["kind"], CSSProperties>;
1124
+ lines: SourceLine[];
1125
+ caption: string;
1126
+ "data-testid"?: string;
1127
+ };
1128
+
1129
+ type WithRecordSourceProps = Omit<RecordSourceProps, "containerStyle" | "captionStyle" | "tokenStyle" | "lines" | "caption"> & {
1130
+ raw: string;
1131
+ path?: string;
1132
+ markLine?: number | null;
1133
+ style?: CSSProperties;
1134
+ };
1135
+ declare function tokenizeYamlLine(line: string): SourceToken[];
1136
+ declare function withRecordSourceLogic(Component: ComponentType<RecordSourceProps>): react.MemoExoticComponent<({ raw, path, markLine, style, ...rest }: WithRecordSourceProps) => react.JSX.Element>;
1137
+
1138
+ declare const _default$7: react.MemoExoticComponent<({ raw, path, markLine, style, ...rest }: WithRecordSourceProps) => react.JSX.Element>;
1139
+
1140
+ type MarkdownPiece = {
1141
+ key: string;
1142
+ text: string;
1143
+ style: CSSProperties;
1144
+ href?: string;
1145
+ };
1146
+ type MarkdownBlockView = {
1147
+ kind: "paragraph";
1148
+ key: string;
1149
+ pieces: MarkdownPiece[];
1150
+ style: CSSProperties;
1151
+ } | {
1152
+ kind: "heading";
1153
+ key: string;
1154
+ level: number;
1155
+ pieces: MarkdownPiece[];
1156
+ style: CSSProperties;
1157
+ } | {
1158
+ kind: "list";
1159
+ key: string;
1160
+ ordered: boolean;
1161
+ items: {
1162
+ key: string;
1163
+ pieces: MarkdownPiece[];
1164
+ }[];
1165
+ style: CSSProperties;
1166
+ itemStyle: CSSProperties;
1167
+ } | {
1168
+ kind: "code";
1169
+ key: string;
1170
+ text: string;
1171
+ language: string;
1172
+ style: CSSProperties;
1173
+ languageStyle: CSSProperties;
1174
+ } | {
1175
+ kind: "quote";
1176
+ key: string;
1177
+ pieces: MarkdownPiece[];
1178
+ style: CSSProperties;
1179
+ } | {
1180
+ kind: "rule";
1181
+ key: string;
1182
+ style: CSSProperties;
1183
+ };
1184
+ type MarkdownProps = {
1185
+ containerStyle: CSSProperties;
1186
+ blocks: MarkdownBlockView[];
1187
+ "data-testid"?: string;
1188
+ };
1189
+
1190
+ type WithMarkdownProps = Omit<MarkdownProps, "containerStyle" | "blocks"> & {
1191
+ text: string;
1192
+ gap?: number;
1193
+ style?: CSSProperties;
1194
+ };
1195
+ declare function withMarkdownLogic(Component: ComponentType<MarkdownProps>): react.MemoExoticComponent<({ text, gap, style, ...rest }: WithMarkdownProps) => react.JSX.Element>;
1196
+
1197
+ declare const _default$6: react.MemoExoticComponent<({ text, gap, style, ...rest }: WithMarkdownProps) => react.JSX.Element>;
1198
+
1199
+ type CompanionSourceView = {
1200
+ key: string;
1201
+ text: string;
1202
+ onOpen?: () => void;
1203
+ openLabel: string;
1204
+ };
1205
+ type CompanionMessage = {
1206
+ key: string;
1207
+ fromUser: boolean;
1208
+ text: string;
1209
+ facts: {
1210
+ label: string;
1211
+ value: string;
1212
+ valueStyle: CSSProperties;
1213
+ }[];
1214
+ sources: CompanionSourceView[];
1215
+ follow: {
1216
+ key: string;
1217
+ text: string;
1218
+ onAsk: () => void;
1219
+ }[];
1220
+ onOpen?: () => void;
1221
+ onSection?: () => void;
1222
+ sectionLabel: string;
1223
+ };
1224
+ type CompanionProps = {
1225
+ containerStyle: CSSProperties;
1226
+ headStyle: CSSProperties;
1227
+ headRowStyle: CSSProperties;
1228
+ markStyle: CSSProperties;
1229
+ titleStyle: CSSProperties;
1230
+ actionStyle: CSSProperties;
1231
+ scopeStyle: CSSProperties;
1232
+ scrollStyle: CSSProperties;
1233
+ introStyle: CSSProperties;
1234
+ messageStyle: CSSProperties;
1235
+ askStyle: CSSProperties;
1236
+ answerStyle: CSSProperties;
1237
+ factsStyle: CSSProperties;
1238
+ factLabelStyle: CSSProperties;
1239
+ readsHeadStyle: CSSProperties;
1240
+ sourceRowStyle: CSSProperties;
1241
+ sourceStyle: CSSProperties;
1242
+ sourceOpenStyle: CSSProperties;
1243
+ jumpRowStyle: CSSProperties;
1244
+ jumpStyle: CSSProperties;
1245
+ sectionJumpStyle: CSSProperties;
1246
+ followListStyle: CSSProperties;
1247
+ followStyle: CSSProperties;
1248
+ busyStyle: CSSProperties;
1249
+ stopStyle: CSSProperties;
1250
+ readStyle: (current: boolean) => CSSProperties;
1251
+ suggestListStyle: CSSProperties;
1252
+ suggestStyle: CSSProperties;
1253
+ composerStyle: CSSProperties;
1254
+ inputRowStyle: CSSProperties;
1255
+ inputStyle: CSSProperties;
1256
+ sendStyle: CSSProperties;
1257
+ footStyle: CSSProperties;
1258
+ title: string;
1259
+ scope: string;
1260
+ clearLabel: string;
1261
+ onClear: () => void;
1262
+ onClose: () => void;
1263
+ intro: string;
1264
+ showIntro: boolean;
1265
+ messages: CompanionMessage[];
1266
+ reads: string[];
1267
+ busy: boolean;
1268
+ thinking?: string;
1269
+ thinkingTokens?: number;
1270
+ thinkingOpen?: boolean;
1271
+ onThinkingToggle?: () => void;
1272
+ activity?: {
1273
+ key: string;
1274
+ tool: string;
1275
+ target: string;
1276
+ }[];
1277
+ fullscreen?: boolean;
1278
+ onFullscreen?: () => void;
1279
+ models?: {
1280
+ id: string;
1281
+ label: string;
1282
+ note?: string;
1283
+ }[];
1284
+ model?: string;
1285
+ onModel?: (id: string) => void;
1286
+ notice?: {
1287
+ text: string;
1288
+ hint: string;
1289
+ } | null;
1290
+ onStop?: () => void;
1291
+ queued?: string | null;
1292
+ onCancelQueued?: () => void;
1293
+ suggestions: {
1294
+ key: string;
1295
+ text: string;
1296
+ onAsk: () => void;
1297
+ }[];
1298
+ draft: string;
1299
+ onDraft: (value: string) => void;
1300
+ onSend: () => void;
1301
+ placeholder: string;
1302
+ sendLabel: string;
1303
+ foot: string;
1304
+ scrollRef?: (element: HTMLDivElement | null) => void;
1305
+ "data-testid"?: string;
1306
+ };
1307
+
1308
+ type CompanionEntry = {
1309
+ kind: "ask";
1310
+ id: string;
1311
+ text: string;
1312
+ } | {
1313
+ kind: "answer";
1314
+ id: string;
1315
+ plan: CompanionPlan;
1316
+ };
1317
+ type WithCompanionProps = Omit<CompanionProps, keyof StyleKeys | "messages" | "showIntro" | "clearLabel" | "title" | "placeholder" | "sendLabel" | "reads"> & {
1318
+ entries: CompanionEntry[];
1319
+ reads?: string[];
1320
+ onAsk: (question: string) => void;
1321
+ onOpenRecord: (id: string) => void;
1322
+ onOpenSection: (key: string) => void;
1323
+ style?: CSSProperties;
1324
+ };
1325
+ type StyleKeys = {
1326
+ containerStyle: unknown;
1327
+ headStyle: unknown;
1328
+ headRowStyle: unknown;
1329
+ markStyle: unknown;
1330
+ titleStyle: unknown;
1331
+ actionStyle: unknown;
1332
+ scopeStyle: unknown;
1333
+ scrollStyle: unknown;
1334
+ introStyle: unknown;
1335
+ messageStyle: unknown;
1336
+ askStyle: unknown;
1337
+ answerStyle: unknown;
1338
+ factsStyle: unknown;
1339
+ factLabelStyle: unknown;
1340
+ readsHeadStyle: unknown;
1341
+ sourceRowStyle: unknown;
1342
+ sourceStyle: unknown;
1343
+ sourceOpenStyle: unknown;
1344
+ jumpRowStyle: unknown;
1345
+ jumpStyle: unknown;
1346
+ sectionJumpStyle: unknown;
1347
+ followListStyle: unknown;
1348
+ followStyle: unknown;
1349
+ busyStyle: unknown;
1350
+ stopStyle: unknown;
1351
+ readStyle: unknown;
1352
+ suggestListStyle: unknown;
1353
+ suggestStyle: unknown;
1354
+ composerStyle: unknown;
1355
+ inputRowStyle: unknown;
1356
+ inputStyle: unknown;
1357
+ sendStyle: unknown;
1358
+ footStyle: unknown;
1359
+ };
1360
+ declare function withCompanionLogic(Component: ComponentType<CompanionProps>): react.MemoExoticComponent<({ entries, reads, onAsk, onOpenRecord, onOpenSection, draft, busy, style, ...rest }: WithCompanionProps) => react.JSX.Element>;
1361
+
1362
+ declare const _default$5: react.MemoExoticComponent<({ entries, reads, onAsk, onOpenRecord, onOpenSection, draft, busy, style, ...rest }: WithCompanionProps) => react.JSX.Element>;
1363
+
1364
+ type RoleChoice = {
1365
+ key: string;
1366
+ number: string;
1367
+ title: string;
1368
+ hint: string;
1369
+ onPick: () => void;
1370
+ rowStyle: CSSProperties;
1371
+ numberStyle: CSSProperties;
1372
+ titleStyle: CSSProperties;
1373
+ hintStyle: CSSProperties;
1374
+ };
1375
+ type RoleGateProps = {
1376
+ containerStyle: CSSProperties;
1377
+ innerStyle: CSSProperties;
1378
+ headlineStyle: CSSProperties;
1379
+ subStyle: CSSProperties;
1380
+ listStyle: CSSProperties;
1381
+ skipStyle: CSSProperties;
1382
+ roles: RoleChoice[];
1383
+ headline: string;
1384
+ sub: string;
1385
+ skipLabel: string;
1386
+ onSkip: () => void;
1387
+ "data-testid"?: string;
1388
+ };
1389
+
1390
+ type WithRoleGateProps = Omit<RoleGateProps, "containerStyle" | "innerStyle" | "headlineStyle" | "subStyle" | "listStyle" | "skipStyle" | "roles" | "headline" | "sub" | "skipLabel" | "onSkip"> & {
1391
+ onPick?: (key: RoleKey) => void;
1392
+ fallback?: RoleKey;
1393
+ style?: CSSProperties;
1394
+ };
1395
+ declare function withRoleGateLogic(Component: ComponentType<RoleGateProps>): react.MemoExoticComponent<({ onPick, fallback, style, ...rest }: WithRoleGateProps) => react.JSX.Element>;
1396
+
1397
+ declare const _default$4: react.MemoExoticComponent<({ onPick, fallback, style, ...rest }: WithRoleGateProps) => react.JSX.Element>;
1398
+
1399
+ type PickerResult = {
1400
+ key: string;
1401
+ label: string;
1402
+ kind: string;
1403
+ hint: string;
1404
+ active: boolean;
1405
+ inert?: boolean;
1406
+ onSelect: () => void;
1407
+ rowStyle: CSSProperties;
1408
+ labelStyle: CSSProperties;
1409
+ kindStyle: CSSProperties;
1410
+ hintStyle: CSSProperties;
1411
+ };
1412
+ type RecordPickerProps = {
1413
+ containerStyle: CSSProperties;
1414
+ inputStyle: CSSProperties;
1415
+ listStyle: CSSProperties;
1416
+ emptyStyle: CSSProperties;
1417
+ query: string;
1418
+ placeholder: string;
1419
+ results: PickerResult[];
1420
+ emptyText: string;
1421
+ onQueryChange: (event: ChangeEvent<HTMLInputElement>) => void;
1422
+ onKeyDown: (event: KeyboardEvent<HTMLInputElement>) => void;
1423
+ inputRef?: (element: HTMLInputElement | null) => void;
1424
+ footer?: ReactNode;
1425
+ "data-testid"?: string;
1426
+ };
1427
+
1428
+ type PickerItem = {
1429
+ id: string;
1430
+ label: string;
1431
+ kind: string;
1432
+ hint?: string;
1433
+ terms?: string[];
1434
+ inert?: boolean;
1435
+ };
1436
+ type WithRecordPickerProps = Omit<RecordPickerProps, "containerStyle" | "inputStyle" | "listStyle" | "emptyStyle" | "query" | "results" | "emptyText" | "onQueryChange" | "onKeyDown" | "inputRef" | "placeholder"> & {
1437
+ items: PickerItem[];
1438
+ onSelect?: (id: string) => void;
1439
+ onSelectInert?: (item: PickerItem) => void;
1440
+ limit?: number;
1441
+ placeholder?: string;
1442
+ autoFocus?: boolean;
1443
+ style?: CSSProperties;
1444
+ };
1445
+ declare function withRecordPickerLogic(Component: ComponentType<RecordPickerProps>): react.MemoExoticComponent<({ items, onSelect, onSelectInert, limit, placeholder, autoFocus, style, ...rest }: WithRecordPickerProps) => react.JSX.Element>;
1446
+
1447
+ declare const _default$3: react.MemoExoticComponent<({ items, onSelect, onSelectInert, limit, placeholder, autoFocus, style, ...rest }: WithRecordPickerProps) => react.JSX.Element>;
1448
+
1449
+ type EntryCard = {
1450
+ key: string;
1451
+ tag: string;
1452
+ title: string;
1453
+ value: string;
1454
+ valueMeta: string;
1455
+ lead: string;
1456
+ action: string;
1457
+ figure?: ReactNode;
1458
+ open: boolean;
1459
+ onOpen?: () => void;
1460
+ cardStyle: CSSProperties;
1461
+ tagStyle: CSSProperties;
1462
+ titleStyle: CSSProperties;
1463
+ valueStyle: CSSProperties;
1464
+ valueMetaStyle: CSSProperties;
1465
+ leadStyle: CSSProperties;
1466
+ actionStyle: CSSProperties;
1467
+ figureStyle: CSSProperties;
1468
+ };
1469
+ type EntryCardsProps = {
1470
+ containerStyle: CSSProperties;
1471
+ gridStyle: CSSProperties;
1472
+ cards: EntryCard[];
1473
+ emptyText: string;
1474
+ "data-testid"?: string;
1475
+ };
1476
+
1477
+ type EntryInput = {
1478
+ key: string;
1479
+ tag: string;
1480
+ title: string;
1481
+ value: string;
1482
+ valueMeta: string;
1483
+ lead: string;
1484
+ action?: string;
1485
+ figure?: ReactNode;
1486
+ open?: boolean;
1487
+ };
1488
+ type WithEntryCardsProps = Omit<EntryCardsProps, "containerStyle" | "gridStyle" | "cards" | "emptyText"> & {
1489
+ entries: EntryInput[];
1490
+ onOpen?: (key: string) => void;
1491
+ emptyText?: string;
1492
+ cardWidth?: number;
1493
+ style?: CSSProperties;
1494
+ };
1495
+ declare function withEntryCardsLogic(Component: ComponentType<EntryCardsProps>): react.MemoExoticComponent<({ entries, onOpen, emptyText, cardWidth, style, ...rest }: WithEntryCardsProps) => react.JSX.Element>;
1496
+
1497
+ declare const _default$2: react.MemoExoticComponent<({ entries, onOpen, emptyText, cardWidth, style, ...rest }: WithEntryCardsProps) => react.JSX.Element>;
1498
+
1499
+ type GroupTile = {
1500
+ key: string;
1501
+ label: string;
1502
+ value: string;
1503
+ meta: string;
1504
+ share: {
1505
+ value: number;
1506
+ total: number;
1507
+ label: string;
1508
+ } | null;
1509
+ shareText: string;
1510
+ onOpen?: () => void;
1511
+ tileStyle: CSSProperties;
1512
+ labelStyle: CSSProperties;
1513
+ valueStyle: CSSProperties;
1514
+ metaStyle: CSSProperties;
1515
+ shareStyle: CSSProperties;
1516
+ };
1517
+ type GroupTilesProps = {
1518
+ containerStyle: CSSProperties;
1519
+ gridStyle: CSSProperties;
1520
+ captionStyle: CSSProperties;
1521
+ tiles: GroupTile[];
1522
+ caption: string;
1523
+ emptyText: string;
1524
+ "data-testid"?: string;
1525
+ };
1526
+
1527
+ type GroupInput = {
1528
+ key: string;
1529
+ label: string;
1530
+ count: number;
1531
+ meta?: string;
1532
+ proven?: number;
1533
+ total?: number;
1534
+ };
1535
+ type WithGroupTilesProps = Omit<GroupTilesProps, "containerStyle" | "gridStyle" | "captionStyle" | "tiles" | "caption" | "emptyText"> & {
1536
+ groups: GroupInput[];
1537
+ noun?: string;
1538
+ unit?: string;
1539
+ shareNoun?: string;
1540
+ onOpen?: (key: string) => void;
1541
+ emptyText?: string;
1542
+ tileWidth?: number;
1543
+ style?: CSSProperties;
1544
+ };
1545
+ declare function withGroupTilesLogic(Component: ComponentType<GroupTilesProps>): react.MemoExoticComponent<({ groups, noun, unit, shareNoun, onOpen, emptyText, tileWidth, style, ...rest }: WithGroupTilesProps) => react.JSX.Element>;
1546
+
1547
+ declare const _default$1: react.MemoExoticComponent<({ groups, noun, unit, shareNoun, onOpen, emptyText, tileWidth, style, ...rest }: WithGroupTilesProps) => react.JSX.Element>;
1548
+
1549
+ type TimelineBucket = {
1550
+ key: string;
1551
+ label: string;
1552
+ height: number;
1553
+ tick: string | null;
1554
+ columnStyle: CSSProperties;
1555
+ blockStyle: CSSProperties;
1556
+ tickStyle: CSSProperties;
1557
+ };
1558
+ type TimelineProps = {
1559
+ containerStyle: CSSProperties;
1560
+ plotStyle: CSSProperties;
1561
+ axisStyle: CSSProperties;
1562
+ captionStyle: CSSProperties;
1563
+ buckets: TimelineBucket[];
1564
+ caption: string;
1565
+ emptyText: string;
1566
+ "data-testid"?: string;
1567
+ };
1568
+
1569
+ type TimelineEvent = {
1570
+ date: string;
1571
+ };
1572
+ type WithTimelineProps = Omit<TimelineProps, "containerStyle" | "plotStyle" | "axisStyle" | "captionStyle" | "buckets" | "caption" | "emptyText"> & {
1573
+ events: TimelineEvent[];
1574
+ unit?: string;
1575
+ bucket?: "month" | "year" | "auto";
1576
+ height?: number;
1577
+ emptyText?: string;
1578
+ style?: CSSProperties;
1579
+ };
1580
+ declare function withTimelineLogic(Component: ComponentType<TimelineProps>): react.MemoExoticComponent<({ events, unit, bucket, height, emptyText, style, ...rest }: WithTimelineProps) => react.JSX.Element>;
1581
+
1582
+ declare const _default: react.MemoExoticComponent<({ events, unit, bucket, height, emptyText, style, ...rest }: WithTimelineProps) => react.JSX.Element>;
1583
+
1584
+ export { type AnchorEntryView, _default$g as AnchorMap, type AnchorMapProps, _default$F as Bar, type BarProps, _default$q as Blind, type BlindProps, _default$x as Button, type ButtonProps, type ButtonVariant, _default$b as ClauseSheet, type ClauseSheetProps, type ClauseView, _default$5 as Companion, type CompanionEntry, type CompanionMessage, type CompanionProps, type CompanionSourceView, _default$D as Counter, type CounterProps, _default$v as CoverageRing, type CoverageRingProps, DEPTH_STEPS, _default$f as DependencyFan, type DependencyFanProps, _default$o as DepthLadder, type DepthLadderProps, type DepthStepView, _default$G as Dot, type DotProps, _default$n as EmptyState, type EmptyStateProps, type EntryCard, _default$2 as EntryCards, type EntryCardsProps, type EntryInput, _default$m as ErrorState, type ErrorStateProps, _default$9 as EvidenceLedger, type EvidenceLedgerProps, type EvidenceView, FACETS, FACET_LABEL, type Facet, type FanGroup, type FanLink, _default$u as FieldRow, type FieldRowProps, _default$a as FieldSheet, type FieldSheetProps, type FieldView, _default$t as FocusRow, type FocusRowProps, _default$k as GherkinStatement, type GherkinStatementProps, type GherkinStepView, type GroupInput, type GroupTile, _default$1 as GroupTiles, type GroupTilesProps, _default$J as Hairline, type HairlineOrientation, type HairlineProps, type IndexPhaseRow, _default$l as IndexProgress, type IndexProgressProps, KIND_WORD, _default$z as Kbd, type KbdProps, type KnowledgeSlotView, _default$c as KnowledgeSlots, type KnowledgeSlotsProps, LIFECYCLE_LABEL, type LedgerEntry, _default$i as LifecycleBadge, type LifecycleBadgeProps, MEANING_COLOR, MEANING_SURFACE, _default$H as Mark, type MarkBar, type MarkProps, type MarkVariant, _default$6 as Markdown, type MarkdownBlockView, type MarkdownPiece, type MarkdownProps, type Meaning, type PickerItem, type PickerResult, _default$C as ProbeNumber, type ProbeNumberProps, type ProofCell, _default$h as ProofMatrix, type ProofMatrixProps, type ProofRow, type PyramidLevel, _default$A as QuietLine, type QuietLineProps, _default$3 as RecordPicker, type RecordPickerProps, _default$7 as RecordSource, type RecordSourceProps, _default$s as RestCloud, type RestCloudProps, type RestItem, type RestTick, type RoleChoice, _default$4 as RoleGate, type RoleGateProps, type ScanOrigin, _default$B as ScanValue, type ScanValueProps, _default$e as ScenarioLedger, type ScenarioLedgerProps, _default$j as Seal, type SealProps, type SealStripe, type Segment, _default$E as SegmentBand, type SegmentBandProps, type SegmentView, _default$r as Sheet, type SheetProps, type SignalEntry, _default$8 as SignalStack, type SignalStackProps, _default$y as Skeleton, type SkeletonProps, type SourceLine, type SourceToken, _default$K as Stack, type StackDirection, type StackProps, type StatSize, _default$w as StatValue, type StatValueProps, type Status, _default$I as Surface, type SurfaceProps, type SurfaceTone, TEST_KINDS, TEST_KIND_LABEL, TONE_COLOR, type TestKind, _default$d as TestPyramid, type TestPyramidProps, _default$L as Text, type TextElement, type TextProps, type TextStyleOptions, type TextTone, type TextVariant, _default as Timeline, type TimelineBucket, type TimelineEvent, type TimelineProps, _default$p as Trail, type TrailProps, type TrailStep, type TrailStepView, VARIANT_STYLE, type WithAnchorMapProps, type WithBarProps, type WithBlindProps, type WithButtonProps, type WithClauseSheetProps, type WithCompanionProps, type WithCounterProps, type WithCoverageRingProps, type WithDependencyFanProps, type WithDepthLadderProps, type WithDotProps, type WithEmptyStateProps, type WithEntryCardsProps, type WithErrorStateProps, type WithEvidenceLedgerProps, type WithFieldRowProps, type WithFieldSheetProps, type WithFocusRowProps, type WithGherkinStatementProps, type WithGroupTilesProps, type WithHairlineProps, type WithIndexProgressProps, type WithKbdProps, type WithKnowledgeSlotsProps, type WithLifecycleBadgeProps, type WithMarkProps, type WithMarkdownProps, type WithProbeNumberProps, type WithProofMatrixProps, type WithQuietLineProps, type WithRecordPickerProps, type WithRecordSourceProps, type WithRestCloudProps, type WithRoleGateProps, type WithScanValueProps, type WithScenarioLedgerProps, type WithSealProps, type WithSegmentBandProps, type WithSheetProps, type WithSignalStackProps, type WithSkeletonProps, type WithStackProps, type WithStatValueProps, type WithSurfaceProps, type WithTestPyramidProps, type WithTextProps, type WithTimelineProps, type WithTrailProps, color, font, fontSize, heatSurface, lifecycleColor, motion, space, textStyle, tokenizeYamlLine, withAnchorMapLogic, withBarLogic, withBlindLogic, withButtonLogic, withClauseSheetLogic, withCompanionLogic, withCounterLogic, withCoverageRingLogic, withDependencyFanLogic, withDepthLadderLogic, withDotLogic, withEmptyStateLogic, withEntryCardsLogic, withErrorStateLogic, withEvidenceLedgerLogic, withFieldRowLogic, withFieldSheetLogic, withFocusRowLogic, withGherkinStatementLogic, withGroupTilesLogic, withHairlineLogic, withIndexProgressLogic, withKbdLogic, withKnowledgeSlotsLogic, withLifecycleBadgeLogic, withMarkLogic, withMarkdownLogic, withProbeNumberLogic, withProofMatrixLogic, withQuietLineLogic, withRecordPickerLogic, withRecordSourceLogic, withRestCloudLogic, withRoleGateLogic, withScanValueLogic, withScenarioLedgerLogic, withSealLogic, withSegmentBandLogic, withSheetLogic, withSignalStackLogic, withSkeletonLogic, withStackLogic, withStatValueLogic, withSurfaceLogic, withTestPyramidLogic, withTextLogic, withTimelineLogic, withTrailLogic };