@activecollab/components 1.0.121 → 1.0.122

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.
Files changed (62) hide show
  1. package/dist/cjs/components/Autocomplete/Styles.js +4 -2
  2. package/dist/cjs/components/Autocomplete/Styles.js.map +1 -1
  3. package/dist/cjs/components/ComboBox/ComboBox.js +28 -30
  4. package/dist/cjs/components/ComboBox/ComboBox.js.map +1 -1
  5. package/dist/cjs/components/ComboBox/Styles.js +16 -37
  6. package/dist/cjs/components/ComboBox/Styles.js.map +1 -1
  7. package/dist/cjs/components/Input/Input.js +28 -8
  8. package/dist/cjs/components/Input/Input.js.map +1 -1
  9. package/dist/cjs/components/Input/InputAdornment.js +57 -0
  10. package/dist/cjs/components/Input/InputAdornment.js.map +1 -0
  11. package/dist/cjs/components/Input/Styles.js +40 -18
  12. package/dist/cjs/components/Input/Styles.js.map +1 -1
  13. package/dist/cjs/components/Input/index.js +13 -0
  14. package/dist/cjs/components/Input/index.js.map +1 -1
  15. package/dist/cjs/components/Input/types.js +6 -0
  16. package/dist/cjs/components/Input/types.js.map +1 -0
  17. package/dist/cjs/components/Select/Select.js +1 -1
  18. package/dist/cjs/components/Select/Select.js.map +1 -1
  19. package/dist/cjs/components/Select/Styles.js +1 -1
  20. package/dist/cjs/components/Select/Styles.js.map +1 -1
  21. package/dist/esm/components/Autocomplete/Styles.d.ts.map +1 -1
  22. package/dist/esm/components/Autocomplete/Styles.js +3 -2
  23. package/dist/esm/components/Autocomplete/Styles.js.map +1 -1
  24. package/dist/esm/components/ComboBox/ComboBox.d.ts +1 -1
  25. package/dist/esm/components/ComboBox/ComboBox.d.ts.map +1 -1
  26. package/dist/esm/components/ComboBox/ComboBox.js +28 -31
  27. package/dist/esm/components/ComboBox/ComboBox.js.map +1 -1
  28. package/dist/esm/components/ComboBox/Styles.d.ts +4 -10
  29. package/dist/esm/components/ComboBox/Styles.d.ts.map +1 -1
  30. package/dist/esm/components/ComboBox/Styles.js +13 -27
  31. package/dist/esm/components/ComboBox/Styles.js.map +1 -1
  32. package/dist/esm/components/Input/Input.d.ts +6 -3
  33. package/dist/esm/components/Input/Input.d.ts.map +1 -1
  34. package/dist/esm/components/Input/Input.js +28 -10
  35. package/dist/esm/components/Input/Input.js.map +1 -1
  36. package/dist/esm/components/Input/InputAdornment.d.ts +12 -0
  37. package/dist/esm/components/Input/InputAdornment.d.ts.map +1 -0
  38. package/dist/esm/components/Input/InputAdornment.js +32 -0
  39. package/dist/esm/components/Input/InputAdornment.js.map +1 -0
  40. package/dist/esm/components/Input/Styles.d.ts +12 -5
  41. package/dist/esm/components/Input/Styles.d.ts.map +1 -1
  42. package/dist/esm/components/Input/Styles.js +36 -17
  43. package/dist/esm/components/Input/Styles.js.map +1 -1
  44. package/dist/esm/components/Input/index.d.ts +1 -0
  45. package/dist/esm/components/Input/index.d.ts.map +1 -1
  46. package/dist/esm/components/Input/index.js +1 -0
  47. package/dist/esm/components/Input/index.js.map +1 -1
  48. package/dist/esm/components/Input/types.d.ts +2 -0
  49. package/dist/esm/components/Input/types.d.ts.map +1 -0
  50. package/dist/esm/components/Input/types.js +2 -0
  51. package/dist/esm/components/Input/types.js.map +1 -0
  52. package/dist/esm/components/Select/Select.js +1 -1
  53. package/dist/esm/components/Select/Select.js.map +1 -1
  54. package/dist/esm/components/Select/Styles.d.ts +1 -1
  55. package/dist/esm/components/Select/Styles.d.ts.map +1 -1
  56. package/dist/esm/components/Select/Styles.js +1 -1
  57. package/dist/esm/components/Select/Styles.js.map +1 -1
  58. package/dist/index.js +210 -161
  59. package/dist/index.js.map +1 -1
  60. package/dist/index.min.js +1 -1
  61. package/dist/index.min.js.map +1 -1
  62. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -314,7 +314,7 @@
314
314
  })(["display:inline-flex;svg{margin:0 4px;}"]);
315
315
  StyledButtonElement.displayName = "StyledButtonElement";
316
316
 
317
- var _excluded$_ = ["children", "variant", "size", "disabled", "className"];
317
+ var _excluded$$ = ["children", "variant", "size", "disabled", "className"];
318
318
 
319
319
  /**
320
320
  * Button component
@@ -328,7 +328,7 @@
328
328
  _ref$disabled = _ref.disabled,
329
329
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
330
330
  className = _ref.className,
331
- args = _objectWithoutProperties(_ref, _excluded$_);
331
+ args = _objectWithoutProperties(_ref, _excluded$$);
332
332
 
333
333
  return /*#__PURE__*/React__default["default"].createElement(StyledButton$1, _extends({
334
334
  disabled: disabled,
@@ -381,12 +381,12 @@
381
381
  })(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
382
382
  StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
383
383
 
384
- var _excluded$Z = ["className", "disabled"];
384
+ var _excluded$_ = ["className", "disabled"];
385
385
  var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
386
386
  var className = _ref.className,
387
387
  _ref$disabled = _ref.disabled,
388
388
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
389
- rest = _objectWithoutProperties(_ref, _excluded$Z);
389
+ rest = _objectWithoutProperties(_ref, _excluded$_);
390
390
 
391
391
  return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
392
392
  ref: ref,
@@ -419,11 +419,11 @@
419
419
  });
420
420
  StyledButtonGroup$1.displayName = "StyledButtonGroup";
421
421
 
422
- var _excluded$Y = ["children", "className"];
422
+ var _excluded$Z = ["children", "className"];
423
423
  var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
424
424
  var children = _ref.children,
425
425
  className = _ref.className,
426
- rest = _objectWithoutProperties(_ref, _excluded$Y);
426
+ rest = _objectWithoutProperties(_ref, _excluded$Z);
427
427
 
428
428
  return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
429
429
  ref: ref,
@@ -486,7 +486,7 @@
486
486
  return React.useContext(MenuContext);
487
487
  };
488
488
 
489
- var _excluded$X = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy"];
489
+ var _excluded$Y = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy"];
490
490
  var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
491
491
  var children = _ref.children,
