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.
package/dist/index.js CHANGED
@@ -9563,7 +9563,7 @@ var DropdownContainer = styled__default.div(_templateObject$b || (_templateObjec
9563
9563
  var $hasTitle = _ref4.$hasTitle;
9564
9564
  return $hasTitle ? 'calc(100% - 22px)' : '100%';
9565
9565
  });
9566
- var DropdownButton = styled__default.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) {
9566
+ var DropdownButton = styled__default.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) {
9567
9567
  var $replaceLabel = _ref5.$replaceLabel,
9568
9568
  $showAllSelected = _ref5.$showAllSelected;
9569
9569
  return $replaceLabel ? $showAllSelected ? 'auto' : 'hidden' : '';
@@ -9596,12 +9596,15 @@ var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2
9596
9596
  var $borderRadius = _ref11.$borderRadius;
9597
9597
  return $borderRadius || '8px';
9598
9598
  }, function (_ref12) {
9599
- var $disabled = _ref12.$disabled;
9600
- return $disabled ? 'not-allowed' : 'pointer';
9599
+ var theme = _ref12.theme;
9600
+ return theme.vms.text.dark;
9601
9601
  }, function (_ref13) {
9602
- var $background = _ref13.$background,
9603
- $disabled = _ref13.$disabled,
9604
- theme = _ref13.theme;
9602
+ var $disabled = _ref13.$disabled;
9603
+ return $disabled ? 'not-allowed' : 'pointer';
9604
+ }, function (_ref14) {
9605
+ var $background = _ref14.$background,
9606
+ $disabled = _ref14.$disabled,
9607
+ theme = _ref14.theme;
9605
9608
  switch ($background) {
9606
9609
  case 'dark':
9607
9610
  return $disabled ? theme.vms.disabled.secondary : theme.vms.text.dark;
@@ -9622,12 +9625,12 @@ var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2
9622
9625
  default:
9623
9626
  return $disabled ? theme.vms.disabled.secondary : $background;
9624
9627
  }
9625
- }, function (_ref14) {
9626
- var $color = _ref14.$color,
9627
- theme = _ref14.theme;
9628
- return $color || theme.vms.text.medium;
9629
9628
  }, function (_ref15) {
9630
- var $size = _ref15.$size;
9629
+ var $color = _ref15.$color,
9630
+ theme = _ref15.theme;
9631
+ return $color || theme.vms.text.medium;
9632
+ }, function (_ref16) {
9633
+ var $size = _ref16.$size;
9631
9634
  switch ($size) {
9632
9635
  case 'small':
9633
9636
  return '12px';
@@ -9636,8 +9639,8 @@ var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2
9636
9639
  default:
9637
9640
  return '14px';
9638
9641
  }
9639
- }, function (_ref16) {
9640
- var $size = _ref16.$size;
9642
+ }, function (_ref17) {
9643
+ var $size = _ref17.$size;
9641
9644
  switch ($size) {
9642
9645
  case 'small':
9643
9646
  return '12px';
@@ -9647,20 +9650,20 @@ var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2
9647
9650
  return '14px';
9648
9651
  }
9649
9652
  });
