zen-flow 1.7.2 → 1.7.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/zenflow.cjs +1 -1
- package/dist/zenflow.mjs +1 -1
- package/package.json +1 -1
package/dist/zenflow.cjs
CHANGED
|
@@ -119,7 +119,7 @@ const formatName = (texts) => {
|
|
|
119
119
|
const formatTooltip = (texts) => {
|
|
120
120
|
const format = (text, options) => TOOLTIP_COLOUR[options?.colour ?? "gray"](options?.format ? TOOLTIP_FORMAT[options.format](`"${text}"`) : `"${text}"`);
|
|
121
121
|
if (!Array.isArray(texts))
|
|
122
|
-
return
|
|
122
|
+
return format(texts);
|
|
123
123
|
if (isTextFormat(texts))
|
|
124
124
|
return format(...texts);
|
|
125
125
|
return texts.map(formatTooltip).join(" + ");
|
package/dist/zenflow.mjs
CHANGED
|
@@ -115,7 +115,7 @@ const formatName = (texts) => {
|
|
|
115
115
|
const formatTooltip = (texts) => {
|
|
116
116
|
const format = (text, options) => TOOLTIP_COLOUR[options?.colour ?? "gray"](options?.format ? TOOLTIP_FORMAT[options.format](`"${text}"`) : `"${text}"`);
|
|
117
117
|
if (!Array.isArray(texts))
|
|
118
|
-
return
|
|
118
|
+
return format(texts);
|
|
119
119
|
if (isTextFormat(texts))
|
|
120
120
|
return format(...texts);
|
|
121
121
|
return texts.map(formatTooltip).join(" + ");
|