whats-up-dug 0.3.0 → 0.3.1
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 +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -51821,7 +51821,7 @@ function formatCell(value, column) {
|
|
|
51821
51821
|
}
|
|
51822
51822
|
if (typeof value === "object")
|
|
51823
51823
|
return JSON.stringify(value);
|
|
51824
|
-
return String(value);
|
|
51824
|
+
return String(value).replace(/[\r\n]+/g, " ");
|
|
51825
51825
|
}
|
|
51826
51826
|
function DataTable({
|
|
51827
51827
|
data,
|
|
@@ -51945,6 +51945,7 @@ function DataTable({
|
|
|
51945
51945
|
children: /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Text, {
|
|
51946
51946
|
dimColor: true,
|
|
51947
51947
|
bold: true,
|
|
51948
|
+
wrap: "truncate",
|
|
51948
51949
|
children: [
|
|
51949
51950
|
" ",
|
|
51950
51951
|
headerStr
|
|
@@ -51954,6 +51955,7 @@ function DataTable({
|
|
|
51954
51955
|
/* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Box_default, {
|
|
51955
51956
|
children: /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Text, {
|
|
51956
51957
|
dimColor: true,
|
|
51958
|
+
wrap: "truncate",
|
|
51957
51959
|
children: [
|
|
51958
51960
|
" ",
|
|
51959
51961
|
separatorStr
|
|
@@ -51976,6 +51978,7 @@ function DataTable({
|
|
|
51976
51978
|
const rowStr = buildRowStr(columns.map((col, i2) => pad(formatCell(row[col], col), colWidths[i2])));
|
|
51977
51979
|
return /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Box_default, {
|
|
51978
51980
|
children: isSelected ? /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Text, {
|
|
51981
|
+
wrap: "truncate",
|
|
51979
51982
|
children: [
|
|
51980
51983
|
/* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Text, {
|
|
51981
51984
|
color: "cyan",
|
|
@@ -51988,6 +51991,7 @@ function DataTable({
|
|
|
51988
51991
|
}, undefined, false, undefined, this)
|
|
51989
51992
|
]
|
|
51990
51993
|
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Text, {
|
|
51994
|
+
wrap: "truncate",
|
|
51991
51995
|
children: [
|
|
51992
51996
|
" ",
|
|
51993
51997
|
rowStr
|