- Node.js 20+ required (was >=4).
- ym replaced with ES modules —
modules.define/modules.requirereplaced with nativeimport/export. Allbem:*imports are resolved by Vite plugin. - jQuery 4 — peer dependency updated from
^3.0.0to^4.0.0. - bem-core 5 — peer dependency updated from
^4.0.0to^5.0.0. - Build system: ENB replaced with Vite —
npm run buildbuilds all 3 platforms (desktop, touch-pad, touch-phone). Dev server vianpm run dev. - Linting: jshint/jscs replaced with ESLint 10 — flat config in
eslint.config.js, run vianpm run lint. - Testing: Hermione replaced with Playwright — run via
npm run test:browser. - CSS processing via Vite — PostCSS is now handled natively by Vite instead of ENB plugins.
- CI: Travis replaced with GitHub Actions.
- Git hooks: git-hooks replaced with husky.
- Bower removed — all dependencies managed via npm.
- Dropped support for Internet Explorer 8/9.
- bem-xjst 8.x support:
js()was replaced withaddJs()(#2050). - popup_target_anchor: Fix calc logic to support new version of jQuery (#2051).
- Remove old inputs in select_mode_radio-check(#2055).
- BEMHTML templates now depends on
bem-xjst v8.6.7(#1942).
- Fixed dropdown unexpected closing (#1998).
- dist: i-bem-dom__init_auto was removed from no-autoinit bundle (#2002).
See changelog and migration guide from previous version.
- An issue in BEMHTML tempalte of
menuwhich prevented to usebem-xjstwas fixed. - An issue in
checkbox-groupwith absence of buttons separator was fixed (#1896).
- Extra files were excluded from
npmandbowerpackages. - Documentation updated.
- An issue in
modal_autoclosablewhich led to immediate closing was fixed (1963).
*.stylfiles are compiled to*.cssin release package.
button: emitclickonpointerclickinstead ofpointerup. This change fixes a bug inpopup__autocloseable(#1958).
button: Don't render element for text if passednullorundefined(#1951).- BEMHTML template of
menublock was changed to supportbem-xjst7.x inbem-componentslibrary. - Minor docs update.
- Fixed an issue in
buttonwithdisabledmodifier in Firefox which led to situation whendocument.activeElementwas still pointing to a block if it was focused beforedisabledwas set (#1913).
cursor: pointerrule was added toattach(#1860).- Documentation updated.
- bem-core library was updated to 3.0.1. With this update FastClick was removed and new implementation for pointer events was introduced for iOS devices. Also
touch-action: manipulationproperty was added to controls (#1787). - Dropped support for old
bem-xjst&bhversions (#1803). bem-xjst 6.3.0+ should be used. Since now there's no need to add dependencies oni-bemblock for base templates. - File extentions of
BEMHTMLtemplates were renamed from.bemhtmlto.bemhtml.js(#1464. Please check that new extention is supported in you build config. onSwitcherClickmethod ofdropdownblock was moved to prototype (#1502).bem-toolsconfigs were removed (#1816).
- Wrong styling for
dropdownincontrol-groupwas fixed (#1741).
- bem-core library was updated to 2.9.1 (#1789). With this update an issue in
pagewas fixed.<meta name=viewport>had wrong user-scalable value on thetouchlevel.
- Fixed a bug in
menuwhich led to absence oftabindexafter disabled state (#1791). - Fixed a bug in
control-groupwhich led to extra border on two or morebutton_checked.
- Fixed a bug in
selectwhich led to caching of hidden input on page refresh (#1752). - Fixed a bug in
buttonwhich led toclickevent generation afterpointercancel#1764. - Fixed a bug in
checkboxandradiowhich led to wrong form serialization with the help ofjQuery#1768. - Fixed a bug in
buttonstyling withfocused-hardmodifier (#1721). - Fixed right border of
buttoninsidecontrol-group(#1723). - Fixed borders for autofilled inputs in Blink-based browsers (#1710).
- Fixed a11y markup in
select(#1734). - Added insufficient dependencies in
select(#1667)&
- Dist: added client JS bundles without autoinit #1781.
- BEMHTML: implemented support for new versions of
bem-xjst(#1745). - Documentation updated.
bem-coredependency was updated to 2.8.0.- Accessibility (a11y) was improved in all blocks (#1206).
distbuild is now usesbem-xjst@next, which gives possibility to add templates in runtime.
dropdowndoes not generate extra wrapper aroundswitcherandpopupany more (#1392).- Misused
<i>element replaced with neutral<span>in all blocks (#1668). - Multiline comments in stylus files, which break source maps, replaced with singleline (#1702).
bem-coredependency was updated to 2.7.0.- BH 4.x support added (#1587).
- BEM-XJST 2.x support added (#1495).
- Theme-specific styles of the
_width_availablemodifier ofinput,textareaandselectblocks were moved back fromcommonlevel todesign(#1548).
- An issue in
checkboxwas fixed. The block didn't work in MSIE 11/Edge (#1590). - An issue in
attachwas fixed. The block didn't work in MSIE 11/Edge (#1596). - An ability to use HTML tags other than
buttonwas added (#1566). - An issue in
textareawas fixed. The block didn't resolve it's own dependencies properly (#1565).
- The English version of library description was updated (#1552).
- New “Understanding of the library principles” section was added to the russian documentation (#1613).
- The information about
distwas added to the russian documentation (#1584). - Images in CSS files are freezed in the development version of the
distnow (#1568). - The initialization of
selectwas boosted (#1595). - The view of
input_theme_islandswithout_has-clearmodifier was improved (#1610). - Selected text representation of
input_theme_islandswas fixed (#1608).
- The issue in
checkboxwhich leads to impossible toggle by click in most browsers was fixed (#1538).
- The issue in
selectwhich prevented it to be opened withspacebutton was fixed (#1486). - The issue in
checkboxon touch devices was fixed (#1472).
- Now there is an ability to prevent native behaviour in
linkblock (#1485). - Additional check for existance of a group in templates of
menuwas added (#1513). - BH bundles in
distnow mimic to BEMHTML (#1530). - Small fixes in documentation were added.
- The regression of keyboard support in
selectwas fixed (#1456).
- Now the
valfield is assigned to zero inprogressbarby default (#1468). - Description of
button_view_plainwas added to documentation (#1454).
- Optional support for Internet Explorer 8 in graceful degradation way was implemented (#1205). For more info please refer notes in README.
bem-coredependency was updated to 2.6.0.
- An issue with resize in
textareablock was fixed (#1330). - An issue with
selecttransition which led to scrollbars flash was fixed (#1323). - Controls highlight on touch devices was removed (#1390).
- Appearance of
button_view_plainin disabled state was fixed (#1378). - An issue with
inputblock behaviour in Chrome was fixed (#1382). - An issue with visible content of hidden
modalwas fixed (#1372). - An issue with extra bounding to
keydownhandler inmenublock was fixed (#1381). - Event propagation in
selectblock whenescapeis pressed is now stopped (#1367). linkinside disabledmenu-item_type_linkis now disabled as well (#1353).