Various Docs site issues #1554
Labels
blocks release
High priority tickets that block next release
bug
Something isn't working
react-magma-docs
Improvements or additions to documentation
testathon
1. Grid
Component: Grid
Description of the bug: docs code example issues
'styled' is declared but its value is never read
.Type '"center"' is not assignable to type 'GridJustifyContent | undefined'
Type '"center"' is not assignable to type 'GridAlignItems | undefined'.typescript(2322)
Steps to reproduce:
2. Container
Component: Container
Description of bug: CS examples are wrong - level should be
level={3}
instead of `level="3"Steps to reproduce:
Can it only be reproduced in dev or is it reproducible in the last released version? both
3. Stepper
Component: Stepper
Description of bug: Broken code sandboxes
4. Combobox
Component: Combobox
Description of bug: Various CS errors/warnings:
left-aligned
but the example shows top alignment. Should belabelPosition={LabelPosition.left}
inputValue is declared but value is never read
,'items' is of type 'unknown'.
cannot find name uuid
,Type '{ id: any; name: string; representation: string; }' is not assignable to type 'CustomComboboxItem'.
cannot find name uuid
,Type '{ id: number; name: string; representation: string; hex: string; }' is not assignable to type '{ id: any; name: any; representation: any; }'.
5. Hyperlink
Component: Hyperlink
Description of the bug: docs code example issues
6. IconButton
Component: Icon Button
Description of the bug: docs code example issues https://next--upbeat-sinoussi-f675aa.netlify.app/api/icon-button/:
7. Toast
Toast Documentation
There are a couple items in the "Accessibility Considerations" section that need to be fixed.
8. DatePicker
Component: DatePicker
Description of bug:
CS errors in most of the examples:
The description under Keyboard Navigation is no longer accurate now that we've removed
?
If you would like to see all of the options for keyboard navigation click on the ? button in the bottom right corner of the DatePicker or press the ? key.
should be removedSteps to reproduce:
9. Dropdown
Component: Dropdown
Description of bug: CS errors:
Type '{ children: string; toggle: true; onClick: () => void; }' is not assignable to type 'IntrinsicAttributes & { toggle: any; dropdownMenuItemProps: any; }'
Property 'isMulti' is missing in type '{ children: Element[]; defaultIndex: number[]; }' but required in type 'AccordionMultipleProps'
Property 'icon' does not exist on type 'IntrinsicAttributes & DropdownExpandableMenuListItemProps & RefAttributes<HTMLDivElement>'
Type '(value: string) => void' is not assignable to type '(value?: string | number | undefined) => void'.
Steps to reproduce:
10. Form
Form Props should be heading 2 ## instead of 1 so it can show up on the side nav
11. FormGroup
Visually Hidden Label, Custom Styles and Labeling Form Groups all use name prop which is not needed
12. useFocusLock
https://next--upbeat-sinoussi-f675aa.netlify.app/api/use-focus-lock/#optional_header_without_focusable_element unneeded imports Input, Button, Heading
13. ProgressBar
Description of bug:
Broken link to the Loading indicator component
Steps to reproduce:
loading indicator component
link;14. RadioButton
Steps to reproduce issue 1:
Design Guidelines
link;Steps to reproduce issue 2:
Toggle option 1
button;15. Select
Description of bug:
Useless scroll bars;
Steps to reproduce:
The text was updated successfully, but these errors were encountered: