@mx-cartographer/experiences 6.1.0-alpha.al22 → 6.1.0-alpha.al3

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.
@@ -1,9 +1,9 @@
1
1
  import { default as React } from 'react';
2
- import { Survey } from 'posthog-js';
2
+ import { SurveyQuestion } from '../common/types/Analytics';
3
3
  interface SurveyProps {
4
4
  onDismiss: () => void;
5
- onSubmit: (response: Record<string, any>) => void;
6
- survey: Survey;
5
+ onSubmit: () => void;
6
+ surveyQuestions: SurveyQuestion[];
7
7
  }
8
8
  declare const _default: React.FunctionComponent<SurveyProps>;
9
9
  export default _default;
@@ -43,6 +43,8 @@ export interface Config {
43
43
  dashboard_insights_location: number;
44
44
  dashboard_spending_index: number;
45
45
  dashboard_spending_location: number;
46
+ dashboard_survey_index: number;
47
+ dashboard_survey_location: number;
46
48
  dashboard_trends_index: number;
47
49
  dashboard_trends_location: number;
48
50
  display_account_number_in_accounts: boolean;
@@ -1,6 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { DashboardWidget } from './types/DashboardTypes';
3
- export declare const DASHBOARD_RATING_SURVEY_ID_ENGLISH = "0196a6b0-ccde-0000-b980-0b84ea2fef4a";
4
3
  export interface DashboardProps {
5
4
  widgets: DashboardWidget[];
6
5
  isLoading: boolean;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './accounts';
2
+ export { default as SurveyMiniWidget } from './analytics/SurveyMiniWidget';
2
3
  export * from './budgets';
3
4
  export * from './cashflow';
4
5
  export * from './categories';