diff --git a/CHANGELOG.md b/CHANGELOG.md index 5115babacf..9029b2b802 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] +### BREAKING CHANGES +- Rename `combobox` to `root` in `dropdownSearchInputStyles` @layershifter ([#816](https://github.com/stardust-ui/react/pull/816)) + ### Features - Accessibility for menu divider @jurokapsiar ([#822](https://github.com/stardust-ui/react/pull/822)) diff --git a/packages/react/src/components/Dropdown/DropdownSearchInput.tsx b/packages/react/src/components/Dropdown/DropdownSearchInput.tsx index 17e726f599..7c8cbcc1e7 100644 --- a/packages/react/src/components/Dropdown/DropdownSearchInput.tsx +++ b/packages/react/src/components/Dropdown/DropdownSearchInput.tsx @@ -108,7 +108,7 @@ class DropdownSearchInput extends UIComponent = { + root: ({ variables: v }): ICSSInJSStyle => ({ + flexBasis: v.comboboxFlexBasis, + flexGrow: 1, + }), + input: ({ variables: v }): ICSSInJSStyle => ({ width: '100%', backgroundColor: v.backgroundColor, @@ -14,11 +19,6 @@ const dropdownSearchInputStyles: ComponentSlotStylesInput< borderBottomColor: 'transparent', }, }), - - combobox: ({ variables: v }): ICSSInJSStyle => ({ - flexBasis: v.comboboxFlexBasis, - flexGrow: 1, - }), } export default dropdownSearchInputStyles