9650
- var TitleText = styled__default.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) {
9651
- var $titleWeight = _ref17.$titleWeight;
9653
+ var TitleText = styled__default.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) {
9654
+ var $titleWeight = _ref18.$titleWeight;
9652
9655
  return $titleWeight != null ? $titleWeight : '500';
9653
- }, function (_ref18) {
9654
- var $titleSize = _ref18.$titleSize,
9655
- $size = _ref18.$size;
9656
- return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
9657
9656
  }, function (_ref19) {
9658
9657
  var $titleSize = _ref19.$titleSize,
9659
9658
  $size = _ref19.$size;
9660
9659
  return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
9661
9660
  }, function (_ref20) {
9662
- var $titleColor = _ref20.$titleColor,
9663
- theme = _ref20.theme;
9661
+ var $titleSize = _ref20.$titleSize,
9662
+ $size = _ref20.$size;
9663
+ return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
9664
+ }, function (_ref21) {
9665
+ var $titleColor = _ref21.$titleColor,
9666
+ theme = _ref21.theme;
9664
9667
  switch ($titleColor) {
9665
9668
  case 'dark':
9666
9669
  return theme.vms.text.dark;
@@ -9683,29 +9686,29 @@ var TitleText = styled__default.div(_templateObject3$5 || (_templateObject3$5 =
9683
9686
  }
9684
9687
  });
9685
9688
  var Container$2 = styled__default.div(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n height: 100%;\n"])));
9686
- var LabelText = styled__default.div(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (_ref21) {
9687
- var $labelStyle = _ref21.$labelStyle;
9689
+ var LabelText = styled__default.div(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (_ref22) {
9690
+ var $labelStyle = _ref22.$labelStyle;
9688
9691
  return $labelStyle;
9689
- }, function (_ref22) {
9690
- var $labelColor = _ref22.$labelColor,
9691
- theme = _ref22.theme;
9692
+ }, function (_ref23) {
9693
+ var $labelColor = _ref23.$labelColor,
9694
+ theme = _ref23.theme;
9692
9695
  return $labelColor || theme.vms.text.medium;
9693
9696
  });
9694
- var DropdownMenu = styled__default.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) {
9695
- var theme = _ref23.theme;
9697
+ var DropdownMenu = styled__default.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) {
9698
+ var theme = _ref24.theme;
9696
9699
  return "1px solid " + theme.vms.border.light;
9697
- }, function (_ref24) {
9698
- var $optionsBorderRadius = _ref24.$optionsBorderRadius;
9699
- return $optionsBorderRadius || '8px';
9700
9700
  }, function (_ref25) {
9701
- var $width = _ref25.$width;
9702
- return $width ? $width : 'max-content';
9701
+ var $optionsBorderRadius = _ref25.$optionsBorderRadius;
9702
+ return $optionsBorderRadius || '8px';
9703
9703
  }, function (_ref26) {
9704
- var $menuBackground = _ref26.$menuBackground,
9705
- theme = _ref26.theme;
9706
- return $menuBackground || theme.vms.accent.light_2;
9704
+ var $width = _ref26.$width;
9705
+ return $width ? $width : 'max-content';
9707
9706
  }, function (_ref27) {
9708
- var $position = _ref27.$position;
9707
+ var $menuBackground = _ref27.$menuBackground,
9708
+ theme = _ref27.theme;
9709
+ return $menuBackground || theme.vms.accent.light_2;
9710
+ }, function (_ref28) {
9711
+ var $position = _ref28.$position;
9709
9712
  switch ($position) {
9710
9713
  case 'topLeft':
9711
9714
  return "\n bottom: calc(100% + 8px);\n left: 0;\n top: auto;\n ";
@@ -9724,10 +9727,10 @@ var DropdownMenu = styled__default.div(_templateObject6$4 || (_templateObject6$4
9724
9727
  }
9725
9728
  });
9726
9729
  var SelectedOptionsWrapper = styled__default.div(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n height: 100%;\n"])));
9727
- var SelectedOptionDiv = styled__default.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) {
9728
- var $selectedOptionBackground = _ref28.$selectedOptionBackground,
9729
- $disabled = _ref28.$disabled,
9730
- theme = _ref28.theme;
9730
+ var SelectedOptionDiv = styled__default.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) {
9731
+ var $selectedOptionBackground = _ref29.$selectedOptionBackground,
9732
+ $disabled = _ref29.$disabled,
9733
+ theme = _ref29.theme;
9731
9734
  switch ($selectedOptionBackground) {
9732
9735
  case 'dark':
9733
9736
  return theme.vms.text.dark;
@@ -9748,9 +9751,9 @@ var SelectedOptionDiv = styled__default.div(_templateObject8$2 || (_templateObje
9748
9751
  default:
9749
9752
  return $selectedOptionBackground || theme.vms.accent.light_2;
9750
9753
  }
9751
- }, function (_ref29) {
9752
- var $selectedOptionColor = _ref29.$selectedOptionColor,
9753
- theme = _ref29.theme;
9754
+ }, function (_ref30) {
9755
+ var $selectedOptionColor = _ref30.$selectedOptionColor,
9756
+ theme = _ref30.theme;
9754
9757
  switch ($selectedOptionColor) {
9755
9758
  case 'dark':
9756
9759
  return theme.vms.text.dark;
@@ -9772,26 +9775,26 @@ var SelectedOptionDiv = styled__default.div(_templateObject8$2 || (_templateObje
9772
9775
  return $selectedOptionColor;
9773
9776
  }
9774
9777
  });
9775
- var RemoveIcon = styled__default.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) {
9776
- var $disabled = _ref30.$disabled;
9778
+ var RemoveIcon = styled__default.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) {
9779
+ var $disabled = _ref31.$disabled;
9777
9780
  return $disabled ? 'not-allowed' : 'pointer';
9778
- }, function (_ref31) {
9779
- var removeIconBackground = _ref31.removeIconBackground,
9780
- $type = _ref31.$type,
9781
- theme = _ref31.theme;
9782
- return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : theme.vms.disabled.primary;
9783
9781
  }, function (_ref32) {
9784
- var $disabled = _ref32.$disabled;
9782
+ var removeIconBackground = _ref32.removeIconBackground,
9783
+ $type = _ref32.$type,
9784
+ theme = _ref32.theme;
9785
+ return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : theme.vms.disabled.primary;
9786
+ }, function (_ref33) {
9787
+ var $disabled = _ref33.$disabled;
9785
9788
  return $disabled ? 'not-allowed' : 'pointer';
9786
9789
  });
9787
9790
  var TextWrapper = styled__default.div(_templateObject10$1 || (_templateObject10$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 4px;\n"])));
9788
9791
  var ChipArea = styled__default.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"])));
9789
9792
  var MeasureLayer = styled__default.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"])));
9790
9793
  var SingleLineRow = styled__default.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"])));
9791
- var OverflowCountBadge = styled__default.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) {
9792
- var $selectedOptionBackground = _ref33.$selectedOptionBackground,
9793
- $disabled = _ref33.$disabled,
9794
- theme = _ref33.theme;
9794
+ var OverflowCountBadge = styled__default.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) {
9795
+ var $selectedOptionBackground = _ref34.$selectedOptionBackground,
9796
+ $disabled = _ref34.$disabled,
9797
+ theme = _ref34.theme;
9795
9798
  switch ($selectedOptionBackground) {
9796
9799
  case 'dark':
9797
9800
  return theme.vms.text.dark;
@@ -9812,9 +9815,9 @@ var OverflowCountBadge = styled__default.div(_templateObject14$1 || (_templateOb
9812
9815
  default:
9813
9816
  return $selectedOptionBackground || theme.vms.accent.light_2;
9814
9817
  }
9815
- }, function (_ref34) {
9816
- var $selectedOptionColor = _ref34.$selectedOptionColor,
9817
- theme = _ref34.theme;
9818
+ }, function (_ref35) {
9819
+ var $selectedOptionColor = _ref35.$selectedOptionColor,
9820
+ theme = _ref35.theme;
9818
9821
  switch ($selectedOptionColor) {
9819
9822
  case 'dark':
9820
9823
  return theme.vms.text.dark;
@@ -9836,66 +9839,66 @@ var OverflowCountBadge = styled__default.div(_templateObject14$1 || (_templateOb
9836
9839
  return $selectedOptionColor || theme.vms.text.medium;
9837
9840
  }
9838
9841
  });
9839
- var Asterisk = styled__default.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) {
9840
- var theme = _ref35.theme;
9842
+ var Asterisk = styled__default.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) {
9843
+ var theme = _ref36.theme;
9841
9844
  return theme.vms["default"].error;
9842
9845
  });
9843
- var MultiSelectDropdown = function MultiSelectDropdown(_ref36) {
9844
- var title = _ref36.title,
9845
- titleWeight = _ref36.titleWeight,
9846
- titleSize = _ref36.titleSize,
9847
- titleColor = _ref36.titleColor,
9848
- _ref36$labelText = _ref36.labelText,
9849
- labelText = _ref36$labelText === void 0 ? 'Select Cameras' : _ref36$labelText,
9850
- labelStyle = _ref36.labelStyle,
9851
- labelColor = _ref36.labelColor,
9852
- _ref36$replaceLabel = _ref36.replaceLabel,
9853
- replaceLabel = _ref36$replaceLabel === void 0 ? true : _ref36$replaceLabel,
9854
- options = _ref36.options,
9855
- width = _ref36.width,
9856
- optionWidth = _ref36.optionWidth,
9857
- height = _ref36.height,
9858
- placeholder = _ref36.placeholder,
9859
- border = _ref36.border,
9860
- background = _ref36.background,
9861
- selectedOptionBackground = _ref36.selectedOptionBackground,
9862
- selectedOptionColor = _ref36.selectedOptionColor,
9863
- menuBackground = _ref36.menuBackground,
9864
- optionsBorderRadius = _ref36.optionsBorderRadius,
9865
- borderRadius = _ref36.borderRadius,
9866
- removeIconBackground = _ref36.removeIconBackground,
9867
- handleSelectChange = _ref36.handleSelectChange,
9868
- selectedOptions = _ref36.selectedOptions,
9869
- placeholderColor = _ref36.placeholderColor,
9870
- optionBorder = _ref36.optionBorder,
9871
- optionColor = _ref36.optionColor,
9872
- searchIcon = _ref36.searchIcon,
9873
- searchbarTextColor = _ref36.searchbarTextColor,
9874
- searchBoxBackground = _ref36.searchBoxBackground,
9875
- searchBoxBorder = _ref36.searchBoxBorder,
9876
- searchBoxBorderRadius = _ref36.searchBoxBorderRadius,
9877
- size = _ref36.size,
9878
- removeIcon = _ref36.removeIcon,
9879
- type = _ref36.type,
9880
- icon = _ref36.icon,
9881
- _ref36$disabled = _ref36.disabled,
9882
- disabled = _ref36$disabled === void 0 ? false : _ref36$disabled,
9883
- _ref36$required = _ref36.required,
9884
- required = _ref36$required === void 0 ? false : _ref36$required,
9885
- _ref36$searchBox = _ref36.searchBox,
9886
- searchBox = _ref36$searchBox === void 0 ? true : _ref36$searchBox,
9887
- _ref36$searchBoxTextL = _ref36.searchBoxTextLength,
9888
- searchBoxTextLength = _ref36$searchBoxTextL === void 0 ? 50 : _ref36$searchBoxTextL,
9889
- _ref36$NoOptionsText = _ref36.NoOptionsText,
9890
- NoOptionsText = _ref36$NoOptionsText === void 0 ? 'No Options Available' : _ref36$NoOptionsText,
9891
- _ref36$selectAllOptio = _ref36.selectAllOption,
9892
- selectAllOption = _ref36$selectAllOptio === void 0 ? false : _ref36$selectAllOptio,
9893
- _ref36$selectAllLabel = _ref36.selectAllLabel,
9894
- selectAllLabel = _ref36$selectAllLabel === void 0 ? 'Select All' : _ref36$selectAllLabel,
9895
- selectAllChecked = _ref36.selectAllChecked,
9896
- dropdownPosition = _ref36.dropdownPosition,
9897
- _ref36$showAllSelecte = _ref36.showAllSelected,
9898
- showAllSelected = _ref36$showAllSelecte === void 0 ? false : _ref36$showAllSelecte;
9846
+ var MultiSelectDropdown = function MultiSelectDropdown(_ref37) {
9847
+ var title = _ref37.title,
9848
+ titleWeight = _ref37.titleWeight,
9849
+ titleSize = _ref37.titleSize,
9850
+ titleColor = _ref37.titleColor,
9851
+ _ref37$labelText = _ref37.labelText,
9852
+ labelText = _ref37$labelText === void 0 ? 'Select Cameras' : _ref37$labelText,
9853
+ labelStyle = _ref37.labelStyle,
9854
+ labelColor = _ref37.labelColor,
9855
+ _ref37$replaceLabel = _ref37.replaceLabel,
9856
+ replaceLabel = _ref37$replaceLabel === void 0 ? true : _ref37$replaceLabel,
9857
+ options = _ref37.options,
9858
+ width = _ref37.width,
9859
+ optionWidth = _ref37.optionWidth,
9860
+ height = _ref37.height,
9861
+ placeholder = _ref37.placeholder,
9862
+ border = _ref37.border,
9863
+ background = _ref37.background,
9864
+ selectedOptionBackground = _ref37.selectedOptionBackground,
9865
+ selectedOptionColor = _ref37.selectedOptionColor,
9866
+ menuBackground = _ref37.menuBackground,
9867
+ optionsBorderRadius = _ref37.optionsBorderRadius,
9868
+ borderRadius = _ref37.borderRadius,
9869
+ removeIconBackground = _ref37.removeIconBackground,
9870
+ handleSelectChange = _ref37.handleSelectChange,
9871
+ selectedOptions = _ref37.selectedOptions,
9872
+ placeholderColor = _ref37.placeholderColor,
9873
+ optionBorder = _ref37.optionBorder,
9874
+ optionColor = _ref37.optionColor,
9875
+ searchIcon = _ref37.searchIcon,
9876
+ searchbarTextColor = _ref37.searchbarTextColor,
9877
+ searchBoxBackground = _ref37.searchBoxBackground,
9878
+ searchBoxBorder = _ref37.searchBoxBorder,
9879
+ searchBoxBorderRadius = _ref37.searchBoxBorderRadius,
9880
+ size = _ref37.size,
9881
+ removeIcon = _ref37.removeIcon,
9882
+ type = _ref37.type,
9883
+ icon = _ref37.icon,
9884
+ _ref37$disabled = _ref37.disabled,
9885
+ disabled = _ref37$disabled === void 0 ? false : _ref37$disabled,
9886
+ _ref37$required = _ref37.required,
9887
+ required = _ref37$required === void 0 ? false : _ref37$required,
9888
+ _ref37$searchBox = _ref37.searchBox,
9889
+ searchBox = _ref37$searchBox === void 0 ? true : _ref37$searchBox,
9890
+ _ref37$searchBoxTextL = _ref37.searchBoxTextLength,
9891
+ searchBoxTextLength = _ref37$searchBoxTextL === void 0 ? 50 : _ref37$searchBoxTextL,
9892
+ _ref37$NoOptionsText = _ref37.NoOptionsText,
9893
+ NoOptionsText = _ref37$NoOptionsText === void 0 ? 'No Options Available' : _ref37$NoOptionsText,
9894
+ _ref37$selectAllOptio = _ref37.selectAllOption,
9895
+ selectAllOption = _ref37$selectAllOptio === void 0 ? false : _ref37$selectAllOptio,
9896
+ _ref37$selectAllLabel = _ref37.selectAllLabel,
9897
+ selectAllLabel = _ref37$selectAllLabel === void 0 ? 'Select All' : _ref37$selectAllLabel,
9898
+ selectAllChecked = _ref37.selectAllChecked,
9899
+ dropdownPosition = _ref37.dropdownPosition,
9900
+ _ref37$showAllSelecte = _ref37.showAllSelected,
9901
+ showAllSelected = _ref37$showAllSelecte === void 0 ? false : _ref37$showAllSelecte;
9899
9902
  var themeColors = useTheme();
9900
9903
  var _useState = React.useState(false),
9901
9904
  dropUp = _useState[0],
@@ -10246,7 +10249,7 @@ var DropdownContainer$1 = styled__default.div(_templateObject2$9 || (_templateOb
10246
10249
  var $width = _ref4.$width;
10247
10250
  return $width || '100%';
10248
10251
  });
10249
- var DropdownButton$1 = styled__default.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) {
10252
+ var DropdownButton$1 = styled__default.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) {
10250
10253
  var $disabled = _ref5.$disabled;
10251
10254
  return $disabled ? 'not-allowed' : 'pointer';
10252
10255
  }, function (_ref6) {
@@ -10274,12 +10277,15 @@ var DropdownButton$1 = styled__default.div(_templateObject3$6 || (_templateObjec
10274
10277
  return '9.5px 12px';
10275
10278
  }
10276
10279
  }, function (_ref11) {
10277
- var $background = _ref11.$background,
10278
- $disabled = _ref11.$disabled,
10279
- theme = _ref11.theme;
10280
- return $disabled ? theme.vms.border.light : $background || theme.vms.accent.light_2;
10280
+ var theme = _ref11.theme;
10281
+ return theme.vms.text.dark;
10281
10282
  }, function (_ref12) {
10282
- var $size = _ref12.$size;
10283
+ var $background = _ref12.$background,
10284
+ $disabled = _ref12.$disabled,
10285
+ theme = _ref12.theme;
10286
+ return $disabled ? theme.vms.border.light : $background || theme.vms.accent.light_2;
10287
+ }, function (_ref13) {
10288
+ var $size = _ref13.$size;
10283
10289
  switch ($size) {
10284
10290
  case 'small':
10285
10291
  return '12px';
@@ -10288,8 +10294,8 @@ var DropdownButton$1 = styled__default.div(_templateObject3$6 || (_templateObjec
10288
10294
  default:
10289
10295
  return '14px';
10290
10296
  }
10291
- }, function (_ref13) {
10292
- var $size = _ref13.$size;
10297
+ }, function (_ref14) {
10298
+ var $size = _ref14.$size;
10293
10299
  switch ($size) {
10294
10300
  case 'small':
10295
10301
  return '12px';
@@ -10299,33 +10305,33 @@ var DropdownButton$1 = styled__default.div(_templateObject3$6 || (_templateObjec
10299
10305
  return '14px';
10300
10306
  }
10301
10307
  });
10302
- var Options = styled__default.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) {
10303
- var $optionColor = _ref14.$optionColor,
10304
- $optionSelected = _ref14.$optionSelected,
10305
- $isHighlighted = _ref14.$isHighlighted,
10306
- theme = _ref14.theme;
10308
+ var Options = styled__default.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) {
10309
+ var $optionColor = _ref15.$optionColor,
10310
+ $optionSelected = _ref15.$optionSelected,
10311
+ $isHighlighted = _ref15.$isHighlighted,
10312
+ theme = _ref15.theme;
10307
10313
  return $optionSelected || $isHighlighted ? theme.vms.text.white : $optionColor || theme.vms.text.medium;
10308
- }, function (_ref15) {
10309
- var $optionFontSize = _ref15.$optionFontSize;
10310
- return $optionFontSize || '14px';
10311
10314
  }, function (_ref16) {
10312
- var $optionFontWeight = _ref16.$optionFontWeight;
10313
- return $optionFontWeight || 400;
10315
+ var $optionFontSize = _ref16.$optionFontSize;
10316
+ return $optionFontSize || '14px';
10314
10317
  }, function (_ref17) {
10315
- var $optionBackgroundColor = _ref17.$optionBackgroundColor,
10316
- $optionSelected = _ref17.$optionSelected,
10317
- $isHighlighted = _ref17.$isHighlighted,
10318
- theme = _ref17.theme;
10319
- return $optionSelected ? theme.vms["default"].primary : $isHighlighted ? theme.vms.hover.primary : $optionBackgroundColor || theme.vms["default"].tertiary;
10318
+ var $optionFontWeight = _ref17.$optionFontWeight;
10319
+ return $optionFontWeight || 400;
10320
10320
  }, function (_ref18) {
10321
- var theme = _ref18.theme;
10322
- return theme.vms.hover.primary;
10321
+ var $optionBackgroundColor = _ref18.$optionBackgroundColor,
10322
+ $optionSelected = _ref18.$optionSelected,
10323
+ $isHighlighted = _ref18.$isHighlighted,
10324
+ theme = _ref18.theme;
10325
+ return $optionSelected ? theme.vms["default"].primary : $isHighlighted ? theme.vms.hover.primary : $optionBackgroundColor || theme.vms["default"].tertiary;
10323
10326
  }, function (_ref19) {
10324
10327
  var theme = _ref19.theme;
10328
+ return theme.vms.hover.primary;
10329
+ }, function (_ref20) {
10330
+ var theme = _ref20.theme;
10325
10331
  return theme.vms.text.white;
10326
10332
  });
10327
- 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) {
10328
- var $size = _ref20.$size;
10333
+ 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 (_ref21) {
10334
+ var $size = _ref21.$size;
10329
10335
  switch ($size) {
10330
10336
  case 'small':
10331
10337
  return '14px';
@@ -10334,8 +10340,8 @@ var LabelText$1 = styled__default.div(_templateObject5$5 || (_templateObject5$5
10334
10340
  default:
10335
10341
  return '14px';
10336
10342
  }
10337
- }, function (_ref21) {
10338
- var $size = _ref21.$size;
10343
+ }, function (_ref22) {
10344
+ var $size = _ref22.$size;
10339
10345
  switch ($size) {
10340
10346
  case 'small':
10341
10347
  return 'normal';
@@ -10344,40 +10350,40 @@ var LabelText$1 = styled__default.div(_templateObject5$5 || (_templateObject5$5
10344
10350
  default:
10345
10351
  return 'normal';
10346
10352
  }
10347
- }, function (_ref22) {
10348
- var $fontStyle = _ref22.$fontStyle;
10349
- return $fontStyle || '';
10350
10353
  }, function (_ref23) {
10351
- var $color = _ref23.$color,
10352
- $disabled = _ref23.$disabled,
10353
- theme = _ref23.theme;
10354
+ var $fontStyle = _ref23.$fontStyle;
10355
+ return $fontStyle || '';
10356
+ }, function (_ref24) {
10357
+ var $color = _ref24.$color,
10358
+ $disabled = _ref24.$disabled,
10359
+ theme = _ref24.theme;
10354
10360
  return $disabled ? theme.vms.text.medium : $color || theme.vms.text.medium;
10355
10361
  });
10356
10362
  var NoOptions = styled__default(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"])));
10357
- var DropdownMenu$1 = styled__default.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) {
10358
- var theme = _ref24.theme;
10363
+ var DropdownMenu$1 = styled__default.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) {
10364
+ var theme = _ref25.theme;
10359
10365
  return "1px solid " + theme.vms.border.light;
10360
- }, function (_ref25) {
10361
- var $optionsBorderRadius = _ref25.$optionsBorderRadius;
10362
- return $optionsBorderRadius || '8px';
10363
10366
  }, function (_ref26) {
10364
- var $width = _ref26.$width;
10365
- return $width ? $width : '100%';
10367
+ var $optionsBorderRadius = _ref26.$optionsBorderRadius;
10368
+ return $optionsBorderRadius || '8px';
10366
10369
  }, function (_ref27) {
10367
10370
  var $width = _ref27.$width;
10368
10371
  return $width ? $width : '100%';
10369
10372
  }, function (_ref28) {
10370
- var $menuBackground = _ref28.$menuBackground,
10371
- theme = _ref28.theme;
10372
- return $menuBackground || theme.vms.accent.light_2;
10373
+ var $width = _ref28.$width;
10374
+ return $width ? $width : '100%';
10373
10375
  }, function (_ref29) {
10374
- var $top = _ref29.$top;
10375
- return $top && "top: " + $top + ";";
10376
+ var $menuBackground = _ref29.$menuBackground,
10377
+ theme = _ref29.theme;
10378
+ return $menuBackground || theme.vms.accent.light_2;
10376
10379
  }, function (_ref30) {
10377
- var $bottom = _ref30.$bottom;
10378
- return $bottom && "bottom: " + $bottom + ";";
10380
+ var $top = _ref30.$top;
10381
+ return $top && "top: " + $top + ";";
10379
10382
  }, function (_ref31) {
10380
- var $dropDownPosition = _ref31.$dropDownPosition;
10383
+ var $bottom = _ref31.$bottom;
10384
+ return $bottom && "bottom: " + $bottom + ";";
10385
+ }, function (_ref32) {
10386
+ var $dropDownPosition = _ref32.$dropDownPosition;
10381
10387
  switch ($dropDownPosition) {
10382
10388
  case 'center':
10383
10389
  return "\n left: 50%;\n transform: translateX(-50%);\n ";
@@ -10388,27 +10394,27 @@ var DropdownMenu$1 = styled__default.div(_templateObject7$3 || (_templateObject7
10388
10394
  }
10389
10395
  });
10390
10396
  var OptionsWrapper = styled__default.div(_templateObject8$3 || (_templateObject8$3 = _taggedTemplateLiteralLoose(["\n max-height: 150px; \n overflow-y: auto;\n scrollbar-width: thin;\n width: 100%;\n"])));
10391
- var SearchContainer$1 = styled__default.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) {
10392
- var $background = _ref32.$background,
10393
- theme = _ref32.theme;
10397
+ var SearchContainer$1 = styled__default.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) {
10398
+ var $background = _ref33.$background,
10399
+ theme = _ref33.theme;
10394
10400
  return $background || theme.vms.accent.light_2;
10395
- }, function (_ref33) {
10396
- var $border = _ref33.$border;
10397
- return $border || 'none';
10398
10401
  }, function (_ref34) {
10399
- var theme = _ref34.theme;
10400
- return "1px solid " + theme.vms.border.light;
10402
+ var $border = _ref34.$border;
10403
+ return $border || 'none';
10401
10404
  }, function (_ref35) {
10402
- var $borderRadius = _ref35.$borderRadius;
10405
+ var theme = _ref35.theme;
10406
+ return "1px solid " + theme.vms.border.light;
10407
+ }, function (_ref36) {
10408
+ var $borderRadius = _ref36.$borderRadius;
10403
10409
  return $borderRadius || '8px 8px 0 0';
10404
10410
  });
10405
- var SearchBar$1 = styled__default.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) {
10406
- var $inputColor = _ref36.$inputColor,
10407
- theme = _ref36.theme;
10408
- return $inputColor || theme.vms.text.medium;
10409
- }, function (_ref37) {
10410
- var $placeholderColor = _ref37.$placeholderColor,
10411
+ var SearchBar$1 = styled__default.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) {
10412
+ var $inputColor = _ref37.$inputColor,
10411
10413
  theme = _ref37.theme;
10414
+ return $inputColor || theme.vms.text.medium;
10415
+ }, function (_ref38) {
10416
+ var $placeholderColor = _ref38.$placeholderColor,
10417
+ theme = _ref38.theme;
10412
10418
  return $placeholderColor || theme.vms.text.light;
10413
10419
  });
10414
10420
  var getClippingBoundary = function getClippingBoundary(element) {
@@ -10429,61 +10435,61 @@ var getClippingBoundary = function getClippingBoundary(element) {
10429
10435
  bottom: bottom
10430
10436
  };
10431
10437
  };
10432
- var SelectOption = function SelectOption(_ref38) {
10433
- var title = _ref38.title,
10434
- titlecolor = _ref38.titlecolor,
10435
- titleWeight = _ref38.titleWeight,
10436
- options = _ref38.options,
10437
- value = _ref38.value,
10438
- onChange = _ref38.onChange,
10439
- _ref38$disabled = _ref38.disabled,
10440
- disabled = _ref38$disabled === void 0 ? false : _ref38$disabled,
10441
- size = _ref38.size,
10442
- width = _ref38.width,
10443
- _ref38$labelText = _ref38.labelText,
10444
- labelText = _ref38$labelText === void 0 ? 'Select' : _ref38$labelText,
10445
- border = _ref38.border,
10446
- background = _ref38.background,
10447
- _ref38$padding = _ref38.padding,
10448
- padding = _ref38$padding === void 0 ? '0px' : _ref38$padding,
10449
- borderRadius = _ref38.borderRadius,
10450
- optionColor = _ref38.optionColor,
10451
- optionFontSize = _ref38.optionFontSize,
10452
- optionFontWeight = _ref38.optionFontWeight,
10453
- optionBackgroundColor = _ref38.optionBackgroundColor,
10454
- menuBackground = _ref38.menuBackground,
10455
- optionsBorderRadius = _ref38.optionsBorderRadius,
10456
- color = _ref38.color,
10457
- required = _ref38.required,
10458
- _ref38$NoOptionsText = _ref38.NoOptionsText,
10459
- NoOptionsText = _ref38$NoOptionsText === void 0 ? 'No Options Available' : _ref38$NoOptionsText,
10460
- positionRef = _ref38.positionRef,
10461
- fontStyle = _ref38.fontStyle,
10462
- icon = _ref38.icon,
10463
- _ref38$searchBox = _ref38.searchBox,
10464
- searchBox = _ref38$searchBox === void 0 ? true : _ref38$searchBox,
10465
- searchBoxBackground = _ref38.searchBoxBackground,
10466
- searchBoxBorder = _ref38.searchBoxBorder,
10467
- searchBoxBorderRadius = _ref38.searchBoxBorderRadius,
10468
- searchIcon = _ref38.searchIcon,
10469
- _ref38$placeholderTex = _ref38.placeholderText,
10470
- placeholderText = _ref38$placeholderTex === void 0 ? 'Search...' : _ref38$placeholderTex,
10471
- iconColor = _ref38.iconColor,
10472
- placeholderColor = _ref38.placeholderColor,
10473
- inputColor = _ref38.inputColor,
10474
- _ref38$iconSize = _ref38.iconSize,
10475
- iconSize = _ref38$iconSize === void 0 ? 16 : _ref38$iconSize,
10476
- _ref38$allowDeselect = _ref38.allowDeselect,
10477
- allowDeselect = _ref38$allowDeselect === void 0 ? true : _ref38$allowDeselect,
10478
- titleRightNode = _ref38.titleRightNode,
10479
- _ref38$dropDownPositi = _ref38.dropDownPosition,
10480
- dropDownPosition = _ref38$dropDownPositi === void 0 ? 'left' : _ref38$dropDownPositi,
10481
- _ref38$allowCustomVal = _ref38.allowCustomValue,
10482
- allowCustomValue = _ref38$allowCustomVal === void 0 ? false : _ref38$allowCustomVal,
10483
- _ref38$loading = _ref38.loading,
10484
- loading = _ref38$loading === void 0 ? false : _ref38$loading,
10485
- _ref38$loadingText = _ref38.loadingText,
10486
- loadingText = _ref38$loadingText === void 0 ? 'Loading...' : _ref38$loadingText;
10438
+ var SelectOption = function SelectOption(_ref39) {
10439
+ var title = _ref39.title,
10440
+ titlecolor = _ref39.titlecolor,
10441
+ titleWeight = _ref39.titleWeight,
10442
+ options = _ref39.options,
10443
+ value = _ref39.value,
10444
+ onChange = _ref39.onChange,
10445
+ _ref39$disabled = _ref39.disabled,
10446
+ disabled = _ref39$disabled === void 0 ? false : _ref39$disabled,
10447
+ size = _ref39.size,
10448
+ width = _ref39.width,
10449
+ _ref39$labelText = _ref39.labelText,
10450
+ labelText = _ref39$labelText === void 0 ? 'Select' : _ref39$labelText,
10451
+ border = _ref39.border,
10452
+ background = _ref39.background,
10453
+ _ref39$padding = _ref39.padding,
10454
+ padding = _ref39$padding === void 0 ? '0px' : _ref39$padding,
10455
+ borderRadius = _ref39.borderRadius,
10456
+ optionColor = _ref39.optionColor,
10457
+ optionFontSize = _ref39.optionFontSize,
10458
+ optionFontWeight = _ref39.optionFontWeight,
10459
+ optionBackgroundColor = _ref39.optionBackgroundColor,
10460
+ menuBackground = _ref39.menuBackground,
10461
+ optionsBorderRadius = _ref39.optionsBorderRadius,
10462
+ color = _ref39.color,
10463
+ required = _ref39.required,
10464
+ _ref39$NoOptionsText = _ref39.NoOptionsText,
10465
+ NoOptionsText = _ref39$NoOptionsText === void 0 ? 'No Options Available' : _ref39$NoOptionsText,
10466
+ positionRef = _ref39.positionRef,
10467
+ fontStyle = _ref39.fontStyle,
10468
+ icon = _ref39.icon,
10469
+ _ref39$searchBox = _ref39.searchBox,
10470
+ searchBox = _ref39$searchBox === void 0 ? true : _ref39$searchBox,
10471
+ searchBoxBackground = _ref39.searchBoxBackground,
10472
+ searchBoxBorder = _ref39.searchBoxBorder,
10473
+ searchBoxBorderRadius = _ref39.searchBoxBorderRadius,
10474
+ searchIcon = _ref39.searchIcon,
10475
+ _ref39$placeholderTex = _ref39.placeholderText,
10476
+ placeholderText = _ref39$placeholderTex === void 0 ? 'Search...' : _ref39$placeholderTex,
10477
+ iconColor = _ref39.iconColor,
10478
+ placeholderColor = _ref39.placeholderColor,
10479
+ inputColor = _ref39.inputColor,
10480
+ _ref39$iconSize = _ref39.iconSize,
10481
+ iconSize = _ref39$iconSize === void 0 ? 16 : _ref39$iconSize,
10482
+ _ref39$allowDeselect = _ref39.allowDeselect,
10483
+ allowDeselect = _ref39$allowDeselect === void 0 ? true : _ref39$allowDeselect,
10484
+ titleRightNode = _ref39.titleRightNode,
10485
+ _ref39$dropDownPositi = _ref39.dropDownPosition,
10486
+ dropDownPosition = _ref39$dropDownPositi === void 0 ? 'left' : _ref39$dropDownPositi,
10487
+ _ref39$allowCustomVal = _ref39.allowCustomValue,
10488
+ allowCustomValue = _ref39$allowCustomVal === void 0 ? false : _ref39$allowCustomVal,
10489
+ _ref39$loading = _ref39.loading,
10490
+ loading = _ref39$loading === void 0 ? false : _ref39$loading,
10491
+ _ref39$loadingText = _ref39.loadingText,
10492
+ loadingText = _ref39$loadingText === void 0 ? 'Loading...' : _ref39$loadingText;
10487
10493
  var themeColors = useTheme();
10488
10494
  var _useState = React.useState(false),
10489
10495
  dropUp = _useState[0],