@mx-cartographer/experiences 4.1.2-alpha.sms-1 → 4.1.3

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 (60) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/dist/common/api/UserApi.d.ts +1 -0
  3. package/dist/common/components/WidgetContainer.d.ts +1 -1
  4. package/dist/common/constants/ApiEndpoints.d.ts +1 -0
  5. package/dist/common/context/hooks.d.ts +1 -0
  6. package/dist/common/context/index.d.ts +1 -1
  7. package/dist/common/stores/GlobalStore.d.ts +4 -2
  8. package/dist/common/stores/UserStore.d.ts +3 -1
  9. package/dist/common/types/Debt.d.ts +2 -1
  10. package/dist/common/types/Global.d.ts +12 -0
  11. package/dist/common/types/GlobalCopy.d.ts +3 -1
  12. package/dist/common/types/Help.d.ts +63 -0
  13. package/dist/common/types/User.d.ts +10 -0
  14. package/dist/common/types/index.d.ts +1 -1
  15. package/dist/common/types/localization/CommonCopy.d.ts +1 -0
  16. package/dist/common/types/localization/DebtsCopy.d.ts +11 -0
  17. package/dist/common/types/localization/SettingsCopy.d.ts +20 -0
  18. package/dist/common/types/localization/index.d.ts +2 -0
  19. package/dist/debts/components/actions/DebtsPriorityAction.d.ts +3 -0
  20. package/dist/debts/components/actions/InterestRateAction.d.ts +8 -0
  21. package/dist/debts/components/actions/MonthlyPaymentAction.d.ts +8 -0
  22. package/dist/debts/components/actions/OriginalBalanceAction.d.ts +8 -0
  23. package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +8 -0
  24. package/dist/debts/components/debtspriority/DebtsPrioriyPopover.d.ts +8 -0
  25. package/dist/debts/constants/index.d.ts +5 -0
  26. package/dist/debts/store/DebtsUiStore.d.ts +3 -0
  27. package/dist/debts/utils/DebtsWidget.d.ts +2 -1
  28. package/dist/debts/utils/SnowballCard.d.ts +2 -1
  29. package/dist/debts/utils/shared.d.ts +3 -0
  30. package/dist/goals/components/actions/AmountToSaveAction.d.ts +3 -1
  31. package/dist/goals/components/actions/InterestRateAction.d.ts +3 -1
  32. package/dist/goals/components/actions/MonthlyPaymentAction.d.ts +3 -1
  33. package/dist/goals/components/actions/OriginalBalanceAction.d.ts +3 -1
  34. package/dist/goals/stores/GoalStore.d.ts +2 -0
  35. package/dist/help/HelpContent.d.ts +2 -0
  36. package/dist/help/HelpList.d.ts +3 -0
  37. package/dist/help/HelpWidget.d.ts +7 -0
  38. package/dist/help/components/content/Header.d.ts +8 -0
  39. package/dist/help/components/content/Section.d.ts +2 -0
  40. package/dist/help/constants/index.d.ts +53 -0
  41. package/dist/help/index.d.ts +3 -0
  42. package/dist/help/store/HelpStore.d.ts +9 -0
  43. package/dist/help/utils/index.d.ts +2 -0
  44. package/dist/index.d.ts +1 -0
  45. package/dist/index.es.js +6297 -5423
  46. package/dist/index.es.js.map +1 -1
  47. package/dist/requestsupport/ContactSupport.d.ts +6 -0
  48. package/dist/requestsupport/HelpByCategoryList.d.ts +16 -0
  49. package/dist/requestsupport/PopularTopicsList.d.ts +4 -0
  50. package/dist/requestsupport/PopularTopicsRow.d.ts +5 -0
  51. package/dist/requestsupport/RequestSupport.d.ts +6 -0
  52. package/dist/requestsupport/RequestSupportFooter.d.ts +6 -0
  53. package/dist/requestsupport/RequestSupportHeader.d.ts +7 -0
  54. package/dist/requestsupport/constants/index.d.ts +22 -0
  55. package/dist/requestsupport/index.d.ts +1 -0
  56. package/dist/settings/components/profile/ProfileDetails.d.ts +4 -0
  57. package/dist/settings/components/profile/VerificationModal.d.ts +6 -0
  58. package/dist/settings/components/profile/constants.d.ts +13 -0
  59. package/dist/settings/utils/Profile.d.ts +8 -0
  60. package/package.json +8 -8
