@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.
- package/dist/ai-design-system.css +2 -0
- package/dist/canvas/canvasUtils.d.ts +41 -14
- package/dist/components/trend/Trend.d.ts +2 -0
- package/dist/components/trend/index.d.ts +2 -0
- package/dist/components/trend/styles.d.ts +1 -0
- package/dist/components/trend/types.d.ts +5 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +967 -886
- package/dist/types/index.d.ts +9 -6
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
297
|
+
leftColor?: string;
|
|
295
298
|
rightPct: number;
|
|
296
299
|
rightLabel: string;
|
|
297
300
|
rightValue: string;
|
|
298
|
-
rightColor
|
|
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
|
|
308
|
+
color?: string;
|
|
306
309
|
chips?: KeyHighlightChip[];
|
|
307
310
|
takeaway?: string;
|
|
308
311
|
} | {
|