@mamrp/components 1.7.46 → 1.7.47
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/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1025,10 +1025,16 @@ var TimePickerComponent = ({
|
|
|
1025
1025
|
import_material8.TextField,
|
|
1026
1026
|
{
|
|
1027
1027
|
disabled,
|
|
1028
|
-
label,
|
|
1028
|
+
label: variant === "standard" ? "" : label,
|
|
1029
1029
|
value,
|
|
1030
1030
|
onChange: handleInputChange,
|
|
1031
1031
|
onBlur: handleBlur,
|
|
1032
|
+
InputLabelProps: {
|
|
1033
|
+
shrink: true,
|
|
1034
|
+
style: {
|
|
1035
|
+
...variant === "standard" && { display: "none" }
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1032
1038
|
variant,
|
|
1033
1039
|
size,
|
|
1034
1040
|
inputProps: {
|
|
@@ -1886,7 +1892,7 @@ var JalaliDatePicker2 = ({
|
|
|
1886
1892
|
disabled: isLoading || disabled,
|
|
1887
1893
|
openTo: "day",
|
|
1888
1894
|
views: ["year", "month", "day", "hours", "minutes"],
|
|
1889
|
-
label,
|
|
1895
|
+
label: variant === "standard" ? "" : label,
|
|
1890
1896
|
value: field.value ? import_moment_jalaali2.default.utc(field.value).utcOffset(210) : null,
|
|
1891
1897
|
onChange: (newValue) => {
|
|
1892
1898
|
if (newValue) {
|
|
@@ -2075,9 +2081,10 @@ var JalaliDatePicker2 = ({
|
|
|
2075
2081
|
if (!open) setOpen(true);
|
|
2076
2082
|
},
|
|
2077
2083
|
InputLabelProps: {
|
|
2078
|
-
|
|
2084
|
+
shrink: true,
|
|
2079
2085
|
style: {
|
|
2080
|
-
color: error ? "#D32F2F" : "inherit"
|
|
2086
|
+
color: error ? "#D32F2F" : "inherit",
|
|
2087
|
+
...variant === "standard" && { display: "none" }
|
|
2081
2088
|
}
|
|
2082
2089
|
},
|
|
2083
2090
|
InputProps: {
|