Skip to content

Releases: opf/primer_view_components

v0.91.1

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 31 Jul 07:58
14e8169

Patch Changes

  • #478 fc5ccdd Thanks @dombesz! - Fix lazy loaded action-menu positioning when opened at the bottom of the page.

v0.91.0

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 30 Jul 07:52
e3ddebe

Minor Changes

  • #512 22fbe59 Thanks @HDinger! - Support async TreeViews for select variant :single and :multiple for select strategy :self

v0.90.1

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 27 Jul 09:37
5bbeec2

Patch Changes

v0.90.0

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 24 Jul 11:24
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

v0.89.2

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 10 Jul 11:56
faa7dba

Patch Changes

v0.89.1

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 02 Jul 12:38
3e667a3

Patch Changes

  • #487 faeb2b0 Thanks @HDinger! - Allow navigation with the FilterableTreeView from the input to the tree (and back)

v0.89.0

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 30 Jun 07:11
1c42725

Minor Changes

  • #484 63a2bcb Thanks @HDinger! - Introduce possibility to let the server highlight search results for async FilterableTreeView

Patch Changes

  • #486 6caf253 Thanks @HDinger! - Fix alignment of Visuals and Action items within the TreeView

  • #483 f04c60c Thanks @HDinger! - Change defaults for Primer::OpenProject::SubHeader for

    • collapsed_search to true
    • scheme of the filter button to invisible
    • label of the filter button to All filters

v0.88.0

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 24 Jun 07:02
3243927

Minor Changes

  • #475 971cce2 Thanks @HDinger! - Fix selection of nodes with the same path in Primer::Alpha::TreeView

    When a [role=treeitem] element carries a data-node-id attribute, that id is now included as nodeId in the hidden form input payload ({path, nodeId?, value?}). Trees with duplicate-path nodes should set data-node-id to a stable unique identifier so the server can distinguish which node was selected.

    Breaking change in TreeViewElement#checkOnlyAtPath: if the given path is not found the method is now a no-op. Previously it would uncheck all active nodes before failing to check the missing node, which could be used as an indirect "clear selection" mechanism. Use explicit setNodeCheckedValue(node, 'false') calls if that behaviour is needed.

Patch Changes

v0.87.0

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 12 Jun 06:16
4136b22

Minor Changes

  • #466 226ae5f Thanks @myabc! - Support dynamic labels for SelectPanel multiple select variant

  • #469 d51cc25 Thanks @HDinger! - Introduce specific slots for sort and group quick filters

  • #465 0f57fd3 Thanks @myabc! - Support dynamic labels for ActionMenu multiple select variant

Patch Changes

  • #476 dc1f28f Thanks @HDinger! - Show collapsed search icon button on medium screen sizes in Primer::OpenProject::SubHeader

  • #474 b9497d6 Thanks @HDinger! - Preserve default filter arguments within FilterableTreeView

v0.86.2

Choose a tag to compare

@openproject-primer-view-components openproject-primer-view-components released this 29 May 08:14
f8c760c

Patch Changes