Filed unassigned while building objectui#7087 (branch claude/issue-7087-disabled-narrowing), as a sub-issue because it falls inside that card's completion scope but outside the dispatch's file surface (packages/types only). Docs-only follow-up; no code moves.
What was measured
grep -rn 'disabled' content/docs/components | grep -i boolean on origin/main @ 67dadd602, each hit attributed to the enclosing interface block of the page's illustrative TypeScript. 13 pages spell an in-scope schema's OWN disabled?: boolean — the exact line the #7087 ruling removes from the shipped type, where the member is now inherited from BaseSchema as boolean | string:
| page | line | interface |
|---|
content/docs/components/form/button.mdx | 60 | ButtonSchema |
content/docs/components/form/input.mdx | 25 | InputSchema |
content/docs/components/form/textarea.mdx | 22 | TextareaSchema |
content/docs/components/form/select.mdx | 22 | SelectSchema |
content/docs/components/form/checkbox.mdx | 21 | CheckboxSchema |
content/docs/components/form/radio-group.mdx | 53 | RadioGroupSchema |
content/docs/components/form/switch.mdx | 20 | SwitchSchema |
content/docs/components/form/file-upload.mdx | 46 | FileUploadSchema |
content/docs/components/form/date-picker.mdx | 37 | DatePickerSchema |
content/docs/components/form/calendar.mdx | 39 | CalendarSchema |
content/docs/components/form/input-otp.mdx | 39 | InputOTPSchema |
content/docs/components/form/combobox.mdx | 45 | ComboboxSchema |
content/docs/components/disclosure/toggle-group.mdx | 44 | ToggleGroupSchema |
Correct and untouched (independent declarations, out of the ruling's scope): form/form.mdx:25 (FormField), form/radio-group.mdx:38 (RadioOption), disclosure/toggle-group.mdx:29 (ToggleGroupItem), disclosure/accordion.mdx:20 (AccordionItem), basic/button-group.mdx:28 (ButtonGroupButton). basic/button-group.mdx:42 already reads boolean | string (objectui#6347).
No content/docs/components page documents ToggleSchema, SliderSchema, FormSchema (as its own interface), ActionSchema or CollapsibleSchema's disabled line, so those five in-scope schemas have nothing to correct here.
Why it is not gated, and a note to whoever fixes it
These pages declare their own interface blocks, so check:doc-snippets cannot see the drift (objectui#6143). The button-group-doc-surface-6347 pin's header comment says 13 of those 14 component schemas REDECLARE disabled?: boolean themselves … so their pages are right — after #7087 that sentence is false and the 13 pages are the outliers; the pin's assertions are about ButtonGroupSchema only and stay green, but its comment should move with the pages. The reader-facing spelling to converge on is the one basic/button-group.mdx:42 and content/docs/api/schema-reference.md:74 already use: boolean | string — a boolean or a predicate expression, on the same evaluated path as visible.
Refs #7087 · #6143 · #6347.
Generated by Claude Code
Filed unassigned while building objectui#7087 (branch
claude/issue-7087-disabled-narrowing), as a sub-issue because it falls inside that card's completion scope but outside the dispatch's file surface (packages/typesonly). Docs-only follow-up; no code moves.What was measured
grep -rn 'disabled' content/docs/components | grep -i booleanonorigin/main@67dadd602, each hit attributed to the enclosinginterfaceblock of the page's illustrative TypeScript. 13 pages spell an in-scope schema's OWNdisabled?: boolean— the exact line the #7087 ruling removes from the shipped type, where the member is now inherited fromBaseSchemaasboolean | string:content/docs/components/form/button.mdxButtonSchemacontent/docs/components/form/input.mdxInputSchemacontent/docs/components/form/textarea.mdxTextareaSchemacontent/docs/components/form/select.mdxSelectSchemacontent/docs/components/form/checkbox.mdxCheckboxSchemacontent/docs/components/form/radio-group.mdxRadioGroupSchemacontent/docs/components/form/switch.mdxSwitchSchemacontent/docs/components/form/file-upload.mdxFileUploadSchemacontent/docs/components/form/date-picker.mdxDatePickerSchemacontent/docs/components/form/calendar.mdxCalendarSchemacontent/docs/components/form/input-otp.mdxInputOTPSchemacontent/docs/components/form/combobox.mdxComboboxSchemacontent/docs/components/disclosure/toggle-group.mdxToggleGroupSchemaCorrect and untouched (independent declarations, out of the ruling's scope):
form/form.mdx:25(FormField),form/radio-group.mdx:38(RadioOption),disclosure/toggle-group.mdx:29(ToggleGroupItem),disclosure/accordion.mdx:20(AccordionItem),basic/button-group.mdx:28(ButtonGroupButton).basic/button-group.mdx:42already readsboolean | string(objectui#6347).No
content/docs/componentspage documentsToggleSchema,SliderSchema,FormSchema(as its own interface),ActionSchemaorCollapsibleSchema'sdisabledline, so those five in-scope schemas have nothing to correct here.Why it is not gated, and a note to whoever fixes it
These pages declare their own
interfaceblocks, socheck:doc-snippetscannot see the drift (objectui#6143). Thebutton-group-doc-surface-6347pin's header comment says 13 of those 14 component schemas REDECLAREdisabled?: booleanthemselves … so their pages are right — after #7087 that sentence is false and the 13 pages are the outliers; the pin's assertions are aboutButtonGroupSchemaonly and stay green, but its comment should move with the pages. The reader-facing spelling to converge on is the onebasic/button-group.mdx:42andcontent/docs/api/schema-reference.md:74already use:boolean | string— a boolean or a predicate expression, on the same evaluated path asvisible.Refs #7087 · #6143 · #6347.
Generated by Claude Code