@activecollab/components 1.0.337 → 1.0.339
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/Entity/EntityGroup.js.map +1 -1
- package/dist/cjs/components/Entity/EntitySeparator.js +23 -0
- package/dist/cjs/components/Entity/EntitySeparator.js.map +1 -0
- package/dist/cjs/components/Entity/index.js +10 -2
- package/dist/cjs/components/Entity/index.js.map +1 -1
- package/dist/esm/components/Entity/EntityGroup.d.ts +1 -2
- package/dist/esm/components/Entity/EntityGroup.d.ts.map +1 -1
- package/dist/esm/components/Entity/EntityGroup.js.map +1 -1
- package/dist/esm/components/Entity/EntitySeparator.d.ts +3 -0
- package/dist/esm/components/Entity/EntitySeparator.d.ts.map +1 -0
- package/dist/esm/components/Entity/EntitySeparator.js +14 -0
- package/dist/esm/components/Entity/EntitySeparator.js.map +1 -0
- package/dist/esm/components/Entity/index.d.ts +3 -0
- package/dist/esm/components/Entity/index.d.ts.map +1 -1
- package/dist/esm/components/Entity/index.js +8 -2
- package/dist/esm/components/Entity/index.js.map +1 -1
- package/dist/index.js +173 -157
- 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$1l = ["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$1l);
|
|
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$1k = ["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$1k);
|
|
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$1j = ["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$1j);
|
|
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$1i = ["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$1i);
|
|
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$1h = ["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$1h);
|
|
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$1g = ["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$1g);
|
|
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$1f = ["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$1f);
|
|
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$1e = ["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$1e);
|
|
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$1d = ["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$1d);
|
|
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$1c = ["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$1c);
|
|
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$1b = ["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$1b);
|
|
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$1a = ["className"];
|
|
1165
1165
|
var ListSeparator = function ListSeparator(_ref) {
|
|
1166
1166
|
var className = _ref.className,
|
|
1167
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1167
|
+
props = _objectWithoutProperties(_ref, _excluded$1a);
|
|
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$19 = ["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$19);
|
|
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$18 = ["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$18);
|
|
1235
1235
|
return /*#__PURE__*/React__default["default"].createElement(StyledIconButton, _extends({
|
|
1236
1236
|
className: className,
|
|
1237
1237
|
variant: variant,
|
|
@@ -7520,14 +7520,14 @@
|
|
|
7520
7520
|
});
|
|
7521
7521
|
StyledBreadcrumbListItem.displayName = "StyledBreadcrumbListItem";
|
|
7522
7522
|
|
|
7523
|
-
var _excluded$
|
|
7523
|
+
var _excluded$17 = ["children", "className", "separator"];
|
|
7524
7524
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7525
7525
|
var _dimensions$width, _childDimensions$widt;
|
|
7526
7526
|
var children = _ref.children,
|
|
7527
7527
|
className = _ref.className,
|
|
7528
7528
|
_ref$separator = _ref.separator,
|
|
7529
7529
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
7530
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7530
|
+
rest = _objectWithoutProperties(_ref, _excluded$17);
|
|
7531
7531
|
var internalRef = React.useRef(null);
|
|
7532
7532
|
var listWrapperRef = React.useRef(null);
|
|
7533
7533
|
var olRef = React.useRef(null);
|
|
@@ -7694,10 +7694,10 @@
|
|
|
7694
7694
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
7695
7695
|
});
|
|
7696
7696
|
|
|
7697
|
-
var _excluded$
|
|
7697
|
+
var _excluded$16 = ["children"];
|
|
7698
7698
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
7699
7699
|
var children = _ref.children,
|
|
7700
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7700
|
+
props = _objectWithoutProperties(_ref, _excluded$16);
|
|
7701
7701
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
7702
7702
|
timeout: 0
|
|
7703
7703
|
}, props), children);
|
|
@@ -7772,12 +7772,12 @@
|
|
|
7772
7772
|
});
|
|
7773
7773
|
Tooltip.displayName = "Tooltip";
|
|
7774
7774
|
|
|
7775
|
-
var _excluded$
|
|
7775
|
+
var _excluded$15 = ["weight", "children"];
|
|
7776
7776
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7777
7777
|
var _ref$weight = _ref.weight,
|
|
7778
7778
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
7779
7779
|
children = _ref.children,
|
|
7780
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7780
|
+
props = _objectWithoutProperties(_ref, _excluded$15);
|
|
7781
7781
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
7782
7782
|
variant: "Body 2",
|
|
7783
7783
|
weight: weight,
|
|
@@ -7826,7 +7826,7 @@
|
|
|
7826
7826
|
});
|
|
7827
7827
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
7828
7828
|
|
|
7829
|
-
var _excluded$
|
|
7829
|
+
var _excluded$14 = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className", "disabled"];
|
|
7830
7830
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7831
7831
|
var label = _ref.label,
|
|
7832
7832
|
icon = _ref.icon,
|
|
@@ -7838,7 +7838,7 @@
|
|
|
7838
7838
|
className = _ref.className,
|
|
7839
7839
|
_ref$disabled = _ref.disabled,
|
|
7840
7840
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7841
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
7841
|
+
args = _objectWithoutProperties(_ref, _excluded$14);
|
|
7842
7842
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
7843
7843
|
ref: ref,
|
|
7844
7844
|
className: className
|
|
@@ -8149,7 +8149,7 @@
|
|
|
8149
8149
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
8150
8150
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
8151
8151
|
|
|
8152
|
-
var _excluded$
|
|
8152
|
+
var _excluded$13 = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
8153
8153
|
var DatePicker = function DatePicker(_ref) {
|
|
8154
8154
|
var className = _ref.className,
|
|
8155
8155
|
onChange = _ref.onChange,
|
|
@@ -8171,7 +8171,7 @@
|
|
|
8171
8171
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
8172
8172
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
8173
8173
|
defaultModifiers = _ref.modifiers,
|
|
8174
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8174
|
+
rest = _objectWithoutProperties(_ref, _excluded$13);
|
|
8175
8175
|
var _useState = React.useState(),
|
|
8176
8176
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8177
8177
|
enteredTo = _useState2[0],
|
|
@@ -9063,10 +9063,10 @@
|
|
|
9063
9063
|
componentId: "sc-x4ge7a-0"
|
|
9064
9064
|
})(["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);
|
|
9065
9065
|
|
|
9066
|
-
var _excluded$
|
|
9066
|
+
var _excluded$12 = ["className"];
|
|
9067
9067
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9068
9068
|
var className = _ref.className,
|
|
9069
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9069
|
+
rest = _objectWithoutProperties(_ref, _excluded$12);
|
|
9070
9070
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
9071
9071
|
ref: ref,
|
|
9072
9072
|
className: classNames__default["default"]("c-loader c-loader--linear", className)
|
|
@@ -9080,10 +9080,10 @@
|
|
|
9080
9080
|
componentId: "sc-1f35d5h-0"
|
|
9081
9081
|
})(["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);
|
|
9082
9082
|
|
|
9083
|
-
var _excluded$
|
|
9083
|
+
var _excluded$11 = ["className"];
|
|
9084
9084
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9085
9085
|
var className = _ref.className,
|
|
9086
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9086
|
+
rest = _objectWithoutProperties(_ref, _excluded$11);
|
|
9087
9087
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
9088
9088
|
ref: ref,
|
|
9089
9089
|
className: classNames__default["default"]("c-loader c-loader--dots", className)
|
|
@@ -9105,7 +9105,7 @@
|
|
|
9105
9105
|
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);
|
|
9106
9106
|
});
|
|
9107
9107
|
|
|
9108
|
-
var _excluded
|
|
9108
|
+
var _excluded$10 = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
9109
9109
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9110
9110
|
var _ref$radius = _ref.radius,
|
|
9111
9111
|
radius = _ref$radius === void 0 ? 10 : _ref$radius,
|
|
@@ -9120,7 +9120,7 @@
|
|
|
9120
9120
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
9121
9121
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
9122
9122
|
className = _ref.className,
|
|
9123
|
-
rest = _objectWithoutProperties(_ref, _excluded
|
|
9123
|
+
rest = _objectWithoutProperties(_ref, _excluded$10);
|
|
9124
9124
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader$1, _extends({
|
|
9125
9125
|
ref: ref,
|
|
9126
9126
|
className: className,
|
|
@@ -9134,7 +9134,7 @@
|
|
|
9134
9134
|
});
|
|
9135
9135
|
SpinnerLoader.displayName = "SpinnerLoader";
|
|
9136
9136
|
|
|
9137
|
-
var _excluded
|
|
9137
|
+
var _excluded$$ = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
|
|
9138
9138
|
exports.SortDirection = void 0;
|
|
9139
9139
|
(function (SortDirection) {
|
|
9140
9140
|
SortDirection["None"] = "none";
|
|
@@ -9182,7 +9182,7 @@
|
|
|
9182
9182
|
loading = _ref.loading,
|
|
9183
9183
|
_ref$loadingRows = _ref.loadingRows,
|
|
9184
9184
|
loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
|
|
9185
|
-
args = _objectWithoutProperties(_ref, _excluded
|
|
9185
|
+
args = _objectWithoutProperties(_ref, _excluded$$);
|
|
9186
9186
|
var _useState = React.useState(sortDirection),
|
|
9187
9187
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9188
9188
|
columnDirection = _useState2[0],
|
|
@@ -9584,7 +9584,7 @@
|
|
|
9584
9584
|
});
|
|
9585
9585
|
StyledPaper.displayName = "StyledPaper";
|
|
9586
9586
|
|
|
9587
|
-
var _excluded$
|
|
9587
|
+
var _excluded$_ = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
9588
9588
|
/**
|
|
9589
9589
|
* This is a component description and should sit directly above your component
|
|
9590
9590
|
*/
|
|
@@ -9597,7 +9597,7 @@
|
|
|
9597
9597
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
9598
9598
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
9599
9599
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
9600
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9600
|
+
rest = _objectWithoutProperties(_ref, _excluded$_);
|
|
9601
9601
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
9602
9602
|
className: classNames__default["default"](className, {
|
|
9603
9603
|
"ac-shadow--raised--lg": !useOptimizedShadow && hover && type === "paper-1",
|
|
@@ -9650,7 +9650,7 @@
|
|
|
9650
9650
|
});
|
|
9651
9651
|
StyledCard.displayName = "StyledCard";
|
|
9652
9652
|
|
|
9653
|
-
var _excluded$
|
|
9653
|
+
var _excluded$Z = ["children", "className", "hoverable", "paperType"];
|
|
9654
9654
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9655
9655
|
var children = _ref.children,
|
|
9656
9656
|
className = _ref.className,
|
|
@@ -9658,7 +9658,7 @@
|
|
|
9658
9658
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
9659
9659
|
_ref$paperType = _ref.paperType,
|
|
9660
9660
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
9661
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9661
|
+
rest = _objectWithoutProperties(_ref, _excluded$Z);
|
|
9662
9662
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
9663
9663
|
type: paperType,
|
|
9664
9664
|
className: classNames__default["default"]("c-card", className),
|
|
@@ -9737,12 +9737,12 @@
|
|
|
9737
9737
|
});
|
|
9738
9738
|
EntityCard$1.displayName = "EntityCard";
|
|
9739
9739
|
|
|
9740
|
-
var _excluded$
|
|
9740
|
+
var _excluded$Y = ["weight", "children"];
|
|
9741
9741
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9742
9742
|
var _ref$weight = _ref.weight,
|
|
9743
9743
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
9744
9744
|
children = _ref.children,
|
|
9745
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9745
|
+
props = _objectWithoutProperties(_ref, _excluded$Y);
|
|
9746
9746
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9747
9747
|
weight: weight,
|
|
9748
9748
|
variant: "Title 1",
|
|
@@ -9751,12 +9751,12 @@
|
|
|
9751
9751
|
});
|
|
9752
9752
|
Title1.displayName = "Title1";
|
|
9753
9753
|
|
|
9754
|
-
var _excluded$
|
|
9754
|
+
var _excluded$X = ["weight", "children"];
|
|
9755
9755
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9756
9756
|
var _ref$weight = _ref.weight,
|
|
9757
9757
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
9758
9758
|
children = _ref.children,
|
|
9759
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9759
|
+
props = _objectWithoutProperties(_ref, _excluded$X);
|
|
9760
9760
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9761
9761
|
weight: weight,
|
|
9762
9762
|
variant: "Title 2",
|
|
@@ -9765,10 +9765,10 @@
|
|
|
9765
9765
|
});
|
|
9766
9766
|
Title2.displayName = "Title2";
|
|
9767
9767
|
|
|
9768
|
-
var _excluded$
|
|
9768
|
+
var _excluded$W = ["children"];
|
|
9769
9769
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9770
9770
|
var children = _ref.children,
|
|
9771
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9771
|
+
props = _objectWithoutProperties(_ref, _excluded$W);
|
|
9772
9772
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9773
9773
|
weight: "bold",
|
|
9774
9774
|
variant: "Header 2",
|
|
@@ -9777,10 +9777,10 @@
|
|
|
9777
9777
|
});
|
|
9778
9778
|
Header2.displayName = "Header2";
|
|
9779
9779
|
|
|
9780
|
-
var _excluded$
|
|
9780
|
+
var _excluded$V = ["children"];
|
|
9781
9781
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9782
9782
|
var children = _ref.children,
|
|
9783
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9783
|
+
props = _objectWithoutProperties(_ref, _excluded$V);
|
|
9784
9784
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9785
9785
|
weight: "bold",
|
|
9786
9786
|
variant: "Header 3",
|
|
@@ -9789,12 +9789,12 @@
|
|
|
9789
9789
|
});
|
|
9790
9790
|
Header3.displayName = "Header3";
|
|
9791
9791
|
|
|
9792
|
-
var _excluded$
|
|
9792
|
+
var _excluded$U = ["weight", "children"];
|
|
9793
9793
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9794
9794
|
var _ref$weight = _ref.weight,
|
|
9795
9795
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9796
9796
|
children = _ref.children,
|
|
9797
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9797
|
+
props = _objectWithoutProperties(_ref, _excluded$U);
|
|
9798
9798
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9799
9799
|
variant: "Body 1",
|
|
9800
9800
|
weight: weight,
|
|
@@ -9803,12 +9803,12 @@
|
|
|
9803
9803
|
});
|
|
9804
9804
|
Body1.displayName = "Body1";
|
|
9805
9805
|
|
|
9806
|
-
var _excluded$
|
|
9806
|
+
var _excluded$T = ["weight", "children"];
|
|
9807
9807
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9808
9808
|
var _ref$weight = _ref.weight,
|
|
9809
9809
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9810
9810
|
children = _ref.children,
|
|
9811
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9811
|
+
props = _objectWithoutProperties(_ref, _excluded$T);
|
|
9812
9812
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9813
9813
|
variant: "Caption 1",
|
|
9814
9814
|
weight: weight,
|
|
@@ -9817,12 +9817,12 @@
|
|
|
9817
9817
|
});
|
|
9818
9818
|
Caption1.displayName = "Caption1";
|
|
9819
9819
|
|
|
9820
|
-
var _excluded$
|
|
9820
|
+
var _excluded$S = ["weight", "children"];
|
|
9821
9821
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9822
9822
|
var _ref$weight = _ref.weight,
|
|
9823
9823
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9824
9824
|
children = _ref.children,
|
|
9825
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9825
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
9826
9826
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9827
9827
|
variant: "Caption 2",
|
|
9828
9828
|
weight: weight,
|
|
@@ -9934,7 +9934,7 @@
|
|
|
9934
9934
|
componentId: "sc-5x2tyd-1"
|
|
9935
9935
|
})(["border-radius:100%;object-fit:cover;"]);
|
|
9936
9936
|
|
|
9937
|
-
var _excluded$
|
|
9937
|
+
var _excluded$R = ["url", "alt", "size", "className", "imgClassName", "children"];
|
|
9938
9938
|
/**
|
|
9939
9939
|
* @component Avatar
|
|
9940
9940
|
* @description
|
|
@@ -9969,7 +9969,7 @@
|
|
|
9969
9969
|
className = _ref.className,
|
|
9970
9970
|
imgClassName = _ref.imgClassName,
|
|
9971
9971
|
children = _ref.children,
|
|
9972
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9972
|
+
rest = _objectWithoutProperties(_ref, _excluded$R);
|
|
9973
9973
|
var _useState = React.useState(false),
|
|
9974
9974
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9975
9975
|
imageLoaded = _useState2[0],
|
|
@@ -10010,13 +10010,13 @@
|
|
|
10010
10010
|
return props.$color && styled.css(["background-color:", ";"], props.$color);
|
|
10011
10011
|
});
|
|
10012
10012
|
|
|
10013
|
-
var _excluded$
|
|
10013
|
+
var _excluded$Q = ["color", "size", "className"];
|
|
10014
10014
|
var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10015
10015
|
var color = _ref.color,
|
|
10016
10016
|
_ref$size = _ref.size,
|
|
10017
10017
|
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
10018
10018
|
className = _ref.className,
|
|
10019
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10019
|
+
rest = _objectWithoutProperties(_ref, _excluded$Q);
|
|
10020
10020
|
return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
|
|
10021
10021
|
className: classNames__default["default"]("c-dot", className),
|
|
10022
10022
|
ref: ref,
|
|
@@ -10053,7 +10053,7 @@
|
|
|
10053
10053
|
});
|
|
10054
10054
|
StyledTagText.displayName = "StyledTagText";
|
|
10055
10055
|
|
|
10056
|
-
var _excluded$
|
|
10056
|
+
var _excluded$P = ["name", "color", "showText", "showDot", "className"];
|
|
10057
10057
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10058
10058
|
var name = _ref.name,
|
|
10059
10059
|
color = _ref.color,
|
|
@@ -10062,7 +10062,7 @@
|
|
|
10062
10062
|
_ref$showDot = _ref.showDot,
|
|
10063
10063
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
10064
10064
|
className = _ref.className,
|
|
10065
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10065
|
+
rest = _objectWithoutProperties(_ref, _excluded$P);
|
|
10066
10066
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
10067
10067
|
className: classNames__default["default"]("c-tag", className),
|
|
10068
10068
|
ref: ref
|
|
@@ -10192,7 +10192,7 @@
|
|
|
10192
10192
|
});
|
|
10193
10193
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
10194
10194
|
|
|
10195
|
-
var _excluded$
|
|
10195
|
+
var _excluded$O = ["isIndeterminate", "data-testid"];
|
|
10196
10196
|
|
|
10197
10197
|
/**
|
|
10198
10198
|
* @component CheckboxIcon
|
|
@@ -10216,7 +10216,7 @@
|
|
|
10216
10216
|
var CheckboxIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
10217
10217
|
var isIndeterminate = _ref.isIndeterminate,
|
|
10218
10218
|
testId = _ref["data-testid"],
|
|
10219
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10219
|
+
props = _objectWithoutProperties(_ref, _excluded$O);
|
|
10220
10220
|
var _useState = React.useState(false),
|
|
10221
10221
|
_useState2 = _slicedToArray(_useState, 2),
|
|
10222
10222
|
animate = _useState2[0],
|
|
@@ -10285,7 +10285,7 @@
|
|
|
10285
10285
|
CheckboxIcon.displayName = "CheckboxIcon";
|
|
10286
10286
|
var CheckboxIcon$1 = CheckboxIcon;
|
|
10287
10287
|
|
|
10288
|
-
var _excluded$
|
|
10288
|
+
var _excluded$N = ["className", "hover", "id", "isIndeterminate"];
|
|
10289
10289
|
/**
|
|
10290
10290
|
* Checkbox component
|
|
10291
10291
|
*/
|
|
@@ -10295,7 +10295,7 @@
|
|
|
10295
10295
|
_ref$id = _ref.id,
|
|
10296
10296
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
10297
10297
|
isIndeterminate = _ref.isIndeterminate,
|
|
10298
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10298
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
10299
10299
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
|
|
10300
10300
|
className: classNames__default["default"]("c-checkbox", {
|
|
10301
10301
|
"c-checkbox__hover": hover,
|
|
@@ -10497,7 +10497,7 @@
|
|
|
10497
10497
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
10498
10498
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
10499
10499
|
|
|
10500
|
-
var _excluded$
|
|
10500
|
+
var _excluded$M = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
10501
10501
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10502
10502
|
var children = _ref.children,
|
|
10503
10503
|
className = _ref.className,
|
|
@@ -10511,7 +10511,7 @@
|
|
|
10511
10511
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
10512
10512
|
innerColor = _ref.innerColor,
|
|
10513
10513
|
outerColor = _ref.outerColor,
|
|
10514
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10514
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
10515
10515
|
var _useState = React.useState({
|
|
10516
10516
|
top: 0,
|
|
10517
10517
|
right: 0,
|
|
@@ -10631,7 +10631,7 @@
|
|
|
10631
10631
|
return height;
|
|
10632
10632
|
};
|
|
10633
10633
|
|
|
10634
|
-
var _excluded$
|
|
10634
|
+
var _excluded$L = ["as", "className", "invert", "style"];
|
|
10635
10635
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10636
10636
|
var _ref$as = _ref.as,
|
|
10637
10637
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -10639,7 +10639,7 @@
|
|
|
10639
10639
|
_ref$invert = _ref.invert,
|
|
10640
10640
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
10641
10641
|
style = _ref.style,
|
|
10642
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10642
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
10643
10643
|
var internalRef = useInitScrollRef(null, invert);
|
|
10644
10644
|
var handleRef = useForkRef(internalRef, ref);
|
|
10645
10645
|
var props = _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
@@ -11121,7 +11121,7 @@
|
|
|
11121
11121
|
});
|
|
11122
11122
|
StyledInput$2.displayName = "StyledInput";
|
|
11123
11123
|
|
|
11124
|
-
var _excluded$
|
|
11124
|
+
var _excluded$K = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef", "wrapperClick"];
|
|
11125
11125
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
11126
11126
|
var _ref$className = _ref.className,
|
|
11127
11127
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -11138,7 +11138,7 @@
|
|
|
11138
11138
|
endAdornment = _ref.endAdornment,
|
|
11139
11139
|
wrapRef = _ref.wrapRef,
|
|
11140
11140
|
wrapperClick = _ref.wrapperClick,
|
|
11141
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11141
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
11142
11142
|
var intInputRef = React.useRef(null);
|
|
11143
11143
|
var handleRef = useForkRef(ref, intInputRef);
|
|
11144
11144
|
var handleWrapperClick = React.useCallback(function () {
|
|
@@ -11192,14 +11192,14 @@
|
|
|
11192
11192
|
}, StyledRadioLabel);
|
|
11193
11193
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
11194
11194
|
|
|
11195
|
-
var _excluded$
|
|
11195
|
+
var _excluded$J = ["className", "id", "hover"];
|
|
11196
11196
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11197
11197
|
var _ref$className = _ref.className,
|
|
11198
11198
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
11199
11199
|
_ref$id = _ref.id,
|
|
11200
11200
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
11201
11201
|
hover = _ref.hover,
|
|
11202
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11202
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
11203
11203
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
11204
11204
|
className: classNames__default["default"]("c-radio-btn", {
|
|
11205
11205
|
"c-radio-btn__hover": hover,
|
|
@@ -11407,7 +11407,7 @@
|
|
|
11407
11407
|
};
|
|
11408
11408
|
OptionContent.displayName = "OptionContent";
|
|
11409
11409
|
|
|
11410
|
-
var _excluded$
|
|
11410
|
+
var _excluded$I = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue"];
|
|
11411
11411
|
var Select = function Select(_ref) {
|
|
11412
11412
|
var _ref$type = _ref.type,
|
|
11413
11413
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -11441,7 +11441,7 @@
|
|
|
11441
11441
|
handleDefaultOptionChange = _ref.handleDefaultOptionChange,
|
|
11442
11442
|
_ref$preselectDefault = _ref.preselectDefaultValue,
|
|
11443
11443
|
preselectDefaultValue = _ref$preselectDefault === void 0 ? type === "single" : _ref$preselectDefault,
|
|
11444
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
11444
|
+
prop = _objectWithoutProperties(_ref, _excluded$I);
|
|
11445
11445
|
var childNode = React.useRef();
|
|
11446
11446
|
var elementRef = React.useRef(null);
|
|
11447
11447
|
var handleRef = useForkRef(childNode, elementRef);
|
|
@@ -11696,7 +11696,7 @@
|
|
|
11696
11696
|
});
|
|
11697
11697
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
11698
11698
|
|
|
11699
|
-
var _excluded$
|
|
11699
|
+
var _excluded$H = ["children", "active", "disabled", "className", "role"];
|
|
11700
11700
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
11701
11701
|
var children = _ref.children,
|
|
11702
11702
|
_ref$active = _ref.active,
|
|
@@ -11705,7 +11705,7 @@
|
|
|
11705
11705
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11706
11706
|
className = _ref.className,
|
|
11707
11707
|
role = _ref.role,
|
|
11708
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11708
|
+
rest = _objectWithoutProperties(_ref, _excluded$H);
|
|
11709
11709
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
11710
11710
|
className: classNames__default["default"]("c-nav__item", {
|
|
11711
11711
|
"c-nav__item--active": active
|
|
@@ -11746,11 +11746,11 @@
|
|
|
11746
11746
|
});
|
|
11747
11747
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
11748
11748
|
|
|
11749
|
-
var _excluded$
|
|
11749
|
+
var _excluded$G = ["expanded"];
|
|
11750
11750
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11751
11751
|
var _ref$expanded = _ref.expanded,
|
|
11752
11752
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
11753
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11753
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
11754
11754
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
11755
11755
|
ref: ref,
|
|
11756
11756
|
viewBox: "0 0 24 24",
|
|
@@ -12040,7 +12040,7 @@
|
|
|
12040
12040
|
};
|
|
12041
12041
|
Nav.displayName = "Nav";
|
|
12042
12042
|
|
|
12043
|
-
var _excluded$
|
|
12043
|
+
var _excluded$F = ["children", "as", "disablePointerEvents"];
|
|
12044
12044
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
12045
12045
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
12046
12046
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -12057,7 +12057,7 @@
|
|
|
12057
12057
|
var children = _ref.children,
|
|
12058
12058
|
as = _ref.as,
|
|
12059
12059
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
12060
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12060
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
12061
12061
|
var Component = as || "div";
|
|
12062
12062
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
12063
12063
|
as: Component,
|
|
@@ -12067,11 +12067,11 @@
|
|
|
12067
12067
|
});
|
|
12068
12068
|
InputAdornment.displayName = "InputAdornment";
|
|
12069
12069
|
|
|
12070
|
-
var _excluded$
|
|
12070
|
+
var _excluded$E = ["expanded"];
|
|
12071
12071
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12072
12072
|
var _ref$expanded = _ref.expanded,
|
|
12073
12073
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
12074
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12074
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
12075
12075
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
12076
12076
|
ref: ref,
|
|
12077
12077
|
viewBox: "0 0 24 24"
|
|
@@ -12189,14 +12189,14 @@
|
|
|
12189
12189
|
});
|
|
12190
12190
|
StyledTextarea.displayName = "StyledTextarea";
|
|
12191
12191
|
|
|
12192
|
-
var _excluded$
|
|
12192
|
+
var _excluded$D = ["className", "disabled", "invalid"];
|
|
12193
12193
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12194
12194
|
var className = _ref.className,
|
|
12195
12195
|
_ref$disabled = _ref.disabled,
|
|
12196
12196
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
12197
12197
|
_ref$invalid = _ref.invalid,
|
|
12198
12198
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
12199
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12199
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
12200
12200
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
12201
12201
|
$invalid: invalid,
|
|
12202
12202
|
ref: ref,
|
|
@@ -12228,7 +12228,7 @@
|
|
|
12228
12228
|
function () {});
|
|
12229
12229
|
}
|
|
12230
12230
|
|
|
12231
|
-
var _excluded$
|
|
12231
|
+
var _excluded$C = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "disableCloseOnEsc", "open", "onClose"];
|
|
12232
12232
|
var getHasTransition = function getHasTransition(children) {
|
|
12233
12233
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
12234
12234
|
};
|
|
@@ -12247,7 +12247,7 @@
|
|
|
12247
12247
|
_ref$open = _ref.open,
|
|
12248
12248
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
12249
12249
|
onClose = _ref.onClose,
|
|
12250
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12250
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
12251
12251
|
var _useState = React.useState(defaultOpen),
|
|
12252
12252
|
_useState2 = _slicedToArray(_useState, 2),
|
|
12253
12253
|
open = _useState2[0],
|
|
@@ -12385,7 +12385,7 @@
|
|
|
12385
12385
|
});
|
|
12386
12386
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
12387
12387
|
|
|
12388
|
-
var _excluded$
|
|
12388
|
+
var _excluded$B = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
12389
12389
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12390
12390
|
var children = _ref.children,
|
|
12391
12391
|
onClose = _ref.onClose,
|
|
@@ -12409,7 +12409,7 @@
|
|
|
12409
12409
|
bodyClassName = _ref.bodyClassName,
|
|
12410
12410
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
12411
12411
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
12412
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12412
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
12413
12413
|
var _useState = React.useState(defaultOpen),
|
|
12414
12414
|
_useState2 = _slicedToArray(_useState, 2),
|
|
12415
12415
|
open = _useState2[0],
|
|
@@ -12502,13 +12502,13 @@
|
|
|
12502
12502
|
});
|
|
12503
12503
|
StyledHeader.displayName = "StyledHeader";
|
|
12504
12504
|
|
|
12505
|
-
var _excluded$
|
|
12505
|
+
var _excluded$A = ["className", "size", "children"];
|
|
12506
12506
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12507
12507
|
var className = _ref.className,
|
|
12508
12508
|
_ref$size = _ref.size,
|
|
12509
12509
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
12510
12510
|
children = _ref.children,
|
|
12511
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12511
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
12512
12512
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
12513
12513
|
type: "paper-2",
|
|
12514
12514
|
className: classNames__default["default"]("c-header", className),
|
|
@@ -12524,7 +12524,7 @@
|
|
|
12524
12524
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
12525
12525
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
12526
12526
|
|
|
12527
|
-
var _excluded$
|
|
12527
|
+
var _excluded$z = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
12528
12528
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12529
12529
|
var _ref$minRows = _ref.minRows,
|
|
12530
12530
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -12540,7 +12540,7 @@
|
|
|
12540
12540
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
12541
12541
|
onKeyDown = _ref.onKeyDown,
|
|
12542
12542
|
value = _ref.value,
|
|
12543
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12543
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
12544
12544
|
var innerRef = React.useRef(null);
|
|
12545
12545
|
var _useState = React.useState(minRows),
|
|
12546
12546
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -12816,7 +12816,7 @@
|
|
|
12816
12816
|
});
|
|
12817
12817
|
StyledChoose.displayName = "StyledChoose";
|
|
12818
12818
|
|
|
12819
|
-
var _excluded$
|
|
12819
|
+
var _excluded$y = ["children", "disabled", "active", "className"];
|
|
12820
12820
|
/**
|
|
12821
12821
|
* Choose component
|
|
12822
12822
|
*/
|
|
@@ -12827,7 +12827,7 @@
|
|
|
12827
12827
|
_ref$active = _ref.active,
|
|
12828
12828
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
12829
12829
|
className = _ref.className,
|
|
12830
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12830
|
+
args = _objectWithoutProperties(_ref, _excluded$y);
|
|
12831
12831
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
12832
12832
|
disabled: disabled,
|
|
12833
12833
|
className: classNames__default["default"]("c-choose", className),
|
|
@@ -12923,21 +12923,21 @@
|
|
|
12923
12923
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
12924
12924
|
StyledLink.displayName = "StyledLink";
|
|
12925
12925
|
|
|
12926
|
-
var _excluded$
|
|
12926
|
+
var _excluded$x = ["children", "className"];
|
|
12927
12927
|
/**
|
|
12928
12928
|
* Back link component
|
|
12929
12929
|
*/
|
|
12930
12930
|
var BackLink = function BackLink(_ref) {
|
|
12931
12931
|
var children = _ref.children,
|
|
12932
12932
|
className = _ref.className,
|
|
12933
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12933
|
+
args = _objectWithoutProperties(_ref, _excluded$x);
|
|
12934
12934
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
12935
12935
|
className: classNames__default["default"]("c-back-link", className)
|
|
12936
12936
|
}, args), children);
|
|
12937
12937
|
};
|
|
12938
12938
|
BackLink.displayName = "BackLink";
|
|
12939
12939
|
|
|
12940
|
-
var _excluded$
|
|
12940
|
+
var _excluded$w = ["as", "children", "variant", "size", "disabled", "className"];
|
|
12941
12941
|
/**
|
|
12942
12942
|
* Link component
|
|
12943
12943
|
*/
|
|
@@ -12950,7 +12950,7 @@
|
|
|
12950
12950
|
_ref$disabled = _ref.disabled,
|
|
12951
12951
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
12952
12952
|
className = _ref.className,
|
|
12953
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12953
|
+
args = _objectWithoutProperties(_ref, _excluded$w);
|
|
12954
12954
|
var Component = as || "a";
|
|
12955
12955
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
12956
12956
|
ref: ref,
|
|
@@ -13061,7 +13061,7 @@
|
|
|
13061
13061
|
})(["padding:20px 30px;", " ", ""], FontStyle, BoxSizingStyle);
|
|
13062
13062
|
StyledDialogActions.displayName = "StyledDialogActions";
|
|
13063
13063
|
|
|
13064
|
-
var _excluded$
|
|
13064
|
+
var _excluded$v = ["in", "children", "style", "timeout"];
|
|
13065
13065
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
13066
13066
|
return {
|
|
13067
13067
|
transition: "all ".concat(duration, "ms ease-in-out"),
|
|
@@ -13089,7 +13089,7 @@
|
|
|
13089
13089
|
style = _ref.style,
|
|
13090
13090
|
_ref$timeout = _ref.timeout,
|
|
13091
13091
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
13092
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13092
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
13093
13093
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
13094
13094
|
appear: true,
|
|
13095
13095
|
in: inProp,
|
|
@@ -13104,7 +13104,7 @@
|
|
|
13104
13104
|
};
|
|
13105
13105
|
Fade.displayName = "Fade";
|
|
13106
13106
|
|
|
13107
|
-
var _excluded$
|
|
13107
|
+
var _excluded$u = ["in", "children", "style", "timeout", "initialDirection"];
|
|
13108
13108
|
var Slide = function Slide(_ref) {
|
|
13109
13109
|
var _ref$in = _ref.in,
|
|
13110
13110
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -13114,7 +13114,7 @@
|
|
|
13114
13114
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
13115
13115
|
_ref$initialDirection = _ref.initialDirection,
|
|
13116
13116
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
13117
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13117
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
13118
13118
|
var directionSign;
|
|
13119
13119
|
switch (initialDirection) {
|
|
13120
13120
|
case "right":
|
|
@@ -13167,12 +13167,12 @@
|
|
|
13167
13167
|
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;}"]);
|
|
13168
13168
|
});
|
|
13169
13169
|
|
|
13170
|
-
var _excluded$
|
|
13170
|
+
var _excluded$t = ["children", "direction"];
|
|
13171
13171
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
13172
13172
|
var children = _ref.children,
|
|
13173
13173
|
_ref$direction = _ref.direction,
|
|
13174
13174
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
13175
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13175
|
+
props = _objectWithoutProperties(_ref, _excluded$t);
|
|
13176
13176
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
13177
13177
|
timeout: 200,
|
|
13178
13178
|
classNames: "c-slide",
|
|
@@ -13215,7 +13215,7 @@
|
|
|
13215
13215
|
};
|
|
13216
13216
|
ResizeTransition.displayName = "ResizeTransition";
|
|
13217
13217
|
|
|
13218
|
-
var _excluded$
|
|
13218
|
+
var _excluded$s = ["in", "children", "style", "timeout"];
|
|
13219
13219
|
var defaultStyle = function defaultStyle(duration) {
|
|
13220
13220
|
return {
|
|
13221
13221
|
transition: "all ".concat(duration, "ms ease-in"),
|
|
@@ -13249,7 +13249,7 @@
|
|
|
13249
13249
|
style = _ref.style,
|
|
13250
13250
|
_ref$timeout = _ref.timeout,
|
|
13251
13251
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
13252
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13252
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
13253
13253
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
13254
13254
|
appear: true,
|
|
13255
13255
|
in: inProp,
|
|
@@ -13299,13 +13299,13 @@
|
|
|
13299
13299
|
};
|
|
13300
13300
|
Scale.displayName = "Scale";
|
|
13301
13301
|
|
|
13302
|
-
var _excluded$
|
|
13302
|
+
var _excluded$r = ["className", "children"];
|
|
13303
13303
|
// import { useDialogContext } from "./DialogContext";
|
|
13304
13304
|
|
|
13305
13305
|
var DialogActions = function DialogActions(_ref) {
|
|
13306
13306
|
var className = _ref.className,
|
|
13307
13307
|
children = _ref.children,
|
|
13308
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13308
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
13309
13309
|
// useDialogContext();
|
|
13310
13310
|
|
|
13311
13311
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
@@ -13314,13 +13314,13 @@
|
|
|
13314
13314
|
};
|
|
13315
13315
|
DialogActions.displayName = "DialogActions";
|
|
13316
13316
|
|
|
13317
|
-
var _excluded$
|
|
13317
|
+
var _excluded$q = ["className", "children"];
|
|
13318
13318
|
// import { useDialogContext } from "./DialogContext";
|
|
13319
13319
|
|
|
13320
13320
|
var DialogContent = function DialogContent(_ref) {
|
|
13321
13321
|
var className = _ref.className,
|
|
13322
13322
|
children = _ref.children,
|
|
13323
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13323
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
13324
13324
|
// useDialogContext();
|
|
13325
13325
|
|
|
13326
13326
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
@@ -13341,7 +13341,7 @@
|
|
|
13341
13341
|
};
|
|
13342
13342
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
13343
13343
|
|
|
13344
|
-
var _excluded$
|
|
13344
|
+
var _excluded$p = ["children", "className", "disableDefaultHeading"];
|
|
13345
13345
|
// import { useDialogContext } from "./DialogContext";
|
|
13346
13346
|
|
|
13347
13347
|
var DialogTitle = function DialogTitle(_ref) {
|
|
@@ -13349,7 +13349,7 @@
|
|
|
13349
13349
|
className = _ref.className,
|
|
13350
13350
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
13351
13351
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
13352
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13352
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
13353
13353
|
// useDialogContext();
|
|
13354
13354
|
|
|
13355
13355
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
@@ -13617,7 +13617,7 @@
|
|
|
13617
13617
|
});
|
|
13618
13618
|
StyledPressed.displayName = "StyledPressed";
|
|
13619
13619
|
|
|
13620
|
-
var _excluded$
|
|
13620
|
+
var _excluded$o = ["children", "active", "className"];
|
|
13621
13621
|
/**
|
|
13622
13622
|
* Pressed wrapper for button component
|
|
13623
13623
|
* @deprecated
|
|
@@ -13627,7 +13627,7 @@
|
|
|
13627
13627
|
_ref$active = _ref.active,
|
|
13628
13628
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
13629
13629
|
className = _ref.className,
|
|
13630
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
13630
|
+
args = _objectWithoutProperties(_ref, _excluded$o);
|
|
13631
13631
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
13632
13632
|
active: active,
|
|
13633
13633
|
ref: ref,
|
|
@@ -14124,7 +14124,7 @@
|
|
|
14124
14124
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
14125
14125
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
14126
14126
|
|
|
14127
|
-
var _excluded$
|
|
14127
|
+
var _excluded$n = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
14128
14128
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14129
14129
|
var text = _ref.text,
|
|
14130
14130
|
type = _ref.type,
|
|
@@ -14135,7 +14135,7 @@
|
|
|
14135
14135
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
14136
14136
|
_ref$timeout = _ref.timeout,
|
|
14137
14137
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
14138
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14138
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
14139
14139
|
var handleOnClose = React.useCallback(function () {
|
|
14140
14140
|
if (typeof onClose === "function") {
|
|
14141
14141
|
onClose();
|
|
@@ -14183,7 +14183,7 @@
|
|
|
14183
14183
|
});
|
|
14184
14184
|
StyledValueButton.displayName = "StyledValueButton";
|
|
14185
14185
|
|
|
14186
|
-
var _excluded$
|
|
14186
|
+
var _excluded$m = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
14187
14187
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14188
14188
|
var _ref$active = _ref.active,
|
|
14189
14189
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -14192,7 +14192,7 @@
|
|
|
14192
14192
|
icon = _ref.icon,
|
|
14193
14193
|
label = _ref.label,
|
|
14194
14194
|
value = _ref.value,
|
|
14195
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
14195
|
+
args = _objectWithoutProperties(_ref, _excluded$m);
|
|
14196
14196
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
14197
14197
|
className: "c-value-button"
|
|
14198
14198
|
}, args, {
|
|
@@ -14221,12 +14221,12 @@
|
|
|
14221
14221
|
})(["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;}"]);
|
|
14222
14222
|
StyledButton.displayName = "StyledButton";
|
|
14223
14223
|
|
|
14224
|
-
var _excluded$
|
|
14224
|
+
var _excluded$l = ["children", "type"];
|
|
14225
14225
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14226
14226
|
var children = _ref.children,
|
|
14227
14227
|
_ref$type = _ref.type,
|
|
14228
14228
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
14229
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14229
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
14230
14230
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
14231
14231
|
ref: ref,
|
|
14232
14232
|
role: "button",
|
|
@@ -14272,7 +14272,7 @@
|
|
|
14272
14272
|
});
|
|
14273
14273
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
14274
14274
|
|
|
14275
|
-
var _excluded$
|
|
14275
|
+
var _excluded$k = ["children", "type", "size", "invalid", "open", "endAdornment", "typographyProps"];
|
|
14276
14276
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14277
14277
|
var children = _ref.children,
|
|
14278
14278
|
_ref$type = _ref.type,
|
|
@@ -14285,7 +14285,7 @@
|
|
|
14285
14285
|
open = _ref$open === void 0 ? false : _ref$open,
|
|
14286
14286
|
endAdornment = _ref.endAdornment,
|
|
14287
14287
|
typographyProps = _ref.typographyProps,
|
|
14288
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14288
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
14289
14289
|
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
14290
14290
|
ref: ref,
|
|
14291
14291
|
role: "button",
|
|
@@ -14332,11 +14332,11 @@
|
|
|
14332
14332
|
});
|
|
14333
14333
|
StyledToggle.displayName = "StyledToggle";
|
|
14334
14334
|
|
|
14335
|
-
var _excluded$
|
|
14335
|
+
var _excluded$j = ["hovered", "className"];
|
|
14336
14336
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14337
14337
|
var hovered = _ref.hovered,
|
|
14338
14338
|
className = _ref.className,
|
|
14339
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
14339
|
+
args = _objectWithoutProperties(_ref, _excluded$j);
|
|
14340
14340
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
14341
14341
|
className: classNames__default["default"]("c-toggle", className),
|
|
14342
14342
|
$isHovered: hovered,
|
|
@@ -14489,7 +14489,7 @@
|
|
|
14489
14489
|
});
|
|
14490
14490
|
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
14491
14491
|
|
|
14492
|
-
var _excluded$
|
|
14492
|
+
var _excluded$i = ["leftAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "variant", "typographyProps"];
|
|
14493
14493
|
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
14494
14494
|
var leftAdornment = _ref.leftAdornment,
|
|
14495
14495
|
label = _ref.label,
|
|
@@ -14501,7 +14501,7 @@
|
|
|
14501
14501
|
closeClassName = _ref.closeClassName,
|
|
14502
14502
|
variant = _ref.variant,
|
|
14503
14503
|
typographyProps = _ref.typographyProps,
|
|
14504
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14504
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
14505
14505
|
var showClose = typeof onClose === "function";
|
|
14506
14506
|
var _variant = React.useMemo(function () {
|
|
14507
14507
|
if (typeof variant !== "undefined") {
|
|
@@ -14577,7 +14577,7 @@
|
|
|
14577
14577
|
return isFirst.current;
|
|
14578
14578
|
};
|
|
14579
14579
|
|
|
14580
|
-
var _excluded$
|
|
14580
|
+
var _excluded$h = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid", "type", "renderChip", "forceCloseMenu", "renderOption", "limitChips", "hiddenNumberText", "inPortal", "inputWrapperClassName", "scrollWrapper", "onClose", "onClear"];
|
|
14581
14581
|
var ComboBox = function ComboBox(_ref) {
|
|
14582
14582
|
var _comboBoxRef$current2, _comboBoxRef$current3;
|
|
14583
14583
|
var _ref$options = _ref.options,
|
|
@@ -14610,7 +14610,7 @@
|
|
|
14610
14610
|
scrollWrapper = _ref.scrollWrapper,
|
|
14611
14611
|
onClose = _ref.onClose,
|
|
14612
14612
|
onClear = _ref.onClear,
|
|
14613
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
14613
|
+
prop = _objectWithoutProperties(_ref, _excluded$h);
|
|
14614
14614
|
var selectedName = React.useMemo(function () {
|
|
14615
14615
|
var value = "";
|
|
14616
14616
|
if (!selected) {
|
|
@@ -15014,11 +15014,11 @@
|
|
|
15014
15014
|
})(["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);
|
|
15015
15015
|
StyledAddToListButton.displayName = "StyledAddToListButton";
|
|
15016
15016
|
|
|
15017
|
-
var _excluded$
|
|
15017
|
+
var _excluded$g = ["text", "className"];
|
|
15018
15018
|
var AddToListButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15019
15019
|
var text = _ref.text,
|
|
15020
15020
|
className = _ref.className,
|
|
15021
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15021
|
+
rest = _objectWithoutProperties(_ref, _excluded$g);
|
|
15022
15022
|
return /*#__PURE__*/React__default["default"].createElement(StyledAddToListButton, _extends({
|
|
15023
15023
|
ref: ref,
|
|
15024
15024
|
className: classNames__default["default"]("c--add-to-list-btn", className)
|
|
@@ -15201,11 +15201,11 @@
|
|
|
15201
15201
|
};
|
|
15202
15202
|
ProgressRing.displayName = "ProgressRing";
|
|
15203
15203
|
|
|
15204
|
-
var _excluded$
|
|
15204
|
+
var _excluded$f = ["radius"];
|
|
15205
15205
|
var ProgressPie = function ProgressPie(_ref) {
|
|
15206
15206
|
var _ref$radius = _ref.radius,
|
|
15207
15207
|
radius = _ref$radius === void 0 ? 20 : _ref$radius,
|
|
15208
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15208
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
15209
15209
|
return /*#__PURE__*/React__default["default"].createElement(ProgressRing, _extends({}, rest, {
|
|
15210
15210
|
stroke: radius,
|
|
15211
15211
|
radius: radius
|
|
@@ -15529,7 +15529,7 @@
|
|
|
15529
15529
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
15530
15530
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
15531
15531
|
|
|
15532
|
-
var _excluded$
|
|
15532
|
+
var _excluded$e = ["invalid", "required", "size", "children", "className", "weight", "htmlFor"];
|
|
15533
15533
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15534
15534
|
var _ref$invalid = _ref.invalid,
|
|
15535
15535
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -15542,7 +15542,7 @@
|
|
|
15542
15542
|
_ref$weight = _ref.weight,
|
|
15543
15543
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
15544
15544
|
htmlFor = _ref.htmlFor,
|
|
15545
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15545
|
+
props = _objectWithoutProperties(_ref, _excluded$e);
|
|
15546
15546
|
var color = invalid ? "alert" : "primary";
|
|
15547
15547
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
15548
15548
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
@@ -15602,7 +15602,7 @@
|
|
|
15602
15602
|
});
|
|
15603
15603
|
StyledInput$1.displayName = "StyledInput";
|
|
15604
15604
|
|
|
15605
|
-
var _excluded$
|
|
15605
|
+
var _excluded$d = ["className", "variant", "weight", "disabled", "inputProps", "wrapRef"];
|
|
15606
15606
|
var EditableContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15607
15607
|
var className = _ref.className,
|
|
15608
15608
|
_ref$variant = _ref.variant,
|
|
@@ -15612,7 +15612,7 @@
|
|
|
15612
15612
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
15613
15613
|
inputProps = _ref.inputProps,
|
|
15614
15614
|
wrapRef = _ref.wrapRef,
|
|
15615
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15615
|
+
props = _objectWithoutProperties(_ref, _excluded$d);
|
|
15616
15616
|
var intInputRef = React.useRef(null);
|
|
15617
15617
|
var handleRef = useForkRef(ref, intInputRef);
|
|
15618
15618
|
var handleBlur = React.useCallback(function (evt) {
|
|
@@ -15642,13 +15642,13 @@
|
|
|
15642
15642
|
});
|
|
15643
15643
|
EditableContent.displayName = "EditableContent";
|
|
15644
15644
|
|
|
15645
|
-
var _excluded$
|
|
15645
|
+
var _excluded$c = ["onSave", "onCancel", "value", "inputProps"];
|
|
15646
15646
|
var EditableText = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15647
15647
|
var onSave = _ref.onSave,
|
|
15648
15648
|
onCancel = _ref.onCancel,
|
|
15649
15649
|
value = _ref.value,
|
|
15650
15650
|
inputProps = _ref.inputProps,
|
|
15651
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15651
|
+
props = _objectWithoutProperties(_ref, _excluded$c);
|
|
15652
15652
|
var _useState = React.useState(value),
|
|
15653
15653
|
_useState2 = _slicedToArray(_useState, 2),
|
|
15654
15654
|
currentValue = _useState2[0],
|
|
@@ -15706,11 +15706,11 @@
|
|
|
15706
15706
|
});
|
|
15707
15707
|
EditableText.displayName = "EditableText";
|
|
15708
15708
|
|
|
15709
|
-
var _excluded$
|
|
15709
|
+
var _excluded$b = ["withDocuments"];
|
|
15710
15710
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
15711
15711
|
var _ref$withDocuments = _ref.withDocuments,
|
|
15712
15712
|
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
15713
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15713
|
+
props = _objectWithoutProperties(_ref, _excluded$b);
|
|
15714
15714
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
15715
15715
|
width: 100,
|
|
15716
15716
|
height: 100,
|
|
@@ -15853,7 +15853,7 @@
|
|
|
15853
15853
|
return $renderAs === "list" && styled.css(["justify-self:flex-end;"]);
|
|
15854
15854
|
});
|
|
15855
15855
|
|
|
15856
|
-
var _excluded$
|
|
15856
|
+
var _excluded$a = ["children", "gap", "renderAs"];
|
|
15857
15857
|
var EntityGroupContext = /*#__PURE__*/React__default["default"].createContext({
|
|
15858
15858
|
renderAs: "grid"
|
|
15859
15859
|
});
|
|
@@ -15862,7 +15862,7 @@
|
|
|
15862
15862
|
gap = _ref.gap,
|
|
15863
15863
|
_ref$renderAs = _ref.renderAs,
|
|
15864
15864
|
renderAs = _ref$renderAs === void 0 ? "grid" : _ref$renderAs,
|
|
15865
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15865
|
+
rest = _objectWithoutProperties(_ref, _excluded$a);
|
|
15866
15866
|
return /*#__PURE__*/React__default["default"].createElement(EntityGroupContext.Provider, {
|
|
15867
15867
|
value: {
|
|
15868
15868
|
renderAs: renderAs
|
|
@@ -15874,14 +15874,14 @@
|
|
|
15874
15874
|
};
|
|
15875
15875
|
EntityGroup.displayName = "EntityGroup";
|
|
15876
15876
|
|
|
15877
|
-
var _excluded$
|
|
15877
|
+
var _excluded$9 = ["children", "isCollection", "background", "className", "as"];
|
|
15878
15878
|
var EntityCard = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15879
15879
|
var children = _ref.children,
|
|
15880
15880
|
isCollection = _ref.isCollection,
|
|
15881
15881
|
background = _ref.background,
|
|
15882
15882
|
className = _ref.className,
|
|
15883
15883
|
as = _ref.as,
|
|
15884
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15884
|
+
rest = _objectWithoutProperties(_ref, _excluded$9);
|
|
15885
15885
|
var _useContext = React.useContext(EntityGroupContext),
|
|
15886
15886
|
renderAs = _useContext.renderAs;
|
|
15887
15887
|
var classSuffix = "c-entity-card-".concat(renderAs);
|
|
@@ -15900,13 +15900,13 @@
|
|
|
15900
15900
|
});
|
|
15901
15901
|
EntityCard.displayName = "EntityCard";
|
|
15902
15902
|
|
|
15903
|
-
var _excluded$
|
|
15903
|
+
var _excluded$8 = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
15904
15904
|
var EntityProperty = function EntityProperty(_ref) {
|
|
15905
15905
|
var listOrder = _ref.listOrder,
|
|
15906
15906
|
listWidth = _ref.listWidth,
|
|
15907
15907
|
visibleFromBreakpoint = _ref.visibleFromBreakpoint,
|
|
15908
15908
|
className = _ref.className,
|
|
15909
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15909
|
+
props = _objectWithoutProperties(_ref, _excluded$8);
|
|
15910
15910
|
var _useContext = React.useContext(EntityGroupContext),
|
|
15911
15911
|
renderAs = _useContext.renderAs;
|
|
15912
15912
|
var classSuffix = "c-entity-property-".concat(renderAs);
|
|
@@ -15921,10 +15921,25 @@
|
|
|
15921
15921
|
};
|
|
15922
15922
|
EntityProperty.displayName = "EntityProperty";
|
|
15923
15923
|
|
|
15924
|
+
var _excluded$7 = ["children"];
|
|
15925
|
+
var EntitySeparator = function EntitySeparator(_ref) {
|
|
15926
|
+
var children = _ref.children,
|
|
15927
|
+
rest = _objectWithoutProperties(_ref, _excluded$7);
|
|
15928
|
+
return /*#__PURE__*/React__default["default"].createElement(_StyledDiv, rest, children);
|
|
15929
|
+
};
|
|
15930
|
+
var _StyledDiv = styled__default["default"]("div").withConfig({
|
|
15931
|
+
displayName: "EntitySeparator___StyledDiv",
|
|
15932
|
+
componentId: "sc-5xbpkw-0"
|
|
15933
|
+
})(["grid-column:1 / -1;"]);
|
|
15934
|
+
|
|
15924
15935
|
var Entity = {
|
|
15925
15936
|
Group: EntityGroup,
|
|
15926
15937
|
Card: EntityCard,
|
|
15927
|
-
Property: EntityProperty
|
|
15938
|
+
Property: EntityProperty,
|
|
15939
|
+
Separator: EntitySeparator
|
|
15940
|
+
};
|
|
15941
|
+
var useEntityGroupContext = function useEntityGroupContext() {
|
|
15942
|
+
return React__default["default"].useContext(EntityGroupContext);
|
|
15928
15943
|
};
|
|
15929
15944
|
|
|
15930
15945
|
var StyledMenu = styled__default["default"](Menu).withConfig({
|
|
@@ -17457,6 +17472,7 @@
|
|
|
17457
17472
|
exports.isOptionGroup = isOptionGroup;
|
|
17458
17473
|
exports.layers = layers;
|
|
17459
17474
|
exports.signifierTypes = signifierTypes;
|
|
17475
|
+
exports.useEntityGroupContext = useEntityGroupContext;
|
|
17460
17476
|
exports.useForkRef = useForkRef;
|
|
17461
17477
|
exports.useHeight = useHeight;
|
|
17462
17478
|
exports.useInitScrollRef = useInitScrollRef;
|