Skip to content

Major Release Tracking Issue#717

Merged
emplums merged 283 commits intomasterfrom
major
Apr 2, 2020
Merged

Major Release Tracking Issue#717
emplums merged 283 commits intomasterfrom
major

Conversation

@emplums
Copy link
Copy Markdown

@emplums emplums commented Mar 17, 2020

This is a tracking issue for the next major release (currently planned to go out as 17.0.0)

🔧 Breaking changes

  • Dialog components no longer render with a header by default. Extract Dialog header into separate component #736 @BinaryMuse

    Migration strategy: change any Dialog component with a title prop set as follows:

    <Dialog title="...title...">
      ...content...
    </Dialog>

    to

    <Dialog>
      <Dialog.Header>...title...</Dialog.Header>
      ...content...
    </Dialog>
  • Heading now renders an h2 by default instead of an h1 Heading update (new default level and updated docs) #716 @taylorcjohnson

    Migration strategy: change any use of the Heading component without an as prop:

    <Heading>...</Heading>

    to

    <Heading as="h1">...</Heading>
  • Dropdown elements no longer provide a Dropdown button by default - this allows users to pass in any type of summary element so the component can work well for different types of dropdowns Dropdown and Details Refactor 🧹 #729.

    Migration strategy: change any Dropdown component with a title prop set as follows:

    <Dropdown title="hello world">
      <Dropdown.Menu>
        <Dropdown.Item>Item 1</Dropdown.Item>
        <Dropdown.Item>Item 2</Dropdown.Item>
        <Dropdown.Item>Item 3</Dropdown.Item>
      </Dropdown.Menu>
    </Dropdown>

    to

    <Dropdown title="hello world">
      <Dropdown.Button>Hello world</Dropdown.Button>
      <Dropdown.Menu>
        <Dropdown.Item>Item 1</Dropdown.Item>
        <Dropdown.Item>Item 2</Dropdown.Item>
        <Dropdown.Item>Item 3</Dropdown.Item>
      </Dropdown.Menu>
    </Dropdown>

    We've also added the ability to manage the open state and provide custom handles for onToggle and onOutsideClick to the Details component and Dropdown component for more flexibility and reusability 🎉 🙌

✨ New Components

🐛 Bug Fixes

@vercel vercel bot temporarily deployed to Preview April 2, 2020 17:32 Inactive
@vercel vercel bot temporarily deployed to Preview April 2, 2020 17:44 Inactive
Copy link
Copy Markdown
Contributor

@BinaryMuse BinaryMuse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

excitebike.gif

@vercel vercel bot temporarily deployed to Preview April 2, 2020 18:04 Inactive
@vercel vercel bot temporarily deployed to Preview April 2, 2020 20:02 Inactive
@emplums emplums merged commit b83c2b5 into master Apr 2, 2020
@emplums emplums deleted the major branch April 2, 2020 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants