@mx-cartographer/experiences 6.1.0-alpha.bb6 → 6.2.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,31 @@
1
+ ## [6.2.0] - 05-20-2025
2
+
3
+ - **ADDED** - Analytics | Survey MiniWidget
4
+
5
+ ## [6.1.1] - 05-20-2025
6
+
7
+ - **ADDED** - Overview Component | Investments Widget
8
+
9
+ ## [6.1.0] - 05-19-2025
10
+
11
+ - **ADDED** - `RecurringTransactionsWidget` & `RecurringTransactionsMiniWidget` using Repeating Transactions API
12
+
13
+ ## [6.0.25] - 05-19-2025
14
+
15
+ - **FIXED** - Transactions Widget | Category Selector Drawer | reset search value
16
+
17
+ ## [6.0.24] - 05-16-2025
18
+
19
+ - **UPDATED** - Micro Widget carousel a11y
20
+
21
+ ## [6.0.23] - 05-15-2025
22
+
23
+ - **UPDATED** - Use `theme.palette.primary` in `InsightsMicroWidget`
24
+
25
+ ## [6.0.22] - 05-15-2025
26
+
27
+ - **UPDATED** - Micro Widget now displays keyboard focus
28
+
1
29
  ## [6.0.21] - 05-14-2025
2
30
 
3
31
  - **UPDATED** - Hide create button in `BudwgetsMiniWidget`
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element | null) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as SurveyMiniWidget } from './SurveyMiniWidget';
@@ -0,0 +1,22 @@
1
+ import { GlobalStore } from '../../common/stores/GlobalStore';
2
+ import { Survey, SurveyQuestion } from 'posthog-js';
3
+ export declare class AnalyticsStore {
4
+ globalStore: GlobalStore;
5
+ survey: Survey | null;
6
+ currentQuestionIndex: number;
7
+ question: SurveyQuestion | null;
8
+ response: number | string | null;
9
+ responses: Record<string, number | string | null>;
10
+ constructor(globalStore: GlobalStore);
11
+ get isLastQuestion(): boolean;
12
+ get questionCount(): string;
13
+ get responsePayload(): {
14
+ $survey_id: string;
15
+ };
16
+ get surveyId(): string;
17
+ get surveyQuestions(): SurveyQuestion[];
18
+ loadSurvey: (forceReload?: boolean) => void;
19
+ nextQuestion: () => void;
20
+ resetStore: () => void;
21
+ setResponse: (response: number | string | null) => void;
22
+ }
@@ -2,6 +2,8 @@ import { default as React } from 'react';
2
2
  import { SxProps } from '@mui/material/styles';
