@toriistudio/v0-playground 0.2.5 → 0.2.7

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
@@ -572,6 +572,8 @@ var ControlPanel = () => {
572
572
  "div",
573
573
  {
574
574
  className: `order-2 md:order-1 w-full md:h-auto p-2 md:p-4 bg-stone-900 font-mono text-stone-300 transition-opacity duration-300 ${!isHydrated ? "opacity-0" : "opacity-100"}`,
575
+ onPointerDown: (e) => e.stopPropagation(),
576
+ onTouchStart: (e) => e.stopPropagation(),
575
577
  style: {
576
578
  width: "100%",
577
579
  height: "auto",
@@ -585,7 +587,7 @@ var ControlPanel = () => {
585
587
  overflowY: "auto"
586
588
  } : {}
587
589
  },
588
- children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "mb-8 space-y-4 p-2 md:p-4 border border-stone-700 rounded-md", children: [
590
+ children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "mb-10 space-y-4 p-2 md:p-4 border border-stone-700 rounded-md", children: [
589
591
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "space-y-1", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h1", { className: "text-lg text-stone-100 font-bold", children: "Controls" }) }),
590
592
  /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "space-y-4 pt-2", children: [
591
593
  normalControls.map(([key, control]) => {
package/dist/index.mjs CHANGED
@@ -546,6 +546,8 @@ var ControlPanel = () => {
546
546
  "div",
547
547
  {
548
548
  className: `order-2 md:order-1 w-full md:h-auto p-2 md:p-4 bg-stone-900 font-mono text-stone-300 transition-opacity duration-300 ${!isHydrated ? "opacity-0" : "opacity-100"}`,
549
+ onPointerDown: (e) => e.stopPropagation(),
550
+ onTouchStart: (e) => e.stopPropagation(),
549
551
  style: {
550
552
  width: "100%",
551
553
  height: "auto",
@@ -559,7 +561,7 @@ var ControlPanel = () => {
559
561
  overflowY: "auto"
560
562
  } : {}
561
563
  },
562
- children: /* @__PURE__ */ jsxs4("div", { className: "mb-8 space-y-4 p-2 md:p-4 border border-stone-700 rounded-md", children: [
564
+ children: /* @__PURE__ */ jsxs4("div", { className: "mb-10 space-y-4 p-2 md:p-4 border border-stone-700 rounded-md", children: [
563
565
  /* @__PURE__ */ jsx10("div", { className: "space-y-1", children: /* @__PURE__ */ jsx10("h1", { className: "text-lg text-stone-100 font-bold", children: "Controls" }) }),
564
566
  /* @__PURE__ */ jsxs4("div", { className: "space-y-4 pt-2", children: [
565
567
  normalControls.map(([key, control]) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toriistudio/v0-playground",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "V0 Playground",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",