@availity/mui-feedback 1.0.16 → 2.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,29 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [2.0.0](https://github.com/Availity/element/compare/@availity/mui-feedback@1.0.16...@availity/mui-feedback@2.0.0) (2025-11-17)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-button` updated to version `1.0.16`
10
+ * `mui-form-utils` updated to version `1.0.16`
11
+ * `mui-icon` updated to version `1.0.16`
12
+ * `mui-layout` updated to version `1.0.16`
13
+ * `mui-popover` updated to version `1.0.16`
14
+ * `mui-textfield` updated to version `1.0.16`
15
+ * `mui-toggle-button` updated to version `1.0.16`
16
+ * `mui-typography` updated to version `1.0.16`
17
+
18
+ ### ⚠ BREAKING CHANGES
19
+
20
+ * @mui/material upgraded to v7
21
+ * @mui/x-* upgraded to v8
22
+ * react upgraded to v19
23
+
24
+ ### Features
25
+
26
+ * upgrade material and react dependencies ([51602a4](https://github.com/Availity/element/commit/51602a48c5304db6f61e2c7e772c9a3a4aa3f65c))
27
+
5
28
  ## [1.0.16](https://github.com/Availity/element/compare/@availity/mui-feedback@1.0.15...@availity/mui-feedback@1.0.16) (2025-10-30)
6
29
 
7
30
  ### Dependency Updates
package/dist/index.d.mts CHANGED
@@ -5,6 +5,6 @@ interface FeedbackProps {
5
5
  appName: string;
6
6
  buttonVariant?: 'secondary' | 'tertiary';
7
7
  }
8
- declare const Feedback: ({ analytics, appName, buttonVariant, }: FeedbackProps) => JSX.Element;
8
+ declare const Feedback: ({ analytics, appName, buttonVariant, }: FeedbackProps) => React.JSX.Element;
9
9
 
10
10
  export { Feedback, type FeedbackProps };
package/dist/index.d.ts CHANGED
@@ -5,6 +5,6 @@ interface FeedbackProps {
5
5
  appName: string;
6
6
  buttonVariant?: 'secondary' | 'tertiary';
7
7
  }
8
- declare const Feedback: ({ analytics, appName, buttonVariant, }: FeedbackProps) => JSX.Element;
8
+ declare const Feedback: ({ analytics, appName, buttonVariant, }: FeedbackProps) => React.JSX.Element;
9
9
 
10
10
  export { Feedback, type FeedbackProps };
package/dist/index.js CHANGED
@@ -242,7 +242,7 @@ var FeedbackForm = ({
242
242
  ),
243
243
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(FormActions, { container: true, direction: "row", width: "100%", spacing: 1, wrap: "wrap", children: [
244
244
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_mui_layout.Grid, { sx: { flex: 1, minWidth: "147px" }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_mui_button.Button, { color: "secondary", disabled: loading, onClick: handleClose, children: "Close" }) }),
245
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_mui_layout.Grid, { sx: { flex: 1, minWidth: "147px" }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_mui_button.LoadingButton, { disabled: !smileFieldValue, loading, type: "submit", variant: "contained", children: "Send Feedback" }) })
245
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_mui_layout.Grid, { sx: { flex: 1, minWidth: "147px" }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_mui_button.LoadingButton, { disabled: !smileFieldValue, loading, type: "submit", children: "Send Feedback" }) })
246
246
  ] })
247
247
  ]
248
248
  }
package/dist/index.mjs CHANGED
@@ -209,7 +209,7 @@ var FeedbackForm = ({
209
209
  ),
210
210
  /* @__PURE__ */ jsxs(FormActions, { container: true, direction: "row", width: "100%", spacing: 1, wrap: "wrap", children: [
211
211
  /* @__PURE__ */ jsx(Grid, { sx: { flex: 1, minWidth: "147px" }, children: /* @__PURE__ */ jsx(Button, { color: "secondary", disabled: loading, onClick: handleClose, children: "Close" }) }),
212
- /* @__PURE__ */ jsx(Grid, { sx: { flex: 1, minWidth: "147px" }, children: /* @__PURE__ */ jsx(LoadingButton, { disabled: !smileFieldValue, loading, type: "submit", variant: "contained", children: "Send Feedback" }) })
212
+ /* @__PURE__ */ jsx(Grid, { sx: { flex: 1, minWidth: "147px" }, children: /* @__PURE__ */ jsx(LoadingButton, { disabled: !smileFieldValue, loading, type: "submit", children: "Send Feedback" }) })
213
213
  ] })
214
214
  ]
