@activecollab/components 2.0.86 → 2.0.88

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 (53) hide show
  1. package/dist/cjs/components/Icons/collection/ArrowDownSmall.js +46 -0
  2. package/dist/cjs/components/Icons/collection/ArrowDownSmall.js.map +1 -0
  3. package/dist/cjs/components/Icons/collection/SortList.js +46 -0
  4. package/dist/cjs/components/Icons/collection/SortList.js.map +1 -0
  5. package/dist/cjs/components/Icons/collection/index.js +14 -0
  6. package/dist/cjs/components/Icons/collection/index.js.map +1 -1
  7. package/dist/cjs/components/Input/InputSelectTrigger.js +37 -0
  8. package/dist/cjs/components/Input/InputSelectTrigger.js.map +1 -0
  9. package/dist/cjs/components/Input/InputUrl.js +109 -0
  10. package/dist/cjs/components/Input/InputUrl.js.map +1 -0
  11. package/dist/cjs/components/Input/Styles.js +13 -1
  12. package/dist/cjs/components/Input/Styles.js.map +1 -1
  13. package/dist/cjs/components/Input/index.js +11 -0
  14. package/dist/cjs/components/Input/index.js.map +1 -1
  15. package/dist/cjs/utils/validation.js +9 -1
  16. package/dist/cjs/utils/validation.js.map +1 -1
  17. package/dist/esm/components/Icons/collection/ArrowDownSmall.d.ts +23 -0
  18. package/dist/esm/components/Icons/collection/ArrowDownSmall.d.ts.map +1 -0
  19. package/dist/esm/components/Icons/collection/ArrowDownSmall.js +44 -0
  20. package/dist/esm/components/Icons/collection/ArrowDownSmall.js.map +1 -0
  21. package/dist/esm/components/Icons/collection/SortList.d.ts +23 -0
  22. package/dist/esm/components/Icons/collection/SortList.d.ts.map +1 -0
  23. package/dist/esm/components/Icons/collection/SortList.js +44 -0
  24. package/dist/esm/components/Icons/collection/SortList.js.map +1 -0
  25. package/dist/esm/components/Icons/collection/index.d.ts +2 -0
  26. package/dist/esm/components/Icons/collection/index.d.ts.map +1 -1
  27. package/dist/esm/components/Icons/collection/index.js +14 -0
  28. package/dist/esm/components/Icons/collection/index.js.map +1 -1
  29. package/dist/esm/components/Input/InputSelectTrigger.d.ts +11 -0
  30. package/dist/esm/components/Input/InputSelectTrigger.d.ts.map +1 -0
  31. package/dist/esm/components/Input/InputSelectTrigger.js +39 -0
  32. package/dist/esm/components/Input/InputSelectTrigger.js.map +1 -0
  33. package/dist/esm/components/Input/InputUrl.d.ts +12 -0
  34. package/dist/esm/components/Input/InputUrl.d.ts.map +1 -0
  35. package/dist/esm/components/Input/InputUrl.js +97 -0
  36. package/dist/esm/components/Input/InputUrl.js.map +1 -0
  37. package/dist/esm/components/Input/Styles.d.ts +4 -0
  38. package/dist/esm/components/Input/Styles.d.ts.map +1 -1
  39. package/dist/esm/components/Input/Styles.js +11 -1
  40. package/dist/esm/components/Input/Styles.js.map +1 -1
  41. package/dist/esm/components/Input/index.d.ts +1 -0
  42. package/dist/esm/components/Input/index.d.ts.map +1 -1
  43. package/dist/esm/components/Input/index.js +11 -0
  44. package/dist/esm/components/Input/index.js.map +1 -1
  45. package/dist/esm/utils/validation.d.ts +1 -0
  46. package/dist/esm/utils/validation.d.ts.map +1 -1
  47. package/dist/esm/utils/validation.js +10 -1
  48. package/dist/esm/utils/validation.js.map +1 -1
  49. package/dist/index.js +314 -102
  50. package/dist/index.js.map +1 -1
  51. package/dist/index.min.js +1 -1
  52. package/dist/index.min.js.map +1 -1
  53. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -199,7 +199,7 @@
199
199
  })(["display:inline-flex;svg{margin:0 4px;}"]);
200
200
  StyledButtonElement.displayName = "StyledButtonElement";
201
201
 
202
- var _excluded$1t = ["children", "active", "variant", "size", "className"];
202
+ var _excluded$1u = ["children", "active", "variant", "size", "className"];
203
203
  /**
204
204
  * @component Button
205
205
  * @description
@@ -229,7 +229,7 @@
229
229
  _ref$size = _ref.size,
230
230
  size = _ref$size === void 0 ? "medium" : _ref$size,
231
231
  className = _ref.className,
232
- args = _objectWithoutProperties(_ref, _excluded$1t);
232
+ args = _objectWithoutProperties(_ref, _excluded$1u);
233
233
  return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
234
234
  className: classNames__default["default"]("c-btn", className, {
235
235
  "c-btn--contained": variant === "primary" || variant === "contained",
@@ -303,12 +303,12 @@
303
303
  AddCrossTinyIcon.displayName = "AddCrossTinyIcon";
304
304
  var AddCrossTinyIcon$1 = AddCrossTinyIcon;
305
305
 
306
- var _excluded$1s = ["className", "disabled"];
306
+ var _excluded$1t = ["className", "disabled"];
307
307
  var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
308
308
  var className = _ref.className,
309
309
  _ref$disabled = _ref.disabled,
310
310
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
311
- rest = _objectWithoutProperties(_ref, _excluded$1s);
311
+ rest = _objectWithoutProperties(_ref, _excluded$1t);
312
312
  return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
313
313
  ref: ref,
314
314
  variant: "contained",
@@ -340,11 +340,11 @@
340
340
  });
341
341
  StyledButtonGroup$1.displayName = "StyledButtonGroup";
342
342
 
343
- var _excluded$1r = ["children", "className"];
343
+ var _excluded$1s = ["children", "className"];
344
344
  var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
345
345
  var children = _ref.children,
346
346
  className = _ref.className,
347
- rest = _objectWithoutProperties(_ref, _excluded$1r);
347
+ rest = _objectWithoutProperties(_ref, _excluded$1s);
348
348
  return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
349
349
  ref: ref,
350
350
  className: classNames__default["default"]("c-btn-group", className)
@@ -368,11 +368,11 @@
368
368
  })(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
369
369
  StyledListSeparator.displayName = "StyledListSeparator";
370
370
 
371
- var _excluded$1q = ["children", "className"];
371
+ var _excluded$1r = ["children", "className"];
372
372
  var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
373
373
  var children = _ref.children,
374
374
  className = _ref.className,
375
- props = _objectWithoutProperties(_ref, _excluded$1q);
375
+ props = _objectWithoutProperties(_ref, _excluded$1r);
376
376
  return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({
377
377
  className: classNames__default["default"]("c-list-item", className),
378
378
  ref: ref,
@@ -381,21 +381,21 @@
381
381
  });
382
382
  ListItem.displayName = "ListItem";
383
383
 
384
- var _excluded$1p = ["className"];
384
+ var _excluded$1q = ["className"];
385
385
  var ListSeparator = function ListSeparator(_ref) {
386
386
  var className = _ref.className,
387
- props = _objectWithoutProperties(_ref, _excluded$1p);
387
+ props = _objectWithoutProperties(_ref, _excluded$1q);
388
388
  return /*#__PURE__*/React__default["default"].createElement(StyledListSeparator, _extends({
389
389
  className: classNames__default["default"]("c-list-separator", className)
390
390
  }, props));
391
391
  };
392
392
  ListSeparator.displayName = "ListSeparator";
