@vantageos/mosaic 0.3.1 → 0.5.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 (157) hide show
  1. package/CHANGELOG.md +88 -2
  2. package/LICENSE +110 -0
  3. package/README.md +193 -21
  4. package/dist/PipelineBoard-FucyGArR.d.cts +759 -0
  5. package/dist/PipelineBoard-FucyGArR.d.ts +759 -0
  6. package/dist/PipelineBoard.markdown-DIcvrS-2.d.cts +16 -0
  7. package/dist/PipelineBoard.markdown-DIcvrS-2.d.ts +16 -0
  8. package/dist/{StatusBadge.schema-1tOjB4Ir.d.cts → StatusBadge.schema-BEjSH2_4.d.cts} +2 -2
  9. package/dist/{StatusBadge.schema-1tOjB4Ir.d.ts → StatusBadge.schema-BEjSH2_4.d.ts} +2 -2
  10. package/dist/{Tabs.schema-BzcEyeq8.d.cts → Tabs.schema-Dqr6vwV3.d.cts} +2 -2
  11. package/dist/{Tabs.schema-BzcEyeq8.d.ts → Tabs.schema-Dqr6vwV3.d.ts} +2 -2
  12. package/dist/Timeline-Coo_3tA_.d.cts +114 -0
  13. package/dist/Timeline-Coo_3tA_.d.ts +114 -0
  14. package/dist/Timeline.markdown-C6UPDv1H.d.cts +4 -0
  15. package/dist/Timeline.markdown-C6UPDv1H.d.ts +4 -0
  16. package/dist/TransactionPreview-BzWDn8kE.d.cts +391 -0
  17. package/dist/TransactionPreview-BzWDn8kE.d.ts +391 -0
  18. package/dist/TransactionPreview.markdown-Dpb0VYgN.d.cts +7 -0
  19. package/dist/TransactionPreview.markdown-Dpb0VYgN.d.ts +7 -0
  20. package/dist/artifacts.cjs +190 -2
  21. package/dist/artifacts.cjs.map +1 -1
  22. package/dist/artifacts.js +190 -2
  23. package/dist/artifacts.js.map +1 -1
  24. package/dist/confirmation.cjs +728 -2
  25. package/dist/confirmation.cjs.map +1 -1
  26. package/dist/confirmation.d.cts +2 -1
  27. package/dist/confirmation.d.ts +2 -1
  28. package/dist/confirmation.js +726 -4
  29. package/dist/confirmation.js.map +1 -1
  30. package/dist/display.cjs +1555 -203
  31. package/dist/display.cjs.map +1 -1
  32. package/dist/display.d.cts +6 -229
  33. package/dist/display.d.ts +6 -229
  34. package/dist/display.js +1539 -206
  35. package/dist/display.js.map +1 -1
  36. package/dist/forms.cjs +139 -46
  37. package/dist/forms.cjs.map +1 -1
  38. package/dist/forms.d.cts +2 -2
  39. package/dist/forms.d.ts +2 -2
  40. package/dist/forms.js +139 -46
  41. package/dist/forms.js.map +1 -1
  42. package/dist/host.cjs +822 -0
  43. package/dist/host.cjs.map +1 -0
  44. package/dist/host.d.cts +287 -0
  45. package/dist/host.d.ts +287 -0
  46. package/dist/host.js +794 -0
  47. package/dist/host.js.map +1 -0
  48. package/dist/{index-CwXVgtGb.d.cts → index-BadRcCbm.d.cts} +28 -11
  49. package/dist/{index-CwXVgtGb.d.ts → index-BadRcCbm.d.ts} +28 -11
  50. package/dist/index.cjs +2202 -247
  51. package/dist/index.cjs.map +1 -1
  52. package/dist/index.d.cts +42 -8
  53. package/dist/index.d.ts +42 -8
  54. package/dist/index.js +2167 -251
  55. package/dist/index.js.map +1 -1
  56. package/dist/input.d.cts +2 -2
  57. package/dist/input.d.ts +2 -2
  58. package/dist/media.cjs +190 -2
  59. package/dist/media.cjs.map +1 -1
  60. package/dist/media.d.cts +1 -1
  61. package/dist/media.d.ts +1 -1
  62. package/dist/media.js +190 -2
  63. package/dist/media.js.map +1 -1
  64. package/dist/preact/artifacts.js +190 -2
  65. package/dist/preact/artifacts.js.map +1 -1
  66. package/dist/preact/confirmation.d.ts +321 -1
  67. package/dist/preact/confirmation.js +629 -4
  68. package/dist/preact/confirmation.js.map +1 -1
  69. package/dist/preact/display.d.ts +570 -31
  70. package/dist/preact/display.js +1248 -126
  71. package/dist/preact/display.js.map +1 -1
  72. package/dist/preact/forms.d.ts +32 -15
  73. package/dist/preact/forms.js +139 -46
  74. package/dist/preact/forms.js.map +1 -1
  75. package/dist/preact/host.d.ts +307 -0
  76. package/dist/preact/host.js +875 -0
  77. package/dist/preact/host.js.map +1 -0
  78. package/dist/preact/media.d.ts +37 -1
  79. package/dist/preact/media.js +423 -0
  80. package/dist/preact/media.js.map +1 -1
  81. package/dist/preact/progress.d.ts +92 -1
  82. package/dist/preact/progress.js +469 -3
  83. package/dist/preact/progress.js.map +1 -1
  84. package/dist/progress.cjs +525 -2
  85. package/dist/progress.cjs.map +1 -1
  86. package/dist/progress.d.cts +2 -1
  87. package/dist/progress.d.ts +2 -1
  88. package/dist/progress.js +522 -3
  89. package/dist/progress.js.map +1 -1
  90. package/dist/react/artifacts.cjs +190 -2
  91. package/dist/react/artifacts.cjs.map +1 -1
  92. package/dist/react/artifacts.js +190 -2
  93. package/dist/react/artifacts.js.map +1 -1
  94. package/dist/react/confirmation.cjs +630 -2
  95. package/dist/react/confirmation.cjs.map +1 -1
  96. package/dist/react/confirmation.d.cts +3 -3
  97. package/dist/react/confirmation.d.ts +3 -3
  98. package/dist/react/confirmation.js +629 -4
  99. package/dist/react/confirmation.js.map +1 -1
  100. package/dist/react/display.cjs +1137 -123
  101. package/dist/react/display.cjs.map +1 -1
  102. package/dist/react/display.d.cts +42 -14
  103. package/dist/react/display.d.ts +42 -14
  104. package/dist/react/display.js +1122 -126
  105. package/dist/react/display.js.map +1 -1
  106. package/dist/react/forms.cjs +139 -46
  107. package/dist/react/forms.cjs.map +1 -1
  108. package/dist/react/forms.d.cts +1 -1
  109. package/dist/react/forms.d.ts +1 -1
  110. package/dist/react/forms.js +139 -46
  111. package/dist/react/forms.js.map +1 -1
  112. package/dist/react/host.cjs +910 -0
  113. package/dist/react/host.cjs.map +1 -0
  114. package/dist/react/host.d.cts +24 -0
  115. package/dist/react/host.d.ts +24 -0
  116. package/dist/react/host.js +875 -0
  117. package/dist/react/host.js.map +1 -0
  118. package/dist/react/input.d.cts +1 -1
  119. package/dist/react/input.d.ts +1 -1
  120. package/dist/react/media.cjs +426 -0
  121. package/dist/react/media.cjs.map +1 -1
  122. package/dist/react/media.d.cts +19 -1
  123. package/dist/react/media.d.ts +19 -1
  124. package/dist/react/media.js +423 -0
  125. package/dist/react/media.js.map +1 -1
  126. package/dist/react/progress.cjs +471 -2
  127. package/dist/react/progress.cjs.map +1 -1
  128. package/dist/react/progress.d.cts +1 -1
  129. package/dist/react/progress.d.ts +1 -1
  130. package/dist/react/progress.js +469 -3
  131. package/dist/react/progress.js.map +1 -1
  132. package/dist/server/resource.cjs +151 -0
  133. package/dist/server/resource.cjs.map +1 -0
  134. package/dist/server/resource.d.cts +90 -0
  135. package/dist/server/resource.d.ts +90 -0
  136. package/dist/server/resource.js +147 -0
  137. package/dist/server/resource.js.map +1 -0
  138. package/dist/server.cjs +1100 -25
  139. package/dist/server.cjs.map +1 -1
  140. package/dist/server.d.cts +84 -5
  141. package/dist/server.d.ts +84 -5
  142. package/dist/server.js +1087 -27
  143. package/dist/server.js.map +1 -1
  144. package/dist/tokens.cjs +73 -22
  145. package/dist/tokens.cjs.map +1 -1
  146. package/dist/tokens.d.cts +23 -3
  147. package/dist/tokens.d.ts +23 -3
  148. package/dist/tokens.js +73 -22
  149. package/dist/tokens.js.map +1 -1
  150. package/package.json +250 -231
  151. package/registry.yaml +51 -2
  152. package/dist/Alert.schema-LPJE5gFP.d.cts +0 -71
  153. package/dist/Alert.schema-LPJE5gFP.d.ts +0 -71
  154. package/dist/ProgressBar.schema-CdVYx0Wq.d.cts +0 -22
  155. package/dist/ProgressBar.schema-CdVYx0Wq.d.ts +0 -22
  156. package/dist/{ConfirmDialog-B3CQQGmJ.d.cts → ConfirmDialog-BCtOcmHe.d.cts} +1 -1
  157. package/dist/{ConfirmDialog-B3CQQGmJ.d.ts → ConfirmDialog-BCtOcmHe.d.ts} +1 -1