492
492
  anchorEl = _ref.anchorEl,
@@ -499,7 +499,7 @@
499
499
  initialPlacement = _ref$placement === void 0 ? "bottom" : _ref$placement,
500
500
  _ref$strategy = _ref.strategy,
501
501
  strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
502
- rest = _objectWithoutProperties(_ref, _excluded$X);
502
+ rest = _objectWithoutProperties(_ref, _excluded$Y);
503
503
 
504
504
  var _useState = React.useState(true),
505
505
  _useState2 = _slicedToArray(_useState, 2),
@@ -605,12 +605,12 @@
605
605
  });
606
606
  StyledOverlay.displayName = "StyledOverlay";
607
607
 
608
- var _excluded$W = ["className", "disableBackgroundColor"];
608
+ var _excluded$X = ["className", "disableBackgroundColor"];
609
609
  var Overlay = function Overlay(_ref) {
610
610
  var className = _ref.className,
611
611
  _ref$disableBackgroun = _ref.disableBackgroundColor,
612
612
  disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
613
- rest = _objectWithoutProperties(_ref, _excluded$W);
613
+ rest = _objectWithoutProperties(_ref, _excluded$X);
614
614
 
615
615
  return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
616
616
  className: classnames__default["default"]("c-overlay", className),
@@ -654,7 +654,7 @@
654
654
  })(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
655
655
  StyledWindow.displayName = "StyledWindow";
656
656
 
657
- var _excluded$V = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "preventClickEventBubbling", "onClick"];
657
+ var _excluded$W = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "preventClickEventBubbling", "onClick"];
658
658
  var returnFocus = {
659
659
  preventScroll: true
660
660
  };
@@ -671,7 +671,7 @@
671
671
  _ref$preventClickEven = _ref.preventClickEventBubbling,
672
672
  preventClickEventBubbling = _ref$preventClickEven === void 0 ? false : _ref$preventClickEven,
673
673
  onClick = _ref.onClick,
674
- rest = _objectWithoutProperties(_ref, _excluded$V);
674
+ rest = _objectWithoutProperties(_ref, _excluded$W);
675
675
 
676
676
  var innerRef = React.useRef(null);
677
677
  var handleRef = useForkRef(innerRef, ref);
@@ -745,7 +745,7 @@
745
745
  }, FontStyle, BoxSizingStyle);
746
746
  StyledBubble.displayName = "StyledBubble";
747
747
 
748
- var _excluded$U = ["children", "className", "innerRef", "style"];
748
+ var _excluded$V = ["children", "className", "innerRef", "style"];
749
749
  var Bubble = function Bubble(_ref) {
750
750
  var children = _ref.children,
751
751
  className = _ref.className,
@@ -753,7 +753,7 @@
753
753
  innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
754
754
  _ref$style = _ref.style,
755
755
  style = _ref$style === void 0 ? {} : _ref$style,
756
- rest = _objectWithoutProperties(_ref, _excluded$U);
756
+ rest = _objectWithoutProperties(_ref, _excluded$V);
757
757
 
758
758
  return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
759
759
  ref: innerRef,
@@ -1061,7 +1061,7 @@
1061
1061
  });
1062
1062
  StyledTypography.displayName = "StyledTypography";
1063
1063
 
1064
- var _excluded$T = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
1064
+ var _excluded$U = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
1065
1065
  var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1066
1066
  var _ref$variant = _ref.variant,
1067
1067
  variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
@@ -1092,7 +1092,7 @@
1092
1092
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
1093
1093
  className = _ref.className,
1094
1094
  children = _ref.children,
1095
- props = _objectWithoutProperties(_ref, _excluded$T);
1095
+ props = _objectWithoutProperties(_ref, _excluded$U);
1096
1096
 
1097
1097
  var Component = as || "div";
1098
1098
  return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
@@ -1116,13 +1116,13 @@
1116
1116
  });
1117
1117
  Typography.displayName = "Typography";
1118
1118
 
1119
- var _excluded$S = ["title", "className", "leftElement", "rightElement"];
1119
+ var _excluded$T = ["title", "className", "leftElement", "rightElement"];
1120
1120
  var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1121
1121
  var title = _ref.title,
1122
1122
  className = _ref.className,
1123
1123
  leftElement = _ref.leftElement,
1124
1124
  rightElement = _ref.rightElement,
1125
- props = _objectWithoutProperties(_ref, _excluded$S);
1125
+ props = _objectWithoutProperties(_ref, _excluded$T);
1126
1126
 
1127
1127
  return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
1128
1128
  className: classnames__default["default"]("c-menu-header", className),
@@ -1148,11 +1148,11 @@
1148
1148
  });
1149
1149
  MenuHeader.displayName = "MenuHeader";
1150
1150
 
1151
- var _excluded$R = ["children", "className"];
1151
+ var _excluded$S = ["children", "className"];
1152
1152
  var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1153
1153
  var children = _ref.children,
1154
1154
  className = _ref.className,
1155
- props = _objectWithoutProperties(_ref, _excluded$R);
1155
+ props = _objectWithoutProperties(_ref, _excluded$S);
1156
1156
 
1157
1157
  return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter, _extends({}, props, {
1158
1158
  className: classnames__default["default"]("c-menu-footer", className),
@@ -1193,11 +1193,11 @@
1193
1193
  })(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
1194
1194
  StyledListSeparator.displayName = "StyledListSeparator";
1195
1195
 
1196
- var _excluded$Q = ["children", "className"];
1196
+ var _excluded$R = ["children", "className"];
1197
1197
  var List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1198
1198
  var children = _ref.children,
1199
1199
  className = _ref.className,
1200
- props = _objectWithoutProperties(_ref, _excluded$Q);
1200
+ props = _objectWithoutProperties(_ref, _excluded$R);
1201
1201
 
1202
1202
  return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({}, props, {
1203
1203
  className: className,
@@ -1206,11 +1206,11 @@
1206
1206
  });
1207
1207
  List.displayName = "List";
1208
1208
 
1209
- var _excluded$P = ["children", "className"];
1209
+ var _excluded$Q = ["children", "className"];
1210
1210
  var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1211
1211
  var children = _ref.children,
1212
1212
  className = _ref.className,
1213
- props = _objectWithoutProperties(_ref, _excluded$P);
1213
+ props = _objectWithoutProperties(_ref, _excluded$Q);
1214
1214
 
1215
1215
  return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({}, props, {
1216
1216
  className: classnames__default["default"]("c-list-item", className),
@@ -3620,7 +3620,7 @@
3620
3620
  });
3621
3621
  StyledBreadcrumbListItem.displayName = "StyledBreadcrumbListItem";
3622
3622
 
3623
- var _excluded$O = ["children", "className", "separator"];
3623
+ var _excluded$P = ["children", "className", "separator"];
3624
3624
  var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
3625
3625
  var _dimensions$width, _childDimensions$widt;
3626
3626
 
@@ -3628,7 +3628,7 @@
3628
3628
  className = _ref.className,
3629
3629
  _ref$separator = _ref.separator,
3630
3630
  separator = _ref$separator === void 0 ? "/" : _ref$separator,
3631
- rest = _objectWithoutProperties(_ref, _excluded$O);
3631
+ rest = _objectWithoutProperties(_ref, _excluded$P);
3632
3632
 
3633
3633
  var internalRef = React.useRef(null);
3634
3634
  var listWrapperRef = React.useRef(null);
@@ -3815,11 +3815,11 @@
3815
3815
  return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
3816
3816
  });
