Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
b677f82
Release Tracking (#4037)
primer[bot] Apr 18, 2026
d80c6a4
Bump yard from 0.9.38 to 0.9.42 (#4036)
dependabot[bot] Apr 20, 2026
15037f9
Bump yard from 0.9.38 to 0.9.42 in /demo (#4035)
dependabot[bot] Apr 20, 2026
580f65f
Bump addressable from 2.8.8 to 2.9.0 in /demo (#4032)
dependabot[bot] Apr 20, 2026
5a57c94
Bump erb from 6.0.2 to 6.0.4 in /demo (#4039)
dependabot[bot] Apr 28, 2026
2fb8b0d
Bump postcss from 8.5.8 to 8.5.12 (#4041)
dependabot[bot] Apr 28, 2026
12648f7
Bump erb from 6.0.2 to 6.0.4 (#4038)
dependabot[bot] Apr 28, 2026
f533229
Bump postcss from 8.5.8 to 8.5.12 in /demo (#4040)
dependabot[bot] Apr 29, 2026
290de28
Bump the all-actions group with 2 updates (#4059)
dependabot[bot] May 1, 2026
48ffd95
Bump @primer/primitives from 11.6.0 to 11.7.1 (#4058)
dependabot[bot] May 1, 2026
1195692
Bump @playwright/test from 1.58.2 to 1.59.1 (#4057)
dependabot[bot] May 1, 2026
a296ef4
Bump rubocop from 1.85.1 to 1.86.1 (#4055)
dependabot[bot] May 1, 2026
223dd5e
Bump the development-dependencies group with 7 updates (#4054)
dependabot[bot] May 1, 2026
3b9550a
Bump view_component from 4.6.0 to 4.8.0 (#4053)
dependabot[bot] May 1, 2026
3e5b232
Bump rake from 13.3.1 to 13.4.2 in /demo (#4052)
dependabot[bot] May 1, 2026
6de69f8
Bump puma from 7.2.0 to 8.0.1 (#4050)
dependabot[bot] May 1, 2026
c82ce94
Bump view_component from 4.6.0 to 4.8.0 in /demo (#4048)
dependabot[bot] May 1, 2026
742273b
Bump the development-dependencies group with 2 updates (#4047)
dependabot[bot] May 1, 2026
3fd1fde
Bump puma from 7.2.0 to 8.0.1 in /demo (#4045)
dependabot[bot] May 1, 2026
5934a07
Bump @primer/primitives from 11.6.0 to 11.7.1 in /demo (#4043)
dependabot[bot] May 1, 2026
85b28cb
Bump vite from 8.0.5 to 8.0.10 in /demo in the all-demo group (#4042)
dependabot[bot] May 1, 2026
592f77f
Bump @primer/stylelint-config from 13.5.0 to 13.6.0 (#4056)
dependabot[bot] May 1, 2026
d94b0c6
Bump @github/catalyst from 1.8.0 to 1.8.1 in the production-dependenc…
dependabot[bot] May 1, 2026
b732a9f
Bugfix: Fix dropdown caret position in CSS styles for clean borders (…
lesliecdubs May 4, 2026
a1e85dd
Bump bootsnap from 1.23.0 to 1.24.1 in /demo (#4049)
dependabot[bot] May 5, 2026
96279b5
Bump view_component from 4.8.0 to 4.9.0 (#4067)
dependabot[bot] May 11, 2026
f26234f
Bump view_component from 4.8.0 to 4.9.0 in /demo (#4066)
dependabot[bot] May 11, 2026
4f1c9de
Merge branch 'bump/primer-upstream-ref' into bump/primer-upstream
myabc May 16, 2026
d238577
Bump @primer/primitives to ^11.9.0
myabc May 16, 2026
093d5ab
Bump @primer/stylelint-config to ^13.6.0
myabc May 16, 2026
554990c
Merge branch 'main' into bump/primer-upstream
myabc May 21, 2026
4e1b960
Generating component snapshots
myabc May 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fix-dropdown-caret-borders.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@openproject/primer-view-components": patch
---

Fix Dropdown component caret position in CSS styles for clean borders
2 changes: 1 addition & 1 deletion .github/workflows/demo-production-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
with:
ruby-version: '3.4'
bundler-cache: true
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: demo/gemfiles/vendor/bundle
key: gems-build-kuby-main-ruby-3.4.x-${{ hashFiles('demo/gemfiles/kuby.gemfile.lock') }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
persist-credentials: false
- name: Get specific changed files
id: changed-files
uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323
uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96
with:
files: |
docs/**/*.md
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
persist-credentials: false
- name: Get specific changed files
id: changed-files
uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323
uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96
with:
files: |
app/**/*.rb
Expand All @@ -79,7 +79,7 @@ jobs:
persist-credentials: false
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323
uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96
with:
files: |
app/components/**/*.erb
Expand All @@ -101,7 +101,7 @@ jobs:
persist-credentials: false
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323
uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96
with:
files: |
app/components/**/*.ts
Expand All @@ -128,7 +128,7 @@ jobs:
persist-credentials: false
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323
uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96
with:
files: |
app/components/**/*.pcss
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- group:
- button "Close" [expanded]: Dropdown
- menu:
- menuitem "Item 1"
- menuitem "Item 2"
- menuitem "Item 3"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- group:
- button "Open": Dropdown
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- group:
- button "Close" [expanded]: Dropdown
- menu:
- menuitem "Item 1"
- menuitem "Item 2"
- menuitem "Item 3"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- group:
- button "Open": Dropdown
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- group:
- button "Close" [expanded]: Dropdown
- menu:
- menuitem "Item 1"
- menuitem "Item 2"
- menuitem "Item 3"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- group:
- button "Open": Dropdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- group:
- button "Close" [expanded]: Dropdown
- menu:
- menuitem "Item 1"
- menuitem "Item 2"
- menuitem "Item 3"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- group:
- button "Open": Dropdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- group:
- button "Close" [expanded]: Dropdown
- menu:
- menuitem "Item 1"
- menuitem "Item 2"
- menuitem "Item 3"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- group:
- button "Open": Dropdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- group:
- button "Close" [expanded]: Dropdown
- menu:
- menuitem "Item 1"
- menuitem "Item 2"
- menuitem "Item 3"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- group:
- button "Open": Dropdown
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ else
end

# Use Puma as the app server
gem "puma", "~> 7.2.0"
gem "puma", "~> 8.0.1"

# Reduces boot times through caching; required in config/boot.rb
gem "bootsnap", ">= 1.4.2", require: false
Expand All @@ -40,7 +40,7 @@ gem "lookbook", "~> 2.3.14"
if ENV["VIEW_COMPONENT_PATH"]
gem "view_component", path: ENV["VIEW_COMPONENT_PATH"]
else
gem "view_component", "4.6.0"
gem "view_component", "4.9.0"
end

gem "kramdown", "~> 2.5"
Expand Down Expand Up @@ -78,5 +78,5 @@ group :development do
gem "sprockets-rails"
gem "thor"
gem "timecop"
gem "yard", "~> 0.9.38"
gem "yard", "~> 0.9.43"
end
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ GEM
date
stringio
public_suffix (7.0.5)
puma (7.2.0)
puma (8.0.1)
nio4r (~> 2.0)
racc (1.8.1)
rack (3.2.6)
Expand Down Expand Up @@ -306,7 +306,7 @@ GEM
unicode-emoji (4.2.0)
uri (1.1.1)
useragent (0.16.11)
view_component (4.6.0)
view_component (4.9.0)
actionview (>= 7.1.0)
activesupport (>= 7.1.0)
concurrent-ruby (~> 1)
Expand Down Expand Up @@ -365,7 +365,7 @@ DEPENDENCIES
minitest (~> 5.0)
mocha
openproject-primer_view_components!
puma (~> 7.2.0)
puma (~> 8.0.1)
rack-cors
railties (= 8.0.2)
rake (~> 13.3)
Expand All @@ -382,10 +382,10 @@ DEPENDENCIES
sprockets-rails
thor
timecop
view_component (= 4.6.0)
view_component (= 4.9.0)
vite_rails (~> 3.0)
webmock
yard (~> 0.9.38)
yard (~> 0.9.43)

BUNDLED WITH
2.5.5
20 changes: 8 additions & 12 deletions app/components/primer/alpha/dropdown.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,15 @@
left: 0;
z-index: 100;
width: 160px;
/* stylelint-disable-next-line primer/spacing */
padding-top: var(--control-small-paddingBlock);
/* stylelint-disable-next-line primer/spacing */
padding-bottom: var(--control-small-paddingBlock);
margin-top: var(--base-size-2);
list-style: none;
background-color: var(--overlay-bgColor);
background-clip: padding-box;
border: var(--borderWidth-thin) solid var(--borderColor-default);
border-radius: var(--borderRadius-medium);
box-shadow: var(--shadow-floating-legacy, var(--color-shadow-large));
box-shadow: var(--shadow-floating-small);

&::before,
&::after {
Expand Down Expand Up @@ -70,7 +68,6 @@
width: auto;

& .dropdown-item {
/* stylelint-disable-next-line primer/spacing */
padding: var(--control-small-paddingBlock) var(--control-medium-paddingInline-spacious);
overflow: visible;
text-overflow: inherit;
Expand All @@ -80,7 +77,6 @@
/* Dropdown items (can be links or buttons) */
.dropdown-item {
display: block;
/* stylelint-disable-next-line primer/spacing */
padding: var(--control-small-paddingBlock) var(--control-medium-paddingInline-condensed) var(--control-small-paddingBlock) var(--control-medium-paddingInline-spacious);
overflow: hidden;
color: var(--fgColor-default);
Expand Down Expand Up @@ -123,13 +119,11 @@
.dropdown-divider {
display: block;
height: 0;
/* stylelint-disable-next-line primer/spacing */
margin: var(--stack-gap-condensed) 0;
border-top: var(--borderWidth-thin) solid var(--borderColor-default);
}

.dropdown-header {
/* stylelint-disable-next-line primer/spacing */
padding: var(--control-small-paddingBlock) var(--control-medium-paddingInline-spacious);
font-size: var(--text-body-size-small);
color: var(--fgColor-muted);
Expand Down Expand Up @@ -163,7 +157,8 @@
}

&::after {
top: var(--base-size-12);
/* stylelint-disable-next-line primer/spacing */
top: calc(var(--base-size-12) - var(--borderWidth-thin));
/* stylelint-disable-next-line primer/spacing */
right: -14px;
left: auto;
Expand All @@ -190,7 +185,8 @@
}

&::after {
top: var(--base-size-12);
/* stylelint-disable-next-line primer/spacing */
top: calc(var(--base-size-12) - var(--borderWidth-thin));
/* stylelint-disable-next-line primer/spacing */
left: -14px;
border-color: transparent;
Expand Down Expand Up @@ -228,7 +224,7 @@
/* stylelint-disable-next-line primer/spacing */
bottom: -7px;
/* stylelint-disable-next-line primer/spacing */
left: 10px;
left: calc(var(--base-size-8) + var(--borderWidth-thin));
/* stylelint-disable-next-line primer/borders, primer/colors */
border-top: 7px solid var(--overlay-bgColor);
/* stylelint-disable-next-line primer/borders */
Expand Down Expand Up @@ -274,7 +270,7 @@
/* stylelint-disable-next-line primer/spacing */
top: -14px;
/* stylelint-disable-next-line primer/spacing */
right: 10px;
right: calc(var(--base-size-8) + var(--borderWidth-thin));
left: auto;
}
}
Expand All @@ -290,6 +286,6 @@
/* stylelint-disable-next-line primer/spacing */
top: -14px;
/* stylelint-disable-next-line primer/spacing */
left: 10px;
left: calc(var(--base-size-8) + var(--borderWidth-thin));
}
}
6 changes: 3 additions & 3 deletions demo/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source "https://rubygems.org"

rails_version = (ENV["RAILS_VERSION"] || "7.2.2.1").to_s

gem "rake", "~> 13.3"
gem "rake", "~> 13.4"
gem "rack-cors"
gem "sprockets"
gem "sprockets-rails"
Expand All @@ -31,13 +31,13 @@ end
eval_gemfile "gemfiles/kuby.gemfile"

# Use Puma as the app server
gem "puma", "~> 7.2.0"
gem "puma", "~> 8.0.1"

# Reduces boot times through caching; required in config/boot.rb
gem "bootsnap", ">= 1.4.2", require: false

gem "openproject-primer_view_components", path: "../"
gem "view_component", "4.6.0"
gem "view_component", "4.9.0"
gem "lookbook", "~> 2.3.14" unless rails_version.to_f < 7

gem "vite_rails", "~> 3.0"
Expand Down
10 changes: 5 additions & 5 deletions demo/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ GEM
date
stringio
public_suffix (7.0.2)
puma (7.2.0)
puma (8.0.1)
nio4r (~> 2.0)
racc (1.8.1)
rack (3.1.21)
Expand Down Expand Up @@ -362,7 +362,7 @@ GEM
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
useragent (0.16.11)
view_component (4.6.0)
view_component (4.9.0)
actionview (>= 7.1.0)
activesupport (>= 7.1.0)
concurrent-ruby (~> 1)
Expand Down Expand Up @@ -411,17 +411,17 @@ DEPENDENCIES
lookbook (~> 2.3.14)
openproject-primer_view_components!
pry-byebug
puma (~> 7.2.0)
puma (~> 8.0.1)
rack-cors
railties (= 7.2.2.1)
rake (~> 13.3)
rake (~> 13.4)
spring (~> 4.4)
spring-watcher-listen (~> 2.1)
sprockets
sprockets-rails
stimulus-rails
turbo-rails
view_component (= 4.6.0)
view_component (= 4.9.0)
vite_rails (~> 3.0)

BUNDLED WITH
Expand Down
Loading