stuff
This commit is contained in:
parent
dcf269eeb9
commit
e4d83edcab
|
@ -6626,6 +6626,7 @@ module.exports = (_ => {
|
||||||
return BDFDB.ReactUtils.createElement("div", {
|
return BDFDB.ReactUtils.createElement("div", {
|
||||||
className: BDFDB.disCN.selectwrapper,
|
className: BDFDB.disCN.selectwrapper,
|
||||||
children: BDFDB.ReactUtils.createElement(InternalComponents.NativeSubComponents.SearchableSelect, Object.assign({}, this.props, {
|
children: BDFDB.ReactUtils.createElement(InternalComponents.NativeSubComponents.SearchableSelect, Object.assign({}, this.props, {
|
||||||
|
autoFocus: this.props.autoFocus ? this.props.autoFocus : false,
|
||||||
maxVisibleItems: this.props.maxVisibleItems || 7,
|
maxVisibleItems: this.props.maxVisibleItems || 7,
|
||||||
renderOptionLabel: this.props.optionRenderer,
|
renderOptionLabel: this.props.optionRenderer,
|
||||||
onChange: this.handleChange.bind(this)
|
onChange: this.handleChange.bind(this)
|
||||||
|
|
|
@ -1173,6 +1173,7 @@
|
||||||
"SearchResultsGroup": {"props": ["searchResultGroup", "channelName"]},
|
"SearchResultsGroup": {"props": ["searchResultGroup", "channelName"]},
|
||||||
"SearchResultsMessage": {"props": ["message", "searchResult"]},
|
"SearchResultsMessage": {"props": ["message", "searchResult"]},
|
||||||
"Select": {"props": ["select", "error", "errorMessage"]},
|
"Select": {"props": ["select", "error", "errorMessage"]},
|
||||||
|
"SelectSearchable": {"props": ["searchable", "option", "selectedIcon"]},
|
||||||
"SettingsCloseButton": {"props": ["closeButton", "keybind"]},
|
"SettingsCloseButton": {"props": ["closeButton", "keybind"]},
|
||||||
"SettingsItems": {"props": ["labelRow", "note"]},
|
"SettingsItems": {"props": ["labelRow", "note"]},
|
||||||
"SettingsTable": {"props": ["headerOption", "headerName"]},
|
"SettingsTable": {"props": ["headerOption", "headerName"]},
|
||||||
|
@ -2604,6 +2605,8 @@
|
||||||
"searchresultsresult": ["SearchResultsMessage", "searchResult"],
|
"searchresultsresult": ["SearchResultsMessage", "searchResult"],
|
||||||
"searchresultswrap": ["SearchResults", "searchResultsWrap"],
|
"searchresultswrap": ["SearchResults", "searchResultsWrap"],
|
||||||
"select": ["Select", "select"],
|
"select": ["Select", "select"],
|
||||||
|
"selectoption": ["SelectSearchable", "option"],
|
||||||
|
"selectselectedicon": ["SelectSearchable", "selectedIcon"],
|
||||||
"selectwrapper": ["BDFDB", "selectWrapper"],
|
"selectwrapper": ["BDFDB", "selectWrapper"],
|
||||||
"settingsclosebutton": ["SettingsCloseButton", "closeButton"],
|
"settingsclosebutton": ["SettingsCloseButton", "closeButton"],
|
||||||
"settingsclosebuttoncontainer": ["SettingsCloseButton", "container"],
|
"settingsclosebuttoncontainer": ["SettingsCloseButton", "container"],
|
||||||
|
|
|
@ -359,6 +359,11 @@ img:not([src]), img[src=""], img[src="null"] {
|
||||||
margin-left: 12px;
|
margin-left: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[REPLACE_CLASS_selectoption] {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
[REPLACE_CLASS_selectwrapper] {
|
[REPLACE_CLASS_selectwrapper] {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
Loading…
Reference in New Issue