v0.90.0
Minor Changes
-
#4110
bf92d87Thanks @dylanatsmith! -Blankslate: The heading and body text now use the smaller compact sizes by default, and the redundant responsive@containerblock has been removed since the compact typography it produced is now the default -
#4096
3ba48a2Thanks @jonrohan! - Addstatic/classnames.js, which default-exports aSetof every unique CSS class name in the library for consumers and tooling. It is available via the@openproject/primer-view-components/classnamesimport subpath.
Patch Changes
-
#3696
8b8d542Thanks @myabc! - Fix incorrect labelforattribute value whenscope_id_to_model: false -
#508
f5dc269Thanks @myabc! - Sortstatic/previews.jsonentries bylookup_pathso the output order is deterministic across platforms, instead of followingLookbook.previews' filesystem glob order (which differs between macOS and Linux for previews sharing the same name across statuses, e.g.beta/headingandopen_project/heading). -
#4133
0098814Thanks @jonrohan! - Downgrade@oddbird/popover-polyfillto^0.5.2and pin it via Dependabot ignore so it won't get bumped again. -
#4095
6733f3cThanks @copilot-swe-agent! - Improve CSS style-recalc performance by removing selectors with universal subjects and expanding merged:is()selector lists so the browser can fast-reject them. Affectsautocomplete-item,Popover-message--*,breadcrumb-item, andFormControl-checkbox-wrap/FormControl-radio-wrapstyles. -
#501
de5c8cfThanks @HDinger! - Links in collapsible areas do not trigger collapse anymore -
#4113
7c52375Thanks @liuliu-dev! - Rejectjavascript:andvbscript:URI schemes inhref(defense in depth). When a component (e.g.Primer::Beta::Label,Primer::Beta::Button,Primer::Beta::Link) is rendered as an anchor with an unsafehref, the value is now rejected — raising in non-production environments and silently dropped (rendered as an anchor with nohref) in production. -
#4101
ad81c6dThanks @jonrohan! - Update package.json import paths for app files -
#4099
91c1e26Thanks @jonrohan! - Add path mapping for app directory in package.json -
#4107
222a846Thanks @dylanatsmith! - FixToggleSwitchknob spacing and border-radius to matchprimer/react