@vantageos/mosaic 0.4.0 → 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 (150) hide show
  1. package/CHANGELOG.md +39 -15
  2. package/README.md +114 -5
  3. package/dist/PipelineBoard-FucyGArR.d.cts +759 -0
  4. package/dist/PipelineBoard-FucyGArR.d.ts +759 -0
  5. package/dist/PipelineBoard.markdown-DIcvrS-2.d.cts +16 -0
  6. package/dist/PipelineBoard.markdown-DIcvrS-2.d.ts +16 -0
  7. package/dist/{StatusBadge.schema-1tOjB4Ir.d.cts → StatusBadge.schema-BEjSH2_4.d.cts} +2 -2
  8. package/dist/{StatusBadge.schema-1tOjB4Ir.d.ts → StatusBadge.schema-BEjSH2_4.d.ts} +2 -2
  9. package/dist/{Tabs.schema-BzcEyeq8.d.cts → Tabs.schema-Dqr6vwV3.d.cts} +2 -2
  10. package/dist/{Tabs.schema-BzcEyeq8.d.ts → Tabs.schema-Dqr6vwV3.d.ts} +2 -2
  11. package/dist/Timeline-Coo_3tA_.d.cts +114 -0
  12. package/dist/Timeline-Coo_3tA_.d.ts +114 -0
  13. package/dist/Timeline.markdown-C6UPDv1H.d.cts +4 -0
  14. package/dist/Timeline.markdown-C6UPDv1H.d.ts +4 -0
  15. package/dist/TransactionPreview-BzWDn8kE.d.cts +391 -0
  16. package/dist/TransactionPreview-BzWDn8kE.d.ts +391 -0
  17. package/dist/TransactionPreview.markdown-Dpb0VYgN.d.cts +7 -0
  18. package/dist/TransactionPreview.markdown-Dpb0VYgN.d.ts +7 -0
  19. package/dist/artifacts.cjs +186 -2
  20. package/dist/artifacts.cjs.map +1 -1
  21. package/dist/artifacts.js +186 -2
  22. package/dist/artifacts.js.map +1 -1
  23. package/dist/confirmation.cjs +724 -2
  24. package/dist/confirmation.cjs.map +1 -1
  25. package/dist/confirmation.d.cts +2 -1
  26. package/dist/confirmation.d.ts +2 -1
  27. package/dist/confirmation.js +722 -4
  28. package/dist/confirmation.js.map +1 -1
  29. package/dist/display.cjs +1551 -203
  30. package/dist/display.cjs.map +1 -1
  31. package/dist/display.d.cts +6 -229
  32. package/dist/display.d.ts +6 -229
  33. package/dist/display.js +1535 -206
  34. package/dist/display.js.map +1 -1
  35. package/dist/forms.cjs +139 -46
  36. package/dist/forms.cjs.map +1 -1
  37. package/dist/forms.d.cts +2 -2
  38. package/dist/forms.d.ts +2 -2
  39. package/dist/forms.js +139 -46
  40. package/dist/forms.js.map +1 -1
  41. package/dist/host.cjs +822 -0
  42. package/dist/host.cjs.map +1 -0
  43. package/dist/host.d.cts +287 -0
  44. package/dist/host.d.ts +287 -0
  45. package/dist/host.js +794 -0
  46. package/dist/host.js.map +1 -0
  47. package/dist/{index-CwXVgtGb.d.cts → index-BadRcCbm.d.cts} +28 -11
  48. package/dist/{index-CwXVgtGb.d.ts → index-BadRcCbm.d.ts} +28 -11
  49. package/dist/index.cjs +2198 -247
  50. package/dist/index.cjs.map +1 -1
  51. package/dist/index.d.cts +42 -8
  52. package/dist/index.d.ts +42 -8
  53. package/dist/index.js +2163 -251
  54. package/dist/index.js.map +1 -1
  55. package/dist/input.d.cts +2 -2
  56. package/dist/input.d.ts +2 -2
  57. package/dist/media.cjs +186 -2
  58. package/dist/media.cjs.map +1 -1
  59. package/dist/media.d.cts +1 -1
  60. package/dist/media.d.ts +1 -1
  61. package/dist/media.js +186 -2
  62. package/dist/media.js.map +1 -1
  63. package/dist/preact/artifacts.js +186 -2
  64. package/dist/preact/artifacts.js.map +1 -1
  65. package/dist/preact/confirmation.d.ts +321 -1
  66. package/dist/preact/confirmation.js +625 -4
  67. package/dist/preact/confirmation.js.map +1 -1
  68. package/dist/preact/display.d.ts +544 -47
  69. package/dist/preact/display.js +1190 -126
  70. package/dist/preact/display.js.map +1 -1
  71. package/dist/preact/forms.d.ts +32 -15
  72. package/dist/preact/forms.js +139 -46
  73. package/dist/preact/forms.js.map +1 -1
  74. package/dist/preact/host.d.ts +307 -0
  75. package/dist/preact/host.js +875 -0
  76. package/dist/preact/host.js.map +1 -0
  77. package/dist/preact/media.d.ts +37 -1
  78. package/dist/preact/media.js +423 -0
  79. package/dist/preact/media.js.map +1 -1
  80. package/dist/preact/progress.d.ts +92 -1
  81. package/dist/preact/progress.js +465 -3
  82. package/dist/preact/progress.js.map +1 -1
  83. package/dist/progress.cjs +521 -2
  84. package/dist/progress.cjs.map +1 -1
  85. package/dist/progress.d.cts +2 -1
  86. package/dist/progress.d.ts +2 -1
  87. package/dist/progress.js +518 -3
  88. package/dist/progress.js.map +1 -1
  89. package/dist/react/artifacts.cjs +186 -2
  90. package/dist/react/artifacts.cjs.map +1 -1
  91. package/dist/react/artifacts.js +186 -2
  92. package/dist/react/artifacts.js.map +1 -1
  93. package/dist/react/confirmation.cjs +626 -2
  94. package/dist/react/confirmation.cjs.map +1 -1
  95. package/dist/react/confirmation.d.cts +3 -3
  96. package/dist/react/confirmation.d.ts +3 -3
  97. package/dist/react/confirmation.js +625 -4
  98. package/dist/react/confirmation.js.map +1 -1
  99. package/dist/react/display.cjs +1076 -123
  100. package/dist/react/display.cjs.map +1 -1
  101. package/dist/react/display.d.cts +13 -27
  102. package/dist/react/display.d.ts +13 -27
  103. package/dist/react/display.js +1064 -126
  104. package/dist/react/display.js.map +1 -1
  105. package/dist/react/forms.cjs +139 -46
  106. package/dist/react/forms.cjs.map +1 -1
  107. package/dist/react/forms.d.cts +1 -1
  108. package/dist/react/forms.d.ts +1 -1
  109. package/dist/react/forms.js +139 -46
  110. package/dist/react/forms.js.map +1 -1
  111. package/dist/react/host.cjs +910 -0
  112. package/dist/react/host.cjs.map +1 -0
  113. package/dist/react/host.d.cts +24 -0
  114. package/dist/react/host.d.ts +24 -0
  115. package/dist/react/host.js +875 -0
  116. package/dist/react/host.js.map +1 -0
  117. package/dist/react/input.d.cts +1 -1
  118. package/dist/react/input.d.ts +1 -1
  119. package/dist/react/media.cjs +426 -0
  120. package/dist/react/media.cjs.map +1 -1
  121. package/dist/react/media.d.cts +19 -1
  122. package/dist/react/media.d.ts +19 -1
  123. package/dist/react/media.js +423 -0
  124. package/dist/react/media.js.map +1 -1
  125. package/dist/react/progress.cjs +467 -2
  126. package/dist/react/progress.cjs.map +1 -1
  127. package/dist/react/progress.d.cts +1 -1
  128. package/dist/react/progress.d.ts +1 -1
  129. package/dist/react/progress.js +465 -3
  130. package/dist/react/progress.js.map +1 -1
  131. package/dist/server/resource.cjs +151 -0
  132. package/dist/server/resource.cjs.map +1 -0
  133. package/dist/server/resource.d.cts +90 -0
  134. package/dist/server/resource.d.ts +90 -0
  135. package/dist/server/resource.js +147 -0
  136. package/dist/server/resource.js.map +1 -0
  137. package/dist/server.cjs +1100 -25
  138. package/dist/server.cjs.map +1 -1
  139. package/dist/server.d.cts +84 -5
  140. package/dist/server.d.ts +84 -5
  141. package/dist/server.js +1087 -27
  142. package/dist/server.js.map +1 -1
  143. package/package.json +250 -233
  144. package/registry.yaml +44 -2
  145. package/dist/Alert.schema-LPJE5gFP.d.cts +0 -71
  146. package/dist/Alert.schema-LPJE5gFP.d.ts +0 -71
  147. package/dist/ProgressBar.schema-CdVYx0Wq.d.cts +0 -22
  148. package/dist/ProgressBar.schema-CdVYx0Wq.d.ts +0 -22
  149. package/dist/{ConfirmDialog-B3CQQGmJ.d.cts → ConfirmDialog-BCtOcmHe.d.cts} +1 -1
  150. package/dist/{ConfirmDialog-B3CQQGmJ.d.ts → ConfirmDialog-BCtOcmHe.d.ts} +1 -1
