@activecollab/components 1.0.313 → 1.0.315
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/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/Sheet/Sheet.js +5 -4
- package/dist/cjs/components/Sheet/Sheet.js.map +1 -1
- package/dist/cjs/components/index.js +11 -0
- package/dist/cjs/components/index.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/Sheet/Sheet.d.ts +4 -1
- package/dist/esm/components/Sheet/Sheet.d.ts.map +1 -1
- package/dist/esm/components/Sheet/Sheet.js +6 -5
- package/dist/esm/components/Sheet/Sheet.js.map +1 -1
- 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 +222 -165
- 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,
|
|
@@ -9762,7 +9762,7 @@
|
|
|
9762
9762
|
return props.size + "px";
|
|
9763
9763
|
});
|
|
9764
9764
|
|
|
9765
|
-
var _excluded$
|
|
9765
|
+
var _excluded$O = ["url", "alt", "size", "className", "imgClassName", "children"];
|
|
9766
9766
|
/**
|
|
9767
9767
|
* @component Avatar
|
|
9768
9768
|
* @description
|
|
@@ -9797,7 +9797,7 @@
|
|
|
9797
9797
|
className = _ref.className,
|
|
9798
9798
|
imgClassName = _ref.imgClassName,
|
|
9799
9799
|
children = _ref.children,
|
|
9800
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9800
|
+
rest = _objectWithoutProperties(_ref, _excluded$O);
|
|
9801
9801
|
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
9802
9802
|
className: className
|
|
9803
9803
|
}, children, /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({
|
|
@@ -9820,13 +9820,13 @@
|
|
|
9820
9820
|
return props.$color && styled.css(["background-color:", ";"], props.$color);
|
|
9821
9821
|
});
|
|
9822
9822
|
|
|
9823
|
-
var _excluded$
|
|
9823
|
+
var _excluded$N = ["color", "size", "className"];
|
|
9824
9824
|
var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9825
9825
|
var color = _ref.color,
|
|
9826
9826
|
_ref$size = _ref.size,
|
|
9827
9827
|
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
9828
9828
|
className = _ref.className,
|
|
9829
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9829
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
9830
9830
|
return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
|
|
9831
9831
|
className: classNames__default["default"]("c-dot", className),
|
|
9832
9832
|
ref: ref,
|
|
@@ -9863,7 +9863,7 @@
|
|
|
9863
9863
|
});
|
|
9864
9864
|
StyledTagText.displayName = "StyledTagText";
|
|
9865
9865
|
|
|
9866
|
-
var _excluded$
|
|
9866
|
+
var _excluded$M = ["name", "color", "showText", "showDot", "className"];
|
|
9867
9867
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9868
9868
|
var name = _ref.name,
|
|
9869
9869
|
color = _ref.color,
|
|
@@ -9872,7 +9872,7 @@
|
|
|
9872
9872
|
_ref$showDot = _ref.showDot,
|
|
9873
9873
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
9874
9874
|
className = _ref.className,
|
|
9875
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9875
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
9876
9876
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
9877
9877
|
className: classNames__default["default"]("c-tag", className),
|
|
9878
9878
|
ref: ref
|
|
@@ -9992,7 +9992,7 @@
|
|
|
9992
9992
|
}, StyledInput$3, StyledLabel);
|
|
9993
9993
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
9994
9994
|
|
|
9995
|
-
var _excluded$
|
|
9995
|
+
var _excluded$L = ["className", "hover", "id"];
|
|
9996
9996
|
/**
|
|
9997
9997
|
* Checkbox component
|
|
9998
9998
|
*/
|
|
@@ -10001,7 +10001,7 @@
|
|
|
10001
10001
|
hover = _ref.hover,
|
|
10002
10002
|
_ref$id = _ref.id,
|
|
10003
10003
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
10004
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10004
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
10005
10005
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
|
|
10006
10006
|
className: classNames__default["default"]("c-checkbox", {
|
|
10007
10007
|
"c-checkbox__hover": hover,
|
|
@@ -10195,7 +10195,7 @@
|
|
|
10195
10195
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
10196
10196
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
10197
10197
|
|
|
10198
|
-
var _excluded$
|
|
10198
|
+
var _excluded$K = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
10199
10199
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10200
10200
|
var children = _ref.children,
|
|
10201
10201
|
className = _ref.className,
|
|
@@ -10209,7 +10209,7 @@
|
|
|
10209
10209
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
10210
10210
|
innerColor = _ref.innerColor,
|
|
10211
10211
|
outerColor = _ref.outerColor,
|
|
10212
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10212
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
10213
10213
|
var _useState = React.useState({
|
|
10214
10214
|
top: 0,
|
|
10215
10215
|
right: 0,
|
|
@@ -10329,7 +10329,7 @@
|
|
|
10329
10329
|
return height;
|
|
10330
10330
|
};
|
|
10331
10331
|
|
|
10332
|
-
var _excluded$
|
|
10332
|
+
var _excluded$J = ["as", "className", "invert", "style"];
|
|
10333
10333
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10334
10334
|
var _ref$as = _ref.as,
|
|
10335
10335
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -10337,7 +10337,7 @@
|
|
|
10337
10337
|
_ref$invert = _ref.invert,
|
|
10338
10338
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
10339
10339
|
style = _ref.style,
|
|
10340
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10340
|
+
rest = _objectWithoutProperties(_ref, _excluded$J);
|
|
10341
10341
|
var internalRef = useInitScrollRef(null, invert);
|
|
10342
10342
|
var handleRef = useForkRef(internalRef, ref);
|
|
10343
10343
|
var props = _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
@@ -10819,7 +10819,7 @@
|
|
|
10819
10819
|
});
|
|
10820
10820
|
StyledInput$2.displayName = "StyledInput";
|
|
10821
10821
|
|
|
10822
|
-
var _excluded$
|
|
10822
|
+
var _excluded$I = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef"];
|
|
10823
10823
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
10824
10824
|
var _ref$className = _ref.className,
|
|
10825
10825
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -10835,7 +10835,7 @@
|
|
|
10835
10835
|
startAdornment = _ref.startAdornment,
|
|
10836
10836
|
endAdornment = _ref.endAdornment,
|
|
10837
10837
|
wrapRef = _ref.wrapRef,
|
|
10838
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10838
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
10839
10839
|
var intInputRef = React.useRef(null);
|
|
10840
10840
|
var handleRef = useForkRef(ref, intInputRef);
|
|
10841
10841
|
var handleWrapperClick = React.useCallback(function () {
|
|
@@ -10888,14 +10888,14 @@
|
|
|
10888
10888
|
}, StyledRadioLabel);
|
|
10889
10889
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
10890
10890
|
|
|
10891
|
-
var _excluded$
|
|
10891
|
+
var _excluded$H = ["className", "id", "hover"];
|
|
10892
10892
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10893
10893
|
var _ref$className = _ref.className,
|
|
10894
10894
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
10895
10895
|
_ref$id = _ref.id,
|
|
10896
10896
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
10897
10897
|
hover = _ref.hover,
|
|
10898
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10898
|
+
props = _objectWithoutProperties(_ref, _excluded$H);
|
|
10899
10899
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
10900
10900
|
className: classNames__default["default"]("c-radio-btn", {
|
|
10901
10901
|
"c-radio-btn__hover": hover,
|
|
@@ -11103,7 +11103,7 @@
|
|
|
11103
11103
|
};
|
|
11104
11104
|
OptionContent.displayName = "OptionContent";
|
|
11105
11105
|
|
|
11106
|
-
var _excluded$
|
|
11106
|
+
var _excluded$G = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue"];
|
|
11107
11107
|
var Select = function Select(_ref) {
|
|
11108
11108
|
var _ref$type = _ref.type,
|
|
11109
11109
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -11137,7 +11137,7 @@
|
|
|
11137
11137
|
handleDefaultOptionChange = _ref.handleDefaultOptionChange,
|
|
11138
11138
|
_ref$preselectDefault = _ref.preselectDefaultValue,
|
|
11139
11139
|
preselectDefaultValue = _ref$preselectDefault === void 0 ? type === "single" : _ref$preselectDefault,
|
|
11140
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
11140
|
+
prop = _objectWithoutProperties(_ref, _excluded$G);
|
|
11141
11141
|
var childNode = React.useRef();
|
|
11142
11142
|
var elementRef = React.useRef(null);
|
|
11143
11143
|
var handleRef = useForkRef(childNode, elementRef);
|
|
@@ -11383,7 +11383,7 @@
|
|
|
11383
11383
|
});
|
|
11384
11384
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
11385
11385
|
|
|
11386
|
-
var _excluded$
|
|
11386
|
+
var _excluded$F = ["children", "active", "disabled", "className", "role"];
|
|
11387
11387
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
11388
11388
|
var children = _ref.children,
|
|
11389
11389
|
_ref$active = _ref.active,
|
|
@@ -11392,7 +11392,7 @@
|
|
|
11392
11392
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11393
11393
|
className = _ref.className,
|
|
11394
11394
|
role = _ref.role,
|
|
11395
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11395
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
11396
11396
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
11397
11397
|
className: classNames__default["default"]("c-nav__item", {
|
|
11398
11398
|
"c-nav__item--active": active
|
|
@@ -11433,11 +11433,11 @@
|
|
|
11433
11433
|
});
|
|
11434
11434
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
11435
11435
|
|
|
11436
|
-
var _excluded$
|
|
11436
|
+
var _excluded$E = ["expanded"];
|
|
11437
11437
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11438
11438
|
var _ref$expanded = _ref.expanded,
|
|
11439
11439
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
11440
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11440
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
11441
11441
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
11442
11442
|
ref: ref,
|
|
11443
11443
|
viewBox: "0 0 24 24",
|
|
@@ -11727,7 +11727,7 @@
|
|
|
11727
11727
|
};
|
|
11728
11728
|
Nav.displayName = "Nav";
|
|
11729
11729
|
|
|
11730
|
-
var _excluded$
|
|
11730
|
+
var _excluded$D = ["children", "as", "disablePointerEvents"];
|
|
11731
11731
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
11732
11732
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
11733
11733
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -11744,7 +11744,7 @@
|
|
|
11744
11744
|
var children = _ref.children,
|
|
11745
11745
|
as = _ref.as,
|
|
11746
11746
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
11747
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11747
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
11748
11748
|
var Component = as || "div";
|
|
11749
11749
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
11750
11750
|
as: Component,
|
|
@@ -11754,11 +11754,11 @@
|
|
|
11754
11754
|
});
|
|
11755
11755
|
InputAdornment.displayName = "InputAdornment";
|
|
11756
11756
|
|
|
11757
|
-
var _excluded$
|
|
11757
|
+
var _excluded$C = ["expanded"];
|
|
11758
11758
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11759
11759
|
var _ref$expanded = _ref.expanded,
|
|
11760
11760
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
11761
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11761
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
11762
11762
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
11763
11763
|
ref: ref,
|
|
11764
11764
|
viewBox: "0 0 24 24"
|
|
@@ -11876,14 +11876,14 @@
|
|
|
11876
11876
|
});
|
|
11877
11877
|
StyledTextarea.displayName = "StyledTextarea";
|
|
11878
11878
|
|
|
11879
|
-
var _excluded$
|
|
11879
|
+
var _excluded$B = ["className", "disabled", "invalid"];
|
|
11880
11880
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11881
11881
|
var className = _ref.className,
|
|
11882
11882
|
_ref$disabled = _ref.disabled,
|
|
11883
11883
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11884
11884
|
_ref$invalid = _ref.invalid,
|
|
11885
11885
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
11886
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11886
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
11887
11887
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
11888
11888
|
$invalid: invalid,
|
|
11889
11889
|
ref: ref,
|
|
@@ -11915,7 +11915,7 @@
|
|
|
11915
11915
|
function () {});
|
|
11916
11916
|
}
|
|
11917
11917
|
|
|
11918
|
-
var _excluded$
|
|
11918
|
+
var _excluded$A = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "disableCloseOnEsc", "open", "onClose"];
|
|
11919
11919
|
var getHasTransition = function getHasTransition(children) {
|
|
11920
11920
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
11921
11921
|
};
|
|
@@ -11934,7 +11934,7 @@
|
|
|
11934
11934
|
_ref$open = _ref.open,
|
|
11935
11935
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
11936
11936
|
onClose = _ref.onClose,
|
|
11937
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11937
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
11938
11938
|
var _useState = React.useState(defaultOpen),
|
|
11939
11939
|
_useState2 = _slicedToArray(_useState, 2),
|
|
11940
11940
|
open = _useState2[0],
|
|
@@ -12072,7 +12072,7 @@
|
|
|
12072
12072
|
});
|
|
12073
12073
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
12074
12074
|
|
|
12075
|
-
var _excluded$
|
|
12075
|
+
var _excluded$z = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
12076
12076
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12077
12077
|
var children = _ref.children,
|
|
12078
12078
|
onClose = _ref.onClose,
|
|
@@ -12096,7 +12096,7 @@
|
|
|
12096
12096
|
bodyClassName = _ref.bodyClassName,
|
|
12097
12097
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
12098
12098
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
12099
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12099
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
12100
12100
|
var _useState = React.useState(defaultOpen),
|
|
12101
12101
|
_useState2 = _slicedToArray(_useState, 2),
|
|
12102
12102
|
open = _useState2[0],
|
|
@@ -12105,8 +12105,6 @@
|
|
|
12105
12105
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
12106
12106
|
exited = _useState4[0],
|
|
12107
12107
|
setExited = _useState4[1];
|
|
12108
|
-
var innerRef = React.useRef(null);
|
|
12109
|
-
var handleRef = useForkRef(innerRef, ref);
|
|
12110
12108
|
React.useEffect(function () {
|
|
12111
12109
|
setOpen(defaultOpen);
|
|
12112
12110
|
}, [defaultOpen]);
|
|
@@ -12126,11 +12124,15 @@
|
|
|
12126
12124
|
handleClose();
|
|
12127
12125
|
}
|
|
12128
12126
|
}, [disableBackgroundClick, handleClose]);
|
|
12127
|
+
React.useImperativeHandle(ref, function () {
|
|
12128
|
+
return {
|
|
12129
|
+
close: handleClose
|
|
12130
|
+
};
|
|
12131
|
+
});
|
|
12129
12132
|
if (!open && exited) {
|
|
12130
12133
|
return null;
|
|
12131
12134
|
}
|
|
12132
12135
|
return /*#__PURE__*/React__default["default"].createElement(Window, _extends({}, rest, {
|
|
12133
|
-
ref: handleRef,
|
|
12134
12136
|
onClose: handleClose,
|
|
12135
12137
|
disableFocusLock: disableFocusLock,
|
|
12136
12138
|
disableScrollLock: disableScrollLock
|
|
@@ -12187,13 +12189,13 @@
|
|
|
12187
12189
|
});
|
|
12188
12190
|
StyledHeader.displayName = "StyledHeader";
|
|
12189
12191
|
|
|
12190
|
-
var _excluded$
|
|
12192
|
+
var _excluded$y = ["className", "size", "children"];
|
|
12191
12193
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12192
12194
|
var className = _ref.className,
|
|
12193
12195
|
_ref$size = _ref.size,
|
|
12194
12196
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
12195
12197
|
children = _ref.children,
|
|
12196
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12198
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
12197
12199
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
12198
12200
|
type: "paper-2",
|
|
12199
12201
|
className: classNames__default["default"]("c-header", className),
|
|
@@ -12209,7 +12211,7 @@
|
|
|
12209
12211
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
12210
12212
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
12211
12213
|
|
|
12212
|
-
var _excluded$
|
|
12214
|
+
var _excluded$x = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
12213
12215
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12214
12216
|
var _ref$minRows = _ref.minRows,
|
|
12215
12217
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -12225,7 +12227,7 @@
|
|
|
12225
12227
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
12226
12228
|
onKeyDown = _ref.onKeyDown,
|
|
12227
12229
|
value = _ref.value,
|
|
12228
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12230
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
12229
12231
|
var innerRef = React.useRef(null);
|
|
12230
12232
|
var _useState = React.useState(minRows),
|
|
12231
12233
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -12501,7 +12503,7 @@
|
|
|
12501
12503
|
});
|
|
12502
12504
|
StyledChoose.displayName = "StyledChoose";
|
|
12503
12505
|
|
|
12504
|
-
var _excluded$
|
|
12506
|
+
var _excluded$w = ["children", "disabled", "active", "className"];
|
|
12505
12507
|
/**
|
|
12506
12508
|
* Choose component
|
|
12507
12509
|
*/
|
|
@@ -12512,7 +12514,7 @@
|
|
|
12512
12514
|
_ref$active = _ref.active,
|
|
12513
12515
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
12514
12516
|
className = _ref.className,
|
|
12515
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12517
|
+
args = _objectWithoutProperties(_ref, _excluded$w);
|
|
12516
12518
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
12517
12519
|
disabled: disabled,
|
|
12518
12520
|
className: classNames__default["default"]("c-choose", className),
|
|
@@ -12608,21 +12610,21 @@
|
|
|
12608
12610
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
12609
12611
|
StyledLink.displayName = "StyledLink";
|
|
12610
12612
|
|
|
12611
|
-
var _excluded$
|
|
12613
|
+
var _excluded$v = ["children", "className"];
|
|
12612
12614
|
/**
|
|
12613
12615
|
* Back link component
|
|
12614
12616
|
*/
|
|
12615
12617
|
var BackLink = function BackLink(_ref) {
|
|
12616
12618
|
var children = _ref.children,
|
|
12617
12619
|
className = _ref.className,
|
|
12618
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12620
|
+
args = _objectWithoutProperties(_ref, _excluded$v);
|
|
12619
12621
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
12620
12622
|
className: classNames__default["default"]("c-back-link", className)
|
|
12621
12623
|
}, args), children);
|
|
12622
12624
|
};
|
|
12623
12625
|
BackLink.displayName = "BackLink";
|
|
12624
12626
|
|
|
12625
|
-
var _excluded$
|
|
12627
|
+
var _excluded$u = ["as", "children", "variant", "size", "disabled", "className"];
|
|
12626
12628
|
/**
|
|
12627
12629
|
* Link component
|
|
12628
12630
|
*/
|
|
@@ -12635,7 +12637,7 @@
|
|
|
12635
12637
|
_ref$disabled = _ref.disabled,
|
|
12636
12638
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
12637
12639
|
className = _ref.className,
|
|
12638
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12640
|
+
args = _objectWithoutProperties(_ref, _excluded$u);
|
|
12639
12641
|
var Component = as || "a";
|
|
12640
12642
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
12641
12643
|
ref: ref,
|
|
@@ -12746,7 +12748,7 @@
|
|
|
12746
12748
|
})(["padding:20px 30px;", " ", ""], FontStyle, BoxSizingStyle);
|
|
12747
12749
|
StyledDialogActions.displayName = "StyledDialogActions";
|
|
12748
12750
|
|
|
12749
|
-
var _excluded$
|
|
12751
|
+
var _excluded$t = ["in", "children", "style", "timeout"];
|
|
12750
12752
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
12751
12753
|
return {
|
|
12752
12754
|
transition: "all ".concat(duration, "ms ease-in-out"),
|
|
@@ -12774,7 +12776,7 @@
|
|
|
12774
12776
|
style = _ref.style,
|
|
12775
12777
|
_ref$timeout = _ref.timeout,
|
|
12776
12778
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
12777
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12779
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
12778
12780
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
12779
12781
|
appear: true,
|
|
12780
12782
|
in: inProp,
|
|
@@ -12789,7 +12791,7 @@
|
|
|
12789
12791
|
};
|
|
12790
12792
|
Fade.displayName = "Fade";
|
|
12791
12793
|
|
|
12792
|
-
var _excluded$
|
|
12794
|
+
var _excluded$s = ["in", "children", "style", "timeout", "initialDirection"];
|
|
12793
12795
|
var Slide = function Slide(_ref) {
|
|
12794
12796
|
var _ref$in = _ref.in,
|
|
12795
12797
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -12799,7 +12801,7 @@
|
|
|
12799
12801
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
12800
12802
|
_ref$initialDirection = _ref.initialDirection,
|
|
12801
12803
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
12802
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12804
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
12803
12805
|
var directionSign;
|
|
12804
12806
|
switch (initialDirection) {
|
|
12805
12807
|
case "right":
|
|
@@ -12852,12 +12854,12 @@
|
|
|
12852
12854
|
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;}"]);
|
|
12853
12855
|
});
|
|
12854
12856
|
|
|
12855
|
-
var _excluded$
|
|
12857
|
+
var _excluded$r = ["children", "direction"];
|
|
12856
12858
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
12857
12859
|
var children = _ref.children,
|
|
12858
12860
|
_ref$direction = _ref.direction,
|
|
12859
12861
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
12860
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
12862
|
+
props = _objectWithoutProperties(_ref, _excluded$r);
|
|
12861
12863
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
12862
12864
|
timeout: 200,
|
|
12863
12865
|
classNames: "c-slide",
|
|
@@ -12900,7 +12902,7 @@
|
|
|
12900
12902
|
};
|
|
12901
12903
|
ResizeTransition.displayName = "ResizeTransition";
|
|
12902
12904
|
|
|
12903
|
-
var _excluded$
|
|
12905
|
+
var _excluded$q = ["in", "children", "style", "timeout"];
|
|
12904
12906
|
var defaultStyle = function defaultStyle(duration) {
|
|
12905
12907
|
return {
|
|
12906
12908
|
transition: "all ".concat(duration, "ms ease-in"),
|
|
@@ -12934,7 +12936,7 @@
|
|
|
12934
12936
|
style = _ref.style,
|
|
12935
12937
|
_ref$timeout = _ref.timeout,
|
|
12936
12938
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
12937
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12939
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
12938
12940
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
12939
12941
|
appear: true,
|
|
12940
12942
|
in: inProp,
|
|
@@ -12984,13 +12986,13 @@
|
|
|
12984
12986
|
};
|
|
12985
12987
|
Scale.displayName = "Scale";
|
|
12986
12988
|
|
|
12987
|
-
var _excluded$
|
|
12989
|
+
var _excluded$p = ["className", "children"];
|
|
12988
12990
|
// import { useDialogContext } from "./DialogContext";
|
|
12989
12991
|
|
|
12990
12992
|
var DialogActions = function DialogActions(_ref) {
|
|
12991
12993
|
var className = _ref.className,
|
|
12992
12994
|
children = _ref.children,
|
|
12993
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12995
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
12994
12996
|
// useDialogContext();
|
|
12995
12997
|
|
|
12996
12998
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
@@ -12999,13 +13001,13 @@
|
|
|
12999
13001
|
};
|
|
13000
13002
|
DialogActions.displayName = "DialogActions";
|
|
13001
13003
|
|
|
13002
|
-
var _excluded$
|
|
13004
|
+
var _excluded$o = ["className", "children"];
|
|
13003
13005
|
// import { useDialogContext } from "./DialogContext";
|
|
13004
13006
|
|
|
13005
13007
|
var DialogContent = function DialogContent(_ref) {
|
|
13006
13008
|
var className = _ref.className,
|
|
13007
13009
|
children = _ref.children,
|
|
13008
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13010
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
13009
13011
|
// useDialogContext();
|
|
13010
13012
|
|
|
13011
13013
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
@@ -13026,7 +13028,7 @@
|
|
|
13026
13028
|
};
|
|
13027
13029
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
13028
13030
|
|
|
13029
|
-
var _excluded$
|
|
13031
|
+
var _excluded$n = ["children", "className", "disableDefaultHeading"];
|
|
13030
13032
|
// import { useDialogContext } from "./DialogContext";
|
|
13031
13033
|
|
|
13032
13034
|
var DialogTitle = function DialogTitle(_ref) {
|
|
@@ -13034,7 +13036,7 @@
|
|
|
13034
13036
|
className = _ref.className,
|
|
13035
13037
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
13036
13038
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
13037
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13039
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
13038
13040
|
// useDialogContext();
|
|
13039
13041
|
|
|
13040
13042
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
@@ -13302,7 +13304,7 @@
|
|
|
13302
13304
|
});
|
|
13303
13305
|
StyledPressed.displayName = "StyledPressed";
|
|
13304
13306
|
|
|
13305
|
-
var _excluded$
|
|
13307
|
+
var _excluded$m = ["children", "active", "className"];
|
|
13306
13308
|
/**
|
|
13307
13309
|
* Pressed wrapper for button component
|
|
13308
13310
|
* @deprecated
|
|
@@ -13312,7 +13314,7 @@
|
|
|
13312
13314
|
_ref$active = _ref.active,
|
|
13313
13315
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
13314
13316
|
className = _ref.className,
|
|
13315
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
13317
|
+
args = _objectWithoutProperties(_ref, _excluded$m);
|
|
13316
13318
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
13317
13319
|
active: active,
|
|
13318
13320
|
ref: ref,
|
|
@@ -13809,7 +13811,7 @@
|
|
|
13809
13811
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
13810
13812
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
13811
13813
|
|
|
13812
|
-
var _excluded$
|
|
13814
|
+
var _excluded$l = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
13813
13815
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13814
13816
|
var text = _ref.text,
|
|
13815
13817
|
type = _ref.type,
|
|
@@ -13820,7 +13822,7 @@
|
|
|
13820
13822
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
13821
13823
|
_ref$timeout = _ref.timeout,
|
|
13822
13824
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
13823
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13825
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
13824
13826
|
var handleOnClose = React.useCallback(function () {
|
|
13825
13827
|
if (typeof onClose === "function") {
|
|
13826
13828
|
onClose();
|
|
@@ -13868,7 +13870,7 @@
|
|
|
13868
13870
|
});
|
|
13869
13871
|
StyledValueButton.displayName = "StyledValueButton";
|
|
13870
13872
|
|
|
13871
|
-
var _excluded$
|
|
13873
|
+
var _excluded$k = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
13872
13874
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13873
13875
|
var _ref$active = _ref.active,
|
|
13874
13876
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -13877,7 +13879,7 @@
|
|
|
13877
13879
|
icon = _ref.icon,
|
|
13878
13880
|
label = _ref.label,
|
|
13879
13881
|
value = _ref.value,
|
|
13880
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
13882
|
+
args = _objectWithoutProperties(_ref, _excluded$k);
|
|
13881
13883
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
13882
13884
|
className: "c-value-button"
|
|
13883
13885
|
}, args, {
|
|
@@ -13906,12 +13908,12 @@
|
|
|
13906
13908
|
})(["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;}"]);
|
|
13907
13909
|
StyledButton.displayName = "StyledButton";
|
|
13908
13910
|
|
|
13909
|
-
var _excluded$
|
|
13911
|
+
var _excluded$j = ["children", "type"];
|
|
13910
13912
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13911
13913
|
var children = _ref.children,
|
|
13912
13914
|
_ref$type = _ref.type,
|
|
13913
13915
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
13914
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13916
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
13915
13917
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
13916
13918
|
ref: ref,
|
|
13917
13919
|
role: "button",
|
|
@@ -13957,7 +13959,7 @@
|
|
|
13957
13959
|
});
|
|
13958
13960
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
13959
13961
|
|
|
13960
|
-
var _excluded$
|
|
13962
|
+
var _excluded$i = ["children", "type", "size", "invalid", "open", "endAdornment"];
|
|
13961
13963
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13962
13964
|
var children = _ref.children,
|
|
13963
13965
|
_ref$type = _ref.type,
|
|
@@ -13969,7 +13971,7 @@
|
|
|
13969
13971
|
_ref$open = _ref.open,
|
|
13970
13972
|
open = _ref$open === void 0 ? false : _ref$open,
|
|
13971
13973
|
endAdornment = _ref.endAdornment,
|
|
13972
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13974
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
13973
13975
|
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
13974
13976
|
ref: ref,
|
|
13975
13977
|
role: "button",
|
|
@@ -14016,11 +14018,11 @@
|
|
|
14016
14018
|
});
|
|
14017
14019
|
StyledToggle.displayName = "StyledToggle";
|
|
14018
14020
|
|
|
14019
|
-
var _excluded$
|
|
14021
|
+
var _excluded$h = ["hovered", "className"];
|
|
14020
14022
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14021
14023
|
var hovered = _ref.hovered,
|
|
14022
14024
|
className = _ref.className,
|
|
14023
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
14025
|
+
args = _objectWithoutProperties(_ref, _excluded$h);
|
|
14024
14026
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
14025
14027
|
className: classNames__default["default"]("c-toggle", className),
|
|
14026
14028
|
$isHovered: hovered,
|
|
@@ -14173,7 +14175,7 @@
|
|
|
14173
14175
|
});
|
|
14174
14176
|
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
14175
14177
|
|
|
14176
|
-
var _excluded$
|
|
14178
|
+
var _excluded$g = ["leftAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "variant", "typographyProps"];
|
|
14177
14179
|
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
14178
14180
|
var leftAdornment = _ref.leftAdornment,
|
|
14179
14181
|
label = _ref.label,
|
|
@@ -14185,7 +14187,7 @@
|
|
|
14185
14187
|
closeClassName = _ref.closeClassName,
|
|
14186
14188
|
variant = _ref.variant,
|
|
14187
14189
|
typographyProps = _ref.typographyProps,
|
|
14188
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14190
|
+
rest = _objectWithoutProperties(_ref, _excluded$g);
|
|
14189
14191
|
var showClose = typeof onClose === "function";
|
|
14190
14192
|
var _variant = React.useMemo(function () {
|
|
14191
14193
|
if (typeof variant !== "undefined") {
|
|
@@ -14261,7 +14263,7 @@
|
|
|
14261
14263
|
return isFirst.current;
|
|
14262
14264
|
};
|
|
14263
14265
|
|
|
14264
|
-
var _excluded$
|
|
14266
|
+
var _excluded$f = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid", "type", "renderChip", "forceCloseMenu", "renderOption", "limitChips", "hiddenNumberText", "inPortal", "inputWrapperClassName", "scrollWrapper", "onClose", "onClear"];
|
|
14265
14267
|
var ComboBox = function ComboBox(_ref) {
|
|
14266
14268
|
var _comboBoxRef$current2, _comboBoxRef$current3;
|
|
14267
14269
|
var _ref$options = _ref.options,
|
|
@@ -14294,7 +14296,7 @@
|
|
|
14294
14296
|
scrollWrapper = _ref.scrollWrapper,
|
|
14295
14297
|
onClose = _ref.onClose,
|
|
14296
14298
|
onClear = _ref.onClear,
|
|
14297
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
14299
|
+
prop = _objectWithoutProperties(_ref, _excluded$f);
|
|
14298
14300
|
var selectedName = React.useMemo(function () {
|
|
14299
14301
|
var value = "";
|
|
14300
14302
|
if (!selected) {
|
|
@@ -14683,11 +14685,11 @@
|
|
|
14683
14685
|
})(["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);
|
|
14684
14686
|
StyledAddToListButton.displayName = "StyledAddToListButton";
|
|
14685
14687
|
|
|
14686
|
-
var _excluded$
|
|
14688
|
+
var _excluded$e = ["text", "className"];
|
|
14687
14689
|
var AddToListButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14688
14690
|
var text = _ref.text,
|
|
14689
14691
|
className = _ref.className,
|
|
14690
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14692
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
14691
14693
|
return /*#__PURE__*/React__default["default"].createElement(StyledAddToListButton, _extends({
|
|
14692
14694
|
ref: ref,
|
|
14693
14695
|
className: classNames__default["default"]("c--add-to-list-btn", className)
|
|
@@ -14870,11 +14872,11 @@
|
|
|
14870
14872
|
};
|
|
14871
14873
|
ProgressRing.displayName = "ProgressRing";
|
|
14872
14874
|
|
|
14873
|
-
var _excluded$
|
|
14875
|
+
var _excluded$d = ["radius"];
|
|
14874
14876
|
var ProgressPie = function ProgressPie(_ref) {
|
|
14875
14877
|
var _ref$radius = _ref.radius,
|
|
14876
14878
|
radius = _ref$radius === void 0 ? 20 : _ref$radius,
|
|
14877
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14879
|
+
rest = _objectWithoutProperties(_ref, _excluded$d);
|
|
14878
14880
|
return /*#__PURE__*/React__default["default"].createElement(ProgressRing, _extends({}, rest, {
|
|
14879
14881
|
stroke: radius,
|
|
14880
14882
|
radius: radius
|
|
@@ -15198,7 +15200,7 @@
|
|
|
15198
15200
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
15199
15201
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
15200
15202
|
|
|
15201
|
-
var _excluded$
|
|
15203
|
+
var _excluded$c = ["invalid", "required", "size", "children", "className", "weight"];
|
|
15202
15204
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15203
15205
|
var _ref$invalid = _ref.invalid,
|
|
15204
15206
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -15210,7 +15212,7 @@
|
|
|
15210
15212
|
className = _ref.className,
|
|
15211
15213
|
_ref$weight = _ref.weight,
|
|
15212
15214
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
15213
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15215
|
+
props = _objectWithoutProperties(_ref, _excluded$c);
|
|
15214
15216
|
var color = invalid ? "alert" : "primary";
|
|
15215
15217
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
15216
15218
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
@@ -15269,7 +15271,7 @@
|
|
|
15269
15271
|
});
|
|
15270
15272
|
StyledInput$1.displayName = "StyledInput";
|
|
15271
15273
|
|
|
15272
|
-
var _excluded$
|
|
15274
|
+
var _excluded$b = ["className", "variant", "weight", "disabled", "inputProps", "wrapRef"];
|
|
15273
15275
|
var EditableContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15274
15276
|
var className = _ref.className,
|
|
15275
15277
|
_ref$variant = _ref.variant,
|
|
@@ -15279,7 +15281,7 @@
|
|
|
15279
15281
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
15280
15282
|
inputProps = _ref.inputProps,
|
|
15281
15283
|
wrapRef = _ref.wrapRef,
|
|
15282
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15284
|
+
props = _objectWithoutProperties(_ref, _excluded$b);
|
|
15283
15285
|
var intInputRef = React.useRef(null);
|
|
15284
15286
|
var handleRef = useForkRef(ref, intInputRef);
|
|
15285
15287
|
var handleBlur = React.useCallback(function (evt) {
|
|
@@ -15309,13 +15311,13 @@
|
|
|
15309
15311
|
});
|
|
15310
15312
|
EditableContent.displayName = "EditableContent";
|
|
15311
15313
|
|
|
15312
|
-
var _excluded$
|
|
15314
|
+
var _excluded$a = ["onSave", "onCancel", "value", "inputProps"];
|
|
15313
15315
|
var EditableText = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15314
15316
|
var onSave = _ref.onSave,
|
|
15315
15317
|
onCancel = _ref.onCancel,
|
|
15316
15318
|
value = _ref.value,
|
|
15317
15319
|
inputProps = _ref.inputProps,
|
|
15318
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15320
|
+
props = _objectWithoutProperties(_ref, _excluded$a);
|
|
15319
15321
|
var _useState = React.useState(value),
|
|
15320
15322
|
_useState2 = _slicedToArray(_useState, 2),
|
|
15321
15323
|
currentValue = _useState2[0],
|
|
@@ -15373,11 +15375,11 @@
|
|
|
15373
15375
|
});
|
|
15374
15376
|
EditableText.displayName = "EditableText";
|
|
15375
15377
|
|
|
15376
|
-
var _excluded$
|
|
15378
|
+
var _excluded$9 = ["withDocuments"];
|
|
15377
15379
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
15378
15380
|
var _ref$withDocuments = _ref.withDocuments,
|
|
15379
15381
|
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
15380
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15382
|
+
props = _objectWithoutProperties(_ref, _excluded$9);
|
|
15381
15383
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
15382
15384
|
width: 100,
|
|
15383
15385
|
height: 100,
|
|
@@ -15520,7 +15522,7 @@
|
|
|
15520
15522
|
return $renderAs === "list" && styled.css(["justify-self:flex-end;"]);
|
|
15521
15523
|
});
|
|
15522
15524
|
|
|
15523
|
-
var _excluded$
|
|
15525
|
+
var _excluded$8 = ["children", "gap", "renderAs"];
|
|
15524
15526
|
var EntityGroupContext = /*#__PURE__*/React__default["default"].createContext({
|
|
15525
15527
|
renderAs: "grid"
|
|
15526
15528
|
});
|
|
@@ -15529,7 +15531,7 @@
|
|
|
15529
15531
|
gap = _ref.gap,
|
|
15530
15532
|
_ref$renderAs = _ref.renderAs,
|
|
15531
15533
|
renderAs = _ref$renderAs === void 0 ? "grid" : _ref$renderAs,
|
|
15532
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15534
|
+
rest = _objectWithoutProperties(_ref, _excluded$8);
|
|
15533
15535
|
return /*#__PURE__*/React__default["default"].createElement(EntityGroupContext.Provider, {
|
|
15534
15536
|
value: {
|
|
15535
15537
|
renderAs: renderAs
|
|
@@ -15541,14 +15543,14 @@
|
|
|
15541
15543
|
};
|
|
15542
15544
|
EntityGroup.displayName = "EntityGroup";
|
|
15543
15545
|
|
|
15544
|
-
var _excluded$
|
|
15546
|
+
var _excluded$7 = ["children", "isCollection", "background", "className", "as"];
|
|
15545
15547
|
var EntityCard = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15546
15548
|
var children = _ref.children,
|
|
15547
15549
|
isCollection = _ref.isCollection,
|
|
15548
15550
|
background = _ref.background,
|
|
15549
15551
|
className = _ref.className,
|
|
15550
15552
|
as = _ref.as,
|
|
15551
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15553
|
+
rest = _objectWithoutProperties(_ref, _excluded$7);
|
|
15552
15554
|
var _useContext = React.useContext(EntityGroupContext),
|
|
15553
15555
|
renderAs = _useContext.renderAs;
|
|
15554
15556
|
var classSuffix = "c-entity-card-".concat(renderAs);
|
|
@@ -15567,13 +15569,13 @@
|
|
|
15567
15569
|
});
|
|
15568
15570
|
EntityCard.displayName = "EntityCard";
|
|
15569
15571
|
|
|
15570
|
-
var _excluded$
|
|
15572
|
+
var _excluded$6 = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
15571
15573
|
var EntityProperty = function EntityProperty(_ref) {
|
|
15572
15574
|
var listOrder = _ref.listOrder,
|
|
15573
15575
|
listWidth = _ref.listWidth,
|
|
15574
15576
|
visibleFromBreakpoint = _ref.visibleFromBreakpoint,
|
|
15575
15577
|
className = _ref.className,
|
|
15576
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15578
|
+
props = _objectWithoutProperties(_ref, _excluded$6);
|
|
15577
15579
|
var _useContext = React.useContext(EntityGroupContext),
|
|
15578
15580
|
renderAs = _useContext.renderAs;
|
|
15579
15581
|
var classSuffix = "c-entity-property-".concat(renderAs);
|
|
@@ -16154,7 +16156,7 @@
|
|
|
16154
16156
|
return props.size + "px";
|
|
16155
16157
|
});
|
|
16156
16158
|
|
|
16157
|
-
var _excluded$
|
|
16159
|
+
var _excluded$5 = ["limit", "size", "children", "hasTooltip"];
|
|
16158
16160
|
var AvatarGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16159
16161
|
var _Children$toArray;
|
|
16160
16162
|
var limit = _ref.limit,
|
|
@@ -16163,7 +16165,7 @@
|
|
|
16163
16165
|
children = _ref.children,
|
|
16164
16166
|
_ref$hasTooltip = _ref.hasTooltip,
|
|
16165
16167
|
hasTooltip = _ref$hasTooltip === void 0 ? false : _ref$hasTooltip,
|
|
16166
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16168
|
+
rest = _objectWithoutProperties(_ref, _excluded$5);
|
|
16167
16169
|
// always display counter with min +2 as +1 can takes space of an 1 more Avatar
|
|
16168
16170
|
var minChildren = React.Children.count(children) - limit > 1 ? false : true;
|
|
16169
16171
|
// gap between Avatars
|
|
@@ -16329,14 +16331,14 @@
|
|
|
16329
16331
|
return React.useContext(SearchContext);
|
|
16330
16332
|
};
|
|
16331
16333
|
|
|
16332
|
-
var _excluded$
|
|
16334
|
+
var _excluded$4 = ["title", "renderIcon", "className", "index", "as"];
|
|
16333
16335
|
var CommandPaletteCommandItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16334
16336
|
var title = _ref.title,
|
|
16335
16337
|
renderIcon = _ref.renderIcon,
|
|
16336
16338
|
className = _ref.className,
|
|
16337
16339
|
index = _ref.index,
|
|
16338
16340
|
as = _ref.as,
|
|
16339
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16341
|
+
rest = _objectWithoutProperties(_ref, _excluded$4);
|
|
16340
16342
|
var Component = as || "a";
|
|
16341
16343
|
var icon = renderIcon();
|
|
16342
16344
|
var _useSelectedContext = useSelectedContext(),
|
|
@@ -16505,7 +16507,7 @@
|
|
|
16505
16507
|
return "";
|
|
16506
16508
|
};
|
|
16507
16509
|
|
|
16508
|
-
var _excluded$
|
|
16510
|
+
var _excluded$3 = ["title", "renderIcon", "className", "index", "loading", "as"];
|
|
16509
16511
|
var generateRandomWidth = function generateRandomWidth() {
|
|
16510
16512
|
// generate range 30-80
|
|
16511
16513
|
var randomNum = Math.round(Math.random() * 30 + 30);
|
|
@@ -16518,7 +16520,7 @@
|
|
|
16518
16520
|
index = _ref.index,
|
|
16519
16521
|
loading = _ref.loading,
|
|
16520
16522
|
as = _ref.as,
|
|
16521
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16523
|
+
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
16522
16524
|
var Component = as || "a";
|
|
16523
16525
|
var icon = renderIcon && renderIcon();
|
|
16524
16526
|
var _useSelectedContext = useSelectedContext(),
|
|
@@ -16608,7 +16610,7 @@
|
|
|
16608
16610
|
});
|
|
16609
16611
|
};
|
|
16610
16612
|
|
|
16611
|
-
var _excluded = ["children", "onChangeSearch", "search", "mode", "setMode", "loading", "idModeEnabled"];
|
|
16613
|
+
var _excluded$2 = ["children", "onChangeSearch", "search", "mode", "setMode", "loading", "idModeEnabled"];
|
|
16612
16614
|
var _CommandPalette = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16613
16615
|
var children = _ref.children,
|
|
16614
16616
|
onChangeSearch = _ref.onChangeSearch,
|
|
@@ -16618,7 +16620,7 @@
|
|
|
16618
16620
|
loading = _ref.loading,
|
|
16619
16621
|
_ref$idModeEnabled = _ref.idModeEnabled,
|
|
16620
16622
|
idModeEnabled = _ref$idModeEnabled === void 0 ? false : _ref$idModeEnabled,
|
|
16621
|
-
rest = _objectWithoutProperties(_ref, _excluded);
|
|
16623
|
+
rest = _objectWithoutProperties(_ref, _excluded$2);
|
|
16622
16624
|
var _useState = React.useState(0),
|
|
16623
16625
|
_useState2 = _slicedToArray(_useState, 2),
|
|
16624
16626
|
selected = _useState2[0],
|
|
@@ -16758,6 +16760,60 @@
|
|
|
16758
16760
|
CommandItem: CommandPaletteCommandItem
|
|
16759
16761
|
});
|
|
16760
16762
|
|
|
16763
|
+
var Container = styled__default["default"].div.withConfig({
|
|
16764
|
+
displayName: "EmptySlatestyles__Container",
|
|
16765
|
+
componentId: "sc-jfbqky-0"
|
|
16766
|
+
})(["display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center;gap:24px;", "{flex-direction:row;}"], screen.lg);
|
|
16767
|
+
var SubContainer = styled__default["default"].div.withConfig({
|
|
16768
|
+
displayName: "EmptySlatestyles__SubContainer",
|
|
16769
|
+
componentId: "sc-jfbqky-1"
|
|
16770
|
+
})(["display:flex;align-items:center;flex-direction:column;justify-content:center;max-width:400px;", "{align-items:flex-start;}"], screen.lg);
|
|
16771
|
+
var Title = styled__default["default"](Typography).withConfig({
|
|
16772
|
+
displayName: "EmptySlatestyles__Title",
|
|
16773
|
+
componentId: "sc-jfbqky-2"
|
|
16774
|
+
})(["margin-block-end:8px;text-align:center;", "{text-align:start;}"], screen.lg);
|
|
16775
|
+
var Description = styled__default["default"](Typography).withConfig({
|
|
16776
|
+
displayName: "EmptySlatestyles__Description",
|
|
16777
|
+
componentId: "sc-jfbqky-3"
|
|
16778
|
+
})(["text-align:center;", "{text-align:start;}"], screen.lg);
|
|
16779
|
+
var FooterContainer = styled__default["default"].div.withConfig({
|
|
16780
|
+
displayName: "EmptySlatestyles__FooterContainer",
|
|
16781
|
+
componentId: "sc-jfbqky-4"
|
|
16782
|
+
})(["margin-block-start:24px;display:flex;flex-direction:column;gap:12px;align-items:center;", "{flex-direction:row;}"], screen.lg);
|
|
16783
|
+
|
|
16784
|
+
var _excluded$1 = ["children"];
|
|
16785
|
+
|
|
16786
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
16787
|
+
|
|
16788
|
+
var EmptySlateFooter = function EmptySlateFooter(_ref) {
|
|
16789
|
+
var children = _ref.children,
|
|
16790
|
+
rest = _objectWithoutProperties(_ref, _excluded$1);
|
|
16791
|
+
return /*#__PURE__*/React__default["default"].createElement(FooterContainer, rest, children);
|
|
16792
|
+
};
|
|
16793
|
+
EmptySlateFooter.displayName = "EmptySlateFooter";
|
|
16794
|
+
|
|
16795
|
+
var _excluded = ["title", "description", "src", "alt", "children"];
|
|
16796
|
+
var EmptySlate = function EmptySlate(_ref) {
|
|
16797
|
+
var title = _ref.title,
|
|
16798
|
+
description = _ref.description,
|
|
16799
|
+
src = _ref.src,
|
|
16800
|
+
alt = _ref.alt,
|
|
16801
|
+
children = _ref.children,
|
|
16802
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
16803
|
+
return /*#__PURE__*/React__default["default"].createElement(Container, _extends({}, rest, {
|
|
16804
|
+
role: "status"
|
|
16805
|
+
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
16806
|
+
src: src,
|
|
16807
|
+
alt: alt
|
|
16808
|
+
}), /*#__PURE__*/React__default["default"].createElement(SubContainer, null, /*#__PURE__*/React__default["default"].createElement(Title, {
|
|
16809
|
+
variant: "Title 1"
|
|
16810
|
+
}, title), description && /*#__PURE__*/React__default["default"].createElement(Description, {
|
|
16811
|
+
variant: "Body 1"
|
|
16812
|
+
}, description), children));
|
|
16813
|
+
};
|
|
16814
|
+
EmptySlate.Footer = EmptySlateFooter;
|
|
16815
|
+
EmptySlate.displayName = "EmptySlate";
|
|
16816
|
+
|
|
16761
16817
|
exports.Accordion = Accordion;
|
|
16762
16818
|
exports.AccordionContext = AccordionContext;
|
|
16763
16819
|
exports.AccordionItem = AccordionItem;
|
|
@@ -16863,6 +16919,7 @@
|
|
|
16863
16919
|
exports.EditableContent = EditableContent;
|
|
16864
16920
|
exports.EditableText = EditableText;
|
|
16865
16921
|
exports.EmojiIcon = EmojiIcon$1;
|
|
16922
|
+
exports.EmptySlate = EmptySlate;
|
|
16866
16923
|
exports.Entity = Entity;
|
|
16867
16924
|
exports.EntityCard = EntityCard$1;
|
|
16868
16925
|
exports.EstimatePlusIcon = EstimatePlusIcon$1;
|