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). UseThemeContext.Provider
orThemeContext.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 withlabel
andicon
-
Added ThemeContext.Extend
-
Added Storybook
Thanks @nogever for your contribution.