Names the region and the sheet: "About this post".
head
ReactNode
Above the tabs, and in the page on a phone: saving, publishing.
tabs
InspectorTab[]
Yes
defaultTab
string
initialTab
string | null
The tab asked for by the address (?tab=checks): the inspector opens on it, and on a phone opens the sheet, so a link from a list of flags lands on the checks.
wideQuery
string
The media query from which the tabs sit beside the text. Match it to the page's own grid.
className
string
Parts and data attributes
Class
Is
.cap-inspector
the root
.cap-inspector-open
a part
.cap-inspector-panel
a part
.cap-inspector-tabs
a part
Accessibility
Key
Does
Tab
Into the tabs (wide) or the row of buttons (phone)
Left and Right arrows
Move between tabs (the tabs' own keys)
Enter or Space on a button
Opens the sheet on that tab
Esc
Closes the sheet, focus back on its button
The column is an <aside> named by label; the sheet is a dialog named the same.
A count is part of the tab's and the button's name ("Checks, 2"), and the total that needs the person is said once beside the buttons ("2 need you").