@activecollab/components 1.0.125 → 1.0.128
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/Chip/Chip.js +46 -0
- package/dist/cjs/components/Chip/Chip.js.map +1 -0
- package/dist/cjs/components/Chip/Styles.js +99 -0
- package/dist/cjs/components/Chip/Styles.js.map +1 -0
- package/dist/cjs/components/Chip/index.js +19 -0
- package/dist/cjs/components/Chip/index.js.map +1 -0
- package/dist/cjs/components/Loaders/Spinner/SpinnerLoader.js +22 -17
- package/dist/cjs/components/Loaders/Spinner/SpinnerLoader.js.map +1 -1
- package/dist/cjs/components/Loaders/Spinner/Styles.js +12 -3
- package/dist/cjs/components/Loaders/Spinner/Styles.js.map +1 -1
- package/dist/cjs/components/index.js +26 -0
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/Chip/Chip.d.ts +8 -0
- package/dist/esm/components/Chip/Chip.d.ts.map +1 -0
- package/dist/esm/components/Chip/Chip.js +27 -0
- package/dist/esm/components/Chip/Chip.js.map +1 -0
- package/dist/esm/components/Chip/Styles.d.ts +8 -0
- package/dist/esm/components/Chip/Styles.d.ts.map +1 -0
- package/dist/esm/components/Chip/Styles.js +74 -0
- package/dist/esm/components/Chip/Styles.js.map +1 -0
- package/dist/esm/components/Chip/index.d.ts +2 -0
- package/dist/esm/components/Chip/index.d.ts.map +1 -0
- package/dist/esm/components/Chip/index.js +2 -0
- package/dist/esm/components/Chip/index.js.map +1 -0
- package/dist/esm/components/Loaders/Spinner/SpinnerLoader.d.ts +9 -1
- package/dist/esm/components/Loaders/Spinner/SpinnerLoader.d.ts.map +1 -1
- package/dist/esm/components/Loaders/Spinner/SpinnerLoader.js +22 -14
- package/dist/esm/components/Loaders/Spinner/SpinnerLoader.js.map +1 -1
- package/dist/esm/components/Loaders/Spinner/Styles.d.ts +9 -1
- package/dist/esm/components/Loaders/Spinner/Styles.d.ts.map +1 -1
- package/dist/esm/components/Loaders/Spinner/Styles.js +12 -4
- package/dist/esm/components/Loaders/Spinner/Styles.js.map +1 -1
- package/dist/esm/components/index.d.ts +2 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +2 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/index.js +256 -147
- 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
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
})(["display:inline-flex;svg{margin:0 4px;}"]);
|
|
315
315
|
StyledButtonElement.displayName = "StyledButtonElement";
|
|
316
316
|
|
|
317
|
-
var _excluded$
|
|
317
|
+
var _excluded$12 = ["children", "variant", "size", "disabled", "className"];
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* Button component
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
_ref$disabled = _ref.disabled,
|
|
329
329
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
330
330
|
className = _ref.className,
|
|
331
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
331
|
+
args = _objectWithoutProperties(_ref, _excluded$12);
|
|
332
332
|
|
|
333
333
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
|
|
334
334
|
disabled: disabled,
|
|
@@ -381,12 +381,12 @@
|
|
|
381
381
|
})(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
|
|
382
382
|
StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
|
|
383
383
|
|
|
384
|
-
var _excluded$
|
|
384
|
+
var _excluded$11 = ["className", "disabled"];
|
|
385
385
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
386
386
|
var className = _ref.className,
|
|
387
387
|
_ref$disabled = _ref.disabled,
|
|
388
388
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
389
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
389
|
+
rest = _objectWithoutProperties(_ref, _excluded$11);
|
|
390
390
|
|
|
391
391
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
392
392
|
ref: ref,
|
|
@@ -419,11 +419,11 @@
|
|
|
419
419
|
});
|
|
420
420
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
421
421
|
|
|
422
|
-
var _excluded
|
|
422
|
+
var _excluded$10 = ["children", "className"];
|
|
423
423
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
424
424
|
var children = _ref.children,
|
|
425
425
|
className = _ref.className,
|
|
426
|
-
rest = _objectWithoutProperties(_ref, _excluded
|
|
426
|
+
rest = _objectWithoutProperties(_ref, _excluded$10);
|
|
427
427
|
|
|
428
428
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
429
429
|
ref: ref,
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
return React.useContext(MenuContext);
|
|
487
487
|
};
|
|
488
488
|
|
|
489
|
-
var _excluded
|
|
489
|
+
var _excluded$$ = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy"];
|
|
490
490
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
491
491
|
var children = _ref.children,
|
|
492
492
|
anchorEl = _ref.anchorEl,
|
|
@@ -499,7 +499,7 @@
|
|
|
499
499
|
initialPlacement = _ref$placement === void 0 ? "bottom" : _ref$placement,
|
|
500
500
|
_ref$strategy = _ref.strategy,
|
|
501
501
|
strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
|
|
502
|
-
rest = _objectWithoutProperties(_ref, _excluded
|
|
502
|
+
rest = _objectWithoutProperties(_ref, _excluded$$);
|
|
503
503
|
|
|
504
504
|
var _useState = React.useState(true),
|
|
505
505
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -605,12 +605,12 @@
|
|
|
605
605
|
});
|
|
606
606
|
StyledOverlay.displayName = "StyledOverlay";
|
|
607
607
|
|
|
608
|
-
var _excluded$
|
|
608
|
+
var _excluded$_ = ["className", "disableBackgroundColor"];
|
|
609
609
|
var Overlay = function Overlay(_ref) {
|
|
610
610
|
var className = _ref.className,
|
|
611
611
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
612
612
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
613
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
613
|
+
rest = _objectWithoutProperties(_ref, _excluded$_);
|
|
614
614
|
|
|
615
615
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
616
616
|
className: classnames__default["default"]("c-overlay", className),
|
|
@@ -654,7 +654,7 @@
|
|
|
654
654
|
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
|
|
655
655
|
StyledWindow.displayName = "StyledWindow";
|
|
656
656
|
|
|
657
|
-
var _excluded$
|
|
657
|
+
var _excluded$Z = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "preventClickEventBubbling", "onClick"];
|
|
658
658
|
var returnFocus = {
|
|
659
659
|
preventScroll: true
|
|
660
660
|
};
|
|
@@ -671,7 +671,7 @@
|
|
|
671
671
|
_ref$preventClickEven = _ref.preventClickEventBubbling,
|
|
672
672
|
preventClickEventBubbling = _ref$preventClickEven === void 0 ? false : _ref$preventClickEven,
|
|
673
673
|
onClick = _ref.onClick,
|
|
674
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
674
|
+
rest = _objectWithoutProperties(_ref, _excluded$Z);
|
|
675
675
|
|
|
676
676
|
var innerRef = React.useRef(null);
|
|
677
677
|
var handleRef = useForkRef(innerRef, ref);
|
|
@@ -745,7 +745,7 @@
|
|
|
745
745
|
}, FontStyle, BoxSizingStyle);
|
|
746
746
|
StyledBubble.displayName = "StyledBubble";
|
|
747
747
|
|
|
748
|
-
var _excluded$
|
|
748
|
+
var _excluded$Y = ["children", "className", "innerRef", "style"];
|
|
749
749
|
var Bubble = function Bubble(_ref) {
|
|
750
750
|
var children = _ref.children,
|
|
751
751
|
className = _ref.className,
|
|
@@ -753,7 +753,7 @@
|
|
|
753
753
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
754
754
|
_ref$style = _ref.style,
|
|
755
755
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
756
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
756
|
+
rest = _objectWithoutProperties(_ref, _excluded$Y);
|
|
757
757
|
|
|
758
758
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
759
759
|
ref: innerRef,
|
|
@@ -1061,7 +1061,7 @@
|
|
|
1061
1061
|
});
|
|
1062
1062
|
StyledTypography.displayName = "StyledTypography";
|
|
1063
1063
|
|
|
1064
|
-
var _excluded$
|
|
1064
|
+
var _excluded$X = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
1065
1065
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1066
1066
|
var _ref$variant = _ref.variant,
|
|
1067
1067
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -1092,7 +1092,7 @@
|
|
|
1092
1092
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
1093
1093
|
className = _ref.className,
|
|
1094
1094
|
children = _ref.children,
|
|
1095
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1095
|
+
props = _objectWithoutProperties(_ref, _excluded$X);
|
|
1096
1096
|
|
|
1097
1097
|
var Component = as || "div";
|
|
1098
1098
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
@@ -1116,13 +1116,13 @@
|
|
|
1116
1116
|
});
|
|
1117
1117
|
Typography.displayName = "Typography";
|
|
1118
1118
|
|
|
1119
|
-
var _excluded$
|
|
1119
|
+
var _excluded$W = ["title", "className", "leftElement", "rightElement"];
|
|
1120
1120
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1121
1121
|
var title = _ref.title,
|
|
1122
1122
|
className = _ref.className,
|
|
1123
1123
|
leftElement = _ref.leftElement,
|
|
1124
1124
|
rightElement = _ref.rightElement,
|
|
1125
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1125
|
+
props = _objectWithoutProperties(_ref, _excluded$W);
|
|
1126
1126
|
|
|
1127
1127
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
1128
1128
|
className: classnames__default["default"]("c-menu-header", className),
|
|
@@ -1148,11 +1148,11 @@
|
|
|
1148
1148
|
});
|
|
1149
1149
|
MenuHeader.displayName = "MenuHeader";
|
|
1150
1150
|
|
|
1151
|
-
var _excluded$
|
|
1151
|
+
var _excluded$V = ["children", "className"];
|
|
1152
1152
|
var MenuFooter = /*#__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$V);
|
|
1156
1156
|
|
|
1157
1157
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter, _extends({}, props, {
|
|
1158
1158
|
className: classnames__default["default"]("c-menu-footer", className),
|
|
@@ -1193,11 +1193,11 @@
|
|
|
1193
1193
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
1194
1194
|
StyledListSeparator.displayName = "StyledListSeparator";
|
|
1195
1195
|
|
|
1196
|
-
var _excluded$
|
|
1196
|
+
var _excluded$U = ["children", "className"];
|
|
1197
1197
|
var List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1198
1198
|
var children = _ref.children,
|
|
1199
1199
|
className = _ref.className,
|
|
1200
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1200
|
+
props = _objectWithoutProperties(_ref, _excluded$U);
|
|
1201
1201
|
|
|
1202
1202
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({}, props, {
|
|
1203
1203
|
className: className,
|
|
@@ -1206,11 +1206,11 @@
|
|
|
1206
1206
|
});
|
|
1207
1207
|
List.displayName = "List";
|
|
1208
1208
|
|
|
1209
|
-
var _excluded$
|
|
1209
|
+
var _excluded$T = ["children", "className"];
|
|
1210
1210
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1211
1211
|
var children = _ref.children,
|
|
1212
1212
|
className = _ref.className,
|
|
1213
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1213
|
+
props = _objectWithoutProperties(_ref, _excluded$T);
|
|
1214
1214
|
|
|
1215
1215
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({}, props, {
|
|
1216
1216
|
className: classnames__default["default"]("c-list-item", className),
|
|
@@ -3620,7 +3620,7 @@
|
|
|
3620
3620
|
});
|
|
3621
3621
|
StyledBreadcrumbListItem.displayName = "StyledBreadcrumbListItem";
|
|
3622
3622
|
|
|
3623
|
-
var _excluded$
|
|
3623
|
+
var _excluded$S = ["children", "className", "separator"];
|
|
3624
3624
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
3625
3625
|
var _dimensions$width, _childDimensions$widt;
|
|
3626
3626
|
|
|
@@ -3628,7 +3628,7 @@
|
|
|
3628
3628
|
className = _ref.className,
|
|
3629
3629
|
_ref$separator = _ref.separator,
|
|
3630
3630
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
3631
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3631
|
+
rest = _objectWithoutProperties(_ref, _excluded$S);
|
|
3632
3632
|
|
|
3633
3633
|
var internalRef = React.useRef(null);
|
|
3634
3634
|
var listWrapperRef = React.useRef(null);
|
|
@@ -3815,11 +3815,11 @@
|
|
|
3815
3815
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
3816
3816
|
});
|
|
3817
3817
|
|
|
3818
|
-
var _excluded$
|
|
3818
|
+
var _excluded$R = ["children"];
|
|
3819
3819
|
|
|
3820
3820
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
3821
3821
|
var children = _ref.children,
|
|
3822
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3822
|
+
props = _objectWithoutProperties(_ref, _excluded$R);
|
|
3823
3823
|
|
|
3824
3824
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
3825
3825
|
timeout: 0
|
|
@@ -3906,12 +3906,12 @@
|
|
|
3906
3906
|
});
|
|
3907
3907
|
Tooltip.displayName = "Tooltip";
|
|
3908
3908
|
|
|
3909
|
-
var _excluded$
|
|
3909
|
+
var _excluded$Q = ["weight", "children"];
|
|
3910
3910
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3911
3911
|
var _ref$weight = _ref.weight,
|
|
3912
3912
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
3913
3913
|
children = _ref.children,
|
|
3914
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3914
|
+
props = _objectWithoutProperties(_ref, _excluded$Q);
|
|
3915
3915
|
|
|
3916
3916
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3917
3917
|
variant: "Body 2",
|
|
@@ -3959,7 +3959,7 @@
|
|
|
3959
3959
|
});
|
|
3960
3960
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
3961
3961
|
|
|
3962
|
-
var _excluded$
|
|
3962
|
+
var _excluded$P = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
|
|
3963
3963
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3964
3964
|
var label = _ref.label,
|
|
3965
3965
|
icon = _ref.icon,
|
|
@@ -3969,7 +3969,7 @@
|
|
|
3969
3969
|
tooltipText = _ref.tooltipText,
|
|
3970
3970
|
onClearAll = _ref.onClearAll,
|
|
3971
3971
|
className = _ref.className,
|
|
3972
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
3972
|
+
args = _objectWithoutProperties(_ref, _excluded$P);
|
|
3973
3973
|
|
|
3974
3974
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
3975
3975
|
className: className
|
|
@@ -4284,7 +4284,7 @@
|
|
|
4284
4284
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
4285
4285
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
4286
4286
|
|
|
4287
|
-
var _excluded$
|
|
4287
|
+
var _excluded$O = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
4288
4288
|
var DatePicker = function DatePicker(_ref) {
|
|
4289
4289
|
var className = _ref.className,
|
|
4290
4290
|
onChange = _ref.onChange,
|
|
@@ -4306,7 +4306,7 @@
|
|
|
4306
4306
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
4307
4307
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
4308
4308
|
defaultModifiers = _ref.modifiers,
|
|
4309
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4309
|
+
rest = _objectWithoutProperties(_ref, _excluded$O);
|
|
4310
4310
|
|
|
4311
4311
|
var _useState = React.useState(),
|
|
4312
4312
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -5231,7 +5231,7 @@
|
|
|
5231
5231
|
};
|
|
5232
5232
|
Tbody.displayName = "Tbody";
|
|
5233
5233
|
|
|
5234
|
-
var _excluded$
|
|
5234
|
+
var _excluded$N = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue"];
|
|
5235
5235
|
exports.SortDirection = void 0;
|
|
5236
5236
|
|
|
5237
5237
|
(function (SortDirection) {
|
|
@@ -5281,7 +5281,7 @@
|
|
|
5281
5281
|
} : _ref$groupHead,
|
|
5282
5282
|
isCollapsible = _ref.isCollapsible,
|
|
5283
5283
|
emptyValue = _ref.emptyValue,
|
|
5284
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
5284
|
+
args = _objectWithoutProperties(_ref, _excluded$N);
|
|
5285
5285
|
|
|
5286
5286
|
var _useState = React.useState(sortDirection),
|
|
5287
5287
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -5701,7 +5701,7 @@
|
|
|
5701
5701
|
});
|
|
5702
5702
|
StyledPaper.displayName = "StyledPaper";
|
|
5703
5703
|
|
|
5704
|
-
var _excluded$
|
|
5704
|
+
var _excluded$M = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
5705
5705
|
|
|
5706
5706
|
/**
|
|
5707
5707
|
* This is a component description and should sit directly above your component
|
|
@@ -5715,7 +5715,7 @@
|
|
|
5715
5715
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
5716
5716
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
5717
5717
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
5718
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5718
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
5719
5719
|
|
|
5720
5720
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
5721
5721
|
className: classnames__default["default"](className, {
|
|
@@ -5769,7 +5769,7 @@
|
|
|
5769
5769
|
});
|
|
5770
5770
|
StyledCard.displayName = "StyledCard";
|
|
5771
5771
|
|
|
5772
|
-
var _excluded$
|
|
5772
|
+
var _excluded$L = ["children", "className", "hoverable", "paperType"];
|
|
5773
5773
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5774
5774
|
var children = _ref.children,
|
|
5775
5775
|
className = _ref.className,
|
|
@@ -5777,7 +5777,7 @@
|
|
|
5777
5777
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
5778
5778
|
_ref$paperType = _ref.paperType,
|
|
5779
5779
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
5780
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5780
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
5781
5781
|
|
|
5782
5782
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
5783
5783
|
type: paperType,
|
|
@@ -5859,12 +5859,12 @@
|
|
|
5859
5859
|
});
|
|
5860
5860
|
EntityCard.displayName = "EntityCard";
|
|
5861
5861
|
|
|
5862
|
-
var _excluded$
|
|
5862
|
+
var _excluded$K = ["weight", "children"];
|
|
5863
5863
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5864
5864
|
var _ref$weight = _ref.weight,
|
|
5865
5865
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
5866
5866
|
children = _ref.children,
|
|
5867
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5867
|
+
props = _objectWithoutProperties(_ref, _excluded$K);
|
|
5868
5868
|
|
|
5869
5869
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
5870
5870
|
weight: weight,
|
|
@@ -5874,12 +5874,12 @@
|
|
|
5874
5874
|
});
|
|
5875
5875
|
Title1.displayName = "Title1";
|
|
5876
5876
|
|
|
5877
|
-
var _excluded$
|
|
5877
|
+
var _excluded$J = ["weight", "children"];
|
|
5878
5878
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5879
5879
|
var _ref$weight = _ref.weight,
|
|
5880
5880
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
5881
5881
|
children = _ref.children,
|
|
5882
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5882
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
5883
5883
|
|
|
5884
5884
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
5885
5885
|
weight: weight,
|
|
@@ -5889,10 +5889,10 @@
|
|
|
5889
5889
|
});
|
|
5890
5890
|
Title2.displayName = "Title2";
|
|
5891
5891
|
|
|
5892
|
-
var _excluded$
|
|
5892
|
+
var _excluded$I = ["children"];
|
|
5893
5893
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5894
5894
|
var children = _ref.children,
|
|
5895
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5895
|
+
props = _objectWithoutProperties(_ref, _excluded$I);
|
|
5896
5896
|
|
|
5897
5897
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
5898
5898
|
weight: "bold",
|
|
@@ -5902,10 +5902,10 @@
|
|
|
5902
5902
|
});
|
|
5903
5903
|
Header2.displayName = "Header2";
|
|
5904
5904
|
|
|
5905
|
-
var _excluded$
|
|
5905
|
+
var _excluded$H = ["children"];
|
|
5906
5906
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5907
5907
|
var children = _ref.children,
|
|
5908
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5908
|
+
props = _objectWithoutProperties(_ref, _excluded$H);
|
|
5909
5909
|
|
|
5910
5910
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
5911
5911
|
weight: "bold",
|
|
@@ -5915,12 +5915,12 @@
|
|
|
5915
5915
|
});
|
|
5916
5916
|
Header3.displayName = "Header3";
|
|
5917
5917
|
|
|
5918
|
-
var _excluded$
|
|
5918
|
+
var _excluded$G = ["weight", "children"];
|
|
5919
5919
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5920
5920
|
var _ref$weight = _ref.weight,
|
|
5921
5921
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
5922
5922
|
children = _ref.children,
|
|
5923
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5923
|
+
props = _objectWithoutProperties(_ref, _excluded$G);
|
|
5924
5924
|
|
|
5925
5925
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
5926
5926
|
variant: "Body 1",
|
|
@@ -5930,12 +5930,12 @@
|
|
|
5930
5930
|
});
|
|
5931
5931
|
Body1.displayName = "Body1";
|
|
5932
5932
|
|
|
5933
|
-
var _excluded$
|
|
5933
|
+
var _excluded$F = ["weight", "children"];
|
|
5934
5934
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5935
5935
|
var _ref$weight = _ref.weight,
|
|
5936
5936
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
5937
5937
|
children = _ref.children,
|
|
5938
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5938
|
+
props = _objectWithoutProperties(_ref, _excluded$F);
|
|
5939
5939
|
|
|
5940
5940
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
5941
5941
|
variant: "Caption 1",
|
|
@@ -5945,12 +5945,12 @@
|
|
|
5945
5945
|
});
|
|
5946
5946
|
Caption1.displayName = "Caption1";
|
|
5947
5947
|
|
|
5948
|
-
var _excluded$
|
|
5948
|
+
var _excluded$E = ["weight", "children"];
|
|
5949
5949
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5950
5950
|
var _ref$weight = _ref.weight,
|
|
5951
5951
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
5952
5952
|
children = _ref.children,
|
|
5953
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5953
|
+
props = _objectWithoutProperties(_ref, _excluded$E);
|
|
5954
5954
|
|
|
5955
5955
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
5956
5956
|
variant: "Caption 2",
|
|
@@ -6069,7 +6069,7 @@
|
|
|
6069
6069
|
"borderRadius": "9999px"
|
|
6070
6070
|
});
|
|
6071
6071
|
|
|
6072
|
-
var _excluded$
|
|
6072
|
+
var _excluded$D = ["url", "alt", "size", "className"];
|
|
6073
6073
|
var Avatar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6074
6074
|
var url = _ref.url,
|
|
6075
6075
|
_ref$alt = _ref.alt,
|
|
@@ -6077,7 +6077,7 @@
|
|
|
6077
6077
|
_ref$size = _ref.size,
|
|
6078
6078
|
size = _ref$size === void 0 ? 24 : _ref$size,
|
|
6079
6079
|
className = _ref.className,
|
|
6080
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6080
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
6081
6081
|
|
|
6082
6082
|
return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({}, rest, {
|
|
6083
6083
|
ref: ref,
|
|
@@ -6124,7 +6124,7 @@
|
|
|
6124
6124
|
});
|
|
6125
6125
|
StyledTagText.displayName = "StyledTagText";
|
|
6126
6126
|
|
|
6127
|
-
var _excluded$
|
|
6127
|
+
var _excluded$C = ["name", "color", "showText", "showDot", "className"];
|
|
6128
6128
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6129
6129
|
var name = _ref.name,
|
|
6130
6130
|
color = _ref.color,
|
|
@@ -6133,7 +6133,7 @@
|
|
|
6133
6133
|
_ref$showDot = _ref.showDot,
|
|
6134
6134
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
6135
6135
|
className = _ref.className,
|
|
6136
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6136
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
6137
6137
|
|
|
6138
6138
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
6139
6139
|
className: classnames__default["default"]("c-tag", className),
|
|
@@ -6153,10 +6153,10 @@
|
|
|
6153
6153
|
componentId: "sc-x4ge7a-0"
|
|
6154
6154
|
})(["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);
|
|
6155
6155
|
|
|
6156
|
-
var _excluded$
|
|
6156
|
+
var _excluded$B = ["className"];
|
|
6157
6157
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6158
6158
|
var className = _ref.className,
|
|
6159
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6159
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
6160
6160
|
|
|
6161
6161
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
6162
6162
|
ref: ref,
|
|
@@ -6171,10 +6171,10 @@
|
|
|
6171
6171
|
componentId: "sc-1f35d5h-0"
|
|
6172
6172
|
})(["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);
|
|
6173
6173
|
|
|
6174
|
-
var _excluded$
|
|
6174
|
+
var _excluded$A = ["className"];
|
|
6175
6175
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6176
6176
|
var className = _ref.className,
|
|
6177
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6177
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
6178
6178
|
|
|
6179
6179
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
6180
6180
|
ref: ref,
|
|
@@ -6183,31 +6183,47 @@
|
|
|
6183
6183
|
});
|
|
6184
6184
|
DotsLoader.displayName = "DotsLoader";
|
|
6185
6185
|
|
|
6186
|
-
var rotateAnimation = styled.keyframes(["
|
|
6187
|
-
var dashAnimation = styled.keyframes(["0%{stroke-dasharray:1,200;stroke-dashoffset:0;}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px;}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px;}"]);
|
|
6186
|
+
var rotateAnimation = styled.keyframes(["from{transform:rotate(0deg);}to{transform:rotate(359deg);}"]);
|
|
6188
6187
|
var StyledSpinnerLoader = styled__default["default"].div.withConfig({
|
|
6189
6188
|
displayName: "Styles__StyledSpinnerLoader",
|
|
6190
6189
|
componentId: "sc-1ht53g9-0"
|
|
6191
|
-
})(["
|
|
6190
|
+
})(["", " border-radius:100%;", " ", " ", " ", ""], BoxSizingStyle, function (props) {
|
|
6191
|
+
return styled.css(["width:", "px;height:", "px;animation:", " ", "s infinite linear;"], props.$radius, props.$radius, rotateAnimation, props.$rotateDurationInSeconds);
|
|
6192
|
+
}, function (props) {
|
|
6193
|
+
return props.$activeColorPercentage === "25%" && styled.css(["border-right:", "px solid ", ";border-bottom:", "px solid ", ";border-left:", "px solid ", ";border-top:", "px solid ", ";"], props.$strokeWidth, props.$inactiveStrokeColor, props.$strokeWidth, props.$inactiveStrokeColor, props.$strokeWidth, props.$inactiveStrokeColor, props.$strokeWidth, props.$activeStrokeColor);
|
|
6194
|
+
}, function (props) {
|
|
6195
|
+
return props.$activeColorPercentage === "50%" && styled.css(["border-right:", "px solid ", ";border-bottom:", "px solid ", ";border-left:", "px solid ", ";border-top:", "px solid ", ";"], props.$strokeWidth, props.$activeStrokeColor, props.$strokeWidth, props.$inactiveStrokeColor, props.$strokeWidth, props.$inactiveStrokeColor, props.$strokeWidth, props.$activeStrokeColor);
|
|
6196
|
+
}, function (props) {
|
|
6197
|
+
return props.$activeColorPercentage === "75%" && styled.css(["border-right:", "px solid ", ";border-bottom:", "px solid ", ";border-left:", "px solid ", ";border-top:", "px solid ", ";"], props.$strokeWidth, props.$activeStrokeColor, props.$strokeWidth, props.$activeStrokeColor, props.$strokeWidth, props.$inactiveStrokeColor, props.$strokeWidth, props.$activeStrokeColor);
|
|
6198
|
+
});
|
|
6192
6199
|
|
|
6193
|
-
var _excluded$
|
|
6200
|
+
var _excluded$z = ["radius", "strokeWidth", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
6194
6201
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6195
|
-
var
|
|
6196
|
-
|
|
6202
|
+
var _ref$radius = _ref.radius,
|
|
6203
|
+
radius = _ref$radius === void 0 ? 20 : _ref$radius,
|
|
6204
|
+
_ref$strokeWidth = _ref.strokeWidth,
|
|
6205
|
+
strokeWidth = _ref$strokeWidth === void 0 ? 2 : _ref$strokeWidth,
|
|
6206
|
+
_ref$activeStrokeColo = _ref.activeStrokeColor,
|
|
6207
|
+
activeStrokeColor = _ref$activeStrokeColo === void 0 ? "var(--color-primary)" : _ref$activeStrokeColo,
|
|
6208
|
+
_ref$inactiveStrokeCo = _ref.inactiveStrokeColor,
|
|
6209
|
+
inactiveStrokeColor = _ref$inactiveStrokeCo === void 0 ? "var(--color-theme-300)" : _ref$inactiveStrokeCo,
|
|
6210
|
+
_ref$activeColorPerce = _ref.activeColorPercentage,
|
|
6211
|
+
activeColorPercentage = _ref$activeColorPerce === void 0 ? "25%" : _ref$activeColorPerce,
|
|
6212
|
+
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
6213
|
+
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
6214
|
+
className = _ref.className,
|
|
6215
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
6197
6216
|
|
|
6198
6217
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader, _extends({
|
|
6199
6218
|
ref: ref,
|
|
6200
|
-
className:
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
strokeWidth: "4",
|
|
6209
|
-
strokeMiterlimit: "10"
|
|
6210
|
-
})));
|
|
6219
|
+
className: className,
|
|
6220
|
+
$radius: radius,
|
|
6221
|
+
$strokeWidth: strokeWidth,
|
|
6222
|
+
$activeStrokeColor: activeStrokeColor,
|
|
6223
|
+
$inactiveStrokeColor: inactiveStrokeColor,
|
|
6224
|
+
$activeColorPercentage: activeColorPercentage,
|
|
6225
|
+
$rotateDurationInSeconds: rotateDurationInSeconds
|
|
6226
|
+
}, rest));
|
|
6211
6227
|
});
|
|
6212
6228
|
SpinnerLoader.displayName = "SpinnerLoader";
|
|
6213
6229
|
|
|
@@ -6321,7 +6337,7 @@
|
|
|
6321
6337
|
}, StyledInput$1, StyledLabel);
|
|
6322
6338
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
6323
6339
|
|
|
6324
|
-
var _excluded$
|
|
6340
|
+
var _excluded$y = ["className", "hover", "id"];
|
|
6325
6341
|
|
|
6326
6342
|
/**
|
|
6327
6343
|
* Checkbox component
|
|
@@ -6331,7 +6347,7 @@
|
|
|
6331
6347
|
hover = _ref.hover,
|
|
6332
6348
|
_ref$id = _ref.id,
|
|
6333
6349
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
6334
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6350
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
6335
6351
|
|
|
6336
6352
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
|
|
6337
6353
|
className: classnames__default["default"]("c-checkbox", {
|
|
@@ -6506,7 +6522,7 @@
|
|
|
6506
6522
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
6507
6523
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
6508
6524
|
|
|
6509
|
-
var _excluded$
|
|
6525
|
+
var _excluded$x = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
6510
6526
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6511
6527
|
var children = _ref.children,
|
|
6512
6528
|
className = _ref.className,
|
|
@@ -6520,7 +6536,7 @@
|
|
|
6520
6536
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
6521
6537
|
innerColor = _ref.innerColor,
|
|
6522
6538
|
outerColor = _ref.outerColor,
|
|
6523
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6539
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
6524
6540
|
|
|
6525
6541
|
var _useState = React.useState({
|
|
6526
6542
|
top: 0,
|
|
@@ -6650,7 +6666,7 @@
|
|
|
6650
6666
|
return height;
|
|
6651
6667
|
};
|
|
6652
6668
|
|
|
6653
|
-
var _excluded$
|
|
6669
|
+
var _excluded$w = ["as", "className", "invert", "style"];
|
|
6654
6670
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6655
6671
|
var _ref$as = _ref.as,
|
|
6656
6672
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -6658,7 +6674,7 @@
|
|
|
6658
6674
|
_ref$invert = _ref.invert,
|
|
6659
6675
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
6660
6676
|
style = _ref.style,
|
|
6661
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6677
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
6662
6678
|
|
|
6663
6679
|
var internalRef = useInitScrollRef(null, invert);
|
|
6664
6680
|
var handleRef = useForkRef(internalRef, ref);
|
|
@@ -7132,7 +7148,7 @@
|
|
|
7132
7148
|
});
|
|
7133
7149
|
StyledInput.displayName = "StyledInput";
|
|
7134
7150
|
|
|
7135
|
-
var _excluded$
|
|
7151
|
+
var _excluded$v = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "inputRef"];
|
|
7136
7152
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7137
7153
|
var _ref$className = _ref.className,
|
|
7138
7154
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -7148,7 +7164,7 @@
|
|
|
7148
7164
|
startAdornment = _ref.startAdornment,
|
|
7149
7165
|
endAdornment = _ref.endAdornment,
|
|
7150
7166
|
inputRef = _ref.inputRef,
|
|
7151
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7167
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
7152
7168
|
|
|
7153
7169
|
var intInputRef = React.useRef(null);
|
|
7154
7170
|
var handleRef = useForkRef(inputRef, intInputRef);
|
|
@@ -7201,14 +7217,14 @@
|
|
|
7201
7217
|
}, StyledRadioLabel);
|
|
7202
7218
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
7203
7219
|
|
|
7204
|
-
var _excluded$
|
|
7220
|
+
var _excluded$u = ["className", "id", "hover"];
|
|
7205
7221
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7206
7222
|
var _ref$className = _ref.className,
|
|
7207
7223
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
7208
7224
|
_ref$id = _ref.id,
|
|
7209
7225
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
7210
7226
|
hover = _ref.hover,
|
|
7211
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7227
|
+
props = _objectWithoutProperties(_ref, _excluded$u);
|
|
7212
7228
|
|
|
7213
7229
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
7214
7230
|
className: classnames__default["default"]("c-radio-btn", {
|
|
@@ -7301,7 +7317,7 @@
|
|
|
7301
7317
|
};
|
|
7302
7318
|
OptionContent.displayName = "OptionContent";
|
|
7303
7319
|
|
|
7304
|
-
var _excluded$
|
|
7320
|
+
var _excluded$t = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose"];
|
|
7305
7321
|
var Select = function Select(_ref) {
|
|
7306
7322
|
var _ref$type = _ref.type,
|
|
7307
7323
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -7331,7 +7347,7 @@
|
|
|
7331
7347
|
keepSameOptionsOrder = _ref$keepSameOptionsO === void 0 ? false : _ref$keepSameOptionsO,
|
|
7332
7348
|
onSelectOpen = _ref.onSelectOpen,
|
|
7333
7349
|
onSelectClose = _ref.onSelectClose,
|
|
7334
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
7350
|
+
prop = _objectWithoutProperties(_ref, _excluded$t);
|
|
7335
7351
|
|
|
7336
7352
|
var _useState = React.useState(),
|
|
7337
7353
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7607,7 +7623,7 @@
|
|
|
7607
7623
|
});
|
|
7608
7624
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
7609
7625
|
|
|
7610
|
-
var _excluded$
|
|
7626
|
+
var _excluded$s = ["children", "active", "disabled", "className", "role"];
|
|
7611
7627
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7612
7628
|
var children = _ref.children,
|
|
7613
7629
|
_ref$active = _ref.active,
|
|
@@ -7616,7 +7632,7 @@
|
|
|
7616
7632
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7617
7633
|
className = _ref.className,
|
|
7618
7634
|
role = _ref.role,
|
|
7619
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7635
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
7620
7636
|
|
|
7621
7637
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
7622
7638
|
className: classnames__default["default"]("c-nav__item", {
|
|
@@ -7658,11 +7674,11 @@
|
|
|
7658
7674
|
});
|
|
7659
7675
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
7660
7676
|
|
|
7661
|
-
var _excluded$
|
|
7677
|
+
var _excluded$r = ["expanded"];
|
|
7662
7678
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7663
7679
|
var _ref$expanded = _ref.expanded,
|
|
7664
7680
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
7665
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7681
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
7666
7682
|
|
|
7667
7683
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
7668
7684
|
ref: ref,
|
|
@@ -7975,7 +7991,7 @@
|
|
|
7975
7991
|
};
|
|
7976
7992
|
Nav.displayName = "Nav";
|
|
7977
7993
|
|
|
7978
|
-
var _excluded$
|
|
7994
|
+
var _excluded$q = ["children", "as", "disablePointerEvents"];
|
|
7979
7995
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
7980
7996
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
7981
7997
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -7992,7 +8008,7 @@
|
|
|
7992
8008
|
var children = _ref.children,
|
|
7993
8009
|
as = _ref.as,
|
|
7994
8010
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
7995
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8011
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
7996
8012
|
|
|
7997
8013
|
var Component = as || "div";
|
|
7998
8014
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
@@ -8003,11 +8019,11 @@
|
|
|
8003
8019
|
});
|
|
8004
8020
|
InputAdornment.displayName = "InputAdornment";
|
|
8005
8021
|
|
|
8006
|
-
var _excluded$
|
|
8022
|
+
var _excluded$p = ["expanded"];
|
|
8007
8023
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8008
8024
|
var _ref$expanded = _ref.expanded,
|
|
8009
8025
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
8010
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8026
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
8011
8027
|
|
|
8012
8028
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
8013
8029
|
ref: ref,
|
|
@@ -8214,14 +8230,14 @@
|
|
|
8214
8230
|
});
|
|
8215
8231
|
StyledTextarea.displayName = "StyledTextarea";
|
|
8216
8232
|
|
|
8217
|
-
var _excluded$
|
|
8233
|
+
var _excluded$o = ["className", "disabled", "invalid"];
|
|
8218
8234
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8219
8235
|
var className = _ref.className,
|
|
8220
8236
|
_ref$disabled = _ref.disabled,
|
|
8221
8237
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8222
8238
|
_ref$invalid = _ref.invalid,
|
|
8223
8239
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
8224
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8240
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
8225
8241
|
|
|
8226
8242
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
8227
8243
|
$invalid: invalid,
|
|
@@ -8256,7 +8272,7 @@
|
|
|
8256
8272
|
function () {});
|
|
8257
8273
|
}
|
|
8258
8274
|
|
|
8259
|
-
var _excluded$
|
|
8275
|
+
var _excluded$n = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "preventClickEventBubbling", "open", "onClose"];
|
|
8260
8276
|
|
|
8261
8277
|
var getHasTransition = function getHasTransition(children) {
|
|
8262
8278
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
@@ -8277,7 +8293,7 @@
|
|
|
8277
8293
|
_ref$open = _ref.open,
|
|
8278
8294
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
8279
8295
|
onClose = _ref.onClose,
|
|
8280
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8296
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
8281
8297
|
|
|
8282
8298
|
var _useState = React.useState(defaultOpen),
|
|
8283
8299
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8417,7 +8433,7 @@
|
|
|
8417
8433
|
});
|
|
8418
8434
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
8419
8435
|
|
|
8420
|
-
var _excluded$
|
|
8436
|
+
var _excluded$m = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick", "preventClickEventBubbling"];
|
|
8421
8437
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8422
8438
|
var children = _ref.children,
|
|
8423
8439
|
onClose = _ref.onClose,
|
|
@@ -8443,7 +8459,7 @@
|
|
|
8443
8459
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
8444
8460
|
_ref$preventClickEven = _ref.preventClickEventBubbling,
|
|
8445
8461
|
preventClickEventBubbling = _ref$preventClickEven === void 0 ? false : _ref$preventClickEven,
|
|
8446
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8462
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
8447
8463
|
|
|
8448
8464
|
var _useState = React.useState(defaultOpen),
|
|
8449
8465
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8542,13 +8558,13 @@
|
|
|
8542
8558
|
});
|
|
8543
8559
|
StyledHeader.displayName = "StyledHeader";
|
|
8544
8560
|
|
|
8545
|
-
var _excluded$
|
|
8561
|
+
var _excluded$l = ["className", "size", "children"];
|
|
8546
8562
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8547
8563
|
var className = _ref.className,
|
|
8548
8564
|
_ref$size = _ref.size,
|
|
8549
8565
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
8550
8566
|
children = _ref.children,
|
|
8551
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8567
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
8552
8568
|
|
|
8553
8569
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
8554
8570
|
type: "paper-2",
|
|
@@ -8565,7 +8581,7 @@
|
|
|
8565
8581
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
8566
8582
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
8567
8583
|
|
|
8568
|
-
var _excluded$
|
|
8584
|
+
var _excluded$k = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
8569
8585
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8570
8586
|
var _ref$minRows = _ref.minRows,
|
|
8571
8587
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -8581,7 +8597,7 @@
|
|
|
8581
8597
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
8582
8598
|
onKeyDown = _ref.onKeyDown,
|
|
8583
8599
|
value = _ref.value,
|
|
8584
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8600
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
8585
8601
|
|
|
8586
8602
|
var innerRef = React.useRef(null);
|
|
8587
8603
|
|
|
@@ -8872,7 +8888,7 @@
|
|
|
8872
8888
|
});
|
|
8873
8889
|
StyledChoose.displayName = "StyledChoose";
|
|
8874
8890
|
|
|
8875
|
-
var _excluded$
|
|
8891
|
+
var _excluded$j = ["children", "disabled", "active", "className"];
|
|
8876
8892
|
|
|
8877
8893
|
/**
|
|
8878
8894
|
* Choose component
|
|
@@ -8884,7 +8900,7 @@
|
|
|
8884
8900
|
_ref$active = _ref.active,
|
|
8885
8901
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
8886
8902
|
className = _ref.className,
|
|
8887
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8903
|
+
args = _objectWithoutProperties(_ref, _excluded$j);
|
|
8888
8904
|
|
|
8889
8905
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
8890
8906
|
disabled: disabled,
|
|
@@ -8977,7 +8993,7 @@
|
|
|
8977
8993
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
8978
8994
|
StyledLink.displayName = "StyledLink";
|
|
8979
8995
|
|
|
8980
|
-
var _excluded$
|
|
8996
|
+
var _excluded$i = ["children", "className"];
|
|
8981
8997
|
|
|
8982
8998
|
/**
|
|
8983
8999
|
* Back link component
|
|
@@ -8985,7 +9001,7 @@
|
|
|
8985
9001
|
var BackLink = function BackLink(_ref) {
|
|
8986
9002
|
var children = _ref.children,
|
|
8987
9003
|
className = _ref.className,
|
|
8988
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9004
|
+
args = _objectWithoutProperties(_ref, _excluded$i);
|
|
8989
9005
|
|
|
8990
9006
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
8991
9007
|
className: classnames__default["default"]("c-back-link", className)
|
|
@@ -8993,7 +9009,7 @@
|
|
|
8993
9009
|
};
|
|
8994
9010
|
BackLink.displayName = "BackLink";
|
|
8995
9011
|
|
|
8996
|
-
var _excluded$
|
|
9012
|
+
var _excluded$h = ["children", "variant", "size", "disabled", "className"];
|
|
8997
9013
|
|
|
8998
9014
|
/**
|
|
8999
9015
|
* Link component
|
|
@@ -9006,7 +9022,7 @@
|
|
|
9006
9022
|
_ref$disabled = _ref.disabled,
|
|
9007
9023
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
9008
9024
|
className = _ref.className,
|
|
9009
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9025
|
+
args = _objectWithoutProperties(_ref, _excluded$h);
|
|
9010
9026
|
|
|
9011
9027
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
9012
9028
|
disabled: disabled,
|
|
@@ -9138,11 +9154,11 @@
|
|
|
9138
9154
|
});
|
|
9139
9155
|
Dialog.displayName = "Dialog";
|
|
9140
9156
|
|
|
9141
|
-
var _excluded$
|
|
9157
|
+
var _excluded$g = ["className", "children"];
|
|
9142
9158
|
var DialogContent = function DialogContent(_ref) {
|
|
9143
9159
|
var className = _ref.className,
|
|
9144
9160
|
children = _ref.children,
|
|
9145
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9161
|
+
rest = _objectWithoutProperties(_ref, _excluded$g);
|
|
9146
9162
|
|
|
9147
9163
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
9148
9164
|
className: classnames__default["default"]("c-dialog-content", className)
|
|
@@ -9158,13 +9174,13 @@
|
|
|
9158
9174
|
};
|
|
9159
9175
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
9160
9176
|
|
|
9161
|
-
var _excluded$
|
|
9177
|
+
var _excluded$f = ["children", "className", "disableDefaultHeading"];
|
|
9162
9178
|
var DialogTitle = function DialogTitle(_ref) {
|
|
9163
9179
|
var children = _ref.children,
|
|
9164
9180
|
className = _ref.className,
|
|
9165
9181
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
9166
9182
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
9167
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9183
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
9168
9184
|
|
|
9169
9185
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
9170
9186
|
className: classnames__default["default"]("c-dialog-title-wrapper", className)
|
|
@@ -9172,11 +9188,11 @@
|
|
|
9172
9188
|
};
|
|
9173
9189
|
DialogTitle.displayName = "DialogTitle";
|
|
9174
9190
|
|
|
9175
|
-
var _excluded$
|
|
9191
|
+
var _excluded$e = ["className", "children"];
|
|
9176
9192
|
var DialogActions = function DialogActions(_ref) {
|
|
9177
9193
|
var className = _ref.className,
|
|
9178
9194
|
children = _ref.children,
|
|
9179
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9195
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
9180
9196
|
|
|
9181
9197
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
9182
9198
|
className: classnames__default["default"]("c-dialog-actions", className)
|
|
@@ -9386,7 +9402,7 @@
|
|
|
9386
9402
|
});
|
|
9387
9403
|
StyledPressed.displayName = "StyledPressed";
|
|
9388
9404
|
|
|
9389
|
-
var _excluded$
|
|
9405
|
+
var _excluded$d = ["children", "active", "className"];
|
|
9390
9406
|
|
|
9391
9407
|
/**
|
|
9392
9408
|
* Pressed wrapper for button component
|
|
@@ -9396,7 +9412,7 @@
|
|
|
9396
9412
|
_ref$active = _ref.active,
|
|
9397
9413
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
9398
9414
|
className = _ref.className,
|
|
9399
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9415
|
+
args = _objectWithoutProperties(_ref, _excluded$d);
|
|
9400
9416
|
|
|
9401
9417
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
9402
9418
|
active: active,
|
|
@@ -9871,7 +9887,7 @@
|
|
|
9871
9887
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
9872
9888
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
9873
9889
|
|
|
9874
|
-
var _excluded$
|
|
9890
|
+
var _excluded$c = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
9875
9891
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9876
9892
|
var text = _ref.text,
|
|
9877
9893
|
type = _ref.type,
|
|
@@ -9882,7 +9898,7 @@
|
|
|
9882
9898
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
9883
9899
|
_ref$timeout = _ref.timeout,
|
|
9884
9900
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
9885
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9901
|
+
rest = _objectWithoutProperties(_ref, _excluded$c);
|
|
9886
9902
|
|
|
9887
9903
|
var handleOnClose = React.useCallback(function () {
|
|
9888
9904
|
if (typeof onClose === "function") {
|
|
@@ -9907,7 +9923,7 @@
|
|
|
9907
9923
|
});
|
|
9908
9924
|
ToastMessage.displayName = "ToastMessage";
|
|
9909
9925
|
|
|
9910
|
-
var _excluded$
|
|
9926
|
+
var _excluded$b = ["in", "children", "style", "timeout"];
|
|
9911
9927
|
|
|
9912
9928
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
9913
9929
|
return {
|
|
@@ -9937,7 +9953,7 @@
|
|
|
9937
9953
|
style = _ref.style,
|
|
9938
9954
|
_ref$timeout = _ref.timeout,
|
|
9939
9955
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
9940
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9956
|
+
rest = _objectWithoutProperties(_ref, _excluded$b);
|
|
9941
9957
|
|
|
9942
9958
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
9943
9959
|
appear: true,
|
|
@@ -9953,7 +9969,7 @@
|
|
|
9953
9969
|
};
|
|
9954
9970
|
Fade.displayName = "Fade";
|
|
9955
9971
|
|
|
9956
|
-
var _excluded$
|
|
9972
|
+
var _excluded$a = ["in", "children", "style", "timeout", "initialDirection"];
|
|
9957
9973
|
var Slide = function Slide(_ref) {
|
|
9958
9974
|
var _ref$in = _ref.in,
|
|
9959
9975
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -9963,7 +9979,7 @@
|
|
|
9963
9979
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
9964
9980
|
_ref$initialDirection = _ref.initialDirection,
|
|
9965
9981
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
9966
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9982
|
+
rest = _objectWithoutProperties(_ref, _excluded$a);
|
|
9967
9983
|
|
|
9968
9984
|
var directionSign;
|
|
9969
9985
|
|
|
@@ -10023,12 +10039,12 @@
|
|
|
10023
10039
|
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;}"]);
|
|
10024
10040
|
});
|
|
10025
10041
|
|
|
10026
|
-
var _excluded$
|
|
10042
|
+
var _excluded$9 = ["children", "direction"];
|
|
10027
10043
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
10028
10044
|
var children = _ref.children,
|
|
10029
10045
|
_ref$direction = _ref.direction,
|
|
10030
10046
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
10031
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10047
|
+
props = _objectWithoutProperties(_ref, _excluded$9);
|
|
10032
10048
|
|
|
10033
10049
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
10034
10050
|
timeout: 200,
|
|
@@ -10072,7 +10088,7 @@
|
|
|
10072
10088
|
};
|
|
10073
10089
|
ResizeTransition.displayName = "ResizeTransition";
|
|
10074
10090
|
|
|
10075
|
-
var _excluded$
|
|
10091
|
+
var _excluded$8 = ["in", "children", "style", "timeout"];
|
|
10076
10092
|
|
|
10077
10093
|
var defaultStyle = function defaultStyle(duration) {
|
|
10078
10094
|
return {
|
|
@@ -10108,7 +10124,7 @@
|
|
|
10108
10124
|
style = _ref.style,
|
|
10109
10125
|
_ref$timeout = _ref.timeout,
|
|
10110
10126
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
10111
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10127
|
+
rest = _objectWithoutProperties(_ref, _excluded$8);
|
|
10112
10128
|
|
|
10113
10129
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10114
10130
|
appear: true,
|
|
@@ -10183,7 +10199,7 @@
|
|
|
10183
10199
|
});
|
|
10184
10200
|
StyledValueButton.displayName = "StyledValueButton";
|
|
10185
10201
|
|
|
10186
|
-
var _excluded$
|
|
10202
|
+
var _excluded$7 = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
10187
10203
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10188
10204
|
var _ref$active = _ref.active,
|
|
10189
10205
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -10192,7 +10208,7 @@
|
|
|
10192
10208
|
icon = _ref.icon,
|
|
10193
10209
|
label = _ref.label,
|
|
10194
10210
|
value = _ref.value,
|
|
10195
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10211
|
+
args = _objectWithoutProperties(_ref, _excluded$7);
|
|
10196
10212
|
|
|
10197
10213
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
10198
10214
|
className: "c-value-button"
|
|
@@ -10222,12 +10238,12 @@
|
|
|
10222
10238
|
})(["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;}"]);
|
|
10223
10239
|
StyledButton.displayName = "StyledButton";
|
|
10224
10240
|
|
|
10225
|
-
var _excluded$
|
|
10241
|
+
var _excluded$6 = ["children", "type"];
|
|
10226
10242
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10227
10243
|
var children = _ref.children,
|
|
10228
10244
|
_ref$type = _ref.type,
|
|
10229
10245
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
10230
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10246
|
+
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
10231
10247
|
|
|
10232
10248
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
10233
10249
|
ref: ref,
|
|
@@ -10271,7 +10287,7 @@
|
|
|
10271
10287
|
})(["transform:rotate(180deg);margin-left:8px;flex-shrink:0;"]);
|
|
10272
10288
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
10273
10289
|
|
|
10274
|
-
var _excluded$
|
|
10290
|
+
var _excluded$5 = ["children", "type", "size", "invalid"];
|
|
10275
10291
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10276
10292
|
var children = _ref.children,
|
|
10277
10293
|
_ref$type = _ref.type,
|
|
@@ -10280,7 +10296,7 @@
|
|
|
10280
10296
|
size = _ref$size === void 0 ? "regular" : _ref$size,
|
|
10281
10297
|
_ref$invalid = _ref.invalid,
|
|
10282
10298
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
10283
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10299
|
+
rest = _objectWithoutProperties(_ref, _excluded$5);
|
|
10284
10300
|
|
|
10285
10301
|
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
10286
10302
|
ref: ref,
|
|
@@ -10326,11 +10342,11 @@
|
|
|
10326
10342
|
});
|
|
10327
10343
|
StyledToggle.displayName = "StyledToggle";
|
|
10328
10344
|
|
|
10329
|
-
var _excluded$
|
|
10345
|
+
var _excluded$4 = ["hovered", "className"];
|
|
10330
10346
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10331
10347
|
var hovered = _ref.hovered,
|
|
10332
10348
|
className = _ref.className,
|
|
10333
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10349
|
+
args = _objectWithoutProperties(_ref, _excluded$4);
|
|
10334
10350
|
|
|
10335
10351
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
10336
10352
|
className: classnames__default["default"]("c-toggle", className),
|
|
@@ -10370,7 +10386,7 @@
|
|
|
10370
10386
|
});
|
|
10371
10387
|
StyledComboBoxList.displayName = "StyledComboBoxList";
|
|
10372
10388
|
|
|
10373
|
-
var _excluded$
|
|
10389
|
+
var _excluded$3 = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid"];
|
|
10374
10390
|
var ComboBox = function ComboBox(_ref) {
|
|
10375
10391
|
var _comboBoxRef$current;
|
|
10376
10392
|
|
|
@@ -10389,7 +10405,7 @@
|
|
|
10389
10405
|
size = _ref$size === void 0 ? "regular" : _ref$size,
|
|
10390
10406
|
_ref$invalid = _ref.invalid,
|
|
10391
10407
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
10392
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
10408
|
+
prop = _objectWithoutProperties(_ref, _excluded$3);
|
|
10393
10409
|
|
|
10394
10410
|
var timeoutRef = React.useRef();
|
|
10395
10411
|
var selectedName = React.useMemo(function () {
|
|
@@ -10939,7 +10955,7 @@
|
|
|
10939
10955
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
10940
10956
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
10941
10957
|
|
|
10942
|
-
var _excluded$
|
|
10958
|
+
var _excluded$2 = ["invalid", "required", "size", "children", "className", "weight"];
|
|
10943
10959
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10944
10960
|
var _ref$invalid = _ref.invalid,
|
|
10945
10961
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -10951,7 +10967,7 @@
|
|
|
10951
10967
|
className = _ref.className,
|
|
10952
10968
|
_ref$weight = _ref.weight,
|
|
10953
10969
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
10954
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10970
|
+
props = _objectWithoutProperties(_ref, _excluded$2);
|
|
10955
10971
|
|
|
10956
10972
|
var color = invalid ? "alert" : "primary";
|
|
10957
10973
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
@@ -11070,11 +11086,11 @@
|
|
|
11070
11086
|
};
|
|
11071
11087
|
ProgressRing.displayName = "ProgressRing";
|
|
11072
11088
|
|
|
11073
|
-
var _excluded = ["withDocuments"];
|
|
11089
|
+
var _excluded$1 = ["withDocuments"];
|
|
11074
11090
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
11075
11091
|
var _ref$withDocuments = _ref.withDocuments,
|
|
11076
11092
|
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
11077
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
11093
|
+
props = _objectWithoutProperties(_ref, _excluded$1);
|
|
11078
11094
|
|
|
11079
11095
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
11080
11096
|
width: 100,
|
|
@@ -11126,6 +11142,97 @@
|
|
|
11126
11142
|
FolderIcon.displayName = "FolderIcon";
|
|
11127
11143
|
var FolderIcon$1 = FolderIcon;
|
|
11128
11144
|
|
|
11145
|
+
var ChipContainer = styled__default["default"].div.withConfig({
|
|
11146
|
+
displayName: "Styles__ChipContainer",
|
|
11147
|
+
componentId: "sc-7s0bd1-0"
|
|
11148
|
+
})(["min-width:80px;max-width:220px;", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", ""], {
|
|
11149
|
+
"height": "1.5rem"
|
|
11150
|
+
}, {
|
|
11151
|
+
"borderRadius": "0.25rem"
|
|
11152
|
+
}, {
|
|
11153
|
+
"display": "inline-flex"
|
|
11154
|
+
}, {
|
|
11155
|
+
"alignItems": "center"
|
|
11156
|
+
}, {
|
|
11157
|
+
"justifyContent": "center"
|
|
11158
|
+
}, {
|
|
11159
|
+
"gap": "0.25rem"
|
|
11160
|
+
}, {
|
|
11161
|
+
"paddingLeft": "0.375rem"
|
|
11162
|
+
}, {
|
|
11163
|
+
"overflow": "hidden"
|
|
11164
|
+
}, FontStyle, BoxSizingStyle, {
|
|
11165
|
+
"fontSize": "0.875rem"
|
|
11166
|
+
}, {
|
|
11167
|
+
"color": "var(--color-theme-900)"
|
|
11168
|
+
}, {
|
|
11169
|
+
"lineHeight": "1.375"
|
|
11170
|
+
}, {
|
|
11171
|
+
"letterSpacing": "0.02em"
|
|
11172
|
+
}, {
|
|
11173
|
+
"fontWeight": "400"
|
|
11174
|
+
}, {
|
|
11175
|
+
"backgroundColor": "var(--color-theme-400)"
|
|
11176
|
+
}, function (props) {
|
|
11177
|
+
return props.$showClose ? null : styled.css(["", ""], {
|
|
11178
|
+
"paddingRight": "0.375rem"
|
|
11179
|
+
});
|
|
11180
|
+
});
|
|
11181
|
+
ChipContainer.displayName = "ChipContainer";
|
|
11182
|
+
var ChipLabel = styled__default["default"].span.withConfig({
|
|
11183
|
+
displayName: "Styles__ChipLabel",
|
|
11184
|
+
componentId: "sc-7s0bd1-1"
|
|
11185
|
+
})(["", " ", ""], {
|
|
11186
|
+
"width": "100%"
|
|
11187
|
+
}, {
|
|
11188
|
+
"overflow": "hidden",
|
|
11189
|
+
"textOverflow": "ellipsis",
|
|
11190
|
+
"whiteSpace": "nowrap"
|
|
11191
|
+
});
|
|
11192
|
+
ChipLabel.displayName = "ChipLabel";
|
|
11193
|
+
var ChipTrigger = styled__default["default"](Trigger).withConfig({
|
|
11194
|
+
displayName: "Styles__ChipTrigger",
|
|
11195
|
+
componentId: "sc-7s0bd1-2"
|
|
11196
|
+
})(["", " ", " ", " &:hover{", "}"], {
|
|
11197
|
+
"display": "flex"
|
|
11198
|
+
}, {
|
|
11199
|
+
"alignItems": "center"
|
|
11200
|
+
}, {
|
|
11201
|
+
"justifyContent": "center"
|
|
11202
|
+
}, {
|
|
11203
|
+
"backgroundColor": "var(--color-theme-transparent-400)"
|
|
11204
|
+
});
|
|
11205
|
+
ChipTrigger.displayName = "ChipTrigger";
|
|
11206
|
+
var ChipCloseIcon = styled__default["default"](CloseSmallIcon$1).withConfig({
|
|
11207
|
+
displayName: "Styles__ChipCloseIcon",
|
|
11208
|
+
componentId: "sc-7s0bd1-3"
|
|
11209
|
+
})(["", ""], {
|
|
11210
|
+
"color": "var(--color-theme-700)"
|
|
11211
|
+
});
|
|
11212
|
+
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
11213
|
+
|
|
11214
|
+
var _excluded = ["url", "label", "onClose"];
|
|
11215
|
+
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
11216
|
+
var url = _ref.url,
|
|
11217
|
+
label = _ref.label,
|
|
11218
|
+
onClose = _ref.onClose,
|
|
11219
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
11220
|
+
|
|
11221
|
+
var showClose = typeof onClose === "function";
|
|
11222
|
+
return /*#__PURE__*/React__default["default"].createElement(ChipContainer, _extends({}, rest, {
|
|
11223
|
+
ref: ref,
|
|
11224
|
+
$showClose: showClose
|
|
11225
|
+
}), url ? /*#__PURE__*/React__default["default"].createElement(Avatar, {
|
|
11226
|
+
size: 18,
|
|
11227
|
+
url: url
|
|
11228
|
+
}) : null, /*#__PURE__*/React__default["default"].createElement(ChipLabel, null, label), showClose ? /*#__PURE__*/React__default["default"].createElement(ChipTrigger, {
|
|
11229
|
+
onClick: onClose
|
|
11230
|
+
}, /*#__PURE__*/React__default["default"].createElement(ChipCloseIcon, {
|
|
11231
|
+
fill: "currentColor"
|
|
11232
|
+
})) : null);
|
|
11233
|
+
});
|
|
11234
|
+
Chip.displayName = "Chip";
|
|
11235
|
+
|
|
11129
11236
|
exports.Accordion = Accordion;
|
|
11130
11237
|
exports.AccordionContext = AccordionContext;
|
|
11131
11238
|
exports.AccordionItem = AccordionItem;
|
|
@@ -11174,6 +11281,7 @@
|
|
|
11174
11281
|
exports.CheckboxIcon = CheckboxIcon$1;
|
|
11175
11282
|
exports.ChecklistIcon = ChecklistIcon$1;
|
|
11176
11283
|
exports.ChecklistSmallIcon = ChecklistSmallIcon$1;
|
|
11284
|
+
exports.Chip = Chip;
|
|
11177
11285
|
exports.Choose = Choose;
|
|
11178
11286
|
exports.CircleMultipleIcon = CircleMultipleIcon$1;
|
|
11179
11287
|
exports.ClockAddIcon = ClockAddIcon$1;
|
|
@@ -11368,6 +11476,7 @@
|
|
|
11368
11476
|
exports.Tooltip = Tooltip;
|
|
11369
11477
|
exports.TrashIcon = TrashIcon$1;
|
|
11370
11478
|
exports.TreeDotsIcon = TreeDotsIcon$1;
|
|
11479
|
+
exports.Trigger = Trigger;
|
|
11371
11480
|
exports.UploadIcon = UploadIcon$1;
|
|
11372
11481
|
exports.ValueButton = ValueButton;
|
|
11373
11482
|
exports.ViewGridIcon = ViewGridIcon$1;
|