@divami-artefacts/ai-design-system 1.0.2 → 1.0.4

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.
@@ -242,7 +242,7 @@ export type KeyHighlightBadge = {
242
242
  };
243
243
  export type KeyHighlightDot = {
244
244
  val: number;
245
- color: string;
245
+ color?: string;
246
246
  name: string;
247
247
  };
248
248
  export type FlagsListRow = {
@@ -260,7 +260,7 @@ export type ScorecardRow = {
260
260
  name: string;
261
261
  value: string;
262
262
  pct: number;
263
- color: string;
263
+ color?: string;
264
264
  badge?: string;
265
265
  badgeSeverity?: 'green' | 'amber' | 'red';
266
266
  sublabel?: string;
@@ -282,7 +282,7 @@ export type KeyHighlightBlock = {
282
282
  items: Array<{
283
283
  name: string;
284
284
  value: string;
285
- color: string;
285
+ color?: string;
286
286
  kpiLabel?: string;
287
287
  }>;
288
288
  takeaway?: string;
@@ -291,18 +291,18 @@ export type KeyHighlightBlock = {
291
291
  leftPct: number;
292
292
  leftLabel: string;
293
293
  leftValue: string;
294
- leftColor: string;
294
+ leftColor?: string;
295
295
  rightPct: number;
296
296
  rightLabel: string;
297
297
  rightValue: string;
298
- rightColor: string;
298
+ rightColor?: string;
299
299
  chips?: KeyHighlightChip[];
300
300
  takeaway?: string;
301
301
  } | {
302
302
  type: 'ring';
303
303
  pct: number;
304
304
  label: string;
305
- color: string;
305
+ color?: string;
306
306
  chips?: KeyHighlightChip[];
307
307
  takeaway?: string;
308
308
  } | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@divami-artefacts/ai-design-system",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "module": "./dist/index.js",