@conboai/storybook.components 0.4.48 → 0.4.50

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.
@@ -47512,16 +47512,20 @@ const soe = ({
47512
47512
  }), "PlayArrow"), moe = {
47513
47513
  position: "relative",
47514
47514
  top: 0,
47515
- right: 0
47515
+ right: 0,
47516
+ zIndex: 1
47516
47517
  }, boe = (e) => ({
47517
- cursor: e ? "grabbing" : "grab",
47518
- height: "50px",
47519
47518
  position: "absolute",
47520
- top: "33px",
47521
- marginRight: "50%",
47522
- marginLeft: "50%",
47523
- right: "0",
47524
- left: "0"
47519
+ top: "25px",
47520
+ left: "50%",
47521
+ transform: "translateX(-50%)",
47522
+ height: "50px",
47523
+ width: "50px",
47524
+ cursor: e ? "grabbing" : "grab",
47525
+ zIndex: 2,
47526
+ display: "flex",
47527
+ justifyContent: "center",
47528
+ alignItems: "center"
47525
47529
  }), Coe = ({
47526
47530
  setValue: e,
47527
47531
  value: t,
@@ -47534,12 +47538,21 @@ const soe = ({
47534
47538
  handleMouseDown: c,
47535
47539
  isResizing: u
47536
47540
  }) => {
47537
- const [d, h] = Be(!1), f = s || "50%", b = boe(u == null ? void 0 : u.current), p = () => {
47541
+ const [d, h] = Be(!1), f = s || "50%", b = boe(u), p = () => {
47538
47542
  h(!d);
47539
47543
  };
47540
47544
  return /* @__PURE__ */ V.jsxs(pm, { value: t, children: [
47541
47545
  /* @__PURE__ */ V.jsxs(bt, { display: "flex", alignItems: "center", sx: moe, children: [
47542
- c && /* @__PURE__ */ V.jsx(bt, { onMouseDown: c, sx: b, children: /* @__PURE__ */ V.jsx(gn, { icon: "doubleArrow" }) }),
47546
+ c && /* @__PURE__ */ V.jsx(bt, { sx: b, onMouseDown: c, children: /* @__PURE__ */ V.jsx(
47547
+ bt,
47548
+ {
47549
+ sx: {
47550
+ position: "relative",
47551
+ margin: "auto"
47552
+ },
47553
+ children: /* @__PURE__ */ V.jsx(gn, { icon: "doubleArrow" })
47554
+ }
47555
+ ) }),
47543
47556
  /* @__PURE__ */ V.jsx(bt, { width: i ? f : "100%", children: /* @__PURE__ */ V.jsx(
47544
47557
  hoe,
47545
47558
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/storybook.components",
3
- "version": "0.4.48",
3
+ "version": "0.4.50",
4
4
  "main": "dist/storybook.components.mjs",
5
5
  "types": "dist/build/index.d.ts",
6
6
  "files": [