Skip to content

Releases: opf/primer_view_components

v0.83.0

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 23 Mar 13:09
acb1369

Minor Changes

Patch Changes

  • #3952 02c89a5 Thanks @copilot-swe-agent! - Performance improvements to ActionBarElement:

    • Replaced the #eachItem / ItemType abstraction with a two-pass read-then-write loop that snapshots all element geometry before mutating the DOM, eliminating forced synchronous reflow.
    • Cached the #menuItems NodeListOf query across each update pass instead of re-querying per item.
    • Simplified #firstItem to a one-liner using Array.find.
    • Coalesces rapid resize/intersection events via requestAnimationFrame so at most one layout pass runs per frame.
    • update() remains the public entry point (coalescing scheduler); actual layout work is in the private #performUpdate().
    • overflow: visible is always applied in connectedCallback (no popover feature-detection gate), preserving the original behavior for CSS/tooltip positioning.
  • #3945 983cc29 Thanks @copilot-swe-agent! - Blankslate: Add text-wrap: balance to heading and description

  • #3950 ca926de Thanks @copilot-swe-agent! - Defer --dialog-scrollgutter computation in DialogHelperElement to the moment a dialog is first opened, avoiding a forced synchronous layout reflow during page load.

  • #3955 ed8bf4a Thanks @TylerJDev! - ActionMenu: Add fullscreen option to ActionMenu

  • #3912 1597a74 Thanks @llastflowers! - Remove newline in file to revert accidental visual regression of Button

  • #3961 16a2d75 Thanks @liuliu-dev! - Tooltip: Fix tooltip overflow on narrow viewports by capping max-width to viewport width.

  • #3940 b585532 Thanks @TylerJDev! - Dialog: Fixes issue in dialog_helper.ts where focus could be lost

  • #3894 4ddf815 Thanks @francinelucca! - chore(treeview): add treeitem role to shadow dom node

  • #3919 e060f4d Thanks @francinelucca! - Chore: add custom "invokerClicked" selectpanel event

  • #3957 3baaad2 Thanks @francinelucca! - chore(AutoComplete): fix NoResultItem contrast ratio

  • #3930 0ebf631 Thanks @copilot-swe-agent! - Update Catalyst to version 1.8.0 and hard-code controller/custom-element names via their @controller('...') decorators to allow for better minification

v0.82.1

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 11 Mar 10:52
afdcd51

Patch Changes

  • #419 62a3462 Thanks @myabc! - DragHandle: Add accessibility attributes (role, tabindex, aria-label).

  • #423 576b200 Thanks @HDinger! - Let Banner component react on container size instead of screen size

v0.82.0

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 03 Mar 12:08
2dce22b

Minor Changes

  • #418 07164d5 Thanks @myabc! - BorderBox::CollapsibleHeader: improve accessibility via collapsible_id (sets aria-controls) on the trigger area; support opt-in single-line description layout on larger viewports (multi_line: false); use CSS instead of JS to toggle description visibility; deprecate box param

Patch Changes

  • #421 716abb7 Thanks @myabc! - Fix CollapsibleHeader title truncation when multi_line: false.

  • #418 6bc226d Thanks @myabc! - BorderBox::CollapsibleHeader: improve accessibility by always rendering title with semantic headings (default h3); trim whitespace from empty description slots

v0.81.1

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 05 Feb 13:21
09f6ac7

Patch Changes

  • #416 50aecfd Thanks @HDinger! - add localized default label to close button in Subheader filter input

v0.81.0

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 05 Feb 12:31
7edfe65

Minor Changes

Patch Changes

v0.80.2

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 03 Feb 08:50
81c1158

Patch Changes

  • #408 8f1c595 Thanks @HDinger! - Support special characters in node names of Primer::Alpha::TreeView

v0.80.1

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 27 Jan 09:19
d640316

Patch Changes

  • #400 9ac633f Thanks @akabiru! - Fix flickering in AvatarWithFallback client-side fallback handling for broken avatar urls

v0.80.0

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 23 Jan 14:44
b40b30f

Minor Changes

Patch Changes

v0.79.1

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 12 Jan 10:03
60c1d2b

Patch Changes

  • #396 be01160 Thanks @akabiru! - Handle 404 errors in AvatarWithFallback with client-side fallback

v0.79.0

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 07 Jan 13:00
e7b7cff

Minor Changes

  • #3776 edc480f Thanks @TylerJDev! - AvatarStack: Adds support for individual tooltips on AvatarStack component, avatars.

  • #387 9f3c2aa Thanks @akabiru! - Add Primer::OpenProject::AvatarWithFallback component with client-side fallback rendering. When no image src is provided, renders an embedded SVG with user initials and consistent colors generated client-side by the AvatarFallbackElement web component. Extends Primer::Beta::Avatar without modifying upstream behavior.

  • #3740 ccf3d94 Thanks @sarahkemi! - Add disable_expand param to AvatarStack for React component parity