@activecollab/components 1.0.221 → 1.0.222
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/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/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 +186 -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),
|
|
@@ -976,7 +976,7 @@
|
|
|
976
976
|
});
|
|
977
977
|
StyledTypography.displayName = "StyledTypography";
|
|
978
978
|
|
|
979
|
-
var _excluded$
|
|
979
|
+
var _excluded$14 = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
980
980
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
981
981
|
var _ref$variant = _ref.variant,
|
|
982
982
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -1007,7 +1007,7 @@
|
|
|
1007
1007
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
1008
1008
|
className = _ref.className,
|
|
1009
1009
|
children = _ref.children,
|
|
1010
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1010
|
+
props = _objectWithoutProperties(_ref, _excluded$14);
|
|
1011
1011
|
var Component = as || "div";
|
|
1012
1012
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
1013
1013
|
as: Component,
|
|
@@ -1030,13 +1030,13 @@
|
|
|
1030
1030
|
});
|
|
1031
1031
|
Typography.displayName = "Typography";
|
|
1032
1032
|
|
|
1033
|
-
var _excluded$
|
|
1033
|
+
var _excluded$13 = ["title", "className", "leftElement", "rightElement"];
|
|
1034
1034
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1035
1035
|
var title = _ref.title,
|
|
1036
1036
|
className = _ref.className,
|
|
1037
1037
|
leftElement = _ref.leftElement,
|
|
1038
1038
|
rightElement = _ref.rightElement,
|
|
1039
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1039
|
+
props = _objectWithoutProperties(_ref, _excluded$13);
|
|
1040
1040
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
1041
1041
|
className: classNames__default["default"]("c-menu-header", className),
|
|
1042
1042
|
ref: ref
|
|
@@ -1061,11 +1061,11 @@
|
|
|
1061
1061
|
});
|
|
1062
1062
|
MenuHeader.displayName = "MenuHeader";
|
|
1063
1063
|
|
|
1064
|
-
var _excluded$
|
|
1064
|
+
var _excluded$12 = ["children", "className"];
|
|
1065
1065
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1066
1066
|
var children = _ref.children,
|
|
1067
1067
|
className = _ref.className,
|
|
1068
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1068
|
+
props = _objectWithoutProperties(_ref, _excluded$12);
|
|
1069
1069
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter$1, _extends({}, props, {
|
|
1070
1070
|
className: classNames__default["default"]("c-menu-footer", className),
|
|
1071
1071
|
ref: ref
|
|
@@ -1089,11 +1089,11 @@
|
|
|
1089
1089
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
1090
1090
|
StyledListSeparator.displayName = "StyledListSeparator";
|
|
1091
1091
|
|
|
1092
|
-
var _excluded$
|
|
1092
|
+
var _excluded$11 = ["children", "className"];
|
|
1093
1093
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1094
1094
|
var children = _ref.children,
|
|
1095
1095
|
className = _ref.className,
|
|
1096
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1096
|
+
props = _objectWithoutProperties(_ref, _excluded$11);
|
|
1097
1097
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({
|
|
1098
1098
|
className: classNames__default["default"]("c-list-item", className),
|
|
1099
1099
|
ref: ref,
|
|
@@ -1102,21 +1102,21 @@
|
|
|
1102
1102
|
});
|
|
1103
1103
|
ListItem.displayName = "ListItem";
|
|
1104
1104
|
|
|
1105
|
-
var _excluded
|
|
1105
|
+
var _excluded$10 = ["className"];
|
|
1106
1106
|
var ListSeparator = function ListSeparator(_ref) {
|
|
1107
1107
|
var className = _ref.className,
|
|
1108
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
1108
|
+
props = _objectWithoutProperties(_ref, _excluded$10);
|
|
1109
1109
|
return /*#__PURE__*/React__default["default"].createElement(StyledListSeparator, _extends({
|
|
1110
1110
|
className: classNames__default["default"]("c-list-separator", className)
|
|
1111
1111
|
}, props));
|
|
1112
1112
|
};
|
|
1113
1113
|
ListSeparator.displayName = "ListSeparator";
|
|
1114
1114
|
|
|
1115
|
-
var _excluded
|
|
1115
|
+
var _excluded$$ = ["children", "className"];
|
|
1116
1116
|
var _List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1117
1117
|
var children = _ref.children,
|
|
1118
1118
|
className = _ref.className,
|
|
1119
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
1119
|
+
props = _objectWithoutProperties(_ref, _excluded$$);
|
|
1120
1120
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({
|
|
1121
1121
|
className: className,
|
|
1122
1122
|
ref: ref,
|
|
@@ -3892,14 +3892,14 @@
|
|
|
3892
3892
|
});
|
|
3893
3893
|
StyledBreadcrumbListItem.displayName = "StyledBreadcrumbListItem";
|
|
3894
3894
|
|
|
3895
|
-
var _excluded$
|
|
3895
|
+
var _excluded$_ = ["children", "className", "separator"];
|
|
3896
3896
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
3897
3897
|
var _dimensions$width, _childDimensions$widt;
|
|
3898
3898
|
var children = _ref.children,
|
|
3899
3899
|
className = _ref.className,
|
|
3900
3900
|
_ref$separator = _ref.separator,
|
|
3901
3901
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
3902
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3902
|
+
rest = _objectWithoutProperties(_ref, _excluded$_);
|
|
3903
3903
|
var internalRef = React.useRef(null);
|
|
3904
3904
|
var listWrapperRef = React.useRef(null);
|
|
3905
3905
|
var olRef = React.useRef(null);
|
|
@@ -4066,10 +4066,10 @@
|
|
|
4066
4066
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
4067
4067
|
});
|
|
4068
4068
|
|
|
4069
|
-
var _excluded$
|
|
4069
|
+
var _excluded$Z = ["children"];
|
|
4070
4070
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
4071
4071
|
var children = _ref.children,
|
|
4072
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4072
|
+
props = _objectWithoutProperties(_ref, _excluded$Z);
|
|
4073
4073
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
4074
4074
|
timeout: 0
|
|
4075
4075
|
}, props), children);
|
|
@@ -4144,12 +4144,12 @@
|
|
|
4144
4144
|
});
|
|
4145
4145
|
Tooltip.displayName = "Tooltip";
|
|
4146
4146
|
|
|
4147
|
-
var _excluded$
|
|
4147
|
+
var _excluded$Y = ["weight", "children"];
|
|
4148
4148
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4149
4149
|
var _ref$weight = _ref.weight,
|
|
4150
4150
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
4151
4151
|
children = _ref.children,
|
|
4152
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4152
|
+
props = _objectWithoutProperties(_ref, _excluded$Y);
|
|
4153
4153
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
4154
4154
|
variant: "Body 2",
|
|
4155
4155
|
weight: weight,
|
|
@@ -4196,7 +4196,7 @@
|
|
|
4196
4196
|
});
|
|
4197
4197
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
4198
4198
|
|
|
4199
|
-
var _excluded$
|
|
4199
|
+
var _excluded$X = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
|
|
4200
4200
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4201
4201
|
var label = _ref.label,
|
|
4202
4202
|
icon = _ref.icon,
|
|
@@ -4206,7 +4206,7 @@
|
|
|
4206
4206
|
tooltipText = _ref.tooltipText,
|
|
4207
4207
|
onClearAll = _ref.onClearAll,
|
|
4208
4208
|
className = _ref.className,
|
|
4209
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
4209
|
+
args = _objectWithoutProperties(_ref, _excluded$X);
|
|
4210
4210
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
4211
4211
|
ref: ref,
|
|
4212
4212
|
className: className
|
|
@@ -4515,7 +4515,7 @@
|
|
|
4515
4515
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
4516
4516
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
4517
4517
|
|
|
4518
|
-
var _excluded$
|
|
4518
|
+
var _excluded$W = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
4519
4519
|
var DatePicker = function DatePicker(_ref) {
|
|
4520
4520
|
var className = _ref.className,
|
|
4521
4521
|
onChange = _ref.onChange,
|
|
@@ -4537,7 +4537,7 @@
|
|
|
4537
4537
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
4538
4538
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
4539
4539
|
defaultModifiers = _ref.modifiers,
|
|
4540
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4540
|
+
rest = _objectWithoutProperties(_ref, _excluded$W);
|
|
4541
4541
|
var _useState = React.useState(),
|
|
4542
4542
|
_useState2 = _slicedToArray(_useState, 2),
|
|
4543
4543
|
enteredTo = _useState2[0],
|
|
@@ -5418,10 +5418,10 @@
|
|
|
5418
5418
|
componentId: "sc-x4ge7a-0"
|
|
5419
5419
|
})(["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
5420
|
|
|
5421
|
-
var _excluded$
|
|
5421
|
+
var _excluded$V = ["className"];
|
|
5422
5422
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5423
5423
|
var className = _ref.className,
|
|
5424
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5424
|
+
rest = _objectWithoutProperties(_ref, _excluded$V);
|
|
5425
5425
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
5426
5426
|
ref: ref,
|
|
5427
5427
|
className: classNames__default["default"]("c-loader c-loader--linear", className)
|
|
@@ -5435,10 +5435,10 @@
|
|
|
5435
5435
|
componentId: "sc-1f35d5h-0"
|
|
5436
5436
|
})(["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
5437
|
|
|
5438
|
-
var _excluded$
|
|
5438
|
+
var _excluded$U = ["className"];
|
|
5439
5439
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5440
5440
|
var className = _ref.className,
|
|
5441
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5441
|
+
rest = _objectWithoutProperties(_ref, _excluded$U);
|
|
5442
5442
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
5443
5443
|
ref: ref,
|
|
5444
5444
|
className: classNames__default["default"]("c-loader c-loader--dots", className)
|
|
@@ -5460,7 +5460,7 @@
|
|
|
5460
5460
|
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
5461
|
});
|
|
5462
5462
|
|
|
5463
|
-
var _excluded$
|
|
5463
|
+
var _excluded$T = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
5464
5464
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5465
5465
|
var _ref$radius = _ref.radius,
|
|
5466
5466
|
radius = _ref$radius === void 0 ? 10 : _ref$radius,
|
|
@@ -5475,7 +5475,7 @@
|
|
|
5475
5475
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
5476
5476
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
5477
5477
|
className = _ref.className,
|
|
5478
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5478
|
+
rest = _objectWithoutProperties(_ref, _excluded$T);
|
|
5479
5479
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader, _extends({
|
|
5480
5480
|
ref: ref,
|
|
5481
5481
|
className: className,
|
|
@@ -5489,7 +5489,7 @@
|
|
|
5489
5489
|
});
|
|
5490
5490
|
SpinnerLoader.displayName = "SpinnerLoader";
|
|
5491
5491
|
|
|
5492
|
-
var _excluded$
|
|
5492
|
+
var _excluded$S = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
|
|
5493
5493
|
exports.SortDirection = void 0;
|
|
5494
5494
|
(function (SortDirection) {
|
|
5495
5495
|
SortDirection["None"] = "none";
|
|
@@ -5537,7 +5537,7 @@
|
|
|
5537
5537
|
loading = _ref.loading,
|
|
5538
5538
|
_ref$loadingRows = _ref.loadingRows,
|
|
5539
5539
|
loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
|
|
5540
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
5540
|
+
args = _objectWithoutProperties(_ref, _excluded$S);
|
|
5541
5541
|
var _useState = React.useState(sortDirection),
|
|
5542
5542
|
_useState2 = _slicedToArray(_useState, 2),
|
|
5543
5543
|
columnDirection = _useState2[0],
|
|
@@ -5939,7 +5939,7 @@
|
|
|
5939
5939
|
});
|
|
5940
5940
|
StyledPaper.displayName = "StyledPaper";
|
|
5941
5941
|
|
|
5942
|
-
var _excluded$
|
|
5942
|
+
var _excluded$R = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
5943
5943
|
/**
|
|
5944
5944
|
* This is a component description and should sit directly above your component
|
|
5945
5945
|
*/
|
|
@@ -5952,7 +5952,7 @@
|
|
|
5952
5952
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
5953
5953
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
5954
5954
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
5955
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5955
|
+
rest = _objectWithoutProperties(_ref, _excluded$R);
|
|
5956
5956
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
5957
5957
|
className: classNames__default["default"](className, {
|
|
5958
5958
|
"ac-shadow--raised--lg": !useOptimizedShadow && hover && type === "paper-1",
|
|
@@ -6005,7 +6005,7 @@
|
|
|
6005
6005
|
});
|
|
6006
6006
|
StyledCard.displayName = "StyledCard";
|
|
6007
6007
|
|
|
6008
|
-
var _excluded$
|
|
6008
|
+
var _excluded$Q = ["children", "className", "hoverable", "paperType"];
|
|
6009
6009
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6010
6010
|
var children = _ref.children,
|
|
6011
6011
|
className = _ref.className,
|
|
@@ -6013,7 +6013,7 @@
|
|
|
6013
6013
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
6014
6014
|
_ref$paperType = _ref.paperType,
|
|
6015
6015
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
6016
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6016
|
+
rest = _objectWithoutProperties(_ref, _excluded$Q);
|
|
6017
6017
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
6018
6018
|
type: paperType,
|
|
6019
6019
|
className: classNames__default["default"]("c-card", className),
|
|
@@ -6092,12 +6092,12 @@
|
|
|
6092
6092
|
});
|
|
6093
6093
|
EntityCard$1.displayName = "EntityCard";
|
|
6094
6094
|
|
|
6095
|
-
var _excluded$
|
|
6095
|
+
var _excluded$P = ["weight", "children"];
|
|
6096
6096
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6097
6097
|
var _ref$weight = _ref.weight,
|
|
6098
6098
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
6099
6099
|
children = _ref.children,
|
|
6100
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6100
|
+
props = _objectWithoutProperties(_ref, _excluded$P);
|
|
6101
6101
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6102
6102
|
weight: weight,
|
|
6103
6103
|
variant: "Title 1",
|
|
@@ -6106,12 +6106,12 @@
|
|
|
6106
6106
|
});
|
|
6107
6107
|
Title1.displayName = "Title1";
|
|
6108
6108
|
|
|
6109
|
-
var _excluded$
|
|
6109
|
+
var _excluded$O = ["weight", "children"];
|
|
6110
6110
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6111
6111
|
var _ref$weight = _ref.weight,
|
|
6112
6112
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
6113
6113
|
children = _ref.children,
|
|
6114
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6114
|
+
props = _objectWithoutProperties(_ref, _excluded$O);
|
|
6115
6115
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6116
6116
|
weight: weight,
|
|
6117
6117
|
variant: "Title 2",
|
|
@@ -6120,10 +6120,10 @@
|
|
|
6120
6120
|
});
|
|
6121
6121
|
Title2.displayName = "Title2";
|
|
6122
6122
|
|
|
6123
|
-
var _excluded$
|
|
6123
|
+
var _excluded$N = ["children"];
|
|
6124
6124
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6125
6125
|
var children = _ref.children,
|
|
6126
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6126
|
+
props = _objectWithoutProperties(_ref, _excluded$N);
|
|
6127
6127
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6128
6128
|
weight: "bold",
|
|
6129
6129
|
variant: "Header 2",
|
|
@@ -6132,10 +6132,10 @@
|
|
|
6132
6132
|
});
|
|
6133
6133
|
Header2.displayName = "Header2";
|
|
6134
6134
|
|
|
6135
|
-
var _excluded$
|
|
6135
|
+
var _excluded$M = ["children"];
|
|
6136
6136
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6137
6137
|
var children = _ref.children,
|
|
6138
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6138
|
+
props = _objectWithoutProperties(_ref, _excluded$M);
|
|
6139
6139
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6140
6140
|
weight: "bold",
|
|
6141
6141
|
variant: "Header 3",
|
|
@@ -6144,12 +6144,12 @@
|
|
|
6144
6144
|
});
|
|
6145
6145
|
Header3.displayName = "Header3";
|
|
6146
6146
|
|
|
6147
|
-
var _excluded$
|
|
6147
|
+
var _excluded$L = ["weight", "children"];
|
|
6148
6148
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6149
6149
|
var _ref$weight = _ref.weight,
|
|
6150
6150
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
6151
6151
|
children = _ref.children,
|
|
6152
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6152
|
+
props = _objectWithoutProperties(_ref, _excluded$L);
|
|
6153
6153
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6154
6154
|
variant: "Body 1",
|
|
6155
6155
|
weight: weight,
|
|
@@ -6158,12 +6158,12 @@
|
|
|
6158
6158
|
});
|
|
6159
6159
|
Body1.displayName = "Body1";
|
|
6160
6160
|
|
|
6161
|
-
var _excluded$
|
|
6161
|
+
var _excluded$K = ["weight", "children"];
|
|
6162
6162
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6163
6163
|
var _ref$weight = _ref.weight,
|
|
6164
6164
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
6165
6165
|
children = _ref.children,
|
|
6166
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6166
|
+
props = _objectWithoutProperties(_ref, _excluded$K);
|
|
6167
6167
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6168
6168
|
variant: "Caption 1",
|
|
6169
6169
|
weight: weight,
|
|
@@ -6172,12 +6172,12 @@
|
|
|
6172
6172
|
});
|
|
6173
6173
|
Caption1.displayName = "Caption1";
|
|
6174
6174
|
|
|
6175
|
-
var _excluded$
|
|
6175
|
+
var _excluded$J = ["weight", "children"];
|
|
6176
6176
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6177
6177
|
var _ref$weight = _ref.weight,
|
|
6178
6178
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
6179
6179
|
children = _ref.children,
|
|
6180
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6180
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
6181
6181
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6182
6182
|
variant: "Caption 2",
|
|
6183
6183
|
weight: weight,
|
|
@@ -6288,7 +6288,7 @@
|
|
|
6288
6288
|
"borderRadius": "9999px"
|
|
6289
6289
|
});
|
|
6290
6290
|
|
|
6291
|
-
var _excluded$
|
|
6291
|
+
var _excluded$I = ["url", "alt", "size", "className"];
|
|
6292
6292
|
var Avatar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6293
6293
|
var url = _ref.url,
|
|
6294
6294
|
_ref$alt = _ref.alt,
|
|
@@ -6296,7 +6296,7 @@
|
|
|
6296
6296
|
_ref$size = _ref.size,
|
|
6297
6297
|
size = _ref$size === void 0 ? 24 : _ref$size,
|
|
6298
6298
|
className = _ref.className,
|
|
6299
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6299
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
6300
6300
|
return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({}, rest, {
|
|
6301
6301
|
ref: ref,
|
|
6302
6302
|
src: url,
|
|
@@ -6317,13 +6317,13 @@
|
|
|
6317
6317
|
return props.$color && styled.css(["background-color:", ";"], props.$color);
|
|
6318
6318
|
});
|
|
6319
6319
|
|
|
6320
|
-
var _excluded$
|
|
6320
|
+
var _excluded$H = ["color", "size", "className"];
|
|
6321
6321
|
var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6322
6322
|
var color = _ref.color,
|
|
6323
6323
|
_ref$size = _ref.size,
|
|
6324
6324
|
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
6325
6325
|
className = _ref.className,
|
|
6326
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6326
|
+
rest = _objectWithoutProperties(_ref, _excluded$H);
|
|
6327
6327
|
return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
|
|
6328
6328
|
className: classNames__default["default"]("c-dot", className),
|
|
6329
6329
|
ref: ref,
|
|
@@ -6360,7 +6360,7 @@
|
|
|
6360
6360
|
});
|
|
6361
6361
|
StyledTagText.displayName = "StyledTagText";
|
|
6362
6362
|
|
|
6363
|
-
var _excluded$
|
|
6363
|
+
var _excluded$G = ["name", "color", "showText", "showDot", "className"];
|
|
6364
6364
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6365
6365
|
var name = _ref.name,
|
|
6366
6366
|
color = _ref.color,
|
|
@@ -6369,7 +6369,7 @@
|
|
|
6369
6369
|
_ref$showDot = _ref.showDot,
|
|
6370
6370
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
6371
6371
|
className = _ref.className,
|
|
6372
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6372
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
6373
6373
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
6374
6374
|
className: classNames__default["default"]("c-tag", className),
|
|
6375
6375
|
ref: ref
|
|
@@ -6489,7 +6489,7 @@
|
|
|
6489
6489
|
}, StyledInput$2, StyledLabel);
|
|
6490
6490
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
6491
6491
|
|
|
6492
|
-
var _excluded$
|
|
6492
|
+
var _excluded$F = ["className", "hover", "id"];
|
|
6493
6493
|
/**
|
|
6494
6494
|
* Checkbox component
|
|
6495
6495
|
*/
|
|
@@ -6498,7 +6498,7 @@
|
|
|
6498
6498
|
hover = _ref.hover,
|
|
6499
6499
|
_ref$id = _ref.id,
|
|
6500
6500
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
6501
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6501
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
6502
6502
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
|
|
6503
6503
|
className: classNames__default["default"]("c-checkbox", {
|
|
6504
6504
|
"c-checkbox__hover": hover,
|
|
@@ -6685,7 +6685,7 @@
|
|
|
6685
6685
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
6686
6686
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
6687
6687
|
|
|
6688
|
-
var _excluded$
|
|
6688
|
+
var _excluded$E = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
6689
6689
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6690
6690
|
var children = _ref.children,
|
|
6691
6691
|
className = _ref.className,
|
|
@@ -6699,7 +6699,7 @@
|
|
|
6699
6699
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
6700
6700
|
innerColor = _ref.innerColor,
|
|
6701
6701
|
outerColor = _ref.outerColor,
|
|
6702
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6702
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
6703
6703
|
var _useState = React.useState({
|
|
6704
6704
|
top: 0,
|
|
6705
6705
|
right: 0,
|
|
@@ -6819,7 +6819,7 @@
|
|
|
6819
6819
|
return height;
|
|
6820
6820
|
};
|
|
6821
6821
|
|
|
6822
|
-
var _excluded$
|
|
6822
|
+
var _excluded$D = ["as", "className", "invert", "style"];
|
|
6823
6823
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6824
6824
|
var _ref$as = _ref.as,
|
|
6825
6825
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -6827,7 +6827,7 @@
|
|
|
6827
6827
|
_ref$invert = _ref.invert,
|
|
6828
6828
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
6829
6829
|
style = _ref.style,
|
|
6830
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6830
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
6831
6831
|
var internalRef = useInitScrollRef(null, invert);
|
|
6832
6832
|
var handleRef = useForkRef(internalRef, ref);
|
|
6833
6833
|
var props = _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
@@ -7301,7 +7301,7 @@
|
|
|
7301
7301
|
});
|
|
7302
7302
|
StyledInput$1.displayName = "StyledInput";
|
|
7303
7303
|
|
|
7304
|
-
var _excluded$
|
|
7304
|
+
var _excluded$C = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef"];
|
|
7305
7305
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7306
7306
|
var _ref$className = _ref.className,
|
|
7307
7307
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -7317,7 +7317,7 @@
|
|
|
7317
7317
|
startAdornment = _ref.startAdornment,
|
|
7318
7318
|
endAdornment = _ref.endAdornment,
|
|
7319
7319
|
wrapRef = _ref.wrapRef,
|
|
7320
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7320
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
7321
7321
|
var intInputRef = React.useRef(null);
|
|
7322
7322
|
var handleRef = useForkRef(ref, intInputRef);
|
|
7323
7323
|
var handleWrapperClick = React.useCallback(function () {
|
|
@@ -7368,14 +7368,14 @@
|
|
|
7368
7368
|
}, StyledRadioLabel);
|
|
7369
7369
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
7370
7370
|
|
|
7371
|
-
var _excluded$
|
|
7371
|
+
var _excluded$B = ["className", "id", "hover"];
|
|
7372
7372
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7373
7373
|
var _ref$className = _ref.className,
|
|
7374
7374
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
7375
7375
|
_ref$id = _ref.id,
|
|
7376
7376
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
7377
7377
|
hover = _ref.hover,
|
|
7378
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7378
|
+
props = _objectWithoutProperties(_ref, _excluded$B);
|
|
7379
7379
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
7380
7380
|
className: classNames__default["default"]("c-radio-btn", {
|
|
7381
7381
|
"c-radio-btn__hover": hover,
|
|
@@ -7467,7 +7467,7 @@
|
|
|
7467
7467
|
};
|
|
7468
7468
|
OptionContent.displayName = "OptionContent";
|
|
7469
7469
|
|
|
7470
|
-
var _excluded$
|
|
7470
|
+
var _excluded$A = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue"];
|
|
7471
7471
|
var Select = function Select(_ref) {
|
|
7472
7472
|
var _ref$type = _ref.type,
|
|
7473
7473
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -7501,7 +7501,7 @@
|
|
|
7501
7501
|
handleDefaultOptionChange = _ref.handleDefaultOptionChange,
|
|
7502
7502
|
_ref$preselectDefault = _ref.preselectDefaultValue,
|
|
7503
7503
|
preselectDefaultValue = _ref$preselectDefault === void 0 ? type === "single" : _ref$preselectDefault,
|
|
7504
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
7504
|
+
prop = _objectWithoutProperties(_ref, _excluded$A);
|
|
7505
7505
|
var _useState = React.useState(),
|
|
7506
7506
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7507
7507
|
childNode = _useState2[0],
|
|
@@ -7745,7 +7745,7 @@
|
|
|
7745
7745
|
});
|
|
7746
7746
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
7747
7747
|
|
|
7748
|
-
var _excluded$
|
|
7748
|
+
var _excluded$z = ["children", "active", "disabled", "className", "role"];
|
|
7749
7749
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7750
7750
|
var children = _ref.children,
|
|
7751
7751
|
_ref$active = _ref.active,
|
|
@@ -7754,7 +7754,7 @@
|
|
|
7754
7754
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7755
7755
|
className = _ref.className,
|
|
7756
7756
|
role = _ref.role,
|
|
7757
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7757
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
7758
7758
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
7759
7759
|
className: classNames__default["default"]("c-nav__item", {
|
|
7760
7760
|
"c-nav__item--active": active
|
|
@@ -7795,11 +7795,11 @@
|
|
|
7795
7795
|
});
|
|
7796
7796
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
7797
7797
|
|
|
7798
|
-
var _excluded$
|
|
7798
|
+
var _excluded$y = ["expanded"];
|
|
7799
7799
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7800
7800
|
var _ref$expanded = _ref.expanded,
|
|
7801
7801
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
7802
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7802
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
7803
7803
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
7804
7804
|
ref: ref,
|
|
7805
7805
|
viewBox: "0 0 24 24",
|
|
@@ -8089,7 +8089,7 @@
|
|
|
8089
8089
|
};
|
|
8090
8090
|
Nav.displayName = "Nav";
|
|
8091
8091
|
|
|
8092
|
-
var _excluded$
|
|
8092
|
+
var _excluded$x = ["children", "as", "disablePointerEvents"];
|
|
8093
8093
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
8094
8094
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
8095
8095
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -8106,7 +8106,7 @@
|
|
|
8106
8106
|
var children = _ref.children,
|
|
8107
8107
|
as = _ref.as,
|
|
8108
8108
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
8109
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8109
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
8110
8110
|
var Component = as || "div";
|
|
8111
8111
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
8112
8112
|
as: Component,
|
|
@@ -8116,11 +8116,11 @@
|
|
|
8116
8116
|
});
|
|
8117
8117
|
InputAdornment.displayName = "InputAdornment";
|
|
8118
8118
|
|
|
8119
|
-
var _excluded$
|
|
8119
|
+
var _excluded$w = ["expanded"];
|
|
8120
8120
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8121
8121
|
var _ref$expanded = _ref.expanded,
|
|
8122
8122
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
8123
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8123
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
8124
8124
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
8125
8125
|
ref: ref,
|
|
8126
8126
|
viewBox: "0 0 24 24"
|
|
@@ -8322,14 +8322,14 @@
|
|
|
8322
8322
|
});
|
|
8323
8323
|
StyledTextarea.displayName = "StyledTextarea";
|
|
8324
8324
|
|
|
8325
|
-
var _excluded$
|
|
8325
|
+
var _excluded$v = ["className", "disabled", "invalid"];
|
|
8326
8326
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8327
8327
|
var className = _ref.className,
|
|
8328
8328
|
_ref$disabled = _ref.disabled,
|
|
8329
8329
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8330
8330
|
_ref$invalid = _ref.invalid,
|
|
8331
8331
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
8332
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8332
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
8333
8333
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
8334
8334
|
$invalid: invalid,
|
|
8335
8335
|
ref: ref,
|
|
@@ -8361,7 +8361,7 @@
|
|
|
8361
8361
|
function () {});
|
|
8362
8362
|
}
|
|
8363
8363
|
|
|
8364
|
-
var _excluded$
|
|
8364
|
+
var _excluded$u = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "disableCloseOnEsc", "open", "onClose"];
|
|
8365
8365
|
var getHasTransition = function getHasTransition(children) {
|
|
8366
8366
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
8367
8367
|
};
|
|
@@ -8380,7 +8380,7 @@
|
|
|
8380
8380
|
_ref$open = _ref.open,
|
|
8381
8381
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
8382
8382
|
onClose = _ref.onClose,
|
|
8383
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8383
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
8384
8384
|
var _useState = React.useState(defaultOpen),
|
|
8385
8385
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8386
8386
|
open = _useState2[0],
|
|
@@ -8514,7 +8514,7 @@
|
|
|
8514
8514
|
});
|
|
8515
8515
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
8516
8516
|
|
|
8517
|
-
var _excluded$
|
|
8517
|
+
var _excluded$t = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
8518
8518
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8519
8519
|
var children = _ref.children,
|
|
8520
8520
|
onClose = _ref.onClose,
|
|
@@ -8538,7 +8538,7 @@
|
|
|
8538
8538
|
bodyClassName = _ref.bodyClassName,
|
|
8539
8539
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
8540
8540
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
8541
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8541
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
8542
8542
|
var _useState = React.useState(defaultOpen),
|
|
8543
8543
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8544
8544
|
open = _useState2[0],
|
|
@@ -8629,13 +8629,13 @@
|
|
|
8629
8629
|
});
|
|
8630
8630
|
StyledHeader.displayName = "StyledHeader";
|
|
8631
8631
|
|
|
8632
|
-
var _excluded$
|
|
8632
|
+
var _excluded$s = ["className", "size", "children"];
|
|
8633
8633
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8634
8634
|
var className = _ref.className,
|
|
8635
8635
|
_ref$size = _ref.size,
|
|
8636
8636
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
8637
8637
|
children = _ref.children,
|
|
8638
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8638
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
8639
8639
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
8640
8640
|
type: "paper-2",
|
|
8641
8641
|
className: classNames__default["default"]("c-header", className),
|
|
@@ -8651,7 +8651,7 @@
|
|
|
8651
8651
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
8652
8652
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
8653
8653
|
|
|
8654
|
-
var _excluded$
|
|
8654
|
+
var _excluded$r = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
8655
8655
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8656
8656
|
var _ref$minRows = _ref.minRows,
|
|
8657
8657
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -8667,7 +8667,7 @@
|
|
|
8667
8667
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
8668
8668
|
onKeyDown = _ref.onKeyDown,
|
|
8669
8669
|
value = _ref.value,
|
|
8670
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8670
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
8671
8671
|
var innerRef = React.useRef(null);
|
|
8672
8672
|
var _useState = React.useState(minRows),
|
|
8673
8673
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8943,7 +8943,7 @@
|
|
|
8943
8943
|
});
|
|
8944
8944
|
StyledChoose.displayName = "StyledChoose";
|
|
8945
8945
|
|
|
8946
|
-
var _excluded$
|
|
8946
|
+
var _excluded$q = ["children", "disabled", "active", "className"];
|
|
8947
8947
|
/**
|
|
8948
8948
|
* Choose component
|
|
8949
8949
|
*/
|
|
@@ -8954,7 +8954,7 @@
|
|
|
8954
8954
|
_ref$active = _ref.active,
|
|
8955
8955
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
8956
8956
|
className = _ref.className,
|
|
8957
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8957
|
+
args = _objectWithoutProperties(_ref, _excluded$q);
|
|
8958
8958
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
8959
8959
|
disabled: disabled,
|
|
8960
8960
|
className: classNames__default["default"]("c-choose", className),
|
|
@@ -9046,21 +9046,21 @@
|
|
|
9046
9046
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
9047
9047
|
StyledLink.displayName = "StyledLink";
|
|
9048
9048
|
|
|
9049
|
-
var _excluded$
|
|
9049
|
+
var _excluded$p = ["children", "className"];
|
|
9050
9050
|
/**
|
|
9051
9051
|
* Back link component
|
|
9052
9052
|
*/
|
|
9053
9053
|
var BackLink = function BackLink(_ref) {
|
|
9054
9054
|
var children = _ref.children,
|
|
9055
9055
|
className = _ref.className,
|
|
9056
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9056
|
+
args = _objectWithoutProperties(_ref, _excluded$p);
|
|
9057
9057
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
9058
9058
|
className: classNames__default["default"]("c-back-link", className)
|
|
9059
9059
|
}, args), children);
|
|
9060
9060
|
};
|
|
9061
9061
|
BackLink.displayName = "BackLink";
|
|
9062
9062
|
|
|
9063
|
-
var _excluded$
|
|
9063
|
+
var _excluded$o = ["as", "children", "variant", "size", "disabled", "className"];
|
|
9064
9064
|
/**
|
|
9065
9065
|
* Link component
|
|
9066
9066
|
*/
|
|
@@ -9073,7 +9073,7 @@
|
|
|
9073
9073
|
_ref$disabled = _ref.disabled,
|
|
9074
9074
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
9075
9075
|
className = _ref.className,
|
|
9076
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9076
|
+
args = _objectWithoutProperties(_ref, _excluded$o);
|
|
9077
9077
|
var Component = as || "a";
|
|
9078
9078
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
9079
9079
|
ref: ref,
|
|
@@ -9184,7 +9184,7 @@
|
|
|
9184
9184
|
})(["padding:20px 30px;", " ", ""], FontStyle, BoxSizingStyle);
|
|
9185
9185
|
StyledDialogActions.displayName = "StyledDialogActions";
|
|
9186
9186
|
|
|
9187
|
-
var _excluded$
|
|
9187
|
+
var _excluded$n = ["children", "className", "disableDefaultHeading"];
|
|
9188
9188
|
// import { useDialogContext } from "./DialogContext";
|
|
9189
9189
|
|
|
9190
9190
|
var DialogTitle = function DialogTitle(_ref) {
|
|
@@ -9192,7 +9192,7 @@
|
|
|
9192
9192
|
className = _ref.className,
|
|
9193
9193
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
9194
9194
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
9195
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9195
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
9196
9196
|
// useDialogContext();
|
|
9197
9197
|
|
|
9198
9198
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
@@ -9201,13 +9201,13 @@
|
|
|
9201
9201
|
};
|
|
9202
9202
|
DialogTitle.displayName = "DialogTitle";
|
|
9203
9203
|
|
|
9204
|
-
var _excluded$
|
|
9204
|
+
var _excluded$m = ["className", "children"];
|
|
9205
9205
|
// import { useDialogContext } from "./DialogContext";
|
|
9206
9206
|
|
|
9207
9207
|
var DialogContent = function DialogContent(_ref) {
|
|
9208
9208
|
var className = _ref.className,
|
|
9209
9209
|
children = _ref.children,
|
|
9210
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9210
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
9211
9211
|
// useDialogContext();
|
|
9212
9212
|
|
|
9213
9213
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
@@ -9228,13 +9228,13 @@
|
|
|
9228
9228
|
};
|
|
9229
9229
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
9230
9230
|
|
|
9231
|
-
var _excluded$
|
|
9231
|
+
var _excluded$l = ["className", "children"];
|
|
9232
9232
|
// import { useDialogContext } from "./DialogContext";
|
|
9233
9233
|
|
|
9234
9234
|
var DialogActions = function DialogActions(_ref) {
|
|
9235
9235
|
var className = _ref.className,
|
|
9236
9236
|
children = _ref.children,
|
|
9237
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9237
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
9238
9238
|
// useDialogContext();
|
|
9239
9239
|
|
|
9240
9240
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
@@ -9488,7 +9488,7 @@
|
|
|
9488
9488
|
});
|
|
9489
9489
|
StyledPressed.displayName = "StyledPressed";
|
|
9490
9490
|
|
|
9491
|
-
var _excluded$
|
|
9491
|
+
var _excluded$k = ["children", "active", "className"];
|
|
9492
9492
|
/**
|
|
9493
9493
|
* Pressed wrapper for button component
|
|
9494
9494
|
*/
|
|
@@ -9497,7 +9497,7 @@
|
|
|
9497
9497
|
_ref$active = _ref.active,
|
|
9498
9498
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
9499
9499
|
className = _ref.className,
|
|
9500
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9500
|
+
args = _objectWithoutProperties(_ref, _excluded$k);
|
|
9501
9501
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
9502
9502
|
active: active,
|
|
9503
9503
|
ref: ref,
|
|
@@ -9950,7 +9950,7 @@
|
|
|
9950
9950
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
9951
9951
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
9952
9952
|
|
|
9953
|
-
var _excluded$
|
|
9953
|
+
var _excluded$j = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
9954
9954
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9955
9955
|
var text = _ref.text,
|
|
9956
9956
|
type = _ref.type,
|
|
@@ -9961,7 +9961,7 @@
|
|
|
9961
9961
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
9962
9962
|
_ref$timeout = _ref.timeout,
|
|
9963
9963
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
9964
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9964
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
9965
9965
|
var handleOnClose = React.useCallback(function () {
|
|
9966
9966
|
if (typeof onClose === "function") {
|
|
9967
9967
|
onClose();
|
|
@@ -9985,7 +9985,7 @@
|
|
|
9985
9985
|
});
|
|
9986
9986
|
ToastMessage.displayName = "ToastMessage";
|
|
9987
9987
|
|
|
9988
|
-
var _excluded$
|
|
9988
|
+
var _excluded$i = ["in", "children", "style", "timeout"];
|
|
9989
9989
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
9990
9990
|
return {
|
|
9991
9991
|
transition: "all ".concat(duration, "ms ease-in-out"),
|
|
@@ -10013,7 +10013,7 @@
|
|
|
10013
10013
|
style = _ref.style,
|
|
10014
10014
|
_ref$timeout = _ref.timeout,
|
|
10015
10015
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
10016
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10016
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
10017
10017
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10018
10018
|
appear: true,
|
|
10019
10019
|
in: inProp,
|
|
@@ -10028,7 +10028,7 @@
|
|
|
10028
10028
|
};
|
|
10029
10029
|
Fade.displayName = "Fade";
|
|
10030
10030
|
|
|
10031
|
-
var _excluded$
|
|
10031
|
+
var _excluded$h = ["in", "children", "style", "timeout", "initialDirection"];
|
|
10032
10032
|
var Slide = function Slide(_ref) {
|
|
10033
10033
|
var _ref$in = _ref.in,
|
|
10034
10034
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -10038,7 +10038,7 @@
|
|
|
10038
10038
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
10039
10039
|
_ref$initialDirection = _ref.initialDirection,
|
|
10040
10040
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
10041
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10041
|
+
rest = _objectWithoutProperties(_ref, _excluded$h);
|
|
10042
10042
|
var directionSign;
|
|
10043
10043
|
switch (initialDirection) {
|
|
10044
10044
|
case "right":
|
|
@@ -10091,12 +10091,12 @@
|
|
|
10091
10091
|
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
10092
|
});
|
|
10093
10093
|
|
|
10094
|
-
var _excluded$
|
|
10094
|
+
var _excluded$g = ["children", "direction"];
|
|
10095
10095
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
10096
10096
|
var children = _ref.children,
|
|
10097
10097
|
_ref$direction = _ref.direction,
|
|
10098
10098
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
10099
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10099
|
+
props = _objectWithoutProperties(_ref, _excluded$g);
|
|
10100
10100
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
10101
10101
|
timeout: 200,
|
|
10102
10102
|
classNames: "c-slide",
|
|
@@ -10139,7 +10139,7 @@
|
|
|
10139
10139
|
};
|
|
10140
10140
|
ResizeTransition.displayName = "ResizeTransition";
|
|
10141
10141
|
|
|
10142
|
-
var _excluded$
|
|
10142
|
+
var _excluded$f = ["in", "children", "style", "timeout"];
|
|
10143
10143
|
var defaultStyle = function defaultStyle(duration) {
|
|
10144
10144
|
return {
|
|
10145
10145
|
transition: "all ".concat(duration, "ms ease-in"),
|
|
@@ -10173,7 +10173,7 @@
|
|
|
10173
10173
|
style = _ref.style,
|
|
10174
10174
|
_ref$timeout = _ref.timeout,
|
|
10175
10175
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
10176
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10176
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
10177
10177
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10178
10178
|
appear: true,
|
|
10179
10179
|
in: inProp,
|
|
@@ -10247,7 +10247,7 @@
|
|
|
10247
10247
|
});
|
|
10248
10248
|
StyledValueButton.displayName = "StyledValueButton";
|
|
10249
10249
|
|
|
10250
|
-
var _excluded$
|
|
10250
|
+
var _excluded$e = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
10251
10251
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10252
10252
|
var _ref$active = _ref.active,
|
|
10253
10253
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -10256,7 +10256,7 @@
|
|
|
10256
10256
|
icon = _ref.icon,
|
|
10257
10257
|
label = _ref.label,
|
|
10258
10258
|
value = _ref.value,
|
|
10259
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10259
|
+
args = _objectWithoutProperties(_ref, _excluded$e);
|
|
10260
10260
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
10261
10261
|
className: "c-value-button"
|
|
10262
10262
|
}, args, {
|
|
@@ -10285,12 +10285,12 @@
|
|
|
10285
10285
|
})(["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
10286
|
StyledButton.displayName = "StyledButton";
|
|
10287
10287
|
|
|
10288
|
-
var _excluded$
|
|
10288
|
+
var _excluded$d = ["children", "type"];
|
|
10289
10289
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10290
10290
|
var children = _ref.children,
|
|
10291
10291
|
_ref$type = _ref.type,
|
|
10292
10292
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
10293
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10293
|
+
rest = _objectWithoutProperties(_ref, _excluded$d);
|
|
10294
10294
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
10295
10295
|
ref: ref,
|
|
10296
10296
|
role: "button",
|
|
@@ -10336,7 +10336,7 @@
|
|
|
10336
10336
|
});
|
|
10337
10337
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
10338
10338
|
|
|
10339
|
-
var _excluded$
|
|
10339
|
+
var _excluded$c = ["children", "type", "size", "invalid", "open", "endAdornment"];
|
|
10340
10340
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10341
10341
|
var children = _ref.children,
|
|
10342
10342
|
_ref$type = _ref.type,
|
|
@@ -10348,7 +10348,7 @@
|
|
|
10348
10348
|
_ref$open = _ref.open,
|
|
10349
10349
|
open = _ref$open === void 0 ? false : _ref$open,
|
|
10350
10350
|
endAdornment = _ref.endAdornment,
|
|
10351
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10351
|
+
rest = _objectWithoutProperties(_ref, _excluded$c);
|
|
10352
10352
|
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
10353
10353
|
ref: ref,
|
|
10354
10354
|
role: "button",
|
|
@@ -10395,11 +10395,11 @@
|
|
|
10395
10395
|
});
|
|
10396
10396
|
StyledToggle.displayName = "StyledToggle";
|
|
10397
10397
|
|
|
10398
|
-
var _excluded$
|
|
10398
|
+
var _excluded$b = ["hovered", "className"];
|
|
10399
10399
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10400
10400
|
var hovered = _ref.hovered,
|
|
10401
10401
|
className = _ref.className,
|
|
10402
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10402
|
+
args = _objectWithoutProperties(_ref, _excluded$b);
|
|
10403
10403
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
10404
10404
|
className: classNames__default["default"]("c-toggle", className),
|
|
10405
10405
|
$isHovered: hovered,
|
|
@@ -10552,7 +10552,7 @@
|
|
|
10552
10552
|
});
|
|
10553
10553
|
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
10554
10554
|
|
|
10555
|
-
var _excluded$
|
|
10555
|
+
var _excluded$a = ["leftAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "variant", "typographyProps"];
|
|
10556
10556
|
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
10557
10557
|
var leftAdornment = _ref.leftAdornment,
|
|
10558
10558
|
label = _ref.label,
|
|
@@ -10564,7 +10564,7 @@
|
|
|
10564
10564
|
closeClassName = _ref.closeClassName,
|
|
10565
10565
|
variant = _ref.variant,
|
|
10566
10566
|
typographyProps = _ref.typographyProps,
|
|
10567
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10567
|
+
rest = _objectWithoutProperties(_ref, _excluded$a);
|
|
10568
10568
|
var showClose = typeof onClose === "function";
|
|
10569
10569
|
var _variant = React.useMemo(function () {
|
|
10570
10570
|
if (typeof variant !== "undefined") {
|
|
@@ -10631,7 +10631,7 @@
|
|
|
10631
10631
|
return condition ? wrap(children) : children;
|
|
10632
10632
|
};
|
|
10633
10633
|
|
|
10634
|
-
var _excluded$
|
|
10634
|
+
var _excluded$9 = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid", "type", "renderChip", "forceCloseMenu", "renderOption", "limitChips", "hiddenNumberText", "inPortal", "inputWrapperClassName", "scrollWrapper"];
|
|
10635
10635
|
var ComboBox = function ComboBox(_ref) {
|
|
10636
10636
|
var _comboBoxRef$current2, _comboBoxRef$current3;
|
|
10637
10637
|
var _ref$options = _ref.options,
|
|
@@ -10662,7 +10662,7 @@
|
|
|
10662
10662
|
inPortal = _ref$inPortal === void 0 ? false : _ref$inPortal,
|
|
10663
10663
|
inputWrapperClassName = _ref.inputWrapperClassName,
|
|
10664
10664
|
scrollWrapper = _ref.scrollWrapper,
|
|
10665
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
10665
|
+
prop = _objectWithoutProperties(_ref, _excluded$9);
|
|
10666
10666
|
var selectedName = React.useMemo(function () {
|
|
10667
10667
|
var value = "";
|
|
10668
10668
|
if (!selected) {
|
|
@@ -11015,11 +11015,11 @@
|
|
|
11015
11015
|
})(["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
11016
|
StyledAddToListButton.displayName = "StyledAddToListButton";
|
|
11017
11017
|
|
|
11018
|
-
var _excluded$
|
|
11018
|
+
var _excluded$8 = ["text", "className"];
|
|
11019
11019
|
var AddToListButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11020
11020
|
var text = _ref.text,
|
|
11021
11021
|
className = _ref.className,
|
|
11022
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11022
|
+
rest = _objectWithoutProperties(_ref, _excluded$8);
|
|
11023
11023
|
return /*#__PURE__*/React__default["default"].createElement(StyledAddToListButton, _extends({
|
|
11024
11024
|
ref: ref,
|
|
11025
11025
|
className: classNames__default["default"]("c--add-to-list-btn", className)
|
|
@@ -11415,7 +11415,7 @@
|
|
|
11415
11415
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
11416
11416
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
11417
11417
|
|
|
11418
|
-
var _excluded$
|
|
11418
|
+
var _excluded$7 = ["invalid", "required", "size", "children", "className", "weight"];
|
|
11419
11419
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11420
11420
|
var _ref$invalid = _ref.invalid,
|
|
11421
11421
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -11427,7 +11427,7 @@
|
|
|
11427
11427
|
className = _ref.className,
|
|
11428
11428
|
_ref$weight = _ref.weight,
|
|
11429
11429
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
11430
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11430
|
+
props = _objectWithoutProperties(_ref, _excluded$7);
|
|
11431
11431
|
var color = invalid ? "alert" : "primary";
|
|
11432
11432
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
11433
11433
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
@@ -11585,7 +11585,7 @@
|
|
|
11585
11585
|
});
|
|
11586
11586
|
StyledInput.displayName = "StyledInput";
|
|
11587
11587
|
|
|
11588
|
-
var _excluded$
|
|
11588
|
+
var _excluded$6 = ["className", "variant", "weight", "disabled", "inputProps", "wrapRef"];
|
|
11589
11589
|
var EditableContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11590
11590
|
var className = _ref.className,
|
|
11591
11591
|
_ref$variant = _ref.variant,
|
|
@@ -11595,7 +11595,7 @@
|
|
|
11595
11595
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11596
11596
|
inputProps = _ref.inputProps,
|
|
11597
11597
|
wrapRef = _ref.wrapRef,
|
|
11598
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11598
|
+
props = _objectWithoutProperties(_ref, _excluded$6);
|
|
11599
11599
|
var intInputRef = React.useRef(null);
|
|
11600
11600
|
var handleRef = useForkRef(ref, intInputRef);
|
|
11601
11601
|
var handleBlur = React.useCallback(function (evt) {
|
|
@@ -11624,13 +11624,13 @@
|
|
|
11624
11624
|
});
|
|
11625
11625
|
EditableContent.displayName = "EditableContent";
|
|
11626
11626
|
|
|
11627
|
-
var _excluded$
|
|
11627
|
+
var _excluded$5 = ["onSave", "onCancel", "value", "inputProps"];
|
|
11628
11628
|
var EditableText = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11629
11629
|
var onSave = _ref.onSave,
|
|
11630
11630
|
onCancel = _ref.onCancel,
|
|
11631
11631
|
value = _ref.value,
|
|
11632
11632
|
inputProps = _ref.inputProps,
|
|
11633
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11633
|
+
props = _objectWithoutProperties(_ref, _excluded$5);
|
|
11634
11634
|
var _useState = React.useState(value),
|
|
11635
11635
|
_useState2 = _slicedToArray(_useState, 2),
|
|
11636
11636
|
currentValue = _useState2[0],
|
|
@@ -11688,11 +11688,11 @@
|
|
|
11688
11688
|
});
|
|
11689
11689
|
EditableText.displayName = "EditableText";
|
|
11690
11690
|
|
|
11691
|
-
var _excluded$
|
|
11691
|
+
var _excluded$4 = ["withDocuments"];
|
|
11692
11692
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
11693
11693
|
var _ref$withDocuments = _ref.withDocuments,
|
|
11694
11694
|
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
11695
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11695
|
+
props = _objectWithoutProperties(_ref, _excluded$4);
|
|
11696
11696
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
11697
11697
|
width: 100,
|
|
11698
11698
|
height: 100,
|
|
@@ -11835,7 +11835,7 @@
|
|
|
11835
11835
|
return $renderAs === "list" && styled.css(["justify-self:flex-end;"]);
|
|
11836
11836
|
});
|
|
11837
11837
|
|
|
11838
|
-
var _excluded$
|
|
11838
|
+
var _excluded$3 = ["children", "gap", "renderAs"];
|
|
11839
11839
|
var EntityGroupContext = /*#__PURE__*/React__default["default"].createContext({
|
|
11840
11840
|
renderAs: "grid"
|
|
11841
11841
|
});
|
|
@@ -11844,7 +11844,7 @@
|
|
|
11844
11844
|
gap = _ref.gap,
|
|
11845
11845
|
_ref$renderAs = _ref.renderAs,
|
|
11846
11846
|
renderAs = _ref$renderAs === void 0 ? "grid" : _ref$renderAs,
|
|
11847
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11847
|
+
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
11848
11848
|
return /*#__PURE__*/React__default["default"].createElement(EntityGroupContext.Provider, {
|
|
11849
11849
|
value: {
|
|
11850
11850
|
renderAs: renderAs
|
|
@@ -11856,14 +11856,14 @@
|
|
|
11856
11856
|
};
|
|
11857
11857
|
EntityGroup.displayName = "EntityGroup";
|
|
11858
11858
|
|
|
11859
|
-
var _excluded$
|
|
11859
|
+
var _excluded$2 = ["children", "isCollection", "background", "className", "as"];
|
|
11860
11860
|
var EntityCard = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11861
11861
|
var children = _ref.children,
|
|
11862
11862
|
isCollection = _ref.isCollection,
|
|
11863
11863
|
background = _ref.background,
|
|
11864
11864
|
className = _ref.className,
|
|
11865
11865
|
as = _ref.as,
|
|
11866
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11866
|
+
rest = _objectWithoutProperties(_ref, _excluded$2);
|
|
11867
11867
|
var _useContext = React.useContext(EntityGroupContext),
|
|
11868
11868
|
renderAs = _useContext.renderAs;
|
|
11869
11869
|
var classSuffix = "c-entity-card-".concat(renderAs);
|
|
@@ -11882,13 +11882,13 @@
|
|
|
11882
11882
|
});
|
|
11883
11883
|
EntityCard.displayName = "EntityCard";
|
|
11884
11884
|
|
|
11885
|
-
var _excluded = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
11885
|
+
var _excluded$1 = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
11886
11886
|
var EntityProperty = function EntityProperty(_ref) {
|
|
11887
11887
|
var listOrder = _ref.listOrder,
|
|
11888
11888
|
listWidth = _ref.listWidth,
|
|
11889
11889
|
visibleFromBreakpoint = _ref.visibleFromBreakpoint,
|
|
11890
11890
|
className = _ref.className,
|
|
11891
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
11891
|
+
props = _objectWithoutProperties(_ref, _excluded$1);
|
|
11892
11892
|
var _useContext = React.useContext(EntityGroupContext),
|
|
11893
11893
|
renderAs = _useContext.renderAs;
|
|
11894
11894
|
var classSuffix = "c-entity-property-".concat(renderAs);
|
|
@@ -12377,6 +12377,41 @@
|
|
|
12377
12377
|
});
|
|
12378
12378
|
Wizard.displayName = "Wizard";
|
|
12379
12379
|
|
|
12380
|
+
var StyledIconButton = styled__default["default"](Button).withConfig({
|
|
12381
|
+
displayName: "Styles__StyledIconButton",
|
|
12382
|
+
componentId: "sc-1teza2f-0"
|
|
12383
|
+
})(["display:flex;justify-content:center;align-items:center;padding:0;width:32px;", " ", ""], function (_ref) {
|
|
12384
|
+
var size = _ref.size;
|
|
12385
|
+
return size === "small" && styled.css(["width:24px;"]);
|
|
12386
|
+
}, function (_ref2) {
|
|
12387
|
+
var size = _ref2.size;
|
|
12388
|
+
return size === "big" && styled.css(["width:40px;"]);
|
|
12389
|
+
});
|
|
12390
|
+
|
|
12391
|
+
var _excluded = ["children", "className", "variant", "size"];
|
|
12392
|
+
|
|
12393
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
12394
|
+
|
|
12395
|
+
var IconButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12396
|
+
var children = _ref.children,
|
|
12397
|
+
className = _ref.className,
|
|
12398
|
+
variant = _ref.variant,
|
|
12399
|
+
size = _ref.size,
|
|
12400
|
+
args = _objectWithoutProperties(_ref, _excluded);
|
|
12401
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledIconButton, _extends({
|
|
12402
|
+
className: classNames__default["default"]("c-btn--icon-only", className),
|
|
12403
|
+
variant: variant,
|
|
12404
|
+
size: size,
|
|
12405
|
+
ref: ref
|
|
12406
|
+
}, args), React.Children.map(children, function (child) {
|
|
12407
|
+
if (! /*#__PURE__*/React.isValidElement(child)) {
|
|
12408
|
+
return null;
|
|
12409
|
+
}
|
|
12410
|
+
return child;
|
|
12411
|
+
}));
|
|
12412
|
+
});
|
|
12413
|
+
IconButton.displayName = "IconButton";
|
|
12414
|
+
|
|
12380
12415
|
exports.Accordion = Accordion;
|
|
12381
12416
|
exports.AccordionContext = AccordionContext;
|
|
12382
12417
|
exports.AccordionItem = AccordionItem;
|
|
@@ -12499,6 +12534,7 @@
|
|
|
12499
12534
|
exports.Header3 = Header3;
|
|
12500
12535
|
exports.HeartIcon = HeartIcon$1;
|
|
12501
12536
|
exports.HelpIcon = HelpIcon$1;
|
|
12537
|
+
exports.IconButton = IconButton;
|
|
12502
12538
|
exports.ImageIcon = ImageIcon$1;
|
|
12503
12539
|
exports.InfoIcon = InfoIcon$1;
|
|
12504
12540
|
exports.InfoSmallIcon = InfoSmallIcon$1;
|