Invisible Docs
GalerieTokens

Anhang (Bild oder Datei) — component.issue-attachment

Anhang eines Vorgangs oder Verlaufseintrags: Bild als Vorschau oder Datei als Zeile mit Name und Größe. Der Link kann einen Dialog öffnen (component.modal mit source file), sonst öffnet er die Datei in einem neuen Tab. 1.1 (opt-in): preview thumb = Dateizeile mit Vorschaubild links und Symbol-Knöpfe

Componentv1.6.0Inhaltweb.documentweb.applicationdesktop.shellbuilder.preview

Beispiele

Keine Demo-Fälle hinterlegt (demo.php ergänzen).

Eigenschaften

PropTypDefault
hrefstring""
missingbooleanfalse
namestring""
sizestring""
typestring""
previewstring: file | image | thumb"file"
thumbSrcstring""
downloadHrefstring""
openLabelstring"Öffnen"
downloadLabelstring"Herunterladen"
removeNamestring""
removeSubmitbooleanfalse
removeActionstring""
removeConfirmstring""
removeValuestring"1"
removeLabelstring"Entfernen"
triggerstring""
densitystring: default | compact"default"

Genutzte Design-Tokens

border.emphasis border.hairline color.action.primary color.border.default color.border.subtle color.status.danger color.surface.default color.surface.sunken color.text.default color.text.muted duration.fast easing.standard font.family.default radius.control size.1 size.10 size.12 size.2 size.3 size.6 size.8 text.sm text.xs weight.medium weight.regular weight.semibold