@lv-x-software-house/x_view 1.2.2-dev.10 → 1.2.2-dev.12

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
@@ -4573,7 +4573,6 @@ function DescriptionReadModePanel({
4573
4573
  title,
4574
4574
  description,
4575
4575
  ancestryId,
4576
- // <-- NOVO: Prop recebida do XViewScene
4577
4576
  savedSections,
4578
4577
  onBack,
4579
4578
  onEdit,
@@ -4682,7 +4681,7 @@ function DescriptionReadModePanel({
4682
4681
  return /* @__PURE__ */ import_react7.default.createElement(
4683
4682
  "div",
4684
4683
  {
4685
- className: "flex flex-col h-full w-full bg-slate-950/50 relative overflow-hidden group",
4684
+ className: "flex flex-col h-full max-h-full w-full bg-slate-950/50 relative overflow-hidden group min-h-0",
4686
4685
  onPointerDown: swallow,
4687
4686
  onClick: swallow
4688
4687
  },
@@ -4754,7 +4753,7 @@ function DescriptionReadModePanel({
4754
4753
  },
4755
4754
  "\xD7"
4756
4755
  ))),
4757
- /* @__PURE__ */ import_react7.default.createElement("div", { className: "flex-1 overflow-y-auto custom-scrollbar p-6 bg-slate-900/20 relative z-10", onClick: () => setTargetRenderNodeId(null) }, showAbstraction ? /* @__PURE__ */ import_react7.default.createElement("div", { className: "space-y-4 animate-in fade-in slide-in-from-bottom-2 duration-300", onClick: (e) => e.stopPropagation() }, /* @__PURE__ */ import_react7.default.createElement("div", { className: "flex flex-col sm:flex-row sm:items-center justify-between gap-3 mb-4" }, /* @__PURE__ */ import_react7.default.createElement("h3", { className: "text-sm font-semibold text-purple-300 uppercase tracking-wider" }, "Explorar Hierarquia"), /* @__PURE__ */ import_react7.default.createElement("div", { className: "flex flex-wrap gap-2" }, targetRenderNodeId && onRenderAbstractionTree && /* @__PURE__ */ import_react7.default.createElement(
4756
+ /* @__PURE__ */ import_react7.default.createElement("div", { className: "flex-1 overflow-y-auto custom-scrollbar p-6 bg-slate-900/20 relative z-10 min-h-0", onClick: () => setTargetRenderNodeId(null) }, showAbstraction ? /* @__PURE__ */ import_react7.default.createElement("div", { className: "space-y-4 animate-in fade-in slide-in-from-bottom-2 duration-300", onClick: (e) => e.stopPropagation() }, /* @__PURE__ */ import_react7.default.createElement("div", { className: "flex flex-col sm:flex-row sm:items-center justify-between gap-3 mb-4" }, /* @__PURE__ */ import_react7.default.createElement("h3", { className: "text-sm font-semibold text-purple-300 uppercase tracking-wider" }, "Explorar Hierarquia"), /* @__PURE__ */ import_react7.default.createElement("div", { className: "flex flex-wrap gap-2" }, targetRenderNodeId && onRenderAbstractionTree && /* @__PURE__ */ import_react7.default.createElement(
4758
4757
  "button",
4759
4758
  {
4760
4759
  onClick: (e) => {
@@ -7623,10 +7622,10 @@ function NodeDetailsPanel({
7623
7622
  return /* @__PURE__ */ import_react15.default.createElement(import_react15.default.Fragment, null, /* @__PURE__ */ import_react15.default.createElement(
7624
7623
  "div",
7625
7624
  {
7626
- className: `ui-overlay absolute group rounded-2xl border border-white/10 bg-slate-950/70 backdrop-blur-xl shadow-[0_20px_80px_rgba(0,0,0,0.6)] ring-1 ring-white/10 text-white overflow-hidden transition-all duration-300 ease-out
7625
+ className: `ui-overlay absolute group rounded-2xl border border-white/10 bg-slate-950/70 backdrop-blur-xl shadow-[0_20px_80px_rgba(0,0,0,0.6)] ring-1 ring-white/10 text-white overflow-hidden flex flex-col transition-all duration-300 ease-out
7627
7626
  ${isReadMode ? "w-[min(92vw,700px)]" : "w-[min(92vw,440px)]"}
7628
7627
  `,
7629
- style: { top: 16, right: 16, zIndex: 1100 },
7628
+ style: { top: 16, right: 16, zIndex: 1100, maxHeight: "calc(100vh - 32px)" },
7630
7629
  onPointerDown: swallow,
7631
7630
  onPointerMove: swallow,
7632
7631
  onPointerUp: swallow,
package/dist/index.mjs CHANGED
@@ -4543,7 +4543,6 @@ function DescriptionReadModePanel({
4543
4543
  title,
4544
4544
  description,
4545
4545
  ancestryId,
4546
- // <-- NOVO: Prop recebida do XViewScene
4547
4546
  savedSections,
4548
4547
  onBack,
4549
4548
  onEdit,
@@ -4652,7 +4651,7 @@ function DescriptionReadModePanel({
4652
4651
  return /* @__PURE__ */ React7.createElement(
4653
4652
  "div",
4654
4653
  {
4655
- className: "flex flex-col h-full w-full bg-slate-950/50 relative overflow-hidden group",
4654
+ className: "flex flex-col h-full max-h-full w-full bg-slate-950/50 relative overflow-hidden group min-h-0",
4656
4655
  onPointerDown: swallow,
4657
4656
  onClick: swallow
4658
4657
  },
@@ -4724,7 +4723,7 @@ function DescriptionReadModePanel({
4724
4723
  },
4725
4724
  "\xD7"
4726
4725
  ))),
4727
- /* @__PURE__ */ React7.createElement("div", { className: "flex-1 overflow-y-auto custom-scrollbar p-6 bg-slate-900/20 relative z-10", onClick: () => setTargetRenderNodeId(null) }, showAbstraction ? /* @__PURE__ */ React7.createElement("div", { className: "space-y-4 animate-in fade-in slide-in-from-bottom-2 duration-300", onClick: (e) => e.stopPropagation() }, /* @__PURE__ */ React7.createElement("div", { className: "flex flex-col sm:flex-row sm:items-center justify-between gap-3 mb-4" }, /* @__PURE__ */ React7.createElement("h3", { className: "text-sm font-semibold text-purple-300 uppercase tracking-wider" }, "Explorar Hierarquia"), /* @__PURE__ */ React7.createElement("div", { className: "flex flex-wrap gap-2" }, targetRenderNodeId && onRenderAbstractionTree && /* @__PURE__ */ React7.createElement(
4726
+ /* @__PURE__ */ React7.createElement("div", { className: "flex-1 overflow-y-auto custom-scrollbar p-6 bg-slate-900/20 relative z-10 min-h-0", onClick: () => setTargetRenderNodeId(null) }, showAbstraction ? /* @__PURE__ */ React7.createElement("div", { className: "space-y-4 animate-in fade-in slide-in-from-bottom-2 duration-300", onClick: (e) => e.stopPropagation() }, /* @__PURE__ */ React7.createElement("div", { className: "flex flex-col sm:flex-row sm:items-center justify-between gap-3 mb-4" }, /* @__PURE__ */ React7.createElement("h3", { className: "text-sm font-semibold text-purple-300 uppercase tracking-wider" }, "Explorar Hierarquia"), /* @__PURE__ */ React7.createElement("div", { className: "flex flex-wrap gap-2" }, targetRenderNodeId && onRenderAbstractionTree && /* @__PURE__ */ React7.createElement(
4728
4727
  "button",
4729
4728
  {
4730
4729
  onClick: (e) => {
@@ -7609,10 +7608,10 @@ function NodeDetailsPanel({
7609
7608
  return /* @__PURE__ */ React15.createElement(React15.Fragment, null, /* @__PURE__ */ React15.createElement(
7610
7609
  "div",
7611
7610
  {
7612
- className: `ui-overlay absolute group rounded-2xl border border-white/10 bg-slate-950/70 backdrop-blur-xl shadow-[0_20px_80px_rgba(0,0,0,0.6)] ring-1 ring-white/10 text-white overflow-hidden transition-all duration-300 ease-out
7611
+ className: `ui-overlay absolute group rounded-2xl border border-white/10 bg-slate-950/70 backdrop-blur-xl shadow-[0_20px_80px_rgba(0,0,0,0.6)] ring-1 ring-white/10 text-white overflow-hidden flex flex-col transition-all duration-300 ease-out
7613
7612
  ${isReadMode ? "w-[min(92vw,700px)]" : "w-[min(92vw,440px)]"}
7614
7613
  `,
7615
- style: { top: 16, right: 16, zIndex: 1100 },
7614
+ style: { top: 16, right: 16, zIndex: 1100, maxHeight: "calc(100vh - 32px)" },
7616
7615
  onPointerDown: swallow,
7617
7616
  onPointerMove: swallow,
7618
7617
  onPointerUp: swallow,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lv-x-software-house/x_view",
3
- "version": "1.2.2-dev.10",
3
+ "version": "1.2.2-dev.12",
4
4
  "description": "Pacote privado contendo os componentes e lógica de renderização 3D do X View.",
5
5
  "author": "iv.x - Engenharia de Software - ivxsoftwarehouse@gmail.com",
6
6
  "license": "UNLICENSED",