@ws-ui/shared 1.5.4 → 1.5.6

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
@@ -5688,7 +5688,7 @@ var JC = {};
5688
5688
  return s && s.__esModule ? s : { default: s };
5689
5689
  }
5690
5690
  })(im);
5691
- const QC = ({ tip: e }) => /* @__PURE__ */ W("div", { className: "px-8 pb-8", children: fm(e, !0) }), eP = ({ pages: e }) => /* @__PURE__ */ W("div", { className: "min-h-[10rem] w-96", children: /* @__PURE__ */ W(
5691
+ const QC = ({ tip: e }) => /* @__PURE__ */ W("div", { className: "h-full grid pb-8 px-8 place-content-center", children: fm(e, !0) }), eP = ({ pages: e }) => /* @__PURE__ */ W("div", { className: "min-h-[10rem] w-96", children: /* @__PURE__ */ W(
5692
5692
  im.Carousel,
5693
5693
  {
5694
5694
  autoPlay: !1,
@@ -6534,6 +6534,13 @@ pointer-events-none inline-block ${Rl[r].switch} transform rounded-full bg-white
6534
6534
  options: {
6535
6535
  offset: [0, 8]
6536
6536
  }
6537
+ },
6538
+ {
6539
+ name: "preventOverflow",
6540
+ options: {
6541
+ rootBoundary: "viewport",
6542
+ padding: 8
6543
+ }
6537
6544
  }
6538
6545
  ]
6539
6546
  }), v = Re.Children.map(e, (w) => Re.isValidElement(w) ? Re.cloneElement(w, {