@activecollab/components 1.0.298 → 1.0.300
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/AvatarGroup/AvatarGroup.js +31 -62
- package/dist/cjs/components/AvatarGroup/AvatarGroup.js.map +1 -1
- package/dist/cjs/components/AvatarGroup/Styles.js +7 -7
- package/dist/cjs/components/AvatarGroup/Styles.js.map +1 -1
- package/dist/esm/components/AvatarGroup/AvatarGroup.d.ts.map +1 -1
- package/dist/esm/components/AvatarGroup/AvatarGroup.js +29 -63
- package/dist/esm/components/AvatarGroup/AvatarGroup.js.map +1 -1
- package/dist/esm/components/AvatarGroup/Styles.d.ts +0 -1
- package/dist/esm/components/AvatarGroup/Styles.d.ts.map +1 -1
- package/dist/esm/components/AvatarGroup/Styles.js +7 -7
- package/dist/esm/components/AvatarGroup/Styles.js.map +1 -1
- package/dist/index.js +189 -223
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
})(["display:inline-flex;svg{margin:0 4px;}"]);
|
|
270
270
|
StyledButtonElement.displayName = "StyledButtonElement";
|
|
271
271
|
|
|
272
|
-
var _excluded$
|
|
272
|
+
var _excluded$1g = ["children", "active", "variant", "size", "className"];
|
|
273
273
|
/**
|
|
274
274
|
* @component Button
|
|
275
275
|
* @description
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
_ref$size = _ref.size,
|
|
300
300
|
size = _ref$size === void 0 ? "medium" : _ref$size,
|
|
301
301
|
className = _ref.className,
|
|
302
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
302
|
+
args = _objectWithoutProperties(_ref, _excluded$1g);
|
|
303
303
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
|
|
304
304
|
className: classNames__default["default"]("c-btn", className, {
|
|
305
305
|
"c-btn--contained": variant === "primary" || variant === "contained",
|
|
@@ -373,12 +373,12 @@
|
|
|
373
373
|
})(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
|
|
374
374
|
StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
|
|
375
375
|
|
|
376
|
-
var _excluded$
|
|
376
|
+
var _excluded$1f = ["className", "disabled"];
|
|
377
377
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
378
378
|
var className = _ref.className,
|
|
379
379
|
_ref$disabled = _ref.disabled,
|
|
380
380
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
381
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
381
|
+
rest = _objectWithoutProperties(_ref, _excluded$1f);
|
|
382
382
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
383
383
|
ref: ref,
|
|
384
384
|
variant: "contained",
|
|
@@ -410,11 +410,11 @@
|
|
|
410
410
|
});
|
|
411
411
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
412
412
|
|
|
413
|
-
var _excluded$
|
|
413
|
+
var _excluded$1e = ["children", "className"];
|
|
414
414
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
415
415
|
var children = _ref.children,
|
|
416
416
|
className = _ref.className,
|
|
417
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
417
|
+
rest = _objectWithoutProperties(_ref, _excluded$1e);
|
|
418
418
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
419
419
|
ref: ref,
|
|
420
420
|
className: classNames__default["default"]("c-btn-group", className)
|
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
return React.useContext(MenuContext);
|
|
475
475
|
};
|
|
476
476
|
|
|
477
|
-
var _excluded$
|
|
477
|
+
var _excluded$1d = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy"];
|
|
478
478
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
479
479
|
var children = _ref.children,
|
|
480
480
|
anchorEl = _ref.anchorEl,
|
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
initialPlacement = _ref$placement === void 0 ? "bottom" : _ref$placement,
|
|
488
488
|
_ref$strategy = _ref.strategy,
|
|
489
489
|
strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
|
|
490
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
490
|
+
rest = _objectWithoutProperties(_ref, _excluded$1d);
|
|
491
491
|
var _useState = React.useState(true),
|
|
492
492
|
_useState2 = _slicedToArray(_useState, 2),
|
|
493
493
|
exited = _useState2[0],
|
|
@@ -576,12 +576,12 @@
|
|
|
576
576
|
});
|
|
577
577
|
StyledOverlay.displayName = "StyledOverlay";
|
|
578
578
|
|
|
579
|
-
var _excluded$
|
|
579
|
+
var _excluded$1c = ["className", "disableBackgroundColor"];
|
|
580
580
|
var Overlay = function Overlay(_ref) {
|
|
581
581
|
var className = _ref.className,
|
|
582
582
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
583
583
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
584
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
584
|
+
rest = _objectWithoutProperties(_ref, _excluded$1c);
|
|
585
585
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
586
586
|
className: classNames__default["default"]("c-overlay", className),
|
|
587
587
|
$disableBackgroundColor: disableBackgroundColor
|
|
@@ -621,7 +621,7 @@
|
|
|
621
621
|
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
|
|
622
622
|
StyledWindow.displayName = "StyledWindow";
|
|
623
623
|
|
|
624
|
-
var _excluded$
|
|
624
|
+
var _excluded$1b = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "disableCloseOnEsc", "onClick"];
|
|
625
625
|
var returnFocus = {
|
|
626
626
|
preventScroll: true
|
|
627
627
|
};
|
|
@@ -638,7 +638,7 @@
|
|
|
638
638
|
_ref$disableCloseOnEs = _ref.disableCloseOnEsc,
|
|
639
639
|
disableCloseOnEsc = _ref$disableCloseOnEs === void 0 ? false : _ref$disableCloseOnEs,
|
|
640
640
|
onClick = _ref.onClick,
|
|
641
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
641
|
+
rest = _objectWithoutProperties(_ref, _excluded$1b);
|
|
642
642
|
var innerRef = React.useRef(null);
|
|
643
643
|
var handleRef = useForkRef(innerRef, ref);
|
|
644
644
|
var _useLayerContext = useLayerContext(),
|
|
@@ -698,7 +698,7 @@
|
|
|
698
698
|
}, FontStyle, BoxSizingStyle);
|
|
699
699
|
StyledBubble.displayName = "StyledBubble";
|
|
700
700
|
|
|
701
|
-
var _excluded$
|
|
701
|
+
var _excluded$1a = ["children", "className", "innerRef", "style"];
|
|
702
702
|
var Bubble = function Bubble(_ref) {
|
|
703
703
|
var children = _ref.children,
|
|
704
704
|
className = _ref.className,
|
|
@@ -706,7 +706,7 @@
|
|
|
706
706
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
707
707
|
_ref$style = _ref.style,
|
|
708
708
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
709
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
709
|
+
rest = _objectWithoutProperties(_ref, _excluded$1a);
|
|
710
710
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
711
711
|
ref: innerRef,
|
|
712
712
|
className: classNames__default["default"]("c-bubble", className),
|
|
@@ -1022,7 +1022,7 @@
|
|
|
1022
1022
|
});
|
|
1023
1023
|
StyledTypography.displayName = "StyledTypography";
|
|
1024
1024
|
|
|
1025
|
-
var _excluded$
|
|
1025
|
+
var _excluded$19 = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
1026
1026
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1027
1027
|
var _ref$variant = _ref.variant,
|
|
1028
1028
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -1053,7 +1053,7 @@
|
|
|
1053
1053
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
1054
1054
|
className = _ref.className,
|
|
1055
1055
|
children = _ref.children,
|
|
1056
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1056
|
+
props = _objectWithoutProperties(_ref, _excluded$19);
|
|
1057
1057
|
var Component = as || "div";
|
|
1058
1058
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
1059
1059
|
as: Component,
|
|
@@ -1076,13 +1076,13 @@
|
|
|
1076
1076
|
});
|
|
1077
1077
|
Typography.displayName = "Typography";
|
|
1078
1078
|
|
|
1079
|
-
var _excluded$
|
|
1079
|
+
var _excluded$18 = ["title", "className", "leftElement", "rightElement"];
|
|
1080
1080
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1081
1081
|
var title = _ref.title,
|
|
1082
1082
|
className = _ref.className,
|
|
1083
1083
|
leftElement = _ref.leftElement,
|
|
1084
1084
|
rightElement = _ref.rightElement,
|
|
1085
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1085
|
+
props = _objectWithoutProperties(_ref, _excluded$18);
|
|
1086
1086
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
1087
1087
|
className: classNames__default["default"]("c-menu-header", className),
|
|
1088
1088
|
ref: ref
|
|
@@ -1107,11 +1107,11 @@
|
|
|
1107
1107
|
});
|
|
1108
1108
|
MenuHeader.displayName = "MenuHeader";
|
|
1109
1109
|
|
|
1110
|
-
var _excluded$
|
|
1110
|
+
var _excluded$17 = ["children", "className"];
|
|
1111
1111
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1112
1112
|
var children = _ref.children,
|
|
1113
1113
|
className = _ref.className,
|
|
1114
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1114
|
+
props = _objectWithoutProperties(_ref, _excluded$17);
|
|
1115
1115
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter$1, _extends({}, props, {
|
|
1116
1116
|
className: classNames__default["default"]("c-menu-footer", className),
|
|
1117
1117
|
ref: ref
|
|
@@ -1135,11 +1135,11 @@
|
|
|
1135
1135
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
1136
1136
|
StyledListSeparator.displayName = "StyledListSeparator";
|
|
1137
1137
|
|
|
1138
|
-
var _excluded$
|
|
1138
|
+
var _excluded$16 = ["children", "className"];
|
|
1139
1139
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1140
1140
|
var children = _ref.children,
|
|
1141
1141
|
className = _ref.className,
|
|
1142
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1142
|
+
props = _objectWithoutProperties(_ref, _excluded$16);
|
|
1143
1143
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({
|
|
1144
1144
|
className: classNames__default["default"]("c-list-item", className),
|
|
1145
1145
|
ref: ref,
|
|
@@ -1148,21 +1148,21 @@
|
|
|
1148
1148
|
});
|
|
1149
1149
|
ListItem.displayName = "ListItem";
|
|
1150
1150
|
|
|
1151
|
-
var _excluded$
|
|
1151
|
+
var _excluded$15 = ["className"];
|
|
1152
1152
|
var ListSeparator = function ListSeparator(_ref) {
|
|
1153
1153
|
var className = _ref.className,
|
|
1154
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1154
|
+
props = _objectWithoutProperties(_ref, _excluded$15);
|
|
1155
1155
|
return /*#__PURE__*/React__default["default"].createElement(StyledListSeparator, _extends({
|
|
1156
1156
|
className: classNames__default["default"]("c-list-separator", className)
|
|
1157
1157
|
}, props));
|
|
1158
1158
|
};
|
|
1159
1159
|
ListSeparator.displayName = "ListSeparator";
|
|
1160
1160
|
|
|
1161
|
-
var _excluded$
|
|
1161
|
+
var _excluded$14 = ["children", "className"];
|
|
1162
1162
|
var _List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1163
1163
|
var children = _ref.children,
|
|
1164
1164
|
className = _ref.className,
|
|
1165
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1165
|
+
props = _objectWithoutProperties(_ref, _excluded$14);
|
|
1166
1166
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({
|
|
1167
1167
|
className: className,
|
|
1168
1168
|
ref: ref,
|
|
@@ -1188,7 +1188,7 @@
|
|
|
1188
1188
|
return size === "big" && styled.css(["width:40px;"]);
|
|
1189
1189
|
});
|
|
1190
1190
|
|
|
1191
|
-
var _excluded$
|
|
1191
|
+
var _excluded$13 = ["children", "className", "variant", "size", "active"];
|
|
1192
1192
|
|
|
1193
1193
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
1194
1194
|
|
|
@@ -1218,7 +1218,7 @@
|
|
|
1218
1218
|
variant = _ref.variant,
|
|
1219
1219
|
size = _ref.size,
|
|
1220
1220
|
active = _ref.active,
|
|
1221
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
1221
|
+
args = _objectWithoutProperties(_ref, _excluded$13);
|
|
1222
1222
|
return /*#__PURE__*/React__default["default"].createElement(StyledIconButton, _extends({
|
|
1223
1223
|
className: className,
|
|
1224
1224
|
variant: variant,
|
|
@@ -7311,14 +7311,14 @@
|
|
|
7311
7311
|
});
|
|
7312
7312
|
StyledBreadcrumbListItem.displayName = "StyledBreadcrumbListItem";
|
|
7313
7313
|
|
|
7314
|
-
var _excluded$
|
|
7314
|
+
var _excluded$12 = ["children", "className", "separator"];
|
|
7315
7315
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7316
7316
|
var _dimensions$width, _childDimensions$widt;
|
|
7317
7317
|
var children = _ref.children,
|
|
7318
7318
|
className = _ref.className,
|
|
7319
7319
|
_ref$separator = _ref.separator,
|
|
7320
7320
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
7321
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7321
|
+
rest = _objectWithoutProperties(_ref, _excluded$12);
|
|
7322
7322
|
var internalRef = React.useRef(null);
|
|
7323
7323
|
var listWrapperRef = React.useRef(null);
|
|
7324
7324
|
var olRef = React.useRef(null);
|
|
@@ -7485,10 +7485,10 @@
|
|
|
7485
7485
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
7486
7486
|
});
|
|
7487
7487
|
|
|
7488
|
-
var _excluded$
|
|
7488
|
+
var _excluded$11 = ["children"];
|
|
7489
7489
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
7490
7490
|
var children = _ref.children,
|
|
7491
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7491
|
+
props = _objectWithoutProperties(_ref, _excluded$11);
|
|
7492
7492
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
7493
7493
|
timeout: 0
|
|
7494
7494
|
}, props), children);
|
|
@@ -7563,12 +7563,12 @@
|
|
|
7563
7563
|
});
|
|
7564
7564
|
Tooltip.displayName = "Tooltip";
|
|
7565
7565
|
|
|
7566
|
-
var _excluded
|
|
7566
|
+
var _excluded$10 = ["weight", "children"];
|
|
7567
7567
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7568
7568
|
var _ref$weight = _ref.weight,
|
|
7569
7569
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
7570
7570
|
children = _ref.children,
|
|
7571
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
7571
|
+
props = _objectWithoutProperties(_ref, _excluded$10);
|
|
7572
7572
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
7573
7573
|
variant: "Body 2",
|
|
7574
7574
|
weight: weight,
|
|
@@ -7615,7 +7615,7 @@
|
|
|
7615
7615
|
});
|
|
7616
7616
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
7617
7617
|
|
|
7618
|
-
var _excluded
|
|
7618
|
+
var _excluded$$ = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
|
|
7619
7619
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7620
7620
|
var label = _ref.label,
|
|
7621
7621
|
icon = _ref.icon,
|
|
@@ -7625,7 +7625,7 @@
|
|
|
7625
7625
|
tooltipText = _ref.tooltipText,
|
|
7626
7626
|
onClearAll = _ref.onClearAll,
|
|
7627
7627
|
className = _ref.className,
|
|
7628
|
-
args = _objectWithoutProperties(_ref, _excluded
|
|
7628
|
+
args = _objectWithoutProperties(_ref, _excluded$$);
|
|
7629
7629
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
7630
7630
|
ref: ref,
|
|
7631
7631
|
className: className
|
|
@@ -7934,7 +7934,7 @@
|
|
|
7934
7934
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
7935
7935
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
7936
7936
|
|
|
7937
|
-
var _excluded$
|
|
7937
|
+
var _excluded$_ = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
7938
7938
|
var DatePicker = function DatePicker(_ref) {
|
|
7939
7939
|
var className = _ref.className,
|
|
7940
7940
|
onChange = _ref.onChange,
|
|
@@ -7956,7 +7956,7 @@
|
|
|
7956
7956
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
7957
7957
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
7958
7958
|
defaultModifiers = _ref.modifiers,
|
|
7959
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7959
|
+
rest = _objectWithoutProperties(_ref, _excluded$_);
|
|
7960
7960
|
var _useState = React.useState(),
|
|
7961
7961
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7962
7962
|
enteredTo = _useState2[0],
|
|
@@ -8848,10 +8848,10 @@
|
|
|
8848
8848
|
componentId: "sc-x4ge7a-0"
|
|
8849
8849
|
})(["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);
|
|
8850
8850
|
|
|
8851
|
-
var _excluded$
|
|
8851
|
+
var _excluded$Z = ["className"];
|
|
8852
8852
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8853
8853
|
var className = _ref.className,
|
|
8854
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8854
|
+
rest = _objectWithoutProperties(_ref, _excluded$Z);
|
|
8855
8855
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
8856
8856
|
ref: ref,
|
|
8857
8857
|
className: classNames__default["default"]("c-loader c-loader--linear", className)
|
|
@@ -8865,10 +8865,10 @@
|
|
|
8865
8865
|
componentId: "sc-1f35d5h-0"
|
|
8866
8866
|
})(["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);
|
|
8867
8867
|
|
|
8868
|
-
var _excluded$
|
|
8868
|
+
var _excluded$Y = ["className"];
|
|
8869
8869
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8870
8870
|
var className = _ref.className,
|
|
8871
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8871
|
+
rest = _objectWithoutProperties(_ref, _excluded$Y);
|
|
8872
8872
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
8873
8873
|
ref: ref,
|
|
8874
8874
|
className: classNames__default["default"]("c-loader c-loader--dots", className)
|
|
@@ -8890,7 +8890,7 @@
|
|
|
8890
8890
|
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);
|
|
8891
8891
|
});
|
|
8892
8892
|
|
|
8893
|
-
var _excluded$
|
|
8893
|
+
var _excluded$X = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
8894
8894
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8895
8895
|
var _ref$radius = _ref.radius,
|
|
8896
8896
|
radius = _ref$radius === void 0 ? 10 : _ref$radius,
|
|
@@ -8905,7 +8905,7 @@
|
|
|
8905
8905
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
8906
8906
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
8907
8907
|
className = _ref.className,
|
|
8908
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8908
|
+
rest = _objectWithoutProperties(_ref, _excluded$X);
|
|
8909
8909
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader$1, _extends({
|
|
8910
8910
|
ref: ref,
|
|
8911
8911
|
className: className,
|
|
@@ -8919,7 +8919,7 @@
|
|
|
8919
8919
|
});
|
|
8920
8920
|
SpinnerLoader.displayName = "SpinnerLoader";
|
|
8921
8921
|
|
|
8922
|
-
var _excluded$
|
|
8922
|
+
var _excluded$W = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
|
|
8923
8923
|
exports.SortDirection = void 0;
|
|
8924
8924
|
(function (SortDirection) {
|
|
8925
8925
|
SortDirection["None"] = "none";
|
|
@@ -8967,7 +8967,7 @@
|
|
|
8967
8967
|
loading = _ref.loading,
|
|
8968
8968
|
_ref$loadingRows = _ref.loadingRows,
|
|
8969
8969
|
loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
|
|
8970
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8970
|
+
args = _objectWithoutProperties(_ref, _excluded$W);
|
|
8971
8971
|
var _useState = React.useState(sortDirection),
|
|
8972
8972
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8973
8973
|
columnDirection = _useState2[0],
|
|
@@ -9369,7 +9369,7 @@
|
|
|
9369
9369
|
});
|
|
9370
9370
|
StyledPaper.displayName = "StyledPaper";
|
|
9371
9371
|
|
|
9372
|
-
var _excluded$
|
|
9372
|
+
var _excluded$V = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
9373
9373
|
/**
|
|
9374
9374
|
* This is a component description and should sit directly above your component
|
|
9375
9375
|
*/
|
|
@@ -9382,7 +9382,7 @@
|
|
|
9382
9382
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
9383
9383
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
9384
9384
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
9385
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9385
|
+
rest = _objectWithoutProperties(_ref, _excluded$V);
|
|
9386
9386
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
9387
9387
|
className: classNames__default["default"](className, {
|
|
9388
9388
|
"ac-shadow--raised--lg": !useOptimizedShadow && hover && type === "paper-1",
|
|
@@ -9435,7 +9435,7 @@
|
|
|
9435
9435
|
});
|
|
9436
9436
|
StyledCard.displayName = "StyledCard";
|
|
9437
9437
|
|
|
9438
|
-
var _excluded$
|
|
9438
|
+
var _excluded$U = ["children", "className", "hoverable", "paperType"];
|
|
9439
9439
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9440
9440
|
var children = _ref.children,
|
|
9441
9441
|
className = _ref.className,
|
|
@@ -9443,7 +9443,7 @@
|
|
|
9443
9443
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
9444
9444
|
_ref$paperType = _ref.paperType,
|
|
9445
9445
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
9446
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9446
|
+
rest = _objectWithoutProperties(_ref, _excluded$U);
|
|
9447
9447
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
9448
9448
|
type: paperType,
|
|
9449
9449
|
className: classNames__default["default"]("c-card", className),
|
|
@@ -9522,12 +9522,12 @@
|
|
|
9522
9522
|
});
|
|
9523
9523
|
EntityCard$1.displayName = "EntityCard";
|
|
9524
9524
|
|
|
9525
|
-
var _excluded$
|
|
9525
|
+
var _excluded$T = ["weight", "children"];
|
|
9526
9526
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9527
9527
|
var _ref$weight = _ref.weight,
|
|
9528
9528
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
9529
9529
|
children = _ref.children,
|
|
9530
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9530
|
+
props = _objectWithoutProperties(_ref, _excluded$T);
|
|
9531
9531
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9532
9532
|
weight: weight,
|
|
9533
9533
|
variant: "Title 1",
|
|
@@ -9536,12 +9536,12 @@
|
|
|
9536
9536
|
});
|
|
9537
9537
|
Title1.displayName = "Title1";
|
|
9538
9538
|
|
|
9539
|
-
var _excluded$
|
|
9539
|
+
var _excluded$S = ["weight", "children"];
|
|
9540
9540
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9541
9541
|
var _ref$weight = _ref.weight,
|
|
9542
9542
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
9543
9543
|
children = _ref.children,
|
|
9544
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9544
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
9545
9545
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9546
9546
|
weight: weight,
|
|
9547
9547
|
variant: "Title 2",
|
|
@@ -9550,10 +9550,10 @@
|
|
|
9550
9550
|
});
|
|
9551
9551
|
Title2.displayName = "Title2";
|
|
9552
9552
|
|
|
9553
|
-
var _excluded$
|
|
9553
|
+
var _excluded$R = ["children"];
|
|
9554
9554
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9555
9555
|
var children = _ref.children,
|
|
9556
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9556
|
+
props = _objectWithoutProperties(_ref, _excluded$R);
|
|
9557
9557
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9558
9558
|
weight: "bold",
|
|
9559
9559
|
variant: "Header 2",
|
|
@@ -9562,10 +9562,10 @@
|
|
|
9562
9562
|
});
|
|
9563
9563
|
Header2.displayName = "Header2";
|
|
9564
9564
|
|
|
9565
|
-
var _excluded$
|
|
9565
|
+
var _excluded$Q = ["children"];
|
|
9566
9566
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9567
9567
|
var children = _ref.children,
|
|
9568
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9568
|
+
props = _objectWithoutProperties(_ref, _excluded$Q);
|
|
9569
9569
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9570
9570
|
weight: "bold",
|
|
9571
9571
|
variant: "Header 3",
|
|
@@ -9574,12 +9574,12 @@
|
|
|
9574
9574
|
});
|
|
9575
9575
|
Header3.displayName = "Header3";
|
|
9576
9576
|
|
|
9577
|
-
var _excluded$
|
|
9577
|
+
var _excluded$P = ["weight", "children"];
|
|
9578
9578
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9579
9579
|
var _ref$weight = _ref.weight,
|
|
9580
9580
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9581
9581
|
children = _ref.children,
|
|
9582
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9582
|
+
props = _objectWithoutProperties(_ref, _excluded$P);
|
|
9583
9583
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9584
9584
|
variant: "Body 1",
|
|
9585
9585
|
weight: weight,
|
|
@@ -9588,12 +9588,12 @@
|
|
|
9588
9588
|
});
|
|
9589
9589
|
Body1.displayName = "Body1";
|
|
9590
9590
|
|
|
9591
|
-
var _excluded$
|
|
9591
|
+
var _excluded$O = ["weight", "children"];
|
|
9592
9592
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9593
9593
|
var _ref$weight = _ref.weight,
|
|
9594
9594
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9595
9595
|
children = _ref.children,
|
|
9596
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9596
|
+
props = _objectWithoutProperties(_ref, _excluded$O);
|
|
9597
9597
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9598
9598
|
variant: "Caption 1",
|
|
9599
9599
|
weight: weight,
|
|
@@ -9602,12 +9602,12 @@
|
|
|
9602
9602
|
});
|
|
9603
9603
|
Caption1.displayName = "Caption1";
|
|
9604
9604
|
|
|
9605
|
-
var _excluded$
|
|
9605
|
+
var _excluded$N = ["weight", "children"];
|
|
9606
9606
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9607
9607
|
var _ref$weight = _ref.weight,
|
|
9608
9608
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9609
9609
|
children = _ref.children,
|
|
9610
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9610
|
+
props = _objectWithoutProperties(_ref, _excluded$N);
|
|
9611
9611
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9612
9612
|
variant: "Caption 2",
|
|
9613
9613
|
weight: weight,
|
|
@@ -9723,7 +9723,7 @@
|
|
|
9723
9723
|
return props.size + "px";
|
|
9724
9724
|
});
|
|
9725
9725
|
|
|
9726
|
-
var _excluded$
|
|
9726
|
+
var _excluded$M = ["url", "alt", "size", "className", "imgClassName", "children"];
|
|
9727
9727
|
/**
|
|
9728
9728
|
* @component Avatar
|
|
9729
9729
|
* @description
|
|
@@ -9758,7 +9758,7 @@
|
|
|
9758
9758
|
className = _ref.className,
|
|
9759
9759
|
imgClassName = _ref.imgClassName,
|
|
9760
9760
|
children = _ref.children,
|
|
9761
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9761
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
9762
9762
|
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
9763
9763
|
className: className
|
|
9764
9764
|
}, children, /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({
|
|
@@ -9781,13 +9781,13 @@
|
|
|
9781
9781
|
return props.$color && styled.css(["background-color:", ";"], props.$color);
|
|
9782
9782
|
});
|
|
9783
9783
|
|
|
9784
|
-
var _excluded$
|
|
9784
|
+
var _excluded$L = ["color", "size", "className"];
|
|
9785
9785
|
var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9786
9786
|
var color = _ref.color,
|
|
9787
9787
|
_ref$size = _ref.size,
|
|
9788
9788
|
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
9789
9789
|
className = _ref.className,
|
|
9790
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9790
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
9791
9791
|
return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
|
|
9792
9792
|
className: classNames__default["default"]("c-dot", className),
|
|
9793
9793
|
ref: ref,
|
|
@@ -9824,7 +9824,7 @@
|
|
|
9824
9824
|
});
|
|
9825
9825
|
StyledTagText.displayName = "StyledTagText";
|
|
9826
9826
|
|
|
9827
|
-
var _excluded$
|
|
9827
|
+
var _excluded$K = ["name", "color", "showText", "showDot", "className"];
|
|
9828
9828
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9829
9829
|
var name = _ref.name,
|
|
9830
9830
|
color = _ref.color,
|
|
@@ -9833,7 +9833,7 @@
|
|
|
9833
9833
|
_ref$showDot = _ref.showDot,
|
|
9834
9834
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
9835
9835
|
className = _ref.className,
|
|
9836
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9836
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
9837
9837
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
9838
9838
|
className: classNames__default["default"]("c-tag", className),
|
|
9839
9839
|
ref: ref
|
|
@@ -9953,7 +9953,7 @@
|
|
|
9953
9953
|
}, StyledInput$3, StyledLabel);
|
|
9954
9954
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
9955
9955
|
|
|
9956
|
-
var _excluded$
|
|
9956
|
+
var _excluded$J = ["className", "hover", "id"];
|
|
9957
9957
|
/**
|
|
9958
9958
|
* Checkbox component
|
|
9959
9959
|
*/
|
|
@@ -9962,7 +9962,7 @@
|
|
|
9962
9962
|
hover = _ref.hover,
|
|
9963
9963
|
_ref$id = _ref.id,
|
|
9964
9964
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
9965
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9965
|
+
rest = _objectWithoutProperties(_ref, _excluded$J);
|
|
9966
9966
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
|
|
9967
9967
|
className: classNames__default["default"]("c-checkbox", {
|
|
9968
9968
|
"c-checkbox__hover": hover,
|
|
@@ -10156,7 +10156,7 @@
|
|
|
10156
10156
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
10157
10157
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
10158
10158
|
|
|
10159
|
-
var _excluded$
|
|
10159
|
+
var _excluded$I = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
10160
10160
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10161
10161
|
var children = _ref.children,
|
|
10162
10162
|
className = _ref.className,
|
|
@@ -10170,7 +10170,7 @@
|
|
|
10170
10170
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
10171
10171
|
innerColor = _ref.innerColor,
|
|
10172
10172
|
outerColor = _ref.outerColor,
|
|
10173
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10173
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
10174
10174
|
var _useState = React.useState({
|
|
10175
10175
|
top: 0,
|
|
10176
10176
|
right: 0,
|
|
@@ -10290,7 +10290,7 @@
|
|
|
10290
10290
|
return height;
|
|
10291
10291
|
};
|
|
10292
10292
|
|
|
10293
|
-
var _excluded$
|
|
10293
|
+
var _excluded$H = ["as", "className", "invert", "style"];
|
|
10294
10294
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10295
10295
|
var _ref$as = _ref.as,
|
|
10296
10296
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -10298,7 +10298,7 @@
|
|
|
10298
10298
|
_ref$invert = _ref.invert,
|
|
10299
10299
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
10300
10300
|
style = _ref.style,
|
|
10301
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10301
|
+
rest = _objectWithoutProperties(_ref, _excluded$H);
|
|
10302
10302
|
var internalRef = useInitScrollRef(null, invert);
|
|
10303
10303
|
var handleRef = useForkRef(internalRef, ref);
|
|
10304
10304
|
var props = _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
@@ -10746,7 +10746,7 @@
|
|
|
10746
10746
|
});
|
|
10747
10747
|
StyledInput$2.displayName = "StyledInput";
|
|
10748
10748
|
|
|
10749
|
-
var _excluded$
|
|
10749
|
+
var _excluded$G = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef"];
|
|
10750
10750
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
10751
10751
|
var _ref$className = _ref.className,
|
|
10752
10752
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -10762,7 +10762,7 @@
|
|
|
10762
10762
|
startAdornment = _ref.startAdornment,
|
|
10763
10763
|
endAdornment = _ref.endAdornment,
|
|
10764
10764
|
wrapRef = _ref.wrapRef,
|
|
10765
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10765
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
10766
10766
|
var intInputRef = React.useRef(null);
|
|
10767
10767
|
var handleRef = useForkRef(ref, intInputRef);
|
|
10768
10768
|
var handleWrapperClick = React.useCallback(function () {
|
|
@@ -10815,14 +10815,14 @@
|
|
|
10815
10815
|
}, StyledRadioLabel);
|
|
10816
10816
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
10817
10817
|
|
|
10818
|
-
var _excluded$
|
|
10818
|
+
var _excluded$F = ["className", "id", "hover"];
|
|
10819
10819
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10820
10820
|
var _ref$className = _ref.className,
|
|
10821
10821
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
10822
10822
|
_ref$id = _ref.id,
|
|
10823
10823
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
10824
10824
|
hover = _ref.hover,
|
|
10825
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10825
|
+
props = _objectWithoutProperties(_ref, _excluded$F);
|
|
10826
10826
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
10827
10827
|
className: classNames__default["default"]("c-radio-btn", {
|
|
10828
10828
|
"c-radio-btn__hover": hover,
|
|
@@ -11030,7 +11030,7 @@
|
|
|
11030
11030
|
};
|
|
11031
11031
|
OptionContent.displayName = "OptionContent";
|
|
11032
11032
|
|
|
11033
|
-
var _excluded$
|
|
11033
|
+
var _excluded$E = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue"];
|
|
11034
11034
|
var Select = function Select(_ref) {
|
|
11035
11035
|
var _ref$type = _ref.type,
|
|
11036
11036
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -11064,7 +11064,7 @@
|
|
|
11064
11064
|
handleDefaultOptionChange = _ref.handleDefaultOptionChange,
|
|
11065
11065
|
_ref$preselectDefault = _ref.preselectDefaultValue,
|
|
11066
11066
|
preselectDefaultValue = _ref$preselectDefault === void 0 ? type === "single" : _ref$preselectDefault,
|
|
11067
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
11067
|
+
prop = _objectWithoutProperties(_ref, _excluded$E);
|
|
11068
11068
|
var childNode = React.useRef();
|
|
11069
11069
|
var elementRef = React.useRef(null);
|
|
11070
11070
|
var handleRef = useForkRef(childNode, elementRef);
|
|
@@ -11310,7 +11310,7 @@
|
|
|
11310
11310
|
});
|
|
11311
11311
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
11312
11312
|
|
|
11313
|
-
var _excluded$
|
|
11313
|
+
var _excluded$D = ["children", "active", "disabled", "className", "role"];
|
|
11314
11314
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
11315
11315
|
var children = _ref.children,
|
|
11316
11316
|
_ref$active = _ref.active,
|
|
@@ -11319,7 +11319,7 @@
|
|
|
11319
11319
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11320
11320
|
className = _ref.className,
|
|
11321
11321
|
role = _ref.role,
|
|
11322
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11322
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
11323
11323
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
11324
11324
|
className: classNames__default["default"]("c-nav__item", {
|
|
11325
11325
|
"c-nav__item--active": active
|
|
@@ -11360,11 +11360,11 @@
|
|
|
11360
11360
|
});
|
|
11361
11361
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
11362
11362
|
|
|
11363
|
-
var _excluded$
|
|
11363
|
+
var _excluded$C = ["expanded"];
|
|
11364
11364
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11365
11365
|
var _ref$expanded = _ref.expanded,
|
|
11366
11366
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
11367
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11367
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
11368
11368
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
11369
11369
|
ref: ref,
|
|
11370
11370
|
viewBox: "0 0 24 24",
|
|
@@ -11654,7 +11654,7 @@
|
|
|
11654
11654
|
};
|
|
11655
11655
|
Nav.displayName = "Nav";
|
|
11656
11656
|
|
|
11657
|
-
var _excluded$
|
|
11657
|
+
var _excluded$B = ["children", "as", "disablePointerEvents"];
|
|
11658
11658
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
11659
11659
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
11660
11660
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -11671,7 +11671,7 @@
|
|
|
11671
11671
|
var children = _ref.children,
|
|
11672
11672
|
as = _ref.as,
|
|
11673
11673
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
11674
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11674
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
11675
11675
|
var Component = as || "div";
|
|
11676
11676
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
11677
11677
|
as: Component,
|
|
@@ -11681,11 +11681,11 @@
|
|
|
11681
11681
|
});
|
|
11682
11682
|
InputAdornment.displayName = "InputAdornment";
|
|
11683
11683
|
|
|
11684
|
-
var _excluded$
|
|
11684
|
+
var _excluded$A = ["expanded"];
|
|
11685
11685
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11686
11686
|
var _ref$expanded = _ref.expanded,
|
|
11687
11687
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
11688
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11688
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
11689
11689
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
11690
11690
|
ref: ref,
|
|
11691
11691
|
viewBox: "0 0 24 24"
|
|
@@ -11803,14 +11803,14 @@
|
|
|
11803
11803
|
});
|
|
11804
11804
|
StyledTextarea.displayName = "StyledTextarea";
|
|
11805
11805
|
|
|
11806
|
-
var _excluded$
|
|
11806
|
+
var _excluded$z = ["className", "disabled", "invalid"];
|
|
11807
11807
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11808
11808
|
var className = _ref.className,
|
|
11809
11809
|
_ref$disabled = _ref.disabled,
|
|
11810
11810
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11811
11811
|
_ref$invalid = _ref.invalid,
|
|
11812
11812
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
11813
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11813
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
11814
11814
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
11815
11815
|
$invalid: invalid,
|
|
11816
11816
|
ref: ref,
|
|
@@ -11842,7 +11842,7 @@
|
|
|
11842
11842
|
function () {});
|
|
11843
11843
|
}
|
|
11844
11844
|
|
|
11845
|
-
var _excluded$
|
|
11845
|
+
var _excluded$y = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "disableCloseOnEsc", "open", "onClose"];
|
|
11846
11846
|
var getHasTransition = function getHasTransition(children) {
|
|
11847
11847
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
11848
11848
|
};
|
|
@@ -11861,7 +11861,7 @@
|
|
|
11861
11861
|
_ref$open = _ref.open,
|
|
11862
11862
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
11863
11863
|
onClose = _ref.onClose,
|
|
11864
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11864
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
11865
11865
|
var _useState = React.useState(defaultOpen),
|
|
11866
11866
|
_useState2 = _slicedToArray(_useState, 2),
|
|
11867
11867
|
open = _useState2[0],
|
|
@@ -11999,7 +11999,7 @@
|
|
|
11999
11999
|
});
|
|
12000
12000
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
12001
12001
|
|
|
12002
|
-
var _excluded$
|
|
12002
|
+
var _excluded$x = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
12003
12003
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12004
12004
|
var children = _ref.children,
|
|
12005
12005
|
onClose = _ref.onClose,
|
|
@@ -12023,7 +12023,7 @@
|
|
|
12023
12023
|
bodyClassName = _ref.bodyClassName,
|
|
12024
12024
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
12025
12025
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
12026
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12026
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
12027
12027
|
var _useState = React.useState(defaultOpen),
|
|
12028
12028
|
_useState2 = _slicedToArray(_useState, 2),
|
|
12029
12029
|
open = _useState2[0],
|
|
@@ -12114,13 +12114,13 @@
|
|
|
12114
12114
|
});
|
|
12115
12115
|
StyledHeader.displayName = "StyledHeader";
|
|
12116
12116
|
|
|
12117
|
-
var _excluded$
|
|
12117
|
+
var _excluded$w = ["className", "size", "children"];
|
|
12118
12118
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12119
12119
|
var className = _ref.className,
|
|
12120
12120
|
_ref$size = _ref.size,
|
|
12121
12121
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
12122
12122
|
children = _ref.children,
|
|
12123
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12123
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
12124
12124
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
12125
12125
|
type: "paper-2",
|
|
12126
12126
|
className: classNames__default["default"]("c-header", className),
|
|
@@ -12136,7 +12136,7 @@
|
|
|
12136
12136
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
12137
12137
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
12138
12138
|
|
|
12139
|
-
var _excluded$
|
|
12139
|
+
var _excluded$v = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
12140
12140
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12141
12141
|
var _ref$minRows = _ref.minRows,
|
|
12142
12142
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -12152,7 +12152,7 @@
|
|
|
12152
12152
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
12153
12153
|
onKeyDown = _ref.onKeyDown,
|
|
12154
12154
|
value = _ref.value,
|
|
12155
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12155
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
12156
12156
|
var innerRef = React.useRef(null);
|
|
12157
12157
|
var _useState = React.useState(minRows),
|
|
12158
12158
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -12428,7 +12428,7 @@
|
|
|
12428
12428
|
});
|
|
12429
12429
|
StyledChoose.displayName = "StyledChoose";
|
|
12430
12430
|
|
|
12431
|
-
var _excluded$
|
|
12431
|
+
var _excluded$u = ["children", "disabled", "active", "className"];
|
|
12432
12432
|
/**
|
|
12433
12433
|
* Choose component
|
|
12434
12434
|
*/
|
|
@@ -12439,7 +12439,7 @@
|
|
|
12439
12439
|
_ref$active = _ref.active,
|
|
12440
12440
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
12441
12441
|
className = _ref.className,
|
|
12442
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12442
|
+
args = _objectWithoutProperties(_ref, _excluded$u);
|
|
12443
12443
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
12444
12444
|
disabled: disabled,
|
|
12445
12445
|
className: classNames__default["default"]("c-choose", className),
|
|
@@ -12535,21 +12535,21 @@
|
|
|
12535
12535
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
12536
12536
|
StyledLink.displayName = "StyledLink";
|
|
12537
12537
|
|
|
12538
|
-
var _excluded$
|
|
12538
|
+
var _excluded$t = ["children", "className"];
|
|
12539
12539
|
/**
|
|
12540
12540
|
* Back link component
|
|
12541
12541
|
*/
|
|
12542
12542
|
var BackLink = function BackLink(_ref) {
|
|
12543
12543
|
var children = _ref.children,
|
|
12544
12544
|
className = _ref.className,
|
|
12545
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12545
|
+
args = _objectWithoutProperties(_ref, _excluded$t);
|
|
12546
12546
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
12547
12547
|
className: classNames__default["default"]("c-back-link", className)
|
|
12548
12548
|
}, args), children);
|
|
12549
12549
|
};
|
|
12550
12550
|
BackLink.displayName = "BackLink";
|
|
12551
12551
|
|
|
12552
|
-
var _excluded$
|
|
12552
|
+
var _excluded$s = ["as", "children", "variant", "size", "disabled", "className"];
|
|
12553
12553
|
/**
|
|
12554
12554
|
* Link component
|
|
12555
12555
|
*/
|
|
@@ -12562,7 +12562,7 @@
|
|
|
12562
12562
|
_ref$disabled = _ref.disabled,
|
|
12563
12563
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
12564
12564
|
className = _ref.className,
|
|
12565
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12565
|
+
args = _objectWithoutProperties(_ref, _excluded$s);
|
|
12566
12566
|
var Component = as || "a";
|
|
12567
12567
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
12568
12568
|
ref: ref,
|
|
@@ -12673,7 +12673,7 @@
|
|
|
12673
12673
|
})(["padding:20px 30px;", " ", ""], FontStyle, BoxSizingStyle);
|
|
12674
12674
|
StyledDialogActions.displayName = "StyledDialogActions";
|
|
12675
12675
|
|
|
12676
|
-
var _excluded$
|
|
12676
|
+
var _excluded$r = ["children", "className", "disableDefaultHeading"];
|
|
12677
12677
|
// import { useDialogContext } from "./DialogContext";
|
|
12678
12678
|
|
|
12679
12679
|
var DialogTitle = function DialogTitle(_ref) {
|
|
@@ -12681,7 +12681,7 @@
|
|
|
12681
12681
|
className = _ref.className,
|
|
12682
12682
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
12683
12683
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
12684
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12684
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
12685
12685
|
// useDialogContext();
|
|
12686
12686
|
|
|
12687
12687
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
@@ -12690,13 +12690,13 @@
|
|
|
12690
12690
|
};
|
|
12691
12691
|
DialogTitle.displayName = "DialogTitle";
|
|
12692
12692
|
|
|
12693
|
-
var _excluded$
|
|
12693
|
+
var _excluded$q = ["className", "children"];
|
|
12694
12694
|
// import { useDialogContext } from "./DialogContext";
|
|
12695
12695
|
|
|
12696
12696
|
var DialogContent = function DialogContent(_ref) {
|
|
12697
12697
|
var className = _ref.className,
|
|
12698
12698
|
children = _ref.children,
|
|
12699
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12699
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
12700
12700
|
// useDialogContext();
|
|
12701
12701
|
|
|
12702
12702
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
@@ -12717,13 +12717,13 @@
|
|
|
12717
12717
|
};
|
|
12718
12718
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
12719
12719
|
|
|
12720
|
-
var _excluded$
|
|
12720
|
+
var _excluded$p = ["className", "children"];
|
|
12721
12721
|
// import { useDialogContext } from "./DialogContext";
|
|
12722
12722
|
|
|
12723
12723
|
var DialogActions = function DialogActions(_ref) {
|
|
12724
12724
|
var className = _ref.className,
|
|
12725
12725
|
children = _ref.children,
|
|
12726
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12726
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
12727
12727
|
// useDialogContext();
|
|
12728
12728
|
|
|
12729
12729
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
@@ -12977,7 +12977,7 @@
|
|
|
12977
12977
|
});
|
|
12978
12978
|
StyledPressed.displayName = "StyledPressed";
|
|
12979
12979
|
|
|
12980
|
-
var _excluded$
|
|
12980
|
+
var _excluded$o = ["children", "active", "className"];
|
|
12981
12981
|
/**
|
|
12982
12982
|
* Pressed wrapper for button component
|
|
12983
12983
|
* @deprecated
|
|
@@ -12987,7 +12987,7 @@
|
|
|
12987
12987
|
_ref$active = _ref.active,
|
|
12988
12988
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
12989
12989
|
className = _ref.className,
|
|
12990
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12990
|
+
args = _objectWithoutProperties(_ref, _excluded$o);
|
|
12991
12991
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
12992
12992
|
active: active,
|
|
12993
12993
|
ref: ref,
|
|
@@ -13484,7 +13484,7 @@
|
|
|
13484
13484
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
13485
13485
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
13486
13486
|
|
|
13487
|
-
var _excluded$
|
|
13487
|
+
var _excluded$n = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
13488
13488
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13489
13489
|
var text = _ref.text,
|
|
13490
13490
|
type = _ref.type,
|
|
@@ -13495,7 +13495,7 @@
|
|
|
13495
13495
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
13496
13496
|
_ref$timeout = _ref.timeout,
|
|
13497
13497
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
13498
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13498
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
13499
13499
|
var handleOnClose = React.useCallback(function () {
|
|
13500
13500
|
if (typeof onClose === "function") {
|
|
13501
13501
|
onClose();
|
|
@@ -13519,7 +13519,7 @@
|
|
|
13519
13519
|
});
|
|
13520
13520
|
ToastMessage.displayName = "ToastMessage";
|
|
13521
13521
|
|
|
13522
|
-
var _excluded$
|
|
13522
|
+
var _excluded$m = ["in", "children", "style", "timeout"];
|
|
13523
13523
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
13524
13524
|
return {
|
|
13525
13525
|
transition: "all ".concat(duration, "ms ease-in-out"),
|
|
@@ -13547,7 +13547,7 @@
|
|
|
13547
13547
|
style = _ref.style,
|
|
13548
13548
|
_ref$timeout = _ref.timeout,
|
|
13549
13549
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
13550
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13550
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
13551
13551
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
13552
13552
|
appear: true,
|
|
13553
13553
|
in: inProp,
|
|
@@ -13562,7 +13562,7 @@
|
|
|
13562
13562
|
};
|
|
13563
13563
|
Fade.displayName = "Fade";
|
|
13564
13564
|
|
|
13565
|
-
var _excluded$
|
|
13565
|
+
var _excluded$l = ["in", "children", "style", "timeout", "initialDirection"];
|
|
13566
13566
|
var Slide = function Slide(_ref) {
|
|
13567
13567
|
var _ref$in = _ref.in,
|
|
13568
13568
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -13572,7 +13572,7 @@
|
|
|
13572
13572
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
13573
13573
|
_ref$initialDirection = _ref.initialDirection,
|
|
13574
13574
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
13575
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13575
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
13576
13576
|
var directionSign;
|
|
13577
13577
|
switch (initialDirection) {
|
|
13578
13578
|
case "right":
|
|
@@ -13625,12 +13625,12 @@
|
|
|
13625
13625
|
return props.$direction === "right" && styled.css(["&.c-slide-enter{position:absolute;transform:translateX(-100%);}&.c-slide-enter-active{transform:translateX(0%);transition:all 200ms ease;}&.c-slide-exit{position:absolute;}&.c-slide-exit-active{transform:translateX(100%);transition:all 200ms ease;}"]);
|
|
13626
13626
|
});
|
|
13627
13627
|
|
|
13628
|
-
var _excluded$
|
|
13628
|
+
var _excluded$k = ["children", "direction"];
|
|
13629
13629
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
13630
13630
|
var children = _ref.children,
|
|
13631
13631
|
_ref$direction = _ref.direction,
|
|
13632
13632
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
13633
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13633
|
+
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
13634
13634
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
13635
13635
|
timeout: 200,
|
|
13636
13636
|
classNames: "c-slide",
|
|
@@ -13673,7 +13673,7 @@
|
|
|
13673
13673
|
};
|
|
13674
13674
|
ResizeTransition.displayName = "ResizeTransition";
|
|
13675
13675
|
|
|
13676
|
-
var _excluded$
|
|
13676
|
+
var _excluded$j = ["in", "children", "style", "timeout"];
|
|
13677
13677
|
var defaultStyle = function defaultStyle(duration) {
|
|
13678
13678
|
return {
|
|
13679
13679
|
transition: "all ".concat(duration, "ms ease-in"),
|
|
@@ -13707,7 +13707,7 @@
|
|
|
13707
13707
|
style = _ref.style,
|
|
13708
13708
|
_ref$timeout = _ref.timeout,
|
|
13709
13709
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
13710
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13710
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
13711
13711
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
13712
13712
|
appear: true,
|
|
13713
13713
|
in: inProp,
|
|
@@ -13781,7 +13781,7 @@
|
|
|
13781
13781
|
});
|
|
13782
13782
|
StyledValueButton.displayName = "StyledValueButton";
|
|
13783
13783
|
|
|
13784
|
-
var _excluded$
|
|
13784
|
+
var _excluded$i = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
13785
13785
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13786
13786
|
var _ref$active = _ref.active,
|
|
13787
13787
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -13790,7 +13790,7 @@
|
|
|
13790
13790
|
icon = _ref.icon,
|
|
13791
13791
|
label = _ref.label,
|
|
13792
13792
|
value = _ref.value,
|
|
13793
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
13793
|
+
args = _objectWithoutProperties(_ref, _excluded$i);
|
|
13794
13794
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
13795
13795
|
className: "c-value-button"
|
|
13796
13796
|
}, args, {
|
|
@@ -13819,12 +13819,12 @@
|
|
|
13819
13819
|
})(["border:none;margin:0;padding:0;width:auto;overflow:visible;cursor:pointer;background:transparent;outline:none;color:inherit;font:inherit;line-height:inherit;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;&::-moz-focus-inner{border:0;padding:0;}"]);
|
|
13820
13820
|
StyledButton.displayName = "StyledButton";
|
|
13821
13821
|
|
|
13822
|
-
var _excluded$
|
|
13822
|
+
var _excluded$h = ["children", "type"];
|
|
13823
13823
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13824
13824
|
var children = _ref.children,
|
|
13825
13825
|
_ref$type = _ref.type,
|
|
13826
13826
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
13827
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13827
|
+
rest = _objectWithoutProperties(_ref, _excluded$h);
|
|
13828
13828
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
13829
13829
|
ref: ref,
|
|
13830
13830
|
role: "button",
|
|
@@ -13870,7 +13870,7 @@
|
|
|
13870
13870
|
});
|
|
13871
13871
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
13872
13872
|
|
|
13873
|
-
var _excluded$
|
|
13873
|
+
var _excluded$g = ["children", "type", "size", "invalid", "open", "endAdornment"];
|
|
13874
13874
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13875
13875
|
var children = _ref.children,
|
|
13876
13876
|
_ref$type = _ref.type,
|
|
@@ -13882,7 +13882,7 @@
|
|
|
13882
13882
|
_ref$open = _ref.open,
|
|
13883
13883
|
open = _ref$open === void 0 ? false : _ref$open,
|
|
13884
13884
|
endAdornment = _ref.endAdornment,
|
|
13885
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13885
|
+
rest = _objectWithoutProperties(_ref, _excluded$g);
|
|
13886
13886
|
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
13887
13887
|
ref: ref,
|
|
13888
13888
|
role: "button",
|
|
@@ -13929,11 +13929,11 @@
|
|
|
13929
13929
|
});
|
|
13930
13930
|
StyledToggle.displayName = "StyledToggle";
|
|
13931
13931
|
|
|
13932
|
-
var _excluded$
|
|
13932
|
+
var _excluded$f = ["hovered", "className"];
|
|
13933
13933
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13934
13934
|
var hovered = _ref.hovered,
|
|
13935
13935
|
className = _ref.className,
|
|
13936
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
13936
|
+
args = _objectWithoutProperties(_ref, _excluded$f);
|
|
13937
13937
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
13938
13938
|
className: classNames__default["default"]("c-toggle", className),
|
|
13939
13939
|
$isHovered: hovered,
|
|
@@ -14086,7 +14086,7 @@
|
|
|
14086
14086
|
});
|
|
14087
14087
|
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
14088
14088
|
|
|
14089
|
-
var _excluded$
|
|
14089
|
+
var _excluded$e = ["leftAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "variant", "typographyProps"];
|
|
14090
14090
|
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
14091
14091
|
var leftAdornment = _ref.leftAdornment,
|
|
14092
14092
|
label = _ref.label,
|
|
@@ -14098,7 +14098,7 @@
|
|
|
14098
14098
|
closeClassName = _ref.closeClassName,
|
|
14099
14099
|
variant = _ref.variant,
|
|
14100
14100
|
typographyProps = _ref.typographyProps,
|
|
14101
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14101
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
14102
14102
|
var showClose = typeof onClose === "function";
|
|
14103
14103
|
var _variant = React.useMemo(function () {
|
|
14104
14104
|
if (typeof variant !== "undefined") {
|
|
@@ -14174,7 +14174,7 @@
|
|
|
14174
14174
|
return isFirst.current;
|
|
14175
14175
|
};
|
|
14176
14176
|
|
|
14177
|
-
var _excluded$
|
|
14177
|
+
var _excluded$d = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid", "type", "renderChip", "forceCloseMenu", "renderOption", "limitChips", "hiddenNumberText", "inPortal", "inputWrapperClassName", "scrollWrapper", "onClose", "onClear"];
|
|
14178
14178
|
var ComboBox = function ComboBox(_ref) {
|
|
14179
14179
|
var _comboBoxRef$current2, _comboBoxRef$current3;
|
|
14180
14180
|
var _ref$options = _ref.options,
|
|
@@ -14207,7 +14207,7 @@
|
|
|
14207
14207
|
scrollWrapper = _ref.scrollWrapper,
|
|
14208
14208
|
onClose = _ref.onClose,
|
|
14209
14209
|
onClear = _ref.onClear,
|
|
14210
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
14210
|
+
prop = _objectWithoutProperties(_ref, _excluded$d);
|
|
14211
14211
|
var selectedName = React.useMemo(function () {
|
|
14212
14212
|
var value = "";
|
|
14213
14213
|
if (!selected) {
|
|
@@ -14596,11 +14596,11 @@
|
|
|
14596
14596
|
})(["display:flex;justify-content:center;gap:12px;align-items:center;height:32px;padding:4px 16px 4px 4px;position:relative;background:none;border:none;cursor:pointer;&:before{content:\"\";display:block;height:2px;width:0%;position:absolute;left:16px;background:var(--color-primary);transition:ease 0.3s all;border-radius:30px;opacity:0;}&:hover{", "{color:var(--page-paper-main);}&:before{height:32px;width:100%;left:0;opacity:1;}", "{fill:var(--page-paper-main);transform:rotate(90deg);transition:ease 0.3s;}}"], StyledText, StyledAddCrossIcon);
|
|
14597
14597
|
StyledAddToListButton.displayName = "StyledAddToListButton";
|
|
14598
14598
|
|
|
14599
|
-
var _excluded$
|
|
14599
|
+
var _excluded$c = ["text", "className"];
|
|
14600
14600
|
var AddToListButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14601
14601
|
var text = _ref.text,
|
|
14602
14602
|
className = _ref.className,
|
|
14603
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14603
|
+
rest = _objectWithoutProperties(_ref, _excluded$c);
|
|
14604
14604
|
return /*#__PURE__*/React__default["default"].createElement(StyledAddToListButton, _extends({
|
|
14605
14605
|
ref: ref,
|
|
14606
14606
|
className: classNames__default["default"]("c--add-to-list-btn", className)
|
|
@@ -14783,11 +14783,11 @@
|
|
|
14783
14783
|
};
|
|
14784
14784
|
ProgressRing.displayName = "ProgressRing";
|
|
14785
14785
|
|
|
14786
|
-
var _excluded$
|
|
14786
|
+
var _excluded$b = ["radius"];
|
|
14787
14787
|
var ProgressPie = function ProgressPie(_ref) {
|
|
14788
14788
|
var _ref$radius = _ref.radius,
|
|
14789
14789
|
radius = _ref$radius === void 0 ? 20 : _ref$radius,
|
|
14790
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14790
|
+
rest = _objectWithoutProperties(_ref, _excluded$b);
|
|
14791
14791
|
return /*#__PURE__*/React__default["default"].createElement(ProgressRing, _extends({}, rest, {
|
|
14792
14792
|
stroke: radius,
|
|
14793
14793
|
radius: radius
|
|
@@ -15111,7 +15111,7 @@
|
|
|
15111
15111
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
15112
15112
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
15113
15113
|
|
|
15114
|
-
var _excluded$
|
|
15114
|
+
var _excluded$a = ["invalid", "required", "size", "children", "className", "weight"];
|
|
15115
15115
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15116
15116
|
var _ref$invalid = _ref.invalid,
|
|
15117
15117
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -15123,7 +15123,7 @@
|
|
|
15123
15123
|
className = _ref.className,
|
|
15124
15124
|
_ref$weight = _ref.weight,
|
|
15125
15125
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
15126
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15126
|
+
props = _objectWithoutProperties(_ref, _excluded$a);
|
|
15127
15127
|
var color = invalid ? "alert" : "primary";
|
|
15128
15128
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
15129
15129
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
@@ -15182,7 +15182,7 @@
|
|
|
15182
15182
|
});
|
|
15183
15183
|
StyledInput$1.displayName = "StyledInput";
|
|
15184
15184
|
|
|
15185
|
-
var _excluded$
|
|
15185
|
+
var _excluded$9 = ["className", "variant", "weight", "disabled", "inputProps", "wrapRef"];
|
|
15186
15186
|
var EditableContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15187
15187
|
var className = _ref.className,
|
|
15188
15188
|
_ref$variant = _ref.variant,
|
|
@@ -15192,7 +15192,7 @@
|
|
|
15192
15192
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
15193
15193
|
inputProps = _ref.inputProps,
|
|
15194
15194
|
wrapRef = _ref.wrapRef,
|
|
15195
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15195
|
+
props = _objectWithoutProperties(_ref, _excluded$9);
|
|
15196
15196
|
var intInputRef = React.useRef(null);
|
|
15197
15197
|
var handleRef = useForkRef(ref, intInputRef);
|
|
15198
15198
|
var handleBlur = React.useCallback(function (evt) {
|
|
@@ -15222,13 +15222,13 @@
|
|
|
15222
15222
|
});
|
|
15223
15223
|
EditableContent.displayName = "EditableContent";
|
|
15224
15224
|
|
|
15225
|
-
var _excluded$
|
|
15225
|
+
var _excluded$8 = ["onSave", "onCancel", "value", "inputProps"];
|
|
15226
15226
|
var EditableText = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15227
15227
|
var onSave = _ref.onSave,
|
|
15228
15228
|
onCancel = _ref.onCancel,
|
|
15229
15229
|
value = _ref.value,
|
|
15230
15230
|
inputProps = _ref.inputProps,
|
|
15231
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15231
|
+
props = _objectWithoutProperties(_ref, _excluded$8);
|
|
15232
15232
|
var _useState = React.useState(value),
|
|
15233
15233
|
_useState2 = _slicedToArray(_useState, 2),
|
|
15234
15234
|
currentValue = _useState2[0],
|
|
@@ -15286,11 +15286,11 @@
|
|
|
15286
15286
|
});
|
|
15287
15287
|
EditableText.displayName = "EditableText";
|
|
15288
15288
|
|
|
15289
|
-
var _excluded$
|
|
15289
|
+
var _excluded$7 = ["withDocuments"];
|
|
15290
15290
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
15291
15291
|
var _ref$withDocuments = _ref.withDocuments,
|
|
15292
15292
|
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
15293
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15293
|
+
props = _objectWithoutProperties(_ref, _excluded$7);
|
|
15294
15294
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
15295
15295
|
width: 100,
|
|
15296
15296
|
height: 100,
|
|
@@ -15433,7 +15433,7 @@
|
|
|
15433
15433
|
return $renderAs === "list" && styled.css(["justify-self:flex-end;"]);
|
|
15434
15434
|
});
|
|
15435
15435
|
|
|
15436
|
-
var _excluded$
|
|
15436
|
+
var _excluded$6 = ["children", "gap", "renderAs"];
|
|
15437
15437
|
var EntityGroupContext = /*#__PURE__*/React__default["default"].createContext({
|
|
15438
15438
|
renderAs: "grid"
|
|
15439
15439
|
});
|
|
@@ -15442,7 +15442,7 @@
|
|
|
15442
15442
|
gap = _ref.gap,
|
|
15443
15443
|
_ref$renderAs = _ref.renderAs,
|
|
15444
15444
|
renderAs = _ref$renderAs === void 0 ? "grid" : _ref$renderAs,
|
|
15445
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15445
|
+
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
15446
15446
|
return /*#__PURE__*/React__default["default"].createElement(EntityGroupContext.Provider, {
|
|
15447
15447
|
value: {
|
|
15448
15448
|
renderAs: renderAs
|
|
@@ -15454,14 +15454,14 @@
|
|
|
15454
15454
|
};
|
|
15455
15455
|
EntityGroup.displayName = "EntityGroup";
|
|
15456
15456
|
|
|
15457
|
-
var _excluded$
|
|
15457
|
+
var _excluded$5 = ["children", "isCollection", "background", "className", "as"];
|
|
15458
15458
|
var EntityCard = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15459
15459
|
var children = _ref.children,
|
|
15460
15460
|
isCollection = _ref.isCollection,
|
|
15461
15461
|
background = _ref.background,
|
|
15462
15462
|
className = _ref.className,
|
|
15463
15463
|
as = _ref.as,
|
|
15464
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15464
|
+
rest = _objectWithoutProperties(_ref, _excluded$5);
|
|
15465
15465
|
var _useContext = React.useContext(EntityGroupContext),
|
|
15466
15466
|
renderAs = _useContext.renderAs;
|
|
15467
15467
|
var classSuffix = "c-entity-card-".concat(renderAs);
|
|
@@ -15480,13 +15480,13 @@
|
|
|
15480
15480
|
});
|
|
15481
15481
|
EntityCard.displayName = "EntityCard";
|
|
15482
15482
|
|
|
15483
|
-
var _excluded$
|
|
15483
|
+
var _excluded$4 = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
15484
15484
|
var EntityProperty = function EntityProperty(_ref) {
|
|
15485
15485
|
var listOrder = _ref.listOrder,
|
|
15486
15486
|
listWidth = _ref.listWidth,
|
|
15487
15487
|
visibleFromBreakpoint = _ref.visibleFromBreakpoint,
|
|
15488
15488
|
className = _ref.className,
|
|
15489
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15489
|
+
props = _objectWithoutProperties(_ref, _excluded$4);
|
|
15490
15490
|
var _useContext = React.useContext(EntityGroupContext),
|
|
15491
15491
|
renderAs = _useContext.renderAs;
|
|
15492
15492
|
var classSuffix = "c-entity-property-".concat(renderAs);
|
|
@@ -16044,14 +16044,14 @@
|
|
|
16044
16044
|
var AvatarGroupsStyles = styled__default["default"].div.withConfig({
|
|
16045
16045
|
displayName: "Styles__AvatarGroupsStyles",
|
|
16046
16046
|
componentId: "sc-1padv46-0"
|
|
16047
|
-
})(["", " align-items:center;cursor:
|
|
16048
|
-
|
|
16049
|
-
|
|
16050
|
-
var gap = _ref.gap;
|
|
16051
|
-
return -gap;
|
|
16047
|
+
})(["", " align-items:center;align-items:center;border-radius:var(--ac-br-6);cursor:", ";display:flex;justify-content:center;padding:", ";user-select:none;width:fit-content;&:hover{background-color:", ";transition:all 0.2s ease-in-out;}"], FontStyle, function (_ref) {
|
|
16048
|
+
var hasTooltip = _ref.hasTooltip;
|
|
16049
|
+
return hasTooltip ? "default" : "pointer";
|
|
16052
16050
|
}, function (_ref2) {
|
|
16053
|
-
var
|
|
16054
|
-
return
|
|
16051
|
+
var hasTooltip = _ref2.hasTooltip;
|
|
16052
|
+
return hasTooltip ? "5px 0" : "5px";
|
|
16053
|
+
}, function (props) {
|
|
16054
|
+
return !props.hasTooltip && "var(--color-theme-300)";
|
|
16055
16055
|
});
|
|
16056
16056
|
var LengthCountStyles = styled__default["default"].div.withConfig({
|
|
16057
16057
|
displayName: "Styles__LengthCountStyles",
|
|
@@ -16062,6 +16062,7 @@
|
|
|
16062
16062
|
return props.size + "px";
|
|
16063
16063
|
});
|
|
16064
16064
|
|
|
16065
|
+
var _excluded$3 = ["limit", "size", "children", "hasTooltip"];
|
|
16065
16066
|
var AvatarGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16066
16067
|
var _Children$toArray;
|
|
16067
16068
|
var limit = _ref.limit,
|
|
@@ -16069,7 +16070,8 @@
|
|
|
16069
16070
|
size = _ref$size === void 0 ? 34 : _ref$size,
|
|
16070
16071
|
children = _ref.children,
|
|
16071
16072
|
_ref$hasTooltip = _ref.hasTooltip,
|
|
16072
|
-
hasTooltip = _ref$hasTooltip === void 0 ? false : _ref$hasTooltip
|
|
16073
|
+
hasTooltip = _ref$hasTooltip === void 0 ? false : _ref$hasTooltip,
|
|
16074
|
+
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
16073
16075
|
// always display counter with min +2 as +1 can takes space of an 1 more Avatar
|
|
16074
16076
|
var minChildren = React.Children.count(children) - limit > 1 ? false : true;
|
|
16075
16077
|
// gap between Avatars
|
|
@@ -16086,66 +16088,38 @@
|
|
|
16086
16088
|
props = _ref2.props;
|
|
16087
16089
|
return props.alt;
|
|
16088
16090
|
});
|
|
16089
|
-
|
|
16090
|
-
|
|
16091
|
-
|
|
16091
|
+
return /*#__PURE__*/React__default["default"].createElement(AvatarGroupsStyles, _extends({
|
|
16092
|
+
hasTooltip: hasTooltip,
|
|
16093
|
+
ref: ref
|
|
16094
|
+
}, rest), _children.map(function (child, index) {
|
|
16095
|
+
var item = child;
|
|
16092
16096
|
var tooltipText = item.props.alt;
|
|
16093
16097
|
var alt = "Image of ".concat(tooltipText);
|
|
16094
|
-
|
|
16095
|
-
|
|
16096
|
-
|
|
16097
|
-
|
|
16098
|
-
|
|
16099
|
-
alt: alt,
|
|
16100
|
-
style: {
|
|
16101
|
-
marginLeft: "-".concat(gap, "px"),
|
|
16102
|
-
outline: "1px solid var(--page-paper-main)"
|
|
16103
|
-
}
|
|
16104
|
-
})));
|
|
16105
|
-
}
|
|
16106
|
-
return /*#__PURE__*/React.cloneElement(item, _objectSpread2(_objectSpread2({}, item.props), {}, {
|
|
16098
|
+
return /*#__PURE__*/React__default["default"].createElement(Tooltip, {
|
|
16099
|
+
title: tooltipText ? tooltipText : "",
|
|
16100
|
+
disable: !hasTooltip,
|
|
16101
|
+
key: alt
|
|
16102
|
+
}, /*#__PURE__*/React.cloneElement(item, _objectSpread2(_objectSpread2({}, item.props), {}, {
|
|
16107
16103
|
size: size,
|
|
16108
16104
|
alt: alt,
|
|
16109
16105
|
style: {
|
|
16110
|
-
|
|
16106
|
+
// component preserves it's width
|
|
16107
|
+
marginLeft: "-".concat(index === 0 ? null : gap, "px"),
|
|
16111
16108
|
outline: "1px solid var(--page-paper-main)"
|
|
16112
16109
|
}
|
|
16113
|
-
}));
|
|
16114
|
-
}
|
|
16115
|
-
|
|
16116
|
-
|
|
16117
|
-
|
|
16118
|
-
|
|
16119
|
-
|
|
16120
|
-
|
|
16121
|
-
|
|
16122
|
-
|
|
16123
|
-
|
|
16124
|
-
|
|
16125
|
-
|
|
16126
|
-
}, /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
16127
|
-
variant: handleVariant,
|
|
16128
|
-
weight: "medium"
|
|
16129
|
-
}, "+", React.Children.count(children) - limit)));
|
|
16130
|
-
}
|
|
16131
|
-
return /*#__PURE__*/React__default["default"].createElement(_StyledLengthCountStyles2, {
|
|
16132
|
-
size: size,
|
|
16133
|
-
role: "status",
|
|
16134
|
-
"aria-label": "Rest of the users",
|
|
16135
|
-
$_css2: "-".concat(gap, "px")
|
|
16136
|
-
}, /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
16137
|
-
variant: handleVariant,
|
|
16138
|
-
weight: "medium"
|
|
16139
|
-
}, "+", React.Children.count(children) - limit));
|
|
16140
|
-
};
|
|
16141
|
-
return /*#__PURE__*/React__default["default"].createElement(AvatarGroupsStyles, {
|
|
16142
|
-
hasTooltip: hasTooltip,
|
|
16143
|
-
gap: gap,
|
|
16144
|
-
ref: ref
|
|
16145
|
-
}, _children.map(function (child) {
|
|
16146
|
-
var item = child;
|
|
16147
|
-
return renderAvatars(item);
|
|
16148
|
-
}), limit >= React.Children.count(children) || minChildren ? null : renderCounter());
|
|
16110
|
+
})));
|
|
16111
|
+
}), limit >= React.Children.count(children) || minChildren ? null : /*#__PURE__*/React__default["default"].createElement(_StyledTooltip, {
|
|
16112
|
+
title: nameArr.join(",\n"),
|
|
16113
|
+
disable: !hasTooltip
|
|
16114
|
+
}, /*#__PURE__*/React__default["default"].createElement(_StyledLengthCountStyles, {
|
|
16115
|
+
size: size,
|
|
16116
|
+
role: "status",
|
|
16117
|
+
"aria-label": "Rest of the users",
|
|
16118
|
+
$_css: "-".concat(gap, "px")
|
|
16119
|
+
}, /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
16120
|
+
variant: handleVariant,
|
|
16121
|
+
weight: "medium"
|
|
16122
|
+
}, "+", React.Children.count(children) - limit))));
|
|
16149
16123
|
});
|
|
16150
16124
|
AvatarGroup.displayName = "AvatarGroup";
|
|
16151
16125
|
var _StyledTooltip = styled__default["default"](Tooltip).withConfig({
|
|
@@ -16163,14 +16137,6 @@
|
|
|
16163
16137
|
marginLeft: p.$_css
|
|
16164
16138
|
};
|
|
16165
16139
|
});
|
|
16166
|
-
var _StyledLengthCountStyles2 = styled__default["default"](LengthCountStyles).withConfig({
|
|
16167
|
-
displayName: "AvatarGroup___StyledLengthCountStyles2",
|
|
16168
|
-
componentId: "sc-1rsx1j5-2"
|
|
16169
|
-
})(function (p) {
|
|
16170
|
-
return {
|
|
16171
|
-
marginLeft: p.$_css2
|
|
16172
|
-
};
|
|
16173
|
-
});
|
|
16174
16140
|
|
|
16175
16141
|
var StyledCommandPalette = styled__default["default"].div.withConfig({
|
|
16176
16142
|
displayName: "CommandPalettestyles__StyledCommandPalette",
|