@@ -0,0 +1,6 @@
1
+ interface ContactSupportProps {
2
+ isOpen: boolean;
3
+ onClose: () => void;
4
+ }
5
+ export declare const ContactSupport: React.FC<ContactSupportProps>;
6
+ export {};
@@ -0,0 +1,16 @@
1
+ import { default as React } from 'react';
2
+ interface HelpByCategoryListProps {
3
+ helpByCategory: HelpByCategory[];
4
+ }
5
+ interface HelpByCategory {
6
+ icon: string;
7
+ title: string;
8
+ topics: HelpTopic[];
9
+ }
10
+ interface HelpTopic {
11
+ label: string;
12
+ url: string;
13
+ onClick: (url: string) => void;
14
+ }
15
+ export declare const HelpByCategoryList: React.FC<HelpByCategoryListProps>;
16
+ export {};
@@ -0,0 +1,4 @@
1
+ interface PopularTopicsListProps {
2
+ }
3
+ export declare const PopularTopicsList: React.FC<PopularTopicsListProps>;
4
+ export {};
@@ -0,0 +1,5 @@
1
+ interface PopularTopicsRowProps {
2
+ title: string;
3
+ }
4
+ export declare const PopularTopicsRow: React.FC<PopularTopicsRowProps>;
5
+ export {};
@@ -0,0 +1,6 @@
1
+ interface RequestSupportProps {
2
+ isOpen: boolean;
3
+ onClose: () => void;
4
+ }
5
+ export declare const RequestSupport: React.FC<RequestSupportProps>;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ interface FooterProps {
3
+ onButtonClick: () => void;
4
+ }
5
+ export declare const RequestSupportFooter: React.FC<FooterProps>;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ interface RequestSupportHeaderProps {
3
+ title: string;
4
+ subtitle: string;
5
+ }
6
+ export declare const RequestSupportHeader: React.FC<RequestSupportHeaderProps>;
7
+ export {};
@@ -0,0 +1,22 @@
1
+ export declare const REQUEST_SUPPORT = "Request Support";
2
+ export declare const POPULAR_TOPICS = "Popular Topics";
3
+ export declare const HELP_BY_CATEGORY = "Help by Category";
4
+ export declare const HEADER_TITLE = "How can we help you today?";
5
+ export declare const HEADER_SUBTITLE = "Find exactly what you\u2019re looking for with helpful FAQs and support categories.";
6
+ export declare const FOOTER_TITLE = "Contact Support";
7
+ export declare const FOOTER_SUBTITLE = "Not finding what you\u2019re looking for? Open a case and we\u2019ll get back to you as soon as possible.";
8
+ export declare const FOOTER_BUTTON = "Open a Case";
9
+ export declare const CONTACT_SUPPORT_TITLE = "Contact Support";
10
+ export declare const CONTACT_SUPPORT_SUBTITLE = "Let us know your questions or concerns, and we'll guide you to the right answer.";
11
+ export declare const CONTACT_SUPPORT_LABEL = "Tell us your questions or concerns.";
12
+ export declare const CONTACT_SUPPORT_WARNING = "*Do not include any private or financial information, such as account numbers or passwords. If you have questions about your account, including transactions, bill payments, transfers, loans and so on, please contact your financial institution\u2019s customer service department.";
13
+ export declare const POPULAR_TOPICS_LIST: string[];
14
+ export declare const HELP_BY_CATEGORY_LIST: {
15
+ icon: string;
16
+ title: string;
17
+ topics: {
18
+ label: string;
19
+ url: string;
20
+ onClick: (url: string) => void;
21
+ }[];
22
+ }[];
@@ -0,0 +1 @@
1
+ export { RequestSupport } from './RequestSupport';
@@ -0,0 +1,4 @@
1
+ export declare const ProfileDetails: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default ProfileDetails;
@@ -0,0 +1,6 @@
1
+ interface VerificationModalProps {
2
+ contactType: string;
3
+ contactValue: string;
4
+ }
5
+ export declare const VerificationModal: React.FC<VerificationModalProps>;
6
+ export default VerificationModal;
@@ -0,0 +1,13 @@
1
+ declare const SettingsConstants: {
2
+ emailContactType: {
3
+ email: string;
4
+ email_address: string;
5
+ uppercase_email: string;
6
+ };
7
+ phoneContactType: {
8
+ number: string;
9
+ phone_number: string;
10
+ uppercase_phone_number: string;
11
+ };
12
+ };
13
+ export default SettingsConstants;
@@ -0,0 +1,8 @@
1
+ import { SettingsCopy } from '../../common';
2
+ export declare const buildVerificationModalCopy: (contactType: string, copy: SettingsCopy) => {
3
+ dialogHeader: string;
4
+ dialogContent: {
5
+ verificationNotice: string;
6
+ verifyContactDetail: string;
7
+ };
8
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "4.1.2-alpha.sms-1",
3
+ "version": "4.1.3",
4
4
  "description": "Library containing experience widgets",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -64,10 +64,10 @@
64
64
  "@storybook/react-vite": "^8.4.7",
65
65
  "@storybook/test": "^8.4.7",
66
66
  "@storybook/theming": "^8.4.7",
67
- "@testing-library/dom": "^9.3.4",
68
- "@testing-library/jest-dom": "^6.4.2",
69
- "@testing-library/react": "^14.2.1",
70
- "@testing-library/user-event": "^14.5.2",
67
+ "@testing-library/dom": "^10.4.0",
68
+ "@testing-library/jest-dom": "^6.6.3",
69
+ "@testing-library/react": "^16.2.0",
70
+ "@testing-library/user-event": "^14.6.1",
71
71
  "@types/d3": "^7.4.3",
72
72
  "@types/honeybadger": "^1.4.5",
73
73
  "@types/jest": "^29.5.12",
@@ -79,8 +79,8 @@
79
79
  "@typescript-eslint/eslint-plugin": "^7.16.0",
80
80
  "@typescript-eslint/parser": "^7.16.0",
81
81
  "@vitejs/plugin-react": "^4.3.3",
82
- "@vitest/coverage-v8": "^2.1.3",
83
- "@vitest/ui": "^2.1.3",
82
+ "@vitest/coverage-v8": "^2.1.9",
83
+ "@vitest/ui": "^2.1.9",
84
84
  "@yarnpkg/sdks": "^3.2.0",
85
85
  "eslint": "^8.56.0",
86
86
  "eslint-config-mx": "^4.0.0",
@@ -105,7 +105,7 @@
105
105
  "vite": "^5.4.10",
106
106
  "vite-plugin-dts": "^4.3.0",
107
107
  "vite-tsconfig-paths": "^5.0.1",
108
- "vitest": "^2.1.3"
108
+ "vitest": "^2.1.9"
109
109
  },
110
110
  "peerDependencies": {
111
111
  "@kyper/mui": "^4",