@activecollab/components 1.0.221 → 1.0.223
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/IconButton/index.js +17 -0
- package/dist/cjs/components/IconButton/index.js.map +1 -0
- package/dist/cjs/components/Menu/Menu.js +9 -0
- package/dist/cjs/components/Menu/Menu.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/IconButton/index.d.ts +2 -0
- package/dist/esm/components/IconButton/index.d.ts.map +1 -0
- package/dist/esm/components/IconButton/index.js +2 -0
- package/dist/esm/components/IconButton/index.js.map +1 -0
- package/dist/esm/components/Menu/Menu.d.ts.map +1 -1
- package/dist/esm/components/Menu/Menu.js +9 -0
- package/dist/esm/components/Menu/Menu.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 +195 -150
- 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
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
})(["display:inline-flex;svg{margin:0 4px;}"]);
|
|
268
268
|
StyledButtonElement.displayName = "StyledButtonElement";
|
|
269
269
|
|
|
270
|
-
var _excluded$
|
|
270
|
+
var _excluded$1b = ["children", "variant", "size", "className"];
|
|
271
271
|
/**
|
|
272
272
|
* Button component
|
|
273
273
|
*/
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
_ref$size = _ref.size,
|
|
279
279
|
size = _ref$size === void 0 ? "medium" : _ref$size,
|
|
280
280
|
className = _ref.className,
|
|
281
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
281
|
+
args = _objectWithoutProperties(_ref, _excluded$1b);
|
|
282
282
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
|
|
283
283
|
className: classNames__default["default"]("c-btn", className, {
|
|
284
284
|
"c-btn--contained": variant === "primary" || variant === "contained",
|
|
@@ -330,12 +330,12 @@
|
|
|
330
330
|
})(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
|
|
331
331
|
StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
|
|
332
332
|
|
|
333
|
-
var _excluded$
|
|
333
|
+
var _excluded$1a = ["className", "disabled"];
|
|
334
334
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
335
335
|
var className = _ref.className,
|
|
336
336
|
_ref$disabled = _ref.disabled,
|
|
337
337
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
338
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
338
|
+
rest = _objectWithoutProperties(_ref, _excluded$1a);
|
|
339
339
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
340
340
|
ref: ref,
|
|
341
341
|
variant: "contained",
|
|
@@ -367,11 +367,11 @@
|
|
|
367
367
|
});
|
|
368
368
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
369
369
|
|
|
370
|
-
var _excluded$
|
|
370
|
+
var _excluded$19 = ["children", "className"];
|
|
371
371
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
372
372
|
var children = _ref.children,
|
|
373
373
|
className = _ref.className,
|
|
374
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
374
|
+
rest = _objectWithoutProperties(_ref, _excluded$19);
|
|
375
375
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
376
376
|
ref: ref,
|
|
377
377
|
className: classNames__default["default"]("c-btn-group", className)
|
|
@@ -431,7 +431,7 @@
|
|
|
431
431
|
return React.useContext(MenuContext);
|
|
432
432
|
};
|
|
433
433
|
|
|
434
|
-
var _excluded$
|
|
434
|
+
var _excluded$18 = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy"];
|
|
435
435
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
436
436
|
var children = _ref.children,
|
|
437
437
|
anchorEl = _ref.anchorEl,
|
|
@@ -444,7 +444,7 @@
|
|
|
444
444
|
initialPlacement = _ref$placement === void 0 ? "bottom" : _ref$placement,
|
|
445
445
|
_ref$strategy = _ref.strategy,
|
|
446
446
|
strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
|
|
447
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
447
|
+
rest = _objectWithoutProperties(_ref, _excluded$18);
|
|
448
448
|
var _useState = React.useState(true),
|
|
449
449
|
_useState2 = _slicedToArray(_useState, 2),
|
|
450
450
|
exited = _useState2[0],
|
|
@@ -533,12 +533,12 @@
|
|
|
533
533
|
});
|
|
534
534
|
StyledOverlay.displayName = "StyledOverlay";
|
|
535
535
|
|
|
536
|
-
var _excluded$
|
|
536
|
+
var _excluded$17 = ["className", "disableBackgroundColor"];
|
|
537
537
|
var Overlay = function Overlay(_ref) {
|
|
538
538
|
var className = _ref.className,
|
|
539
539
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
540
540
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
541
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
541
|
+
rest = _objectWithoutProperties(_ref, _excluded$17);
|
|
542
542
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
543
543
|
className: classNames__default["default"]("c-overlay", className),
|
|
544
544
|
$disableBackgroundColor: disableBackgroundColor
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
|
|
579
579
|
StyledWindow.displayName = "StyledWindow";
|
|
580
580
|
|
|
581
|
-
var _excluded$
|
|
581
|
+
var _excluded$16 = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "disableCloseOnEsc", "onClick"];
|
|
582
582
|
var returnFocus = {
|
|
583
583
|
preventScroll: true
|
|
584
584
|
};
|
|
@@ -595,7 +595,7 @@
|
|
|
595
595
|
_ref$disableCloseOnEs = _ref.disableCloseOnEsc,
|
|
596
596
|
disableCloseOnEsc = _ref$disableCloseOnEs === void 0 ? false : _ref$disableCloseOnEs,
|
|
597
597
|
onClick = _ref.onClick,
|
|
598
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
598
|
+
rest = _objectWithoutProperties(_ref, _excluded$16);
|
|
599
599
|
var innerRef = React.useRef(null);
|
|
600
600
|
var handleRef = useForkRef(innerRef, ref);
|
|
601
601
|
var _useLayerContext = useLayerContext(),
|
|
@@ -662,7 +662,7 @@
|
|
|
662
662
|
}, FontStyle, BoxSizingStyle);
|
|
663
663
|
StyledBubble.displayName = "StyledBubble";
|
|
664
664
|
|
|
665
|
-
var _excluded$
|
|
665
|
+
var _excluded$15 = ["children", "className", "innerRef", "style"];
|
|
666
666
|
var Bubble = function Bubble(_ref) {
|
|
667
667
|
var children = _ref.children,
|
|
668
668
|
className = _ref.className,
|
|
@@ -670,7 +670,7 @@
|
|
|
670
670
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
671
671
|
_ref$style = _ref.style,
|
|
672
672
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
673
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
673
|
+
rest = _objectWithoutProperties(_ref, _excluded$15);
|
|
674
674
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
675
675
|
ref: innerRef,
|
|
676
676
|
className: classNames__default["default"]("c-bubble", className),
|
|
@@ -753,6 +753,7 @@
|
|
|
753
753
|
childNode = _useState4[0],
|
|
754
754
|
setChildNode = _useState4[1];
|
|
755
755
|
var elementRef = React.useRef(null);
|
|
756
|
+
var isOpenAtLeastOnce = React.useRef(false);
|
|
756
757
|
React.useEffect(function () {
|
|
757
758
|
setOpen(defaultOpen);
|
|
758
759
|
}, [defaultOpen]);
|
|
@@ -781,6 +782,14 @@
|
|
|
781
782
|
ref: handleRef,
|
|
782
783
|
onClick: handleOpen
|
|
783
784
|
};
|
|
785
|
+
React.useEffect(function () {
|
|
786
|
+
if (open) {
|
|
787
|
+
isOpenAtLeastOnce.current = true;
|
|
788
|
+
} else if (!open && isOpenAtLeastOnce.current) {
|
|
789
|
+
var _elementRef$current;
|
|
790
|
+
(_elementRef$current = elementRef.current) === null || _elementRef$current === void 0 ? void 0 : _elementRef$current.focus();
|
|
791
|
+
}
|
|
792
|
+
}, [open]);
|
|
784
793
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, target && /*#__PURE__*/React__default["default"].cloneElement(target, targetProps), open ? /*#__PURE__*/React__default["default"].createElement(Window, {
|
|
785
794
|
onClose: handleClose,
|
|
786
795
|
disableScrollLock: !handleScroll,
|
|
@@ -976,7 +985,7 @@
|
|
|
976
985
|
});
|
|
977
986
|
StyledTypography.displayName = "StyledTypography";
|
|
978
987
|
|
|
979
|
-
var _excluded$
|
|
988
|
+
var _excluded$14 = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
980
989
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
981
990
|
var _ref$variant = _ref.variant,
|
|
982
991
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -1007,7 +1016,7 @@
|
|
|
1007
1016
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
1008
1017
|
className = _ref.className,
|
|
1009
1018
|
children = _ref.children,
|
|
1010
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1019
|
+
props = _objectWithoutProperties(_ref, _excluded$14);
|
|
1011
1020
|
var Component = as || "div";
|
|
1012
1021
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
1013
1022
|
as: Component,
|
|
@@ -1030,13 +1039,13 @@
|
|
|
1030
1039
|
});
|
|
1031
1040
|
Typography.displayName = "Typography";
|
|
1032
1041
|
|
|
1033
|
-
var _excluded$
|
|
1042
|
+
var _excluded$13 = ["title", "className", "leftElement", "rightElement"];
|
|
1034
1043
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1035
1044
|
var title = _ref.title,
|
|
1036
1045
|
className = _ref.className,
|
|
1037
1046
|
leftElement = _ref.leftElement,
|
|
1038
1047
|
rightElement = _ref.rightElement,
|
|
1039
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1048
|
+
props = _objectWithoutProperties(_ref, _excluded$13);
|
|
1040
1049
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
1041
1050
|
className: classNames__default["default"]("c-menu-header", className),
|
|
1042
1051
|
ref: ref
|
|
@@ -1061,11 +1070,11 @@
|
|
|
1061
1070
|
});
|
|
1062
1071
|
MenuHeader.displayName = "MenuHeader";
|
|
1063
1072
|
|
|
1064
|
-
var _excluded$
|
|
1073
|
+
var _excluded$12 = ["children", "className"];
|
|
1065
1074
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1066
1075
|
var children = _ref.children,
|
|
1067
1076
|
className = _ref.className,
|
|
1068
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1077
|
+
props = _objectWithoutProperties(_ref, _excluded$12);
|
|
1069
1078
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter$1, _extends({}, props, {
|
|
1070
1079
|
className: classNames__default["default"]("c-menu-footer", className),
|
|
1071
1080
|
ref: ref
|
|
@@ -1089,11 +1098,11 @@
|
|
|
1089
1098
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
1090
1099
|
StyledListSeparator.displayName = "StyledListSeparator";
|
|
1091
1100
|
|
|
1092
|
-
var _excluded$
|
|
1101
|
+
var _excluded$11 = ["children", "className"];
|
|
1093
1102
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1094
1103
|
var children = _ref.children,
|
|
1095
1104
|
className = _ref.className,
|
|
1096
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1105
|
+
props = _objectWithoutProperties(_ref, _excluded$11);
|
|
1097
1106
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({
|
|
1098
1107
|
className: classNames__default["default"]("c-list-item", className),
|
|
1099
1108
|
ref: ref,
|
|
@@ -1102,21 +1111,21 @@
|
|
|
1102
1111
|
});
|
|
1103
1112
|
ListItem.displayName = "ListItem";
|
|
1104
1113
|
|
|
1105
|
-
var _excluded
|
|
1114
|
+
var _excluded$10 = ["className"];
|
|
1106
1115
|
var ListSeparator = function ListSeparator(_ref) {
|
|
1107
1116
|
var className = _ref.className,
|
|
1108
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
1117
|
+
props = _objectWithoutProperties(_ref, _excluded$10);
|
|
1109
1118
|
return /*#__PURE__*/React__default["default"].createElement(StyledListSeparator, _extends({
|
|
1110
1119
|
className: classNames__default["default"]("c-list-separator", className)
|
|
1111
1120
|
}, props));
|
|
1112
1121
|
};
|
|
1113
1122
|
ListSeparator.displayName = "ListSeparator";
|
|
1114
1123
|
|
|
1115
|
-
var _excluded
|
|
1124
|
+
var _excluded$$ = ["children", "className"];
|
|
1116
1125
|
var _List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1117
1126
|
var children = _ref.children,
|
|
1118
1127
|
className = _ref.className,
|
|
1119
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
1128
|
+
props = _objectWithoutProperties(_ref, _excluded$$);
|
|
1120
1129
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({
|
|
1121
1130
|
className: className,
|
|
1122
1131
|
ref: ref,
|
|
@@ -3892,14 +3901,14 @@
|
|
|
3892
3901
|
});
|
|
3893
3902
|
StyledBreadcrumbListItem.displayName = "StyledBreadcrumbListItem";
|
|
3894
3903
|
|
|
3895
|
-
var _excluded$
|
|
3904
|
+
var _excluded$_ = ["children", "className", "separator"];
|
|
3896
3905
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
3897
3906
|
var _dimensions$width, _childDimensions$widt;
|
|
3898
3907
|
var children = _ref.children,
|
|
3899
3908
|
className = _ref.className,
|
|
3900
3909
|
_ref$separator = _ref.separator,
|
|
3901
3910
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
3902
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3911
|
+
rest = _objectWithoutProperties(_ref, _excluded$_);
|
|
3903
3912
|
var internalRef = React.useRef(null);
|
|
3904
3913
|
var listWrapperRef = React.useRef(null);
|
|
3905
3914
|
var olRef = React.useRef(null);
|
|
@@ -4066,10 +4075,10 @@
|
|
|
4066
4075
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
4067
4076
|
});
|
|
4068
4077
|
|
|
4069
|
-
var _excluded$
|
|
4078
|
+
var _excluded$Z = ["children"];
|
|
4070
4079
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
4071
4080
|
var children = _ref.children,
|
|
4072
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4081
|
+
props = _objectWithoutProperties(_ref, _excluded$Z);
|
|
4073
4082
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
4074
4083
|
timeout: 0
|
|
4075
4084
|
}, props), children);
|
|
@@ -4144,12 +4153,12 @@
|
|
|
4144
4153
|
});
|
|
4145
4154
|
Tooltip.displayName = "Tooltip";
|
|
4146
4155
|
|
|
4147
|
-
var _excluded$
|
|
4156
|
+
var _excluded$Y = ["weight", "children"];
|
|
4148
4157
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4149
4158
|
var _ref$weight = _ref.weight,
|
|
4150
4159
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
4151
4160
|
children = _ref.children,
|
|
4152
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4161
|
+
props = _objectWithoutProperties(_ref, _excluded$Y);
|
|
4153
4162
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
4154
4163
|
variant: "Body 2",
|
|
4155
4164
|
weight: weight,
|
|
@@ -4196,7 +4205,7 @@
|
|
|
4196
4205
|
});
|
|
4197
4206
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
4198
4207
|
|
|
4199
|
-
var _excluded$
|
|
4208
|
+
var _excluded$X = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
|
|
4200
4209
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4201
4210
|
var label = _ref.label,
|
|
4202
4211
|
icon = _ref.icon,
|
|
@@ -4206,7 +4215,7 @@
|
|
|
4206
4215
|
tooltipText = _ref.tooltipText,
|
|
4207
4216
|
onClearAll = _ref.onClearAll,
|
|
4208
4217
|
className = _ref.className,
|
|
4209
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
4218
|
+
args = _objectWithoutProperties(_ref, _excluded$X);
|
|
4210
4219
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
4211
4220
|
ref: ref,
|
|
4212
4221
|
className: className
|
|
@@ -4515,7 +4524,7 @@
|
|
|
4515
4524
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
4516
4525
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
4517
4526
|
|
|
4518
|
-
var _excluded$
|
|
4527
|
+
var _excluded$W = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
4519
4528
|
var DatePicker = function DatePicker(_ref) {
|
|
4520
4529
|
var className = _ref.className,
|
|
4521
4530
|
onChange = _ref.onChange,
|
|
@@ -4537,7 +4546,7 @@
|
|
|
4537
4546
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
4538
4547
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
4539
4548
|
defaultModifiers = _ref.modifiers,
|
|
4540
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4549
|
+
rest = _objectWithoutProperties(_ref, _excluded$W);
|
|
4541
4550
|
var _useState = React.useState(),
|
|
4542
4551
|
_useState2 = _slicedToArray(_useState, 2),
|
|
4543
4552
|
enteredTo = _useState2[0],
|
|
@@ -5418,10 +5427,10 @@
|
|
|
5418
5427
|
componentId: "sc-x4ge7a-0"
|
|
5419
5428
|
})(["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);
|
|
5420
5429
|
|
|
5421
|
-
var _excluded$
|
|
5430
|
+
var _excluded$V = ["className"];
|
|
5422
5431
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5423
5432
|
var className = _ref.className,
|
|
5424
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5433
|
+
rest = _objectWithoutProperties(_ref, _excluded$V);
|
|
5425
5434
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
5426
5435
|
ref: ref,
|
|
5427
5436
|
className: classNames__default["default"]("c-loader c-loader--linear", className)
|
|
@@ -5435,10 +5444,10 @@
|
|
|
5435
5444
|
componentId: "sc-1f35d5h-0"
|
|
5436
5445
|
})(["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);
|
|
5437
5446
|
|
|
5438
|
-
var _excluded$
|
|
5447
|
+
var _excluded$U = ["className"];
|
|
5439
5448
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5440
5449
|
var className = _ref.className,
|
|
5441
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5450
|
+
rest = _objectWithoutProperties(_ref, _excluded$U);
|
|
5442
5451
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
5443
5452
|
ref: ref,
|
|
5444
5453
|
className: classNames__default["default"]("c-loader c-loader--dots", className)
|
|
@@ -5460,7 +5469,7 @@
|
|
|
5460
5469
|
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);
|
|
5461
5470
|
});
|
|
5462
5471
|
|
|
5463
|
-
var _excluded$
|
|
5472
|
+
var _excluded$T = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
5464
5473
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5465
5474
|
var _ref$radius = _ref.radius,
|
|
5466
5475
|
radius = _ref$radius === void 0 ? 10 : _ref$radius,
|
|
@@ -5475,7 +5484,7 @@
|
|
|
5475
5484
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
5476
5485
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
5477
5486
|
className = _ref.className,
|
|
5478
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5487
|
+
rest = _objectWithoutProperties(_ref, _excluded$T);
|
|
5479
5488
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader, _extends({
|
|
5480
5489
|
ref: ref,
|
|
5481
5490
|
className: className,
|
|
@@ -5489,7 +5498,7 @@
|
|
|
5489
5498
|
});
|
|
5490
5499
|
SpinnerLoader.displayName = "SpinnerLoader";
|
|
5491
5500
|
|
|
5492
|
-
var _excluded$
|
|
5501
|
+
var _excluded$S = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
|
|
5493
5502
|
exports.SortDirection = void 0;
|
|
5494
5503
|
(function (SortDirection) {
|
|
5495
5504
|
SortDirection["None"] = "none";
|
|
@@ -5537,7 +5546,7 @@
|
|
|
5537
5546
|
loading = _ref.loading,
|
|
5538
5547
|
_ref$loadingRows = _ref.loadingRows,
|
|
5539
5548
|
loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
|
|
5540
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
5549
|
+
args = _objectWithoutProperties(_ref, _excluded$S);
|
|
5541
5550
|
var _useState = React.useState(sortDirection),
|
|
5542
5551
|
_useState2 = _slicedToArray(_useState, 2),
|
|
5543
5552
|
columnDirection = _useState2[0],
|
|
@@ -5939,7 +5948,7 @@
|
|
|
5939
5948
|
});
|
|
5940
5949
|
StyledPaper.displayName = "StyledPaper";
|
|
5941
5950
|
|
|
5942
|
-
var _excluded$
|
|
5951
|
+
var _excluded$R = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
5943
5952
|
/**
|
|
5944
5953
|
* This is a component description and should sit directly above your component
|
|
5945
5954
|
*/
|
|
@@ -5952,7 +5961,7 @@
|
|
|
5952
5961
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
5953
5962
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
5954
5963
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
5955
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5964
|
+
rest = _objectWithoutProperties(_ref, _excluded$R);
|
|
5956
5965
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
5957
5966
|
className: classNames__default["default"](className, {
|
|
5958
5967
|
"ac-shadow--raised--lg": !useOptimizedShadow && hover && type === "paper-1",
|
|
@@ -6005,7 +6014,7 @@
|
|
|
6005
6014
|
});
|
|
6006
6015
|
StyledCard.displayName = "StyledCard";
|
|
6007
6016
|
|
|
6008
|
-
var _excluded$
|
|
6017
|
+
var _excluded$Q = ["children", "className", "hoverable", "paperType"];
|
|
6009
6018
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6010
6019
|
var children = _ref.children,
|
|
6011
6020
|
className = _ref.className,
|
|
@@ -6013,7 +6022,7 @@
|
|
|
6013
6022
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
6014
6023
|
_ref$paperType = _ref.paperType,
|
|
6015
6024
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
6016
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6025
|
+
rest = _objectWithoutProperties(_ref, _excluded$Q);
|
|
6017
6026
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
6018
6027
|
type: paperType,
|
|
6019
6028
|
className: classNames__default["default"]("c-card", className),
|
|
@@ -6092,12 +6101,12 @@
|
|
|
6092
6101
|
});
|
|
6093
6102
|
EntityCard$1.displayName = "EntityCard";
|
|
6094
6103
|
|
|
6095
|
-
var _excluded$
|
|
6104
|
+
var _excluded$P = ["weight", "children"];
|
|
6096
6105
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6097
6106
|
var _ref$weight = _ref.weight,
|
|
6098
6107
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
6099
6108
|
children = _ref.children,
|
|
6100
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6109
|
+
props = _objectWithoutProperties(_ref, _excluded$P);
|
|
6101
6110
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6102
6111
|
weight: weight,
|
|
6103
6112
|
variant: "Title 1",
|
|
@@ -6106,12 +6115,12 @@
|
|
|
6106
6115
|
});
|
|
6107
6116
|
Title1.displayName = "Title1";
|
|
6108
6117
|
|
|
6109
|
-
var _excluded$
|
|
6118
|
+
var _excluded$O = ["weight", "children"];
|
|
6110
6119
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6111
6120
|
var _ref$weight = _ref.weight,
|
|
6112
6121
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
6113
6122
|
children = _ref.children,
|
|
6114
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6123
|
+
props = _objectWithoutProperties(_ref, _excluded$O);
|
|
6115
6124
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6116
6125
|
weight: weight,
|
|
6117
6126
|
variant: "Title 2",
|
|
@@ -6120,10 +6129,10 @@
|
|
|
6120
6129
|
});
|
|
6121
6130
|
Title2.displayName = "Title2";
|
|
6122
6131
|
|
|
6123
|
-
var _excluded$
|
|
6132
|
+
var _excluded$N = ["children"];
|
|
6124
6133
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6125
6134
|
var children = _ref.children,
|
|
6126
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6135
|
+
props = _objectWithoutProperties(_ref, _excluded$N);
|
|
6127
6136
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6128
6137
|
weight: "bold",
|
|
6129
6138
|
variant: "Header 2",
|
|
@@ -6132,10 +6141,10 @@
|
|
|
6132
6141
|
});
|
|
6133
6142
|
Header2.displayName = "Header2";
|
|
6134
6143
|
|
|
6135
|
-
var _excluded$
|
|
6144
|
+
var _excluded$M = ["children"];
|
|
6136
6145
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6137
6146
|
var children = _ref.children,
|
|
6138
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6147
|
+
props = _objectWithoutProperties(_ref, _excluded$M);
|
|
6139
6148
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6140
6149
|
weight: "bold",
|
|
6141
6150
|
variant: "Header 3",
|
|
@@ -6144,12 +6153,12 @@
|
|
|
6144
6153
|
});
|
|
6145
6154
|
Header3.displayName = "Header3";
|
|
6146
6155
|
|
|
6147
|
-
var _excluded$
|
|
6156
|
+
var _excluded$L = ["weight", "children"];
|
|
6148
6157
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6149
6158
|
var _ref$weight = _ref.weight,
|
|
6150
6159
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
6151
6160
|
children = _ref.children,
|
|
6152
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6161
|
+
props = _objectWithoutProperties(_ref, _excluded$L);
|
|
6153
6162
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6154
6163
|
variant: "Body 1",
|
|
6155
6164
|
weight: weight,
|
|
@@ -6158,12 +6167,12 @@
|
|
|
6158
6167
|
});
|
|
6159
6168
|
Body1.displayName = "Body1";
|
|
6160
6169
|
|
|
6161
|
-
var _excluded$
|
|
6170
|
+
var _excluded$K = ["weight", "children"];
|
|
6162
6171
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6163
6172
|
var _ref$weight = _ref.weight,
|
|
6164
6173
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
6165
6174
|
children = _ref.children,
|
|
6166
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6175
|
+
props = _objectWithoutProperties(_ref, _excluded$K);
|
|
6167
6176
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6168
6177
|
variant: "Caption 1",
|
|
6169
6178
|
weight: weight,
|
|
@@ -6172,12 +6181,12 @@
|
|
|
6172
6181
|
});
|
|
6173
6182
|
Caption1.displayName = "Caption1";
|
|
6174
6183
|
|
|
6175
|
-
var _excluded$
|
|
6184
|
+
var _excluded$J = ["weight", "children"];
|
|
6176
6185
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6177
6186
|
var _ref$weight = _ref.weight,
|
|
6178
6187
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
6179
6188
|
children = _ref.children,
|
|
6180
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6189
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
6181
6190
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6182
6191
|
variant: "Caption 2",
|
|
6183
6192
|
weight: weight,
|
|
@@ -6288,7 +6297,7 @@
|
|
|
6288
6297
|
"borderRadius": "9999px"
|
|
6289
6298
|
});
|
|
6290
6299
|
|
|
6291
|
-
var _excluded$
|
|
6300
|
+
var _excluded$I = ["url", "alt", "size", "className"];
|
|
6292
6301
|
var Avatar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6293
6302
|
var url = _ref.url,
|
|
6294
6303
|
_ref$alt = _ref.alt,
|
|
@@ -6296,7 +6305,7 @@
|
|
|
6296
6305
|
_ref$size = _ref.size,
|
|
6297
6306
|
size = _ref$size === void 0 ? 24 : _ref$size,
|
|
6298
6307
|
className = _ref.className,
|
|
6299
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6308
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
6300
6309
|
return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({}, rest, {
|
|
6301
6310
|
ref: ref,
|
|
6302
6311
|
src: url,
|
|
@@ -6317,13 +6326,13 @@
|
|
|
6317
6326
|
return props.$color && styled.css(["background-color:", ";"], props.$color);
|
|
6318
6327
|
});
|
|
6319
6328
|
|
|
6320
|
-
var _excluded$
|
|
6329
|
+
var _excluded$H = ["color", "size", "className"];
|
|
6321
6330
|
var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6322
6331
|
var color = _ref.color,
|
|
6323
6332
|
_ref$size = _ref.size,
|
|
6324
6333
|
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
6325
6334
|
className = _ref.className,
|
|
6326
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6335
|
+
rest = _objectWithoutProperties(_ref, _excluded$H);
|
|
6327
6336
|
return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
|
|
6328
6337
|
className: classNames__default["default"]("c-dot", className),
|
|
6329
6338
|
ref: ref,
|
|
@@ -6360,7 +6369,7 @@
|
|
|
6360
6369
|
});
|
|
6361
6370
|
StyledTagText.displayName = "StyledTagText";
|
|
6362
6371
|
|
|
6363
|
-
var _excluded$
|
|
6372
|
+
var _excluded$G = ["name", "color", "showText", "showDot", "className"];
|
|
6364
6373
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6365
6374
|
var name = _ref.name,
|
|
6366
6375
|
color = _ref.color,
|
|
@@ -6369,7 +6378,7 @@
|
|
|
6369
6378
|
_ref$showDot = _ref.showDot,
|
|
6370
6379
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
6371
6380
|
className = _ref.className,
|
|
6372
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6381
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
6373
6382
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
6374
6383
|
className: classNames__default["default"]("c-tag", className),
|
|
6375
6384
|
ref: ref
|
|
@@ -6489,7 +6498,7 @@
|
|
|
6489
6498
|
}, StyledInput$2, StyledLabel);
|
|
6490
6499
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
6491
6500
|
|
|
6492
|
-
var _excluded$
|
|
6501
|
+
var _excluded$F = ["className", "hover", "id"];
|
|
6493
6502
|
/**
|
|
6494
6503
|
* Checkbox component
|
|
6495
6504
|
*/
|
|
@@ -6498,7 +6507,7 @@
|
|
|
6498
6507
|
hover = _ref.hover,
|
|
6499
6508
|
_ref$id = _ref.id,
|
|
6500
6509
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
6501
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6510
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
6502
6511
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
|
|
6503
6512
|
className: classNames__default["default"]("c-checkbox", {
|
|
6504
6513
|
"c-checkbox__hover": hover,
|
|
@@ -6685,7 +6694,7 @@
|
|
|
6685
6694
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
6686
6695
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
6687
6696
|
|
|
6688
|
-
var _excluded$
|
|
6697
|
+
var _excluded$E = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
6689
6698
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6690
6699
|
var children = _ref.children,
|
|
6691
6700
|
className = _ref.className,
|
|
@@ -6699,7 +6708,7 @@
|
|
|
6699
6708
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
6700
6709
|
innerColor = _ref.innerColor,
|
|
6701
6710
|
outerColor = _ref.outerColor,
|
|
6702
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6711
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
6703
6712
|
var _useState = React.useState({
|
|
6704
6713
|
top: 0,
|
|
6705
6714
|
right: 0,
|
|
@@ -6819,7 +6828,7 @@
|
|
|
6819
6828
|
return height;
|
|
6820
6829
|
};
|
|
6821
6830
|
|
|
6822
|
-
var _excluded$
|
|
6831
|
+
var _excluded$D = ["as", "className", "invert", "style"];
|
|
6823
6832
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6824
6833
|
var _ref$as = _ref.as,
|
|
6825
6834
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -6827,7 +6836,7 @@
|
|
|
6827
6836
|
_ref$invert = _ref.invert,
|
|
6828
6837
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
6829
6838
|
style = _ref.style,
|
|
6830
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6839
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
6831
6840
|
var internalRef = useInitScrollRef(null, invert);
|
|
6832
6841
|
var handleRef = useForkRef(internalRef, ref);
|
|
6833
6842
|
var props = _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
@@ -7301,7 +7310,7 @@
|
|
|
7301
7310
|
});
|
|
7302
7311
|
StyledInput$1.displayName = "StyledInput";
|
|
7303
7312
|
|
|
7304
|
-
var _excluded$
|
|
7313
|
+
var _excluded$C = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef"];
|
|
7305
7314
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7306
7315
|
var _ref$className = _ref.className,
|
|
7307
7316
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -7317,7 +7326,7 @@
|
|
|
7317
7326
|
startAdornment = _ref.startAdornment,
|
|
7318
7327
|
endAdornment = _ref.endAdornment,
|
|
7319
7328
|
wrapRef = _ref.wrapRef,
|
|
7320
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7329
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
7321
7330
|
var intInputRef = React.useRef(null);
|
|
7322
7331
|
var handleRef = useForkRef(ref, intInputRef);
|
|
7323
7332
|
var handleWrapperClick = React.useCallback(function () {
|
|
@@ -7368,14 +7377,14 @@
|
|
|
7368
7377
|
}, StyledRadioLabel);
|
|
7369
7378
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
7370
7379
|
|
|
7371
|
-
var _excluded$
|
|
7380
|
+
var _excluded$B = ["className", "id", "hover"];
|
|
7372
7381
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7373
7382
|
var _ref$className = _ref.className,
|
|
7374
7383
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
7375
7384
|
_ref$id = _ref.id,
|
|
7376
7385
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
7377
7386
|
hover = _ref.hover,
|
|
7378
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7387
|
+
props = _objectWithoutProperties(_ref, _excluded$B);
|
|
7379
7388
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
7380
7389
|
className: classNames__default["default"]("c-radio-btn", {
|
|
7381
7390
|
"c-radio-btn__hover": hover,
|
|
@@ -7467,7 +7476,7 @@
|
|
|
7467
7476
|
};
|
|
7468
7477
|
OptionContent.displayName = "OptionContent";
|
|
7469
7478
|
|
|
7470
|
-
var _excluded$
|
|
7479
|
+
var _excluded$A = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue"];
|
|
7471
7480
|
var Select = function Select(_ref) {
|
|
7472
7481
|
var _ref$type = _ref.type,
|
|
7473
7482
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -7501,7 +7510,7 @@
|
|
|
7501
7510
|
handleDefaultOptionChange = _ref.handleDefaultOptionChange,
|
|
7502
7511
|
_ref$preselectDefault = _ref.preselectDefaultValue,
|
|
7503
7512
|
preselectDefaultValue = _ref$preselectDefault === void 0 ? type === "single" : _ref$preselectDefault,
|
|
7504
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
7513
|
+
prop = _objectWithoutProperties(_ref, _excluded$A);
|
|
7505
7514
|
var _useState = React.useState(),
|
|
7506
7515
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7507
7516
|
childNode = _useState2[0],
|
|
@@ -7745,7 +7754,7 @@
|
|
|
7745
7754
|
});
|
|
7746
7755
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
7747
7756
|
|
|
7748
|
-
var _excluded$
|
|
7757
|
+
var _excluded$z = ["children", "active", "disabled", "className", "role"];
|
|
7749
7758
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7750
7759
|
var children = _ref.children,
|
|
7751
7760
|
_ref$active = _ref.active,
|
|
@@ -7754,7 +7763,7 @@
|
|
|
7754
7763
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7755
7764
|
className = _ref.className,
|
|
7756
7765
|
role = _ref.role,
|
|
7757
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7766
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
7758
7767
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
7759
7768
|
className: classNames__default["default"]("c-nav__item", {
|
|
7760
7769
|
"c-nav__item--active": active
|
|
@@ -7795,11 +7804,11 @@
|
|
|
7795
7804
|
});
|
|
7796
7805
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
7797
7806
|
|
|
7798
|
-
var _excluded$
|
|
7807
|
+
var _excluded$y = ["expanded"];
|
|
7799
7808
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7800
7809
|
var _ref$expanded = _ref.expanded,
|
|
7801
7810
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
7802
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7811
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
7803
7812
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
7804
7813
|
ref: ref,
|
|
7805
7814
|
viewBox: "0 0 24 24",
|
|
@@ -8089,7 +8098,7 @@
|
|
|
8089
8098
|
};
|
|
8090
8099
|
Nav.displayName = "Nav";
|
|
8091
8100
|
|
|
8092
|
-
var _excluded$
|
|
8101
|
+
var _excluded$x = ["children", "as", "disablePointerEvents"];
|
|
8093
8102
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
8094
8103
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
8095
8104
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -8106,7 +8115,7 @@
|
|
|
8106
8115
|
var children = _ref.children,
|
|
8107
8116
|
as = _ref.as,
|
|
8108
8117
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
8109
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8118
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
8110
8119
|
var Component = as || "div";
|
|
8111
8120
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
8112
8121
|
as: Component,
|
|
@@ -8116,11 +8125,11 @@
|
|
|
8116
8125
|
});
|
|
8117
8126
|
InputAdornment.displayName = "InputAdornment";
|
|
8118
8127
|
|
|
8119
|
-
var _excluded$
|
|
8128
|
+
var _excluded$w = ["expanded"];
|
|
8120
8129
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8121
8130
|
var _ref$expanded = _ref.expanded,
|
|
8122
8131
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
8123
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8132
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
8124
8133
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
8125
8134
|
ref: ref,
|
|
8126
8135
|
viewBox: "0 0 24 24"
|
|
@@ -8322,14 +8331,14 @@
|
|
|
8322
8331
|
});
|
|
8323
8332
|
StyledTextarea.displayName = "StyledTextarea";
|
|
8324
8333
|
|
|
8325
|
-
var _excluded$
|
|
8334
|
+
var _excluded$v = ["className", "disabled", "invalid"];
|
|
8326
8335
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8327
8336
|
var className = _ref.className,
|
|
8328
8337
|
_ref$disabled = _ref.disabled,
|
|
8329
8338
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8330
8339
|
_ref$invalid = _ref.invalid,
|
|
8331
8340
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
8332
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8341
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
8333
8342
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
8334
8343
|
$invalid: invalid,
|
|
8335
8344
|
ref: ref,
|
|
@@ -8361,7 +8370,7 @@
|
|
|
8361
8370
|
function () {});
|
|
8362
8371
|
}
|
|
8363
8372
|
|
|
8364
|
-
var _excluded$
|
|
8373
|
+
var _excluded$u = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "disableCloseOnEsc", "open", "onClose"];
|
|
8365
8374
|
var getHasTransition = function getHasTransition(children) {
|
|
8366
8375
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
8367
8376
|
};
|
|
@@ -8380,7 +8389,7 @@
|
|
|
8380
8389
|
_ref$open = _ref.open,
|
|
8381
8390
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
8382
8391
|
onClose = _ref.onClose,
|
|
8383
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8392
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
8384
8393
|
var _useState = React.useState(defaultOpen),
|
|
8385
8394
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8386
8395
|
open = _useState2[0],
|
|
@@ -8514,7 +8523,7 @@
|
|
|
8514
8523
|
});
|
|
8515
8524
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
8516
8525
|
|
|
8517
|
-
var _excluded$
|
|
8526
|
+
var _excluded$t = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
8518
8527
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8519
8528
|
var children = _ref.children,
|
|
8520
8529
|
onClose = _ref.onClose,
|
|
@@ -8538,7 +8547,7 @@
|
|
|
8538
8547
|
bodyClassName = _ref.bodyClassName,
|
|
8539
8548
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
8540
8549
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
8541
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8550
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
8542
8551
|
var _useState = React.useState(defaultOpen),
|
|
8543
8552
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8544
8553
|
open = _useState2[0],
|
|
@@ -8629,13 +8638,13 @@
|
|
|
8629
8638
|
});
|
|
8630
8639
|
StyledHeader.displayName = "StyledHeader";
|
|
8631
8640
|
|
|
8632
|
-
var _excluded$
|
|
8641
|
+
var _excluded$s = ["className", "size", "children"];
|
|
8633
8642
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8634
8643
|
var className = _ref.className,
|
|
8635
8644
|
_ref$size = _ref.size,
|
|
8636
8645
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
8637
8646
|
children = _ref.children,
|
|
8638
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8647
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
8639
8648
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
8640
8649
|
type: "paper-2",
|
|
8641
8650
|
className: classNames__default["default"]("c-header", className),
|
|
@@ -8651,7 +8660,7 @@
|
|
|
8651
8660
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
8652
8661
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
8653
8662
|
|
|
8654
|
-
var _excluded$
|
|
8663
|
+
var _excluded$r = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
8655
8664
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8656
8665
|
var _ref$minRows = _ref.minRows,
|
|
8657
8666
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -8667,7 +8676,7 @@
|
|
|
8667
8676
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
8668
8677
|
onKeyDown = _ref.onKeyDown,
|
|
8669
8678
|
value = _ref.value,
|
|
8670
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8679
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
8671
8680
|
var innerRef = React.useRef(null);
|
|
8672
8681
|
var _useState = React.useState(minRows),
|
|
8673
8682
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8943,7 +8952,7 @@
|
|
|
8943
8952
|
});
|
|
8944
8953
|
StyledChoose.displayName = "StyledChoose";
|
|
8945
8954
|
|
|
8946
|
-
var _excluded$
|
|
8955
|
+
var _excluded$q = ["children", "disabled", "active", "className"];
|
|
8947
8956
|
/**
|
|
8948
8957
|
* Choose component
|
|
8949
8958
|
*/
|
|
@@ -8954,7 +8963,7 @@
|
|
|
8954
8963
|
_ref$active = _ref.active,
|
|
8955
8964
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
8956
8965
|
className = _ref.className,
|
|
8957
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8966
|
+
args = _objectWithoutProperties(_ref, _excluded$q);
|
|
8958
8967
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
8959
8968
|
disabled: disabled,
|
|
8960
8969
|
className: classNames__default["default"]("c-choose", className),
|
|
@@ -9046,21 +9055,21 @@
|
|
|
9046
9055
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
9047
9056
|
StyledLink.displayName = "StyledLink";
|
|
9048
9057
|
|
|
9049
|
-
var _excluded$
|
|
9058
|
+
var _excluded$p = ["children", "className"];
|
|
9050
9059
|
/**
|
|
9051
9060
|
* Back link component
|
|
9052
9061
|
*/
|
|
9053
9062
|
var BackLink = function BackLink(_ref) {
|
|
9054
9063
|
var children = _ref.children,
|
|
9055
9064
|
className = _ref.className,
|
|
9056
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9065
|
+
args = _objectWithoutProperties(_ref, _excluded$p);
|
|
9057
9066
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
9058
9067
|
className: classNames__default["default"]("c-back-link", className)
|
|
9059
9068
|
}, args), children);
|
|
9060
9069
|
};
|
|
9061
9070
|
BackLink.displayName = "BackLink";
|
|
9062
9071
|
|
|
9063
|
-
var _excluded$
|
|
9072
|
+
var _excluded$o = ["as", "children", "variant", "size", "disabled", "className"];
|
|
9064
9073
|
/**
|
|
9065
9074
|
* Link component
|
|
9066
9075
|
*/
|
|
@@ -9073,7 +9082,7 @@
|
|
|
9073
9082
|
_ref$disabled = _ref.disabled,
|
|
9074
9083
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
9075
9084
|
className = _ref.className,
|
|
9076
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9085
|
+
args = _objectWithoutProperties(_ref, _excluded$o);
|
|
9077
9086
|
var Component = as || "a";
|
|
9078
9087
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
9079
9088
|
ref: ref,
|
|
@@ -9184,7 +9193,7 @@
|
|
|
9184
9193
|
})(["padding:20px 30px;", " ", ""], FontStyle, BoxSizingStyle);
|
|
9185
9194
|
StyledDialogActions.displayName = "StyledDialogActions";
|
|
9186
9195
|
|
|
9187
|
-
var _excluded$
|
|
9196
|
+
var _excluded$n = ["children", "className", "disableDefaultHeading"];
|
|
9188
9197
|
// import { useDialogContext } from "./DialogContext";
|
|
9189
9198
|
|
|
9190
9199
|
var DialogTitle = function DialogTitle(_ref) {
|
|
@@ -9192,7 +9201,7 @@
|
|
|
9192
9201
|
className = _ref.className,
|
|
9193
9202
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
9194
9203
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
9195
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9204
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
9196
9205
|
// useDialogContext();
|
|
9197
9206
|
|
|
9198
9207
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
@@ -9201,13 +9210,13 @@
|
|
|
9201
9210
|
};
|
|
9202
9211
|
DialogTitle.displayName = "DialogTitle";
|
|
9203
9212
|
|
|
9204
|
-
var _excluded$
|
|
9213
|
+
var _excluded$m = ["className", "children"];
|
|
9205
9214
|
// import { useDialogContext } from "./DialogContext";
|
|
9206
9215
|
|
|
9207
9216
|
var DialogContent = function DialogContent(_ref) {
|
|
9208
9217
|
var className = _ref.className,
|
|
9209
9218
|
children = _ref.children,
|
|
9210
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9219
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
9211
9220
|
// useDialogContext();
|
|
9212
9221
|
|
|
9213
9222
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
@@ -9228,13 +9237,13 @@
|
|
|
9228
9237
|
};
|
|
9229
9238
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
9230
9239
|
|
|
9231
|
-
var _excluded$
|
|
9240
|
+
var _excluded$l = ["className", "children"];
|
|
9232
9241
|
// import { useDialogContext } from "./DialogContext";
|
|
9233
9242
|
|
|
9234
9243
|
var DialogActions = function DialogActions(_ref) {
|
|
9235
9244
|
var className = _ref.className,
|
|
9236
9245
|
children = _ref.children,
|
|
9237
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9246
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
9238
9247
|
// useDialogContext();
|
|
9239
9248
|
|
|
9240
9249
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
@@ -9488,7 +9497,7 @@
|
|
|
9488
9497
|
});
|
|
9489
9498
|
StyledPressed.displayName = "StyledPressed";
|
|
9490
9499
|
|
|
9491
|
-
var _excluded$
|
|
9500
|
+
var _excluded$k = ["children", "active", "className"];
|
|
9492
9501
|
/**
|
|
9493
9502
|
* Pressed wrapper for button component
|
|
9494
9503
|
*/
|
|
@@ -9497,7 +9506,7 @@
|
|
|
9497
9506
|
_ref$active = _ref.active,
|
|
9498
9507
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
9499
9508
|
className = _ref.className,
|
|
9500
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9509
|
+
args = _objectWithoutProperties(_ref, _excluded$k);
|
|
9501
9510
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
9502
9511
|
active: active,
|
|
9503
9512
|
ref: ref,
|
|
@@ -9950,7 +9959,7 @@
|
|
|
9950
9959
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
9951
9960
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
9952
9961
|
|
|
9953
|
-
var _excluded$
|
|
9962
|
+
var _excluded$j = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
9954
9963
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9955
9964
|
var text = _ref.text,
|
|
9956
9965
|
type = _ref.type,
|
|
@@ -9961,7 +9970,7 @@
|
|
|
9961
9970
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
9962
9971
|
_ref$timeout = _ref.timeout,
|
|
9963
9972
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
9964
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9973
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
9965
9974
|
var handleOnClose = React.useCallback(function () {
|
|
9966
9975
|
if (typeof onClose === "function") {
|
|
9967
9976
|
onClose();
|
|
@@ -9985,7 +9994,7 @@
|
|
|
9985
9994
|
});
|
|
9986
9995
|
ToastMessage.displayName = "ToastMessage";
|
|
9987
9996
|
|
|
9988
|
-
var _excluded$
|
|
9997
|
+
var _excluded$i = ["in", "children", "style", "timeout"];
|
|
9989
9998
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
9990
9999
|
return {
|
|
9991
10000
|
transition: "all ".concat(duration, "ms ease-in-out"),
|
|
@@ -10013,7 +10022,7 @@
|
|
|
10013
10022
|
style = _ref.style,
|
|
10014
10023
|
_ref$timeout = _ref.timeout,
|
|
10015
10024
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
10016
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10025
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
10017
10026
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10018
10027
|
appear: true,
|
|
10019
10028
|
in: inProp,
|
|
@@ -10028,7 +10037,7 @@
|
|
|
10028
10037
|
};
|
|
10029
10038
|
Fade.displayName = "Fade";
|
|
10030
10039
|
|
|
10031
|
-
var _excluded$
|
|
10040
|
+
var _excluded$h = ["in", "children", "style", "timeout", "initialDirection"];
|
|
10032
10041
|
var Slide = function Slide(_ref) {
|
|
10033
10042
|
var _ref$in = _ref.in,
|
|
10034
10043
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -10038,7 +10047,7 @@
|
|
|
10038
10047
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
10039
10048
|
_ref$initialDirection = _ref.initialDirection,
|
|
10040
10049
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
10041
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10050
|
+
rest = _objectWithoutProperties(_ref, _excluded$h);
|
|
10042
10051
|
var directionSign;
|
|
10043
10052
|
switch (initialDirection) {
|
|
10044
10053
|
case "right":
|
|
@@ -10091,12 +10100,12 @@
|
|
|
10091
10100
|
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;}"]);
|
|
10092
10101
|
});
|
|
10093
10102
|
|
|
10094
|
-
var _excluded$
|
|
10103
|
+
var _excluded$g = ["children", "direction"];
|
|
10095
10104
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
10096
10105
|
var children = _ref.children,
|
|
10097
10106
|
_ref$direction = _ref.direction,
|
|
10098
10107
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
10099
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10108
|
+
props = _objectWithoutProperties(_ref, _excluded$g);
|
|
10100
10109
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
10101
10110
|
timeout: 200,
|
|
10102
10111
|
classNames: "c-slide",
|
|
@@ -10139,7 +10148,7 @@
|
|
|
10139
10148
|
};
|
|
10140
10149
|
ResizeTransition.displayName = "ResizeTransition";
|
|
10141
10150
|
|
|
10142
|
-
var _excluded$
|
|
10151
|
+
var _excluded$f = ["in", "children", "style", "timeout"];
|
|
10143
10152
|
var defaultStyle = function defaultStyle(duration) {
|
|
10144
10153
|
return {
|
|
10145
10154
|
transition: "all ".concat(duration, "ms ease-in"),
|
|
@@ -10173,7 +10182,7 @@
|
|
|
10173
10182
|
style = _ref.style,
|
|
10174
10183
|
_ref$timeout = _ref.timeout,
|
|
10175
10184
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
10176
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10185
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
10177
10186
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10178
10187
|
appear: true,
|
|
10179
10188
|
in: inProp,
|
|
@@ -10247,7 +10256,7 @@
|
|
|
10247
10256
|
});
|
|
10248
10257
|
StyledValueButton.displayName = "StyledValueButton";
|
|
10249
10258
|
|
|
10250
|
-
var _excluded$
|
|
10259
|
+
var _excluded$e = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
10251
10260
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10252
10261
|
var _ref$active = _ref.active,
|
|
10253
10262
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -10256,7 +10265,7 @@
|
|
|
10256
10265
|
icon = _ref.icon,
|
|
10257
10266
|
label = _ref.label,
|
|
10258
10267
|
value = _ref.value,
|
|
10259
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10268
|
+
args = _objectWithoutProperties(_ref, _excluded$e);
|
|
10260
10269
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
10261
10270
|
className: "c-value-button"
|
|
10262
10271
|
}, args, {
|
|
@@ -10285,12 +10294,12 @@
|
|
|
10285
10294
|
})(["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;}"]);
|
|
10286
10295
|
StyledButton.displayName = "StyledButton";
|
|
10287
10296
|
|
|
10288
|
-
var _excluded$
|
|
10297
|
+
var _excluded$d = ["children", "type"];
|
|
10289
10298
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10290
10299
|
var children = _ref.children,
|
|
10291
10300
|
_ref$type = _ref.type,
|
|
10292
10301
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
10293
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10302
|
+
rest = _objectWithoutProperties(_ref, _excluded$d);
|
|
10294
10303
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
10295
10304
|
ref: ref,
|
|
10296
10305
|
role: "button",
|
|
@@ -10336,7 +10345,7 @@
|
|
|
10336
10345
|
});
|
|
10337
10346
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
10338
10347
|
|
|
10339
|
-
var _excluded$
|
|
10348
|
+
var _excluded$c = ["children", "type", "size", "invalid", "open", "endAdornment"];
|
|
10340
10349
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10341
10350
|
var children = _ref.children,
|
|
10342
10351
|
_ref$type = _ref.type,
|
|
@@ -10348,7 +10357,7 @@
|
|
|
10348
10357
|
_ref$open = _ref.open,
|
|
10349
10358
|
open = _ref$open === void 0 ? false : _ref$open,
|
|
10350
10359
|
endAdornment = _ref.endAdornment,
|
|
10351
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10360
|
+
rest = _objectWithoutProperties(_ref, _excluded$c);
|
|
10352
10361
|
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
10353
10362
|
ref: ref,
|
|
10354
10363
|
role: "button",
|
|
@@ -10395,11 +10404,11 @@
|
|
|
10395
10404
|
});
|
|
10396
10405
|
StyledToggle.displayName = "StyledToggle";
|
|
10397
10406
|
|
|
10398
|
-
var _excluded$
|
|
10407
|
+
var _excluded$b = ["hovered", "className"];
|
|
10399
10408
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10400
10409
|
var hovered = _ref.hovered,
|
|
10401
10410
|
className = _ref.className,
|
|
10402
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10411
|
+
args = _objectWithoutProperties(_ref, _excluded$b);
|
|
10403
10412
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
10404
10413
|
className: classNames__default["default"]("c-toggle", className),
|
|
10405
10414
|
$isHovered: hovered,
|
|
@@ -10552,7 +10561,7 @@
|
|
|
10552
10561
|
});
|
|
10553
10562
|
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
10554
10563
|
|
|
10555
|
-
var _excluded$
|
|
10564
|
+
var _excluded$a = ["leftAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "variant", "typographyProps"];
|
|
10556
10565
|
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
10557
10566
|
var leftAdornment = _ref.leftAdornment,
|
|
10558
10567
|
label = _ref.label,
|
|
@@ -10564,7 +10573,7 @@
|
|
|
10564
10573
|
closeClassName = _ref.closeClassName,
|
|
10565
10574
|
variant = _ref.variant,
|
|
10566
10575
|
typographyProps = _ref.typographyProps,
|
|
10567
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10576
|
+
rest = _objectWithoutProperties(_ref, _excluded$a);
|
|
10568
10577
|
var showClose = typeof onClose === "function";
|
|
10569
10578
|
var _variant = React.useMemo(function () {
|
|
10570
10579
|
if (typeof variant !== "undefined") {
|
|
@@ -10631,7 +10640,7 @@
|
|
|
10631
10640
|
return condition ? wrap(children) : children;
|
|
10632
10641
|
};
|
|
10633
10642
|
|
|
10634
|
-
var _excluded$
|
|
10643
|
+
var _excluded$9 = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid", "type", "renderChip", "forceCloseMenu", "renderOption", "limitChips", "hiddenNumberText", "inPortal", "inputWrapperClassName", "scrollWrapper"];
|
|
10635
10644
|
var ComboBox = function ComboBox(_ref) {
|
|
10636
10645
|
var _comboBoxRef$current2, _comboBoxRef$current3;
|
|
10637
10646
|
var _ref$options = _ref.options,
|
|
@@ -10662,7 +10671,7 @@
|
|
|
10662
10671
|
inPortal = _ref$inPortal === void 0 ? false : _ref$inPortal,
|
|
10663
10672
|
inputWrapperClassName = _ref.inputWrapperClassName,
|
|
10664
10673
|
scrollWrapper = _ref.scrollWrapper,
|
|
10665
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
10674
|
+
prop = _objectWithoutProperties(_ref, _excluded$9);
|
|
10666
10675
|
var selectedName = React.useMemo(function () {
|
|
10667
10676
|
var value = "";
|
|
10668
10677
|
if (!selected) {
|
|
@@ -11015,11 +11024,11 @@
|
|
|
11015
11024
|
})(["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);
|
|
11016
11025
|
StyledAddToListButton.displayName = "StyledAddToListButton";
|
|
11017
11026
|
|
|
11018
|
-
var _excluded$
|
|
11027
|
+
var _excluded$8 = ["text", "className"];
|
|
11019
11028
|
var AddToListButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11020
11029
|
var text = _ref.text,
|
|
11021
11030
|
className = _ref.className,
|
|
11022
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11031
|
+
rest = _objectWithoutProperties(_ref, _excluded$8);
|
|
11023
11032
|
return /*#__PURE__*/React__default["default"].createElement(StyledAddToListButton, _extends({
|
|
11024
11033
|
ref: ref,
|
|
11025
11034
|
className: classNames__default["default"]("c--add-to-list-btn", className)
|
|
@@ -11415,7 +11424,7 @@
|
|
|
11415
11424
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
11416
11425
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
11417
11426
|
|
|
11418
|
-
var _excluded$
|
|
11427
|
+
var _excluded$7 = ["invalid", "required", "size", "children", "className", "weight"];
|
|
11419
11428
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11420
11429
|
var _ref$invalid = _ref.invalid,
|
|
11421
11430
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -11427,7 +11436,7 @@
|
|
|
11427
11436
|
className = _ref.className,
|
|
11428
11437
|
_ref$weight = _ref.weight,
|
|
11429
11438
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
11430
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11439
|
+
props = _objectWithoutProperties(_ref, _excluded$7);
|
|
11431
11440
|
var color = invalid ? "alert" : "primary";
|
|
11432
11441
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
11433
11442
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
@@ -11585,7 +11594,7 @@
|
|
|
11585
11594
|
});
|
|
11586
11595
|
StyledInput.displayName = "StyledInput";
|
|
11587
11596
|
|
|
11588
|
-
var _excluded$
|
|
11597
|
+
var _excluded$6 = ["className", "variant", "weight", "disabled", "inputProps", "wrapRef"];
|
|
11589
11598
|
var EditableContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11590
11599
|
var className = _ref.className,
|
|
11591
11600
|
_ref$variant = _ref.variant,
|
|
@@ -11595,7 +11604,7 @@
|
|
|
11595
11604
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11596
11605
|
inputProps = _ref.inputProps,
|
|
11597
11606
|
wrapRef = _ref.wrapRef,
|
|
11598
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11607
|
+
props = _objectWithoutProperties(_ref, _excluded$6);
|
|
11599
11608
|
var intInputRef = React.useRef(null);
|
|
11600
11609
|
var handleRef = useForkRef(ref, intInputRef);
|
|
11601
11610
|
var handleBlur = React.useCallback(function (evt) {
|
|
@@ -11624,13 +11633,13 @@
|
|
|
11624
11633
|
});
|
|
11625
11634
|
EditableContent.displayName = "EditableContent";
|
|
11626
11635
|
|
|
11627
|
-
var _excluded$
|
|
11636
|
+
var _excluded$5 = ["onSave", "onCancel", "value", "inputProps"];
|
|
11628
11637
|
var EditableText = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11629
11638
|
var onSave = _ref.onSave,
|
|
11630
11639
|
onCancel = _ref.onCancel,
|
|
11631
11640
|
value = _ref.value,
|
|
11632
11641
|
inputProps = _ref.inputProps,
|
|
11633
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11642
|
+
props = _objectWithoutProperties(_ref, _excluded$5);
|
|
11634
11643
|
var _useState = React.useState(value),
|
|
11635
11644
|
_useState2 = _slicedToArray(_useState, 2),
|
|
11636
11645
|
currentValue = _useState2[0],
|
|
@@ -11688,11 +11697,11 @@
|
|
|
11688
11697
|
});
|
|
11689
11698
|
EditableText.displayName = "EditableText";
|
|
11690
11699
|
|
|
11691
|
-
var _excluded$
|
|
11700
|
+
var _excluded$4 = ["withDocuments"];
|
|
11692
11701
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
11693
11702
|
var _ref$withDocuments = _ref.withDocuments,
|
|
11694
11703
|
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
11695
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11704
|
+
props = _objectWithoutProperties(_ref, _excluded$4);
|
|
11696
11705
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
11697
11706
|
width: 100,
|
|
11698
11707
|
height: 100,
|
|
@@ -11835,7 +11844,7 @@
|
|
|
11835
11844
|
return $renderAs === "list" && styled.css(["justify-self:flex-end;"]);
|
|
11836
11845
|
});
|
|
11837
11846
|
|
|
11838
|
-
var _excluded$
|
|
11847
|
+
var _excluded$3 = ["children", "gap", "renderAs"];
|
|
11839
11848
|
var EntityGroupContext = /*#__PURE__*/React__default["default"].createContext({
|
|
11840
11849
|
renderAs: "grid"
|
|
11841
11850
|
});
|
|
@@ -11844,7 +11853,7 @@
|
|
|
11844
11853
|
gap = _ref.gap,
|
|
11845
11854
|
_ref$renderAs = _ref.renderAs,
|
|
11846
11855
|
renderAs = _ref$renderAs === void 0 ? "grid" : _ref$renderAs,
|
|
11847
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11856
|
+
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
11848
11857
|
return /*#__PURE__*/React__default["default"].createElement(EntityGroupContext.Provider, {
|
|
11849
11858
|
value: {
|
|
11850
11859
|
renderAs: renderAs
|
|
@@ -11856,14 +11865,14 @@
|
|
|
11856
11865
|
};
|
|
11857
11866
|
EntityGroup.displayName = "EntityGroup";
|
|
11858
11867
|
|
|
11859
|
-
var _excluded$
|
|
11868
|
+
var _excluded$2 = ["children", "isCollection", "background", "className", "as"];
|
|
11860
11869
|
var EntityCard = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11861
11870
|
var children = _ref.children,
|
|
11862
11871
|
isCollection = _ref.isCollection,
|
|
11863
11872
|
background = _ref.background,
|
|
11864
11873
|
className = _ref.className,
|
|
11865
11874
|
as = _ref.as,
|
|
11866
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11875
|
+
rest = _objectWithoutProperties(_ref, _excluded$2);
|
|
11867
11876
|
var _useContext = React.useContext(EntityGroupContext),
|
|
11868
11877
|
renderAs = _useContext.renderAs;
|
|
11869
11878
|
var classSuffix = "c-entity-card-".concat(renderAs);
|
|
@@ -11882,13 +11891,13 @@
|
|
|
11882
11891
|
});
|
|
11883
11892
|
EntityCard.displayName = "EntityCard";
|
|
11884
11893
|
|
|
11885
|
-
var _excluded = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
11894
|
+
var _excluded$1 = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
11886
11895
|
var EntityProperty = function EntityProperty(_ref) {
|
|
11887
11896
|
var listOrder = _ref.listOrder,
|
|
11888
11897
|
listWidth = _ref.listWidth,
|
|
11889
11898
|
visibleFromBreakpoint = _ref.visibleFromBreakpoint,
|
|
11890
11899
|
className = _ref.className,
|
|
11891
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
11900
|
+
props = _objectWithoutProperties(_ref, _excluded$1);
|
|
11892
11901
|
var _useContext = React.useContext(EntityGroupContext),
|
|
11893
11902
|
renderAs = _useContext.renderAs;
|
|
11894
11903
|
var classSuffix = "c-entity-property-".concat(renderAs);
|
|
@@ -12377,6 +12386,41 @@
|
|
|
12377
12386
|
});
|
|
12378
12387
|
Wizard.displayName = "Wizard";
|
|
12379
12388
|
|
|
12389
|
+
var StyledIconButton = styled__default["default"](Button).withConfig({
|
|
12390
|
+
displayName: "Styles__StyledIconButton",
|
|
12391
|
+
componentId: "sc-1teza2f-0"
|
|
12392
|
+
})(["display:flex;justify-content:center;align-items:center;padding:0;width:32px;", " ", ""], function (_ref) {
|
|
12393
|
+
var size = _ref.size;
|
|
12394
|
+
return size === "small" && styled.css(["width:24px;"]);
|
|
12395
|
+
}, function (_ref2) {
|
|
12396
|
+
var size = _ref2.size;
|
|
12397
|
+
return size === "big" && styled.css(["width:40px;"]);
|
|
12398
|
+
});
|
|
12399
|
+
|
|
12400
|
+
var _excluded = ["children", "className", "variant", "size"];
|
|
12401
|
+
|
|
12402
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
12403
|
+
|
|
12404
|
+
var IconButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12405
|
+
var children = _ref.children,
|
|
12406
|
+
className = _ref.className,
|
|
12407
|
+
variant = _ref.variant,
|
|
12408
|
+
size = _ref.size,
|
|
12409
|
+
args = _objectWithoutProperties(_ref, _excluded);
|
|
12410
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledIconButton, _extends({
|
|
12411
|
+
className: classNames__default["default"]("c-btn--icon-only", className),
|
|
12412
|
+
variant: variant,
|
|
12413
|
+
size: size,
|
|
12414
|
+
ref: ref
|
|
12415
|
+
}, args), React.Children.map(children, function (child) {
|
|
12416
|
+
if (! /*#__PURE__*/React.isValidElement(child)) {
|
|
12417
|
+
return null;
|
|
12418
|
+
}
|
|
12419
|
+
return child;
|
|
12420
|
+
}));
|
|
12421
|
+
});
|
|
12422
|
+
IconButton.displayName = "IconButton";
|
|
12423
|
+
|
|
12380
12424
|
exports.Accordion = Accordion;
|
|
12381
12425
|
exports.AccordionContext = AccordionContext;
|
|
12382
12426
|
exports.AccordionItem = AccordionItem;
|
|
@@ -12499,6 +12543,7 @@
|
|
|
12499
12543
|
exports.Header3 = Header3;
|
|
12500
12544
|
exports.HeartIcon = HeartIcon$1;
|
|
12501
12545
|
exports.HelpIcon = HelpIcon$1;
|
|
12546
|
+
exports.IconButton = IconButton;
|
|
12502
12547
|
exports.ImageIcon = ImageIcon$1;
|
|
12503
12548
|
exports.InfoIcon = InfoIcon$1;
|
|
12504
12549
|
exports.InfoSmallIcon = InfoSmallIcon$1;
|