Repository navigation
Release v2.5.2
v2.5.2
Changelog
Language names with polyfill-intl-icu (no ext-intl) and locale tabs legends hidden by the tabs runtime itself. See UPGRADING.
Fixed
nowo_ui_locale_name()/locale_tabspartial withsymfony/polyfill-intl-icu:LocaleNamesnow checks
extension_loaded('intl')instead ofclass_exists(\Locale::class)(true with the polyfill, whose
Locale::getDisplayName()throws) and falls back to the upper-cased code when the display-name lookup throws.
Hosts without ext-intl but with the polyfill no longer crash. The constructor takes an optional display-name
resolver (tests, custom names).- Locale tabs legends without
nowo-ui.css:nowo-ui-tabs.jsand the Stimulustabspeer make the panel legends
(legend.nowo-ui-locale-tabs__legend, new[data-nowo-ui-tabs-legend]) visually hidden themselves — class
visually-hidden,data-nowo-ui-visually-hiddenand CSSOM properties (allowed by strict CSP; no style attribute in
the markup) — so hosts that load the tabs runtime without the UiKit CSS no longer show large "English EN★" legends.
They stay in the accessibility tree (nohidden/aria-hidden). Non-progressive partials render the legend with
visually-hiddenserver-side.