@@ -0,0 +1,16 @@
1
+ /**
2
+ * A-1 fallback: the metric as markdown (label, value, unit, trend in words, change), for clients
3
+ * with no UI layer. Pure; shares the schema defaults with the view.
4
+ */
5
+ declare function statCardToMarkdown(props: unknown, locale?: "en" | "fr"): string;
6
+
7
+ /** A-1 fallback: `token: balance (network, testnet)` plus the full address, as markdown. */
8
+ declare function balanceCardToMarkdown(props: unknown, locale?: "en" | "fr"): string;
9
+
10
+ /** A-1 fallback: each message as a blockquote with sender, time, channel, content, attachment. */
11
+ declare function messageFeedToMarkdown(props: unknown, locale?: "en" | "fr"): string;
12
+
13
+ /** A-1 fallback: a stage x deal-count x total table, then the deals of each stage. */
14
+ declare function pipelineBoardToMarkdown(props: unknown, locale?: "en" | "fr"): string;
15
+
16
+ export { balanceCardToMarkdown as b, messageFeedToMarkdown as m, pipelineBoardToMarkdown as p, statCardToMarkdown as s };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * A-1 fallback: the metric as markdown (label, value, unit, trend in words, change), for clients
3
+ * with no UI layer. Pure; shares the schema defaults with the view.
4
+ */
5
+ declare function statCardToMarkdown(props: unknown, locale?: "en" | "fr"): string;
6
+
7
+ /** A-1 fallback: `token: balance (network, testnet)` plus the full address, as markdown. */
8
+ declare function balanceCardToMarkdown(props: unknown, locale?: "en" | "fr"): string;
9
+
10
+ /** A-1 fallback: each message as a blockquote with sender, time, channel, content, attachment. */
11
+ declare function messageFeedToMarkdown(props: unknown, locale?: "en" | "fr"): string;
12
+
13
+ /** A-1 fallback: a stage x deal-count x total table, then the deals of each stage. */
14
+ declare function pipelineBoardToMarkdown(props: unknown, locale?: "en" | "fr"): string;
15
+
16
+ export { balanceCardToMarkdown as b, messageFeedToMarkdown as m, pipelineBoardToMarkdown as p, statCardToMarkdown as s };
@@ -8,13 +8,13 @@ declare const StatusBadgePropsSchema: z.ZodObject<{
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  locale: "en" | "fr";
10
10
  status: string;
11
- variant: "warning" | "danger" | "success" | "info" | "neutral";
11
+ variant: "warning" | "danger" | "neutral" | "success" | "info";
12
12
  label?: string | undefined;
13
13
  }, {
14
14
  locale: "en" | "fr";
15
15
  status: string;
16
16
  label?: string | undefined;
17
- variant?: "warning" | "danger" | "success" | "info" | "neutral" | undefined;
17
+ variant?: "warning" | "danger" | "neutral" | "success" | "info" | undefined;
18
18
  }>;