@@ -1,9 +1,10 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { EmptyStateProps } from '../display.cjs';
4
- export { EmptyStatePropsSchema, Skeleton, SkeletonProps, SkeletonPropsSchema, StreamingTableView, StreamingTableViewProps, TableView, TableViewProps, TableViewPropsSchema, resolveSkeletonDimensions, validateEmptyStateProps, validateSkeletonProps, validateTableViewProps } from '../display.cjs';
3
+ import { E as EmptyStateProps } from '../PipelineBoard-FucyGArR.cjs';
4
+ export { B as BalanceCard, a as BalanceCardProps, b as BalanceCardPropsOutput, c as BalanceCardPropsSchema, C as ColumnDef, d as ColumnKind, e as EmptyStatePropsSchema, F as FeedMessage, M as MessageFeed, h as MessageFeedProps, i as MessageFeedPropsOutput, j as MessageFeedPropsSchema, k as MessageFeedViewProps, P as PipelineBoard, l as PipelineBoardProps, m as PipelineBoardPropsOutput, n as PipelineBoardPropsSchema, o as PipelineBoardViewProps, p as PipelineDeal, q as PipelineStage, S as SelectionMode, r as Skeleton, s as SkeletonProps, t as SkeletonPropsSchema, u as SortDirection, v as SortState, w as StatCard, x as StatCardProps, y as StatCardPropsOutput, z as StatCardPropsSchema, A as StreamingTableView, D as StreamingTableViewProps, T as TableView, G as TableViewOptions, H as TableViewProps, I as TableViewPropsSchema, L as compareDecimalStrings, N as nextSort, O as resolveSkeletonDimensions, Q as sortItems, R as validateBalanceCardProps, U as validateEmptyStateProps, V as validateMessageFeedProps, W as validatePipelineBoardProps, X as validateSkeletonProps, Y as validateStatCardProps, Z as validateTableViewProps } from '../PipelineBoard-FucyGArR.cjs';
5
5
  import { z } from 'zod';
