@activecollab/components 1.0.220 → 1.0.222
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/Button/Button.js +3 -7
- package/dist/cjs/components/Button/Button.js.map +1 -1
- package/dist/cjs/components/Button/Styles.js.map +1 -1
- package/dist/cjs/components/IconButton/IconButton.js +38 -0
- package/dist/cjs/components/IconButton/IconButton.js.map +1 -0
- package/dist/cjs/components/IconButton/Styles.js +23 -0
- package/dist/cjs/components/IconButton/Styles.js.map +1 -0
- package/dist/cjs/components/IconButton/index.js +17 -0
- package/dist/cjs/components/IconButton/index.js.map +1 -0
- package/dist/cjs/components/Pressed/Pressed.js.map +1 -1
- package/dist/cjs/components/Pressed/Styles.js.map +1 -1
- package/dist/cjs/components/ValueButton/Styles.js +1 -1
- package/dist/cjs/components/ValueButton/Styles.js.map +1 -1
- package/dist/cjs/components/index.js +11 -0
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/Button/Button.d.ts +5 -6
- package/dist/esm/components/Button/Button.d.ts.map +1 -1
- package/dist/esm/components/Button/Button.js +3 -7
- package/dist/esm/components/Button/Button.js.map +1 -1
- package/dist/esm/components/Button/GlobalAddButton/Styles.d.ts +3 -1
- package/dist/esm/components/Button/GlobalAddButton/Styles.d.ts.map +1 -1
- package/dist/esm/components/Button/Styles.d.ts +2 -2
- package/dist/esm/components/Button/Styles.d.ts.map +1 -1
- package/dist/esm/components/Button/Styles.js.map +1 -1
- package/dist/esm/components/CounterButton/Styles.d.ts +6 -2
- package/dist/esm/components/CounterButton/Styles.d.ts.map +1 -1
- package/dist/esm/components/IconButton/IconButton.d.ts +8 -0
- package/dist/esm/components/IconButton/IconButton.d.ts.map +1 -0
- package/dist/esm/components/IconButton/IconButton.js +29 -0
- package/dist/esm/components/IconButton/IconButton.js.map +1 -0
- package/dist/esm/components/IconButton/Styles.d.ts +5 -0
- package/dist/esm/components/IconButton/Styles.d.ts.map +1 -0
- package/dist/esm/components/IconButton/Styles.js +13 -0
- package/dist/esm/components/IconButton/Styles.js.map +1 -0
- package/dist/esm/components/IconButton/index.d.ts +2 -0
- package/dist/esm/components/IconButton/index.d.ts.map +1 -0
- package/dist/esm/components/IconButton/index.js +2 -0
- package/dist/esm/components/IconButton/index.js.map +1 -0
- package/dist/esm/components/Pickers/Styles.d.ts +3 -1
- package/dist/esm/components/Pickers/Styles.d.ts.map +1 -1
- package/dist/esm/components/Pressed/Pressed.d.ts +3 -3
- package/dist/esm/components/Pressed/Pressed.d.ts.map +1 -1
- package/dist/esm/components/Pressed/Pressed.js.map +1 -1
- package/dist/esm/components/Pressed/Styles.d.ts +4 -2
- package/dist/esm/components/Pressed/Styles.d.ts.map +1 -1
- package/dist/esm/components/Pressed/Styles.js.map +1 -1
- package/dist/esm/components/SelectDate/Styles.d.ts +9 -3
- package/dist/esm/components/SelectDate/Styles.d.ts.map +1 -1
- package/dist/esm/components/Steppers/DateStepper/Styles.d.ts +3 -1
- package/dist/esm/components/Steppers/DateStepper/Styles.d.ts.map +1 -1
- package/dist/esm/components/ValueButton/Styles.d.ts +5 -3
- package/dist/esm/components/ValueButton/Styles.d.ts.map +1 -1
- package/dist/esm/components/ValueButton/Styles.js +1 -1
- package/dist/esm/components/ValueButton/Styles.js.map +1 -1
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/index.js +188 -156
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
})(["display:inline-flex;svg{margin:0 4px;}"]);
|
|
268
268
|
StyledButtonElement.displayName = "StyledButtonElement";
|
|
269
269
|
|
|
270
|
-
var _excluded$
|
|
270
|
+
var _excluded$1b = ["children", "variant", "size", "className"];
|
|
271
271
|
/**
|
|
272
272
|
* Button component
|
|
273
273
|
*/
|
|
@@ -277,12 +277,9 @@
|
|
|
277
277
|
variant = _ref$variant === void 0 ? "contained" : _ref$variant,
|
|
278
278
|
_ref$size = _ref.size,
|
|
279
279
|
size = _ref$size === void 0 ? "medium" : _ref$size,
|
|
280
|
-
_ref$disabled = _ref.disabled,
|
|
281
|
-
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
282
280
|
className = _ref.className,
|
|
283
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
281
|
+
args = _objectWithoutProperties(_ref, _excluded$1b);
|
|
284
282
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
|
|
285
|
-
disabled: disabled,
|
|
286
283
|
className: classNames__default["default"]("c-btn", className, {
|
|
287
284
|
"c-btn--contained": variant === "primary" || variant === "contained",
|
|
288
285
|
"c-btn--outlined": variant === "secondary" || variant === "outlined",
|
|
@@ -296,10 +293,9 @@
|
|
|
296
293
|
}),
|
|
297
294
|
iconOnly: children instanceof Object && !(children instanceof Array),
|
|
298
295
|
variant: variant,
|
|
299
|
-
size: size
|
|
300
|
-
}, args, {
|
|
296
|
+
size: size,
|
|
301
297
|
ref: ref
|
|
302
|
-
}), children instanceof Array ? /*#__PURE__*/React__default["default"].createElement(StyledButtonElements, {
|
|
298
|
+
}, args), children instanceof Array ? /*#__PURE__*/React__default["default"].createElement(StyledButtonElements, {
|
|
303
299
|
className: "c-btn__elements"
|
|
304
300
|
}, children.map(function (value, index) {
|
|
305
301
|
return value ? /*#__PURE__*/React__default["default"].createElement(StyledButtonElement, {
|
|
@@ -334,12 +330,12 @@
|
|
|
334
330
|
})(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
|
|
335
331
|
StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
|
|
336
332
|
|
|
337
|
-
var _excluded$
|
|
333
|
+
var _excluded$1a = ["className", "disabled"];
|
|
338
334
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
339
335
|
var className = _ref.className,
|
|
340
336
|
_ref$disabled = _ref.disabled,
|
|
341
337
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
342
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
338
|
+
rest = _objectWithoutProperties(_ref, _excluded$1a);
|
|
343
339
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
344
340
|
ref: ref,
|
|
345
341
|
variant: "contained",
|
|
@@ -371,11 +367,11 @@
|
|
|
371
367
|
});
|
|
372
368
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
373
369
|
|
|
374
|
-
var _excluded$
|
|
370
|
+
var _excluded$19 = ["children", "className"];
|
|
375
371
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
376
372
|
var children = _ref.children,
|
|
377
373
|
className = _ref.className,
|
|
378
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
374
|
+
rest = _objectWithoutProperties(_ref, _excluded$19);
|
|
379
375
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
380
376
|
ref: ref,
|
|
381
377
|
className: classNames__default["default"]("c-btn-group", className)
|
|
@@ -435,7 +431,7 @@
|
|
|
435
431
|
return React.useContext(MenuContext);
|
|
436
432
|
};
|
|
437
433
|
|
|
438
|
-
var _excluded$
|
|
434
|
+
var _excluded$18 = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy"];
|
|
439
435
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
440
436
|
var children = _ref.children,
|
|
441
437
|
anchorEl = _ref.anchorEl,
|
|
@@ -448,7 +444,7 @@
|
|
|
448
444
|
initialPlacement = _ref$placement === void 0 ? "bottom" : _ref$placement,
|
|
449
445
|
_ref$strategy = _ref.strategy,
|
|
450
446
|
strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
|
|
451
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
447
|
+
rest = _objectWithoutProperties(_ref, _excluded$18);
|
|
452
448
|
var _useState = React.useState(true),
|
|
453
449
|
_useState2 = _slicedToArray(_useState, 2),
|
|
454
450
|
exited = _useState2[0],
|
|
@@ -537,12 +533,12 @@
|
|
|
537
533
|
});
|
|
538
534
|
StyledOverlay.displayName = "StyledOverlay";
|
|
539
535
|
|
|
540
|
-
var _excluded$
|
|
536
|
+
var _excluded$17 = ["className", "disableBackgroundColor"];
|
|
541
537
|
var Overlay = function Overlay(_ref) {
|
|
542
538
|
var className = _ref.className,
|
|
543
539
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
544
540
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
545
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
541
|
+
rest = _objectWithoutProperties(_ref, _excluded$17);
|
|
546
542
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
547
543
|
className: classNames__default["default"]("c-overlay", className),
|
|
548
544
|
$disableBackgroundColor: disableBackgroundColor
|
|
@@ -582,7 +578,7 @@
|
|
|
582
578
|
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
|
|
583
579
|
StyledWindow.displayName = "StyledWindow";
|
|
584
580
|
|
|
585
|
-
var _excluded$
|
|
581
|
+
var _excluded$16 = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "disableCloseOnEsc", "onClick"];
|
|
586
582
|
var returnFocus = {
|
|
587
583
|
preventScroll: true
|
|
588
584
|
};
|
|
@@ -599,7 +595,7 @@
|
|
|
599
595
|
_ref$disableCloseOnEs = _ref.disableCloseOnEsc,
|
|
600
596
|
disableCloseOnEsc = _ref$disableCloseOnEs === void 0 ? false : _ref$disableCloseOnEs,
|
|
601
597
|
onClick = _ref.onClick,
|
|
602
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
598
|
+
rest = _objectWithoutProperties(_ref, _excluded$16);
|
|
603
599
|
var innerRef = React.useRef(null);
|
|
604
600
|
var handleRef = useForkRef(innerRef, ref);
|
|
605
601
|
var _useLayerContext = useLayerContext(),
|
|
@@ -666,7 +662,7 @@
|
|
|
666
662
|
}, FontStyle, BoxSizingStyle);
|
|
667
663
|
StyledBubble.displayName = "StyledBubble";
|
|
668
664
|
|
|
669
|
-
var _excluded$
|
|
665
|
+
var _excluded$15 = ["children", "className", "innerRef", "style"];
|
|
670
666
|
var Bubble = function Bubble(_ref) {
|
|
671
667
|
var children = _ref.children,
|
|
672
668
|
className = _ref.className,
|
|
@@ -674,7 +670,7 @@
|
|
|
674
670
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
675
671
|
_ref$style = _ref.style,
|
|
676
672
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
677
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
673
|
+
rest = _objectWithoutProperties(_ref, _excluded$15);
|
|
678
674
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
679
675
|
ref: innerRef,
|
|
680
676
|
className: classNames__default["default"]("c-bubble", className),
|
|
@@ -980,7 +976,7 @@
|
|
|
980
976
|
});
|
|
981
977
|
StyledTypography.displayName = "StyledTypography";
|
|
982
978
|
|
|
983
|
-
var _excluded$
|
|
979
|
+
var _excluded$14 = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
984
980
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
985
981
|
var _ref$variant = _ref.variant,
|
|
986
982
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -1011,7 +1007,7 @@
|
|
|
1011
1007
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
1012
1008
|
className = _ref.className,
|
|
1013
1009
|
children = _ref.children,
|
|
1014
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1010
|
+
props = _objectWithoutProperties(_ref, _excluded$14);
|
|
1015
1011
|
var Component = as || "div";
|
|
1016
1012
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
1017
1013
|
as: Component,
|
|
@@ -1034,13 +1030,13 @@
|
|
|
1034
1030
|
});
|
|
1035
1031
|
Typography.displayName = "Typography";
|
|
1036
1032
|
|
|
1037
|
-
var _excluded$
|
|
1033
|
+
var _excluded$13 = ["title", "className", "leftElement", "rightElement"];
|
|
1038
1034
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1039
1035
|
var title = _ref.title,
|
|
1040
1036
|
className = _ref.className,
|
|
1041
1037
|
leftElement = _ref.leftElement,
|
|
1042
1038
|
rightElement = _ref.rightElement,
|
|
1043
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1039
|
+
props = _objectWithoutProperties(_ref, _excluded$13);
|
|
1044
1040
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
1045
1041
|
className: classNames__default["default"]("c-menu-header", className),
|
|
1046
1042
|
ref: ref
|
|
@@ -1065,11 +1061,11 @@
|
|
|
1065
1061
|
});
|
|
1066
1062
|
MenuHeader.displayName = "MenuHeader";
|
|
1067
1063
|
|
|
1068
|
-
var _excluded$
|
|
1064
|
+
var _excluded$12 = ["children", "className"];
|
|
1069
1065
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1070
1066
|
var children = _ref.children,
|
|
1071
1067
|
className = _ref.className,
|
|
1072
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1068
|
+
props = _objectWithoutProperties(_ref, _excluded$12);
|
|
1073
1069
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter$1, _extends({}, props, {
|
|
1074
1070
|
className: classNames__default["default"]("c-menu-footer", className),
|
|
1075
1071
|
ref: ref
|
|
@@ -1093,11 +1089,11 @@
|
|
|
1093
1089
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
1094
1090
|
StyledListSeparator.displayName = "StyledListSeparator";
|
|
1095
1091
|
|
|
1096
|
-
var _excluded$
|
|
1092
|
+
var _excluded$11 = ["children", "className"];
|
|
1097
1093
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1098
1094
|
var children = _ref.children,
|
|
1099
1095
|
className = _ref.className,
|
|
1100
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1096
|
+
props = _objectWithoutProperties(_ref, _excluded$11);
|
|
1101
1097
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({
|
|
1102
1098
|
className: classNames__default["default"]("c-list-item", className),
|
|
1103
1099
|
ref: ref,
|
|
@@ -1106,21 +1102,21 @@
|
|
|
1106
1102
|
});
|
|
1107
1103
|
ListItem.displayName = "ListItem";
|
|
1108
1104
|
|
|
1109
|
-
var _excluded
|
|
1105
|
+
var _excluded$10 = ["className"];
|
|
1110
1106
|
var ListSeparator = function ListSeparator(_ref) {
|
|
1111
1107
|
var className = _ref.className,
|
|
1112
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
1108
|
+
props = _objectWithoutProperties(_ref, _excluded$10);
|
|
1113
1109
|
return /*#__PURE__*/React__default["default"].createElement(StyledListSeparator, _extends({
|
|
1114
1110
|
className: classNames__default["default"]("c-list-separator", className)
|
|
1115
1111
|
}, props));
|
|
1116
1112
|
};
|
|
1117
1113
|
ListSeparator.displayName = "ListSeparator";
|
|
1118
1114
|
|
|
1119
|
-
var _excluded
|
|
1115
|
+
var _excluded$$ = ["children", "className"];
|
|
1120
1116
|
var _List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1121
1117
|
var children = _ref.children,
|
|
1122
1118
|
className = _ref.className,
|
|
1123
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
1119
|
+
props = _objectWithoutProperties(_ref, _excluded$$);
|
|
1124
1120
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({
|
|
1125
1121
|
className: className,
|
|
1126
1122
|
ref: ref,
|
|
@@ -3896,14 +3892,14 @@
|
|
|
3896
3892
|
});
|
|
3897
3893
|
StyledBreadcrumbListItem.displayName = "StyledBreadcrumbListItem";
|
|
3898
3894
|
|
|
3899
|
-
var _excluded$
|
|
3895
|
+
var _excluded$_ = ["children", "className", "separator"];
|
|
3900
3896
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
3901
3897
|
var _dimensions$width, _childDimensions$widt;
|
|
3902
3898
|
var children = _ref.children,
|
|
3903
3899
|
className = _ref.className,
|
|
3904
3900
|
_ref$separator = _ref.separator,
|
|
3905
3901
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
3906
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3902
|
+
rest = _objectWithoutProperties(_ref, _excluded$_);
|
|
3907
3903
|
var internalRef = React.useRef(null);
|
|
3908
3904
|
var listWrapperRef = React.useRef(null);
|
|
3909
3905
|
var olRef = React.useRef(null);
|
|
@@ -4070,10 +4066,10 @@
|
|
|
4070
4066
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
4071
4067
|
});
|
|
4072
4068
|
|
|
4073
|
-
var _excluded$
|
|
4069
|
+
var _excluded$Z = ["children"];
|
|
4074
4070
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
4075
4071
|
var children = _ref.children,
|
|
4076
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4072
|
+
props = _objectWithoutProperties(_ref, _excluded$Z);
|
|
4077
4073
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
4078
4074
|
timeout: 0
|
|
4079
4075
|
}, props), children);
|
|
@@ -4148,12 +4144,12 @@
|
|
|
4148
4144
|
});
|
|
4149
4145
|
Tooltip.displayName = "Tooltip";
|
|
4150
4146
|
|
|
4151
|
-
var _excluded$
|
|
4147
|
+
var _excluded$Y = ["weight", "children"];
|
|
4152
4148
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4153
4149
|
var _ref$weight = _ref.weight,
|
|
4154
4150
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
4155
4151
|
children = _ref.children,
|
|
4156
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4152
|
+
props = _objectWithoutProperties(_ref, _excluded$Y);
|
|
4157
4153
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
4158
4154
|
variant: "Body 2",
|
|
4159
4155
|
weight: weight,
|
|
@@ -4200,7 +4196,7 @@
|
|
|
4200
4196
|
});
|
|
4201
4197
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
4202
4198
|
|
|
4203
|
-
var _excluded$
|
|
4199
|
+
var _excluded$X = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
|
|
4204
4200
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4205
4201
|
var label = _ref.label,
|
|
4206
4202
|
icon = _ref.icon,
|
|
@@ -4210,7 +4206,7 @@
|
|
|
4210
4206
|
tooltipText = _ref.tooltipText,
|
|
4211
4207
|
onClearAll = _ref.onClearAll,
|
|
4212
4208
|
className = _ref.className,
|
|
4213
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
4209
|
+
args = _objectWithoutProperties(_ref, _excluded$X);
|
|
4214
4210
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
4215
4211
|
ref: ref,
|
|
4216
4212
|
className: className
|
|
@@ -4519,7 +4515,7 @@
|
|
|
4519
4515
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
4520
4516
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
4521
4517
|
|
|
4522
|
-
var _excluded$
|
|
4518
|
+
var _excluded$W = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
4523
4519
|
var DatePicker = function DatePicker(_ref) {
|
|
4524
4520
|
var className = _ref.className,
|
|
4525
4521
|
onChange = _ref.onChange,
|
|
@@ -4541,7 +4537,7 @@
|
|
|
4541
4537
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
4542
4538
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
4543
4539
|
defaultModifiers = _ref.modifiers,
|
|
4544
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4540
|
+
rest = _objectWithoutProperties(_ref, _excluded$W);
|
|
4545
4541
|
var _useState = React.useState(),
|
|
4546
4542
|
_useState2 = _slicedToArray(_useState, 2),
|
|
4547
4543
|
enteredTo = _useState2[0],
|
|
@@ -5422,10 +5418,10 @@
|
|
|
5422
5418
|
componentId: "sc-x4ge7a-0"
|
|
5423
5419
|
})(["width:70%;background:linear-gradient( 90deg,rgba(255,255,255,0) 20%,rgba(0,0,0,0.05) 50%,rgba(255,255,255,0) 60% );background-size:400%;height:16px;border-radius:8px;.neon &{background:linear-gradient( 90deg,rgba(255,255,255,0) 20%,rgba(0,0,0,0.2) 50%,rgba(255,255,255,0) 60% );background-size:500%;}animation-duration:1s;animation-iteration-count:infinite;animation-name:", ";animation-timing-function:linear;animation-direction:reverse;"], linearAnimation);
|
|
5424
5420
|
|
|
5425
|
-
var _excluded$
|
|
5421
|
+
var _excluded$V = ["className"];
|
|
5426
5422
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5427
5423
|
var className = _ref.className,
|
|
5428
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5424
|
+
rest = _objectWithoutProperties(_ref, _excluded$V);
|
|
5429
5425
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
5430
5426
|
ref: ref,
|
|
5431
5427
|
className: classNames__default["default"]("c-loader c-loader--linear", className)
|
|
@@ -5439,10 +5435,10 @@
|
|
|
5439
5435
|
componentId: "sc-1f35d5h-0"
|
|
5440
5436
|
})(["display:inline-block;text-align:center;& > span{display:inline-block;width:18px;height:18px;background-color:#777;border-radius:100%;animation:", " 1.4s infinite ease-in-out both;}span:nth-child(1){animation-delay:-0.32s;}span:nth-child(2){animation-delay:-0.16s;}"], dotAnimation);
|
|
5441
5437
|
|
|
5442
|
-
var _excluded$
|
|
5438
|
+
var _excluded$U = ["className"];
|
|
5443
5439
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5444
5440
|
var className = _ref.className,
|
|
5445
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5441
|
+
rest = _objectWithoutProperties(_ref, _excluded$U);
|
|
5446
5442
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
5447
5443
|
ref: ref,
|
|
5448
5444
|
className: classNames__default["default"]("c-loader c-loader--dots", className)
|
|
@@ -5464,7 +5460,7 @@
|
|
|
5464
5460
|
return props.$activeColorPercentage === "75%" && styled.css(["border-right:", "px solid ", ";border-bottom:", "px solid ", ";border-left:", "px solid ", ";border-top:", "px solid ", ";"], props.$stroke, props.$activeStrokeColor, props.$stroke, props.$activeStrokeColor, props.$stroke, props.$inactiveStrokeColor, props.$stroke, props.$activeStrokeColor);
|
|
5465
5461
|
});
|
|
5466
5462
|
|
|
5467
|
-
var _excluded$
|
|
5463
|
+
var _excluded$T = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
5468
5464
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5469
5465
|
var _ref$radius = _ref.radius,
|
|
5470
5466
|
radius = _ref$radius === void 0 ? 10 : _ref$radius,
|
|
@@ -5479,7 +5475,7 @@
|
|
|
5479
5475
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
5480
5476
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
5481
5477
|
className = _ref.className,
|
|
5482
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5478
|
+
rest = _objectWithoutProperties(_ref, _excluded$T);
|
|
5483
5479
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader, _extends({
|
|
5484
5480
|
ref: ref,
|
|
5485
5481
|
className: className,
|
|
@@ -5493,7 +5489,7 @@
|
|
|
5493
5489
|
});
|
|
5494
5490
|
SpinnerLoader.displayName = "SpinnerLoader";
|
|
5495
5491
|
|
|
5496
|
-
var _excluded$
|
|
5492
|
+
var _excluded$S = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
|
|
5497
5493
|
exports.SortDirection = void 0;
|
|
5498
5494
|
(function (SortDirection) {
|
|
5499
5495
|
SortDirection["None"] = "none";
|
|
@@ -5541,7 +5537,7 @@
|
|
|
5541
5537
|
loading = _ref.loading,
|
|
5542
5538
|
_ref$loadingRows = _ref.loadingRows,
|
|
5543
5539
|
loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
|
|
5544
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
5540
|
+
args = _objectWithoutProperties(_ref, _excluded$S);
|
|
5545
5541
|
var _useState = React.useState(sortDirection),
|
|
5546
5542
|
_useState2 = _slicedToArray(_useState, 2),
|
|
5547
5543
|
columnDirection = _useState2[0],
|
|
@@ -5943,7 +5939,7 @@
|
|
|
5943
5939
|
});
|
|
5944
5940
|
StyledPaper.displayName = "StyledPaper";
|
|
5945
5941
|
|
|
5946
|
-
var _excluded$
|
|
5942
|
+
var _excluded$R = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
5947
5943
|
/**
|
|
5948
5944
|
* This is a component description and should sit directly above your component
|
|
5949
5945
|
*/
|
|
@@ -5956,7 +5952,7 @@
|
|
|
5956
5952
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
5957
5953
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
5958
5954
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
5959
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5955
|
+
rest = _objectWithoutProperties(_ref, _excluded$R);
|
|
5960
5956
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
5961
5957
|
className: classNames__default["default"](className, {
|
|
5962
5958
|
"ac-shadow--raised--lg": !useOptimizedShadow && hover && type === "paper-1",
|
|
@@ -6009,7 +6005,7 @@
|
|
|
6009
6005
|
});
|
|
6010
6006
|
StyledCard.displayName = "StyledCard";
|
|
6011
6007
|
|
|
6012
|
-
var _excluded$
|
|
6008
|
+
var _excluded$Q = ["children", "className", "hoverable", "paperType"];
|
|
6013
6009
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6014
6010
|
var children = _ref.children,
|
|
6015
6011
|
className = _ref.className,
|
|
@@ -6017,7 +6013,7 @@
|
|
|
6017
6013
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
6018
6014
|
_ref$paperType = _ref.paperType,
|
|
6019
6015
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
6020
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6016
|
+
rest = _objectWithoutProperties(_ref, _excluded$Q);
|
|
6021
6017
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
6022
6018
|
type: paperType,
|
|
6023
6019
|
className: classNames__default["default"]("c-card", className),
|
|
@@ -6096,12 +6092,12 @@
|
|
|
6096
6092
|
});
|
|
6097
6093
|
EntityCard$1.displayName = "EntityCard";
|
|
6098
6094
|
|
|
6099
|
-
var _excluded$
|
|
6095
|
+
var _excluded$P = ["weight", "children"];
|
|
6100
6096
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6101
6097
|
var _ref$weight = _ref.weight,
|
|
6102
6098
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
6103
6099
|
children = _ref.children,
|
|
6104
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6100
|
+
props = _objectWithoutProperties(_ref, _excluded$P);
|
|
6105
6101
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6106
6102
|
weight: weight,
|
|
6107
6103
|
variant: "Title 1",
|
|
@@ -6110,12 +6106,12 @@
|
|
|
6110
6106
|
});
|
|
6111
6107
|
Title1.displayName = "Title1";
|
|
6112
6108
|
|
|
6113
|
-
var _excluded$
|
|
6109
|
+
var _excluded$O = ["weight", "children"];
|
|
6114
6110
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6115
6111
|
var _ref$weight = _ref.weight,
|
|
6116
6112
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
6117
6113
|
children = _ref.children,
|
|
6118
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6114
|
+
props = _objectWithoutProperties(_ref, _excluded$O);
|
|
6119
6115
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6120
6116
|
weight: weight,
|
|
6121
6117
|
variant: "Title 2",
|
|
@@ -6124,10 +6120,10 @@
|
|
|
6124
6120
|
});
|
|
6125
6121
|
Title2.displayName = "Title2";
|
|
6126
6122
|
|
|
6127
|
-
var _excluded$
|
|
6123
|
+
var _excluded$N = ["children"];
|
|
6128
6124
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6129
6125
|
var children = _ref.children,
|
|
6130
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6126
|
+
props = _objectWithoutProperties(_ref, _excluded$N);
|
|
6131
6127
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6132
6128
|
weight: "bold",
|
|
6133
6129
|
variant: "Header 2",
|
|
@@ -6136,10 +6132,10 @@
|
|
|
6136
6132
|
});
|
|
6137
6133
|
Header2.displayName = "Header2";
|
|
6138
6134
|
|
|
6139
|
-
var _excluded$
|
|
6135
|
+
var _excluded$M = ["children"];
|
|
6140
6136
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6141
6137
|
var children = _ref.children,
|
|
6142
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6138
|
+
props = _objectWithoutProperties(_ref, _excluded$M);
|
|
6143
6139
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6144
6140
|
weight: "bold",
|
|
6145
6141
|
variant: "Header 3",
|
|
@@ -6148,12 +6144,12 @@
|
|
|
6148
6144
|
});
|
|
6149
6145
|
Header3.displayName = "Header3";
|
|
6150
6146
|
|
|
6151
|
-
var _excluded$
|
|
6147
|
+
var _excluded$L = ["weight", "children"];
|
|
6152
6148
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6153
6149
|
var _ref$weight = _ref.weight,
|
|
6154
6150
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
6155
6151
|
children = _ref.children,
|
|
6156
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6152
|
+
props = _objectWithoutProperties(_ref, _excluded$L);
|
|
6157
6153
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6158
6154
|
variant: "Body 1",
|
|
6159
6155
|
weight: weight,
|
|
@@ -6162,12 +6158,12 @@
|
|
|
6162
6158
|
});
|
|
6163
6159
|
Body1.displayName = "Body1";
|
|
6164
6160
|
|
|
6165
|
-
var _excluded$
|
|
6161
|
+
var _excluded$K = ["weight", "children"];
|
|
6166
6162
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6167
6163
|
var _ref$weight = _ref.weight,
|
|
6168
6164
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
6169
6165
|
children = _ref.children,
|
|
6170
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6166
|
+
props = _objectWithoutProperties(_ref, _excluded$K);
|
|
6171
6167
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6172
6168
|
variant: "Caption 1",
|
|
6173
6169
|
weight: weight,
|
|
@@ -6176,12 +6172,12 @@
|
|
|
6176
6172
|
});
|
|
6177
6173
|
Caption1.displayName = "Caption1";
|
|
6178
6174
|
|
|
6179
|
-
var _excluded$
|
|
6175
|
+
var _excluded$J = ["weight", "children"];
|
|
6180
6176
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6181
6177
|
var _ref$weight = _ref.weight,
|
|
6182
6178
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
6183
6179
|
children = _ref.children,
|
|
6184
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6180
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
6185
6181
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6186
6182
|
variant: "Caption 2",
|
|
6187
6183
|
weight: weight,
|
|
@@ -6292,7 +6288,7 @@
|
|
|
6292
6288
|
"borderRadius": "9999px"
|
|
6293
6289
|
});
|
|
6294
6290
|
|
|
6295
|
-
var _excluded$
|
|
6291
|
+
var _excluded$I = ["url", "alt", "size", "className"];
|
|
6296
6292
|
var Avatar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6297
6293
|
var url = _ref.url,
|
|
6298
6294
|
_ref$alt = _ref.alt,
|
|
@@ -6300,7 +6296,7 @@
|
|
|
6300
6296
|
_ref$size = _ref.size,
|
|
6301
6297
|
size = _ref$size === void 0 ? 24 : _ref$size,
|
|
6302
6298
|
className = _ref.className,
|
|
6303
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6299
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
6304
6300
|
return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({}, rest, {
|
|
6305
6301
|
ref: ref,
|
|
6306
6302
|
src: url,
|
|
@@ -6321,13 +6317,13 @@
|
|
|
6321
6317
|
return props.$color && styled.css(["background-color:", ";"], props.$color);
|
|
6322
6318
|
});
|
|
6323
6319
|
|
|
6324
|
-
var _excluded$
|
|
6320
|
+
var _excluded$H = ["color", "size", "className"];
|
|
6325
6321
|
var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6326
6322
|
var color = _ref.color,
|
|
6327
6323
|
_ref$size = _ref.size,
|
|
6328
6324
|
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
6329
6325
|
className = _ref.className,
|
|
6330
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6326
|
+
rest = _objectWithoutProperties(_ref, _excluded$H);
|
|
6331
6327
|
return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
|
|
6332
6328
|
className: classNames__default["default"]("c-dot", className),
|
|
6333
6329
|
ref: ref,
|
|
@@ -6364,7 +6360,7 @@
|
|
|
6364
6360
|
});
|
|
6365
6361
|
StyledTagText.displayName = "StyledTagText";
|
|
6366
6362
|
|
|
6367
|
-
var _excluded$
|
|
6363
|
+
var _excluded$G = ["name", "color", "showText", "showDot", "className"];
|
|
6368
6364
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6369
6365
|
var name = _ref.name,
|
|
6370
6366
|
color = _ref.color,
|
|
@@ -6373,7 +6369,7 @@
|
|
|
6373
6369
|
_ref$showDot = _ref.showDot,
|
|
6374
6370
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
6375
6371
|
className = _ref.className,
|
|
6376
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6372
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
6377
6373
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
6378
6374
|
className: classNames__default["default"]("c-tag", className),
|
|
6379
6375
|
ref: ref
|
|
@@ -6493,7 +6489,7 @@
|
|
|
6493
6489
|
}, StyledInput$2, StyledLabel);
|
|
6494
6490
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
6495
6491
|
|
|
6496
|
-
var _excluded$
|
|
6492
|
+
var _excluded$F = ["className", "hover", "id"];
|
|
6497
6493
|
/**
|
|
6498
6494
|
* Checkbox component
|
|
6499
6495
|
*/
|
|
@@ -6502,7 +6498,7 @@
|
|
|
6502
6498
|
hover = _ref.hover,
|
|
6503
6499
|
_ref$id = _ref.id,
|
|
6504
6500
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
6505
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6501
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
6506
6502
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
|
|
6507
6503
|
className: classNames__default["default"]("c-checkbox", {
|
|
6508
6504
|
"c-checkbox__hover": hover,
|
|
@@ -6689,7 +6685,7 @@
|
|
|
6689
6685
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
6690
6686
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
6691
6687
|
|
|
6692
|
-
var _excluded$
|
|
6688
|
+
var _excluded$E = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
6693
6689
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6694
6690
|
var children = _ref.children,
|
|
6695
6691
|
className = _ref.className,
|
|
@@ -6703,7 +6699,7 @@
|
|
|
6703
6699
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
6704
6700
|
innerColor = _ref.innerColor,
|
|
6705
6701
|
outerColor = _ref.outerColor,
|
|
6706
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6702
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
6707
6703
|
var _useState = React.useState({
|
|
6708
6704
|
top: 0,
|
|
6709
6705
|
right: 0,
|
|
@@ -6823,7 +6819,7 @@
|
|
|
6823
6819
|
return height;
|
|
6824
6820
|
};
|
|
6825
6821
|
|
|
6826
|
-
var _excluded$
|
|
6822
|
+
var _excluded$D = ["as", "className", "invert", "style"];
|
|
6827
6823
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6828
6824
|
var _ref$as = _ref.as,
|
|
6829
6825
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -6831,7 +6827,7 @@
|
|
|
6831
6827
|
_ref$invert = _ref.invert,
|
|
6832
6828
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
6833
6829
|
style = _ref.style,
|
|
6834
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6830
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
6835
6831
|
var internalRef = useInitScrollRef(null, invert);
|
|
6836
6832
|
var handleRef = useForkRef(internalRef, ref);
|
|
6837
6833
|
var props = _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
@@ -7305,7 +7301,7 @@
|
|
|
7305
7301
|
});
|
|
7306
7302
|
StyledInput$1.displayName = "StyledInput";
|
|
7307
7303
|
|
|
7308
|
-
var _excluded$
|
|
7304
|
+
var _excluded$C = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef"];
|
|
7309
7305
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7310
7306
|
var _ref$className = _ref.className,
|
|
7311
7307
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -7321,7 +7317,7 @@
|
|
|
7321
7317
|
startAdornment = _ref.startAdornment,
|
|
7322
7318
|
endAdornment = _ref.endAdornment,
|
|
7323
7319
|
wrapRef = _ref.wrapRef,
|
|
7324
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7320
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
7325
7321
|
var intInputRef = React.useRef(null);
|
|
7326
7322
|
var handleRef = useForkRef(ref, intInputRef);
|
|
7327
7323
|
var handleWrapperClick = React.useCallback(function () {
|
|
@@ -7372,14 +7368,14 @@
|
|
|
7372
7368
|
}, StyledRadioLabel);
|
|
7373
7369
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
7374
7370
|
|
|
7375
|
-
var _excluded$
|
|
7371
|
+
var _excluded$B = ["className", "id", "hover"];
|
|
7376
7372
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7377
7373
|
var _ref$className = _ref.className,
|
|
7378
7374
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
7379
7375
|
_ref$id = _ref.id,
|
|
7380
7376
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
7381
7377
|
hover = _ref.hover,
|
|
7382
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7378
|
+
props = _objectWithoutProperties(_ref, _excluded$B);
|
|
7383
7379
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
7384
7380
|
className: classNames__default["default"]("c-radio-btn", {
|
|
7385
7381
|
"c-radio-btn__hover": hover,
|
|
@@ -7471,7 +7467,7 @@
|
|
|
7471
7467
|
};
|
|
7472
7468
|
OptionContent.displayName = "OptionContent";
|
|
7473
7469
|
|
|
7474
|
-
var _excluded$
|
|
7470
|
+
var _excluded$A = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue"];
|
|
7475
7471
|
var Select = function Select(_ref) {
|
|
7476
7472
|
var _ref$type = _ref.type,
|
|
7477
7473
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -7505,7 +7501,7 @@
|
|
|
7505
7501
|
handleDefaultOptionChange = _ref.handleDefaultOptionChange,
|
|
7506
7502
|
_ref$preselectDefault = _ref.preselectDefaultValue,
|
|
7507
7503
|
preselectDefaultValue = _ref$preselectDefault === void 0 ? type === "single" : _ref$preselectDefault,
|
|
7508
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
7504
|
+
prop = _objectWithoutProperties(_ref, _excluded$A);
|
|
7509
7505
|
var _useState = React.useState(),
|
|
7510
7506
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7511
7507
|
childNode = _useState2[0],
|
|
@@ -7749,7 +7745,7 @@
|
|
|
7749
7745
|
});
|
|
7750
7746
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
7751
7747
|
|
|
7752
|
-
var _excluded$
|
|
7748
|
+
var _excluded$z = ["children", "active", "disabled", "className", "role"];
|
|
7753
7749
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7754
7750
|
var children = _ref.children,
|
|
7755
7751
|
_ref$active = _ref.active,
|
|
@@ -7758,7 +7754,7 @@
|
|
|
7758
7754
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7759
7755
|
className = _ref.className,
|
|
7760
7756
|
role = _ref.role,
|
|
7761
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7757
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
7762
7758
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
7763
7759
|
className: classNames__default["default"]("c-nav__item", {
|
|
7764
7760
|
"c-nav__item--active": active
|
|
@@ -7799,11 +7795,11 @@
|
|
|
7799
7795
|
});
|
|
7800
7796
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
7801
7797
|
|
|
7802
|
-
var _excluded$
|
|
7798
|
+
var _excluded$y = ["expanded"];
|
|
7803
7799
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7804
7800
|
var _ref$expanded = _ref.expanded,
|
|
7805
7801
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
7806
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7802
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
7807
7803
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
7808
7804
|
ref: ref,
|
|
7809
7805
|
viewBox: "0 0 24 24",
|
|
@@ -8093,7 +8089,7 @@
|
|
|
8093
8089
|
};
|
|
8094
8090
|
Nav.displayName = "Nav";
|
|
8095
8091
|
|
|
8096
|
-
var _excluded$
|
|
8092
|
+
var _excluded$x = ["children", "as", "disablePointerEvents"];
|
|
8097
8093
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
8098
8094
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
8099
8095
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -8110,7 +8106,7 @@
|
|
|
8110
8106
|
var children = _ref.children,
|
|
8111
8107
|
as = _ref.as,
|
|
8112
8108
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
8113
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8109
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
8114
8110
|
var Component = as || "div";
|
|
8115
8111
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
8116
8112
|
as: Component,
|
|
@@ -8120,11 +8116,11 @@
|
|
|
8120
8116
|
});
|
|
8121
8117
|
InputAdornment.displayName = "InputAdornment";
|
|
8122
8118
|
|
|
8123
|
-
var _excluded$
|
|
8119
|
+
var _excluded$w = ["expanded"];
|
|
8124
8120
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8125
8121
|
var _ref$expanded = _ref.expanded,
|
|
8126
8122
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
8127
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8123
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
8128
8124
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
8129
8125
|
ref: ref,
|
|
8130
8126
|
viewBox: "0 0 24 24"
|
|
@@ -8326,14 +8322,14 @@
|
|
|
8326
8322
|
});
|
|
8327
8323
|
StyledTextarea.displayName = "StyledTextarea";
|
|
8328
8324
|
|
|
8329
|
-
var _excluded$
|
|
8325
|
+
var _excluded$v = ["className", "disabled", "invalid"];
|
|
8330
8326
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8331
8327
|
var className = _ref.className,
|
|
8332
8328
|
_ref$disabled = _ref.disabled,
|
|
8333
8329
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8334
8330
|
_ref$invalid = _ref.invalid,
|
|
8335
8331
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
8336
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8332
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
8337
8333
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
8338
8334
|
$invalid: invalid,
|
|
8339
8335
|
ref: ref,
|
|
@@ -8365,7 +8361,7 @@
|
|
|
8365
8361
|
function () {});
|
|
8366
8362
|
}
|
|
8367
8363
|
|
|
8368
|
-
var _excluded$
|
|
8364
|
+
var _excluded$u = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "disableCloseOnEsc", "open", "onClose"];
|
|
8369
8365
|
var getHasTransition = function getHasTransition(children) {
|
|
8370
8366
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
8371
8367
|
};
|
|
@@ -8384,7 +8380,7 @@
|
|
|
8384
8380
|
_ref$open = _ref.open,
|
|
8385
8381
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
8386
8382
|
onClose = _ref.onClose,
|
|
8387
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8383
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
8388
8384
|
var _useState = React.useState(defaultOpen),
|
|
8389
8385
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8390
8386
|
open = _useState2[0],
|
|
@@ -8518,7 +8514,7 @@
|
|
|
8518
8514
|
});
|
|
8519
8515
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
8520
8516
|
|
|
8521
|
-
var _excluded$
|
|
8517
|
+
var _excluded$t = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
8522
8518
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8523
8519
|
var children = _ref.children,
|
|
8524
8520
|
onClose = _ref.onClose,
|
|
@@ -8542,7 +8538,7 @@
|
|
|
8542
8538
|
bodyClassName = _ref.bodyClassName,
|
|
8543
8539
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
8544
8540
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
8545
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8541
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
8546
8542
|
var _useState = React.useState(defaultOpen),
|
|
8547
8543
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8548
8544
|
open = _useState2[0],
|
|
@@ -8633,13 +8629,13 @@
|
|
|
8633
8629
|
});
|
|
8634
8630
|
StyledHeader.displayName = "StyledHeader";
|
|
8635
8631
|
|
|
8636
|
-
var _excluded$
|
|
8632
|
+
var _excluded$s = ["className", "size", "children"];
|
|
8637
8633
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8638
8634
|
var className = _ref.className,
|
|
8639
8635
|
_ref$size = _ref.size,
|
|
8640
8636
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
8641
8637
|
children = _ref.children,
|
|
8642
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8638
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
8643
8639
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
8644
8640
|
type: "paper-2",
|
|
8645
8641
|
className: classNames__default["default"]("c-header", className),
|
|
@@ -8655,7 +8651,7 @@
|
|
|
8655
8651
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
8656
8652
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
8657
8653
|
|
|
8658
|
-
var _excluded$
|
|
8654
|
+
var _excluded$r = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
8659
8655
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8660
8656
|
var _ref$minRows = _ref.minRows,
|
|
8661
8657
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -8671,7 +8667,7 @@
|
|
|
8671
8667
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
8672
8668
|
onKeyDown = _ref.onKeyDown,
|
|
8673
8669
|
value = _ref.value,
|
|
8674
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8670
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
8675
8671
|
var innerRef = React.useRef(null);
|
|
8676
8672
|
var _useState = React.useState(minRows),
|
|
8677
8673
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8947,7 +8943,7 @@
|
|
|
8947
8943
|
});
|
|
8948
8944
|
StyledChoose.displayName = "StyledChoose";
|
|
8949
8945
|
|
|
8950
|
-
var _excluded$
|
|
8946
|
+
var _excluded$q = ["children", "disabled", "active", "className"];
|
|
8951
8947
|
/**
|
|
8952
8948
|
* Choose component
|
|
8953
8949
|
*/
|
|
@@ -8958,7 +8954,7 @@
|
|
|
8958
8954
|
_ref$active = _ref.active,
|
|
8959
8955
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
8960
8956
|
className = _ref.className,
|
|
8961
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8957
|
+
args = _objectWithoutProperties(_ref, _excluded$q);
|
|
8962
8958
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
8963
8959
|
disabled: disabled,
|
|
8964
8960
|
className: classNames__default["default"]("c-choose", className),
|
|
@@ -9050,21 +9046,21 @@
|
|
|
9050
9046
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
9051
9047
|
StyledLink.displayName = "StyledLink";
|
|
9052
9048
|
|
|
9053
|
-
var _excluded$
|
|
9049
|
+
var _excluded$p = ["children", "className"];
|
|
9054
9050
|
/**
|
|
9055
9051
|
* Back link component
|
|
9056
9052
|
*/
|
|
9057
9053
|
var BackLink = function BackLink(_ref) {
|
|
9058
9054
|
var children = _ref.children,
|
|
9059
9055
|
className = _ref.className,
|
|
9060
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9056
|
+
args = _objectWithoutProperties(_ref, _excluded$p);
|
|
9061
9057
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
9062
9058
|
className: classNames__default["default"]("c-back-link", className)
|
|
9063
9059
|
}, args), children);
|
|
9064
9060
|
};
|
|
9065
9061
|
BackLink.displayName = "BackLink";
|
|
9066
9062
|
|
|
9067
|
-
var _excluded$
|
|
9063
|
+
var _excluded$o = ["as", "children", "variant", "size", "disabled", "className"];
|
|
9068
9064
|
/**
|
|
9069
9065
|
* Link component
|
|
9070
9066
|
*/
|
|
@@ -9077,7 +9073,7 @@
|
|
|
9077
9073
|
_ref$disabled = _ref.disabled,
|
|
9078
9074
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
9079
9075
|
className = _ref.className,
|
|
9080
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9076
|
+
args = _objectWithoutProperties(_ref, _excluded$o);
|
|
9081
9077
|
var Component = as || "a";
|
|
9082
9078
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
9083
9079
|
ref: ref,
|
|
@@ -9188,7 +9184,7 @@
|
|
|
9188
9184
|
})(["padding:20px 30px;", " ", ""], FontStyle, BoxSizingStyle);
|
|
9189
9185
|
StyledDialogActions.displayName = "StyledDialogActions";
|
|
9190
9186
|
|
|
9191
|
-
var _excluded$
|
|
9187
|
+
var _excluded$n = ["children", "className", "disableDefaultHeading"];
|
|
9192
9188
|
// import { useDialogContext } from "./DialogContext";
|
|
9193
9189
|
|
|
9194
9190
|
var DialogTitle = function DialogTitle(_ref) {
|
|
@@ -9196,7 +9192,7 @@
|
|
|
9196
9192
|
className = _ref.className,
|
|
9197
9193
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
9198
9194
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
9199
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9195
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
9200
9196
|
// useDialogContext();
|
|
9201
9197
|
|
|
9202
9198
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
@@ -9205,13 +9201,13 @@
|
|
|
9205
9201
|
};
|
|
9206
9202
|
DialogTitle.displayName = "DialogTitle";
|
|
9207
9203
|
|
|
9208
|
-
var _excluded$
|
|
9204
|
+
var _excluded$m = ["className", "children"];
|
|
9209
9205
|
// import { useDialogContext } from "./DialogContext";
|
|
9210
9206
|
|
|
9211
9207
|
var DialogContent = function DialogContent(_ref) {
|
|
9212
9208
|
var className = _ref.className,
|
|
9213
9209
|
children = _ref.children,
|
|
9214
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9210
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
9215
9211
|
// useDialogContext();
|
|
9216
9212
|
|
|
9217
9213
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
@@ -9232,13 +9228,13 @@
|
|
|
9232
9228
|
};
|
|
9233
9229
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
9234
9230
|
|
|
9235
|
-
var _excluded$
|
|
9231
|
+
var _excluded$l = ["className", "children"];
|
|
9236
9232
|
// import { useDialogContext } from "./DialogContext";
|
|
9237
9233
|
|
|
9238
9234
|
var DialogActions = function DialogActions(_ref) {
|
|
9239
9235
|
var className = _ref.className,
|
|
9240
9236
|
children = _ref.children,
|
|
9241
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9237
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
9242
9238
|
// useDialogContext();
|
|
9243
9239
|
|
|
9244
9240
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
@@ -9492,7 +9488,7 @@
|
|
|
9492
9488
|
});
|
|
9493
9489
|
StyledPressed.displayName = "StyledPressed";
|
|
9494
9490
|
|
|
9495
|
-
var _excluded$
|
|
9491
|
+
var _excluded$k = ["children", "active", "className"];
|
|
9496
9492
|
/**
|
|
9497
9493
|
* Pressed wrapper for button component
|
|
9498
9494
|
*/
|
|
@@ -9501,7 +9497,7 @@
|
|
|
9501
9497
|
_ref$active = _ref.active,
|
|
9502
9498
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
9503
9499
|
className = _ref.className,
|
|
9504
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9500
|
+
args = _objectWithoutProperties(_ref, _excluded$k);
|
|
9505
9501
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
9506
9502
|
active: active,
|
|
9507
9503
|
ref: ref,
|
|
@@ -9954,7 +9950,7 @@
|
|
|
9954
9950
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
9955
9951
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
9956
9952
|
|
|
9957
|
-
var _excluded$
|
|
9953
|
+
var _excluded$j = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
9958
9954
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9959
9955
|
var text = _ref.text,
|
|
9960
9956
|
type = _ref.type,
|
|
@@ -9965,7 +9961,7 @@
|
|
|
9965
9961
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
9966
9962
|
_ref$timeout = _ref.timeout,
|
|
9967
9963
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
9968
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9964
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
9969
9965
|
var handleOnClose = React.useCallback(function () {
|
|
9970
9966
|
if (typeof onClose === "function") {
|
|
9971
9967
|
onClose();
|
|
@@ -9989,7 +9985,7 @@
|
|
|
9989
9985
|
});
|
|
9990
9986
|
ToastMessage.displayName = "ToastMessage";
|
|
9991
9987
|
|
|
9992
|
-
var _excluded$
|
|
9988
|
+
var _excluded$i = ["in", "children", "style", "timeout"];
|
|
9993
9989
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
9994
9990
|
return {
|
|
9995
9991
|
transition: "all ".concat(duration, "ms ease-in-out"),
|
|
@@ -10017,7 +10013,7 @@
|
|
|
10017
10013
|
style = _ref.style,
|
|
10018
10014
|
_ref$timeout = _ref.timeout,
|
|
10019
10015
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
10020
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10016
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
10021
10017
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10022
10018
|
appear: true,
|
|
10023
10019
|
in: inProp,
|
|
@@ -10032,7 +10028,7 @@
|
|
|
10032
10028
|
};
|
|
10033
10029
|
Fade.displayName = "Fade";
|
|
10034
10030
|
|
|
10035
|
-
var _excluded$
|
|
10031
|
+
var _excluded$h = ["in", "children", "style", "timeout", "initialDirection"];
|
|
10036
10032
|
var Slide = function Slide(_ref) {
|
|
10037
10033
|
var _ref$in = _ref.in,
|
|
10038
10034
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -10042,7 +10038,7 @@
|
|
|
10042
10038
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
10043
10039
|
_ref$initialDirection = _ref.initialDirection,
|
|
10044
10040
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
10045
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10041
|
+
rest = _objectWithoutProperties(_ref, _excluded$h);
|
|
10046
10042
|
var directionSign;
|
|
10047
10043
|
switch (initialDirection) {
|
|
10048
10044
|
case "right":
|
|
@@ -10095,12 +10091,12 @@
|
|
|
10095
10091
|
return props.$direction === "right" && styled.css(["&.c-slide-enter{position:absolute;transform:translateX(-100%);}&.c-slide-enter-active{transform:translateX(0%);transition:all 200ms ease;}&.c-slide-exit{position:absolute;}&.c-slide-exit-active{transform:translateX(100%);transition:all 200ms ease;}"]);
|
|
10096
10092
|
});
|
|
10097
10093
|
|
|
10098
|
-
var _excluded$
|
|
10094
|
+
var _excluded$g = ["children", "direction"];
|
|
10099
10095
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
10100
10096
|
var children = _ref.children,
|
|
10101
10097
|
_ref$direction = _ref.direction,
|
|
10102
10098
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
10103
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10099
|
+
props = _objectWithoutProperties(_ref, _excluded$g);
|
|
10104
10100
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
10105
10101
|
timeout: 200,
|
|
10106
10102
|
classNames: "c-slide",
|
|
@@ -10143,7 +10139,7 @@
|
|
|
10143
10139
|
};
|
|
10144
10140
|
ResizeTransition.displayName = "ResizeTransition";
|
|
10145
10141
|
|
|
10146
|
-
var _excluded$
|
|
10142
|
+
var _excluded$f = ["in", "children", "style", "timeout"];
|
|
10147
10143
|
var defaultStyle = function defaultStyle(duration) {
|
|
10148
10144
|
return {
|
|
10149
10145
|
transition: "all ".concat(duration, "ms ease-in"),
|
|
@@ -10177,7 +10173,7 @@
|
|
|
10177
10173
|
style = _ref.style,
|
|
10178
10174
|
_ref$timeout = _ref.timeout,
|
|
10179
10175
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
10180
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10176
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
10181
10177
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10182
10178
|
appear: true,
|
|
10183
10179
|
in: inProp,
|
|
@@ -10251,7 +10247,7 @@
|
|
|
10251
10247
|
});
|
|
10252
10248
|
StyledValueButton.displayName = "StyledValueButton";
|
|
10253
10249
|
|
|
10254
|
-
var _excluded$
|
|
10250
|
+
var _excluded$e = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
10255
10251
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10256
10252
|
var _ref$active = _ref.active,
|
|
10257
10253
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -10260,7 +10256,7 @@
|
|
|
10260
10256
|
icon = _ref.icon,
|
|
10261
10257
|
label = _ref.label,
|
|
10262
10258
|
value = _ref.value,
|
|
10263
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10259
|
+
args = _objectWithoutProperties(_ref, _excluded$e);
|
|
10264
10260
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
10265
10261
|
className: "c-value-button"
|
|
10266
10262
|
}, args, {
|
|
@@ -10289,12 +10285,12 @@
|
|
|
10289
10285
|
})(["border:none;margin:0;padding:0;width:auto;overflow:visible;cursor:pointer;background:transparent;outline:none;color:inherit;font:inherit;line-height:inherit;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;&::-moz-focus-inner{border:0;padding:0;}"]);
|
|
10290
10286
|
StyledButton.displayName = "StyledButton";
|
|
10291
10287
|
|
|
10292
|
-
var _excluded$
|
|
10288
|
+
var _excluded$d = ["children", "type"];
|
|
10293
10289
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10294
10290
|
var children = _ref.children,
|
|
10295
10291
|
_ref$type = _ref.type,
|
|
10296
10292
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
10297
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10293
|
+
rest = _objectWithoutProperties(_ref, _excluded$d);
|
|
10298
10294
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
10299
10295
|
ref: ref,
|
|
10300
10296
|
role: "button",
|
|
@@ -10340,7 +10336,7 @@
|
|
|
10340
10336
|
});
|
|
10341
10337
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
10342
10338
|
|
|
10343
|
-
var _excluded$
|
|
10339
|
+
var _excluded$c = ["children", "type", "size", "invalid", "open", "endAdornment"];
|
|
10344
10340
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10345
10341
|
var children = _ref.children,
|
|
10346
10342
|
_ref$type = _ref.type,
|
|
@@ -10352,7 +10348,7 @@
|
|
|
10352
10348
|
_ref$open = _ref.open,
|
|
10353
10349
|
open = _ref$open === void 0 ? false : _ref$open,
|
|
10354
10350
|
endAdornment = _ref.endAdornment,
|
|
10355
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10351
|
+
rest = _objectWithoutProperties(_ref, _excluded$c);
|
|
10356
10352
|
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
10357
10353
|
ref: ref,
|
|
10358
10354
|
role: "button",
|
|
@@ -10399,11 +10395,11 @@
|
|
|
10399
10395
|
});
|
|
10400
10396
|
StyledToggle.displayName = "StyledToggle";
|
|
10401
10397
|
|
|
10402
|
-
var _excluded$
|
|
10398
|
+
var _excluded$b = ["hovered", "className"];
|
|
10403
10399
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10404
10400
|
var hovered = _ref.hovered,
|
|
10405
10401
|
className = _ref.className,
|
|
10406
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10402
|
+
args = _objectWithoutProperties(_ref, _excluded$b);
|
|
10407
10403
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
10408
10404
|
className: classNames__default["default"]("c-toggle", className),
|
|
10409
10405
|
$isHovered: hovered,
|
|
@@ -10556,7 +10552,7 @@
|
|
|
10556
10552
|
});
|
|
10557
10553
|
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
10558
10554
|
|
|
10559
|
-
var _excluded$
|
|
10555
|
+
var _excluded$a = ["leftAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "variant", "typographyProps"];
|
|
10560
10556
|
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
10561
10557
|
var leftAdornment = _ref.leftAdornment,
|
|
10562
10558
|
label = _ref.label,
|
|
@@ -10568,7 +10564,7 @@
|
|
|
10568
10564
|
closeClassName = _ref.closeClassName,
|
|
10569
10565
|
variant = _ref.variant,
|
|
10570
10566
|
typographyProps = _ref.typographyProps,
|
|
10571
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10567
|
+
rest = _objectWithoutProperties(_ref, _excluded$a);
|
|
10572
10568
|
var showClose = typeof onClose === "function";
|
|
10573
10569
|
var _variant = React.useMemo(function () {
|
|
10574
10570
|
if (typeof variant !== "undefined") {
|
|
@@ -10635,7 +10631,7 @@
|
|
|
10635
10631
|
return condition ? wrap(children) : children;
|
|
10636
10632
|
};
|
|
10637
10633
|
|
|
10638
|
-
var _excluded$
|
|
10634
|
+
var _excluded$9 = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid", "type", "renderChip", "forceCloseMenu", "renderOption", "limitChips", "hiddenNumberText", "inPortal", "inputWrapperClassName", "scrollWrapper"];
|
|
10639
10635
|
var ComboBox = function ComboBox(_ref) {
|
|
10640
10636
|
var _comboBoxRef$current2, _comboBoxRef$current3;
|
|
10641
10637
|
var _ref$options = _ref.options,
|
|
@@ -10666,7 +10662,7 @@
|
|
|
10666
10662
|
inPortal = _ref$inPortal === void 0 ? false : _ref$inPortal,
|
|
10667
10663
|
inputWrapperClassName = _ref.inputWrapperClassName,
|
|
10668
10664
|
scrollWrapper = _ref.scrollWrapper,
|
|
10669
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
10665
|
+
prop = _objectWithoutProperties(_ref, _excluded$9);
|
|
10670
10666
|
var selectedName = React.useMemo(function () {
|
|
10671
10667
|
var value = "";
|
|
10672
10668
|
if (!selected) {
|
|
@@ -11019,11 +11015,11 @@
|
|
|
11019
11015
|
})(["display:flex;justify-content:center;gap:12px;align-items:center;height:32px;padding:4px 16px 4px 4px;position:relative;background:none;border:none;cursor:pointer;&:before{content:\"\";display:block;height:2px;width:0%;position:absolute;left:16px;background:var(--color-primary);transition:ease 0.3s all;border-radius:30px;opacity:0;}&:hover{", "{color:var(--page-paper-main);}&:before{height:32px;width:100%;left:0;opacity:1;}", "{fill:var(--page-paper-main);transform:rotate(90deg);transition:ease 0.3s;}}"], StyledText, StyledAddCrossIcon);
|
|
11020
11016
|
StyledAddToListButton.displayName = "StyledAddToListButton";
|
|
11021
11017
|
|
|
11022
|
-
var _excluded$
|
|
11018
|
+
var _excluded$8 = ["text", "className"];
|
|
11023
11019
|
var AddToListButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11024
11020
|
var text = _ref.text,
|
|
11025
11021
|
className = _ref.className,
|
|
11026
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11022
|
+
rest = _objectWithoutProperties(_ref, _excluded$8);
|
|
11027
11023
|
return /*#__PURE__*/React__default["default"].createElement(StyledAddToListButton, _extends({
|
|
11028
11024
|
ref: ref,
|
|
11029
11025
|
className: classNames__default["default"]("c--add-to-list-btn", className)
|
|
@@ -11419,7 +11415,7 @@
|
|
|
11419
11415
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
11420
11416
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
11421
11417
|
|
|
11422
|
-
var _excluded$
|
|
11418
|
+
var _excluded$7 = ["invalid", "required", "size", "children", "className", "weight"];
|
|
11423
11419
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11424
11420
|
var _ref$invalid = _ref.invalid,
|
|
11425
11421
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -11431,7 +11427,7 @@
|
|
|
11431
11427
|
className = _ref.className,
|
|
11432
11428
|
_ref$weight = _ref.weight,
|
|
11433
11429
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
11434
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11430
|
+
props = _objectWithoutProperties(_ref, _excluded$7);
|
|
11435
11431
|
var color = invalid ? "alert" : "primary";
|
|
11436
11432
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
11437
11433
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
@@ -11589,7 +11585,7 @@
|
|
|
11589
11585
|
});
|
|
11590
11586
|
StyledInput.displayName = "StyledInput";
|
|
11591
11587
|
|
|
11592
|
-
var _excluded$
|
|
11588
|
+
var _excluded$6 = ["className", "variant", "weight", "disabled", "inputProps", "wrapRef"];
|
|
11593
11589
|
var EditableContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11594
11590
|
var className = _ref.className,
|
|
11595
11591
|
_ref$variant = _ref.variant,
|
|
@@ -11599,7 +11595,7 @@
|
|
|
11599
11595
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11600
11596
|
inputProps = _ref.inputProps,
|
|
11601
11597
|
wrapRef = _ref.wrapRef,
|
|
11602
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11598
|
+
props = _objectWithoutProperties(_ref, _excluded$6);
|
|
11603
11599
|
var intInputRef = React.useRef(null);
|
|
11604
11600
|
var handleRef = useForkRef(ref, intInputRef);
|
|
11605
11601
|
var handleBlur = React.useCallback(function (evt) {
|
|
@@ -11628,13 +11624,13 @@
|
|
|
11628
11624
|
});
|
|
11629
11625
|
EditableContent.displayName = "EditableContent";
|
|
11630
11626
|
|
|
11631
|
-
var _excluded$
|
|
11627
|
+
var _excluded$5 = ["onSave", "onCancel", "value", "inputProps"];
|
|
11632
11628
|
var EditableText = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11633
11629
|
var onSave = _ref.onSave,
|
|
11634
11630
|
onCancel = _ref.onCancel,
|
|
11635
11631
|
value = _ref.value,
|
|
11636
11632
|
inputProps = _ref.inputProps,
|
|
11637
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11633
|
+
props = _objectWithoutProperties(_ref, _excluded$5);
|
|
11638
11634
|
var _useState = React.useState(value),
|
|
11639
11635
|
_useState2 = _slicedToArray(_useState, 2),
|
|
11640
11636
|
currentValue = _useState2[0],
|
|
@@ -11692,11 +11688,11 @@
|
|
|
11692
11688
|
});
|
|
11693
11689
|
EditableText.displayName = "EditableText";
|
|
11694
11690
|
|
|
11695
|
-
var _excluded$
|
|
11691
|
+
var _excluded$4 = ["withDocuments"];
|
|
11696
11692
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
11697
11693
|
var _ref$withDocuments = _ref.withDocuments,
|
|
11698
11694
|
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
11699
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11695
|
+
props = _objectWithoutProperties(_ref, _excluded$4);
|
|
11700
11696
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
11701
11697
|
width: 100,
|
|
11702
11698
|
height: 100,
|
|
@@ -11839,7 +11835,7 @@
|
|
|
11839
11835
|
return $renderAs === "list" && styled.css(["justify-self:flex-end;"]);
|
|
11840
11836
|
});
|
|
11841
11837
|
|
|
11842
|
-
var _excluded$
|
|
11838
|
+
var _excluded$3 = ["children", "gap", "renderAs"];
|
|
11843
11839
|
var EntityGroupContext = /*#__PURE__*/React__default["default"].createContext({
|
|
11844
11840
|
renderAs: "grid"
|
|
11845
11841
|
});
|
|
@@ -11848,7 +11844,7 @@
|
|
|
11848
11844
|
gap = _ref.gap,
|
|
11849
11845
|
_ref$renderAs = _ref.renderAs,
|
|
11850
11846
|
renderAs = _ref$renderAs === void 0 ? "grid" : _ref$renderAs,
|
|
11851
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11847
|
+
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
11852
11848
|
return /*#__PURE__*/React__default["default"].createElement(EntityGroupContext.Provider, {
|
|
11853
11849
|
value: {
|
|
11854
11850
|
renderAs: renderAs
|
|
@@ -11860,14 +11856,14 @@
|
|
|
11860
11856
|
};
|
|
11861
11857
|
EntityGroup.displayName = "EntityGroup";
|
|
11862
11858
|
|
|
11863
|
-
var _excluded$
|
|
11859
|
+
var _excluded$2 = ["children", "isCollection", "background", "className", "as"];
|
|
11864
11860
|
var EntityCard = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11865
11861
|
var children = _ref.children,
|
|
11866
11862
|
isCollection = _ref.isCollection,
|
|
11867
11863
|
background = _ref.background,
|
|
11868
11864
|
className = _ref.className,
|
|
11869
11865
|
as = _ref.as,
|
|
11870
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11866
|
+
rest = _objectWithoutProperties(_ref, _excluded$2);
|
|
11871
11867
|
var _useContext = React.useContext(EntityGroupContext),
|
|
11872
11868
|
renderAs = _useContext.renderAs;
|
|
11873
11869
|
var classSuffix = "c-entity-card-".concat(renderAs);
|
|
@@ -11886,13 +11882,13 @@
|
|
|
11886
11882
|
});
|
|
11887
11883
|
EntityCard.displayName = "EntityCard";
|
|
11888
11884
|
|
|
11889
|
-
var _excluded = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
11885
|
+
var _excluded$1 = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
11890
11886
|
var EntityProperty = function EntityProperty(_ref) {
|
|
11891
11887
|
var listOrder = _ref.listOrder,
|
|
11892
11888
|
listWidth = _ref.listWidth,
|
|
11893
11889
|
visibleFromBreakpoint = _ref.visibleFromBreakpoint,
|
|
11894
11890
|
className = _ref.className,
|
|
11895
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
11891
|
+
props = _objectWithoutProperties(_ref, _excluded$1);
|
|
11896
11892
|
var _useContext = React.useContext(EntityGroupContext),
|
|
11897
11893
|
renderAs = _useContext.renderAs;
|
|
11898
11894
|
var classSuffix = "c-entity-property-".concat(renderAs);
|
|
@@ -12381,6 +12377,41 @@
|
|
|
12381
12377
|
});
|
|
12382
12378
|
Wizard.displayName = "Wizard";
|
|
12383
12379
|
|
|
12380
|
+
var StyledIconButton = styled__default["default"](Button).withConfig({
|
|
12381
|
+
displayName: "Styles__StyledIconButton",
|
|
12382
|
+
componentId: "sc-1teza2f-0"
|
|
12383
|
+
})(["display:flex;justify-content:center;align-items:center;padding:0;width:32px;", " ", ""], function (_ref) {
|
|
12384
|
+
var size = _ref.size;
|
|
12385
|
+
return size === "small" && styled.css(["width:24px;"]);
|
|
12386
|
+
}, function (_ref2) {
|
|
12387
|
+
var size = _ref2.size;
|
|
12388
|
+
return size === "big" && styled.css(["width:40px;"]);
|
|
12389
|
+
});
|
|
12390
|
+
|
|
12391
|
+
var _excluded = ["children", "className", "variant", "size"];
|
|
12392
|
+
|
|
12393
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
12394
|
+
|
|
12395
|
+
var IconButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12396
|
+
var children = _ref.children,
|
|
12397
|
+
className = _ref.className,
|
|
12398
|
+
variant = _ref.variant,
|
|
12399
|
+
size = _ref.size,
|
|
12400
|
+
args = _objectWithoutProperties(_ref, _excluded);
|
|
12401
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledIconButton, _extends({
|
|
12402
|
+
className: classNames__default["default"]("c-btn--icon-only", className),
|
|
12403
|
+
variant: variant,
|
|
12404
|
+
size: size,
|
|
12405
|
+
ref: ref
|
|
12406
|
+
}, args), React.Children.map(children, function (child) {
|
|
12407
|
+
if (! /*#__PURE__*/React.isValidElement(child)) {
|
|
12408
|
+
return null;
|
|
12409
|
+
}
|
|
12410
|
+
return child;
|
|
12411
|
+
}));
|
|
12412
|
+
});
|
|
12413
|
+
IconButton.displayName = "IconButton";
|
|
12414
|
+
|
|
12384
12415
|
exports.Accordion = Accordion;
|
|
12385
12416
|
exports.AccordionContext = AccordionContext;
|
|
12386
12417
|
exports.AccordionItem = AccordionItem;
|
|
@@ -12503,6 +12534,7 @@
|
|
|
12503
12534
|
exports.Header3 = Header3;
|
|
12504
12535
|
exports.HeartIcon = HeartIcon$1;
|
|
12505
12536
|
exports.HelpIcon = HelpIcon$1;
|
|
12537
|
+
exports.IconButton = IconButton;
|
|
12506
12538
|
exports.ImageIcon = ImageIcon$1;
|
|
12507
12539
|
exports.InfoIcon = InfoIcon$1;
|
|
12508
12540
|
exports.InfoSmallIcon = InfoSmallIcon$1;
|