3817
3817
 
3818
- var _excluded$N = ["children"];
3818
+ var _excluded$O = ["children"];
3819
3819
 
3820
3820
  var TooltipAnimation = function TooltipAnimation(_ref) {
3821
3821
  var children = _ref.children,
3822
- props = _objectWithoutProperties(_ref, _excluded$N);
3822
+ props = _objectWithoutProperties(_ref, _excluded$O);
3823
3823
 
3824
3824
  return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
3825
3825
  timeout: 0
@@ -3906,12 +3906,12 @@
3906
3906
  });
3907
3907
  Tooltip.displayName = "Tooltip";
3908
3908
 
3909
- var _excluded$M = ["weight", "children"];
3909
+ var _excluded$N = ["weight", "children"];
3910
3910
  var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
3911
3911
  var _ref$weight = _ref.weight,
3912
3912
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
3913
3913
  children = _ref.children,
3914
- props = _objectWithoutProperties(_ref, _excluded$M);
3914
+ props = _objectWithoutProperties(_ref, _excluded$N);
3915
3915
 
3916
3916
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
3917
3917
  variant: "Body 2",
@@ -3959,7 +3959,7 @@
3959
3959
  });
3960
3960
  StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
3961
3961
 
3962
- var _excluded$L = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
3962
+ var _excluded$M = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
3963
3963
  var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
3964
3964
  var label = _ref.label,
3965
3965
  icon = _ref.icon,
@@ -3969,7 +3969,7 @@
3969
3969
  tooltipText = _ref.tooltipText,
3970
3970
  onClearAll = _ref.onClearAll,
3971
3971
  className = _ref.className,
3972
- args = _objectWithoutProperties(_ref, _excluded$L);
3972
+ args = _objectWithoutProperties(_ref, _excluded$M);
3973
3973
 
3974
3974
  return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
3975
3975
  className: className
@@ -4284,7 +4284,7 @@
4284
4284
  StyledDatePicker.displayName = "StyledDatePicker";
4285
4285
  StyledDayPicker.displayName = "StyledDayPicker";
4286
4286
 
4287
- var _excluded$K = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
4287
+ var _excluded$L = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
4288
4288
  var DatePicker = function DatePicker(_ref) {
4289
4289
  var className = _ref.className,
4290
4290
  onChange = _ref.onChange,
@@ -4306,7 +4306,7 @@
4306
4306
  _ref$fixedWeeks = _ref.fixedWeeks,
4307
4307
  fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
4308
4308
  defaultModifiers = _ref.modifiers,
4309
- rest = _objectWithoutProperties(_ref, _excluded$K);
4309
+ rest = _objectWithoutProperties(_ref, _excluded$L);
4310
4310
 
4311
4311
  var _useState = React.useState(),
4312
4312
  _useState2 = _slicedToArray(_useState, 2),
@@ -5231,7 +5231,7 @@
5231
5231
  };
5232
5232
  Tbody.displayName = "Tbody";
5233
5233
 
5234
- var _excluded$J = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue"];
5234
+ var _excluded$K = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue"];
5235
5235
  exports.SortDirection = void 0;
5236
5236
 
5237
5237
  (function (SortDirection) {
@@ -5281,7 +5281,7 @@
5281
5281
  } : _ref$groupHead,
5282
5282
  isCollapsible = _ref.isCollapsible,
5283
5283
  emptyValue = _ref.emptyValue,
5284
- args = _objectWithoutProperties(_ref, _excluded$J);
5284
+ args = _objectWithoutProperties(_ref, _excluded$K);
5285
5285
 
5286
5286
  var _useState = React.useState(sortDirection),
5287
5287
  _useState2 = _slicedToArray(_useState, 2),
@@ -5701,7 +5701,7 @@
5701
5701
  });
5702
5702
  StyledPaper.displayName = "StyledPaper";
5703
5703
 
5704
- var _excluded$I = ["children", "className", "type", "hover", "useOptimizedShadow"];
5704
+ var _excluded$J = ["children", "className", "type", "hover", "useOptimizedShadow"];
5705
5705
 