393
393
 
394
- var _excluded$1o = ["children", "className"];
394
+ var _excluded$1p = ["children", "className"];
395
395
  var _List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
396
396
  var children = _ref.children,
397
397
  className = _ref.className,
398
- props = _objectWithoutProperties(_ref, _excluded$1o);
398
+ props = _objectWithoutProperties(_ref, _excluded$1p);
399
399
  return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({
400
400
  className: className,
401
401
  ref: ref,
@@ -616,6 +616,14 @@
616
616
  var regexString = `^(-?\\d{0,${limit}}(?:\\${decimalSeparator}\\d{0,${decimalLength}})?)?$`;
617
617
  return new RegExp(regexString).test(numericInput);
618
618
  };
619
+ var isValidUrl = function isValidUrl(string) {
620
+ try {
621
+ new URL(string);
622
+ return true;
623
+ } catch (_) {
624
+ return false;
625
+ }
626
+ };
619
627
 
620
628
  function setRef(ref, value) {
621
629
  if (typeof ref === "function") {
@@ -757,7 +765,7 @@
757
765
  return size === "big" && styled.css(["width:40px;"]);
758
766
  });
759
767
 
760
- var _excluded$1n = ["children", "className", "variant", "size", "active"];
768
+ var _excluded$1o = ["children", "className", "variant", "size", "active"];
761
769
 
762
770
  // eslint-disable-next-line @typescript-eslint/no-empty-interface
763
771
 
@@ -787,7 +795,7 @@
787
795
  variant = _ref.variant,
788
796
  size = _ref.size,
789
797
  active = _ref.active,
790
- args = _objectWithoutProperties(_ref, _excluded$1n);
798
+ args = _objectWithoutProperties(_ref, _excluded$1o);
791
799
  return /*#__PURE__*/React__default["default"].createElement(StyledIconButton, _extends({
792
800
  className: className,
793
801
  variant: variant,
@@ -1071,6 +1079,43 @@
1071
1079
  ArrowDownLongIcon.displayName = "ArrowDownLongIcon";
1072
1080
  var ArrowDownLongIcon$1 = ArrowDownLongIcon;
1073
1081
 
1082
+ /**
1083
+ * @component ArrowDownSmallIcon
1084
+ * @description
1085
+ *
1086
+ * The React Icon component is a visual element that displays an icon to represent a concept, object, or action.
1087
+ * The Icon component is
1088
+ * customizable, allowing for variations in size, color, and style to fit the needs of the application.
1089
+ *
1090
+ *
1091
+ * @example
1092
+ * return (
1093
+ * <ArrowDownSmallIcon className="mr-2" />
1094
+ * )
1095
+ *
1096
+ * @see
1097
+ * https://system.activecollab.com/?path=/story/foundation-icons-icons--icons
1098
+ * @see
1099
+ * https://design.activecollab.com/docs/foundations/icons
1100
+ */
1101
+ var ArrowDownSmallIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
1102
+ return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
1103
+ width: 16,
1104
+ height: 16,
1105
+ xmlns: "http://www.w3.org/2000/svg",
1106
+ "data-testid": "ArrowDownSmallIcon",
1107
+ fill: "var(--color-theme-600)",
1108
+ focusable: false,
1109
+ ref: svgRef
1110
+ }, props), /*#__PURE__*/React__default["default"].createElement("path", {
1111
+ fillRule: "evenodd",
1112
+ clipRule: "evenodd",
1113
+ d: "M10.248 6.843a.662.662 0 01.9 0 .578.578 0 010 .85L8 10.666 4.853 7.692a.578.578 0 010-.85.662.662 0 01.9 0L8 8.968l2.248-2.124z"
1114
+ }));
1115
+ });
1116
+ ArrowDownSmallIcon.displayName = "ArrowDownSmallIcon";
1117
+ var ArrowDownSmallIcon$1 = ArrowDownSmallIcon;
1118
+
1074
1119
  /**
1075
1120
  * @component ArrowDownIcon
1076
1121
  * @description
@@ -6727,6 +6772,43 @@
6727
6772
  SortIcon.displayName = "SortIcon";
6728
6773
  var SortIcon$1 = SortIcon;
6729
6774
 
6775
+ /**
6776
+ * @component SortListIcon
6777
+ * @description
6778
+ *
6779
+ * The React Icon component is a visual element that displays an icon to represent a concept, object, or action.
6780
+ * The Icon component is
6781
+ * customizable, allowing for variations in size, color, and style to fit the needs of the application.
6782
+ *
6783
+ *
6784
+ * @example
6785
+ * return (
6786
+ * <SortListIcon className="mr-2" />
6787
+ * )
6788
+ *
6789
+ * @see
6790
+ * https://system.activecollab.com/?path=/story/foundation-icons-icons--icons
6791
+ * @see
6792
+ * https://design.activecollab.com/docs/foundations/icons
6793
+ */
6794
+ var SortListIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
6795
+ return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
6796
+ width: 20,
6797
+ height: 18,
6798
+ xmlns: "http://www.w3.org/2000/svg",
6799
+ "data-testid": "SortListIcon",
6800
+ fill: "var(--color-theme-600)",
6801
+ focusable: false,
6802
+ ref: svgRef
6803
+ }, props), /*#__PURE__*/React__default["default"].createElement("path", {
6804
+ fillRule: "evenodd",
6805
+ clipRule: "evenodd",
6806
+ d: "M16 0l4 4h-3v10h3l-4 4-4-4h3V4h-3l4-4zM9 13a1 1 0 110 2H1a1 1 0 110-2h8zm3-5a1 1 0 110 2H4a1 1 0 010-2h8zM9 3a1 1 0 010 2H1a1 1 0 010-2h8z"
6807
+ }));
6808
+ });
6809
+ SortListIcon.displayName = "SortListIcon";
6810
+ var SortListIcon$1 = SortListIcon;
6811
+
6730
6812
  /**
6731
6813
  * @component StarOutlineIcon
6732
6814
  * @description
@@ -7505,7 +7587,7 @@
7505
7587
  }, FontStyle, BoxSizingStyle);
7506
7588
  StyledBubble.displayName = "StyledBubble";
7507
7589
 
7508
- var _excluded$1m = ["children", "className", "innerRef", "style"];
7590
+ var _excluded$1n = ["children", "className", "innerRef", "style"];
7509
7591
  var Bubble = function Bubble(_ref) {
7510
7592
  var children = _ref.children,
7511
7593
  className = _ref.className,
@@ -7513,7 +7595,7 @@
7513
7595
  innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
7514
7596
  _ref$style = _ref.style,
7515
7597
  style = _ref$style === void 0 ? {} : _ref$style,
7516
- rest = _objectWithoutProperties(_ref, _excluded$1m);
7598
+ rest = _objectWithoutProperties(_ref, _excluded$1n);
7517
7599
  return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
7518
7600
  ref: innerRef,
7519
7601
  className: classNames__default["default"]("c-bubble", className),
@@ -7574,12 +7656,12 @@
7574
7656
  });
7575
7657
  StyledOverlay.displayName = "StyledOverlay";
7576
7658
 
7577
- var _excluded$1l = ["className", "disableBackgroundColor"];
7659
+ var _excluded$1m = ["className", "disableBackgroundColor"];
7578
7660
  var Overlay = function Overlay(_ref) {
7579
7661
  var className = _ref.className,
7580
7662
  _ref$disableBackgroun = _ref.disableBackgroundColor,
7581
7663
  disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
7582
- rest = _objectWithoutProperties(_ref, _excluded$1l);
7664
+ rest = _objectWithoutProperties(_ref, _excluded$1m);
7583
7665
  return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
7584
7666
  className: classNames__default["default"]("c-overlay", className),
7585
7667
  $disableBackgroundColor: disableBackgroundColor
@@ -7592,7 +7674,7 @@
7592
7674
  componentId: "sc-1hgjasy-0"
7593
7675
  })(["&[data-popper-reference-hidden]{display:none !important;pointer-events:none !important;}"]);
7594
7676
 
7595
- var _excluded$1k = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy", "afterWrite"];
7677
+ var _excluded$1l = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy", "afterWrite"];
7596
7678
  var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
7597
7679
  var children = _ref.children,
7598
7680
  anchorEl = _ref.anchorEl,
@@ -7606,7 +7688,7 @@
7606
7688
  _ref$strategy = _ref.strategy,
7607
7689
  strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
7608
7690
  afterWrite = _ref.afterWrite,
7609
- rest = _objectWithoutProperties(_ref, _excluded$1k);
7691
+ rest = _objectWithoutProperties(_ref, _excluded$1l);
7610
7692
  var _useState = React.useState(true),
7611
7693
  _useState2 = _slicedToArray(_useState, 2),
7612
7694
  exited = _useState2[0],
@@ -7753,7 +7835,7 @@
7753
7835
  };
7754
7836
  var LayerContext$1 = LayerContext;
7755
7837
 
7756
- var _excluded$1j = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "disableCloseOnEsc", "onClick"];
7838
+ var _excluded$1k = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "disableCloseOnEsc", "onClick"];
7757
7839
  var returnFocus = {
7758
7840
  preventScroll: true
7759
7841
  };
@@ -7770,7 +7852,7 @@
7770
7852
  _ref$disableCloseOnEs = _ref.disableCloseOnEsc,
7771
7853
  disableCloseOnEsc = _ref$disableCloseOnEs === void 0 ? false : _ref$disableCloseOnEs,
7772
7854
  onClick = _ref.onClick,
7773
- rest = _objectWithoutProperties(_ref, _excluded$1j);
7855
+ rest = _objectWithoutProperties(_ref, _excluded$1k);
7774
7856
  var innerRef = React.useRef(null);
7775
7857
  var handleRef = useForkRef(innerRef, ref);
7776
7858
  var _useLayerContext = useLayerContext(),
@@ -8081,7 +8163,7 @@
8081
8163
  });
8082
8164
  StyledTypography.displayName = "StyledTypography";
8083
8165
 
8084
- var _excluded$1i = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
8166
+ var _excluded$1j = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
8085
8167
  var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
8086
8168
  var _ref$variant = _ref.variant,
8087
8169
  variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
@@ -8112,7 +8194,7 @@
8112
8194
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
8113
8195
  className = _ref.className,
8114
8196
  children = _ref.children,
8115
- props = _objectWithoutProperties(_ref, _excluded$1i);
8197
+ props = _objectWithoutProperties(_ref, _excluded$1j);
8116
8198
  var Component = as || "div";
8117
8199
  return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
8118
8200
  as: Component,
@@ -8135,13 +8217,13 @@
8135
8217
  });
8136
8218
  Typography.displayName = "Typography";
8137
8219
 
8138
- var _excluded$1h = ["title", "className", "leftElement", "rightElement"];
8220
+ var _excluded$1i = ["title", "className", "leftElement", "rightElement"];
8139
8221
  var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
8140
8222
  var title = _ref.title,
8141
8223
  className = _ref.className,
8142
8224
  leftElement = _ref.leftElement,
8143
8225
  rightElement = _ref.rightElement,
8144
- props = _objectWithoutProperties(_ref, _excluded$1h);
8226
+ props = _objectWithoutProperties(_ref, _excluded$1i);
8145
8227
  return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
8146
8228
  className: classNames__default["default"]("c-menu-header", className),
8147
8229
  ref: ref
@@ -8166,11 +8248,11 @@
8166
8248
  });
8167
8249
  MenuHeader.displayName = "MenuHeader";
8168
8250
 
8169
- var _excluded$1g = ["children", "className"];
8251
+ var _excluded$1h = ["children", "className"];
8170
8252
  var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
8171
8253
  var children = _ref.children,
8172
8254
  className = _ref.className,
8173
- props = _objectWithoutProperties(_ref, _excluded$1g);
8255
+ props = _objectWithoutProperties(_ref, _excluded$1h);
8174
8256
  return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter$1, _extends({}, props, {
8175
8257
  className: classNames__default["default"]("c-menu-footer", className),
8176
8258
  ref: ref
@@ -8178,14 +8260,14 @@
8178
8260
  });
8179
8261
  MenuFooter.displayName = "MenuFooter";
8180
8262
 
8181
- var _excluded$1f = ["children", "className", "separator"];
8263
+ var _excluded$1g = ["children", "className", "separator"];
8182
8264
  var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
8183
8265
  var _dimensions$width, _childDimensions$widt;
8184
8266
  var children = _ref.children,
8185
8267
  className = _ref.className,
8186
8268
  _ref$separator = _ref.separator,
8187
8269
  separator = _ref$separator === void 0 ? "/" : _ref$separator,
8188
- rest = _objectWithoutProperties(_ref, _excluded$1f);
8270
+ rest = _objectWithoutProperties(_ref, _excluded$1g);
8189
8271
  var internalRef = React.useRef(null);
8190
8272
  var listWrapperRef = React.useRef(null);
8191
8273
  var olRef = React.useRef(null);
@@ -8363,12 +8445,12 @@
8363
8445
  }, value && value > 100 ? 99 + "+" : value);
8364
8446
  };
8365
8447
 
8366
- var _excluded$1e = ["weight", "children"];
8448
+ var _excluded$1f = ["weight", "children"];
8367
8449
  var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
8368
8450
  var _ref$weight = _ref.weight,
8369
8451
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
8370
8452
  children = _ref.children,
8371
- props = _objectWithoutProperties(_ref, _excluded$1e);
8453
+ props = _objectWithoutProperties(_ref, _excluded$1f);
8372
8454
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
8373
8455
  variant: "Body 2",
8374
8456
  weight: weight,
@@ -8476,10 +8558,10 @@
8476
8558
  };
8477
8559
  FromElement.displayName = "FromElement";
8478
8560
 
8479
- var _excluded$1d = ["children"];
8561
+ var _excluded$1e = ["children"];
8480
8562
  var TooltipAnimation = function TooltipAnimation(_ref) {
8481
8563
  var children = _ref.children,
8482
- props = _objectWithoutProperties(_ref, _excluded$1d);
8564
+ props = _objectWithoutProperties(_ref, _excluded$1e);
8483
8565
  return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
8484
8566
  timeout: 0
8485
8567
  }, props), children);
@@ -8554,7 +8636,7 @@
8554
8636
  });
8555
8637
  Tooltip.displayName = "Tooltip";
8556
8638
 
8557
- var _excluded$1c = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className", "labelClassName", "disabled"];
8639
+ var _excluded$1d = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className", "labelClassName", "disabled"];
8558
8640
  var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
8559
8641
  var label = _ref.label,
8560
8642
  icon = _ref.icon,
@@ -8567,7 +8649,7 @@
8567
8649
  labelClassName = _ref.labelClassName,
8568
8650
  _ref$disabled = _ref.disabled,
8569
8651
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
8570
- args = _objectWithoutProperties(_ref, _excluded$1c);
8652
+ args = _objectWithoutProperties(_ref, _excluded$1d);
8571
8653
  return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
8572
8654
  ref: ref,
8573
8655
  className: className
@@ -8962,7 +9044,7 @@
8962
9044
  };
8963
9045
  YearMonthPicker.displayName = "YearMonthPicker";
8964
9046
 
8965
- var _excluded$1b = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers", "renderDay"];
9047
+ var _excluded$1c = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers", "renderDay"];
8966
9048
  var formatWeekdayName = function formatWeekdayName(str) {
8967
9049
  return moment__default["default"](str).format("ddd").charAt(0);
8968
9050
  };
@@ -8988,7 +9070,7 @@
8988
9070
  fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
8989
9071
  defaultModifiers = _ref.modifiers,
8990
9072
  renderDay = _ref.renderDay,
8991
- rest = _objectWithoutProperties(_ref, _excluded$1b);
9073
+ rest = _objectWithoutProperties(_ref, _excluded$1c);
8992
9074
  var _useState = React.useState(),
8993
9075
  _useState2 = _slicedToArray(_useState, 2),
8994
9076
  enteredTo = _useState2[0],
@@ -9820,10 +9902,10 @@
9820
9902
  componentId: "sc-1n0a2yl-0"
9821
9903
  })(["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);
9822
9904
 
9823
- var _excluded$1a = ["className"];
9905
+ var _excluded$1b = ["className"];
9824
9906
  var SkeletonLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
9825
9907
  var className = _ref.className,
9826
- rest = _objectWithoutProperties(_ref, _excluded$1a);
9908
+ rest = _objectWithoutProperties(_ref, _excluded$1b);
9827
9909
  return /*#__PURE__*/React__default["default"].createElement(StyledSkeletonLoader, _extends({
9828
9910
  ref: ref,
9829
9911
  className: classNames__default["default"]("c-loader c-loader--linear", className)
@@ -9837,10 +9919,10 @@
9837
9919
  componentId: "sc-1f35d5h-0"
9838
9920
  })(["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);
9839
9921
 
9840
- var _excluded$19 = ["className"];
9922
+ var _excluded$1a = ["className"];
9841
9923
  var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
9842
9924
  var className = _ref.className,
9843
- rest = _objectWithoutProperties(_ref, _excluded$19);
9925
+ rest = _objectWithoutProperties(_ref, _excluded$1a);
9844
9926
  return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
9845
9927
  ref: ref,
9846
9928
  className: classNames__default["default"]("c-loader c-loader--dots", className)
@@ -9862,7 +9944,7 @@
9862
9944
  return props.$activeColorPercentage === "75%" && styled.css(["border-right:", "px solid ", ";border-bottom:", "px solid ", ";border-left:", "px solid ", ";border-top:", "px solid ", ";"], props.$stroke, props.$activeStrokeColor, props.$stroke, props.$activeStrokeColor, props.$stroke, props.$inactiveStrokeColor, props.$stroke, props.$activeStrokeColor);
9863
9945
  });
9864
9946
 
9865
- var _excluded$18 = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
9947
+ var _excluded$19 = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
9866
9948
  var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
9867
9949
  var _ref$radius = _ref.radius,
9868
9950
  radius = _ref$radius === void 0 ? 10 : _ref$radius,
@@ -9877,7 +9959,7 @@
9877
9959
  _ref$rotateDurationIn = _ref.rotateDurationInSeconds,
9878
9960
  rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
9879
9961
  className = _ref.className,
9880
- rest = _objectWithoutProperties(_ref, _excluded$18);
9962
+ rest = _objectWithoutProperties(_ref, _excluded$19);
9881
9963
  return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader$1, _extends({
9882
9964
  ref: ref,
9883
9965
  className: className,
@@ -9916,7 +9998,7 @@
9916
9998
  });
9917
9999
  StyledLinearLoader.displayName = "StyledLinearLoader";
9918
10000
 
9919
- var _excluded$17 = ["height", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "animationDuration"];
10001
+ var _excluded$18 = ["height", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "animationDuration"];
9920
10002
  var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
9921
10003
  var _ref$height = _ref.height,
9922
10004
  height = _ref$height === void 0 ? 4 : _ref$height,
@@ -9928,7 +10010,7 @@
9928
10010
  activeColorPercentage = _ref$activeColorPerce === void 0 ? "25%" : _ref$activeColorPerce,
9929
10011
  _ref$animationDuratio = _ref.animationDuration,
9930
10012
  animationDuration = _ref$animationDuratio === void 0 ? 0.75 : _ref$animationDuratio,
9931
- rest = _objectWithoutProperties(_ref, _excluded$17);
10013
+ rest = _objectWithoutProperties(_ref, _excluded$18);
9932
10014
  return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
9933
10015
  ref: ref,
9934
10016
  $height: height,
@@ -9940,7 +10022,7 @@
9940
10022
  });
