
Ensure className prop is supported for all components ( #1950).Add sideEffects: "false" to package.json manifests for Webpack 4 tree-shaking support ( #2051).All component displayNames use Blueprint2 prefix for easier debugging ( #2052).Enable esModuleInterop and allowSyntheticDefaultImports compiler flags to emit valid ES import statements for modules such as classnames and moment.🌟 Publish correct ES module files using new TypeScript compiler flags ( #2200).🌟 Run published CSS files through postcss to remove comments and run Autoprefixer ( #2241).icon prop now accepts JSX.Element in addition to an IconName string so you can provide your own SVG icon set.🔥 Prop rename: iconName → icon ( #2070).SVG files in the root resources/icons/ directory have also been stripped of the pt-icon- prefix in their filenames.
#THE BLUEPRINT 2 UPGRADE#
🛠 This refactor is handled by the upgrade script.🔥 Support for long icon names (those prefixed with pt-icon-) has been removed in all component APIs ( #2072).🔥 React component factories ( DialogFactory) have been removed for all components ( #1938).) for unpkg CDN consumption are still output in /dist/ less files are now output in the /lib/ folder in the distributed packages instead of /dist/ ( #2002) See an example of this here: test-commmons/polyfill.js If you need to support older browsers that don't have these features built-in, you will need to polyfill them.🔥 A small set of ES6 features are used by all Blueprint libraries: Map, Set, om, Array.fill (similar to React 16 itself).🎨 indicates CSS layout breaks which may affect you if you have customized the styling & layout of Blueprint components directly.


