Releases: palantir/blueprint
Releases · palantir/blueprint
v5.0.0-alpha.0
First pre-release version of v5.0.0, published to NPM with the next
tag.
This release contains all the breaking changes described in the 5.0 wiki page.
@blueprintjs/[email protected]
- #2564
TimezonePicker
performance optimization significantly reduces time to compute timezone items.
@blueprintjs/[email protected]
- #2585 Added new icons:
globe-network
,tree
,snowflake
@blueprintjs/[email protected]
- fix TS compiler issue in
IHotkeysTarget
with latest@types/[email protected]
lerna ERR! ERROR in [at-loader] ../../node_modules/@blueprintjs/core/dist/esm/components/hotkeys/hotkeysTarget.d.ts:4:18 lerna ERR! TS2320: Interface 'IHotkeysTarget' cannot simultaneously extend types 'Component<any, any, any>' and 'ComponentLifecycle<any, any, never>
@blueprintjs/[email protected]
- new
Example
frame! #2489Example
component is now composed inrender()
instead ofextend BaseExample
- examples are clearly separated from surrounding text with structure for example/options/source
- completely rewrite CSS examples so they're more similar to React examples, with checkboxes for each modifier
- deprecate
BaseExample
; will remove in next beta release
- upgrade Documentalist, fix React key warnings #2510
@blueprintjs/[email protected]
- 📦 move
react-transition-group
from peer to standard dependency #2511 - 📦 new 3.0 upgrade script, improve 2.0 upgrade script #2488
- new icons:
crown
andtree-diagram
#2507 - fix typings of HTML
Table
component #2509 - fix upgrade script's treatment of removed props #2486
Button
fix button width with large CSS icon only #2497Tabs
fix vertical style #2495Tag
improve outline behavior #2428Spinner
adjust stroke width #2491Switch
fix align-right style #2494Toaster.create()
throws error if used within lifecycle method #2522ensureElement
utility supportsReact.Fragment
#2499
@blueprintjs/[email protected]
- new icons:
crown
,shield
,tree-diagram
(#2519, #2448) Toaster.create()
throws an error ifReactDOM.render()
returns null (#2523)- React 16 has a breaking change where
ReactDOM.render()
returns null if invoked within a lifecycle method, which breaks theToaster.create()
contract of returning aToaster
instance - we handle this by throwing an error, forcing you to refactor your usage of the
Toaster
to either an elementref
or a singleton module
- React 16 has a breaking change where
@blueprintjs/[email protected]
- #2413 Fix
EditableText
CSS classes.
@blueprintjs/[email protected]
- ⭐️ #2394 Add a new lint rule
blueprint-classes-constants
to enforce use ofClasses.*
constants instead of"pt-prefixed-strings"
. This rule is enabled by default.- Also added
blueprint-icon-components
rule to enforce JSX component or string literal usage foricon
props. This rule is disabled by default and has little practical purpose until we ship individual components for the icons #2193
- Also added
- removed
file-header
configuration as it mentioned Palantir
@blueprintjs/[email protected]
- ⭐️ #2325 Support for customizing the CSS class namespace
pt-
- in the upcoming 3.0 release, we will change this namespace to
bp3-
to avoid style conflicts with previous versions of Blueprint on the same page - added a new docs page about Classes to encourage use of the forward-compatible
Classes
constants
- in the upcoming 3.0 release, we will change this namespace to
- #2390 Fix hot reload support (🎩 @dan-katz)
- #2118 Fix scroll syncing when widths/heights change (🎩 @mcintyret)