Skip to content

v1.0.0

Choose a tag to compare

@cheton cheton released this 04 Jan 10:51
· 21 commits to master since this release

Breaking Changes

  • Removed scrollable and maxHeight from DropdownMenu's props (c54c9aa)
  • Do not transform the header font into uppercase characters (2f828c1)
  • Removed DropdownSubMenu component (2dc5b71)
  • Refactors the code that simplifies the structure of a multi-level dropdown menu (2dc5b71)
<Dropdown>
    <Dropdown.Toggle>Select an option</Dropdown.Toggle>
    <Dropdown.Menu>
        <MenuItem>
            Menu item one
        </MenuItem>
        <MenuItem>
            Menu item two
        </MenuItem>
        <MenuItem>
            Menu item three
        </MenuItem>
        <MenuItem divider />
        <MenuItem>
            Menu item four
            <MenuItem>
                Second level item one
            </MenuItem>
            <MenuItem>
                Second level item two
            </MenuItem>
            <MenuItem>
                Second level item three
                <MenuItem>
                    Third level item one
                </MenuItem>
            </MenuItem>
        </MenuItem>
    </Dropdown.Menu>
</Dropdown>

Improvements

  • Replace dropdownRole with componentType (3f66eba)