@activecollab/components 1.0.126 → 1.0.129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/Chip/Chip.js +46 -0
- package/dist/cjs/components/Chip/Chip.js.map +1 -0
- package/dist/cjs/components/Chip/Styles.js +99 -0
- package/dist/cjs/components/Chip/Styles.js.map +1 -0
- package/dist/cjs/components/Chip/index.js +19 -0
- package/dist/cjs/components/Chip/index.js.map +1 -0
- package/dist/cjs/components/SelectTrigger/Styles.js +1 -1
- package/dist/cjs/components/SelectTrigger/Styles.js.map +1 -1
- package/dist/cjs/components/index.js +26 -0
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/Chip/Chip.d.ts +8 -0
- package/dist/esm/components/Chip/Chip.d.ts.map +1 -0
- package/dist/esm/components/Chip/Chip.js +27 -0
- package/dist/esm/components/Chip/Chip.js.map +1 -0
- package/dist/esm/components/Chip/Styles.d.ts +8 -0
- package/dist/esm/components/Chip/Styles.d.ts.map +1 -0
- package/dist/esm/components/Chip/Styles.js +74 -0
- package/dist/esm/components/Chip/Styles.js.map +1 -0
- package/dist/esm/components/Chip/index.d.ts +2 -0
- package/dist/esm/components/Chip/index.d.ts.map +1 -0
- package/dist/esm/components/Chip/index.js +2 -0
- package/dist/esm/components/Chip/index.js.map +1 -0
- package/dist/esm/components/SelectTrigger/Styles.d.ts.map +1 -1
- package/dist/esm/components/SelectTrigger/Styles.js +1 -1
- package/dist/esm/components/SelectTrigger/Styles.js.map +1 -1
- package/dist/esm/components/index.d.ts +2 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +2 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/index.js +226 -133
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
})(["display:inline-flex;svg{margin:0 4px;}"]);
|
|
315
315
|
StyledButtonElement.displayName = "StyledButtonElement";
|
|
316
316
|
|
|
317
|
-
var _excluded$
|
|
317
|
+
var _excluded$12 = ["children", "variant", "size", "disabled", "className"];
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* Button component
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
_ref$disabled = _ref.disabled,
|
|
329
329
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
330
330
|
className = _ref.className,
|
|
331
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
331
|
+
args = _objectWithoutProperties(_ref, _excluded$12);
|
|
332
332
|
|
|
333
333
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
|
|
334
334
|
disabled: disabled,
|
|
@@ -381,12 +381,12 @@
|
|
|
381
381
|
})(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
|
|
382
382
|
StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
|
|
383
383
|
|
|
384
|
-
var _excluded$
|
|
384
|
+
var _excluded$11 = ["className", "disabled"];
|
|
385
385
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
386
386
|
var className = _ref.className,
|
|
387
387
|
_ref$disabled = _ref.disabled,
|
|
388
388
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
389
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
389
|
+
rest = _objectWithoutProperties(_ref, _excluded$11);
|
|
390
390
|
|
|
391
391
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
392
392
|
ref: ref,
|
|
@@ -419,11 +419,11 @@
|
|
|
419
419
|
});
|
|
420
420
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
421
421
|
|
|
422
|
-
var _excluded
|
|
422
|
+
var _excluded$10 = ["children", "className"];
|
|
423
423
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
424
424
|
var children = _ref.children,
|
|
425
425
|
className = _ref.className,
|
|
426
|
-
rest = _objectWithoutProperties(_ref, _excluded
|
|
426
|
+
rest = _objectWithoutProperties(_ref, _excluded$10);
|
|
427
427
|
|
|
428
428
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
429
429
|
ref: ref,
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
return React.useContext(MenuContext);
|
|
487
487
|
};
|
|
488
488
|
|
|
489
|
-
var _excluded
|
|
489
|
+
var _excluded$$ = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy"];
|
|
490
490
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
491
491
|
var children = _ref.children,
|
|
492
492
|
anchorEl = _ref.anchorEl,
|
|
@@ -499,7 +499,7 @@
|
|
|
499
499
|
initialPlacement = _ref$placement === void 0 ? "bottom" : _ref$placement,
|
|
500
500
|
_ref$strategy = _ref.strategy,
|
|
501
501
|
strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
|
|
502
|
-
rest = _objectWithoutProperties(_ref, _excluded
|
|
502
|
+
rest = _objectWithoutProperties(_ref, _excluded$$);
|
|
503
503
|
|
|
504
504
|
var _useState = React.useState(true),
|
|
505
505
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -605,12 +605,12 @@
|
|
|
605
605
|
});
|
|
606
606
|
StyledOverlay.displayName = "StyledOverlay";
|
|
607
607
|
|
|
608
|
-
var _excluded$
|
|
608
|
+
var _excluded$_ = ["className", "disableBackgroundColor"];
|
|
609
609
|
var Overlay = function Overlay(_ref) {
|
|
610
610
|
var className = _ref.className,
|
|
611
611
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
612
612
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
613
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
613
|
+
rest = _objectWithoutProperties(_ref, _excluded$_);
|
|
614
614
|
|
|
615
615
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
616
616
|
className: classnames__default["default"]("c-overlay", className),
|
|
@@ -654,7 +654,7 @@
|
|
|
654
654
|
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
|
|
655
655
|
StyledWindow.displayName = "StyledWindow";
|
|
656
656
|
|
|
657
|
-
var _excluded$
|
|
657
|
+
var _excluded$Z = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "preventClickEventBubbling", "onClick"];
|
|
658
658
|
var returnFocus = {
|
|
659
659
|
preventScroll: true
|
|
660
660
|
};
|
|
@@ -671,7 +671,7 @@
|
|
|
671
671
|
_ref$preventClickEven = _ref.preventClickEventBubbling,
|
|
672
672
|
preventClickEventBubbling = _ref$preventClickEven === void 0 ? false : _ref$preventClickEven,
|
|
673
673
|
onClick = _ref.onClick,
|
|
674
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
674
|
+
rest = _objectWithoutProperties(_ref, _excluded$Z);
|
|
675
675
|
|
|
676
676
|
var innerRef = React.useRef(null);
|
|
677
677
|
var handleRef = useForkRef(innerRef, ref);
|
|
@@ -745,7 +745,7 @@
|
|
|
745
745
|
}, FontStyle, BoxSizingStyle);
|
|
746
746
|
StyledBubble.displayName = "StyledBubble";
|
|
747
747
|
|
|
748
|
-
var _excluded$
|
|
748
|
+
var _excluded$Y = ["children", "className", "innerRef", "style"];
|
|
749
749
|
var Bubble = function Bubble(_ref) {
|
|
750
750
|
var children = _ref.children,
|
|
751
751
|
className = _ref.className,
|
|
@@ -753,7 +753,7 @@
|
|
|
753
753
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
754
754
|
_ref$style = _ref.style,
|
|
755
755
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
756
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
756
|
+
rest = _objectWithoutProperties(_ref, _excluded$Y);
|
|
757
757
|
|
|
758
758
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
759
759
|
ref: innerRef,
|
|
@@ -1061,7 +1061,7 @@
|
|
|
1061
1061
|
});
|
|
1062
1062
|
StyledTypography.displayName = "StyledTypography";
|
|
1063
1063
|
|
|
1064
|
-
var _excluded$
|
|
1064
|
+
var _excluded$X = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
1065
1065
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1066
1066
|
var _ref$variant = _ref.variant,
|
|
1067
1067
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -1092,7 +1092,7 @@
|
|
|
1092
1092
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
1093
1093
|
className = _ref.className,
|
|
1094
1094
|
children = _ref.children,
|
|
1095
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1095
|
+
props = _objectWithoutProperties(_ref, _excluded$X);
|
|
1096
1096
|
|
|
1097
1097
|
var Component = as || "div";
|
|
1098
1098
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
@@ -1116,13 +1116,13 @@
|
|
|
1116
1116
|
});
|
|
1117
1117
|
Typography.displayName = "Typography";
|
|
1118
1118
|
|
|
1119
|
-
var _excluded$
|
|
1119
|
+
var _excluded$W = ["title", "className", "leftElement", "rightElement"];
|
|
1120
1120
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1121
1121
|
var title = _ref.title,
|
|
1122
1122
|
className = _ref.className,
|
|
1123
1123
|
leftElement = _ref.leftElement,
|
|
1124
1124
|
rightElement = _ref.rightElement,
|
|
1125
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1125
|
+
props = _objectWithoutProperties(_ref, _excluded$W);
|
|
1126
1126
|
|
|
1127
1127
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
1128
1128
|
className: classnames__default["default"]("c-menu-header", className),
|
|
@@ -1148,11 +1148,11 @@
|
|
|
1148
1148
|
});
|
|
1149
1149
|
MenuHeader.displayName = "MenuHeader";
|
|
1150
1150
|
|
|
1151
|
-
var _excluded$
|
|
1151
|
+
var _excluded$V = ["children", "className"];
|
|
1152
1152
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1153
1153
|
var children = _ref.children,
|
|
1154
1154
|
className = _ref.className,
|
|
1155
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1155
|
+
props = _objectWithoutProperties(_ref, _excluded$V);
|
|
1156
1156
|
|
|
1157
1157
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter, _extends({}, props, {
|
|
1158
1158
|
className: classnames__default["default"]("c-menu-footer", className),
|
|
@@ -1193,11 +1193,11 @@
|
|
|
1193
1193
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
1194
1194
|
StyledListSeparator.displayName = "StyledListSeparator";
|
|
1195
1195
|
|
|
1196
|
-
var _excluded$
|
|
1196
|
+
var _excluded$U = ["children", "className"];
|
|
1197
1197
|
var List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1198
1198
|
var children = _ref.children,
|
|
1199
1199
|
className = _ref.className,
|
|
1200
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1200
|
+
props = _objectWithoutProperties(_ref, _excluded$U);
|
|
1201
1201
|
|
|
1202
1202
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({}, props, {
|
|
1203
1203
|
className: className,
|
|
@@ -1206,11 +1206,11 @@
|
|
|
1206
1206
|
});
|
|
1207
1207
|
List.displayName = "List";
|
|
1208
1208
|
|
|
1209
|
-
var _excluded$
|
|
1209
|
+
var _excluded$T = ["children", "className"];
|
|
1210
1210
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1211
1211
|
var children = _ref.children,
|
|
1212
1212
|
className = _ref.className,
|
|
1213
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1213
|
+
props = _objectWithoutProperties(_ref, _excluded$T);
|
|
1214
1214
|
|
|
1215
1215
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({}, props, {
|
|
1216
1216
|
className: classnames__default["default"]("c-list-item", className),
|
|
@@ -3620,7 +3620,7 @@
|
|
|
3620
3620
|
});
|
|
3621
3621
|
StyledBreadcrumbListItem.displayName = "StyledBreadcrumbListItem";
|
|
3622
3622
|
|
|
3623
|
-
var _excluded$
|
|
3623
|
+
var _excluded$S = ["children", "className", "separator"];
|
|
3624
3624
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
3625
3625
|
var _dimensions$width, _childDimensions$widt;
|
|
3626
3626
|
|
|
@@ -3628,7 +3628,7 @@
|
|
|
3628
3628
|
className = _ref.className,
|
|
3629
3629
|
_ref$separator = _ref.separator,
|
|
3630
3630
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
3631
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3631
|
+
rest = _objectWithoutProperties(_ref, _excluded$S);
|
|
3632
3632
|
|
|
3633
3633
|
var internalRef = React.useRef(null);
|
|
3634
3634
|
var listWrapperRef = React.useRef(null);
|
|
@@ -3815,11 +3815,11 @@
|
|
|
3815
3815
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
3816
3816
|
});
|
|
3817
3817
|
|
|
3818
|
-
var _excluded$
|
|
3818
|
+
var _excluded$R = ["children"];
|
|
3819
3819
|
|
|
3820
3820
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
3821
3821
|
var children = _ref.children,
|
|
3822
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3822
|
+
props = _objectWithoutProperties(_ref, _excluded$R);
|
|
3823
3823
|
|
|
3824
3824
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
3825
3825
|
timeout: 0
|
|
@@ -3906,12 +3906,12 @@
|
|
|
3906
3906
|
});
|
|
3907
3907
|
Tooltip.displayName = "Tooltip";
|
|
3908
3908
|
|
|
3909
|
-
var _excluded$
|
|
3909
|
+
var _excluded$Q = ["weight", "children"];
|
|
3910
3910
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3911
3911
|
var _ref$weight = _ref.weight,
|
|
3912
3912
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
3913
3913
|
children = _ref.children,
|
|
3914
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3914
|
+
props = _objectWithoutProperties(_ref, _excluded$Q);
|
|
3915
3915
|
|
|
3916
3916
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3917
3917
|
variant: "Body 2",
|
|
@@ -3959,7 +3959,7 @@
|
|
|
3959
3959
|
});
|
|
3960
3960
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
3961
3961
|
|
|
3962
|
-
var _excluded$
|
|
3962
|
+
var _excluded$P = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
|
|
3963
3963
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3964
3964
|
var label = _ref.label,
|
|
3965
3965
|
icon = _ref.icon,
|
|
@@ -3969,7 +3969,7 @@
|
|
|
3969
3969
|
tooltipText = _ref.tooltipText,
|
|
3970
3970
|
onClearAll = _ref.onClearAll,
|
|
3971
3971
|
className = _ref.className,
|
|
3972
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
3972
|
+
args = _objectWithoutProperties(_ref, _excluded$P);
|
|
3973
3973
|
|
|
3974
3974
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
3975
3975
|
className: className
|
|
@@ -4284,7 +4284,7 @@
|
|
|
4284
4284
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
4285
4285
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
4286
4286
|
|
|
4287
|
-
var _excluded$
|
|
4287
|
+
var _excluded$O = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
4288
4288
|
var DatePicker = function DatePicker(_ref) {
|
|
4289
4289
|
var className = _ref.className,
|
|
4290
4290
|
onChange = _ref.onChange,
|
|
@@ -4306,7 +4306,7 @@
|
|
|
4306
4306
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
4307
4307
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
4308
4308
|
defaultModifiers = _ref.modifiers,
|
|
4309
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4309
|
+
rest = _objectWithoutProperties(_ref, _excluded$O);
|
|
4310
4310
|
|
|
4311
4311
|
var _useState = React.useState(),
|
|
4312
4312
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -5231,7 +5231,7 @@
|
|
|
5231
5231
|
};
|
|
5232
5232
|
Tbody.displayName = "Tbody";
|
|
5233
5233
|
|
|
5234
|
-
var _excluded$
|
|
5234
|
+
var _excluded$N = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue"];
|
|
5235
5235
|
exports.SortDirection = void 0;
|
|
5236
5236
|
|
|
5237
5237
|
(function (SortDirection) {
|
|
@@ -5281,7 +5281,7 @@
|
|
|
5281
5281
|
} : _ref$groupHead,
|
|
5282
5282
|
isCollapsible = _ref.isCollapsible,
|
|
5283
5283
|
emptyValue = _ref.emptyValue,
|
|
5284
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
5284
|
+
args = _objectWithoutProperties(_ref, _excluded$N);
|
|
5285
5285
|
|
|
5286
5286
|
var _useState = React.useState(sortDirection),
|
|
5287
5287
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -5701,7 +5701,7 @@
|
|
|
5701
5701
|
});
|
|
5702
5702
|
StyledPaper.displayName = "StyledPaper";
|
|
5703
5703
|
|
|
5704
|
-
var _excluded$
|
|
5704
|
+
var _excluded$M = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
5705
5705
|
|
|
5706
5706
|
/**
|
|
5707
5707
|
* This is a component description and should sit directly above your component
|
|
@@ -5715,7 +5715,7 @@
|
|
|
5715
5715
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
5716
5716
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
5717
5717
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
5718
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5718
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
5719
5719
|
|
|
5720
5720
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
5721
5721
|
className: classnames__default["default"](className, {
|
|
@@ -5769,7 +5769,7 @@
|
|
|
5769
5769
|
});
|
|
5770
5770
|
StyledCard.displayName = "StyledCard";
|
|
5771
5771
|
|
|
5772
|
-
var _excluded$
|
|
5772
|
+
var _excluded$L = ["children", "className", "hoverable", "paperType"];
|
|
5773
5773
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5774
5774
|
var children = _ref.children,
|
|
5775
5775
|
className = _ref.className,
|
|
@@ -5777,7 +5777,7 @@
|
|
|
5777
5777
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
5778
5778
|
_ref$paperType = _ref.paperType,
|
|
5779
5779
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
5780
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5780
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
5781
5781
|
|
|
5782
5782
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
5783
5783
|
type: paperType,
|
|
@@ -5859,12 +5859,12 @@
|
|
|
5859
5859
|
});
|
|
5860
5860
|
EntityCard.displayName = "EntityCard";
|
|
5861
5861
|
|
|
5862
|
-
var _excluded$
|
|
5862
|
+
var _excluded$K = ["weight", "children"];
|
|
5863
5863
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5864
5864
|
var _ref$weight = _ref.weight,
|
|
5865
5865
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
5866
5866
|
children = _ref.children,
|
|
5867
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5867
|
+
props = _objectWithoutProperties(_ref, _excluded$K);
|
|
5868
5868
|
|
|
5869
5869
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
5870
5870
|
weight: weight,
|
|
@@ -5874,12 +5874,12 @@
|
|
|
5874
5874
|
});
|
|
5875
5875
|
Title1.displayName = "Title1";
|
|
5876
5876
|
|
|
5877
|
-
var _excluded$
|
|
5877
|
+
var _excluded$J = ["weight", "children"];
|
|
5878
5878
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5879
5879
|
var _ref$weight = _ref.weight,
|
|
5880
5880
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
5881
5881
|
children = _ref.children,
|
|
5882
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5882
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
5883
5883
|
|
|
5884
5884
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
5885
5885
|
weight: weight,
|
|
@@ -5889,10 +5889,10 @@
|
|
|
5889
5889
|
});
|
|
5890
5890
|
Title2.displayName = "Title2";
|
|
5891
5891
|
|
|
5892
|
-
var _excluded$
|
|
5892
|
+
var _excluded$I = ["children"];
|
|
5893
5893
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5894
5894
|
var children = _ref.children,
|
|
5895
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5895
|
+
props = _objectWithoutProperties(_ref, _excluded$I);
|
|
5896
5896
|
|
|
5897
5897
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
5898
5898
|
weight: "bold",
|
|
@@ -5902,10 +5902,10 @@
|
|
|
5902
5902
|
});
|
|
5903
5903
|
Header2.displayName = "Header2";
|
|
5904
5904
|
|
|
5905
|
-
var _excluded$
|
|
5905
|
+
var _excluded$H = ["children"];
|
|
5906
5906
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5907
5907
|
var children = _ref.children,
|
|
5908
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5908
|
+
props = _objectWithoutProperties(_ref, _excluded$H);
|
|
5909
5909
|
|
|
5910
5910
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
5911
5911
|
weight: "bold",
|
|
@@ -5915,12 +5915,12 @@
|
|
|
5915
5915
|
});
|
|
5916
5916
|
Header3.displayName = "Header3";
|
|
5917
5917
|
|
|
5918
|
-
var _excluded$
|
|
5918
|
+
var _excluded$G = ["weight", "children"];
|
|
5919
5919
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5920
5920
|
var _ref$weight = _ref.weight,
|
|
5921
5921
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
5922
5922
|
children = _ref.children,
|
|
5923
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5923
|
+
props = _objectWithoutProperties(_ref, _excluded$G);
|
|
5924
5924
|
|
|
5925
5925
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
5926
5926
|
variant: "Body 1",
|
|
@@ -5930,12 +5930,12 @@
|
|
|
5930
5930
|
});
|
|
5931
5931
|
Body1.displayName = "Body1";
|
|
5932
5932
|
|
|
5933
|
-
var _excluded$
|
|
5933
|
+
var _excluded$F = ["weight", "children"];
|
|
5934
5934
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5935
5935
|
var _ref$weight = _ref.weight,
|
|
5936
5936
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
5937
5937
|
children = _ref.children,
|
|
5938
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5938
|
+
props = _objectWithoutProperties(_ref, _excluded$F);
|
|
5939
5939
|
|
|
5940
5940
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
5941
5941
|
variant: "Caption 1",
|
|
@@ -5945,12 +5945,12 @@
|
|
|
5945
5945
|
});
|
|
5946
5946
|
Caption1.displayName = "Caption1";
|
|
5947
5947
|
|
|
5948
|
-
var _excluded$
|
|
5948
|
+
var _excluded$E = ["weight", "children"];
|
|
5949
5949
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5950
5950
|
var _ref$weight = _ref.weight,
|
|
5951
5951
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
5952
5952
|
children = _ref.children,
|
|
5953
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5953
|
+
props = _objectWithoutProperties(_ref, _excluded$E);
|
|
5954
5954
|
|
|
5955
5955
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
5956
5956
|
variant: "Caption 2",
|
|
@@ -6069,7 +6069,7 @@
|
|
|
6069
6069
|
"borderRadius": "9999px"
|
|
6070
6070
|
});
|
|
6071
6071
|
|
|
6072
|
-
var _excluded$
|
|
6072
|
+
var _excluded$D = ["url", "alt", "size", "className"];
|
|
6073
6073
|
var Avatar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6074
6074
|
var url = _ref.url,
|
|
6075
6075
|
_ref$alt = _ref.alt,
|
|
@@ -6077,7 +6077,7 @@
|
|
|
6077
6077
|
_ref$size = _ref.size,
|
|
6078
6078
|
size = _ref$size === void 0 ? 24 : _ref$size,
|
|
6079
6079
|
className = _ref.className,
|
|
6080
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6080
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
6081
6081
|
|
|
6082
6082
|
return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({}, rest, {
|
|
6083
6083
|
ref: ref,
|
|
@@ -6124,7 +6124,7 @@
|
|
|
6124
6124
|
});
|
|
6125
6125
|
StyledTagText.displayName = "StyledTagText";
|
|
6126
6126
|
|
|
6127
|
-
var _excluded$
|
|
6127
|
+
var _excluded$C = ["name", "color", "showText", "showDot", "className"];
|
|
6128
6128
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6129
6129
|
var name = _ref.name,
|
|
6130
6130
|
color = _ref.color,
|
|
@@ -6133,7 +6133,7 @@
|
|
|
6133
6133
|
_ref$showDot = _ref.showDot,
|
|
6134
6134
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
6135
6135
|
className = _ref.className,
|
|
6136
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6136
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
6137
6137
|
|
|
6138
6138
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
6139
6139
|
className: classnames__default["default"]("c-tag", className),
|
|
@@ -6153,10 +6153,10 @@
|
|
|
6153
6153
|
componentId: "sc-x4ge7a-0"
|
|
6154
6154
|
})(["width:70%;background:linear-gradient( 90deg,rgba(255,255,255,0) 20%,rgba(0,0,0,0.05) 50%,rgba(255,255,255,0) 60% );background-size:400%;height:16px;border-radius:8px;.neon &{background:linear-gradient( 90deg,rgba(255,255,255,0) 20%,rgba(0,0,0,0.2) 50%,rgba(255,255,255,0) 60% );background-size:500%;}animation-duration:1s;animation-iteration-count:infinite;animation-name:", ";animation-timing-function:linear;animation-direction:reverse;"], linearAnimation);
|
|
6155
6155
|
|
|
6156
|
-
var _excluded$
|
|
6156
|
+
var _excluded$B = ["className"];
|
|
6157
6157
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6158
6158
|
var className = _ref.className,
|
|
6159
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6159
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
6160
6160
|
|
|
6161
6161
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
6162
6162
|
ref: ref,
|
|
@@ -6171,10 +6171,10 @@
|
|
|
6171
6171
|
componentId: "sc-1f35d5h-0"
|
|
6172
6172
|
})(["display:inline-block;text-align:center;& > span{display:inline-block;width:18px;height:18px;background-color:#777;border-radius:100%;animation:", " 1.4s infinite ease-in-out both;}span:nth-child(1){animation-delay:-0.32s;}span:nth-child(2){animation-delay:-0.16s;}"], dotAnimation);
|
|
6173
6173
|
|
|
6174
|
-
var _excluded$
|
|
6174
|
+
var _excluded$A = ["className"];
|
|
6175
6175
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6176
6176
|
var className = _ref.className,
|
|
6177
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6177
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
6178
6178
|
|
|
6179
6179
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
6180
6180
|
ref: ref,
|
|
@@ -6197,7 +6197,7 @@
|
|
|
6197
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
6198
|
});
|
|
6199
6199
|
|
|
6200
|
-
var _excluded$
|
|
6200
|
+
var _excluded$z = ["radius", "strokeWidth", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
6201
6201
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6202
6202
|
var _ref$radius = _ref.radius,
|
|
6203
6203
|
radius = _ref$radius === void 0 ? 20 : _ref$radius,
|
|
@@ -6212,7 +6212,7 @@
|
|
|
6212
6212
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
6213
6213
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
6214
6214
|
className = _ref.className,
|
|
6215
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6215
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
6216
6216
|
|
|
6217
6217
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader, _extends({
|
|
6218
6218
|
ref: ref,
|
|
@@ -6337,7 +6337,7 @@
|
|
|
6337
6337
|
}, StyledInput$1, StyledLabel);
|
|
6338
6338
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
6339
6339
|
|
|
6340
|
-
var _excluded$
|
|
6340
|
+
var _excluded$y = ["className", "hover", "id"];
|
|
6341
6341
|
|
|
6342
6342
|
/**
|
|
6343
6343
|
* Checkbox component
|
|
@@ -6347,7 +6347,7 @@
|
|
|
6347
6347
|
hover = _ref.hover,
|
|
6348
6348
|
_ref$id = _ref.id,
|
|
6349
6349
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
6350
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6350
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
6351
6351
|
|
|
6352
6352
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
|
|
6353
6353
|
className: classnames__default["default"]("c-checkbox", {
|
|
@@ -6522,7 +6522,7 @@
|
|
|
6522
6522
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
6523
6523
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
6524
6524
|
|
|
6525
|
-
var _excluded$
|
|
6525
|
+
var _excluded$x = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
6526
6526
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6527
6527
|
var children = _ref.children,
|
|
6528
6528
|
className = _ref.className,
|
|
@@ -6536,7 +6536,7 @@
|
|
|
6536
6536
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
6537
6537
|
innerColor = _ref.innerColor,
|
|
6538
6538
|
outerColor = _ref.outerColor,
|
|
6539
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6539
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
6540
6540
|
|
|
6541
6541
|
var _useState = React.useState({
|
|
6542
6542
|
top: 0,
|
|
@@ -6666,7 +6666,7 @@
|
|
|
6666
6666
|
return height;
|
|
6667
6667
|
};
|
|
6668
6668
|
|
|
6669
|
-
var _excluded$
|
|
6669
|
+
var _excluded$w = ["as", "className", "invert", "style"];
|
|
6670
6670
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6671
6671
|
var _ref$as = _ref.as,
|
|
6672
6672
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -6674,7 +6674,7 @@
|
|
|
6674
6674
|
_ref$invert = _ref.invert,
|
|
6675
6675
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
6676
6676
|
style = _ref.style,
|
|
6677
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6677
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
6678
6678
|
|
|
6679
6679
|
var internalRef = useInitScrollRef(null, invert);
|
|
6680
6680
|
var handleRef = useForkRef(internalRef, ref);
|
|
@@ -7148,7 +7148,7 @@
|
|
|
7148
7148
|
});
|
|
7149
7149
|
StyledInput.displayName = "StyledInput";
|
|
7150
7150
|
|
|
7151
|
-
var _excluded$
|
|
7151
|
+
var _excluded$v = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "inputRef"];
|
|
7152
7152
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7153
7153
|
var _ref$className = _ref.className,
|
|
7154
7154
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -7164,7 +7164,7 @@
|
|
|
7164
7164
|
startAdornment = _ref.startAdornment,
|
|
7165
7165
|
endAdornment = _ref.endAdornment,
|
|
7166
7166
|
inputRef = _ref.inputRef,
|
|
7167
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7167
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
7168
7168
|
|
|
7169
7169
|
var intInputRef = React.useRef(null);
|
|
7170
7170
|
var handleRef = useForkRef(inputRef, intInputRef);
|
|
@@ -7217,14 +7217,14 @@
|
|
|
7217
7217
|
}, StyledRadioLabel);
|
|
7218
7218
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
7219
7219
|
|
|
7220
|
-
var _excluded$
|
|
7220
|
+
var _excluded$u = ["className", "id", "hover"];
|
|
7221
7221
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7222
7222
|
var _ref$className = _ref.className,
|
|
7223
7223
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
7224
7224
|
_ref$id = _ref.id,
|
|
7225
7225
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
7226
7226
|
hover = _ref.hover,
|
|
7227
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7227
|
+
props = _objectWithoutProperties(_ref, _excluded$u);
|
|
7228
7228
|
|
|
7229
7229
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
7230
7230
|
className: classnames__default["default"]("c-radio-btn", {
|
|
@@ -7317,7 +7317,7 @@
|
|
|
7317
7317
|
};
|
|
7318
7318
|
OptionContent.displayName = "OptionContent";
|
|
7319
7319
|
|
|
7320
|
-
var _excluded$
|
|
7320
|
+
var _excluded$t = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose"];
|
|
7321
7321
|
var Select = function Select(_ref) {
|
|
7322
7322
|
var _ref$type = _ref.type,
|
|
7323
7323
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -7347,7 +7347,7 @@
|
|
|
7347
7347
|
keepSameOptionsOrder = _ref$keepSameOptionsO === void 0 ? false : _ref$keepSameOptionsO,
|
|
7348
7348
|
onSelectOpen = _ref.onSelectOpen,
|
|
7349
7349
|
onSelectClose = _ref.onSelectClose,
|
|
7350
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
7350
|
+
prop = _objectWithoutProperties(_ref, _excluded$t);
|
|
7351
7351
|
|
|
7352
7352
|
var _useState = React.useState(),
|
|
7353
7353
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7623,7 +7623,7 @@
|
|
|
7623
7623
|
});
|
|
7624
7624
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
7625
7625
|
|
|
7626
|
-
var _excluded$
|
|
7626
|
+
var _excluded$s = ["children", "active", "disabled", "className", "role"];
|
|
7627
7627
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7628
7628
|
var children = _ref.children,
|
|
7629
7629
|
_ref$active = _ref.active,
|
|
@@ -7632,7 +7632,7 @@
|
|
|
7632
7632
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7633
7633
|
className = _ref.className,
|
|
7634
7634
|
role = _ref.role,
|
|
7635
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7635
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
7636
7636
|
|
|
7637
7637
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
7638
7638
|
className: classnames__default["default"]("c-nav__item", {
|
|
@@ -7674,11 +7674,11 @@
|
|
|
7674
7674
|
});
|
|
7675
7675
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
7676
7676
|
|
|
7677
|
-
var _excluded$
|
|
7677
|
+
var _excluded$r = ["expanded"];
|
|
7678
7678
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7679
7679
|
var _ref$expanded = _ref.expanded,
|
|
7680
7680
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
7681
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7681
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
7682
7682
|
|
|
7683
7683
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
7684
7684
|
ref: ref,
|
|
@@ -7991,7 +7991,7 @@
|
|
|
7991
7991
|
};
|
|
7992
7992
|
Nav.displayName = "Nav";
|
|
7993
7993
|
|
|
7994
|
-
var _excluded$
|
|
7994
|
+
var _excluded$q = ["children", "as", "disablePointerEvents"];
|
|
7995
7995
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
7996
7996
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
7997
7997
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -8008,7 +8008,7 @@
|
|
|
8008
8008
|
var children = _ref.children,
|
|
8009
8009
|
as = _ref.as,
|
|
8010
8010
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
8011
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8011
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
8012
8012
|
|
|
8013
8013
|
var Component = as || "div";
|
|
8014
8014
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
@@ -8019,11 +8019,11 @@
|
|
|
8019
8019
|
});
|
|
8020
8020
|
InputAdornment.displayName = "InputAdornment";
|
|
8021
8021
|
|
|
8022
|
-
var _excluded$
|
|
8022
|
+
var _excluded$p = ["expanded"];
|
|
8023
8023
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8024
8024
|
var _ref$expanded = _ref.expanded,
|
|
8025
8025
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
8026
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8026
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
8027
8027
|
|
|
8028
8028
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
8029
8029
|
ref: ref,
|
|
@@ -8230,14 +8230,14 @@
|
|
|
8230
8230
|
});
|
|
8231
8231
|
StyledTextarea.displayName = "StyledTextarea";
|
|
8232
8232
|
|
|
8233
|
-
var _excluded$
|
|
8233
|
+
var _excluded$o = ["className", "disabled", "invalid"];
|
|
8234
8234
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8235
8235
|
var className = _ref.className,
|
|
8236
8236
|
_ref$disabled = _ref.disabled,
|
|
8237
8237
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8238
8238
|
_ref$invalid = _ref.invalid,
|
|
8239
8239
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
8240
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8240
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
8241
8241
|
|
|
8242
8242
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
8243
8243
|
$invalid: invalid,
|
|
@@ -8272,7 +8272,7 @@
|
|
|
8272
8272
|
function () {});
|
|
8273
8273
|
}
|
|
8274
8274
|
|
|
8275
|
-
var _excluded$
|
|
8275
|
+
var _excluded$n = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "preventClickEventBubbling", "open", "onClose"];
|
|
8276
8276
|
|
|
8277
8277
|
var getHasTransition = function getHasTransition(children) {
|
|
8278
8278
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
@@ -8293,7 +8293,7 @@
|
|
|
8293
8293
|
_ref$open = _ref.open,
|
|
8294
8294
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
8295
8295
|
onClose = _ref.onClose,
|
|
8296
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8296
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
8297
8297
|
|
|
8298
8298
|
var _useState = React.useState(defaultOpen),
|
|
8299
8299
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8433,7 +8433,7 @@
|
|
|
8433
8433
|
});
|
|
8434
8434
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
8435
8435
|
|
|
8436
|
-
var _excluded$
|
|
8436
|
+
var _excluded$m = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick", "preventClickEventBubbling"];
|
|
8437
8437
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8438
8438
|
var children = _ref.children,
|
|
8439
8439
|
onClose = _ref.onClose,
|
|
@@ -8459,7 +8459,7 @@
|
|
|
8459
8459
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
8460
8460
|
_ref$preventClickEven = _ref.preventClickEventBubbling,
|
|
8461
8461
|
preventClickEventBubbling = _ref$preventClickEven === void 0 ? false : _ref$preventClickEven,
|
|
8462
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8462
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
8463
8463
|
|
|
8464
8464
|
var _useState = React.useState(defaultOpen),
|
|
8465
8465
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8558,13 +8558,13 @@
|
|
|
8558
8558
|
});
|
|
8559
8559
|
StyledHeader.displayName = "StyledHeader";
|
|
8560
8560
|
|
|
8561
|
-
var _excluded$
|
|
8561
|
+
var _excluded$l = ["className", "size", "children"];
|
|
8562
8562
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8563
8563
|
var className = _ref.className,
|
|
8564
8564
|
_ref$size = _ref.size,
|
|
8565
8565
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
8566
8566
|
children = _ref.children,
|
|
8567
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8567
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
8568
8568
|
|
|
8569
8569
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
8570
8570
|
type: "paper-2",
|
|
@@ -8581,7 +8581,7 @@
|
|
|
8581
8581
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
8582
8582
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
8583
8583
|
|
|
8584
|
-
var _excluded$
|
|
8584
|
+
var _excluded$k = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
8585
8585
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8586
8586
|
var _ref$minRows = _ref.minRows,
|
|
8587
8587
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -8597,7 +8597,7 @@
|
|
|
8597
8597
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
8598
8598
|
onKeyDown = _ref.onKeyDown,
|
|
8599
8599
|
value = _ref.value,
|
|
8600
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8600
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
8601
8601
|
|
|
8602
8602
|
var innerRef = React.useRef(null);
|
|
8603
8603
|
|
|
@@ -8888,7 +8888,7 @@
|
|
|
8888
8888
|
});
|
|
8889
8889
|
StyledChoose.displayName = "StyledChoose";
|
|
8890
8890
|
|
|
8891
|
-
var _excluded$
|
|
8891
|
+
var _excluded$j = ["children", "disabled", "active", "className"];
|
|
8892
8892
|
|
|
8893
8893
|
/**
|
|
8894
8894
|
* Choose component
|
|
@@ -8900,7 +8900,7 @@
|
|
|
8900
8900
|
_ref$active = _ref.active,
|
|
8901
8901
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
8902
8902
|
className = _ref.className,
|
|
8903
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8903
|
+
args = _objectWithoutProperties(_ref, _excluded$j);
|
|
8904
8904
|
|
|
8905
8905
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
8906
8906
|
disabled: disabled,
|
|
@@ -8993,7 +8993,7 @@
|
|
|
8993
8993
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
8994
8994
|
StyledLink.displayName = "StyledLink";
|
|
8995
8995
|
|
|
8996
|
-
var _excluded$
|
|
8996
|
+
var _excluded$i = ["children", "className"];
|
|
8997
8997
|
|
|
8998
8998
|
/**
|
|
8999
8999
|
* Back link component
|
|
@@ -9001,7 +9001,7 @@
|
|
|
9001
9001
|
var BackLink = function BackLink(_ref) {
|
|
9002
9002
|
var children = _ref.children,
|
|
9003
9003
|
className = _ref.className,
|
|
9004
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9004
|
+
args = _objectWithoutProperties(_ref, _excluded$i);
|
|
9005
9005
|
|
|
9006
9006
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
9007
9007
|
className: classnames__default["default"]("c-back-link", className)
|
|
@@ -9009,7 +9009,7 @@
|
|
|
9009
9009
|
};
|
|
9010
9010
|
BackLink.displayName = "BackLink";
|
|
9011
9011
|
|
|
9012
|
-
var _excluded$
|
|
9012
|
+
var _excluded$h = ["children", "variant", "size", "disabled", "className"];
|
|
9013
9013
|
|
|
9014
9014
|
/**
|
|
9015
9015
|
* Link component
|
|
@@ -9022,7 +9022,7 @@
|
|
|
9022
9022
|
_ref$disabled = _ref.disabled,
|
|
9023
9023
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
9024
9024
|
className = _ref.className,
|
|
9025
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9025
|
+
args = _objectWithoutProperties(_ref, _excluded$h);
|
|
9026
9026
|
|
|
9027
9027
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
9028
9028
|
disabled: disabled,
|
|
@@ -9154,11 +9154,11 @@
|
|
|
9154
9154
|
});
|
|
9155
9155
|
Dialog.displayName = "Dialog";
|
|
9156
9156
|
|
|
9157
|
-
var _excluded$
|
|
9157
|
+
var _excluded$g = ["className", "children"];
|
|
9158
9158
|
var DialogContent = function DialogContent(_ref) {
|
|
9159
9159
|
var className = _ref.className,
|
|
9160
9160
|
children = _ref.children,
|
|
9161
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9161
|
+
rest = _objectWithoutProperties(_ref, _excluded$g);
|
|
9162
9162
|
|
|
9163
9163
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
9164
9164
|
className: classnames__default["default"]("c-dialog-content", className)
|
|
@@ -9174,13 +9174,13 @@
|
|
|
9174
9174
|
};
|
|
9175
9175
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
9176
9176
|
|
|
9177
|
-
var _excluded$
|
|
9177
|
+
var _excluded$f = ["children", "className", "disableDefaultHeading"];
|
|
9178
9178
|
var DialogTitle = function DialogTitle(_ref) {
|
|
9179
9179
|
var children = _ref.children,
|
|
9180
9180
|
className = _ref.className,
|
|
9181
9181
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
9182
9182
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
9183
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9183
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
9184
9184
|
|
|
9185
9185
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
9186
9186
|
className: classnames__default["default"]("c-dialog-title-wrapper", className)
|
|
@@ -9188,11 +9188,11 @@
|
|
|
9188
9188
|
};
|
|
9189
9189
|
DialogTitle.displayName = "DialogTitle";
|
|
9190
9190
|
|
|
9191
|
-
var _excluded$
|
|
9191
|
+
var _excluded$e = ["className", "children"];
|
|
9192
9192
|
var DialogActions = function DialogActions(_ref) {
|
|
9193
9193
|
var className = _ref.className,
|
|
9194
9194
|
children = _ref.children,
|
|
9195
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9195
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
9196
9196
|
|
|
9197
9197
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
9198
9198
|
className: classnames__default["default"]("c-dialog-actions", className)
|
|
@@ -9402,7 +9402,7 @@
|
|
|
9402
9402
|
});
|
|
9403
9403
|
StyledPressed.displayName = "StyledPressed";
|
|
9404
9404
|
|
|
9405
|
-
var _excluded$
|
|
9405
|
+
var _excluded$d = ["children", "active", "className"];
|
|
9406
9406
|
|
|
9407
9407
|
/**
|
|
9408
9408
|
* Pressed wrapper for button component
|
|
@@ -9412,7 +9412,7 @@
|
|
|
9412
9412
|
_ref$active = _ref.active,
|
|
9413
9413
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
9414
9414
|
className = _ref.className,
|
|
9415
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9415
|
+
args = _objectWithoutProperties(_ref, _excluded$d);
|
|
9416
9416
|
|
|
9417
9417
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
9418
9418
|
active: active,
|
|
@@ -9887,7 +9887,7 @@
|
|
|
9887
9887
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
9888
9888
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
9889
9889
|
|
|
9890
|
-
var _excluded$
|
|
9890
|
+
var _excluded$c = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
9891
9891
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9892
9892
|
var text = _ref.text,
|
|
9893
9893
|
type = _ref.type,
|
|
@@ -9898,7 +9898,7 @@
|
|
|
9898
9898
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
9899
9899
|
_ref$timeout = _ref.timeout,
|
|
9900
9900
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
9901
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9901
|
+
rest = _objectWithoutProperties(_ref, _excluded$c);
|
|
9902
9902
|
|
|
9903
9903
|
var handleOnClose = React.useCallback(function () {
|
|
9904
9904
|
if (typeof onClose === "function") {
|
|
@@ -9923,7 +9923,7 @@
|
|
|
9923
9923
|
});
|
|
9924
9924
|
ToastMessage.displayName = "ToastMessage";
|
|
9925
9925
|
|
|
9926
|
-
var _excluded$
|
|
9926
|
+
var _excluded$b = ["in", "children", "style", "timeout"];
|
|
9927
9927
|
|
|
9928
9928
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
9929
9929
|
return {
|
|
@@ -9953,7 +9953,7 @@
|
|
|
9953
9953
|
style = _ref.style,
|
|
9954
9954
|
_ref$timeout = _ref.timeout,
|
|
9955
9955
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
9956
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9956
|
+
rest = _objectWithoutProperties(_ref, _excluded$b);
|
|
9957
9957
|
|
|
9958
9958
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
9959
9959
|
appear: true,
|
|
@@ -9969,7 +9969,7 @@
|
|
|
9969
9969
|
};
|
|
9970
9970
|
Fade.displayName = "Fade";
|
|
9971
9971
|
|
|
9972
|
-
var _excluded$
|
|
9972
|
+
var _excluded$a = ["in", "children", "style", "timeout", "initialDirection"];
|
|
9973
9973
|
var Slide = function Slide(_ref) {
|
|
9974
9974
|
var _ref$in = _ref.in,
|
|
9975
9975
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -9979,7 +9979,7 @@
|
|
|
9979
9979
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
9980
9980
|
_ref$initialDirection = _ref.initialDirection,
|
|
9981
9981
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
9982
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9982
|
+
rest = _objectWithoutProperties(_ref, _excluded$a);
|
|
9983
9983
|
|
|
9984
9984
|
var directionSign;
|
|
9985
9985
|
|
|
@@ -10039,12 +10039,12 @@
|
|
|
10039
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;}"]);
|
|
10040
10040
|
});
|
|
10041
10041
|
|
|
10042
|
-
var _excluded$
|
|
10042
|
+
var _excluded$9 = ["children", "direction"];
|
|
10043
10043
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
10044
10044
|
var children = _ref.children,
|
|
10045
10045
|
_ref$direction = _ref.direction,
|
|
10046
10046
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
10047
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10047
|
+
props = _objectWithoutProperties(_ref, _excluded$9);
|
|
10048
10048
|
|
|
10049
10049
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
10050
10050
|
timeout: 200,
|
|
@@ -10088,7 +10088,7 @@
|
|
|
10088
10088
|
};
|
|
10089
10089
|
ResizeTransition.displayName = "ResizeTransition";
|
|
10090
10090
|
|
|
10091
|
-
var _excluded$
|
|
10091
|
+
var _excluded$8 = ["in", "children", "style", "timeout"];
|
|
10092
10092
|
|
|
10093
10093
|
var defaultStyle = function defaultStyle(duration) {
|
|
10094
10094
|
return {
|
|
@@ -10124,7 +10124,7 @@
|
|
|
10124
10124
|
style = _ref.style,
|
|
10125
10125
|
_ref$timeout = _ref.timeout,
|
|
10126
10126
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
10127
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10127
|
+
rest = _objectWithoutProperties(_ref, _excluded$8);
|
|
10128
10128
|
|
|
10129
10129
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10130
10130
|
appear: true,
|
|
@@ -10199,7 +10199,7 @@
|
|
|
10199
10199
|
});
|
|
10200
10200
|
StyledValueButton.displayName = "StyledValueButton";
|
|
10201
10201
|
|
|
10202
|
-
var _excluded$
|
|
10202
|
+
var _excluded$7 = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
10203
10203
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10204
10204
|
var _ref$active = _ref.active,
|
|
10205
10205
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -10208,7 +10208,7 @@
|
|
|
10208
10208
|
icon = _ref.icon,
|
|
10209
10209
|
label = _ref.label,
|
|
10210
10210
|
value = _ref.value,
|
|
10211
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10211
|
+
args = _objectWithoutProperties(_ref, _excluded$7);
|
|
10212
10212
|
|
|
10213
10213
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
10214
10214
|
className: "c-value-button"
|
|
@@ -10238,12 +10238,12 @@
|
|
|
10238
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
10239
|
StyledButton.displayName = "StyledButton";
|
|
10240
10240
|
|
|
10241
|
-
var _excluded$
|
|
10241
|
+
var _excluded$6 = ["children", "type"];
|
|
10242
10242
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10243
10243
|
var children = _ref.children,
|
|
10244
10244
|
_ref$type = _ref.type,
|
|
10245
10245
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
10246
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10246
|
+
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
10247
10247
|
|
|
10248
10248
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
10249
10249
|
ref: ref,
|
|
@@ -10262,7 +10262,7 @@
|
|
|
10262
10262
|
}, function (_ref2) {
|
|
10263
10263
|
var $invalid = _ref2.$invalid,
|
|
10264
10264
|
disabled = _ref2.disabled;
|
|
10265
|
-
return !$invalid && !disabled && styled.css(["&:hover{border-color:var(--color-primary-700);}"]);
|
|
10265
|
+
return !$invalid && !disabled && styled.css(["&:hover,&:focus{border-color:var(--color-primary-700);}"]);
|
|
10266
10266
|
}, function (_ref3) {
|
|
10267
10267
|
var $invalid = _ref3.$invalid;
|
|
10268
10268
|
return $invalid && styled.css(["", " &:hover{", "}"], {
|
|
@@ -10287,7 +10287,7 @@
|
|
|
10287
10287
|
})(["transform:rotate(180deg);margin-left:8px;flex-shrink:0;"]);
|
|
10288
10288
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
10289
10289
|
|
|
10290
|
-
var _excluded$
|
|
10290
|
+
var _excluded$5 = ["children", "type", "size", "invalid"];
|
|
10291
10291
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10292
10292
|
var children = _ref.children,
|
|
10293
10293
|
_ref$type = _ref.type,
|
|
@@ -10296,7 +10296,7 @@
|
|
|
10296
10296
|
size = _ref$size === void 0 ? "regular" : _ref$size,
|
|
10297
10297
|
_ref$invalid = _ref.invalid,
|
|
10298
10298
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
10299
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10299
|
+
rest = _objectWithoutProperties(_ref, _excluded$5);
|
|
10300
10300
|
|
|
10301
10301
|
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
10302
10302
|
ref: ref,
|
|
@@ -10342,11 +10342,11 @@
|
|
|
10342
10342
|
});
|
|
10343
10343
|
StyledToggle.displayName = "StyledToggle";
|
|
10344
10344
|
|
|
10345
|
-
var _excluded$
|
|
10345
|
+
var _excluded$4 = ["hovered", "className"];
|
|
10346
10346
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10347
10347
|
var hovered = _ref.hovered,
|
|
10348
10348
|
className = _ref.className,
|
|
10349
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10349
|
+
args = _objectWithoutProperties(_ref, _excluded$4);
|
|
10350
10350
|
|
|
10351
10351
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
10352
10352
|
className: classnames__default["default"]("c-toggle", className),
|
|
@@ -10386,7 +10386,7 @@
|
|
|
10386
10386
|
});
|
|
10387
10387
|
StyledComboBoxList.displayName = "StyledComboBoxList";
|
|
10388
10388
|
|
|
10389
|
-
var _excluded$
|
|
10389
|
+
var _excluded$3 = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid"];
|
|
10390
10390
|
var ComboBox = function ComboBox(_ref) {
|
|
10391
10391
|
var _comboBoxRef$current;
|
|
10392
10392
|
|
|
@@ -10405,7 +10405,7 @@
|
|
|
10405
10405
|
size = _ref$size === void 0 ? "regular" : _ref$size,
|
|
10406
10406
|
_ref$invalid = _ref.invalid,
|
|
10407
10407
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
10408
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
10408
|
+
prop = _objectWithoutProperties(_ref, _excluded$3);
|
|
10409
10409
|
|
|
10410
10410
|
var timeoutRef = React.useRef();
|
|
10411
10411
|
var selectedName = React.useMemo(function () {
|
|
@@ -10955,7 +10955,7 @@
|
|
|
10955
10955
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
10956
10956
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
10957
10957
|
|
|
10958
|
-
var _excluded$
|
|
10958
|
+
var _excluded$2 = ["invalid", "required", "size", "children", "className", "weight"];
|
|
10959
10959
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10960
10960
|
var _ref$invalid = _ref.invalid,
|
|
10961
10961
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -10967,7 +10967,7 @@
|
|
|
10967
10967
|
className = _ref.className,
|
|
10968
10968
|
_ref$weight = _ref.weight,
|
|
10969
10969
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
10970
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10970
|
+
props = _objectWithoutProperties(_ref, _excluded$2);
|
|
10971
10971
|
|
|
10972
10972
|
var color = invalid ? "alert" : "primary";
|
|
10973
10973
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
@@ -11086,11 +11086,11 @@
|
|
|
11086
11086
|
};
|
|
11087
11087
|
ProgressRing.displayName = "ProgressRing";
|
|
11088
11088
|
|
|
11089
|
-
var _excluded = ["withDocuments"];
|
|
11089
|
+
var _excluded$1 = ["withDocuments"];
|
|
11090
11090
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
11091
11091
|
var _ref$withDocuments = _ref.withDocuments,
|
|
11092
11092
|
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
11093
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
11093
|
+
props = _objectWithoutProperties(_ref, _excluded$1);
|
|
11094
11094
|
|
|
11095
11095
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
11096
11096
|
width: 100,
|
|
@@ -11142,6 +11142,97 @@
|
|
|
11142
11142
|
FolderIcon.displayName = "FolderIcon";
|
|
11143
11143
|
var FolderIcon$1 = FolderIcon;
|
|
11144
11144
|
|
|
11145
|
+
var ChipContainer = styled__default["default"].div.withConfig({
|
|
11146
|
+
displayName: "Styles__ChipContainer",
|
|
11147
|
+
componentId: "sc-7s0bd1-0"
|
|
11148
|
+
})(["min-width:80px;max-width:220px;", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", ""], {
|
|
11149
|
+
"height": "1.5rem"
|
|
11150
|
+
}, {
|
|
11151
|
+
"borderRadius": "0.25rem"
|
|
11152
|
+
}, {
|
|
11153
|
+
"display": "inline-flex"
|
|
11154
|
+
}, {
|
|
11155
|
+
"alignItems": "center"
|
|
11156
|
+
}, {
|
|
11157
|
+
"justifyContent": "center"
|
|
11158
|
+
}, {
|
|
11159
|
+
"gap": "0.25rem"
|
|
11160
|
+
}, {
|
|
11161
|
+
"paddingLeft": "0.375rem"
|
|
11162
|
+
}, {
|
|
11163
|
+
"overflow": "hidden"
|
|
11164
|
+
}, FontStyle, BoxSizingStyle, {
|
|
11165
|
+
"fontSize": "0.875rem"
|
|
11166
|
+
}, {
|
|
11167
|
+
"color": "var(--color-theme-900)"
|
|
11168
|
+
}, {
|
|
11169
|
+
"lineHeight": "1.375"
|
|
11170
|
+
}, {
|
|
11171
|
+
"letterSpacing": "0.02em"
|
|
11172
|
+
}, {
|
|
11173
|
+
"fontWeight": "400"
|
|
11174
|
+
}, {
|
|
11175
|
+
"backgroundColor": "var(--color-theme-400)"
|
|
11176
|
+
}, function (props) {
|
|
11177
|
+
return props.$showClose ? null : styled.css(["", ""], {
|
|
11178
|
+
"paddingRight": "0.375rem"
|
|
11179
|
+
});
|
|
11180
|
+
});
|
|
11181
|
+
ChipContainer.displayName = "ChipContainer";
|
|
11182
|
+
var ChipLabel = styled__default["default"].span.withConfig({
|
|
11183
|
+
displayName: "Styles__ChipLabel",
|
|
11184
|
+
componentId: "sc-7s0bd1-1"
|
|
11185
|
+
})(["", " ", ""], {
|
|
11186
|
+
"width": "100%"
|
|
11187
|
+
}, {
|
|
11188
|
+
"overflow": "hidden",
|
|
11189
|
+
"textOverflow": "ellipsis",
|
|
11190
|
+
"whiteSpace": "nowrap"
|
|
11191
|
+
});
|
|
11192
|
+
ChipLabel.displayName = "ChipLabel";
|
|
11193
|
+
var ChipTrigger = styled__default["default"](Trigger).withConfig({
|
|
11194
|
+
displayName: "Styles__ChipTrigger",
|
|
11195
|
+
componentId: "sc-7s0bd1-2"
|
|
11196
|
+
})(["", " ", " ", " &:hover{", "}"], {
|
|
11197
|
+
"display": "flex"
|
|
11198
|
+
}, {
|
|
11199
|
+
"alignItems": "center"
|
|
11200
|
+
}, {
|
|
11201
|
+
"justifyContent": "center"
|
|
11202
|
+
}, {
|
|
11203
|
+
"backgroundColor": "var(--color-theme-transparent-400)"
|
|
11204
|
+
});
|
|
11205
|
+
ChipTrigger.displayName = "ChipTrigger";
|
|
11206
|
+
var ChipCloseIcon = styled__default["default"](CloseSmallIcon$1).withConfig({
|
|
11207
|
+
displayName: "Styles__ChipCloseIcon",
|
|
11208
|
+
componentId: "sc-7s0bd1-3"
|
|
11209
|
+
})(["", ""], {
|
|
11210
|
+
"color": "var(--color-theme-700)"
|
|
11211
|
+
});
|
|
11212
|
+
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
11213
|
+
|
|
11214
|
+
var _excluded = ["url", "label", "onClose"];
|
|
11215
|
+
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
11216
|
+
var url = _ref.url,
|
|
11217
|
+
label = _ref.label,
|
|
11218
|
+
onClose = _ref.onClose,
|
|
11219
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
11220
|
+
|
|
11221
|
+
var showClose = typeof onClose === "function";
|
|
11222
|
+
return /*#__PURE__*/React__default["default"].createElement(ChipContainer, _extends({}, rest, {
|
|
11223
|
+
ref: ref,
|
|
11224
|
+
$showClose: showClose
|
|
11225
|
+
}), url ? /*#__PURE__*/React__default["default"].createElement(Avatar, {
|
|
11226
|
+
size: 18,
|
|
11227
|
+
url: url
|
|
11228
|
+
}) : null, /*#__PURE__*/React__default["default"].createElement(ChipLabel, null, label), showClose ? /*#__PURE__*/React__default["default"].createElement(ChipTrigger, {
|
|
11229
|
+
onClick: onClose
|
|
11230
|
+
}, /*#__PURE__*/React__default["default"].createElement(ChipCloseIcon, {
|
|
11231
|
+
fill: "currentColor"
|
|
11232
|
+
})) : null);
|
|
11233
|
+
});
|
|
11234
|
+
Chip.displayName = "Chip";
|
|
11235
|
+
|
|
11145
11236
|
exports.Accordion = Accordion;
|
|
11146
11237
|
exports.AccordionContext = AccordionContext;
|
|
11147
11238
|
exports.AccordionItem = AccordionItem;
|
|
@@ -11190,6 +11281,7 @@
|
|
|
11190
11281
|
exports.CheckboxIcon = CheckboxIcon$1;
|
|
11191
11282
|
exports.ChecklistIcon = ChecklistIcon$1;
|
|
11192
11283
|
exports.ChecklistSmallIcon = ChecklistSmallIcon$1;
|
|
11284
|
+
exports.Chip = Chip;
|
|
11193
11285
|
exports.Choose = Choose;
|
|
11194
11286
|
exports.CircleMultipleIcon = CircleMultipleIcon$1;
|
|
11195
11287
|
exports.ClockAddIcon = ClockAddIcon$1;
|
|
@@ -11384,6 +11476,7 @@
|
|
|
11384
11476
|
exports.Tooltip = Tooltip;
|
|
11385
11477
|
exports.TrashIcon = TrashIcon$1;
|
|
11386
11478
|
exports.TreeDotsIcon = TreeDotsIcon$1;
|
|
11479
|
+
exports.Trigger = Trigger;
|
|
11387
11480
|
exports.UploadIcon = UploadIcon$1;
|
|
11388
11481
|
exports.ValueButton = ValueButton;
|
|
11389
11482
|
exports.ViewGridIcon = ViewGridIcon$1;
|