6
- export { S as StatusBadgeProps, a as StatusBadgePropsSchema, v as validateStatusBadgeProps } from '../StatusBadge.schema-1tOjB4Ir.cjs';
6
+ export { StatusBadge } from './media.cjs';
7
+ export { S as StatusBadgeProps, a as StatusBadgePropsSchema, v as validateStatusBadgeProps } from '../StatusBadge.schema-BEjSH2_4.cjs';
7
8
  import 'rxjs';
8
9
 
9
10
  /**
@@ -51,20 +52,20 @@ declare const VirtualListPropsSchema: z.ZodObject<{
51
52
  items: unknown[];
52
53
  locale?: "en" | "fr" | undefined;
53
54
  className?: string | undefined;
54
- itemHeight?: number | undefined;
55
+ onRowClick?: ((args_0: unknown, args_1: number, ...args: unknown[]) => void) | undefined;
55
56
  estimateSize?: ((args_0: number, ...args: unknown[]) => number) | undefined;
56
- renderItem?: ((args_0: unknown, args_1: number, ...args: unknown[]) => unknown) | undefined;
57
57
  overscan?: number | undefined;
58
- onRowClick?: ((args_0: unknown, args_1: number, ...args: unknown[]) => void) | undefined;
58
+ itemHeight?: number | undefined;
59
+ renderItem?: ((args_0: unknown, args_1: number, ...args: unknown[]) => unknown) | undefined;
59
60
  }, {
60
61
  items: unknown[];
61
62
  locale?: "en" | "fr" | undefined;
62
63
  className?: string | undefined;
63
- itemHeight?: number | undefined;
64
+ onRowClick?: ((args_0: unknown, args_1: number, ...args: unknown[]) => void) | undefined;
64
65
  estimateSize?: ((args_0: number, ...args: unknown[]) => number) | undefined;
65
- renderItem?: ((args_0: unknown, args_1: number, ...args: unknown[]) => unknown) | undefined;
66
66
  overscan?: number | undefined;
67
- onRowClick?: ((args_0: unknown, args_1: number, ...args: unknown[]) => void) | undefined;
67
+ itemHeight?: number | undefined;
68
+ renderItem?: ((args_0: unknown, args_1: number, ...args: unknown[]) => unknown) | undefined;
68
69
  }>;
69
70
  type VirtualListPropsSchemaOutput = z.output<typeof VirtualListPropsSchema>;
70
71
  /**
@@ -112,21 +113,6 @@ declare function validateVirtualListProps(raw: unknown): VirtualListPropsSchemaO
112
113
  */
