@divami-artefacts/ai-design-system 1.0.3 → 1.0.5

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.
@@ -155,6 +155,9 @@ export type BaseVisualizationConfig = {
155
155
  } | {
156
156
  type: 'quotation-trend';
157
157
  trend: QuotationTrendPoint[];
158
+ } | {
159
+ type: 'trend-view';
160
+ trend: QuotationTrendPoint[];
158
161
  } | {
159
162
  type: 'weekly-flow';
160
163
  contractors: ContractorRow[];
@@ -242,7 +245,7 @@ export type KeyHighlightBadge = {
242
245
  };
243
246
  export type KeyHighlightDot = {
244
247
  val: number;
245
- color: string;
248
+ color?: string;
246
249
  name: string;
247
250
  };
248
251
  export type FlagsListRow = {
@@ -260,7 +263,7 @@ export type ScorecardRow = {
260
263
  name: string;
261
264
  value: string;
262
265
  pct: number;
263
- color: string;
266
+ color?: string;
264
267
  badge?: string;
265
268
  badgeSeverity?: 'green' | 'amber' | 'red';
266
269
  sublabel?: string;
@@ -282,7 +285,7 @@ export type KeyHighlightBlock = {
282
285
  items: Array<{
283
286
  name: string;
284
287
  value: string;
285
- color: string;
288
+ color?: string;
286
289
  kpiLabel?: string;
287
290
  }>;
288
291
  takeaway?: string;
@@ -291,18 +294,18 @@ export type KeyHighlightBlock = {
291
294
  leftPct: number;
292
295
  leftLabel: string;
293
296
  leftValue: string;
294
- leftColor: string;
297
+ leftColor?: string;
295
298
  rightPct: number;
296
299
  rightLabel: string;
297
300
  rightValue: string;
298
- rightColor: string;
301
+ rightColor?: string;
299
302
  chips?: KeyHighlightChip[];
300
303
  takeaway?: string;
301
304
  } | {
302
305
  type: 'ring';
303
306
  pct: number;
304
307
  label: string;
305
- color: string;
308
+ color?: string;
306
309
  chips?: KeyHighlightChip[];
307
310
  takeaway?: string;
308
311
  } | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@divami-artefacts/ai-design-system",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "module": "./dist/index.js",