@iclips/ui 1.3.30 → 1.3.31

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.js CHANGED
@@ -61427,7 +61427,7 @@ function dB({
61427
61427
  const [a, o] = I.useState(t || ""), s = e !== void 0 ? e : a, l = (c) => {
61428
61428
  e === void 0 && o(c), n == null || n(c);
61429
61429
  };
61430
- return /* @__PURE__ */ f(My.Provider, { value: { value: s, onValueChange: l }, children: /* @__PURE__ */ f("div", { className: C("w-full", i), role: "tablist", children: r }) });
61430
+ return /* @__PURE__ */ f(My.Provider, { value: { value: s, onValueChange: l }, children: /* @__PURE__ */ f("div", { className: C("w-full", i), children: r }) });
61431
61431
  }
61432
61432
  function uB({ children: t, className: e }) {
61433
61433
  const n = I.useRef(null), r = I.useRef({ active: !1, startX: 0, scrollLeft: 0, moved: !1 }), i = (l) => {
@@ -61442,19 +61442,28 @@ function uB({ children: t, className: e }) {
61442
61442
  }, s = (l) => {
61443
61443
  r.current.moved && (l.stopPropagation(), r.current.moved = !1);
61444
61444
  };
61445
- return /* @__PURE__ */ f("div", { className: C("border-b border-border bg-background", e), children: /* @__PURE__ */ f(
61446
- "div",
61447
- {
61448
- ref: n,
61449
- className: "flex overflow-x-auto select-none cursor-grab active:cursor-grabbing [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]",
61450
- onMouseDown: i,
61451
- onMouseMove: a,
61452
- onMouseUp: o,
61453
- onMouseLeave: o,
61454
- onClickCapture: s,
61455
- children: t
61456
- }
61457
- ) });
61445
+ return /* @__PURE__ */ b("div", { role: "tablist", className: C("border-b border-border bg-background", e), children: [
61446
+ /* @__PURE__ */ f("style", { children: ".ul-tabs-scroll::-webkit-scrollbar{display:none}" }),
61447
+ /* @__PURE__ */ f(
61448
+ "div",
61449
+ {
61450
+ ref: n,
61451
+ className: "ul-tabs-scroll flex select-none cursor-grab active:cursor-grabbing",
61452
+ style: {
61453
+ overflowX: "auto",
61454
+ scrollbarWidth: "none",
61455
+ msOverflowStyle: "none",
61456
+ touchAction: "pan-x"
61457
+ },
61458
+ onMouseDown: i,
61459
+ onMouseMove: a,
61460
+ onMouseUp: o,
61461
+ onMouseLeave: o,
61462
+ onClickCapture: s,
61463
+ children: t
61464
+ }
61465
+ )
61466
+ ] });
61458
61467
  }
61459
61468
  function hB({
61460
61469
  value: t,