-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Blueprint 4.0
Adi Dahiya edited this page Sep 29, 2021
·
38 revisions
- React 16.8+ required
- CSS namespace changed from
bp3-
tobp4-
- Icons build pipeline has been revamped, so icon font support is restored
- See Icons 4.0 changes for more info
-
IKeyWhitelist
andIKeyBlacklist
are removed (deprecated since 3.30.0)- Use
KeyAllowlist
/KeyDenylist
instead.
- Use
-
Utils.safeInvoke
andUtils.safeInvokeOrValue
are removed (deprecated since 3.32.0)- Use TypeScript optional call operator
?.()
instead (available since TS 3.7).
- Use TypeScript optional call operator
-
Utils.createReactRef
andIElementRefProps
are removed (deprecated since 3.43.0)- Use
ref
prop name andReact.createRef
,React.useRef
,React.forwardRef()
instead
- Use
-
IDrawerProps.vertical
is removed (deprecated since 3.15.0)- Use the
position
prop on<Drawer>
instead.
- Use the
-
<HTMLTable>
componentsmall
prop is removed (deprecated since 3.6.0)- Use the
condensed
prop instead.
- Use the
-
Menu.Item
andMenu.Divider
are removed (deprecated since 3.38.0, see #3829)- Use
MenuItem
andMenuDivider
instead.
- Use
-
IConstructor
is removed (deprecated since 3.43.0) -
LifecycleCompatPolyfill
type is removed (deprecated since 3.43.0) -
Icon.SIZE_*
,Drawer.SIZE_*
,Spinner.SIZE_*
constants removed (deprecated since 3.44.1)- Use
IconSize
,DrawerSize
, andSpinnerSize
, respectively, instead
- Use
-
IconProps.iconSize
is removed (deprecated since 3.47.0)- Use the
size
prop on<Icon>
instead.
- Use the
- react-day-picker v8 migration
- HotkeysTarget & useHotkeys migration
- PanelStack2 migration
- Table 6.0 changes