@activecollab/components 1.0.15 → 1.0.19
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/Steppers/DateStepper/DateStepper.js +1 -2
- package/dist/cjs/components/Steppers/DateStepper/DateStepper.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/Steppers/DateStepper/DateStepper.js +1 -2
- package/dist/esm/components/Steppers/DateStepper/DateStepper.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 +123 -144
- 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),
|
|
@@ -2315,8 +2315,7 @@
|
|
|
2315
2315
|
style: dateStepperWidth(fromDate, toDate, step)
|
|
2316
2316
|
}, withDatePicker ? /*#__PURE__*/React__default["default"].createElement(StyledMenu, {
|
|
2317
2317
|
target: /*#__PURE__*/React__default["default"].createElement(StyledButton, {
|
|
2318
|
-
type: "button"
|
|
2319
|
-
className: "c-simple-menu__trigger"
|
|
2318
|
+
type: "button"
|
|
2320
2319
|
}, /*#__PURE__*/React__default["default"].createElement("span", null, getDateFormatted)),
|
|
2321
2320
|
open: showDatePicker,
|
|
2322
2321
|
onOpen: handleShow,
|
|
@@ -2650,7 +2649,7 @@
|
|
|
2650
2649
|
SortIcon.displayName = "SortIcon";
|
|
2651
2650
|
var SortIcon$1 = SortIcon;
|
|
2652
2651
|
|
|
2653
|
-
var _excluded$
|
|
2652
|
+
var _excluded$F = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue"];
|
|
2654
2653
|
exports.SortDirection = void 0;
|
|
2655
2654
|
|
|
2656
2655
|
(function (SortDirection) {
|
|
@@ -2700,7 +2699,7 @@
|
|
|
2700
2699
|
} : _ref$groupHead,
|
|
2701
2700
|
isCollapsible = _ref.isCollapsible,
|
|
2702
2701
|
emptyValue = _ref.emptyValue,
|
|
2703
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
2702
|
+
args = _objectWithoutProperties(_ref, _excluded$F);
|
|
2704
2703
|
|
|
2705
2704
|
var _useState = React.useState(sortDirection),
|
|
2706
2705
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -3114,7 +3113,7 @@
|
|
|
3114
3113
|
});
|
|
3115
3114
|
StyledPaper.displayName = "StyledPaper";
|
|
3116
3115
|
|
|
3117
|
-
var _excluded$
|
|
3116
|
+
var _excluded$E = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
3118
3117
|
|
|
3119
3118
|
/**
|
|
3120
3119
|
* This is a component description and should sit directly above your component
|
|
@@ -3128,7 +3127,7 @@
|
|
|
3128
3127
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
3129
3128
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
3130
3129
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
3131
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3130
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
3132
3131
|
|
|
3133
3132
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
3134
3133
|
className: classnames__default["default"](className, {
|
|
@@ -3182,7 +3181,7 @@
|
|
|
3182
3181
|
});
|
|
3183
3182
|
StyledCard.displayName = "StyledCard";
|
|
3184
3183
|
|
|
3185
|
-
var _excluded$
|
|
3184
|
+
var _excluded$D = ["children", "className", "hoverable", "paperType"];
|
|
3186
3185
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3187
3186
|
var children = _ref.children,
|
|
3188
3187
|
className = _ref.className,
|
|
@@ -3190,7 +3189,7 @@
|
|
|
3190
3189
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
3191
3190
|
_ref$paperType = _ref.paperType,
|
|
3192
3191
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
3193
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3192
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
3194
3193
|
|
|
3195
3194
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
3196
3195
|
type: paperType,
|
|
@@ -3283,12 +3282,12 @@
|
|
|
3283
3282
|
});
|
|
3284
3283
|
EntityCard.displayName = "EntityCard";
|
|
3285
3284
|
|
|
3286
|
-
var _excluded$
|
|
3285
|
+
var _excluded$C = ["weight", "children"];
|
|
3287
3286
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3288
3287
|
var _ref$weight = _ref.weight,
|
|
3289
3288
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
3290
3289
|
children = _ref.children,
|
|
3291
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3290
|
+
props = _objectWithoutProperties(_ref, _excluded$C);
|
|
3292
3291
|
|
|
3293
3292
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3294
3293
|
weight: weight,
|
|
@@ -3298,10 +3297,10 @@
|
|
|
3298
3297
|
});
|
|
3299
3298
|
Title1.displayName = "Title1";
|
|
3300
3299
|
|
|
3301
|
-
var _excluded$
|
|
3300
|
+
var _excluded$B = ["children"];
|
|
3302
3301
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3303
3302
|
var children = _ref.children,
|
|
3304
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3303
|
+
props = _objectWithoutProperties(_ref, _excluded$B);
|
|
3305
3304
|
|
|
3306
3305
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3307
3306
|
weight: "bold",
|
|
@@ -3311,10 +3310,10 @@
|
|
|
3311
3310
|
});
|
|
3312
3311
|
Header2.displayName = "Header2";
|
|
3313
3312
|
|
|
3314
|
-
var _excluded$
|
|
3313
|
+
var _excluded$A = ["children"];
|
|
3315
3314
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3316
3315
|
var children = _ref.children,
|
|
3317
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3316
|
+
props = _objectWithoutProperties(_ref, _excluded$A);
|
|
3318
3317
|
|
|
3319
3318
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3320
3319
|
weight: "bold",
|
|
@@ -3324,12 +3323,12 @@
|
|
|
3324
3323
|
});
|
|
3325
3324
|
Header3.displayName = "Header3";
|
|
3326
3325
|
|
|
3327
|
-
var _excluded$
|
|
3326
|
+
var _excluded$z = ["weight", "children"];
|
|
3328
3327
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3329
3328
|
var _ref$weight = _ref.weight,
|
|
3330
3329
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
3331
3330
|
children = _ref.children,
|
|
3332
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3331
|
+
props = _objectWithoutProperties(_ref, _excluded$z);
|
|
3333
3332
|
|
|
3334
3333
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3335
3334
|
variant: "Body 1",
|
|
@@ -3339,12 +3338,12 @@
|
|
|
3339
3338
|
});
|
|
3340
3339
|
Body1.displayName = "Body1";
|
|
3341
3340
|
|
|
3342
|
-
var _excluded$
|
|
3341
|
+
var _excluded$y = ["weight", "children"];
|
|
3343
3342
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3344
3343
|
var _ref$weight = _ref.weight,
|
|
3345
3344
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
3346
3345
|
children = _ref.children,
|
|
3347
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3346
|
+
props = _objectWithoutProperties(_ref, _excluded$y);
|
|
3348
3347
|
|
|
3349
3348
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3350
3349
|
variant: "Caption 1",
|
|
@@ -3354,12 +3353,12 @@
|
|
|
3354
3353
|
});
|
|
3355
3354
|
Caption1.displayName = "Caption1";
|
|
3356
3355
|
|
|
3357
|
-
var _excluded$
|
|
3356
|
+
var _excluded$x = ["weight", "children"];
|
|
3358
3357
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3359
3358
|
var _ref$weight = _ref.weight,
|
|
3360
3359
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
3361
3360
|
children = _ref.children,
|
|
3362
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3361
|
+
props = _objectWithoutProperties(_ref, _excluded$x);
|
|
3363
3362
|
|
|
3364
3363
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3365
3364
|
variant: "Caption 2",
|
|
@@ -3478,7 +3477,7 @@
|
|
|
3478
3477
|
"borderRadius": "9999px"
|
|
3479
3478
|
});
|
|
3480
3479
|
|
|
3481
|
-
var _excluded$
|
|
3480
|
+
var _excluded$w = ["url", "alt", "size", "className"];
|
|
3482
3481
|
var Avatar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3483
3482
|
var url = _ref.url,
|
|
3484
3483
|
_ref$alt = _ref.alt,
|
|
@@ -3486,7 +3485,7 @@
|
|
|
3486
3485
|
_ref$size = _ref.size,
|
|
3487
3486
|
size = _ref$size === void 0 ? 24 : _ref$size,
|
|
3488
3487
|
className = _ref.className,
|
|
3489
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3488
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
3490
3489
|
|
|
3491
3490
|
return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({}, rest, {
|
|
3492
3491
|
ref: ref,
|
|
@@ -3533,7 +3532,7 @@
|
|
|
3533
3532
|
});
|
|
3534
3533
|
StyledLabelText.displayName = "StyledLabelText";
|
|
3535
3534
|
|
|
3536
|
-
var _excluded$
|
|
3535
|
+
var _excluded$v = ["name", "color", "showText", "showDot", "className"];
|
|
3537
3536
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3538
3537
|
var name = _ref.name,
|
|
3539
3538
|
color = _ref.color,
|
|
@@ -3542,7 +3541,7 @@
|
|
|
3542
3541
|
_ref$showDot = _ref.showDot,
|
|
3543
3542
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
3544
3543
|
className = _ref.className,
|
|
3545
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3544
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
3546
3545
|
|
|
3547
3546
|
return /*#__PURE__*/React__default["default"].createElement(StyledLabel$1, _extends({
|
|
3548
3547
|
className: classnames__default["default"]("c-label", className),
|
|
@@ -3562,10 +3561,10 @@
|
|
|
3562
3561
|
componentId: "sc-x4ge7a-0"
|
|
3563
3562
|
})(["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
3563
|
|
|
3565
|
-
var _excluded$
|
|
3564
|
+
var _excluded$u = ["className"];
|
|
3566
3565
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3567
3566
|
var className = _ref.className,
|
|
3568
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3567
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
3569
3568
|
|
|
3570
3569
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
3571
3570
|
ref: ref,
|
|
@@ -3580,10 +3579,10 @@
|
|
|
3580
3579
|
componentId: "sc-1f35d5h-0"
|
|
3581
3580
|
})(["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
3581
|
|
|
3583
|
-
var _excluded$
|
|
3582
|
+
var _excluded$t = ["className"];
|
|
3584
3583
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3585
3584
|
var className = _ref.className,
|
|
3586
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3585
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
3587
3586
|
|
|
3588
3587
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
3589
3588
|
ref: ref,
|
|
@@ -3599,10 +3598,10 @@
|
|
|
3599
3598
|
componentId: "sc-1ht53g9-0"
|
|
3600
3599
|
})(["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
3600
|
|
|
3602
|
-
var _excluded$
|
|
3601
|
+
var _excluded$s = ["className"];
|
|
3603
3602
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3604
3603
|
var className = _ref.className,
|
|
3605
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3604
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
3606
3605
|
|
|
3607
3606
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader, _extends({
|
|
3608
3607
|
ref: ref,
|
|
@@ -3664,7 +3663,7 @@
|
|
|
3664
3663
|
}, StyledInput$1, StyledLabel);
|
|
3665
3664
|
StyledCheckbox.displayName = "StyledCheckbox";
|
|
3666
3665
|
|
|
3667
|
-
var _excluded$
|
|
3666
|
+
var _excluded$r = ["className", "hover", "id"];
|
|
3668
3667
|
|
|
3669
3668
|
/**
|
|
3670
3669
|
* Checkbox component
|
|
@@ -3674,7 +3673,7 @@
|
|
|
3674
3673
|
hover = _ref.hover,
|
|
3675
3674
|
_ref$id = _ref.id,
|
|
3676
3675
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
3677
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3676
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
3678
3677
|
|
|
3679
3678
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox, {
|
|
3680
3679
|
className: classnames__default["default"]("c-checkbox", {
|
|
@@ -3747,14 +3746,14 @@
|
|
|
3747
3746
|
}, StyledRadioLabel);
|
|
3748
3747
|
StyledRadioButton.displayName = "StyledRadioButton";
|
|
3749
3748
|
|
|
3750
|
-
var _excluded$
|
|
3749
|
+
var _excluded$q = ["className", "id", "hover"];
|
|
3751
3750
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3752
3751
|
var _ref$className = _ref.className,
|
|
3753
3752
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
3754
3753
|
_ref$id = _ref.id,
|
|
3755
3754
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
3756
3755
|
hover = _ref.hover,
|
|
3757
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3756
|
+
props = _objectWithoutProperties(_ref, _excluded$q);
|
|
3758
3757
|
|
|
3759
3758
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton, {
|
|
3760
3759
|
className: classnames__default["default"]("c-radio-btn", {
|
|
@@ -4006,7 +4005,7 @@
|
|
|
4006
4005
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
4007
4006
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
4008
4007
|
|
|
4009
|
-
var _excluded$
|
|
4008
|
+
var _excluded$p = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical"];
|
|
4010
4009
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4011
4010
|
var children = _ref.children,
|
|
4012
4011
|
className = _ref.className,
|
|
@@ -4018,7 +4017,7 @@
|
|
|
4018
4017
|
invertHorizontal = _ref$invertHorizontal === void 0 ? false : _ref$invertHorizontal,
|
|
4019
4018
|
_ref$invertVertical = _ref.invertVertical,
|
|
4020
4019
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
4021
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4020
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
4022
4021
|
|
|
4023
4022
|
var _useState = React.useState({
|
|
4024
4023
|
top: 0,
|
|
@@ -4118,14 +4117,14 @@
|
|
|
4118
4117
|
return ref;
|
|
4119
4118
|
};
|
|
4120
4119
|
|
|
4121
|
-
var _excluded$
|
|
4120
|
+
var _excluded$o = ["as", "className", "invert"];
|
|
4122
4121
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4123
4122
|
var _ref$as = _ref.as,
|
|
4124
4123
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
4125
4124
|
className = _ref.className,
|
|
4126
4125
|
_ref$invert = _ref.invert,
|
|
4127
4126
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
4128
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4127
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
4129
4128
|
|
|
4130
4129
|
var internalRef = useInitScrollRef(null, invert);
|
|
4131
4130
|
var handleRef = useForkRef(internalRef, ref);
|
|
@@ -4559,7 +4558,7 @@
|
|
|
4559
4558
|
});
|
|
4560
4559
|
StyledInput.displayName = "StyledInput";
|
|
4561
4560
|
|
|
4562
|
-
var _excluded$
|
|
4561
|
+
var _excluded$n = ["className", "type", "disabled"];
|
|
4563
4562
|
var Input = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4564
4563
|
var _ref$className = _ref.className,
|
|
4565
4564
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -4567,7 +4566,7 @@
|
|
|
4567
4566
|
type = _ref$type === void 0 ? "text" : _ref$type,
|
|
4568
4567
|
_ref$disabled = _ref.disabled,
|
|
4569
4568
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
4570
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4569
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
4571
4570
|
|
|
4572
4571
|
return /*#__PURE__*/React__default["default"].createElement(StyledInput, _extends({
|
|
4573
4572
|
ref: ref,
|
|
@@ -4626,7 +4625,7 @@
|
|
|
4626
4625
|
};
|
|
4627
4626
|
OptionContent.displayName = "OptionContent";
|
|
4628
4627
|
|
|
4629
|
-
var _excluded$
|
|
4628
|
+
var _excluded$m = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose"];
|
|
4630
4629
|
var Select = function Select(_ref) {
|
|
4631
4630
|
var _ref$type = _ref.type,
|
|
4632
4631
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -4656,7 +4655,7 @@
|
|
|
4656
4655
|
keepSameOptionsOrder = _ref$keepSameOptionsO === void 0 ? false : _ref$keepSameOptionsO,
|
|
4657
4656
|
onSelectOpen = _ref.onSelectOpen,
|
|
4658
4657
|
onSelectClose = _ref.onSelectClose,
|
|
4659
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
4658
|
+
prop = _objectWithoutProperties(_ref, _excluded$m);
|
|
4660
4659
|
|
|
4661
4660
|
var _useState = React.useState(),
|
|
4662
4661
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -4931,7 +4930,7 @@
|
|
|
4931
4930
|
});
|
|
4932
4931
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
4933
4932
|
|
|
4934
|
-
var _excluded$
|
|
4933
|
+
var _excluded$l = ["children", "active", "disabled", "className", "role"];
|
|
4935
4934
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
4936
4935
|
var children = _ref.children,
|
|
4937
4936
|
_ref$active = _ref.active,
|
|
@@ -4940,7 +4939,7 @@
|
|
|
4940
4939
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
4941
4940
|
className = _ref.className,
|
|
4942
4941
|
role = _ref.role,
|
|
4943
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4942
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
4944
4943
|
|
|
4945
4944
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
4946
4945
|
className: classnames__default["default"]("c-nav__item", {
|
|
@@ -4982,11 +4981,11 @@
|
|
|
4982
4981
|
});
|
|
4983
4982
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
4984
4983
|
|
|
4985
|
-
var _excluded$
|
|
4984
|
+
var _excluded$k = ["expanded"];
|
|
4986
4985
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4987
4986
|
var _ref$expanded = _ref.expanded,
|
|
4988
4987
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
4989
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4988
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
4990
4989
|
|
|
4991
4990
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
4992
4991
|
ref: ref,
|
|
@@ -5299,11 +5298,11 @@
|
|
|
5299
5298
|
};
|
|
5300
5299
|
Nav.displayName = "Nav";
|
|
5301
5300
|
|
|
5302
|
-
var _excluded$
|
|
5301
|
+
var _excluded$j = ["expanded"];
|
|
5303
5302
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5304
5303
|
var _ref$expanded = _ref.expanded,
|
|
5305
5304
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
5306
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5305
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
5307
5306
|
|
|
5308
5307
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
5309
5308
|
ref: ref,
|
|
@@ -5348,11 +5347,11 @@
|
|
|
5348
5347
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
5349
5348
|
StyledListSeparator.displayName = "StyledListSeparator";
|
|
5350
5349
|
|
|
5351
|
-
var _excluded$
|
|
5350
|
+
var _excluded$i = ["children", "className"];
|
|
5352
5351
|
var List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5353
5352
|
var children = _ref.children,
|
|
5354
5353
|
className = _ref.className,
|
|
5355
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5354
|
+
props = _objectWithoutProperties(_ref, _excluded$i);
|
|
5356
5355
|
|
|
5357
5356
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({}, props, {
|
|
5358
5357
|
className: className,
|
|
@@ -5361,11 +5360,11 @@
|
|
|
5361
5360
|
});
|
|
5362
5361
|
List.displayName = "List";
|
|
5363
5362
|
|
|
5364
|
-
var _excluded$
|
|
5363
|
+
var _excluded$h = ["children", "className"];
|
|
5365
5364
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5366
5365
|
var children = _ref.children,
|
|
5367
5366
|
className = _ref.className,
|
|
5368
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5367
|
+
props = _objectWithoutProperties(_ref, _excluded$h);
|
|
5369
5368
|
|
|
5370
5369
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({}, props, {
|
|
5371
5370
|
className: classnames__default["default"]("c-list-item", className),
|
|
@@ -7319,12 +7318,12 @@
|
|
|
7319
7318
|
});
|
|
7320
7319
|
StyledTextarea.displayName = "StyledTextarea";
|
|
7321
7320
|
|
|
7322
|
-
var _excluded$
|
|
7321
|
+
var _excluded$g = ["className", "disabled"];
|
|
7323
7322
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7324
7323
|
var className = _ref.className,
|
|
7325
7324
|
_ref$disabled = _ref.disabled,
|
|
7326
7325
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7327
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7326
|
+
rest = _objectWithoutProperties(_ref, _excluded$g);
|
|
7328
7327
|
|
|
7329
7328
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
7330
7329
|
ref: ref,
|
|
@@ -7370,7 +7369,7 @@
|
|
|
7370
7369
|
});
|
|
7371
7370
|
StyledModalOverlay.displayName = "StyledModalOverlay";
|
|
7372
7371
|
|
|
7373
|
-
var _excluded$
|
|
7372
|
+
var _excluded$f = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "open", "onClose"];
|
|
7374
7373
|
|
|
7375
7374
|
var getHasTransition = function getHasTransition(children) {
|
|
7376
7375
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
@@ -7389,7 +7388,7 @@
|
|
|
7389
7388
|
_ref$open = _ref.open,
|
|
7390
7389
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
7391
7390
|
onClose = _ref.onClose,
|
|
7392
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7391
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
7393
7392
|
|
|
7394
7393
|
var _useState = React.useState(defaultOpen),
|
|
7395
7394
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7536,7 +7535,7 @@
|
|
|
7536
7535
|
});
|
|
7537
7536
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
7538
7537
|
|
|
7539
|
-
var _excluded$
|
|
7538
|
+
var _excluded$e = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
7540
7539
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7541
7540
|
var children = _ref.children,
|
|
7542
7541
|
onClose = _ref.onClose,
|
|
@@ -7560,7 +7559,7 @@
|
|
|
7560
7559
|
bodyClassName = _ref.bodyClassName,
|
|
7561
7560
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
7562
7561
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
7563
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7562
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
7564
7563
|
|
|
7565
7564
|
var _useState = React.useState(defaultOpen),
|
|
7566
7565
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7654,11 +7653,11 @@
|
|
|
7654
7653
|
})(["height:4rem;padding:0 1rem;display:flex;overflow:hidden;min-width:350px;@media screen and (max-width:350px){overflow:auto;}"]);
|
|
7655
7654
|
StyledHeader.displayName = "StyledHeader";
|
|
7656
7655
|
|
|
7657
|
-
var _excluded$
|
|
7656
|
+
var _excluded$d = ["className", "children"];
|
|
7658
7657
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7659
7658
|
var className = _ref.className,
|
|
7660
7659
|
children = _ref.children,
|
|
7661
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7660
|
+
rest = _objectWithoutProperties(_ref, _excluded$d);
|
|
7662
7661
|
|
|
7663
7662
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
7664
7663
|
type: "paper-2",
|
|
@@ -7674,7 +7673,7 @@
|
|
|
7674
7673
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
7675
7674
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
7676
7675
|
|
|
7677
|
-
var _excluded$
|
|
7676
|
+
var _excluded$c = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
7678
7677
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7679
7678
|
var _ref$minRows = _ref.minRows,
|
|
7680
7679
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -7690,7 +7689,7 @@
|
|
|
7690
7689
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
7691
7690
|
onKeyDown = _ref.onKeyDown,
|
|
7692
7691
|
value = _ref.value,
|
|
7693
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7692
|
+
rest = _objectWithoutProperties(_ref, _excluded$c);
|
|
7694
7693
|
|
|
7695
7694
|
var innerRef = React.useRef(null);
|
|
7696
7695
|
|
|
@@ -8005,7 +8004,7 @@
|
|
|
8005
8004
|
});
|
|
8006
8005
|
StyledChoose.displayName = "StyledChoose";
|
|
8007
8006
|
|
|
8008
|
-
var _excluded$
|
|
8007
|
+
var _excluded$b = ["children", "disabled", "active", "className"];
|
|
8009
8008
|
|
|
8010
8009
|
/**
|
|
8011
8010
|
* Choose component
|
|
@@ -8017,7 +8016,7 @@
|
|
|
8017
8016
|
_ref$active = _ref.active,
|
|
8018
8017
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
8019
8018
|
className = _ref.className,
|
|
8020
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8019
|
+
args = _objectWithoutProperties(_ref, _excluded$b);
|
|
8021
8020
|
|
|
8022
8021
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
8023
8022
|
disabled: disabled,
|
|
@@ -8108,7 +8107,7 @@
|
|
|
8108
8107
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
8109
8108
|
StyledLink.displayName = "StyledLink";
|
|
8110
8109
|
|
|
8111
|
-
var _excluded$
|
|
8110
|
+
var _excluded$a = ["children", "className"];
|
|
8112
8111
|
|
|
8113
8112
|
/**
|
|
8114
8113
|
* Back link component
|
|
@@ -8116,7 +8115,7 @@
|
|
|
8116
8115
|
var BackLink = function BackLink(_ref) {
|
|
8117
8116
|
var children = _ref.children,
|
|
8118
8117
|
className = _ref.className,
|
|
8119
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8118
|
+
args = _objectWithoutProperties(_ref, _excluded$a);
|
|
8120
8119
|
|
|
8121
8120
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
8122
8121
|
className: classnames__default["default"]("c-back-link", className)
|
|
@@ -8124,7 +8123,7 @@
|
|
|
8124
8123
|
};
|
|
8125
8124
|
BackLink.displayName = "BackLink";
|
|
8126
8125
|
|
|
8127
|
-
var _excluded$
|
|
8126
|
+
var _excluded$9 = ["children", "variant", "size", "disabled", "className"];
|
|
8128
8127
|
|
|
8129
8128
|
/**
|
|
8130
8129
|
* Link component
|
|
@@ -8137,7 +8136,7 @@
|
|
|
8137
8136
|
_ref$disabled = _ref.disabled,
|
|
8138
8137
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8139
8138
|
className = _ref.className,
|
|
8140
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8139
|
+
args = _objectWithoutProperties(_ref, _excluded$9);
|
|
8141
8140
|
|
|
8142
8141
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
8143
8142
|
disabled: disabled,
|
|
@@ -8266,11 +8265,11 @@
|
|
|
8266
8265
|
});
|
|
8267
8266
|
Dialog.displayName = "Dialog";
|
|
8268
8267
|
|
|
8269
|
-
var _excluded$
|
|
8268
|
+
var _excluded$8 = ["className", "children"];
|
|
8270
8269
|
var DialogContent = function DialogContent(_ref) {
|
|
8271
8270
|
var className = _ref.className,
|
|
8272
8271
|
children = _ref.children,
|
|
8273
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8272
|
+
rest = _objectWithoutProperties(_ref, _excluded$8);
|
|
8274
8273
|
|
|
8275
8274
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
8276
8275
|
className: classnames__default["default"]("c-dialog-content", className)
|
|
@@ -8286,13 +8285,13 @@
|
|
|
8286
8285
|
};
|
|
8287
8286
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
8288
8287
|
|
|
8289
|
-
var _excluded$
|
|
8288
|
+
var _excluded$7 = ["children", "className", "disableDefaultHeading"];
|
|
8290
8289
|
var DialogTitle = function DialogTitle(_ref) {
|
|
8291
8290
|
var children = _ref.children,
|
|
8292
8291
|
className = _ref.className,
|
|
8293
8292
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
8294
8293
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
8295
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8294
|
+
rest = _objectWithoutProperties(_ref, _excluded$7);
|
|
8296
8295
|
|
|
8297
8296
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
8298
8297
|
className: classnames__default["default"]("c-dialog-title-wrapper", className)
|
|
@@ -8300,11 +8299,11 @@
|
|
|
8300
8299
|
};
|
|
8301
8300
|
DialogTitle.displayName = "DialogTitle";
|
|
8302
8301
|
|
|
8303
|
-
var _excluded$
|
|
8302
|
+
var _excluded$6 = ["className", "children"];
|
|
8304
8303
|
var DialogActions = function DialogActions(_ref) {
|
|
8305
8304
|
var className = _ref.className,
|
|
8306
8305
|
children = _ref.children,
|
|
8307
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8306
|
+
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
8308
8307
|
|
|
8309
8308
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
8310
8309
|
className: classnames__default["default"]("c-dialog-actions", className)
|
|
@@ -8513,7 +8512,7 @@
|
|
|
8513
8512
|
});
|
|
8514
8513
|
StyledPressed.displayName = "StyledPressed";
|
|
8515
8514
|
|
|
8516
|
-
var _excluded$
|
|
8515
|
+
var _excluded$5 = ["children", "active", "className"];
|
|
8517
8516
|
|
|
8518
8517
|
/**
|
|
8519
8518
|
* Pressed wrapper for button component
|
|
@@ -8523,7 +8522,7 @@
|
|
|
8523
8522
|
_ref$active = _ref.active,
|
|
8524
8523
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
8525
8524
|
className = _ref.className,
|
|
8526
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8525
|
+
args = _objectWithoutProperties(_ref, _excluded$5);
|
|
8527
8526
|
|
|
8528
8527
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
8529
8528
|
active: active,
|
|
@@ -8940,7 +8939,7 @@
|
|
|
8940
8939
|
active: showDatePicker
|
|
8941
8940
|
}) : /*#__PURE__*/React__default["default"].createElement(StyledSelectDateButton, {
|
|
8942
8941
|
type: "button",
|
|
8943
|
-
className: classnames__default["default"]("
|
|
8942
|
+
className: classnames__default["default"]("date-picker-target", targetClassName)
|
|
8944
8943
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8945
8944
|
className: targetTextClassName
|
|
8946
8945
|
}, labelText)),
|
|
@@ -9011,7 +9010,7 @@
|
|
|
9011
9010
|
};
|
|
9012
9011
|
Fade.displayName = "Fade";
|
|
9013
9012
|
|
|
9014
|
-
var _excluded$
|
|
9013
|
+
var _excluded$4 = ["in", "children", "style", "timeout", "initialDirection"];
|
|
9015
9014
|
var Slide = function Slide(_ref) {
|
|
9016
9015
|
var _ref$in = _ref.in,
|
|
9017
9016
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -9021,7 +9020,7 @@
|
|
|
9021
9020
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
9022
9021
|
_ref$initialDirection = _ref.initialDirection,
|
|
9023
9022
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
9024
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9023
|
+
rest = _objectWithoutProperties(_ref, _excluded$4);
|
|
9025
9024
|
|
|
9026
9025
|
var directionSign;
|
|
9027
9026
|
|
|
@@ -9075,46 +9074,26 @@
|
|
|
9075
9074
|
};
|
|
9076
9075
|
Slide.displayName = "Slide";
|
|
9077
9076
|
|
|
9077
|
+
var StyledSlideLeftRight = styled.createGlobalStyle(["", " ", ""], function (props) {
|
|
9078
|
+
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;}"]);
|
|
9079
|
+
}, function (props) {
|
|
9080
|
+
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;}"]);
|
|
9081
|
+
});
|
|
9082
|
+
|
|
9083
|
+
var _excluded$3 = ["children", "direction"];
|
|
9078
9084
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
9079
|
-
var
|
|
9080
|
-
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
9085
|
+
var children = _ref.children,
|
|
9081
9086
|
_ref$direction = _ref.direction,
|
|
9082
9087
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
9083
|
-
|
|
9084
|
-
|
|
9085
|
-
|
|
9086
|
-
|
|
9087
|
-
|
|
9088
|
-
|
|
9089
|
-
|
|
9090
|
-
|
|
9091
|
-
|
|
9092
|
-
transform: direction === "left" ? "translateX(100%)" : "translateX(-100%)"
|
|
9093
|
-
},
|
|
9094
|
-
entered: {
|
|
9095
|
-
transform: "translateX(0%)",
|
|
9096
|
-
transition: "all ".concat(timeout, "ms ease")
|
|
9097
|
-
},
|
|
9098
|
-
exiting: {
|
|
9099
|
-
position: "absolute"
|
|
9100
|
-
},
|
|
9101
|
-
exited: {
|
|
9102
|
-
transform: direction === "left" ? "translateX(-100%)" : "translateX(100%)",
|
|
9103
|
-
transition: "all ".concat(timeout, "ms ease")
|
|
9104
|
-
}
|
|
9105
|
-
};
|
|
9106
|
-
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, {
|
|
9107
|
-
in: inProp,
|
|
9108
|
-
timeout: 0,
|
|
9109
|
-
onEnter: onEnter,
|
|
9110
|
-
onExited: onExited
|
|
9111
|
-
}, function (state) {
|
|
9112
|
-
return /*#__PURE__*/React.cloneElement(children, {
|
|
9113
|
-
style: _objectSpread2(_objectSpread2(_objectSpread2({
|
|
9114
|
-
visibility: state === "exited" && !inProp ? "hidden" : undefined
|
|
9115
|
-
}, transitionStyles[state]), style), children.props.style)
|
|
9116
|
-
});
|
|
9117
|
-
});
|
|
9088
|
+
props = _objectWithoutProperties(_ref, _excluded$3);
|
|
9089
|
+
|
|
9090
|
+
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
9091
|
+
timeout: 200,
|
|
9092
|
+
classNames: "c-slide",
|
|
9093
|
+
unmountOnExit: true
|
|
9094
|
+
}, props), /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, children, /*#__PURE__*/React__default["default"].createElement(StyledSlideLeftRight, {
|
|
9095
|
+
$direction: direction
|
|
9096
|
+
})));
|
|
9118
9097
|
};
|
|
9119
9098
|
SlideLeftRightTransition.displayName = "SlideLeftRightTransition";
|
|
9120
9099
|
|