Skip to content

v0.90.0

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 24 Jul 11:24
· 17 commits to main since this release
e8aa0d2

Minor Changes

  • #4110 bf92d87 Thanks @dylanatsmith! - Blankslate: The heading and body text now use the smaller compact sizes by default, and the redundant responsive @container block has been removed since the compact typography it produced is now the default

  • #4096 3ba48a2 Thanks @jonrohan! - Add static/classnames.js, which default-exports a Set of every unique CSS class name in the library for consumers and tooling. It is available via the @openproject/primer-view-components/classnames import subpath.

Patch Changes

  • #3696 8b8d542 Thanks @myabc! - Fix incorrect label for attribute value when scope_id_to_model: false

  • #508 f5dc269 Thanks @myabc! - Sort static/previews.json entries by lookup_path so the output order is deterministic across platforms, instead of following Lookbook.previews' filesystem glob order (which differs between macOS and Linux for previews sharing the same name across statuses, e.g. beta/heading and open_project/heading).

  • #4133 0098814 Thanks @jonrohan! - Downgrade @oddbird/popover-polyfill to ^0.5.2 and pin it via Dependabot ignore so it won't get bumped again.

  • #4095 6733f3c Thanks @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. Affects autocomplete-item, Popover-message--*, breadcrumb-item, and FormControl-checkbox-wrap/FormControl-radio-wrap styles.

  • #501 de5c8cf Thanks @HDinger! - Links in collapsible areas do not trigger collapse anymore

  • #4113 7c52375 Thanks @liuliu-dev! - Reject javascript: and vbscript: URI schemes in href (defense in depth). When a component (e.g. Primer::Beta::Label, Primer::Beta::Button, Primer::Beta::Link) is rendered as an anchor with an unsafe href, the value is now rejected — raising in non-production environments and silently dropped (rendered as an anchor with no href) in production.

  • #4101 ad81c6d Thanks @jonrohan! - Update package.json import paths for app files

  • #4099 91c1e26 Thanks @jonrohan! - Add path mapping for app directory in package.json

  • #4107 222a846 Thanks @dylanatsmith! - Fix ToggleSwitch knob spacing and border-radius to match primer/react