From 17534778ccf99ff77745264ca9da86309ed52620 Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Wed, 7 Feb 2024 03:23:13 +0900 Subject: [PATCH 1/4] InputBase: Add `isBorderless` prop --- .../components/src/input-control/backdrop.tsx | 7 ++++++- .../src/input-control/input-base.tsx | 19 ++++++++++++++----- .../styles/input-control-styles.tsx | 9 ++++++--- .../components/src/input-control/types.ts | 6 ++++++ 4 files changed, 32 insertions(+), 9 deletions(-) diff --git a/packages/components/src/input-control/backdrop.tsx b/packages/components/src/input-control/backdrop.tsx index c85efad03a8052..9ef9138f196528 100644 --- a/packages/components/src/input-control/backdrop.tsx +++ b/packages/components/src/input-control/backdrop.tsx @@ -7,12 +7,17 @@ import { memo } from '@wordpress/element'; */ import { BackdropUI } from './styles/input-control-styles'; -function Backdrop( { disabled = false, isFocused = false } ) { +function Backdrop( { + disabled = false, + isBorderless = false, + isFocused = false, +} ) { return (