github palantir/blueprint release-1.18.0
v1.18.0

latest releases: @blueprintjs/table@5.2.5, @blueprintjs/table-dev-app@5.2.5, @blueprintjs/select@5.3.3...
7 years ago

🎆 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 with react-test-renderer and react-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
    1. NEW Provide both the content and target props, which accept a string or a JSX element.
      Omitting the target prop will produce an error.

      <Popover content={<Content />} target={<Button text="Open" />} />
    2. NEW Provide one or two children. The first child will become the target, the second the content. Omitting a target element will produce an error.

      <Popover>
          <Button text="Open" />
          <Content />
      </Popover>
    3. It is possible to mix the two (pre-existing usage): provide the content prop and one React child as the target. (Using the target prop with children is not supported and will produce a warning.)

      <Popover content={<Content />}>
          <Button text="Open" />
      </Popover>
  • NEW Popover exposes popoverElement and targetElement 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 for HTMLInputElement #1128
  • Fixed Checkbox indeterminate docs have been clarified #1127
  • Fixed NumericInput sets autoComplete="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 to Popover directly so Tooltip inherits this behavior through composition.
  • Fixed default font stack so CSS minifiers won't strip the final "Icons16" entry to support inline icons #1060 #1107
  • Fixed ContextMenu uses tetherOptions to avoid deprecation warnings #1088
  • Updated bold, italic, and underline icons for consistent text baseline #1135
  • Added satellite and paragraph icons #1135

@blueprintjs/datetime 1.16.0

  • Fixed DateInput with closeOnSelection={true} will no longer close when the time changes (only when date is chosen) #1092
  • Fixed DateInput and DateRangeInput set autoComplete="off" #1146
  • Fixed typo in DateInput popoverPosition deprecation warning (🎩 @lucasray) #1139

@blueprintjs/docs 1.1.1

  • Fixed Navigator sets autoComplete="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

Don't miss a new blueprint release

NewReleases is sending notifications on new releases.