@divami-artefacts/ai-design-system 1.0.7 → 1.0.9

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 (84) hide show
  1. package/dist/components/areaLineChart/AreaLineChart.d.ts +2 -0
  2. package/dist/components/areaLineChart/index.d.ts +2 -0
  3. package/dist/components/{quotationTrend → areaLineChart}/types.d.ts +2 -2
  4. package/dist/components/balanceScaleChart/BalanceScaleChart.d.ts +2 -0
  5. package/dist/components/balanceScaleChart/index.d.ts +2 -0
  6. package/dist/components/balanceScaleChart/types.d.ts +6 -0
  7. package/dist/components/common/ChartEmptyState.d.ts +8 -0
  8. package/dist/components/dotMatrixChart/DotMatrixChart.d.ts +2 -0
  9. package/dist/components/dotMatrixChart/index.d.ts +2 -0
  10. package/dist/components/{ewCategory → dotMatrixChart}/types.d.ts +2 -2
  11. package/dist/components/hubAndSpokeRadialChart/HubAndSpokeRadialChart.d.ts +2 -0
  12. package/dist/components/hubAndSpokeRadialChart/index.d.ts +2 -0
  13. package/dist/components/{statusArc → hubAndSpokeRadialChart}/types.d.ts +1 -1
  14. package/dist/components/multiMetricConstellationChart/MultiMetricConstellationChart.d.ts +2 -0
  15. package/dist/components/multiMetricConstellationChart/index.d.ts +2 -0
  16. package/dist/components/multiMetricConstellationChart/types.d.ts +5 -0
  17. package/dist/components/progressRaceChart/ProgressRaceChart.d.ts +2 -0
  18. package/dist/components/progressRaceChart/index.d.ts +2 -0
  19. package/dist/components/{contractBars → progressRaceChart}/types.d.ts +2 -2
  20. package/dist/components/proportionalBandChart/ProportionalBandChart.d.ts +2 -0
  21. package/dist/components/proportionalBandChart/index.d.ts +2 -0
  22. package/dist/components/{severityBands → proportionalBandChart}/types.d.ts +1 -1
  23. package/dist/components/radialFanTreeChart/RadialFanTreeChart.d.ts +2 -0
  24. package/dist/components/radialFanTreeChart/index.d.ts +2 -0
  25. package/dist/components/{nceTree → radialFanTreeChart}/types.d.ts +2 -2
  26. package/dist/components/rankedCardLeaderboard/RankedCardLeaderboard.d.ts +2 -0
  27. package/dist/components/rankedCardLeaderboard/index.d.ts +2 -0
  28. package/dist/components/{contractorRank → rankedCardLeaderboard}/types.d.ts +2 -2
  29. package/dist/components/segmentedSplitBarChart/SegmentedSplitBarChart.d.ts +2 -0
  30. package/dist/components/segmentedSplitBarChart/index.d.ts +2 -0
  31. package/dist/components/{variationSplit → segmentedSplitBarChart}/types.d.ts +2 -2
  32. package/dist/components/semiCircularGaugeChart/SemiCircularGaugeChart.d.ts +2 -0
  33. package/dist/components/semiCircularGaugeChart/index.d.ts +2 -0
  34. package/dist/components/{compensationGauge → semiCircularGaugeChart}/types.d.ts +2 -2
  35. package/dist/components/stackedHorizontalBarChart/StackedHorizontalBarChart.d.ts +2 -0
  36. package/dist/components/stackedHorizontalBarChart/index.d.ts +2 -0
  37. package/dist/components/{contractValueOrb → stackedHorizontalBarChart}/types.d.ts +1 -1
  38. package/dist/components/trend/Trend.d.ts +1 -1
  39. package/dist/components/trend/types.d.ts +1 -1
  40. package/dist/components/weeklyFlow/WeeklyFlow.d.ts +1 -1
  41. package/dist/components/weeklyFlow/types.d.ts +1 -1
  42. package/dist/index.cjs +1 -1
  43. package/dist/index.js +614 -520
  44. package/dist/mocks/workspace.mock.d.ts +3 -3
  45. package/dist/types/index.d.ts +28 -28
  46. package/package.json +8 -4
  47. package/dist/components/commitmentRace/CommitmentRace.d.ts +0 -2
  48. package/dist/components/commitmentRace/index.d.ts +0 -2
  49. package/dist/components/commitmentRace/types.d.ts +0 -5
  50. package/dist/components/compensationGauge/CompensationGauge.d.ts +0 -2
  51. package/dist/components/compensationGauge/index.d.ts +0 -2
  52. package/dist/components/contractBars/ContractBars.d.ts +0 -2
  53. package/dist/components/contractBars/index.d.ts +0 -2
  54. package/dist/components/contractValueOrb/ContractValueOrb.d.ts +0 -2
  55. package/dist/components/contractValueOrb/index.d.ts +0 -2
  56. package/dist/components/contractorRank/ContractorRank.d.ts +0 -2
  57. package/dist/components/contractorRank/index.d.ts +0 -2
  58. package/dist/components/ewCategory/EWCategory.d.ts +0 -2
  59. package/dist/components/ewCategory/index.d.ts +0 -2
  60. package/dist/components/nceTree/NCETree.d.ts +0 -2
  61. package/dist/components/nceTree/index.d.ts +0 -2
  62. package/dist/components/quotationBalance/QuotationBalance.d.ts +0 -2
  63. package/dist/components/quotationBalance/index.d.ts +0 -2
  64. package/dist/components/quotationBalance/types.d.ts +0 -6
  65. package/dist/components/quotationTrend/QuotationTrend.d.ts +0 -2
  66. package/dist/components/quotationTrend/index.d.ts +0 -2
  67. package/dist/components/severityBands/SeverityBands.d.ts +0 -2
  68. package/dist/components/severityBands/index.d.ts +0 -2
  69. package/dist/components/statusArc/StatusArc.d.ts +0 -2
  70. package/dist/components/statusArc/index.d.ts +0 -2
  71. package/dist/components/variationSplit/VariationSplit.d.ts +0 -2
  72. package/dist/components/variationSplit/index.d.ts +0 -2
  73. /package/dist/components/{commitmentRace → areaLineChart}/styles.d.ts +0 -0
  74. /package/dist/components/{compensationGauge → balanceScaleChart}/styles.d.ts +0 -0
  75. /package/dist/components/{contractBars → dotMatrixChart}/styles.d.ts +0 -0
  76. /package/dist/components/{contractorRank → hubAndSpokeRadialChart}/styles.d.ts +0 -0
  77. /package/dist/components/{ewCategory → multiMetricConstellationChart}/styles.d.ts +0 -0
  78. /package/dist/components/{nceTree → progressRaceChart}/styles.d.ts +0 -0
  79. /package/dist/components/{quotationBalance → proportionalBandChart}/styles.d.ts +0 -0
  80. /package/dist/components/{quotationTrend → radialFanTreeChart}/styles.d.ts +0 -0
  81. /package/dist/components/{severityBands → rankedCardLeaderboard}/styles.d.ts +0 -0
  82. /package/dist/components/{statusArc → segmentedSplitBarChart}/styles.d.ts +0 -0
  83. /package/dist/components/{variationSplit → semiCircularGaugeChart}/styles.d.ts +0 -0
  84. /package/dist/components/{contractValueOrb → stackedHorizontalBarChart}/styles.d.ts +0 -0
