@lv-x-software-house/x_view 1.2.3-dev.2 → 1.2.3-dev.3
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 +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4550,7 +4550,6 @@ function DescriptionDisplay({
|
|
|
4550
4550
|
currentBranchDirection = null,
|
|
4551
4551
|
onSaveDescription,
|
|
4552
4552
|
onStepChange
|
|
4553
|
-
// 1. Adicione a nova prop aqui
|
|
4554
4553
|
}) {
|
|
4555
4554
|
const [localDescription, setLocalDescription] = (0, import_react7.useState)(description || "");
|
|
4556
4555
|
(0, import_react7.useEffect)(() => {
|
|
@@ -4744,7 +4743,8 @@ function DescriptionDisplay({
|
|
|
4744
4743
|
const resolved = resolveDescriptionReference(trimmed, availableNodes, availableAncestries);
|
|
4745
4744
|
if (!resolved) return null;
|
|
4746
4745
|
if (resolved.error) return null;
|
|
4747
|
-
|
|
4746
|
+
const cleanContent = resolved.content.trim();
|
|
4747
|
+
return /* @__PURE__ */ import_react7.default.createElement("div", { className: "my-1 group relative" }, /* @__PURE__ */ import_react7.default.createElement(
|
|
4748
4748
|
"div",
|
|
4749
4749
|
{
|
|
4750
4750
|
className: "flex items-center gap-1.5 mb-1 select-none opacity-50 hover:opacity-100 transition-opacity pl-1 cursor-pointer w-fit",
|
|
@@ -4760,7 +4760,7 @@ function DescriptionDisplay({
|
|
|
4760
4760
|
), /* @__PURE__ */ import_react7.default.createElement("div", { className: `
|
|
4761
4761
|
pl-3 border-l border-white/10 group-hover:border-indigo-500/30 transition-colors
|
|
4762
4762
|
${isActiveSection ? "opacity-100" : "opacity-90"}
|
|
4763
|
-
` }, renderMixedContent(
|
|
4763
|
+
` }, renderMixedContent(cleanContent, index, isActiveSection, -1, setRef)));
|
|
4764
4764
|
};
|
|
4765
4765
|
globalCheckboxCounterRef.current = 0;
|
|
4766
4766
|
const hasUnsavedChanges = localDescription !== (description || "");
|
package/dist/index.mjs
CHANGED
|
@@ -4506,7 +4506,6 @@ function DescriptionDisplay({
|
|
|
4506
4506
|
currentBranchDirection = null,
|
|
4507
4507
|
onSaveDescription,
|
|
4508
4508
|
onStepChange
|
|
4509
|
-
// 1. Adicione a nova prop aqui
|
|
4510
4509
|
}) {
|
|
4511
4510
|
const [localDescription, setLocalDescription] = useState7(description || "");
|
|
4512
4511
|
useEffect6(() => {
|
|
@@ -4700,7 +4699,8 @@ function DescriptionDisplay({
|
|
|
4700
4699
|
const resolved = resolveDescriptionReference(trimmed, availableNodes, availableAncestries);
|
|
4701
4700
|
if (!resolved) return null;
|
|
4702
4701
|
if (resolved.error) return null;
|
|
4703
|
-
|
|
4702
|
+
const cleanContent = resolved.content.trim();
|
|
4703
|
+
return /* @__PURE__ */ React6.createElement("div", { className: "my-1 group relative" }, /* @__PURE__ */ React6.createElement(
|
|
4704
4704
|
"div",
|
|
4705
4705
|
{
|
|
4706
4706
|
className: "flex items-center gap-1.5 mb-1 select-none opacity-50 hover:opacity-100 transition-opacity pl-1 cursor-pointer w-fit",
|
|
@@ -4716,7 +4716,7 @@ function DescriptionDisplay({
|
|
|
4716
4716
|
), /* @__PURE__ */ React6.createElement("div", { className: `
|
|
4717
4717
|
pl-3 border-l border-white/10 group-hover:border-indigo-500/30 transition-colors
|
|
4718
4718
|
${isActiveSection ? "opacity-100" : "opacity-90"}
|
|
4719
|
-
` }, renderMixedContent(
|
|
4719
|
+
` }, renderMixedContent(cleanContent, index, isActiveSection, -1, setRef)));
|
|
4720
4720
|
};
|
|
4721
4721
|
globalCheckboxCounterRef.current = 0;
|
|
4722
4722
|
const hasUnsavedChanges = localDescription !== (description || "");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lv-x-software-house/x_view",
|
|
3
|
-
"version": "1.2.3-dev.
|
|
3
|
+
"version": "1.2.3-dev.3",
|
|
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",
|