@mx-cartographer/experiences 6.0.16 → 6.1.0-alpha.al0

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 (28) hide show
  1. package/CHANGELOG.md +1 -21
  2. package/dist/analytics/components/SurveyMiniWidget.d.ts +4 -0
  3. package/dist/analytics/components/SurveyModal.d.ts +11 -0
  4. package/dist/common/types/Analytics.d.ts +16 -0
  5. package/dist/common/types/GlobalCopy.d.ts +1 -2
  6. package/dist/common/types/localization/index.d.ts +0 -1
  7. package/dist/dashboard/Dashboard.d.ts +2 -0
  8. package/dist/index.d.ts +0 -1
  9. package/dist/index.es.js +1832 -1861
  10. package/dist/index.es.js.map +1 -1
  11. package/dist/insights/store/BeatStore.d.ts +1 -1
  12. package/dist/microinsights/components/beatCard/BeatCard.d.ts +2 -2
  13. package/dist/microinsights/components/beaticons/BeatCategoryIcon.d.ts +2 -2
  14. package/dist/microinsights/components/beaticons/BeatMerchantLogo.d.ts +2 -2
  15. package/dist/microinsights/components/beaticons/MonthlySpendComparisonIcon.d.ts +2 -2
  16. package/dist/microinsights/constants/Insights.d.ts +3 -0
  17. package/dist/microinsights/constants/OnClickEvents.d.ts +3 -0
  18. package/dist/microinsights/interfaces.d.ts +0 -39
  19. package/dist/microinsights/types/BeatUIComponent.d.ts +38 -0
  20. package/dist/microinsights/utils/beatUtils.d.ts +1 -2
  21. package/package.json +1 -1
  22. package/dist/common/types/localization/InvestmentsCopy.d.ts +0 -6
  23. package/dist/investments/InvestmentsWidget.d.ts +0 -4
  24. package/dist/investments/components/Allocation.d.ts +0 -2
  25. package/dist/investments/components/Analysis.d.ts +0 -2
  26. package/dist/investments/components/Overview.d.ts +0 -2
  27. package/dist/investments/components/TabTitle.d.ts +0 -5
  28. package/dist/investments/index.d.ts +0 -1
package/CHANGELOG.md CHANGED
@@ -1,24 +1,4 @@
1
- ## [6.0.16] - 05-09-2025
2
-
3
- - **ADDED** - Initial Investments layout
4
-
5
- ## [6.0.15] - 05-08-2025
6
-
7
- - **UPDATED** - `Dashboard` to use updated MXUI breakpoints
8
-
9
- ## [6.0.14] - 05-08-2025
10
-
11
- - **UPDATED** - `useScreenSize` hook to use updated MXUI breakpoints
12
-
13
- ## [6.0.13] - 05-07-2025
14
-
15
- - **UPDATED** - InsightsMicroWidget Messaging Insights posthog events
16
-
17
- ## [6.0.12] - 05-07-2025
18
-
19
- - **UPDATED** - CSS Bug fixes for Goals and Networth empty state scenario
20
-
21
- ## [6.0.11] - 05-06-2025
1
+ ## [6.0.11] - 05-65-2025
22
2
 
23
3
  - **UPDATED** - Remove barrel imports from InsightsMicroWidget files
24
4
 
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { SurveyWidgetProps } from '../../common/types/Analytics';
3
+ declare const _default: React.FunctionComponent<SurveyWidgetProps>;
4
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { SurveyQuestion } from '../../common/types/Analytics';
3
+ interface SurveyModalProps {
4
+ onContinue: () => void;
5
+ onDismiss: () => void;
6
+ onSelect: (value: number) => void;
7
+ onSubmit: () => void;
8
+ surveyQuestion: SurveyQuestion;
9
+ }
10
+ declare const _default: React.FunctionComponent<SurveyModalProps>;
11
+ export default _default;
@@ -48,3 +48,19 @@ export interface AnalyticsPageviewObjectType extends BasicAnalyticsPageview {
48
48
  path: string;
49
49
  value: string;
50
50
  }
51
+ export interface SurveyQuestion {
52
+ id: string;
53
+ type: string;
54
+ scale?: number;
55
+ display?: string;
56
+ optional?: boolean;
57
+ question: string;
58
+ buttonText: string;
59
+ description: string;
60
+ lowerBoundLabel?: string;
61
+ upperBoundLabel?: string;
62
+ descriptionContentType?: string;
63
+ }
64
+ export interface SurveyWidgetProps {
65
+ surveyQuestions: SurveyQuestion[];
66
+ }
@@ -1,4 +1,4 @@
1
- import { AccountsCopy, BudgetsCopy, CashflowCopy, CategoryCopy, CommonCopy, ConnectCopy, DebtsCopy, GoalsCopy, HelpCopy, InsightsFeedCopy, InvestmentsCopy, MicroInsightsCopy, NetWorthCopy, NotificationsCopy, RecurringCopy, SettingsCopy, SpendingCopy, TransactionsCopy, TrendsCopy } from './localization';
1
+ import { AccountsCopy, BudgetsCopy, CashflowCopy, CategoryCopy, CommonCopy, ConnectCopy, DebtsCopy, GoalsCopy, HelpCopy, InsightsFeedCopy, MicroInsightsCopy, NetWorthCopy, NotificationsCopy, RecurringCopy, SettingsCopy, SpendingCopy, TransactionsCopy, TrendsCopy } from './localization';
2
2
  export interface GlobalCopy {
3
3
  accounts: AccountsCopy;
4
4
  budgets: BudgetsCopy;
@@ -10,7 +10,6 @@ export interface GlobalCopy {
10
10
  goals: GoalsCopy;
11
11
  help: HelpCopy;
12
12
  insights_feed: InsightsFeedCopy;
13
- investments: InvestmentsCopy;
14
13
  micro_insights: MicroInsightsCopy;
15
14
  net_worth: NetWorthCopy;
16
15
  notifications: NotificationsCopy;
@@ -12,7 +12,6 @@ export type { DebtsCopy } from './DebtsCopy';
12
12
  export type { GoalsCopy } from './GoalsCopy';
13
13
  export type { HelpCopy } from './HelpCopy';
14
14
  export type { InsightsFeedCopy } from './InsightsFeedCopy';
15
- export type { InvestmentsCopy } from './InvestmentsCopy';
16
15
  export type { MicroInsightsCopy } from './MicroInsightsCopy';
17
16
  export type { NetWorthCopy } from './NetWorthCopy';
18
17
  export type { NotificationsCopy } from './NotificationsCopy';
@@ -1,8 +1,10 @@
1
1
  import { default as React } from 'react';
2
2
  import { DashboardWidget } from './types/DashboardTypes';
3
+ import { SurveyQuestion } from '../common/types/Analytics';
3
4
  export interface DashboardProps {
4
5
  widgets: DashboardWidget[];
5
6
  isLoading: boolean;
7
+ surveyQuestions?: SurveyQuestion[];
6
8
  }
7
9
  declare const _default: React.FunctionComponent<DashboardProps>;
8
10
  export default _default;
package/dist/index.d.ts CHANGED
@@ -7,7 +7,6 @@ export * from './dashboard';
7
7
  export * from './debts';
8
8
  export * from './goals';
9
9
  export * from './help';
10
- export * from './investments';
11
10
  export * from './merchants';
12
11
  export * from './microinsights';
13
12
  export * from './networth';