@availity/mui-file-selector 1.6.4 → 1.6.6
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 +18 -0
- package/dist/index.js +9 -7
- package/dist/index.mjs +9 -7
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [1.6.6](https://github.com/Availity/element/compare/@availity/mui-file-selector@1.6.5...@availity/mui-file-selector@1.6.6) (2025-05-12)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `mui-dialog` updated to version `1.6.5`
|
|
10
|
+
* `mui-textfield` updated to version `1.6.5`
|
|
11
|
+
## [1.6.5](https://github.com/Availity/element/compare/@availity/mui-file-selector@1.6.4...@availity/mui-file-selector@1.6.5) (2025-04-30)
|
|
12
|
+
|
|
13
|
+
### Dependency Updates
|
|
14
|
+
|
|
15
|
+
* `mui-alert` updated to version `1.6.4`
|
|
16
|
+
* `mui-button` updated to version `1.6.4`
|
|
17
|
+
* `mui-form-utils` updated to version `1.6.4`
|
|
18
|
+
* `mui-icon` updated to version `1.6.4`
|
|
19
|
+
* `mui-list` updated to version `1.6.4`
|
|
20
|
+
* `mui-progress` updated to version `1.6.4`
|
|
21
|
+
* `mui-dialog` updated to version `1.6.4`
|
|
22
|
+
* `mui-textfield` updated to version `1.6.4`
|
|
5
23
|
## [1.6.4](https://github.com/Availity/element/compare/@availity/mui-file-selector@1.6.3...@availity/mui-file-selector@1.6.4) (2025-04-28)
|
|
6
24
|
|
|
7
25
|
### Dependency Updates
|
package/dist/index.js
CHANGED
|
@@ -555,7 +555,7 @@ var TextFieldFormHelperText = (_a) => {
|
|
|
555
555
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_mui_form_utils2.FormHelperText, __spreadProps(__spreadValues({}, FormHelperTextProps2), { children: helperText }));
|
|
556
556
|
};
|
|
557
557
|
var TextField = (0, import_react2.forwardRef)((props, ref) => {
|
|
558
|
-
var _b, _c, _d, _e, _f, _g, _h;
|
|
558
|
+
var _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
559
559
|
const _a = props, {
|
|
560
560
|
InputProps: InputProps2,
|
|
561
561
|
helpTopicId,
|
|
@@ -582,6 +582,7 @@ var TextField = (0, import_react2.forwardRef)((props, ref) => {
|
|
|
582
582
|
const [openDetected, setOpenDetected] = (0, import_react2.useState)(false);
|
|
583
583
|
const [charCount, setCharCount] = (0, import_react2.useState)(0);
|
|
584
584
|
const maxLength = (inputProps == null ? void 0 : inputProps.maxLength) || ((_c = (_b = rest.slotProps) == null ? void 0 : _b.htmlInput) == null ? void 0 : _c.maxLength);
|
|
585
|
+
const allReadOnly = (InputProps2 == null ? void 0 : InputProps2.readOnly) || (inputProps == null ? void 0 : inputProps.readOnly) || ((_e = (_d = rest.slotProps) == null ? void 0 : _d.htmlInput) == null ? void 0 : _e.readOnly) || ((_g = (_f = rest.slotProps) == null ? void 0 : _f.input) == null ? void 0 : _g.readOnly);
|
|
585
586
|
const resolvedProps = (props2) => !props2 || Object.keys(props2).length === 0 ? void 0 : props2;
|
|
586
587
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
587
588
|
import_TextField.default,
|
|
@@ -593,26 +594,27 @@ var TextField = (0, import_react2.forwardRef)((props, ref) => {
|
|
|
593
594
|
helperText: helperText || /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, {}),
|
|
594
595
|
slots: { formHelperText: TextFieldFormHelperText },
|
|
595
596
|
slotProps: {
|
|
596
|
-
input: resolvedProps(__spreadValues(__spreadValues(__spreadValues({}, InputProps2), import_mui_form_utils2.InputPropOverrides), (
|
|
597
|
+
input: resolvedProps(__spreadProps(__spreadValues(__spreadValues(__spreadValues({}, InputProps2), import_mui_form_utils2.InputPropOverrides), (_h = rest.slotProps) == null ? void 0 : _h.input), {
|
|
598
|
+
readOnly: allReadOnly
|
|
599
|
+
})),
|
|
597
600
|
htmlInput: resolvedProps(__spreadProps(__spreadValues(__spreadValues({
|
|
598
601
|
"aria-required": required
|
|
599
|
-
}, inputProps), (
|
|
602
|
+
}, inputProps), (_i = rest.slotProps) == null ? void 0 : _i.htmlInput), {
|
|
600
603
|
maxLength: !displayOverflowMaxLength ? maxLength : void 0
|
|
601
604
|
})),
|
|
602
|
-
select: resolvedProps(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, SelectProps2), import_mui_form_utils2.SelectPropOverrides), (0, import_mui_form_utils2.SelectAccessibilityOverrides)(openDetected, setOpenDetected, SelectProps2 == null ? void 0 : SelectProps2.open)), (
|
|
605
|
+
select: resolvedProps(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, SelectProps2), import_mui_form_utils2.SelectPropOverrides), (0, import_mui_form_utils2.SelectAccessibilityOverrides)(openDetected, setOpenDetected, SelectProps2 == null ? void 0 : SelectProps2.open)), (_j = rest.slotProps) == null ? void 0 : _j.select)),
|
|
603
606
|
inputLabel: resolvedProps(__spreadValues(__spreadValues({
|
|
604
607
|
component: import_mui_form_utils2.FormLabel,
|
|
605
608
|
helpTopicId,
|
|
606
609
|
required,
|
|
607
610
|
shrink: true
|
|
608
|
-
}, InputLabelProps), (
|
|
611
|
+
}, InputLabelProps), (_k = rest.slotProps) == null ? void 0 : _k.inputLabel)),
|
|
609
612
|
formHelperText: resolvedProps(__spreadProps(__spreadValues(__spreadValues({
|
|
610
613
|
component: "div"
|
|
611
|
-
}, FormHelperTextProps2), (
|
|
614
|
+
}, FormHelperTextProps2), (_l = rest.slotProps) == null ? void 0 : _l.formHelperText), {
|
|
612
615
|
charCount,
|
|
613
616
|
helperText,
|
|
614
617
|
maxLength,
|
|
615
|
-
displayOverflowMaxLength,
|
|
616
618
|
showCharacterCount
|
|
617
619
|
}))
|
|
618
620
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -529,7 +529,7 @@ var TextFieldFormHelperText = (_a) => {
|
|
|
529
529
|
return /* @__PURE__ */ jsx9(FormHelperText, __spreadProps(__spreadValues({}, FormHelperTextProps2), { children: helperText }));
|
|
530
530
|
};
|
|
531
531
|
var TextField = forwardRef((props, ref) => {
|
|
532
|
-
var _b, _c, _d, _e, _f, _g, _h;
|
|
532
|
+
var _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
533
533
|
const _a = props, {
|
|
534
534
|
InputProps: InputProps2,
|
|
535
535
|
helpTopicId,
|
|
@@ -556,6 +556,7 @@ var TextField = forwardRef((props, ref) => {
|
|
|
556
556
|
const [openDetected, setOpenDetected] = useState(false);
|
|
557
557
|
const [charCount, setCharCount] = useState(0);
|
|
558
558
|
const maxLength = (inputProps == null ? void 0 : inputProps.maxLength) || ((_c = (_b = rest.slotProps) == null ? void 0 : _b.htmlInput) == null ? void 0 : _c.maxLength);
|
|
559
|
+
const allReadOnly = (InputProps2 == null ? void 0 : InputProps2.readOnly) || (inputProps == null ? void 0 : inputProps.readOnly) || ((_e = (_d = rest.slotProps) == null ? void 0 : _d.htmlInput) == null ? void 0 : _e.readOnly) || ((_g = (_f = rest.slotProps) == null ? void 0 : _f.input) == null ? void 0 : _g.readOnly);
|
|
559
560
|
const resolvedProps = (props2) => !props2 || Object.keys(props2).length === 0 ? void 0 : props2;
|
|
560
561
|
return /* @__PURE__ */ jsx9(
|
|
561
562
|
MuiTextField,
|
|
@@ -567,26 +568,27 @@ var TextField = forwardRef((props, ref) => {
|
|
|
567
568
|
helperText: helperText || /* @__PURE__ */ jsx9(Fragment4, {}),
|
|
568
569
|
slots: { formHelperText: TextFieldFormHelperText },
|
|
569
570
|
slotProps: {
|
|
570
|
-
input: resolvedProps(__spreadValues(__spreadValues(__spreadValues({}, InputProps2), InputPropOverrides), (
|
|
571
|
+
input: resolvedProps(__spreadProps(__spreadValues(__spreadValues(__spreadValues({}, InputProps2), InputPropOverrides), (_h = rest.slotProps) == null ? void 0 : _h.input), {
|
|
572
|
+
readOnly: allReadOnly
|
|
573
|
+
})),
|
|
571
574
|
htmlInput: resolvedProps(__spreadProps(__spreadValues(__spreadValues({
|
|
572
575
|
"aria-required": required
|
|
573
|
-
}, inputProps), (
|
|
576
|
+
}, inputProps), (_i = rest.slotProps) == null ? void 0 : _i.htmlInput), {
|
|
574
577
|
maxLength: !displayOverflowMaxLength ? maxLength : void 0
|
|
575
578
|
})),
|
|
576
|
-
select: resolvedProps(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, SelectProps2), SelectPropOverrides), SelectAccessibilityOverrides(openDetected, setOpenDetected, SelectProps2 == null ? void 0 : SelectProps2.open)), (
|
|
579
|
+
select: resolvedProps(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, SelectProps2), SelectPropOverrides), SelectAccessibilityOverrides(openDetected, setOpenDetected, SelectProps2 == null ? void 0 : SelectProps2.open)), (_j = rest.slotProps) == null ? void 0 : _j.select)),
|
|
577
580
|
inputLabel: resolvedProps(__spreadValues(__spreadValues({
|
|
578
581
|
component: FormLabel,
|
|
579
582
|
helpTopicId,
|
|
580
583
|
required,
|
|
581
584
|
shrink: true
|
|
582
|
-
}, InputLabelProps), (
|
|
585
|
+
}, InputLabelProps), (_k = rest.slotProps) == null ? void 0 : _k.inputLabel)),
|
|
583
586
|
formHelperText: resolvedProps(__spreadProps(__spreadValues(__spreadValues({
|
|
584
587
|
component: "div"
|
|
585
|
-
}, FormHelperTextProps2), (
|
|
588
|
+
}, FormHelperTextProps2), (_l = rest.slotProps) == null ? void 0 : _l.formHelperText), {
|
|
586
589
|
charCount,
|
|
587
590
|
helperText,
|
|
588
591
|
maxLength,
|
|
589
|
-
displayOverflowMaxLength,
|
|
590
592
|
showCharacterCount
|
|
591
593
|
}))
|
|
592
594
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@availity/mui-file-selector",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.6",
|
|
4
4
|
"description": "Availity MUI file-selector Component - part of the @availity/element design system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@availity/api-axios": "^10.0.3",
|
|
44
|
-
"@availity/mui-alert": "^1.0.
|
|
45
|
-
"@availity/mui-button": "^1.1.
|
|
44
|
+
"@availity/mui-alert": "^1.0.6",
|
|
45
|
+
"@availity/mui-button": "^1.1.4",
|
|
46
46
|
"@availity/mui-divider": "^1.0.2",
|
|
47
|
-
"@availity/mui-form-utils": "^1.3.
|
|
48
|
-
"@availity/mui-icon": "^1.0
|
|
47
|
+
"@availity/mui-form-utils": "^1.3.1",
|
|
48
|
+
"@availity/mui-icon": "^1.1.0",
|
|
49
49
|
"@availity/mui-layout": "^1.0.2",
|
|
50
|
-
"@availity/mui-list": "^1.0.
|
|
51
|
-
"@availity/mui-progress": "^1.0.
|
|
50
|
+
"@availity/mui-list": "^1.0.6",
|
|
51
|
+
"@availity/mui-progress": "^1.0.3",
|
|
52
52
|
"@availity/mui-typography": "^1.0.2",
|
|
53
53
|
"@availity/upload-core": "^7.1.1",
|
|
54
54
|
"@tanstack/react-query": "^4.36.1",
|