113
114
  declare function VirtualList<T = unknown>(props: VirtualListProps<T>): react_jsx_runtime.JSX.Element;
114
115
 
115
- /**
116
- * StatusBadge — cross-runtime status indicator badge (React 19 implementation).
117
- *
118
- * Accepts `Record<string, unknown>` for MCP postMessage injection safety.
119
- * Zod validation narrows before render. Invalid props → accessible error span.
120
- *
121
- * WCAG-AA:
122
- * - `<output>` has implicit role="status" per ARIA spec §5.3.17
123
- * - aria-label from `label` prop (falls back to `status` string)
124
- * - `lang` attribute set to locale for correct AT language announcement
125
- *
126
- * Bilingue: EN/FR strings resolved via t() from i18n/strings — no hardcoded literals.
127
- */
128
- declare function StatusBadge(raw: Record<string, unknown>): react_jsx_runtime.JSX.Element;
129
-
130
116
  /**
131
117
  * Badge — cross-runtime generic visual label primitive (React 19 implementation).
132
118
  *
@@ -155,18 +141,18 @@ declare const BadgePropsSchema: z.ZodObject<{
155
141
  locale: z.ZodDefault<z.ZodEnum<["en", "fr"]>>;
156
142
  }, "strip", z.ZodTypeAny, {
157
143
  label: string;
158
- variant: "primary" | "default" | "success" | "warning" | "danger" | "info" | "neutral";
159
144
  locale: "en" | "fr";
145
+ variant: "default" | "warning" | "danger" | "primary" | "neutral" | "success" | "info";
160
146
  count?: number | undefined;
161
147
  dot?: boolean | undefined;
162
148
  }, {
163
149
  label: string;
164
- variant?: "primary" | "default" | "success" | "warning" | "danger" | "info" | "neutral" | undefined;
165
150
  locale?: "en" | "fr" | undefined;
151
+ variant?: "default" | "warning" | "danger" | "primary" | "neutral" | "success" | "info" | undefined;
166
152
  count?: number | undefined;
167
153
  dot?: boolean | undefined;
168
154
  }>;
169
155
  type BadgeProps = z.infer<typeof BadgePropsSchema>;
170
156
  declare function validateBadgeProps(raw: unknown): BadgeProps;
171
157
 
172
- export { Badge, type BadgeProps, BadgePropsSchema, EmptyState, EmptyStateProps, StatusBadge, VirtualList, type VirtualListProps, VirtualListPropsSchema, validateBadgeProps, validateVirtualListProps };
158
+ export { Badge, type BadgeProps, BadgePropsSchema, EmptyState, EmptyStateProps, VirtualList, type VirtualListProps, VirtualListPropsSchema, validateBadgeProps, validateVirtualListProps };
@@ -1,9 +1,10 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { EmptyStateProps } from '../display.js';
4
- export { EmptyStatePropsSchema, Skeleton, SkeletonProps, SkeletonPropsSchema, StreamingTableView, StreamingTableViewProps, TableView, TableViewProps, TableViewPropsSchema, resolveSkeletonDimensions, validateEmptyStateProps, validateSkeletonProps, validateTableViewProps } from '../display.js';
3
+ import { E as EmptyStateProps } from '../PipelineBoard-FucyGArR.js';
4
+ export { B as BalanceCard, a as BalanceCardProps, b as BalanceCardPropsOutput, c as BalanceCardPropsSchema, C as ColumnDef, d as ColumnKind, e as EmptyStatePropsSchema, F as FeedMessage, M as MessageFeed, h as MessageFeedProps, i as MessageFeedPropsOutput, j as MessageFeedPropsSchema, k as MessageFeedViewProps, P as PipelineBoard, l as PipelineBoardProps, m as PipelineBoardPropsOutput, n as PipelineBoardPropsSchema, o as PipelineBoardViewProps, p as PipelineDeal, q as PipelineStage, S as SelectionMode, r as Skeleton, s as SkeletonProps, t as SkeletonPropsSchema, u as SortDirection, v as SortState, w as StatCard, x as StatCardProps, y as StatCardPropsOutput, z as StatCardPropsSchema, A as StreamingTableView, D as StreamingTableViewProps, T as TableView, G as TableViewOptions, H as TableViewProps, I as TableViewPropsSchema, L as compareDecimalStrings, N as nextSort, O as resolveSkeletonDimensions, Q as sortItems, R as validateBalanceCardProps, U as validateEmptyStateProps, V as validateMessageFeedProps, W as validatePipelineBoardProps, X as validateSkeletonProps, Y as validateStatCardProps, Z as validateTableViewProps } from '../PipelineBoard-FucyGArR.js';
5
5
  import { z } from 'zod';
6
- export { S as StatusBadgeProps, a as StatusBadgePropsSchema, v as validateStatusBadgeProps } from '../StatusBadge.schema-1tOjB4Ir.js';
6
+ export { StatusBadge } from './media.js';
7
+ export { S as StatusBadgeProps, a as StatusBadgePropsSchema, v as validateStatusBadgeProps } from '../StatusBadge.schema-BEjSH2_4.js';
7
8
  import 'rxjs';
8
9
 
9
10
  /**
@@ -51,20 +52,20 @@ declare const VirtualListPropsSchema: z.ZodObject<{
51
52
  items: unknown[];
52
53
  locale?: "en" | "fr" | undefined;
53
54
  className?: string | undefined;
54
- itemHeight?: number | undefined;
55
+ onRowClick?: ((args_0: unknown, args_1: number, ...args: unknown[]) => void) | undefined;
55
56
  estimateSize?: ((args_0: number, ...args: unknown[]) => number) | undefined;
56
- renderItem?: ((args_0: unknown, args_1: number, ...args: unknown[]) => unknown) | undefined;
57
57
  overscan?: number | undefined;
58
- onRowClick?: ((args_0: unknown, args_1: number, ...args: unknown[]) => void) | undefined;
58
+ itemHeight?: number | undefined;
59
+ renderItem?: ((args_0: unknown, args_1: number, ...args: unknown[]) => unknown) | undefined;
59
60
  }, {
60
61
  items: unknown[];
61
62
  locale?: "en" | "fr" | undefined;
62
63
  className?: string | undefined;
63
- itemHeight?: number | undefined;
64
+ onRowClick?: ((args_0: unknown, args_1: number, ...args: unknown[]) => void) | undefined;
64
65
  estimateSize?: ((args_0: number, ...args: unknown[]) => number) | undefined;
65
- renderItem?: ((args_0: unknown, args_1: number, ...args: unknown[]) => unknown) | undefined;
66
66
  overscan?: number | undefined;
67
- onRowClick?: ((args_0: unknown, args_1: number, ...args: unknown[]) => void) | undefined;
67
+ itemHeight?: number | undefined;
68
+ renderItem?: ((args_0: unknown, args_1: number, ...args: unknown[]) => unknown) | undefined;
68
69
  }>;
69
70
  type VirtualListPropsSchemaOutput = z.output<typeof VirtualListPropsSchema>;
70
71
  /**
@@ -112,21 +113,6 @@ declare function validateVirtualListProps(raw: unknown): VirtualListPropsSchemaO
112
113
  */
