@mx-cartographer/experiences 8.0.0-alpha.bb3 → 8.0.0-alpha.mega1

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 (203) hide show
  1. package/CHANGELOG.md +178 -1
  2. package/dist/{Account-Bxw0_4FU.mjs → Account-CvR2-dSR.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-CAM9y39M.mjs → AccountDetailsContent-CitErkuS.mjs} +89 -82
  4. package/dist/AccountDetailsHeader-BkG3MNYo.mjs +87 -0
  5. package/dist/{AccountFields-C9FlatNb.mjs → AccountFields-zCMqet85.mjs} +6 -6
  6. package/dist/{AccountListItem-JFMZROh7.mjs → AccountListItem-DHrz8Mml.mjs} +9 -9
  7. package/dist/{AccountStore-BgNOyMdp.mjs → AccountStore-LgfBcYMe.mjs} +112 -75
  8. package/dist/Accounts-Bzy1_REQ.mjs +9 -0
  9. package/dist/{BeatApi-DhJpgCLz.mjs → BeatApi-De2IaqH2.mjs} +1 -1
  10. package/dist/{BeatStore-IBnXd4YK.mjs → BeatStore-D_NYuBSz.mjs} +1 -1
  11. package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-BmZXkL0C.mjs} +2 -2
  12. package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-B-I3kajA.mjs} +23 -21
  13. package/dist/CategoryStore-CA3tS1BO.mjs +186 -0
  14. package/dist/CategoryUtil-DUM8NuGO.mjs +78 -0
  15. package/dist/{ConnectDrawer-BQNs-hjk.mjs → ConnectDrawer-BkvlItWx.mjs} +11 -11
  16. package/dist/{ConnectionsDrawer-ByGQE7D5.mjs → ConnectionsDrawer-VmuVFHbL.mjs} +5 -5
  17. package/dist/{CurrencyInput-DUsQbkXb.mjs → CurrencyInput-itK0R3wV.mjs} +2 -2
  18. package/dist/{CurrencyText-kyC1aseI.mjs → CurrencyText-Dr0EZ7bp.mjs} +1 -1
  19. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
  20. package/dist/{DebtsStore-C9bblOgW.mjs → DebtsStore-Bq-aPy-5.mjs} +1 -1
  21. package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
  22. package/dist/{Donut-oaQFlbit.mjs → Donut-Dmy3JTWd.mjs} +12 -12
  23. package/dist/Drawer-By9V-B5L.mjs +178 -0
  24. package/dist/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
  25. package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-Cglo8Mca.mjs} +3 -3
  26. package/dist/{Fetch-87LIQbEA.mjs → Fetch-DecPFeGU.mjs} +24 -22
  27. package/dist/FinstrongStore-BIrX0Xg2.mjs +451 -0
  28. package/dist/{GoalStore-D-aB35SY.mjs → GoalStore-1P19goZ7.mjs} +112 -152
  29. package/dist/{Help-B6dIcujh.mjs → Help-Ea3BlXQp.mjs} +2 -2
  30. package/dist/LineChart-KpPw1phO.mjs +580 -0
  31. package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-BxTkF6Tz.mjs} +10 -10
  32. package/dist/{ManageIncome-1s_q5W4X.mjs → ManageIncome-CaoQl609.mjs} +91 -88
  33. package/dist/{MerchantStore-DrFvsUyy.mjs → MerchantStore-WvZ4gnQe.mjs} +1 -1
  34. package/dist/MicroWidgetContainer-r6mtxRer.mjs +52 -0
  35. package/dist/MiniWidgetContainer-Bg02sF1Y.mjs +71 -0
  36. package/dist/{NetWorthStore-DCsTZpuS.mjs → NetWorthStore-rC0q7P7t.mjs} +2 -2
  37. package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-uzM8tCoH.mjs} +236 -231
  38. package/dist/{NotificationStore-BxP_P2dA.mjs → NotificationStore-CDX_kqHa.mjs} +7 -15
  39. package/dist/{NumberFormatting-Buh7u8Oi.mjs → NumberFormatting-DjTD0t3W.mjs} +9 -9
  40. package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-C6jdS4ws.mjs} +4 -4
  41. package/dist/{RecurringSettings-A_rAGCTP.mjs → RecurringSettings-B4ybrS0B.mjs} +4 -4
  42. package/dist/{RecurringTransactions-DK8dWldr.mjs → RecurringTransactions-BqijW_8S.mjs} +49 -48
  43. package/dist/{RecurringTransactionsStore-C4YOD7_D.mjs → RecurringTransactionsStore-BhBUVm9a.mjs} +26 -29
  44. package/dist/{SettingsStore-BcgS_Ohv.mjs → SettingsStore-krIRNwHK.mjs} +3 -3
  45. package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-DQ1b9uqq.mjs} +11 -13
  46. package/dist/SpendingLegend-CDO060GT.mjs +193 -0
  47. package/dist/{ToggleListItem-r0Kx56wF.mjs → ToggleListItem-ciFTiqRS.mjs} +19 -14
  48. package/dist/TransactionApi-CjBoLleL.mjs +86 -0
  49. package/dist/TransactionDetails-m5PddMQn.mjs +1380 -0
  50. package/dist/TransactionStore-PRlwE-TF.mjs +677 -0
  51. package/dist/TrendsStore-yO7qYv97.mjs +186 -0
  52. package/dist/{User-BQUxBeZV.mjs → User-Cnlegl1N.mjs} +2 -2
  53. package/dist/{ViewMoreMicroCard-SCn2wt4i.mjs → ViewMoreMicroCard-DwR0v_ll.mjs} +711 -728
  54. package/dist/{WidgetContainer-BHWANqT4.mjs → WidgetContainer-CoFDmQRE.mjs} +4 -4
  55. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  56. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +4 -1
  57. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +2 -1
  58. package/dist/accounts/index.es.js +245 -235
  59. package/dist/accounts/stores/AccountStore.d.ts +24 -25
  60. package/dist/accounts/utils/Accounts.d.ts +1 -2
  61. package/dist/analytics/index.es.js +2 -2
  62. package/dist/budgets/components/AddBudgets.d.ts +2 -1
  63. package/dist/budgets/index.es.js +611 -580
  64. package/dist/budgets/store/BudgetsStore.d.ts +0 -1
  65. package/dist/cashflow/index.es.js +187 -180
  66. package/dist/categories/index.es.js +2 -2
  67. package/dist/categories/stores/CategoryStore.d.ts +2 -5
  68. package/dist/categories/util/CategoryUtil.d.ts +2 -3
  69. package/dist/common/components/Select.d.ts +4 -2
  70. package/dist/common/components/charts/LineChart.d.ts +12 -2
  71. package/dist/common/components/charts/index.d.ts +0 -3
  72. package/dist/common/components/charts/linechart/CustomLegend.d.ts +3 -1
  73. package/dist/common/components/charts/linechart/CustomMark.d.ts +4 -0
  74. package/dist/common/components/charts/linechart/CustomTooltip.d.ts +6 -1
  75. package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.d.ts +5 -2
  76. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  77. package/dist/common/components/drawer/Footer.d.ts +17 -0
  78. package/dist/common/hooks/index.d.ts +1 -0
  79. package/dist/common/hooks/useWidgetLoadTimer.d.ts +6 -0
  80. package/dist/common/index.es.js +397 -387
  81. package/dist/common/stores/AppDataStore.d.ts +1 -3
  82. package/dist/common/stores/GlobalCopyStore.d.ts +1 -0
  83. package/dist/common/stores/GlobalStore.d.ts +10 -4
  84. package/dist/common/stores/GlobalUiStore.d.ts +2 -3
  85. package/dist/common/stores/UserStore.d.ts +2 -3
  86. package/dist/common/types/Account.d.ts +6 -9
  87. package/dist/common/types/Finstrong.d.ts +54 -0
  88. package/dist/common/types/Global.d.ts +1 -0
  89. package/dist/common/types/Widgets.d.ts +1 -0
  90. package/dist/common/types/index.d.ts +1 -1
  91. package/dist/common/types/localization/FinstrongCopy.d.ts +105 -2
  92. package/dist/common/types/localization/GoalsCopy.d.ts +1 -0
  93. package/dist/common/types/localization/TransactionsCopy.d.ts +1 -0
  94. package/dist/dashboard/index.es.js +90 -88
  95. package/dist/debts/index.es.js +458 -448
  96. package/dist/exportTransactionsToCSV-DuAaI5XA.mjs +48 -0
  97. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  98. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  99. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  100. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  101. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  102. package/dist/finstrong/components/FinancialStrengthGraph.d.ts +7 -1
  103. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  104. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  105. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  106. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  107. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  108. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  109. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  110. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  111. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  112. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  113. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  114. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  115. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  116. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  117. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  118. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  119. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  120. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  121. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  122. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  123. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  124. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  125. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  126. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
  127. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  128. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  129. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  130. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  131. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  132. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  133. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  134. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +24 -0
  135. package/dist/finstrong/components/shared/DialScoreCard.d.ts +7 -1
  136. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  137. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  138. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  139. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  140. package/dist/finstrong/constants/index.d.ts +9 -0
  141. package/dist/finstrong/index.es.js +3190 -1073
  142. package/dist/finstrong/stores/FinstrongStore.d.ts +25 -2
  143. package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
  144. package/dist/goals/index.es.js +302 -291
  145. package/dist/goals/stores/GoalStore.d.ts +4 -17
  146. package/dist/help/index.es.js +13 -9
  147. package/dist/{hooks-D6XlXHf4.mjs → hooks-ZMp65DFz.mjs} +12 -12
  148. package/dist/insights/index.es.js +1 -1
  149. package/dist/investments/index.es.js +108 -104
  150. package/dist/investments/stores/HoldingStore.d.ts +0 -1
  151. package/dist/merchants/index.es.js +2 -2
  152. package/dist/microinsights/MicroCardTemplate.d.ts +16 -0
  153. package/dist/microinsights/beaticons/BeatIcon.d.ts +2 -9
  154. package/dist/microinsights/beaticons/BeatMerchantLogo.d.ts +3 -2
  155. package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +2 -1
  156. package/dist/microinsights/cards/{MicroInsightCard.d.ts → BaseCard.d.ts} +1 -8
  157. package/dist/microinsights/cards/{BeatCard.d.ts → InsightCard.d.ts} +2 -2
  158. package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +2 -5
  159. package/dist/microinsights/cards/ZeroStateCard.d.ts +2 -5
  160. package/dist/microinsights/carousel/BeatList.d.ts +10 -0
  161. package/dist/microinsights/carousel/CarouselControls.d.ts +1 -3
  162. package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -2
  163. package/dist/microinsights/constants/App.d.ts +0 -1
  164. package/dist/microinsights/index.d.ts +4 -3
  165. package/dist/microinsights/index.es.js +101 -14
  166. package/dist/microinsights/interfaces.d.ts +0 -6
  167. package/dist/networth/index.es.js +197 -190
  168. package/dist/notifications/index.es.js +25 -25
  169. package/dist/notifications/stores/NotificationStore.d.ts +1 -3
  170. package/dist/recurringtransactions/index.es.js +395 -351
  171. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +2 -3
  172. package/dist/settings/index.es.js +307 -298
  173. package/dist/spending/index.es.js +299 -438
  174. package/dist/spending/utils/SpendingData.d.ts +2 -1
  175. package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -0
  176. package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
  177. package/dist/transactions/index.es.js +115 -112
  178. package/dist/transactions/stores/TransactionStore.d.ts +77 -21
  179. package/dist/trends/components/TrendsTable.d.ts +0 -2
  180. package/dist/trends/index.es.js +1025 -604
  181. package/dist/trends/utils/TrendsData.d.ts +1 -0
  182. package/dist/{useAccountDisplayName-BUAApBIb.mjs → useAccountDisplayName-B7iXTNM8.mjs} +2 -2
  183. package/dist/{useCombineEvents-BUDIR1ba.mjs → useCombineEvents-CRwX-qWE.mjs} +1 -1
  184. package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-B7dxpDrX.mjs} +1 -1
  185. package/dist/useWidgetLoadTimer-hIOioiKx.mjs +19 -0
  186. package/package.json +4 -4
  187. package/dist/AccountDetailsHeader-JtSX6Uf9.mjs +0 -120
  188. package/dist/Accounts-BRf_YeTf.mjs +0 -27
  189. package/dist/CategoryStore-yHI0hWmK.mjs +0 -174
  190. package/dist/CategoryUtil-pZRIYOgN.mjs +0 -80
  191. package/dist/Drawer-kEE73B87.mjs +0 -113
  192. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  193. package/dist/LineChart-D4GI7nVh.mjs +0 -541
  194. package/dist/MicroWidgetContainer-DpeqN9n3.mjs +0 -45
  195. package/dist/MiniWidgetContainer-D0gfmbaF.mjs +0 -56
  196. package/dist/TransactionApi-B3Tksf7L.mjs +0 -86
  197. package/dist/TransactionDetails-oP1eSuiS.mjs +0 -1334
  198. package/dist/TransactionStore-ai3uII_r.mjs +0 -690
  199. package/dist/TrendsStore-DCYbpXPO.mjs +0 -559
  200. package/dist/common/components/SkeletonLoader.d.ts +0 -7
  201. package/dist/exportTransactionsToCSV-7bVS7KXf.mjs +0 -47
  202. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
  203. package/dist/useAriaLive-B3_pRUio.mjs +0 -35
