@ahmadmubarak98/namozaj 1.6.29 → 1.6.30

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 +67 -62
  2. package/package.json +1 -1
package/dist/namozaj.js CHANGED
@@ -44506,72 +44506,77 @@ const PhoneField = ({
44506
44506
  variant: g,
44507
44507
  size: m,
44508
44508
  className: u,
44509
- style: d,
44510
44509
  error: !!a,
44511
- InputProps: {
44512
- startAdornment: C ? void 0 : /* @__PURE__ */ jsx(
44513
- InputAdornment$1,
44514
- {
44515
- position: "start",
44516
- style: { marginRight: "2px", marginLeft: "-8px" },
44517
- children: /* @__PURE__ */ jsx(
44518
- Select$1,
44519
- {
44520
- value: D.iso2,
44521
- onChange: (G) => {
44522
- N(G.target.value), setTimeout(() => {
44523
- T.clearErrors(p);
44524
- }, 100);
44525
- },
44526
- MenuProps: {
44527
- style: {
44528
- height: "300px",
44529
- width: "max-content",
44530
- minWidth: "300px",
44531
- top: "10px",
44532
- left: "-34px"
44510
+ slotProps: {
44511
+ input: {
44512
+ style: {
44513
+ direction: "ltr",
44514
+ ...d
44515
+ },
44516
+ startAdornment: C ? void 0 : /* @__PURE__ */ jsx(
44517
+ InputAdornment$1,
44518
+ {
44519
+ position: "start",
44520
+ style: { marginRight: "2px", marginLeft: "-8px" },
44521
+ children: /* @__PURE__ */ jsx(
44522
+ Select$1,
44523
+ {
44524
+ value: D.iso2,
44525
+ onChange: (G) => {
44526
+ N(G.target.value), setTimeout(() => {
44527
+ T.clearErrors(p);
44528
+ }, 100);
44533
44529
  },
44534
- transformOrigin: {
44535
- vertical: "top",
44536
- horizontal: "left"
44537
- }
44538
- },
44539
- sx: {
44540
- width: "max-content",
44541
- fieldset: { display: "none" },
44542
- '&.Mui-focused:has(div[aria-expanded="false"])': {
44543
- fieldset: { display: "block" }
44530
+ MenuProps: {
44531
+ style: {
44532
+ height: "300px",
44533
+ width: "max-content",
44534
+ minWidth: "300px",
44535
+ top: "10px",
44536
+ left: "-34px"
44537
+ },
44538
+ transformOrigin: {
44539
+ vertical: "top",
44540
+ horizontal: "left"
44541
+ }
44544
44542
  },
44545
- ".MuiSelect-select": {
44546
- padding: "8px",
44547
- paddingRight: "24px !important"
44543
+ sx: {
44544
+ width: "max-content",
44545
+ fieldset: { display: "none" },
44546
+ '&.Mui-focused:has(div[aria-expanded="false"])': {
44547
+ fieldset: { display: "block" }
44548
+ },
44549
+ ".MuiSelect-select": {
44550
+ padding: "8px",
44551
+ paddingRight: "24px !important"
44552
+ },
44553
+ svg: {
44554
+ right: 0
44555
+ }
44548
44556
  },
44549
- svg: {
44550
- right: 0
44551
- }
44552
- },
44553
- renderValue: (G) => /* @__PURE__ */ jsx(q, { iso2: G, style: { display: "flex" } }),
44554
- children: R.map((G) => {
44555
- const K = M(G);
44556
- return /* @__PURE__ */ jsxs(MenuItem$1, { value: K.iso2, children: [
44557
- /* @__PURE__ */ jsx(
44558
- q,
44559
- {
44560
- iso2: K.iso2,
44561
- style: { marginRight: "8px" }
44562
- }
44563
- ),
44564
- /* @__PURE__ */ jsx(Typography$1, { marginRight: "8px", children: K.name }),
44565
- /* @__PURE__ */ jsxs(Typography$1, { color: "gray", children: [
44566
- "+",
44567
- K.dialCode
44568
- ] })
44569
- ] }, K.iso2);
44570
- })
44571
- }
44572
- )
44573
- }
44574
- )
44557
+ renderValue: (G) => /* @__PURE__ */ jsx(q, { iso2: G, style: { display: "flex" } }),
44558
+ children: R.map((G) => {
44559
+ const K = M(G);
44560
+ return /* @__PURE__ */ jsxs(MenuItem$1, { value: K.iso2, children: [
44561
+ /* @__PURE__ */ jsx(
44562
+ q,
44563
+ {
44564
+ iso2: K.iso2,
44565
+ style: { marginRight: "8px" }
44566
+ }
44567
+ ),
44568
+ /* @__PURE__ */ jsx(Typography$1, { marginRight: "8px", children: K.name }),
44569
+ /* @__PURE__ */ jsxs(Typography$1, { color: "gray", children: [
44570
+ "+",
44571
+ K.dialCode
44572
+ ] })
44573
+ ] }, K.iso2);
44574
+ })
44575
+ }
44576
+ )
44577
+ }
44578
+ )
44579
+ }
44575
44580
  }
44576
44581
  }
44577
44582
  );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ahmadmubarak98/namozaj",
3
3
  "private": false,
4
- "version": "1.6.29",
4
+ "version": "1.6.30",
5
5
  "type": "module",
6
6
  "main": "dist/namozaj.js",
7
7
  "types": "dist/main.d.ts",