@kashifd/jwero-components 0.6.12 → 0.6.14

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.es.js CHANGED
@@ -46798,6 +46798,20 @@ const Ia = ({ stroke: e = "#000", ...t }) => /* @__PURE__ */ w.jsxs(
46798
46798
  transition: !0,
46799
46799
  placement: r,
46800
46800
  sx: { zIndex: 9999 },
46801
+ modifiers: [
46802
+ {
46803
+ name: "preventOverflow",
46804
+ options: {
46805
+ boundary: "window"
46806
+ }
46807
+ },
46808
+ {
46809
+ name: "flip",
46810
+ options: {
46811
+ fallbackPlacements: ["top", "right", "left"]
46812
+ }
46813
+ }
46814
+ ],
46801
46815
  children: ({ TransitionProps: m }) => /* @__PURE__ */ w.jsx(ws, { onClickAway: a, children: /* @__PURE__ */ w.jsx(ka, { ...m, timeout: 350, children: /* @__PURE__ */ w.jsx(
46802
46816
  _e,
46803
46817
  {
@@ -48764,21 +48778,22 @@ const pB = /* @__PURE__ */ Qo(hB), gB = ({ ...e }) => /* @__PURE__ */ w.jsxs(
48764
48778
  boxSx: d,
48765
48779
  innerBoxSx: g,
48766
48780
  labelProps: m,
48767
- menuSx: v
48781
+ menuSx: v,
48782
+ popperSx: A
48768
48783
  }) => {
48769
- const A = jd(null), [T, D] = fn(!1), E = () => {
48770
- D(!0), t && t();
48771
- }, I = () => {
48772
- D(!1);
48784
+ const T = jd(null), [D, E] = fn(!1), I = () => {
48785
+ E(!0), t && t();
48786
+ }, P = () => {
48787
+ E(!1);
48773
48788
  };
48774
48789
  return mc(() => {
48775
- r && D(!1);
48790
+ r && E(!1);
48776
48791
  }, [r]), /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
48777
48792
  /* @__PURE__ */ w.jsxs(
48778
48793
  _e,
48779
48794
  {
48780
- onClick: E,
48781
- ref: A,
48795
+ onClick: I,
48796
+ ref: T,
48782
48797
  direction: "row",
48783
48798
  alignItems: "center",
48784
48799
  justifyContent: "space-between",
@@ -48817,10 +48832,11 @@ const pB = /* @__PURE__ */ Qo(hB), gB = ({ ...e }) => /* @__PURE__ */ w.jsxs(
48817
48832
  /* @__PURE__ */ w.jsx(
48818
48833
  zh,
48819
48834
  {
48820
- open: T,
48821
- onClose: I,
48822
- anchorEl: A == null ? void 0 : A.current,
48835
+ open: D,
48836
+ onClose: P,
48837
+ anchorEl: T == null ? void 0 : T.current,
48823
48838
  placement: "bottom-start",
48839
+ boxSx: A,
48824
48840
  children: /* @__PURE__ */ w.jsx(jy, { menuList: a, boxSx: v })
48825
48841
  }
48826
48842
  )