Skip to content

Releases: segmentio/evergreen

Fix bug Select and add SelectField

20 Jul 17:32
Compare
Choose a tag to compare
Pre-release

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 including paddingRight={sizeOfIconPlusPaddingX}.
  • It also adds /docs and a SelectField component that matches the implementation for TextInputField.

Add size prop for Un/OrderedList and icon support for UnorderedList + ListItem

19 Jul 22:34
Compare
Choose a tag to compare

Implements: #234

UnorderedList, OrderedList, ListItem

  • Add size prop to OrderedList and UnorderedList
  • Add iconColor and icon prop to OrderedList and ListItem
  • When using icon/iconColor in OrderedList and ListItem, ListItem will override the property

Increase the contrast of n1-level colors and fix typo in button

18 Jul 21:20
Compare
Choose a tag to compare

Colors

  • Increase the contrast slightly of N1, N1A, B1 and B1A

Other

  • Fixes a small typo isselecteable -> isselectable

Allow passthrough props on menu item, and always bubble highjacked events

18 Jul 17:21
Compare
Choose a tag to compare

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

17 Jul 20:40
Compare
Choose a tag to compare

Menu

  • Add better focus management to the Menu component
    • Support Home and End key to jump to first and last component
    • Support custom [role="menuitem"] and [role="menuitemradio"] elements within the Menu.

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

11 Jul 22:56
Compare
Choose a tag to compare
Pre-release

Popover

  • Fix popover not closed when button being clicked. #219

Add hint to TextInputField

11 Jul 22:55
Compare
Choose a tag to compare
Pre-release

TextInputField / FormField

  • Add hint property to TextInputField 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

11 Jul 18:48
Compare
Choose a tag to compare
  • Set icon in IconButton back to neutral color

Unify intent API, deprecate info option

11 Jul 18:50
Compare
Choose a tag to compare
Pre-release

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. Use toaster.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

11 Jul 18:51
Compare
Choose a tag to compare
Pre-release

Pane accepts a bool for border props, so it should also support `false.