113
114
  declare function VirtualList<T = unknown>(props: VirtualListProps<T>): react_jsx_runtime.JSX.Element;
114
115
 
115
- /**
116
- * StatusBadge — cross-runtime status indicator badge (React 19 implementation).
117
- *
118
- * Accepts `Record<string, unknown>` for MCP postMessage injection safety.
119
- * Zod validation narrows before render. Invalid props → accessible error span.
120
- *
121
- * WCAG-AA:
122
- * - `<output>` has implicit role="status" per ARIA spec §5.3.17
123
- * - aria-label from `label` prop (falls back to `status` string)
124
- * - `lang` attribute set to locale for correct AT language announcement
125
- *
126
- * Bilingue: EN/FR strings resolved via t() from i18n/strings — no hardcoded literals.
127
- */
128
- declare function StatusBadge(raw: Record<string, unknown>): react_jsx_runtime.JSX.Element;
129
-
130
116
  /**
131
117
  * Badge — cross-runtime generic visual label primitive (React 19 implementation).
132
118
  *
@@ -155,18 +141,18 @@ declare const BadgePropsSchema: z.ZodObject<{
155
141
  locale: z.ZodDefault<z.ZodEnum<["en", "fr"]>>;
156
142
  }, "strip", z.ZodTypeAny, {
157
143
  label: string;
158
- variant: "primary" | "default" | "success" | "warning" | "danger" | "info" | "neutral";
159
144
  locale: "en" | "fr";
145
+ variant: "default" | "warning" | "danger" | "primary" | "neutral" | "success" | "info";
160
146
  count?: number | undefined;
161
147
  dot?: boolean | undefined;
162
148
  }, {
163
149
  label: string;
164
- variant?: "primary" | "default" | "success" | "warning" | "danger" | "info" | "neutral" | undefined;
165
150
  locale?: "en" | "fr" | undefined;
151
+ variant?: "default" | "warning" | "danger" | "primary" | "neutral" | "success" | "info" | undefined;
166
152
  count?: number | undefined;
167
153
  dot?: boolean | undefined;
168
154
  }>;
169
155
  type BadgeProps = z.infer<typeof BadgePropsSchema>;
170
156
  declare function validateBadgeProps(raw: unknown): BadgeProps;
171
157
 
172
- export { Badge, type BadgeProps, BadgePropsSchema, EmptyState, EmptyStateProps, StatusBadge, VirtualList, type VirtualListProps, VirtualListPropsSchema, validateBadgeProps, validateVirtualListProps };
158
+ export { Badge, type BadgeProps, BadgePropsSchema, EmptyState, EmptyStateProps, VirtualList, type VirtualListProps, VirtualListPropsSchema, validateBadgeProps, validateVirtualListProps };