@activecollab/components 1.0.30 → 1.0.31
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/Transitions/Fade/Fade.js +14 -8
- package/dist/cjs/components/Transitions/Fade/Fade.js.map +1 -1
- package/dist/cjs/components/Transitions/Reveal/Reveal.js +14 -8
- package/dist/cjs/components/Transitions/Reveal/Reveal.js.map +1 -1
- package/dist/esm/components/Transitions/Fade/Fade.d.ts.map +1 -1
- package/dist/esm/components/Transitions/Fade/Fade.js +8 -8
- package/dist/esm/components/Transitions/Fade/Fade.js.map +1 -1
- package/dist/esm/components/Transitions/Reveal/Reveal.d.ts.map +1 -1
- package/dist/esm/components/Transitions/Reveal/Reveal.js +8 -8
- package/dist/esm/components/Transitions/Reveal/Reveal.js.map +1 -1
- package/dist/index.js +122 -122
- 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$V = ["children", "variant", "size", "disabled", "className"];
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* Button component
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
_ref$disabled = _ref.disabled,
|
|
328
328
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
329
329
|
className = _ref.className,
|
|
330
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
330
|
+
args = _objectWithoutProperties(_ref, _excluded$V);
|
|
331
331
|
|
|
332
332
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$1, _extends({
|
|
333
333
|
disabled: disabled,
|
|
@@ -380,12 +380,12 @@
|
|
|
380
380
|
})(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
|
|
381
381
|
StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
|
|
382
382
|
|
|
383
|
-
var _excluded$
|
|
383
|
+
var _excluded$U = ["className", "disabled"];
|
|
384
384
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
385
385
|
var className = _ref.className,
|
|
386
386
|
_ref$disabled = _ref.disabled,
|
|
387
387
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
388
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
388
|
+
rest = _objectWithoutProperties(_ref, _excluded$U);
|
|
389
389
|
|
|
390
390
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
391
391
|
ref: ref,
|
|
@@ -418,11 +418,11 @@
|
|
|
418
418
|
});
|
|
419
419
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
420
420
|
|
|
421
|
-
var _excluded$
|
|
421
|
+
var _excluded$T = ["children", "className"];
|
|
422
422
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
423
423
|
var children = _ref.children,
|
|
424
424
|
className = _ref.className,
|
|
425
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
425
|
+
rest = _objectWithoutProperties(_ref, _excluded$T);
|
|
426
426
|
|
|
427
427
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
428
428
|
ref: ref,
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
}, [refA, refB]);
|
|
449
449
|
}
|
|
450
450
|
|
|
451
|
-
var _excluded$
|
|
451
|
+
var _excluded$S = ["children", "anchorEl", "open", "style", "transition", "placement"];
|
|
452
452
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
453
453
|
var children = _ref.children,
|
|
454
454
|
anchorEl = _ref.anchorEl,
|
|
@@ -459,7 +459,7 @@
|
|
|
459
459
|
transition = _ref$transition === void 0 ? false : _ref$transition,
|
|
460
460
|
_ref$placement = _ref.placement,
|
|
461
461
|
initialPlacement = _ref$placement === void 0 ? "bottom" : _ref$placement,
|
|
462
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
462
|
+
rest = _objectWithoutProperties(_ref, _excluded$S);
|
|
463
463
|
|
|
464
464
|
var _useState = React.useState(true),
|
|
465
465
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -631,11 +631,11 @@
|
|
|
631
631
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
632
632
|
});
|
|
633
633
|
|
|
634
|
-
var _excluded$
|
|
634
|
+
var _excluded$R = ["children"];
|
|
635
635
|
|
|
636
636
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
637
637
|
var children = _ref.children,
|
|
638
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
638
|
+
props = _objectWithoutProperties(_ref, _excluded$R);
|
|
639
639
|
|
|
640
640
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
641
641
|
timeout: 0
|
|
@@ -855,7 +855,7 @@
|
|
|
855
855
|
});
|
|
856
856
|
StyledTypography.displayName = "StyledTypography";
|
|
857
857
|
|
|
858
|
-
var _excluded$
|
|
858
|
+
var _excluded$Q = ["variant", "Tag", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
859
859
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
860
860
|
var _ref$variant = _ref.variant,
|
|
861
861
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -887,7 +887,7 @@
|
|
|
887
887
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
888
888
|
className = _ref.className,
|
|
889
889
|
children = _ref.children,
|
|
890
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
890
|
+
props = _objectWithoutProperties(_ref, _excluded$Q);
|
|
891
891
|
|
|
892
892
|
var innerRef = React.useRef(null);
|
|
893
893
|
var handleRef = useForkRef(ref, innerRef);
|
|
@@ -912,12 +912,12 @@
|
|
|
912
912
|
});
|
|
913
913
|
Typography.displayName = "Typography";
|
|
914
914
|
|
|
915
|
-
var _excluded$
|
|
915
|
+
var _excluded$P = ["weight", "children"];
|
|
916
916
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
917
917
|
var _ref$weight = _ref.weight,
|
|
918
918
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
919
919
|
children = _ref.children,
|
|
920
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
920
|
+
props = _objectWithoutProperties(_ref, _excluded$P);
|
|
921
921
|
|
|
922
922
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
923
923
|
variant: "Body 2",
|
|
@@ -958,7 +958,7 @@
|
|
|
958
958
|
});
|
|
959
959
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
960
960
|
|
|
961
|
-
var _excluded$
|
|
961
|
+
var _excluded$O = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
|
|
962
962
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
963
963
|
var label = _ref.label,
|
|
964
964
|
icon = _ref.icon,
|
|
@@ -968,7 +968,7 @@
|
|
|
968
968
|
tooltipText = _ref.tooltipText,
|
|
969
969
|
onClearAll = _ref.onClearAll,
|
|
970
970
|
className = _ref.className,
|
|
971
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
971
|
+
args = _objectWithoutProperties(_ref, _excluded$O);
|
|
972
972
|
|
|
973
973
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
974
974
|
className: classnames__default["default"]("tw-flex ac-font box-sizing", className)
|
|
@@ -1338,7 +1338,7 @@
|
|
|
1338
1338
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
1339
1339
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
1340
1340
|
|
|
1341
|
-
var _excluded$
|
|
1341
|
+
var _excluded$N = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
1342
1342
|
var DatePicker = function DatePicker(_ref) {
|
|
1343
1343
|
var className = _ref.className,
|
|
1344
1344
|
onChange = _ref.onChange,
|
|
@@ -1360,7 +1360,7 @@
|
|
|
1360
1360
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
1361
1361
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
1362
1362
|
defaultModifiers = _ref.modifiers,
|
|
1363
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1363
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
1364
1364
|
|
|
1365
1365
|
var _useState = React.useState(),
|
|
1366
1366
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -1703,10 +1703,10 @@
|
|
|
1703
1703
|
})(["position:fixed;top:0;right:0;bottom:0;left:0;"]);
|
|
1704
1704
|
StyledOverlay.displayName = "StyledOverlay";
|
|
1705
1705
|
|
|
1706
|
-
var _excluded$
|
|
1706
|
+
var _excluded$M = ["className"];
|
|
1707
1707
|
var Overlay = function Overlay(_ref) {
|
|
1708
1708
|
var className = _ref.className,
|
|
1709
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1709
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
1710
1710
|
|
|
1711
1711
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
1712
1712
|
className: classnames__default["default"]("c-overlay", className)
|
|
@@ -1720,7 +1720,7 @@
|
|
|
1720
1720
|
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
|
|
1721
1721
|
StyledWindow.displayName = "StyledWindow";
|
|
1722
1722
|
|
|
1723
|
-
var _excluded$
|
|
1723
|
+
var _excluded$L = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock"];
|
|
1724
1724
|
var returnFocus = {
|
|
1725
1725
|
preventScroll: true
|
|
1726
1726
|
};
|
|
@@ -1734,7 +1734,7 @@
|
|
|
1734
1734
|
disableFocusLock = _ref$disableFocusLock === void 0 ? false : _ref$disableFocusLock,
|
|
1735
1735
|
_ref$disableScrollLoc = _ref.disableScrollLock,
|
|
1736
1736
|
disableScrollLock = _ref$disableScrollLoc === void 0 ? false : _ref$disableScrollLoc,
|
|
1737
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1737
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
1738
1738
|
|
|
1739
1739
|
var innerRef = React.useRef(null);
|
|
1740
1740
|
var handleRef = useForkRef(innerRef, ref);
|
|
@@ -1800,7 +1800,7 @@
|
|
|
1800
1800
|
}, FontStyle, BoxSizingStyle);
|
|
1801
1801
|
StyledBubble.displayName = "StyledBubble";
|
|
1802
1802
|
|
|
1803
|
-
var _excluded$
|
|
1803
|
+
var _excluded$K = ["children", "className", "innerRef", "style"];
|
|
1804
1804
|
var Bubble = function Bubble(_ref) {
|
|
1805
1805
|
var children = _ref.children,
|
|
1806
1806
|
className = _ref.className,
|
|
@@ -1808,7 +1808,7 @@
|
|
|
1808
1808
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
1809
1809
|
_ref$style = _ref.style,
|
|
1810
1810
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
1811
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1811
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
1812
1812
|
|
|
1813
1813
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
1814
1814
|
ref: innerRef,
|
|
@@ -1951,13 +1951,13 @@
|
|
|
1951
1951
|
};
|
|
1952
1952
|
Menu.displayName = "Menu";
|
|
1953
1953
|
|
|
1954
|
-
var _excluded$
|
|
1954
|
+
var _excluded$J = ["title", "className", "leftElement", "rightElement"];
|
|
1955
1955
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1956
1956
|
var title = _ref.title,
|
|
1957
1957
|
className = _ref.className,
|
|
1958
1958
|
leftElement = _ref.leftElement,
|
|
1959
1959
|
rightElement = _ref.rightElement,
|
|
1960
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1960
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
1961
1961
|
|
|
1962
1962
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
1963
1963
|
className: classnames__default["default"]("c-menu-header", className),
|
|
@@ -1980,11 +1980,11 @@
|
|
|
1980
1980
|
});
|
|
1981
1981
|
MenuHeader.displayName = "MenuHeader";
|
|
1982
1982
|
|
|
1983
|
-
var _excluded$
|
|
1983
|
+
var _excluded$I = ["children", "className"];
|
|
1984
1984
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1985
1985
|
var children = _ref.children,
|
|
1986
1986
|
className = _ref.className,
|
|
1987
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1987
|
+
props = _objectWithoutProperties(_ref, _excluded$I);
|
|
1988
1988
|
|
|
1989
1989
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter, _extends({}, props, {
|
|
1990
1990
|
className: classnames__default["default"]("c-menu-footer", className),
|
|
@@ -2652,7 +2652,7 @@
|
|
|
2652
2652
|
SortIcon.displayName = "SortIcon";
|
|
2653
2653
|
var SortIcon$1 = SortIcon;
|
|
2654
2654
|
|
|
2655
|
-
var _excluded$
|
|
2655
|
+
var _excluded$H = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue"];
|
|
2656
2656
|
exports.SortDirection = void 0;
|
|
2657
2657
|
|
|
2658
2658
|
(function (SortDirection) {
|
|
@@ -2702,7 +2702,7 @@
|
|
|
2702
2702
|
} : _ref$groupHead,
|
|
2703
2703
|
isCollapsible = _ref.isCollapsible,
|
|
2704
2704
|
emptyValue = _ref.emptyValue,
|
|
2705
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
2705
|
+
args = _objectWithoutProperties(_ref, _excluded$H);
|
|
2706
2706
|
|
|
2707
2707
|
var _useState = React.useState(sortDirection),
|
|
2708
2708
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -3116,7 +3116,7 @@
|
|
|
3116
3116
|
});
|
|
3117
3117
|
StyledPaper.displayName = "StyledPaper";
|
|
3118
3118
|
|
|
3119
|
-
var _excluded$
|
|
3119
|
+
var _excluded$G = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
3120
3120
|
|
|
3121
3121
|
/**
|
|
3122
3122
|
* This is a component description and should sit directly above your component
|
|
@@ -3130,7 +3130,7 @@
|
|
|
3130
3130
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
3131
3131
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
3132
3132
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
3133
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3133
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
3134
3134
|
|
|
3135
3135
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
3136
3136
|
className: classnames__default["default"](className, {
|
|
@@ -3184,7 +3184,7 @@
|
|
|
3184
3184
|
});
|
|
3185
3185
|
StyledCard.displayName = "StyledCard";
|
|
3186
3186
|
|
|
3187
|
-
var _excluded$
|
|
3187
|
+
var _excluded$F = ["children", "className", "hoverable", "paperType"];
|
|
3188
3188
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3189
3189
|
var children = _ref.children,
|
|
3190
3190
|
className = _ref.className,
|
|
@@ -3192,7 +3192,7 @@
|
|
|
3192
3192
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
3193
3193
|
_ref$paperType = _ref.paperType,
|
|
3194
3194
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
3195
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3195
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
3196
3196
|
|
|
3197
3197
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
3198
3198
|
type: paperType,
|
|
@@ -3285,12 +3285,12 @@
|
|
|
3285
3285
|
});
|
|
3286
3286
|
EntityCard.displayName = "EntityCard";
|
|
3287
3287
|
|
|
3288
|
-
var _excluded$
|
|
3288
|
+
var _excluded$E = ["weight", "children"];
|
|
3289
3289
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3290
3290
|
var _ref$weight = _ref.weight,
|
|
3291
3291
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
3292
3292
|
children = _ref.children,
|
|
3293
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3293
|
+
props = _objectWithoutProperties(_ref, _excluded$E);
|
|
3294
3294
|
|
|
3295
3295
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3296
3296
|
weight: weight,
|
|
@@ -3300,10 +3300,10 @@
|
|
|
3300
3300
|
});
|
|
3301
3301
|
Title1.displayName = "Title1";
|
|
3302
3302
|
|
|
3303
|
-
var _excluded$
|
|
3303
|
+
var _excluded$D = ["children"];
|
|
3304
3304
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3305
3305
|
var children = _ref.children,
|
|
3306
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3306
|
+
props = _objectWithoutProperties(_ref, _excluded$D);
|
|
3307
3307
|
|
|
3308
3308
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3309
3309
|
weight: "bold",
|
|
@@ -3313,10 +3313,10 @@
|
|
|
3313
3313
|
});
|
|
3314
3314
|
Header2.displayName = "Header2";
|
|
3315
3315
|
|
|
3316
|
-
var _excluded$
|
|
3316
|
+
var _excluded$C = ["children"];
|
|
3317
3317
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3318
3318
|
var children = _ref.children,
|
|
3319
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3319
|
+
props = _objectWithoutProperties(_ref, _excluded$C);
|
|
3320
3320
|
|
|
3321
3321
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3322
3322
|
weight: "bold",
|
|
@@ -3326,12 +3326,12 @@
|
|
|
3326
3326
|
});
|
|
3327
3327
|
Header3.displayName = "Header3";
|
|
3328
3328
|
|
|
3329
|
-
var _excluded$
|
|
3329
|
+
var _excluded$B = ["weight", "children"];
|
|
3330
3330
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3331
3331
|
var _ref$weight = _ref.weight,
|
|
3332
3332
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
3333
3333
|
children = _ref.children,
|
|
3334
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3334
|
+
props = _objectWithoutProperties(_ref, _excluded$B);
|
|
3335
3335
|
|
|
3336
3336
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3337
3337
|
variant: "Body 1",
|
|
@@ -3341,12 +3341,12 @@
|
|
|
3341
3341
|
});
|
|
3342
3342
|
Body1.displayName = "Body1";
|
|
3343
3343
|
|
|
3344
|
-
var _excluded$
|
|
3344
|
+
var _excluded$A = ["weight", "children"];
|
|
3345
3345
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3346
3346
|
var _ref$weight = _ref.weight,
|
|
3347
3347
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
3348
3348
|
children = _ref.children,
|
|
3349
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3349
|
+
props = _objectWithoutProperties(_ref, _excluded$A);
|
|
3350
3350
|
|
|
3351
3351
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3352
3352
|
variant: "Caption 1",
|
|
@@ -3356,12 +3356,12 @@
|
|
|
3356
3356
|
});
|
|
3357
3357
|
Caption1.displayName = "Caption1";
|
|
3358
3358
|
|
|
3359
|
-
var _excluded$
|
|
3359
|
+
var _excluded$z = ["weight", "children"];
|
|
3360
3360
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3361
3361
|
var _ref$weight = _ref.weight,
|
|
3362
3362
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
3363
3363
|
children = _ref.children,
|
|
3364
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3364
|
+
props = _objectWithoutProperties(_ref, _excluded$z);
|
|
3365
3365
|
|
|
3366
3366
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3367
3367
|
variant: "Caption 2",
|
|
@@ -3480,7 +3480,7 @@
|
|
|
3480
3480
|
"borderRadius": "9999px"
|
|
3481
3481
|
});
|
|
3482
3482
|
|
|
3483
|
-
var _excluded$
|
|
3483
|
+
var _excluded$y = ["url", "alt", "size", "className"];
|
|
3484
3484
|
var Avatar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3485
3485
|
var url = _ref.url,
|
|
3486
3486
|
_ref$alt = _ref.alt,
|
|
@@ -3488,7 +3488,7 @@
|
|
|
3488
3488
|
_ref$size = _ref.size,
|
|
3489
3489
|
size = _ref$size === void 0 ? 24 : _ref$size,
|
|
3490
3490
|
className = _ref.className,
|
|
3491
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3491
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
3492
3492
|
|
|
3493
3493
|
return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({}, rest, {
|
|
3494
3494
|
ref: ref,
|
|
@@ -3535,7 +3535,7 @@
|
|
|
3535
3535
|
});
|
|
3536
3536
|
StyledLabelText.displayName = "StyledLabelText";
|
|
3537
3537
|
|
|
3538
|
-
var _excluded$
|
|
3538
|
+
var _excluded$x = ["name", "color", "showText", "showDot", "className"];
|
|
3539
3539
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3540
3540
|
var name = _ref.name,
|
|
3541
3541
|
color = _ref.color,
|
|
@@ -3544,7 +3544,7 @@
|
|
|
3544
3544
|
_ref$showDot = _ref.showDot,
|
|
3545
3545
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
3546
3546
|
className = _ref.className,
|
|
3547
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3547
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
3548
3548
|
|
|
3549
3549
|
return /*#__PURE__*/React__default["default"].createElement(StyledLabel$1, _extends({
|
|
3550
3550
|
className: classnames__default["default"]("c-label", className),
|
|
@@ -3564,10 +3564,10 @@
|
|
|
3564
3564
|
componentId: "sc-x4ge7a-0"
|
|
3565
3565
|
})(["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);
|
|
3566
3566
|
|
|
3567
|
-
var _excluded$
|
|
3567
|
+
var _excluded$w = ["className"];
|
|
3568
3568
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3569
3569
|
var className = _ref.className,
|
|
3570
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3570
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
3571
3571
|
|
|
3572
3572
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
3573
3573
|
ref: ref,
|
|
@@ -3582,10 +3582,10 @@
|
|
|
3582
3582
|
componentId: "sc-1f35d5h-0"
|
|
3583
3583
|
})(["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);
|
|
3584
3584
|
|
|
3585
|
-
var _excluded$
|
|
3585
|
+
var _excluded$v = ["className"];
|
|
3586
3586
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3587
3587
|
var className = _ref.className,
|
|
3588
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3588
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
3589
3589
|
|
|
3590
3590
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
3591
3591
|
ref: ref,
|
|
@@ -3601,10 +3601,10 @@
|
|
|
3601
3601
|
componentId: "sc-1ht53g9-0"
|
|
3602
3602
|
})(["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);
|
|
3603
3603
|
|
|
3604
|
-
var _excluded$
|
|
3604
|
+
var _excluded$u = ["className"];
|
|
3605
3605
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3606
3606
|
var className = _ref.className,
|
|
3607
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3607
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
3608
3608
|
|
|
3609
3609
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader, _extends({
|
|
3610
3610
|
ref: ref,
|
|
@@ -3666,7 +3666,7 @@
|
|
|
3666
3666
|
}, StyledInput$1, StyledLabel);
|
|
3667
3667
|
StyledCheckbox.displayName = "StyledCheckbox";
|
|
3668
3668
|
|
|
3669
|
-
var _excluded$
|
|
3669
|
+
var _excluded$t = ["className", "hover", "id"];
|
|
3670
3670
|
|
|
3671
3671
|
/**
|
|
3672
3672
|
* Checkbox component
|
|
@@ -3676,7 +3676,7 @@
|
|
|
3676
3676
|
hover = _ref.hover,
|
|
3677
3677
|
_ref$id = _ref.id,
|
|
3678
3678
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
3679
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3679
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
3680
3680
|
|
|
3681
3681
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox, {
|
|
3682
3682
|
className: classnames__default["default"]("c-checkbox", {
|
|
@@ -3749,14 +3749,14 @@
|
|
|
3749
3749
|
}, StyledRadioLabel);
|
|
3750
3750
|
StyledRadioButton.displayName = "StyledRadioButton";
|
|
3751
3751
|
|
|
3752
|
-
var _excluded$
|
|
3752
|
+
var _excluded$s = ["className", "id", "hover"];
|
|
3753
3753
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3754
3754
|
var _ref$className = _ref.className,
|
|
3755
3755
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
3756
3756
|
_ref$id = _ref.id,
|
|
3757
3757
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
3758
3758
|
hover = _ref.hover,
|
|
3759
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3759
|
+
props = _objectWithoutProperties(_ref, _excluded$s);
|
|
3760
3760
|
|
|
3761
3761
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton, {
|
|
3762
3762
|
className: classnames__default["default"]("c-radio-btn", {
|
|
@@ -4008,7 +4008,7 @@
|
|
|
4008
4008
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
4009
4009
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
4010
4010
|
|
|
4011
|
-
var _excluded$
|
|
4011
|
+
var _excluded$r = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical"];
|
|
4012
4012
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4013
4013
|
var children = _ref.children,
|
|
4014
4014
|
className = _ref.className,
|
|
@@ -4020,7 +4020,7 @@
|
|
|
4020
4020
|
invertHorizontal = _ref$invertHorizontal === void 0 ? false : _ref$invertHorizontal,
|
|
4021
4021
|
_ref$invertVertical = _ref.invertVertical,
|
|
4022
4022
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
4023
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4023
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
4024
4024
|
|
|
4025
4025
|
var _useState = React.useState({
|
|
4026
4026
|
top: 0,
|
|
@@ -4120,14 +4120,14 @@
|
|
|
4120
4120
|
return ref;
|
|
4121
4121
|
};
|
|
4122
4122
|
|
|
4123
|
-
var _excluded$
|
|
4123
|
+
var _excluded$q = ["as", "className", "invert"];
|
|
4124
4124
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4125
4125
|
var _ref$as = _ref.as,
|
|
4126
4126
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
4127
4127
|
className = _ref.className,
|
|
4128
4128
|
_ref$invert = _ref.invert,
|
|
4129
4129
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
4130
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4130
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
4131
4131
|
|
|
4132
4132
|
var internalRef = useInitScrollRef(null, invert);
|
|
4133
4133
|
var handleRef = useForkRef(internalRef, ref);
|
|
@@ -4561,7 +4561,7 @@
|
|
|
4561
4561
|
});
|
|
4562
4562
|
StyledInput.displayName = "StyledInput";
|
|
4563
4563
|
|
|
4564
|
-
var _excluded$
|
|
4564
|
+
var _excluded$p = ["className", "type", "disabled"];
|
|
4565
4565
|
var Input = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4566
4566
|
var _ref$className = _ref.className,
|
|
4567
4567
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -4569,7 +4569,7 @@
|
|
|
4569
4569
|
type = _ref$type === void 0 ? "text" : _ref$type,
|
|
4570
4570
|
_ref$disabled = _ref.disabled,
|
|
4571
4571
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
4572
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4572
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
4573
4573
|
|
|
4574
4574
|
return /*#__PURE__*/React__default["default"].createElement(StyledInput, _extends({
|
|
4575
4575
|
ref: ref,
|
|
@@ -4628,7 +4628,7 @@
|
|
|
4628
4628
|
};
|
|
4629
4629
|
OptionContent.displayName = "OptionContent";
|
|
4630
4630
|
|
|
4631
|
-
var _excluded$
|
|
4631
|
+
var _excluded$o = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose"];
|
|
4632
4632
|
var Select = function Select(_ref) {
|
|
4633
4633
|
var _ref$type = _ref.type,
|
|
4634
4634
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -4658,7 +4658,7 @@
|
|
|
4658
4658
|
keepSameOptionsOrder = _ref$keepSameOptionsO === void 0 ? false : _ref$keepSameOptionsO,
|
|
4659
4659
|
onSelectOpen = _ref.onSelectOpen,
|
|
4660
4660
|
onSelectClose = _ref.onSelectClose,
|
|
4661
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
4661
|
+
prop = _objectWithoutProperties(_ref, _excluded$o);
|
|
4662
4662
|
|
|
4663
4663
|
var _useState = React.useState(),
|
|
4664
4664
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -4933,7 +4933,7 @@
|
|
|
4933
4933
|
});
|
|
4934
4934
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
4935
4935
|
|
|
4936
|
-
var _excluded$
|
|
4936
|
+
var _excluded$n = ["children", "active", "disabled", "className", "role"];
|
|
4937
4937
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
4938
4938
|
var children = _ref.children,
|
|
4939
4939
|
_ref$active = _ref.active,
|
|
@@ -4942,7 +4942,7 @@
|
|
|
4942
4942
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
4943
4943
|
className = _ref.className,
|
|
4944
4944
|
role = _ref.role,
|
|
4945
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4945
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
4946
4946
|
|
|
4947
4947
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
4948
4948
|
className: classnames__default["default"]("c-nav__item", {
|
|
@@ -4984,11 +4984,11 @@
|
|
|
4984
4984
|
});
|
|
4985
4985
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
4986
4986
|
|
|
4987
|
-
var _excluded$
|
|
4987
|
+
var _excluded$m = ["expanded"];
|
|
4988
4988
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4989
4989
|
var _ref$expanded = _ref.expanded,
|
|
4990
4990
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
4991
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4991
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
4992
4992
|
|
|
4993
4993
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
4994
4994
|
ref: ref,
|
|
@@ -5301,11 +5301,11 @@
|
|
|
5301
5301
|
};
|
|
5302
5302
|
Nav.displayName = "Nav";
|
|
5303
5303
|
|
|
5304
|
-
var _excluded$
|
|
5304
|
+
var _excluded$l = ["expanded"];
|
|
5305
5305
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5306
5306
|
var _ref$expanded = _ref.expanded,
|
|
5307
5307
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
5308
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5308
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
5309
5309
|
|
|
5310
5310
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
5311
5311
|
ref: ref,
|
|
@@ -5350,11 +5350,11 @@
|
|
|
5350
5350
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
5351
5351
|
StyledListSeparator.displayName = "StyledListSeparator";
|
|
5352
5352
|
|
|
5353
|
-
var _excluded$
|
|
5353
|
+
var _excluded$k = ["children", "className"];
|
|
5354
5354
|
var List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5355
5355
|
var children = _ref.children,
|
|
5356
5356
|
className = _ref.className,
|
|
5357
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5357
|
+
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
5358
5358
|
|
|
5359
5359
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({}, props, {
|
|
5360
5360
|
className: className,
|
|
@@ -5363,11 +5363,11 @@
|
|
|
5363
5363
|
});
|
|
5364
5364
|
List.displayName = "List";
|
|
5365
5365
|
|
|
5366
|
-
var _excluded$
|
|
5366
|
+
var _excluded$j = ["children", "className"];
|
|
5367
5367
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5368
5368
|
var children = _ref.children,
|
|
5369
5369
|
className = _ref.className,
|
|
5370
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5370
|
+
props = _objectWithoutProperties(_ref, _excluded$j);
|
|
5371
5371
|
|
|
5372
5372
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({}, props, {
|
|
5373
5373
|
className: classnames__default["default"]("c-list-item", className),
|
|
@@ -7417,12 +7417,12 @@
|
|
|
7417
7417
|
});
|
|
7418
7418
|
StyledTextarea.displayName = "StyledTextarea";
|
|
7419
7419
|
|
|
7420
|
-
var _excluded$
|
|
7420
|
+
var _excluded$i = ["className", "disabled"];
|
|
7421
7421
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7422
7422
|
var className = _ref.className,
|
|
7423
7423
|
_ref$disabled = _ref.disabled,
|
|
7424
7424
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7425
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7425
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
7426
7426
|
|
|
7427
7427
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
7428
7428
|
ref: ref,
|
|
@@ -7468,7 +7468,7 @@
|
|
|
7468
7468
|
});
|
|
7469
7469
|
StyledModalOverlay.displayName = "StyledModalOverlay";
|
|
7470
7470
|
|
|
7471
|
-
var _excluded$
|
|
7471
|
+
var _excluded$h = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "open", "onClose"];
|
|
7472
7472
|
|
|
7473
7473
|
var getHasTransition = function getHasTransition(children) {
|
|
7474
7474
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
@@ -7487,7 +7487,7 @@
|
|
|
7487
7487
|
_ref$open = _ref.open,
|
|
7488
7488
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
7489
7489
|
onClose = _ref.onClose,
|
|
7490
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7490
|
+
rest = _objectWithoutProperties(_ref, _excluded$h);
|
|
7491
7491
|
|
|
7492
7492
|
var _useState = React.useState(defaultOpen),
|
|
7493
7493
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7634,7 +7634,7 @@
|
|
|
7634
7634
|
});
|
|
7635
7635
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
7636
7636
|
|
|
7637
|
-
var _excluded$
|
|
7637
|
+
var _excluded$g = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
7638
7638
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7639
7639
|
var children = _ref.children,
|
|
7640
7640
|
onClose = _ref.onClose,
|
|
@@ -7658,7 +7658,7 @@
|
|
|
7658
7658
|
bodyClassName = _ref.bodyClassName,
|
|
7659
7659
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
7660
7660
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
7661
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7661
|
+
rest = _objectWithoutProperties(_ref, _excluded$g);
|
|
7662
7662
|
|
|
7663
7663
|
var _useState = React.useState(defaultOpen),
|
|
7664
7664
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7752,11 +7752,11 @@
|
|
|
7752
7752
|
})(["height:4rem;padding:0 1rem;display:flex;overflow:hidden;min-width:350px;@media screen and (max-width:350px){overflow:auto;}"]);
|
|
7753
7753
|
StyledHeader.displayName = "StyledHeader";
|
|
7754
7754
|
|
|
7755
|
-
var _excluded$
|
|
7755
|
+
var _excluded$f = ["className", "children"];
|
|
7756
7756
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7757
7757
|
var className = _ref.className,
|
|
7758
7758
|
children = _ref.children,
|
|
7759
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7759
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
7760
7760
|
|
|
7761
7761
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
7762
7762
|
type: "paper-2",
|
|
@@ -7772,7 +7772,7 @@
|
|
|
7772
7772
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
7773
7773
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
7774
7774
|
|
|
7775
|
-
var _excluded$
|
|
7775
|
+
var _excluded$e = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
7776
7776
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7777
7777
|
var _ref$minRows = _ref.minRows,
|
|
7778
7778
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -7788,7 +7788,7 @@
|
|
|
7788
7788
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
7789
7789
|
onKeyDown = _ref.onKeyDown,
|
|
7790
7790
|
value = _ref.value,
|
|
7791
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7791
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
7792
7792
|
|
|
7793
7793
|
var innerRef = React.useRef(null);
|
|
7794
7794
|
|
|
@@ -8103,7 +8103,7 @@
|
|
|
8103
8103
|
});
|
|
8104
8104
|
StyledChoose.displayName = "StyledChoose";
|
|
8105
8105
|
|
|
8106
|
-
var _excluded$
|
|
8106
|
+
var _excluded$d = ["children", "disabled", "active", "className"];
|
|
8107
8107
|
|
|
8108
8108
|
/**
|
|
8109
8109
|
* Choose component
|
|
@@ -8115,7 +8115,7 @@
|
|
|
8115
8115
|
_ref$active = _ref.active,
|
|
8116
8116
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
8117
8117
|
className = _ref.className,
|
|
8118
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8118
|
+
args = _objectWithoutProperties(_ref, _excluded$d);
|
|
8119
8119
|
|
|
8120
8120
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
8121
8121
|
disabled: disabled,
|
|
@@ -8208,7 +8208,7 @@
|
|
|
8208
8208
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
8209
8209
|
StyledLink.displayName = "StyledLink";
|
|
8210
8210
|
|
|
8211
|
-
var _excluded$
|
|
8211
|
+
var _excluded$c = ["children", "className"];
|
|
8212
8212
|
|
|
8213
8213
|
/**
|
|
8214
8214
|
* Back link component
|
|
@@ -8216,7 +8216,7 @@
|
|
|
8216
8216
|
var BackLink = function BackLink(_ref) {
|
|
8217
8217
|
var children = _ref.children,
|
|
8218
8218
|
className = _ref.className,
|
|
8219
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8219
|
+
args = _objectWithoutProperties(_ref, _excluded$c);
|
|
8220
8220
|
|
|
8221
8221
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
8222
8222
|
className: classnames__default["default"]("c-back-link", className)
|
|
@@ -8224,7 +8224,7 @@
|
|
|
8224
8224
|
};
|
|
8225
8225
|
BackLink.displayName = "BackLink";
|
|
8226
8226
|
|
|
8227
|
-
var _excluded$
|
|
8227
|
+
var _excluded$b = ["children", "variant", "size", "disabled", "className"];
|
|
8228
8228
|
|
|
8229
8229
|
/**
|
|
8230
8230
|
* Link component
|
|
@@ -8237,7 +8237,7 @@
|
|
|
8237
8237
|
_ref$disabled = _ref.disabled,
|
|
8238
8238
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8239
8239
|
className = _ref.className,
|
|
8240
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8240
|
+
args = _objectWithoutProperties(_ref, _excluded$b);
|
|
8241
8241
|
|
|
8242
8242
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
8243
8243
|
disabled: disabled,
|
|
@@ -8367,11 +8367,11 @@
|
|
|
8367
8367
|
});
|
|
8368
8368
|
Dialog.displayName = "Dialog";
|
|
8369
8369
|
|
|
8370
|
-
var _excluded$
|
|
8370
|
+
var _excluded$a = ["className", "children"];
|
|
8371
8371
|
var DialogContent = function DialogContent(_ref) {
|
|
8372
8372
|
var className = _ref.className,
|
|
8373
8373
|
children = _ref.children,
|
|
8374
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8374
|
+
rest = _objectWithoutProperties(_ref, _excluded$a);
|
|
8375
8375
|
|
|
8376
8376
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
8377
8377
|
className: classnames__default["default"]("c-dialog-content", className)
|
|
@@ -8387,13 +8387,13 @@
|
|
|
8387
8387
|
};
|
|
8388
8388
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
8389
8389
|
|
|
8390
|
-
var _excluded$
|
|
8390
|
+
var _excluded$9 = ["children", "className", "disableDefaultHeading"];
|
|
8391
8391
|
var DialogTitle = function DialogTitle(_ref) {
|
|
8392
8392
|
var children = _ref.children,
|
|
8393
8393
|
className = _ref.className,
|
|
8394
8394
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
8395
8395
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
8396
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8396
|
+
rest = _objectWithoutProperties(_ref, _excluded$9);
|
|
8397
8397
|
|
|
8398
8398
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
8399
8399
|
className: classnames__default["default"]("c-dialog-title-wrapper", className)
|
|
@@ -8401,11 +8401,11 @@
|
|
|
8401
8401
|
};
|
|
8402
8402
|
DialogTitle.displayName = "DialogTitle";
|
|
8403
8403
|
|
|
8404
|
-
var _excluded$
|
|
8404
|
+
var _excluded$8 = ["className", "children"];
|
|
8405
8405
|
var DialogActions = function DialogActions(_ref) {
|
|
8406
8406
|
var className = _ref.className,
|
|
8407
8407
|
children = _ref.children,
|
|
8408
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8408
|
+
rest = _objectWithoutProperties(_ref, _excluded$8);
|
|
8409
8409
|
|
|
8410
8410
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
8411
8411
|
className: classnames__default["default"]("c-dialog-actions", className)
|
|
@@ -8614,7 +8614,7 @@
|
|
|
8614
8614
|
});
|
|
8615
8615
|
StyledPressed.displayName = "StyledPressed";
|
|
8616
8616
|
|
|
8617
|
-
var _excluded$
|
|
8617
|
+
var _excluded$7 = ["children", "active", "className"];
|
|
8618
8618
|
|
|
8619
8619
|
/**
|
|
8620
8620
|
* Pressed wrapper for button component
|
|
@@ -8624,7 +8624,7 @@
|
|
|
8624
8624
|
_ref$active = _ref.active,
|
|
8625
8625
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
8626
8626
|
className = _ref.className,
|
|
8627
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8627
|
+
args = _objectWithoutProperties(_ref, _excluded$7);
|
|
8628
8628
|
|
|
8629
8629
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
8630
8630
|
active: active,
|
|
@@ -9066,6 +9066,8 @@
|
|
|
9066
9066
|
};
|
|
9067
9067
|
SelectDate.displayName = "SelectDate";
|
|
9068
9068
|
|
|
9069
|
+
var _excluded$6 = ["in", "children", "style", "timeout"];
|
|
9070
|
+
|
|
9069
9071
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
9070
9072
|
return {
|
|
9071
9073
|
transition: "all ".concat(duration, "ms ease-in-out"),
|
|
@@ -9090,19 +9092,17 @@
|
|
|
9090
9092
|
var Fade = function Fade(_ref) {
|
|
9091
9093
|
var _ref$in = _ref.in,
|
|
9092
9094
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
9093
|
-
onEnter = _ref.onEnter,
|
|
9094
|
-
onExited = _ref.onExited,
|
|
9095
9095
|
children = _ref.children,
|
|
9096
9096
|
style = _ref.style,
|
|
9097
9097
|
_ref$timeout = _ref.timeout,
|
|
9098
|
-
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout
|
|
9099
|
-
|
|
9098
|
+
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
9099
|
+
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
9100
|
+
|
|
9101
|
+
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
9100
9102
|
appear: true,
|
|
9101
9103
|
in: inProp,
|
|
9102
|
-
timeout: timeout
|
|
9103
|
-
|
|
9104
|
-
onExited: onExited
|
|
9105
|
-
}, function (state) {
|
|
9104
|
+
timeout: timeout
|
|
9105
|
+
}, rest), function (state) {
|
|
9106
9106
|
return /*#__PURE__*/React.cloneElement(children, {
|
|
9107
9107
|
style: _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({
|
|
9108
9108
|
visibility: state === "exited" && !inProp ? "hidden" : undefined
|
|
@@ -9112,7 +9112,7 @@
|
|
|
9112
9112
|
};
|
|
9113
9113
|
Fade.displayName = "Fade";
|
|
9114
9114
|
|
|
9115
|
-
var _excluded$
|
|
9115
|
+
var _excluded$5 = ["in", "children", "style", "timeout", "initialDirection"];
|
|
9116
9116
|
var Slide = function Slide(_ref) {
|
|
9117
9117
|
var _ref$in = _ref.in,
|
|
9118
9118
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -9122,7 +9122,7 @@
|
|
|
9122
9122
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
9123
9123
|
_ref$initialDirection = _ref.initialDirection,
|
|
9124
9124
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
9125
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9125
|
+
rest = _objectWithoutProperties(_ref, _excluded$5);
|
|
9126
9126
|
|
|
9127
9127
|
var directionSign;
|
|
9128
9128
|
|
|
@@ -9182,12 +9182,12 @@
|
|
|
9182
9182
|
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;}"]);
|
|
9183
9183
|
});
|
|
9184
9184
|
|
|
9185
|
-
var _excluded$
|
|
9185
|
+
var _excluded$4 = ["children", "direction"];
|
|
9186
9186
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
9187
9187
|
var children = _ref.children,
|
|
9188
9188
|
_ref$direction = _ref.direction,
|
|
9189
9189
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
9190
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9190
|
+
props = _objectWithoutProperties(_ref, _excluded$4);
|
|
9191
9191
|
|
|
9192
9192
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
9193
9193
|
timeout: 200,
|
|
@@ -9231,6 +9231,8 @@
|
|
|
9231
9231
|
};
|
|
9232
9232
|
ResizeTransition.displayName = "ResizeTransition";
|
|
9233
9233
|
|
|
9234
|
+
var _excluded$3 = ["in", "children", "style", "timeout"];
|
|
9235
|
+
|
|
9234
9236
|
var defaultStyle = function defaultStyle(duration) {
|
|
9235
9237
|
return {
|
|
9236
9238
|
transition: "all ".concat(duration, "ms ease-in"),
|
|
@@ -9261,19 +9263,17 @@
|
|
|
9261
9263
|
var Reveal = function Reveal(_ref) {
|
|
9262
9264
|
var _ref$in = _ref.in,
|
|
9263
9265
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
9264
|
-
onEnter = _ref.onEnter,
|
|
9265
|
-
onExited = _ref.onExited,
|
|
9266
9266
|
children = _ref.children,
|
|
9267
9267
|
style = _ref.style,
|
|
9268
9268
|
_ref$timeout = _ref.timeout,
|
|
9269
|
-
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout
|
|
9270
|
-
|
|
9269
|
+
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
9270
|
+
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
9271
|
+
|
|
9272
|
+
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
9271
9273
|
appear: true,
|
|
9272
9274
|
in: inProp,
|
|
9273
|
-
timeout: timeout
|
|
9274
|
-
|
|
9275
|
-
onExited: onExited
|
|
9276
|
-
}, function (state) {
|
|
9275
|
+
timeout: timeout
|
|
9276
|
+
}, rest), function (state) {
|
|
9277
9277
|
return /*#__PURE__*/React.cloneElement(children, {
|
|
9278
9278
|
style: _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, defaultStyle(inProp ? timeout : 0)), transitionStyles$1[state]), style), children.props.style)
|
|
9279
9279
|
});
|