Skip to content

Commit 32c2fd9

Browse files
authored
Merge pull request #418 from opf/code-maintenance/71413-upstream-collapsible-header-changes
[#71413] Upstream changes to BorderBox::CollapsibleHeader
2 parents 0659c2b + cb489fb commit 32c2fd9

33 files changed

Lines changed: 338 additions & 86 deletions

File tree

.changeset/hard-mold-root.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@openproject/primer-view-components": minor
3+
---
4+
5+
`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

.changeset/yellow-carrots-learn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openproject/primer-view-components': patch
3+
---
4+
5+
`BorderBox::CollapsibleHeader`: improve accessibility by always rendering title with semantic headings (default `h3`); trim whitespace from empty description slots
14 Bytes
Loading
-14 Bytes
Loading
0 Bytes
Loading
0 Bytes
Loading
-11 Bytes
Loading
2 Bytes
Loading
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
- button "Backlog"
2-
- list "Backlog"
1+
- button "Backlog":
2+
- heading "Backlog" [level=3]
611 Bytes
Loading

0 commit comments

Comments
 (0)