Skip to content

Releases: bem/bem-react

Release v4.5.0

21 Dec 16:52
Compare
Choose a tag to compare

@bem-react/[email protected]

Features:

  • the star matcher support for any value of prop in modifier, ex withBemMod('Block', { url: '*' }). Any url will be matched. Related issue #374.

Full changes in CHANGELOG file.

Release v2.2.3

08 Aug 12:27
Compare
Choose a tag to compare

BREAKING CHANGES:

  • change & to | operator for building result interface after withMods. See #298 for details.
  • change base type for static mod method to any from object. See #296 for details.

Full changes https://github.com/bem/bem-react-core/blob/master/packages/react/CHANGELOG.md#223-2018-08-08

v2.1.1

19 Jul 15:16
Compare
Choose a tag to compare
chore: release 2.1.1

Release v2.0.0

04 Jul 11:29
Compare
Choose a tag to compare

The list of changes

  • Full type annotations support. TypeScript and Flow;
  • Source code in TypeScript;
  • JS classes syntax for Blocks, Elements, and Modifiers;
  • Standard inheritance without extra libraries;
  • Standard lifecycle hooks names;
  • withMods HOC for modifiers;
  • Simple CSS classes mixes;
  • Smaller library size 2.4kB;

Take a look new docs section

v1.0.0

20 Jun 20:16
Compare
Choose a tag to compare
1.0.0

v1.0.0 RC Update

18 Dec 16:41
Compare
Choose a tag to compare
v1.0.0 RC Update Pre-release
Pre-release

Features

  • add typings #147
  • run specs on distribution version in CI #194

v1.0.0 RC Update

15 Dec 16:16
Compare
Choose a tag to compare
v1.0.0 RC Update Pre-release
Pre-release

Breaking changes

  • add named export for Bem component #191

v1.0.0 RC Update

15 Dec 16:15
Compare
Choose a tag to compare
v1.0.0 RC Update Pre-release
Pre-release

Bug fixes

  • fix default main to React preset

v1.0.0 RC Update

14 Dec 15:16
Compare
Choose a tag to compare
v1.0.0 RC Update Pre-release
Pre-release

Bug fixes

  • Remove process.env calls from UMD 8b3e3f0

v1.0.0 RC

14 Dec 15:16
Compare
Choose a tag to compare
v1.0.0 RC Pre-release
Pre-release

Features

Breaking changes

  • Presets for React and Preact usage. Look at this code
  • Wrap addMix with function for consistency #155
  • Wrap addBemClassName with function for consistency #126
  • Pass props and state as arguments for all declaration methods #123
  • Get rid of attrs prop and proxy all props to <Bem/> #125

Bug fixes

  • aria-attributes rendering check #129
  • Right order of __base calls in case of mixins #142
  • elemMods works as usual #156
  • Allowing single mixes #154
  • Add default export to compiled classes #153
  • Fix context in getChildContext resolving #165