Skip to content

0.9.17

Choose a tag to compare

released this 12 Oct 19:31

Added

  • Combobox and ComboboxMulti openOnClick prop
  • ComboboxInput now supports freeInput prop
  • MenuItem & MenuGroup now use list-item-style to suppress bullet for list item when rendered outside of MenuList context.
  • Select, SelectMulti and InputSearch now support isLoading and detail prop on options
  • Span - same as Text without the annoying fontSize="medium" (inherits by default instead)
  • Truncate component
  • useDialog - all of the power of Dialog in a hook!
  • Visual Snapshot test for MenuItem, MenuGroup, Status

Changed

  • Code, CodeBlock & Paragraph now explicitly use theme.colors.text as default color
  • Dialog
    • Backdrop is now dark (Material-esque)
    • now supports all previous DialogManager composition capabilities
    • can be used in either an "uncontrolled" or "controlled" manner
    • temporarily supports optional content prop until existing call sites can be updated. content will become required in next significant release.
  • DialogManager is deprecated and all existing use cases should be replaced with Dialog
    • All internal use of DialogManager replaced with Dialog
  • Drawer is nearly a direct pass-through to Dialog via useDrawer and DialogRender
    • useDrawer is nearly a direct pass-through to useDrawer with the key exception being Surface override
  • HoverDisclosure toggles visibility with css rather than inserting elements into the DOM
  • InputSearch onChange callback argument is now a string rather than an event
  • InputTimeSelect supports 20- and 60-minute intervals
  • Legend now applies font-family brand
  • MenuGroupLabel now applies font-family brand
  • Span replaced all library-internal usage of Text with Span
  • TreeItem
    • now supports text truncation behavior
    • now wraps long text pleasantly
    • now defaults to 24px minimum height (was previously 25px)
    • detail no longer has padding on the right side
  • Tooltip now has a default maxWidth of 30rem (this can be overridden)
  • Brand font defaults to Roboto
  • Adjusted icons sizes in IconButtons, Button, MenuItems, TextField to ensure consistent sizing across components

Fixed

  • ComboboxMulti issue with chips not updating reflecting updated option labels
  • DialogFooter & DialogHeader will no longer shrink in Safari when vertical space is limited
  • InputTimeSelect disabled state
  • MessageBar now displays properly in IE11 (switched from grid to flex layout)

Removed

  • InputSearch onClear – use onChange with a check for empty value instead
  • InputSearch and InputChips hideControls – use isClearable={false} instead

Preview / Experimental

  • Experimental: InputSearch supports onSelectOption, changeOnSelect, clearOnClose and all Select props except isFilterable, onFilter, showCreate and formatCreateLabel