@activecollab/components 1.0.14 → 1.0.18
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/SelectDate/SelectDate.js +1 -1
- package/dist/cjs/components/SelectDate/SelectDate.js.map +1 -1
- package/dist/cjs/components/Transitions/Slide/Slide.js +14 -9
- package/dist/cjs/components/Transitions/Slide/Slide.js.map +1 -1
- package/dist/cjs/components/Transitions/SlideLeftRightTransition/SlideLeftRightTransition.js +18 -45
- package/dist/cjs/components/Transitions/SlideLeftRightTransition/SlideLeftRightTransition.js.map +1 -1
- package/dist/cjs/components/Transitions/SlideLeftRightTransition/Styles.js +16 -0
- package/dist/cjs/components/Transitions/SlideLeftRightTransition/Styles.js.map +1 -0
- package/dist/esm/components/SelectDate/SelectDate.d.ts.map +1 -1
- package/dist/esm/components/SelectDate/SelectDate.js +1 -1
- package/dist/esm/components/SelectDate/SelectDate.js.map +1 -1
- package/dist/esm/components/Transitions/Slide/Slide.d.ts.map +1 -1
- package/dist/esm/components/Transitions/Slide/Slide.js +8 -9
- package/dist/esm/components/Transitions/Slide/Slide.js.map +1 -1
- package/dist/esm/components/Transitions/SlideLeftRightTransition/SlideLeftRightTransition.d.ts +0 -1
- package/dist/esm/components/Transitions/SlideLeftRightTransition/SlideLeftRightTransition.d.ts.map +1 -1
- package/dist/esm/components/Transitions/SlideLeftRightTransition/SlideLeftRightTransition.js +15 -39
- package/dist/esm/components/Transitions/SlideLeftRightTransition/SlideLeftRightTransition.js.map +1 -1
- package/dist/esm/components/Transitions/SlideLeftRightTransition/Styles.d.ts +4 -0
- package/dist/esm/components/Transitions/SlideLeftRightTransition/Styles.d.ts.map +1 -0
- package/dist/esm/components/Transitions/SlideLeftRightTransition/Styles.js +7 -0
- package/dist/esm/components/Transitions/SlideLeftRightTransition/Styles.js.map +1 -0
- package/dist/index.js +127 -149
- 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
|
@@ -312,7 +312,7 @@
|
|
|
312
312
|
})(["display:inline-flex;svg{margin:0 4px;}"]);
|
|
313
313
|
StyledButtonElement.displayName = "StyledButtonElement";
|
|
314
314
|
|
|
315
|
-
var _excluded$
|
|
315
|
+
var _excluded$T = ["children", "variant", "size", "disabled", "className"];
|
|
316
316
|
|
|
317
317
|
/**
|
|
318
318
|
* Button component
|
|
@@ -325,7 +325,7 @@
|
|
|
325
325
|
_ref$disabled = _ref.disabled,
|
|
326
326
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
327
327
|
className = _ref.className,
|
|
328
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
328
|
+
args = _objectWithoutProperties(_ref, _excluded$T);
|
|
329
329
|
|
|
330
330
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$1, _extends({
|
|
331
331
|
disabled: disabled,
|
|
@@ -377,12 +377,12 @@
|
|
|
377
377
|
})(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
|
|
378
378
|
StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
|
|
379
379
|
|
|
380
|
-
var _excluded$
|
|
380
|
+
var _excluded$S = ["className", "disabled"];
|
|
381
381
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
382
382
|
var className = _ref.className,
|
|
383
383
|
_ref$disabled = _ref.disabled,
|
|
384
384
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
385
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
385
|
+
rest = _objectWithoutProperties(_ref, _excluded$S);
|
|
386
386
|
|
|
387
387
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
388
388
|
ref: ref,
|
|
@@ -415,11 +415,11 @@
|
|
|
415
415
|
});
|
|
416
416
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
417
417
|
|
|
418
|
-
var _excluded$
|
|
418
|
+
var _excluded$R = ["children", "className"];
|
|
419
419
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
420
420
|
var children = _ref.children,
|
|
421
421
|
className = _ref.className,
|
|
422
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
422
|
+
rest = _objectWithoutProperties(_ref, _excluded$R);
|
|
423
423
|
|
|
424
424
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
425
425
|
ref: ref,
|
|
@@ -445,7 +445,7 @@
|
|
|
445
445
|
}, [refA, refB]);
|
|
446
446
|
}
|
|
447
447
|
|
|
448
|
-
var _excluded$
|
|
448
|
+
var _excluded$Q = ["children", "anchorEl", "open", "style", "transition", "placement"];
|
|
449
449
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
450
450
|
var children = _ref.children,
|
|
451
451
|
anchorEl = _ref.anchorEl,
|
|
@@ -456,7 +456,7 @@
|
|
|
456
456
|
transition = _ref$transition === void 0 ? false : _ref$transition,
|
|
457
457
|
_ref$placement = _ref.placement,
|
|
458
458
|
initialPlacement = _ref$placement === void 0 ? "bottom" : _ref$placement,
|
|
459
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
459
|
+
rest = _objectWithoutProperties(_ref, _excluded$Q);
|
|
460
460
|
|
|
461
461
|
var _useState = React.useState(true),
|
|
462
462
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -628,11 +628,11 @@
|
|
|
628
628
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
629
629
|
});
|
|
630
630
|
|
|
631
|
-
var _excluded$
|
|
631
|
+
var _excluded$P = ["children"];
|
|
632
632
|
|
|
633
633
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
634
634
|
var children = _ref.children,
|
|
635
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
635
|
+
props = _objectWithoutProperties(_ref, _excluded$P);
|
|
636
636
|
|
|
637
637
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
638
638
|
timeout: 0
|
|
@@ -852,7 +852,7 @@
|
|
|
852
852
|
});
|
|
853
853
|
StyledTypography.displayName = "StyledTypography";
|
|
854
854
|
|
|
855
|
-
var _excluded$
|
|
855
|
+
var _excluded$O = ["variant", "Tag", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
856
856
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
857
857
|
var _ref$variant = _ref.variant,
|
|
858
858
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -884,7 +884,7 @@
|
|
|
884
884
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
885
885
|
className = _ref.className,
|
|
886
886
|
children = _ref.children,
|
|
887
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
887
|
+
props = _objectWithoutProperties(_ref, _excluded$O);
|
|
888
888
|
|
|
889
889
|
var innerRef = React.useRef(null);
|
|
890
890
|
var handleRef = useForkRef(ref, innerRef);
|
|
@@ -909,12 +909,12 @@
|
|
|
909
909
|
});
|
|
910
910
|
Typography.displayName = "Typography";
|
|
911
911
|
|
|
912
|
-
var _excluded$
|
|
912
|
+
var _excluded$N = ["weight", "children"];
|
|
913
913
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
914
914
|
var _ref$weight = _ref.weight,
|
|
915
915
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
916
916
|
children = _ref.children,
|
|
917
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
917
|
+
props = _objectWithoutProperties(_ref, _excluded$N);
|
|
918
918
|
|
|
919
919
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
920
920
|
variant: "Body 2",
|
|
@@ -955,7 +955,7 @@
|
|
|
955
955
|
});
|
|
956
956
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
957
957
|
|
|
958
|
-
var _excluded$
|
|
958
|
+
var _excluded$M = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
|
|
959
959
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
960
960
|
var label = _ref.label,
|
|
961
961
|
icon = _ref.icon,
|
|
@@ -965,7 +965,7 @@
|
|
|
965
965
|
tooltipText = _ref.tooltipText,
|
|
966
966
|
onClearAll = _ref.onClearAll,
|
|
967
967
|
className = _ref.className,
|
|
968
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
968
|
+
args = _objectWithoutProperties(_ref, _excluded$M);
|
|
969
969
|
|
|
970
970
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
971
971
|
className: classnames__default["default"]("tw-flex ac-font box-sizing", className)
|
|
@@ -1335,7 +1335,7 @@
|
|
|
1335
1335
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
1336
1336
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
1337
1337
|
|
|
1338
|
-
var _excluded$
|
|
1338
|
+
var _excluded$L = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
1339
1339
|
var DatePicker = function DatePicker(_ref) {
|
|
1340
1340
|
var className = _ref.className,
|
|
1341
1341
|
onChange = _ref.onChange,
|
|
@@ -1357,7 +1357,7 @@
|
|
|
1357
1357
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
1358
1358
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
1359
1359
|
defaultModifiers = _ref.modifiers,
|
|
1360
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1360
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
1361
1361
|
|
|
1362
1362
|
var _useState = React.useState(),
|
|
1363
1363
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -1700,10 +1700,10 @@
|
|
|
1700
1700
|
})(["position:fixed;top:0;right:0;bottom:0;left:0;"]);
|
|
1701
1701
|
StyledOverlay.displayName = "StyledOverlay";
|
|
1702
1702
|
|
|
1703
|
-
var _excluded$
|
|
1703
|
+
var _excluded$K = ["className"];
|
|
1704
1704
|
var Overlay = function Overlay(_ref) {
|
|
1705
1705
|
var className = _ref.className,
|
|
1706
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1706
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
1707
1707
|
|
|
1708
1708
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
1709
1709
|
className: classnames__default["default"]("c-overlay", className)
|
|
@@ -1717,7 +1717,7 @@
|
|
|
1717
1717
|
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
|
|
1718
1718
|
StyledWindow.displayName = "StyledWindow";
|
|
1719
1719
|
|
|
1720
|
-
var _excluded$
|
|
1720
|
+
var _excluded$J = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock"];
|
|
1721
1721
|
var returnFocus = {
|
|
1722
1722
|
preventScroll: true
|
|
1723
1723
|
};
|
|
@@ -1731,7 +1731,7 @@
|
|
|
1731
1731
|
disableFocusLock = _ref$disableFocusLock === void 0 ? false : _ref$disableFocusLock,
|
|
1732
1732
|
_ref$disableScrollLoc = _ref.disableScrollLock,
|
|
1733
1733
|
disableScrollLock = _ref$disableScrollLoc === void 0 ? false : _ref$disableScrollLoc,
|
|
1734
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1734
|
+
rest = _objectWithoutProperties(_ref, _excluded$J);
|
|
1735
1735
|
|
|
1736
1736
|
var innerRef = React.useRef(null);
|
|
1737
1737
|
var handleRef = useForkRef(innerRef, ref);
|
|
@@ -1797,7 +1797,7 @@
|
|
|
1797
1797
|
}, FontStyle, BoxSizingStyle);
|
|
1798
1798
|
StyledBubble.displayName = "StyledBubble";
|
|
1799
1799
|
|
|
1800
|
-
var _excluded$
|
|
1800
|
+
var _excluded$I = ["children", "className", "innerRef", "style"];
|
|
1801
1801
|
var Bubble = function Bubble(_ref) {
|
|
1802
1802
|
var children = _ref.children,
|
|
1803
1803
|
className = _ref.className,
|
|
@@ -1805,7 +1805,7 @@
|
|
|
1805
1805
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
1806
1806
|
_ref$style = _ref.style,
|
|
1807
1807
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
1808
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1808
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
1809
1809
|
|
|
1810
1810
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
1811
1811
|
ref: innerRef,
|
|
@@ -1948,13 +1948,13 @@
|
|
|
1948
1948
|
};
|
|
1949
1949
|
Menu.displayName = "Menu";
|
|
1950
1950
|
|
|
1951
|
-
var _excluded$
|
|
1951
|
+
var _excluded$H = ["title", "className", "leftElement", "rightElement"];
|
|
1952
1952
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1953
1953
|
var title = _ref.title,
|
|
1954
1954
|
className = _ref.className,
|
|
1955
1955
|
leftElement = _ref.leftElement,
|
|
1956
1956
|
rightElement = _ref.rightElement,
|
|
1957
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1957
|
+
props = _objectWithoutProperties(_ref, _excluded$H);
|
|
1958
1958
|
|
|
1959
1959
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
1960
1960
|
className: classnames__default["default"]("c-menu-header", className),
|
|
@@ -1977,11 +1977,11 @@
|
|
|
1977
1977
|
});
|
|
1978
1978
|
MenuHeader.displayName = "MenuHeader";
|
|
1979
1979
|
|
|
1980
|
-
var _excluded$
|
|
1980
|
+
var _excluded$G = ["children", "className"];
|
|
1981
1981
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1982
1982
|
var children = _ref.children,
|
|
1983
1983
|
className = _ref.className,
|
|
1984
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1984
|
+
props = _objectWithoutProperties(_ref, _excluded$G);
|
|
1985
1985
|
|
|
1986
1986
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter, _extends({}, props, {
|
|
1987
1987
|
className: classnames__default["default"]("c-menu-footer", className),
|
|
@@ -2650,7 +2650,7 @@
|
|
|
2650
2650
|
SortIcon.displayName = "SortIcon";
|
|
2651
2651
|
var SortIcon$1 = SortIcon;
|
|
2652
2652
|
|
|
2653
|
-
var _excluded$
|
|
2653
|
+
var _excluded$F = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue"];
|
|
2654
2654
|
exports.SortDirection = void 0;
|
|
2655
2655
|
|
|
2656
2656
|
(function (SortDirection) {
|
|
@@ -2700,7 +2700,7 @@
|
|
|
2700
2700
|
} : _ref$groupHead,
|
|
2701
2701
|
isCollapsible = _ref.isCollapsible,
|
|
2702
2702
|
emptyValue = _ref.emptyValue,
|
|
2703
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
2703
|
+
args = _objectWithoutProperties(_ref, _excluded$F);
|
|
2704
2704
|
|
|
2705
2705
|
var _useState = React.useState(sortDirection),
|
|
2706
2706
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -3114,7 +3114,7 @@
|
|
|
3114
3114
|
});
|
|
3115
3115
|
StyledPaper.displayName = "StyledPaper";
|
|
3116
3116
|
|
|
3117
|
-
var _excluded$
|
|
3117
|
+
var _excluded$E = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
3118
3118
|
|
|
3119
3119
|
/**
|
|
3120
3120
|
* This is a component description and should sit directly above your component
|
|
@@ -3128,7 +3128,7 @@
|
|
|
3128
3128
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
3129
3129
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
3130
3130
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
3131
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3131
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
3132
3132
|
|
|
3133
3133
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
3134
3134
|
className: classnames__default["default"](className, {
|
|
@@ -3182,7 +3182,7 @@
|
|
|
3182
3182
|
});
|
|
3183
3183
|
StyledCard.displayName = "StyledCard";
|
|
3184
3184
|
|
|
3185
|
-
var _excluded$
|
|
3185
|
+
var _excluded$D = ["children", "className", "hoverable", "paperType"];
|
|
3186
3186
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3187
3187
|
var children = _ref.children,
|
|
3188
3188
|
className = _ref.className,
|
|
@@ -3190,7 +3190,7 @@
|
|
|
3190
3190
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
3191
3191
|
_ref$paperType = _ref.paperType,
|
|
3192
3192
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
3193
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3193
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
3194
3194
|
|
|
3195
3195
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
3196
3196
|
type: paperType,
|
|
@@ -3283,12 +3283,12 @@
|
|
|
3283
3283
|
});
|
|
3284
3284
|
EntityCard.displayName = "EntityCard";
|
|
3285
3285
|
|
|
3286
|
-
var _excluded$
|
|
3286
|
+
var _excluded$C = ["weight", "children"];
|
|
3287
3287
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3288
3288
|
var _ref$weight = _ref.weight,
|
|
3289
3289
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
3290
3290
|
children = _ref.children,
|
|
3291
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3291
|
+
props = _objectWithoutProperties(_ref, _excluded$C);
|
|
3292
3292
|
|
|
3293
3293
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3294
3294
|
weight: weight,
|
|
@@ -3298,10 +3298,10 @@
|
|
|
3298
3298
|
});
|
|
3299
3299
|
Title1.displayName = "Title1";
|
|
3300
3300
|
|
|
3301
|
-
var _excluded$
|
|
3301
|
+
var _excluded$B = ["children"];
|
|
3302
3302
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3303
3303
|
var children = _ref.children,
|
|
3304
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3304
|
+
props = _objectWithoutProperties(_ref, _excluded$B);
|
|
3305
3305
|
|
|
3306
3306
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3307
3307
|
weight: "bold",
|
|
@@ -3311,10 +3311,10 @@
|
|
|
3311
3311
|
});
|
|
3312
3312
|
Header2.displayName = "Header2";
|
|
3313
3313
|
|
|
3314
|
-
var _excluded$
|
|
3314
|
+
var _excluded$A = ["children"];
|
|
3315
3315
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3316
3316
|
var children = _ref.children,
|
|
3317
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3317
|
+
props = _objectWithoutProperties(_ref, _excluded$A);
|
|
3318
3318
|
|
|
3319
3319
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3320
3320
|
weight: "bold",
|
|
@@ -3324,12 +3324,12 @@
|
|
|
3324
3324
|
});
|
|
3325
3325
|
Header3.displayName = "Header3";
|
|
3326
3326
|
|
|
3327
|
-
var _excluded$
|
|
3327
|
+
var _excluded$z = ["weight", "children"];
|
|
3328
3328
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3329
3329
|
var _ref$weight = _ref.weight,
|
|
3330
3330
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
3331
3331
|
children = _ref.children,
|
|
3332
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3332
|
+
props = _objectWithoutProperties(_ref, _excluded$z);
|
|
3333
3333
|
|
|
3334
3334
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3335
3335
|
variant: "Body 1",
|
|
@@ -3339,12 +3339,12 @@
|
|
|
3339
3339
|
});
|
|
3340
3340
|
Body1.displayName = "Body1";
|
|
3341
3341
|
|
|
3342
|
-
var _excluded$
|
|
3342
|
+
var _excluded$y = ["weight", "children"];
|
|
3343
3343
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3344
3344
|
var _ref$weight = _ref.weight,
|
|
3345
3345
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
3346
3346
|
children = _ref.children,
|
|
3347
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3347
|
+
props = _objectWithoutProperties(_ref, _excluded$y);
|
|
3348
3348
|
|
|
3349
3349
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3350
3350
|
variant: "Caption 1",
|
|
@@ -3354,12 +3354,12 @@
|
|
|
3354
3354
|
});
|
|
3355
3355
|
Caption1.displayName = "Caption1";
|
|
3356
3356
|
|
|
3357
|
-
var _excluded$
|
|
3357
|
+
var _excluded$x = ["weight", "children"];
|
|
3358
3358
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3359
3359
|
var _ref$weight = _ref.weight,
|
|
3360
3360
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
3361
3361
|
children = _ref.children,
|
|
3362
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3362
|
+
props = _objectWithoutProperties(_ref, _excluded$x);
|
|
3363
3363
|
|
|
3364
3364
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3365
3365
|
variant: "Caption 2",
|
|
@@ -3478,7 +3478,7 @@
|
|
|
3478
3478
|
"borderRadius": "9999px"
|
|
3479
3479
|
});
|
|
3480
3480
|
|
|
3481
|
-
var _excluded$
|
|
3481
|
+
var _excluded$w = ["url", "alt", "size", "className"];
|
|
3482
3482
|
var Avatar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3483
3483
|
var url = _ref.url,
|
|
3484
3484
|
_ref$alt = _ref.alt,
|
|
@@ -3486,7 +3486,7 @@
|
|
|
3486
3486
|
_ref$size = _ref.size,
|
|
3487
3487
|
size = _ref$size === void 0 ? 24 : _ref$size,
|
|
3488
3488
|
className = _ref.className,
|
|
3489
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3489
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
3490
3490
|
|
|
3491
3491
|
return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({}, rest, {
|
|
3492
3492
|
ref: ref,
|
|
@@ -3533,7 +3533,7 @@
|
|
|
3533
3533
|
});
|
|
3534
3534
|
StyledLabelText.displayName = "StyledLabelText";
|
|
3535
3535
|
|
|
3536
|
-
var _excluded$
|
|
3536
|
+
var _excluded$v = ["name", "color", "showText", "showDot", "className"];
|
|
3537
3537
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3538
3538
|
var name = _ref.name,
|
|
3539
3539
|
color = _ref.color,
|
|
@@ -3542,7 +3542,7 @@
|
|
|
3542
3542
|
_ref$showDot = _ref.showDot,
|
|
3543
3543
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
3544
3544
|
className = _ref.className,
|
|
3545
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3545
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
3546
3546
|
|
|
3547
3547
|
return /*#__PURE__*/React__default["default"].createElement(StyledLabel$1, _extends({
|
|
3548
3548
|
className: classnames__default["default"]("c-label", className),
|
|
@@ -3562,10 +3562,10 @@
|
|
|
3562
3562
|
componentId: "sc-x4ge7a-0"
|
|
3563
3563
|
})(["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);
|
|
3564
3564
|
|
|
3565
|
-
var _excluded$
|
|
3565
|
+
var _excluded$u = ["className"];
|
|
3566
3566
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3567
3567
|
var className = _ref.className,
|
|
3568
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3568
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
3569
3569
|
|
|
3570
3570
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
3571
3571
|
ref: ref,
|
|
@@ -3580,10 +3580,10 @@
|
|
|
3580
3580
|
componentId: "sc-1f35d5h-0"
|
|
3581
3581
|
})(["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);
|
|
3582
3582
|
|
|
3583
|
-
var _excluded$
|
|
3583
|
+
var _excluded$t = ["className"];
|
|
3584
3584
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3585
3585
|
var className = _ref.className,
|
|
3586
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3586
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
3587
3587
|
|
|
3588
3588
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
3589
3589
|
ref: ref,
|
|
@@ -3599,10 +3599,10 @@
|
|
|
3599
3599
|
componentId: "sc-1ht53g9-0"
|
|
3600
3600
|
})(["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);
|
|
3601
3601
|
|
|
3602
|
-
var _excluded$
|
|
3602
|
+
var _excluded$s = ["className"];
|
|
3603
3603
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3604
3604
|
var className = _ref.className,
|
|
3605
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3605
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
3606
3606
|
|
|
3607
3607
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader, _extends({
|
|
3608
3608
|
ref: ref,
|
|
@@ -3664,7 +3664,7 @@
|
|
|
3664
3664
|
}, StyledInput$1, StyledLabel);
|
|
3665
3665
|
StyledCheckbox.displayName = "StyledCheckbox";
|
|
3666
3666
|
|
|
3667
|
-
var _excluded$
|
|
3667
|
+
var _excluded$r = ["className", "hover", "id"];
|
|
3668
3668
|
|
|
3669
3669
|
/**
|
|
3670
3670
|
* Checkbox component
|
|
@@ -3674,7 +3674,7 @@
|
|
|
3674
3674
|
hover = _ref.hover,
|
|
3675
3675
|
_ref$id = _ref.id,
|
|
3676
3676
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
3677
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3677
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
3678
3678
|
|
|
3679
3679
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox, {
|
|
3680
3680
|
className: classnames__default["default"]("c-checkbox", {
|
|
@@ -3747,14 +3747,14 @@
|
|
|
3747
3747
|
}, StyledRadioLabel);
|
|
3748
3748
|
StyledRadioButton.displayName = "StyledRadioButton";
|
|
3749
3749
|
|
|
3750
|
-
var _excluded$
|
|
3750
|
+
var _excluded$q = ["className", "id", "hover"];
|
|
3751
3751
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3752
3752
|
var _ref$className = _ref.className,
|
|
3753
3753
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
3754
3754
|
_ref$id = _ref.id,
|
|
3755
3755
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
3756
3756
|
hover = _ref.hover,
|
|
3757
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3757
|
+
props = _objectWithoutProperties(_ref, _excluded$q);
|
|
3758
3758
|
|
|
3759
3759
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton, {
|
|
3760
3760
|
className: classnames__default["default"]("c-radio-btn", {
|
|
@@ -4006,7 +4006,7 @@
|
|
|
4006
4006
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
4007
4007
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
4008
4008
|
|
|
4009
|
-
var _excluded$
|
|
4009
|
+
var _excluded$p = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical"];
|
|
4010
4010
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4011
4011
|
var children = _ref.children,
|
|
4012
4012
|
className = _ref.className,
|
|
@@ -4018,7 +4018,7 @@
|
|
|
4018
4018
|
invertHorizontal = _ref$invertHorizontal === void 0 ? false : _ref$invertHorizontal,
|
|
4019
4019
|
_ref$invertVertical = _ref.invertVertical,
|
|
4020
4020
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
4021
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4021
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
4022
4022
|
|
|
4023
4023
|
var _useState = React.useState({
|
|
4024
4024
|
top: 0,
|
|
@@ -4118,14 +4118,14 @@
|
|
|
4118
4118
|
return ref;
|
|
4119
4119
|
};
|
|
4120
4120
|
|
|
4121
|
-
var _excluded$
|
|
4121
|
+
var _excluded$o = ["as", "className", "invert"];
|
|
4122
4122
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4123
4123
|
var _ref$as = _ref.as,
|
|
4124
4124
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
4125
4125
|
className = _ref.className,
|
|
4126
4126
|
_ref$invert = _ref.invert,
|
|
4127
4127
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
4128
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4128
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
4129
4129
|
|
|
4130
4130
|
var internalRef = useInitScrollRef(null, invert);
|
|
4131
4131
|
var handleRef = useForkRef(internalRef, ref);
|
|
@@ -4559,7 +4559,7 @@
|
|
|
4559
4559
|
});
|
|
4560
4560
|
StyledInput.displayName = "StyledInput";
|
|
4561
4561
|
|
|
4562
|
-
var _excluded$
|
|
4562
|
+
var _excluded$n = ["className", "type", "disabled"];
|
|
4563
4563
|
var Input = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4564
4564
|
var _ref$className = _ref.className,
|
|
4565
4565
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -4567,7 +4567,7 @@
|
|
|
4567
4567
|
type = _ref$type === void 0 ? "text" : _ref$type,
|
|
4568
4568
|
_ref$disabled = _ref.disabled,
|
|
4569
4569
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
4570
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4570
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
4571
4571
|
|
|
4572
4572
|
return /*#__PURE__*/React__default["default"].createElement(StyledInput, _extends({
|
|
4573
4573
|
ref: ref,
|
|
@@ -4626,7 +4626,7 @@
|
|
|
4626
4626
|
};
|
|
4627
4627
|
OptionContent.displayName = "OptionContent";
|
|
4628
4628
|
|
|
4629
|
-
var _excluded$
|
|
4629
|
+
var _excluded$m = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose"];
|
|
4630
4630
|
var Select = function Select(_ref) {
|
|
4631
4631
|
var _ref$type = _ref.type,
|
|
4632
4632
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -4656,7 +4656,7 @@
|
|
|
4656
4656
|
keepSameOptionsOrder = _ref$keepSameOptionsO === void 0 ? false : _ref$keepSameOptionsO,
|
|
4657
4657
|
onSelectOpen = _ref.onSelectOpen,
|
|
4658
4658
|
onSelectClose = _ref.onSelectClose,
|
|
4659
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
4659
|
+
prop = _objectWithoutProperties(_ref, _excluded$m);
|
|
4660
4660
|
|
|
4661
4661
|
var _useState = React.useState(),
|
|
4662
4662
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -4931,7 +4931,7 @@
|
|
|
4931
4931
|
});
|
|
4932
4932
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
4933
4933
|
|
|
4934
|
-
var _excluded$
|
|
4934
|
+
var _excluded$l = ["children", "active", "disabled", "className", "role"];
|
|
4935
4935
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
4936
4936
|
var children = _ref.children,
|
|
4937
4937
|
_ref$active = _ref.active,
|
|
@@ -4940,7 +4940,7 @@
|
|
|
4940
4940
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
4941
4941
|
className = _ref.className,
|
|
4942
4942
|
role = _ref.role,
|
|
4943
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4943
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
4944
4944
|
|
|
4945
4945
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
4946
4946
|
className: classnames__default["default"]("c-nav__item", {
|
|
@@ -4982,11 +4982,11 @@
|
|
|
4982
4982
|
});
|
|
4983
4983
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
4984
4984
|
|
|
4985
|
-
var _excluded$
|
|
4985
|
+
var _excluded$k = ["expanded"];
|
|
4986
4986
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4987
4987
|
var _ref$expanded = _ref.expanded,
|
|
4988
4988
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
4989
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4989
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
4990
4990
|
|
|
4991
4991
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
4992
4992
|
ref: ref,
|
|
@@ -5299,11 +5299,11 @@
|
|
|
5299
5299
|
};
|
|
5300
5300
|
Nav.displayName = "Nav";
|
|
5301
5301
|
|
|
5302
|
-
var _excluded$
|
|
5302
|
+
var _excluded$j = ["expanded"];
|
|
5303
5303
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5304
5304
|
var _ref$expanded = _ref.expanded,
|
|
5305
5305
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
5306
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5306
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
5307
5307
|
|
|
5308
5308
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
5309
5309
|
ref: ref,
|
|
@@ -5348,11 +5348,11 @@
|
|
|
5348
5348
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
5349
5349
|
StyledListSeparator.displayName = "StyledListSeparator";
|
|
5350
5350
|
|
|
5351
|
-
var _excluded$
|
|
5351
|
+
var _excluded$i = ["children", "className"];
|
|
5352
5352
|
var List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5353
5353
|
var children = _ref.children,
|
|
5354
5354
|
className = _ref.className,
|
|
5355
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5355
|
+
props = _objectWithoutProperties(_ref, _excluded$i);
|
|
5356
5356
|
|
|
5357
5357
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({}, props, {
|
|
5358
5358
|
className: className,
|
|
@@ -5361,11 +5361,11 @@
|
|
|
5361
5361
|
});
|
|
5362
5362
|
List.displayName = "List";
|
|
5363
5363
|
|
|
5364
|
-
var _excluded$
|
|
5364
|
+
var _excluded$h = ["children", "className"];
|
|
5365
5365
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5366
5366
|
var children = _ref.children,
|
|
5367
5367
|
className = _ref.className,
|
|
5368
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5368
|
+
props = _objectWithoutProperties(_ref, _excluded$h);
|
|
5369
5369
|
|
|
5370
5370
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({}, props, {
|
|
5371
5371
|
className: classnames__default["default"]("c-list-item", className),
|
|
@@ -7319,12 +7319,12 @@
|
|
|
7319
7319
|
});
|
|
7320
7320
|
StyledTextarea.displayName = "StyledTextarea";
|
|
7321
7321
|
|
|
7322
|
-
var _excluded$
|
|
7322
|
+
var _excluded$g = ["className", "disabled"];
|
|
7323
7323
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7324
7324
|
var className = _ref.className,
|
|
7325
7325
|
_ref$disabled = _ref.disabled,
|
|
7326
7326
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7327
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7327
|
+
rest = _objectWithoutProperties(_ref, _excluded$g);
|
|
7328
7328
|
|
|
7329
7329
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
7330
7330
|
ref: ref,
|
|
@@ -7370,7 +7370,7 @@
|
|
|
7370
7370
|
});
|
|
7371
7371
|
StyledModalOverlay.displayName = "StyledModalOverlay";
|
|
7372
7372
|
|
|
7373
|
-
var _excluded$
|
|
7373
|
+
var _excluded$f = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "open", "onClose"];
|
|
7374
7374
|
|
|
7375
7375
|
var getHasTransition = function getHasTransition(children) {
|
|
7376
7376
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
@@ -7389,7 +7389,7 @@
|
|
|
7389
7389
|
_ref$open = _ref.open,
|
|
7390
7390
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
7391
7391
|
onClose = _ref.onClose,
|
|
7392
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7392
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
7393
7393
|
|
|
7394
7394
|
var _useState = React.useState(defaultOpen),
|
|
7395
7395
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7536,7 +7536,7 @@
|
|
|
7536
7536
|
});
|
|
7537
7537
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
7538
7538
|
|
|
7539
|
-
var _excluded$
|
|
7539
|
+
var _excluded$e = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
7540
7540
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7541
7541
|
var children = _ref.children,
|
|
7542
7542
|
onClose = _ref.onClose,
|
|
@@ -7560,7 +7560,7 @@
|
|
|
7560
7560
|
bodyClassName = _ref.bodyClassName,
|
|
7561
7561
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
7562
7562
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
7563
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7563
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
7564
7564
|
|
|
7565
7565
|
var _useState = React.useState(defaultOpen),
|
|
7566
7566
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7654,11 +7654,11 @@
|
|
|
7654
7654
|
})(["height:4rem;padding:0 1rem;display:flex;overflow:hidden;min-width:350px;@media screen and (max-width:350px){overflow:auto;}"]);
|
|
7655
7655
|
StyledHeader.displayName = "StyledHeader";
|
|
7656
7656
|
|
|
7657
|
-
var _excluded$
|
|
7657
|
+
var _excluded$d = ["className", "children"];
|
|
7658
7658
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7659
7659
|
var className = _ref.className,
|
|
7660
7660
|
children = _ref.children,
|
|
7661
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7661
|
+
rest = _objectWithoutProperties(_ref, _excluded$d);
|
|
7662
7662
|
|
|
7663
7663
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
7664
7664
|
type: "paper-2",
|
|
@@ -7674,7 +7674,7 @@
|
|
|
7674
7674
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
7675
7675
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
7676
7676
|
|
|
7677
|
-
var _excluded$
|
|
7677
|
+
var _excluded$c = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
7678
7678
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7679
7679
|
var _ref$minRows = _ref.minRows,
|
|
7680
7680
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -7690,7 +7690,7 @@
|
|
|
7690
7690
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
7691
7691
|
onKeyDown = _ref.onKeyDown,
|
|
7692
7692
|
value = _ref.value,
|
|
7693
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7693
|
+
rest = _objectWithoutProperties(_ref, _excluded$c);
|
|
7694
7694
|
|
|
7695
7695
|
var innerRef = React.useRef(null);
|
|
7696
7696
|
|
|
@@ -8005,7 +8005,7 @@
|
|
|
8005
8005
|
});
|
|
8006
8006
|
StyledChoose.displayName = "StyledChoose";
|
|
8007
8007
|
|
|
8008
|
-
var _excluded$
|
|
8008
|
+
var _excluded$b = ["children", "disabled", "active", "className"];
|
|
8009
8009
|
|
|
8010
8010
|
/**
|
|
8011
8011
|
* Choose component
|
|
@@ -8017,7 +8017,7 @@
|
|
|
8017
8017
|
_ref$active = _ref.active,
|
|
8018
8018
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
8019
8019
|
className = _ref.className,
|
|
8020
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8020
|
+
args = _objectWithoutProperties(_ref, _excluded$b);
|
|
8021
8021
|
|
|
8022
8022
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
8023
8023
|
disabled: disabled,
|
|
@@ -8108,7 +8108,7 @@
|
|
|
8108
8108
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
8109
8109
|
StyledLink.displayName = "StyledLink";
|
|
8110
8110
|
|
|
8111
|
-
var _excluded$
|
|
8111
|
+
var _excluded$a = ["children", "className"];
|
|
8112
8112
|
|
|
8113
8113
|
/**
|
|
8114
8114
|
* Back link component
|
|
@@ -8116,7 +8116,7 @@
|
|
|
8116
8116
|
var BackLink = function BackLink(_ref) {
|
|
8117
8117
|
var children = _ref.children,
|
|
8118
8118
|
className = _ref.className,
|
|
8119
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8119
|
+
args = _objectWithoutProperties(_ref, _excluded$a);
|
|
8120
8120
|
|
|
8121
8121
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
8122
8122
|
className: classnames__default["default"]("c-back-link", className)
|
|
@@ -8124,7 +8124,7 @@
|
|
|
8124
8124
|
};
|
|
8125
8125
|
BackLink.displayName = "BackLink";
|
|
8126
8126
|
|
|
8127
|
-
var _excluded$
|
|
8127
|
+
var _excluded$9 = ["children", "variant", "size", "disabled", "className"];
|
|
8128
8128
|
|
|
8129
8129
|
/**
|
|
8130
8130
|
* Link component
|
|
@@ -8137,7 +8137,7 @@
|
|
|
8137
8137
|
_ref$disabled = _ref.disabled,
|
|
8138
8138
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8139
8139
|
className = _ref.className,
|
|
8140
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8140
|
+
args = _objectWithoutProperties(_ref, _excluded$9);
|
|
8141
8141
|
|
|
8142
8142
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
8143
8143
|
disabled: disabled,
|
|
@@ -8266,11 +8266,11 @@
|
|
|
8266
8266
|
});
|
|
8267
8267
|
Dialog.displayName = "Dialog";
|
|
8268
8268
|
|
|
8269
|
-
var _excluded$
|
|
8269
|
+
var _excluded$8 = ["className", "children"];
|
|
8270
8270
|
var DialogContent = function DialogContent(_ref) {
|
|
8271
8271
|
var className = _ref.className,
|
|
8272
8272
|
children = _ref.children,
|
|
8273
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8273
|
+
rest = _objectWithoutProperties(_ref, _excluded$8);
|
|
8274
8274
|
|
|
8275
8275
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
8276
8276
|
className: classnames__default["default"]("c-dialog-content", className)
|
|
@@ -8286,13 +8286,13 @@
|
|
|
8286
8286
|
};
|
|
8287
8287
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
8288
8288
|
|
|
8289
|
-
var _excluded$
|
|
8289
|
+
var _excluded$7 = ["children", "className", "disableDefaultHeading"];
|
|
8290
8290
|
var DialogTitle = function DialogTitle(_ref) {
|
|
8291
8291
|
var children = _ref.children,
|
|
8292
8292
|
className = _ref.className,
|
|
8293
8293
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
8294
8294
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
8295
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8295
|
+
rest = _objectWithoutProperties(_ref, _excluded$7);
|
|
8296
8296
|
|
|
8297
8297
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
8298
8298
|
className: classnames__default["default"]("c-dialog-title-wrapper", className)
|
|
@@ -8300,11 +8300,11 @@
|
|
|
8300
8300
|
};
|
|
8301
8301
|
DialogTitle.displayName = "DialogTitle";
|
|
8302
8302
|
|
|
8303
|
-
var _excluded$
|
|
8303
|
+
var _excluded$6 = ["className", "children"];
|
|
8304
8304
|
var DialogActions = function DialogActions(_ref) {
|
|
8305
8305
|
var className = _ref.className,
|
|
8306
8306
|
children = _ref.children,
|
|
8307
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8307
|
+
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
8308
8308
|
|
|
8309
8309
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
8310
8310
|
className: classnames__default["default"]("c-dialog-actions", className)
|
|
@@ -8513,7 +8513,7 @@
|
|
|
8513
8513
|
});
|
|
8514
8514
|
StyledPressed.displayName = "StyledPressed";
|
|
8515
8515
|
|
|
8516
|
-
var _excluded$
|
|
8516
|
+
var _excluded$5 = ["children", "active", "className"];
|
|
8517
8517
|
|
|
8518
8518
|
/**
|
|
8519
8519
|
* Pressed wrapper for button component
|
|
@@ -8523,7 +8523,7 @@
|
|
|
8523
8523
|
_ref$active = _ref.active,
|
|
8524
8524
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
8525
8525
|
className = _ref.className,
|
|
8526
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8526
|
+
args = _objectWithoutProperties(_ref, _excluded$5);
|
|
8527
8527
|
|
|
8528
8528
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
8529
8529
|
active: active,
|
|
@@ -8940,7 +8940,7 @@
|
|
|
8940
8940
|
active: showDatePicker
|
|
8941
8941
|
}) : /*#__PURE__*/React__default["default"].createElement(StyledSelectDateButton, {
|
|
8942
8942
|
type: "button",
|
|
8943
|
-
className: classnames__default["default"]("
|
|
8943
|
+
className: classnames__default["default"]("date-picker-target", targetClassName)
|
|
8944
8944
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8945
8945
|
className: targetTextClassName
|
|
8946
8946
|
}, labelText)),
|
|
@@ -9011,17 +9011,18 @@
|
|
|
9011
9011
|
};
|
|
9012
9012
|
Fade.displayName = "Fade";
|
|
9013
9013
|
|
|
9014
|
+
var _excluded$4 = ["in", "children", "style", "timeout", "initialDirection"];
|
|
9014
9015
|
var Slide = function Slide(_ref) {
|
|
9015
9016
|
var _ref$in = _ref.in,
|
|
9016
9017
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
9017
|
-
onEnter = _ref.onEnter,
|
|
9018
|
-
onExited = _ref.onExited,
|
|
9019
9018
|
children = _ref.children,
|
|
9020
9019
|
style = _ref.style,
|
|
9021
9020
|
_ref$timeout = _ref.timeout,
|
|
9022
9021
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
9023
9022
|
_ref$initialDirection = _ref.initialDirection,
|
|
9024
|
-
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection
|
|
9023
|
+
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
9024
|
+
rest = _objectWithoutProperties(_ref, _excluded$4);
|
|
9025
|
+
|
|
9025
9026
|
var directionSign;
|
|
9026
9027
|
|
|
9027
9028
|
switch (initialDirection) {
|
|
@@ -9061,13 +9062,10 @@
|
|
|
9061
9062
|
transform: "translate(".concat(directionSign, ")")
|
|
9062
9063
|
}
|
|
9063
9064
|
};
|
|
9064
|
-
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, {
|
|
9065
|
-
appear: true,
|
|
9065
|
+
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
9066
9066
|
in: inProp,
|
|
9067
|
-
timeout: timeout
|
|
9068
|
-
|
|
9069
|
-
onExited: onExited
|
|
9070
|
-
}, function (state) {
|
|
9067
|
+
timeout: timeout
|
|
9068
|
+
}, rest), function (state) {
|
|
9071
9069
|
return /*#__PURE__*/React.cloneElement(children, {
|
|
9072
9070
|
style: _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({
|
|
9073
9071
|
visibility: state === "exited" && !inProp ? "hidden" : undefined
|
|
@@ -9077,46 +9075,26 @@
|
|
|
9077
9075
|
};
|
|
9078
9076
|
Slide.displayName = "Slide";
|
|
9079
9077
|
|
|
9078
|
+
var StyledSlideLeftRight = styled.createGlobalStyle(["", " ", ""], function (props) {
|
|
9079
|
+
return props.$direction === "left" && 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;}"]);
|
|
9080
|
+
}, function (props) {
|
|
9081
|
+
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;}"]);
|
|
9082
|
+
});
|
|
9083
|
+
|
|
9084
|
+
var _excluded$3 = ["children", "direction"];
|
|
9080
9085
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
9081
|
-
var
|
|
9082
|
-
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
9086
|
+
var children = _ref.children,
|
|
9083
9087
|
_ref$direction = _ref.direction,
|
|
9084
9088
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
9085
|
-
|
|
9086
|
-
|
|
9087
|
-
|
|
9088
|
-
|
|
9089
|
-
|
|
9090
|
-
|
|
9091
|
-
|
|
9092
|
-
|
|
9093
|
-
|
|
9094
|
-
transform: direction === "left" ? "translateX(100%)" : "translateX(-100%)"
|
|
9095
|
-
},
|
|
9096
|
-
entered: {
|
|
9097
|
-
transform: "translateX(0%)",
|
|
9098
|
-
transition: "all ".concat(timeout, "ms ease")
|
|
9099
|
-
},
|
|
9100
|
-
exiting: {
|
|
9101
|
-
position: "absolute"
|
|
9102
|
-
},
|
|
9103
|
-
exited: {
|
|
9104
|
-
transform: direction === "left" ? "translateX(-100%)" : "translateX(100%)",
|
|
9105
|
-
transition: "all ".concat(timeout, "ms ease")
|
|
9106
|
-
}
|
|
9107
|
-
};
|
|
9108
|
-
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, {
|
|
9109
|
-
in: inProp,
|
|
9110
|
-
timeout: 0,
|
|
9111
|
-
onEnter: onEnter,
|
|
9112
|
-
onExited: onExited
|
|
9113
|
-
}, function (state) {
|
|
9114
|
-
return /*#__PURE__*/React.cloneElement(children, {
|
|
9115
|
-
style: _objectSpread2(_objectSpread2(_objectSpread2({
|
|
9116
|
-
visibility: state === "exited" && !inProp ? "hidden" : undefined
|
|
9117
|
-
}, transitionStyles[state]), style), children.props.style)
|
|
9118
|
-
});
|
|
9119
|
-
});
|
|
9089
|
+
props = _objectWithoutProperties(_ref, _excluded$3);
|
|
9090
|
+
|
|
9091
|
+
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
9092
|
+
timeout: 200,
|
|
9093
|
+
classNames: "c-slide",
|
|
9094
|
+
unmountOnExit: true
|
|
9095
|
+
}, props), /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, children, /*#__PURE__*/React__default["default"].createElement(StyledSlideLeftRight, {
|
|
9096
|
+
$direction: direction
|
|
9097
|
+
})));
|
|
9120
9098
|
};
|
|
9121
9099
|
SlideLeftRightTransition.displayName = "SlideLeftRightTransition";
|
|
9122
9100
|
|