Releases: segmentio/evergreen
Releases · segmentio/evergreen
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
/docs
and aSelectField
component 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
size
prop toOrderedList
andUnorderedList
- Add
iconColor
andicon
prop toOrderedList
andListItem
- When using
icon/iconColor
inOrderedList
andListItem
,ListItem
will override the property
Increase the contrast of n1-level colors and fix typo in button
Colors
- Increase the contrast slightly of
N1
,N1A
,B1
andB1A
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
Menu
component- Support
Home
andEnd
key 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
Popover
content. - Disable bringing focus inside by default, which is more inline with how a popover or menu should work
Button
- Add new
focusAndActive
state for better focus states - Bring back
cursor: not-allowed;
when buttons are disabled
Fix Popover button click
Popover
- Fix popover not closed when button being clicked. #219
Add hint to TextInputField
TextInputField / FormField
- Add
hint
property toTextInputField
which 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.info
is deprecated. Usetoaster.notify
instead.
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.