@availity/mui-event-tracker 0.3.0 → 1.0.0-alpha.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,26 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.0.0-alpha.0](https://github.com/Availity/element/compare/@availity/mui-event-tracker@0.3.1...@availity/mui-event-tracker@1.0.0-alpha.0) (2025-02-24)
6
+
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * upgraded to @mui/material v6
11
+ * **element:** upgraded to @mui/material v6
12
+
13
+ ### Features
14
+
15
+ * **element:** upgrade to @mui/material v6 ([cb958bb](https://github.com/Availity/element/commit/cb958bba99a4f1ee6dab323f0ff54b69e6fd3493))
16
+ * upgrade @mui/material ([571453a](https://github.com/Availity/element/commit/571453a34b21c344594ab4c03bc497d19aba942b))
17
+ * upgrade to MUI v6 ([7febd6f](https://github.com/Availity/element/commit/7febd6fd4fd58e87e1c97a832cea3b4595a35d58))
18
+
19
+ ## [0.3.1](https://github.com/Availity/element/compare/@availity/mui-event-tracker@0.3.0...@availity/mui-event-tracker@0.3.1) (2025-02-18)
20
+
21
+ ### Dependency Updates
22
+
23
+ * `mui-form-utils` updated to version `0.3.0`
24
+ * `mui-textfield` updated to version `0.3.0`
5
25
  ## [0.3.0](https://github.com/Availity/element/compare/@availity/mui-event-tracker@0.2.8...@availity/mui-event-tracker@0.3.0) (2025-02-04)
6
26
 
7
27
  ### Dependency Updates
package/dist/index.js CHANGED
@@ -18,13 +18,13 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
23
  EventTrackerContext: () => EventTrackerContext,
24
24
  EventTrackerProvider: () => EventTrackerProvider,
25
25
  useEventTracker: () => useEventTracker
26
26
  });
27
- module.exports = __toCommonJS(src_exports);
27
+ module.exports = __toCommonJS(index_exports);
28
28
 
29
29
  // src/lib/EventTracker.tsx
30
30
  var import_react = require("react");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-event-tracker",
3
- "version": "0.3.0",
3
+ "version": "1.0.0-alpha.0",
4
4
  "description": "Availity MUI EventTracker Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -40,26 +40,26 @@
40
40
  "publish:canary": "yarn npm publish --access public --tag canary"
41
41
  },
42
42
  "devDependencies": {
43
- "@availity/mui-button": "^0.7.0",
44
- "@availity/mui-form-utils": "^0.17.0",
45
- "@availity/mui-layout": "^0.3.0",
46
- "@availity/mui-menu": "^0.3.0",
47
- "@availity/mui-textfield": "^0.7.0",
48
- "@availity/mui-typography": "^0.3.0",
49
- "@mui/material": "^5.15.15",
43
+ "@availity/mui-button": "^1.0.0-alpha.0",
44
+ "@availity/mui-form-utils": "^1.0.0-alpha.0",
45
+ "@availity/mui-layout": "^1.0.0-alpha.0",
46
+ "@availity/mui-menu": "^1.0.0-alpha.0",
47
+ "@availity/mui-textfield": "^1.0.0-alpha.0",
48
+ "@availity/mui-typography": "^1.0.0-alpha.0",
49
+ "@mui/material": "^6.4.5",
50
50
  "react": "18.2.0",
51
51
  "react-dom": "18.2.0",
52
- "tsup": "^8.0.2",
52
+ "tsup": "^8.3.6",
53
53
  "typescript": "^5.4.5"
54
54
  },
55
55
  "peerDependencies": {
56
- "@mui/material": "^5.11.9",
56
+ "@mui/material": "^6.4.5",
57
57
  "react": ">=16.3.0"
58
58
  },
59
59
  "publishConfig": {
60
60
  "access": "public"
61
61
  },
62
62
  "dependencies": {
63
- "@availity/analytics-core": "^5.0.3"
63
+ "@availity/analytics-core": "^5.0.8"
64
64
  }
65
65
  }
@@ -41,7 +41,7 @@ const EventTrackerUI = ({ count, state, selectValue, setCount, setSelectValue }:
41
41
  </Typography>
42
42
  <Typography>Events logged: {count}</Typography>
43
43
  <pre>LastEvent: {state}</pre>
44
- <Grid container direction="column" maxWidth="500px" data-analytics-app-name="app">
44
+ <Grid container direction="column" sx={{ maxWidth: '500px' }} data-analytics-app-name="app">
45
45
  <FormControl>
46
46
  <FormLabel id="select-label">Select</FormLabel>
47
47
  <Select
@@ -55,7 +55,7 @@ const EventTrackerUI = ({ count, state, selectValue, setCount, setSelectValue }:
55
55
  <MenuItem value="30">30</MenuItem>
56
56
  </Select>
57
57
  </FormControl>
58
- <Box marginTop={2}>
58
+ <Box sx={{ marginTop: 2 }}>
59
59
  <FormControl>
60
60
  <FormLabel id="textarea-label" htmlFor="textarea">
61
61
  Text Area
@@ -69,7 +69,7 @@ const EventTrackerUI = ({ count, state, selectValue, setCount, setSelectValue }:
69
69
  </FormLabel>
70
70
  <Input id="input" data-analytics-action="focus" />
71
71
  </FormControl>
72
- <Grid container justifyContent="space-between" data-analytics-container="buttons" marginTop={2}>
72
+ <Grid container sx={{ justifyContent: 'space-between', marginTop: 2 }} data-analytics-container="buttons">
73
73
  <Button
74
74
  id="reset-button"
75
75
  data-analytics-action="click"
File without changes