yarn grommet 2.0.0-beta.4
v2.0.0-beta.4

latest releases: 2.37.0, 2.36.1, 2.36.0...
5 years ago

BREAKING CHANGES

  • Removed control.font from theme (font size for controls are now using Text component)
  • grommet-icons is now a peer dependency and needs to be installed separately
  • Update to React 16.3 (forwardRefs and new Context API)
    • React 16.3 is now required to run Grommet

Compatible Changes

  • ⚠️IMPORTANT: we are planning to remove theme prop from components (except Grommet). Use ThemeContext.Provider or ThemeContext.Extend instead.

  • Enchanced Components: Box, Button, Diagram, Drop, Chart, Layer, Select, Stack, TextInput, WorldMap

  • New Components: Accordion, AccordionPanel, Collapsible

  • Fix Select jumping when multiple Selects are open

  • Fix TextInput layout issues in Safari

  • Fix issues with icon theming

  • Fix Drop not placing correctly after updating boundaries

  • Fix layer ordering, adding multiple layers should stack them

  • Fix WorldMap not updating props correctly

  • Change Select to allow for custom TextInput (search inside Drop)

  • Change Button to allow custom primary color

  • Change TextInput to allow node as a placeholder

  • Change Diagram to remove dependency on Stack

  • Allow Button to have plain prop along-side with label and icon

  • Added ThemeContext.Extend

  • Added Storybook

Thanks @nogever for your contribution.

Don't miss a new grommet release

NewReleases is sending notifications on new releases.