19
19
  type StatusBadgeProps = z.infer<typeof StatusBadgePropsSchema>;
20
20
  declare function validateProps(raw: unknown): StatusBadgeProps;
@@ -8,13 +8,13 @@ declare const StatusBadgePropsSchema: z.ZodObject<{
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  locale: "en" | "fr";
10
10
  status: string;
11
- variant: "warning" | "danger" | "success" | "info" | "neutral";
11
+ variant: "warning" | "danger" | "neutral" | "success" | "info";
12
12
  label?: string | undefined;
13
13
  }, {
14
14
  locale: "en" | "fr";
15
15
  status: string;
16
16
  label?: string | undefined;
17
- variant?: "warning" | "danger" | "success" | "info" | "neutral" | undefined;
17
+ variant?: "warning" | "danger" | "neutral" | "success" | "info" | undefined;
18
18
  }>;
19
19
  type StatusBadgeProps = z.infer<typeof StatusBadgePropsSchema>;
20
20
  declare function validateProps(raw: unknown): StatusBadgeProps;
@@ -49,13 +49,13 @@ declare const TabsPropsSchema: z.ZodObject<{
49
49
  locale: z.ZodDefault<z.ZodEnum<["en", "fr"]>>;
50
50
  }, "strip", z.ZodTypeAny, {
51
51
  locale: "en" | "fr";
52
+ orientation: "vertical" | "horizontal";
52
53
  tabs: {
53
54
  label: string;
54
55
  id: string;
55
56
  disabled: boolean;
56
57
  content?: unknown;
57
58
  }[];
58
- orientation: "horizontal" | "vertical";
59
59
  value?: string | undefined;
60
60
  defaultValue?: string | undefined;
61
61
  }, {
@@ -67,8 +67,8 @@ declare const TabsPropsSchema: z.ZodObject<{
67
67
  }[];
68
68
  value?: string | undefined;
69
69
  locale?: "en" | "fr" | undefined;
70
+ orientation?: "vertical" | "horizontal" | undefined;
70
71
  defaultValue?: string | undefined;
71
- orientation?: "horizontal" | "vertical" | undefined;
72
72
  }>;
