@mamrp/components 1.7.45 → 1.7.46

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 CHANGED
@@ -1029,9 +1029,6 @@ var TimePickerComponent = ({
1029
1029
  value,
1030
1030
  onChange: handleInputChange,
1031
1031
  onBlur: handleBlur,
1032
- InputLabelProps: {
1033
- shrink: true
1034
- },
1035
1032
  variant,
1036
1033
  size,
1037
1034
  inputProps: {
@@ -2078,7 +2075,7 @@ var JalaliDatePicker2 = ({
2078
2075
  if (!open) setOpen(true);
2079
2076
  },
2080
2077
  InputLabelProps: {
2081
- shrink: true,
2078
+ ...variant === "outlined" && { shrink: true },
2082
2079
  style: {
2083
2080
  color: error ? "#D32F2F" : "inherit"
2084
2081
  }