labsense-ui-kit 1.3.64 → 1.3.67
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 +9 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +9 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8007,6 +8007,14 @@ var OptionComponent = function OptionComponent(_ref11) {
|
|
|
8007
8007
|
setHighlightedIndex = _useState2[1];
|
|
8008
8008
|
var optionContainerRef = React.useRef(null);
|
|
8009
8009
|
var searchInputRef = React.useRef(null);
|
|
8010
|
+
React.useEffect(function () {
|
|
8011
|
+
if (searchBox && searchInputRef.current) {
|
|
8012
|
+
setTimeout(function () {
|
|
8013
|
+
var _searchInputRef$curre;
|
|
8014
|
+
(_searchInputRef$curre = searchInputRef.current) === null || _searchInputRef$curre === void 0 ? void 0 : _searchInputRef$curre.focus();
|
|
8015
|
+
}, 50);
|
|
8016
|
+
}
|
|
8017
|
+
}, [searchBox]);
|
|
8010
8018
|
var handleSearchChange = function handleSearchChange(e) {
|
|
8011
8019
|
setSearchQuery(e.target.value.trimStart());
|
|
8012
8020
|
setHighlightedIndex(-1);
|
|
@@ -8697,7 +8705,7 @@ var Options = styled__default.div(_templateObject4$5 || (_templateObject4$5 = _t
|
|
|
8697
8705
|
var theme = _ref19.theme;
|
|
8698
8706
|
return theme.vms.text.white;
|
|
8699
8707
|
});
|
|
8700
|
-
var LabelText$1 = styled__default.div(_templateObject5$5 || (_templateObject5$5 = _taggedTemplateLiteralLoose(["\n font-size: ", ";\n line-height: ", ";\n font-style: ", ";\n color: ", ";\n"])), function (_ref20) {
|
|
8708
|
+
var LabelText$1 = styled__default.div(_templateObject5$5 || (_templateObject5$5 = _taggedTemplateLiteralLoose(["\n font-size: ", ";\n line-height: ", ";\n font-style: ", ";\n color: ", ";\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"])), function (_ref20) {
|
|
8701
8709
|
var $size = _ref20.$size;
|
|
8702
8710
|
switch ($size) {
|
|
8703
8711
|
case 'small':
|