@lv-x-software-house/x_view 1.2.3-dev.1 → 1.2.3-dev.2
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
|
@@ -4455,7 +4455,7 @@ var renderTextWithMentions = (text, availableNodes, onMentionClick, activeMentio
|
|
|
4455
4455
|
title: `Node externo ou n\xE3o carregado na view atual (ID: ${nodeId})`
|
|
4456
4456
|
},
|
|
4457
4457
|
/* @__PURE__ */ import_react7.default.createElement("span", { className: "opacity-60 text-[0.8em]" }, "@"),
|
|
4458
|
-
"
|
|
4458
|
+
"Mention"
|
|
4459
4459
|
);
|
|
4460
4460
|
}
|
|
4461
4461
|
const displayName = node.name;
|
|
@@ -4744,7 +4744,7 @@ function DescriptionDisplay({
|
|
|
4744
4744
|
const resolved = resolveDescriptionReference(trimmed, availableNodes, availableAncestries);
|
|
4745
4745
|
if (!resolved) return null;
|
|
4746
4746
|
if (resolved.error) return null;
|
|
4747
|
-
return /* @__PURE__ */ import_react7.default.createElement("div", { className: "my-
|
|
4747
|
+
return /* @__PURE__ */ import_react7.default.createElement("div", { className: "my-3 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",
|
|
@@ -4779,7 +4779,7 @@ function DescriptionDisplay({
|
|
|
4779
4779
|
const trailingSpace = match ? match[3] : "";
|
|
4780
4780
|
if (index === 0) leadingSpace = "";
|
|
4781
4781
|
const isRef = bodyText.trim().match(/^\[\[REF:(node|ancestry):([a-zA-Z0-9\-_]+):([a-zA-Z0-9\-_]+)\]\]$/);
|
|
4782
|
-
return /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, { key: index }, /* @__PURE__ */ import_react7.default.createElement("span", null, leadingSpace), isRef ? renderReferenceSection(bodyText, index, isSectionContextActive, setRef) : renderMixedContent(bodyText, index, isSectionContextActive, activeMentionIndex, setRef), /* @__PURE__ */ import_react7.default.createElement("span", null, trailingSpace));
|
|
4782
|
+
return /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, { key: index }, !isRef && /* @__PURE__ */ import_react7.default.createElement("span", null, leadingSpace), isRef ? renderReferenceSection(bodyText, index, isSectionContextActive, setRef) : renderMixedContent(bodyText, index, isSectionContextActive, activeMentionIndex, setRef), !isRef && /* @__PURE__ */ import_react7.default.createElement("span", null, trailingSpace));
|
|
4783
4783
|
})), hasUnsavedChanges && onSaveDescription && /* @__PURE__ */ import_react7.default.createElement("div", { className: "absolute bottom-2 left-2 z-[100] animate-in slide-in-from-bottom-2 fade-in duration-300" }, /* @__PURE__ */ import_react7.default.createElement(
|
|
4784
4784
|
"button",
|
|
4785
4785
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -4411,7 +4411,7 @@ var renderTextWithMentions = (text, availableNodes, onMentionClick, activeMentio
|
|
|
4411
4411
|
title: `Node externo ou n\xE3o carregado na view atual (ID: ${nodeId})`
|
|
4412
4412
|
},
|
|
4413
4413
|
/* @__PURE__ */ React6.createElement("span", { className: "opacity-60 text-[0.8em]" }, "@"),
|
|
4414
|
-
"
|
|
4414
|
+
"Mention"
|
|
4415
4415
|
);
|
|
4416
4416
|
}
|
|
4417
4417
|
const displayName = node.name;
|
|
@@ -4700,7 +4700,7 @@ function DescriptionDisplay({
|
|
|
4700
4700
|
const resolved = resolveDescriptionReference(trimmed, availableNodes, availableAncestries);
|
|
4701
4701
|
if (!resolved) return null;
|
|
4702
4702
|
if (resolved.error) return null;
|
|
4703
|
-
return /* @__PURE__ */ React6.createElement("div", { className: "my-
|
|
4703
|
+
return /* @__PURE__ */ React6.createElement("div", { className: "my-3 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",
|
|
@@ -4735,7 +4735,7 @@ function DescriptionDisplay({
|
|
|
4735
4735
|
const trailingSpace = match ? match[3] : "";
|
|
4736
4736
|
if (index === 0) leadingSpace = "";
|
|
4737
4737
|
const isRef = bodyText.trim().match(/^\[\[REF:(node|ancestry):([a-zA-Z0-9\-_]+):([a-zA-Z0-9\-_]+)\]\]$/);
|
|
4738
|
-
return /* @__PURE__ */ React6.createElement(React6.Fragment, { key: index }, /* @__PURE__ */ React6.createElement("span", null, leadingSpace), isRef ? renderReferenceSection(bodyText, index, isSectionContextActive, setRef) : renderMixedContent(bodyText, index, isSectionContextActive, activeMentionIndex, setRef), /* @__PURE__ */ React6.createElement("span", null, trailingSpace));
|
|
4738
|
+
return /* @__PURE__ */ React6.createElement(React6.Fragment, { key: index }, !isRef && /* @__PURE__ */ React6.createElement("span", null, leadingSpace), isRef ? renderReferenceSection(bodyText, index, isSectionContextActive, setRef) : renderMixedContent(bodyText, index, isSectionContextActive, activeMentionIndex, setRef), !isRef && /* @__PURE__ */ React6.createElement("span", null, trailingSpace));
|
|
4739
4739
|
})), hasUnsavedChanges && onSaveDescription && /* @__PURE__ */ React6.createElement("div", { className: "absolute bottom-2 left-2 z-[100] animate-in slide-in-from-bottom-2 fade-in duration-300" }, /* @__PURE__ */ React6.createElement(
|
|
4740
4740
|
"button",
|
|
4741
4741
|
{
|
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.2",
|
|
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",
|