5706
5706
  /**
5707
5707
  * This is a component description and should sit directly above your component
@@ -5715,7 +5715,7 @@
5715
5715
  hover = _ref$hover === void 0 ? false : _ref$hover,
5716
5716
  _ref$useOptimizedShad = _ref.useOptimizedShadow,
5717
5717
  useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
5718
- rest = _objectWithoutProperties(_ref, _excluded$I);
5718
+ rest = _objectWithoutProperties(_ref, _excluded$J);
5719
5719
 
5720
5720
  return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
5721
5721
  className: classnames__default["default"](className, {
@@ -5769,7 +5769,7 @@
5769
5769
  });
5770
5770
  StyledCard.displayName = "StyledCard";
5771
5771
 
5772
- var _excluded$H = ["children", "className", "hoverable", "paperType"];
5772
+ var _excluded$I = ["children", "className", "hoverable", "paperType"];
5773
5773
  var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
5774
5774
  var children = _ref.children,
5775
5775
  className = _ref.className,
@@ -5777,7 +5777,7 @@
5777
5777
  hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
5778
5778
  _ref$paperType = _ref.paperType,
5779
5779
  paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
5780
- rest = _objectWithoutProperties(_ref, _excluded$H);
5780
+ rest = _objectWithoutProperties(_ref, _excluded$I);
5781
5781
 
5782
5782
  return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
5783
5783
  type: paperType,
@@ -5859,12 +5859,12 @@
5859
5859
  });
5860
5860
  EntityCard.displayName = "EntityCard";
5861
5861
 
5862
- var _excluded$G = ["weight", "children"];
5862
+ var _excluded$H = ["weight", "children"];
5863
5863
  var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
5864
5864
  var _ref$weight = _ref.weight,
5865
5865
  weight = _ref$weight === void 0 ? "light" : _ref$weight,
5866
5866
  children = _ref.children,
5867
- props = _objectWithoutProperties(_ref, _excluded$G);
5867
+ props = _objectWithoutProperties(_ref, _excluded$H);
5868
5868
 
5869
5869
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
5870
5870
  weight: weight,
@@ -5874,12 +5874,12 @@
5874
5874
  });
5875
5875
  Title1.displayName = "Title1";
5876
5876
 
5877
- var _excluded$F = ["weight", "children"];
5877
+ var _excluded$G = ["weight", "children"];
5878
5878
  var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
5879
5879
  var _ref$weight = _ref.weight,
5880
5880
  weight = _ref$weight === void 0 ? "light" : _ref$weight,
5881
5881
  children = _ref.children,
5882
- props = _objectWithoutProperties(_ref, _excluded$F);
5882
+ props = _objectWithoutProperties(_ref, _excluded$G);
5883
5883
 
5884
5884
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
5885
5885
  weight: weight,
@@ -5889,10 +5889,10 @@
5889
5889
  });
5890
5890
  Title2.displayName = "Title2";
5891
5891
 
5892
- var _excluded$E = ["children"];
5892
+ var _excluded$F = ["children"];
5893
5893
  var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
5894
5894
  var children = _ref.children,
5895
- props = _objectWithoutProperties(_ref, _excluded$E);
5895
+ props = _objectWithoutProperties(_ref, _excluded$F);
5896
5896
 
5897
5897
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
5898
5898
  weight: "bold",
@@ -5902,10 +5902,10 @@
5902
5902
  });
5903
5903
  Header2.displayName = "Header2";
5904
5904
 
5905
- var _excluded$D = ["children"];
5905
+ var _excluded$E = ["children"];
5906
5906
  var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
5907
5907
  var children = _ref.children,
5908
- props = _objectWithoutProperties(_ref, _excluded$D);
5908
+ props = _objectWithoutProperties(_ref, _excluded$E);
5909
5909
 
5910
5910
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
5911
5911
  weight: "bold",
@@ -5915,12 +5915,12 @@
5915
5915
  });
5916
5916
  Header3.displayName = "Header3";
5917
5917
 
5918
- var _excluded$C = ["weight", "children"];
5918
+ var _excluded$D = ["weight", "children"];
5919
5919
  var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
5920
5920
  var _ref$weight = _ref.weight,
5921
5921
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
5922
5922
  children = _ref.children,
5923
- props = _objectWithoutProperties(_ref, _excluded$C);
5923
+ props = _objectWithoutProperties(_ref, _excluded$D);
5924
5924
 
5925
5925
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
5926
5926
  variant: "Body 1",
@@ -5930,12 +5930,12 @@
5930
5930
  });
5931
5931
  Body1.displayName = "Body1";
5932
5932
 
5933
- var _excluded$B = ["weight", "children"];
5933
+ var _excluded$C = ["weight", "children"];
5934
5934
  var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
5935
5935
  var _ref$weight = _ref.weight,
5936
5936
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
5937
5937
  children = _ref.children,
5938
- props = _objectWithoutProperties(_ref, _excluded$B);
5938
+ props = _objectWithoutProperties(_ref, _excluded$C);
5939
5939
 
5940
5940
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
5941
5941
  variant: "Caption 1",
@@ -5945,12 +5945,12 @@
5945
5945
  });
5946
5946
  Caption1.displayName = "Caption1";
5947
5947
 
5948
- var _excluded$A = ["weight", "children"];
5948
+ var _excluded$B = ["weight", "children"];
5949
5949
  var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
5950
5950
  var _ref$weight = _ref.weight,
5951
5951
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
5952
5952
  children = _ref.children,
5953
- props = _objectWithoutProperties(_ref, _excluded$A);
5953
+ props = _objectWithoutProperties(_ref, _excluded$B);
5954
5954
 
5955
5955
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
5956
5956
  variant: "Caption 2",
@@ -6069,7 +6069,7 @@
6069
6069
  "borderRadius": "9999px"
6070
6070
  });
6071
6071
 
6072
- var _excluded$z = ["url", "alt", "size", "className"];
6072
+ var _excluded$A = ["url", "alt", "size", "className"];
6073
6073
  var Avatar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
6074
6074
  var url = _ref.url,
6075
6075
  _ref$alt = _ref.alt,
@@ -6077,7 +6077,7 @@
6077
6077
  _ref$size = _ref.size,
6078
6078
  size = _ref$size === void 0 ? 24 : _ref$size,
6079
6079
  className = _ref.className,
6080
- rest = _objectWithoutProperties(_ref, _excluded$z);
6080
+ rest = _objectWithoutProperties(_ref, _excluded$A);
6081
6081
 
6082
6082
  return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({}, rest, {
6083
6083
  ref: ref,
@@ -6124,7 +6124,7 @@
6124
6124
  });
6125
6125
  StyledTagText.displayName = "StyledTagText";
6126
6126
 
6127
- var _excluded$y = ["name", "color", "showText", "showDot", "className"];
6127
+ var _excluded$z = ["name", "color", "showText", "showDot", "className"];
6128
6128
  var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
6129
6129
  var name = _ref.name,
6130
6130
  color = _ref.color,
@@ -6133,7 +6133,7 @@
6133
6133
  _ref$showDot = _ref.showDot,
6134
6134
  showDot = _ref$showDot === void 0 ? true : _ref$showDot,
6135
6135
  className = _ref.className,
6136
- rest = _objectWithoutProperties(_ref, _excluded$y);
6136
+ rest = _objectWithoutProperties(_ref, _excluded$z);
6137
6137
 
6138
6138
  return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
6139
6139
  className: classnames__default["default"]("c-tag", className),
@@ -6153,10 +6153,10 @@
6153
6153
  componentId: "sc-x4ge7a-0"
6154
6154
  })(["width:70%;background:linear-gradient( 90deg,rgba(255,255,255,0) 20%,rgba(0,0,0,0.05) 50%,rgba(255,255,255,0) 60% );background-size:400%;height:16px;border-radius:8px;.neon &{background:linear-gradient( 90deg,rgba(255,255,255,0) 20%,rgba(0,0,0,0.2) 50%,rgba(255,255,255,0) 60% );background-size:500%;}animation-duration:1s;animation-iteration-count:infinite;animation-name:", ";animation-timing-function:linear;animation-direction:reverse;"], linearAnimation);
6155
6155
 
6156
- var _excluded$x = ["className"];
6156
+ var _excluded$y = ["className"];
6157
6157
  var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
6158
6158
  var className = _ref.className,
6159
- rest = _objectWithoutProperties(_ref, _excluded$x);
6159
+ rest = _objectWithoutProperties(_ref, _excluded$y);
6160
6160
 
6161
6161
  return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
6162
6162
  ref: ref,
@@ -6171,10 +6171,10 @@
6171
6171
  componentId: "sc-1f35d5h-0"
6172
6172
  })(["display:inline-block;text-align:center;& > span{display:inline-block;width:18px;height:18px;background-color:#777;border-radius:100%;animation:", " 1.4s infinite ease-in-out both;}span:nth-child(1){animation-delay:-0.32s;}span:nth-child(2){animation-delay:-0.16s;}"], dotAnimation);
6173
6173
 
6174
- var _excluded$w = ["className"];
6174
+ var _excluded$x = ["className"];
6175
6175
  var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
6176
6176
  var className = _ref.className,
6177
- rest = _objectWithoutProperties(_ref, _excluded$w);
6177
+ rest = _objectWithoutProperties(_ref, _excluded$x);
6178
6178
 
6179
6179
  return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
6180
6180
  ref: ref,
@@ -6190,10 +6190,10 @@
6190
6190
  componentId: "sc-1ht53g9-0"
6191
6191
  })(["position:relative;width:20px;&:before{content:\"\";display:block;padding-top:100%;}svg{animation:", " 2s linear infinite;height:100%;transform-origin:center center;width:100%;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;circle{stroke-dasharray:1,200;stroke-dashoffset:0;stroke:var(--color-theme-600);animation:", " 1.5s ease-in-out infinite;stroke-linecap:round;}}"], rotateAnimation, dashAnimation);
6192
6192
 
6193
- var _excluded$v = ["className"];
6193
+ var _excluded$w = ["className"];
6194
6194
  var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
6195
6195
  var className = _ref.className,
6196
- rest = _objectWithoutProperties(_ref, _excluded$v);
6196
+ rest = _objectWithoutProperties(_ref, _excluded$w);
6197
6197
 
6198
6198
  return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader, _extends({
6199
6199
  ref: ref,
@@ -6321,7 +6321,7 @@
6321
6321
  }, StyledInput$1, StyledLabel);
6322
6322
  StyledCheckbox$1.displayName = "StyledCheckbox";
6323
6323
 
6324
- var _excluded$u = ["className", "hover", "id"];
6324
+ var _excluded$v = ["className", "hover", "id"];
6325
6325
 
6326
6326
  /**
6327
6327
  * Checkbox component
@@ -6331,7 +6331,7 @@
6331
6331
  hover = _ref.hover,
6332
6332
  _ref$id = _ref.id,
6333
6333
  id = _ref$id === void 0 ? "checkbox" : _ref$id,
6334
- rest = _objectWithoutProperties(_ref, _excluded$u);
6334
+ rest = _objectWithoutProperties(_ref, _excluded$v);
6335
6335
 
6336
6336
  return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
6337
6337
  className: classnames__default["default"]("c-checkbox", {
@@ -6506,7 +6506,7 @@
6506
6506
  StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
6507
6507
  StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
6508
6508
 
6509
- var _excluded$t = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
6509
+ var _excluded$u = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
6510
6510
  var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
6511
6511
  var children = _ref.children,
6512
6512
  className = _ref.className,
@@ -6520,7 +6520,7 @@
6520
6520
  invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
6521
6521
  innerColor = _ref.innerColor,
6522
6522
  outerColor = _ref.outerColor,
6523
- rest = _objectWithoutProperties(_ref, _excluded$t);
6523
+ rest = _objectWithoutProperties(_ref, _excluded$u);
6524
6524
 
6525
6525
  var _useState = React.useState({
6526
6526
  top: 0,
@@ -6650,7 +6650,7 @@
6650
6650
  return height;
6651
6651
  };
6652
6652
 
6653
- var _excluded$s = ["as", "className", "invert", "style"];
6653
+ var _excluded$t = ["as", "className", "invert", "style"];
6654
6654
  var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
6655
6655
  var _ref$as = _ref.as,
6656
6656
  as = _ref$as === void 0 ? "div" : _ref$as,
@@ -6658,7 +6658,7 @@
6658
6658
  _ref$invert = _ref.invert,
6659
6659
  invert = _ref$invert === void 0 ? false : _ref$invert,
6660
6660
  style = _ref.style,
6661
- rest = _objectWithoutProperties(_ref, _excluded$s);
6661
+ rest = _objectWithoutProperties(_ref, _excluded$t);
6662
6662
 
6663
6663
  var internalRef = useInitScrollRef(null, invert);
6664
6664
  var handleRef = useForkRef(internalRef, ref);
@@ -6700,10 +6700,10 @@
6700
6700
  var StyledAutocompleteNewItem = styled__default["default"].label.withConfig({
6701
6701
  displayName: "Styles__StyledAutocompleteNewItem",
6702
6702
  componentId: "sc-1bc1vz9-3"
6703
- })(["", ";padding:6px 16px;margin:4px 0;font-weight:normal;color:var(--color-primary);&:before{content:\"+ \";}", ""], {
6703
+ })(["", ";", " padding:6px 16px;margin:4px 0;font-weight:normal;color:var(--color-primary);&:before{content:\"+ \";}", ""], {
6704
6704
  "cursor": "pointer",
6705
6705
  "userSelect": "none"
6706
- }, function (props) {
6706
+ }, FontStyle, function (props) {
6707
6707
  return props.hover && styled.css(["background-color:var(--color-theme-200);content:\"+ \";"]);
6708
6708
  });
6709
6709
  StyledAutocompleteNewItem.displayName = "StyledAutocompleteNewItem";
@@ -7074,49 +7074,69 @@
7074
7074
  };
7075
7075
  Autocomplete.displayName = "Autocomplete";
7076
7076
 
7077
- var StyledInput = styled__default["default"].input.withConfig({
7078
- displayName: "Styles__StyledInput",
7077
+ var StyledInputWrapper = styled__default["default"].div.withConfig({
7078
+ displayName: "Styles__StyledInputWrapper",
7079
7079
  componentId: "sc-ce8kcp-0"
7080
- })(["", " ", " ", " ", " ", " border-width:1px;border-style:solid;", " border-radius:8px;padding:4px 8px 6px 8px;height:32px;background-color:var(--input-background-color);transition:all 0.3s ease;width:360px;outline:none;", " ", " ", " ", " ", " ", " &::placeholder{", "}", ""], {
7081
- "fontSize": "0.875rem"
7082
- }, {
7083
- "color": "var(--color-theme-900)"
7084
- }, {
7085
- "lineHeight": "1.375"
7080
+ })(["", " ", " ", " border-width:1px;border-style:solid;", " border-radius:8px;padding:4px;height:32px;background-color:var(--input-background-color);transition:all 0.3s ease;width:360px;", " ", " ", " ", " ", " ", " ", ""], {
7081
+ "cursor": "text"
7086
7082
  }, {
7087
- "letterSpacing": "0.02em"
7083
+ "display": "flex"
7088
7084
  }, {
7089
- "fontWeight": "400"
7085
+ "alignItems": "center"
7090
7086
  }, {
7091
7087
  "borderColor": "var(--color-theme-500)"
7092
7088
  }, FontStyle, BoxSizingStyle, function (props) {
7093
7089
  return props.$size === "small" && styled.css(["border-radius:6px;height:24px;"]);
7094
7090
  }, function (props) {
7095
- return props.$size === "big" && styled.css(["", " height:40px;"], {
7096
- "fontSize": "1rem"
7097
- });
7091
+ return props.$size === "big" && styled.css(["height:40px;"]);
7098
7092
  }, function (props) {
7099
- return props.disabled && styled.css(["", ""], {
7093
+ return props.$disabled && styled.css(["", ""], {
7100
7094
  "cursor": "not-allowed",
7101
7095
  "opacity": "0.5"
7102
7096
  });
7103
7097
  }, function (props) {
7104
- return !props.disabled && !props.$invalid && styled.css(["&:active,&:focus,&:hover{", "}"], {
7098
+ return !props.$disabled && !props.$invalid && styled.css(["&:focus-within,&:hover{", "}"], {
7105
7099
  "borderColor": "var(--color-primary)"
7106
7100
  });
7101
+ }, function (props) {
7102
+ return !props.$disabled && props.$invalid && styled.css(["", ""], {
7103
+ "borderColor": "var(--red-alert)"
7104
+ });
7105
+ });
7106
+ StyledInputWrapper.displayName = "StyledInputWrapper";
7107
+ var StyledInput = styled__default["default"].input.withConfig({
7108
+ displayName: "Styles__StyledInput",
7109
+ componentId: "sc-ce8kcp-1"
7110
+ })(["", " ", " ", " ", " ", " ", " padding:0px;margin:0 4px;background-color:var(--input-background-color);border:none;outline:none;&::placeholder{", "}", " ", ""], {
7111
+ "fontSize": "0.875rem"
7112
+ }, {
7113
+ "color": "var(--color-theme-900)"
7114
+ }, {
7115
+ "lineHeight": "1.375"
7116
+ }, {
7117
+ "letterSpacing": "0.02em"
7118
+ }, {
7119
+ "fontWeight": "400"
7120
+ }, {
7121
+ "width": "100%"
7107
7122
  }, {
7108
7123
  "color": "var(--color-theme-transparent-500)"
7109
7124
  }, function (props) {
7110
- return !props.disabled && props.$invalid && styled.css(["", ""], {
7111
- "borderColor": "var(--red-alert)"
7125
+ return props.$size === "big" && styled.css(["", ""], {
7126
+ "fontSize": "1rem"
7127
+ });
7128
+ }, function (props) {
7129
+ return props.disabled && styled.css(["", ""], {
7130
+ "cursor": "not-allowed"
7112
7131
  });
7113
7132
  });
7114
7133
  StyledInput.displayName = "StyledInput";
7115
7134
 
7116
- var _excluded$r = ["className", "type", "disabled", "size", "invalid"];
7117
- var Input = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
7135
+ var _excluded$s = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "inputRef"];
7136
+ var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
7118
7137
  var _ref$className = _ref.className,
7119
7138
  className = _ref$className === void 0 ? "" : _ref$className,
7139
+ style = _ref.style,
7120
7140
  _ref$type = _ref.type,
7121
7141
  type = _ref$type === void 0 ? "text" : _ref$type,
7122
7142
  _ref$disabled = _ref.disabled,
@@ -7125,16 +7145,32 @@
7125
7145
  size = _ref$size === void 0 ? "regular" : _ref$size,
7126
7146
  _ref$invalid = _ref.invalid,
7127
7147
  invalid = _ref$invalid === void 0 ? false : _ref$invalid,
7128
- rest = _objectWithoutProperties(_ref, _excluded$r);
7148
+ startAdornment = _ref.startAdornment,
7149
+ endAdornment = _ref.endAdornment,
7150
+ inputRef = _ref.inputRef,
7151
+ rest = _objectWithoutProperties(_ref, _excluded$s);
7129
7152
 
7130
- return /*#__PURE__*/React__default["default"].createElement(StyledInput, _extends({
7131
- ref: ref,
7132
- type: type,
7133
- disabled: disabled,
7153
+ var intInputRef = React.useRef(null);
7154
+ var handleRef = useForkRef(inputRef, intInputRef);
7155
+ var handleWrapperClick = React.useCallback(function () {
7156
+ var _intInputRef$current;
7157
+
7158
+ (_intInputRef$current = intInputRef.current) === null || _intInputRef$current === void 0 ? void 0 : _intInputRef$current.focus();
7159
+ }, []);
7160
+ return /*#__PURE__*/React__default["default"].createElement(StyledInputWrapper, {
7161
+ $size: size,
7162
+ $invalid: invalid,
7163
+ $disabled: disabled,
7134
7164
  className: classnames__default["default"]("c-input", className),
7165
+ style: style,
7166
+ onClick: handleWrapperClick,
7167
+ ref: ref
7168
+ }, startAdornment, /*#__PURE__*/React__default["default"].createElement(StyledInput, _extends({
7169
+ ref: handleRef,
7170
+ type: type,
7135
7171
  $size: size,
7136
- $invalid: invalid
7137
- }, rest));
7172
+ disabled: disabled
7173
+ }, rest)), endAdornment);
7138
7174
  });
