labsense-ui-kit 1.1.75 → 1.1.77

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
@@ -3261,6 +3261,23 @@ var WiFiCam = function WiFiCam(_ref) {
3261
3261
  }));
3262
3262
  };
3263
3263
 
3264
+ var WiFiLaptop = function WiFiLaptop(_ref) {
3265
+ var size = _ref.size,
3266
+ color = _ref.color,
3267
+ weight = _ref.weight;
3268
+ return React__default.createElement("svg", {
3269
+ width: size,
3270
+ height: size,
3271
+ strokeWidth: weight,
3272
+ viewBox: "0 0 30 23",
3273
+ fill: "none",
3274
+ xmlns: "http://www.w3.org/2000/svg"
3275
+ }, React__default.createElement("path", {
3276
+ d: "M1.32291 19.4919C0.900894 19.4919 0.515879 19.6654 0.256201 19.9718C-0.00347653 20.2782 -0.0963711 20.7861 0.130764 21.1972C0.561091 21.976 1.39776 22.5001 2.34907 22.5001H27.651C28.6022 22.5001 29.4416 21.9786 29.873 21.1972C30.1007 20.7847 30.0047 20.2734 29.7437 19.9681C29.4828 19.6628 29.0955 19.4919 28.6733 19.4919H14.9981H1.32291ZM1.32291 20.4996H14.9982H28.6734C28.8034 20.4996 28.9293 20.5667 28.9761 20.6213C29.0227 20.6759 29.0307 20.6443 28.995 20.7099C28.7401 21.1715 28.2337 21.4961 27.6515 21.4961H2.34941C1.76711 21.4961 1.26625 21.1745 1.00957 20.7099C0.972343 20.6424 0.979327 20.6746 1.02468 20.6213C1.06985 20.568 1.19251 20.4996 1.32291 20.4996ZM3.50066 4.4953C2.12426 4.4953 1.00179 5.62144 1.00179 6.99782V19.9976C1.00224 20.1296 1.05493 20.2561 1.14827 20.3494C1.24162 20.4428 1.36806 20.4954 1.50007 20.4959C1.56576 20.4961 1.63088 20.4835 1.69166 20.4586C1.75244 20.4336 1.80768 20.397 1.8543 20.3507C1.90091 20.3045 1.93794 20.2495 1.9633 20.1889C1.98865 20.1283 2.00183 20.0633 2.00205 19.9976V6.99782C2.00205 6.15816 2.66099 5.49558 3.50066 5.49558H4.00258C4.1346 5.49513 4.26109 5.44248 4.35444 5.34914C4.44779 5.25579 4.50047 5.12931 4.50093 4.99729C4.50119 4.93161 4.48846 4.86651 4.46356 4.80573C4.43865 4.74495 4.40204 4.68967 4.35577 4.64306C4.30949 4.59644 4.25448 4.5594 4.19388 4.53404C4.13329 4.50869 4.06827 4.49553 4.00258 4.4953H3.50066ZM26.0011 4.4953C25.9354 4.49553 25.8704 4.5087 25.8098 4.53405C25.7492 4.5594 25.6943 4.59645 25.648 4.64306C25.6017 4.68968 25.565 4.74496 25.5401 4.80574C25.5152 4.86652 25.5026 4.93161 25.5028 4.99729C25.5033 5.12931 25.5559 5.25578 25.6492 5.34913C25.7426 5.44248 25.8691 5.49512 26.0011 5.49558H26.5031C27.3428 5.49558 28.0016 6.15816 28.0016 6.99782V19.9976C28.0019 20.0633 28.015 20.1283 28.0404 20.1889C28.0657 20.2495 28.1028 20.3045 28.1494 20.3507C28.196 20.397 28.2513 20.4336 28.3121 20.4586C28.3729 20.4835 28.4379 20.4961 28.5036 20.4959C28.6356 20.4954 28.7621 20.4428 28.8555 20.3494C28.9488 20.2561 29.0014 20.1296 29.0019 19.9976V6.99782C29.0019 5.62146 27.8795 4.4953 26.5031 4.4953H26.0011ZM5.81066 4.2975C5.71775 4.39037 5.64405 4.50063 5.59376 4.62199C5.54347 4.74335 5.51757 4.87343 5.51757 5.00479C5.51757 5.13616 5.54347 5.26624 5.59376 5.3876C5.64405 5.50896 5.71775 5.61922 5.81066 5.71209C5.90353 5.805 6.01377 5.8787 6.13513 5.92899C6.25649 5.97928 6.38653 6.00516 6.5179 6.00516C6.64926 6.00516 6.77937 5.97928 6.90072 5.92899C7.02208 5.8787 7.13232 5.805 7.22519 5.71209C11.5294 1.40786 18.4763 1.40786 22.7805 5.71209C22.8734 5.805 22.9836 5.87871 23.105 5.92899C23.2263 5.97928 23.3564 6.00516 23.4878 6.00516C23.6192 6.00516 23.7492 5.97928 23.8706 5.92899C23.9919 5.87871 24.1022 5.805 24.1951 5.71209C24.288 5.61922 24.3617 5.50896 24.412 5.3876C24.4623 5.26624 24.4882 5.13616 24.4882 5.00479C24.4882 4.87343 24.4623 4.74335 24.412 4.62199C24.3617 4.50063 24.288 4.39037 24.1951 4.2975C19.1266 -0.771041 10.8792 -0.771041 5.81066 4.2975ZM8.63723 7.12407C8.54432 7.21694 8.47061 7.3272 8.42033 7.44856C8.37004 7.56992 8.34414 7.7 8.34414 7.83137C8.34414 7.96274 8.37004 8.09281 8.42033 8.21417C8.47061 8.33553 8.54432 8.4458 8.63723 8.53866C8.7301 8.63158 8.84034 8.70528 8.9617 8.75557C9.08306 8.80586 9.21316 8.83174 9.34452 8.83174C9.47589 8.83174 9.60593 8.80586 9.72729 8.75557C9.84865 8.70528 9.95895 8.63158 10.0518 8.53866C12.7939 5.79656 17.2092 5.79917 19.9513 8.54055C20.0442 8.63347 20.1545 8.70717 20.2758 8.75746C20.3972 8.80775 20.5272 8.83363 20.6586 8.83363C20.79 8.83363 20.9201 8.80775 21.0414 8.75746C21.1628 8.70717 21.2731 8.63347 21.3659 8.54055C21.4589 8.44769 21.5326 8.33743 21.5828 8.21607C21.6331 8.09471 21.659 7.96463 21.659 7.83326C21.659 7.70189 21.6331 7.57181 21.5828 7.45045C21.5326 7.32909 21.4589 7.21883 21.3659 7.12596C17.8595 3.61955 12.1436 3.61694 8.63723 7.12407ZM11.4664 9.95325C11.3735 10.0461 11.2998 10.1564 11.2495 10.2777C11.1992 10.3991 11.1733 10.5292 11.1733 10.6606C11.1733 10.7919 11.1992 10.922 11.2495 11.0434C11.2998 11.1647 11.3735 11.275 11.4664 11.3678C11.5593 11.4608 11.6695 11.5345 11.7909 11.5848C11.9122 11.635 12.0423 11.6609 12.1737 11.6609C12.3051 11.6609 12.4351 11.635 12.5565 11.5848C12.6778 11.5345 12.7881 11.4608 12.881 11.3678C14.061 10.1879 15.9422 10.1905 17.1221 11.3697C17.215 11.4626 17.3253 11.5364 17.4467 11.5866C17.568 11.6369 17.6981 11.6628 17.8294 11.6628C17.9608 11.6628 18.0909 11.6369 18.2123 11.5866C18.3336 11.5364 18.4438 11.4626 18.5367 11.3697C18.6296 11.2769 18.7033 11.1666 18.7536 11.0452C18.8039 10.9239 18.8298 10.7938 18.8298 10.6624C18.8298 10.5311 18.8039 10.401 18.7536 10.2796C18.7033 10.1583 18.6296 10.048 18.5367 9.95515C16.5924 8.01086 13.4107 8.00825 11.4664 9.95325ZM14.2956 12.7824C13.9092 13.1688 13.9092 13.8107 14.2956 14.197C14.6819 14.5834 15.3238 14.5834 15.7101 14.197C16.0965 13.8107 16.0965 13.1688 15.7101 12.7824C15.3238 12.3961 14.6819 12.3961 14.2956 12.7824Z",
3277
+ fill: color
3278
+ }));
3279
+ };
3280
+
3264
3281
  var Zapper = function Zapper(_ref) {
3265
3282
  var size = _ref.size,
3266
3283
  color = _ref.color,
@@ -3418,6 +3435,7 @@ var IconSVGs = {
3418
3435
  Wallet: Wallet,
3419
3436
  Web: Web,
3420
3437
  WiFiCam: WiFiCam,
3438
+ WiFiLaptop: WiFiLaptop,
3421
3439
  Zapper: Zapper
3422
3440
  };
3423
3441
  var Icon = function Icon(_ref2) {
@@ -4806,8 +4824,9 @@ var DropdownButton = styled__default.div(_templateObject2$7 || (_templateObject2
4806
4824
  return $height || '100%';
4807
4825
  }, function (_ref8) {
4808
4826
  var $border = _ref8.$border,
4809
- $isOpen = _ref8.$isOpen;
4810
- return $isOpen ? "1px solid " + colorVariables.text.dark : $border || "1px solid " + colorVariables.border.light;
4827
+ $isOpen = _ref8.$isOpen,
4828
+ theme = _ref8.theme;
4829
+ return $isOpen ? "1px solid " + theme.text.dark : $border || "1px solid " + theme.border.light;
4811
4830
  }, function (_ref9) {
4812
4831
  var $borderRadius = _ref9.$borderRadius;
4813
4832
  return $borderRadius || '8px';
@@ -4816,30 +4835,32 @@ var DropdownButton = styled__default.div(_templateObject2$7 || (_templateObject2
4816
4835
  return $disabled ? 'not-allowed' : 'pointer';
4817
4836
  }, function (_ref11) {
4818
4837
  var $background = _ref11.$background,
4819
- $disabled = _ref11.$disabled;
4838
+ $disabled = _ref11.$disabled,
4839
+ theme = _ref11.theme;
4820
4840
  switch ($background) {
4821
4841
  case 'dark':
4822
- return $disabled ? colorVariables.disabled.secondary : colorVariables.text.dark;
4842
+ return $disabled ? theme.disabled.secondary : theme.text.dark;
4823
4843
  case 'medium':
4824
- return $disabled ? colorVariables.disabled.secondary : colorVariables.text.medium;
4844
+ return $disabled ? theme.disabled.secondary : theme.text.medium;
4825
4845
  case 'light':
4826
- return $disabled ? colorVariables.disabled.secondary : colorVariables.text.light;
4846
+ return $disabled ? theme.disabled.secondary : theme.text.light;
4827
4847
  case 'white':
4828
- return $disabled ? colorVariables.disabled.secondary : colorVariables.text.white;
4848
+ return $disabled ? theme.disabled.secondary : theme.text.white;
4829
4849
  case 'warning':
4830
- return $disabled ? colorVariables.disabled.secondary : colorVariables["default"].warning;
4850
+ return $disabled ? theme.disabled.secondary : theme["default"].warning;
4831
4851
  case 'info':
4832
- return $disabled ? colorVariables.disabled.secondary : colorVariables["default"].info;
4852
+ return $disabled ? theme.disabled.secondary : theme["default"].info;
4833
4853
  case 'success':
4834
- return $disabled ? colorVariables.disabled.secondary : colorVariables["default"].success;
4854
+ return $disabled ? theme.disabled.secondary : theme["default"].success;
4835
4855
  case 'error':
4836
- return $disabled ? colorVariables.disabled.secondary : colorVariables["default"].error;
4856
+ return $disabled ? theme.disabled.secondary : theme["default"].error;
4837
4857
  default:
4838
- return $disabled ? colorVariables.disabled.secondary : $background;
4858
+ return $disabled ? theme.disabled.secondary : $background;
4839
4859
  }
4840
4860
  }, function (_ref12) {
4841
- var $color = _ref12.$color;
4842
- return $color || colorVariables.text.medium;
4861
+ var $color = _ref12.$color,
4862
+ theme = _ref12.theme;
4863
+ return $color || theme.text.medium;
4843
4864
  }, function (_ref13) {
4844
4865
  var $size = _ref13.$size;
4845
4866
  switch ($size) {
@@ -4873,24 +4894,25 @@ var TitleText = styled__default.div(_templateObject3$5 || (_templateObject3$5 =
4873
4894
  $size = _ref17.$size;
4874
4895
  return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
4875
4896
  }, function (_ref18) {
4876
- var $titleColor = _ref18.$titleColor;
4897
+ var $titleColor = _ref18.$titleColor,
4898
+ theme = _ref18.theme;
4877
4899
  switch ($titleColor) {
4878
4900
  case 'dark':
4879
- return colorVariables.text.dark;
4901
+ return theme.text.dark;
4880
4902
  case 'medium':
4881
- return colorVariables.text.medium;
4903
+ return theme.text.medium;
4882
4904
  case 'light':
4883
- return colorVariables.text.light;
4905
+ return theme.text.light;
4884
4906
  case 'white':
4885
- return colorVariables.text.white;
4907
+ return theme.text.white;
4886
4908
  case 'warning':
4887
- return colorVariables["default"].warning;
4909
+ return theme["default"].warning;
4888
4910
  case 'info':
4889
- return colorVariables["default"].info;
4911
+ return theme["default"].info;
4890
4912
  case 'success':
4891
- return colorVariables["default"].success;
4913
+ return theme["default"].success;
4892
4914
  case 'error':
4893
- return colorVariables["default"].error;
4915
+ return theme["default"].error;
4894
4916
  default:
4895
4917
  return $titleColor;
4896
4918
  }
@@ -4899,126 +4921,139 @@ var Container$2 = styled__default.div(_templateObject4$4 || (_templateObject4$4
4899
4921
  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 (_ref19) {
4900
4922
  var $labelStyle = _ref19.$labelStyle;
4901
4923
  return $labelStyle;
4902
- }, colorVariables.text.medium);
4903
- var DropdownMenu = styled__default.div(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteralLoose(["\n max-height: 156px;\n padding: 4px;\n box-sizing: border-box;\n border: 1px solid ", ";\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: 2;\n scrollbar-width: thin;\n"])), colorVariables.border.light, function (_ref20) {
4904
- var $optionsBorderRadius = _ref20.$optionsBorderRadius;
4924
+ }, function (_ref20) {
4925
+ var theme = _ref20.theme;
4926
+ return theme.text.medium;
4927
+ });
4928
+ 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: 2;\n scrollbar-width: thin;\n"])), function (_ref21) {
4929
+ var theme = _ref21.theme;
4930
+ return "1px solid " + theme.border.light;
4931
+ }, function (_ref22) {
4932
+ var $optionsBorderRadius = _ref22.$optionsBorderRadius;
4905
4933
  return $optionsBorderRadius || '8px';
4906
- }, function (_ref21) {
4907
- var $width = _ref21.$width;
4934
+ }, function (_ref23) {
4935
+ var $width = _ref23.$width;
4908
4936
  return $width ? $width : 'max-content';
4909
- }, function (_ref22) {
4910
- var $menuBackground = _ref22.$menuBackground;
4911
- return $menuBackground || colorVariables.accent.light_2;
4937
+ }, function (_ref24) {
4938
+ var $menuBackground = _ref24.$menuBackground,
4939
+ theme = _ref24.theme;
4940
+ return $menuBackground || theme.accent.light_2;
4912
4941
  });
4913
4942
  var SelectedOptionsWrapper = styled__default.div(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n height: 100%;\n"])));
4914
- var SelectedOptionDiv = styled__default.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n background: ", ";\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n gap: 6px;\n font-family: NotoSans, sans-serif;\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 12px;\n color: ", ";\n"])), function (_ref23) {
4915
- var $selectedOptionBackground = _ref23.$selectedOptionBackground,
4916
- $disabled = _ref23.$disabled;
4943
+ var SelectedOptionDiv = styled__default.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n background: ", ";\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n gap: 6px;\n font-family: NotoSans, sans-serif;\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 12px;\n color: ", ";\n"])), function (_ref25) {
4944
+ var $selectedOptionBackground = _ref25.$selectedOptionBackground,
4945
+ $disabled = _ref25.$disabled,
4946
+ theme = _ref25.theme;
4917
4947
  switch ($selectedOptionBackground) {
4918
4948
  case 'dark':
4919
- return colorVariables.text.dark;
4949
+ return theme.text.dark;
4920
4950
  case 'medium':
4921
- return colorVariables.text.medium;
4951
+ return theme.text.medium;
4922
4952
  case 'light':
4923
- return colorVariables.text.light;
4953
+ return theme.text.light;
4924
4954
  case 'white':
4925
- return colorVariables.text.white;
4955
+ return theme.text.white;
4926
4956
  case 'warning':
4927
- return $disabled ? colorVariables.disabled.warning : colorVariables["default"].warning;
4957
+ return $disabled ? theme.disabled.warning : theme["default"].warning;
4928
4958
  case 'info':
4929
- return $disabled ? colorVariables.disabled.info : colorVariables["default"].info;
4959
+ return $disabled ? theme.disabled.info : theme["default"].info;
4930
4960
  case 'success':
4931
- return $disabled ? colorVariables.disabled.success : colorVariables["default"].success;
4961
+ return $disabled ? theme.disabled.success : theme["default"].success;
4932
4962
  case 'error':
4933
- return $disabled ? colorVariables.disabled.error : colorVariables["default"].error;
4963
+ return $disabled ? theme.disabled.error : theme["default"].error;
4934
4964
  default:
4935
- return $selectedOptionBackground || colorVariables.accent.light_2;
4965
+ return $selectedOptionBackground || theme.accent.light_2;
4936
4966
  }
4937
- }, function (_ref24) {
4938
- var $selectedOptionColor = _ref24.$selectedOptionColor;
4967
+ }, function (_ref26) {
4968
+ var $selectedOptionColor = _ref26.$selectedOptionColor,
4969
+ theme = _ref26.theme;
4939
4970
  switch ($selectedOptionColor) {
4940
4971
  case 'dark':
4941
- return colorVariables.text.dark;
4972
+ return theme.text.dark;
4942
4973
  case 'medium':
4943
- return colorVariables.text.medium;
4974
+ return theme.text.medium;
4944
4975
  case 'light':
4945
- return colorVariables.text.light;
4976
+ return theme.text.light;
4946
4977
  case 'white':
4947
- return colorVariables.text.white;
4978
+ return theme.text.white;
4948
4979
  case 'warning':
4949
- return colorVariables["default"].warning;
4980
+ return theme["default"].warning;
4950
4981
  case 'info':
4951
- return colorVariables["default"].info;
4982
+ return theme["default"].info;
4952
4983
  case 'success':
4953
- return colorVariables["default"].success;
4984
+ return theme["default"].success;
4954
4985
  case 'error':
4955
- return colorVariables["default"].error;
4986
+ return theme["default"].error;
4956
4987
  default:
4957
4988
  return $selectedOptionColor;
4958
4989
  }
4959
4990
  });
4960
- var RemoveIcon = styled__default.div(_templateObject9$2 || (_templateObject9$2 = _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 (_ref25) {
4961
- var $disabled = _ref25.$disabled;
4962
- return $disabled ? 'not-allowed' : 'pointer';
4963
- }, function (_ref26) {
4964
- var removeIconBackground = _ref26.removeIconBackground,
4965
- $type = _ref26.$type;
4966
- return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : colorVariables.disabled.primary;
4967
- }, function (_ref27) {
4991
+ var RemoveIcon = styled__default.div(_templateObject9$2 || (_templateObject9$2 = _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 (_ref27) {
4968
4992
  var $disabled = _ref27.$disabled;
4969
4993
  return $disabled ? 'not-allowed' : 'pointer';
4994
+ }, function (_ref28) {
4995
+ var removeIconBackground = _ref28.removeIconBackground,
4996
+ $type = _ref28.$type,
4997
+ theme = _ref28.theme;
4998
+ return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : theme.disabled.primary;
4999
+ }, function (_ref29) {
5000
+ var $disabled = _ref29.$disabled;
5001
+ return $disabled ? 'not-allowed' : 'pointer';
4970
5002
  });
4971
5003
  var TextWrapper = styled__default.div(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 4px;\n"])));
4972
- var Asterisk = styled__default.span(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), colorVariables["default"].error);
4973
- var MultiSelectDropdown = function MultiSelectDropdown(_ref28) {
4974
- var title = _ref28.title,
4975
- titleWeight = _ref28.titleWeight,
4976
- titleSize = _ref28.titleSize,
4977
- _ref28$titleColor = _ref28.titleColor,
4978
- titleColor = _ref28$titleColor === void 0 ? colorVariables.text.dark : _ref28$titleColor,
4979
- _ref28$labelText = _ref28.labelText,
4980
- labelText = _ref28$labelText === void 0 ? 'Select Cameras' : _ref28$labelText,
4981
- labelStyle = _ref28.labelStyle,
4982
- labelColor = _ref28.labelColor,
4983
- _ref28$replaceLabel = _ref28.replaceLabel,
4984
- replaceLabel = _ref28$replaceLabel === void 0 ? true : _ref28$replaceLabel,
4985
- options = _ref28.options,
4986
- width = _ref28.width,
4987
- optionWidth = _ref28.optionWidth,
4988
- height = _ref28.height,
4989
- placeholder = _ref28.placeholder,
4990
- border = _ref28.border,
4991
- _ref28$background = _ref28.background,
4992
- background = _ref28$background === void 0 ? colorVariables["default"].tertiary : _ref28$background,
4993
- selectedOptionBackground = _ref28.selectedOptionBackground,
4994
- selectedOptionColor = _ref28.selectedOptionColor,
4995
- _ref28$menuBackground = _ref28.menuBackground,
4996
- menuBackground = _ref28$menuBackground === void 0 ? 'white' : _ref28$menuBackground,
4997
- optionsBorderRadius = _ref28.optionsBorderRadius,
4998
- borderRadius = _ref28.borderRadius,
4999
- removeIconBackground = _ref28.removeIconBackground,
5000
- handleSelectChange = _ref28.handleSelectChange,
5001
- selectedOptions = _ref28.selectedOptions,
5002
- placeholderColor = _ref28.placeholderColor,
5003
- optionBorder = _ref28.optionBorder,
5004
- optionColor = _ref28.optionColor,
5005
- searchIcon = _ref28.searchIcon,
5006
- searchbarTextColor = _ref28.searchbarTextColor,
5007
- searchBoxBackground = _ref28.searchBoxBackground,
5008
- searchBoxBorder = _ref28.searchBoxBorder,
5009
- searchBoxBorderRadius = _ref28.searchBoxBorderRadius,
5010
- size = _ref28.size,
5011
- removeIcon = _ref28.removeIcon,
5012
- type = _ref28.type,
5013
- icon = _ref28.icon,
5014
- _ref28$disabled = _ref28.disabled,
5015
- disabled = _ref28$disabled === void 0 ? false : _ref28$disabled,
5016
- _ref28$required = _ref28.required,
5017
- required = _ref28$required === void 0 ? false : _ref28$required,
5018
- _ref28$searchBox = _ref28.searchBox,
5019
- searchBox = _ref28$searchBox === void 0 ? true : _ref28$searchBox,
5020
- _ref28$NoOptionsText = _ref28.NoOptionsText,
5021
- NoOptionsText = _ref28$NoOptionsText === void 0 ? 'No Options Available' : _ref28$NoOptionsText;
5004
+ var Asterisk = styled__default.span(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), function (_ref30) {
5005
+ var theme = _ref30.theme;
5006
+ return theme["default"].error;
5007
+ });
5008
+ var MultiSelectDropdown = function MultiSelectDropdown(_ref31) {
5009
+ var title = _ref31.title,
5010
+ titleWeight = _ref31.titleWeight,
5011
+ titleSize = _ref31.titleSize,
5012
+ _ref31$titleColor = _ref31.titleColor,
5013
+ titleColor = _ref31$titleColor === void 0 ? colorVariables.text.dark : _ref31$titleColor,
5014
+ _ref31$labelText = _ref31.labelText,
5015
+ labelText = _ref31$labelText === void 0 ? 'Select Cameras' : _ref31$labelText,
5016
+ labelStyle = _ref31.labelStyle,
5017
+ labelColor = _ref31.labelColor,
5018
+ _ref31$replaceLabel = _ref31.replaceLabel,
5019
+ replaceLabel = _ref31$replaceLabel === void 0 ? true : _ref31$replaceLabel,
5020
+ options = _ref31.options,
5021
+ width = _ref31.width,
5022
+ optionWidth = _ref31.optionWidth,
5023
+ height = _ref31.height,
5024
+ placeholder = _ref31.placeholder,
5025
+ border = _ref31.border,
5026
+ _ref31$background = _ref31.background,
5027
+ background = _ref31$background === void 0 ? colorVariables["default"].tertiary : _ref31$background,
5028
+ selectedOptionBackground = _ref31.selectedOptionBackground,
5029
+ selectedOptionColor = _ref31.selectedOptionColor,
5030
+ _ref31$menuBackground = _ref31.menuBackground,
5031
+ menuBackground = _ref31$menuBackground === void 0 ? 'white' : _ref31$menuBackground,
5032
+ optionsBorderRadius = _ref31.optionsBorderRadius,
5033
+ borderRadius = _ref31.borderRadius,
5034
+ removeIconBackground = _ref31.removeIconBackground,
5035
+ handleSelectChange = _ref31.handleSelectChange,
5036
+ selectedOptions = _ref31.selectedOptions,
5037
+ placeholderColor = _ref31.placeholderColor,
5038
+ optionBorder = _ref31.optionBorder,
5039
+ optionColor = _ref31.optionColor,
5040
+ searchIcon = _ref31.searchIcon,
5041
+ searchbarTextColor = _ref31.searchbarTextColor,
5042
+ searchBoxBackground = _ref31.searchBoxBackground,
5043
+ searchBoxBorder = _ref31.searchBoxBorder,
5044
+ searchBoxBorderRadius = _ref31.searchBoxBorderRadius,
5045
+ size = _ref31.size,
5046
+ removeIcon = _ref31.removeIcon,
5047
+ type = _ref31.type,
5048
+ icon = _ref31.icon,
5049
+ _ref31$disabled = _ref31.disabled,
5050
+ disabled = _ref31$disabled === void 0 ? false : _ref31$disabled,
5051
+ _ref31$required = _ref31.required,
5052
+ required = _ref31$required === void 0 ? false : _ref31$required,
5053
+ _ref31$searchBox = _ref31.searchBox,
5054
+ searchBox = _ref31$searchBox === void 0 ? true : _ref31$searchBox,
5055
+ _ref31$NoOptionsText = _ref31.NoOptionsText,
5056
+ NoOptionsText = _ref31$NoOptionsText === void 0 ? 'No Options Available' : _ref31$NoOptionsText;
5022
5057
  var _useState = React.useState(false),
5023
5058
  isOpen = _useState[0],
5024
5059
  setIsOpen = _useState[1];
@@ -5206,24 +5241,25 @@ var TitleText$1 = styled__default.label(_templateObject$c || (_templateObject$c
5206
5241
  return "\n font-size: 14px;\n line-height: 14px;\n ";
5207
5242
  }
5208
5243
  }, function (_ref3) {
5209
- var $titlecolor = _ref3.$titlecolor;
5244
+ var $titlecolor = _ref3.$titlecolor,
5245
+ theme = _ref3.theme;
5210
5246
  switch ($titlecolor) {
5211
5247
  case 'dark':
5212
- return colorVariables.text.dark;
5248
+ return theme.text.dark;
5213
5249
  case 'medium':
5214
- return colorVariables.text.medium;
5250
+ return theme.text.medium;
5215
5251
  case 'light':
5216
- return colorVariables.text.light;
5252
+ return theme.text.light;
5217
5253
  case 'white':
5218
- return colorVariables.text.white;
5254
+ return theme.text.white;
5219
5255
  case 'warning':
5220
- return colorVariables["default"].warning;
5256
+ return theme["default"].warning;
5221
5257
  case 'info':
5222
- return colorVariables["default"].info;
5258
+ return theme["default"].info;
5223
5259
  case 'success':
5224
- return colorVariables["default"].success;
5260
+ return theme["default"].success;
5225
5261
  case 'error':
5226
- return colorVariables["default"].error;
5262
+ return theme["default"].error;
5227
5263
  default:
5228
5264
  return $titlecolor;
5229
5265
  }
@@ -5246,8 +5282,9 @@ var DropdownButton$1 = styled__default.div(_templateObject3$7 || (_templateObjec
5246
5282
  return $borderRadius || '8px';
5247
5283
  }, function (_ref9) {
5248
5284
  var $border = _ref9.$border,
5249
- $isOpen = _ref9.$isOpen;
5250
- return $isOpen ? "1px solid " + colorVariables.text.dark : $border || "1px solid " + colorVariables.border.light;
5285
+ $isOpen = _ref9.$isOpen,
5286
+ theme = _ref9.theme;
5287
+ return $isOpen ? "1px solid " + theme.text.dark : $border || "1px solid " + theme.border.light;
5251
5288
  }, function (_ref10) {
5252
5289
  var $size = _ref10.$size;
5253
5290
  switch ($size) {
@@ -5260,8 +5297,9 @@ var DropdownButton$1 = styled__default.div(_templateObject3$7 || (_templateObjec
5260
5297
  }
5261
5298
  }, function (_ref11) {
5262
5299
  var $background = _ref11.$background,
5263
- $disabled = _ref11.$disabled;
5264
- return $disabled ? colorVariables.border.light : $background || colorVariables.accent.light_2;
5300
+ $disabled = _ref11.$disabled,
5301
+ theme = _ref11.theme;
5302
+ return $disabled ? theme.border.light : $background || theme.accent.light_2;
5265
5303
  }, function (_ref12) {
5266
5304
  var $size = _ref12.$size;
5267
5305
  switch ($size) {
@@ -5283,10 +5321,11 @@ var DropdownButton$1 = styled__default.div(_templateObject3$7 || (_templateObjec
5283
5321
  return '14px';
5284
5322
  }
5285
5323
  });
5286
- 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\n \n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n\n }\n\n"])), function (_ref14) {
5324
+ 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\n \n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n }\n\n"])), function (_ref14) {
5287
5325
  var $optionColor = _ref14.$optionColor,
5288
- $optionSelected = _ref14.$optionSelected;
5289
- return $optionSelected ? colorVariables.text.white : $optionColor || colorVariables.text.medium;
5326
+ $optionSelected = _ref14.$optionSelected,
5327
+ theme = _ref14.theme;
5328
+ return $optionSelected ? theme.text.white : $optionColor || theme.text.medium;
5290
5329
  }, function (_ref15) {
5291
5330
  var $optionFontSize = _ref15.$optionFontSize;
5292
5331
  return $optionFontSize || '14px';
@@ -5295,11 +5334,18 @@ var Options = styled__default.div(_templateObject4$5 || (_templateObject4$5 = _t
5295
5334
  return $optionFontWeight || 400;
5296
5335
  }, function (_ref17) {
5297
5336
  var $optionBackgroundColor = _ref17.$optionBackgroundColor,
5298
- $optionSelected = _ref17.$optionSelected;
5299
- return $optionSelected ? colorVariables["default"].primary : $optionBackgroundColor || colorVariables["default"].tertiary;
5300
- }, colorVariables.hover.primary, colorVariables.text.white);
5301
- var LabelText$1 = styled__default.div(_templateObject5$5 || (_templateObject5$5 = _taggedTemplateLiteralLoose(["\n font-size: ", ";\n line-height: ", ";\n font-style: ", ";\n color: ", ";\n"])), function (_ref18) {
5302
- var $size = _ref18.$size;
5337
+ $optionSelected = _ref17.$optionSelected,
5338
+ theme = _ref17.theme;
5339
+ return $optionSelected ? theme["default"].primary : $optionBackgroundColor || theme["default"].tertiary;
5340
+ }, function (_ref18) {
5341
+ var theme = _ref18.theme;
5342
+ return theme.hover.primary;
5343
+ }, function (_ref19) {
5344
+ var theme = _ref19.theme;
5345
+ return theme.text.white;
5346
+ });
5347
+ 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) {
5348
+ var $size = _ref20.$size;
5303
5349
  switch ($size) {
5304
5350
  case 'small':
5305
5351
  return '14px';
@@ -5308,8 +5354,8 @@ var LabelText$1 = styled__default.div(_templateObject5$5 || (_templateObject5$5
5308
5354
  default:
5309
5355
  return '14px';
5310
5356
  }
5311
- }, function (_ref19) {
5312
- var $size = _ref19.$size;
5357
+ }, function (_ref21) {
5358
+ var $size = _ref21.$size;
5313
5359
  switch ($size) {
5314
5360
  case 'small':
5315
5361
  return '12px';
@@ -5318,98 +5364,109 @@ var LabelText$1 = styled__default.div(_templateObject5$5 || (_templateObject5$5
5318
5364
  default:
5319
5365
  return '14px';
5320
5366
  }
5321
- }, function (_ref20) {
5322
- var $fontStyle = _ref20.$fontStyle;
5367
+ }, function (_ref22) {
5368
+ var $fontStyle = _ref22.$fontStyle;
5323
5369
  return $fontStyle || '';
5324
- }, function (_ref21) {
5325
- var $color = _ref21.$color,
5326
- $disabled = _ref21.$disabled;
5327
- return $disabled ? colorVariables.text.medium : $color || colorVariables.text.medium;
5370
+ }, function (_ref23) {
5371
+ var $color = _ref23.$color,
5372
+ $disabled = _ref23.$disabled,
5373
+ theme = _ref23.theme;
5374
+ return $disabled ? theme.text.medium : $color || theme.text.medium;
5328
5375
  });
5329
5376
  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"])));
5330
- var DropdownMenu$1 = styled__default.div(_templateObject7$3 || (_templateObject7$3 = _taggedTemplateLiteralLoose(["\n height: auto;\n max-height: 170px;\n border: 1px solid ", ";\n border-radius: ", ";\n min-width: 100%;\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: 1;\n ", "\n ", "\n \n"])), colorVariables.border.light, function (_ref22) {
5331
- var $optionsBorderRadius = _ref22.$optionsBorderRadius;
5377
+ 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 width: ", ";\n background: ", ";\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n overflow: hidden; \n position: absolute;\n z-index: 1;\n ", "\n ", "\n \n"])), function (_ref24) {
5378
+ var theme = _ref24.theme;
5379
+ return "1px solid " + theme.border.light;
5380
+ }, function (_ref25) {
5381
+ var $optionsBorderRadius = _ref25.$optionsBorderRadius;
5332
5382
  return $optionsBorderRadius || '8px';
5333
- }, function (_ref23) {
5334
- var $width = _ref23.$width;
5383
+ }, function (_ref26) {
5384
+ var $width = _ref26.$width;
5335
5385
  return $width ? $width : 'max-content';
5336
- }, function (_ref24) {
5337
- var $menuBackground = _ref24.$menuBackground;
5338
- return $menuBackground || colorVariables.accent.light_2;
5339
- }, function (_ref25) {
5340
- var $top = _ref25.$top;
5386
+ }, function (_ref27) {
5387
+ var $menuBackground = _ref27.$menuBackground,
5388
+ theme = _ref27.theme;
5389
+ return $menuBackground || theme.accent.light_2;
5390
+ }, function (_ref28) {
5391
+ var $top = _ref28.$top;
5341
5392
  return $top && "top: " + $top + ";";
5342
- }, function (_ref26) {
5343
- var $bottom = _ref26.$bottom;
5393
+ }, function (_ref29) {
5394
+ var $bottom = _ref29.$bottom;
5344
5395
  return $bottom && "bottom: " + $bottom + ";";
5345
5396
  });
5346
5397
  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"])));
5347
- var SearchContainer$1 = styled__default.div(_templateObject9$3 || (_templateObject9$3 = _taggedTemplateLiteralLoose(["\n width: 100%;\n background: ", ";\n border: ", ";\n border-bottom: 1px solid ", ";\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 (_ref27) {
5348
- var $background = _ref27.$background;
5349
- return $background || colorVariables.accent.light_2;
5350
- }, function (_ref28) {
5351
- var $border = _ref28.$border;
5398
+ var SearchContainer$1 = styled__default.div(_templateObject9$3 || (_templateObject9$3 = _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 (_ref30) {
5399
+ var $background = _ref30.$background,
5400
+ theme = _ref30.theme;
5401
+ return $background || theme.accent.light_2;
5402
+ }, function (_ref31) {
5403
+ var $border = _ref31.$border;
5352
5404
  return $border || 'none';
5353
- }, colorVariables.border.light, function (_ref29) {
5354
- var $borderRadius = _ref29.$borderRadius;
5405
+ }, function (_ref32) {
5406
+ var theme = _ref32.theme;
5407
+ return "1px solid " + theme.border.light;
5408
+ }, function (_ref33) {
5409
+ var $borderRadius = _ref33.$borderRadius;
5355
5410
  return $borderRadius || '8px 8px 0 0';
5356
5411
  });
5357
- var SearchBar$1 = styled__default.input(_templateObject10$3 || (_templateObject10$3 = _taggedTemplateLiteralLoose(["\n border: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\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 (_ref30) {
5358
- var $inputColor = _ref30.$inputColor;
5359
- return $inputColor || colorVariables.text.medium;
5360
- }, function (_ref31) {
5361
- var $placeholderColor = _ref31.$placeholderColor;
5362
- return $placeholderColor || colorVariables.text.light;
5412
+ var SearchBar$1 = styled__default.input(_templateObject10$3 || (_templateObject10$3 = _taggedTemplateLiteralLoose(["\n border: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\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 (_ref34) {
5413
+ var $inputColor = _ref34.$inputColor,
5414
+ theme = _ref34.theme;
5415
+ return $inputColor || theme.text.medium;
5416
+ }, function (_ref35) {
5417
+ var $placeholderColor = _ref35.$placeholderColor,
5418
+ theme = _ref35.theme;
5419
+ return $placeholderColor || theme.text.light;
5363
5420
  });
5364
- var SelectOption = function SelectOption(_ref32) {
5421
+ var SelectOption = function SelectOption(_ref36) {
5365
5422
  var _options$find;
5366
- var title = _ref32.title,
5367
- titlecolor = _ref32.titlecolor,
5368
- titleWeight = _ref32.titleWeight,
5369
- options = _ref32.options,
5370
- value = _ref32.value,
5371
- onChange = _ref32.onChange,
5372
- _ref32$disabled = _ref32.disabled,
5373
- disabled = _ref32$disabled === void 0 ? false : _ref32$disabled,
5374
- size = _ref32.size,
5375
- width = _ref32.width,
5376
- _ref32$labelText = _ref32.labelText,
5377
- labelText = _ref32$labelText === void 0 ? 'Select' : _ref32$labelText,
5378
- border = _ref32.border,
5379
- background = _ref32.background,
5380
- _ref32$padding = _ref32.padding,
5381
- padding = _ref32$padding === void 0 ? '0px' : _ref32$padding,
5382
- borderRadius = _ref32.borderRadius,
5383
- optionColor = _ref32.optionColor,
5384
- optionFontSize = _ref32.optionFontSize,
5385
- optionFontWeight = _ref32.optionFontWeight,
5386
- optionBackgroundColor = _ref32.optionBackgroundColor,
5387
- menuBackground = _ref32.menuBackground,
5388
- optionsBorderRadius = _ref32.optionsBorderRadius,
5389
- color = _ref32.color,
5390
- required = _ref32.required,
5391
- _ref32$NoOptionsText = _ref32.NoOptionsText,
5392
- NoOptionsText = _ref32$NoOptionsText === void 0 ? 'No Options Available' : _ref32$NoOptionsText,
5393
- positionRef = _ref32.positionRef,
5394
- fontStyle = _ref32.fontStyle,
5395
- icon = _ref32.icon,
5396
- _ref32$searchBox = _ref32.searchBox,
5397
- searchBox = _ref32$searchBox === void 0 ? true : _ref32$searchBox,
5398
- searchBoxBackground = _ref32.searchBoxBackground,
5399
- searchBoxBorder = _ref32.searchBoxBorder,
5400
- searchBoxBorderRadius = _ref32.searchBoxBorderRadius,
5401
- searchIcon = _ref32.searchIcon,
5402
- _ref32$placeholderTex = _ref32.placeholderText,
5403
- placeholderText = _ref32$placeholderTex === void 0 ? 'Search...' : _ref32$placeholderTex,
5404
- _ref32$iconColor = _ref32.iconColor,
5405
- iconColor = _ref32$iconColor === void 0 ? colorVariables.text.medium : _ref32$iconColor,
5406
- placeholderColor = _ref32.placeholderColor,
5407
- inputColor = _ref32.inputColor,
5408
- _ref32$iconSize = _ref32.iconSize,
5409
- iconSize = _ref32$iconSize === void 0 ? 16 : _ref32$iconSize,
5410
- _ref32$allowDeselect = _ref32.allowDeselect,
5411
- allowDeselect = _ref32$allowDeselect === void 0 ? true : _ref32$allowDeselect,
5412
- titleRightNode = _ref32.titleRightNode;
5423
+ var title = _ref36.title,
5424
+ titlecolor = _ref36.titlecolor,
5425
+ titleWeight = _ref36.titleWeight,
5426
+ options = _ref36.options,
5427
+ value = _ref36.value,
5428
+ onChange = _ref36.onChange,
5429
+ _ref36$disabled = _ref36.disabled,
5430
+ disabled = _ref36$disabled === void 0 ? false : _ref36$disabled,
5431
+ size = _ref36.size,
5432
+ width = _ref36.width,
5433
+ _ref36$labelText = _ref36.labelText,
5434
+ labelText = _ref36$labelText === void 0 ? 'Select' : _ref36$labelText,
5435
+ border = _ref36.border,
5436
+ background = _ref36.background,
5437
+ _ref36$padding = _ref36.padding,
5438
+ padding = _ref36$padding === void 0 ? '0px' : _ref36$padding,
5439
+ borderRadius = _ref36.borderRadius,
5440
+ optionColor = _ref36.optionColor,
5441
+ optionFontSize = _ref36.optionFontSize,
5442
+ optionFontWeight = _ref36.optionFontWeight,
5443
+ optionBackgroundColor = _ref36.optionBackgroundColor,
5444
+ menuBackground = _ref36.menuBackground,
5445
+ optionsBorderRadius = _ref36.optionsBorderRadius,
5446
+ color = _ref36.color,
5447
+ required = _ref36.required,
5448
+ _ref36$NoOptionsText = _ref36.NoOptionsText,
5449
+ NoOptionsText = _ref36$NoOptionsText === void 0 ? 'No Options Available' : _ref36$NoOptionsText,
5450
+ positionRef = _ref36.positionRef,
5451
+ fontStyle = _ref36.fontStyle,
5452
+ icon = _ref36.icon,
5453
+ _ref36$searchBox = _ref36.searchBox,
5454
+ searchBox = _ref36$searchBox === void 0 ? true : _ref36$searchBox,
5455
+ searchBoxBackground = _ref36.searchBoxBackground,
5456
+ searchBoxBorder = _ref36.searchBoxBorder,
5457
+ searchBoxBorderRadius = _ref36.searchBoxBorderRadius,
5458
+ searchIcon = _ref36.searchIcon,
5459
+ _ref36$placeholderTex = _ref36.placeholderText,
5460
+ placeholderText = _ref36$placeholderTex === void 0 ? 'Search...' : _ref36$placeholderTex,
5461
+ _ref36$iconColor = _ref36.iconColor,
5462
+ iconColor = _ref36$iconColor === void 0 ? colorVariables.text.medium : _ref36$iconColor,
5463
+ placeholderColor = _ref36.placeholderColor,
5464
+ inputColor = _ref36.inputColor,
5465
+ _ref36$iconSize = _ref36.iconSize,
5466
+ iconSize = _ref36$iconSize === void 0 ? 16 : _ref36$iconSize,
5467
+ _ref36$allowDeselect = _ref36.allowDeselect,
5468
+ allowDeselect = _ref36$allowDeselect === void 0 ? true : _ref36$allowDeselect,
5469
+ titleRightNode = _ref36.titleRightNode;
5413
5470
  var _useState = React.useState(false),
5414
5471
  dropUp = _useState[0],
5415
5472
  setDropUp = _useState[1];
@@ -5698,6 +5755,10 @@ var useNotification = function useNotification() {
5698
5755
  };
5699
5756
  };
5700
5757
 
5758
+ var useTheme = function useTheme() {
5759
+ return styled.useTheme();
5760
+ };
5761
+
5701
5762
  var _templateObject$e, _templateObject2$b;
5702
5763
  var SearchContainer$2 = styled__default.div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 5.5px 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n // cursor: ", ";\n transition: all 0.3s ease;\n\n &:focus-within {\n border: 1px solid ", ";\n }\n"])), function (_ref) {
5703
5764
  var $background = _ref.$background;
@@ -7340,4 +7401,5 @@ exports.timeStringToSeconds = timeStringToSeconds;
7340
7401
  exports.useClickOutside = useClickOutside;
7341
7402
  exports.useCustomModal = useCustomModal;
7342
7403
  exports.useNotification = useNotification;
7404
+ exports.useTheme = useTheme;
7343
7405
  //# sourceMappingURL=index.js.map