@soul-refiner/design-system 0.2.100 → 0.2.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -106,7 +106,11 @@ const Dropdown = ({ checkbox, children, closeOnChange = true, closeOnBlur = true
|
|
|
106
106
|
: { isDropdownOpen: open, onClick: handleOpen }),
|
|
107
107
|
open && (React.createElement(Container, { "$hasArrow": hasArrow, "$offset": offset, "$openDirection": openDirection, ref: optionsRef, "$sx": containerSx, "$useFullWidth": useFullWidth },
|
|
108
108
|
React.createElement("div", { style: { display: 'flex' } },
|
|
109
|
-
React.createElement("div", { style: {
|
|
109
|
+
React.createElement("div", { style: {
|
|
110
|
+
display: 'flex',
|
|
111
|
+
flexDirection: 'column',
|
|
112
|
+
width: '100%',
|
|
113
|
+
} }, dropdownOptions),
|
|
110
114
|
!!additionalOptions?.length && (React.createElement("div", { style: { display: 'flex', flexDirection: 'column' } }, additionalOptions.map((additionalOption) => (React.createElement(Option, { key: additionalOption.value, onClick: handleAdditionalChange, selected: additionalSelected === additionalOption.value, label: additionalOption.label, value: additionalOption.value }))))))))));
|
|
111
115
|
};
|
|
112
116
|
const Wrapper = styled.div `
|