9941
10023
  LinearLoader.displayName = "LinearLoader";
9942
10024
 
9943
- var _excluded$16 = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
10025
+ var _excluded$17 = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
9944
10026
  var SortDirection = /*#__PURE__*/function (SortDirection) {
9945
10027
  SortDirection["None"] = "none";
9946
10028
  SortDirection["Asc"] = "asc";
@@ -9990,7 +10072,7 @@
9990
10072
  loading = _ref.loading,
9991
10073
  _ref$loadingRows = _ref.loadingRows,
9992
10074
  loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
9993
- args = _objectWithoutProperties(_ref, _excluded$16);
10075
+ args = _objectWithoutProperties(_ref, _excluded$17);
9994
10076
  var _useState = React.useState(sortDirection),
9995
10077
  _useState2 = _slicedToArray(_useState, 2),
9996
10078
  columnDirection = _useState2[0],
@@ -10350,7 +10432,7 @@
10350
10432
  });
10351
10433
  StyledCompleteCheckbox.displayName = "StyledCompleteCheckbox";
10352
10434
 
10353
- var _excluded$15 = ["completed", "disabled", "animate", "onClick", "className", "primary", "checkMarkClassName"];
10435
+ var _excluded$16 = ["completed", "disabled", "animate", "onClick", "className", "primary", "checkMarkClassName"];
10354
10436
  var CompleteCheckbox = function CompleteCheckbox(_ref) {
10355
10437
  var _ref$completed = _ref.completed,
10356
10438
  completed = _ref$completed === void 0 ? false : _ref$completed,
@@ -10363,7 +10445,7 @@
10363
10445
  _ref$primary = _ref.primary,
10364
10446
  primary = _ref$primary === void 0 ? false : _ref$primary,
10365
10447
  checkMarkClassName = _ref.checkMarkClassName,
10366
- rest = _objectWithoutProperties(_ref, _excluded$15);
10448
+ rest = _objectWithoutProperties(_ref, _excluded$16);
10367
10449
  return /*#__PURE__*/React__default["default"].createElement(StyledCompleteCheckbox, _extends({
10368
10450
  onClick: onClick,
10369
10451
  className: classNames__default["default"]("c-complete-checkbox", className),
@@ -10394,7 +10476,7 @@
10394
10476
  });
10395
10477
  StyledPaper.displayName = "StyledPaper";
10396
10478
 
10397
- var _excluded$14 = ["children", "className", "type", "hover", "useOptimizedShadow"];
10479
+ var _excluded$15 = ["children", "className", "type", "hover", "useOptimizedShadow"];
10398
10480
  /**
10399
10481
  * This is a component description and should sit directly above your component
10400
10482
  */
@@ -10407,7 +10489,7 @@
10407
10489
  hover = _ref$hover === void 0 ? false : _ref$hover,
10408
10490
  _ref$useOptimizedShad = _ref.useOptimizedShadow,
10409
10491
  useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
10410
- rest = _objectWithoutProperties(_ref, _excluded$14);
10492
+ rest = _objectWithoutProperties(_ref, _excluded$15);
10411
10493
  return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
10412
10494
  className: classNames__default["default"](className, {
10413
10495
  "ac-shadow--raised--lg": !useOptimizedShadow && hover && type === "paper-1",
@@ -10460,7 +10542,7 @@
10460
10542
  });
10461
10543
  StyledCard.displayName = "StyledCard";
10462
10544
 
10463
- var _excluded$13 = ["children", "className", "hoverable", "paperType"];
10545
+ var _excluded$14 = ["children", "className", "hoverable", "paperType"];
10464
10546
  var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10465
10547
  var children = _ref.children,
10466
10548
  className = _ref.className,
@@ -10468,7 +10550,7 @@
10468
10550
  hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
10469
10551
  _ref$paperType = _ref.paperType,
10470
10552
  paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
10471
- rest = _objectWithoutProperties(_ref, _excluded$13);
10553
+ rest = _objectWithoutProperties(_ref, _excluded$14);
10472
10554
  return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
10473
10555
  type: paperType,
10474
10556
  className: classNames__default["default"]("c-card", className),
@@ -10575,12 +10657,12 @@
10575
10657
  });
