@mx-cartographer/experiences 4.4.0 → 5.0.0

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.
@@ -60,7 +60,19 @@ export declare const ANALYTICS_PAGE_NAMES: {
60
60
  MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS: string;
61
61
  };
62
62
  export declare const ANALYTICS_PAGEVIEWS: {
63
- [x: string]: {
63
+ [ANALYTICS_PAGE_NAMES.MICRO_WIDGET_CAROUSEL]: {
64
+ label: string;
65
+ name: string;
66
+ path: string;
67
+ value: any;
68
+ };
69
+ [ANALYTICS_PAGE_NAMES.MICRO_WIDGET_CAROUSEL_ZERO_STATE]: {
70
+ label: string;
71
+ name: string;
72
+ path: string;
73
+ value: any;
74
+ };
75
+ [ANALYTICS_PAGE_NAMES.MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS]: {
64
76
  label: string;
65
77
  name: string;
66
78
  path: string;
@@ -1,3 +1,4 @@
1
+ import { ON_CLICK_EVENTS } from './OnClickEvents';
1
2
  export declare const ANALYTICS_ACTIONS: {
2
3
  ADD: string;
3
4
  ADD_CATEGORY: string;
@@ -39,7 +40,202 @@ export declare const ANALYTICS_LABELS: {
39
40
  UNHIDE_TRANSACTION: string;
40
41
  };
41
42
  export declare const ANALYTICS_EVENTS: {
42
- [x: string]: {
43
+ [ON_CLICK_EVENTS.ON_TRANSACTION_SPLIT_CLICK]: {
44
+ action: string;
45
+ category: string;
46
+ label: string;
47
+ };
48
+ [ON_CLICK_EVENTS.ON_TRANSACTION_SPLIT_CATEGORY_CLICK]: {
49
+ action: string;
50
+ category: string;
51
+ label: string;
52
+ };
53
+ [ON_CLICK_EVENTS.ON_TRANSACTION_SPLIT_DELETE_CLICK]: {
54
+ action: string;
55
+ category: string;
56
+ label: string;
57
+ };
58
+ [ON_CLICK_EVENTS.ON_TRANSACTION_SPLIT_SAVE_CLICK]: {
59
+ action: string;
60
+ category: string;
61
+ label: string;
62
+ };
63
+ [ON_CLICK_EVENTS.ON_TRANSACTION_UNSPLIT]: {
64
+ action: string;
65
+ category: string;
66
+ label: string;
67
+ };
68
+ [ON_CLICK_EVENTS.ON_TRANSACTION_CATEGORY_CLICK]: {
69
+ action: string;
70
+ category: string;
71
+ label: string;
72
+ };
73
+ [ON_CLICK_EVENTS.ON_TRANSACTION_CATEGORY_CHANGED]: {
74
+ action: string;
75
+ category: string;
76
+ label: string;
77
+ };
78
+ [ON_CLICK_EVENTS.ON_TRANSACTION_DATE_CHANGED]: {
79
+ action: string;
80
+ category: string;
81
+ label: string;
82
+ };
83
+ [ON_CLICK_EVENTS.ON_TRANSACTION_DATE_CLICK]: {
84
+ action: string;
85
+ category: string;
86
+ label: string;
87
+ };
88
+ [ON_CLICK_EVENTS.ON_TRANSACTION_DELETE_LOGO_CANCEL]: {
89
+ action: string;
90
+ category: string;
91
+ label: string;
92
+ };
93
+ [ON_CLICK_EVENTS.ON_TRANSACTION_DELETE_LOGO_CLICK]: {
94
+ action: string;
95
+ category: string;
96
+ label: string;
97
+ };
98
+ [ON_CLICK_EVENTS.ON_TRANSACTION_DELETE_LOGO_DELETED]: {
99
+ action: string;
100
+ category: string;
101
+ label: string;
102
+ };
103
+ [ON_CLICK_EVENTS.ON_TRANSACTION_DESCRIPTION_EDIT_CLICK]: {
104
+ action: string;
105
+ category: string;
106
+ label: string;
107
+ };
108
+ [ON_CLICK_EVENTS.ON_TRANSACTION_DESCRIPTION_SAVE_CLICK]: {
109
+ action: string;
110
+ category: string;
111
+ label: string;
112
+ };
113
+ [ON_CLICK_EVENTS.ON_TRANSACTION_HIDDEN]: {
114
+ action: string;
115
+ category: string;
116
+ label: string;
117
+ };
118
+ [ON_CLICK_EVENTS.ON_TRANSACTION_HIDE_CLICK]: {
119
+ action: string;
120
+ category: string;
121
+ label: string;
122
+ };
123
+ [ON_CLICK_EVENTS.ON_TRANSACTION_HIDE_CANCEL_CLICK]: {
124
+ action: string;
125
+ category: string;
126
+ label: string;
127
+ };
128
+ [ON_CLICK_EVENTS.ON_TRANSACTION_LIST_ITEM_CLICK]: {
129
+ action: string;
130
+ category: string;
131
+ label: string;
132
+ };
133
+ [ON_CLICK_EVENTS.ON_TRANSACTION_MEMO_CHANGED]: {
134
+ action: string;
135
+ category: string;
136
+ label: string;
137
+ };
138
+ [ON_CLICK_EVENTS.ON_TRANSACTION_MEMO_CLICK]: {
139
+ action: string;
140
+ category: string;
141
+ label: string;
142
+ };
143
+ [ON_CLICK_EVENTS.ON_TRANSACTION_TAGS_CHANGED]: {
144
+ action: string;
145
+ category: string;
146
+ label: string;
147
+ };
148
+ [ON_CLICK_EVENTS.ON_TRANSACTION_TAGS_CLICK]: {
149
+ action: string;
150
+ category: string;
151
+ label: string;
152
+ };
153
+ [ON_CLICK_EVENTS.ON_TRANSACTION_TAGS_TAG_ADD_CANCEL_CLICK]: {
154
+ action: string;
155
+ category: string;
156
+ label: string;
157
+ };
158
+ [ON_CLICK_EVENTS.ON_TRANSACTION_TAGS_TAG_ADD_CLICK]: {
159
+ action: string;
160
+ category: string;
161
+ label: string;
162
+ };
163
+ [ON_CLICK_EVENTS.ON_TRANSACTION_TAGS_TAG_ADDED]: {
164
+ action: string;
165
+ category: string;
166
+ label: string;
167
+ };
168
+ [ON_CLICK_EVENTS.ON_TRANSACTION_TAGS_TAG_DELETE_CLICK]: {
169
+ action: string;
170
+ category: string;
171
+ label: string;
172
+ };
173
+ [ON_CLICK_EVENTS.ON_TRANSACTION_TAGS_TAG_DELETE_CANCEL_CLICK]: {
174
+ action: string;
175
+ category: string;
176
+ label: string;
177
+ };
178
+ [ON_CLICK_EVENTS.ON_TRANSACTION_TAGS_TAG_DELETED]: {
179
+ action: string;
180
+ category: string;
181
+ label: string;
182
+ };
183
+ [ON_CLICK_EVENTS.ON_TRANSACTION_TAGS_TAG_EDIT_CLICK]: {
184
+ action: string;
185
+ category: string;
186
+ label: string;
187
+ };
188
+ [ON_CLICK_EVENTS.ON_TRANSACTION_TAGS_TAG_EDIT_SAVED]: {
189
+ action: string;
190
+ category: string;
191
+ label: string;
192
+ };
193
+ [ON_CLICK_EVENTS.ON_TRANSACTION_TOGGLE_FLAG_CLICK]: {
194
+ action: string;
195
+ category: string;
196
+ label: string;
197
+ };
198
+ [ON_CLICK_EVENTS.ON_TRANSACTION_UNHIDDEN]: {
199
+ action: string;
200
+ category: string;
201
+ label: string;
202
+ };
203
+ [ON_CLICK_EVENTS.ON_TRANSACTION_UNHIDE_CLICK]: {
204
+ action: string;
205
+ category: string;
206
+ label: string;
207
+ };
208
+ [ON_CLICK_EVENTS.ON_TRANSACTION_UNHIDE_CANCEL_CLICK]: {
209
+ action: string;
210
+ category: string;
211
+ label: string;
212
+ };
213
+ [ON_CLICK_EVENTS.ON_TRANSACTION_EXPORT_CSV_CLICK]: {
214
+ action: string;
215
+ category: string;
216
+ label: string;
217
+ };
218
+ [ON_CLICK_EVENTS.ON_TRANSACTION_MANUAL_ADD_CLICK]: {
219
+ action: string;
220
+ category: string;
221
+ label: string;
222
+ };
223
+ [ON_CLICK_EVENTS.ON_TRANSACTION_MANUAL_ADD_ADDED]: {
224
+ action: string;
225
+ category: string;
226
+ label: string;
227
+ };
228
+ [ON_CLICK_EVENTS.ON_TRANSACTION_DELETE_CLICK]: {
229
+ action: string;
230
+ category: string;
231
+ label: string;
232
+ };
233
+ [ON_CLICK_EVENTS.ON_TRANSACTION_DELETE_CANCEL]: {
234
+ action: string;
235
+ category: string;
236
+ label: string;
237
+ };
238
+ [ON_CLICK_EVENTS.ON_TRANSACTION_DELETE_DELETED]: {
43
239
  action: string;
44
240
  category: string;
45
241
  label: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "4.4.0",
3
+ "version": "5.0.0",
4
4
  "description": "Library containing experience widgets",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -23,65 +23,65 @@
23
23
  "citest": "vitest run --coverage"
24
24
  },
25
25
  "dependencies": {
26
- "@emotion/react": "^11.11.4",
27
- "@emotion/styled": "^11.11.0",
26
+ "@emotion/react": "^11.14.0",
27
+ "@emotion/styled": "^11.14.0",
28
28
  "@honeybadger-io/js": "^6.8.3",
29
29
  "@honeybadger-io/react": "^6.1.19",
30
- "@kyper/mui": "^4.4.3",
31
- "@mui/icons-material": "^5.16.0",
32
- "@mui/lab": "^5.0.0-alpha.172",
33
- "@mui/material": "^5.16.0",
34
- "@mui/system": "^5.16.0",
35
- "@mui/x-charts": "^7.9.0",
36
- "@mui/x-data-grid-pro": "^7.9.0",
37
- "@mui/x-date-pickers": "^7.9.0",
38
- "@mui/x-date-pickers-pro": "^7.9.0",
30
+ "@mui/icons-material": "^5.16.14",
31
+ "@mui/lab": "^5.0.0-alpha.175",
32
+ "@mui/material": "^5.16.14",
33
+ "@mui/system": "^5.16.14",
34
+ "@mui/x-charts": "^7.27.1",
35
+ "@mui/x-data-grid-pro": "^7.27.3",
36
+ "@mui/x-date-pickers": "^7.27.3",
37
+ "@mui/x-date-pickers-pro": "^7.27.3",
39
38
  "@mxenabled/cssinjs": "^0.6.0",
40
- "@mxenabled/mx-icons": "^1.2.0",
39
+ "@mxenabled/mx-icons": "^1.5.0",
40
+ "@mxenabled/mxui": "^1.0.0",
41
41
  "@mxenabled/web-widget-sdk": "^0.0.13",
42
- "@tanstack/react-virtual": "^3.8.2",
42
+ "@tanstack/react-virtual": "^3.13.2",
43
43
  "bowser": "^2.11.0",
44
44
  "d3": "^7.9.0",
45
- "date-fns": "^3.6.0",
46
- "mobx": "^6.13.0",
47
- "mobx-react-lite": "^4.0.7",
45
+ "date-fns": "^4.1.0",
46
+ "mobx": "^6.13.6",
47
+ "mobx-react-lite": "^4.1.0",
48
48
  "numeral": "^2.0.6",
49
- "posthog-js": "^1.104.3",
49
+ "posthog-js": "^1.230.1",
50
50
  "react": "^18.3.1",
51
51
  "react-dom": "^18.3.1",
52
- "react-intersection-observer": "^9.10.3",
53
- "uuid": "^10.0.0"
52
+ "react-intersection-observer": "^9.16.0",
53
+ "uuid": "^11.1.0"
54
54
  },
55
55
  "devDependencies": {
56
- "@babel/core": "^7.23.7",
57
- "@babel/eslint-parser": "^7.23.3",
58
- "@storybook/addon-a11y": "^8.4.7",
59
- "@storybook/addon-essentials": "^8.4.7",
60
- "@storybook/addon-interactions": "^8.4.7",
61
- "@storybook/addon-links": "^8.4.7",
62
- "@storybook/blocks": "^8.4.7",
63
- "@storybook/react": "^8.4.7",
64
- "@storybook/react-vite": "^8.4.7",
65
- "@storybook/test": "^8.4.7",
66
- "@storybook/theming": "^8.4.7",
56
+ "@babel/core": "^7.26.10",
57
+ "@babel/eslint-parser": "^7.26.10",
58
+ "@storybook/addon-a11y": "^8.6.4",
59
+ "@storybook/addon-essentials": "^8.6.4",
60
+ "@storybook/addon-interactions": "^8.6.4",
61
+ "@storybook/addon-links": "^8.6.4",
62
+ "@storybook/blocks": "^8.6.4",
63
+ "@storybook/react": "^8.6.4",
64
+ "@storybook/react-vite": "^8.6.4",
65
+ "@storybook/test": "^8.6.4",
66
+ "@storybook/theming": "^8.6.4",
67
67
  "@testing-library/dom": "^10.4.0",
68
68
  "@testing-library/jest-dom": "^6.6.3",
69
69
  "@testing-library/react": "^16.2.0",
70
70
  "@testing-library/user-event": "^14.6.1",
71
71
  "@types/d3": "^7.4.3",
72
72
  "@types/honeybadger": "^1.4.5",
73
- "@types/jest": "^29.5.12",
73
+ "@types/jest": "^29.5.14",
74
74
  "@types/numeral": "^2.0.5",
75
- "@types/prop-types": "^15.7.12",
76
- "@types/react": "^18.3.3",
77
- "@types/react-dom": "^18.3.0",
75
+ "@types/prop-types": "^15.7.14",
76
+ "@types/react": "^18.3.18",
77
+ "@types/react-dom": "^18.3.5",
78
78
  "@types/uuid": "^10.0.0",
79
79
  "@typescript-eslint/eslint-plugin": "^7.16.0",
80
80
  "@typescript-eslint/parser": "^7.16.0",
81
- "@vitejs/plugin-react": "^4.3.3",
82
- "@vitest/coverage-v8": "^2.1.9",
83
- "@vitest/ui": "^2.1.9",
84
- "@yarnpkg/sdks": "^3.2.0",
81
+ "@vitejs/plugin-react": "^4.3.4",
82
+ "@vitest/coverage-v8": "^3.0.8",
83
+ "@vitest/ui": "^3.0.8",
84
+ "@yarnpkg/sdks": "^3.2.1",
85
85
  "eslint": "^8.56.0",
86
86
  "eslint-config-mx": "^4.0.0",
87
87
  "eslint-config-prettier": "^9.1.0",
@@ -91,26 +91,29 @@
91
91
  "eslint-plugin-react-refresh": "^0.4.5",
92
92
  "eslint-plugin-storybook": "^0.11.1",
93
93
  "global-jsdom": "^9.2.0",
94
- "husky": "^9.1.5",
94
+ "husky": "^9.1.7",
95
95
  "jsdom": "^23.0.1",
96
- "lint-staged": "^15.2.0",
96
+ "lint-staged": "^15.4.3",
97
97
  "path": "^0.12.7",
98
- "prettier": "^3.1.1",
98
+ "prettier": "^3.5.3",
99
99
  "prop-types": "^15.8.1",
100
- "storybook": "^8.4.7",
100
+ "storybook": "^8.6.4",
101
101
  "storybook-addon-mock": "^5.0.0",
102
102
  "storybook-dark-mode": "4.0.1",
103
- "typescript": "^5.6.3",
103
+ "typescript": "^5.8.2",
104
104
  "vi-canvas-mock": "^1.0.0",
105
- "vite": "^5.4.10",
106
- "vite-plugin-dts": "^4.3.0",
107
- "vite-tsconfig-paths": "^5.0.1",
108
- "vitest": "^2.1.9"
105
+ "vite": "^5.4.14",
106
+ "vite-plugin-dts": "^4.5.3",
107
+ "vite-tsconfig-paths": "^5.1.4",
108
+ "vitest": "^3.0.8"
109
109
  },
110
110
  "peerDependencies": {
111
- "@kyper/mui": "^4",
111
+ "@mui/material": "^5",
112
+ "@mxenabled/mxui": "^1",
112
113
  "d3": "^7",
113
114
  "date-fns": "^3",
115
+ "mobx": "^6",
116
+ "mobx-react-lite": "^4",
114
117
  "react": "^18",
115
118
  "react-dom": "^18"
116
119
  },
@@ -119,5 +122,5 @@
119
122
  "CHANGELOG.md",
120
123
  "README.md"
121
124
  ],
122
- "packageManager": "yarn@4.6.0"
125
+ "packageManager": "yarn@4.7.0"
123
126
  }