labsense-ui-kit 1.2.87 → 1.2.88
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.
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7182,6 +7182,7 @@ var OptionComponent = function OptionComponent(_ref9) {
|
|
|
7182
7182
|
_ref9$searchBox = _ref9.searchBox,
|
|
7183
7183
|
searchBox = _ref9$searchBox === void 0 ? true : _ref9$searchBox,
|
|
7184
7184
|
NoOptionsText = _ref9.NoOptionsText;
|
|
7185
|
+
var themeColors = useTheme();
|
|
7185
7186
|
var _useState = React.useState(''),
|
|
7186
7187
|
searchQuery = _useState[0],
|
|
7187
7188
|
setSearchQuery = _useState[1];
|
|
@@ -7217,7 +7218,7 @@ var OptionComponent = function OptionComponent(_ref9) {
|
|
|
7217
7218
|
placeholder: placeholder,
|
|
7218
7219
|
value: searchQuery,
|
|
7219
7220
|
onChange: handleSearchChange,
|
|
7220
|
-
"$inputColor": searchbarTextColor,
|
|
7221
|
+
"$inputColor": searchbarTextColor || themeColors.vms.text.white,
|
|
7221
7222
|
"$placeholderColor": placeholderColor
|
|
7222
7223
|
})), React__default.createElement(OptionContainer, null, SortedOptions.length > 0 ? SortedOptions.map(function (option, id) {
|
|
7223
7224
|
return React__default.createElement(OptionItem, {
|