From aef43d5b99441692b5d39049e432880104bb7c72 Mon Sep 17 00:00:00 2001 From: Luke Melia Date: Wed, 3 Jun 2026 23:25:33 -0400 Subject: [PATCH] Standardize dropdown trigger arrow, sizing, and primary focus ring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Addresses three boxel-ui trigger-polish items from design review: CS-11326: the sort menu used a different arrow (filled DropdownArrowDown) than boxel-ui's form controls and never flipped on open. Switch the sort and selection-menu triggers to the shared CaretDown chevron (already used by select/multi-select/picker/dropdown) and flip it on open via the trigger's aria-expanded state. CS-11327: give the selection-menu count a reserved, tabular-figure width so the trigger doesn't shift when the count crosses 1↔2 digits (e.g. a Select All jumping 9→10). CS-11328: make the primary BoxelButton focus ring robust and correct — set the full outline shorthand (not just the color, which relied on the UA default outline-style) 2px outside the button, and darken the ring to match when the fill darkens on hover/active. The selection-menu's local focus-ring override is now redundant and removed. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../addon/src/components/button/index.gts | 11 ++++++++- .../src/components/selection-menu/index.gts | 24 ++++++++++++------- .../src/components/sort-dropdown/index.gts | 13 +++++++--- 3 files changed, 35 insertions(+), 13 deletions(-) diff --git a/packages/boxel-ui/addon/src/components/button/index.gts b/packages/boxel-ui/addon/src/components/button/index.gts index aa84415a956..ccba0dadf18 100644 --- a/packages/boxel-ui/addon/src/components/button/index.gts +++ b/packages/boxel-ui/addon/src/components/button/index.gts @@ -165,8 +165,12 @@ const ButtonComponent: TemplateOnlyComponent =