7139
7175
  Input.displayName = "Input";
7140
7176
 
@@ -7164,14 +7200,14 @@
7164
7200
  }, StyledRadioLabel);
7165
7201
  StyledRadioButton$1.displayName = "StyledRadioButton";
7166
7202
 
7167
- var _excluded$q = ["className", "id", "hover"];
7203
+ var _excluded$r = ["className", "id", "hover"];
7168
7204
  var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
7169
7205
  var _ref$className = _ref.className,
7170
7206
  className = _ref$className === void 0 ? "" : _ref$className,
7171
7207
  _ref$id = _ref.id,
7172
7208
  id = _ref$id === void 0 ? "radio" : _ref$id,
7173
7209
  hover = _ref.hover,
7174
- props = _objectWithoutProperties(_ref, _excluded$q);
7210
+ props = _objectWithoutProperties(_ref, _excluded$r);
7175
7211
 
7176
7212
  return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
7177
7213
  className: classnames__default["default"]("c-radio-btn", {
@@ -7264,7 +7300,7 @@
7264
7300
  };
7265
7301
  OptionContent.displayName = "OptionContent";
7266
7302
 
7267
- var _excluded$p = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose"];
7303
+ var _excluded$q = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose"];
7268
7304
  var Select = function Select(_ref) {
7269
7305
  var _ref$type = _ref.type,
7270
7306
  type = _ref$type === void 0 ? "single" : _ref$type,
@@ -7294,7 +7330,7 @@
7294
7330
  keepSameOptionsOrder = _ref$keepSameOptionsO === void 0 ? false : _ref$keepSameOptionsO,
7295
7331
  onSelectOpen = _ref.onSelectOpen,
7296
7332
  onSelectClose = _ref.onSelectClose,
7297
- prop = _objectWithoutProperties(_ref, _excluded$p);
7333
+ prop = _objectWithoutProperties(_ref, _excluded$q);
7298
7334
 
7299
7335
  var _useState = React.useState(),
7300
7336
  _useState2 = _slicedToArray(_useState, 2),
@@ -7454,7 +7490,7 @@
7454
7490
  return /*#__PURE__*/React__default["default"].createElement(Tag, props, /*#__PURE__*/React__default["default"].createElement("div", null, !disableSearch ? /*#__PURE__*/React__default["default"].createElement(StyledSelectForm, {
7455
7491
  ref: formRef
7456
7492
  }, /*#__PURE__*/React__default["default"].createElement(StyledSelectInput, {
7457
- ref: handleRef,
7493
+ inputRef: handleRef,
7458
7494
  autoFocus: true,
7459
7495
  placeholder: placeholder
7460
7496
  }), actionIcon && actionLabel && /*#__PURE__*/React__default["default"].createElement(Tooltip, {
@@ -7570,7 +7606,7 @@
7570
7606
  });
7571
7607
  StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
7572
7608
 
7573
- var _excluded$o = ["children", "active", "disabled", "className", "role"];
7609
+ var _excluded$p = ["children", "active", "disabled", "className", "role"];
7574
7610
  var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
7575
7611
  var children = _ref.children,
7576
7612
  _ref$active = _ref.active,
@@ -7579,7 +7615,7 @@
7579
7615
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
7580
7616
  className = _ref.className,
7581
7617
  role = _ref.role,
7582
- rest = _objectWithoutProperties(_ref, _excluded$o);
7618
+ rest = _objectWithoutProperties(_ref, _excluded$p);
7583
7619
 
7584
7620
  return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
7585
7621
  className: classnames__default["default"]("c-nav__item", {
@@ -7621,11 +7657,11 @@
7621
7657
  });
7622
7658
  StyledExpandSingle.displayName = "StyledExpandSingle";
7623
7659
 
7624
- var _excluded$n = ["expanded"];
7660
+ var _excluded$o = ["expanded"];
7625
7661
  var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
7626
7662
  var _ref$expanded = _ref.expanded,
7627
7663
  expanded = _ref$expanded === void 0 ? false : _ref$expanded,
7628
- rest = _objectWithoutProperties(_ref, _excluded$n);
7664
+ rest = _objectWithoutProperties(_ref, _excluded$o);
7629
7665
 
7630
7666
  return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
7631
7667
  ref: ref,
@@ -7938,6 +7974,34 @@
7938
7974
  };
7939
7975
  Nav.displayName = "Nav";
7940
7976
 
7977
+ var _excluded$n = ["children", "as", "disablePointerEvents"];
7978
+ var InputAdornmentBase = styled__default["default"].div.withConfig({
7979
+ displayName: "InputAdornment__InputAdornmentBase",
7980
+ componentId: "sc-1xfjx1z-0"
7981
+ })(["", " ", " ", ""], {
7982
+ "display": "flex"
7983
+ }, {
7984
+ "alignItems": "center"
7985
+ }, function (props) {
7986
+ return props.$disablePointerEvents && styled.css(["", ""], {
7987
+ "pointerEvents": "none"
7988
+ });
7989
+ });
7990
+ var InputAdornment = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
7991
+ var children = _ref.children,
7992
+ as = _ref.as,
7993
+ disablePointerEvents = _ref.disablePointerEvents,
7994
+ rest = _objectWithoutProperties(_ref, _excluded$n);
7995
+
7996
+ var Component = as || "div";
7997
+ return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
7998
+ as: Component,
7999
+ $disablePointerEvents: disablePointerEvents,
8000
+ ref: ref
8001
+ }), children);
8002
+ });
8003
+ InputAdornment.displayName = "InputAdornment";
8004
+
7941
8005
  var _excluded$m = ["expanded"];
