Releases: opf/primer_view_components
Release list
v0.91.1
v0.91.0
v0.90.1
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
v0.89.2
Patch Changes
-
#495
4cb914dThanks @myabc! - Teach BorderBox component a list_arguments param -
#4091
ff6cc0dThanks @issyl0! - Accept keyword arguments inrender_inmethods -
#493
417fbafThanks @bsatarnejad! - [Dream-705] Configurable loading indication for filterable tree views with async filter input -
#4069
24b8fbfThanks @copilot-swe-agent! - Revert Dialog body scroll-lock styling from broad:has(...)to explicit body classes -
#4093
3ad026eThanks @jonrohan! - Update@github/clipboard-copy-elementto^1.3.1(resolves to 1.3.2)
v0.89.1
v0.89.0
v0.88.0
Minor Changes
-
#475
971cce2Thanks @HDinger! - Fix selection of nodes with the same path in Primer::Alpha::TreeViewWhen a
[role=treeitem]element carries adata-node-idattribute, that id is now included asnodeIdin the hidden form input payload ({path, nodeId?, value?}). Trees with duplicate-path nodes should setdata-node-idto 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 explicitsetNodeCheckedValue(node, 'false')calls if that behaviour is needed.
Patch Changes
v0.87.0
Minor Changes
-
#466
226ae5fThanks @myabc! - Support dynamic labels for SelectPanel multiple select variant -
#469
d51cc25Thanks @HDinger! - Introduce specific slots for sort and group quick filters -
#465
0f57fd3Thanks @myabc! - Support dynamic labels for ActionMenu multiple select variant
Patch Changes
v0.86.2
Patch Changes
-
#4061
b732a9fThanks @lesliecdubs! - Fix Dropdown component caret position in CSS styles for clean borders -
#463
16466e9Thanks @bsatarnejad! - [75258] Hide unavailable pagination navigation and omit single-page pagination -
#462
f3118afThanks @HDinger! - Allow single quickFilters without additional "all filters" button -
#462
54c6cf7Thanks @HDinger! - Better responsive support for SubHeader with quickfilters