73
73
  /** Runtime props — onValueChange is a function (not serialisable via Zod, kept outside schema). */
74
74
  type TabsProps = z.infer<typeof TabsPropsSchema> & {
@@ -49,13 +49,13 @@ declare const TabsPropsSchema: z.ZodObject<{
49
49
  locale: z.ZodDefault<z.ZodEnum<["en", "fr"]>>;
50
50
  }, "strip", z.ZodTypeAny, {
51
51
  locale: "en" | "fr";
52
+ orientation: "vertical" | "horizontal";
52
53
  tabs: {
53
54
  label: string;
54
55
  id: string;
55
56
  disabled: boolean;
56
57
  content?: unknown;
57
58
  }[];
58
- orientation: "horizontal" | "vertical";
59
59
  value?: string | undefined;
60
60
  defaultValue?: string | undefined;
61
61
  }, {
@@ -67,8 +67,8 @@ declare const TabsPropsSchema: z.ZodObject<{
67
67
  }[];
68
68
  value?: string | undefined;
69
69
  locale?: "en" | "fr" | undefined;
70
+ orientation?: "vertical" | "horizontal" | undefined;
70
71
  defaultValue?: string | undefined;
71
- orientation?: "horizontal" | "vertical" | undefined;
72
72
  }>;
73
73
  /** Runtime props — onValueChange is a function (not serialisable via Zod, kept outside schema). */
74
74
  type TabsProps = z.infer<typeof TabsPropsSchema> & {
@@ -0,0 +1,114 @@
1
+ import { z } from 'zod';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+
4
+ declare const ProgressBarPropsSchema: z.ZodObject<{
5
+ value: z.ZodNumber;
6
+ label: z.ZodString;
7
+ locale: z.ZodDefault<z.ZodEnum<["en", "fr"]>>;
8
+ colorVariant: z.ZodDefault<z.ZodEnum<["default", "warning", "danger"]>>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ value: number;
11
+ label: string;
12
+ locale: "en" | "fr";
13
+ colorVariant: "default" | "warning" | "danger";
14
+ }, {
15
+ value: number;
16
+ label: string;
17
+ locale?: "en" | "fr" | undefined;
18
+ colorVariant?: "default" | "warning" | "danger" | undefined;
19
+ }>;
20
+ type ProgressBarProps = z.infer<typeof ProgressBarPropsSchema>;
21
+ declare function validateProps(raw: unknown): ProgressBarProps;
22
+
23
+ declare const TimelineStepSchema: z.ZodObject<{
24
+ id: z.ZodOptional<z.ZodString>;
25
+ title: z.ZodString;
26
+ status: z.ZodEnum<["done", "current", "pending", "blocked"]>;
27
+ description: z.ZodOptional<z.ZodString>;
28
+ /** ISO 8601. */
29
+ timestamp: z.ZodOptional<z.ZodString>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ status: "done" | "current" | "pending" | "blocked";
32
+ title: string;
33
+ description?: string | undefined;
34
+ id?: string | undefined;
35
+ timestamp?: string | undefined;
36
+ }, {
37
+ status: "done" | "current" | "pending" | "blocked";
38
+ title: string;
39
+ description?: string | undefined;
40
+ id?: string | undefined;
41
+ timestamp?: string | undefined;
42
+ }>;
43
+ type TimelineStep = z.infer<typeof TimelineStepSchema>;
44
+ /**
45
+ * Timeline (R02): missions as status steps — vertical or horizontal. `compact` is the Claude
46
+ * inline form (current + next step); fullscreen shows all. `{}` parses (ChatGPT entrypoint
47
+ * default).
48
+ */
49
+ declare const TimelinePropsSchema: z.ZodObject<{
50
+ steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
51
+ id: z.ZodOptional<z.ZodString>;
52
+ title: z.ZodString;
53
+ status: z.ZodEnum<["done", "current", "pending", "blocked"]>;
54
+ description: z.ZodOptional<z.ZodString>;
55
+ /** ISO 8601. */
56
+ timestamp: z.ZodOptional<z.ZodString>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ status: "done" | "current" | "pending" | "blocked";
59
+ title: string;
60
+ description?: string | undefined;
61
+ id?: string | undefined;
62
+ timestamp?: string | undefined;
63
+ }, {
64
+ status: "done" | "current" | "pending" | "blocked";
65
+ title: string;
66
+ description?: string | undefined;
67
+ id?: string | undefined;
68
+ timestamp?: string | undefined;
69
+ }>, "many">>;
70
+ orientation: z.ZodDefault<z.ZodEnum<["vertical", "horizontal"]>>;
71
+ compact: z.ZodDefault<z.ZodBoolean>;
72
+ /** IANA timezone for timestamps (e.g. `hostContext.timeZone`). Default: the viewer's. */
73
+ timeZone: z.ZodOptional<z.ZodString>;
74
+ loading: z.ZodDefault<z.ZodBoolean>;
75
+ locale: z.ZodDefault<z.ZodEnum<["en", "fr"]>>;
76
+ }, "strip", z.ZodTypeAny, {
77
+ locale: "en" | "fr";
78
+ steps: {
79
+ status: "done" | "current" | "pending" | "blocked";
80
+ title: string;
81
+ description?: string | undefined;
82
+ id?: string | undefined;
83
+ timestamp?: string | undefined;
84
+ }[];
85
+ orientation: "vertical" | "horizontal";
86
+ compact: boolean;
87
+ loading: boolean;
88
+ timeZone?: string | undefined;
89
+ }, {
90
+ locale?: "en" | "fr" | undefined;
91
+ timeZone?: string | undefined;
92
+ steps?: {
93
+ status: "done" | "current" | "pending" | "blocked";
94
+ title: string;
95
+ description?: string | undefined;
96
+ id?: string | undefined;
97
+ timestamp?: string | undefined;
98
+ }[] | undefined;
99
+ orientation?: "vertical" | "horizontal" | undefined;
100
+ compact?: boolean | undefined;
101
+ loading?: boolean | undefined;
102
+ }>;
103
+ type TimelineProps = z.input<typeof TimelinePropsSchema>;
104
+ type TimelinePropsOutput = z.output<typeof TimelinePropsSchema>;
105
+ declare function validateTimelineProps(raw: unknown): TimelinePropsOutput;
106
+
107
+ /**
108
+ * Timeline — mission steps as an ordered list (vertical or horizontal). Status is stated in words
109
+ * next to a marker (never colour alone); the current step carries `aria-current="step"`.
110
+ * `compact` is the Claude inline form: current + next step with counts of what is hidden.
111
+ */
112
+ declare function Timeline(raw?: TimelineProps): react_jsx_runtime.JSX.Element;
113
+
114
+ export { type ProgressBarProps as P, Timeline as T, ProgressBarPropsSchema as a, type TimelineProps as b, type TimelinePropsOutput as c, TimelinePropsSchema as d, type TimelineStep as e, validateTimelineProps as f, validateProps as v };
@@ -0,0 +1,114 @@
1
+ import { z } from 'zod';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+
4
+ declare const ProgressBarPropsSchema: z.ZodObject<{
5
+ value: z.ZodNumber;
6
+ label: z.ZodString;
7
+ locale: z.ZodDefault<z.ZodEnum<["en", "fr"]>>;
8
+ colorVariant: z.ZodDefault<z.ZodEnum<["default", "warning", "danger"]>>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ value: number;
11
+ label: string;
12
+ locale: "en" | "fr";
13
+ colorVariant: "default" | "warning" | "danger";
14
+ }, {
15
+ value: number;
16
+ label: string;
17
+ locale?: "en" | "fr" | undefined;
18
+ colorVariant?: "default" | "warning" | "danger" | undefined;
19
+ }>;
20
+ type ProgressBarProps = z.infer<typeof ProgressBarPropsSchema>;
21
+ declare function validateProps(raw: unknown): ProgressBarProps;
22
+
23
+ declare const TimelineStepSchema: z.ZodObject<{
24
+ id: z.ZodOptional<z.ZodString>;
25
+ title: z.ZodString;
26
+ status: z.ZodEnum<["done", "current", "pending", "blocked"]>;
27
+ description: z.ZodOptional<z.ZodString>;
28
+ /** ISO 8601. */
29
+ timestamp: z.ZodOptional<z.ZodString>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ status: "done" | "current" | "pending" | "blocked";
32
+ title: string;
33
+ description?: string | undefined;
34
+ id?: string | undefined;
35
+ timestamp?: string | undefined;
36
+ }, {
37
+ status: "done" | "current" | "pending" | "blocked";
38
+ title: string;
39
+ description?: string | undefined;
40
+ id?: string | undefined;
41
+ timestamp?: string | undefined;
42
+ }>;
43
+ type TimelineStep = z.infer<typeof TimelineStepSchema>;
44
+ /**
45
+ * Timeline (R02): missions as status steps — vertical or horizontal. `compact` is the Claude
46
+ * inline form (current + next step); fullscreen shows all. `{}` parses (ChatGPT entrypoint
47
+ * default).
48
+ */
49
+ declare const TimelinePropsSchema: z.ZodObject<{
50
+ steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
51
+ id: z.ZodOptional<z.ZodString>;
52
+ title: z.ZodString;
53
+ status: z.ZodEnum<["done", "current", "pending", "blocked"]>;
54
+ description: z.ZodOptional<z.ZodString>;
55
+ /** ISO 8601. */
56
+ timestamp: z.ZodOptional<z.ZodString>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ status: "done" | "current" | "pending" | "blocked";
59
+ title: string;
60
+ description?: string | undefined;
61
+ id?: string | undefined;
62
+ timestamp?: string | undefined;
63
+ }, {
64
+ status: "done" | "current" | "pending" | "blocked";
65
+ title: string;
66
+ description?: string | undefined;
67
+ id?: string | undefined;
68
+ timestamp?: string | undefined;
69
+ }>, "many">>;
70
+ orientation: z.ZodDefault<z.ZodEnum<["vertical", "horizontal"]>>;
71
+ compact: z.ZodDefault<z.ZodBoolean>;
72
+ /** IANA timezone for timestamps (e.g. `hostContext.timeZone`). Default: the viewer's. */
73
+ timeZone: z.ZodOptional<z.ZodString>;
74
+ loading: z.ZodDefault<z.ZodBoolean>;
75
+ locale: z.ZodDefault<z.ZodEnum<["en", "fr"]>>;
76
+ }, "strip", z.ZodTypeAny, {
77
+ locale: "en" | "fr";
78
+ steps: {
79
+ status: "done" | "current" | "pending" | "blocked";
80
+ title: string;
81
+ description?: string | undefined;
82
+ id?: string | undefined;
83
+ timestamp?: string | undefined;
84
+ }[];
85
+ orientation: "vertical" | "horizontal";
86
+ compact: boolean;
87
+ loading: boolean;
88
+ timeZone?: string | undefined;
89
+ }, {
90
+ locale?: "en" | "fr" | undefined;
91
+ timeZone?: string | undefined;
92
+ steps?: {
93
+ status: "done" | "current" | "pending" | "blocked";
94
+ title: string;
95
+ description?: string | undefined;
96
+ id?: string | undefined;
97
+ timestamp?: string | undefined;
98
+ }[] | undefined;
99
+ orientation?: "vertical" | "horizontal" | undefined;
100
+ compact?: boolean | undefined;
101
+ loading?: boolean | undefined;
102
+ }>;
103
+ type TimelineProps = z.input<typeof TimelinePropsSchema>;
104
+ type TimelinePropsOutput = z.output<typeof TimelinePropsSchema>;
105
+ declare function validateTimelineProps(raw: unknown): TimelinePropsOutput;
106
+
107
+ /**
108
+ * Timeline — mission steps as an ordered list (vertical or horizontal). Status is stated in words
109
+ * next to a marker (never colour alone); the current step carries `aria-current="step"`.
110
+ * `compact` is the Claude inline form: current + next step with counts of what is hidden.
111
+ */
112
+ declare function Timeline(raw?: TimelineProps): react_jsx_runtime.JSX.Element;
113
+
114
+ export { type ProgressBarProps as P, Timeline as T, ProgressBarPropsSchema as a, type TimelineProps as b, type TimelinePropsOutput as c, TimelinePropsSchema as d, type TimelineStep as e, validateTimelineProps as f, validateProps as v };
@@ -0,0 +1,4 @@
1
+ /** A-1 fallback: every step as an ordered list with its status, description and time. */
2
+ declare function timelineToMarkdown(props: unknown, locale?: "en" | "fr"): string;
3
+
4
+ export { timelineToMarkdown as t };
@@ -0,0 +1,4 @@
1
+ /** A-1 fallback: every step as an ordered list with its status, description and time. */
2
+ declare function timelineToMarkdown(props: unknown, locale?: "en" | "fr"): string;
3
+
4
+ export { timelineToMarkdown as t };