10576
10658
  StyledIcon$1.displayName = "StyledIcon";
10577
10659
 
10578
- var _excluded$12 = ["weight", "children"];
10660
+ var _excluded$13 = ["weight", "children"];
10579
10661
  var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10580
10662
  var _ref$weight = _ref.weight,
10581
10663
  weight = _ref$weight === void 0 ? "light" : _ref$weight,
10582
10664
  children = _ref.children,
10583
- props = _objectWithoutProperties(_ref, _excluded$12);
10665
+ props = _objectWithoutProperties(_ref, _excluded$13);
10584
10666
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
10585
10667
  weight: weight,
10586
10668
  variant: "Title 1",
@@ -10589,12 +10671,12 @@
10589
10671
  });
10590
10672
  Title1.displayName = "Title1";
10591
10673
 
10592
- var _excluded$11 = ["weight", "children"];
10674
+ var _excluded$12 = ["weight", "children"];
10593
10675
  var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10594
10676
  var _ref$weight = _ref.weight,
10595
10677
  weight = _ref$weight === void 0 ? "light" : _ref$weight,
10596
10678
  children = _ref.children,
10597
- props = _objectWithoutProperties(_ref, _excluded$11);
10679
+ props = _objectWithoutProperties(_ref, _excluded$12);
10598
10680
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
10599
10681
  weight: weight,
