@availity/mui-event-tracker 0.3.1 → 1.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,39 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.0.0](https://github.com/Availity/element/compare/@availity/mui-event-tracker@1.0.0-alpha.0...@availity/mui-event-tracker@1.0.0) (2025-02-25)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-button` updated to version `0.3.1`
10
+ * `mui-form-utils` updated to version `0.3.1`
11
+ * `mui-layout` updated to version `0.3.1`
12
+ * `mui-menu` updated to version `0.3.1`
13
+ * `mui-textfield` updated to version `0.3.1`
14
+ * `mui-typography` updated to version `0.3.1`
15
+
16
+ ### ⚠ BREAKING CHANGES
17
+
18
+ * upgrade to @mui/material v6
19
+
20
+ ### Miscellaneous Chores
21
+
22
+ * element v1 release ([a6e3567](https://github.com/Availity/element/commit/a6e35671185b9f13d25c7a39c4488ecb8774633e))
23
+
24
+ ## [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)
25
+
26
+
27
+ ### ⚠ BREAKING CHANGES
28
+
29
+ * upgraded to @mui/material v6
30
+ * **element:** upgraded to @mui/material v6
31
+
32
+ ### Features
33
+
34
+ * **element:** upgrade to @mui/material v6 ([cb958bb](https://github.com/Availity/element/commit/cb958bba99a4f1ee6dab323f0ff54b69e6fd3493))
35
+ * upgrade @mui/material ([571453a](https://github.com/Availity/element/commit/571453a34b21c344594ab4c03bc497d19aba942b))
36
+ * upgrade to MUI v6 ([7febd6f](https://github.com/Availity/element/commit/7febd6fd4fd58e87e1c97a832cea3b4595a35d58))
37
+
5
38
  ## [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)
6
39
 
7
40
  ### 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");
@@ -1,7 +1,10 @@
1
1
  import { Markdown } from '@storybook/blocks';
2
2
  import { Meta } from '@storybook/addon-docs';
3
3
  import ReadMe from './README.md?raw';
4
+ import CHANGELOG from './CHANGELOG.md?raw';
4
5
 
5
6
  <Meta title="Components/EventTracker/Introduction" />
6
7
 
7
8
  <Markdown>{ReadMe}</Markdown>
9
+
10
+ <Markdown>{CHANGELOG}</Markdown>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-event-tracker",
3
- "version": "0.3.1",
3
+ "version": "1.0.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.1",
45
- "@availity/mui-layout": "^0.3.0",
46
- "@availity/mui-menu": "^0.3.0",
47
- "@availity/mui-textfield": "^0.7.1",
48
- "@availity/mui-typography": "^0.3.0",
49
- "@mui/material": "^5.15.15",
43
+ "@availity/mui-button": "^1.0.0",
44
+ "@availity/mui-form-utils": "^1.0.0",
45
+ "@availity/mui-layout": "^1.0.0",
46
+ "@availity/mui-menu": "^1.0.0",
47
+ "@availity/mui-textfield": "^1.0.0",
48
+ "@availity/mui-typography": "^1.0.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"