@archieai/ui 1.4.1 → 2.1.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.
- package/README.md +16 -1
- package/dist/Search-DR0PlkBC.cjs +2 -0
- package/dist/Search-DR0PlkBC.cjs.map +1 -0
- package/dist/{Search-Cll_4Ycv.js → Search-XtroVPea.js} +585 -558
- package/dist/Search-XtroVPea.js.map +1 -0
- package/dist/UIRenderer.d.ts +11 -0
- package/dist/UIRenderer.d.ts.map +1 -0
- package/dist/brands/index.d.ts +55 -0
- package/dist/brands/index.d.ts.map +1 -0
- package/dist/components/atoms/Avatar/Avatar.styles.d.ts +2 -2
- package/dist/components/atoms/Badge/Badge.d.ts +10 -0
- package/dist/components/atoms/Badge/Badge.d.ts.map +1 -0
- package/dist/components/atoms/Badge/Badge.styles.d.ts +4 -0
- package/dist/components/atoms/Badge/Badge.styles.d.ts.map +1 -0
- package/dist/components/atoms/DeltaPill/DeltaPill.d.ts +13 -0
- package/dist/components/atoms/DeltaPill/DeltaPill.d.ts.map +1 -0
- package/dist/components/atoms/DeltaPill/index.d.ts +13 -0
- package/dist/components/atoms/DeltaPill/index.d.ts.map +1 -0
- package/dist/components/atoms/FootnoteRef/FootnoteRef.d.ts +14 -0
- package/dist/components/atoms/FootnoteRef/FootnoteRef.d.ts.map +1 -0
- package/dist/components/atoms/SparklineCell/SparklineCell.d.ts +21 -0
- package/dist/components/atoms/SparklineCell/SparklineCell.d.ts.map +1 -0
- package/dist/components/atoms/StatusIndicator/StatusIndicator.styles.d.ts +2 -2
- package/dist/components/atoms/StatusPill/StatusPill.d.ts +16 -0
- package/dist/components/atoms/StatusPill/StatusPill.d.ts.map +1 -0
- package/dist/components/atoms/StatusPill/index.d.ts +11 -0
- package/dist/components/atoms/StatusPill/index.d.ts.map +1 -0
- package/dist/components/atoms/Typography/Typography.d.ts +2 -2
- package/dist/components/atoms/Typography/Typography.d.ts.map +1 -1
- package/dist/components/atoms/icons/Bug.d.ts +7 -0
- package/dist/components/atoms/icons/Bug.d.ts.map +1 -0
- package/dist/components/atoms/icons/Users.d.ts.map +1 -1
- package/dist/components/atoms/icons/index.d.ts +1 -0
- package/dist/components/atoms/icons/index.d.ts.map +1 -1
- package/dist/components/canvas/widgets/AnswerableListWidget.d.ts +3 -0
- package/dist/components/canvas/widgets/AnswerableListWidget.d.ts.map +1 -0
- package/dist/components/canvas/widgets/AssignmentWidget.d.ts +3 -0
- package/dist/components/canvas/widgets/AssignmentWidget.d.ts.map +1 -0
- package/dist/components/canvas/widgets/ConfirmationWidget.d.ts +3 -0
- package/dist/components/canvas/widgets/ConfirmationWidget.d.ts.map +1 -0
- package/dist/components/canvas/widgets/DraftApprovalWidget.d.ts +3 -0
- package/dist/components/canvas/widgets/DraftApprovalWidget.d.ts.map +1 -0
- package/dist/components/canvas/widgets/MultiChoiceWidget.d.ts +3 -0
- package/dist/components/canvas/widgets/MultiChoiceWidget.d.ts.map +1 -0
- package/dist/components/canvas/widgets/PlanApprovalWidget.d.ts +3 -0
- package/dist/components/canvas/widgets/PlanApprovalWidget.d.ts.map +1 -0
- package/dist/components/canvas/widgets/QuestionWidget.d.ts +3 -0
- package/dist/components/canvas/widgets/QuestionWidget.d.ts.map +1 -0
- package/dist/components/canvas/widgets/types.d.ts +18 -0
- package/dist/components/canvas/widgets/types.d.ts.map +1 -0
- package/dist/components/email/EmailEditor.d.ts +32 -0
- package/dist/components/email/EmailEditor.d.ts.map +1 -0
- package/dist/components/molecules/ArtifactCard/ArtifactCard.styles.d.ts +5 -5
- package/dist/components/molecules/AuditStamp/AuditStamp.d.ts +20 -0
- package/dist/components/molecules/AuditStamp/AuditStamp.d.ts.map +1 -0
- package/dist/components/molecules/Banner/Banner.d.ts +12 -0
- package/dist/components/molecules/Banner/Banner.d.ts.map +1 -0
- package/dist/components/molecules/Banner/Banner.styles.d.ts +10 -0
- package/dist/components/molecules/Banner/Banner.styles.d.ts.map +1 -0
- package/dist/components/molecules/BriefingCard/BriefingCard.d.ts +19 -0
- package/dist/components/molecules/BriefingCard/BriefingCard.d.ts.map +1 -0
- package/dist/components/molecules/BriefingCard/index.d.ts +16 -0
- package/dist/components/molecules/BriefingCard/index.d.ts.map +1 -0
- package/dist/components/molecules/Button/Button.d.ts +13 -8
- package/dist/components/molecules/Button/Button.d.ts.map +1 -1
- package/dist/components/molecules/Button/Button.styles.d.ts +3 -5
- package/dist/components/molecules/Button/Button.styles.d.ts.map +1 -1
- package/dist/components/molecules/Card/Card.d.ts +7 -0
- package/dist/components/molecules/Card/Card.d.ts.map +1 -0
- package/dist/components/molecules/Card/Card.styles.d.ts +5 -0
- package/dist/components/molecules/Card/Card.styles.d.ts.map +1 -0
- package/dist/components/molecules/Checkbox/Checkbox.d.ts +1 -0
- package/dist/components/molecules/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/molecules/Checkbox/Checkbox.styles.d.ts +1 -0
- package/dist/components/molecules/Checkbox/Checkbox.styles.d.ts.map +1 -1
- package/dist/components/molecules/Chip/Chip.d.ts +2 -1
- package/dist/components/molecules/Chip/Chip.d.ts.map +1 -1
- package/dist/components/molecules/Chip/Chip.styles.d.ts +9 -6
- package/dist/components/molecules/Chip/Chip.styles.d.ts.map +1 -1
- package/dist/components/molecules/Chip/Chip.types.d.ts +29 -1
- package/dist/components/molecules/Chip/Chip.types.d.ts.map +1 -1
- package/dist/components/molecules/Chip/components/ChipDeleteButton.d.ts.map +1 -1
- package/dist/components/molecules/Chip/components/ChipLeadingContent.d.ts +1 -0
- package/dist/components/molecules/Chip/components/ChipLeadingContent.d.ts.map +1 -1
- package/dist/components/molecules/Chip/index.d.ts +1 -1
- package/dist/components/molecules/Chip/index.d.ts.map +1 -1
- package/dist/components/molecules/CircularProgress/CircularProgress.styles.d.ts +1 -1
- package/dist/components/molecules/CommentaryBlock/CommentaryBlock.d.ts +22 -0
- package/dist/components/molecules/CommentaryBlock/CommentaryBlock.d.ts.map +1 -0
- package/dist/components/molecules/ComparisonToggle/ComparisonToggle.d.ts +22 -0
- package/dist/components/molecules/ComparisonToggle/ComparisonToggle.d.ts.map +1 -0
- package/dist/components/molecules/CopyButton/CopyButton.d.ts +8 -0
- package/dist/components/molecules/CopyButton/CopyButton.d.ts.map +1 -0
- package/dist/components/molecules/DataAccordion/DataAccordion.d.ts +13 -0
- package/dist/components/molecules/DataAccordion/DataAccordion.d.ts.map +1 -0
- package/dist/components/molecules/Dropdown/Dropdown.styles.d.ts +1 -1
- package/dist/components/molecules/EmptyState/EmptyState.d.ts +15 -0
- package/dist/components/molecules/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/components/molecules/EmptyState/index.d.ts +15 -0
- package/dist/components/molecules/EmptyState/index.d.ts.map +1 -0
- package/dist/components/molecules/ExportBar/ExportBar.d.ts +21 -0
- package/dist/components/molecules/ExportBar/ExportBar.d.ts.map +1 -0
- package/dist/components/molecules/FieldRow/FieldRow.d.ts +11 -0
- package/dist/components/molecules/FieldRow/FieldRow.d.ts.map +1 -0
- package/dist/components/molecules/{ChatFile → FileIcon}/FileIcon.d.ts +2 -1
- package/dist/components/molecules/FileIcon/FileIcon.d.ts.map +1 -0
- package/dist/components/molecules/FileIcon/FileIcon.styles.d.ts +4 -0
- package/dist/components/molecules/FileIcon/FileIcon.styles.d.ts.map +1 -0
- package/dist/components/molecules/FootnoteList/FootnoteList.d.ts +14 -0
- package/dist/components/molecules/FootnoteList/FootnoteList.d.ts.map +1 -0
- package/dist/components/molecules/Input/Input.d.ts +5 -1
- package/dist/components/molecules/Input/Input.d.ts.map +1 -1
- package/dist/components/molecules/Input/Input.styles.d.ts +4 -4
- package/dist/components/molecules/Input/Input.styles.d.ts.map +1 -1
- package/dist/components/molecules/KpiStrip/KpiStrip.d.ts +22 -0
- package/dist/components/molecules/KpiStrip/KpiStrip.d.ts.map +1 -0
- package/dist/components/molecules/KpiStrip/index.d.ts +19 -0
- package/dist/components/molecules/KpiStrip/index.d.ts.map +1 -0
- package/dist/components/molecules/LoadingSpinner/LoadingSpinner.styles.d.ts +1 -1
- package/dist/components/molecules/MessageBubble/MessageBubble.d.ts +9 -1
- package/dist/components/molecules/MessageBubble/MessageBubble.d.ts.map +1 -1
- package/dist/components/molecules/MessageBubble/MessageBubble.styles.d.ts +6 -1
- package/dist/components/molecules/MessageBubble/MessageBubble.styles.d.ts.map +1 -1
- package/dist/components/molecules/MessageBubble/useElapsedTime.d.ts +6 -0
- package/dist/components/molecules/MessageBubble/useElapsedTime.d.ts.map +1 -0
- package/dist/components/molecules/MetricCard/MetricCard.d.ts +19 -0
- package/dist/components/molecules/MetricCard/MetricCard.d.ts.map +1 -0
- package/dist/components/molecules/MetricCard/index.d.ts +16 -0
- package/dist/components/molecules/MetricCard/index.d.ts.map +1 -0
- package/dist/components/molecules/NumberInput/NumberInput.d.ts +15 -0
- package/dist/components/molecules/NumberInput/NumberInput.d.ts.map +1 -0
- package/dist/components/molecules/PasswordField/PasswordField.d.ts +15 -0
- package/dist/components/molecules/PasswordField/PasswordField.d.ts.map +1 -0
- package/dist/components/molecules/PeriodSelector/PeriodSelector.d.ts +24 -0
- package/dist/components/molecules/PeriodSelector/PeriodSelector.d.ts.map +1 -0
- package/dist/components/molecules/ProgressBar/ProgressBar.styles.d.ts +1 -1
- package/dist/components/molecules/ReportBanner/ReportBanner.d.ts +23 -0
- package/dist/components/molecules/ReportBanner/ReportBanner.d.ts.map +1 -0
- package/dist/components/molecules/ReportBanner/index.d.ts +20 -0
- package/dist/components/molecules/ReportBanner/index.d.ts.map +1 -0
- package/dist/components/molecules/ReportHeader/ReportHeader.d.ts +21 -0
- package/dist/components/molecules/ReportHeader/ReportHeader.d.ts.map +1 -0
- package/dist/components/molecules/ReportHeader/index.d.ts +16 -0
- package/dist/components/molecules/ReportHeader/index.d.ts.map +1 -0
- package/dist/components/molecules/ReportSection/ReportSection.d.ts +21 -0
- package/dist/components/molecules/ReportSection/ReportSection.d.ts.map +1 -0
- package/dist/components/molecules/Select/Select.d.ts +13 -0
- package/dist/components/molecules/Select/Select.d.ts.map +1 -0
- package/dist/components/molecules/SettingsNav/SettingsNav.d.ts +17 -0
- package/dist/components/molecules/SettingsNav/SettingsNav.d.ts.map +1 -0
- package/dist/components/molecules/SidebarItem/SidebarItem.d.ts +2 -0
- package/dist/components/molecules/SidebarItem/SidebarItem.d.ts.map +1 -1
- package/dist/components/molecules/SidebarItem/SidebarItem.styles.d.ts +2 -0
- package/dist/components/molecules/SidebarItem/SidebarItem.styles.d.ts.map +1 -1
- package/dist/components/molecules/StatusMessage/StatusMessage.styles.d.ts +2 -2
- package/dist/components/molecules/Tabs/Tabs.d.ts +3 -1
- package/dist/components/molecules/Tabs/Tabs.d.ts.map +1 -1
- package/dist/components/molecules/Tabs/Tabs.styles.d.ts +2 -2
- package/dist/components/molecules/Tabs/Tabs.styles.d.ts.map +1 -1
- package/dist/components/molecules/Tag/Tag.d.ts +1 -1
- package/dist/components/molecules/Tag/Tag.d.ts.map +1 -1
- package/dist/components/molecules/Tag/Tag.styles.d.ts +1 -1
- package/dist/components/molecules/Tag/Tag.styles.d.ts.map +1 -1
- package/dist/components/molecules/TextArea/TextArea.d.ts +4 -0
- package/dist/components/molecules/TextArea/TextArea.d.ts.map +1 -1
- package/dist/components/molecules/TextArea/TextArea.styles.d.ts +1 -1
- package/dist/components/molecules/Toast/Toast.d.ts +1 -0
- package/dist/components/molecules/Toast/Toast.d.ts.map +1 -1
- package/dist/components/molecules/Toast/Toast.styles.d.ts +3 -3
- package/dist/components/molecules/Toast/Toast.styles.d.ts.map +1 -1
- package/dist/components/molecules/Toggle/Toggle.d.ts +5 -0
- package/dist/components/molecules/Toggle/Toggle.d.ts.map +1 -1
- package/dist/components/molecules/Toggle/Toggle.styles.d.ts +11 -2
- package/dist/components/molecules/Toggle/Toggle.styles.d.ts.map +1 -1
- package/dist/components/molecules/Tooltip/Tooltip.styles.d.ts +2 -2
- package/dist/components/molecules/VarianceBand/VarianceBand.d.ts +18 -0
- package/dist/components/molecules/VarianceBand/VarianceBand.d.ts.map +1 -0
- package/dist/components/molecules/VarianceBand/index.d.ts +15 -0
- package/dist/components/molecules/VarianceBand/index.d.ts.map +1 -0
- package/dist/components/organisms/BudgetVarianceTable/BudgetVarianceTable.d.ts +31 -0
- package/dist/components/organisms/BudgetVarianceTable/BudgetVarianceTable.d.ts.map +1 -0
- package/dist/components/organisms/Charts/AreaChart/AreaChart.d.ts +19 -0
- package/dist/components/organisms/Charts/AreaChart/AreaChart.d.ts.map +1 -0
- package/dist/components/organisms/Charts/AreaChart/index.d.ts +3 -0
- package/dist/components/organisms/Charts/AreaChart/index.d.ts.map +1 -0
- package/dist/components/organisms/Charts/BarChart/BarChart.d.ts +18 -0
- package/dist/components/organisms/Charts/BarChart/BarChart.d.ts.map +1 -0
- package/dist/components/organisms/Charts/BarChart/index.d.ts +3 -0
- package/dist/components/organisms/Charts/BarChart/index.d.ts.map +1 -0
- package/dist/components/organisms/Charts/BulletChart/BulletChart.d.ts +33 -0
- package/dist/components/organisms/Charts/BulletChart/BulletChart.d.ts.map +1 -0
- package/dist/components/organisms/Charts/BulletChart/index.d.ts +2 -0
- package/dist/components/organisms/Charts/BulletChart/index.d.ts.map +1 -0
- package/dist/components/organisms/Charts/ChartSection/ChartSection.d.ts +21 -0
- package/dist/components/organisms/Charts/ChartSection/ChartSection.d.ts.map +1 -0
- package/dist/components/organisms/Charts/ChartSection/index.d.ts +3 -0
- package/dist/components/organisms/Charts/ChartSection/index.d.ts.map +1 -0
- package/dist/components/organisms/Charts/DonutChart/DonutChart.d.ts +24 -0
- package/dist/components/organisms/Charts/DonutChart/DonutChart.d.ts.map +1 -0
- package/dist/components/organisms/Charts/DonutChart/index.d.ts +3 -0
- package/dist/components/organisms/Charts/DonutChart/index.d.ts.map +1 -0
- package/dist/components/organisms/Charts/ForecastChart/ForecastChart.d.ts +22 -0
- package/dist/components/organisms/Charts/ForecastChart/ForecastChart.d.ts.map +1 -0
- package/dist/components/organisms/Charts/ForecastChart/index.d.ts +3 -0
- package/dist/components/organisms/Charts/ForecastChart/index.d.ts.map +1 -0
- package/dist/components/organisms/Charts/FunnelChart/FunnelChart.d.ts +28 -0
- package/dist/components/organisms/Charts/FunnelChart/FunnelChart.d.ts.map +1 -0
- package/dist/components/organisms/Charts/FunnelChart/index.d.ts +2 -0
- package/dist/components/organisms/Charts/FunnelChart/index.d.ts.map +1 -0
- package/dist/components/organisms/Charts/HeatMap/HeatMap.d.ts +23 -0
- package/dist/components/organisms/Charts/HeatMap/HeatMap.d.ts.map +1 -0
- package/dist/components/organisms/Charts/HeatMap/index.d.ts +3 -0
- package/dist/components/organisms/Charts/HeatMap/index.d.ts.map +1 -0
- package/dist/components/organisms/Charts/HorizontalBarChart/HorizontalBarChart.d.ts +20 -0
- package/dist/components/organisms/Charts/HorizontalBarChart/HorizontalBarChart.d.ts.map +1 -0
- package/dist/components/organisms/Charts/HorizontalBarChart/index.d.ts +3 -0
- package/dist/components/organisms/Charts/HorizontalBarChart/index.d.ts.map +1 -0
- package/dist/components/organisms/Charts/LineChart/LineChart.d.ts +26 -0
- package/dist/components/organisms/Charts/LineChart/LineChart.d.ts.map +1 -0
- package/dist/components/organisms/Charts/LineChart/index.d.ts +3 -0
- package/dist/components/organisms/Charts/LineChart/index.d.ts.map +1 -0
- package/dist/components/organisms/Charts/WaterfallChart/WaterfallChart.d.ts +17 -0
- package/dist/components/organisms/Charts/WaterfallChart/WaterfallChart.d.ts.map +1 -0
- package/dist/components/organisms/Charts/WaterfallChart/index.d.ts +3 -0
- package/dist/components/organisms/Charts/WaterfallChart/index.d.ts.map +1 -0
- package/dist/components/organisms/Charts/index.d.ts +27 -0
- package/dist/components/organisms/Charts/index.d.ts.map +1 -0
- package/dist/components/organisms/Charts/types.d.ts +54 -0
- package/dist/components/organisms/Charts/types.d.ts.map +1 -0
- package/dist/components/organisms/Charts/utils/colorScheme.d.ts +32 -0
- package/dist/components/organisms/Charts/utils/colorScheme.d.ts.map +1 -0
- package/dist/components/organisms/Charts/utils/format.d.ts +4 -0
- package/dist/components/organisms/Charts/utils/format.d.ts.map +1 -0
- package/dist/components/organisms/Charts/utils/path.d.ts +11 -0
- package/dist/components/organisms/Charts/utils/path.d.ts.map +1 -0
- package/dist/components/organisms/Charts/utils/scales.d.ts +10 -0
- package/dist/components/organisms/Charts/utils/scales.d.ts.map +1 -0
- package/dist/components/organisms/CoverPage/CoverPage.d.ts +40 -0
- package/dist/components/organisms/CoverPage/CoverPage.d.ts.map +1 -0
- package/dist/components/organisms/CoverPage/index.d.ts +3 -0
- package/dist/components/organisms/CoverPage/index.d.ts.map +1 -0
- package/dist/components/organisms/DataTable/DataTable.d.ts +32 -0
- package/dist/components/organisms/DataTable/DataTable.d.ts.map +1 -0
- package/dist/components/organisms/DrillDownRow/DrillDownRow.d.ts +29 -0
- package/dist/components/organisms/DrillDownRow/DrillDownRow.d.ts.map +1 -0
- package/dist/components/organisms/ExecutiveSummaryPage/ExecutiveSummaryPage.d.ts +25 -0
- package/dist/components/organisms/ExecutiveSummaryPage/ExecutiveSummaryPage.d.ts.map +1 -0
- package/dist/components/organisms/ExecutiveSummaryPage/index.d.ts +3 -0
- package/dist/components/organisms/ExecutiveSummaryPage/index.d.ts.map +1 -0
- package/dist/components/organisms/FinancialTable/FinancialTable.d.ts +50 -0
- package/dist/components/organisms/FinancialTable/FinancialTable.d.ts.map +1 -0
- package/dist/components/organisms/KpiObservations/KpiObservations.d.ts +25 -0
- package/dist/components/organisms/KpiObservations/KpiObservations.d.ts.map +1 -0
- package/dist/components/organisms/KpiObservations/index.d.ts +3 -0
- package/dist/components/organisms/KpiObservations/index.d.ts.map +1 -0
- package/dist/components/organisms/KpiResultsTable/KpiResultsTable.d.ts +34 -0
- package/dist/components/organisms/KpiResultsTable/KpiResultsTable.d.ts.map +1 -0
- package/dist/components/organisms/KpiResultsTable/index.d.ts +3 -0
- package/dist/components/organisms/KpiResultsTable/index.d.ts.map +1 -0
- package/dist/components/organisms/KpiStatCard/KpiStatCard.d.ts +25 -0
- package/dist/components/organisms/KpiStatCard/KpiStatCard.d.ts.map +1 -0
- package/dist/components/organisms/KpiWheel/KpiWheel.d.ts +19 -0
- package/dist/components/organisms/KpiWheel/KpiWheel.d.ts.map +1 -0
- package/dist/components/organisms/Modal/Modal.d.ts +1 -1
- package/dist/components/organisms/Modal/Modal.d.ts.map +1 -1
- package/dist/components/organisms/Modal/Modal.styles.d.ts +3 -2
- package/dist/components/organisms/Modal/Modal.styles.d.ts.map +1 -1
- package/dist/components/organisms/Modal/Modal.types.d.ts +3 -1
- package/dist/components/organisms/Modal/Modal.types.d.ts.map +1 -1
- package/dist/components/organisms/PivotTable/PivotTable.d.ts +32 -0
- package/dist/components/organisms/PivotTable/PivotTable.d.ts.map +1 -0
- package/dist/components/organisms/ReportPage/ReportPage.d.ts +24 -0
- package/dist/components/organisms/ReportPage/ReportPage.d.ts.map +1 -0
- package/dist/components/organisms/SettingsSectionCard/SettingsSectionCard.d.ts +17 -0
- package/dist/components/organisms/SettingsSectionCard/SettingsSectionCard.d.ts.map +1 -0
- package/dist/components/report/ApprovalCard.d.ts +3 -0
- package/dist/components/report/ApprovalCard.d.ts.map +1 -0
- package/dist/components/report/AuditStamp.d.ts +3 -0
- package/dist/components/report/AuditStamp.d.ts.map +1 -0
- package/dist/components/report/Banner.d.ts +3 -0
- package/dist/components/report/Banner.d.ts.map +1 -0
- package/dist/components/report/BriefingCard.d.ts +3 -0
- package/dist/components/report/BriefingCard.d.ts.map +1 -0
- package/dist/components/report/CommentaryBlock.d.ts +3 -0
- package/dist/components/report/CommentaryBlock.d.ts.map +1 -0
- package/dist/components/report/ComparisonToggle.d.ts +3 -0
- package/dist/components/report/ComparisonToggle.d.ts.map +1 -0
- package/dist/components/report/DataTable.d.ts +3 -0
- package/dist/components/report/DataTable.d.ts.map +1 -0
- package/dist/components/report/DeltaPill.d.ts +3 -0
- package/dist/components/report/DeltaPill.d.ts.map +1 -0
- package/dist/components/report/DrillDownRow.d.ts +3 -0
- package/dist/components/report/DrillDownRow.d.ts.map +1 -0
- package/dist/components/report/EmptyState.d.ts +3 -0
- package/dist/components/report/EmptyState.d.ts.map +1 -0
- package/dist/components/report/EntityCard.d.ts +3 -0
- package/dist/components/report/EntityCard.d.ts.map +1 -0
- package/dist/components/report/ExportBar.d.ts +3 -0
- package/dist/components/report/ExportBar.d.ts.map +1 -0
- package/dist/components/report/FilterBar.d.ts +3 -0
- package/dist/components/report/FilterBar.d.ts.map +1 -0
- package/dist/components/report/FinancialTable.d.ts +3 -0
- package/dist/components/report/FinancialTable.d.ts.map +1 -0
- package/dist/components/report/FootnoteList.d.ts +3 -0
- package/dist/components/report/FootnoteList.d.ts.map +1 -0
- package/dist/components/report/FootnoteRef.d.ts +3 -0
- package/dist/components/report/FootnoteRef.d.ts.map +1 -0
- package/dist/components/report/Grid.d.ts +6 -0
- package/dist/components/report/Grid.d.ts.map +1 -0
- package/dist/components/report/KpiStrip.d.ts +3 -0
- package/dist/components/report/KpiStrip.d.ts.map +1 -0
- package/dist/components/report/MetricCard.d.ts +3 -0
- package/dist/components/report/MetricCard.d.ts.map +1 -0
- package/dist/components/report/PeriodSelector.d.ts +3 -0
- package/dist/components/report/PeriodSelector.d.ts.map +1 -0
- package/dist/components/report/PivotTable.d.ts +3 -0
- package/dist/components/report/PivotTable.d.ts.map +1 -0
- package/dist/components/report/ProgressBar.d.ts +3 -0
- package/dist/components/report/ProgressBar.d.ts.map +1 -0
- package/dist/components/report/ReportBanner.d.ts +3 -0
- package/dist/components/report/ReportBanner.d.ts.map +1 -0
- package/dist/components/report/ReportHeader.d.ts +3 -0
- package/dist/components/report/ReportHeader.d.ts.map +1 -0
- package/dist/components/report/ReportPage.d.ts +6 -0
- package/dist/components/report/ReportPage.d.ts.map +1 -0
- package/dist/components/report/ReportSection.d.ts +6 -0
- package/dist/components/report/ReportSection.d.ts.map +1 -0
- package/dist/components/report/ReportToolbar.d.ts +3 -0
- package/dist/components/report/ReportToolbar.d.ts.map +1 -0
- package/dist/components/report/SectionCard.d.ts +6 -0
- package/dist/components/report/SectionCard.d.ts.map +1 -0
- package/dist/components/report/SparklineCell.d.ts +3 -0
- package/dist/components/report/SparklineCell.d.ts.map +1 -0
- package/dist/components/report/Stack.d.ts +6 -0
- package/dist/components/report/Stack.d.ts.map +1 -0
- package/dist/components/report/StackedBarChart.d.ts +3 -0
- package/dist/components/report/StackedBarChart.d.ts.map +1 -0
- package/dist/components/report/StatCard.d.ts +3 -0
- package/dist/components/report/StatCard.d.ts.map +1 -0
- package/dist/components/report/StatusPill.d.ts +3 -0
- package/dist/components/report/StatusPill.d.ts.map +1 -0
- package/dist/components/report/TaskCard.d.ts +3 -0
- package/dist/components/report/TaskCard.d.ts.map +1 -0
- package/dist/components/report/VarianceBand.d.ts +3 -0
- package/dist/components/report/VarianceBand.d.ts.map +1 -0
- package/dist/components/report/WorkstreamCard.d.ts +3 -0
- package/dist/components/report/WorkstreamCard.d.ts.map +1 -0
- package/dist/components/report/index.d.ts +35 -0
- package/dist/components/report/index.d.ts.map +1 -0
- package/dist/fonts/LICENSE.txt +92 -0
- package/dist/fonts/OFL.txt +93 -0
- package/dist/fonts/geist/Geist-Bold.woff2 +0 -0
- package/dist/fonts/geist/Geist-Medium.woff2 +0 -0
- package/dist/fonts/geist/Geist-Regular.woff2 +0 -0
- package/dist/fonts/geist/Geist-SemiBold.woff2 +0 -0
- package/dist/fonts/geist-mono/GeistMono-Medium.woff2 +0 -0
- package/dist/fonts/geist-mono/GeistMono-Regular.woff2 +0 -0
- package/dist/fonts/geist-mono/GeistMono-SemiBold.woff2 +0 -0
- package/dist/icons.cjs +1 -1
- package/dist/icons.cjs.map +1 -1
- package/dist/icons.js +311 -303
- package/dist/icons.js.map +1 -1
- package/dist/index.cjs +104 -46
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +98 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8366 -3805
- package/dist/index.js.map +1 -1
- package/dist/panes/archie/pages/design-studio/StudioContext.d.ts +9 -0
- package/dist/panes/archie/pages/design-studio/StudioContext.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/archie-ui.d.ts +17 -0
- package/dist/panes/archie/pages/design-studio/stories/archie-ui.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/buttons.d.ts +7 -0
- package/dist/panes/archie/pages/design-studio/stories/buttons.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/charts-recharts.d.ts +15 -0
- package/dist/panes/archie/pages/design-studio/stories/charts-recharts.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/charts.d.ts +16 -0
- package/dist/panes/archie/pages/design-studio/stories/charts.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/colors.d.ts +6 -0
- package/dist/panes/archie/pages/design-studio/stories/colors.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/conversation.d.ts +13 -0
- package/dist/panes/archie/pages/design-studio/stories/conversation.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/data-display.d.ts +5 -0
- package/dist/panes/archie/pages/design-studio/stories/data-display.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/email-editor.d.ts +8 -0
- package/dist/panes/archie/pages/design-studio/stories/email-editor.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/feedback.d.ts +4 -0
- package/dist/panes/archie/pages/design-studio/stories/feedback.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/form-controls.d.ts +7 -0
- package/dist/panes/archie/pages/design-studio/stories/form-controls.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/icons.d.ts +6 -0
- package/dist/panes/archie/pages/design-studio/stories/icons.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/management-report.d.ts +21 -0
- package/dist/panes/archie/pages/design-studio/stories/management-report.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/navigation.d.ts +4 -0
- package/dist/panes/archie/pages/design-studio/stories/navigation.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/platform/platform-controls.d.ts +6 -0
- package/dist/panes/archie/pages/design-studio/stories/platform/platform-controls.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/platform/platform-typography.d.ts +5 -0
- package/dist/panes/archie/pages/design-studio/stories/platform/platform-typography.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/platform/platform-window-chrome.d.ts +5 -0
- package/dist/panes/archie/pages/design-studio/stories/platform/platform-window-chrome.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/reports-v2.d.ts +10 -0
- package/dist/panes/archie/pages/design-studio/stories/reports-v2.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/reports.d.ts +10 -0
- package/dist/panes/archie/pages/design-studio/stories/reports.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/sales-forecasts.d.ts +22 -0
- package/dist/panes/archie/pages/design-studio/stories/sales-forecasts.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/settings-ui.d.ts +4 -0
- package/dist/panes/archie/pages/design-studio/stories/settings-ui.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/tokens.d.ts +6 -0
- package/dist/panes/archie/pages/design-studio/stories/tokens.d.ts.map +1 -0
- package/dist/panes/archie/pages/design-studio/stories/topic-workspace.d.ts +13 -0
- package/dist/panes/archie/pages/design-studio/stories/topic-workspace.d.ts.map +1 -0
- package/dist/platform/PlatformProvider.d.ts +55 -0
- package/dist/platform/PlatformProvider.d.ts.map +1 -0
- package/dist/platform/index.d.ts +4 -0
- package/dist/platform/index.d.ts.map +1 -0
- package/dist/platform/tokens.d.ts +3 -0
- package/dist/platform/tokens.d.ts.map +1 -0
- package/dist/platform/types.d.ts +32 -0
- package/dist/platform/types.d.ts.map +1 -0
- package/dist/report-types.d.ts +431 -0
- package/dist/report-types.d.ts.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/types/renderMode.d.ts +12 -0
- package/dist/types/renderMode.d.ts.map +1 -0
- package/package.json +6 -2
- package/dist/Search-BAtBAqQf.cjs +0 -2
- package/dist/Search-BAtBAqQf.cjs.map +0 -1
- package/dist/Search-Cll_4Ycv.js.map +0 -1
- package/dist/components/molecules/ChatFile/ChatFile.d.ts +0 -33
- package/dist/components/molecules/ChatFile/ChatFile.d.ts.map +0 -1
- package/dist/components/molecules/ChatFile/ChatFile.styles.d.ts +0 -16
- package/dist/components/molecules/ChatFile/ChatFile.styles.d.ts.map +0 -1
- package/dist/components/molecules/ChatFile/FileIcon.d.ts.map +0 -1
- package/dist/components/molecules/ChatFile/index.d.ts +0 -5
- package/dist/components/molecules/ChatFile/index.d.ts.map +0 -1
- package/dist/fonts/signifier/signifier-extralight.woff2 +0 -0
- package/dist/fonts/signifier/signifier-light.woff2 +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/Charts/WaterfallChart/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export type { DataPoint, ChartConfig, ValueType, RenderMode, ColorSchemeName } from './types';
|
|
2
|
+
export { C, DONUT_COLORS, FONT_MONO, FONT_SANS, PAD } from './types';
|
|
3
|
+
export type { ResolvedChartColors } from './utils/colorScheme';
|
|
4
|
+
export { COLOR_SCHEMES, resolveChartColors, hexToRgba } from './utils/colorScheme';
|
|
5
|
+
export { ChartSection } from './ChartSection';
|
|
6
|
+
export type { ChartSectionProps } from './ChartSection';
|
|
7
|
+
export { BarChart } from './BarChart';
|
|
8
|
+
export type { BarChartProps } from './BarChart';
|
|
9
|
+
export { LineChart } from './LineChart';
|
|
10
|
+
export type { LineChartProps, LineSeries } from './LineChart';
|
|
11
|
+
export { AreaChart } from './AreaChart';
|
|
12
|
+
export type { AreaChartProps } from './AreaChart';
|
|
13
|
+
export { WaterfallChart } from './WaterfallChart';
|
|
14
|
+
export type { WaterfallChartProps } from './WaterfallChart';
|
|
15
|
+
export { HorizontalBarChart } from './HorizontalBarChart';
|
|
16
|
+
export type { HorizontalBarChartProps } from './HorizontalBarChart';
|
|
17
|
+
export { DonutChart } from './DonutChart';
|
|
18
|
+
export type { DonutChartProps, DonutSegment } from './DonutChart';
|
|
19
|
+
export { ForecastChart } from './ForecastChart';
|
|
20
|
+
export type { ForecastChartProps } from './ForecastChart';
|
|
21
|
+
export { FunnelChart } from './FunnelChart';
|
|
22
|
+
export type { FunnelChartProps, FunnelStage } from './FunnelChart/FunnelChart';
|
|
23
|
+
export { BulletChart } from './BulletChart';
|
|
24
|
+
export type { BulletChartProps, BulletRow } from './BulletChart/BulletChart';
|
|
25
|
+
export { HeatMap } from './HeatMap';
|
|
26
|
+
export type { HeatMapProps } from './HeatMap';
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/Charts/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC9F,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAGrE,YAAY,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGnF,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGxD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAEpE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE/E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAE7E,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { RenderMode } from '@/types/renderMode';
|
|
2
|
+
export type { RenderMode };
|
|
3
|
+
export interface DataPoint {
|
|
4
|
+
label: string;
|
|
5
|
+
value: number;
|
|
6
|
+
priorValue?: number;
|
|
7
|
+
isTotal?: boolean;
|
|
8
|
+
isForecast?: boolean;
|
|
9
|
+
upperBound?: number;
|
|
10
|
+
lowerBound?: number;
|
|
11
|
+
}
|
|
12
|
+
export type ValueType = 'money' | 'percent' | 'number' | 'ratio';
|
|
13
|
+
export type ColorSchemeName = 'archie' | 'ocean' | 'forest' | 'sunset' | 'lavender' | 'monochrome';
|
|
14
|
+
export interface ChartConfig {
|
|
15
|
+
width: number;
|
|
16
|
+
height: number;
|
|
17
|
+
valueType: ValueType;
|
|
18
|
+
currency?: string;
|
|
19
|
+
renderMode?: RenderMode;
|
|
20
|
+
showDataLabels?: boolean;
|
|
21
|
+
showLegend?: boolean;
|
|
22
|
+
showComparison?: boolean;
|
|
23
|
+
comparisonLabel?: string;
|
|
24
|
+
primaryLabel?: string;
|
|
25
|
+
primaryColor?: string;
|
|
26
|
+
comparisonColor?: string;
|
|
27
|
+
colorScheme?: ColorSchemeName;
|
|
28
|
+
}
|
|
29
|
+
export declare const C: {
|
|
30
|
+
readonly primary: "#e15713";
|
|
31
|
+
readonly secondary: "#15b1cd";
|
|
32
|
+
readonly positive: "#71d481";
|
|
33
|
+
readonly negative: "#fb6060";
|
|
34
|
+
readonly total: "#000626";
|
|
35
|
+
readonly grid: "#e5e7f0";
|
|
36
|
+
readonly axisLabel: "#8c92af";
|
|
37
|
+
readonly text: "#000626";
|
|
38
|
+
readonly textMuted: "#595f7a";
|
|
39
|
+
readonly priorFill: "rgba(229, 231, 240, 0.6)";
|
|
40
|
+
readonly areaFill: "rgba(229, 87, 19, 0.08)";
|
|
41
|
+
readonly areaFill2: "rgba(21, 177, 205, 0.08)";
|
|
42
|
+
readonly forecastFill: "rgba(229, 87, 19, 0.04)";
|
|
43
|
+
readonly forecastBand: "rgba(229, 87, 19, 0.05)";
|
|
44
|
+
};
|
|
45
|
+
export declare const DONUT_COLORS: readonly ["#e15713", "#15b1cd", "#71d481", "#000626", "#8c92af", "#5b21b6", "#c2410c"];
|
|
46
|
+
export declare const FONT_MONO = "'Geist Mono', 'ui-monospace', monospace";
|
|
47
|
+
export declare const FONT_SANS = "'Geist', 'system-ui', sans-serif";
|
|
48
|
+
export declare const PAD: {
|
|
49
|
+
readonly top: 20;
|
|
50
|
+
readonly right: 12;
|
|
51
|
+
readonly bottom: 32;
|
|
52
|
+
readonly left: 56;
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/Charts/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD,YAAY,EAAE,UAAU,EAAE,CAAC;AAE3B,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEjE,MAAM,MAAM,eAAe,GACvB,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,YAAY,CAAC;AAEjB,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B;AAED,eAAO,MAAM,CAAC;;;;;;;;;;;;;;;CAeJ,CAAC;AAEX,eAAO,MAAM,YAAY,wFAQf,CAAC;AAEX,eAAO,MAAM,SAAS,4CAA4C,CAAC;AACnE,eAAO,MAAM,SAAS,qCAAqC,CAAC;AAE5D,eAAO,MAAM,GAAG;;;;;CAAwD,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ChartConfig } from '../types';
|
|
2
|
+
export type ColorSchemeName = 'archie' | 'ocean' | 'forest' | 'sunset' | 'lavender' | 'monochrome';
|
|
3
|
+
interface ColorSchemeDefinition {
|
|
4
|
+
primary: string;
|
|
5
|
+
secondary: string;
|
|
6
|
+
positive: string;
|
|
7
|
+
negative: string;
|
|
8
|
+
total: string;
|
|
9
|
+
series: string[];
|
|
10
|
+
}
|
|
11
|
+
export interface ResolvedChartColors {
|
|
12
|
+
primary: string;
|
|
13
|
+
secondary: string;
|
|
14
|
+
positive: string;
|
|
15
|
+
negative: string;
|
|
16
|
+
total: string;
|
|
17
|
+
series: string[];
|
|
18
|
+
priorFill: string;
|
|
19
|
+
areaFill: string;
|
|
20
|
+
areaFill2: string;
|
|
21
|
+
forecastFill: string;
|
|
22
|
+
forecastBand: string;
|
|
23
|
+
grid: string;
|
|
24
|
+
axisLabel: string;
|
|
25
|
+
text: string;
|
|
26
|
+
textMuted: string;
|
|
27
|
+
}
|
|
28
|
+
export declare function hexToRgba(hex: string, alpha: number): string;
|
|
29
|
+
export declare const COLOR_SCHEMES: Record<ColorSchemeName, ColorSchemeDefinition>;
|
|
30
|
+
export declare function resolveChartColors(config: ChartConfig): ResolvedChartColors;
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=colorScheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colorScheme.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/Charts/utils/colorScheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAM5C,MAAM,MAAM,eAAe,GACvB,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,YAAY,CAAC;AAEjB,UAAU,qBAAqB;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB;AAMD,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAK5D;AAMD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,eAAe,EAAE,qBAAqB,CAyDxE,CAAC;AAMF,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,WAAW,GAAG,mBAAmB,CAuB3E"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ValueType } from '../types';
|
|
2
|
+
export declare function formatAxisLabel(value: number, type: ValueType, currency?: string, abbreviated?: boolean): string;
|
|
3
|
+
export declare function formatDataLabel(value: number, type: ValueType, currency?: string): string;
|
|
4
|
+
//# sourceMappingURL=format.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/Charts/utils/format.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,SAAS,EACf,QAAQ,SAAM,EACd,WAAW,UAAO,GACjB,MAAM,CAUR;AAUD,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,SAAS,EACf,QAAQ,SAAM,GACb,MAAM,CAKR"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare function smoothLinePath(points: [number, number][], tension?: number): string;
|
|
2
|
+
export declare function closeAreaPath(linePath: string, points: [number, number][], baseline: number): string;
|
|
3
|
+
export interface WaterfallSegment {
|
|
4
|
+
x: number;
|
|
5
|
+
yTop: number;
|
|
6
|
+
yBottom: number;
|
|
7
|
+
kind: 'positive' | 'negative' | 'total';
|
|
8
|
+
connectorX?: number;
|
|
9
|
+
}
|
|
10
|
+
export declare function waterfallSegments(values: number[], isTotal: boolean[], yScale: (v: number) => number, xPositions: number[], bandwidth: number): WaterfallSegment[];
|
|
11
|
+
//# sourceMappingURL=path.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"path.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/Charts/utils/path.ts"],"names":[],"mappings":"AAAA,wBAAgB,cAAc,CAC5B,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,EAC1B,OAAO,SAAM,GACZ,MAAM,CAwBR;AAED,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,EAC1B,QAAQ,EAAE,MAAM,GACf,MAAM,CAKR;AAED,MAAM,WAAW,gBAAgB;IAC/B,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,UAAU,GAAG,UAAU,GAAG,OAAO,CAAC;IACxC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,EAAE,EAChB,OAAO,EAAE,OAAO,EAAE,EAClB,MAAM,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,EAC7B,UAAU,EAAE,MAAM,EAAE,EACpB,SAAS,EAAE,MAAM,GAChB,gBAAgB,EAAE,CAmCpB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function linearScale(domain: [number, number], range: [number, number]): (value: number) => number;
|
|
2
|
+
export interface BandScale {
|
|
3
|
+
(category: string): number;
|
|
4
|
+
bandwidth: number;
|
|
5
|
+
step: number;
|
|
6
|
+
}
|
|
7
|
+
export declare function bandScale(categories: string[], totalWidth: number, padding?: number): BandScale;
|
|
8
|
+
export declare function niceTickValues(min: number, max: number, count?: number): number[];
|
|
9
|
+
export declare function domainWithZero(values: number[]): [number, number];
|
|
10
|
+
//# sourceMappingURL=scales.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scales.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/Charts/utils/scales.ts"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,CACzB,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EACxB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GACtB,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAM3B;AAED,MAAM,WAAW,SAAS;IACxB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,SAAS,CACvB,UAAU,EAAE,MAAM,EAAE,EACpB,UAAU,EAAE,MAAM,EAClB,OAAO,SAAO,GACb,SAAS,CAcX;AAED,wBAAgB,cAAc,CAC5B,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,KAAK,SAAI,GACR,MAAM,EAAE,CAsBV;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAIjE"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { RenderMode } from '@/types/renderMode';
|
|
2
|
+
/**
|
|
3
|
+
* CoverPage — Full A4 branded cover for management reports.
|
|
4
|
+
*
|
|
5
|
+
* Layout:
|
|
6
|
+
* - White left panel (~55%): logo top-left, entity name H1, report title, period,
|
|
7
|
+
* "Prepared by {firm}" bottom-left
|
|
8
|
+
* - Right panel: hero image/illustration with curved SVG mask + 6px accent stripe
|
|
9
|
+
* along the join
|
|
10
|
+
*
|
|
11
|
+
* Hero styles:
|
|
12
|
+
* - "curves" — Abstract curved shapes in coral + navy (default)
|
|
13
|
+
* - "marina" — Minimal nautical horizon motif in navy/coral
|
|
14
|
+
* - "leaves" — Botanical green shapes
|
|
15
|
+
* - "abstract" — Geometric triangles / planes in navy + coral
|
|
16
|
+
*
|
|
17
|
+
* No interactive elements — designed for PDF output.
|
|
18
|
+
* Wrap in <ReportPage size="A4"> when building a full report.
|
|
19
|
+
*/
|
|
20
|
+
export type HeroStyle = 'curves' | 'marina' | 'leaves' | 'abstract';
|
|
21
|
+
export interface CoverPageConfig {
|
|
22
|
+
entityName: string;
|
|
23
|
+
reportTitle?: string;
|
|
24
|
+
period: string;
|
|
25
|
+
preparedBy?: string;
|
|
26
|
+
logoUrl?: string | null;
|
|
27
|
+
heroStyle?: HeroStyle;
|
|
28
|
+
accentColor?: string;
|
|
29
|
+
publishedDate?: string | null;
|
|
30
|
+
}
|
|
31
|
+
export interface CoverPageProps {
|
|
32
|
+
config: CoverPageConfig;
|
|
33
|
+
renderMode?: RenderMode;
|
|
34
|
+
/** Fixed height in px for PDF sizing. Defaults to 1122 (A4 @96dpi). */
|
|
35
|
+
height?: number;
|
|
36
|
+
/** Fixed width in px for PDF sizing. Defaults to 794 (A4 @96dpi). */
|
|
37
|
+
width?: number;
|
|
38
|
+
}
|
|
39
|
+
export declare function CoverPage({ config, renderMode, width, height, }: CoverPageProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
//# sourceMappingURL=CoverPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoverPage.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/CoverPage/CoverPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;;;;;;;;;;;GAiBG;AAEH,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,CAAC;AAEpE,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,eAAe,CAAC;IACxB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,uEAAuE;IACvE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qEAAqE;IACrE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAwHD,wBAAgB,SAAS,CAAC,EACxB,MAAM,EACN,UAAkB,EAClB,KAAW,EACX,MAAa,GACd,EAAE,cAAc,2CAiLhB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/CoverPage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { RenderMode } from '@/types/renderMode';
|
|
2
|
+
/**
|
|
3
|
+
* DataTable — Simple flat table for journal entry line items, audit trails,
|
|
4
|
+
* and any tabular data that doesn't require grouping or totals.
|
|
5
|
+
* Shares column definitions with FinancialTable for consistency.
|
|
6
|
+
*/
|
|
7
|
+
export interface ColumnDef {
|
|
8
|
+
key: string;
|
|
9
|
+
label: string;
|
|
10
|
+
align?: 'left' | 'right' | 'center';
|
|
11
|
+
/** Render value in monospace font with tabular-nums (for numeric columns) */
|
|
12
|
+
mono?: boolean;
|
|
13
|
+
/** Column data type — drives formatting and alignment inference */
|
|
14
|
+
type?: 'money' | 'number' | 'percent' | 'hours' | 'text' | 'date';
|
|
15
|
+
/** Currency symbol for money columns */
|
|
16
|
+
currency?: string;
|
|
17
|
+
/** Decimal precision for numeric columns */
|
|
18
|
+
precision?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface TableRow {
|
|
21
|
+
[key: string]: string | number;
|
|
22
|
+
}
|
|
23
|
+
export interface DataTableProps {
|
|
24
|
+
columns: ColumnDef[];
|
|
25
|
+
rows: TableRow[];
|
|
26
|
+
emptyMessage?: string;
|
|
27
|
+
/** Output target — pdf uses tighter spacing */
|
|
28
|
+
renderMode?: RenderMode;
|
|
29
|
+
className?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function DataTable({ columns, rows, emptyMessage, renderMode, className }: DataTableProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
//# sourceMappingURL=DataTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/DataTable/DataTable.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;IACpC,6EAA6E;IAC7E,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,mEAAmE;IACnE,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAClE,wCAAwC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,QAAQ;IACvB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+CAA+C;IAC/C,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAOD,wBAAgB,SAAS,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,YAAwB,EAAE,UAAkB,EAAE,SAAS,EAAE,EAAE,cAAc,2CA6FnH"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* DrillDownRow — Expandable table row that reveals sub-rows on click.
|
|
4
|
+
* Uses framer-motion spring animation for the expand/collapse.
|
|
5
|
+
* Works inside any HTML <table> — renders as <tr> + animated child <tr>s.
|
|
6
|
+
*
|
|
7
|
+
* Use inside FinancialTable or DataTable by providing the trigger row
|
|
8
|
+
* as children, and sub-rows as drillContent.
|
|
9
|
+
*/
|
|
10
|
+
export interface DrillDownRowProps {
|
|
11
|
+
/** The summary row cell contents — rendered inside a <tr> */
|
|
12
|
+
cells: ReactNode[];
|
|
13
|
+
/** Sub-rows revealed on expand — array of cell arrays */
|
|
14
|
+
drillRows: Array<{
|
|
15
|
+
cells: ReactNode[];
|
|
16
|
+
key: string;
|
|
17
|
+
}>;
|
|
18
|
+
/** Column count needed for the colSpan wrapper */
|
|
19
|
+
colCount: number;
|
|
20
|
+
defaultExpanded?: boolean;
|
|
21
|
+
/** Called when expand state changes */
|
|
22
|
+
onToggle?: (expanded: boolean) => void;
|
|
23
|
+
/** Additional classes for the trigger row */
|
|
24
|
+
rowClassName?: string;
|
|
25
|
+
/** Additional classes for drill rows */
|
|
26
|
+
drillRowClassName?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare function DrillDownRow({ cells, drillRows, colCount, defaultExpanded, onToggle, rowClassName, drillRowClassName, }: DrillDownRowProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
//# sourceMappingURL=DrillDownRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrillDownRow.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/DrillDownRow/DrillDownRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,SAAS,EAAE,MAAM,OAAO,CAAC;AAI5C;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB;IAChC,6DAA6D;IAC7D,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,yDAAyD;IACzD,SAAS,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,SAAS,EAAE,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACtD,kDAAkD;IAClD,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,uCAAuC;IACvC,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,6CAA6C;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wCAAwC;IACxC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAuBD,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,SAAS,EACT,QAAQ,EACR,eAAuB,EACvB,QAAQ,EACR,YAAY,EACZ,iBAAiB,GAClB,EAAE,iBAAiB,2CA8FnB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { RenderMode } from '@/types/renderMode';
|
|
2
|
+
import { type KpiObservation } from '../KpiObservations/KpiObservations';
|
|
3
|
+
/**
|
|
4
|
+
* ExecutiveSummaryPage — Fathom-style executive summary layout.
|
|
5
|
+
*
|
|
6
|
+
* Two-column grid (60% / 40% gap 32px):
|
|
7
|
+
* - Left: Commentary paragraphs (overview narrative)
|
|
8
|
+
* - Right: Actions bullet list — coral bullet • navy text
|
|
9
|
+
*
|
|
10
|
+
* Below (full width): KpiObservations blocks
|
|
11
|
+
*
|
|
12
|
+
* Designed to sit inside a <ReportPage> wrapper.
|
|
13
|
+
*/
|
|
14
|
+
export interface SummaryCommentaryBlock {
|
|
15
|
+
heading?: string;
|
|
16
|
+
body: string;
|
|
17
|
+
}
|
|
18
|
+
export interface ExecutiveSummaryPageProps {
|
|
19
|
+
commentary: SummaryCommentaryBlock[];
|
|
20
|
+
actions: string[];
|
|
21
|
+
observations: KpiObservation[];
|
|
22
|
+
renderMode?: RenderMode;
|
|
23
|
+
}
|
|
24
|
+
export declare function ExecutiveSummaryPage({ commentary, actions, observations, renderMode, }: ExecutiveSummaryPageProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
//# sourceMappingURL=ExecutiveSummaryPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutiveSummaryPage.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/ExecutiveSummaryPage/ExecutiveSummaryPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAmB,KAAK,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAE1F;;;;;;;;;;GAUG;AAEH,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,sBAAsB,EAAE,CAAC;IACrC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,YAAY,EAAE,cAAc,EAAE,CAAC;IAC/B,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,UAAU,EACV,OAAO,EACP,YAAY,EACZ,UAAkB,GACnB,EAAE,yBAAyB,2CAmH3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/ExecutiveSummaryPage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { ColumnDef, TableRow } from '../DataTable/DataTable';
|
|
2
|
+
import type { RenderMode } from '@/types/renderMode';
|
|
3
|
+
/**
|
|
4
|
+
* FinancialTable — The primary financial report table. Supports flat rows, grouped
|
|
5
|
+
* rows with section headers and inline subtotals, and grand-total rows.
|
|
6
|
+
*
|
|
7
|
+
* Visual hierarchy (5 levels, strongest → weakest):
|
|
8
|
+
* 1. thead — brand navy bg (#022E40), white text
|
|
9
|
+
* 2. group hdrs — cyan wash bg + 3px cyan left accent
|
|
10
|
+
* 3. data rows — white
|
|
11
|
+
* 4. subtotals — gray-100 lift
|
|
12
|
+
* 5. grand total — light blue-200 tint (#D6F4FF), navy text
|
|
13
|
+
*
|
|
14
|
+
* Layout notes:
|
|
15
|
+
* - totals render in <tfoot> so the browser print engine does NOT repeat the
|
|
16
|
+
* <thead> above them at page breaks — prevents the duplicate-header bug.
|
|
17
|
+
* - Each group (header + rows + subtotal) is wrapped in its own <tbody> so
|
|
18
|
+
* page-break-inside: avoid keeps them together without orphaning.
|
|
19
|
+
* - Subtotal/total empty cells render as blank rather than "—".
|
|
20
|
+
*/
|
|
21
|
+
export type { ColumnDef, TableRow };
|
|
22
|
+
export interface TableGroup {
|
|
23
|
+
label: string;
|
|
24
|
+
/** Optional count badge shown next to the section header (web only) */
|
|
25
|
+
count?: number;
|
|
26
|
+
rows: TableRow[];
|
|
27
|
+
/** Subtotal row for this group (first column key used as label fallback: "Subtotal") */
|
|
28
|
+
subtotal?: TableRow;
|
|
29
|
+
}
|
|
30
|
+
export interface TotalRow {
|
|
31
|
+
/** Label shown in the first column */
|
|
32
|
+
label: string;
|
|
33
|
+
/** Values keyed by column key for all non-label columns */
|
|
34
|
+
values: Record<string, string>;
|
|
35
|
+
variant?: 'subtotal' | 'section-total' | 'grand-total';
|
|
36
|
+
}
|
|
37
|
+
export interface FinancialTableProps {
|
|
38
|
+
columns: ColumnDef[];
|
|
39
|
+
/** Groups render section headers, indented rows, and optional subtotals */
|
|
40
|
+
groups?: TableGroup[];
|
|
41
|
+
/** Flat rows rendered without grouping (used when groups is omitted) */
|
|
42
|
+
rows?: TableRow[];
|
|
43
|
+
/** Summary rows rendered at the bottom (grand-total gets light blue bg) */
|
|
44
|
+
totals?: TotalRow[];
|
|
45
|
+
/** Output target — pdf uses tighter spacing, no count badges */
|
|
46
|
+
renderMode?: RenderMode;
|
|
47
|
+
className?: string;
|
|
48
|
+
}
|
|
49
|
+
export declare function FinancialTable({ columns, groups, rows, totals, renderMode, className, }: FinancialTableProps): import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
//# sourceMappingURL=FinancialTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FinancialTable.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/FinancialTable/FinancialTable.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;;;;;;;;;;;GAiBG;AACH,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC;AAEpC,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,uEAAuE;IACvE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjB,wFAAwF;IACxF,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,2DAA2D;IAC3D,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,OAAO,CAAC,EAAE,UAAU,GAAG,eAAe,GAAG,aAAa,CAAC;CACxD;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,2EAA2E;IAC3E,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;IACtB,wEAAwE;IACxE,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;IAClB,2EAA2E;IAC3E,MAAM,CAAC,EAAE,QAAQ,EAAE,CAAC;IACpB,gEAAgE;IAChE,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA+DD,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,MAAM,EACN,IAAI,EACJ,MAAM,EACN,UAAkB,EAClB,SAAS,GACV,EAAE,mBAAmB,2CAyMrB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { RenderMode } from '@/types/renderMode';
|
|
2
|
+
/**
|
|
3
|
+
* KpiObservations — Executive summary observation blocks.
|
|
4
|
+
*
|
|
5
|
+
* One block per KPI category, each with:
|
|
6
|
+
* - Status icon: thumbs up (positive), thumbs down (negative), dash (neutral)
|
|
7
|
+
* - Category label: 9px uppercase tracking
|
|
8
|
+
* - Headline: bold metric value / label
|
|
9
|
+
* - Context: muted inline text (e.g. "Last month 26.04%")
|
|
10
|
+
* - Narrative: LLM-generated 1–2 sentence interpretation
|
|
11
|
+
* - Separator between blocks
|
|
12
|
+
*/
|
|
13
|
+
export interface KpiObservation {
|
|
14
|
+
category: string;
|
|
15
|
+
status: 'positive' | 'negative' | 'neutral';
|
|
16
|
+
headline: string;
|
|
17
|
+
context: string;
|
|
18
|
+
narrative: string;
|
|
19
|
+
}
|
|
20
|
+
export interface KpiObservationsProps {
|
|
21
|
+
observations: KpiObservation[];
|
|
22
|
+
renderMode?: RenderMode;
|
|
23
|
+
}
|
|
24
|
+
export declare function KpiObservations({ observations, renderMode }: KpiObservationsProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
//# sourceMappingURL=KpiObservations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KpiObservations.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/KpiObservations/KpiObservations.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;;;;GAUG;AAEH,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,cAAc,EAAE,CAAC;IAC/B,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAsCD,wBAAgB,eAAe,CAAC,EAAE,YAAY,EAAE,UAAkB,EAAE,EAAE,oBAAoB,2CAmFzF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/KpiObservations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { RenderMode } from '@/types/renderMode';
|
|
2
|
+
/**
|
|
3
|
+
* KpiResultsTable — Fathom-style KPI results grouped by category.
|
|
4
|
+
*
|
|
5
|
+
* Features:
|
|
6
|
+
* - Category header rows: coloured letter badge (navy pill) + bold uppercase name
|
|
7
|
+
* - Columns: METRIC | RESULT | TARGET | ✓/× | TREND | IMPORTANCE
|
|
8
|
+
* - Target met: ✓ green / × red icon
|
|
9
|
+
* - Trend: coloured ▲▼ + value + period label
|
|
10
|
+
* - Importance: colour-coded text badge
|
|
11
|
+
* - lower_is_better rows: footnote * marker + bottom footnote
|
|
12
|
+
* - page-break-inside: avoid per category group
|
|
13
|
+
*/
|
|
14
|
+
export interface KpiResultRow {
|
|
15
|
+
category: string;
|
|
16
|
+
categoryLetter: string;
|
|
17
|
+
categoryColor: string;
|
|
18
|
+
label: string;
|
|
19
|
+
result: string;
|
|
20
|
+
target?: string | null;
|
|
21
|
+
targetMet?: boolean | null;
|
|
22
|
+
trendDirection: 'up' | 'down' | 'flat';
|
|
23
|
+
trendValue: string;
|
|
24
|
+
trendPeriod: string;
|
|
25
|
+
importance: 'Critical' | 'High' | 'Medium' | 'Low';
|
|
26
|
+
lowerIsBetter?: boolean;
|
|
27
|
+
footnoteMarker?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface KpiResultsTableProps {
|
|
30
|
+
rows: KpiResultRow[];
|
|
31
|
+
renderMode?: RenderMode;
|
|
32
|
+
}
|
|
33
|
+
export declare function KpiResultsTable({ rows, renderMode }: KpiResultsTableProps): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
//# sourceMappingURL=KpiResultsTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KpiResultsTable.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/KpiResultsTable/KpiResultsTable.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;;;;;GAWG;AAEH,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,cAAc,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,UAAU,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;IACnD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AA8BD,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,UAAkB,EAAE,EAAE,oBAAoB,2CAoOjF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/KpiResultsTable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { RenderMode } from '@/types/renderMode';
|
|
2
|
+
export interface KpiStatCardProps {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
comparison?: string;
|
|
6
|
+
comparisonLabel?: string;
|
|
7
|
+
trend?: {
|
|
8
|
+
direction: 'up' | 'down' | 'flat';
|
|
9
|
+
value: string;
|
|
10
|
+
favorable?: boolean;
|
|
11
|
+
};
|
|
12
|
+
target?: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
sparklineData?: number[];
|
|
15
|
+
renderMode?: RenderMode;
|
|
16
|
+
/** Internal: whether this is the last card in a strip (suppresses right border) */
|
|
17
|
+
_last?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface KpiStatStripProps {
|
|
20
|
+
cards: KpiStatCardProps[];
|
|
21
|
+
renderMode?: RenderMode;
|
|
22
|
+
}
|
|
23
|
+
export declare function KpiStatCard({ label, value, comparison, comparisonLabel, trend, target, description, sparklineData, renderMode, _last, }: KpiStatCardProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare function KpiStatStrip({ cards, renderMode }: KpiStatStripProps): import("react/jsx-runtime").JSX.Element | null;
|
|
25
|
+
//# sourceMappingURL=KpiStatCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KpiStatCard.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/KpiStatCard/KpiStatCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAoBrD,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE;QACN,SAAS,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;QAClC,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB,CAAC;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,mFAAmF;IACnF,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAkDD,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,KAAK,EACL,UAAU,EACV,eAAe,EACf,KAAK,EACL,MAAM,EACN,WAAW,EACX,aAAa,EACb,UAAkB,EAClB,KAAa,GACd,EAAE,gBAAgB,2CA4FlB;AAID,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,UAAkB,EAAE,EAAE,iBAAiB,kDAuB5E"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { RenderMode } from '@/types/renderMode';
|
|
2
|
+
export interface KpiWheelItem {
|
|
3
|
+
label: string;
|
|
4
|
+
/** 0–100. Typically (actual / target) × 100, capped at 100. For no-target items, a normalised relative score. */
|
|
5
|
+
score: number;
|
|
6
|
+
targetMet: boolean | null;
|
|
7
|
+
importance: 'Critical' | 'High' | 'Medium' | 'Low';
|
|
8
|
+
}
|
|
9
|
+
export interface KpiWheelProps {
|
|
10
|
+
items: KpiWheelItem[];
|
|
11
|
+
period?: string;
|
|
12
|
+
onTrackCount: number;
|
|
13
|
+
offTrackCount: number;
|
|
14
|
+
renderMode?: RenderMode;
|
|
15
|
+
/** Rendered width in px — height scales proportionally. Default 500. */
|
|
16
|
+
width?: number;
|
|
17
|
+
}
|
|
18
|
+
export declare function KpiWheel({ items, period, onTrackCount, offTrackCount, renderMode, width, }: KpiWheelProps): import("react/jsx-runtime").JSX.Element | null;
|
|
19
|
+
//# sourceMappingURL=KpiWheel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KpiWheel.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/KpiWheel/KpiWheel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAsBrD,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,iHAAiH;IACjH,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,UAAU,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;CACpD;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,wEAAwE;IACxE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAqCD,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,MAAM,EACN,YAAY,EACZ,aAAa,EACb,UAAkB,EAClB,KAAW,GACZ,EAAE,aAAa,kDAmJf"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ModalProps } from './Modal.types';
|
|
2
2
|
export declare const Modal: {
|
|
3
|
-
({ open, onOpenChange, title, description, showCloseButton, closeIcon, children, primaryAction, secondaryAction, closeOnClickOutside, closeOnEsc, onClose, className, overlayClassName, contentClassName, footerClassName, size, }: ModalProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
({ open, onOpenChange, title, description, showCloseButton, closeIcon, children, primaryAction, secondaryAction, closeOnClickOutside, closeOnEsc, onClose, className, overlayClassName, contentClassName, footerClassName, size, contentAlign, }: ModalProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/Modal/Modal.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,KAAK;
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/Modal/Modal.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,KAAK;sPAmBf,UAAU;;CAqIZ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const modalOverlayStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
2
2
|
export declare const modalContainerStyles: (props?: ({
|
|
3
|
-
size?: "
|
|
3
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
|
|
4
4
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5
5
|
export declare const modalHeaderStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
6
6
|
export declare const modalHeaderTopRowStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
@@ -8,7 +8,8 @@ export declare const modalCloseButtonStyles: (props?: import("class-variance-aut
|
|
|
8
8
|
export declare const modalTitleStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
9
9
|
export declare const modalDescriptionStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
10
10
|
export declare const modalContentStyles: (props?: ({
|
|
11
|
-
size?: "
|
|
11
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
|
|
12
|
+
contentAlign?: "center" | "end" | "start" | "stretch" | null | undefined;
|
|
12
13
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
13
14
|
export declare const modalFooterStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
14
15
|
//# sourceMappingURL=Modal.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/Modal/Modal.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,oFAE9B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;8EAgBhC,CAAC;AAEF,eAAO,MAAM,iBAAiB,oFAE7B,CAAC;AAEF,eAAO,MAAM,uBAAuB,oFAEnC,CAAC;AAEF,eAAO,MAAM,sBAAsB,oFAElC,CAAC;AAEF,eAAO,MAAM,gBAAgB,oFAE5B,CAAC;AAEF,eAAO,MAAM,sBAAsB,oFAElC,CAAC;AAEF,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"Modal.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/Modal/Modal.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,oFAE9B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;8EAgBhC,CAAC;AAEF,eAAO,MAAM,iBAAiB,oFAE7B,CAAC;AAEF,eAAO,MAAM,uBAAuB,oFAEnC,CAAC;AAEF,eAAO,MAAM,sBAAsB,oFAElC,CAAC;AAEF,eAAO,MAAM,gBAAgB,oFAE5B,CAAC;AAEF,eAAO,MAAM,sBAAsB,oFAElC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;8EAoB7B,CAAC;AAEH,eAAO,MAAM,iBAAiB,oFAAuC,CAAC"}
|
|
@@ -5,7 +5,7 @@ export interface ModalAction {
|
|
|
5
5
|
/** Click handler for the action */
|
|
6
6
|
onClick: () => void | Promise<void>;
|
|
7
7
|
/** Button variant style */
|
|
8
|
-
variant?: '
|
|
8
|
+
variant?: 'default' | 'secondary' | 'outline' | 'ghost' | 'destructive' | 'link';
|
|
9
9
|
/** Whether the button shows loading state */
|
|
10
10
|
loading?: boolean;
|
|
11
11
|
/** Whether the button is disabled */
|
|
@@ -50,5 +50,7 @@ export interface ModalProps {
|
|
|
50
50
|
footerClassName?: string;
|
|
51
51
|
/** Modal width size */
|
|
52
52
|
size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
53
|
+
/** Horizontal alignment of the content area (default: 'start') */
|
|
54
|
+
contentAlign?: 'start' | 'center' | 'end' | 'stretch';
|
|
53
55
|
}
|
|
54
56
|
//# sourceMappingURL=Modal.types.d.ts.map
|