@mamrp/components 1.7.42 → 1.7.43

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
@@ -1275,9 +1275,13 @@ var JalaliDatePicker = ({
1275
1275
  placeholder: field.value || isLoading ? "" : "\u0627\u0646\u062A\u062E\u0627\u0628 \u062A\u0627\u0631\u06CC\u062E ",
1276
1276
  onClick: () => !disabled && !isLoading && setOpen(true),
1277
1277
  variant,
1278
+ ...variant === "standard" && { label: void 0 },
1278
1279
  InputLabelProps: {
1279
1280
  shrink: true,
1280
- style: { color: error ? "#D32F2F" : "inherit" }
1281
+ style: {
1282
+ color: error ? "#D32F2F" : "inherit",
1283
+ ...variant === "standard" && { display: "none" }
1284
+ }
1281
1285
  },
1282
1286
  inputProps: {
1283
1287
  readOnly: true,