Master-Detail-Split — component.master-detail
Liste + Detail nebeneinander mit ziehbarem Trenner (baut auf component.resizable). Benannte Slots list/detail, Leerzustand ohne Auswahl, responsives Stapeln (schmal → Detail unter die Liste). Für Postfach-/Ablage-/Datensatz-Browser-Muster. 1.1: feste Texte mehrsprachig (invisible_i18n). 1.2.0 (25.10
Beispiele
Liste + Detail (Trenner ziehbar)
| Auftrag | Kunde | Status |
|---|---|---|
#4711 | Müller GmbH | offen |
#4710 | Bäckerei Wolf | versendet |
#4709 | Auto Krause | offen |
- Auftrag
#4711- Kunde
- Müller GmbH
- Betrag
- 2.480,00 €
Ohne Auswahl → Leerzustand
| Auftrag | Kunde | Status |
|---|---|---|
#4711 | Müller GmbH | offen |
#4710 | Bäckerei Wolf | versendet |
#4709 | Auto Krause | offen |
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
listToggle | boolean | false |
listToggleKey | string: mod+shift+b | mod+alt+b | none | "mod+shift+b" |
listWidth | number | 60 |
emptyText | string | "Wähle einen Eintrag aus der Liste." |
height | string | "" |
listSize | string | "" |
listMin | number | 240 |
listMax | number | 640 |
selected | boolean | false |
listDrawer | boolean | true |
backHref | string | "" |
backLabel | string | "" |
listLabel | string | "" |
storageKey | string | "" |
padding | string: standard | none | sm | md | lg | xl | "standard" |
margin | string: standard | none | sm | md | lg | xl | "standard" |
border | string: standard | none | hairline | strong | "standard" |
radius | string: standard | none | control | surface | pill | "standard" |
textColor | string | "" |
backgroundColor | string | "" |
shadow | string: standard | none | sm | md | lg | "standard" |
width | string: standard | full | "standard" |
alignSelf | string: standard | start | center | end | "standard" |
anchor | string | "" |
Events & Slots
Events: resize, list-open, list-close, list-toggle
Slot list: akzeptiert component.*, section.*, layout.*, ui.* · Pflicht
Slot detail: akzeptiert component.inspector, component.*, section.*, layout.*, ui.*
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--table-overflow | visible |
Genutzte Design-Tokens
app.canvas border.hairline color.border.default color.border.strong color.border.subtle color.surface.default color.surface.hover color.surface.inverse color.text.default color.text.muted duration.base duration.fast easing.standard focus.ring-color focus.ring-offset focus.ring-width font.family.default radius.control radius.full shadow.overlay-large size.1 size.1-5 size.2 size.3 size.4 size.6 size.8 text.sm