@mx-cartographer/experiences 6.26.5 → 6.26.6

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,7 @@
1
+ ## [6.26.6] - 09-03-2025
2
+
3
+ - **ADDED** - `FinStrong Widget` | Score History Drawer | Score Graph & Key Indicators Graph added
4
+
1
5
  ## [6.26.5] - 09-03-2025
2
6
 
3
7
  - **ADDED** - `Finstrong` Graph Empty State
@@ -50,6 +50,7 @@ export interface FinstrongCopy {
50
50
  accounts: string;
51
51
  add_profile_item: string;
52
52
  building: string;
53
+ building_description: string;
53
54
  complete: string;
54
55
  connect_more_accounts_button: string;
55
56
  connect_more_accounts_description: string;
@@ -82,16 +83,20 @@ export interface FinstrongCopy {
82
83
  missing_data_title: string;
83
84
  monthly_income: string;
84
85
  profile: string;
86
+ score_history: string;
85
87
  score_rubric: string;
86
88
  peer_average: string;
87
89
  see_whats_possible: string;
88
90
  see_whats_possible_description: string;
89
91
  stable: string;
92
+ stable_description: string;
90
93
  strong: string;
94
+ strong_description: string;
91
95
  title: string;
92
96
  understand_your_habits: string;
93
97
  understand_your_habits_description: string;
94
98
  vulnerable: string;
99
+ vulnerable_description: string;
95
100
  we_ask_questions: string;
96
101
  we_ask_questions_description_1: string;
97
102
  we_ask_questions_description_2: string;
@@ -3,7 +3,9 @@ interface KeyIndicatorsDrawerProps {
3
3
  additionalContent?: React.ReactNode;
4
4
  children?: React.ReactNode;
5
5
  description?: string;
6
+ drawerTitle?: string;
6
7
  isOpen: boolean;
8
+ loadConnectAccountsCard?: boolean;
7
9
  onClose: () => void;
8
10
  stickyComponent?: React.ReactNode;
9
11
  title?: string;
@@ -0,0 +1,8 @@
1
+ interface ScoreHistoryDrawerProps {
2
+ isOpen: boolean;
3
+ onClose: () => void;
4
+ }
5
+ declare const _default: (({ isOpen, onClose }: ScoreHistoryDrawerProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export default _default;
@@ -2,7 +2,14 @@ import { PieValueType } from '@mui/x-charts';
2
2
  import { CreditScoreStatusCopy, FinstrongCopy } from '../../common/types/localization/FinstrongCopy';
3
3
  import { Action } from '../components/ProfileList';
4
4
  export declare const radiansToDegrees: (radians: number) => number;
5
- export declare const calculateFinstrongScoreStatus: (healthScore: number, copy: FinstrongCopy) => string;
5
+ export declare const calculateFinstrongScoreStatus: (healthScore: number, copy: FinstrongCopy) => {
6
+ max: number;
7
+ status: string;
8
+ description: string;
9
+ } | {
10
+ status: string;
11
+ description: string;
12
+ };
6
13
  export declare const CreditScoreLightColors: {
7
14
  POOR: string;
8
15
  FAIR: string;
package/dist/index.es.js CHANGED
@@ -12528,7 +12528,12 @@ const Bp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
12528
12528
  a < e.length - 1 && /* @__PURE__ */ t(P, { sx: { color: "divider", ml: 68 } })
12529
12529
  ] }, i.key))
12530
12530
  }
12531
- ) }), Qr = (e) => e * (180 / Math.PI), Hp = (e, n) => e > 0 && e <= 25 ? n.vulnerable : e > 25 && e <= 50 ? n.building : e > 50 && e <= 75 ? n.stable : e > 75 && e <= 100 ? n.strong : n.insufficient_data, _n = {
12531
+ ) }), Qr = (e) => e * (180 / Math.PI), Hp = (e, n) => [
12532
+ { max: 25, status: n.vulnerable, description: n.vulnerable_description },
12533
+ { max: 50, status: n.building, description: n.building_description },
12534
+ { max: 75, status: n.stable, description: n.stable_description },
12535
+ { max: 100, status: n.strong, description: n.strong_description }
12536
+ ].find((o) => e > 0 && e <= o.max) || { status: n.insufficient_data, description: "" }, _n = {
12532
12537
  POOR: "#8C0E0E",
12533
12538
  FAIR: "#E32727",
12534
12539
  GOOD: "#FFB70D",
@@ -12823,18 +12828,20 @@ const Bp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
12823
12828
  { id: 3, label: "Group C", value: 25 },
12824
12829
  { id: 4, label: "Group D", value: 25 }
12825
12830
  ], { finstrong: r } = A(), { isCopyLoaded: s } = _e();
12826
- return s ? /* @__PURE__ */ t(
12831
+ if (!s) return /* @__PURE__ */ t(ue, {});
12832
+ const c = Hp(i, r);
12833
+ return /* @__PURE__ */ t(
12827
12834
  Zc,
12828
12835
  {
12829
12836
  arcRadius: e,
12830
12837
  dialScoreData: o,
12831
12838
  footerCenterContent: n === "L" ? r.footer_center_content_updated_just_now : a,
12832
12839
  healthScore: i,
12833
- healthScoreStatus: Hp(i, r),
12840
+ healthScoreStatus: c.status,
12834
12841
  isFinacialStrengthGraph: !0,
12835
12842
  size: n
12836
12843
  }
12837
- ) : /* @__PURE__ */ t(ue, {});
12844
+ );
12838
12845
  }
12839
12846
  ), j2 = x(
12840
12847
  ({