@@ -1,5 +1,5 @@
1
- import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-DUe4lH5-.mjs";
2
- import { C as g } from "../CategoryStore-yHI0hWmK.mjs";
1
+ import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-B-I3kajA.mjs";
2
+ import { C as g } from "../CategoryStore-CA3tS1BO.mjs";
3
3
  export {
4
4
  o as CategoryRow,
5
5
  a as CategorySelector,
@@ -5,7 +5,6 @@ export declare class CategoryStore {
5
5
  uiStore: UiStore;
6
6
  api: CategoryApi;
7
7
  categories: Category[];
8
- categoriesLoaded: boolean;
9
8
  dateRangeCategoryTotals: DateRangeCategoryTotals[];
10
9
  monthlyCategoryTotals: MonthlyCategoryTotals[];
11
10
  dataRangeTotalsLoaded: boolean;
@@ -17,11 +16,9 @@ export declare class CategoryStore {
17
16
  get incomeCategories(): DetailedCategory[];
18
17
  get spendCategories(): DetailedCategory[];
19
18
  get transferCategories(): DetailedCategory[];
20
- setCategories: (categories: Category[]) => void;
21
- setMonthlyCategoryTotals: (totals: MonthlyCategoryTotals[]) => void;
22
- setDateRangeCategoryTotals: (totals: DateRangeCategoryTotals[]) => void;
19
+ get trendsCategories(): DetailedCategory[];
23
20
  addCategory: (name: string, parentGuid: string) => Promise<void>;
24
- loadCategories: () => Promise<void>;
21
+ loadCategories: (categoriesOverride?: Category[]) => Promise<void>;
25
22
  loadDateRangeCategoryTotals: (accounts: Account[], startDate: Date, endDate: Date) => Promise<void>;
26
23
  loadMonthlyCategoryTotals: (accounts?: Account[], startDate?: Date, endDate?: Date) => Promise<void>;
27
24
  reloadCategoryTotals: (accounts: Account[], startDate: Date, endDate: Date) => Promise<void>;
@@ -1,13 +1,12 @@
1
1
  import { Theme } from '@mui/material';
2
- import { Category, DateRangeCategoryTotals, DetailedCategory, DetailedCategoryWithTransactions, MonthlyCategoryTotals, Transaction, CategoryCopy } from '../../common';
2
+ import { Category, DateRangeCategoryTotals, DetailedCategory, DetailedCategoryWithTransactions, MonthlyCategoryTotals, Transaction } from '../../common';
3
3
  /**
4
4
  * Augment categories
5
5
  * @param categories - Categories to augment
6
6
  * @param monthlyCategoryTotals - Monthly category totals
7
7
  * @param currentCategoryTotals - Current month category totals
8
- * @param copy - Category copy
9
8
  */
10
- export declare const augmentCategories: (categories: Category[], copy: CategoryCopy, currentCategoryTotals: DateRangeCategoryTotals[], monthlyCategoryTotals: MonthlyCategoryTotals[]) => DetailedCategory[];
9
+ export declare const augmentCategories: (categories: Category[], currentCategoryTotals: DateRangeCategoryTotals[], monthlyCategoryTotals: MonthlyCategoryTotals[]) => DetailedCategory[];
11
10
  export declare const getCategoryColor: (guid: string, theme: Theme) => string;
12
11
  export declare const getCategoryIcon: (guid: string) => string | undefined;
13
12
  /**
@@ -1,12 +1,14 @@
1
+ import { default as React } from 'react';
2
+ import { default as TextField } from '@mui/material/TextField';
1
3
  export type SelectOption = {
2
4
  id: number;
3
5
  label: string;
4
6
  };
5
- interface SelectProps {
7
+ interface SelectProps extends Omit<React.ComponentProps<typeof TextField>, 'onChange'> {
6
8
  label: string;
7
9
  onChange: (value: number) => void;
8
10
  options: SelectOption[];
9
11
  value: number;
10
12
  }
11
- export declare const Select: ({ label, onChange, options, value }: SelectProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const Select: ({ label, onChange, options, value, ...props }: SelectProps) => import("react/jsx-runtime").JSX.Element;
12
14
  export {};
@@ -1,4 +1,4 @@
1
- import { default as React, CSSProperties } from 'react';
1
+ import { default as React } from 'react';
2
2
  import { SxProps } from '@mui/material/styles';
3
3
  import { MarkHandlers } from './linechart/CustomMark';
4
4
  export type LineChartDataset = {
@@ -14,6 +14,7 @@ export type TooltipLabel = LineChartLabel & {
14
14
  };
15
15
  type LineChartCurve = 'catmullRom' | 'linear' | 'monotoneX' | 'monotoneY' | 'natural' | 'step' | 'stepBefore' | 'stepAfter' | 'bump' | 'bumpX' | 'bumpY';
16
16
  interface LineChartProps {
17
+ areaColor?: string;
17
18
  axisColor?: string;
18
19
  baseline?: string;
19
20
  chartFor?: string;
@@ -22,6 +23,8 @@ interface LineChartProps {
22
23
  colors: (string | undefined)[];
23
24
  curveType?: LineChartCurve;
24
25
  customLegendVariant?: string;
26
+ customLegendSx?: SxProps;
27
+ customLegendBoxSx?: SxProps;
25
28
  customTooltipLabels?: TooltipLabel[][];
26
29
  datasets: LineChartDataset[];
27
30
  height?: number;
@@ -37,13 +40,19 @@ interface LineChartProps {
37
40
  left?: number;
38
41
  };
39
42
  markHandlers?: MarkHandlers;
40
- markStyles?: (markIndex: number) => CSSProperties;
43
+ markStyles?: (markIndex: number) => React.CSSProperties & {
44
+ markLabelStyles?: React.CSSProperties;
45
+ };
46
+ minRange?: number;
47
+ maxRange?: number;
41
48
  onItemClick?: () => void;
49
+ peerAverage?: number;
42
50
  showArea?: boolean;
43
51
  showAverage?: boolean;
44
52
  showAxisHighlight?: boolean;
45
53
  showBars?: boolean;
46
54
  showLegend?: boolean;
55
+ showMark?: boolean;
47
56
  showMarkLabel?: boolean;
48
57
  showTooltip?: boolean;
49
58
  showXAxis?: boolean;
@@ -55,6 +64,7 @@ interface LineChartProps {
55
64
  useCustomMark?: boolean;
56
65
  valueFormatterString?: string;
57
66
  width?: number;
67
+ xAxisScaleType?: 'band' | 'point';
58
68
  }
59
69
  export declare const LineChart: React.FC<LineChartProps>;
60
70
  export {};
@@ -1,4 +1 @@
1
- export { default as Donut, type DonutData } from './Donut';
2
- export { LineChart } from './LineChart';
3
- export { StackedLineChart } from './StackedLineChart';
4
1
  export { default as StatusBar, type StatusBarData } from './StatusBar';
@@ -1,11 +1,13 @@
1
+ import { SxProps } from '@mui/material/styles';
1
2
  import { LineChartLabel } from '../LineChart';
2
3
  export declare const CustomLegendLabel: ({ label, customLegendVariant, }: {
3
4
  label: LineChartLabel;
4
5
  customLegendVariant?: string;
5
6
  }) => import("react/jsx-runtime").JSX.Element | null;
6
- declare const _default: (({ average, customLegendVariant, labels, series, style, title, valueFormatterString, }: {
7
+ declare const _default: (({ average, customLegendVariant, customLegendBoxSx, labels, series, style, title, valueFormatterString, }: {
7
8
  average?: number;
8
9
  customLegendVariant?: string;
10
+ customLegendBoxSx?: SxProps;
9
11
  labels?: LineChartLabel[];
10
12
  series: any[];
11
13
  title?: string;
@@ -8,7 +8,11 @@ export type MarkHandlers = {
8
8
  interface CustomMarkProps extends MarkElementProps {
9
9
  handlers?: MarkHandlers;
10
10
  showLabel: boolean;
11
+ showMark?: boolean;
11
12
  yData: number[];
13
+ style?: React.CSSProperties & {
14
+ markLabelStyles?: React.CSSProperties;
15
+ };
12
16
  labelBackgroundColor?: string;
13
17
  labelFontColor?: string;
14
18
  labelFontSize?: number;
@@ -2,7 +2,12 @@ import { LineChartLabel, TooltipLabel } from '../LineChart';
2
2
  interface CustomTooltipProps {
3
3
  customLabels?: TooltipLabel[][];
4
4
  labels?: LineChartLabel[];
5
+ series: Array<{
6
+ id?: string;
7
+ data: number[];
8
+ color?: string;
9
+ }>;
5
10
  valueFormatterString?: string;
6
11
  }
7
- export declare function CustomTooltip({ customLabels, labels, valueFormatterString, }: CustomTooltipProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function CustomTooltip({ customLabels, labels, series, valueFormatterString, }: CustomTooltipProps): import("react/jsx-runtime").JSX.Element | null;
8
13
  export {};
@@ -1,10 +1,13 @@
1
1
  import { default as React } from 'react';
2
- import { ChartsItemContentProps } from '@mui/x-charts';
3
- interface CustomPointTooltipProps extends ChartsItemContentProps<'line'> {
2
+ interface CustomPointTooltipProps {
4
3
  categoryGuids: {
5
4
  guid: string;
6
5
  topLevelGuid: string;
7
6
  };
7
+ series: Array<{
8
+ id: string;
9
+ data: number[];
10
+ }>;
8
11
  xData: Date[];
9
12
  }
10
13
  export declare const CustomPointTooltip: React.FC<CustomPointTooltipProps>;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+ import { default as Button } from '@mui/material/Button';
2
3
  import { SxProps } from '@mui/material/styles';
3
4
  export type CopyObject = {
4
5
  close_drawer_aria: string;
@@ -6,6 +7,7 @@ export type CopyObject = {
6
7
  interface DrawerProps {
7
8
  ariaLabelClose?: string;
8
9
  className?: string;
10
+ footerStyles?: SxProps;
9
11
  hasSecondaryAction?: boolean;
10
12
  id?: string;
11
13
  isOpen: boolean;
@@ -13,6 +15,7 @@ interface DrawerProps {
13
15
  onClose: () => void;
14
16
  onPrimaryAction?: () => void;
15
17
  onSecondaryAction?: () => void;
18
+ primaryButtonProps?: React.ComponentProps<typeof Button>;
16
19
  primaryColor?: 'primary' | 'inherit' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
17
20
  primaryText?: string;
18
21
  secondaryColor?: 'primary' | 'inherit' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
@@ -0,0 +1,17 @@
1
+ import { default as Button } from '@mui/material/Button';
2
+ import { SxProps } from '@mui/material/styles';
3
+ type Color = 'primary' | 'inherit' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
4
+ type FooterProps = {
5
+ footerStyles?: SxProps;
6
+ hasSecondaryAction?: boolean;
7
+ isPrimaryDisabled?: boolean;
8
+ onPrimaryAction?: () => void;
9
+ onSecondaryAction?: () => void;
10
+ primaryButtonProps?: React.ComponentProps<typeof Button>;
11
+ primaryColor?: Color;
12
+ primaryText?: string;
13
+ secondaryColor?: Color;
14
+ secondaryText?: string;
15
+ };
16
+ declare const Footer: ({ footerStyles, hasSecondaryAction, isPrimaryDisabled, onPrimaryAction, onSecondaryAction, primaryButtonProps, primaryColor, primaryText, secondaryColor, secondaryText, }: FooterProps) => import("react/jsx-runtime").JSX.Element;
17
+ export default Footer;
@@ -3,3 +3,4 @@ export { useCombineEvents, useCombinePageviews } from './useCombineEvents';
3
3
  export { useInsightsEnabled } from './useInsightsEnabled';
4
4
  export { useScreenSize } from './useScreenSize';
5
5
  export { usePrevious } from './usePrevious';
6
+ export { useWidgetLoadTimer } from './useWidgetLoadTimer';
@@ -0,0 +1,6 @@
1
+ interface UseWidgetLoadTimerOptions {
2
+ widgetName: string;
3
+ isLoaded?: boolean;
4
+ }
5
+ export declare const useWidgetLoadTimer: ({ widgetName, isLoaded }: UseWidgetLoadTimerOptions) => void;
6
+ export {};