@@ -0,0 +1,2 @@
1
+ import { AreaLineChartProps } from './types';
2
+ export declare function AreaLineChart({ points: rawTrend, 'data-testid': testId }: AreaLineChartProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { AreaLineChart } from './AreaLineChart';
2
+ export type { AreaLineChartProps } from './types';
@@ -1,5 +1,5 @@
1
1
  import { QuotationTrendPoint } from '../../types';
2
- export interface QuotationTrendProps {
3
- trend: QuotationTrendPoint[];
2
+ export interface AreaLineChartProps {
3
+ points: QuotationTrendPoint[];
4
4
  'data-testid'?: string;
5
5
  }
@@ -0,0 +1,2 @@
1
+ import { BalanceScaleChartProps } from './types';
2
+ export declare function BalanceScaleChart({ left, right, 'data-testid': testId }: BalanceScaleChartProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { BalanceScaleChart } from './BalanceScaleChart';
2
+ export type { BalanceScaleChartProps } from './types';
@@ -0,0 +1,6 @@
1
+ import { QuotationSide } from '../../types';
2
+ export interface BalanceScaleChartProps {
3
+ left: QuotationSide;
4
+ right: QuotationSide;
5
+ 'data-testid'?: string;
6
+ }
@@ -0,0 +1,8 @@
1
+ interface ChartEmptyStateProps {
2
+ width: number;
3
+ height: number;
4
+ message?: string;
5
+ 'data-testid'?: string;
6
+ }
7
+ export declare function ChartEmptyState({ width, height, message, 'data-testid': testId, }: ChartEmptyStateProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,2 @@
1
+ import { DotMatrixChartProps } from './types';
2
+ export declare function DotMatrixChart({ items: rawCategories, 'data-testid': testId }: DotMatrixChartProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { DotMatrixChart } from './DotMatrixChart';
2
+ export type { DotMatrixChartProps } from './types';
@@ -1,5 +1,5 @@
1
1
  import { EWCategoryRow } from '../../types';
2
- export interface EWCategoryProps {
3
- categories: EWCategoryRow[];
2
+ export interface DotMatrixChartProps {
3
+ items: EWCategoryRow[];
4
4
  'data-testid'?: string;
5
5
  }
@@ -0,0 +1,2 @@
1
+ import { HubAndSpokeRadialChartProps } from './types';
2
+ export declare function HubAndSpokeRadialChart({ segments: rawSegments, title, 'data-testid': testId }: HubAndSpokeRadialChartProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { HubAndSpokeRadialChart } from './HubAndSpokeRadialChart';
2
+ export type { HubAndSpokeRadialChartProps, StatusSegment } from './types';
@@ -2,7 +2,7 @@ export interface StatusSegment {
2
2
  status: string;
3
3
  count: number;
4
4
  }
5
- export interface StatusArcProps {
5
+ export interface HubAndSpokeRadialChartProps {
6
6
  segments: StatusSegment[];
7
7
  title?: string;
8
8
  'data-testid'?: string;
@@ -0,0 +1,2 @@
1
+ import { MultiMetricConstellationChartProps } from './types';
2
+ export declare function MultiMetricConstellationChart({ items: rawItems, 'data-testid': testId }: MultiMetricConstellationChartProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { MultiMetricConstellationChart } from './MultiMetricConstellationChart';
2
+ export type { MultiMetricConstellationChartProps } from './types';
@@ -0,0 +1,5 @@
1
+ import { ContractorRow } from '../../types';
2
+ export interface MultiMetricConstellationChartProps {
3
+ items: ContractorRow[];
4
+ 'data-testid'?: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ import { ProgressRaceChartProps } from './types';
2
+ export declare function ProgressRaceChart({ items: rawItems, 'data-testid': testId }: ProgressRaceChartProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { ProgressRaceChart } from './ProgressRaceChart';
2
+ export type { ProgressRaceChartProps } from './types';
@@ -1,5 +1,5 @@
1
1
  import { ContractorRow } from '../../types';
2
- export interface ContractBarsProps {
3
- contractors: ContractorRow[];
2
+ export interface ProgressRaceChartProps {
3
+ items: ContractorRow[];
4
4
  'data-testid'?: string;
5
5
  }
@@ -0,0 +1,2 @@
1
+ import { ProportionalBandChartProps } from './types';
2
+ export declare function ProportionalBandChart({ severities: rawSeverities, 'data-testid': testId }: ProportionalBandChartProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { ProportionalBandChart } from './ProportionalBandChart';
2
+ export type { ProportionalBandChartProps } from './types';
@@ -1,5 +1,5 @@
1
1
  import { EWSeverityRow } from '../../types';
2
- export interface SeverityBandsProps {
2
+ export interface ProportionalBandChartProps {
3
3
  severities: EWSeverityRow[];
4
4
  'data-testid'?: string;
5
5
  }
@@ -0,0 +1,2 @@
1
+ import { RadialFanTreeChartProps } from './types';
2
+ export declare function RadialFanTreeChart({ total, items: rawByContractor, 'data-testid': testId }: RadialFanTreeChartProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { RadialFanTreeChart } from './RadialFanTreeChart';
2
+ export type { RadialFanTreeChartProps } from './types';
@@ -1,6 +1,6 @@
1
1
  import { NCEContractorRow } from '../../types';
2
- export interface NCETreeProps {
2
+ export interface RadialFanTreeChartProps {
3
3
  total: number;
4
- byContractor: NCEContractorRow[];
4
+ items: NCEContractorRow[];
5
5
  'data-testid'?: string;
6
6
  }
@@ -0,0 +1,2 @@
1
+ import { RankedCardLeaderboardProps } from './types';
2
+ export declare function RankedCardLeaderboard({ items: rawItems, 'data-testid': testId }: RankedCardLeaderboardProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { RankedCardLeaderboard } from './RankedCardLeaderboard';
2
+ export type { RankedCardLeaderboardProps } from './types';
@@ -1,5 +1,5 @@
1
1
  import { EWOpenContractorRow } from '../../types';
2
- export interface ContractorRankProps {
3
- contractors: EWOpenContractorRow[];
2
+ export interface RankedCardLeaderboardProps {
3
+ items: EWOpenContractorRow[];
4
4
  'data-testid'?: string;
5
5
  }
@@ -0,0 +1,2 @@
1
+ import { SegmentedSplitBarChartProps } from './types';
2
+ export declare function SegmentedSplitBarChart({ items: rawItems, 'data-testid': testId }: SegmentedSplitBarChartProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { SegmentedSplitBarChart } from './SegmentedSplitBarChart';
2
+ export type { SegmentedSplitBarChartProps } from './types';
@@ -1,5 +1,5 @@
1
1
  import { VariationRow } from '../../types';
2
- export interface VariationSplitProps {
3
- contractors: VariationRow[];
2
+ export interface SegmentedSplitBarChartProps {
3
+ items: VariationRow[];
4
4
  'data-testid'?: string;
5
5
  }
@@ -0,0 +1,2 @@
1
+ import { SemiCircularGaugeChartProps } from './types';
2
+ export declare function SemiCircularGaugeChart({ value, confirmed, total, 'data-testid': testId }: SemiCircularGaugeChartProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { SemiCircularGaugeChart } from './SemiCircularGaugeChart';
2
+ export type { SemiCircularGaugeChartProps } from './types';
@@ -1,5 +1,5 @@
1
- export interface CompensationGaugeProps {
2
- pct: number;
1
+ export interface SemiCircularGaugeChartProps {
2
+ value: number;
3
3
  confirmed: number;
4
4
  total: number;
5
5
  'data-testid'?: string;
@@ -0,0 +1,2 @@
1
+ import { StackedHorizontalBarChartProps } from './types';
2
+ export declare function StackedHorizontalBarChart({ data, 'data-testid': testId }: StackedHorizontalBarChartProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { StackedHorizontalBarChart } from './StackedHorizontalBarChart';
2
+ export type { StackedHorizontalBarChartProps } from './types';
@@ -1,5 +1,5 @@
1
1
  import { ContractData } from '../../types';
2
- export interface ContractValueOrbProps {
2
+ export interface StackedHorizontalBarChartProps {
3
3
  data: ContractData;
4
4
  'data-testid'?: string;
5
5
  }
@@ -1,2 +1,2 @@
1
1
  import { TrendProps } from './types';
2
- export declare function Trend({ trend, 'data-testid': testId }: TrendProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function Trend({ points: rawPoints, 'data-testid': testId }: TrendProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { QuotationTrendPoint } from '../../types';
2
2
  export interface TrendProps {
3
- trend: QuotationTrendPoint[];
3
+ points: QuotationTrendPoint[];
4
4
  'data-testid'?: string;
5
5
  }
@@ -1,2 +1,2 @@
1
1
  import { WeeklyFlowProps } from './types';
2
- export declare function WeeklyFlow({ contractors, 'data-testid': testId }: WeeklyFlowProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function WeeklyFlow({ items: items, 'data-testid': testId }: WeeklyFlowProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { ContractorRow } from '../../types';
2
2
  export interface WeeklyFlowProps {
3
- contractors: ContractorRow[];
3
+ items: ContractorRow[];
4
4
  'data-testid'?: string;
5
5
  }