10600
10682
  variant: "Title 2",
@@ -10603,10 +10685,10 @@
10603
10685
  });
10604
10686
  Title2.displayName = "Title2";
10605
10687
 
10606
- var _excluded$10 = ["children"];
10688
+ var _excluded$11 = ["children"];
10607
10689
  var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10608
10690
  var children = _ref.children,
10609
- props = _objectWithoutProperties(_ref, _excluded$10);
10691
+ props = _objectWithoutProperties(_ref, _excluded$11);
10610
10692
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
10611
10693
  weight: "bold",
10612
10694
  variant: "Header 2",
@@ -10615,10 +10697,10 @@
10615
10697
  });
10616
10698
  Header2.displayName = "Header2";
10617
10699
 
10618
- var _excluded$$ = ["children"];
10700
+ var _excluded$10 = ["children"];
10619
10701
  var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10620
10702
  var children = _ref.children,
10621
- props = _objectWithoutProperties(_ref, _excluded$$);
10703
+ props = _objectWithoutProperties(_ref, _excluded$10);
10622
10704
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
10623
10705
  weight: "bold",
10624
10706
  variant: "Header 3",
@@ -10627,12 +10709,12 @@
10627
10709
  });
10628
10710
  Header3.displayName = "Header3";
10629
10711
 
10630
- var _excluded$_ = ["weight", "children"];
10712
+ var _excluded$$ = ["weight", "children"];
10631
10713
  var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10632
10714
  var _ref$weight = _ref.weight,
10633
10715
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
10634
10716
  children = _ref.children,
10635
- props = _objectWithoutProperties(_ref, _excluded$_);
10717
+ props = _objectWithoutProperties(_ref, _excluded$$);
10636
10718
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
10637
10719
  variant: "Body 1",
10638
10720
  weight: weight,
@@ -10641,12 +10723,12 @@
10641
10723
  });
10642
10724
  Body1.displayName = "Body1";
10643
10725
 
10644
- var _excluded$Z = ["weight", "children"];
10726
+ var _excluded$_ = ["weight", "children"];
10645
10727
  var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10646
10728
  var _ref$weight = _ref.weight,
10647
10729
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
10648
10730
  children = _ref.children,
10649
- props = _objectWithoutProperties(_ref, _excluded$Z);
10731
+ props = _objectWithoutProperties(_ref, _excluded$_);
10650
10732
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
10651
10733
  variant: "Caption 1",
10652
10734
  weight: weight,
@@ -10655,12 +10737,12 @@
10655
10737
  });
10656
10738
  Caption1.displayName = "Caption1";
10657
10739
 
10658
- var _excluded$Y = ["weight", "children"];
10740
+ var _excluded$Z = ["weight", "children"];
10659
10741
  var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10660
10742
  var _ref$weight = _ref.weight,
10661
10743
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
10662
10744
  children = _ref.children,
10663
- props = _objectWithoutProperties(_ref, _excluded$Y);
10745
+ props = _objectWithoutProperties(_ref, _excluded$Z);
10664
10746
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
10665
10747
  variant: "Caption 2",
10666
10748
  weight: weight,
@@ -10744,7 +10826,7 @@
10744
10826
  componentId: "sc-5x2tyd-1"
10745
10827
  })(["border-radius:100%;object-fit:cover;"]);
10746
10828
 
