@ahmadmubarak98/namozaj 1.6.32 → 1.6.34

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 +8 -22
  2. package/package.json +1 -1
package/dist/namozaj.js CHANGED
@@ -44495,11 +44495,10 @@ const PhoneField = ({
44495
44495
  (!H || j.length <= H) && N(I);
44496
44496
  };
44497
44497
  return useEffect(() => {
44498
- const I = () => {
44498
+ (() => {
44499
44499
  const j = document.documentElement.getAttribute("dir");
44500
44500
  x(j === "rtl");
44501
- };
44502
- I(), window.addEventListener("directionchange", I);
44501
+ })();
44503
44502
  }, []), /* @__PURE__ */ jsx(
44504
44503
  TextField$2,
44505
44504
  {
@@ -44525,9 +44524,7 @@ const PhoneField = ({
44525
44524
  InputAdornment$1,
44526
44525
  {
44527
44526
  position: "start",
44528
- style: {
44529
- ...S ? { marginLeft: "2px", marginRight: "-8px" } : { marginRight: "2px", marginLeft: "-8px" }
44530
- },
44527
+ style: { marginRight: "2px", marginLeft: "-8px" },
44531
44528
  children: /* @__PURE__ */ jsx(
44532
44529
  Select$1,
44533
44530
  {
@@ -44540,14 +44537,14 @@ const PhoneField = ({
44540
44537
  MenuProps: {
44541
44538
  style: {
44542
44539
  height: "300px",
44543
- width: "max-content",
44540
+ // width: 'max-content',
44544
44541
  minWidth: "300px",
44545
44542
  top: "10px",
44546
44543
  left: "-34px"
44547
44544
  },
44548
44545
  transformOrigin: {
44549
44546
  vertical: "top",
44550
- horizontal: S ? "right" : "left"
44547
+ horizontal: "left"
44551
44548
  }
44552
44549
  },
44553
44550
  sx: {
@@ -44558,7 +44555,7 @@ const PhoneField = ({
44558
44555
  },
44559
44556
  ".MuiSelect-select": {
44560
44557
  padding: "8px",
44561
- ...S ? { paddingLeft: "24px" } : { paddingRight: "24px" }
44558
+ paddingRight: "24px !important"
44562
44559
  },
44563
44560
  svg: {
44564
44561
  right: 0
@@ -44572,21 +44569,10 @@ const PhoneField = ({
44572
44569
  q,
44573
44570
  {
44574
44571
  iso2: j.iso2,
44575
- style: {
44576
- ...S ? { marginLeft: "8px" } : {
44577
- marginRight: "8px"
44578
- }
44579
- }
44580
- }
44581
- ),
44582
- /* @__PURE__ */ jsx(
44583
- Typography$1,
44584
- {
44585
- marginRight: S ? "0px" : "8px",
44586
- marginLeft: S ? "8px" : "0px",
44587
- children: j.name
44572
+ style: { marginRight: "8px" }
44588
44573
  }
44589
44574
  ),
44575
+ /* @__PURE__ */ jsx(Typography$1, { marginRight: "8px", children: j.name }),
44590
44576
  /* @__PURE__ */ jsxs(Typography$1, { color: "gray", children: [
44591
44577
  "+",
44592
44578
  j.dialCode
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ahmadmubarak98/namozaj",
3
3
  "private": false,
4
- "version": "1.6.32",
4
+ "version": "1.6.34",
5
5
  "type": "module",
6
6
  "main": "dist/namozaj.js",
7
7
  "types": "dist/main.d.ts",