@activecollab/components 1.0.123 → 1.0.126
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/Input/Input.js +3 -2
- package/dist/cjs/components/Input/Input.js.map +1 -1
- 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 +13 -0
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/Input/Input.d.ts.map +1 -1
- package/dist/esm/components/Input/Input.js +3 -2
- package/dist/esm/components/Input/Input.js.map +1 -1
- 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 +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 +242 -143
- 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
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
|
|
277
277
|
var BoxSizingStyle = styled.css(["box-sizing:border-box;*{box-sizing:border-box;}"]);
|
|
278
278
|
|
|
279
|
-
var StyledButton$
|
|
279
|
+
var StyledButton$2 = styled__default["default"].button.withConfig({
|
|
280
280
|
displayName: "Styles__StyledButton",
|
|
281
281
|
componentId: "sc-vi1kcr-0"
|
|
282
282
|
})(["", " ", " -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:middle;font-weight:500;display:inline-block;line-height:1;margin:0;text-decoration:none;font-size:0.875rem;user-select:none;cursor:pointer;text-align:center;border:none;height:32px;transition:all 0.3s ease;svg{fill:currentColor;}&:focus{outline:none;}&:hover{text-decoration:none;}&:disabled{cursor:default;opacity:50%;pointer-events:none;}", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", ""], FontStyle, BoxSizingStyle, function (props) {
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
}, function (props) {
|
|
303
303
|
return (props.variant === "tertiary" || props.variant === "text colored" || props.variant === "option" || props.variant === "text gray" || props.variant === "dark transparent") && styled.css([".c-btn__elements__element:first-child svg{margin-left:-4px;}.c-btn__elements__element:last-child svg{margin-right:-4px;}", " ", ""], props.size === "small" && styled.css(["border-radius:var(--ac-br-4);"]), props.size === "big" && styled.css(["border-radius:var(--ac-br-8);"]));
|
|
304
304
|
});
|
|
305
|
-
StyledButton$
|
|
305
|
+
StyledButton$2.displayName = "StyledButton";
|
|
306
306
|
var StyledButtonElements = styled__default["default"].span.withConfig({
|
|
307
307
|
displayName: "Styles__StyledButtonElements",
|
|
308
308
|
componentId: "sc-vi1kcr-1"
|
|
@@ -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$11 = ["children", "variant", "size", "disabled", "className"];
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* Button component
|
|
@@ -328,9 +328,9 @@
|
|
|
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$11);
|
|
332
332
|
|
|
333
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledButton$
|
|
333
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
|
|
334
334
|
disabled: disabled,
|
|
335
335
|
className: classnames__default["default"]("c-btn", className, {
|
|
336
336
|
"c-btn--contained": variant === "primary" || variant === "contained",
|
|
@@ -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$10 = ["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$10);
|
|
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$$ = ["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$$);
|
|
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$Z = ["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$Z);
|
|
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$Y = ["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$Y);
|
|
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$X = ["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$X);
|
|
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$W = ["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$W);
|
|
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$V = ["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$V);
|
|
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$U = ["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$U);
|
|
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$T = ["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$T);
|
|
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$S = ["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$S);
|
|
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$R = ["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$R);
|
|
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$Q = ["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$Q);
|
|
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$P = ["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$P);
|
|
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$O = ["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$O);
|
|
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$N = ["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$N);
|
|
4310
4310
|
|
|
4311
4311
|
var _useState = React.useState(),
|
|
4312
4312
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -4636,7 +4636,7 @@
|
|
|
4636
4636
|
};
|
|
4637
4637
|
DatePicker.displayName = "DatePicker";
|
|
4638
4638
|
|
|
4639
|
-
var StyledButton = styled__default["default"].button.withConfig({
|
|
4639
|
+
var StyledButton$1 = styled__default["default"].button.withConfig({
|
|
4640
4640
|
displayName: "Styles__StyledButton",
|
|
4641
4641
|
componentId: "sc-1v8h7mt-0"
|
|
4642
4642
|
})(["", " ", " ", " color:var(--color-theme-700);margin:0;padding:0;background:none;width:100%;height:auto;border:none;height:30px;line-height:1;transition:all 0.3s ease;svg{fill:currentColor;}&::-moz-focus-inner{border:0;}&:focus{outline:none;}&:hover{text-decoration:none;}&:disabled{cursor:default;opacity:50%;pointer-events:none;}"], FontStyle, BoxSizingStyle, {
|
|
@@ -4704,7 +4704,7 @@
|
|
|
4704
4704
|
StyledSpan.displayName = "StyledSpan";
|
|
4705
4705
|
StyledDiv.displayName = "StyledDiv";
|
|
4706
4706
|
StyledMenu.displayName = "StyledMenu";
|
|
4707
|
-
StyledButton.displayName = "StyledButton";
|
|
4707
|
+
StyledButton$1.displayName = "StyledButton";
|
|
4708
4708
|
|
|
4709
4709
|
/**
|
|
4710
4710
|
* This component allow you to select date range. It accepts two parameters "from" and "to" as valid format
|
|
@@ -4960,7 +4960,7 @@
|
|
|
4960
4960
|
$isRounded: step === "custom",
|
|
4961
4961
|
style: dateStepperWidth(fromDate, toDate, step)
|
|
4962
4962
|
}, withDatePicker ? /*#__PURE__*/React__default["default"].createElement(StyledMenu, {
|
|
4963
|
-
target: /*#__PURE__*/React__default["default"].createElement(StyledButton, {
|
|
4963
|
+
target: /*#__PURE__*/React__default["default"].createElement(StyledButton$1, {
|
|
4964
4964
|
type: "button"
|
|
4965
4965
|
}, /*#__PURE__*/React__default["default"].createElement("span", null, getDateFormatted)),
|
|
4966
4966
|
open: showDatePicker,
|
|
@@ -5231,7 +5231,7 @@
|
|
|
5231
5231
|
};
|
|
5232
5232
|
Tbody.displayName = "Tbody";
|
|
5233
5233
|
|
|
5234
|
-
var _excluded$
|
|
5234
|
+
var _excluded$M = ["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$M);
|
|
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$L = ["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$L);
|
|
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$K = ["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$K);
|
|
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$J = ["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$J);
|
|
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$I = ["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$I);
|
|
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$H = ["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$H);
|
|
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$G = ["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$G);
|
|
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$F = ["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$F);
|
|
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$E = ["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$E);
|
|
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$D = ["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$D);
|
|
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$C = ["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$C);
|
|
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$B = ["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$B);
|
|
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$A = ["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$A);
|
|
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$z = ["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$z);
|
|
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$y = ["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$y);
|
|
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$x = ["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$x);
|
|
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$w = ["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$w);
|
|
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$v = ["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$v);
|
|
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$u = ["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$u);
|
|
7152
7168
|
|
|
7153
7169
|
var intInputRef = React.useRef(null);
|
|
7154
7170
|
var handleRef = useForkRef(inputRef, intInputRef);
|
|
@@ -7161,15 +7177,16 @@
|
|
|
7161
7177
|
$size: size,
|
|
7162
7178
|
$invalid: invalid,
|
|
7163
7179
|
$disabled: disabled,
|
|
7164
|
-
className: classnames__default["default"]("c-input", className),
|
|
7165
7180
|
style: style,
|
|
7181
|
+
className: classnames__default["default"]("c-input-wrapper", className),
|
|
7166
7182
|
onClick: handleWrapperClick,
|
|
7167
7183
|
ref: ref
|
|
7168
7184
|
}, startAdornment, /*#__PURE__*/React__default["default"].createElement(StyledInput, _extends({
|
|
7169
7185
|
ref: handleRef,
|
|
7170
7186
|
type: type,
|
|
7171
7187
|
$size: size,
|
|
7172
|
-
disabled: disabled
|
|
7188
|
+
disabled: disabled,
|
|
7189
|
+
className: "c-input"
|
|
7173
7190
|
}, rest)), endAdornment);
|
|
7174
7191
|
});
|
|
7175
7192
|
Input.displayName = "Input";
|
|
@@ -7200,14 +7217,14 @@
|
|
|
7200
7217
|
}, StyledRadioLabel);
|
|
7201
7218
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
7202
7219
|
|
|
7203
|
-
var _excluded$
|
|
7220
|
+
var _excluded$t = ["className", "id", "hover"];
|
|
7204
7221
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7205
7222
|
var _ref$className = _ref.className,
|
|
7206
7223
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
7207
7224
|
_ref$id = _ref.id,
|
|
7208
7225
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
7209
7226
|
hover = _ref.hover,
|
|
7210
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7227
|
+
props = _objectWithoutProperties(_ref, _excluded$t);
|
|
7211
7228
|
|
|
7212
7229
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
7213
7230
|
className: classnames__default["default"]("c-radio-btn", {
|
|
@@ -7300,7 +7317,7 @@
|
|
|
7300
7317
|
};
|
|
7301
7318
|
OptionContent.displayName = "OptionContent";
|
|
7302
7319
|
|
|
7303
|
-
var _excluded$
|
|
7320
|
+
var _excluded$s = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose"];
|
|
7304
7321
|
var Select = function Select(_ref) {
|
|
7305
7322
|
var _ref$type = _ref.type,
|
|
7306
7323
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -7330,7 +7347,7 @@
|
|
|
7330
7347
|
keepSameOptionsOrder = _ref$keepSameOptionsO === void 0 ? false : _ref$keepSameOptionsO,
|
|
7331
7348
|
onSelectOpen = _ref.onSelectOpen,
|
|
7332
7349
|
onSelectClose = _ref.onSelectClose,
|
|
7333
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
7350
|
+
prop = _objectWithoutProperties(_ref, _excluded$s);
|
|
7334
7351
|
|
|
7335
7352
|
var _useState = React.useState(),
|
|
7336
7353
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7606,7 +7623,7 @@
|
|
|
7606
7623
|
});
|
|
7607
7624
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
7608
7625
|
|
|
7609
|
-
var _excluded$
|
|
7626
|
+
var _excluded$r = ["children", "active", "disabled", "className", "role"];
|
|
7610
7627
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7611
7628
|
var children = _ref.children,
|
|
7612
7629
|
_ref$active = _ref.active,
|
|
@@ -7615,7 +7632,7 @@
|
|
|
7615
7632
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7616
7633
|
className = _ref.className,
|
|
7617
7634
|
role = _ref.role,
|
|
7618
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7635
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
7619
7636
|
|
|
7620
7637
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
7621
7638
|
className: classnames__default["default"]("c-nav__item", {
|
|
@@ -7657,11 +7674,11 @@
|
|
|
7657
7674
|
});
|
|
7658
7675
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
7659
7676
|
|
|
7660
|
-
var _excluded$
|
|
7677
|
+
var _excluded$q = ["expanded"];
|
|
7661
7678
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7662
7679
|
var _ref$expanded = _ref.expanded,
|
|
7663
7680
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
7664
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7681
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
7665
7682
|
|
|
7666
7683
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
7667
7684
|
ref: ref,
|
|
@@ -7974,7 +7991,7 @@
|
|
|
7974
7991
|
};
|
|
7975
7992
|
Nav.displayName = "Nav";
|
|
7976
7993
|
|
|
7977
|
-
var _excluded$
|
|
7994
|
+
var _excluded$p = ["children", "as", "disablePointerEvents"];
|
|
7978
7995
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
7979
7996
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
7980
7997
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -7991,7 +8008,7 @@
|
|
|
7991
8008
|
var children = _ref.children,
|
|
7992
8009
|
as = _ref.as,
|
|
7993
8010
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
7994
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8011
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
7995
8012
|
|
|
7996
8013
|
var Component = as || "div";
|
|
7997
8014
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
@@ -8002,11 +8019,11 @@
|
|
|
8002
8019
|
});
|
|
8003
8020
|
InputAdornment.displayName = "InputAdornment";
|
|
8004
8021
|
|
|
8005
|
-
var _excluded$
|
|
8022
|
+
var _excluded$o = ["expanded"];
|
|
8006
8023
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8007
8024
|
var _ref$expanded = _ref.expanded,
|
|
8008
8025
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
8009
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8026
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
8010
8027
|
|
|
8011
8028
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
8012
8029
|
ref: ref,
|
|
@@ -8213,14 +8230,14 @@
|
|
|
8213
8230
|
});
|
|
8214
8231
|
StyledTextarea.displayName = "StyledTextarea";
|
|
8215
8232
|
|
|
8216
|
-
var _excluded$
|
|
8233
|
+
var _excluded$n = ["className", "disabled", "invalid"];
|
|
8217
8234
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8218
8235
|
var className = _ref.className,
|
|
8219
8236
|
_ref$disabled = _ref.disabled,
|
|
8220
8237
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8221
8238
|
_ref$invalid = _ref.invalid,
|
|
8222
8239
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
8223
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8240
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
8224
8241
|
|
|
8225
8242
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
8226
8243
|
$invalid: invalid,
|
|
@@ -8255,7 +8272,7 @@
|
|
|
8255
8272
|
function () {});
|
|
8256
8273
|
}
|
|
8257
8274
|
|
|
8258
|
-
var _excluded$
|
|
8275
|
+
var _excluded$m = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "preventClickEventBubbling", "open", "onClose"];
|
|
8259
8276
|
|
|
8260
8277
|
var getHasTransition = function getHasTransition(children) {
|
|
8261
8278
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
@@ -8276,7 +8293,7 @@
|
|
|
8276
8293
|
_ref$open = _ref.open,
|
|
8277
8294
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
8278
8295
|
onClose = _ref.onClose,
|
|
8279
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8296
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
8280
8297
|
|
|
8281
8298
|
var _useState = React.useState(defaultOpen),
|
|
8282
8299
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8416,7 +8433,7 @@
|
|
|
8416
8433
|
});
|
|
8417
8434
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
8418
8435
|
|
|
8419
|
-
var _excluded$
|
|
8436
|
+
var _excluded$l = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick", "preventClickEventBubbling"];
|
|
8420
8437
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8421
8438
|
var children = _ref.children,
|
|
8422
8439
|
onClose = _ref.onClose,
|
|
@@ -8442,7 +8459,7 @@
|
|
|
8442
8459
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
8443
8460
|
_ref$preventClickEven = _ref.preventClickEventBubbling,
|
|
8444
8461
|
preventClickEventBubbling = _ref$preventClickEven === void 0 ? false : _ref$preventClickEven,
|
|
8445
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8462
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
8446
8463
|
|
|
8447
8464
|
var _useState = React.useState(defaultOpen),
|
|
8448
8465
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8541,13 +8558,13 @@
|
|
|
8541
8558
|
});
|
|
8542
8559
|
StyledHeader.displayName = "StyledHeader";
|
|
8543
8560
|
|
|
8544
|
-
var _excluded$
|
|
8561
|
+
var _excluded$k = ["className", "size", "children"];
|
|
8545
8562
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8546
8563
|
var className = _ref.className,
|
|
8547
8564
|
_ref$size = _ref.size,
|
|
8548
8565
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
8549
8566
|
children = _ref.children,
|
|
8550
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8567
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
8551
8568
|
|
|
8552
8569
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
8553
8570
|
type: "paper-2",
|
|
@@ -8564,7 +8581,7 @@
|
|
|
8564
8581
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
8565
8582
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
8566
8583
|
|
|
8567
|
-
var _excluded$
|
|
8584
|
+
var _excluded$j = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
8568
8585
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8569
8586
|
var _ref$minRows = _ref.minRows,
|
|
8570
8587
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -8580,7 +8597,7 @@
|
|
|
8580
8597
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
8581
8598
|
onKeyDown = _ref.onKeyDown,
|
|
8582
8599
|
value = _ref.value,
|
|
8583
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8600
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
8584
8601
|
|
|
8585
8602
|
var innerRef = React.useRef(null);
|
|
8586
8603
|
|
|
@@ -8871,7 +8888,7 @@
|
|
|
8871
8888
|
});
|
|
8872
8889
|
StyledChoose.displayName = "StyledChoose";
|
|
8873
8890
|
|
|
8874
|
-
var _excluded$
|
|
8891
|
+
var _excluded$i = ["children", "disabled", "active", "className"];
|
|
8875
8892
|
|
|
8876
8893
|
/**
|
|
8877
8894
|
* Choose component
|
|
@@ -8883,7 +8900,7 @@
|
|
|
8883
8900
|
_ref$active = _ref.active,
|
|
8884
8901
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
8885
8902
|
className = _ref.className,
|
|
8886
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8903
|
+
args = _objectWithoutProperties(_ref, _excluded$i);
|
|
8887
8904
|
|
|
8888
8905
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
8889
8906
|
disabled: disabled,
|
|
@@ -8976,7 +8993,7 @@
|
|
|
8976
8993
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
8977
8994
|
StyledLink.displayName = "StyledLink";
|
|
8978
8995
|
|
|
8979
|
-
var _excluded$
|
|
8996
|
+
var _excluded$h = ["children", "className"];
|
|
8980
8997
|
|
|
8981
8998
|
/**
|
|
8982
8999
|
* Back link component
|
|
@@ -8984,7 +9001,7 @@
|
|
|
8984
9001
|
var BackLink = function BackLink(_ref) {
|
|
8985
9002
|
var children = _ref.children,
|
|
8986
9003
|
className = _ref.className,
|
|
8987
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9004
|
+
args = _objectWithoutProperties(_ref, _excluded$h);
|
|
8988
9005
|
|
|
8989
9006
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
8990
9007
|
className: classnames__default["default"]("c-back-link", className)
|
|
@@ -8992,7 +9009,7 @@
|
|
|
8992
9009
|
};
|
|
8993
9010
|
BackLink.displayName = "BackLink";
|
|
8994
9011
|
|
|
8995
|
-
var _excluded$
|
|
9012
|
+
var _excluded$g = ["children", "variant", "size", "disabled", "className"];
|
|
8996
9013
|
|
|
8997
9014
|
/**
|
|
8998
9015
|
* Link component
|
|
@@ -9005,7 +9022,7 @@
|
|
|
9005
9022
|
_ref$disabled = _ref.disabled,
|
|
9006
9023
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
9007
9024
|
className = _ref.className,
|
|
9008
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9025
|
+
args = _objectWithoutProperties(_ref, _excluded$g);
|
|
9009
9026
|
|
|
9010
9027
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
9011
9028
|
disabled: disabled,
|
|
@@ -9137,11 +9154,11 @@
|
|
|
9137
9154
|
});
|
|
9138
9155
|
Dialog.displayName = "Dialog";
|
|
9139
9156
|
|
|
9140
|
-
var _excluded$
|
|
9157
|
+
var _excluded$f = ["className", "children"];
|
|
9141
9158
|
var DialogContent = function DialogContent(_ref) {
|
|
9142
9159
|
var className = _ref.className,
|
|
9143
9160
|
children = _ref.children,
|
|
9144
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9161
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
9145
9162
|
|
|
9146
9163
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
9147
9164
|
className: classnames__default["default"]("c-dialog-content", className)
|
|
@@ -9157,13 +9174,13 @@
|
|
|
9157
9174
|
};
|
|
9158
9175
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
9159
9176
|
|
|
9160
|
-
var _excluded$
|
|
9177
|
+
var _excluded$e = ["children", "className", "disableDefaultHeading"];
|
|
9161
9178
|
var DialogTitle = function DialogTitle(_ref) {
|
|
9162
9179
|
var children = _ref.children,
|
|
9163
9180
|
className = _ref.className,
|
|
9164
9181
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
9165
9182
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
9166
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9183
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
9167
9184
|
|
|
9168
9185
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
9169
9186
|
className: classnames__default["default"]("c-dialog-title-wrapper", className)
|
|
@@ -9171,11 +9188,11 @@
|
|
|
9171
9188
|
};
|
|
9172
9189
|
DialogTitle.displayName = "DialogTitle";
|
|
9173
9190
|
|
|
9174
|
-
var _excluded$
|
|
9191
|
+
var _excluded$d = ["className", "children"];
|
|
9175
9192
|
var DialogActions = function DialogActions(_ref) {
|
|
9176
9193
|
var className = _ref.className,
|
|
9177
9194
|
children = _ref.children,
|
|
9178
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9195
|
+
rest = _objectWithoutProperties(_ref, _excluded$d);
|
|
9179
9196
|
|
|
9180
9197
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
9181
9198
|
className: classnames__default["default"]("c-dialog-actions", className)
|
|
@@ -9385,7 +9402,7 @@
|
|
|
9385
9402
|
});
|
|
9386
9403
|
StyledPressed.displayName = "StyledPressed";
|
|
9387
9404
|
|
|
9388
|
-
var _excluded$
|
|
9405
|
+
var _excluded$c = ["children", "active", "className"];
|
|
9389
9406
|
|
|
9390
9407
|
/**
|
|
9391
9408
|
* Pressed wrapper for button component
|
|
@@ -9395,7 +9412,7 @@
|
|
|
9395
9412
|
_ref$active = _ref.active,
|
|
9396
9413
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
9397
9414
|
className = _ref.className,
|
|
9398
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9415
|
+
args = _objectWithoutProperties(_ref, _excluded$c);
|
|
9399
9416
|
|
|
9400
9417
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
9401
9418
|
active: active,
|
|
@@ -9870,7 +9887,7 @@
|
|
|
9870
9887
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
9871
9888
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
9872
9889
|
|
|
9873
|
-
var _excluded$
|
|
9890
|
+
var _excluded$b = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
9874
9891
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9875
9892
|
var text = _ref.text,
|
|
9876
9893
|
type = _ref.type,
|
|
@@ -9881,7 +9898,7 @@
|
|
|
9881
9898
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
9882
9899
|
_ref$timeout = _ref.timeout,
|
|
9883
9900
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
9884
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9901
|
+
rest = _objectWithoutProperties(_ref, _excluded$b);
|
|
9885
9902
|
|
|
9886
9903
|
var handleOnClose = React.useCallback(function () {
|
|
9887
9904
|
if (typeof onClose === "function") {
|
|
@@ -9906,7 +9923,7 @@
|
|
|
9906
9923
|
});
|
|
9907
9924
|
ToastMessage.displayName = "ToastMessage";
|
|
9908
9925
|
|
|
9909
|
-
var _excluded$
|
|
9926
|
+
var _excluded$a = ["in", "children", "style", "timeout"];
|
|
9910
9927
|
|
|
9911
9928
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
9912
9929
|
return {
|
|
@@ -9936,7 +9953,7 @@
|
|
|
9936
9953
|
style = _ref.style,
|
|
9937
9954
|
_ref$timeout = _ref.timeout,
|
|
9938
9955
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
9939
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9956
|
+
rest = _objectWithoutProperties(_ref, _excluded$a);
|
|
9940
9957
|
|
|
9941
9958
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
9942
9959
|
appear: true,
|
|
@@ -9952,7 +9969,7 @@
|
|
|
9952
9969
|
};
|
|
9953
9970
|
Fade.displayName = "Fade";
|
|
9954
9971
|
|
|
9955
|
-
var _excluded$
|
|
9972
|
+
var _excluded$9 = ["in", "children", "style", "timeout", "initialDirection"];
|
|
9956
9973
|
var Slide = function Slide(_ref) {
|
|
9957
9974
|
var _ref$in = _ref.in,
|
|
9958
9975
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -9962,7 +9979,7 @@
|
|
|
9962
9979
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
9963
9980
|
_ref$initialDirection = _ref.initialDirection,
|
|
9964
9981
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
9965
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9982
|
+
rest = _objectWithoutProperties(_ref, _excluded$9);
|
|
9966
9983
|
|
|
9967
9984
|
var directionSign;
|
|
9968
9985
|
|
|
@@ -10022,12 +10039,12 @@
|
|
|
10022
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;}"]);
|
|
10023
10040
|
});
|
|
10024
10041
|
|
|
10025
|
-
var _excluded$
|
|
10042
|
+
var _excluded$8 = ["children", "direction"];
|
|
10026
10043
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
10027
10044
|
var children = _ref.children,
|
|
10028
10045
|
_ref$direction = _ref.direction,
|
|
10029
10046
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
10030
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10047
|
+
props = _objectWithoutProperties(_ref, _excluded$8);
|
|
10031
10048
|
|
|
10032
10049
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
10033
10050
|
timeout: 200,
|
|
@@ -10071,7 +10088,7 @@
|
|
|
10071
10088
|
};
|
|
10072
10089
|
ResizeTransition.displayName = "ResizeTransition";
|
|
10073
10090
|
|
|
10074
|
-
var _excluded$
|
|
10091
|
+
var _excluded$7 = ["in", "children", "style", "timeout"];
|
|
10075
10092
|
|
|
10076
10093
|
var defaultStyle = function defaultStyle(duration) {
|
|
10077
10094
|
return {
|
|
@@ -10107,7 +10124,7 @@
|
|
|
10107
10124
|
style = _ref.style,
|
|
10108
10125
|
_ref$timeout = _ref.timeout,
|
|
10109
10126
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
10110
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10127
|
+
rest = _objectWithoutProperties(_ref, _excluded$7);
|
|
10111
10128
|
|
|
10112
10129
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10113
10130
|
appear: true,
|
|
@@ -10182,7 +10199,7 @@
|
|
|
10182
10199
|
});
|
|
10183
10200
|
StyledValueButton.displayName = "StyledValueButton";
|
|
10184
10201
|
|
|
10185
|
-
var _excluded$
|
|
10202
|
+
var _excluded$6 = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
10186
10203
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10187
10204
|
var _ref$active = _ref.active,
|
|
10188
10205
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -10191,7 +10208,7 @@
|
|
|
10191
10208
|
icon = _ref.icon,
|
|
10192
10209
|
label = _ref.label,
|
|
10193
10210
|
value = _ref.value,
|
|
10194
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10211
|
+
args = _objectWithoutProperties(_ref, _excluded$6);
|
|
10195
10212
|
|
|
10196
10213
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
10197
10214
|
className: "c-value-button"
|
|
@@ -10215,6 +10232,87 @@
|
|
|
10215
10232
|
});
|
|
10216
10233
|
ValueButton.displayName = "ValueButton";
|
|
10217
10234
|
|
|
10235
|
+
var StyledButton = styled__default["default"].button.withConfig({
|
|
10236
|
+
displayName: "Styles__StyledButton",
|
|
10237
|
+
componentId: "sc-1tom9pu-0"
|
|
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;}"]);
|
|
10239
|
+
StyledButton.displayName = "StyledButton";
|
|
10240
|
+
|
|
10241
|
+
var _excluded$5 = ["children", "type"];
|
|
10242
|
+
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10243
|
+
var children = _ref.children,
|
|
10244
|
+
_ref$type = _ref.type,
|
|
10245
|
+
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
10246
|
+
rest = _objectWithoutProperties(_ref, _excluded$5);
|
|
10247
|
+
|
|
10248
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
10249
|
+
ref: ref,
|
|
10250
|
+
role: "button",
|
|
10251
|
+
type: type
|
|
10252
|
+
}, rest), children);
|
|
10253
|
+
});
|
|
10254
|
+
Trigger.displayName = "Trigger";
|
|
10255
|
+
|
|
10256
|
+
var StyledSelectTrigger = styled__default["default"](Trigger).withConfig({
|
|
10257
|
+
displayName: "Styles__StyledSelectTrigger",
|
|
10258
|
+
componentId: "sc-9799p2-0"
|
|
10259
|
+
})(["display:flex;align-items:center;justify-content:space-between;border:1px solid var(--color-theme-500);padding:0 8px;width:300px;transition:border-color 0.3s ease;", " ", " ", " ", " ", " ", ";"], function (_ref) {
|
|
10260
|
+
var disabled = _ref.disabled;
|
|
10261
|
+
return disabled && styled.css(["opacity:50%;cursor:default;"]);
|
|
10262
|
+
}, function (_ref2) {
|
|
10263
|
+
var $invalid = _ref2.$invalid,
|
|
10264
|
+
disabled = _ref2.disabled;
|
|
10265
|
+
return !$invalid && !disabled && styled.css(["&:hover{border-color:var(--color-primary-700);}"]);
|
|
10266
|
+
}, function (_ref3) {
|
|
10267
|
+
var $invalid = _ref3.$invalid;
|
|
10268
|
+
return $invalid && styled.css(["", " &:hover{", "}"], {
|
|
10269
|
+
"borderColor": "var(--red-alert)"
|
|
10270
|
+
}, {
|
|
10271
|
+
"borderColor": "var(--red-alert)"
|
|
10272
|
+
});
|
|
10273
|
+
}, function (_ref4) {
|
|
10274
|
+
var $size = _ref4.$size;
|
|
10275
|
+
return $size === "small" && styled.css(["height:24px;border-radius:var(--ac-br-6);"]);
|
|
10276
|
+
}, function (_ref5) {
|
|
10277
|
+
var $size = _ref5.$size;
|
|
10278
|
+
return $size === "regular" && styled.css(["height:32px;border-radius:var(--ac-br-8);"]);
|
|
10279
|
+
}, function (_ref6) {
|
|
10280
|
+
var $size = _ref6.$size;
|
|
10281
|
+
return $size === "big" && styled.css(["height:40px;border-radius:var(--ac-br-8);"]);
|
|
10282
|
+
});
|
|
10283
|
+
StyledSelectTrigger.displayName = "StyledSelectTrigger";
|
|
10284
|
+
var StyledCaretIcon = styled__default["default"](CollapseExpandSingleIcon$1).withConfig({
|
|
10285
|
+
displayName: "Styles__StyledCaretIcon",
|
|
10286
|
+
componentId: "sc-9799p2-1"
|
|
10287
|
+
})(["transform:rotate(180deg);margin-left:8px;flex-shrink:0;"]);
|
|
10288
|
+
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
10289
|
+
|
|
10290
|
+
var _excluded$4 = ["children", "type", "size", "invalid"];
|
|
10291
|
+
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10292
|
+
var children = _ref.children,
|
|
10293
|
+
_ref$type = _ref.type,
|
|
10294
|
+
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
10295
|
+
_ref$size = _ref.size,
|
|
10296
|
+
size = _ref$size === void 0 ? "regular" : _ref$size,
|
|
10297
|
+
_ref$invalid = _ref.invalid,
|
|
10298
|
+
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
10299
|
+
rest = _objectWithoutProperties(_ref, _excluded$4);
|
|
10300
|
+
|
|
10301
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
10302
|
+
ref: ref,
|
|
10303
|
+
role: "button",
|
|
10304
|
+
type: type,
|
|
10305
|
+
$size: size,
|
|
10306
|
+
$invalid: invalid
|
|
10307
|
+
}, rest), /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
10308
|
+
as: "div",
|
|
10309
|
+
overflow: "truncate",
|
|
10310
|
+
whitespace: "no-wrap",
|
|
10311
|
+
variant: size === "small" || size === "regular" ? "Body 2" : "Body 1"
|
|
10312
|
+
}, children), /*#__PURE__*/React__default["default"].createElement(StyledCaretIcon, null));
|
|
10313
|
+
});
|
|
10314
|
+
SelectTrigger.displayName = "SelectTrigger";
|
|
10315
|
+
|
|
10218
10316
|
var StyledToggleSlider = styled__default["default"].div.withConfig({
|
|
10219
10317
|
displayName: "Styles__StyledToggleSlider",
|
|
10220
10318
|
componentId: "sc-4n6vdf-0"
|
|
@@ -11251,6 +11349,7 @@
|
|
|
11251
11349
|
exports.SearchIcon = SearchIcon$1;
|
|
11252
11350
|
exports.Select = Select;
|
|
11253
11351
|
exports.SelectDate = SelectDate;
|
|
11352
|
+
exports.SelectTrigger = SelectTrigger;
|
|
11254
11353
|
exports.SendBlankIcon = SendBlankIcon$1;
|
|
11255
11354
|
exports.SendFilledIcon = SendFilledIcon$1;
|
|
11256
11355
|
exports.SettingsIcon = SettingsIcon$1;
|