Skip to content

Upgrading @szhsin/react-accordion 0.12 to 0.13

Unknown0.12.0 → 0.13.0

Fetching 1 release from GitHub…0 / 1
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • 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.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • removed: type ItemModifiers = { readonly status: TransitionStatus; readonly expanded: boolean }
  • changed: interface AccordionItemProps extends ItemStateOptions, ElementProps<HTMLDivElement, ItemModifiers> → interface AccordionItemProps extends ItemStateOptions, ElementProps<HTMLDivElement, TransitionState>
  • changed: interface ControlledAccordionProps extends ElementProps<HTMLDivElement, string> → interface ControlledAccordionProps extends ElementProps<HTMLDivElement>
  • removed: export { ItemModifiers } from './components/AccordionItem'
  • changed: const bem: <M extends Modifiers>(block: string, element?: string, modifiers?: M | undefined, className?: ClassNameProp<M> | undefined, addModifier?: boolean) => string → const bem: (block: string, element?: string, modifiers?: Modifiers) => <P>(className?: ClassNameProp<P> | undefined, props?: P | undefined) => string
  • changed: interface ElementProps<E extends HTMLElement, M extends Modifiers | string> extends Omit<HTMLAttributes<E>, 'className' | 'children'> → interface ElementProps<E extends HTMLElement, P = undefined> extends Omit<HTMLAttributes<E>, 'className' | 'children'>
  • changed: property ElementProps.className?: M extends Modifiers ? ClassNameProp<M> : string → property ElementProps.className?: P extends undefined ? string : ClassNameProp<P>
  • changed: type ClassNameProp<M extends Modifiers> = string | ((modifiers: M) => string) → type ClassNameProp<P> = string | ((props: P) => string)