Three cases need distinct styling from a normal preview (dimmed, single
line): a literal '<redacted>' value must not read as if it were the
real resolved value (shown muted + italic, same treatment as a note);
an empty-string value renders as (empty) rather than a blank cell; a
note (no live value at all) is muted + italic. Everything else is a
plain dimmed preview — previewValue (varSuggestions.ts) already
collapsed whitespace and capped the length upstream.
Takes an optional style override merged on top of the default
truncated-single-line layout, so TemplateEditorModal can swap in its own
no-truncation, wrap-to-second-line row layout instead of forking this
component.
Three cases need distinct styling from a normal preview (dimmed, single line): a literal
'<redacted>'value must not read as if it were the real resolved value (shown muted + italic, same treatment as anote); an empty-string value renders as(empty)rather than a blank cell; anote(no live value at all) is muted + italic. Everything else is a plain dimmed preview —previewValue(varSuggestions.ts) already collapsed whitespace and capped the length upstream.Takes an optional
styleoverride merged on top of the default truncated-single-line layout, soTemplateEditorModalcan swap in its own no-truncation, wrap-to-second-line row layout instead of forking this component.