From ff28ca915de4a6a37df48ed283f4e1b38bcad8e8 Mon Sep 17 00:00:00 2001 From: Raunak Bhagat Date: Mon, 24 Aug 2026 22:15:56 +0000 Subject: [PATCH] refactor(opal): restore the LineItemButton padding prop and sidebar spacing (#14213) --- .../src/components/buttons/line-item-button/README.md | 10 ++++++++-- .../components/buttons/line-item-button/components.tsx | 7 ++++--- .../src/components/buttons/sidebar-tab/components.tsx | 2 +- web/lib/opal/src/components/inputs/shared.css | 2 +- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/web/lib/opal/src/components/buttons/line-item-button/README.md b/web/lib/opal/src/components/buttons/line-item-button/README.md index d722778884..b7f70bdaa4 100644 --- a/web/lib/opal/src/components/buttons/line-item-button/README.md +++ b/web/lib/opal/src/components/buttons/line-item-button/README.md @@ -9,7 +9,7 @@ A composite component that wraps `Interactive.Stateful > Interactive.Container > ``` Interactive.Stateful <- selectVariant, state, interaction, onClick, href, ref └─ Interactive.Container <- width, rounding - └─ ContentAction <- withInteractive, padding={2} + └─ ContentAction <- withInteractive, padding ├─ Content <- icon, title, description, sizePreset, variant, ... └─ rightChildren ``` @@ -18,7 +18,12 @@ The row renders as a focusable `
` (with Enter/Space activatio native `