From 5f3cf19be0de185a98c0113d1f93196e9e482fc2 Mon Sep 17 00:00:00 2001 From: Luke Melia Date: Thu, 4 Jun 2026 18:04:50 -0400 Subject: [PATCH] Rename the legacy `catalog-item` CSS class to `item-button` The styling class on this component predated its rename to `ItemButton`; `catalog-item` also mis-implied it's catalog-only when it also renders search results. Rename the scoped class (and the `.catalog-item` test assertions) to match the component. The separate `data-test-card-catalog-item` attributes are left as-is. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../components/card-search/item-button.gts | 30 +++++++++---------- .../components/card-search-adorn-test.gts | 10 +++---- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/packages/host/app/components/card-search/item-button.gts b/packages/host/app/components/card-search/item-button.gts index f231ea6c3ce..d47946d8b46 100644 --- a/packages/host/app/components/card-search/item-button.gts +++ b/packages/host/app/components/card-search/item-button.gts @@ -136,7 +136,7 @@ export default class ItemButton extends Component { @tracked private prerenderedTypeName: string | undefined; @tracked private prerenderedTypeIconHtml: string | undefined; - // The catalog-item button element, captured so the shared + // The item-button element, captured so the shared // positionAdornLabel modifier can anchor the type-label tab to the // card's footprint (the same way the stack-item overlay anchors to // the rendered card). Tracked so the label positioner re-runs once @@ -286,7 +286,7 @@ export default class ItemButton extends Component {