@movmo_app/react-common 0.9.0 → 0.9.1

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.d.ts CHANGED
@@ -226,6 +226,7 @@ export declare interface PhoneInputProps {
226
226
  className?: string;
227
227
  responsive?: boolean;
228
228
  enableSearch?: boolean;
229
+ autoComplete?: string;
229
230
  }
230
231
 
231
232
  export declare const SearchInput: React_2.ForwardRefExoticComponent<SearchInputProps & React_2.RefAttributes<HTMLInputElement>>;
package/dist/index.es.js CHANGED
@@ -11420,10 +11420,11 @@ const ab = /* @__PURE__ */ fs(rb), mb = ({
11420
11420
  defaultCountry: l = "us",
11421
11421
  className: s,
11422
11422
  responsive: u = !1,
11423
- enableSearch: c = !0
11423
+ enableSearch: c = !0,
11424
+ autoComplete: f
11424
11425
  }) => {
11425
- const f = (m, h) => {
11426
- t("+" + m, h.countryCode);
11426
+ const m = (h, A) => {
11427
+ t("+" + h, A.countryCode);
11427
11428
  };
11428
11429
  return /* @__PURE__ */ I.jsxs("div", { className: s, children: [
11429
11430
  /* @__PURE__ */ I.jsx(
@@ -11439,13 +11440,13 @@ const ab = /* @__PURE__ */ fs(rb), mb = ({
11439
11440
  {
11440
11441
  country: l,
11441
11442
  value: e.replace("+", ""),
11442
- onChange: f,
11443
+ onChange: m,
11443
11444
  inputProps: {
11444
11445
  onBlur: a,
11445
11446
  required: i,
11446
11447
  id: n,
11447
11448
  name: o,
11448
- autoComplete: "one-time-code"
11449
+ ...f && { autoComplete: f }
11449
11450
  },
11450
11451
  enableSearch: c,
11451
11452
  autoFormat: !0