From 0f978302e59d942b2b56c150dbf6176364fa2d20 Mon Sep 17 00:00:00 2001 From: Guilherme Nascimento Date: Mon, 16 Oct 2023 13:25:31 -0300 Subject: [PATCH 1/2] FIX: label text overlap for selected option (#261) --- .../__tests__/__snapshots__/index.spec.tsx.snap | 5 +++++ src/ebay-listbox-button/listbox-button.tsx | 8 +++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/ebay-listbox-button/__tests__/__snapshots__/index.spec.tsx.snap b/src/ebay-listbox-button/__tests__/__snapshots__/index.spec.tsx.snap index 05c4c229..9df521ef 100644 --- a/src/ebay-listbox-button/__tests__/__snapshots__/index.spec.tsx.snap +++ b/src/ebay-listbox-button/__tests__/__snapshots__/index.spec.tsx.snap @@ -288,6 +288,11 @@ exports[`Storyshots ebay-listbox-button Floating label 1`] = ` > Select + + - + = ({ }) const expandBtnTextId = prefixId && 'expand-btn-text' - const buttonLabel = floatingLabel ? ( - - {floatingLabel} - - ) : ( + + const buttonLabel = ( <> + {floatingLabel && {floatingLabel}} {prefixLabel && {prefixLabel}} {selectedOption?.props.children || unselectedText} From a2b18459f0922b5f855ed9329ae1742a63d65238 Mon Sep 17 00:00:00 2001 From: Automated Version Bump Date: Mon, 16 Oct 2023 16:31:58 +0000 Subject: [PATCH 2/2] ci: version bump to 5.4.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 80aa546f..11d1f2f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ebay/ui-core-react", - "version": "5.4.1", + "version": "5.4.2", "description": "Skin components build off React", "publishConfig": { "registry": "https://registry.npmjs.org"