diff --git a/package.json b/package.json index 963ad94c..1de636e5 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" 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}