215
215
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-feedback",
3
- "version": "1.0.16",
3
+ "version": "2.0.0",
4
4
  "description": "Availity MUI Feedback Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -40,29 +40,29 @@
40
40
  "publish:canary": "yarn npm publish --access public --tag canary"
41
41
  },
42
42
  "devDependencies": {
43
- "@mui/material": "^6.4.5",
44
- "react": "18.2.0",
45
- "react-dom": "18.2.0",
43
+ "@mui/material": "^7.3.4",
44
+ "react": "19.2.0",
45
+ "react-dom": "19.2.0",
46
46
  "tsup": "^8.4.0",
47
47
  "typescript": "^5.4.5"
48
48
  },
49
49
  "peerDependencies": {
50
- "@mui/material": "^6.4.5",
51
- "react": ">=16.3.0"
50
+ "@mui/material": "^7.0.0",
51
+ "react": ">=17.0.0"
52
52
  },
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
56
  "dependencies": {
57
57
  "@availity/api-axios": "^11.0.0",
58
- "@availity/mui-button": "^1.1.5",
59
- "@availity/mui-form-utils": "^1.3.3",
60
- "@availity/mui-icon": "^1.1.1",
61
- "@availity/mui-layout": "^1.0.3",
62
- "@availity/mui-popover": "^1.0.3",
63
- "@availity/mui-textfield": "^1.3.2",
64
- "@availity/mui-toggle-button": "^1.0.4",
65
- "@availity/mui-typography": "^1.0.3",
58
+ "@availity/mui-button": "^2.0.0",
59
+ "@availity/mui-form-utils": "^2.0.0",
60
+ "@availity/mui-icon": "^2.0.0",
61
+ "@availity/mui-layout": "^2.0.0",
62
+ "@availity/mui-popover": "^2.0.0",
63
+ "@availity/mui-textfield": "^2.0.0",
64
+ "@availity/mui-toggle-button": "^2.0.0",
65
+ "@availity/mui-typography": "^2.0.0",
66
66
  "react-hook-form": "^7.55.0"
67
67
  },
68
68
  "sideEffects": false
@@ -22,7 +22,7 @@ export const Feedback = ({
22
22
  analytics = avLogMessagesApiV2,
23
23
  appName,
24
24
  buttonVariant = 'secondary',
25
- }: FeedbackProps): JSX.Element => {
25
+ }: FeedbackProps): React.JSX.Element => {
26
26
  const [anchorEl, setAnchorEl] = useState<HTMLElement | null>(null);
27
27
  const [sent, setSent] = useState<boolean>(false);
28
28
  const [loading, setLoading] = useState<boolean>(false);
@@ -18,7 +18,7 @@ interface Inputs {
18
18
 
19
19
  interface SmileButtonProps extends ToggleButtonProps {
20
20
  disabled: boolean;
21
- Icon: (props: SvgIconProps) => JSX.Element;
21
+ Icon: (props: SvgIconProps) => React.JSX.Element;
22
22
  label: string;
23
23
  value: string;
24
24
  }
@@ -64,7 +64,7 @@ export const FeedbackForm = ({
64
64
  sent,
65
65
  setLoading,
66
66
  setSent,
67
- }: FeedbackFormProps): JSX.Element | null => {
67
+ }: FeedbackFormProps): React.JSX.Element | null => {
68
68
  const {
69
69
  control,
70
70
  formState: { errors },
@@ -183,7 +183,7 @@ export const FeedbackForm = ({
183
183
  </Button>
184
184
  </Grid>
185
185
  <Grid sx={{ flex: 1, minWidth: '147px' }}>
186
- <LoadingButton disabled={!smileFieldValue} loading={loading} type="submit" variant="contained">
186
+ <LoadingButton disabled={!smileFieldValue} loading={loading} type="submit">
187
187
  Send Feedback
188
188
  </LoadingButton>
189
189
  </Grid>
@@ -13,7 +13,7 @@ interface FeedbackHeaderProps {
13
13
 
14
14
  const FeedbackHeaderContainer = styled(Grid, { name: 'AvFeedbackContainer', slot: 'FeedbackHeaderContainer' })({});
15
15
 
16
- export const FeedbackHeader = ({ appName, handleClose, loading, sent }: FeedbackHeaderProps): JSX.Element => {
16
+ export const FeedbackHeader = ({ appName, handleClose, loading, sent }: FeedbackHeaderProps): React.JSX.Element => {
17
17
  return (
18
18
  <FeedbackHeaderContainer
19
19
  alignItems="flex-start"