7942
8006
  var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
7943
8007
  var _ref$expanded = _ref.expanded,
@@ -10196,41 +10260,29 @@
10196
10260
  });
10197
10261
  Toggle.displayName = "Toggle";
10198
10262
 
10199
- var StyledComboBox = styled__default["default"].div.withConfig({
10200
- displayName: "Styles__StyledComboBox",
10263
+ var StyledComboBoxInput = styled__default["default"](Input).withConfig({
10264
+ displayName: "Styles__StyledComboBoxInput",
10201
10265
  componentId: "sc-5qvkpb-0"
10202
- })(["position:relative;cursor:text;", " ", " ", ""], FontStyle, BoxSizingStyle, function (props) {
10266
+ })(["overflow:hidden;text-overflow:ellipsis;width:100%;", ""], function (props) {
10203
10267
  return props.$loading && styled.css(["cursor:progress;"]);
10204
10268
  });
10205
- StyledComboBox.displayName = "StyledComboBox";
10206
- var StyledComboBoxControls = styled__default["default"].div.withConfig({
10207
- displayName: "Styles__StyledComboBoxControls",
10208
- componentId: "sc-5qvkpb-1"
10209
- })(["position:absolute;top:0;right:0;height:100%;display:flex;align-items:center;justify-content:center;"]);
10210
- StyledComboBoxControls.displayName = "StyledComboBoxControls";
10269
+ StyledComboBoxInput.displayName = "StyledComboBoxInput";
10211
10270
  var StyledIconDefaults = styled.css(["flex-shrink:0;cursor:pointer;"]);
10212
- var StyledComboBoxCloseSmallIcon = styled__default["default"](CloseSmallIcon$1).withConfig({
10213
- displayName: "Styles__StyledComboBoxCloseSmallIcon",
10214
- componentId: "sc-5qvkpb-2"
10215
- })(["", " opacity:0;transition-property:all;transition-duration:0.2s;transition-delay:0.5s;", ":hover &{opacity:1;transition-delay:0s;}"], StyledIconDefaults, StyledComboBox);
10216
- StyledComboBoxCloseSmallIcon.displayName = "StyledComboBoxCloseSmallIcon";
10217
10271
  var StyledComboBoxCollapseExpandSingleIcon = styled__default["default"](CollapseExpandSingleIcon$1).withConfig({
10218
10272
  displayName: "Styles__StyledComboBoxCollapseExpandSingleIcon",
10219
- componentId: "sc-5qvkpb-3"
10220
- })(["", " margin:0 4px 0 0;color:var(--color-theme-600);transform:rotate(180deg);", ""], StyledIconDefaults, function (props) {
10273
+ componentId: "sc-5qvkpb-1"
10274
+ })(["", " color:var(--color-theme-600);transform:rotate(180deg);", ""], StyledIconDefaults, function (props) {
10221
10275
  return props.$open && styled.css(["transform:rotate(0deg);"]);
10222
10276
  });
10223
10277
  StyledComboBoxCollapseExpandSingleIcon.displayName = "StyledComboBoxCollapseExpandSingleIcon";
10224
- var StyledComboBoxInput = styled__default["default"](Input).withConfig({
10225
- displayName: "Styles__StyledComboBoxInput",
10226
- componentId: "sc-5qvkpb-4"
10227
- })(["overflow:hidden;text-overflow:ellipsis;width:100%;padding-right:80px;", ":hover &{", "}"], StyledComboBox, {
10228
- "borderColor": "var(--color-primary)"
10229
- });
10230
- StyledComboBoxInput.displayName = "StyledComboBoxInput";
10278
+ var StyledComboBoxCloseSmallIcon = styled__default["default"](CloseSmallIcon$1).withConfig({
10279
+ displayName: "Styles__StyledComboBoxCloseSmallIcon",
10280
+ componentId: "sc-5qvkpb-2"
10281
+ })(["", " opacity:0;transition-property:all;transition-duration:0.2s;transition-delay:0.5s;", ":hover &{opacity:1;transition-delay:0s;}"], StyledIconDefaults, StyledComboBoxInput);
10282
+ StyledComboBoxCloseSmallIcon.displayName = "StyledComboBoxCloseSmallIcon";
10231
10283
  var StyledComboBoxList = styled__default["default"].div.withConfig({
10232
10284
  displayName: "Styles__StyledComboBoxList",
10233
- componentId: "sc-5qvkpb-5"
10285
+ componentId: "sc-5qvkpb-3"
10234
10286
  })(["min-width:260px;background-color:var(--page-paper-main);border-radius:8px;border:1px solid var(--border-primary);box-shadow:var(--shadow-tertiary);margin:8px 0;width:", ";"], function (props) {
10235
10287
  return "".concat(props.$width, "px");
10236
10288
  });
@@ -10257,6 +10309,7 @@
10257
10309
  invalid = _ref$invalid === void 0 ? false : _ref$invalid,
10258
10310
  prop = _objectWithoutProperties(_ref, _excluded$2);
10259
10311
 
10312
+ var timeoutRef = React.useRef();
10260
10313
  var selectedName = React.useMemo(function () {
10261
10314
  var value = "";
10262
10315
 
@@ -10328,12 +10381,6 @@
10328
10381
  setOpen(false);
10329
10382
  }
10330
10383
  }, [onChange]);
10331
- var onClose = React.useCallback(function () {
10332
- setTimeout(function () {
10333
- setOpen(false);
10334
- }, 200);
10335
- setValue(selectedName);
10336
- }, [selectedName]);
10337
10384
  var onOpen = React.useCallback(function () {
10338
10385
  if (!disabled) {
10339
10386
  setOpen(true);
@@ -10356,41 +10403,42 @@
10356
10403
  e.preventDefault();
10357
10404
  }, []);
10358
10405
  var comboBoxRef = React.useRef(null);
10359
- var clickOutsideCallback = React.useCallback(function (event) {
10360
- if (comboBoxRef.current && !comboBoxRef.current.contains(event.target)) {
10361
- onClose();
10362
- }
10363
- }, [onClose]);
10406
+ var handleBlur = React.useCallback(function () {
10407
+ setValue(selectedName);
10408
+ timeoutRef.current = setTimeout(function () {
10409
+ setOpen(false);
10410
+ }, 200);
10411
+ }, [selectedName]);
10364
10412
  React.useEffect(function () {
10365
- document.addEventListener("click", clickOutsideCallback);
10366
10413
  return function () {
10367
- document.removeEventListener("click", clickOutsideCallback);
10414
+ timeoutRef.current && clearTimeout(timeoutRef.current);
10368
10415
  };
10369
- }, [clickOutsideCallback]);
10370
- return /*#__PURE__*/React__default["default"].createElement(StyledComboBox, {
10416
+ }, []);
10417
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(StyledComboBoxInput, {
10371
10418
  className: "c-combo-box",
10372
- $open: open,
10373
- $loading: loading,
10419
+ onBlur: handleBlur,
10420
+ onFocus: onOpen,
10374
10421
  ref: comboBoxRef,
10375
- onClick: onOpen,
10376
- onFocus: onOpen
10377
- }, /*#__PURE__*/React__default["default"].createElement(StyledComboBoxInput, {
10378
- ref: handleRef,
10422
+ inputRef: handleRef,
10379
10423
  value: loading && loadingText ? loadingText : value,
10380
10424
  onKeyDown: handleOnKeyDown,
10381
10425
  onChange: handleOnChange,
10382
10426
  placeholder: placeholder,
10383
10427
  disabled: disabled,
10384
10428
  size: size,
10385
- invalid: invalid
10386
- }), !disabled ? /*#__PURE__*/React__default["default"].createElement(StyledComboBoxControls, null, loading ? /*#__PURE__*/React__default["default"].createElement(SpinnerLoader, null) : selected ? /*#__PURE__*/React__default["default"].createElement(Button, {
10387
- onMouseDown: handleMouseDown,
10388
- onClick: handleDeselect,
10389
- variant: "text gray",
10390
- size: "small"
10391
- }, /*#__PURE__*/React__default["default"].createElement(StyledComboBoxCloseSmallIcon, null)) : null, /*#__PURE__*/React__default["default"].createElement(StyledComboBoxCollapseExpandSingleIcon, {
10392
- $open: open
10393
- })) : null, !disabled ? /*#__PURE__*/React__default["default"].createElement(Popper, {
10429
+ invalid: invalid,
10430
+ $loading: loading,
10431
+ endAdornment: !disabled ? /*#__PURE__*/React__default["default"].createElement(InputAdornment, {
10432
+ disablePointerEvents: disabled
10433
+ }, loading ? /*#__PURE__*/React__default["default"].createElement(SpinnerLoader, null) : selected ? /*#__PURE__*/React__default["default"].createElement(Button, {
10434
+ onMouseDown: handleMouseDown,
10435
+ onClick: handleDeselect,
10436
+ variant: "text gray",
10437
+ size: "small"
10438
+ }, /*#__PURE__*/React__default["default"].createElement(StyledComboBoxCloseSmallIcon, null)) : null, /*#__PURE__*/React__default["default"].createElement(StyledComboBoxCollapseExpandSingleIcon, {
10439
+ $open: open
10440
+ })) : null
10441
+ }), !disabled ? /*#__PURE__*/React__default["default"].createElement(Popper, {
10394
10442
  anchorEl: comboBoxRef.current,
10395
10443
  open: open,
10396
10444
  placement: "bottom",
@@ -11116,6 +11164,7 @@
11116
11164
  exports.InfoIcon = InfoIcon$1;
11117
11165
  exports.InfoSmallIcon = InfoSmallIcon$1;
11118
11166
  exports.Input = Input;
11167
+ exports.InputAdornment = InputAdornment;
11119
11168
  exports.InsertLinkIcon = InsertLinkIcon$1;
11120
11169
  exports.IntegrationsIcon = IntegrationsIcon$1;
11121
11170
  exports.InvoicesIcon = InvoicesIcon$1;