@activecollab/components 1.0.122 → 1.0.125
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/SelectTrigger/SelectTrigger.js +53 -0
- package/dist/cjs/components/SelectTrigger/SelectTrigger.js.map +1 -0
- package/dist/cjs/components/SelectTrigger/Styles.js +55 -0
- package/dist/cjs/components/SelectTrigger/Styles.js.map +1 -0
- package/dist/cjs/components/SelectTrigger/index.js +19 -0
- package/dist/cjs/components/SelectTrigger/index.js.map +1 -0
- 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/SelectTrigger/SelectTrigger.d.ts +8 -0
- package/dist/esm/components/SelectTrigger/SelectTrigger.d.ts.map +1 -0
- package/dist/esm/components/SelectTrigger/SelectTrigger.js +31 -0
- package/dist/esm/components/SelectTrigger/SelectTrigger.js.map +1 -0
- package/dist/esm/components/SelectTrigger/Styles.d.ts +8 -0
- package/dist/esm/components/SelectTrigger/Styles.d.ts.map +1 -0
- package/dist/esm/components/SelectTrigger/Styles.js +37 -0
- package/dist/esm/components/SelectTrigger/Styles.js.map +1 -0
- package/dist/esm/components/SelectTrigger/index.d.ts +2 -0
- package/dist/esm/components/SelectTrigger/index.d.ts.map +1 -0
- package/dist/esm/components/SelectTrigger/index.js +2 -0
- package/dist/esm/components/SelectTrigger/index.js.map +1 -0
- 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 +211 -128
- 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,
|
|
@@ -6190,10 +6190,10 @@
|
|
|
6190
6190
|
componentId: "sc-1ht53g9-0"
|
|
6191
6191
|
})(["position:relative;width:20px;&:before{content:\"\";display:block;padding-top:100%;}svg{animation:", " 2s linear infinite;height:100%;transform-origin:center center;width:100%;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;circle{stroke-dasharray:1,200;stroke-dashoffset:0;stroke:var(--color-theme-600);animation:", " 1.5s ease-in-out infinite;stroke-linecap:round;}}"], rotateAnimation, dashAnimation);
|
|
6192
6192
|
|
|
6193
|
-
var _excluded$
|
|
6193
|
+
var _excluded$y = ["className"];
|
|
6194
6194
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6195
6195
|
var className = _ref.className,
|
|
6196
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6196
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
6197
6197
|
|
|
6198
6198
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader, _extends({
|
|
6199
6199
|
ref: ref,
|
|
@@ -6321,7 +6321,7 @@
|
|
|
6321
6321
|
}, StyledInput$1, StyledLabel);
|
|
6322
6322
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
6323
6323
|
|
|
6324
|
-
var _excluded$
|
|
6324
|
+
var _excluded$x = ["className", "hover", "id"];
|
|
6325
6325
|
|
|
6326
6326
|
/**
|
|
6327
6327
|
* Checkbox component
|
|
@@ -6331,7 +6331,7 @@
|
|
|
6331
6331
|
hover = _ref.hover,
|
|
6332
6332
|
_ref$id = _ref.id,
|
|
6333
6333
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
6334
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6334
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
6335
6335
|
|
|
6336
6336
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
|
|
6337
6337
|
className: classnames__default["default"]("c-checkbox", {
|
|
@@ -6506,7 +6506,7 @@
|
|
|
6506
6506
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
6507
6507
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
6508
6508
|
|
|
6509
|
-
var _excluded$
|
|
6509
|
+
var _excluded$w = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
6510
6510
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6511
6511
|
var children = _ref.children,
|
|
6512
6512
|
className = _ref.className,
|
|
@@ -6520,7 +6520,7 @@
|
|
|
6520
6520
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
6521
6521
|
innerColor = _ref.innerColor,
|
|
6522
6522
|
outerColor = _ref.outerColor,
|
|
6523
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6523
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
6524
6524
|
|
|
6525
6525
|
var _useState = React.useState({
|
|
6526
6526
|
top: 0,
|
|
@@ -6650,7 +6650,7 @@
|
|
|
6650
6650
|
return height;
|
|
6651
6651
|
};
|
|
6652
6652
|
|
|
6653
|
-
var _excluded$
|
|
6653
|
+
var _excluded$v = ["as", "className", "invert", "style"];
|
|
6654
6654
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6655
6655
|
var _ref$as = _ref.as,
|
|
6656
6656
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -6658,7 +6658,7 @@
|
|
|
6658
6658
|
_ref$invert = _ref.invert,
|
|
6659
6659
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
6660
6660
|
style = _ref.style,
|
|
6661
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6661
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
6662
6662
|
|
|
6663
6663
|
var internalRef = useInitScrollRef(null, invert);
|
|
6664
6664
|
var handleRef = useForkRef(internalRef, ref);
|
|
@@ -7132,7 +7132,7 @@
|
|
|
7132
7132
|
});
|
|
7133
7133
|
StyledInput.displayName = "StyledInput";
|
|
7134
7134
|
|
|
7135
|
-
var _excluded$
|
|
7135
|
+
var _excluded$u = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "inputRef"];
|
|
7136
7136
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7137
7137
|
var _ref$className = _ref.className,
|
|
7138
7138
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -7148,7 +7148,7 @@
|
|
|
7148
7148
|
startAdornment = _ref.startAdornment,
|
|
7149
7149
|
endAdornment = _ref.endAdornment,
|
|
7150
7150
|
inputRef = _ref.inputRef,
|
|
7151
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7151
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
7152
7152
|
|
|
7153
7153
|
var intInputRef = React.useRef(null);
|
|
7154
7154
|
var handleRef = useForkRef(inputRef, intInputRef);
|
|
@@ -7161,15 +7161,16 @@
|
|
|
7161
7161
|
$size: size,
|
|
7162
7162
|
$invalid: invalid,
|
|
7163
7163
|
$disabled: disabled,
|
|
7164
|
-
className: classnames__default["default"]("c-input", className),
|
|
7165
7164
|
style: style,
|
|
7165
|
+
className: classnames__default["default"]("c-input-wrapper", className),
|
|
7166
7166
|
onClick: handleWrapperClick,
|
|
7167
7167
|
ref: ref
|
|
7168
7168
|
}, startAdornment, /*#__PURE__*/React__default["default"].createElement(StyledInput, _extends({
|
|
7169
7169
|
ref: handleRef,
|
|
7170
7170
|
type: type,
|
|
7171
7171
|
$size: size,
|
|
7172
|
-
disabled: disabled
|
|
7172
|
+
disabled: disabled,
|
|
7173
|
+
className: "c-input"
|
|
7173
7174
|
}, rest)), endAdornment);
|
|
7174
7175
|
});
|
|
7175
7176
|
Input.displayName = "Input";
|
|
@@ -7200,14 +7201,14 @@
|
|
|
7200
7201
|
}, StyledRadioLabel);
|
|
7201
7202
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
7202
7203
|
|
|
7203
|
-
var _excluded$
|
|
7204
|
+
var _excluded$t = ["className", "id", "hover"];
|
|
7204
7205
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7205
7206
|
var _ref$className = _ref.className,
|
|
7206
7207
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
7207
7208
|
_ref$id = _ref.id,
|
|
7208
7209
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
7209
7210
|
hover = _ref.hover,
|
|
7210
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7211
|
+
props = _objectWithoutProperties(_ref, _excluded$t);
|
|
7211
7212
|
|
|
7212
7213
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
7213
7214
|
className: classnames__default["default"]("c-radio-btn", {
|
|
@@ -7300,7 +7301,7 @@
|
|
|
7300
7301
|
};
|
|
7301
7302
|
OptionContent.displayName = "OptionContent";
|
|
7302
7303
|
|
|
7303
|
-
var _excluded$
|
|
7304
|
+
var _excluded$s = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose"];
|
|
7304
7305
|
var Select = function Select(_ref) {
|
|
7305
7306
|
var _ref$type = _ref.type,
|
|
7306
7307
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -7330,7 +7331,7 @@
|
|
|
7330
7331
|
keepSameOptionsOrder = _ref$keepSameOptionsO === void 0 ? false : _ref$keepSameOptionsO,
|
|
7331
7332
|
onSelectOpen = _ref.onSelectOpen,
|
|
7332
7333
|
onSelectClose = _ref.onSelectClose,
|
|
7333
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
7334
|
+
prop = _objectWithoutProperties(_ref, _excluded$s);
|
|
7334
7335
|
|
|
7335
7336
|
var _useState = React.useState(),
|
|
7336
7337
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7606,7 +7607,7 @@
|
|
|
7606
7607
|
});
|
|
7607
7608
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
7608
7609
|
|
|
7609
|
-
var _excluded$
|
|
7610
|
+
var _excluded$r = ["children", "active", "disabled", "className", "role"];
|
|
7610
7611
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7611
7612
|
var children = _ref.children,
|
|
7612
7613
|
_ref$active = _ref.active,
|
|
@@ -7615,7 +7616,7 @@
|
|
|
7615
7616
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7616
7617
|
className = _ref.className,
|
|
7617
7618
|
role = _ref.role,
|
|
7618
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7619
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
7619
7620
|
|
|
7620
7621
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
7621
7622
|
className: classnames__default["default"]("c-nav__item", {
|
|
@@ -7657,11 +7658,11 @@
|
|
|
7657
7658
|
});
|
|
7658
7659
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
7659
7660
|
|
|
7660
|
-
var _excluded$
|
|
7661
|
+
var _excluded$q = ["expanded"];
|
|
7661
7662
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7662
7663
|
var _ref$expanded = _ref.expanded,
|
|
7663
7664
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
7664
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7665
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
7665
7666
|
|
|
7666
7667
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
7667
7668
|
ref: ref,
|
|
@@ -7974,7 +7975,7 @@
|
|
|
7974
7975
|
};
|
|
7975
7976
|
Nav.displayName = "Nav";
|
|
7976
7977
|
|
|
7977
|
-
var _excluded$
|
|
7978
|
+
var _excluded$p = ["children", "as", "disablePointerEvents"];
|
|
7978
7979
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
7979
7980
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
7980
7981
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -7991,7 +7992,7 @@
|
|
|
7991
7992
|
var children = _ref.children,
|
|
7992
7993
|
as = _ref.as,
|
|
7993
7994
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
7994
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7995
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
7995
7996
|
|
|
7996
7997
|
var Component = as || "div";
|
|
7997
7998
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
@@ -8002,11 +8003,11 @@
|
|
|
8002
8003
|
});
|
|
8003
8004
|
InputAdornment.displayName = "InputAdornment";
|
|
8004
8005
|
|
|
8005
|
-
var _excluded$
|
|
8006
|
+
var _excluded$o = ["expanded"];
|
|
8006
8007
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8007
8008
|
var _ref$expanded = _ref.expanded,
|
|
8008
8009
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
8009
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8010
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
8010
8011
|
|
|
8011
8012
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
8012
8013
|
ref: ref,
|
|
@@ -8213,14 +8214,14 @@
|
|
|
8213
8214
|
});
|
|
8214
8215
|
StyledTextarea.displayName = "StyledTextarea";
|
|
8215
8216
|
|
|
8216
|
-
var _excluded$
|
|
8217
|
+
var _excluded$n = ["className", "disabled", "invalid"];
|
|
8217
8218
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8218
8219
|
var className = _ref.className,
|
|
8219
8220
|
_ref$disabled = _ref.disabled,
|
|
8220
8221
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8221
8222
|
_ref$invalid = _ref.invalid,
|
|
8222
8223
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
8223
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8224
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
8224
8225
|
|
|
8225
8226
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
8226
8227
|
$invalid: invalid,
|
|
@@ -8255,7 +8256,7 @@
|
|
|
8255
8256
|
function () {});
|
|
8256
8257
|
}
|
|
8257
8258
|
|
|
8258
|
-
var _excluded$
|
|
8259
|
+
var _excluded$m = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "preventClickEventBubbling", "open", "onClose"];
|
|
8259
8260
|
|
|
8260
8261
|
var getHasTransition = function getHasTransition(children) {
|
|
8261
8262
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
@@ -8276,7 +8277,7 @@
|
|
|
8276
8277
|
_ref$open = _ref.open,
|
|
8277
8278
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
8278
8279
|
onClose = _ref.onClose,
|
|
8279
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8280
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
8280
8281
|
|
|
8281
8282
|
var _useState = React.useState(defaultOpen),
|
|
8282
8283
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8416,7 +8417,7 @@
|
|
|
8416
8417
|
});
|
|
8417
8418
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
8418
8419
|
|
|
8419
|
-
var _excluded$
|
|
8420
|
+
var _excluded$l = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick", "preventClickEventBubbling"];
|
|
8420
8421
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8421
8422
|
var children = _ref.children,
|
|
8422
8423
|
onClose = _ref.onClose,
|
|
@@ -8442,7 +8443,7 @@
|
|
|
8442
8443
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
8443
8444
|
_ref$preventClickEven = _ref.preventClickEventBubbling,
|
|
8444
8445
|
preventClickEventBubbling = _ref$preventClickEven === void 0 ? false : _ref$preventClickEven,
|
|
8445
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8446
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
8446
8447
|
|
|
8447
8448
|
var _useState = React.useState(defaultOpen),
|
|
8448
8449
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8541,13 +8542,13 @@
|
|
|
8541
8542
|
});
|
|
8542
8543
|
StyledHeader.displayName = "StyledHeader";
|
|
8543
8544
|
|
|
8544
|
-
var _excluded$
|
|
8545
|
+
var _excluded$k = ["className", "size", "children"];
|
|
8545
8546
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8546
8547
|
var className = _ref.className,
|
|
8547
8548
|
_ref$size = _ref.size,
|
|
8548
8549
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
8549
8550
|
children = _ref.children,
|
|
8550
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8551
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
8551
8552
|
|
|
8552
8553
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
8553
8554
|
type: "paper-2",
|
|
@@ -8564,7 +8565,7 @@
|
|
|
8564
8565
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
8565
8566
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
8566
8567
|
|
|
8567
|
-
var _excluded$
|
|
8568
|
+
var _excluded$j = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
8568
8569
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8569
8570
|
var _ref$minRows = _ref.minRows,
|
|
8570
8571
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -8580,7 +8581,7 @@
|
|
|
8580
8581
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
8581
8582
|
onKeyDown = _ref.onKeyDown,
|
|
8582
8583
|
value = _ref.value,
|
|
8583
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8584
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
8584
8585
|
|
|
8585
8586
|
var innerRef = React.useRef(null);
|
|
8586
8587
|
|
|
@@ -8871,7 +8872,7 @@
|
|
|
8871
8872
|
});
|
|
8872
8873
|
StyledChoose.displayName = "StyledChoose";
|
|
8873
8874
|
|
|
8874
|
-
var _excluded$
|
|
8875
|
+
var _excluded$i = ["children", "disabled", "active", "className"];
|
|
8875
8876
|
|
|
8876
8877
|
/**
|
|
8877
8878
|
* Choose component
|
|
@@ -8883,7 +8884,7 @@
|
|
|
8883
8884
|
_ref$active = _ref.active,
|
|
8884
8885
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
8885
8886
|
className = _ref.className,
|
|
8886
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8887
|
+
args = _objectWithoutProperties(_ref, _excluded$i);
|
|
8887
8888
|
|
|
8888
8889
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
8889
8890
|
disabled: disabled,
|
|
@@ -8976,7 +8977,7 @@
|
|
|
8976
8977
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
8977
8978
|
StyledLink.displayName = "StyledLink";
|
|
8978
8979
|
|
|
8979
|
-
var _excluded$
|
|
8980
|
+
var _excluded$h = ["children", "className"];
|
|
8980
8981
|
|
|
8981
8982
|
/**
|
|
8982
8983
|
* Back link component
|
|
@@ -8984,7 +8985,7 @@
|
|
|
8984
8985
|
var BackLink = function BackLink(_ref) {
|
|
8985
8986
|
var children = _ref.children,
|
|
8986
8987
|
className = _ref.className,
|
|
8987
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8988
|
+
args = _objectWithoutProperties(_ref, _excluded$h);
|
|
8988
8989
|
|
|
8989
8990
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
8990
8991
|
className: classnames__default["default"]("c-back-link", className)
|
|
@@ -8992,7 +8993,7 @@
|
|
|
8992
8993
|
};
|
|
8993
8994
|
BackLink.displayName = "BackLink";
|
|
8994
8995
|
|
|
8995
|
-
var _excluded$
|
|
8996
|
+
var _excluded$g = ["children", "variant", "size", "disabled", "className"];
|
|
8996
8997
|
|
|
8997
8998
|
/**
|
|
8998
8999
|
* Link component
|
|
@@ -9005,7 +9006,7 @@
|
|
|
9005
9006
|
_ref$disabled = _ref.disabled,
|
|
9006
9007
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
9007
9008
|
className = _ref.className,
|
|
9008
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9009
|
+
args = _objectWithoutProperties(_ref, _excluded$g);
|
|
9009
9010
|
|
|
9010
9011
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
9011
9012
|
disabled: disabled,
|
|
@@ -9137,11 +9138,11 @@
|
|
|
9137
9138
|
});
|
|
9138
9139
|
Dialog.displayName = "Dialog";
|
|
9139
9140
|
|
|
9140
|
-
var _excluded$
|
|
9141
|
+
var _excluded$f = ["className", "children"];
|
|
9141
9142
|
var DialogContent = function DialogContent(_ref) {
|
|
9142
9143
|
var className = _ref.className,
|
|
9143
9144
|
children = _ref.children,
|
|
9144
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9145
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
9145
9146
|
|
|
9146
9147
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
9147
9148
|
className: classnames__default["default"]("c-dialog-content", className)
|
|
@@ -9157,13 +9158,13 @@
|
|
|
9157
9158
|
};
|
|
9158
9159
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
9159
9160
|
|
|
9160
|
-
var _excluded$
|
|
9161
|
+
var _excluded$e = ["children", "className", "disableDefaultHeading"];
|
|
9161
9162
|
var DialogTitle = function DialogTitle(_ref) {
|
|
9162
9163
|
var children = _ref.children,
|
|
9163
9164
|
className = _ref.className,
|
|
9164
9165
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
9165
9166
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
9166
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9167
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
9167
9168
|
|
|
9168
9169
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
9169
9170
|
className: classnames__default["default"]("c-dialog-title-wrapper", className)
|
|
@@ -9171,11 +9172,11 @@
|
|
|
9171
9172
|
};
|
|
9172
9173
|
DialogTitle.displayName = "DialogTitle";
|
|
9173
9174
|
|
|
9174
|
-
var _excluded$
|
|
9175
|
+
var _excluded$d = ["className", "children"];
|
|
9175
9176
|
var DialogActions = function DialogActions(_ref) {
|
|
9176
9177
|
var className = _ref.className,
|
|
9177
9178
|
children = _ref.children,
|
|
9178
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9179
|
+
rest = _objectWithoutProperties(_ref, _excluded$d);
|
|
9179
9180
|
|
|
9180
9181
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
9181
9182
|
className: classnames__default["default"]("c-dialog-actions", className)
|
|
@@ -9385,7 +9386,7 @@
|
|
|
9385
9386
|
});
|
|
9386
9387
|
StyledPressed.displayName = "StyledPressed";
|
|
9387
9388
|
|
|
9388
|
-
var _excluded$
|
|
9389
|
+
var _excluded$c = ["children", "active", "className"];
|
|
9389
9390
|
|
|
9390
9391
|
/**
|
|
9391
9392
|
* Pressed wrapper for button component
|
|
@@ -9395,7 +9396,7 @@
|
|
|
9395
9396
|
_ref$active = _ref.active,
|
|
9396
9397
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
9397
9398
|
className = _ref.className,
|
|
9398
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9399
|
+
args = _objectWithoutProperties(_ref, _excluded$c);
|
|
9399
9400
|
|
|
9400
9401
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
9401
9402
|
active: active,
|
|
@@ -9870,7 +9871,7 @@
|
|
|
9870
9871
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
9871
9872
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
9872
9873
|
|
|
9873
|
-
var _excluded$
|
|
9874
|
+
var _excluded$b = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
9874
9875
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9875
9876
|
var text = _ref.text,
|
|
9876
9877
|
type = _ref.type,
|
|
@@ -9881,7 +9882,7 @@
|
|
|
9881
9882
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
9882
9883
|
_ref$timeout = _ref.timeout,
|
|
9883
9884
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
9884
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9885
|
+
rest = _objectWithoutProperties(_ref, _excluded$b);
|
|
9885
9886
|
|
|
9886
9887
|
var handleOnClose = React.useCallback(function () {
|
|
9887
9888
|
if (typeof onClose === "function") {
|
|
@@ -9906,7 +9907,7 @@
|
|
|
9906
9907
|
});
|
|
9907
9908
|
ToastMessage.displayName = "ToastMessage";
|
|
9908
9909
|
|
|
9909
|
-
var _excluded$
|
|
9910
|
+
var _excluded$a = ["in", "children", "style", "timeout"];
|
|
9910
9911
|
|
|
9911
9912
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
9912
9913
|
return {
|
|
@@ -9936,7 +9937,7 @@
|
|
|
9936
9937
|
style = _ref.style,
|
|
9937
9938
|
_ref$timeout = _ref.timeout,
|
|
9938
9939
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
9939
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9940
|
+
rest = _objectWithoutProperties(_ref, _excluded$a);
|
|
9940
9941
|
|
|
9941
9942
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
9942
9943
|
appear: true,
|
|
@@ -9952,7 +9953,7 @@
|
|
|
9952
9953
|
};
|
|
9953
9954
|
Fade.displayName = "Fade";
|
|
9954
9955
|
|
|
9955
|
-
var _excluded$
|
|
9956
|
+
var _excluded$9 = ["in", "children", "style", "timeout", "initialDirection"];
|
|
9956
9957
|
var Slide = function Slide(_ref) {
|
|
9957
9958
|
var _ref$in = _ref.in,
|
|
9958
9959
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -9962,7 +9963,7 @@
|
|
|
9962
9963
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
9963
9964
|
_ref$initialDirection = _ref.initialDirection,
|
|
9964
9965
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
9965
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9966
|
+
rest = _objectWithoutProperties(_ref, _excluded$9);
|
|
9966
9967
|
|
|
9967
9968
|
var directionSign;
|
|
9968
9969
|
|
|
@@ -10022,12 +10023,12 @@
|
|
|
10022
10023
|
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
10024
|
});
|
|
10024
10025
|
|
|
10025
|
-
var _excluded$
|
|
10026
|
+
var _excluded$8 = ["children", "direction"];
|
|
10026
10027
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
10027
10028
|
var children = _ref.children,
|
|
10028
10029
|
_ref$direction = _ref.direction,
|
|
10029
10030
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
10030
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10031
|
+
props = _objectWithoutProperties(_ref, _excluded$8);
|
|
10031
10032
|
|
|
10032
10033
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
10033
10034
|
timeout: 200,
|
|
@@ -10071,7 +10072,7 @@
|
|
|
10071
10072
|
};
|
|
10072
10073
|
ResizeTransition.displayName = "ResizeTransition";
|
|
10073
10074
|
|
|
10074
|
-
var _excluded$
|
|
10075
|
+
var _excluded$7 = ["in", "children", "style", "timeout"];
|
|
10075
10076
|
|
|
10076
10077
|
var defaultStyle = function defaultStyle(duration) {
|
|
10077
10078
|
return {
|
|
@@ -10107,7 +10108,7 @@
|
|
|
10107
10108
|
style = _ref.style,
|
|
10108
10109
|
_ref$timeout = _ref.timeout,
|
|
10109
10110
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
10110
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10111
|
+
rest = _objectWithoutProperties(_ref, _excluded$7);
|
|
10111
10112
|
|
|
10112
10113
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10113
10114
|
appear: true,
|
|
@@ -10182,7 +10183,7 @@
|
|
|
10182
10183
|
});
|
|
10183
10184
|
StyledValueButton.displayName = "StyledValueButton";
|
|
10184
10185
|
|
|
10185
|
-
var _excluded$
|
|
10186
|
+
var _excluded$6 = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
10186
10187
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10187
10188
|
var _ref$active = _ref.active,
|
|
10188
10189
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -10191,7 +10192,7 @@
|
|
|
10191
10192
|
icon = _ref.icon,
|
|
10192
10193
|
label = _ref.label,
|
|
10193
10194
|
value = _ref.value,
|
|
10194
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10195
|
+
args = _objectWithoutProperties(_ref, _excluded$6);
|
|
10195
10196
|
|
|
10196
10197
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
10197
10198
|
className: "c-value-button"
|
|
@@ -10215,6 +10216,87 @@
|
|
|
10215
10216
|
});
|
|
10216
10217
|
ValueButton.displayName = "ValueButton";
|
|
10217
10218
|
|
|
10219
|
+
var StyledButton = styled__default["default"].button.withConfig({
|
|
10220
|
+
displayName: "Styles__StyledButton",
|
|
10221
|
+
componentId: "sc-1tom9pu-0"
|
|
10222
|
+
})(["border:none;margin:0;padding:0;width:auto;overflow:visible;cursor:pointer;background:transparent;outline:none;color:inherit;font:inherit;line-height:inherit;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;&::-moz-focus-inner{border:0;padding:0;}"]);
|
|
10223
|
+
StyledButton.displayName = "StyledButton";
|
|
10224
|
+
|
|
10225
|
+
var _excluded$5 = ["children", "type"];
|
|
10226
|
+
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10227
|
+
var children = _ref.children,
|
|
10228
|
+
_ref$type = _ref.type,
|
|
10229
|
+
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
10230
|
+
rest = _objectWithoutProperties(_ref, _excluded$5);
|
|
10231
|
+
|
|
10232
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
10233
|
+
ref: ref,
|
|
10234
|
+
role: "button",
|
|
10235
|
+
type: type
|
|
10236
|
+
}, rest), children);
|
|
10237
|
+
});
|
|
10238
|
+
Trigger.displayName = "Trigger";
|
|
10239
|
+
|
|
10240
|
+
var StyledSelectTrigger = styled__default["default"](Trigger).withConfig({
|
|
10241
|
+
displayName: "Styles__StyledSelectTrigger",
|
|
10242
|
+
componentId: "sc-9799p2-0"
|
|
10243
|
+
})(["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) {
|
|
10244
|
+
var disabled = _ref.disabled;
|
|
10245
|
+
return disabled && styled.css(["opacity:50%;cursor:default;"]);
|
|
10246
|
+
}, function (_ref2) {
|
|
10247
|
+
var $invalid = _ref2.$invalid,
|
|
10248
|
+
disabled = _ref2.disabled;
|
|
10249
|
+
return !$invalid && !disabled && styled.css(["&:hover{border-color:var(--color-primary-700);}"]);
|
|
10250
|
+
}, function (_ref3) {
|
|
10251
|
+
var $invalid = _ref3.$invalid;
|
|
10252
|
+
return $invalid && styled.css(["", " &:hover{", "}"], {
|
|
10253
|
+
"borderColor": "var(--red-alert)"
|
|
10254
|
+
}, {
|
|
10255
|
+
"borderColor": "var(--red-alert)"
|
|
10256
|
+
});
|
|
10257
|
+
}, function (_ref4) {
|
|
10258
|
+
var $size = _ref4.$size;
|
|
10259
|
+
return $size === "small" && styled.css(["height:24px;border-radius:var(--ac-br-6);"]);
|
|
10260
|
+
}, function (_ref5) {
|
|
10261
|
+
var $size = _ref5.$size;
|
|
10262
|
+
return $size === "regular" && styled.css(["height:32px;border-radius:var(--ac-br-8);"]);
|
|
10263
|
+
}, function (_ref6) {
|
|
10264
|
+
var $size = _ref6.$size;
|
|
10265
|
+
return $size === "big" && styled.css(["height:40px;border-radius:var(--ac-br-8);"]);
|
|
10266
|
+
});
|
|
10267
|
+
StyledSelectTrigger.displayName = "StyledSelectTrigger";
|
|
10268
|
+
var StyledCaretIcon = styled__default["default"](CollapseExpandSingleIcon$1).withConfig({
|
|
10269
|
+
displayName: "Styles__StyledCaretIcon",
|
|
10270
|
+
componentId: "sc-9799p2-1"
|
|
10271
|
+
})(["transform:rotate(180deg);margin-left:8px;flex-shrink:0;"]);
|
|
10272
|
+
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
10273
|
+
|
|
10274
|
+
var _excluded$4 = ["children", "type", "size", "invalid"];
|
|
10275
|
+
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10276
|
+
var children = _ref.children,
|
|
10277
|
+
_ref$type = _ref.type,
|
|
10278
|
+
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
10279
|
+
_ref$size = _ref.size,
|
|
10280
|
+
size = _ref$size === void 0 ? "regular" : _ref$size,
|
|
10281
|
+
_ref$invalid = _ref.invalid,
|
|
10282
|
+
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
10283
|
+
rest = _objectWithoutProperties(_ref, _excluded$4);
|
|
10284
|
+
|
|
10285
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
10286
|
+
ref: ref,
|
|
10287
|
+
role: "button",
|
|
10288
|
+
type: type,
|
|
10289
|
+
$size: size,
|
|
10290
|
+
$invalid: invalid
|
|
10291
|
+
}, rest), /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
10292
|
+
as: "div",
|
|
10293
|
+
overflow: "truncate",
|
|
10294
|
+
whitespace: "no-wrap",
|
|
10295
|
+
variant: size === "small" || size === "regular" ? "Body 2" : "Body 1"
|
|
10296
|
+
}, children), /*#__PURE__*/React__default["default"].createElement(StyledCaretIcon, null));
|
|
10297
|
+
});
|
|
10298
|
+
SelectTrigger.displayName = "SelectTrigger";
|
|
10299
|
+
|
|
10218
10300
|
var StyledToggleSlider = styled__default["default"].div.withConfig({
|
|
10219
10301
|
displayName: "Styles__StyledToggleSlider",
|
|
10220
10302
|
componentId: "sc-4n6vdf-0"
|
|
@@ -11251,6 +11333,7 @@
|
|
|
11251
11333
|
exports.SearchIcon = SearchIcon$1;
|
|
11252
11334
|
exports.Select = Select;
|
|
11253
11335
|
exports.SelectDate = SelectDate;
|
|
11336
|
+
exports.SelectTrigger = SelectTrigger;
|
|
11254
11337
|
exports.SendBlankIcon = SendBlankIcon$1;
|
|
11255
11338
|
exports.SendFilledIcon = SendFilledIcon$1;
|
|
11256
11339
|
exports.SettingsIcon = SettingsIcon$1;
|