v1.31.0
🎆 Highlights: initial React 16 support, Table
empty states, Table
size-syncing fixes, Table
no longer swallows page scrolls, 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. - 🌟 #1663
Table
now resizes elements properly when the column header's size changes.
- 🌟 #1674
Table
now allows scrolling the page when the cursor is within the table.
- #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 whosewidth
orheight
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
⚠️ #1656TruncatedFormat
'sdetectTruncation
prop is nowfalse
by default, andtruncationLength
is set to2000
.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 least2,000
characters will show a···
icon and an accompanyingPopover
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
andtruncationLength=80
in all of yourTruncatedFormat
usages, or modifyTruncatedFormat.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 forTruncatedFormat
'sshowPopover
prop. - #1666
Table
added Regions/IRegion
documentation