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
TimezonePickerperformance 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
IHotkeysTargetwith 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
Exampleframe! #2489Examplecomponent 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-groupfrom peer to standard dependency #2511 - 📦 new 3.0 upgrade script, improve 2.0 upgrade script #2488
- new icons:
crownandtree-diagram#2507 - fix typings of HTML
Tablecomponent #2509 - fix upgrade script's treatment of removed props #2486
Buttonfix button width with large CSS icon only #2497Tabsfix vertical style #2495Tagimprove outline behavior #2428Spinneradjust stroke width #2491Switchfix align-right style #2494Toaster.create()throws error if used within lifecycle method #2522ensureElementutility 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 aToasterinstance - we handle this by throwing an error, forcing you to refactor your usage of the
Toasterto either an elementrefor a singleton module
- React 16 has a breaking change where
@blueprintjs/[email protected]
- #2413 Fix
EditableTextCSS classes.
@blueprintjs/[email protected]
- ⭐️ #2394 Add a new lint rule
blueprint-classes-constantsto enforce use ofClasses.*constants instead of"pt-prefixed-strings". This rule is enabled by default.- Also added
blueprint-icon-componentsrule to enforce JSX component or string literal usage foriconprops. This rule is disabled by default and has little practical purpose until we ship individual components for the icons #2193
- Also added
- removed
file-headerconfiguration 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
Classesconstants
- 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)