github palantir/blueprint release-1.31.0
v1.31.0

latest releases: @blueprintjs/table@5.1.4, @blueprintjs/table-dev-app@5.1.4, @blueprintjs/select@5.1.4...
6 years ago

๐ŸŽ† Highlights: initial React 16 support, Table empty states, Table size-syncing fixes, Table no longer swallows page scrolls, โš ๏ธ different TruncatedFormat defaults

๐Ÿ“– Latest docs: blueprintjs.com/docs

@blueprintjs/core 1.31.0

๐Ÿ’Ž New features

  • ๐ŸŒŸ #1660 Allow React 16 as Blueprint peerDependency.
    • all components render successfully but please report any deeper issues you encounter.
  • #1677 Added eleven new icons:
    • pt-icon-compass, pt-icon-console, pt-icon-form, pt-icon-series-add, pt-icon-series-configuration, pt-icon-series-derived, pt-icon-series-filtered, pt-icon-series-search, pt-icon-taxi, pt-icon-train, pt-icon-walk

๐Ÿ› Bug fixes

  • #1672 Submenu popovers now position themselves properly on IE.
  • #1644 Popover no longer throws an error when shallow-mounted in a test environment. (๐ŸŽฉ @tobilen)
  • #1492 Tabs2 now hides the selected-tab indicator when the selected tab is removed. (๐ŸŽฉ @franciscofabian)

@blueprintjs/table 1.28.0

๐Ÿ› Bug fixes

  • ๐ŸŒŸ #1663 Table empty states are now both sane and beautiful.
    • Column-header borders are no longer missing.
      image image
    • Column header no longer collapses in size when numCols === 0
      image
    • Selections are cleared andย selecting is disabled when numRows === 0 and/or numCols === 0
      2017-10-04 17 59 12
  • ๐ŸŒŸ #1663 Table now resizes elements properly when the column header's size changes.
    2017-10-06 16 03 26
  • ๐ŸŒŸ #1674 Table now allows scrolling the page when the cursor is within the table.
    2017-10-06 15 55 50
  • #1637 Table no longer allows inertial scroll beyond the last row or column.
  • #1637 Table now doesn't stick as much when you try to scroll slowly leftward/upward from the last column/row.
  • #1632 Table now properly resizes frozen columns on double-click while the table is scrolled.
    • Before, double-clicking to resize a frozen column would sometimes erroneously collapse the column to nearly zero width.
  • #1653 Table no longer throws an error when scrolling a grid whose width or height is smaller than the scroll area.
  • #1673 EditableCell text input now fills the entire vertical space of the cell.
  • #1651 EditableCell no longer overwrites new values with old values when typing very quickly after focusing in the field.

๐Ÿ”„ Changed

  • โš ๏ธ #1656 TruncatedFormat's detectTruncation prop is now false by default, and truncationLength is set to 2000.
    • detectTruncation noticeably degrades performance when enabled, so we decided it was better to make it opt-in.
    • Now, when using TruncatedFormat with default settings, only cells with at least 2,000 characters will show a ยทยทยท icon and an accompanying Popover on click.
    • This should drastically reduce the work this component does on scroll, leading to much better rendering performance for cells with less than 2,000 characters of content.
    • To undo this change, set detectTruncation=true and truncationLength=80 in all of your TruncatedFormat usages, or modify TruncatedFormat.defaultProps directly:
      // changes values for _every_ instance without modifying render functions
      TruncatedFormat.defaultProps.detectTruncation = true;
      TruncatedFormat.defaultProps.maxLength = 80;
  • #1679 Table nowย always disables batch-rendering for header cells.
    • This fixes a race condition where the row header would resize itself incorrectly because some header cells hadn't finished rendering yet.

Documentation

  • #1662 Checkbox/Radio/Switch examples' "View on GitHub" links are now fixed. (๐ŸŽฉ @zfranklyn)
  • #1654 Table fixed an incorrectly stated default value for TruncatedFormat's showPopover prop.
  • #1666 Table added Regions/IRegion documentation

Don't miss a new blueprint release

NewReleases is sending notifications on new releases.