@ahmadmubarak98/namozaj 1.8.18 → 1.8.20

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.
Files changed (2) hide show
  1. package/dist/namozaj.js +10 -4
  2. package/package.json +1 -1
package/dist/namozaj.js CHANGED
@@ -47999,7 +47999,7 @@ const moment = /* @__PURE__ */ getDefaultExportFromCjs(momentTimezoneExports), D
47999
47999
  value: I,
48000
48000
  onChange: H,
48001
48001
  disabled: g,
48002
- ampm: !N,
48002
+ ampm: ["time", "datetime"].includes(p) ? !N : void 0,
48003
48003
  onError: (je) => {
48004
48004
  var Xe, Ge, Be, Ue;
48005
48005
  je === "minDate" && v ? u.setError(c, {
@@ -48038,10 +48038,16 @@ const moment = /* @__PURE__ */ getDefaultExportFromCjs(momentTimezoneExports), D
48038
48038
  },
48039
48039
  ...["datetime"].includes(p) && {
48040
48040
  minDateTime: L ? moment(
48041
- (ve = (Re = K(L, "min")) == null ? void 0 : Re.date) == null ? void 0 : ve.toISOString()
48041
+ (ve = (Re = K(
48042
+ L,
48043
+ "min"
48044
+ )) == null ? void 0 : Re.date) == null ? void 0 : ve.toISOString()
48042
48045
  ) : void 0,
48043
48046
  maxDateTime: D ? moment(
48044
- (we = (ye = K(D, "max")) == null ? void 0 : ye.date) == null ? void 0 : we.toISOString()
48047
+ (we = (ye = K(
48048
+ D,
48049
+ "max"
48050
+ )) == null ? void 0 : ye.date) == null ? void 0 : we.toISOString()
48045
48051
  ) : void 0
48046
48052
  },
48047
48053
  slotProps: {
@@ -87689,7 +87695,7 @@ const Form = React__default.forwardRef(
87689
87695
  color: ((We = e.submitButtonProps) == null ? void 0 : We.color) || "primary",
87690
87696
  type: ((Re = e.submitButtonProps) == null ? void 0 : Re.buttonType) || "submit",
87691
87697
  size: ((ve = e.submitButtonProps) == null ? void 0 : ve.size) || "medium",
87692
- disabled: typeof ((ye = e.submitButtonProps) == null ? void 0 : ye.disabled) == "boolean" ? (we = e.submitButtonProps) == null ? void 0 : we.disabled : (Ke = e.stepper) != null && Ke.advanceOnValidation ? l : v,
87698
+ disabled: typeof ((ye = e.submitButtonProps) == null ? void 0 : ye.disabled) == "boolean" ? ((we = e.submitButtonProps) == null ? void 0 : we.disabled) ?? v : (Ke = e.stepper) != null && Ke.advanceOnValidation ? l : v,
87693
87699
  sx: {
87694
87700
  ...((je = e.submitButtonProps) == null ? void 0 : je.sx) || {}
87695
87701
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ahmadmubarak98/namozaj",
3
3
  "private": false,
4
- "version": "1.8.18",
4
+ "version": "1.8.20",
5
5
  "type": "module",
6
6
  "main": "dist/namozaj.js",
7
7
  "types": "dist/main.d.ts",