@activecollab/components 1.0.314 → 1.0.316
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/Avatar/Avatar.js +28 -3
- package/dist/cjs/components/Avatar/Avatar.js.map +1 -1
- package/dist/cjs/components/Avatar/Styles.js +2 -6
- package/dist/cjs/components/Avatar/Styles.js.map +1 -1
- package/dist/cjs/components/EmptySlate/EmptySlate.js +36 -0
- package/dist/cjs/components/EmptySlate/EmptySlate.js.map +1 -0
- package/dist/cjs/components/EmptySlate/EmptySlate.styles.js +36 -0
- package/dist/cjs/components/EmptySlate/EmptySlate.styles.js.map +1 -0
- package/dist/cjs/components/EmptySlate/EmptySlateFooter.js +20 -0
- package/dist/cjs/components/EmptySlate/EmptySlateFooter.js.map +1 -0
- package/dist/cjs/components/EmptySlate/index.js +17 -0
- package/dist/cjs/components/EmptySlate/index.js.map +1 -0
- package/dist/cjs/components/index.js +11 -0
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/esm/components/Avatar/Avatar.js +22 -4
- package/dist/esm/components/Avatar/Avatar.js.map +1 -1
- package/dist/esm/components/Avatar/Styles.d.ts +1 -2
- package/dist/esm/components/Avatar/Styles.d.ts.map +1 -1
- package/dist/esm/components/Avatar/Styles.js +2 -6
- package/dist/esm/components/Avatar/Styles.js.map +1 -1
- package/dist/esm/components/EmptySlate/EmptySlate.d.ts +19 -0
- package/dist/esm/components/EmptySlate/EmptySlate.d.ts.map +1 -0
- package/dist/esm/components/EmptySlate/EmptySlate.js +27 -0
- package/dist/esm/components/EmptySlate/EmptySlate.js.map +1 -0
- package/dist/esm/components/EmptySlate/EmptySlate.styles.d.ts +10 -0
- package/dist/esm/components/EmptySlate/EmptySlate.styles.d.ts.map +1 -0
- package/dist/esm/components/EmptySlate/EmptySlate.styles.js +24 -0
- package/dist/esm/components/EmptySlate/EmptySlate.styles.js.map +1 -0
- package/dist/esm/components/EmptySlate/EmptySlateFooter.d.ts +11 -0
- package/dist/esm/components/EmptySlate/EmptySlateFooter.d.ts.map +1 -0
- package/dist/esm/components/EmptySlate/EmptySlateFooter.js +14 -0
- package/dist/esm/components/EmptySlate/EmptySlateFooter.js.map +1 -0
- package/dist/esm/components/EmptySlate/index.d.ts +2 -0
- package/dist/esm/components/EmptySlate/index.d.ts.map +1 -0
- package/dist/esm/components/EmptySlate/index.js +2 -0
- package/dist/esm/components/EmptySlate/index.js.map +1 -0
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/index.js +240 -171
- 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$1i = ["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$1i);
|
|
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$1h = ["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$1h);
|
|
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$1g = ["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$1g);
|
|
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$1f = ["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$1f);
|
|
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$1e = ["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$1e);
|
|
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$1d = ["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$1d);
|
|
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$1c = ["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$1c);
|
|
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$1b = ["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$1b);
|
|
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$1a = ["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$1a);
|
|
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$19 = ["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$19);
|
|
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$18 = ["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$18);
|
|
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$17 = ["className"];
|
|
1152
1152
|
var ListSeparator = function ListSeparator(_ref) {
|
|
1153
1153
|
var className = _ref.className,
|
|
1154
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1154
|
+
props = _objectWithoutProperties(_ref, _excluded$17);
|
|
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$16 = ["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$16);
|
|
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$15 = ["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$15);
|
|
1222
1222
|
return /*#__PURE__*/React__default["default"].createElement(StyledIconButton, _extends({
|
|
1223
1223
|
className: className,
|
|
1224
1224
|
variant: variant,
|
|
@@ -7350,14 +7350,14 @@
|
|
|
7350
7350
|
});
|
|
7351
7351
|
StyledBreadcrumbListItem.displayName = "StyledBreadcrumbListItem";
|
|
7352
7352
|
|
|
7353
|
-
var _excluded$
|
|
7353
|
+
var _excluded$14 = ["children", "className", "separator"];
|
|
7354
7354
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7355
7355
|
var _dimensions$width, _childDimensions$widt;
|
|
7356
7356
|
var children = _ref.children,
|
|
7357
7357
|
className = _ref.className,
|
|
7358
7358
|
_ref$separator = _ref.separator,
|
|
7359
7359
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
7360
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7360
|
+
rest = _objectWithoutProperties(_ref, _excluded$14);
|
|
7361
7361
|
var internalRef = React.useRef(null);
|
|
7362
7362
|
var listWrapperRef = React.useRef(null);
|
|
7363
7363
|
var olRef = React.useRef(null);
|
|
@@ -7524,10 +7524,10 @@
|
|
|
7524
7524
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
7525
7525
|
});
|
|
7526
7526
|
|
|
7527
|
-
var _excluded$
|
|
7527
|
+
var _excluded$13 = ["children"];
|
|
7528
7528
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
7529
7529
|
var children = _ref.children,
|
|
7530
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7530
|
+
props = _objectWithoutProperties(_ref, _excluded$13);
|
|
7531
7531
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
7532
7532
|
timeout: 0
|
|
7533
7533
|
}, props), children);
|
|
@@ -7602,12 +7602,12 @@
|
|
|
7602
7602
|
});
|
|
7603
7603
|
Tooltip.displayName = "Tooltip";
|
|
7604
7604
|
|
|
7605
|
-
var _excluded$
|
|
7605
|
+
var _excluded$12 = ["weight", "children"];
|
|
7606
7606
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7607
7607
|
var _ref$weight = _ref.weight,
|
|
7608
7608
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
7609
7609
|
children = _ref.children,
|
|
7610
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7610
|
+
props = _objectWithoutProperties(_ref, _excluded$12);
|
|
7611
7611
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
7612
7612
|
variant: "Body 2",
|
|
7613
7613
|
weight: weight,
|
|
@@ -7654,7 +7654,7 @@
|
|
|
7654
7654
|
});
|
|
7655
7655
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
7656
7656
|
|
|
7657
|
-
var _excluded
|
|
7657
|
+
var _excluded$11 = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
|
|
7658
7658
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7659
7659
|
var label = _ref.label,
|
|
7660
7660
|
icon = _ref.icon,
|
|
@@ -7664,7 +7664,7 @@
|
|
|
7664
7664
|
tooltipText = _ref.tooltipText,
|
|
7665
7665
|
onClearAll = _ref.onClearAll,
|
|
7666
7666
|
className = _ref.className,
|
|
7667
|
-
args = _objectWithoutProperties(_ref, _excluded
|
|
7667
|
+
args = _objectWithoutProperties(_ref, _excluded$11);
|
|
7668
7668
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
7669
7669
|
ref: ref,
|
|
7670
7670
|
className: className
|
|
@@ -7973,7 +7973,7 @@
|
|
|
7973
7973
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
7974
7974
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
7975
7975
|
|
|
7976
|
-
var _excluded$
|
|
7976
|
+
var _excluded$10 = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
7977
7977
|
var DatePicker = function DatePicker(_ref) {
|
|
7978
7978
|
var className = _ref.className,
|
|
7979
7979
|
onChange = _ref.onChange,
|
|
@@ -7995,7 +7995,7 @@
|
|
|
7995
7995
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
7996
7996
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
7997
7997
|
defaultModifiers = _ref.modifiers,
|
|
7998
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7998
|
+
rest = _objectWithoutProperties(_ref, _excluded$10);
|
|
7999
7999
|
var _useState = React.useState(),
|
|
8000
8000
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8001
8001
|
enteredTo = _useState2[0],
|
|
@@ -8887,10 +8887,10 @@
|
|
|
8887
8887
|
componentId: "sc-x4ge7a-0"
|
|
8888
8888
|
})(["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);
|
|
8889
8889
|
|
|
8890
|
-
var _excluded
|
|
8890
|
+
var _excluded$$ = ["className"];
|
|
8891
8891
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8892
8892
|
var className = _ref.className,
|
|
8893
|
-
rest = _objectWithoutProperties(_ref, _excluded
|
|
8893
|
+
rest = _objectWithoutProperties(_ref, _excluded$$);
|
|
8894
8894
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
8895
8895
|
ref: ref,
|
|
8896
8896
|
className: classNames__default["default"]("c-loader c-loader--linear", className)
|
|
@@ -8904,10 +8904,10 @@
|
|
|
8904
8904
|
componentId: "sc-1f35d5h-0"
|
|
8905
8905
|
})(["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);
|
|
8906
8906
|
|
|
8907
|
-
var _excluded$
|
|
8907
|
+
var _excluded$_ = ["className"];
|
|
8908
8908
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8909
8909
|
var className = _ref.className,
|
|
8910
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8910
|
+
rest = _objectWithoutProperties(_ref, _excluded$_);
|
|
8911
8911
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
8912
8912
|
ref: ref,
|
|
8913
8913
|
className: classNames__default["default"]("c-loader c-loader--dots", className)
|
|
@@ -8929,7 +8929,7 @@
|
|
|
8929
8929
|
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);
|
|
8930
8930
|
});
|
|
8931
8931
|
|
|
8932
|
-
var _excluded$
|
|
8932
|
+
var _excluded$Z = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
8933
8933
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8934
8934
|
var _ref$radius = _ref.radius,
|
|
8935
8935
|
radius = _ref$radius === void 0 ? 10 : _ref$radius,
|
|
@@ -8944,7 +8944,7 @@
|
|
|
8944
8944
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
8945
8945
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
8946
8946
|
className = _ref.className,
|
|
8947
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8947
|
+
rest = _objectWithoutProperties(_ref, _excluded$Z);
|
|
8948
8948
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader$1, _extends({
|
|
8949
8949
|
ref: ref,
|
|
8950
8950
|
className: className,
|
|
@@ -8958,7 +8958,7 @@
|
|
|
8958
8958
|
});
|
|
8959
8959
|
SpinnerLoader.displayName = "SpinnerLoader";
|
|
8960
8960
|
|
|
8961
|
-
var _excluded$
|
|
8961
|
+
var _excluded$Y = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
|
|
8962
8962
|
exports.SortDirection = void 0;
|
|
8963
8963
|
(function (SortDirection) {
|
|
8964
8964
|
SortDirection["None"] = "none";
|
|
@@ -9006,7 +9006,7 @@
|
|
|
9006
9006
|
loading = _ref.loading,
|
|
9007
9007
|
_ref$loadingRows = _ref.loadingRows,
|
|
9008
9008
|
loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
|
|
9009
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9009
|
+
args = _objectWithoutProperties(_ref, _excluded$Y);
|
|
9010
9010
|
var _useState = React.useState(sortDirection),
|
|
9011
9011
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9012
9012
|
columnDirection = _useState2[0],
|
|
@@ -9408,7 +9408,7 @@
|
|
|
9408
9408
|
});
|
|
9409
9409
|
StyledPaper.displayName = "StyledPaper";
|
|
9410
9410
|
|
|
9411
|
-
var _excluded$
|
|
9411
|
+
var _excluded$X = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
9412
9412
|
/**
|
|
9413
9413
|
* This is a component description and should sit directly above your component
|
|
9414
9414
|
*/
|
|
@@ -9421,7 +9421,7 @@
|
|
|
9421
9421
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
9422
9422
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
9423
9423
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
9424
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9424
|
+
rest = _objectWithoutProperties(_ref, _excluded$X);
|
|
9425
9425
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
9426
9426
|
className: classNames__default["default"](className, {
|
|
9427
9427
|
"ac-shadow--raised--lg": !useOptimizedShadow && hover && type === "paper-1",
|
|
@@ -9474,7 +9474,7 @@
|
|
|
9474
9474
|
});
|
|
9475
9475
|
StyledCard.displayName = "StyledCard";
|
|
9476
9476
|
|
|
9477
|
-
var _excluded$
|
|
9477
|
+
var _excluded$W = ["children", "className", "hoverable", "paperType"];
|
|
9478
9478
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9479
9479
|
var children = _ref.children,
|
|
9480
9480
|
className = _ref.className,
|
|
@@ -9482,7 +9482,7 @@
|
|
|
9482
9482
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
9483
9483
|
_ref$paperType = _ref.paperType,
|
|
9484
9484
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
9485
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9485
|
+
rest = _objectWithoutProperties(_ref, _excluded$W);
|
|
9486
9486
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
9487
9487
|
type: paperType,
|
|
9488
9488
|
className: classNames__default["default"]("c-card", className),
|
|
@@ -9561,12 +9561,12 @@
|
|
|
9561
9561
|
});
|
|
9562
9562
|
EntityCard$1.displayName = "EntityCard";
|
|
9563
9563
|
|
|
9564
|
-
var _excluded$
|
|
9564
|
+
var _excluded$V = ["weight", "children"];
|
|
9565
9565
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9566
9566
|
var _ref$weight = _ref.weight,
|
|
9567
9567
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
9568
9568
|
children = _ref.children,
|
|
9569
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9569
|
+
props = _objectWithoutProperties(_ref, _excluded$V);
|
|
9570
9570
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9571
9571
|
weight: weight,
|
|
9572
9572
|
variant: "Title 1",
|
|
@@ -9575,12 +9575,12 @@
|
|
|
9575
9575
|
});
|
|
9576
9576
|
Title1.displayName = "Title1";
|
|
9577
9577
|
|
|
9578
|
-
var _excluded$
|
|
9578
|
+
var _excluded$U = ["weight", "children"];
|
|
9579
9579
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9580
9580
|
var _ref$weight = _ref.weight,
|
|
9581
9581
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
9582
9582
|
children = _ref.children,
|
|
9583
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9583
|
+
props = _objectWithoutProperties(_ref, _excluded$U);
|
|
9584
9584
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9585
9585
|
weight: weight,
|
|
9586
9586
|
variant: "Title 2",
|
|
@@ -9589,10 +9589,10 @@
|
|
|
9589
9589
|
});
|
|
9590
9590
|
Title2.displayName = "Title2";
|
|
9591
9591
|
|
|
9592
|
-
var _excluded$
|
|
9592
|
+
var _excluded$T = ["children"];
|
|
9593
9593
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9594
9594
|
var children = _ref.children,
|
|
9595
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9595
|
+
props = _objectWithoutProperties(_ref, _excluded$T);
|
|
9596
9596
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9597
9597
|
weight: "bold",
|
|
9598
9598
|
variant: "Header 2",
|
|
@@ -9601,10 +9601,10 @@
|
|
|
9601
9601
|
});
|
|
9602
9602
|
Header2.displayName = "Header2";
|
|
9603
9603
|
|
|
9604
|
-
var _excluded$
|
|
9604
|
+
var _excluded$S = ["children"];
|
|
9605
9605
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9606
9606
|
var children = _ref.children,
|
|
9607
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9607
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
9608
9608
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9609
9609
|
weight: "bold",
|
|
9610
9610
|
variant: "Header 3",
|
|
@@ -9613,12 +9613,12 @@
|
|
|
9613
9613
|
});
|
|
9614
9614
|
Header3.displayName = "Header3";
|
|
9615
9615
|
|
|
9616
|
-
var _excluded$
|
|
9616
|
+
var _excluded$R = ["weight", "children"];
|
|
9617
9617
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9618
9618
|
var _ref$weight = _ref.weight,
|
|
9619
9619
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9620
9620
|
children = _ref.children,
|
|
9621
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9621
|
+
props = _objectWithoutProperties(_ref, _excluded$R);
|
|
9622
9622
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9623
9623
|
variant: "Body 1",
|
|
9624
9624
|
weight: weight,
|
|
@@ -9627,12 +9627,12 @@
|
|
|
9627
9627
|
});
|
|
9628
9628
|
Body1.displayName = "Body1";
|
|
9629
9629
|
|
|
9630
|
-
var _excluded$
|
|
9630
|
+
var _excluded$Q = ["weight", "children"];
|
|
9631
9631
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9632
9632
|
var _ref$weight = _ref.weight,
|
|
9633
9633
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9634
9634
|
children = _ref.children,
|
|
9635
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9635
|
+
props = _objectWithoutProperties(_ref, _excluded$Q);
|
|
9636
9636
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9637
9637
|
variant: "Caption 1",
|
|
9638
9638
|
weight: weight,
|
|
@@ -9641,12 +9641,12 @@
|
|
|
9641
9641
|
});
|
|
9642
9642
|
Caption1.displayName = "Caption1";
|
|
9643
9643
|
|
|
9644
|
-
var _excluded$
|
|
9644
|
+
var _excluded$P = ["weight", "children"];
|
|
9645
9645
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9646
9646
|
var _ref$weight = _ref.weight,
|
|
9647
9647
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9648
9648
|
children = _ref.children,
|
|
9649
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9649
|
+
props = _objectWithoutProperties(_ref, _excluded$P);
|
|
9650
9650
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9651
9651
|
variant: "Caption 2",
|
|
9652
9652
|
weight: weight,
|
|
@@ -9752,17 +9752,13 @@
|
|
|
9752
9752
|
var StyledWrapper = styled__default["default"].span.withConfig({
|
|
9753
9753
|
displayName: "Styles__StyledWrapper",
|
|
9754
9754
|
componentId: "sc-5x2tyd-0"
|
|
9755
|
-
})(["display:inline-flex;
|
|
9755
|
+
})(["display:inline-flex;border-radius:100%;position:relative;"]);
|
|
9756
9756
|
var StyledAvatar = styled__default["default"].img.withConfig({
|
|
9757
9757
|
displayName: "Styles__StyledAvatar",
|
|
9758
9758
|
componentId: "sc-5x2tyd-1"
|
|
9759
|
-
})(["border-radius:100%;object-fit:cover;
|
|
9760
|
-
return props.size + "px";
|
|
9761
|
-
}, function (props) {
|
|
9762
|
-
return props.size + "px";
|
|
9763
|
-
});
|
|
9759
|
+
})(["border-radius:100%;object-fit:cover;"]);
|
|
9764
9760
|
|
|
9765
|
-
var _excluded$
|
|
9761
|
+
var _excluded$O = ["url", "alt", "size", "className", "imgClassName", "children"];
|
|
9766
9762
|
/**
|
|
9767
9763
|
* @component Avatar
|
|
9768
9764
|
* @description
|
|
@@ -9797,17 +9793,35 @@
|
|
|
9797
9793
|
className = _ref.className,
|
|
9798
9794
|
imgClassName = _ref.imgClassName,
|
|
9799
9795
|
children = _ref.children,
|
|
9800
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9796
|
+
rest = _objectWithoutProperties(_ref, _excluded$O);
|
|
9797
|
+
var _useState = React.useState(false),
|
|
9798
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
9799
|
+
imageLoaded = _useState2[0],
|
|
9800
|
+
setImageLoaded = _useState2[1];
|
|
9801
9801
|
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
9802
9802
|
className: className
|
|
9803
9803
|
}, children, /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({
|
|
9804
|
-
size: size,
|
|
9805
9804
|
ref: ref,
|
|
9806
9805
|
src: url,
|
|
9807
9806
|
alt: alt,
|
|
9807
|
+
width: size,
|
|
9808
|
+
height: size,
|
|
9809
|
+
onLoad: function onLoad() {
|
|
9810
|
+
setImageLoaded(true);
|
|
9811
|
+
},
|
|
9808
9812
|
role: "img",
|
|
9809
|
-
className: imgClassName
|
|
9810
|
-
|
|
9813
|
+
className: imgClassName,
|
|
9814
|
+
style: {
|
|
9815
|
+
display: imageLoaded ? "block" : "none"
|
|
9816
|
+
}
|
|
9817
|
+
}, rest)), !imageLoaded && /*#__PURE__*/React__default["default"].createElement(LinearLoader, {
|
|
9818
|
+
"data-testid": "loader",
|
|
9819
|
+
style: {
|
|
9820
|
+
width: size,
|
|
9821
|
+
height: size,
|
|
9822
|
+
borderRadius: "100%"
|
|
9823
|
+
}
|
|
9824
|
+
}));
|
|
9811
9825
|
});
|
|
9812
9826
|
Avatar.displayName = "Avatar";
|
|
9813
9827
|
|
|
@@ -9820,13 +9834,13 @@
|
|
|
9820
9834
|
return props.$color && styled.css(["background-color:", ";"], props.$color);
|
|
9821
9835
|
});
|
|
9822
9836
|
|
|
9823
|
-
var _excluded$
|
|
9837
|
+
var _excluded$N = ["color", "size", "className"];
|
|
9824
9838
|
var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9825
9839
|
var color = _ref.color,
|
|
9826
9840
|
_ref$size = _ref.size,
|
|
9827
9841
|
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
9828
9842
|
className = _ref.className,
|
|
9829
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9843
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
9830
9844
|
return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
|
|
9831
9845
|
className: classNames__default["default"]("c-dot", className),
|
|
9832
9846
|
ref: ref,
|
|
@@ -9863,7 +9877,7 @@
|
|
|
9863
9877
|
});
|
|
9864
9878
|
StyledTagText.displayName = "StyledTagText";
|
|
9865
9879
|
|
|
9866
|
-
var _excluded$
|
|
9880
|
+
var _excluded$M = ["name", "color", "showText", "showDot", "className"];
|
|
9867
9881
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9868
9882
|
var name = _ref.name,
|
|
9869
9883
|
color = _ref.color,
|
|
@@ -9872,7 +9886,7 @@
|
|
|
9872
9886
|
_ref$showDot = _ref.showDot,
|
|
9873
9887
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
9874
9888
|
className = _ref.className,
|
|
9875
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9889
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
9876
9890
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
9877
9891
|
className: classNames__default["default"]("c-tag", className),
|
|
9878
9892
|
ref: ref
|
|
@@ -9992,7 +10006,7 @@
|
|
|
9992
10006
|
}, StyledInput$3, StyledLabel);
|
|
9993
10007
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
9994
10008
|
|
|
9995
|
-
var _excluded$
|
|
10009
|
+
var _excluded$L = ["className", "hover", "id"];
|
|
9996
10010
|
/**
|
|
9997
10011
|
* Checkbox component
|
|
9998
10012
|
*/
|
|
@@ -10001,7 +10015,7 @@
|
|
|
10001
10015
|
hover = _ref.hover,
|
|
10002
10016
|
_ref$id = _ref.id,
|
|
10003
10017
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
10004
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10018
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
10005
10019
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
|
|
10006
10020
|
className: classNames__default["default"]("c-checkbox", {
|
|
10007
10021
|
"c-checkbox__hover": hover,
|
|
@@ -10195,7 +10209,7 @@
|
|
|
10195
10209
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
10196
10210
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
10197
10211
|
|
|
10198
|
-
var _excluded$
|
|
10212
|
+
var _excluded$K = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
10199
10213
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10200
10214
|
var children = _ref.children,
|
|
10201
10215
|
className = _ref.className,
|
|
@@ -10209,7 +10223,7 @@
|
|
|
10209
10223
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
10210
10224
|
innerColor = _ref.innerColor,
|
|
10211
10225
|
outerColor = _ref.outerColor,
|
|
10212
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10226
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
10213
10227
|
var _useState = React.useState({
|
|
10214
10228
|
top: 0,
|
|
10215
10229
|
right: 0,
|
|
@@ -10329,7 +10343,7 @@
|
|
|
10329
10343
|
return height;
|
|
10330
10344
|
};
|
|
10331
10345
|
|
|
10332
|
-
var _excluded$
|
|
10346
|
+
var _excluded$J = ["as", "className", "invert", "style"];
|
|
10333
10347
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10334
10348
|
var _ref$as = _ref.as,
|
|
10335
10349
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -10337,7 +10351,7 @@
|
|
|
10337
10351
|
_ref$invert = _ref.invert,
|
|
10338
10352
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
10339
10353
|
style = _ref.style,
|
|
10340
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10354
|
+
rest = _objectWithoutProperties(_ref, _excluded$J);
|
|
10341
10355
|
var internalRef = useInitScrollRef(null, invert);
|
|
10342
10356
|
var handleRef = useForkRef(internalRef, ref);
|
|
10343
10357
|
var props = _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
@@ -10819,7 +10833,7 @@
|
|
|
10819
10833
|
});
|
|
10820
10834
|
StyledInput$2.displayName = "StyledInput";
|
|
10821
10835
|
|
|
10822
|
-
var _excluded$
|
|
10836
|
+
var _excluded$I = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef"];
|
|
10823
10837
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
10824
10838
|
var _ref$className = _ref.className,
|
|
10825
10839
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -10835,7 +10849,7 @@
|
|
|
10835
10849
|
startAdornment = _ref.startAdornment,
|
|
10836
10850
|
endAdornment = _ref.endAdornment,
|
|
10837
10851
|
wrapRef = _ref.wrapRef,
|
|
10838
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10852
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
10839
10853
|
var intInputRef = React.useRef(null);
|
|
10840
10854
|
var handleRef = useForkRef(ref, intInputRef);
|
|
10841
10855
|
var handleWrapperClick = React.useCallback(function () {
|
|
@@ -10888,14 +10902,14 @@
|
|
|
10888
10902
|
}, StyledRadioLabel);
|
|
10889
10903
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
10890
10904
|
|
|
10891
|
-
var _excluded$
|
|
10905
|
+
var _excluded$H = ["className", "id", "hover"];
|
|
10892
10906
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10893
10907
|
var _ref$className = _ref.className,
|
|
10894
10908
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
10895
10909
|
_ref$id = _ref.id,
|
|
10896
10910
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
10897
10911
|
hover = _ref.hover,
|
|
10898
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10912
|
+
props = _objectWithoutProperties(_ref, _excluded$H);
|
|
10899
10913
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
10900
10914
|
className: classNames__default["default"]("c-radio-btn", {
|
|
10901
10915
|
"c-radio-btn__hover": hover,
|
|
@@ -11103,7 +11117,7 @@
|
|
|
11103
11117
|
};
|
|
11104
11118
|
OptionContent.displayName = "OptionContent";
|
|
11105
11119
|
|
|
11106
|
-
var _excluded$
|
|
11120
|
+
var _excluded$G = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue"];
|
|
11107
11121
|
var Select = function Select(_ref) {
|
|
11108
11122
|
var _ref$type = _ref.type,
|
|
11109
11123
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -11137,7 +11151,7 @@
|
|
|
11137
11151
|
handleDefaultOptionChange = _ref.handleDefaultOptionChange,
|
|
11138
11152
|
_ref$preselectDefault = _ref.preselectDefaultValue,
|
|
11139
11153
|
preselectDefaultValue = _ref$preselectDefault === void 0 ? type === "single" : _ref$preselectDefault,
|
|
11140
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
11154
|
+
prop = _objectWithoutProperties(_ref, _excluded$G);
|
|
11141
11155
|
var childNode = React.useRef();
|
|
11142
11156
|
var elementRef = React.useRef(null);
|
|
11143
11157
|
var handleRef = useForkRef(childNode, elementRef);
|
|
@@ -11383,7 +11397,7 @@
|
|
|
11383
11397
|
});
|
|
11384
11398
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
11385
11399
|
|
|
11386
|
-
var _excluded$
|
|
11400
|
+
var _excluded$F = ["children", "active", "disabled", "className", "role"];
|
|
11387
11401
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
11388
11402
|
var children = _ref.children,
|
|
11389
11403
|
_ref$active = _ref.active,
|
|
@@ -11392,7 +11406,7 @@
|
|
|
11392
11406
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11393
11407
|
className = _ref.className,
|
|
11394
11408
|
role = _ref.role,
|
|
11395
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11409
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
11396
11410
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
11397
11411
|
className: classNames__default["default"]("c-nav__item", {
|
|
11398
11412
|
"c-nav__item--active": active
|
|
@@ -11433,11 +11447,11 @@
|
|
|
11433
11447
|
});
|
|
11434
11448
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
11435
11449
|
|
|
11436
|
-
var _excluded$
|
|
11450
|
+
var _excluded$E = ["expanded"];
|
|
11437
11451
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11438
11452
|
var _ref$expanded = _ref.expanded,
|
|
11439
11453
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
11440
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11454
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
11441
11455
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
11442
11456
|
ref: ref,
|
|
11443
11457
|
viewBox: "0 0 24 24",
|
|
@@ -11727,7 +11741,7 @@
|
|
|
11727
11741
|
};
|
|
11728
11742
|
Nav.displayName = "Nav";
|
|
11729
11743
|
|
|
11730
|
-
var _excluded$
|
|
11744
|
+
var _excluded$D = ["children", "as", "disablePointerEvents"];
|
|
11731
11745
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
11732
11746
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
11733
11747
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -11744,7 +11758,7 @@
|
|
|
11744
11758
|
var children = _ref.children,
|
|
11745
11759
|
as = _ref.as,
|
|
11746
11760
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
11747
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11761
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
11748
11762
|
var Component = as || "div";
|
|
11749
11763
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
11750
11764
|
as: Component,
|
|
@@ -11754,11 +11768,11 @@
|
|
|
11754
11768
|
});
|
|
11755
11769
|
InputAdornment.displayName = "InputAdornment";
|
|
11756
11770
|
|
|
11757
|
-
var _excluded$
|
|
11771
|
+
var _excluded$C = ["expanded"];
|
|
11758
11772
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11759
11773
|
var _ref$expanded = _ref.expanded,
|
|
11760
11774
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
11761
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11775
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
11762
11776
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
11763
11777
|
ref: ref,
|
|
11764
11778
|
viewBox: "0 0 24 24"
|
|
@@ -11876,14 +11890,14 @@
|
|
|
11876
11890
|
});
|
|
11877
11891
|
StyledTextarea.displayName = "StyledTextarea";
|
|
11878
11892
|
|
|
11879
|
-
var _excluded$
|
|
11893
|
+
var _excluded$B = ["className", "disabled", "invalid"];
|
|
11880
11894
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11881
11895
|
var className = _ref.className,
|
|
11882
11896
|
_ref$disabled = _ref.disabled,
|
|
11883
11897
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11884
11898
|
_ref$invalid = _ref.invalid,
|
|
11885
11899
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
11886
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11900
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
11887
11901
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
11888
11902
|
$invalid: invalid,
|
|
11889
11903
|
ref: ref,
|
|
@@ -11915,7 +11929,7 @@
|
|
|
11915
11929
|
function () {});
|
|
11916
11930
|
}
|
|
11917
11931
|
|
|
11918
|
-
var _excluded$
|
|
11932
|
+
var _excluded$A = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "disableCloseOnEsc", "open", "onClose"];
|
|
11919
11933
|
var getHasTransition = function getHasTransition(children) {
|
|
11920
11934
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
11921
11935
|
};
|
|
@@ -11934,7 +11948,7 @@
|
|
|
11934
11948
|
_ref$open = _ref.open,
|
|
11935
11949
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
11936
11950
|
onClose = _ref.onClose,
|
|
11937
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11951
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
11938
11952
|
var _useState = React.useState(defaultOpen),
|
|
11939
11953
|
_useState2 = _slicedToArray(_useState, 2),
|
|
11940
11954
|
open = _useState2[0],
|
|
@@ -12072,7 +12086,7 @@
|
|
|
12072
12086
|
});
|
|
12073
12087
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
12074
12088
|
|
|
12075
|
-
var _excluded$
|
|
12089
|
+
var _excluded$z = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
12076
12090
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12077
12091
|
var children = _ref.children,
|
|
12078
12092
|
onClose = _ref.onClose,
|
|
@@ -12096,7 +12110,7 @@
|
|
|
12096
12110
|
bodyClassName = _ref.bodyClassName,
|
|
12097
12111
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
12098
12112
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
12099
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12113
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
12100
12114
|
var _useState = React.useState(defaultOpen),
|
|
12101
12115
|
_useState2 = _slicedToArray(_useState, 2),
|
|
12102
12116
|
open = _useState2[0],
|
|
@@ -12189,13 +12203,13 @@
|
|
|
12189
12203
|
});
|
|
12190
12204
|
StyledHeader.displayName = "StyledHeader";
|
|
12191
12205
|
|
|
12192
|
-
var _excluded$
|
|
12206
|
+
var _excluded$y = ["className", "size", "children"];
|
|
12193
12207
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12194
12208
|
var className = _ref.className,
|
|
12195
12209
|
_ref$size = _ref.size,
|
|
12196
12210
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
12197
12211
|
children = _ref.children,
|
|
12198
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12212
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
12199
12213
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
12200
12214
|
type: "paper-2",
|
|
12201
12215
|
className: classNames__default["default"]("c-header", className),
|
|
@@ -12211,7 +12225,7 @@
|
|
|
12211
12225
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
12212
12226
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
12213
12227
|
|
|
12214
|
-
var _excluded$
|
|
12228
|
+
var _excluded$x = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
12215
12229
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12216
12230
|
var _ref$minRows = _ref.minRows,
|
|
12217
12231
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -12227,7 +12241,7 @@
|
|
|
12227
12241
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
12228
12242
|
onKeyDown = _ref.onKeyDown,
|
|
12229
12243
|
value = _ref.value,
|
|
12230
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12244
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
12231
12245
|
var innerRef = React.useRef(null);
|
|
12232
12246
|
var _useState = React.useState(minRows),
|
|
12233
12247
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -12503,7 +12517,7 @@
|
|
|
12503
12517
|
});
|
|
12504
12518
|
StyledChoose.displayName = "StyledChoose";
|
|
12505
12519
|
|
|
12506
|
-
var _excluded$
|
|
12520
|
+
var _excluded$w = ["children", "disabled", "active", "className"];
|
|
12507
12521
|
/**
|
|
12508
12522
|
* Choose component
|
|
12509
12523
|
*/
|
|
@@ -12514,7 +12528,7 @@
|
|
|
12514
12528
|
_ref$active = _ref.active,
|
|
12515
12529
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
12516
12530
|
className = _ref.className,
|
|
12517
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12531
|
+
args = _objectWithoutProperties(_ref, _excluded$w);
|
|
12518
12532
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
12519
12533
|
disabled: disabled,
|
|
12520
12534
|
className: classNames__default["default"]("c-choose", className),
|
|
@@ -12610,21 +12624,21 @@
|
|
|
12610
12624
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
12611
12625
|
StyledLink.displayName = "StyledLink";
|
|
12612
12626
|
|
|
12613
|
-
var _excluded$
|
|
12627
|
+
var _excluded$v = ["children", "className"];
|
|
12614
12628
|
/**
|
|
12615
12629
|
* Back link component
|
|
12616
12630
|
*/
|
|
12617
12631
|
var BackLink = function BackLink(_ref) {
|
|
12618
12632
|
var children = _ref.children,
|
|
12619
12633
|
className = _ref.className,
|
|
12620
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12634
|
+
args = _objectWithoutProperties(_ref, _excluded$v);
|
|
12621
12635
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
12622
12636
|
className: classNames__default["default"]("c-back-link", className)
|
|
12623
12637
|
}, args), children);
|
|
12624
12638
|
};
|
|
12625
12639
|
BackLink.displayName = "BackLink";
|
|
12626
12640
|
|
|
12627
|
-
var _excluded$
|
|
12641
|
+
var _excluded$u = ["as", "children", "variant", "size", "disabled", "className"];
|
|
12628
12642
|
/**
|
|
12629
12643
|
* Link component
|
|
12630
12644
|
*/
|
|
@@ -12637,7 +12651,7 @@
|
|
|
12637
12651
|
_ref$disabled = _ref.disabled,
|
|
12638
12652
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
12639
12653
|
className = _ref.className,
|
|
12640
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12654
|
+
args = _objectWithoutProperties(_ref, _excluded$u);
|
|
12641
12655
|
var Component = as || "a";
|
|
12642
12656
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
12643
12657
|
ref: ref,
|
|
@@ -12748,7 +12762,7 @@
|
|
|
12748
12762
|
})(["padding:20px 30px;", " ", ""], FontStyle, BoxSizingStyle);
|
|
12749
12763
|
StyledDialogActions.displayName = "StyledDialogActions";
|
|
12750
12764
|
|
|
12751
|
-
var _excluded$
|
|
12765
|
+
var _excluded$t = ["in", "children", "style", "timeout"];
|
|
12752
12766
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
12753
12767
|
return {
|
|
12754
12768
|
transition: "all ".concat(duration, "ms ease-in-out"),
|
|
@@ -12776,7 +12790,7 @@
|
|
|
12776
12790
|
style = _ref.style,
|
|
12777
12791
|
_ref$timeout = _ref.timeout,
|
|
12778
12792
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
12779
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12793
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
12780
12794
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
12781
12795
|
appear: true,
|
|
12782
12796
|
in: inProp,
|
|
@@ -12791,7 +12805,7 @@
|
|
|
12791
12805
|
};
|
|
12792
12806
|
Fade.displayName = "Fade";
|
|
12793
12807
|
|
|
12794
|
-
var _excluded$
|
|
12808
|
+
var _excluded$s = ["in", "children", "style", "timeout", "initialDirection"];
|
|
12795
12809
|
var Slide = function Slide(_ref) {
|
|
12796
12810
|
var _ref$in = _ref.in,
|
|
12797
12811
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -12801,7 +12815,7 @@
|
|
|
12801
12815
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
12802
12816
|
_ref$initialDirection = _ref.initialDirection,
|
|
12803
12817
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
12804
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12818
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
12805
12819
|
var directionSign;
|
|
12806
12820
|
switch (initialDirection) {
|
|
12807
12821
|
case "right":
|
|
@@ -12854,12 +12868,12 @@
|
|
|
12854
12868
|
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;}"]);
|
|
12855
12869
|
});
|
|
12856
12870
|
|
|
12857
|
-
var _excluded$
|
|
12871
|
+
var _excluded$r = ["children", "direction"];
|
|
12858
12872
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
12859
12873
|
var children = _ref.children,
|
|
12860
12874
|
_ref$direction = _ref.direction,
|
|
12861
12875
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
12862
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
12876
|
+
props = _objectWithoutProperties(_ref, _excluded$r);
|
|
12863
12877
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
12864
12878
|
timeout: 200,
|
|
12865
12879
|
classNames: "c-slide",
|
|
@@ -12902,7 +12916,7 @@
|
|
|
12902
12916
|
};
|
|
12903
12917
|
ResizeTransition.displayName = "ResizeTransition";
|
|
12904
12918
|
|
|
12905
|
-
var _excluded$
|
|
12919
|
+
var _excluded$q = ["in", "children", "style", "timeout"];
|
|
12906
12920
|
var defaultStyle = function defaultStyle(duration) {
|
|
12907
12921
|
return {
|
|
12908
12922
|
transition: "all ".concat(duration, "ms ease-in"),
|
|
@@ -12936,7 +12950,7 @@
|
|
|
12936
12950
|
style = _ref.style,
|
|
12937
12951
|
_ref$timeout = _ref.timeout,
|
|
12938
12952
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
12939
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12953
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
12940
12954
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
12941
12955
|
appear: true,
|
|
12942
12956
|
in: inProp,
|
|
@@ -12986,13 +13000,13 @@
|
|
|
12986
13000
|
};
|
|
12987
13001
|
Scale.displayName = "Scale";
|
|
12988
13002
|
|
|
12989
|
-
var _excluded$
|
|
13003
|
+
var _excluded$p = ["className", "children"];
|
|
12990
13004
|
// import { useDialogContext } from "./DialogContext";
|
|
12991
13005
|
|
|
12992
13006
|
var DialogActions = function DialogActions(_ref) {
|
|
12993
13007
|
var className = _ref.className,
|
|
12994
13008
|
children = _ref.children,
|
|
12995
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13009
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
12996
13010
|
// useDialogContext();
|
|
12997
13011
|
|
|
12998
13012
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
@@ -13001,13 +13015,13 @@
|
|
|
13001
13015
|
};
|
|
13002
13016
|
DialogActions.displayName = "DialogActions";
|
|
13003
13017
|
|
|
13004
|
-
var _excluded$
|
|
13018
|
+
var _excluded$o = ["className", "children"];
|
|
13005
13019
|
// import { useDialogContext } from "./DialogContext";
|
|
13006
13020
|
|
|
13007
13021
|
var DialogContent = function DialogContent(_ref) {
|
|
13008
13022
|
var className = _ref.className,
|
|
13009
13023
|
children = _ref.children,
|
|
13010
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13024
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
13011
13025
|
// useDialogContext();
|
|
13012
13026
|
|
|
13013
13027
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
@@ -13028,7 +13042,7 @@
|
|
|
13028
13042
|
};
|
|
13029
13043
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
13030
13044
|
|
|
13031
|
-
var _excluded$
|
|
13045
|
+
var _excluded$n = ["children", "className", "disableDefaultHeading"];
|
|
13032
13046
|
// import { useDialogContext } from "./DialogContext";
|
|
13033
13047
|
|
|
13034
13048
|
var DialogTitle = function DialogTitle(_ref) {
|
|
@@ -13036,7 +13050,7 @@
|
|
|
13036
13050
|
className = _ref.className,
|
|
13037
13051
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
13038
13052
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
13039
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13053
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
13040
13054
|
// useDialogContext();
|
|
13041
13055
|
|
|
13042
13056
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
@@ -13304,7 +13318,7 @@
|
|
|
13304
13318
|
});
|
|
13305
13319
|
StyledPressed.displayName = "StyledPressed";
|
|
13306
13320
|
|
|
13307
|
-
var _excluded$
|
|
13321
|
+
var _excluded$m = ["children", "active", "className"];
|
|
13308
13322
|
/**
|
|
13309
13323
|
* Pressed wrapper for button component
|
|
13310
13324
|
* @deprecated
|
|
@@ -13314,7 +13328,7 @@
|
|
|
13314
13328
|
_ref$active = _ref.active,
|
|
13315
13329
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
13316
13330
|
className = _ref.className,
|
|
13317
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
13331
|
+
args = _objectWithoutProperties(_ref, _excluded$m);
|
|
13318
13332
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
13319
13333
|
active: active,
|
|
13320
13334
|
ref: ref,
|
|
@@ -13811,7 +13825,7 @@
|
|
|
13811
13825
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
13812
13826
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
13813
13827
|
|
|
13814
|
-
var _excluded$
|
|
13828
|
+
var _excluded$l = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
13815
13829
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13816
13830
|
var text = _ref.text,
|
|
13817
13831
|
type = _ref.type,
|
|
@@ -13822,7 +13836,7 @@
|
|
|
13822
13836
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
13823
13837
|
_ref$timeout = _ref.timeout,
|
|
13824
13838
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
13825
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13839
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
13826
13840
|
var handleOnClose = React.useCallback(function () {
|
|
13827
13841
|
if (typeof onClose === "function") {
|
|
13828
13842
|
onClose();
|
|
@@ -13870,7 +13884,7 @@
|
|
|
13870
13884
|
});
|
|
13871
13885
|
StyledValueButton.displayName = "StyledValueButton";
|
|
13872
13886
|
|
|
13873
|
-
var _excluded$
|
|
13887
|
+
var _excluded$k = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
13874
13888
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13875
13889
|
var _ref$active = _ref.active,
|
|
13876
13890
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -13879,7 +13893,7 @@
|
|
|
13879
13893
|
icon = _ref.icon,
|
|
13880
13894
|
label = _ref.label,
|
|
13881
13895
|
value = _ref.value,
|
|
13882
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
13896
|
+
args = _objectWithoutProperties(_ref, _excluded$k);
|
|
13883
13897
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
13884
13898
|
className: "c-value-button"
|
|
13885
13899
|
}, args, {
|
|
@@ -13908,12 +13922,12 @@
|
|
|
13908
13922
|
})(["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;}"]);
|
|
13909
13923
|
StyledButton.displayName = "StyledButton";
|
|
13910
13924
|
|
|
13911
|
-
var _excluded$
|
|
13925
|
+
var _excluded$j = ["children", "type"];
|
|
13912
13926
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13913
13927
|
var children = _ref.children,
|
|
13914
13928
|
_ref$type = _ref.type,
|
|
13915
13929
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
13916
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13930
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
13917
13931
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
13918
13932
|
ref: ref,
|
|
13919
13933
|
role: "button",
|
|
@@ -13959,7 +13973,7 @@
|
|
|
13959
13973
|
});
|
|
13960
13974
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
13961
13975
|
|
|
13962
|
-
var _excluded$
|
|
13976
|
+
var _excluded$i = ["children", "type", "size", "invalid", "open", "endAdornment"];
|
|
13963
13977
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13964
13978
|
var children = _ref.children,
|
|
13965
13979
|
_ref$type = _ref.type,
|
|
@@ -13971,7 +13985,7 @@
|
|
|
13971
13985
|
_ref$open = _ref.open,
|
|
13972
13986
|
open = _ref$open === void 0 ? false : _ref$open,
|
|
13973
13987
|
endAdornment = _ref.endAdornment,
|
|
13974
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13988
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
13975
13989
|
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
13976
13990
|
ref: ref,
|
|
13977
13991
|
role: "button",
|
|
@@ -14018,11 +14032,11 @@
|
|
|
14018
14032
|
});
|
|
14019
14033
|
StyledToggle.displayName = "StyledToggle";
|
|
14020
14034
|
|
|
14021
|
-
var _excluded$
|
|
14035
|
+
var _excluded$h = ["hovered", "className"];
|
|
14022
14036
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14023
14037
|
var hovered = _ref.hovered,
|
|
14024
14038
|
className = _ref.className,
|
|
14025
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
14039
|
+
args = _objectWithoutProperties(_ref, _excluded$h);
|
|
14026
14040
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
14027
14041
|
className: classNames__default["default"]("c-toggle", className),
|
|
14028
14042
|
$isHovered: hovered,
|
|
@@ -14175,7 +14189,7 @@
|
|
|
14175
14189
|
});
|
|
14176
14190
|
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
14177
14191
|
|
|
14178
|
-
var _excluded$
|
|
14192
|
+
var _excluded$g = ["leftAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "variant", "typographyProps"];
|
|
14179
14193
|
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
14180
14194
|
var leftAdornment = _ref.leftAdornment,
|
|
14181
14195
|
label = _ref.label,
|
|
@@ -14187,7 +14201,7 @@
|
|
|
14187
14201
|
closeClassName = _ref.closeClassName,
|
|
14188
14202
|
variant = _ref.variant,
|
|
14189
14203
|
typographyProps = _ref.typographyProps,
|
|
14190
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14204
|
+
rest = _objectWithoutProperties(_ref, _excluded$g);
|
|
14191
14205
|
var showClose = typeof onClose === "function";
|
|
14192
14206
|
var _variant = React.useMemo(function () {
|
|
14193
14207
|
if (typeof variant !== "undefined") {
|
|
@@ -14263,7 +14277,7 @@
|
|
|
14263
14277
|
return isFirst.current;
|
|
14264
14278
|
};
|
|
14265
14279
|
|
|
14266
|
-
var _excluded$
|
|
14280
|
+
var _excluded$f = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid", "type", "renderChip", "forceCloseMenu", "renderOption", "limitChips", "hiddenNumberText", "inPortal", "inputWrapperClassName", "scrollWrapper", "onClose", "onClear"];
|
|
14267
14281
|
var ComboBox = function ComboBox(_ref) {
|
|
14268
14282
|
var _comboBoxRef$current2, _comboBoxRef$current3;
|
|
14269
14283
|
var _ref$options = _ref.options,
|
|
@@ -14296,7 +14310,7 @@
|
|
|
14296
14310
|
scrollWrapper = _ref.scrollWrapper,
|
|
14297
14311
|
onClose = _ref.onClose,
|
|
14298
14312
|
onClear = _ref.onClear,
|
|
14299
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
14313
|
+
prop = _objectWithoutProperties(_ref, _excluded$f);
|
|
14300
14314
|
var selectedName = React.useMemo(function () {
|
|
14301
14315
|
var value = "";
|
|
14302
14316
|
if (!selected) {
|
|
@@ -14685,11 +14699,11 @@
|
|
|
14685
14699
|
})(["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);
|
|
14686
14700
|
StyledAddToListButton.displayName = "StyledAddToListButton";
|
|
14687
14701
|
|
|
14688
|
-
var _excluded$
|
|
14702
|
+
var _excluded$e = ["text", "className"];
|
|
14689
14703
|
var AddToListButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14690
14704
|
var text = _ref.text,
|
|
14691
14705
|
className = _ref.className,
|
|
14692
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14706
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
14693
14707
|
return /*#__PURE__*/React__default["default"].createElement(StyledAddToListButton, _extends({
|
|
14694
14708
|
ref: ref,
|
|
14695
14709
|
className: classNames__default["default"]("c--add-to-list-btn", className)
|
|
@@ -14872,11 +14886,11 @@
|
|
|
14872
14886
|
};
|
|
14873
14887
|
ProgressRing.displayName = "ProgressRing";
|
|
14874
14888
|
|
|
14875
|
-
var _excluded$
|
|
14889
|
+
var _excluded$d = ["radius"];
|
|
14876
14890
|
var ProgressPie = function ProgressPie(_ref) {
|
|
14877
14891
|
var _ref$radius = _ref.radius,
|
|
14878
14892
|
radius = _ref$radius === void 0 ? 20 : _ref$radius,
|
|
14879
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14893
|
+
rest = _objectWithoutProperties(_ref, _excluded$d);
|
|
14880
14894
|
return /*#__PURE__*/React__default["default"].createElement(ProgressRing, _extends({}, rest, {
|
|
14881
14895
|
stroke: radius,
|
|
14882
14896
|
radius: radius
|
|
@@ -15200,7 +15214,7 @@
|
|
|
15200
15214
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
15201
15215
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
15202
15216
|
|
|
15203
|
-
var _excluded$
|
|
15217
|
+
var _excluded$c = ["invalid", "required", "size", "children", "className", "weight"];
|
|
15204
15218
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15205
15219
|
var _ref$invalid = _ref.invalid,
|
|
15206
15220
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -15212,7 +15226,7 @@
|
|
|
15212
15226
|
className = _ref.className,
|
|
15213
15227
|
_ref$weight = _ref.weight,
|
|
15214
15228
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
15215
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15229
|
+
props = _objectWithoutProperties(_ref, _excluded$c);
|
|
15216
15230
|
var color = invalid ? "alert" : "primary";
|
|
15217
15231
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
15218
15232
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
@@ -15271,7 +15285,7 @@
|
|
|
15271
15285
|
});
|
|
15272
15286
|
StyledInput$1.displayName = "StyledInput";
|
|
15273
15287
|
|
|
15274
|
-
var _excluded$
|
|
15288
|
+
var _excluded$b = ["className", "variant", "weight", "disabled", "inputProps", "wrapRef"];
|
|
15275
15289
|
var EditableContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15276
15290
|
var className = _ref.className,
|
|
15277
15291
|
_ref$variant = _ref.variant,
|
|
@@ -15281,7 +15295,7 @@
|
|
|
15281
15295
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
15282
15296
|
inputProps = _ref.inputProps,
|
|
15283
15297
|
wrapRef = _ref.wrapRef,
|
|
15284
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15298
|
+
props = _objectWithoutProperties(_ref, _excluded$b);
|
|
15285
15299
|
var intInputRef = React.useRef(null);
|
|
15286
15300
|
var handleRef = useForkRef(ref, intInputRef);
|
|
15287
15301
|
var handleBlur = React.useCallback(function (evt) {
|
|
@@ -15311,13 +15325,13 @@
|
|
|
15311
15325
|
});
|
|
15312
15326
|
EditableContent.displayName = "EditableContent";
|
|
15313
15327
|
|
|
15314
|
-
var _excluded$
|
|
15328
|
+
var _excluded$a = ["onSave", "onCancel", "value", "inputProps"];
|
|
15315
15329
|
var EditableText = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15316
15330
|
var onSave = _ref.onSave,
|
|
15317
15331
|
onCancel = _ref.onCancel,
|
|
15318
15332
|
value = _ref.value,
|
|
15319
15333
|
inputProps = _ref.inputProps,
|
|
15320
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15334
|
+
props = _objectWithoutProperties(_ref, _excluded$a);
|
|
15321
15335
|
var _useState = React.useState(value),
|
|
15322
15336
|
_useState2 = _slicedToArray(_useState, 2),
|
|
15323
15337
|
currentValue = _useState2[0],
|
|
@@ -15375,11 +15389,11 @@
|
|
|
15375
15389
|
});
|
|
15376
15390
|
EditableText.displayName = "EditableText";
|
|
15377
15391
|
|
|
15378
|
-
var _excluded$
|
|
15392
|
+
var _excluded$9 = ["withDocuments"];
|
|
15379
15393
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
15380
15394
|
var _ref$withDocuments = _ref.withDocuments,
|
|
15381
15395
|
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
15382
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15396
|
+
props = _objectWithoutProperties(_ref, _excluded$9);
|
|
15383
15397
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
15384
15398
|
width: 100,
|
|
15385
15399
|
height: 100,
|
|
@@ -15522,7 +15536,7 @@
|
|
|
15522
15536
|
return $renderAs === "list" && styled.css(["justify-self:flex-end;"]);
|
|
15523
15537
|
});
|
|
15524
15538
|
|
|
15525
|
-
var _excluded$
|
|
15539
|
+
var _excluded$8 = ["children", "gap", "renderAs"];
|
|
15526
15540
|
var EntityGroupContext = /*#__PURE__*/React__default["default"].createContext({
|
|
15527
15541
|
renderAs: "grid"
|
|
15528
15542
|
});
|
|
@@ -15531,7 +15545,7 @@
|
|
|
15531
15545
|
gap = _ref.gap,
|
|
15532
15546
|
_ref$renderAs = _ref.renderAs,
|
|
15533
15547
|
renderAs = _ref$renderAs === void 0 ? "grid" : _ref$renderAs,
|
|
15534
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15548
|
+
rest = _objectWithoutProperties(_ref, _excluded$8);
|
|
15535
15549
|
return /*#__PURE__*/React__default["default"].createElement(EntityGroupContext.Provider, {
|
|
15536
15550
|
value: {
|
|
15537
15551
|
renderAs: renderAs
|
|
@@ -15543,14 +15557,14 @@
|
|
|
15543
15557
|
};
|
|
15544
15558
|
EntityGroup.displayName = "EntityGroup";
|
|
15545
15559
|
|
|
15546
|
-
var _excluded$
|
|
15560
|
+
var _excluded$7 = ["children", "isCollection", "background", "className", "as"];
|
|
15547
15561
|
var EntityCard = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15548
15562
|
var children = _ref.children,
|
|
15549
15563
|
isCollection = _ref.isCollection,
|
|
15550
15564
|
background = _ref.background,
|
|
15551
15565
|
className = _ref.className,
|
|
15552
15566
|
as = _ref.as,
|
|
15553
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15567
|
+
rest = _objectWithoutProperties(_ref, _excluded$7);
|
|
15554
15568
|
var _useContext = React.useContext(EntityGroupContext),
|
|
15555
15569
|
renderAs = _useContext.renderAs;
|
|
15556
15570
|
var classSuffix = "c-entity-card-".concat(renderAs);
|
|
@@ -15569,13 +15583,13 @@
|
|
|
15569
15583
|
});
|
|
15570
15584
|
EntityCard.displayName = "EntityCard";
|
|
15571
15585
|
|
|
15572
|
-
var _excluded$
|
|
15586
|
+
var _excluded$6 = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
15573
15587
|
var EntityProperty = function EntityProperty(_ref) {
|
|
15574
15588
|
var listOrder = _ref.listOrder,
|
|
15575
15589
|
listWidth = _ref.listWidth,
|
|
15576
15590
|
visibleFromBreakpoint = _ref.visibleFromBreakpoint,
|
|
15577
15591
|
className = _ref.className,
|
|
15578
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15592
|
+
props = _objectWithoutProperties(_ref, _excluded$6);
|
|
15579
15593
|
var _useContext = React.useContext(EntityGroupContext),
|
|
15580
15594
|
renderAs = _useContext.renderAs;
|
|
15581
15595
|
var classSuffix = "c-entity-property-".concat(renderAs);
|
|
@@ -16156,7 +16170,7 @@
|
|
|
16156
16170
|
return props.size + "px";
|
|
16157
16171
|
});
|
|
16158
16172
|
|
|
16159
|
-
var _excluded$
|
|
16173
|
+
var _excluded$5 = ["limit", "size", "children", "hasTooltip"];
|
|
16160
16174
|
var AvatarGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16161
16175
|
var _Children$toArray;
|
|
16162
16176
|
var limit = _ref.limit,
|
|
@@ -16165,7 +16179,7 @@
|
|
|
16165
16179
|
children = _ref.children,
|
|
16166
16180
|
_ref$hasTooltip = _ref.hasTooltip,
|
|
16167
16181
|
hasTooltip = _ref$hasTooltip === void 0 ? false : _ref$hasTooltip,
|
|
16168
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16182
|
+
rest = _objectWithoutProperties(_ref, _excluded$5);
|
|
16169
16183
|
// always display counter with min +2 as +1 can takes space of an 1 more Avatar
|
|
16170
16184
|
var minChildren = React.Children.count(children) - limit > 1 ? false : true;
|
|
16171
16185
|
// gap between Avatars
|
|
@@ -16331,14 +16345,14 @@
|
|
|
16331
16345
|
return React.useContext(SearchContext);
|
|
16332
16346
|
};
|
|
16333
16347
|
|
|
16334
|
-
var _excluded$
|
|
16348
|
+
var _excluded$4 = ["title", "renderIcon", "className", "index", "as"];
|
|
16335
16349
|
var CommandPaletteCommandItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16336
16350
|
var title = _ref.title,
|
|
16337
16351
|
renderIcon = _ref.renderIcon,
|
|
16338
16352
|
className = _ref.className,
|
|
16339
16353
|
index = _ref.index,
|
|
16340
16354
|
as = _ref.as,
|
|
16341
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16355
|
+
rest = _objectWithoutProperties(_ref, _excluded$4);
|
|
16342
16356
|
var Component = as || "a";
|
|
16343
16357
|
var icon = renderIcon();
|
|
16344
16358
|
var _useSelectedContext = useSelectedContext(),
|
|
@@ -16507,7 +16521,7 @@
|
|
|
16507
16521
|
return "";
|
|
16508
16522
|
};
|
|
16509
16523
|
|
|
16510
|
-
var _excluded$
|
|
16524
|
+
var _excluded$3 = ["title", "renderIcon", "className", "index", "loading", "as"];
|
|
16511
16525
|
var generateRandomWidth = function generateRandomWidth() {
|
|
16512
16526
|
// generate range 30-80
|
|
16513
16527
|
var randomNum = Math.round(Math.random() * 30 + 30);
|
|
@@ -16520,7 +16534,7 @@
|
|
|
16520
16534
|
index = _ref.index,
|
|
16521
16535
|
loading = _ref.loading,
|
|
16522
16536
|
as = _ref.as,
|
|
16523
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16537
|
+
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
16524
16538
|
var Component = as || "a";
|
|
16525
16539
|
var icon = renderIcon && renderIcon();
|
|
16526
16540
|
var _useSelectedContext = useSelectedContext(),
|
|
@@ -16610,7 +16624,7 @@
|
|
|
16610
16624
|
});
|
|
16611
16625
|
};
|
|
16612
16626
|
|
|
16613
|
-
var _excluded = ["children", "onChangeSearch", "search", "mode", "setMode", "loading", "idModeEnabled"];
|
|
16627
|
+
var _excluded$2 = ["children", "onChangeSearch", "search", "mode", "setMode", "loading", "idModeEnabled"];
|
|
16614
16628
|
var _CommandPalette = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16615
16629
|
var children = _ref.children,
|
|
16616
16630
|
onChangeSearch = _ref.onChangeSearch,
|
|
@@ -16620,7 +16634,7 @@
|
|
|
16620
16634
|
loading = _ref.loading,
|
|
16621
16635
|
_ref$idModeEnabled = _ref.idModeEnabled,
|
|
16622
16636
|
idModeEnabled = _ref$idModeEnabled === void 0 ? false : _ref$idModeEnabled,
|
|
16623
|
-
rest = _objectWithoutProperties(_ref, _excluded);
|
|
16637
|
+
rest = _objectWithoutProperties(_ref, _excluded$2);
|
|
16624
16638
|
var _useState = React.useState(0),
|
|
16625
16639
|
_useState2 = _slicedToArray(_useState, 2),
|
|
16626
16640
|
selected = _useState2[0],
|
|
@@ -16760,6 +16774,60 @@
|
|
|
16760
16774
|
CommandItem: CommandPaletteCommandItem
|
|
16761
16775
|
});
|
|
16762
16776
|
|
|
16777
|
+
var Container = styled__default["default"].div.withConfig({
|
|
16778
|
+
displayName: "EmptySlatestyles__Container",
|
|
16779
|
+
componentId: "sc-jfbqky-0"
|
|
16780
|
+
})(["display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center;gap:24px;", "{flex-direction:row;}"], screen.lg);
|
|
16781
|
+
var SubContainer = styled__default["default"].div.withConfig({
|
|
16782
|
+
displayName: "EmptySlatestyles__SubContainer",
|
|
16783
|
+
componentId: "sc-jfbqky-1"
|
|
16784
|
+
})(["display:flex;align-items:center;flex-direction:column;justify-content:center;max-width:400px;", "{align-items:flex-start;}"], screen.lg);
|
|
16785
|
+
var Title = styled__default["default"](Typography).withConfig({
|
|
16786
|
+
displayName: "EmptySlatestyles__Title",
|
|
16787
|
+
componentId: "sc-jfbqky-2"
|
|
16788
|
+
})(["margin-block-end:8px;text-align:center;", "{text-align:start;}"], screen.lg);
|
|
16789
|
+
var Description = styled__default["default"](Typography).withConfig({
|
|
16790
|
+
displayName: "EmptySlatestyles__Description",
|
|
16791
|
+
componentId: "sc-jfbqky-3"
|
|
16792
|
+
})(["text-align:center;", "{text-align:start;}"], screen.lg);
|
|
16793
|
+
var FooterContainer = styled__default["default"].div.withConfig({
|
|
16794
|
+
displayName: "EmptySlatestyles__FooterContainer",
|
|
16795
|
+
componentId: "sc-jfbqky-4"
|
|
16796
|
+
})(["margin-block-start:24px;display:flex;flex-direction:column;gap:12px;align-items:center;", "{flex-direction:row;}"], screen.lg);
|
|
16797
|
+
|
|
16798
|
+
var _excluded$1 = ["children"];
|
|
16799
|
+
|
|
16800
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
16801
|
+
|
|
16802
|
+
var EmptySlateFooter = function EmptySlateFooter(_ref) {
|
|
16803
|
+
var children = _ref.children,
|
|
16804
|
+
rest = _objectWithoutProperties(_ref, _excluded$1);
|
|
16805
|
+
return /*#__PURE__*/React__default["default"].createElement(FooterContainer, rest, children);
|
|
16806
|
+
};
|
|
16807
|
+
EmptySlateFooter.displayName = "EmptySlateFooter";
|
|
16808
|
+
|
|
16809
|
+
var _excluded = ["title", "description", "src", "alt", "children"];
|
|
16810
|
+
var EmptySlate = function EmptySlate(_ref) {
|
|
16811
|
+
var title = _ref.title,
|
|
16812
|
+
description = _ref.description,
|
|
16813
|
+
src = _ref.src,
|
|
16814
|
+
alt = _ref.alt,
|
|
16815
|
+
children = _ref.children,
|
|
16816
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
16817
|
+
return /*#__PURE__*/React__default["default"].createElement(Container, _extends({}, rest, {
|
|
16818
|
+
role: "status"
|
|
16819
|
+
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
16820
|
+
src: src,
|
|
16821
|
+
alt: alt
|
|
16822
|
+
}), /*#__PURE__*/React__default["default"].createElement(SubContainer, null, /*#__PURE__*/React__default["default"].createElement(Title, {
|
|
16823
|
+
variant: "Title 1"
|
|
16824
|
+
}, title), description && /*#__PURE__*/React__default["default"].createElement(Description, {
|
|
16825
|
+
variant: "Body 1"
|
|
16826
|
+
}, description), children));
|
|
16827
|
+
};
|
|
16828
|
+
EmptySlate.Footer = EmptySlateFooter;
|
|
16829
|
+
EmptySlate.displayName = "EmptySlate";
|
|
16830
|
+
|
|
16763
16831
|
exports.Accordion = Accordion;
|
|
16764
16832
|
exports.AccordionContext = AccordionContext;
|
|
16765
16833
|
exports.AccordionItem = AccordionItem;
|
|
@@ -16865,6 +16933,7 @@
|
|
|
16865
16933
|
exports.EditableContent = EditableContent;
|
|
16866
16934
|
exports.EditableText = EditableText;
|
|
16867
16935
|
exports.EmojiIcon = EmojiIcon$1;
|
|
16936
|
+
exports.EmptySlate = EmptySlate;
|
|
16868
16937
|
exports.Entity = Entity;
|
|
16869
16938
|
exports.EntityCard = EntityCard$1;
|
|
16870
16939
|
exports.EstimatePlusIcon = EstimatePlusIcon$1;
|