@availity/mui-file-selector 1.4.0 → 1.4.1

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,12 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.4.1](https://github.com/Availity/element/compare/@availity/mui-file-selector@1.4.0...@availity/mui-file-selector@1.4.1) (2025-04-04)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-dialog` updated to version `1.4.0`
10
+ * `mui-textfield` updated to version `1.4.0`
5
11
  ## [1.4.0](https://github.com/Availity/element/compare/@availity/mui-file-selector@1.3.2...@availity/mui-file-selector@1.4.0) (2025-04-04)
6
12
 
7
13
 
package/dist/index.js CHANGED
@@ -462,15 +462,21 @@ var SelectPlaceholder = (0, import_styles4.styled)("span", {
462
462
  slot: "SelectPlaceholder",
463
463
  overridesResolver: (props, styles) => styles.avFilled
464
464
  })(({ theme }) => ({ opacity: 1, color: theme.palette.grey[400] }));
465
- var TextFieldFormHelperText = ({
466
- charCount,
467
- helperText,
468
- maxLength,
469
- showCharacterCount
470
- }) => {
465
+ var TextFieldFormHelperText = (_a) => {
466
+ var _b = _a, {
467
+ charCount,
468
+ helperText,
469
+ maxLength,
470
+ showCharacterCount
471
+ } = _b, FormHelperTextProps2 = __objRest(_b, [
472
+ "charCount",
473
+ "helperText",
474
+ "maxLength",
475
+ "showCharacterCount"
476
+ ]);
471
477
  if (showCharacterCount) {
472
478
  return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_mui_layout2.Grid, { container: true, justifyContent: "space-between", flexWrap: "nowrap", children: [
473
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_mui_form_utils2.FormHelperText, { sx: { marginRight: "12px" }, children: helperText }),
479
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_mui_form_utils2.FormHelperText, __spreadProps(__spreadValues({}, FormHelperTextProps2), { sx: { marginRight: "12px" }, children: helperText })),
474
480
  /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_mui_typography2.Typography, { variant: "caption", marginTop: "4px", lineHeight: "1.25rem", children: [
475
481
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_mui_typography2.Typography, { component: "span", variant: "inherit", color: charCount > maxLength ? "error" : "textPrimary", children: charCount || 0 }),
476
482
  "/",
@@ -478,7 +484,7 @@ var TextFieldFormHelperText = ({
478
484
  ] })
479
485
  ] });
480
486
  }
481
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_mui_form_utils2.FormHelperText, { children: helperText });
487
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_mui_form_utils2.FormHelperText, __spreadProps(__spreadValues({}, FormHelperTextProps2), { children: helperText }));
482
488
  };
483
489
  var TextField = (0, import_react2.forwardRef)((props, ref) => {
484
490
  var _b, _c, _d, _e, _f, _g, _h;
package/dist/index.mjs CHANGED
@@ -426,15 +426,21 @@ var SelectPlaceholder = styled4("span", {
426
426
  slot: "SelectPlaceholder",
427
427
  overridesResolver: (props, styles) => styles.avFilled
428
428
  })(({ theme }) => ({ opacity: 1, color: theme.palette.grey[400] }));
429
- var TextFieldFormHelperText = ({
430
- charCount,
431
- helperText,
432
- maxLength,
433
- showCharacterCount
434
- }) => {
429
+ var TextFieldFormHelperText = (_a) => {
430
+ var _b = _a, {
431
+ charCount,
432
+ helperText,
433
+ maxLength,
434
+ showCharacterCount
435
+ } = _b, FormHelperTextProps2 = __objRest(_b, [
436
+ "charCount",
437
+ "helperText",
438
+ "maxLength",
439
+ "showCharacterCount"
440
+ ]);
435
441
  if (showCharacterCount) {
436
442
  return /* @__PURE__ */ jsxs6(Grid, { container: true, justifyContent: "space-between", flexWrap: "nowrap", children: [
437
- /* @__PURE__ */ jsx9(FormHelperText, { sx: { marginRight: "12px" }, children: helperText }),
443
+ /* @__PURE__ */ jsx9(FormHelperText, __spreadProps(__spreadValues({}, FormHelperTextProps2), { sx: { marginRight: "12px" }, children: helperText })),
438
444
  /* @__PURE__ */ jsxs6(Typography2, { variant: "caption", marginTop: "4px", lineHeight: "1.25rem", children: [
439
445
  /* @__PURE__ */ jsx9(Typography2, { component: "span", variant: "inherit", color: charCount > maxLength ? "error" : "textPrimary", children: charCount || 0 }),
440
446
  "/",
@@ -442,7 +448,7 @@ var TextFieldFormHelperText = ({
442
448
  ] })
443
449
  ] });
444
450
  }
445
- return /* @__PURE__ */ jsx9(FormHelperText, { children: helperText });
451
+ return /* @__PURE__ */ jsx9(FormHelperText, __spreadProps(__spreadValues({}, FormHelperTextProps2), { children: helperText }));
446
452
  };
447
453
  var TextField = forwardRef((props, ref) => {
448
454
  var _b, _c, _d, _e, _f, _g, _h;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-file-selector",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Availity MUI file-selector Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",