@activecollab/components 1.0.297 → 1.0.299
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 +3 -6
- package/dist/cjs/components/AvatarGroup/Styles.js.map +1 -1
- package/dist/cjs/components/Icons/collection/ProjectStar.js +50 -0
- package/dist/cjs/components/Icons/collection/ProjectStar.js.map +1 -0
- package/dist/cjs/components/Icons/collection/index.js +7 -0
- package/dist/cjs/components/Icons/collection/index.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 +3 -6
- package/dist/esm/components/AvatarGroup/Styles.js.map +1 -1
- package/dist/esm/components/Icons/collection/ProjectStar.d.ts +23 -0
- package/dist/esm/components/Icons/collection/ProjectStar.d.ts.map +1 -0
- package/dist/esm/components/Icons/collection/ProjectStar.js +43 -0
- package/dist/esm/components/Icons/collection/ProjectStar.js.map +1 -0
- package/dist/esm/components/Icons/collection/index.d.ts +1 -0
- package/dist/esm/components/Icons/collection/index.d.ts.map +1 -1
- package/dist/esm/components/Icons/collection/index.js +1 -0
- package/dist/esm/components/Icons/collection/index.js.map +1 -1
- package/dist/index.js +226 -222
- 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,
|
|
@@ -5753,6 +5753,46 @@
|
|
|
5753
5753
|
ProjectSearchIcon.displayName = "ProjectSearchIcon";
|
|
5754
5754
|
var ProjectSearchIcon$1 = ProjectSearchIcon;
|
|
5755
5755
|
|
|
5756
|
+
/**
|
|
5757
|
+
* @component ProjectStarIcon
|
|
5758
|
+
* @description
|
|
5759
|
+
*
|
|
5760
|
+
* The React Icon component is a visual element that displays an icon to represent a concept, object, or action.
|
|
5761
|
+
* The Icon component is
|
|
5762
|
+
* customizable, allowing for variations in size, color, and style to fit the needs of the application.
|
|
5763
|
+
*
|
|
5764
|
+
*
|
|
5765
|
+
* @example
|
|
5766
|
+
* return (
|
|
5767
|
+
* <ProjectStarIcon className="mr-2" />
|
|
5768
|
+
* )
|
|
5769
|
+
*
|
|
5770
|
+
* @see
|
|
5771
|
+
* https://system.activecollab.com/?path=/story/foundation-icons-icons--icons
|
|
5772
|
+
* @see
|
|
5773
|
+
* https://design.activecollab.com/docs/foundations/icons
|
|
5774
|
+
*/
|
|
5775
|
+
var ProjectStarIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
5776
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
5777
|
+
width: 24,
|
|
5778
|
+
height: 24,
|
|
5779
|
+
viewBox: "0 0 24 24",
|
|
5780
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5781
|
+
"data-testid": "ProjectStarIcon",
|
|
5782
|
+
fill: "var(--color-theme-600)",
|
|
5783
|
+
focusable: false,
|
|
5784
|
+
ref: svgRef
|
|
5785
|
+
}, props), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
5786
|
+
fillRule: "evenodd",
|
|
5787
|
+
clipRule: "evenodd",
|
|
5788
|
+
d: "M4 15v5h5v-5H4zm0-2h5a2 2 0 012 2v5a2 2 0 01-2 2H4a2 2 0 01-2-2v-5a2 2 0 012-2zm11-9v5h5V4h-5zm0-2h5a2 2 0 012 2v5a2 2 0 01-2 2h-5a2 2 0 01-2-2V4a2 2 0 012-2zm0 13v5h5v-5h-5zm0-2h5a2 2 0 012 2v5a2 2 0 01-2 2h-5a2 2 0 01-2-2v-5a2 2 0 012-2z"
|
|
5789
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
5790
|
+
d: "M6.505 9.631L4.198 10.9a.429.429 0 01-.592-.193.477.477 0 01-.044-.29l.44-2.687-1.865-1.903a.474.474 0 01-.008-.649.432.432 0 01.251-.133l2.578-.392 1.153-2.445a.43.43 0 01.787 0L8.05 4.653l2.578.392c.24.036.406.269.371.52a.467.467 0 01-.128.262L9.006 7.73l.44 2.686a.456.456 0 01-.357.53.42.42 0 01-.278-.046L6.505 9.63z"
|
|
5791
|
+
}));
|
|
5792
|
+
});
|
|
5793
|
+
ProjectStarIcon.displayName = "ProjectStarIcon";
|
|
5794
|
+
var ProjectStarIcon$1 = ProjectStarIcon;
|
|
5795
|
+
|
|
5756
5796
|
/**
|
|
5757
5797
|
* @component ProjectTemplateAddIcon
|
|
5758
5798
|
* @description
|
|
@@ -7271,14 +7311,14 @@
|
|
|
7271
7311
|
});
|
|
7272
7312
|
StyledBreadcrumbListItem.displayName = "StyledBreadcrumbListItem";
|
|
7273
7313
|
|
|
7274
|
-
var _excluded$
|
|
7314
|
+
var _excluded$12 = ["children", "className", "separator"];
|
|
7275
7315
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7276
7316
|
var _dimensions$width, _childDimensions$widt;
|
|
7277
7317
|
var children = _ref.children,
|
|
7278
7318
|
className = _ref.className,
|
|
7279
7319
|
_ref$separator = _ref.separator,
|
|
7280
7320
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
7281
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7321
|
+
rest = _objectWithoutProperties(_ref, _excluded$12);
|
|
7282
7322
|
var internalRef = React.useRef(null);
|
|
7283
7323
|
var listWrapperRef = React.useRef(null);
|
|
7284
7324
|
var olRef = React.useRef(null);
|
|
@@ -7445,10 +7485,10 @@
|
|
|
7445
7485
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
7446
7486
|
});
|
|
7447
7487
|
|
|
7448
|
-
var _excluded$
|
|
7488
|
+
var _excluded$11 = ["children"];
|
|
7449
7489
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
7450
7490
|
var children = _ref.children,
|
|
7451
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7491
|
+
props = _objectWithoutProperties(_ref, _excluded$11);
|
|
7452
7492
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
7453
7493
|
timeout: 0
|
|
7454
7494
|
}, props), children);
|
|
@@ -7523,12 +7563,12 @@
|
|
|
7523
7563
|
});
|
|
7524
7564
|
Tooltip.displayName = "Tooltip";
|
|
7525
7565
|
|
|
7526
|
-
var _excluded
|
|
7566
|
+
var _excluded$10 = ["weight", "children"];
|
|
7527
7567
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7528
7568
|
var _ref$weight = _ref.weight,
|
|
7529
7569
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
7530
7570
|
children = _ref.children,
|
|
7531
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
7571
|
+
props = _objectWithoutProperties(_ref, _excluded$10);
|
|
7532
7572
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
7533
7573
|
variant: "Body 2",
|
|
7534
7574
|
weight: weight,
|
|
@@ -7575,7 +7615,7 @@
|
|
|
7575
7615
|
});
|
|
7576
7616
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
7577
7617
|
|
|
7578
|
-
var _excluded
|
|
7618
|
+
var _excluded$$ = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
|
|
7579
7619
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7580
7620
|
var label = _ref.label,
|
|
7581
7621
|
icon = _ref.icon,
|
|
@@ -7585,7 +7625,7 @@
|
|
|
7585
7625
|
tooltipText = _ref.tooltipText,
|
|
7586
7626
|
onClearAll = _ref.onClearAll,
|
|
7587
7627
|
className = _ref.className,
|
|
7588
|
-
args = _objectWithoutProperties(_ref, _excluded
|
|
7628
|
+
args = _objectWithoutProperties(_ref, _excluded$$);
|
|
7589
7629
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
7590
7630
|
ref: ref,
|
|
7591
7631
|
className: className
|
|
@@ -7894,7 +7934,7 @@
|
|
|
7894
7934
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
7895
7935
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
7896
7936
|
|
|
7897
|
-
var _excluded$
|
|
7937
|
+
var _excluded$_ = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
7898
7938
|
var DatePicker = function DatePicker(_ref) {
|
|
7899
7939
|
var className = _ref.className,
|
|
7900
7940
|
onChange = _ref.onChange,
|
|
@@ -7916,7 +7956,7 @@
|
|
|
7916
7956
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
7917
7957
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
7918
7958
|
defaultModifiers = _ref.modifiers,
|
|
7919
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7959
|
+
rest = _objectWithoutProperties(_ref, _excluded$_);
|
|
7920
7960
|
var _useState = React.useState(),
|
|
7921
7961
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7922
7962
|
enteredTo = _useState2[0],
|
|
@@ -8808,10 +8848,10 @@
|
|
|
8808
8848
|
componentId: "sc-x4ge7a-0"
|
|
8809
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);
|
|
8810
8850
|
|
|
8811
|
-
var _excluded$
|
|
8851
|
+
var _excluded$Z = ["className"];
|
|
8812
8852
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8813
8853
|
var className = _ref.className,
|
|
8814
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8854
|
+
rest = _objectWithoutProperties(_ref, _excluded$Z);
|
|
8815
8855
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
8816
8856
|
ref: ref,
|
|
8817
8857
|
className: classNames__default["default"]("c-loader c-loader--linear", className)
|
|
@@ -8825,10 +8865,10 @@
|
|
|
8825
8865
|
componentId: "sc-1f35d5h-0"
|
|
8826
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);
|
|
8827
8867
|
|
|
8828
|
-
var _excluded$
|
|
8868
|
+
var _excluded$Y = ["className"];
|
|
8829
8869
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8830
8870
|
var className = _ref.className,
|
|
8831
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8871
|
+
rest = _objectWithoutProperties(_ref, _excluded$Y);
|
|
8832
8872
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
8833
8873
|
ref: ref,
|
|
8834
8874
|
className: classNames__default["default"]("c-loader c-loader--dots", className)
|
|
@@ -8850,7 +8890,7 @@
|
|
|
8850
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);
|
|
8851
8891
|
});
|
|
8852
8892
|
|
|
8853
|
-
var _excluded$
|
|
8893
|
+
var _excluded$X = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
8854
8894
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8855
8895
|
var _ref$radius = _ref.radius,
|
|
8856
8896
|
radius = _ref$radius === void 0 ? 10 : _ref$radius,
|
|
@@ -8865,7 +8905,7 @@
|
|
|
8865
8905
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
8866
8906
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
8867
8907
|
className = _ref.className,
|
|
8868
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8908
|
+
rest = _objectWithoutProperties(_ref, _excluded$X);
|
|
8869
8909
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader$1, _extends({
|
|
8870
8910
|
ref: ref,
|
|
8871
8911
|
className: className,
|
|
@@ -8879,7 +8919,7 @@
|
|
|
8879
8919
|
});
|
|
8880
8920
|
SpinnerLoader.displayName = "SpinnerLoader";
|
|
8881
8921
|
|
|
8882
|
-
var _excluded$
|
|
8922
|
+
var _excluded$W = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
|
|
8883
8923
|
exports.SortDirection = void 0;
|
|
8884
8924
|
(function (SortDirection) {
|
|
8885
8925
|
SortDirection["None"] = "none";
|
|
@@ -8927,7 +8967,7 @@
|
|
|
8927
8967
|
loading = _ref.loading,
|
|
8928
8968
|
_ref$loadingRows = _ref.loadingRows,
|
|
8929
8969
|
loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
|
|
8930
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8970
|
+
args = _objectWithoutProperties(_ref, _excluded$W);
|
|
8931
8971
|
var _useState = React.useState(sortDirection),
|
|
8932
8972
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8933
8973
|
columnDirection = _useState2[0],
|
|
@@ -9329,7 +9369,7 @@
|
|
|
9329
9369
|
});
|
|
9330
9370
|
StyledPaper.displayName = "StyledPaper";
|
|
9331
9371
|
|
|
9332
|
-
var _excluded$
|
|
9372
|
+
var _excluded$V = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
9333
9373
|
/**
|
|
9334
9374
|
* This is a component description and should sit directly above your component
|
|
9335
9375
|
*/
|
|
@@ -9342,7 +9382,7 @@
|
|
|
9342
9382
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
9343
9383
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
9344
9384
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
9345
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9385
|
+
rest = _objectWithoutProperties(_ref, _excluded$V);
|
|
9346
9386
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
9347
9387
|
className: classNames__default["default"](className, {
|
|
9348
9388
|
"ac-shadow--raised--lg": !useOptimizedShadow && hover && type === "paper-1",
|
|
@@ -9395,7 +9435,7 @@
|
|
|
9395
9435
|
});
|
|
9396
9436
|
StyledCard.displayName = "StyledCard";
|
|
9397
9437
|
|
|
9398
|
-
var _excluded$
|
|
9438
|
+
var _excluded$U = ["children", "className", "hoverable", "paperType"];
|
|
9399
9439
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9400
9440
|
var children = _ref.children,
|
|
9401
9441
|
className = _ref.className,
|
|
@@ -9403,7 +9443,7 @@
|
|
|
9403
9443
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
9404
9444
|
_ref$paperType = _ref.paperType,
|
|
9405
9445
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
9406
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9446
|
+
rest = _objectWithoutProperties(_ref, _excluded$U);
|
|
9407
9447
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
9408
9448
|
type: paperType,
|
|
9409
9449
|
className: classNames__default["default"]("c-card", className),
|
|
@@ -9482,12 +9522,12 @@
|
|
|
9482
9522
|
});
|
|
9483
9523
|
EntityCard$1.displayName = "EntityCard";
|
|
9484
9524
|
|
|
9485
|
-
var _excluded$
|
|
9525
|
+
var _excluded$T = ["weight", "children"];
|
|
9486
9526
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9487
9527
|
var _ref$weight = _ref.weight,
|
|
9488
9528
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
9489
9529
|
children = _ref.children,
|
|
9490
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9530
|
+
props = _objectWithoutProperties(_ref, _excluded$T);
|
|
9491
9531
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9492
9532
|
weight: weight,
|
|
9493
9533
|
variant: "Title 1",
|
|
@@ -9496,12 +9536,12 @@
|
|
|
9496
9536
|
});
|
|
9497
9537
|
Title1.displayName = "Title1";
|
|
9498
9538
|
|
|
9499
|
-
var _excluded$
|
|
9539
|
+
var _excluded$S = ["weight", "children"];
|
|
9500
9540
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9501
9541
|
var _ref$weight = _ref.weight,
|
|
9502
9542
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
9503
9543
|
children = _ref.children,
|
|
9504
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9544
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
9505
9545
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9506
9546
|
weight: weight,
|
|
9507
9547
|
variant: "Title 2",
|
|
@@ -9510,10 +9550,10 @@
|
|
|
9510
9550
|
});
|
|
9511
9551
|
Title2.displayName = "Title2";
|
|
9512
9552
|
|
|
9513
|
-
var _excluded$
|
|
9553
|
+
var _excluded$R = ["children"];
|
|
9514
9554
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9515
9555
|
var children = _ref.children,
|
|
9516
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9556
|
+
props = _objectWithoutProperties(_ref, _excluded$R);
|
|
9517
9557
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9518
9558
|
weight: "bold",
|
|
9519
9559
|
variant: "Header 2",
|
|
@@ -9522,10 +9562,10 @@
|
|
|
9522
9562
|
});
|
|
9523
9563
|
Header2.displayName = "Header2";
|
|
9524
9564
|
|
|
9525
|
-
var _excluded$
|
|
9565
|
+
var _excluded$Q = ["children"];
|
|
9526
9566
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9527
9567
|
var children = _ref.children,
|
|
9528
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9568
|
+
props = _objectWithoutProperties(_ref, _excluded$Q);
|
|
9529
9569
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9530
9570
|
weight: "bold",
|
|
9531
9571
|
variant: "Header 3",
|
|
@@ -9534,12 +9574,12 @@
|
|
|
9534
9574
|
});
|
|
9535
9575
|
Header3.displayName = "Header3";
|
|
9536
9576
|
|
|
9537
|
-
var _excluded$
|
|
9577
|
+
var _excluded$P = ["weight", "children"];
|
|
9538
9578
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9539
9579
|
var _ref$weight = _ref.weight,
|
|
9540
9580
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9541
9581
|
children = _ref.children,
|
|
9542
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9582
|
+
props = _objectWithoutProperties(_ref, _excluded$P);
|
|
9543
9583
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9544
9584
|
variant: "Body 1",
|
|
9545
9585
|
weight: weight,
|
|
@@ -9548,12 +9588,12 @@
|
|
|
9548
9588
|
});
|
|
9549
9589
|
Body1.displayName = "Body1";
|
|
9550
9590
|
|
|
9551
|
-
var _excluded$
|
|
9591
|
+
var _excluded$O = ["weight", "children"];
|
|
9552
9592
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9553
9593
|
var _ref$weight = _ref.weight,
|
|
9554
9594
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9555
9595
|
children = _ref.children,
|
|
9556
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9596
|
+
props = _objectWithoutProperties(_ref, _excluded$O);
|
|
9557
9597
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9558
9598
|
variant: "Caption 1",
|
|
9559
9599
|
weight: weight,
|
|
@@ -9562,12 +9602,12 @@
|
|
|
9562
9602
|
});
|
|
9563
9603
|
Caption1.displayName = "Caption1";
|
|
9564
9604
|
|
|
9565
|
-
var _excluded$
|
|
9605
|
+
var _excluded$N = ["weight", "children"];
|
|
9566
9606
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9567
9607
|
var _ref$weight = _ref.weight,
|
|
9568
9608
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9569
9609
|
children = _ref.children,
|
|
9570
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9610
|
+
props = _objectWithoutProperties(_ref, _excluded$N);
|
|
9571
9611
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9572
9612
|
variant: "Caption 2",
|
|
9573
9613
|
weight: weight,
|
|
@@ -9683,7 +9723,7 @@
|
|
|
9683
9723
|
return props.size + "px";
|
|
9684
9724
|
});
|
|
9685
9725
|
|
|
9686
|
-
var _excluded$
|
|
9726
|
+
var _excluded$M = ["url", "alt", "size", "className", "imgClassName", "children"];
|
|
9687
9727
|
/**
|
|
9688
9728
|
* @component Avatar
|
|
9689
9729
|
* @description
|
|
@@ -9718,7 +9758,7 @@
|
|
|
9718
9758
|
className = _ref.className,
|
|
9719
9759
|
imgClassName = _ref.imgClassName,
|
|
9720
9760
|
children = _ref.children,
|
|
9721
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9761
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
9722
9762
|
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
9723
9763
|
className: className
|
|
9724
9764
|
}, children, /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({
|
|
@@ -9741,13 +9781,13 @@
|
|
|
9741
9781
|
return props.$color && styled.css(["background-color:", ";"], props.$color);
|
|
9742
9782
|
});
|
|
9743
9783
|
|
|
9744
|
-
var _excluded$
|
|
9784
|
+
var _excluded$L = ["color", "size", "className"];
|
|
9745
9785
|
var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9746
9786
|
var color = _ref.color,
|
|
9747
9787
|
_ref$size = _ref.size,
|
|
9748
9788
|
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
9749
9789
|
className = _ref.className,
|
|
9750
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9790
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
9751
9791
|
return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
|
|
9752
9792
|
className: classNames__default["default"]("c-dot", className),
|
|
9753
9793
|
ref: ref,
|
|
@@ -9784,7 +9824,7 @@
|
|
|
9784
9824
|
});
|
|
9785
9825
|
StyledTagText.displayName = "StyledTagText";
|
|
9786
9826
|
|
|
9787
|
-
var _excluded$
|
|
9827
|
+
var _excluded$K = ["name", "color", "showText", "showDot", "className"];
|
|
9788
9828
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9789
9829
|
var name = _ref.name,
|
|
9790
9830
|
color = _ref.color,
|
|
@@ -9793,7 +9833,7 @@
|
|
|
9793
9833
|
_ref$showDot = _ref.showDot,
|
|
9794
9834
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
9795
9835
|
className = _ref.className,
|
|
9796
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9836
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
9797
9837
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
9798
9838
|
className: classNames__default["default"]("c-tag", className),
|
|
9799
9839
|
ref: ref
|
|
@@ -9913,7 +9953,7 @@
|
|
|
9913
9953
|
}, StyledInput$3, StyledLabel);
|
|
9914
9954
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
9915
9955
|
|
|
9916
|
-
var _excluded$
|
|
9956
|
+
var _excluded$J = ["className", "hover", "id"];
|
|
9917
9957
|
/**
|
|
9918
9958
|
* Checkbox component
|
|
9919
9959
|
*/
|
|
@@ -9922,7 +9962,7 @@
|
|
|
9922
9962
|
hover = _ref.hover,
|
|
9923
9963
|
_ref$id = _ref.id,
|
|
9924
9964
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
9925
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9965
|
+
rest = _objectWithoutProperties(_ref, _excluded$J);
|
|
9926
9966
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
|
|
9927
9967
|
className: classNames__default["default"]("c-checkbox", {
|
|
9928
9968
|
"c-checkbox__hover": hover,
|
|
@@ -10116,7 +10156,7 @@
|
|
|
10116
10156
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
10117
10157
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
10118
10158
|
|
|
10119
|
-
var _excluded$
|
|
10159
|
+
var _excluded$I = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
10120
10160
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10121
10161
|
var children = _ref.children,
|
|
10122
10162
|
className = _ref.className,
|
|
@@ -10130,7 +10170,7 @@
|
|
|
10130
10170
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
10131
10171
|
innerColor = _ref.innerColor,
|
|
10132
10172
|
outerColor = _ref.outerColor,
|
|
10133
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10173
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
10134
10174
|
var _useState = React.useState({
|
|
10135
10175
|
top: 0,
|
|
10136
10176
|
right: 0,
|
|
@@ -10250,7 +10290,7 @@
|
|
|
10250
10290
|
return height;
|
|
10251
10291
|
};
|
|
10252
10292
|
|
|
10253
|
-
var _excluded$
|
|
10293
|
+
var _excluded$H = ["as", "className", "invert", "style"];
|
|
10254
10294
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10255
10295
|
var _ref$as = _ref.as,
|
|
10256
10296
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -10258,7 +10298,7 @@
|
|
|
10258
10298
|
_ref$invert = _ref.invert,
|
|
10259
10299
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
10260
10300
|
style = _ref.style,
|
|
10261
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10301
|
+
rest = _objectWithoutProperties(_ref, _excluded$H);
|
|
10262
10302
|
var internalRef = useInitScrollRef(null, invert);
|
|
10263
10303
|
var handleRef = useForkRef(internalRef, ref);
|
|
10264
10304
|
var props = _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
@@ -10706,7 +10746,7 @@
|
|
|
10706
10746
|
});
|
|
10707
10747
|
StyledInput$2.displayName = "StyledInput";
|
|
10708
10748
|
|
|
10709
|
-
var _excluded$
|
|
10749
|
+
var _excluded$G = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef"];
|
|
10710
10750
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
10711
10751
|
var _ref$className = _ref.className,
|
|
10712
10752
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -10722,7 +10762,7 @@
|
|
|
10722
10762
|
startAdornment = _ref.startAdornment,
|
|
10723
10763
|
endAdornment = _ref.endAdornment,
|
|
10724
10764
|
wrapRef = _ref.wrapRef,
|
|
10725
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10765
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
10726
10766
|
var intInputRef = React.useRef(null);
|
|
10727
10767
|
var handleRef = useForkRef(ref, intInputRef);
|
|
10728
10768
|
var handleWrapperClick = React.useCallback(function () {
|
|
@@ -10775,14 +10815,14 @@
|
|
|
10775
10815
|
}, StyledRadioLabel);
|
|
10776
10816
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
10777
10817
|
|
|
10778
|
-
var _excluded$
|
|
10818
|
+
var _excluded$F = ["className", "id", "hover"];
|
|
10779
10819
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10780
10820
|
var _ref$className = _ref.className,
|
|
10781
10821
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
10782
10822
|
_ref$id = _ref.id,
|
|
10783
10823
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
10784
10824
|
hover = _ref.hover,
|
|
10785
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10825
|
+
props = _objectWithoutProperties(_ref, _excluded$F);
|
|
10786
10826
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
10787
10827
|
className: classNames__default["default"]("c-radio-btn", {
|
|
10788
10828
|
"c-radio-btn__hover": hover,
|
|
@@ -10990,7 +11030,7 @@
|
|
|
10990
11030
|
};
|
|
10991
11031
|
OptionContent.displayName = "OptionContent";
|
|
10992
11032
|
|
|
10993
|
-
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"];
|
|
10994
11034
|
var Select = function Select(_ref) {
|
|
10995
11035
|
var _ref$type = _ref.type,
|
|
10996
11036
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -11024,7 +11064,7 @@
|
|
|
11024
11064
|
handleDefaultOptionChange = _ref.handleDefaultOptionChange,
|
|
11025
11065
|
_ref$preselectDefault = _ref.preselectDefaultValue,
|
|
11026
11066
|
preselectDefaultValue = _ref$preselectDefault === void 0 ? type === "single" : _ref$preselectDefault,
|
|
11027
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
11067
|
+
prop = _objectWithoutProperties(_ref, _excluded$E);
|
|
11028
11068
|
var childNode = React.useRef();
|
|
11029
11069
|
var elementRef = React.useRef(null);
|
|
11030
11070
|
var handleRef = useForkRef(childNode, elementRef);
|
|
@@ -11270,7 +11310,7 @@
|
|
|
11270
11310
|
});
|
|
11271
11311
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
11272
11312
|
|
|
11273
|
-
var _excluded$
|
|
11313
|
+
var _excluded$D = ["children", "active", "disabled", "className", "role"];
|
|
11274
11314
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
11275
11315
|
var children = _ref.children,
|
|
11276
11316
|
_ref$active = _ref.active,
|
|
@@ -11279,7 +11319,7 @@
|
|
|
11279
11319
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11280
11320
|
className = _ref.className,
|
|
11281
11321
|
role = _ref.role,
|
|
11282
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11322
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
11283
11323
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
11284
11324
|
className: classNames__default["default"]("c-nav__item", {
|
|
11285
11325
|
"c-nav__item--active": active
|
|
@@ -11320,11 +11360,11 @@
|
|
|
11320
11360
|
});
|
|
11321
11361
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
11322
11362
|
|
|
11323
|
-
var _excluded$
|
|
11363
|
+
var _excluded$C = ["expanded"];
|
|
11324
11364
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11325
11365
|
var _ref$expanded = _ref.expanded,
|
|
11326
11366
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
11327
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11367
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
11328
11368
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
11329
11369
|
ref: ref,
|
|
11330
11370
|
viewBox: "0 0 24 24",
|
|
@@ -11614,7 +11654,7 @@
|
|
|
11614
11654
|
};
|
|
11615
11655
|
Nav.displayName = "Nav";
|
|
11616
11656
|
|
|
11617
|
-
var _excluded$
|
|
11657
|
+
var _excluded$B = ["children", "as", "disablePointerEvents"];
|
|
11618
11658
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
11619
11659
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
11620
11660
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -11631,7 +11671,7 @@
|
|
|
11631
11671
|
var children = _ref.children,
|
|
11632
11672
|
as = _ref.as,
|
|
11633
11673
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
11634
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11674
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
11635
11675
|
var Component = as || "div";
|
|
11636
11676
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
11637
11677
|
as: Component,
|
|
@@ -11641,11 +11681,11 @@
|
|
|
11641
11681
|
});
|
|
11642
11682
|
InputAdornment.displayName = "InputAdornment";
|
|
11643
11683
|
|
|
11644
|
-
var _excluded$
|
|
11684
|
+
var _excluded$A = ["expanded"];
|
|
11645
11685
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11646
11686
|
var _ref$expanded = _ref.expanded,
|
|
11647
11687
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
11648
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11688
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
11649
11689
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
11650
11690
|
ref: ref,
|
|
11651
11691
|
viewBox: "0 0 24 24"
|
|
@@ -11763,14 +11803,14 @@
|
|
|
11763
11803
|
});
|
|
11764
11804
|
StyledTextarea.displayName = "StyledTextarea";
|
|
11765
11805
|
|
|
11766
|
-
var _excluded$
|
|
11806
|
+
var _excluded$z = ["className", "disabled", "invalid"];
|
|
11767
11807
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11768
11808
|
var className = _ref.className,
|
|
11769
11809
|
_ref$disabled = _ref.disabled,
|
|
11770
11810
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11771
11811
|
_ref$invalid = _ref.invalid,
|
|
11772
11812
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
11773
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11813
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
11774
11814
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
11775
11815
|
$invalid: invalid,
|
|
11776
11816
|
ref: ref,
|
|
@@ -11802,7 +11842,7 @@
|
|
|
11802
11842
|
function () {});
|
|
11803
11843
|
}
|
|
11804
11844
|
|
|
11805
|
-
var _excluded$
|
|
11845
|
+
var _excluded$y = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "disableCloseOnEsc", "open", "onClose"];
|
|
11806
11846
|
var getHasTransition = function getHasTransition(children) {
|
|
11807
11847
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
11808
11848
|
};
|
|
@@ -11821,7 +11861,7 @@
|
|
|
11821
11861
|
_ref$open = _ref.open,
|
|
11822
11862
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
11823
11863
|
onClose = _ref.onClose,
|
|
11824
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11864
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
11825
11865
|
var _useState = React.useState(defaultOpen),
|
|
11826
11866
|
_useState2 = _slicedToArray(_useState, 2),
|
|
11827
11867
|
open = _useState2[0],
|
|
@@ -11959,7 +11999,7 @@
|
|
|
11959
11999
|
});
|
|
11960
12000
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
11961
12001
|
|
|
11962
|
-
var _excluded$
|
|
12002
|
+
var _excluded$x = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
11963
12003
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11964
12004
|
var children = _ref.children,
|
|
11965
12005
|
onClose = _ref.onClose,
|
|
@@ -11983,7 +12023,7 @@
|
|
|
11983
12023
|
bodyClassName = _ref.bodyClassName,
|
|
11984
12024
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
11985
12025
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
11986
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12026
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
11987
12027
|
var _useState = React.useState(defaultOpen),
|
|
11988
12028
|
_useState2 = _slicedToArray(_useState, 2),
|
|
11989
12029
|
open = _useState2[0],
|
|
@@ -12074,13 +12114,13 @@
|
|
|
12074
12114
|
});
|
|
12075
12115
|
StyledHeader.displayName = "StyledHeader";
|
|
12076
12116
|
|
|
12077
|
-
var _excluded$
|
|
12117
|
+
var _excluded$w = ["className", "size", "children"];
|
|
12078
12118
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12079
12119
|
var className = _ref.className,
|
|
12080
12120
|
_ref$size = _ref.size,
|
|
12081
12121
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
12082
12122
|
children = _ref.children,
|
|
12083
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12123
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
12084
12124
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
12085
12125
|
type: "paper-2",
|
|
12086
12126
|
className: classNames__default["default"]("c-header", className),
|
|
@@ -12096,7 +12136,7 @@
|
|
|
12096
12136
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
12097
12137
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
12098
12138
|
|
|
12099
|
-
var _excluded$
|
|
12139
|
+
var _excluded$v = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
12100
12140
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12101
12141
|
var _ref$minRows = _ref.minRows,
|
|
12102
12142
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -12112,7 +12152,7 @@
|
|
|
12112
12152
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
12113
12153
|
onKeyDown = _ref.onKeyDown,
|
|
12114
12154
|
value = _ref.value,
|
|
12115
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12155
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
12116
12156
|
var innerRef = React.useRef(null);
|
|
12117
12157
|
var _useState = React.useState(minRows),
|
|
12118
12158
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -12388,7 +12428,7 @@
|
|
|
12388
12428
|
});
|
|
12389
12429
|
StyledChoose.displayName = "StyledChoose";
|
|
12390
12430
|
|
|
12391
|
-
var _excluded$
|
|
12431
|
+
var _excluded$u = ["children", "disabled", "active", "className"];
|
|
12392
12432
|
/**
|
|
12393
12433
|
* Choose component
|
|
12394
12434
|
*/
|
|
@@ -12399,7 +12439,7 @@
|
|
|
12399
12439
|
_ref$active = _ref.active,
|
|
12400
12440
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
12401
12441
|
className = _ref.className,
|
|
12402
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12442
|
+
args = _objectWithoutProperties(_ref, _excluded$u);
|
|
12403
12443
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
12404
12444
|
disabled: disabled,
|
|
12405
12445
|
className: classNames__default["default"]("c-choose", className),
|
|
@@ -12495,21 +12535,21 @@
|
|
|
12495
12535
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
12496
12536
|
StyledLink.displayName = "StyledLink";
|
|
12497
12537
|
|
|
12498
|
-
var _excluded$
|
|
12538
|
+
var _excluded$t = ["children", "className"];
|
|
12499
12539
|
/**
|
|
12500
12540
|
* Back link component
|
|
12501
12541
|
*/
|
|
12502
12542
|
var BackLink = function BackLink(_ref) {
|
|
12503
12543
|
var children = _ref.children,
|
|
12504
12544
|
className = _ref.className,
|
|
12505
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12545
|
+
args = _objectWithoutProperties(_ref, _excluded$t);
|
|
12506
12546
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
12507
12547
|
className: classNames__default["default"]("c-back-link", className)
|
|
12508
12548
|
}, args), children);
|
|
12509
12549
|
};
|
|
12510
12550
|
BackLink.displayName = "BackLink";
|
|
12511
12551
|
|
|
12512
|
-
var _excluded$
|
|
12552
|
+
var _excluded$s = ["as", "children", "variant", "size", "disabled", "className"];
|
|
12513
12553
|
/**
|
|
12514
12554
|
* Link component
|
|
12515
12555
|
*/
|
|
@@ -12522,7 +12562,7 @@
|
|
|
12522
12562
|
_ref$disabled = _ref.disabled,
|
|
12523
12563
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
12524
12564
|
className = _ref.className,
|
|
12525
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12565
|
+
args = _objectWithoutProperties(_ref, _excluded$s);
|
|
12526
12566
|
var Component = as || "a";
|
|
12527
12567
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
12528
12568
|
ref: ref,
|
|
@@ -12633,7 +12673,7 @@
|
|
|
12633
12673
|
})(["padding:20px 30px;", " ", ""], FontStyle, BoxSizingStyle);
|
|
12634
12674
|
StyledDialogActions.displayName = "StyledDialogActions";
|
|
12635
12675
|
|
|
12636
|
-
var _excluded$
|
|
12676
|
+
var _excluded$r = ["children", "className", "disableDefaultHeading"];
|
|
12637
12677
|
// import { useDialogContext } from "./DialogContext";
|
|
12638
12678
|
|
|
12639
12679
|
var DialogTitle = function DialogTitle(_ref) {
|
|
@@ -12641,7 +12681,7 @@
|
|
|
12641
12681
|
className = _ref.className,
|
|
12642
12682
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
12643
12683
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
12644
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12684
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
12645
12685
|
// useDialogContext();
|
|
12646
12686
|
|
|
12647
12687
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
@@ -12650,13 +12690,13 @@
|
|
|
12650
12690
|
};
|
|
12651
12691
|
DialogTitle.displayName = "DialogTitle";
|
|
12652
12692
|
|
|
12653
|
-
var _excluded$
|
|
12693
|
+
var _excluded$q = ["className", "children"];
|
|
12654
12694
|
// import { useDialogContext } from "./DialogContext";
|
|
12655
12695
|
|
|
12656
12696
|
var DialogContent = function DialogContent(_ref) {
|
|
12657
12697
|
var className = _ref.className,
|
|
12658
12698
|
children = _ref.children,
|
|
12659
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12699
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
12660
12700
|
// useDialogContext();
|
|
12661
12701
|
|
|
12662
12702
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
@@ -12677,13 +12717,13 @@
|
|
|
12677
12717
|
};
|
|
12678
12718
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
12679
12719
|
|
|
12680
|
-
var _excluded$
|
|
12720
|
+
var _excluded$p = ["className", "children"];
|
|
12681
12721
|
// import { useDialogContext } from "./DialogContext";
|
|
12682
12722
|
|
|
12683
12723
|
var DialogActions = function DialogActions(_ref) {
|
|
12684
12724
|
var className = _ref.className,
|
|
12685
12725
|
children = _ref.children,
|
|
12686
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12726
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
12687
12727
|
// useDialogContext();
|
|
12688
12728
|
|
|
12689
12729
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
@@ -12937,7 +12977,7 @@
|
|
|
12937
12977
|
});
|
|
12938
12978
|
StyledPressed.displayName = "StyledPressed";
|
|
12939
12979
|
|
|
12940
|
-
var _excluded$
|
|
12980
|
+
var _excluded$o = ["children", "active", "className"];
|
|
12941
12981
|
/**
|
|
12942
12982
|
* Pressed wrapper for button component
|
|
12943
12983
|
* @deprecated
|
|
@@ -12947,7 +12987,7 @@
|
|
|
12947
12987
|
_ref$active = _ref.active,
|
|
12948
12988
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
12949
12989
|
className = _ref.className,
|
|
12950
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12990
|
+
args = _objectWithoutProperties(_ref, _excluded$o);
|
|
12951
12991
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
12952
12992
|
active: active,
|
|
12953
12993
|
ref: ref,
|
|
@@ -13444,7 +13484,7 @@
|
|
|
13444
13484
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
13445
13485
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
13446
13486
|
|
|
13447
|
-
var _excluded$
|
|
13487
|
+
var _excluded$n = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
13448
13488
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13449
13489
|
var text = _ref.text,
|
|
13450
13490
|
type = _ref.type,
|
|
@@ -13455,7 +13495,7 @@
|
|
|
13455
13495
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
13456
13496
|
_ref$timeout = _ref.timeout,
|
|
13457
13497
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
13458
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13498
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
13459
13499
|
var handleOnClose = React.useCallback(function () {
|
|
13460
13500
|
if (typeof onClose === "function") {
|
|
13461
13501
|
onClose();
|
|
@@ -13479,7 +13519,7 @@
|
|
|
13479
13519
|
});
|
|
13480
13520
|
ToastMessage.displayName = "ToastMessage";
|
|
13481
13521
|
|
|
13482
|
-
var _excluded$
|
|
13522
|
+
var _excluded$m = ["in", "children", "style", "timeout"];
|
|
13483
13523
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
13484
13524
|
return {
|
|
13485
13525
|
transition: "all ".concat(duration, "ms ease-in-out"),
|
|
@@ -13507,7 +13547,7 @@
|
|
|
13507
13547
|
style = _ref.style,
|
|
13508
13548
|
_ref$timeout = _ref.timeout,
|
|
13509
13549
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
13510
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13550
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
13511
13551
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
13512
13552
|
appear: true,
|
|
13513
13553
|
in: inProp,
|
|
@@ -13522,7 +13562,7 @@
|
|
|
13522
13562
|
};
|
|
13523
13563
|
Fade.displayName = "Fade";
|
|
13524
13564
|
|
|
13525
|
-
var _excluded$
|
|
13565
|
+
var _excluded$l = ["in", "children", "style", "timeout", "initialDirection"];
|
|
13526
13566
|
var Slide = function Slide(_ref) {
|
|
13527
13567
|
var _ref$in = _ref.in,
|
|
13528
13568
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -13532,7 +13572,7 @@
|
|
|
13532
13572
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
13533
13573
|
_ref$initialDirection = _ref.initialDirection,
|
|
13534
13574
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
13535
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13575
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
13536
13576
|
var directionSign;
|
|
13537
13577
|
switch (initialDirection) {
|
|
13538
13578
|
case "right":
|
|
@@ -13585,12 +13625,12 @@
|
|
|
13585
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;}"]);
|
|
13586
13626
|
});
|
|
13587
13627
|
|
|
13588
|
-
var _excluded$
|
|
13628
|
+
var _excluded$k = ["children", "direction"];
|
|
13589
13629
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
13590
13630
|
var children = _ref.children,
|
|
13591
13631
|
_ref$direction = _ref.direction,
|
|
13592
13632
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
13593
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13633
|
+
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
13594
13634
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
13595
13635
|
timeout: 200,
|
|
13596
13636
|
classNames: "c-slide",
|
|
@@ -13633,7 +13673,7 @@
|
|
|
13633
13673
|
};
|
|
13634
13674
|
ResizeTransition.displayName = "ResizeTransition";
|
|
13635
13675
|
|
|
13636
|
-
var _excluded$
|
|
13676
|
+
var _excluded$j = ["in", "children", "style", "timeout"];
|
|
13637
13677
|
var defaultStyle = function defaultStyle(duration) {
|
|
13638
13678
|
return {
|
|
13639
13679
|
transition: "all ".concat(duration, "ms ease-in"),
|
|
@@ -13667,7 +13707,7 @@
|
|
|
13667
13707
|
style = _ref.style,
|
|
13668
13708
|
_ref$timeout = _ref.timeout,
|
|
13669
13709
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
13670
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13710
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
13671
13711
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
13672
13712
|
appear: true,
|
|
13673
13713
|
in: inProp,
|
|
@@ -13741,7 +13781,7 @@
|
|
|
13741
13781
|
});
|
|
13742
13782
|
StyledValueButton.displayName = "StyledValueButton";
|
|
13743
13783
|
|
|
13744
|
-
var _excluded$
|
|
13784
|
+
var _excluded$i = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
13745
13785
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13746
13786
|
var _ref$active = _ref.active,
|
|
13747
13787
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -13750,7 +13790,7 @@
|
|
|
13750
13790
|
icon = _ref.icon,
|
|
13751
13791
|
label = _ref.label,
|
|
13752
13792
|
value = _ref.value,
|
|
13753
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
13793
|
+
args = _objectWithoutProperties(_ref, _excluded$i);
|
|
13754
13794
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
13755
13795
|
className: "c-value-button"
|
|
13756
13796
|
}, args, {
|
|
@@ -13779,12 +13819,12 @@
|
|
|
13779
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;}"]);
|
|
13780
13820
|
StyledButton.displayName = "StyledButton";
|
|
13781
13821
|
|
|
13782
|
-
var _excluded$
|
|
13822
|
+
var _excluded$h = ["children", "type"];
|
|
13783
13823
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13784
13824
|
var children = _ref.children,
|
|
13785
13825
|
_ref$type = _ref.type,
|
|
13786
13826
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
13787
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13827
|
+
rest = _objectWithoutProperties(_ref, _excluded$h);
|
|
13788
13828
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
13789
13829
|
ref: ref,
|
|
13790
13830
|
role: "button",
|
|
@@ -13830,7 +13870,7 @@
|
|
|
13830
13870
|
});
|
|
13831
13871
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
13832
13872
|
|
|
13833
|
-
var _excluded$
|
|
13873
|
+
var _excluded$g = ["children", "type", "size", "invalid", "open", "endAdornment"];
|
|
13834
13874
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13835
13875
|
var children = _ref.children,
|
|
13836
13876
|
_ref$type = _ref.type,
|
|
@@ -13842,7 +13882,7 @@
|
|
|
13842
13882
|
_ref$open = _ref.open,
|
|
13843
13883
|
open = _ref$open === void 0 ? false : _ref$open,
|
|
13844
13884
|
endAdornment = _ref.endAdornment,
|
|
13845
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13885
|
+
rest = _objectWithoutProperties(_ref, _excluded$g);
|
|
13846
13886
|
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
13847
13887
|
ref: ref,
|
|
13848
13888
|
role: "button",
|
|
@@ -13889,11 +13929,11 @@
|
|
|
13889
13929
|
});
|
|
13890
13930
|
StyledToggle.displayName = "StyledToggle";
|
|
13891
13931
|
|
|
13892
|
-
var _excluded$
|
|
13932
|
+
var _excluded$f = ["hovered", "className"];
|
|
13893
13933
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13894
13934
|
var hovered = _ref.hovered,
|
|
13895
13935
|
className = _ref.className,
|
|
13896
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
13936
|
+
args = _objectWithoutProperties(_ref, _excluded$f);
|
|
13897
13937
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
13898
13938
|
className: classNames__default["default"]("c-toggle", className),
|
|
13899
13939
|
$isHovered: hovered,
|
|
@@ -14046,7 +14086,7 @@
|
|
|
14046
14086
|
});
|
|
14047
14087
|
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
14048
14088
|
|
|
14049
|
-
var _excluded$
|
|
14089
|
+
var _excluded$e = ["leftAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "variant", "typographyProps"];
|
|
14050
14090
|
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
14051
14091
|
var leftAdornment = _ref.leftAdornment,
|
|
14052
14092
|
label = _ref.label,
|
|
@@ -14058,7 +14098,7 @@
|
|
|
14058
14098
|
closeClassName = _ref.closeClassName,
|
|
14059
14099
|
variant = _ref.variant,
|
|
14060
14100
|
typographyProps = _ref.typographyProps,
|
|
14061
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14101
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
14062
14102
|
var showClose = typeof onClose === "function";
|
|
14063
14103
|
var _variant = React.useMemo(function () {
|
|
14064
14104
|
if (typeof variant !== "undefined") {
|
|
@@ -14134,7 +14174,7 @@
|
|
|
14134
14174
|
return isFirst.current;
|
|
14135
14175
|
};
|
|
14136
14176
|
|
|
14137
|
-
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"];
|
|
14138
14178
|
var ComboBox = function ComboBox(_ref) {
|
|
14139
14179
|
var _comboBoxRef$current2, _comboBoxRef$current3;
|
|
14140
14180
|
var _ref$options = _ref.options,
|
|
@@ -14167,7 +14207,7 @@
|
|
|
14167
14207
|
scrollWrapper = _ref.scrollWrapper,
|
|
14168
14208
|
onClose = _ref.onClose,
|
|
14169
14209
|
onClear = _ref.onClear,
|
|
14170
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
14210
|
+
prop = _objectWithoutProperties(_ref, _excluded$d);
|
|
14171
14211
|
var selectedName = React.useMemo(function () {
|
|
14172
14212
|
var value = "";
|
|
14173
14213
|
if (!selected) {
|
|
@@ -14556,11 +14596,11 @@
|
|
|
14556
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);
|
|
14557
14597
|
StyledAddToListButton.displayName = "StyledAddToListButton";
|
|
14558
14598
|
|
|
14559
|
-
var _excluded$
|
|
14599
|
+
var _excluded$c = ["text", "className"];
|
|
14560
14600
|
var AddToListButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14561
14601
|
var text = _ref.text,
|
|
14562
14602
|
className = _ref.className,
|
|
14563
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14603
|
+
rest = _objectWithoutProperties(_ref, _excluded$c);
|
|
14564
14604
|
return /*#__PURE__*/React__default["default"].createElement(StyledAddToListButton, _extends({
|
|
14565
14605
|
ref: ref,
|
|
14566
14606
|
className: classNames__default["default"]("c--add-to-list-btn", className)
|
|
@@ -14743,11 +14783,11 @@
|
|
|
14743
14783
|
};
|
|
14744
14784
|
ProgressRing.displayName = "ProgressRing";
|
|
14745
14785
|
|
|
14746
|
-
var _excluded$
|
|
14786
|
+
var _excluded$b = ["radius"];
|
|
14747
14787
|
var ProgressPie = function ProgressPie(_ref) {
|
|
14748
14788
|
var _ref$radius = _ref.radius,
|
|
14749
14789
|
radius = _ref$radius === void 0 ? 20 : _ref$radius,
|
|
14750
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14790
|
+
rest = _objectWithoutProperties(_ref, _excluded$b);
|
|
14751
14791
|
return /*#__PURE__*/React__default["default"].createElement(ProgressRing, _extends({}, rest, {
|
|
14752
14792
|
stroke: radius,
|
|
14753
14793
|
radius: radius
|
|
@@ -15071,7 +15111,7 @@
|
|
|
15071
15111
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
15072
15112
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
15073
15113
|
|
|
15074
|
-
var _excluded$
|
|
15114
|
+
var _excluded$a = ["invalid", "required", "size", "children", "className", "weight"];
|
|
15075
15115
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15076
15116
|
var _ref$invalid = _ref.invalid,
|
|
15077
15117
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -15083,7 +15123,7 @@
|
|
|
15083
15123
|
className = _ref.className,
|
|
15084
15124
|
_ref$weight = _ref.weight,
|
|
15085
15125
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
15086
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15126
|
+
props = _objectWithoutProperties(_ref, _excluded$a);
|
|
15087
15127
|
var color = invalid ? "alert" : "primary";
|
|
15088
15128
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
15089
15129
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
@@ -15142,7 +15182,7 @@
|
|
|
15142
15182
|
});
|
|
15143
15183
|
StyledInput$1.displayName = "StyledInput";
|
|
15144
15184
|
|
|
15145
|
-
var _excluded$
|
|
15185
|
+
var _excluded$9 = ["className", "variant", "weight", "disabled", "inputProps", "wrapRef"];
|
|
15146
15186
|
var EditableContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15147
15187
|
var className = _ref.className,
|
|
15148
15188
|
_ref$variant = _ref.variant,
|
|
@@ -15152,7 +15192,7 @@
|
|
|
15152
15192
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
15153
15193
|
inputProps = _ref.inputProps,
|
|
15154
15194
|
wrapRef = _ref.wrapRef,
|
|
15155
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15195
|
+
props = _objectWithoutProperties(_ref, _excluded$9);
|
|
15156
15196
|
var intInputRef = React.useRef(null);
|
|
15157
15197
|
var handleRef = useForkRef(ref, intInputRef);
|
|
15158
15198
|
var handleBlur = React.useCallback(function (evt) {
|
|
@@ -15182,13 +15222,13 @@
|
|
|
15182
15222
|
});
|
|
15183
15223
|
EditableContent.displayName = "EditableContent";
|
|
15184
15224
|
|
|
15185
|
-
var _excluded$
|
|
15225
|
+
var _excluded$8 = ["onSave", "onCancel", "value", "inputProps"];
|
|
15186
15226
|
var EditableText = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15187
15227
|
var onSave = _ref.onSave,
|
|
15188
15228
|
onCancel = _ref.onCancel,
|
|
15189
15229
|
value = _ref.value,
|
|
15190
15230
|
inputProps = _ref.inputProps,
|
|
15191
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15231
|
+
props = _objectWithoutProperties(_ref, _excluded$8);
|
|
15192
15232
|
var _useState = React.useState(value),
|
|
15193
15233
|
_useState2 = _slicedToArray(_useState, 2),
|
|
15194
15234
|
currentValue = _useState2[0],
|
|
@@ -15246,11 +15286,11 @@
|
|
|
15246
15286
|
});
|
|
15247
15287
|
EditableText.displayName = "EditableText";
|
|
15248
15288
|
|
|
15249
|
-
var _excluded$
|
|
15289
|
+
var _excluded$7 = ["withDocuments"];
|
|
15250
15290
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
15251
15291
|
var _ref$withDocuments = _ref.withDocuments,
|
|
15252
15292
|
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
15253
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15293
|
+
props = _objectWithoutProperties(_ref, _excluded$7);
|
|
15254
15294
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
15255
15295
|
width: 100,
|
|
15256
15296
|
height: 100,
|
|
@@ -15393,7 +15433,7 @@
|
|
|
15393
15433
|
return $renderAs === "list" && styled.css(["justify-self:flex-end;"]);
|
|
15394
15434
|
});
|
|
15395
15435
|
|
|
15396
|
-
var _excluded$
|
|
15436
|
+
var _excluded$6 = ["children", "gap", "renderAs"];
|
|
15397
15437
|
var EntityGroupContext = /*#__PURE__*/React__default["default"].createContext({
|
|
15398
15438
|
renderAs: "grid"
|
|
15399
15439
|
});
|
|
@@ -15402,7 +15442,7 @@
|
|
|
15402
15442
|
gap = _ref.gap,
|
|
15403
15443
|
_ref$renderAs = _ref.renderAs,
|
|
15404
15444
|
renderAs = _ref$renderAs === void 0 ? "grid" : _ref$renderAs,
|
|
15405
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15445
|
+
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
15406
15446
|
return /*#__PURE__*/React__default["default"].createElement(EntityGroupContext.Provider, {
|
|
15407
15447
|
value: {
|
|
15408
15448
|
renderAs: renderAs
|
|
@@ -15414,14 +15454,14 @@
|
|
|
15414
15454
|
};
|
|
15415
15455
|
EntityGroup.displayName = "EntityGroup";
|
|
15416
15456
|
|
|
15417
|
-
var _excluded$
|
|
15457
|
+
var _excluded$5 = ["children", "isCollection", "background", "className", "as"];
|
|
15418
15458
|
var EntityCard = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15419
15459
|
var children = _ref.children,
|
|
15420
15460
|
isCollection = _ref.isCollection,
|
|
15421
15461
|
background = _ref.background,
|
|
15422
15462
|
className = _ref.className,
|
|
15423
15463
|
as = _ref.as,
|
|
15424
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15464
|
+
rest = _objectWithoutProperties(_ref, _excluded$5);
|
|
15425
15465
|
var _useContext = React.useContext(EntityGroupContext),
|
|
15426
15466
|
renderAs = _useContext.renderAs;
|
|
15427
15467
|
var classSuffix = "c-entity-card-".concat(renderAs);
|
|
@@ -15440,13 +15480,13 @@
|
|
|
15440
15480
|
});
|
|
15441
15481
|
EntityCard.displayName = "EntityCard";
|
|
15442
15482
|
|
|
15443
|
-
var _excluded$
|
|
15483
|
+
var _excluded$4 = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
15444
15484
|
var EntityProperty = function EntityProperty(_ref) {
|
|
15445
15485
|
var listOrder = _ref.listOrder,
|
|
15446
15486
|
listWidth = _ref.listWidth,
|
|
15447
15487
|
visibleFromBreakpoint = _ref.visibleFromBreakpoint,
|
|
15448
15488
|
className = _ref.className,
|
|
15449
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15489
|
+
props = _objectWithoutProperties(_ref, _excluded$4);
|
|
15450
15490
|
var _useContext = React.useContext(EntityGroupContext),
|
|
15451
15491
|
renderAs = _useContext.renderAs;
|
|
15452
15492
|
var classSuffix = "c-entity-property-".concat(renderAs);
|
|
@@ -16004,14 +16044,11 @@
|
|
|
16004
16044
|
var AvatarGroupsStyles = styled__default["default"].div.withConfig({
|
|
16005
16045
|
displayName: "Styles__AvatarGroupsStyles",
|
|
16006
16046
|
componentId: "sc-1padv46-0"
|
|
16007
|
-
})(["", " align-items:center;
|
|
16047
|
+
})(["", " align-items:center;align-items:center;background-color:", ";border-radius:var(--ac-br-6);cursor:pointer;display:flex;justify-content:center;padding:", ";user-select:none;width:fit-content;"], FontStyle, function (props) {
|
|
16008
16048
|
return !props.hasTooltip && "var(--color-theme-300)";
|
|
16009
16049
|
}, function (_ref) {
|
|
16010
|
-
var
|
|
16011
|
-
return
|
|
16012
|
-
}, function (_ref2) {
|
|
16013
|
-
var gap = _ref2.gap;
|
|
16014
|
-
return "calc(100% + ".concat(gap * 2, "px + 5px)");
|
|
16050
|
+
var hasTooltip = _ref.hasTooltip;
|
|
16051
|
+
return hasTooltip ? "5px 0" : "5px";
|
|
16015
16052
|
});
|
|
16016
16053
|
var LengthCountStyles = styled__default["default"].div.withConfig({
|
|
16017
16054
|
displayName: "Styles__LengthCountStyles",
|
|
@@ -16022,6 +16059,7 @@
|
|
|
16022
16059
|
return props.size + "px";
|
|
16023
16060
|
});
|
|
16024
16061
|
|
|
16062
|
+
var _excluded$3 = ["limit", "size", "children", "hasTooltip"];
|
|
16025
16063
|
var AvatarGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16026
16064
|
var _Children$toArray;
|
|
16027
16065
|
var limit = _ref.limit,
|
|
@@ -16029,7 +16067,8 @@
|
|
|
16029
16067
|
size = _ref$size === void 0 ? 34 : _ref$size,
|
|
16030
16068
|
children = _ref.children,
|
|
16031
16069
|
_ref$hasTooltip = _ref.hasTooltip,
|
|
16032
|
-
hasTooltip = _ref$hasTooltip === void 0 ? false : _ref$hasTooltip
|
|
16070
|
+
hasTooltip = _ref$hasTooltip === void 0 ? false : _ref$hasTooltip,
|
|
16071
|
+
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
16033
16072
|
// always display counter with min +2 as +1 can takes space of an 1 more Avatar
|
|
16034
16073
|
var minChildren = React.Children.count(children) - limit > 1 ? false : true;
|
|
16035
16074
|
// gap between Avatars
|
|
@@ -16046,66 +16085,38 @@
|
|
|
16046
16085
|
props = _ref2.props;
|
|
16047
16086
|
return props.alt;
|
|
16048
16087
|
});
|
|
16049
|
-
|
|
16050
|
-
|
|
16051
|
-
|
|
16088
|
+
return /*#__PURE__*/React__default["default"].createElement(AvatarGroupsStyles, _extends({
|
|
16089
|
+
hasTooltip: hasTooltip,
|
|
16090
|
+
ref: ref
|
|
16091
|
+
}, rest), _children.map(function (child, index) {
|
|
16092
|
+
var item = child;
|
|
16052
16093
|
var tooltipText = item.props.alt;
|
|
16053
16094
|
var alt = "Image of ".concat(tooltipText);
|
|
16054
|
-
|
|
16055
|
-
|
|
16056
|
-
|
|
16057
|
-
|
|
16058
|
-
|
|
16059
|
-
alt: alt,
|
|
16060
|
-
style: {
|
|
16061
|
-
marginLeft: "-".concat(gap, "px"),
|
|
16062
|
-
outline: "1px solid var(--page-paper-main)"
|
|
16063
|
-
}
|
|
16064
|
-
})));
|
|
16065
|
-
}
|
|
16066
|
-
return /*#__PURE__*/React.cloneElement(item, _objectSpread2(_objectSpread2({}, item.props), {}, {
|
|
16095
|
+
return /*#__PURE__*/React__default["default"].createElement(Tooltip, {
|
|
16096
|
+
title: tooltipText ? tooltipText : "",
|
|
16097
|
+
disable: !hasTooltip,
|
|
16098
|
+
key: alt
|
|
16099
|
+
}, /*#__PURE__*/React.cloneElement(item, _objectSpread2(_objectSpread2({}, item.props), {}, {
|
|
16067
16100
|
size: size,
|
|
16068
16101
|
alt: alt,
|
|
16069
16102
|
style: {
|
|
16070
|
-
|
|
16103
|
+
// component preserves it's width
|
|
16104
|
+
marginLeft: "-".concat(index === 0 ? null : gap, "px"),
|
|
16071
16105
|
outline: "1px solid var(--page-paper-main)"
|
|
16072
16106
|
}
|
|
16073
|
-
}));
|
|
16074
|
-
}
|
|
16075
|
-
|
|
16076
|
-
|
|
16077
|
-
|
|
16078
|
-
|
|
16079
|
-
|
|
16080
|
-
|
|
16081
|
-
|
|
16082
|
-
|
|
16083
|
-
|
|
16084
|
-
|
|
16085
|
-
|
|
16086
|
-
}, /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
16087
|
-
variant: handleVariant,
|
|
16088
|
-
weight: "medium"
|
|
16089
|
-
}, "+", React.Children.count(children) - limit)));
|
|
16090
|
-
}
|
|
16091
|
-
return /*#__PURE__*/React__default["default"].createElement(_StyledLengthCountStyles2, {
|
|
16092
|
-
size: size,
|
|
16093
|
-
role: "status",
|
|
16094
|
-
"aria-label": "Rest of the users",
|
|
16095
|
-
$_css2: "-".concat(gap, "px")
|
|
16096
|
-
}, /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
16097
|
-
variant: handleVariant,
|
|
16098
|
-
weight: "medium"
|
|
16099
|
-
}, "+", React.Children.count(children) - limit));
|
|
16100
|
-
};
|
|
16101
|
-
return /*#__PURE__*/React__default["default"].createElement(AvatarGroupsStyles, {
|
|
16102
|
-
hasTooltip: hasTooltip,
|
|
16103
|
-
gap: gap,
|
|
16104
|
-
ref: ref
|
|
16105
|
-
}, _children.map(function (child) {
|
|
16106
|
-
var item = child;
|
|
16107
|
-
return renderAvatars(item);
|
|
16108
|
-
}), limit >= React.Children.count(children) || minChildren ? null : renderCounter());
|
|
16107
|
+
})));
|
|
16108
|
+
}), limit >= React.Children.count(children) || minChildren ? null : /*#__PURE__*/React__default["default"].createElement(_StyledTooltip, {
|
|
16109
|
+
title: nameArr.join(",\n"),
|
|
16110
|
+
disable: !hasTooltip
|
|
16111
|
+
}, /*#__PURE__*/React__default["default"].createElement(_StyledLengthCountStyles, {
|
|
16112
|
+
size: size,
|
|
16113
|
+
role: "status",
|
|
16114
|
+
"aria-label": "Rest of the users",
|
|
16115
|
+
$_css: "-".concat(gap, "px")
|
|
16116
|
+
}, /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
16117
|
+
variant: handleVariant,
|
|
16118
|
+
weight: "medium"
|
|
16119
|
+
}, "+", React.Children.count(children) - limit))));
|
|
16109
16120
|
});
|
|
16110
16121
|
AvatarGroup.displayName = "AvatarGroup";
|
|
16111
16122
|
var _StyledTooltip = styled__default["default"](Tooltip).withConfig({
|
|
@@ -16123,14 +16134,6 @@
|
|
|
16123
16134
|
marginLeft: p.$_css
|
|
16124
16135
|
};
|
|
16125
16136
|
});
|
|
16126
|
-
var _StyledLengthCountStyles2 = styled__default["default"](LengthCountStyles).withConfig({
|
|
16127
|
-
displayName: "AvatarGroup___StyledLengthCountStyles2",
|
|
16128
|
-
componentId: "sc-1rsx1j5-2"
|
|
16129
|
-
})(function (p) {
|
|
16130
|
-
return {
|
|
16131
|
-
marginLeft: p.$_css2
|
|
16132
|
-
};
|
|
16133
|
-
});
|
|
16134
16137
|
|
|
16135
16138
|
var StyledCommandPalette = styled__default["default"].div.withConfig({
|
|
16136
16139
|
displayName: "CommandPalettestyles__StyledCommandPalette",
|
|
@@ -16882,6 +16885,7 @@
|
|
|
16882
16885
|
exports.ProgressRing = ProgressRing;
|
|
16883
16886
|
exports.ProjectAddIcon = ProjectAddIcon$1;
|
|
16884
16887
|
exports.ProjectSearchIcon = ProjectSearchIcon$1;
|
|
16888
|
+
exports.ProjectStarIcon = ProjectStarIcon$1;
|
|
16885
16889
|
exports.ProjectTemplateAddIcon = ProjectTemplateAddIcon$1;
|
|
16886
16890
|
exports.ProjectTemplateConvertIcon = ProjectTemplateConvertIcon$1;
|
|
16887
16891
|
exports.ProjectTemplateIcon = ProjectTemplateIcon$1;
|