Files
timi-tdesign-mobile/docs/components
Timi bdaee75b81 feat(master-detail): add cover sub-mode and providePane
- MasterDetail / MasterDetailPage: add `sub-mode` ("shift" | "cover", default
  "shift", so existing callers are unaffected). `cover` leaves the master pane
  untouched and puts the sub pane over the detail column: the case where the
  list must stay visible while drilling into another module. The detail pane
  fades out in place instead of sliding into the master column, so it stays
  mounted and keeps its scroll position and internal state.
- use-master-detail: export `providePane(context)` and return `close` from
  useMasterDetailPane. A page can now hand a derived pane context to its whole
  subtree, which is how a host rewrites sub view ids (prefixing them with the
  owning record). The alternative - a wrapper component - breaks the
  `.detail > .tui-page-layout` selectors in page-layout.less and sends the
  in-pane navbar back to `position: fixed`.
- docs: cover vs shift, and how to prefix sub view ids without a wrapper.
2026-11-18 15:08:44 +08:00
..
2026-09-26 14:20:18 +08:00
2026-09-21 16:05:14 +08:00
2026-09-26 14:20:18 +08:00
2026-09-21 16:05:14 +08:00
2026-11-14 16:55:25 +08:00
2026-09-21 16:05:14 +08:00
2026-09-21 16:05:14 +08:00
2026-10-21 16:23:41 +08:00
2026-09-21 16:05:14 +08:00
2026-09-21 16:05:14 +08:00
2026-09-21 16:05:14 +08:00
2026-09-21 16:05:14 +08:00
2026-09-21 16:05:14 +08:00
2026-09-21 16:05:14 +08:00
2026-11-13 14:04:20 +08:00
2026-09-21 16:05:14 +08:00
2026-09-21 16:05:14 +08:00