Skip to content

Commit 27d4a30

Browse files
Release Tracking (#3956)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 6c5b45e commit 27d4a30

11 files changed

Lines changed: 26 additions & 38 deletions

.changeset/action-bar-revert-overflow-gate.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

.changeset/dialog-scrollgutter-lazy.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/easy-zoos-leave.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/fix-tooltip-max-width.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/sixty-starfishes-jump.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# CHANGELOG
22

3+
## 0.51.1
4+
5+
### Patch Changes
6+
7+
- [#3952](https://github.com/primer/view_components/pull/3952) [`02c89a5`](https://github.com/primer/view_components/commit/02c89a5ddcf029c252ea6f1b51e5e12cfe71f891) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Performance improvements to `ActionBarElement`:
8+
- 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.
9+
- Cached the `#menuItems` `NodeListOf` query across each update pass instead of re-querying per item.
10+
- Simplified `#firstItem` to a one-liner using `Array.find`.
11+
- Coalesces rapid resize/intersection events via `requestAnimationFrame` so at most one layout pass runs per frame.
12+
- `update()` remains the public entry point (coalescing scheduler); actual layout work is in the private `#performUpdate()`.
13+
- `overflow: visible` is always applied in `connectedCallback` (no popover feature-detection gate), preserving the original behavior for CSS/tooltip positioning.
14+
15+
- [#3950](https://github.com/primer/view_components/pull/3950) [`ca926de`](https://github.com/primer/view_components/commit/ca926de90555a130cbc8dc1b427261417759bfd7) Thanks [@copilot-swe-agent](https://github.com/apps/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.
16+
17+
- [#3955](https://github.com/primer/view_components/pull/3955) [`ed8bf4a`](https://github.com/primer/view_components/commit/ed8bf4a6e8198473e3e3b004eb36256504b80035) Thanks [@TylerJDev](https://github.com/TylerJDev)! - ActionMenu: Add fullscreen option to ActionMenu
18+
19+
- [#3961](https://github.com/primer/view_components/pull/3961) [`16a2d75`](https://github.com/primer/view_components/commit/16a2d7547f9a527248fa303a21303a0df3d71ddd) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Tooltip: Fix tooltip overflow on narrow viewports by capping max-width to viewport width.
20+
21+
- [#3957](https://github.com/primer/view_components/pull/3957) [`3baaad2`](https://github.com/primer/view_components/commit/3baaad2b69e973988a611eb2fa14e57c7057afb2) Thanks [@francinelucca](https://github.com/francinelucca)! - chore(AutoComplete): fix NoResultItem contrast ratio
22+
323
## 0.51.0
424

525
### Minor Changes

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
primer_view_components (0.51.0)
4+
primer_view_components (0.51.1)
55
actionview (>= 7.2.0)
66
activesupport (>= 7.2.0)
77
octicons (>= 18.0.0)

demo/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
primer_view_components (0.51.0)
4+
primer_view_components (0.51.1)
55
actionview (>= 7.2.0)
66
activesupport (>= 7.2.0)
77
octicons (>= 18.0.0)

lib/primer/view_components/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module ViewComponents
66
module VERSION
77
MAJOR = 0
88
MINOR = 51
9-
PATCH = 0
9+
PATCH = 1
1010

1111
STRING = [MAJOR, MINOR, PATCH].join(".")
1212
end

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)