🎆 Highlights: more ways to Popover
, Table
shift+click selection expansion, so many fixes!
📖 Latest docs: blueprintjs.com/docs
General
- 🔨 Resolved all warnings and deprecation messages in our test suites #1088
- 💡 These are development-only changes so they do not affect library consumption.
- Replaced deprecated
react-addons-test-utils
package withreact-test-renderer
andreact-dom/test-utils
. - Updated to latest
enzyme
to make use of these new libraries. - Fixed isomorphic testing for some skipped components #781
@blueprintjs/core 1.18.0
- 🌟 NEW more ways to
Popover
: define content and target as props, children, or both #1118-
NEW Provide both the
content
andtarget
props, which accept a string or a JSX element.
Omitting thetarget
prop will produce an error.<Popover content={<Content />} target={<Button text="Open" />} />
-
NEW Provide one or two
children
. The first child will become thetarget
, the second thecontent
. Omitting atarget
element will produce an error.<Popover> <Button text="Open" /> <Content /> </Popover>
-
It is possible to mix the two (pre-existing usage): provide the
content
prop and one React child as the target. (Using thetarget
prop withchildren
is not supported and will produce a warning.)<Popover content={<Content />}> <Button text="Open" /> </Popover>
-
- NEW
Popover
exposespopoverElement
andtargetElement
instance properties #1123- both are refs to the underlying HTML elements and can be very useful for testing non-inline Popovers
- access these properties by getting a ref to a
Popover
instance:<Popover ref={(popover) => popover.popoverElement}>
- Fixed
NonIdealState
margins between items are more consistent and reliably support all combinations (as most props are optional) #994 - NEW
.pt-file-input
supports.pt-large
CSS modifier #1112 - Fixed
RadioGroup
onChange
event type is now correct forHTMLInputElement
#1128 - Fixed
Checkbox
indeterminate
docs have been clarified #1127 - Fixed
NumericInput
setsautoComplete="off"
#1146 - Fixed
Popover
with empty or whitespace content will not open and will log a warning #1094- this feature was added for
Tooltip
only in 1.14.0; in this release it now applies toPopover
directly soTooltip
inherits this behavior through composition.
- this feature was added for
- Fixed default font stack so CSS minifiers won't strip the final
"Icons16"
entry to support inline icons #1060 #1107 - Fixed
ContextMenu
usestetherOptions
to avoid deprecation warnings #1088 - Updated
bold
,italic
, andunderline
icons for consistent text baseline #1135 - Added
satellite
andparagraph
icons #1135
@blueprintjs/datetime 1.16.0
- Fixed
DateInput
withcloseOnSelection={true}
will no longer close when the time changes (only when date is chosen) #1092 - Fixed
DateInput
andDateRangeInput
setautoComplete="off"
#1146 - Fixed typo in
DateInput
popoverPosition
deprecation warning (🎩 @lucasray) #1139
@blueprintjs/docs 1.1.1
- Fixed
Navigator
setsautoComplete="off"
#1146
@blueprintjs/table 1.15.0
- 🌟 NEW
shift+click
to expand selection region #1071 - Fixed region selection stays anchored to original activation cell when scrolling #950 #1114
- Fixed row resize for truncated, non-word-wrapped cells #1100
- Fixed pure render logic on
Cell
to avoid unnecessary re-renders (🎩 @zerovox) #1104- first step in some significant performance improvements; see profile screenshot PR above
- Fixed
Table
children
type to support TS 2.3 (🎩 @cetra3) #1143 - Fixed hide regions that lie fully outside of the Table #1077 #1122
- Fixed
TruncatedFormat
uses width of ellipsis when calculating whether to show it #953
Documentation
- Fixed Popover example with nested Popover example content #1097