@3sc/common-component 0.0.388 → 0.0.389

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
@@ -44723,7 +44723,7 @@ function Dw({
44723
44723
  ] }, `col-${ne}`))
44724
44724
  }
44725
44725
  ),
44726
- X && (xe == null ? void 0 : xe.length) > 0 && /* @__PURE__ */ g.jsx(
44726
+ X && xe && /* @__PURE__ */ g.jsx(
44727
44727
  qW,
44728
44728
  {
44729
44729
  nestedData: xe,
@@ -45853,34 +45853,28 @@ function Dy({ children: e, handleClose: t, open: n, isMainDialog: r }) {
45853
45853
  {
45854
45854
  open: n,
45855
45855
  onClose: t,
45856
- ...r ? {
45857
- scroll: "paper",
45858
- PaperProps: {
45859
- sx: {
45860
- position: "fixed",
45861
- top: 30,
45862
- right: 30,
45863
- m: 0,
45864
- width: 400,
45865
- height: 450,
45866
- display: "flex",
45867
- flexDirection: "column",
45868
- borderRadius: 2,
45869
- boxShadow: 6,
45870
- backgroundColor: (o) => o.palette.primary.notifyBackground
45871
- }
45872
- }
45873
- } : {
45874
- fullWidth: !0,
45875
- maxWidth: "md",
45876
- sx: {
45877
- "& .MuiPaper-root": {
45878
- minHeight: 250,
45879
- maxHeight: 500,
45880
- borderRadius: "1.5rem",
45881
- boxShadow: 6,
45882
- backgroundColor: (o) => o.palette.primary.appBackground
45883
- }
45856
+ scroll: r ? "paper" : void 0,
45857
+ fullWidth: !r,
45858
+ maxWidth: r ? void 0 : "md",
45859
+ PaperProps: {
45860
+ sx: r ? {
45861
+ position: "fixed",
45862
+ top: 30,
45863
+ right: 30,
45864
+ m: 0,
45865
+ width: 400,
45866
+ height: 450,
45867
+ display: "flex",
45868
+ flexDirection: "column",
45869
+ borderRadius: 2,
45870
+ boxShadow: 6,
45871
+ backgroundColor: (o) => o.palette.primary.notifyBackground
45872
+ } : {
45873
+ minHeight: 250,
45874
+ maxHeight: 500,
45875
+ borderRadius: "1.5rem",
45876
+ boxShadow: 6,
45877
+ backgroundColor: (o) => o.palette.primary.appBackground
45884
45878
  }
45885
45879
  },
45886
45880
  children: e