Upgrading simplebar-react 1 to 2
Unknown1.2.3 → 2.4.3
Fetching 34 releases from GitHub…0 / 34
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
Also installs @juggle/resize-observer.
No longer installs resize-observer-polyfill.
Moves simplebar 4.2.3 → 5.3.9. Your build may pick other versions.
API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- removed:
default class SimpleBar extends React.Component<Props> - removed:
interface Props extends React.HTMLAttributes<HTMLElement> - removed:
property Props.options?: object - removed:
property Props.scrollableNodeProps?: object
- removed:
declare module 'simplebar-react' - added:
class SimpleBar extends React.Component<SimpleBar.Props & React.HTMLAttributes<HTMLElement>> - added:
export = SimpleBar - added:
export as namespace SimpleBar - added:
interface SimpleBar.ChildrenProps - added:
interface SimpleBar.Props extends SimpleBarJS.Options - added:
method SimpleBar.getContentElement(): HTMLElement - added:
method SimpleBar.getScrollElement(): HTMLElement - added:
method SimpleBar.recalculate(): void - added:
namespace SimpleBar - added:
property SimpleBar.ChildrenProps.contentNodeRef: React.MutableRefObject<SimpleBar> - added:
property SimpleBar.ChildrenProps.scrollableNodeRef: React.MutableRefObject<SimpleBar> - added:
property SimpleBar.Props.children?: React.ReactNode | ((props: ChildrenProps) => React.ReactNode) - added:
property SimpleBar.Props.scrollableNodeProps?: object - added:
property SimpleBar.Props.tag?: string - added:
property SimpleBar.el: HTMLElement - added:
static method SimpleBar.removeObserver(): void - added:
static property SimpleBar.instances: Pick<WeakMap<HTMLElement, SimpleBar>, 'get' | 'has'>