10747
- var _excluded$X = ["url", "alt", "size", "className", "imgClassName", "children"];
10829
+ var _excluded$Y = ["url", "alt", "size", "className", "imgClassName", "children"];
10748
10830
  /**
10749
10831
  * @component Avatar
10750
10832
  * @description
@@ -10779,7 +10861,7 @@
10779
10861
  className = _ref.className,
10780
10862
  imgClassName = _ref.imgClassName,
10781
10863
  children = _ref.children,
10782
- rest = _objectWithoutProperties(_ref, _excluded$X);
10864
+ rest = _objectWithoutProperties(_ref, _excluded$Y);
10783
10865
  var _useState = React.useState(false),
10784
10866
  _useState2 = _slicedToArray(_useState, 2),
10785
10867
  imageLoaded = _useState2[0],
@@ -10820,13 +10902,13 @@
10820
10902
  return props.$color && styled.css(["background-color:", ";"], props.$color);
10821
10903
  });
10822
10904
 
10823
- var _excluded$W = ["color", "size", "className"];
10905
+ var _excluded$X = ["color", "size", "className"];
10824
10906
  var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10825
10907
  var color = _ref.color,
10826
10908
  _ref$size = _ref.size,
10827
10909
  size = _ref$size === void 0 ? 8 : _ref$size,
10828
10910
  className = _ref.className,
10829
- rest = _objectWithoutProperties(_ref, _excluded$W);
10911
+ rest = _objectWithoutProperties(_ref, _excluded$X);
10830
10912
  return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
10831
10913
  className: classNames__default["default"]("c-dot", className),
10832
10914
  ref: ref,
@@ -10863,7 +10945,7 @@
10863
10945
  });
10864
10946
  StyledTagText.displayName = "StyledTagText";
10865
10947
 
10866
- var _excluded$V = ["name", "color", "showText", "showDot", "className"];
10948
+ var _excluded$W = ["name", "color", "showText", "showDot", "className"];
10867
10949
  var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10868
10950
  var name = _ref.name,
10869
10951
  color = _ref.color,
@@ -10872,7 +10954,7 @@
10872
10954
  _ref$showDot = _ref.showDot,
10873
10955
  showDot = _ref$showDot === void 0 ? true : _ref$showDot,
10874
10956
  className = _ref.className,
10875
- rest = _objectWithoutProperties(_ref, _excluded$V);
10957
+ rest = _objectWithoutProperties(_ref, _excluded$W);
10876
10958
  return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
10877
10959
  className: classNames__default["default"]("c-tag", className),
10878
10960
  ref: ref
@@ -10978,7 +11060,7 @@
10978
11060
  });
10979
11061
  StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
10980
11062
 
10981
- var _excluded$U = ["children", "active", "disabled", "className", "role"];
11063
+ var _excluded$V = ["children", "active", "disabled", "className", "role"];
10982
11064
  var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
10983
11065
  var children = _ref.children,
10984
11066
  _ref$active = _ref.active,
@@ -10987,7 +11069,7 @@
10987
11069
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
10988
11070
  className = _ref.className,
10989
11071
  role = _ref.role,
10990
- rest = _objectWithoutProperties(_ref, _excluded$U);
11072
+ rest = _objectWithoutProperties(_ref, _excluded$V);
10991
11073
  return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
10992
11074
  className: classNames__default["default"](`c-nav__item`, {
10993
11075
  "c-nav__item--active": active
@@ -11028,11 +11110,11 @@
11028
11110
  });
11029
11111
  StyledExpandSingle.displayName = "StyledExpandSingle";
11030
11112
 
11031
- var _excluded$T = ["expanded"];
11113
+ var _excluded$U = ["expanded"];
11032
11114
  var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
11033
11115
  var _ref$expanded = _ref.expanded,
11034
11116
  expanded = _ref$expanded === void 0 ? false : _ref$expanded,
11035
- rest = _objectWithoutProperties(_ref, _excluded$T);
11117
+ rest = _objectWithoutProperties(_ref, _excluded$U);
11036
11118
  return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
11037
11119
  ref: ref,
11038
11120
  viewBox: "0 0 24 24",
@@ -11208,7 +11290,7 @@
11208
11290
  };
11209
11291
  OptionContent.displayName = "OptionContent";
11210
11292
 
11211
- var _excluded$S = ["mixed", "data-testid"];
11293
+ var _excluded$T = ["mixed", "data-testid"];
11212
11294
 
11213
11295
  /**
11214
11296
  * @component CheckboxIcon
@@ -11232,7 +11314,7 @@
11232
11314
  var CheckboxIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
11233
11315
  var mixed = _ref.mixed,
11234
11316
  testId = _ref["data-testid"],
11235
- props = _objectWithoutProperties(_ref, _excluded$S);
11317
+ props = _objectWithoutProperties(_ref, _excluded$T);
11236
11318
  // const [animate, setAnimate] = useState(false);
11237
11319
  // const mountRef = useRef(false);
11238
11320
 
@@ -11326,7 +11408,7 @@
11326
11408
  });
11327
11409
  StyledCheckbox$1.displayName = "StyledCheckbox";
11328
11410
 
11329
- var _excluded$R = ["className", "hover", "id", "mixed", "checked", "onChange", "disabled"];
11411
+ var _excluded$S = ["className", "hover", "id", "mixed", "checked", "onChange", "disabled"];
11330
11412
  /**
11331
11413
  * Checkbox component
11332
11414
  */
@@ -11340,7 +11422,7 @@
11340
11422
  checked = _ref.checked,
11341
11423
  onChange = _ref.onChange,
11342
11424
  disabled = _ref.disabled,
11343
- rest = _objectWithoutProperties(_ref, _excluded$R);
11425
+ rest = _objectWithoutProperties(_ref, _excluded$S);
11344
11426
  var _useState = React.useState(mixed && !checked),
11345
11427
  _useState2 = _slicedToArray(_useState, 2),
11346
11428
  indeterminate = _useState2[0],
@@ -11456,8 +11538,20 @@
11456
11538
  }
11457
11539
  });
11458
11540
  StyledPasswordIndicator.displayName = "StyledPasswordIndicator";
11541
+ var StyledInputSelectTrigger = styled__default["default"].div.withConfig({
11542
+ displayName: "Styles__StyledInputSelectTrigger",
11543
+ componentId: "sc-ce8kcp-4"
11544
+ })(["display:flex;gap:6px;align-items:center;margin-right:2px;margin-left:8px;color:var(--color-theme-700);font-weight:400;letter-spacing:0.02em;font-size:0.875rem;pointer-events:", ";", ""], function (props) {
11545
+ if (props.$disabled) {
11546
+ return "none";
11547
+ }
11548
+ return "unset";
11549
+ }, function (props) {
11550
+ return props.$size === "big" && styled.css(["font-size:1rem;"]);
11551
+ });
11552
+ StyledInputSelectTrigger.displayName = "StyledInputSelectTrigger";
11459
11553
 
11460
- var _excluded$Q = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef", "wrapperClick"];
11554
+ var _excluded$R = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef", "wrapperClick"];
11461
11555
  var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
11462
11556
  var _ref$className = _ref.className,
11463
11557
  className = _ref$className === void 0 ? "" : _ref$className,
@@ -11474,7 +11568,7 @@
11474
11568
  endAdornment = _ref.endAdornment,
11475
11569
  wrapRef = _ref.wrapRef,
11476
11570
  wrapperClick = _ref.wrapperClick,
11477
- rest = _objectWithoutProperties(_ref, _excluded$Q);
11571
+ rest = _objectWithoutProperties(_ref, _excluded$R);
11478
11572
  var intInputRef = React.useRef(null);
11479
11573
  var handleRef = useForkRef(ref, intInputRef);
11480
11574
  var handleWrapperClick = React.useCallback(function () {
@@ -11528,14 +11622,14 @@
11528
11622
  }, StyledRadioLabel);
11529
11623
  StyledRadioButton$1.displayName = "StyledRadioButton";
11530
11624
 
11531
- var _excluded$P = ["className", "id", "hover"];
11625
+ var _excluded$Q = ["className", "id", "hover"];
11532
11626
  var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
11533
11627
  var _ref$className = _ref.className,
11534
11628
  className = _ref$className === void 0 ? "" : _ref$className,
11535
11629
  _ref$id = _ref.id,
11536
11630
  id = _ref$id === void 0 ? "radio" : _ref$id,
11537
11631
  hover = _ref.hover,
11538
- props = _objectWithoutProperties(_ref, _excluded$P);
11632
+ props = _objectWithoutProperties(_ref, _excluded$Q);
11539
11633
  return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
