Releases: segmentio/evergreen
Releases · segmentio/evergreen
Release list
Fix bug Select and add SelectField
Implements: #237
Select / SelectField
- This fixes a style issue with
<Select />when placed inside flex containers or when allowed to have an unconstrained width (width: auto) by includingpaddingRight={sizeOfIconPlusPaddingX}. - It also adds
/docsand aSelectFieldcomponent that matches the implementation forTextInputField.
Add size prop for Un/OrderedList and icon support for UnorderedList + ListItem
Pre-release
Implements: #234
UnorderedList, OrderedList, ListItem
- Add
sizeprop toOrderedListandUnorderedList - Add
iconColorandiconprop toOrderedListandListItem - When using
icon/iconColorinOrderedListandListItem,ListItemwill override the property
Increase the contrast of n1-level colors and fix typo in button
Colors
- Increase the contrast slightly of
N1,N1A,B1andB1A
Other
- Fixes a small typo
isselecteable->isselectable
Allow passthrough props on menu item, and always bubble highjacked events
Menu
PR #231
This release enhances the Menu.Item component to allow for unknown (user-defined) props in order to fully support using the is={MyCustomComponent} prop.
It also changes the behavior of all event handlers that we are hooking into so that we always ensure we bubble those events to consumer props.
Improved Menu component and Button states
Menu
- Add better focus management to the
Menucomponent- Support
HomeandEndkey to jump to first and last component - Support custom
[role="menuitem"]and[role="menuitemradio"]elements within the Menu.
- Support
Popover
- Pressing down arrow on trigger brings focus inside of
Popovercontent. - Disable bringing focus inside by default, which is more inline with how a popover or menu should work
Button
- Add new
focusAndActivestate for better focus states - Bring back
cursor: not-allowed;when buttons are disabled
Fix Popover button click
Add hint to TextInputField
TextInputField / FormField
- Add
hintproperty toTextInputFieldwhich is under the input element.FormFieldHint - Description moved above the input element, instead under.
- Fix alignment slightly of icon in
FormFieldValidationMessage
Set icon in IconButton back to neutral color
- Set icon in IconButton back to neutral color
Unify intent API, deprecate info option
Alert + InlineAlert
This release deprecates the previous info option for the intent prop in components such as Alert and `InlineAlert.
The Intent API is now the same across Evergreen. The available values being:
- none
- success
- warning
- danger
Toaster
toaster.infois deprecated. Usetoaster.notifyinstead.
Buttons
- Minimal default button is now a blue color
IconButton
- Icon button is also blue in this release BUT this is fixed in v4.0.0-7
Support border false on Pane
Pane accepts a bool for border props, so it should also support `false.