@mx-cartographer/experiences 6.0.20 → 6.1.0-alpha.al1
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 +0 -10
- package/dist/analytics/SurveyMiniWidget.d.ts +9 -0
- package/dist/common/components/MiniWidgetContainer.d.ts +2 -0
- package/dist/common/types/Analytics.d.ts +2 -0
- package/dist/common/types/AppData.d.ts +2 -0
- package/dist/common/utils/index.d.ts +1 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +4046 -4146
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/dist/common/utils/Theme.d.ts +0 -84
package/CHANGELOG.md
CHANGED
@@ -1,13 +1,3 @@
|
|
1
|
-
## [6.0.20] - 05-14-2025
|
2
|
-
|
3
|
-
- **ADDED** - `getClientTheme` util from MD into for easier theme testing
|
4
|
-
- **ADDED** - ability to use a custom `ClientStyleProfile` theme in storybook `ThemeWrapper`
|
5
|
-
- **UPDATED** - color usage where a clients expected to see primary color used but weren't
|
6
|
-
|
7
|
-
## [6.0.19] - 05-13-2025
|
8
|
-
|
9
|
-
- **UPDATED** - Micro Insights Carousel dot color
|
10
|
-
|
11
1
|
## [6.0.18] - 05-12-2025
|
12
2
|
|
13
3
|
- **ADDED** - EmptyState for Budgets Component.
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { default as React } from 'react';
|
2
|
+
import { SurveyQuestion } from '../common/types/Analytics';
|
3
|
+
interface SurveyProps {
|
4
|
+
onDismiss: () => void;
|
5
|
+
onSubmit: () => void;
|
6
|
+
surveyQuestions: SurveyQuestion[];
|
7
|
+
}
|
8
|
+
declare const _default: React.FunctionComponent<SurveyProps>;
|
9
|
+
export default _default;
|
@@ -2,8 +2,10 @@ import { default as React } from 'react';
|
|
2
2
|
import { SxProps } from '@mui/material/styles';
|
3
3
|
interface CardContainerProps {
|
4
4
|
className?: string;
|
5
|
+
onClose?: () => void;
|
5
6
|
onPrimaryCtaClick?: () => void;
|
6
7
|
primaryCtaLabel?: string;
|
8
|
+
showClose?: boolean;
|
7
9
|
subTitle?: string;
|
8
10
|
sx?: SxProps;
|
9
11
|
title?: string;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { analyticsSession } from '../utils/Analytics';
|
2
|
+
import { BasicSurveyQuestion, RatingSurveyQuestion } from 'posthog-js';
|
2
3
|
export type AnalyticsEvent = {
|
3
4
|
analytics_event: {
|
4
5
|
action: string;
|
@@ -48,3 +49,4 @@ export interface AnalyticsPageviewObjectType extends BasicAnalyticsPageview {
|
|
48
49
|
path: string;
|
49
50
|
value: string;
|
50
51
|
}
|
52
|
+
export type SurveyQuestion = RatingSurveyQuestion | BasicSurveyQuestion;
|
@@ -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,7 +1,6 @@
|
|
1
1
|
export { analyticsSession } from './Analytics';
|
2
2
|
export { getCategory, getDetailedCategory, getDetailedSubCategory, getCategoryTotalsByParent, isIncome, } from './Categories';
|
3
|
-
export { fromTimestampToMonthYear } from './DateUtil';
|
4
3
|
export { Fetch } from './Fetch';
|
5
4
|
export { buildDynamicCopy, buildPluralCopy, getLocale } from './Localization';
|
6
5
|
export { formatCurrency, formatOrdinal, formatPercentage, getCurrencyCodes, isValidNumber, } from './NumberFormatting';
|
7
|
-
export {
|
6
|
+
export { fromTimestampToMonthYear } from './DateUtil';
|