11540
11634
  className: classNames__default["default"]("c-radio-btn", {
11541
11635
  "c-radio-btn__hover": hover,
@@ -11683,7 +11777,7 @@
11683
11777
  StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
11684
11778
  StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
11685
11779
 
11686
- var _excluded$O = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
11780
+ var _excluded$P = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
11687
11781
  var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
11688
11782
  var children = _ref.children,
11689
11783
  className = _ref.className,
@@ -11697,7 +11791,7 @@
11697
11791
  invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
11698
11792
  innerColor = _ref.innerColor,
11699
11793
  outerColor = _ref.outerColor,
11700
- rest = _objectWithoutProperties(_ref, _excluded$O);
11794
+ rest = _objectWithoutProperties(_ref, _excluded$P);
11701
11795
  var _useState = React.useState({
11702
11796
  top: 0,
11703
11797
  right: 0,
@@ -12016,7 +12110,7 @@
12016
12110
  };
12017
12111
  };
12018
12112
 
12019
- var _excluded$N = ["as", "className", "invert", "style"];
12113
+ var _excluded$O = ["as", "className", "invert", "style"];
12020
12114
  var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
12021
12115
  var _ref$as = _ref.as,
12022
12116
  as = _ref$as === void 0 ? "div" : _ref$as,
@@ -12024,7 +12118,7 @@
12024
12118
  _ref$invert = _ref.invert,
12025
12119
  invert = _ref$invert === void 0 ? false : _ref$invert,
12026
12120
  style = _ref.style,
12027
- rest = _objectWithoutProperties(_ref, _excluded$N);
12121
+ rest = _objectWithoutProperties(_ref, _excluded$O);
12028
12122
  var internalRef = useInitScrollRef(null, invert);
12029
12123
  var handleRef = useForkRef(internalRef, ref);
12030
12124
  var props = _objectSpread2(_objectSpread2({}, rest), {}, {
@@ -12666,7 +12760,7 @@
12666
12760
  componentId: "sc-9x4q7e-0"
12667
12761
  })(["cursor:auto"]);
12668
12762
 
12669
- var _excluded$M = ["type", "mode", "target", "options", "selected", "mixed", "position", "onChange", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue", "startAdornment", "endAdornment", "focusInput"];
12763
+ var _excluded$N = ["type", "mode", "target", "options", "selected", "mixed", "position", "onChange", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue", "startAdornment", "endAdornment", "focusInput"];
12670
12764
  var Select = function Select(_ref) {
12671
12765
  var _ref$type = _ref.type,
12672
12766
  type = _ref$type === void 0 ? "single" : _ref$type,
@@ -12704,7 +12798,7 @@
12704
12798
  endAdornment = _ref.endAdornment,
12705
12799
  _ref$focusInput = _ref.focusInput,
12706
12800
  focusInput = _ref$focusInput === void 0 ? false : _ref$focusInput,
12707
- prop = _objectWithoutProperties(_ref, _excluded$M);
12801
+ prop = _objectWithoutProperties(_ref, _excluded$N);
12708
12802
  if (disableSearch && (startAdornment || endAdornment)) {
12709
12803
  console.warn("Adornments are not visible when search bar is hidden");
12710
12804
  }
@@ -13145,7 +13239,7 @@
13145
13239
  };
13146
13240
  Nav.displayName = "Nav";
13147
13241
 
13148
- var _excluded$L = ["children", "as", "disablePointerEvents"];
13242
+ var _excluded$M = ["children", "as", "disablePointerEvents"];
13149
13243
  var InputAdornmentBase = styled__default["default"].div.withConfig({
13150
13244
  displayName: "InputAdornment__InputAdornmentBase",
13151
13245
  componentId: "sc-1xfjx1z-0"
@@ -13163,7 +13257,7 @@
13163
13257
  var children = _ref.children,
13164
13258
  as = _ref.as,
13165
13259
  disablePointerEvents = _ref.disablePointerEvents,
13166
- rest = _objectWithoutProperties(_ref, _excluded$L);
13260
+ rest = _objectWithoutProperties(_ref, _excluded$M);
13167
13261
  var Component = as || "div";
13168
13262
  return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
13169
13263
  as: Component,
@@ -13398,7 +13492,7 @@
13398
13492
  };
13399
13493
  };
13400
13494
 
13401
- var _excluded$K = ["value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "withLeadingZero", "validation", "incrementOnlySelected", "minuteIncrement", "className", "onChange", "onClick", "align"];
13495
+ var _excluded$L = ["value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "withLeadingZero", "validation", "incrementOnlySelected", "minuteIncrement", "className", "onChange", "onClick", "align"];
13402
13496
  var InputHours = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
13403
13497
  var defaultValue = _ref.value,
13404
13498
  onCancel = _ref.onCancel,
@@ -13418,7 +13512,7 @@
13418
13512
  externalOnClick = _ref.onClick,
13419
13513
  _ref$align = _ref.align,
13420
13514
  align = _ref$align === void 0 ? "center" : _ref$align,
13421
- rest = _objectWithoutProperties(_ref, _excluded$K);
13515
+ rest = _objectWithoutProperties(_ref, _excluded$L);
13422
13516
  var inputRef = React.useRef(null);
13423
13517
  var handleRef = useForkRef(ref, inputRef);
13424
13518
  var _useInputHours = useInputHours({
@@ -13457,7 +13551,7 @@
13457
13551
  });
13458
13552
  InputHours.displayName = "InputHours";
13459
13553
 
13460
- var _excluded$J = ["decimalLength", "decimalSeparator", "disableAbbreviation", "disabled", "disableMacros", "invalid", "step", "thousandSeparator", "value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "onChange", "onClick", "limit", "placeholder"];
13554
+ var _excluded$K = ["decimalLength", "decimalSeparator", "disableAbbreviation", "disabled", "disableMacros", "invalid", "step", "thousandSeparator", "value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "onChange", "onClick", "limit", "placeholder"];
13461
13555
  var InputNumber = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
13462
13556
  var _ref$decimalLength = _ref.decimalLength,
13463
13557
  decimalLength = _ref$decimalLength === void 0 ? 2 : _ref$decimalLength,
@@ -13482,7 +13576,7 @@
13482
13576
  externalOnClick = _ref.onClick,
13483
13577
  limit = _ref.limit,
13484
13578
  placeholder = _ref.placeholder,
13485
- rest = _objectWithoutProperties(_ref, _excluded$J);
13579
+ rest = _objectWithoutProperties(_ref, _excluded$K);
13486
13580
  var inputRef = React.useRef(null);
13487
13581
  var handleRef = useForkRef(ref, inputRef);
13488
13582
  var _useInputNumber = useInputNumber({
@@ -13529,11 +13623,11 @@
13529
13623
  });
13530
13624
  InputNumber.displayName = "InputNumber";
13531
13625
 
13532
- var _excluded$I = ["currency", "size"];
13626
+ var _excluded$J = ["currency", "size"];
13533
13627
  var InputCurrency = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
13534
13628
  var currency = _ref.currency,
13535
13629
  size = _ref.size,
13536
- rest = _objectWithoutProperties(_ref, _excluded$I);
13630
+ rest = _objectWithoutProperties(_ref, _excluded$J);
13537
13631
  var variant = React.useMemo(function () {
13538
13632
  if (size === "biggest") {
13539
13633
  return "Header 2";
@@ -13558,7 +13652,7 @@
13558
13652
  });
13559
13653
  InputCurrency.displayName = "InputCurrency";
13560
13654
 
13561
- var _excluded$H = ["size", "disabled", "show", "hideControl", "showTooltipText", "hideTooltipText", "value", "validation", "errorMessage", "invalid", "onChange"];
13655
+ var _excluded$I = ["size", "disabled", "show", "hideControl", "showTooltipText", "hideTooltipText", "value", "validation", "errorMessage", "invalid", "onChange"];
13562
13656
  var transform = {
13563
13657
  biggest: "big",
13564
13658
  regular: "small",
@@ -13651,7 +13745,7 @@
13651
13745
  errorMessage = _ref2.errorMessage,
13652
13746
  invalid = _ref2.invalid,
13653
13747
  onChange = _ref2.onChange,
13654
- rest = _objectWithoutProperties(_ref2, _excluded$H);
13748
+ rest = _objectWithoutProperties(_ref2, _excluded$I);
13655
13749
  var inputRef = React.useRef(null);
13656
13750
  var handleRef = useForkRef(ref, inputRef);
13657
13751
  var _useState = React.useState(show),
@@ -13725,6 +13819,120 @@
13725
13819
  });
13726
13820
  InputPassword.displayName = "InputPassword";
13727
13821
 
13822
+ var InputSelect = function InputSelect(_ref) {
13823
+ var onChange = _ref.onChange,
13824
+ size = _ref.size,
13825
+ selected = _ref.selected,
13826
+ options = _ref.options,
13827
+ _ref$disabled = _ref.disabled,
13828
+ disabled = _ref$disabled === void 0 ? false : _ref$disabled;
13829
+ return /*#__PURE__*/React__default["default"].createElement(Select, {
13830
+ onChange: onChange,
13831
+ forceCloseMenu: true,
13832
+ disableSearch: true,
13833
+ target: /*#__PURE__*/React__default["default"].createElement(StyledInputSelectTrigger, {
13834
+ $disabled: disabled,
13835
+ $size: size
13836
+ }, selected, size === "big" ? /*#__PURE__*/React__default["default"].createElement(ArrowDownIcon$1, {
13837
+ fill: "var(--color-theme-700)"
13838
+ }) : /*#__PURE__*/React__default["default"].createElement(ArrowDownSmallIcon$1, {
13839
+ fill: "var(--color-theme-700)"
13840
+ })),
13841
+ options: options,
13842
+ disabledInternalSort: true,
13843
+ keepSameOptionsOrder: true,
13844
+ selected: selected
13845
+ });
13846
+ };
13847
+
13848
+ var _excluded$H = ["size", "disabled", "value", "onChange"];
13849
+ var options = [{
13850
+ id: "https://",
13851
+ name: "https://"
13852
+ }, {
13853
+ id: "http://",
13854
+ name: "http://"
13855
+ }];
13856
+ var InputUrl = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
13857
+ var _ref$size = _ref.size,
13858
+ size = _ref$size === void 0 ? "regular" : _ref$size,
13859
+ disabled = _ref.disabled,
13860
+ _ref$value = _ref.value,
13861
+ defaultValue = _ref$value === void 0 ? "" : _ref$value,
13862
+ onChange = _ref.onChange,
13863
+ rest = _objectWithoutProperties(_ref, _excluded$H);
13864
+ var inputRef = React.useRef(null);
13865
+ var handleRef = useForkRef(ref, inputRef);
13866
+ var _useState = React.useState(options[0].id),
13867
+ _useState2 = _slicedToArray(_useState, 2),
13868
+ prefix = _useState2[0],
13869
+ setPrefix = _useState2[1];
13870
+ var _useState3 = React.useState(""),
13871
+ _useState4 = _slicedToArray(_useState3, 2),
13872
+ value = _useState4[0],
13873
+ setValue = _useState4[1];
13874
+ var separatePrefixFromValue = function separatePrefixFromValue(fullValue) {
13875
+ var newPrefix = prefix;
13876
+ var newValue = fullValue;
13877
+ options.forEach(function (option) {
13878
+ if (fullValue.startsWith(option.id)) {
13879
+ newPrefix = option.id;
13880
+ newValue = fullValue.replace(option.id, "");
13881
+ }
13882
+ });
13883
+ setPrefix(newPrefix);
13884
+ setValue(newValue);
13885
+ return {
13886
+ newPrefix,
13887
+ newValue
13888
+ };
13889
+ };
13890
+ React.useEffect(function () {
13891
+ separatePrefixFromValue(defaultValue);
13892
+ // eslint-disable-next-line
13893
+ }, [defaultValue]);
13894
+ var handleChange = React.useCallback(function (e) {
13895
+ var _separatePrefixFromVa = separatePrefixFromValue(e.target.value),
13896
+ newPrefix = _separatePrefixFromVa.newPrefix,
13897
+ newValue = _separatePrefixFromVa.newValue;
13898
+ typeof onChange === "function" && onChange(newPrefix + newValue);
13899
+ },
13900
+ // eslint-disable-next-line
13901
+ [onChange]);
13902
+ var handleSelectChange = function handleSelectChange(val) {
13903
+ setPrefix(val);
13904
+ typeof onChange === "function" && onChange(val + value);
13905
+ };
13906
+ var handlePaste = function handlePaste(e) {
13907
+ e.preventDefault();
13908
+ var paste = e.clipboardData.getData("text");
13909
+ var _separatePrefixFromVa2 = separatePrefixFromValue(paste),
13910
+ newPrefix = _separatePrefixFromVa2.newPrefix,
13911
+ newValue = _separatePrefixFromVa2.newValue;
13912
+ if (typeof onChange === "function") {
13913
+ onChange(newPrefix + newValue);
13914
+ }
13915
+ };
13916
+ return /*#__PURE__*/React__default["default"].createElement(Input, _extends({}, rest, {
13917
+ ref: handleRef,
13918
+ size: size,
13919
+ value: value,
13920
+ disabled: disabled,
13921
+ type: "text",
13922
+ onPaste: handlePaste,
13923
+ onChange: handleChange,
13924
+ "data-testid": "InputUrl",
13925
+ startAdornment: /*#__PURE__*/React__default["default"].createElement(InputSelect, {
13926
+ size: size,
13927
+ onChange: handleSelectChange,
13928
+ options: options,
13929
+ selected: prefix,
13930
+ disabled: disabled
13931
+ })
13932
+ }));
13933
+ });
13934
+ InputUrl.displayName = "InputUrl";
13935
+
13728
13936
  var _excluded$G = ["expanded"];
13729
13937
  var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
13730
13938
  var _ref$expanded = _ref.expanded,
@@ -18945,6 +19153,7 @@
18945
19153
  exports.ArrowCollapseMultipleIcon = ArrowCollapseMultipleIcon$1;
18946
19154
  exports.ArrowDownIcon = ArrowDownIcon$1;
18947
19155
  exports.ArrowDownLongIcon = ArrowDownLongIcon$1;
19156
+ exports.ArrowDownSmallIcon = ArrowDownSmallIcon$1;
18948
19157
  exports.ArrowExpandeMultipleIcon = ArrowExpandeMultipleIcon$1;
18949
19158
  exports.ArrowLeftBoxIcon = ArrowLeftBoxIcon$1;
18950
19159
  exports.ArrowLeftIcon = ArrowLeftIcon$1;
@@ -19082,6 +19291,7 @@
19082
19291
  exports.InputHours = InputHours;
19083
19292
  exports.InputNumber = InputNumber;
19084
19293
  exports.InputPassword = InputPassword;
19294
+ exports.InputUrl = InputUrl;
19085
19295
  exports.InsertLinkIcon = InsertLinkIcon$1;
19086
19296
  exports.IntegrationsIcon = IntegrationsIcon$1;
19087
19297
  exports.InvoicesIcon = InvoicesIcon$1;
@@ -19197,6 +19407,7 @@
19197
19407
  exports.SortDirection = SortDirection;
19198
19408
  exports.SortGeneralIcon = SortGeneralIcon$1;
19199
19409
  exports.SortIcon = SortIcon$1;
19410
+ exports.SortListIcon = SortListIcon$1;
19200
19411
  exports.SpinnerLoader = SpinnerLoader;
19201
19412
  exports.StarIcon = StarIcon$1;
19202
19413
  exports.StarOutlineIcon = StarOutlineIcon$1;
@@ -19247,6 +19458,7 @@
19247
19458
  exports.decimalToHours = decimalToHours;
19248
19459
  exports.formatNumber = formatNumber;
19249
19460
  exports.isOptionGroup = isOptionGroup;
19461
+ exports.isValidUrl = isValidUrl;
19250
19462
  exports.layers = layers;
19251
19463
  exports.numberWithSeparator = numberWithSeparator;
19252
19464
  exports.signifierTypes = signifierTypes;