@activecollab/components 1.0.326 → 1.0.328
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/Checkbox/Checkbox.js +5 -3
- package/dist/cjs/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/cjs/components/Checkbox/Styles.js +1 -1
- package/dist/cjs/components/Checkbox/Styles.js.map +1 -1
- package/dist/cjs/components/Filter/Filter.js +9 -4
- package/dist/cjs/components/Filter/Filter.js.map +1 -1
- package/dist/esm/components/Checkbox/Checkbox.d.ts +3 -3
- package/dist/esm/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/esm/components/Checkbox/Checkbox.js +4 -2
- package/dist/esm/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/esm/components/Checkbox/Styles.d.ts +2 -2
- package/dist/esm/components/Checkbox/Styles.d.ts.map +1 -1
- package/dist/esm/components/Checkbox/Styles.js +1 -1
- package/dist/esm/components/Checkbox/Styles.js.map +1 -1
- package/dist/esm/components/Filter/Filter.d.ts +2 -0
- package/dist/esm/components/Filter/Filter.d.ts.map +1 -1
- package/dist/esm/components/Filter/Filter.js +6 -3
- package/dist/esm/components/Filter/Filter.js.map +1 -1
- package/dist/esm/components/Select/Styles.d.ts +1 -1
- package/dist/esm/components/Select/Styles.d.ts.map +1 -1
- package/dist/index.js +163 -159
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
})(["display:inline-flex;svg{margin:0 4px;}"]);
|
|
270
270
|
StyledButtonElement.displayName = "StyledButtonElement";
|
|
271
271
|
|
|
272
|
-
var _excluded$
|
|
272
|
+
var _excluded$1j = ["children", "active", "variant", "size", "className"];
|
|
273
273
|
/**
|
|
274
274
|
* @component Button
|
|
275
275
|
* @description
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
_ref$size = _ref.size,
|
|
300
300
|
size = _ref$size === void 0 ? "medium" : _ref$size,
|
|
301
301
|
className = _ref.className,
|
|
302
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
302
|
+
args = _objectWithoutProperties(_ref, _excluded$1j);
|
|
303
303
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
|
|
304
304
|
className: classNames__default["default"]("c-btn", className, {
|
|
305
305
|
"c-btn--contained": variant === "primary" || variant === "contained",
|
|
@@ -373,12 +373,12 @@
|
|
|
373
373
|
})(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
|
|
374
374
|
StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
|
|
375
375
|
|
|
376
|
-
var _excluded$
|
|
376
|
+
var _excluded$1i = ["className", "disabled"];
|
|
377
377
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
378
378
|
var className = _ref.className,
|
|
379
379
|
_ref$disabled = _ref.disabled,
|
|
380
380
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
381
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
381
|
+
rest = _objectWithoutProperties(_ref, _excluded$1i);
|
|
382
382
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
383
383
|
ref: ref,
|
|
384
384
|
variant: "contained",
|
|
@@ -410,11 +410,11 @@
|
|
|
410
410
|
});
|
|
411
411
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
412
412
|
|
|
413
|
-
var _excluded$
|
|
413
|
+
var _excluded$1h = ["children", "className"];
|
|
414
414
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
415
415
|
var children = _ref.children,
|
|
416
416
|
className = _ref.className,
|
|
417
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
417
|
+
rest = _objectWithoutProperties(_ref, _excluded$1h);
|
|
418
418
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
419
419
|
ref: ref,
|
|
420
420
|
className: classNames__default["default"]("c-btn-group", className)
|
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
return React.useContext(MenuContext);
|
|
475
475
|
};
|
|
476
476
|
|
|
477
|
-
var _excluded$
|
|
477
|
+
var _excluded$1g = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy", "afterWrite"];
|
|
478
478
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
479
479
|
var children = _ref.children,
|
|
480
480
|
anchorEl = _ref.anchorEl,
|
|
@@ -488,7 +488,7 @@
|
|
|
488
488
|
_ref$strategy = _ref.strategy,
|
|
489
489
|
strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
|
|
490
490
|
afterWrite = _ref.afterWrite,
|
|
491
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
491
|
+
rest = _objectWithoutProperties(_ref, _excluded$1g);
|
|
492
492
|
var _useState = React.useState(true),
|
|
493
493
|
_useState2 = _slicedToArray(_useState, 2),
|
|
494
494
|
exited = _useState2[0],
|
|
@@ -587,12 +587,12 @@
|
|
|
587
587
|
});
|
|
588
588
|
StyledOverlay.displayName = "StyledOverlay";
|
|
589
589
|
|
|
590
|
-
var _excluded$
|
|
590
|
+
var _excluded$1f = ["className", "disableBackgroundColor"];
|
|
591
591
|
var Overlay = function Overlay(_ref) {
|
|
592
592
|
var className = _ref.className,
|
|
593
593
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
594
594
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
595
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
595
|
+
rest = _objectWithoutProperties(_ref, _excluded$1f);
|
|
596
596
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
597
597
|
className: classNames__default["default"]("c-overlay", className),
|
|
598
598
|
$disableBackgroundColor: disableBackgroundColor
|
|
@@ -632,7 +632,7 @@
|
|
|
632
632
|
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
|
|
633
633
|
StyledWindow.displayName = "StyledWindow";
|
|
634
634
|
|
|
635
|
-
var _excluded$
|
|
635
|
+
var _excluded$1e = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "disableCloseOnEsc", "onClick"];
|
|
636
636
|
var returnFocus = {
|
|
637
637
|
preventScroll: true
|
|
638
638
|
};
|
|
@@ -649,7 +649,7 @@
|
|
|
649
649
|
_ref$disableCloseOnEs = _ref.disableCloseOnEsc,
|
|
650
650
|
disableCloseOnEsc = _ref$disableCloseOnEs === void 0 ? false : _ref$disableCloseOnEs,
|
|
651
651
|
onClick = _ref.onClick,
|
|
652
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
652
|
+
rest = _objectWithoutProperties(_ref, _excluded$1e);
|
|
653
653
|
var innerRef = React.useRef(null);
|
|
654
654
|
var handleRef = useForkRef(innerRef, ref);
|
|
655
655
|
var _useLayerContext = useLayerContext(),
|
|
@@ -709,7 +709,7 @@
|
|
|
709
709
|
}, FontStyle, BoxSizingStyle);
|
|
710
710
|
StyledBubble.displayName = "StyledBubble";
|
|
711
711
|
|
|
712
|
-
var _excluded$
|
|
712
|
+
var _excluded$1d = ["children", "className", "innerRef", "style"];
|
|
713
713
|
var Bubble = function Bubble(_ref) {
|
|
714
714
|
var children = _ref.children,
|
|
715
715
|
className = _ref.className,
|
|
@@ -717,7 +717,7 @@
|
|
|
717
717
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
718
718
|
_ref$style = _ref.style,
|
|
719
719
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
720
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
720
|
+
rest = _objectWithoutProperties(_ref, _excluded$1d);
|
|
721
721
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
722
722
|
ref: innerRef,
|
|
723
723
|
className: classNames__default["default"]("c-bubble", className),
|
|
@@ -1035,7 +1035,7 @@
|
|
|
1035
1035
|
});
|
|
1036
1036
|
StyledTypography.displayName = "StyledTypography";
|
|
1037
1037
|
|
|
1038
|
-
var _excluded$
|
|
1038
|
+
var _excluded$1c = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
1039
1039
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1040
1040
|
var _ref$variant = _ref.variant,
|
|
1041
1041
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -1066,7 +1066,7 @@
|
|
|
1066
1066
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
1067
1067
|
className = _ref.className,
|
|
1068
1068
|
children = _ref.children,
|
|
1069
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1069
|
+
props = _objectWithoutProperties(_ref, _excluded$1c);
|
|
1070
1070
|
var Component = as || "div";
|
|
1071
1071
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
1072
1072
|
as: Component,
|
|
@@ -1089,13 +1089,13 @@
|
|
|
1089
1089
|
});
|
|
1090
1090
|
Typography.displayName = "Typography";
|
|
1091
1091
|
|
|
1092
|
-
var _excluded$
|
|
1092
|
+
var _excluded$1b = ["title", "className", "leftElement", "rightElement"];
|
|
1093
1093
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1094
1094
|
var title = _ref.title,
|
|
1095
1095
|
className = _ref.className,
|
|
1096
1096
|
leftElement = _ref.leftElement,
|
|
1097
1097
|
rightElement = _ref.rightElement,
|
|
1098
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1098
|
+
props = _objectWithoutProperties(_ref, _excluded$1b);
|
|
1099
1099
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
1100
1100
|
className: classNames__default["default"]("c-menu-header", className),
|
|
1101
1101
|
ref: ref
|
|
@@ -1120,11 +1120,11 @@
|
|
|
1120
1120
|
});
|
|
1121
1121
|
MenuHeader.displayName = "MenuHeader";
|
|
1122
1122
|
|
|
1123
|
-
var _excluded$
|
|
1123
|
+
var _excluded$1a = ["children", "className"];
|
|
1124
1124
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1125
1125
|
var children = _ref.children,
|
|
1126
1126
|
className = _ref.className,
|
|
1127
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1127
|
+
props = _objectWithoutProperties(_ref, _excluded$1a);
|
|
1128
1128
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter$1, _extends({}, props, {
|
|
1129
1129
|
className: classNames__default["default"]("c-menu-footer", className),
|
|
1130
1130
|
ref: ref
|
|
@@ -1148,11 +1148,11 @@
|
|
|
1148
1148
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
1149
1149
|
StyledListSeparator.displayName = "StyledListSeparator";
|
|
1150
1150
|
|
|
1151
|
-
var _excluded$
|
|
1151
|
+
var _excluded$19 = ["children", "className"];
|
|
1152
1152
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1153
1153
|
var children = _ref.children,
|
|
1154
1154
|
className = _ref.className,
|
|
1155
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1155
|
+
props = _objectWithoutProperties(_ref, _excluded$19);
|
|
1156
1156
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({
|
|
1157
1157
|
className: classNames__default["default"]("c-list-item", className),
|
|
1158
1158
|
ref: ref,
|
|
@@ -1161,21 +1161,21 @@
|
|
|
1161
1161
|
});
|
|
1162
1162
|
ListItem.displayName = "ListItem";
|
|
1163
1163
|
|
|
1164
|
-
var _excluded$
|
|
1164
|
+
var _excluded$18 = ["className"];
|
|
1165
1165
|
var ListSeparator = function ListSeparator(_ref) {
|
|
1166
1166
|
var className = _ref.className,
|
|
1167
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1167
|
+
props = _objectWithoutProperties(_ref, _excluded$18);
|
|
1168
1168
|
return /*#__PURE__*/React__default["default"].createElement(StyledListSeparator, _extends({
|
|
1169
1169
|
className: classNames__default["default"]("c-list-separator", className)
|
|
1170
1170
|
}, props));
|
|
1171
1171
|
};
|
|
1172
1172
|
ListSeparator.displayName = "ListSeparator";
|
|
1173
1173
|
|
|
1174
|
-
var _excluded$
|
|
1174
|
+
var _excluded$17 = ["children", "className"];
|
|
1175
1175
|
var _List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1176
1176
|
var children = _ref.children,
|
|
1177
1177
|
className = _ref.className,
|
|
1178
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1178
|
+
props = _objectWithoutProperties(_ref, _excluded$17);
|
|
1179
1179
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({
|
|
1180
1180
|
className: className,
|
|
1181
1181
|
ref: ref,
|
|
@@ -1201,7 +1201,7 @@
|
|
|
1201
1201
|
return size === "big" && styled.css(["width:40px;"]);
|
|
1202
1202
|
});
|
|
1203
1203
|
|
|
1204
|
-
var _excluded$
|
|
1204
|
+
var _excluded$16 = ["children", "className", "variant", "size", "active"];
|
|
1205
1205
|
|
|
1206
1206
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
1207
1207
|
|
|
@@ -1231,7 +1231,7 @@
|
|
|
1231
1231
|
variant = _ref.variant,
|
|
1232
1232
|
size = _ref.size,
|
|
1233
1233
|
active = _ref.active,
|
|
1234
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
1234
|
+
args = _objectWithoutProperties(_ref, _excluded$16);
|
|
1235
1235
|
return /*#__PURE__*/React__default["default"].createElement(StyledIconButton, _extends({
|
|
1236
1236
|
className: className,
|
|
1237
1237
|
variant: variant,
|
|
@@ -7483,14 +7483,14 @@
|
|
|
7483
7483
|
});
|
|
7484
7484
|
StyledBreadcrumbListItem.displayName = "StyledBreadcrumbListItem";
|
|
7485
7485
|
|
|
7486
|
-
var _excluded$
|
|
7486
|
+
var _excluded$15 = ["children", "className", "separator"];
|
|
7487
7487
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7488
7488
|
var _dimensions$width, _childDimensions$widt;
|
|
7489
7489
|
var children = _ref.children,
|
|
7490
7490
|
className = _ref.className,
|
|
7491
7491
|
_ref$separator = _ref.separator,
|
|
7492
7492
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
7493
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7493
|
+
rest = _objectWithoutProperties(_ref, _excluded$15);
|
|
7494
7494
|
var internalRef = React.useRef(null);
|
|
7495
7495
|
var listWrapperRef = React.useRef(null);
|
|
7496
7496
|
var olRef = React.useRef(null);
|
|
@@ -7657,10 +7657,10 @@
|
|
|
7657
7657
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
7658
7658
|
});
|
|
7659
7659
|
|
|
7660
|
-
var _excluded$
|
|
7660
|
+
var _excluded$14 = ["children"];
|
|
7661
7661
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
7662
7662
|
var children = _ref.children,
|
|
7663
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7663
|
+
props = _objectWithoutProperties(_ref, _excluded$14);
|
|
7664
7664
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
7665
7665
|
timeout: 0
|
|
7666
7666
|
}, props), children);
|
|
@@ -7735,12 +7735,12 @@
|
|
|
7735
7735
|
});
|
|
7736
7736
|
Tooltip.displayName = "Tooltip";
|
|
7737
7737
|
|
|
7738
|
-
var _excluded$
|
|
7738
|
+
var _excluded$13 = ["weight", "children"];
|
|
7739
7739
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7740
7740
|
var _ref$weight = _ref.weight,
|
|
7741
7741
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
7742
7742
|
children = _ref.children,
|
|
7743
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7743
|
+
props = _objectWithoutProperties(_ref, _excluded$13);
|
|
7744
7744
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
7745
7745
|
variant: "Body 2",
|
|
7746
7746
|
weight: weight,
|
|
@@ -7789,7 +7789,7 @@
|
|
|
7789
7789
|
});
|
|
7790
7790
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
7791
7791
|
|
|
7792
|
-
var _excluded$
|
|
7792
|
+
var _excluded$12 = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className", "disabled"];
|
|
7793
7793
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7794
7794
|
var label = _ref.label,
|
|
7795
7795
|
icon = _ref.icon,
|
|
@@ -7801,7 +7801,7 @@
|
|
|
7801
7801
|
className = _ref.className,
|
|
7802
7802
|
_ref$disabled = _ref.disabled,
|
|
7803
7803
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7804
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
7804
|
+
args = _objectWithoutProperties(_ref, _excluded$12);
|
|
7805
7805
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
7806
7806
|
ref: ref,
|
|
7807
7807
|
className: className
|
|
@@ -8112,7 +8112,7 @@
|
|
|
8112
8112
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
8113
8113
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
8114
8114
|
|
|
8115
|
-
var _excluded$
|
|
8115
|
+
var _excluded$11 = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
8116
8116
|
var DatePicker = function DatePicker(_ref) {
|
|
8117
8117
|
var className = _ref.className,
|
|
8118
8118
|
onChange = _ref.onChange,
|
|
@@ -8134,7 +8134,7 @@
|
|
|
8134
8134
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
8135
8135
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
8136
8136
|
defaultModifiers = _ref.modifiers,
|
|
8137
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8137
|
+
rest = _objectWithoutProperties(_ref, _excluded$11);
|
|
8138
8138
|
var _useState = React.useState(),
|
|
8139
8139
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8140
8140
|
enteredTo = _useState2[0],
|
|
@@ -9026,10 +9026,10 @@
|
|
|
9026
9026
|
componentId: "sc-x4ge7a-0"
|
|
9027
9027
|
})(["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);
|
|
9028
9028
|
|
|
9029
|
-
var _excluded
|
|
9029
|
+
var _excluded$10 = ["className"];
|
|
9030
9030
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9031
9031
|
var className = _ref.className,
|
|
9032
|
-
rest = _objectWithoutProperties(_ref, _excluded
|
|
9032
|
+
rest = _objectWithoutProperties(_ref, _excluded$10);
|
|
9033
9033
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
9034
9034
|
ref: ref,
|
|
9035
9035
|
className: classNames__default["default"]("c-loader c-loader--linear", className)
|
|
@@ -9043,10 +9043,10 @@
|
|
|
9043
9043
|
componentId: "sc-1f35d5h-0"
|
|
9044
9044
|
})(["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);
|
|
9045
9045
|
|
|
9046
|
-
var _excluded
|
|
9046
|
+
var _excluded$$ = ["className"];
|
|
9047
9047
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9048
9048
|
var className = _ref.className,
|
|
9049
|
-
rest = _objectWithoutProperties(_ref, _excluded
|
|
9049
|
+
rest = _objectWithoutProperties(_ref, _excluded$$);
|
|
9050
9050
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
9051
9051
|
ref: ref,
|
|
9052
9052
|
className: classNames__default["default"]("c-loader c-loader--dots", className)
|
|
@@ -9068,7 +9068,7 @@
|
|
|
9068
9068
|
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);
|
|
9069
9069
|
});
|
|
9070
9070
|
|
|
9071
|
-
var _excluded$
|
|
9071
|
+
var _excluded$_ = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
9072
9072
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9073
9073
|
var _ref$radius = _ref.radius,
|
|
9074
9074
|
radius = _ref$radius === void 0 ? 10 : _ref$radius,
|
|
@@ -9083,7 +9083,7 @@
|
|
|
9083
9083
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
9084
9084
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
9085
9085
|
className = _ref.className,
|
|
9086
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9086
|
+
rest = _objectWithoutProperties(_ref, _excluded$_);
|
|
9087
9087
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader$1, _extends({
|
|
9088
9088
|
ref: ref,
|
|
9089
9089
|
className: className,
|
|
@@ -9097,7 +9097,7 @@
|
|
|
9097
9097
|
});
|
|
9098
9098
|
SpinnerLoader.displayName = "SpinnerLoader";
|
|
9099
9099
|
|
|
9100
|
-
var _excluded$
|
|
9100
|
+
var _excluded$Z = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
|
|
9101
9101
|
exports.SortDirection = void 0;
|
|
9102
9102
|
(function (SortDirection) {
|
|
9103
9103
|
SortDirection["None"] = "none";
|
|
@@ -9145,7 +9145,7 @@
|
|
|
9145
9145
|
loading = _ref.loading,
|
|
9146
9146
|
_ref$loadingRows = _ref.loadingRows,
|
|
9147
9147
|
loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
|
|
9148
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9148
|
+
args = _objectWithoutProperties(_ref, _excluded$Z);
|
|
9149
9149
|
var _useState = React.useState(sortDirection),
|
|
9150
9150
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9151
9151
|
columnDirection = _useState2[0],
|
|
@@ -9547,7 +9547,7 @@
|
|
|
9547
9547
|
});
|
|
9548
9548
|
StyledPaper.displayName = "StyledPaper";
|
|
9549
9549
|
|
|
9550
|
-
var _excluded$
|
|
9550
|
+
var _excluded$Y = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
9551
9551
|
/**
|
|
9552
9552
|
* This is a component description and should sit directly above your component
|
|
9553
9553
|
*/
|
|
@@ -9560,7 +9560,7 @@
|
|
|
9560
9560
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
9561
9561
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
9562
9562
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
9563
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9563
|
+
rest = _objectWithoutProperties(_ref, _excluded$Y);
|
|
9564
9564
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
9565
9565
|
className: classNames__default["default"](className, {
|
|
9566
9566
|
"ac-shadow--raised--lg": !useOptimizedShadow && hover && type === "paper-1",
|
|
@@ -9613,7 +9613,7 @@
|
|
|
9613
9613
|
});
|
|
9614
9614
|
StyledCard.displayName = "StyledCard";
|
|
9615
9615
|
|
|
9616
|
-
var _excluded$
|
|
9616
|
+
var _excluded$X = ["children", "className", "hoverable", "paperType"];
|
|
9617
9617
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9618
9618
|
var children = _ref.children,
|
|
9619
9619
|
className = _ref.className,
|
|
@@ -9621,7 +9621,7 @@
|
|
|
9621
9621
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
9622
9622
|
_ref$paperType = _ref.paperType,
|
|
9623
9623
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
9624
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9624
|
+
rest = _objectWithoutProperties(_ref, _excluded$X);
|
|
9625
9625
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
9626
9626
|
type: paperType,
|
|
9627
9627
|
className: classNames__default["default"]("c-card", className),
|
|
@@ -9700,12 +9700,12 @@
|
|
|
9700
9700
|
});
|
|
9701
9701
|
EntityCard$1.displayName = "EntityCard";
|
|
9702
9702
|
|
|
9703
|
-
var _excluded$
|
|
9703
|
+
var _excluded$W = ["weight", "children"];
|
|
9704
9704
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9705
9705
|
var _ref$weight = _ref.weight,
|
|
9706
9706
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
9707
9707
|
children = _ref.children,
|
|
9708
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9708
|
+
props = _objectWithoutProperties(_ref, _excluded$W);
|
|
9709
9709
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9710
9710
|
weight: weight,
|
|
9711
9711
|
variant: "Title 1",
|
|
@@ -9714,12 +9714,12 @@
|
|
|
9714
9714
|
});
|
|
9715
9715
|
Title1.displayName = "Title1";
|
|
9716
9716
|
|
|
9717
|
-
var _excluded$
|
|
9717
|
+
var _excluded$V = ["weight", "children"];
|
|
9718
9718
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9719
9719
|
var _ref$weight = _ref.weight,
|
|
9720
9720
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
9721
9721
|
children = _ref.children,
|
|
9722
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9722
|
+
props = _objectWithoutProperties(_ref, _excluded$V);
|
|
9723
9723
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9724
9724
|
weight: weight,
|
|
9725
9725
|
variant: "Title 2",
|
|
@@ -9728,10 +9728,10 @@
|
|
|
9728
9728
|
});
|
|
9729
9729
|
Title2.displayName = "Title2";
|
|
9730
9730
|
|
|
9731
|
-
var _excluded$
|
|
9731
|
+
var _excluded$U = ["children"];
|
|
9732
9732
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9733
9733
|
var children = _ref.children,
|
|
9734
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9734
|
+
props = _objectWithoutProperties(_ref, _excluded$U);
|
|
9735
9735
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9736
9736
|
weight: "bold",
|
|
9737
9737
|
variant: "Header 2",
|
|
@@ -9740,10 +9740,10 @@
|
|
|
9740
9740
|
});
|
|
9741
9741
|
Header2.displayName = "Header2";
|
|
9742
9742
|
|
|
9743
|
-
var _excluded$
|
|
9743
|
+
var _excluded$T = ["children"];
|
|
9744
9744
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9745
9745
|
var children = _ref.children,
|
|
9746
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9746
|
+
props = _objectWithoutProperties(_ref, _excluded$T);
|
|
9747
9747
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9748
9748
|
weight: "bold",
|
|
9749
9749
|
variant: "Header 3",
|
|
@@ -9752,12 +9752,12 @@
|
|
|
9752
9752
|
});
|
|
9753
9753
|
Header3.displayName = "Header3";
|
|
9754
9754
|
|
|
9755
|
-
var _excluded$
|
|
9755
|
+
var _excluded$S = ["weight", "children"];
|
|
9756
9756
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9757
9757
|
var _ref$weight = _ref.weight,
|
|
9758
9758
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9759
9759
|
children = _ref.children,
|
|
9760
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9760
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
9761
9761
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9762
9762
|
variant: "Body 1",
|
|
9763
9763
|
weight: weight,
|
|
@@ -9766,12 +9766,12 @@
|
|
|
9766
9766
|
});
|
|
9767
9767
|
Body1.displayName = "Body1";
|
|
9768
9768
|
|
|
9769
|
-
var _excluded$
|
|
9769
|
+
var _excluded$R = ["weight", "children"];
|
|
9770
9770
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9771
9771
|
var _ref$weight = _ref.weight,
|
|
9772
9772
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9773
9773
|
children = _ref.children,
|
|
9774
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9774
|
+
props = _objectWithoutProperties(_ref, _excluded$R);
|
|
9775
9775
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9776
9776
|
variant: "Caption 1",
|
|
9777
9777
|
weight: weight,
|
|
@@ -9780,12 +9780,12 @@
|
|
|
9780
9780
|
});
|
|
9781
9781
|
Caption1.displayName = "Caption1";
|
|
9782
9782
|
|
|
9783
|
-
var _excluded$
|
|
9783
|
+
var _excluded$Q = ["weight", "children"];
|
|
9784
9784
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9785
9785
|
var _ref$weight = _ref.weight,
|
|
9786
9786
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9787
9787
|
children = _ref.children,
|
|
9788
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9788
|
+
props = _objectWithoutProperties(_ref, _excluded$Q);
|
|
9789
9789
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9790
9790
|
variant: "Caption 2",
|
|
9791
9791
|
weight: weight,
|
|
@@ -9897,7 +9897,7 @@
|
|
|
9897
9897
|
componentId: "sc-5x2tyd-1"
|
|
9898
9898
|
})(["border-radius:100%;object-fit:cover;"]);
|
|
9899
9899
|
|
|
9900
|
-
var _excluded$
|
|
9900
|
+
var _excluded$P = ["url", "alt", "size", "className", "imgClassName", "children"];
|
|
9901
9901
|
/**
|
|
9902
9902
|
* @component Avatar
|
|
9903
9903
|
* @description
|
|
@@ -9932,7 +9932,7 @@
|
|
|
9932
9932
|
className = _ref.className,
|
|
9933
9933
|
imgClassName = _ref.imgClassName,
|
|
9934
9934
|
children = _ref.children,
|
|
9935
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9935
|
+
rest = _objectWithoutProperties(_ref, _excluded$P);
|
|
9936
9936
|
var _useState = React.useState(false),
|
|
9937
9937
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9938
9938
|
imageLoaded = _useState2[0],
|
|
@@ -9973,13 +9973,13 @@
|
|
|
9973
9973
|
return props.$color && styled.css(["background-color:", ";"], props.$color);
|
|
9974
9974
|
});
|
|
9975
9975
|
|
|
9976
|
-
var _excluded$
|
|
9976
|
+
var _excluded$O = ["color", "size", "className"];
|
|
9977
9977
|
var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9978
9978
|
var color = _ref.color,
|
|
9979
9979
|
_ref$size = _ref.size,
|
|
9980
9980
|
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
9981
9981
|
className = _ref.className,
|
|
9982
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9982
|
+
rest = _objectWithoutProperties(_ref, _excluded$O);
|
|
9983
9983
|
return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
|
|
9984
9984
|
className: classNames__default["default"]("c-dot", className),
|
|
9985
9985
|
ref: ref,
|
|
@@ -10016,7 +10016,7 @@
|
|
|
10016
10016
|
});
|
|
10017
10017
|
StyledTagText.displayName = "StyledTagText";
|
|
10018
10018
|
|
|
10019
|
-
var _excluded$
|
|
10019
|
+
var _excluded$N = ["name", "color", "showText", "showDot", "className"];
|
|
10020
10020
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10021
10021
|
var name = _ref.name,
|
|
10022
10022
|
color = _ref.color,
|
|
@@ -10025,7 +10025,7 @@
|
|
|
10025
10025
|
_ref$showDot = _ref.showDot,
|
|
10026
10026
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
10027
10027
|
className = _ref.className,
|
|
10028
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10028
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
10029
10029
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
10030
10030
|
className: classNames__default["default"]("c-tag", className),
|
|
10031
10031
|
ref: ref
|
|
@@ -10130,7 +10130,7 @@
|
|
|
10130
10130
|
var StyledInput$3 = styled__default["default"].input.withConfig({
|
|
10131
10131
|
displayName: "Styles__StyledInput",
|
|
10132
10132
|
componentId: "sc-y7zymm-0"
|
|
10133
|
-
})(["
|
|
10133
|
+
})(["opacity:0;position:absolute;cursor:pointer;pointer-events:none;"]);
|
|
10134
10134
|
StyledInput$3.displayName = "StyledInput";
|
|
10135
10135
|
var StyledLabel = styled__default["default"].label.withConfig({
|
|
10136
10136
|
displayName: "Styles__StyledLabel",
|
|
@@ -10145,7 +10145,7 @@
|
|
|
10145
10145
|
}, StyledInput$3, StyledLabel);
|
|
10146
10146
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
10147
10147
|
|
|
10148
|
-
var _excluded$
|
|
10148
|
+
var _excluded$M = ["className", "hover", "id"];
|
|
10149
10149
|
/**
|
|
10150
10150
|
* Checkbox component
|
|
10151
10151
|
*/
|
|
@@ -10154,14 +10154,16 @@
|
|
|
10154
10154
|
hover = _ref.hover,
|
|
10155
10155
|
_ref$id = _ref.id,
|
|
10156
10156
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
10157
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10157
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
10158
10158
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
|
|
10159
10159
|
className: classNames__default["default"]("c-checkbox", {
|
|
10160
10160
|
"c-checkbox__hover": hover,
|
|
10161
10161
|
"c-checkbox__controlled": typeof hover === "boolean"
|
|
10162
10162
|
}, className),
|
|
10163
|
-
hover: hover
|
|
10163
|
+
hover: hover,
|
|
10164
|
+
tabIndex: -1
|
|
10164
10165
|
}, /*#__PURE__*/React__default["default"].createElement(StyledInput$3, _extends({
|
|
10166
|
+
role: "checkbox",
|
|
10165
10167
|
id: id,
|
|
10166
10168
|
className: "c-checkbox--input",
|
|
10167
10169
|
type: "checkbox",
|
|
@@ -10348,7 +10350,7 @@
|
|
|
10348
10350
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
10349
10351
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
10350
10352
|
|
|
10351
|
-
var _excluded$
|
|
10353
|
+
var _excluded$L = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
10352
10354
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10353
10355
|
var children = _ref.children,
|
|
10354
10356
|
className = _ref.className,
|
|
@@ -10362,7 +10364,7 @@
|
|
|
10362
10364
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
10363
10365
|
innerColor = _ref.innerColor,
|
|
10364
10366
|
outerColor = _ref.outerColor,
|
|
10365
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10367
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
10366
10368
|
var _useState = React.useState({
|
|
10367
10369
|
top: 0,
|
|
10368
10370
|
right: 0,
|
|
@@ -10482,7 +10484,7 @@
|
|
|
10482
10484
|
return height;
|
|
10483
10485
|
};
|
|
10484
10486
|
|
|
10485
|
-
var _excluded$
|
|
10487
|
+
var _excluded$K = ["as", "className", "invert", "style"];
|
|
10486
10488
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10487
10489
|
var _ref$as = _ref.as,
|
|
10488
10490
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -10490,7 +10492,7 @@
|
|
|
10490
10492
|
_ref$invert = _ref.invert,
|
|
10491
10493
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
10492
10494
|
style = _ref.style,
|
|
10493
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10495
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
10494
10496
|
var internalRef = useInitScrollRef(null, invert);
|
|
10495
10497
|
var handleRef = useForkRef(internalRef, ref);
|
|
10496
10498
|
var props = _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
@@ -10972,7 +10974,7 @@
|
|
|
10972
10974
|
});
|
|
10973
10975
|
StyledInput$2.displayName = "StyledInput";
|
|
10974
10976
|
|
|
10975
|
-
var _excluded$
|
|
10977
|
+
var _excluded$J = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef", "wrapperClick"];
|
|
10976
10978
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
10977
10979
|
var _ref$className = _ref.className,
|
|
10978
10980
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -10989,7 +10991,7 @@
|
|
|
10989
10991
|
endAdornment = _ref.endAdornment,
|
|
10990
10992
|
wrapRef = _ref.wrapRef,
|
|
10991
10993
|
wrapperClick = _ref.wrapperClick,
|
|
10992
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10994
|
+
rest = _objectWithoutProperties(_ref, _excluded$J);
|
|
10993
10995
|
var intInputRef = React.useRef(null);
|
|
10994
10996
|
var handleRef = useForkRef(ref, intInputRef);
|
|
10995
10997
|
var handleWrapperClick = React.useCallback(function () {
|
|
@@ -11043,14 +11045,14 @@
|
|
|
11043
11045
|
}, StyledRadioLabel);
|
|
11044
11046
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
11045
11047
|
|
|
11046
|
-
var _excluded$
|
|
11048
|
+
var _excluded$I = ["className", "id", "hover"];
|
|
11047
11049
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11048
11050
|
var _ref$className = _ref.className,
|
|
11049
11051
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
11050
11052
|
_ref$id = _ref.id,
|
|
11051
11053
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
11052
11054
|
hover = _ref.hover,
|
|
11053
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11055
|
+
props = _objectWithoutProperties(_ref, _excluded$I);
|
|
11054
11056
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
11055
11057
|
className: classNames__default["default"]("c-radio-btn", {
|
|
11056
11058
|
"c-radio-btn__hover": hover,
|
|
@@ -11258,7 +11260,7 @@
|
|
|
11258
11260
|
};
|
|
11259
11261
|
OptionContent.displayName = "OptionContent";
|
|
11260
11262
|
|
|
11261
|
-
var _excluded$
|
|
11263
|
+
var _excluded$H = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue"];
|
|
11262
11264
|
var Select = function Select(_ref) {
|
|
11263
11265
|
var _ref$type = _ref.type,
|
|
11264
11266
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -11292,7 +11294,7 @@
|
|
|
11292
11294
|
handleDefaultOptionChange = _ref.handleDefaultOptionChange,
|
|
11293
11295
|
_ref$preselectDefault = _ref.preselectDefaultValue,
|
|
11294
11296
|
preselectDefaultValue = _ref$preselectDefault === void 0 ? type === "single" : _ref$preselectDefault,
|
|
11295
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
11297
|
+
prop = _objectWithoutProperties(_ref, _excluded$H);
|
|
11296
11298
|
var childNode = React.useRef();
|
|
11297
11299
|
var elementRef = React.useRef(null);
|
|
11298
11300
|
var handleRef = useForkRef(childNode, elementRef);
|
|
@@ -11541,7 +11543,7 @@
|
|
|
11541
11543
|
});
|
|
11542
11544
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
11543
11545
|
|
|
11544
|
-
var _excluded$
|
|
11546
|
+
var _excluded$G = ["children", "active", "disabled", "className", "role"];
|
|
11545
11547
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
11546
11548
|
var children = _ref.children,
|
|
11547
11549
|
_ref$active = _ref.active,
|
|
@@ -11550,7 +11552,7 @@
|
|
|
11550
11552
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11551
11553
|
className = _ref.className,
|
|
11552
11554
|
role = _ref.role,
|
|
11553
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11555
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
11554
11556
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
11555
11557
|
className: classNames__default["default"]("c-nav__item", {
|
|
11556
11558
|
"c-nav__item--active": active
|
|
@@ -11591,11 +11593,11 @@
|
|
|
11591
11593
|
});
|
|
11592
11594
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
11593
11595
|
|
|
11594
|
-
var _excluded$
|
|
11596
|
+
var _excluded$F = ["expanded"];
|
|
11595
11597
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11596
11598
|
var _ref$expanded = _ref.expanded,
|
|
11597
11599
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
11598
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11600
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
11599
11601
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
11600
11602
|
ref: ref,
|
|
11601
11603
|
viewBox: "0 0 24 24",
|
|
@@ -11885,7 +11887,7 @@
|
|
|
11885
11887
|
};
|
|
11886
11888
|
Nav.displayName = "Nav";
|
|
11887
11889
|
|
|
11888
|
-
var _excluded$
|
|
11890
|
+
var _excluded$E = ["children", "as", "disablePointerEvents"];
|
|
11889
11891
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
11890
11892
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
11891
11893
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -11902,7 +11904,7 @@
|
|
|
11902
11904
|
var children = _ref.children,
|
|
11903
11905
|
as = _ref.as,
|
|
11904
11906
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
11905
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11907
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
11906
11908
|
var Component = as || "div";
|
|
11907
11909
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
11908
11910
|
as: Component,
|
|
@@ -11912,11 +11914,11 @@
|
|
|
11912
11914
|
});
|
|
11913
11915
|
InputAdornment.displayName = "InputAdornment";
|
|
11914
11916
|
|
|
11915
|
-
var _excluded$
|
|
11917
|
+
var _excluded$D = ["expanded"];
|
|
11916
11918
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11917
11919
|
var _ref$expanded = _ref.expanded,
|
|
11918
11920
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
11919
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11921
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
11920
11922
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
11921
11923
|
ref: ref,
|
|
11922
11924
|
viewBox: "0 0 24 24"
|
|
@@ -12034,14 +12036,14 @@
|
|
|
12034
12036
|
});
|
|
12035
12037
|
StyledTextarea.displayName = "StyledTextarea";
|
|
12036
12038
|
|
|
12037
|
-
var _excluded$
|
|
12039
|
+
var _excluded$C = ["className", "disabled", "invalid"];
|
|
12038
12040
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12039
12041
|
var className = _ref.className,
|
|
12040
12042
|
_ref$disabled = _ref.disabled,
|
|
12041
12043
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
12042
12044
|
_ref$invalid = _ref.invalid,
|
|
12043
12045
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
12044
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12046
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
12045
12047
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
12046
12048
|
$invalid: invalid,
|
|
12047
12049
|
ref: ref,
|
|
@@ -12073,7 +12075,7 @@
|
|
|
12073
12075
|
function () {});
|
|
12074
12076
|
}
|
|
12075
12077
|
|
|
12076
|
-
var _excluded$
|
|
12078
|
+
var _excluded$B = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "disableCloseOnEsc", "open", "onClose"];
|
|
12077
12079
|
var getHasTransition = function getHasTransition(children) {
|
|
12078
12080
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
12079
12081
|
};
|
|
@@ -12092,7 +12094,7 @@
|
|
|
12092
12094
|
_ref$open = _ref.open,
|
|
12093
12095
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
12094
12096
|
onClose = _ref.onClose,
|
|
12095
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12097
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
12096
12098
|
var _useState = React.useState(defaultOpen),
|
|
12097
12099
|
_useState2 = _slicedToArray(_useState, 2),
|
|
12098
12100
|
open = _useState2[0],
|
|
@@ -12230,7 +12232,7 @@
|
|
|
12230
12232
|
});
|
|
12231
12233
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
12232
12234
|
|
|
12233
|
-
var _excluded$
|
|
12235
|
+
var _excluded$A = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
12234
12236
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12235
12237
|
var children = _ref.children,
|
|
12236
12238
|
onClose = _ref.onClose,
|
|
@@ -12254,7 +12256,7 @@
|
|
|
12254
12256
|
bodyClassName = _ref.bodyClassName,
|
|
12255
12257
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
12256
12258
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
12257
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12259
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
12258
12260
|
var _useState = React.useState(defaultOpen),
|
|
12259
12261
|
_useState2 = _slicedToArray(_useState, 2),
|
|
12260
12262
|
open = _useState2[0],
|
|
@@ -12347,13 +12349,13 @@
|
|
|
12347
12349
|
});
|
|
12348
12350
|
StyledHeader.displayName = "StyledHeader";
|
|
12349
12351
|
|
|
12350
|
-
var _excluded$
|
|
12352
|
+
var _excluded$z = ["className", "size", "children"];
|
|
12351
12353
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12352
12354
|
var className = _ref.className,
|
|
12353
12355
|
_ref$size = _ref.size,
|
|
12354
12356
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
12355
12357
|
children = _ref.children,
|
|
12356
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12358
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
12357
12359
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
12358
12360
|
type: "paper-2",
|
|
12359
12361
|
className: classNames__default["default"]("c-header", className),
|
|
@@ -12369,7 +12371,7 @@
|
|
|
12369
12371
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
12370
12372
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
12371
12373
|
|
|
12372
|
-
var _excluded$
|
|
12374
|
+
var _excluded$y = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
12373
12375
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12374
12376
|
var _ref$minRows = _ref.minRows,
|
|
12375
12377
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -12385,7 +12387,7 @@
|
|
|
12385
12387
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
12386
12388
|
onKeyDown = _ref.onKeyDown,
|
|
12387
12389
|
value = _ref.value,
|
|
12388
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12390
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
12389
12391
|
var innerRef = React.useRef(null);
|
|
12390
12392
|
var _useState = React.useState(minRows),
|
|
12391
12393
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -12661,7 +12663,7 @@
|
|
|
12661
12663
|
});
|
|
12662
12664
|
StyledChoose.displayName = "StyledChoose";
|
|
12663
12665
|
|
|
12664
|
-
var _excluded$
|
|
12666
|
+
var _excluded$x = ["children", "disabled", "active", "className"];
|
|
12665
12667
|
/**
|
|
12666
12668
|
* Choose component
|
|
12667
12669
|
*/
|
|
@@ -12672,7 +12674,7 @@
|
|
|
12672
12674
|
_ref$active = _ref.active,
|
|
12673
12675
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
12674
12676
|
className = _ref.className,
|
|
12675
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12677
|
+
args = _objectWithoutProperties(_ref, _excluded$x);
|
|
12676
12678
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
12677
12679
|
disabled: disabled,
|
|
12678
12680
|
className: classNames__default["default"]("c-choose", className),
|
|
@@ -12768,21 +12770,21 @@
|
|
|
12768
12770
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
12769
12771
|
StyledLink.displayName = "StyledLink";
|
|
12770
12772
|
|
|
12771
|
-
var _excluded$
|
|
12773
|
+
var _excluded$w = ["children", "className"];
|
|
12772
12774
|
/**
|
|
12773
12775
|
* Back link component
|
|
12774
12776
|
*/
|
|
12775
12777
|
var BackLink = function BackLink(_ref) {
|
|
12776
12778
|
var children = _ref.children,
|
|
12777
12779
|
className = _ref.className,
|
|
12778
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12780
|
+
args = _objectWithoutProperties(_ref, _excluded$w);
|
|
12779
12781
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
12780
12782
|
className: classNames__default["default"]("c-back-link", className)
|
|
12781
12783
|
}, args), children);
|
|
12782
12784
|
};
|
|
12783
12785
|
BackLink.displayName = "BackLink";
|
|
12784
12786
|
|
|
12785
|
-
var _excluded$
|
|
12787
|
+
var _excluded$v = ["as", "children", "variant", "size", "disabled", "className"];
|
|
12786
12788
|
/**
|
|
12787
12789
|
* Link component
|
|
12788
12790
|
*/
|
|
@@ -12795,7 +12797,7 @@
|
|
|
12795
12797
|
_ref$disabled = _ref.disabled,
|
|
12796
12798
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
12797
12799
|
className = _ref.className,
|
|
12798
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12800
|
+
args = _objectWithoutProperties(_ref, _excluded$v);
|
|
12799
12801
|
var Component = as || "a";
|
|
12800
12802
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
12801
12803
|
ref: ref,
|
|
@@ -12906,7 +12908,7 @@
|
|
|
12906
12908
|
})(["padding:20px 30px;", " ", ""], FontStyle, BoxSizingStyle);
|
|
12907
12909
|
StyledDialogActions.displayName = "StyledDialogActions";
|
|
12908
12910
|
|
|
12909
|
-
var _excluded$
|
|
12911
|
+
var _excluded$u = ["in", "children", "style", "timeout"];
|
|
12910
12912
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
12911
12913
|
return {
|
|
12912
12914
|
transition: "all ".concat(duration, "ms ease-in-out"),
|
|
@@ -12934,7 +12936,7 @@
|
|
|
12934
12936
|
style = _ref.style,
|
|
12935
12937
|
_ref$timeout = _ref.timeout,
|
|
12936
12938
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
12937
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12939
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
12938
12940
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
12939
12941
|
appear: true,
|
|
12940
12942
|
in: inProp,
|
|
@@ -12949,7 +12951,7 @@
|
|
|
12949
12951
|
};
|
|
12950
12952
|
Fade.displayName = "Fade";
|
|
12951
12953
|
|
|
12952
|
-
var _excluded$
|
|
12954
|
+
var _excluded$t = ["in", "children", "style", "timeout", "initialDirection"];
|
|
12953
12955
|
var Slide = function Slide(_ref) {
|
|
12954
12956
|
var _ref$in = _ref.in,
|
|
12955
12957
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -12959,7 +12961,7 @@
|
|
|
12959
12961
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
12960
12962
|
_ref$initialDirection = _ref.initialDirection,
|
|
12961
12963
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
12962
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12964
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
12963
12965
|
var directionSign;
|
|
12964
12966
|
switch (initialDirection) {
|
|
12965
12967
|
case "right":
|
|
@@ -13012,12 +13014,12 @@
|
|
|
13012
13014
|
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;}"]);
|
|
13013
13015
|
});
|
|
13014
13016
|
|
|
13015
|
-
var _excluded$
|
|
13017
|
+
var _excluded$s = ["children", "direction"];
|
|
13016
13018
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
13017
13019
|
var children = _ref.children,
|
|
13018
13020
|
_ref$direction = _ref.direction,
|
|
13019
13021
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
13020
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13022
|
+
props = _objectWithoutProperties(_ref, _excluded$s);
|
|
13021
13023
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
13022
13024
|
timeout: 200,
|
|
13023
13025
|
classNames: "c-slide",
|
|
@@ -13060,7 +13062,7 @@
|
|
|
13060
13062
|
};
|
|
13061
13063
|
ResizeTransition.displayName = "ResizeTransition";
|
|
13062
13064
|
|
|
13063
|
-
var _excluded$
|
|
13065
|
+
var _excluded$r = ["in", "children", "style", "timeout"];
|
|
13064
13066
|
var defaultStyle = function defaultStyle(duration) {
|
|
13065
13067
|
return {
|
|
13066
13068
|
transition: "all ".concat(duration, "ms ease-in"),
|
|
@@ -13094,7 +13096,7 @@
|
|
|
13094
13096
|
style = _ref.style,
|
|
13095
13097
|
_ref$timeout = _ref.timeout,
|
|
13096
13098
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
13097
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13099
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
13098
13100
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
13099
13101
|
appear: true,
|
|
13100
13102
|
in: inProp,
|
|
@@ -13144,13 +13146,13 @@
|
|
|
13144
13146
|
};
|
|
13145
13147
|
Scale.displayName = "Scale";
|
|
13146
13148
|
|
|
13147
|
-
var _excluded$
|
|
13149
|
+
var _excluded$q = ["className", "children"];
|
|
13148
13150
|
// import { useDialogContext } from "./DialogContext";
|
|
13149
13151
|
|
|
13150
13152
|
var DialogActions = function DialogActions(_ref) {
|
|
13151
13153
|
var className = _ref.className,
|
|
13152
13154
|
children = _ref.children,
|
|
13153
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13155
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
13154
13156
|
// useDialogContext();
|
|
13155
13157
|
|
|
13156
13158
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
@@ -13159,13 +13161,13 @@
|
|
|
13159
13161
|
};
|
|
13160
13162
|
DialogActions.displayName = "DialogActions";
|
|
13161
13163
|
|
|
13162
|
-
var _excluded$
|
|
13164
|
+
var _excluded$p = ["className", "children"];
|
|
13163
13165
|
// import { useDialogContext } from "./DialogContext";
|
|
13164
13166
|
|
|
13165
13167
|
var DialogContent = function DialogContent(_ref) {
|
|
13166
13168
|
var className = _ref.className,
|
|
13167
13169
|
children = _ref.children,
|
|
13168
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13170
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
13169
13171
|
// useDialogContext();
|
|
13170
13172
|
|
|
13171
13173
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
@@ -13186,7 +13188,7 @@
|
|
|
13186
13188
|
};
|
|
13187
13189
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
13188
13190
|
|
|
13189
|
-
var _excluded$
|
|
13191
|
+
var _excluded$o = ["children", "className", "disableDefaultHeading"];
|
|
13190
13192
|
// import { useDialogContext } from "./DialogContext";
|
|
13191
13193
|
|
|
13192
13194
|
var DialogTitle = function DialogTitle(_ref) {
|
|
@@ -13194,7 +13196,7 @@
|
|
|
13194
13196
|
className = _ref.className,
|
|
13195
13197
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
13196
13198
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
13197
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13199
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
13198
13200
|
// useDialogContext();
|
|
13199
13201
|
|
|
13200
13202
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
@@ -13462,7 +13464,7 @@
|
|
|
13462
13464
|
});
|
|
13463
13465
|
StyledPressed.displayName = "StyledPressed";
|
|
13464
13466
|
|
|
13465
|
-
var _excluded$
|
|
13467
|
+
var _excluded$n = ["children", "active", "className"];
|
|
13466
13468
|
/**
|
|
13467
13469
|
* Pressed wrapper for button component
|
|
13468
13470
|
* @deprecated
|
|
@@ -13472,7 +13474,7 @@
|
|
|
13472
13474
|
_ref$active = _ref.active,
|
|
13473
13475
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
13474
13476
|
className = _ref.className,
|
|
13475
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
13477
|
+
args = _objectWithoutProperties(_ref, _excluded$n);
|
|
13476
13478
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
13477
13479
|
active: active,
|
|
13478
13480
|
ref: ref,
|
|
@@ -13969,7 +13971,7 @@
|
|
|
13969
13971
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
13970
13972
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
13971
13973
|
|
|
13972
|
-
var _excluded$
|
|
13974
|
+
var _excluded$m = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
13973
13975
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13974
13976
|
var text = _ref.text,
|
|
13975
13977
|
type = _ref.type,
|
|
@@ -13980,7 +13982,7 @@
|
|
|
13980
13982
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
13981
13983
|
_ref$timeout = _ref.timeout,
|
|
13982
13984
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
13983
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13985
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
13984
13986
|
var handleOnClose = React.useCallback(function () {
|
|
13985
13987
|
if (typeof onClose === "function") {
|
|
13986
13988
|
onClose();
|
|
@@ -14028,7 +14030,7 @@
|
|
|
14028
14030
|
});
|
|
14029
14031
|
StyledValueButton.displayName = "StyledValueButton";
|
|
14030
14032
|
|
|
14031
|
-
var _excluded$
|
|
14033
|
+
var _excluded$l = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
14032
14034
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14033
14035
|
var _ref$active = _ref.active,
|
|
14034
14036
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -14037,7 +14039,7 @@
|
|
|
14037
14039
|
icon = _ref.icon,
|
|
14038
14040
|
label = _ref.label,
|
|
14039
14041
|
value = _ref.value,
|
|
14040
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
14042
|
+
args = _objectWithoutProperties(_ref, _excluded$l);
|
|
14041
14043
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
14042
14044
|
className: "c-value-button"
|
|
14043
14045
|
}, args, {
|
|
@@ -14066,12 +14068,12 @@
|
|
|
14066
14068
|
})(["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;}"]);
|
|
14067
14069
|
StyledButton.displayName = "StyledButton";
|
|
14068
14070
|
|
|
14069
|
-
var _excluded$
|
|
14071
|
+
var _excluded$k = ["children", "type"];
|
|
14070
14072
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14071
14073
|
var children = _ref.children,
|
|
14072
14074
|
_ref$type = _ref.type,
|
|
14073
14075
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
14074
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14076
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
14075
14077
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
14076
14078
|
ref: ref,
|
|
14077
14079
|
role: "button",
|
|
@@ -14117,7 +14119,7 @@
|
|
|
14117
14119
|
});
|
|
14118
14120
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
14119
14121
|
|
|
14120
|
-
var _excluded$
|
|
14122
|
+
var _excluded$j = ["children", "type", "size", "invalid", "open", "endAdornment", "typographyProps"];
|
|
14121
14123
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14122
14124
|
var children = _ref.children,
|
|
14123
14125
|
_ref$type = _ref.type,
|
|
@@ -14130,7 +14132,7 @@
|
|
|
14130
14132
|
open = _ref$open === void 0 ? false : _ref$open,
|
|
14131
14133
|
endAdornment = _ref.endAdornment,
|
|
14132
14134
|
typographyProps = _ref.typographyProps,
|
|
14133
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14135
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
14134
14136
|
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
14135
14137
|
ref: ref,
|
|
14136
14138
|
role: "button",
|
|
@@ -14177,11 +14179,11 @@
|
|
|
14177
14179
|
});
|
|
14178
14180
|
StyledToggle.displayName = "StyledToggle";
|
|
14179
14181
|
|
|
14180
|
-
var _excluded$
|
|
14182
|
+
var _excluded$i = ["hovered", "className"];
|
|
14181
14183
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14182
14184
|
var hovered = _ref.hovered,
|
|
14183
14185
|
className = _ref.className,
|
|
14184
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
14186
|
+
args = _objectWithoutProperties(_ref, _excluded$i);
|
|
14185
14187
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
14186
14188
|
className: classNames__default["default"]("c-toggle", className),
|
|
14187
14189
|
$isHovered: hovered,
|
|
@@ -14334,7 +14336,7 @@
|
|
|
14334
14336
|
});
|
|
14335
14337
|
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
14336
14338
|
|
|
14337
|
-
var _excluded$
|
|
14339
|
+
var _excluded$h = ["leftAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "variant", "typographyProps"];
|
|
14338
14340
|
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
14339
14341
|
var leftAdornment = _ref.leftAdornment,
|
|
14340
14342
|
label = _ref.label,
|
|
@@ -14346,7 +14348,7 @@
|
|
|
14346
14348
|
closeClassName = _ref.closeClassName,
|
|
14347
14349
|
variant = _ref.variant,
|
|
14348
14350
|
typographyProps = _ref.typographyProps,
|
|
14349
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14351
|
+
rest = _objectWithoutProperties(_ref, _excluded$h);
|
|
14350
14352
|
var showClose = typeof onClose === "function";
|
|
14351
14353
|
var _variant = React.useMemo(function () {
|
|
14352
14354
|
if (typeof variant !== "undefined") {
|
|
@@ -14422,7 +14424,7 @@
|
|
|
14422
14424
|
return isFirst.current;
|
|
14423
14425
|
};
|
|
14424
14426
|
|
|
14425
|
-
var _excluded$
|
|
14427
|
+
var _excluded$g = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid", "type", "renderChip", "forceCloseMenu", "renderOption", "limitChips", "hiddenNumberText", "inPortal", "inputWrapperClassName", "scrollWrapper", "onClose", "onClear"];
|
|
14426
14428
|
var ComboBox = function ComboBox(_ref) {
|
|
14427
14429
|
var _comboBoxRef$current2, _comboBoxRef$current3;
|
|
14428
14430
|
var _ref$options = _ref.options,
|
|
@@ -14455,7 +14457,7 @@
|
|
|
14455
14457
|
scrollWrapper = _ref.scrollWrapper,
|
|
14456
14458
|
onClose = _ref.onClose,
|
|
14457
14459
|
onClear = _ref.onClear,
|
|
14458
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
14460
|
+
prop = _objectWithoutProperties(_ref, _excluded$g);
|
|
14459
14461
|
var selectedName = React.useMemo(function () {
|
|
14460
14462
|
var value = "";
|
|
14461
14463
|
if (!selected) {
|
|
@@ -14859,11 +14861,11 @@
|
|
|
14859
14861
|
})(["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);
|
|
14860
14862
|
StyledAddToListButton.displayName = "StyledAddToListButton";
|
|
14861
14863
|
|
|
14862
|
-
var _excluded$
|
|
14864
|
+
var _excluded$f = ["text", "className"];
|
|
14863
14865
|
var AddToListButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14864
14866
|
var text = _ref.text,
|
|
14865
14867
|
className = _ref.className,
|
|
14866
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14868
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
14867
14869
|
return /*#__PURE__*/React__default["default"].createElement(StyledAddToListButton, _extends({
|
|
14868
14870
|
ref: ref,
|
|
14869
14871
|
className: classNames__default["default"]("c--add-to-list-btn", className)
|
|
@@ -15046,11 +15048,11 @@
|
|
|
15046
15048
|
};
|
|
15047
15049
|
ProgressRing.displayName = "ProgressRing";
|
|
15048
15050
|
|
|
15049
|
-
var _excluded$
|
|
15051
|
+
var _excluded$e = ["radius"];
|
|
15050
15052
|
var ProgressPie = function ProgressPie(_ref) {
|
|
15051
15053
|
var _ref$radius = _ref.radius,
|
|
15052
15054
|
radius = _ref$radius === void 0 ? 20 : _ref$radius,
|
|
15053
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15055
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
15054
15056
|
return /*#__PURE__*/React__default["default"].createElement(ProgressRing, _extends({}, rest, {
|
|
15055
15057
|
stroke: radius,
|
|
15056
15058
|
radius: radius
|
|
@@ -15374,7 +15376,7 @@
|
|
|
15374
15376
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
15375
15377
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
15376
15378
|
|
|
15377
|
-
var _excluded$
|
|
15379
|
+
var _excluded$d = ["invalid", "required", "size", "children", "className", "weight"];
|
|
15378
15380
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15379
15381
|
var _ref$invalid = _ref.invalid,
|
|
15380
15382
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -15386,7 +15388,7 @@
|
|
|
15386
15388
|
className = _ref.className,
|
|
15387
15389
|
_ref$weight = _ref.weight,
|
|
15388
15390
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
15389
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15391
|
+
props = _objectWithoutProperties(_ref, _excluded$d);
|
|
15390
15392
|
var color = invalid ? "alert" : "primary";
|
|
15391
15393
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
15392
15394
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
@@ -15445,7 +15447,7 @@
|
|
|
15445
15447
|
});
|
|
15446
15448
|
StyledInput$1.displayName = "StyledInput";
|
|
15447
15449
|
|
|
15448
|
-
var _excluded$
|
|
15450
|
+
var _excluded$c = ["className", "variant", "weight", "disabled", "inputProps", "wrapRef"];
|
|
15449
15451
|
var EditableContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15450
15452
|
var className = _ref.className,
|
|
15451
15453
|
_ref$variant = _ref.variant,
|
|
@@ -15455,7 +15457,7 @@
|
|
|
15455
15457
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
15456
15458
|
inputProps = _ref.inputProps,
|
|
15457
15459
|
wrapRef = _ref.wrapRef,
|
|
15458
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15460
|
+
props = _objectWithoutProperties(_ref, _excluded$c);
|
|
15459
15461
|
var intInputRef = React.useRef(null);
|
|
15460
15462
|
var handleRef = useForkRef(ref, intInputRef);
|
|
15461
15463
|
var handleBlur = React.useCallback(function (evt) {
|
|
@@ -15485,13 +15487,13 @@
|
|
|
15485
15487
|
});
|
|
15486
15488
|
EditableContent.displayName = "EditableContent";
|
|
15487
15489
|
|
|
15488
|
-
var _excluded$
|
|
15490
|
+
var _excluded$b = ["onSave", "onCancel", "value", "inputProps"];
|
|
15489
15491
|
var EditableText = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15490
15492
|
var onSave = _ref.onSave,
|
|
15491
15493
|
onCancel = _ref.onCancel,
|
|
15492
15494
|
value = _ref.value,
|
|
15493
15495
|
inputProps = _ref.inputProps,
|
|
15494
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15496
|
+
props = _objectWithoutProperties(_ref, _excluded$b);
|
|
15495
15497
|
var _useState = React.useState(value),
|
|
15496
15498
|
_useState2 = _slicedToArray(_useState, 2),
|
|
15497
15499
|
currentValue = _useState2[0],
|
|
@@ -15549,11 +15551,11 @@
|
|
|
15549
15551
|
});
|
|
15550
15552
|
EditableText.displayName = "EditableText";
|
|
15551
15553
|
|
|
15552
|
-
var _excluded$
|
|
15554
|
+
var _excluded$a = ["withDocuments"];
|
|
15553
15555
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
15554
15556
|
var _ref$withDocuments = _ref.withDocuments,
|
|
15555
15557
|
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
15556
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15558
|
+
props = _objectWithoutProperties(_ref, _excluded$a);
|
|
15557
15559
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
15558
15560
|
width: 100,
|
|
15559
15561
|
height: 100,
|
|
@@ -15696,7 +15698,7 @@
|
|
|
15696
15698
|
return $renderAs === "list" && styled.css(["justify-self:flex-end;"]);
|
|
15697
15699
|
});
|
|
15698
15700
|
|
|
15699
|
-
var _excluded$
|
|
15701
|
+
var _excluded$9 = ["children", "gap", "renderAs"];
|
|
15700
15702
|
var EntityGroupContext = /*#__PURE__*/React__default["default"].createContext({
|
|
15701
15703
|
renderAs: "grid"
|
|
15702
15704
|
});
|
|
@@ -15705,7 +15707,7 @@
|
|
|
15705
15707
|
gap = _ref.gap,
|
|
15706
15708
|
_ref$renderAs = _ref.renderAs,
|
|
15707
15709
|
renderAs = _ref$renderAs === void 0 ? "grid" : _ref$renderAs,
|
|
15708
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15710
|
+
rest = _objectWithoutProperties(_ref, _excluded$9);
|
|
15709
15711
|
return /*#__PURE__*/React__default["default"].createElement(EntityGroupContext.Provider, {
|
|
15710
15712
|
value: {
|
|
15711
15713
|
renderAs: renderAs
|
|
@@ -15717,14 +15719,14 @@
|
|
|
15717
15719
|
};
|
|
15718
15720
|
EntityGroup.displayName = "EntityGroup";
|
|
15719
15721
|
|
|
15720
|
-
var _excluded$
|
|
15722
|
+
var _excluded$8 = ["children", "isCollection", "background", "className", "as"];
|
|
15721
15723
|
var EntityCard = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15722
15724
|
var children = _ref.children,
|
|
15723
15725
|
isCollection = _ref.isCollection,
|
|
15724
15726
|
background = _ref.background,
|
|
15725
15727
|
className = _ref.className,
|
|
15726
15728
|
as = _ref.as,
|
|
15727
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15729
|
+
rest = _objectWithoutProperties(_ref, _excluded$8);
|
|
15728
15730
|
var _useContext = React.useContext(EntityGroupContext),
|
|
15729
15731
|
renderAs = _useContext.renderAs;
|
|
15730
15732
|
var classSuffix = "c-entity-card-".concat(renderAs);
|
|
@@ -15743,13 +15745,13 @@
|
|
|
15743
15745
|
});
|
|
15744
15746
|
EntityCard.displayName = "EntityCard";
|
|
15745
15747
|
|
|
15746
|
-
var _excluded$
|
|
15748
|
+
var _excluded$7 = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
15747
15749
|
var EntityProperty = function EntityProperty(_ref) {
|
|
15748
15750
|
var listOrder = _ref.listOrder,
|
|
15749
15751
|
listWidth = _ref.listWidth,
|
|
15750
15752
|
visibleFromBreakpoint = _ref.visibleFromBreakpoint,
|
|
15751
15753
|
className = _ref.className,
|
|
15752
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15754
|
+
props = _objectWithoutProperties(_ref, _excluded$7);
|
|
15753
15755
|
var _useContext = React.useContext(EntityGroupContext),
|
|
15754
15756
|
renderAs = _useContext.renderAs;
|
|
15755
15757
|
var classSuffix = "c-entity-property-".concat(renderAs);
|
|
@@ -15889,6 +15891,7 @@
|
|
|
15889
15891
|
}), children);
|
|
15890
15892
|
};
|
|
15891
15893
|
|
|
15894
|
+
var _excluded$6 = ["id", "title", "submenu", "searchPlaceholder", "disableInternalSort", "isSingleSelect", "defaultValue"];
|
|
15892
15895
|
var Filter = function Filter(_ref) {
|
|
15893
15896
|
var data = _ref.data,
|
|
15894
15897
|
_ref$selected = _ref.selected,
|
|
@@ -16056,7 +16059,8 @@
|
|
|
16056
16059
|
searchPlaceholder = _ref2.searchPlaceholder,
|
|
16057
16060
|
disableInternalSort = _ref2.disableInternalSort,
|
|
16058
16061
|
isSingleSelect = _ref2.isSingleSelect,
|
|
16059
|
-
defaultValue = _ref2.defaultValue
|
|
16062
|
+
defaultValue = _ref2.defaultValue,
|
|
16063
|
+
rest = _objectWithoutProperties(_ref2, _excluded$6);
|
|
16060
16064
|
return /*#__PURE__*/React__default["default"].createElement(SlideLeftRightTransition, {
|
|
16061
16065
|
key: "filter-submenu-".concat(index),
|
|
16062
16066
|
in: menu === id,
|
|
@@ -16075,7 +16079,7 @@
|
|
|
16075
16079
|
indexPage: menu === "index"
|
|
16076
16080
|
}, /*#__PURE__*/React__default["default"].createElement(FocusLock.MoveFocusInside, {
|
|
16077
16081
|
disabled: enteredMenu !== id
|
|
16078
|
-
}, /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
16082
|
+
}, /*#__PURE__*/React__default["default"].createElement(Select, _extends({
|
|
16079
16083
|
options: submenu,
|
|
16080
16084
|
selected: filter[id],
|
|
16081
16085
|
onChange: handleChange,
|
|
@@ -16087,7 +16091,7 @@
|
|
|
16087
16091
|
disableSearch: Boolean(submenu.length <= 7),
|
|
16088
16092
|
disabledInternalSort: disableInternalSort,
|
|
16089
16093
|
defaultValue: defaultValue
|
|
16090
|
-
}), (_filter$id = filter[id]) !== null && _filter$id !== void 0 && _filter$id.length ? /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter, null, /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
16094
|
+
}, rest)), (_filter$id = filter[id]) !== null && _filter$id !== void 0 && _filter$id.length ? /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter, null, /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
16091
16095
|
variant: "text colored",
|
|
16092
16096
|
size: "small",
|
|
16093
16097
|
onClick: handleReset
|