labsense-ui-kit 1.4.55 → 1.4.56

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.
@@ -9558,7 +9558,7 @@ var DropdownContainer = styled.div(_templateObject$b || (_templateObject$b = _ta
9558
9558
  var $hasTitle = _ref4.$hasTitle;
9559
9559
  return $hasTitle ? 'calc(100% - 22px)' : '100%';
9560
9560
  });
9561
- var DropdownButton = styled.div(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n overflow: ", ";\n padding: ", ";\n min-height: ", ";\n scrollbar-width: thin;\n gap: 8px;\n box-sizing: border-box;\n transition: all 0.3s ease;\n width: ", ";\n height: ", ";\n border: ", ";\n border-radius: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n background: ", ";\n color: ", ";\n font-weight: 400;\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref5) {
9561
+ var DropdownButton = styled.div(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n overflow: ", ";\n padding: ", ";\n min-height: ", ";\n scrollbar-width: thin;\n gap: 8px;\n box-sizing: border-box;\n transition: all 0.3s ease;\n width: ", ";\n height: ", ";\n border: ", ";\n border-radius: ", ";\n\n &:focus {\n outline: none;\n }\n\n &:focus-visible {\n border: 1px solid ", ";\n }\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n background: ", ";\n color: ", ";\n font-weight: 400;\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref5) {
9562
9562
  var $replaceLabel = _ref5.$replaceLabel,
9563
9563
  $showAllSelected = _ref5.$showAllSelected;
9564
9564
  return $replaceLabel ? $showAllSelected ? 'auto' : 'hidden' : '';
@@ -9591,12 +9591,15 @@ var DropdownButton = styled.div(_templateObject2$8 || (_templateObject2$8 = _tag
9591
9591
  var $borderRadius = _ref11.$borderRadius;
9592
9592
  return $borderRadius || '8px';
9593
9593
  }, function (_ref12) {
9594
- var $disabled = _ref12.$disabled;
9595
- return $disabled ? 'not-allowed' : 'pointer';
9594
+ var theme = _ref12.theme;
9595
+ return theme.vms.text.dark;
9596
9596
  }, function (_ref13) {
9597
- var $background = _ref13.$background,
9598
- $disabled = _ref13.$disabled,
9599
- theme = _ref13.theme;
9597
+ var $disabled = _ref13.$disabled;
9598
+ return $disabled ? 'not-allowed' : 'pointer';
9599
+ }, function (_ref14) {
9600
+ var $background = _ref14.$background,
9601
+ $disabled = _ref14.$disabled,
9602
+ theme = _ref14.theme;
9600
9603
  switch ($background) {
9601
9604
  case 'dark':
9602
9605
  return $disabled ? theme.vms.disabled.secondary : theme.vms.text.dark;
@@ -9617,12 +9620,12 @@ var DropdownButton = styled.div(_templateObject2$8 || (_templateObject2$8 = _tag
9617
9620
  default:
9618
9621
  return $disabled ? theme.vms.disabled.secondary : $background;
9619
9622
  }
9620
- }, function (_ref14) {
9621
- var $color = _ref14.$color,
9622
- theme = _ref14.theme;
9623
- return $color || theme.vms.text.medium;
9624
9623
  }, function (_ref15) {
9625
- var $size = _ref15.$size;
9624
+ var $color = _ref15.$color,
9625
+ theme = _ref15.theme;
9626
+ return $color || theme.vms.text.medium;
9627
+ }, function (_ref16) {
9628
+ var $size = _ref16.$size;
9626
9629
  switch ($size) {
9627
9630
  case 'small':
9628
9631
  return '12px';
@@ -9631,8 +9634,8 @@ var DropdownButton = styled.div(_templateObject2$8 || (_templateObject2$8 = _tag
9631
9634
  default:
9632
9635
  return '14px';
9633
9636
  }
9634
- }, function (_ref16) {
9635
- var $size = _ref16.$size;
9637
+ }, function (_ref17) {
9638
+ var $size = _ref17.$size;
9636
9639
  switch ($size) {
9637
9640
  case 'small':
9638
9641
  return '12px';
@@ -9642,20 +9645,20 @@ var DropdownButton = styled.div(_templateObject2$8 || (_templateObject2$8 = _tag
9642
9645
  return '14px';
9643
9646
  }
9644
9647
  });
9645
- var TitleText = styled.div(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n width: max-content;\n position: relative;\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n\n color: ", ";\n"])), function (_ref17) {
9646
- var $titleWeight = _ref17.$titleWeight;
9648
+ var TitleText = styled.div(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n width: max-content;\n position: relative;\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n\n color: ", ";\n"])), function (_ref18) {
9649
+ var $titleWeight = _ref18.$titleWeight;
9647
9650
  return $titleWeight != null ? $titleWeight : '500';
9648
- }, function (_ref18) {
9649
- var $titleSize = _ref18.$titleSize,
9650
- $size = _ref18.$size;
9651
- return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
9652
9651
  }, function (_ref19) {
9653
9652
  var $titleSize = _ref19.$titleSize,
9654
9653
  $size = _ref19.$size;
9655
9654
  return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
9656
9655
  }, function (_ref20) {
9657
- var $titleColor = _ref20.$titleColor,
9658
- theme = _ref20.theme;
9656
+ var $titleSize = _ref20.$titleSize,
9657
+ $size = _ref20.$size;
9658
+ return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
9659
+ }, function (_ref21) {
9660
+ var $titleColor = _ref21.$titleColor,
9661
+ theme = _ref21.theme;
9659
9662
  switch ($titleColor) {
9660
9663
  case 'dark':
9661
9664
  return theme.vms.text.dark;
@@ -9678,29 +9681,29 @@ var TitleText = styled.div(_templateObject3$5 || (_templateObject3$5 = _taggedTe
9678
9681
  }
9679
9682
  });
9680
9683
  var Container$2 = styled.div(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n height: 100%;\n"])));
9681
- var LabelText = styled.div(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (_ref21) {
9682
- var $labelStyle = _ref21.$labelStyle;
9684
+ var LabelText = styled.div(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (_ref22) {
9685
+ var $labelStyle = _ref22.$labelStyle;
9683
9686
  return $labelStyle;
9684
- }, function (_ref22) {
9685
- var $labelColor = _ref22.$labelColor,
9686
- theme = _ref22.theme;
9687
+ }, function (_ref23) {
9688
+ var $labelColor = _ref23.$labelColor,
9689
+ theme = _ref23.theme;
9687
9690
  return $labelColor || theme.vms.text.medium;
9688
9691
  });
9689
- var DropdownMenu = styled.div(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteralLoose(["\n max-height: 156px;\n padding: 4px;\n box-sizing: border-box;\n border: ", ";\n border-radius: ", ";\n width: ", ";\n background: ", ";\n display: flex;\n flex-direction: column;\n gap: 4px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n margin-top: 8px;\n overflow-y: auto;\n position: absolute;\n z-index: 5;\n scrollbar-width: thin;\n \n ", "\n"])), function (_ref23) {
9690
- var theme = _ref23.theme;
9692
+ var DropdownMenu = styled.div(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteralLoose(["\n max-height: 156px;\n padding: 4px;\n box-sizing: border-box;\n border: ", ";\n border-radius: ", ";\n width: ", ";\n background: ", ";\n display: flex;\n flex-direction: column;\n gap: 4px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n margin-top: 8px;\n overflow-y: auto;\n position: absolute;\n z-index: 5;\n scrollbar-width: thin;\n \n ", "\n"])), function (_ref24) {
9693
+ var theme = _ref24.theme;
9691
9694
  return "1px solid " + theme.vms.border.light;
9692
- }, function (_ref24) {
9693
- var $optionsBorderRadius = _ref24.$optionsBorderRadius;
9694
- return $optionsBorderRadius || '8px';
9695
9695
  }, function (_ref25) {
9696
- var $width = _ref25.$width;
9697
- return $width ? $width : 'max-content';
9696
+ var $optionsBorderRadius = _ref25.$optionsBorderRadius;
9697
+ return $optionsBorderRadius || '8px';
9698
9698
  }, function (_ref26) {
9699
- var $menuBackground = _ref26.$menuBackground,
9700
- theme = _ref26.theme;
9701
- return $menuBackground || theme.vms.accent.light_2;
9699
+ var $width = _ref26.$width;
9700
+ return $width ? $width : 'max-content';
9702
9701
  }, function (_ref27) {
9703
- var $position = _ref27.$position;
9702
+ var $menuBackground = _ref27.$menuBackground,
9703
+ theme = _ref27.theme;
9704
+ return $menuBackground || theme.vms.accent.light_2;
9705
+ }, function (_ref28) {
9706
+ var $position = _ref28.$position;
9704
9707
  switch ($position) {
9705
9708
  case 'topLeft':
9706
9709
  return "\n bottom: calc(100% + 8px);\n left: 0;\n top: auto;\n ";
@@ -9719,10 +9722,10 @@ var DropdownMenu = styled.div(_templateObject6$4 || (_templateObject6$4 = _tagge
9719
9722
  }
9720
9723
  });
9721
9724
  var SelectedOptionsWrapper = styled.div(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n height: 100%;\n"])));
9722
- var SelectedOptionDiv = styled.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n white-space: nowrap;\n background: ", ";\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n gap: 6px;\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 12px;\n color: ", ";\n"])), function (_ref28) {
9723
- var $selectedOptionBackground = _ref28.$selectedOptionBackground,
9724
- $disabled = _ref28.$disabled,
9725
- theme = _ref28.theme;
9725
+ var SelectedOptionDiv = styled.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n white-space: nowrap;\n background: ", ";\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n gap: 6px;\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 12px;\n color: ", ";\n"])), function (_ref29) {
9726
+ var $selectedOptionBackground = _ref29.$selectedOptionBackground,
9727
+ $disabled = _ref29.$disabled,
9728
+ theme = _ref29.theme;
9726
9729
  switch ($selectedOptionBackground) {
9727
9730
  case 'dark':
9728
9731
  return theme.vms.text.dark;
@@ -9743,9 +9746,9 @@ var SelectedOptionDiv = styled.div(_templateObject8$2 || (_templateObject8$2 = _
9743
9746
  default:
9744
9747
  return $selectedOptionBackground || theme.vms.accent.light_2;
9745
9748
  }
9746
- }, function (_ref29) {
9747
- var $selectedOptionColor = _ref29.$selectedOptionColor,
9748
- theme = _ref29.theme;
9749
+ }, function (_ref30) {
9750
+ var $selectedOptionColor = _ref30.$selectedOptionColor,
9751
+ theme = _ref30.theme;
9749
9752
  switch ($selectedOptionColor) {
9750
9753
  case 'dark':
9751
9754
  return theme.vms.text.dark;
@@ -9767,26 +9770,26 @@ var SelectedOptionDiv = styled.div(_templateObject8$2 || (_templateObject8$2 = _
9767
9770
  return $selectedOptionColor;
9768
9771
  }
9769
9772
  });
9770
- var RemoveIcon = styled.div(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteralLoose(["\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n border-radius: 50%;\n box-sizing: border-box;\n background: ", ";\n > div {\n cursor: ", ";\n }\n"])), function (_ref30) {
9771
- var $disabled = _ref30.$disabled;
9773
+ var RemoveIcon = styled.div(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteralLoose(["\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n border-radius: 50%;\n box-sizing: border-box;\n background: ", ";\n > div {\n cursor: ", ";\n }\n"])), function (_ref31) {
9774
+ var $disabled = _ref31.$disabled;
9772
9775
  return $disabled ? 'not-allowed' : 'pointer';
9773
- }, function (_ref31) {
9774
- var removeIconBackground = _ref31.removeIconBackground,
9775
- $type = _ref31.$type,
9776
- theme = _ref31.theme;
9777
- return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : theme.vms.disabled.primary;
9778
9776
  }, function (_ref32) {
9779
- var $disabled = _ref32.$disabled;
9777
+ var removeIconBackground = _ref32.removeIconBackground,
9778
+ $type = _ref32.$type,
9779
+ theme = _ref32.theme;
9780
+ return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : theme.vms.disabled.primary;
9781
+ }, function (_ref33) {
9782
+ var $disabled = _ref33.$disabled;
9780
9783
  return $disabled ? 'not-allowed' : 'pointer';
9781
9784
  });
9782
9785
  var TextWrapper = styled.div(_templateObject10$1 || (_templateObject10$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 4px;\n"])));
9783
9786
  var ChipArea = styled.div(_templateObject11$1 || (_templateObject11$1 = _taggedTemplateLiteralLoose(["\n flex: 1;\n min-width: 0;\n overflow: hidden;\n position: relative;\n display: flex;\n align-items: center;\n"])));
9784
9787
  var MeasureLayer = styled.div(_templateObject12$1 || (_templateObject12$1 = _taggedTemplateLiteralLoose(["\n position: absolute;\n visibility: hidden;\n pointer-events: none;\n display: flex;\n flex-wrap: nowrap;\n gap: 6px;\n width: 100%;\n top: 0;\n left: 0;\n"])));
9785
9788
  var SingleLineRow = styled.div(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: nowrap;\n gap: 6px;\n overflow: hidden;\n align-items: center;\n width: 100%;\n"])));
9786
- var OverflowCountBadge = styled.div(_templateObject14$1 || (_templateObject14$1 = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n font-size: 12px;\n line-height: 12px;\n font-weight: 400;\n white-space: nowrap;\n background: ", ";\n color: ", ";\n"])), function (_ref33) {
9787
- var $selectedOptionBackground = _ref33.$selectedOptionBackground,
9788
- $disabled = _ref33.$disabled,
9789
- theme = _ref33.theme;
9789
+ var OverflowCountBadge = styled.div(_templateObject14$1 || (_templateObject14$1 = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n font-size: 12px;\n line-height: 12px;\n font-weight: 400;\n white-space: nowrap;\n background: ", ";\n color: ", ";\n"])), function (_ref34) {
9790
+ var $selectedOptionBackground = _ref34.$selectedOptionBackground,
9791
+ $disabled = _ref34.$disabled,
9792
+ theme = _ref34.theme;
9790
9793
  switch ($selectedOptionBackground) {
9791
9794
  case 'dark':
9792
9795
  return theme.vms.text.dark;
@@ -9807,9 +9810,9 @@ var OverflowCountBadge = styled.div(_templateObject14$1 || (_templateObject14$1
9807
9810
  default:
9808
9811
  return $selectedOptionBackground || theme.vms.accent.light_2;
9809
9812
  }
9810
- }, function (_ref34) {
9811
- var $selectedOptionColor = _ref34.$selectedOptionColor,
9812
- theme = _ref34.theme;
9813
+ }, function (_ref35) {
9814
+ var $selectedOptionColor = _ref35.$selectedOptionColor,
9815
+ theme = _ref35.theme;
9813
9816
  switch ($selectedOptionColor) {
9814
9817
  case 'dark':
9815
9818
  return theme.vms.text.dark;
@@ -9831,66 +9834,66 @@ var OverflowCountBadge = styled.div(_templateObject14$1 || (_templateObject14$1
9831
9834
  return $selectedOptionColor || theme.vms.text.medium;
9832
9835
  }
9833
9836
  });
9834
- var Asterisk = styled.span(_templateObject15$1 || (_templateObject15$1 = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), function (_ref35) {
9835
- var theme = _ref35.theme;
9837
+ var Asterisk = styled.span(_templateObject15$1 || (_templateObject15$1 = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), function (_ref36) {
9838
+ var theme = _ref36.theme;
9836
9839
  return theme.vms["default"].error;
9837
9840
  });
9838
- var MultiSelectDropdown = function MultiSelectDropdown(_ref36) {
9839
- var title = _ref36.title,
9840
- titleWeight = _ref36.titleWeight,
9841
- titleSize = _ref36.titleSize,
9842
- titleColor = _ref36.titleColor,
9843
- _ref36$labelText = _ref36.labelText,
9844
- labelText = _ref36$labelText === void 0 ? 'Select Cameras' : _ref36$labelText,
9845
- labelStyle = _ref36.labelStyle,
9846
- labelColor = _ref36.labelColor,
9847
- _ref36$replaceLabel = _ref36.replaceLabel,
9848
- replaceLabel = _ref36$replaceLabel === void 0 ? true : _ref36$replaceLabel,
9849
- options = _ref36.options,
9850
- width = _ref36.width,
9851
- optionWidth = _ref36.optionWidth,
9852
- height = _ref36.height,
9853
- placeholder = _ref36.placeholder,
9854
- border = _ref36.border,
9855
- background = _ref36.background,
9856
- selectedOptionBackground = _ref36.selectedOptionBackground,
9857
- selectedOptionColor = _ref36.selectedOptionColor,
9858
- menuBackground = _ref36.menuBackground,
9859
- optionsBorderRadius = _ref36.optionsBorderRadius,
9860
- borderRadius = _ref36.borderRadius,
9861
- removeIconBackground = _ref36.removeIconBackground,
9862
- handleSelectChange = _ref36.handleSelectChange,
9863
- selectedOptions = _ref36.selectedOptions,
9864
- placeholderColor = _ref36.placeholderColor,
9865
- optionBorder = _ref36.optionBorder,
9866
- optionColor = _ref36.optionColor,
9867
- searchIcon = _ref36.searchIcon,
9868
- searchbarTextColor = _ref36.searchbarTextColor,
9869
- searchBoxBackground = _ref36.searchBoxBackground,
9870
- searchBoxBorder = _ref36.searchBoxBorder,
9871
- searchBoxBorderRadius = _ref36.searchBoxBorderRadius,
9872
- size = _ref36.size,
9873
- removeIcon = _ref36.removeIcon,
9874
- type = _ref36.type,
9875
- icon = _ref36.icon,
9876
- _ref36$disabled = _ref36.disabled,
9877
- disabled = _ref36$disabled === void 0 ? false : _ref36$disabled,
9878
- _ref36$required = _ref36.required,
9879
- required = _ref36$required === void 0 ? false : _ref36$required,
9880
- _ref36$searchBox = _ref36.searchBox,
9881
- searchBox = _ref36$searchBox === void 0 ? true : _ref36$searchBox,
9882
- _ref36$searchBoxTextL = _ref36.searchBoxTextLength,
9883
- searchBoxTextLength = _ref36$searchBoxTextL === void 0 ? 50 : _ref36$searchBoxTextL,
9884
- _ref36$NoOptionsText = _ref36.NoOptionsText,
9885
- NoOptionsText = _ref36$NoOptionsText === void 0 ? 'No Options Available' : _ref36$NoOptionsText,
9886
- _ref36$selectAllOptio = _ref36.selectAllOption,
9887
- selectAllOption = _ref36$selectAllOptio === void 0 ? false : _ref36$selectAllOptio,
9888
- _ref36$selectAllLabel = _ref36.selectAllLabel,
9889
- selectAllLabel = _ref36$selectAllLabel === void 0 ? 'Select All' : _ref36$selectAllLabel,
9890
- selectAllChecked = _ref36.selectAllChecked,
9891
- dropdownPosition = _ref36.dropdownPosition,
9892
- _ref36$showAllSelecte = _ref36.showAllSelected,
9893
- showAllSelected = _ref36$showAllSelecte === void 0 ? false : _ref36$showAllSelecte;
9841
+ var MultiSelectDropdown = function MultiSelectDropdown(_ref37) {
9842
+ var title = _ref37.title,
9843
+ titleWeight = _ref37.titleWeight,
9844
+ titleSize = _ref37.titleSize,
9845
+ titleColor = _ref37.titleColor,
9846
+ _ref37$labelText = _ref37.labelText,
9847
+ labelText = _ref37$labelText === void 0 ? 'Select Cameras' : _ref37$labelText,
9848
+ labelStyle = _ref37.labelStyle,
9849
+ labelColor = _ref37.labelColor,
9850
+ _ref37$replaceLabel = _ref37.replaceLabel,
9851
+ replaceLabel = _ref37$replaceLabel === void 0 ? true : _ref37$replaceLabel,
9852
+ options = _ref37.options,
9853
+ width = _ref37.width,
9854
+ optionWidth = _ref37.optionWidth,
9855
+ height = _ref37.height,
9856
+ placeholder = _ref37.placeholder,
9857
+ border = _ref37.border,
9858
+ background = _ref37.background,
9859
+ selectedOptionBackground = _ref37.selectedOptionBackground,
9860
+ selectedOptionColor = _ref37.selectedOptionColor,
9861
+ menuBackground = _ref37.menuBackground,
9862
+ optionsBorderRadius = _ref37.optionsBorderRadius,
9863
+ borderRadius = _ref37.borderRadius,
9864
+ removeIconBackground = _ref37.removeIconBackground,
9865
+ handleSelectChange = _ref37.handleSelectChange,
9866
+ selectedOptions = _ref37.selectedOptions,
9867
+ placeholderColor = _ref37.placeholderColor,
9868
+ optionBorder = _ref37.optionBorder,
9869
+ optionColor = _ref37.optionColor,
9870
+ searchIcon = _ref37.searchIcon,
9871
+ searchbarTextColor = _ref37.searchbarTextColor,
9872
+ searchBoxBackground = _ref37.searchBoxBackground,
9873
+ searchBoxBorder = _ref37.searchBoxBorder,
9874
+ searchBoxBorderRadius = _ref37.searchBoxBorderRadius,
9875
+ size = _ref37.size,
9876
+ removeIcon = _ref37.removeIcon,
9877
+ type = _ref37.type,
9878
+ icon = _ref37.icon,
9879
+ _ref37$disabled = _ref37.disabled,
9880
+ disabled = _ref37$disabled === void 0 ? false : _ref37$disabled,
9881
+ _ref37$required = _ref37.required,
9882
+ required = _ref37$required === void 0 ? false : _ref37$required,
9883
+ _ref37$searchBox = _ref37.searchBox,
9884
+ searchBox = _ref37$searchBox === void 0 ? true : _ref37$searchBox,
9885
+ _ref37$searchBoxTextL = _ref37.searchBoxTextLength,
9886
+ searchBoxTextLength = _ref37$searchBoxTextL === void 0 ? 50 : _ref37$searchBoxTextL,
9887
+ _ref37$NoOptionsText = _ref37.NoOptionsText,
9888
+ NoOptionsText = _ref37$NoOptionsText === void 0 ? 'No Options Available' : _ref37$NoOptionsText,
9889
+ _ref37$selectAllOptio = _ref37.selectAllOption,
9890
+ selectAllOption = _ref37$selectAllOptio === void 0 ? false : _ref37$selectAllOptio,
9891
+ _ref37$selectAllLabel = _ref37.selectAllLabel,
9892
+ selectAllLabel = _ref37$selectAllLabel === void 0 ? 'Select All' : _ref37$selectAllLabel,
9893
+ selectAllChecked = _ref37.selectAllChecked,
9894
+ dropdownPosition = _ref37.dropdownPosition,
9895
+ _ref37$showAllSelecte = _ref37.showAllSelected,
9896
+ showAllSelected = _ref37$showAllSelecte === void 0 ? false : _ref37$showAllSelecte;
9894
9897
  var themeColors = useTheme();
9895
9898
  var _useState = useState(false),
9896
9899
  dropUp = _useState[0],
@@ -10241,7 +10244,7 @@ var DropdownContainer$1 = styled.div(_templateObject2$9 || (_templateObject2$9 =
10241
10244
  var $width = _ref4.$width;
10242
10245
  return $width || '100%';
10243
10246
  });
10244
- var DropdownButton$1 = styled.div(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n font-weight: 400;\n width: ", ";\n height: ", ";\n border-radius: ", ";\n transition: all 0.3s ease;\n border: ", ";\n gap: 6px;\n padding: ", ";\n background: ", ";\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref5) {
10247
+ var DropdownButton$1 = styled.div(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n font-weight: 400;\n width: ", ";\n height: ", ";\n border-radius: ", ";\n transition: all 0.3s ease;\n border: ", ";\n gap: 6px;\n padding: ", ";\n\n &:focus {\n outline: none;\n }\n\n &:focus-visible {\n border: 1px solid ", ";\n }\n background: ", ";\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref5) {
10245
10248
  var $disabled = _ref5.$disabled;
10246
10249
  return $disabled ? 'not-allowed' : 'pointer';
10247
10250
  }, function (_ref6) {
@@ -10269,12 +10272,15 @@ var DropdownButton$1 = styled.div(_templateObject3$6 || (_templateObject3$6 = _t
10269
10272
  return '9.5px 12px';
10270
10273
  }
10271
10274
  }, function (_ref11) {
10272
- var $background = _ref11.$background,
10273
- $disabled = _ref11.$disabled,
10274
- theme = _ref11.theme;
10275
- return $disabled ? theme.vms.border.light : $background || theme.vms.accent.light_2;
10275
+ var theme = _ref11.theme;
10276
+ return theme.vms.text.dark;
10276
10277
  }, function (_ref12) {
10277
- var $size = _ref12.$size;
10278
+ var $background = _ref12.$background,
10279
+ $disabled = _ref12.$disabled,
10280
+ theme = _ref12.theme;
10281
+ return $disabled ? theme.vms.border.light : $background || theme.vms.accent.light_2;
10282
+ }, function (_ref13) {
10283
+ var $size = _ref13.$size;
10278
10284
  switch ($size) {
10279
10285
  case 'small':
10280
10286
  return '12px';
@@ -10283,8 +10289,8 @@ var DropdownButton$1 = styled.div(_templateObject3$6 || (_templateObject3$6 = _t
10283
10289
  default:
10284
10290
  return '14px';
10285
10291
  }
10286
- }, function (_ref13) {
10287
- var $size = _ref13.$size;
10292
+ }, function (_ref14) {
10293
+ var $size = _ref14.$size;
10288
10294
  switch ($size) {
10289
10295
  case 'small':
10290
10296
  return '12px';
@@ -10294,33 +10300,33 @@ var DropdownButton$1 = styled.div(_templateObject3$6 || (_templateObject3$6 = _t
10294
10300
  return '14px';
10295
10301
  }
10296
10302
  });
10297
- var Options = styled.div(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteralLoose(["\n color: ", ";\n padding: 5px 10px;\n width: 100%;\n font-size: ", ";\n font-weight: ", ";\n background-color: ", ";\n word-wrap: break-word;\n overflow-wrap: break-word;\n white-space: normal;\n\n \n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n }\n\n"])), function (_ref14) {
10298
- var $optionColor = _ref14.$optionColor,
10299
- $optionSelected = _ref14.$optionSelected,
10300
- $isHighlighted = _ref14.$isHighlighted,
10301
- theme = _ref14.theme;
10303
+ var Options = styled.div(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteralLoose(["\n color: ", ";\n padding: 5px 10px;\n width: 100%;\n font-size: ", ";\n font-weight: ", ";\n background-color: ", ";\n word-wrap: break-word;\n overflow-wrap: break-word;\n white-space: normal;\n\n \n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n }\n\n"])), function (_ref15) {
10304
+ var $optionColor = _ref15.$optionColor,
10305
+ $optionSelected = _ref15.$optionSelected,
10306
+ $isHighlighted = _ref15.$isHighlighted,
10307
+ theme = _ref15.theme;
10302
10308
  return $optionSelected || $isHighlighted ? theme.vms.text.white : $optionColor || theme.vms.text.medium;
10303
- }, function (_ref15) {
10304
- var $optionFontSize = _ref15.$optionFontSize;
10305
- return $optionFontSize || '14px';
10306
10309
  }, function (_ref16) {
10307
- var $optionFontWeight = _ref16.$optionFontWeight;
10308
- return $optionFontWeight || 400;
10310
+ var $optionFontSize = _ref16.$optionFontSize;
10311
+ return $optionFontSize || '14px';
10309
10312
  }, function (_ref17) {
10310
- var $optionBackgroundColor = _ref17.$optionBackgroundColor,
10311
- $optionSelected = _ref17.$optionSelected,
10312
- $isHighlighted = _ref17.$isHighlighted,
10313
- theme = _ref17.theme;
10314
- return $optionSelected ? theme.vms["default"].primary : $isHighlighted ? theme.vms.hover.primary : $optionBackgroundColor || theme.vms["default"].tertiary;
10313
+ var $optionFontWeight = _ref17.$optionFontWeight;
10314
+ return $optionFontWeight || 400;
10315
10315
  }, function (_ref18) {
10316
- var theme = _ref18.theme;
10317
- return theme.vms.hover.primary;
10316
+ var $optionBackgroundColor = _ref18.$optionBackgroundColor,
10317
+ $optionSelected = _ref18.$optionSelected,
10318
+ $isHighlighted = _ref18.$isHighlighted,
10319
+ theme = _ref18.theme;
10320
+ return $optionSelected ? theme.vms["default"].primary : $isHighlighted ? theme.vms.hover.primary : $optionBackgroundColor || theme.vms["default"].tertiary;
10318
10321
  }, function (_ref19) {
10319
10322
  var theme = _ref19.theme;
10323
+ return theme.vms.hover.primary;
10324
+ }, function (_ref20) {
10325
+ var theme = _ref20.theme;
10320
10326
  return theme.vms.text.white;
10321
10327
  });
10322
- var LabelText$1 = styled.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) {
10323
- var $size = _ref20.$size;
10328
+ var LabelText$1 = styled.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 (_ref21) {
10329
+ var $size = _ref21.$size;
10324
10330
  switch ($size) {
10325
10331
  case 'small':
10326
10332
  return '14px';
@@ -10329,8 +10335,8 @@ var LabelText$1 = styled.div(_templateObject5$5 || (_templateObject5$5 = _tagged
10329
10335
  default:
10330
10336
  return '14px';
10331
10337
  }
10332
- }, function (_ref21) {
10333
- var $size = _ref21.$size;
10338
+ }, function (_ref22) {
10339
+ var $size = _ref22.$size;
10334
10340
  switch ($size) {
10335
10341
  case 'small':
10336
10342
  return 'normal';
@@ -10339,40 +10345,40 @@ var LabelText$1 = styled.div(_templateObject5$5 || (_templateObject5$5 = _tagged
10339
10345
  default:
10340
10346
  return 'normal';
10341
10347
  }
10342
- }, function (_ref22) {
10343
- var $fontStyle = _ref22.$fontStyle;
10344
- return $fontStyle || '';
10345
10348
  }, function (_ref23) {
10346
- var $color = _ref23.$color,
10347
- $disabled = _ref23.$disabled,
10348
- theme = _ref23.theme;
10349
+ var $fontStyle = _ref23.$fontStyle;
10350
+ return $fontStyle || '';
10351
+ }, function (_ref24) {
10352
+ var $color = _ref24.$color,
10353
+ $disabled = _ref24.$disabled,
10354
+ theme = _ref24.theme;
10349
10355
  return $disabled ? theme.vms.text.medium : $color || theme.vms.text.medium;
10350
10356
  });
10351
10357
  var NoOptions = styled(Span)(_templateObject6$5 || (_templateObject6$5 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n height: 100%;\n padding: 12px;\n font-size: 14px;\n font-weight: 400;\n"])));
10352
- var DropdownMenu$1 = styled.div(_templateObject7$3 || (_templateObject7$3 = _taggedTemplateLiteralLoose(["\n height: auto;\n // max-height: 170px;\n border: ", ";\n border-radius: ", ";\n min-width: 100%;\n max-width: ", ";\n width: ", ";\n background: ", ";\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n overflow: hidden;\n position: absolute;\n z-index: 2;\n outline: none;\n ", "\n ", "\n\n ", "\n"])), function (_ref24) {
10353
- var theme = _ref24.theme;
10358
+ var DropdownMenu$1 = styled.div(_templateObject7$3 || (_templateObject7$3 = _taggedTemplateLiteralLoose(["\n height: auto;\n // max-height: 170px;\n border: ", ";\n border-radius: ", ";\n min-width: 100%;\n max-width: ", ";\n width: ", ";\n background: ", ";\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n overflow: hidden;\n position: absolute;\n z-index: 2;\n outline: none;\n ", "\n ", "\n\n ", "\n"])), function (_ref25) {
10359
+ var theme = _ref25.theme;
10354
10360
  return "1px solid " + theme.vms.border.light;
10355
- }, function (_ref25) {
10356
- var $optionsBorderRadius = _ref25.$optionsBorderRadius;
10357
- return $optionsBorderRadius || '8px';
10358
10361
  }, function (_ref26) {
10359
- var $width = _ref26.$width;
10360
- return $width ? $width : '100%';
10362
+ var $optionsBorderRadius = _ref26.$optionsBorderRadius;
10363
+ return $optionsBorderRadius || '8px';
10361
10364
  }, function (_ref27) {
10362
10365
  var $width = _ref27.$width;
10363
10366
  return $width ? $width : '100%';
10364
10367
  }, function (_ref28) {
10365
- var $menuBackground = _ref28.$menuBackground,
10366
- theme = _ref28.theme;
10367
- return $menuBackground || theme.vms.accent.light_2;
10368
+ var $width = _ref28.$width;
10369
+ return $width ? $width : '100%';
10368
10370
  }, function (_ref29) {
10369
- var $top = _ref29.$top;
10370
- return $top && "top: " + $top + ";";
10371
+ var $menuBackground = _ref29.$menuBackground,
10372
+ theme = _ref29.theme;
10373
+ return $menuBackground || theme.vms.accent.light_2;
10371
10374
  }, function (_ref30) {
10372
- var $bottom = _ref30.$bottom;
10373
- return $bottom && "bottom: " + $bottom + ";";
10375
+ var $top = _ref30.$top;
10376
+ return $top && "top: " + $top + ";";
10374
10377
  }, function (_ref31) {
10375
- var $dropDownPosition = _ref31.$dropDownPosition;
10378
+ var $bottom = _ref31.$bottom;
10379
+ return $bottom && "bottom: " + $bottom + ";";
10380
+ }, function (_ref32) {
10381
+ var $dropDownPosition = _ref32.$dropDownPosition;
10376
10382
  switch ($dropDownPosition) {
10377
10383
  case 'center':
10378
10384
  return "\n left: 50%;\n transform: translateX(-50%);\n ";
@@ -10383,27 +10389,27 @@ var DropdownMenu$1 = styled.div(_templateObject7$3 || (_templateObject7$3 = _tag
10383
10389
  }
10384
10390
  });
10385
10391
  var OptionsWrapper = styled.div(_templateObject8$3 || (_templateObject8$3 = _taggedTemplateLiteralLoose(["\n max-height: 150px; \n overflow-y: auto;\n scrollbar-width: thin;\n width: 100%;\n"])));
10386
- var SearchContainer$1 = styled.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteralLoose(["\n width: 100%;\n background: ", ";\n border: ", ";\n border-bottom: ", ";\n border-radius: ", ";\n padding: 10px 12px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n position: sticky;\n top: 0;\n z-index: 10; \n"])), function (_ref32) {
10387
- var $background = _ref32.$background,
10388
- theme = _ref32.theme;
10392
+ var SearchContainer$1 = styled.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteralLoose(["\n width: 100%;\n background: ", ";\n border: ", ";\n border-bottom: ", ";\n border-radius: ", ";\n padding: 10px 12px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n position: sticky;\n top: 0;\n z-index: 10; \n"])), function (_ref33) {
10393
+ var $background = _ref33.$background,
10394
+ theme = _ref33.theme;
10389
10395
  return $background || theme.vms.accent.light_2;
10390
- }, function (_ref33) {
10391
- var $border = _ref33.$border;
10392
- return $border || 'none';
10393
10396
  }, function (_ref34) {
10394
- var theme = _ref34.theme;
10395
- return "1px solid " + theme.vms.border.light;
10397
+ var $border = _ref34.$border;
10398
+ return $border || 'none';
10396
10399
  }, function (_ref35) {
10397
- var $borderRadius = _ref35.$borderRadius;
10400
+ var theme = _ref35.theme;
10401
+ return "1px solid " + theme.vms.border.light;
10402
+ }, function (_ref36) {
10403
+ var $borderRadius = _ref36.$borderRadius;
10398
10404
  return $borderRadius || '8px 8px 0 0';
10399
10405
  });
10400
- var SearchBar$1 = styled.input(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteralLoose(["\n border: none;\n width: 100%;\n font-weight: 400;\n font-style: normal;\n font-size: 14px;\n line-height: normal;\n background: transparent;\n color: ", ";\n outline: none;\n \n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), function (_ref36) {
10401
- var $inputColor = _ref36.$inputColor,
10402
- theme = _ref36.theme;
10403
- return $inputColor || theme.vms.text.medium;
10404
- }, function (_ref37) {
10405
- var $placeholderColor = _ref37.$placeholderColor,
10406
+ var SearchBar$1 = styled.input(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteralLoose(["\n border: none;\n width: 100%;\n font-weight: 400;\n font-style: normal;\n font-size: 14px;\n line-height: normal;\n background: transparent;\n color: ", ";\n outline: none;\n \n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), function (_ref37) {
10407
+ var $inputColor = _ref37.$inputColor,
10406
10408
  theme = _ref37.theme;
10409
+ return $inputColor || theme.vms.text.medium;
10410
+ }, function (_ref38) {
10411
+ var $placeholderColor = _ref38.$placeholderColor,
10412
+ theme = _ref38.theme;
10407
10413
  return $placeholderColor || theme.vms.text.light;
10408
10414
  });
10409
10415
  var getClippingBoundary = function getClippingBoundary(element) {
@@ -10424,61 +10430,61 @@ var getClippingBoundary = function getClippingBoundary(element) {
10424
10430
  bottom: bottom
10425
10431
  };
10426
10432
  };
10427
- var SelectOption = function SelectOption(_ref38) {
10428
- var title = _ref38.title,
10429
- titlecolor = _ref38.titlecolor,
10430
- titleWeight = _ref38.titleWeight,
10431
- options = _ref38.options,
10432
- value = _ref38.value,
10433
- onChange = _ref38.onChange,
10434
- _ref38$disabled = _ref38.disabled,
10435
- disabled = _ref38$disabled === void 0 ? false : _ref38$disabled,
10436
- size = _ref38.size,
10437
- width = _ref38.width,
10438
- _ref38$labelText = _ref38.labelText,
10439
- labelText = _ref38$labelText === void 0 ? 'Select' : _ref38$labelText,
10440
- border = _ref38.border,
10441
- background = _ref38.background,
10442
- _ref38$padding = _ref38.padding,
10443
- padding = _ref38$padding === void 0 ? '0px' : _ref38$padding,
10444
- borderRadius = _ref38.borderRadius,
10445
- optionColor = _ref38.optionColor,
10446
- optionFontSize = _ref38.optionFontSize,
10447
- optionFontWeight = _ref38.optionFontWeight,
10448
- optionBackgroundColor = _ref38.optionBackgroundColor,
10449
- menuBackground = _ref38.menuBackground,
10450
- optionsBorderRadius = _ref38.optionsBorderRadius,
10451
- color = _ref38.color,
10452
- required = _ref38.required,
10453
- _ref38$NoOptionsText = _ref38.NoOptionsText,
10454
- NoOptionsText = _ref38$NoOptionsText === void 0 ? 'No Options Available' : _ref38$NoOptionsText,
10455
- positionRef = _ref38.positionRef,
10456
- fontStyle = _ref38.fontStyle,
10457
- icon = _ref38.icon,
10458
- _ref38$searchBox = _ref38.searchBox,
10459
- searchBox = _ref38$searchBox === void 0 ? true : _ref38$searchBox,
10460
- searchBoxBackground = _ref38.searchBoxBackground,
10461
- searchBoxBorder = _ref38.searchBoxBorder,
10462
- searchBoxBorderRadius = _ref38.searchBoxBorderRadius,
10463
- searchIcon = _ref38.searchIcon,
10464
- _ref38$placeholderTex = _ref38.placeholderText,
10465
- placeholderText = _ref38$placeholderTex === void 0 ? 'Search...' : _ref38$placeholderTex,
10466
- iconColor = _ref38.iconColor,
10467
- placeholderColor = _ref38.placeholderColor,
10468
- inputColor = _ref38.inputColor,
10469
- _ref38$iconSize = _ref38.iconSize,
10470
- iconSize = _ref38$iconSize === void 0 ? 16 : _ref38$iconSize,
10471
- _ref38$allowDeselect = _ref38.allowDeselect,
10472
- allowDeselect = _ref38$allowDeselect === void 0 ? true : _ref38$allowDeselect,
10473
- titleRightNode = _ref38.titleRightNode,
10474
- _ref38$dropDownPositi = _ref38.dropDownPosition,
10475
- dropDownPosition = _ref38$dropDownPositi === void 0 ? 'left' : _ref38$dropDownPositi,
10476
- _ref38$allowCustomVal = _ref38.allowCustomValue,
10477
- allowCustomValue = _ref38$allowCustomVal === void 0 ? false : _ref38$allowCustomVal,
10478
- _ref38$loading = _ref38.loading,
10479
- loading = _ref38$loading === void 0 ? false : _ref38$loading,
10480
- _ref38$loadingText = _ref38.loadingText,
10481
- loadingText = _ref38$loadingText === void 0 ? 'Loading...' : _ref38$loadingText;
10433
+ var SelectOption = function SelectOption(_ref39) {
10434
+ var title = _ref39.title,
10435
+ titlecolor = _ref39.titlecolor,
10436
+ titleWeight = _ref39.titleWeight,
10437
+ options = _ref39.options,
10438
+ value = _ref39.value,
10439
+ onChange = _ref39.onChange,
10440
+ _ref39$disabled = _ref39.disabled,
10441
+ disabled = _ref39$disabled === void 0 ? false : _ref39$disabled,
10442
+ size = _ref39.size,
10443
+ width = _ref39.width,
10444
+ _ref39$labelText = _ref39.labelText,
10445
+ labelText = _ref39$labelText === void 0 ? 'Select' : _ref39$labelText,
10446
+ border = _ref39.border,
10447
+ background = _ref39.background,
10448
+ _ref39$padding = _ref39.padding,
10449
+ padding = _ref39$padding === void 0 ? '0px' : _ref39$padding,
10450
+ borderRadius = _ref39.borderRadius,
10451
+ optionColor = _ref39.optionColor,
10452
+ optionFontSize = _ref39.optionFontSize,
10453
+ optionFontWeight = _ref39.optionFontWeight,
10454
+ optionBackgroundColor = _ref39.optionBackgroundColor,
10455
+ menuBackground = _ref39.menuBackground,
10456
+ optionsBorderRadius = _ref39.optionsBorderRadius,
10457
+ color = _ref39.color,
10458
+ required = _ref39.required,
10459
+ _ref39$NoOptionsText = _ref39.NoOptionsText,
10460
+ NoOptionsText = _ref39$NoOptionsText === void 0 ? 'No Options Available' : _ref39$NoOptionsText,
10461
+ positionRef = _ref39.positionRef,
10462
+ fontStyle = _ref39.fontStyle,
10463
+ icon = _ref39.icon,
10464
+ _ref39$searchBox = _ref39.searchBox,
10465
+ searchBox = _ref39$searchBox === void 0 ? true : _ref39$searchBox,
10466
+ searchBoxBackground = _ref39.searchBoxBackground,
10467
+ searchBoxBorder = _ref39.searchBoxBorder,
10468
+ searchBoxBorderRadius = _ref39.searchBoxBorderRadius,
10469
+ searchIcon = _ref39.searchIcon,
10470
+ _ref39$placeholderTex = _ref39.placeholderText,
10471
+ placeholderText = _ref39$placeholderTex === void 0 ? 'Search...' : _ref39$placeholderTex,
10472
+ iconColor = _ref39.iconColor,
10473
+ placeholderColor = _ref39.placeholderColor,
10474
+ inputColor = _ref39.inputColor,
10475
+ _ref39$iconSize = _ref39.iconSize,
10476
+ iconSize = _ref39$iconSize === void 0 ? 16 : _ref39$iconSize,
10477
+ _ref39$allowDeselect = _ref39.allowDeselect,
10478
+ allowDeselect = _ref39$allowDeselect === void 0 ? true : _ref39$allowDeselect,
10479
+ titleRightNode = _ref39.titleRightNode,
10480
+ _ref39$dropDownPositi = _ref39.dropDownPosition,
10481
+ dropDownPosition = _ref39$dropDownPositi === void 0 ? 'left' : _ref39$dropDownPositi,
10482
+ _ref39$allowCustomVal = _ref39.allowCustomValue,
10483
+ allowCustomValue = _ref39$allowCustomVal === void 0 ? false : _ref39$allowCustomVal,
10484
+ _ref39$loading = _ref39.loading,
10485
+ loading = _ref39$loading === void 0 ? false : _ref39$loading,
10486
+ _ref39$loadingText = _ref39.loadingText,
10487
+ loadingText = _ref39$loadingText === void 0 ? 'Loading...' : _ref39$loadingText;
10482
10488
  var themeColors = useTheme();
10483
10489
  var _useState = useState(false),
10484
10490
  dropUp = _useState[0],