3
3
  interface CardContainerProps {
4
4
  className?: string;
5
+ closeLabel?: string;
6
+ onClose?: () => void;
5
7
  onPrimaryCtaClick?: () => void;
6
8
  primaryCtaLabel?: string;
7
9
  subTitle?: string;
@@ -1,6 +1,7 @@
1
1
  export declare const useGlobalDataContext: (providerName?: string) => import('./GlobalDataProvider').GlobalStoreContextTypes;
2
2
  export declare const useAccountStore: () => import('../..').AccountStore;
3
3
  export declare const useAppConfig: () => import('..').AppConfig;
4
+ export declare const useAnalyticsStore: () => import('../../analytics/stores/AnalyticsStore').AnalyticsStore;
4
5
  export declare const useBudgetsStore: () => import('../../budgets/store/BudgetsStore').BudgetsStore;
5
6
  export declare const useCashflowStore: () => import('../..').CashflowStore;
6
7
  export declare const useCategoryStore: () => import('../..').CategoryStore;
@@ -16,7 +17,7 @@ export declare const useMerchantStore: () => import('../..').MerchantStore;
16
17
  export declare const useNetWorthStore: () => import('../..').NetWorthStore;
17
18
  export declare const useNotificationStore: () => import('../..').NotificationStore;
18
19
  export declare const useRecurringActivityStore: () => import('../..').RecurringActivityStore;
19
- export declare const useRecurringTransactionsStore: () => import('../../recurringtransactions/stores/RecurringTransactionsStore').RecurringTransactionsStore;
20
+ export declare const useRecurringTransactionsStore: () => import('../..').RecurringTransactionsStore;
20
21
  export declare const useSettingsStore: () => import('../..').SettingsStore;
21
22
  export declare const useTransactionStore: () => import('../..').TransactionStore;
22
23
  export declare const useUserStore: () => import('..').UserStore;
@@ -1,4 +1,5 @@
1
1
  import { AccountStore } from '../../accounts';
2
+ import { AnalyticsStore } from '../../analytics/stores/AnalyticsStore';
2
3
  import { BeatStore } from '../../insights/store/BeatStore';
3
4
  import { BudgetsStore } from '../../budgets/store/BudgetsStore';
4
5
  import { CashflowStore } from '../../cashflow';
@@ -26,6 +27,7 @@ export declare class GlobalStore {
26
27
  sessionToken: string;
27
28
  accountStore: AccountStore;
28
29
  appDataStore: AppDataStore;
30
+ analyticsStore: AnalyticsStore;
29
31
  beatStore: BeatStore;
30
32
  budgetsStore: BudgetsStore;
31
33
  cashflowStore: CashflowStore;
@@ -1,6 +1,7 @@
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, AnalyticsCopy, BudgetsCopy, CashflowCopy, CategoryCopy, CommonCopy, ConnectCopy, DebtsCopy, GoalsCopy, HelpCopy, InsightsFeedCopy, InvestmentsCopy, MicroInsightsCopy, NetWorthCopy, NotificationsCopy, RecurringCopy, SettingsCopy, SpendingCopy, TransactionsCopy, TrendsCopy } from './localization';
2
2
  export interface GlobalCopy {
3
3
  accounts: AccountsCopy;
4
+ analytics: AnalyticsCopy;
4
5
  budgets: BudgetsCopy;
5
6
  cashflow: CashflowCopy;
6
7
  categories: CategoryCopy;
@@ -0,0 +1,17 @@
1
+ export interface AnalyticsCopy {
2
+ continue: string;
3
+ dashboard_page_easy_to_use: string;
4
+ dashboard_page_meets_my_needs: string;
5
+ feedback: string;
6
+ feedback_sent_error: string;
7
+ feedback_sent_successfully: string;
8
+ improve_experience: string;
9
+ let_us_know: string;
10
+ other_feedback: string;
11
+ strongly_agree: string;
12
+ strongly_disagree: string;
13
+ submit_feedback: string;
14
+ thank_you: string;
15
+ try_again: string;
16
+ your_feedback_matters: string;
17
+ }
@@ -3,4 +3,23 @@ export interface InvestmentsCopy {
3
3
  tab_analysis_title: string;
4
4
  tab_overview_title: string;
5
5
  title: string;
6
+ overview: {
7
+ qty_header: string;
8
+ holding_header: string;
9
+ cost_basis_header: string;
10
+ total_gain_loss_header: string;
11
+ market_value_header: string;
12
+ total_portfolio: string;
13
+ total_gain_Loss: string;
14
+ total_value: string;
15
+ investment_accounts_footer: string;
16
+ connect_more_accounts_description: string;
17
+ connect_accounts: string;
18
+ close_investment_drawer: string;
19
+ investment_details: string;
20
+ current_balance: string;
21
+ holding: string;
22
+ market_value: string;
23
+ quantity: string;
24
+ };
6
25
  }
@@ -1,6 +1,7 @@
1
1
  export type { AccountFilterCopy } from './AccountFilterCopy';
2
2
  export type { AccountsCopy } from './AccountsCopy';
3
3
  export type { AccountTypeCopy } from './AccountTypeCopy';
4
+ export type { AnalyticsCopy } from './AnalyticsCopy';
4
5
  export type { BudgetsCopy } from './BudgetsCopy';
5
6
  export type { CashflowCopy } from './CashflowCopy';
6
7
  export type { CategoryCopy } from './CategoryCopy';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './accounts';
2
+ export * from './analytics';
2
3
  export * from './budgets';
3
4
  export * from './cashflow';
4
5
  export * from './categories';