@activecollab/components 2.0.69 → 2.0.71
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/SelectDateTarget.js +2 -2
- package/dist/cjs/components/SelectDate/SelectDateTarget.js.map +1 -1
- package/dist/cjs/components/index.js +0 -11
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/SelectDate/SelectDateTarget.js +2 -2
- package/dist/esm/components/SelectDate/SelectDateTarget.js.map +1 -1
- package/dist/esm/components/index.d.ts +0 -1
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +0 -11
- package/dist/esm/components/index.js.map +1 -1
- package/dist/index.js +137 -169
- 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/cjs/components/Pressed/Pressed.js +0 -36
- package/dist/cjs/components/Pressed/Pressed.js.map +0 -1
- package/dist/cjs/components/Pressed/Styles.js +0 -20
- package/dist/cjs/components/Pressed/Styles.js.map +0 -1
- package/dist/cjs/components/Pressed/index.js +0 -17
- package/dist/cjs/components/Pressed/index.js.map +0 -1
- package/dist/esm/components/Pressed/Pressed.d.ts +0 -12
- package/dist/esm/components/Pressed/Pressed.d.ts.map +0 -1
- package/dist/esm/components/Pressed/Pressed.js +0 -34
- package/dist/esm/components/Pressed/Pressed.js.map +0 -1
- package/dist/esm/components/Pressed/Styles.d.ts +0 -6
- package/dist/esm/components/Pressed/Styles.d.ts.map +0 -1
- package/dist/esm/components/Pressed/Styles.js +0 -18
- package/dist/esm/components/Pressed/Styles.js.map +0 -1
- package/dist/esm/components/Pressed/index.d.ts +0 -2
- package/dist/esm/components/Pressed/index.d.ts.map +0 -1
- package/dist/esm/components/Pressed/index.js +0 -17
- package/dist/esm/components/Pressed/index.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
})(["display:inline-flex;svg{margin:0 4px;}"]);
|
|
200
200
|
StyledButtonElement.displayName = "StyledButtonElement";
|
|
201
201
|
|
|
202
|
-
var _excluded$
|
|
202
|
+
var _excluded$1t = ["children", "active", "variant", "size", "className"];
|
|
203
203
|
/**
|
|
204
204
|
* @component Button
|
|
205
205
|
* @description
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
_ref$size = _ref.size,
|
|
230
230
|
size = _ref$size === void 0 ? "medium" : _ref$size,
|
|
231
231
|
className = _ref.className,
|
|
232
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
232
|
+
args = _objectWithoutProperties(_ref, _excluded$1t);
|
|
233
233
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
|
|
234
234
|
className: classNames__default["default"]("c-btn", className, {
|
|
235
235
|
"c-btn--contained": variant === "primary" || variant === "contained",
|
|
@@ -303,12 +303,12 @@
|
|
|
303
303
|
AddCrossTinyIcon.displayName = "AddCrossTinyIcon";
|
|
304
304
|
var AddCrossTinyIcon$1 = AddCrossTinyIcon;
|
|
305
305
|
|
|
306
|
-
var _excluded$
|
|
306
|
+
var _excluded$1s = ["className", "disabled"];
|
|
307
307
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
308
308
|
var className = _ref.className,
|
|
309
309
|
_ref$disabled = _ref.disabled,
|
|
310
310
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
311
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
311
|
+
rest = _objectWithoutProperties(_ref, _excluded$1s);
|
|
312
312
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
313
313
|
ref: ref,
|
|
314
314
|
variant: "contained",
|
|
@@ -340,11 +340,11 @@
|
|
|
340
340
|
});
|
|
341
341
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
342
342
|
|
|
343
|
-
var _excluded$
|
|
343
|
+
var _excluded$1r = ["children", "className"];
|
|
344
344
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
345
345
|
var children = _ref.children,
|
|
346
346
|
className = _ref.className,
|
|
347
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
347
|
+
rest = _objectWithoutProperties(_ref, _excluded$1r);
|
|
348
348
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
349
349
|
ref: ref,
|
|
350
350
|
className: classNames__default["default"]("c-btn-group", className)
|
|
@@ -368,11 +368,11 @@
|
|
|
368
368
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
369
369
|
StyledListSeparator.displayName = "StyledListSeparator";
|
|
370
370
|
|
|
371
|
-
var _excluded$
|
|
371
|
+
var _excluded$1q = ["children", "className"];
|
|
372
372
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
373
373
|
var children = _ref.children,
|
|
374
374
|
className = _ref.className,
|
|
375
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
375
|
+
props = _objectWithoutProperties(_ref, _excluded$1q);
|
|
376
376
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({
|
|
377
377
|
className: classNames__default["default"]("c-list-item", className),
|
|
378
378
|
ref: ref,
|
|
@@ -381,21 +381,21 @@
|
|
|
381
381
|
});
|
|
382
382
|
ListItem.displayName = "ListItem";
|
|
383
383
|
|
|
384
|
-
var _excluded$
|
|
384
|
+
var _excluded$1p = ["className"];
|
|
385
385
|
var ListSeparator = function ListSeparator(_ref) {
|
|
386
386
|
var className = _ref.className,
|
|
387
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
387
|
+
props = _objectWithoutProperties(_ref, _excluded$1p);
|
|
388
388
|
return /*#__PURE__*/React__default["default"].createElement(StyledListSeparator, _extends({
|
|
389
389
|
className: classNames__default["default"]("c-list-separator", className)
|
|
390
390
|
}, props));
|
|
391
391
|
};
|
|
392
392
|
ListSeparator.displayName = "ListSeparator";
|
|
393
393
|
|
|
394
|
-
var _excluded$
|
|
394
|
+
var _excluded$1o = ["children", "className"];
|
|
395
395
|
var _List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
396
396
|
var children = _ref.children,
|
|
397
397
|
className = _ref.className,
|
|
398
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
398
|
+
props = _objectWithoutProperties(_ref, _excluded$1o);
|
|
399
399
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({
|
|
400
400
|
className: className,
|
|
401
401
|
ref: ref,
|
|
@@ -757,7 +757,7 @@
|
|
|
757
757
|
return size === "big" && styled.css(["width:40px;"]);
|
|
758
758
|
});
|
|
759
759
|
|
|
760
|
-
var _excluded$
|
|
760
|
+
var _excluded$1n = ["children", "className", "variant", "size", "active"];
|
|
761
761
|
|
|
762
762
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
763
763
|
|
|
@@ -787,7 +787,7 @@
|
|
|
787
787
|
variant = _ref.variant,
|
|
788
788
|
size = _ref.size,
|
|
789
789
|
active = _ref.active,
|
|
790
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
790
|
+
args = _objectWithoutProperties(_ref, _excluded$1n);
|
|
791
791
|
return /*#__PURE__*/React__default["default"].createElement(StyledIconButton, _extends({
|
|
792
792
|
className: className,
|
|
793
793
|
variant: variant,
|
|
@@ -7429,7 +7429,7 @@
|
|
|
7429
7429
|
}, FontStyle, BoxSizingStyle);
|
|
7430
7430
|
StyledBubble.displayName = "StyledBubble";
|
|
7431
7431
|
|
|
7432
|
-
var _excluded$
|
|
7432
|
+
var _excluded$1m = ["children", "className", "innerRef", "style"];
|
|
7433
7433
|
var Bubble = function Bubble(_ref) {
|
|
7434
7434
|
var children = _ref.children,
|
|
7435
7435
|
className = _ref.className,
|
|
@@ -7437,7 +7437,7 @@
|
|
|
7437
7437
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
7438
7438
|
_ref$style = _ref.style,
|
|
7439
7439
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
7440
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7440
|
+
rest = _objectWithoutProperties(_ref, _excluded$1m);
|
|
7441
7441
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
7442
7442
|
ref: innerRef,
|
|
7443
7443
|
className: classNames__default["default"]("c-bubble", className),
|
|
@@ -7498,12 +7498,12 @@
|
|
|
7498
7498
|
});
|
|
7499
7499
|
StyledOverlay.displayName = "StyledOverlay";
|
|
7500
7500
|
|
|
7501
|
-
var _excluded$
|
|
7501
|
+
var _excluded$1l = ["className", "disableBackgroundColor"];
|
|
7502
7502
|
var Overlay = function Overlay(_ref) {
|
|
7503
7503
|
var className = _ref.className,
|
|
7504
7504
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
7505
7505
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
7506
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7506
|
+
rest = _objectWithoutProperties(_ref, _excluded$1l);
|
|
7507
7507
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
7508
7508
|
className: classNames__default["default"]("c-overlay", className),
|
|
7509
7509
|
$disableBackgroundColor: disableBackgroundColor
|
|
@@ -7511,7 +7511,7 @@
|
|
|
7511
7511
|
};
|
|
7512
7512
|
Overlay.displayName = "Overlay";
|
|
7513
7513
|
|
|
7514
|
-
var _excluded$
|
|
7514
|
+
var _excluded$1k = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy", "afterWrite"];
|
|
7515
7515
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7516
7516
|
var children = _ref.children,
|
|
7517
7517
|
anchorEl = _ref.anchorEl,
|
|
@@ -7525,7 +7525,7 @@
|
|
|
7525
7525
|
_ref$strategy = _ref.strategy,
|
|
7526
7526
|
strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
|
|
7527
7527
|
afterWrite = _ref.afterWrite,
|
|
7528
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7528
|
+
rest = _objectWithoutProperties(_ref, _excluded$1k);
|
|
7529
7529
|
var _useState = React.useState(true),
|
|
7530
7530
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7531
7531
|
exited = _useState2[0],
|
|
@@ -7648,7 +7648,7 @@
|
|
|
7648
7648
|
};
|
|
7649
7649
|
var LayerContext$1 = LayerContext;
|
|
7650
7650
|
|
|
7651
|
-
var _excluded$
|
|
7651
|
+
var _excluded$1j = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "disableCloseOnEsc", "onClick"];
|
|
7652
7652
|
var returnFocus = {
|
|
7653
7653
|
preventScroll: true
|
|
7654
7654
|
};
|
|
@@ -7665,7 +7665,7 @@
|
|
|
7665
7665
|
_ref$disableCloseOnEs = _ref.disableCloseOnEsc,
|
|
7666
7666
|
disableCloseOnEsc = _ref$disableCloseOnEs === void 0 ? false : _ref$disableCloseOnEs,
|
|
7667
7667
|
onClick = _ref.onClick,
|
|
7668
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7668
|
+
rest = _objectWithoutProperties(_ref, _excluded$1j);
|
|
7669
7669
|
var innerRef = React.useRef(null);
|
|
7670
7670
|
var handleRef = useForkRef(innerRef, ref);
|
|
7671
7671
|
var _useLayerContext = useLayerContext(),
|
|
@@ -7976,7 +7976,7 @@
|
|
|
7976
7976
|
});
|
|
7977
7977
|
StyledTypography.displayName = "StyledTypography";
|
|
7978
7978
|
|
|
7979
|
-
var _excluded$
|
|
7979
|
+
var _excluded$1i = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
7980
7980
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7981
7981
|
var _ref$variant = _ref.variant,
|
|
7982
7982
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -8007,7 +8007,7 @@
|
|
|
8007
8007
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
8008
8008
|
className = _ref.className,
|
|
8009
8009
|
children = _ref.children,
|
|
8010
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8010
|
+
props = _objectWithoutProperties(_ref, _excluded$1i);
|
|
8011
8011
|
var Component = as || "div";
|
|
8012
8012
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
8013
8013
|
as: Component,
|
|
@@ -8030,13 +8030,13 @@
|
|
|
8030
8030
|
});
|
|
8031
8031
|
Typography.displayName = "Typography";
|
|
8032
8032
|
|
|
8033
|
-
var _excluded$
|
|
8033
|
+
var _excluded$1h = ["title", "className", "leftElement", "rightElement"];
|
|
8034
8034
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8035
8035
|
var title = _ref.title,
|
|
8036
8036
|
className = _ref.className,
|
|
8037
8037
|
leftElement = _ref.leftElement,
|
|
8038
8038
|
rightElement = _ref.rightElement,
|
|
8039
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8039
|
+
props = _objectWithoutProperties(_ref, _excluded$1h);
|
|
8040
8040
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
8041
8041
|
className: classNames__default["default"]("c-menu-header", className),
|
|
8042
8042
|
ref: ref
|
|
@@ -8061,11 +8061,11 @@
|
|
|
8061
8061
|
});
|
|
8062
8062
|
MenuHeader.displayName = "MenuHeader";
|
|
8063
8063
|
|
|
8064
|
-
var _excluded$
|
|
8064
|
+
var _excluded$1g = ["children", "className"];
|
|
8065
8065
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8066
8066
|
var children = _ref.children,
|
|
8067
8067
|
className = _ref.className,
|
|
8068
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8068
|
+
props = _objectWithoutProperties(_ref, _excluded$1g);
|
|
8069
8069
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter$1, _extends({}, props, {
|
|
8070
8070
|
className: classNames__default["default"]("c-menu-footer", className),
|
|
8071
8071
|
ref: ref
|
|
@@ -8073,14 +8073,14 @@
|
|
|
8073
8073
|
});
|
|
8074
8074
|
MenuFooter.displayName = "MenuFooter";
|
|
8075
8075
|
|
|
8076
|
-
var _excluded$
|
|
8076
|
+
var _excluded$1f = ["children", "className", "separator"];
|
|
8077
8077
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
8078
8078
|
var _dimensions$width, _childDimensions$widt;
|
|
8079
8079
|
var children = _ref.children,
|
|
8080
8080
|
className = _ref.className,
|
|
8081
8081
|
_ref$separator = _ref.separator,
|
|
8082
8082
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
8083
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8083
|
+
rest = _objectWithoutProperties(_ref, _excluded$1f);
|
|
8084
8084
|
var internalRef = React.useRef(null);
|
|
8085
8085
|
var listWrapperRef = React.useRef(null);
|
|
8086
8086
|
var olRef = React.useRef(null);
|
|
@@ -8258,12 +8258,12 @@
|
|
|
8258
8258
|
}, value && value > 100 ? 99 + "+" : value);
|
|
8259
8259
|
};
|
|
8260
8260
|
|
|
8261
|
-
var _excluded$
|
|
8261
|
+
var _excluded$1e = ["weight", "children"];
|
|
8262
8262
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8263
8263
|
var _ref$weight = _ref.weight,
|
|
8264
8264
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
8265
8265
|
children = _ref.children,
|
|
8266
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8266
|
+
props = _objectWithoutProperties(_ref, _excluded$1e);
|
|
8267
8267
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
8268
8268
|
variant: "Body 2",
|
|
8269
8269
|
weight: weight,
|
|
@@ -8371,10 +8371,10 @@
|
|
|
8371
8371
|
};
|
|
8372
8372
|
FromElement.displayName = "FromElement";
|
|
8373
8373
|
|
|
8374
|
-
var _excluded$
|
|
8374
|
+
var _excluded$1d = ["children"];
|
|
8375
8375
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
8376
8376
|
var children = _ref.children,
|
|
8377
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8377
|
+
props = _objectWithoutProperties(_ref, _excluded$1d);
|
|
8378
8378
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
8379
8379
|
timeout: 0
|
|
8380
8380
|
}, props), children);
|
|
@@ -8449,7 +8449,7 @@
|
|
|
8449
8449
|
});
|
|
8450
8450
|
Tooltip.displayName = "Tooltip";
|
|
8451
8451
|
|
|
8452
|
-
var _excluded$
|
|
8452
|
+
var _excluded$1c = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className", "labelClassName", "disabled"];
|
|
8453
8453
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8454
8454
|
var label = _ref.label,
|
|
8455
8455
|
icon = _ref.icon,
|
|
@@ -8462,7 +8462,7 @@
|
|
|
8462
8462
|
labelClassName = _ref.labelClassName,
|
|
8463
8463
|
_ref$disabled = _ref.disabled,
|
|
8464
8464
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8465
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8465
|
+
args = _objectWithoutProperties(_ref, _excluded$1c);
|
|
8466
8466
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
8467
8467
|
ref: ref,
|
|
8468
8468
|
className: className
|
|
@@ -8857,7 +8857,7 @@
|
|
|
8857
8857
|
};
|
|
8858
8858
|
YearMonthPicker.displayName = "YearMonthPicker";
|
|
8859
8859
|
|
|
8860
|
-
var _excluded$
|
|
8860
|
+
var _excluded$1b = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers", "renderDay"];
|
|
8861
8861
|
var formatWeekdayName = function formatWeekdayName(str) {
|
|
8862
8862
|
return moment__default["default"](str).format("ddd").charAt(0);
|
|
8863
8863
|
};
|
|
@@ -8883,7 +8883,7 @@
|
|
|
8883
8883
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
8884
8884
|
defaultModifiers = _ref.modifiers,
|
|
8885
8885
|
renderDay = _ref.renderDay,
|
|
8886
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8886
|
+
rest = _objectWithoutProperties(_ref, _excluded$1b);
|
|
8887
8887
|
var _useState = React.useState(),
|
|
8888
8888
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8889
8889
|
enteredTo = _useState2[0],
|
|
@@ -9715,10 +9715,10 @@
|
|
|
9715
9715
|
componentId: "sc-1n0a2yl-0"
|
|
9716
9716
|
})(["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);
|
|
9717
9717
|
|
|
9718
|
-
var _excluded$
|
|
9718
|
+
var _excluded$1a = ["className"];
|
|
9719
9719
|
var SkeletonLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9720
9720
|
var className = _ref.className,
|
|
9721
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9721
|
+
rest = _objectWithoutProperties(_ref, _excluded$1a);
|
|
9722
9722
|
return /*#__PURE__*/React__default["default"].createElement(StyledSkeletonLoader, _extends({
|
|
9723
9723
|
ref: ref,
|
|
9724
9724
|
className: classNames__default["default"]("c-loader c-loader--linear", className)
|
|
@@ -9732,10 +9732,10 @@
|
|
|
9732
9732
|
componentId: "sc-1f35d5h-0"
|
|
9733
9733
|
})(["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);
|
|
9734
9734
|
|
|
9735
|
-
var _excluded$
|
|
9735
|
+
var _excluded$19 = ["className"];
|
|
9736
9736
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9737
9737
|
var className = _ref.className,
|
|
9738
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9738
|
+
rest = _objectWithoutProperties(_ref, _excluded$19);
|
|
9739
9739
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
9740
9740
|
ref: ref,
|
|
9741
9741
|
className: classNames__default["default"]("c-loader c-loader--dots", className)
|
|
@@ -9757,7 +9757,7 @@
|
|
|
9757
9757
|
return props.$activeColorPercentage === "75%" && styled.css(["border-right:", "px solid ", ";border-bottom:", "px solid ", ";border-left:", "px solid ", ";border-top:", "px solid ", ";"], props.$stroke, props.$activeStrokeColor, props.$stroke, props.$activeStrokeColor, props.$stroke, props.$inactiveStrokeColor, props.$stroke, props.$activeStrokeColor);
|
|
9758
9758
|
});
|
|
9759
9759
|
|
|
9760
|
-
var _excluded$
|
|
9760
|
+
var _excluded$18 = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
9761
9761
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9762
9762
|
var _ref$radius = _ref.radius,
|
|
9763
9763
|
radius = _ref$radius === void 0 ? 10 : _ref$radius,
|
|
@@ -9772,7 +9772,7 @@
|
|
|
9772
9772
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
9773
9773
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
9774
9774
|
className = _ref.className,
|
|
9775
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9775
|
+
rest = _objectWithoutProperties(_ref, _excluded$18);
|
|
9776
9776
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader$1, _extends({
|
|
9777
9777
|
ref: ref,
|
|
9778
9778
|
className: className,
|
|
@@ -9811,7 +9811,7 @@
|
|
|
9811
9811
|
});
|
|
9812
9812
|
StyledLinearLoader.displayName = "StyledLinearLoader";
|
|
9813
9813
|
|
|
9814
|
-
var _excluded$
|
|
9814
|
+
var _excluded$17 = ["height", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "animationDuration"];
|
|
9815
9815
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9816
9816
|
var _ref$height = _ref.height,
|
|
9817
9817
|
height = _ref$height === void 0 ? 4 : _ref$height,
|
|
@@ -9823,7 +9823,7 @@
|
|
|
9823
9823
|
activeColorPercentage = _ref$activeColorPerce === void 0 ? "25%" : _ref$activeColorPerce,
|
|
9824
9824
|
_ref$animationDuratio = _ref.animationDuration,
|
|
9825
9825
|
animationDuration = _ref$animationDuratio === void 0 ? 0.75 : _ref$animationDuratio,
|
|
9826
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9826
|
+
rest = _objectWithoutProperties(_ref, _excluded$17);
|
|
9827
9827
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
9828
9828
|
ref: ref,
|
|
9829
9829
|
$height: height,
|
|
@@ -9835,7 +9835,7 @@
|
|
|
9835
9835
|
});
|
|
9836
9836
|
LinearLoader.displayName = "LinearLoader";
|
|
9837
9837
|
|
|
9838
|
-
var _excluded$
|
|
9838
|
+
var _excluded$16 = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
|
|
9839
9839
|
var SortDirection = /*#__PURE__*/function (SortDirection) {
|
|
9840
9840
|
SortDirection["None"] = "none";
|
|
9841
9841
|
SortDirection["Asc"] = "asc";
|
|
@@ -9885,7 +9885,7 @@
|
|
|
9885
9885
|
loading = _ref.loading,
|
|
9886
9886
|
_ref$loadingRows = _ref.loadingRows,
|
|
9887
9887
|
loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
|
|
9888
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9888
|
+
args = _objectWithoutProperties(_ref, _excluded$16);
|
|
9889
9889
|
var _useState = React.useState(sortDirection),
|
|
9890
9890
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9891
9891
|
columnDirection = _useState2[0],
|
|
@@ -10245,7 +10245,7 @@
|
|
|
10245
10245
|
});
|
|
10246
10246
|
StyledCompleteCheckbox.displayName = "StyledCompleteCheckbox";
|
|
10247
10247
|
|
|
10248
|
-
var _excluded$
|
|
10248
|
+
var _excluded$15 = ["completed", "disabled", "animate", "onClick", "className", "primary", "checkMarkClassName"];
|
|
10249
10249
|
var CompleteCheckbox = function CompleteCheckbox(_ref) {
|
|
10250
10250
|
var _ref$completed = _ref.completed,
|
|
10251
10251
|
completed = _ref$completed === void 0 ? false : _ref$completed,
|
|
@@ -10258,7 +10258,7 @@
|
|
|
10258
10258
|
_ref$primary = _ref.primary,
|
|
10259
10259
|
primary = _ref$primary === void 0 ? false : _ref$primary,
|
|
10260
10260
|
checkMarkClassName = _ref.checkMarkClassName,
|
|
10261
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10261
|
+
rest = _objectWithoutProperties(_ref, _excluded$15);
|
|
10262
10262
|
return /*#__PURE__*/React__default["default"].createElement(StyledCompleteCheckbox, _extends({
|
|
10263
10263
|
onClick: onClick,
|
|
10264
10264
|
className: classNames__default["default"]("c-complete-checkbox", className),
|
|
@@ -10289,7 +10289,7 @@
|
|
|
10289
10289
|
});
|
|
10290
10290
|
StyledPaper.displayName = "StyledPaper";
|
|
10291
10291
|
|
|
10292
|
-
var _excluded$
|
|
10292
|
+
var _excluded$14 = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
10293
10293
|
/**
|
|
10294
10294
|
* This is a component description and should sit directly above your component
|
|
10295
10295
|
*/
|
|
@@ -10302,7 +10302,7 @@
|
|
|
10302
10302
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
10303
10303
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
10304
10304
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
10305
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10305
|
+
rest = _objectWithoutProperties(_ref, _excluded$14);
|
|
10306
10306
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
10307
10307
|
className: classNames__default["default"](className, {
|
|
10308
10308
|
"ac-shadow--raised--lg": !useOptimizedShadow && hover && type === "paper-1",
|
|
@@ -10355,7 +10355,7 @@
|
|
|
10355
10355
|
});
|
|
10356
10356
|
StyledCard.displayName = "StyledCard";
|
|
10357
10357
|
|
|
10358
|
-
var _excluded$
|
|
10358
|
+
var _excluded$13 = ["children", "className", "hoverable", "paperType"];
|
|
10359
10359
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10360
10360
|
var children = _ref.children,
|
|
10361
10361
|
className = _ref.className,
|
|
@@ -10363,7 +10363,7 @@
|
|
|
10363
10363
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
10364
10364
|
_ref$paperType = _ref.paperType,
|
|
10365
10365
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
10366
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10366
|
+
rest = _objectWithoutProperties(_ref, _excluded$13);
|
|
10367
10367
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
10368
10368
|
type: paperType,
|
|
10369
10369
|
className: classNames__default["default"]("c-card", className),
|
|
@@ -10470,12 +10470,12 @@
|
|
|
10470
10470
|
});
|
|
10471
10471
|
StyledIcon$1.displayName = "StyledIcon";
|
|
10472
10472
|
|
|
10473
|
-
var _excluded$
|
|
10473
|
+
var _excluded$12 = ["weight", "children"];
|
|
10474
10474
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10475
10475
|
var _ref$weight = _ref.weight,
|
|
10476
10476
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
10477
10477
|
children = _ref.children,
|
|
10478
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10478
|
+
props = _objectWithoutProperties(_ref, _excluded$12);
|
|
10479
10479
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
10480
10480
|
weight: weight,
|
|
10481
10481
|
variant: "Title 1",
|
|
@@ -10484,12 +10484,12 @@
|
|
|
10484
10484
|
});
|
|
10485
10485
|
Title1.displayName = "Title1";
|
|
10486
10486
|
|
|
10487
|
-
var _excluded$
|
|
10487
|
+
var _excluded$11 = ["weight", "children"];
|
|
10488
10488
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10489
10489
|
var _ref$weight = _ref.weight,
|
|
10490
10490
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
10491
10491
|
children = _ref.children,
|
|
10492
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10492
|
+
props = _objectWithoutProperties(_ref, _excluded$11);
|
|
10493
10493
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
10494
10494
|
weight: weight,
|
|
10495
10495
|
variant: "Title 2",
|
|
@@ -10498,10 +10498,10 @@
|
|
|
10498
10498
|
});
|
|
10499
10499
|
Title2.displayName = "Title2";
|
|
10500
10500
|
|
|
10501
|
-
var _excluded$
|
|
10501
|
+
var _excluded$10 = ["children"];
|
|
10502
10502
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10503
10503
|
var children = _ref.children,
|
|
10504
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10504
|
+
props = _objectWithoutProperties(_ref, _excluded$10);
|
|
10505
10505
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
10506
10506
|
weight: "bold",
|
|
10507
10507
|
variant: "Header 2",
|
|
@@ -10510,10 +10510,10 @@
|
|
|
10510
10510
|
});
|
|
10511
10511
|
Header2.displayName = "Header2";
|
|
10512
10512
|
|
|
10513
|
-
var _excluded
|
|
10513
|
+
var _excluded$$ = ["children"];
|
|
10514
10514
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10515
10515
|
var children = _ref.children,
|
|
10516
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
10516
|
+
props = _objectWithoutProperties(_ref, _excluded$$);
|
|
10517
10517
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
10518
10518
|
weight: "bold",
|
|
10519
10519
|
variant: "Header 3",
|
|
@@ -10522,12 +10522,12 @@
|
|
|
10522
10522
|
});
|
|
10523
10523
|
Header3.displayName = "Header3";
|
|
10524
10524
|
|
|
10525
|
-
var _excluded
|
|
10525
|
+
var _excluded$_ = ["weight", "children"];
|
|
10526
10526
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10527
10527
|
var _ref$weight = _ref.weight,
|
|
10528
10528
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
10529
10529
|
children = _ref.children,
|
|
10530
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
10530
|
+
props = _objectWithoutProperties(_ref, _excluded$_);
|
|
10531
10531
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
10532
10532
|
variant: "Body 1",
|
|
10533
10533
|
weight: weight,
|
|
@@ -10536,12 +10536,12 @@
|
|
|
10536
10536
|
});
|
|
10537
10537
|
Body1.displayName = "Body1";
|
|
10538
10538
|
|
|
10539
|
-
var _excluded$
|
|
10539
|
+
var _excluded$Z = ["weight", "children"];
|
|
10540
10540
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10541
10541
|
var _ref$weight = _ref.weight,
|
|
10542
10542
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
10543
10543
|
children = _ref.children,
|
|
10544
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10544
|
+
props = _objectWithoutProperties(_ref, _excluded$Z);
|
|
10545
10545
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
10546
10546
|
variant: "Caption 1",
|
|
10547
10547
|
weight: weight,
|
|
@@ -10550,12 +10550,12 @@
|
|
|
10550
10550
|
});
|
|
10551
10551
|
Caption1.displayName = "Caption1";
|
|
10552
10552
|
|
|
10553
|
-
var _excluded$
|
|
10553
|
+
var _excluded$Y = ["weight", "children"];
|
|
10554
10554
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10555
10555
|
var _ref$weight = _ref.weight,
|
|
10556
10556
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
10557
10557
|
children = _ref.children,
|
|
10558
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10558
|
+
props = _objectWithoutProperties(_ref, _excluded$Y);
|
|
10559
10559
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
10560
10560
|
variant: "Caption 2",
|
|
10561
10561
|
weight: weight,
|
|
@@ -10639,7 +10639,7 @@
|
|
|
10639
10639
|
componentId: "sc-5x2tyd-1"
|
|
10640
10640
|
})(["border-radius:100%;object-fit:cover;"]);
|
|
10641
10641
|
|
|
10642
|
-
var _excluded$
|
|
10642
|
+
var _excluded$X = ["url", "alt", "size", "className", "imgClassName", "children"];
|
|
10643
10643
|
/**
|
|
10644
10644
|
* @component Avatar
|
|
10645
10645
|
* @description
|
|
@@ -10674,7 +10674,7 @@
|
|
|
10674
10674
|
className = _ref.className,
|
|
10675
10675
|
imgClassName = _ref.imgClassName,
|
|
10676
10676
|
children = _ref.children,
|
|
10677
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10677
|
+
rest = _objectWithoutProperties(_ref, _excluded$X);
|
|
10678
10678
|
var _useState = React.useState(false),
|
|
10679
10679
|
_useState2 = _slicedToArray(_useState, 2),
|
|
10680
10680
|
imageLoaded = _useState2[0],
|
|
@@ -10715,13 +10715,13 @@
|
|
|
10715
10715
|
return props.$color && styled.css(["background-color:", ";"], props.$color);
|
|
10716
10716
|
});
|
|
10717
10717
|
|
|
10718
|
-
var _excluded$
|
|
10718
|
+
var _excluded$W = ["color", "size", "className"];
|
|
10719
10719
|
var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10720
10720
|
var color = _ref.color,
|
|
10721
10721
|
_ref$size = _ref.size,
|
|
10722
10722
|
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
10723
10723
|
className = _ref.className,
|
|
10724
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10724
|
+
rest = _objectWithoutProperties(_ref, _excluded$W);
|
|
10725
10725
|
return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
|
|
10726
10726
|
className: classNames__default["default"]("c-dot", className),
|
|
10727
10727
|
ref: ref,
|
|
@@ -10758,7 +10758,7 @@
|
|
|
10758
10758
|
});
|
|
10759
10759
|
StyledTagText.displayName = "StyledTagText";
|
|
10760
10760
|
|
|
10761
|
-
var _excluded$
|
|
10761
|
+
var _excluded$V = ["name", "color", "showText", "showDot", "className"];
|
|
10762
10762
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10763
10763
|
var name = _ref.name,
|
|
10764
10764
|
color = _ref.color,
|
|
@@ -10767,7 +10767,7 @@
|
|
|
10767
10767
|
_ref$showDot = _ref.showDot,
|
|
10768
10768
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
10769
10769
|
className = _ref.className,
|
|
10770
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10770
|
+
rest = _objectWithoutProperties(_ref, _excluded$V);
|
|
10771
10771
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
10772
10772
|
className: classNames__default["default"]("c-tag", className),
|
|
10773
10773
|
ref: ref
|
|
@@ -10873,7 +10873,7 @@
|
|
|
10873
10873
|
});
|
|
10874
10874
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
10875
10875
|
|
|
10876
|
-
var _excluded$
|
|
10876
|
+
var _excluded$U = ["children", "active", "disabled", "className", "role"];
|
|
10877
10877
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
10878
10878
|
var children = _ref.children,
|
|
10879
10879
|
_ref$active = _ref.active,
|
|
@@ -10882,7 +10882,7 @@
|
|
|
10882
10882
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
10883
10883
|
className = _ref.className,
|
|
10884
10884
|
role = _ref.role,
|
|
10885
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10885
|
+
rest = _objectWithoutProperties(_ref, _excluded$U);
|
|
10886
10886
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
10887
10887
|
className: classNames__default["default"](`c-nav__item`, {
|
|
10888
10888
|
"c-nav__item--active": active
|
|
@@ -10923,11 +10923,11 @@
|
|
|
10923
10923
|
});
|
|
10924
10924
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
10925
10925
|
|
|
10926
|
-
var _excluded$
|
|
10926
|
+
var _excluded$T = ["expanded"];
|
|
10927
10927
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10928
10928
|
var _ref$expanded = _ref.expanded,
|
|
10929
10929
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
10930
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10930
|
+
rest = _objectWithoutProperties(_ref, _excluded$T);
|
|
10931
10931
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
10932
10932
|
ref: ref,
|
|
10933
10933
|
viewBox: "0 0 24 24",
|
|
@@ -11103,7 +11103,7 @@
|
|
|
11103
11103
|
};
|
|
11104
11104
|
OptionContent.displayName = "OptionContent";
|
|
11105
11105
|
|
|
11106
|
-
var _excluded$
|
|
11106
|
+
var _excluded$S = ["isIndeterminate", "data-testid"];
|
|
11107
11107
|
|
|
11108
11108
|
/**
|
|
11109
11109
|
* @component CheckboxIcon
|
|
@@ -11127,7 +11127,7 @@
|
|
|
11127
11127
|
var CheckboxIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
11128
11128
|
var isIndeterminate = _ref.isIndeterminate,
|
|
11129
11129
|
testId = _ref["data-testid"],
|
|
11130
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11130
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
11131
11131
|
// const [animate, setAnimate] = useState(false);
|
|
11132
11132
|
// const mountRef = useRef(false);
|
|
11133
11133
|
|
|
@@ -11217,7 +11217,7 @@
|
|
|
11217
11217
|
});
|
|
11218
11218
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
11219
11219
|
|
|
11220
|
-
var _excluded$
|
|
11220
|
+
var _excluded$R = ["className", "hover", "id", "isIndeterminate"];
|
|
11221
11221
|
/**
|
|
11222
11222
|
* Checkbox component
|
|
11223
11223
|
*/
|
|
@@ -11227,7 +11227,7 @@
|
|
|
11227
11227
|
_ref$id = _ref.id,
|
|
11228
11228
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
11229
11229
|
isIndeterminate = _ref.isIndeterminate,
|
|
11230
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11230
|
+
rest = _objectWithoutProperties(_ref, _excluded$R);
|
|
11231
11231
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
|
|
11232
11232
|
className: classNames__default["default"]("c-checkbox", {
|
|
11233
11233
|
"c-checkbox__hover": hover,
|
|
@@ -11311,7 +11311,7 @@
|
|
|
11311
11311
|
});
|
|
11312
11312
|
StyledPasswordIndicator.displayName = "StyledPasswordIndicator";
|
|
11313
11313
|
|
|
11314
|
-
var _excluded$
|
|
11314
|
+
var _excluded$Q = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef", "wrapperClick"];
|
|
11315
11315
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
11316
11316
|
var _ref$className = _ref.className,
|
|
11317
11317
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -11328,7 +11328,7 @@
|
|
|
11328
11328
|
endAdornment = _ref.endAdornment,
|
|
11329
11329
|
wrapRef = _ref.wrapRef,
|
|
11330
11330
|
wrapperClick = _ref.wrapperClick,
|
|
11331
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11331
|
+
rest = _objectWithoutProperties(_ref, _excluded$Q);
|
|
11332
11332
|
var intInputRef = React.useRef(null);
|
|
11333
11333
|
var handleRef = useForkRef(ref, intInputRef);
|
|
11334
11334
|
var handleWrapperClick = React.useCallback(function () {
|
|
@@ -11382,14 +11382,14 @@
|
|
|
11382
11382
|
}, StyledRadioLabel);
|
|
11383
11383
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
11384
11384
|
|
|
11385
|
-
var _excluded$
|
|
11385
|
+
var _excluded$P = ["className", "id", "hover"];
|
|
11386
11386
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11387
11387
|
var _ref$className = _ref.className,
|
|
11388
11388
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
11389
11389
|
_ref$id = _ref.id,
|
|
11390
11390
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
11391
11391
|
hover = _ref.hover,
|
|
11392
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11392
|
+
props = _objectWithoutProperties(_ref, _excluded$P);
|
|
11393
11393
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
11394
11394
|
className: classNames__default["default"]("c-radio-btn", {
|
|
11395
11395
|
"c-radio-btn__hover": hover,
|
|
@@ -11537,7 +11537,7 @@
|
|
|
11537
11537
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
11538
11538
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
11539
11539
|
|
|
11540
|
-
var _excluded$
|
|
11540
|
+
var _excluded$O = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
11541
11541
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11542
11542
|
var children = _ref.children,
|
|
11543
11543
|
className = _ref.className,
|
|
@@ -11551,7 +11551,7 @@
|
|
|
11551
11551
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
11552
11552
|
innerColor = _ref.innerColor,
|
|
11553
11553
|
outerColor = _ref.outerColor,
|
|
11554
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11554
|
+
rest = _objectWithoutProperties(_ref, _excluded$O);
|
|
11555
11555
|
var _useState = React.useState({
|
|
11556
11556
|
top: 0,
|
|
11557
11557
|
right: 0,
|
|
@@ -11870,7 +11870,7 @@
|
|
|
11870
11870
|
};
|
|
11871
11871
|
};
|
|
11872
11872
|
|
|
11873
|
-
var _excluded$
|
|
11873
|
+
var _excluded$N = ["as", "className", "invert", "style"];
|
|
11874
11874
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11875
11875
|
var _ref$as = _ref.as,
|
|
11876
11876
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -11878,7 +11878,7 @@
|
|
|
11878
11878
|
_ref$invert = _ref.invert,
|
|
11879
11879
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
11880
11880
|
style = _ref.style,
|
|
11881
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11881
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
11882
11882
|
var internalRef = useInitScrollRef(null, invert);
|
|
11883
11883
|
var handleRef = useForkRef(internalRef, ref);
|
|
11884
11884
|
var props = _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
@@ -12506,7 +12506,7 @@
|
|
|
12506
12506
|
componentId: "sc-9x4q7e-0"
|
|
12507
12507
|
})(["cursor:auto"]);
|
|
12508
12508
|
|
|
12509
|
-
var _excluded$
|
|
12509
|
+
var _excluded$M = ["type", "mode", "target", "options", "selected", "position", "onChange", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue", "startAdornment", "endAdornment", "focusInput"];
|
|
12510
12510
|
var Select = function Select(_ref) {
|
|
12511
12511
|
var _ref$type = _ref.type,
|
|
12512
12512
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -12542,7 +12542,7 @@
|
|
|
12542
12542
|
endAdornment = _ref.endAdornment,
|
|
12543
12543
|
_ref$focusInput = _ref.focusInput,
|
|
12544
12544
|
focusInput = _ref$focusInput === void 0 ? false : _ref$focusInput,
|
|
12545
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
12545
|
+
prop = _objectWithoutProperties(_ref, _excluded$M);
|
|
12546
12546
|
if (disableSearch && (startAdornment || endAdornment)) {
|
|
12547
12547
|
console.warn("Adornments are not visible when search bar is hidden");
|
|
12548
12548
|
}
|
|
@@ -12973,7 +12973,7 @@
|
|
|
12973
12973
|
};
|
|
12974
12974
|
Nav.displayName = "Nav";
|
|
12975
12975
|
|
|
12976
|
-
var _excluded$
|
|
12976
|
+
var _excluded$L = ["children", "as", "disablePointerEvents"];
|
|
12977
12977
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
12978
12978
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
12979
12979
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -12991,7 +12991,7 @@
|
|
|
12991
12991
|
var children = _ref.children,
|
|
12992
12992
|
as = _ref.as,
|
|
12993
12993
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
12994
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12994
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
12995
12995
|
var Component = as || "div";
|
|
12996
12996
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
12997
12997
|
as: Component,
|
|
@@ -13226,7 +13226,7 @@
|
|
|
13226
13226
|
};
|
|
13227
13227
|
};
|
|
13228
13228
|
|
|
13229
|
-
var _excluded$
|
|
13229
|
+
var _excluded$K = ["value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "withLeadingZero", "validation", "incrementOnlySelected", "minuteIncrement", "className", "onChange", "onClick", "align"];
|
|
13230
13230
|
var InputHours = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
13231
13231
|
var defaultValue = _ref.value,
|
|
13232
13232
|
onCancel = _ref.onCancel,
|
|
@@ -13246,7 +13246,7 @@
|
|
|
13246
13246
|
externalOnClick = _ref.onClick,
|
|
13247
13247
|
_ref$align = _ref.align,
|
|
13248
13248
|
align = _ref$align === void 0 ? "center" : _ref$align,
|
|
13249
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13249
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
13250
13250
|
var inputRef = React.useRef(null);
|
|
13251
13251
|
var handleRef = useForkRef(ref, inputRef);
|
|
13252
13252
|
var _useInputHours = useInputHours({
|
|
@@ -13285,7 +13285,7 @@
|
|
|
13285
13285
|
});
|
|
13286
13286
|
InputHours.displayName = "InputHours";
|
|
13287
13287
|
|
|
13288
|
-
var _excluded$
|
|
13288
|
+
var _excluded$J = ["decimalLength", "decimalSeparator", "disableAbbreviation", "disabled", "disableMacros", "invalid", "step", "thousandSeparator", "value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "onChange", "onClick", "limit", "placeholder"];
|
|
13289
13289
|
var InputNumber = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13290
13290
|
var _ref$decimalLength = _ref.decimalLength,
|
|
13291
13291
|
decimalLength = _ref$decimalLength === void 0 ? 2 : _ref$decimalLength,
|
|
@@ -13310,7 +13310,7 @@
|
|
|
13310
13310
|
externalOnClick = _ref.onClick,
|
|
13311
13311
|
limit = _ref.limit,
|
|
13312
13312
|
placeholder = _ref.placeholder,
|
|
13313
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13313
|
+
rest = _objectWithoutProperties(_ref, _excluded$J);
|
|
13314
13314
|
var inputRef = React.useRef(null);
|
|
13315
13315
|
var handleRef = useForkRef(ref, inputRef);
|
|
13316
13316
|
var _useInputNumber = useInputNumber({
|
|
@@ -13357,11 +13357,11 @@
|
|
|
13357
13357
|
});
|
|
13358
13358
|
InputNumber.displayName = "InputNumber";
|
|
13359
13359
|
|
|
13360
|
-
var _excluded$
|
|
13360
|
+
var _excluded$I = ["currency", "size"];
|
|
13361
13361
|
var InputCurrency = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13362
13362
|
var currency = _ref.currency,
|
|
13363
13363
|
size = _ref.size,
|
|
13364
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13364
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
13365
13365
|
var variant = React.useMemo(function () {
|
|
13366
13366
|
if (size === "biggest") {
|
|
13367
13367
|
return "Header 2";
|
|
@@ -13386,7 +13386,7 @@
|
|
|
13386
13386
|
});
|
|
13387
13387
|
InputCurrency.displayName = "InputCurrency";
|
|
13388
13388
|
|
|
13389
|
-
var _excluded$
|
|
13389
|
+
var _excluded$H = ["size", "disabled", "show", "hideControl", "showTooltipText", "hideTooltipText", "value", "validation", "errorMessage", "invalid", "onChange"];
|
|
13390
13390
|
var transform = {
|
|
13391
13391
|
biggest: "big",
|
|
13392
13392
|
regular: "small",
|
|
@@ -13479,7 +13479,7 @@
|
|
|
13479
13479
|
errorMessage = _ref2.errorMessage,
|
|
13480
13480
|
invalid = _ref2.invalid,
|
|
13481
13481
|
onChange = _ref2.onChange,
|
|
13482
|
-
rest = _objectWithoutProperties(_ref2, _excluded$
|
|
13482
|
+
rest = _objectWithoutProperties(_ref2, _excluded$H);
|
|
13483
13483
|
var inputRef = React.useRef(null);
|
|
13484
13484
|
var handleRef = useForkRef(ref, inputRef);
|
|
13485
13485
|
var _useState = React.useState(show),
|
|
@@ -13553,11 +13553,11 @@
|
|
|
13553
13553
|
});
|
|
13554
13554
|
InputPassword.displayName = "InputPassword";
|
|
13555
13555
|
|
|
13556
|
-
var _excluded$
|
|
13556
|
+
var _excluded$G = ["expanded"];
|
|
13557
13557
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13558
13558
|
var _ref$expanded = _ref.expanded,
|
|
13559
13559
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
13560
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13560
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
13561
13561
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
13562
13562
|
ref: ref,
|
|
13563
13563
|
viewBox: "0 0 24 24"
|
|
@@ -13675,14 +13675,14 @@
|
|
|
13675
13675
|
});
|
|
13676
13676
|
StyledTextarea.displayName = "StyledTextarea";
|
|
13677
13677
|
|
|
13678
|
-
var _excluded$
|
|
13678
|
+
var _excluded$F = ["className", "disabled", "invalid"];
|
|
13679
13679
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13680
13680
|
var className = _ref.className,
|
|
13681
13681
|
_ref$disabled = _ref.disabled,
|
|
13682
13682
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
13683
13683
|
_ref$invalid = _ref.invalid,
|
|
13684
13684
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
13685
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13685
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
13686
13686
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
13687
13687
|
$invalid: invalid,
|
|
13688
13688
|
ref: ref,
|
|
@@ -13714,7 +13714,7 @@
|
|
|
13714
13714
|
function () {});
|
|
13715
13715
|
}
|
|
13716
13716
|
|
|
13717
|
-
var _excluded$
|
|
13717
|
+
var _excluded$E = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "disableCloseOnEsc", "open", "onClose", "onClickOutside"];
|
|
13718
13718
|
var getHasTransition = function getHasTransition(children) {
|
|
13719
13719
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
13720
13720
|
};
|
|
@@ -13734,7 +13734,7 @@
|
|
|
13734
13734
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
13735
13735
|
onClose = _ref.onClose,
|
|
13736
13736
|
onClickOutside = _ref.onClickOutside,
|
|
13737
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13737
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
13738
13738
|
var _useState = React.useState(defaultOpen),
|
|
13739
13739
|
_useState2 = _slicedToArray(_useState, 2),
|
|
13740
13740
|
open = _useState2[0],
|
|
@@ -13875,7 +13875,7 @@
|
|
|
13875
13875
|
});
|
|
13876
13876
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
13877
13877
|
|
|
13878
|
-
var _excluded$
|
|
13878
|
+
var _excluded$D = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
13879
13879
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13880
13880
|
var children = _ref.children,
|
|
13881
13881
|
onClose = _ref.onClose,
|
|
@@ -13899,7 +13899,7 @@
|
|
|
13899
13899
|
bodyClassName = _ref.bodyClassName,
|
|
13900
13900
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
13901
13901
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
13902
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13902
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
13903
13903
|
var _useState = React.useState(defaultOpen),
|
|
13904
13904
|
_useState2 = _slicedToArray(_useState, 2),
|
|
13905
13905
|
open = _useState2[0],
|
|
@@ -13992,13 +13992,13 @@
|
|
|
13992
13992
|
});
|
|
13993
13993
|
StyledHeader.displayName = "StyledHeader";
|
|
13994
13994
|
|
|
13995
|
-
var _excluded$
|
|
13995
|
+
var _excluded$C = ["className", "size", "children"];
|
|
13996
13996
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13997
13997
|
var className = _ref.className,
|
|
13998
13998
|
_ref$size = _ref.size,
|
|
13999
13999
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
14000
14000
|
children = _ref.children,
|
|
14001
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14001
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
14002
14002
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
14003
14003
|
type: "paper-2",
|
|
14004
14004
|
className: classNames__default["default"]("c-header", className),
|
|
@@ -14014,7 +14014,7 @@
|
|
|
14014
14014
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
14015
14015
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
14016
14016
|
|
|
14017
|
-
var _excluded$
|
|
14017
|
+
var _excluded$B = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
14018
14018
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14019
14019
|
var _ref$minRows = _ref.minRows,
|
|
14020
14020
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -14030,7 +14030,7 @@
|
|
|
14030
14030
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
14031
14031
|
onKeyDown = _ref.onKeyDown,
|
|
14032
14032
|
value = _ref.value,
|
|
14033
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14033
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
14034
14034
|
var innerRef = React.useRef(null);
|
|
14035
14035
|
var _useState = React.useState(minRows),
|
|
14036
14036
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -14306,7 +14306,7 @@
|
|
|
14306
14306
|
});
|
|
14307
14307
|
StyledChoose.displayName = "StyledChoose";
|
|
14308
14308
|
|
|
14309
|
-
var _excluded$
|
|
14309
|
+
var _excluded$A = ["children", "disabled", "active", "className"];
|
|
14310
14310
|
/**
|
|
14311
14311
|
* Choose component
|
|
14312
14312
|
*/
|
|
@@ -14317,7 +14317,7 @@
|
|
|
14317
14317
|
_ref$active = _ref.active,
|
|
14318
14318
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
14319
14319
|
className = _ref.className,
|
|
14320
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
14320
|
+
args = _objectWithoutProperties(_ref, _excluded$A);
|
|
14321
14321
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
14322
14322
|
disabled: disabled,
|
|
14323
14323
|
className: classNames__default["default"]("c-choose", className),
|
|
@@ -14413,21 +14413,21 @@
|
|
|
14413
14413
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
14414
14414
|
StyledLink.displayName = "StyledLink";
|
|
14415
14415
|
|
|
14416
|
-
var _excluded$
|
|
14416
|
+
var _excluded$z = ["children", "className"];
|
|
14417
14417
|
/**
|
|
14418
14418
|
* Back link component
|
|
14419
14419
|
*/
|
|
14420
14420
|
var BackLink = function BackLink(_ref) {
|
|
14421
14421
|
var children = _ref.children,
|
|
14422
14422
|
className = _ref.className,
|
|
14423
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
14423
|
+
args = _objectWithoutProperties(_ref, _excluded$z);
|
|
14424
14424
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
14425
14425
|
className: classNames__default["default"]("c-back-link", className)
|
|
14426
14426
|
}, args), children);
|
|
14427
14427
|
};
|
|
14428
14428
|
BackLink.displayName = "BackLink";
|
|
14429
14429
|
|
|
14430
|
-
var _excluded$
|
|
14430
|
+
var _excluded$y = ["as", "children", "variant", "size", "disabled", "className"];
|
|
14431
14431
|
/**
|
|
14432
14432
|
* Link component
|
|
14433
14433
|
*/
|
|
@@ -14440,7 +14440,7 @@
|
|
|
14440
14440
|
_ref$disabled = _ref.disabled,
|
|
14441
14441
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
14442
14442
|
className = _ref.className,
|
|
14443
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
14443
|
+
args = _objectWithoutProperties(_ref, _excluded$y);
|
|
14444
14444
|
var Component = as || "a";
|
|
14445
14445
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
14446
14446
|
ref: ref,
|
|
@@ -14498,13 +14498,13 @@
|
|
|
14498
14498
|
})(["padding:20px 30px;", " ", ""], FontStyle, BoxSizingStyle);
|
|
14499
14499
|
StyledDialogActions.displayName = "StyledDialogActions";
|
|
14500
14500
|
|
|
14501
|
-
var _excluded$
|
|
14501
|
+
var _excluded$x = ["className", "children"];
|
|
14502
14502
|
// import { useDialogContext } from "./DialogContext";
|
|
14503
14503
|
|
|
14504
14504
|
var DialogActions = function DialogActions(_ref) {
|
|
14505
14505
|
var className = _ref.className,
|
|
14506
14506
|
children = _ref.children,
|
|
14507
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14507
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
14508
14508
|
// useDialogContext();
|
|
14509
14509
|
|
|
14510
14510
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
@@ -14513,13 +14513,13 @@
|
|
|
14513
14513
|
};
|
|
14514
14514
|
DialogActions.displayName = "DialogActions";
|
|
14515
14515
|
|
|
14516
|
-
var _excluded$
|
|
14516
|
+
var _excluded$w = ["className", "children"];
|
|
14517
14517
|
// import { useDialogContext } from "./DialogContext";
|
|
14518
14518
|
|
|
14519
14519
|
var DialogContent = function DialogContent(_ref) {
|
|
14520
14520
|
var className = _ref.className,
|
|
14521
14521
|
children = _ref.children,
|
|
14522
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14522
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
14523
14523
|
// useDialogContext();
|
|
14524
14524
|
|
|
14525
14525
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
@@ -14540,7 +14540,7 @@
|
|
|
14540
14540
|
};
|
|
14541
14541
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
14542
14542
|
|
|
14543
|
-
var _excluded$
|
|
14543
|
+
var _excluded$v = ["children", "className", "disableDefaultHeading"];
|
|
14544
14544
|
// import { useDialogContext } from "./DialogContext";
|
|
14545
14545
|
|
|
14546
14546
|
var DialogTitle = function DialogTitle(_ref) {
|
|
@@ -14548,7 +14548,7 @@
|
|
|
14548
14548
|
className = _ref.className,
|
|
14549
14549
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
14550
14550
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
14551
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14551
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
14552
14552
|
// useDialogContext();
|
|
14553
14553
|
|
|
14554
14554
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
@@ -14557,7 +14557,7 @@
|
|
|
14557
14557
|
};
|
|
14558
14558
|
DialogTitle.displayName = "DialogTitle";
|
|
14559
14559
|
|
|
14560
|
-
var _excluded$
|
|
14560
|
+
var _excluded$u = ["in", "children", "style", "timeout"];
|
|
14561
14561
|
var defaultStyle$2 = function defaultStyle(duration) {
|
|
14562
14562
|
return {
|
|
14563
14563
|
transition: `all ${duration}ms ease-in-out`,
|
|
@@ -14585,7 +14585,7 @@
|
|
|
14585
14585
|
style = _ref.style,
|
|
14586
14586
|
_ref$timeout = _ref.timeout,
|
|
14587
14587
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
14588
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14588
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
14589
14589
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
14590
14590
|
appear: true,
|
|
14591
14591
|
in: inProp,
|
|
@@ -14600,7 +14600,7 @@
|
|
|
14600
14600
|
};
|
|
14601
14601
|
Fade.displayName = "Fade";
|
|
14602
14602
|
|
|
14603
|
-
var _excluded$
|
|
14603
|
+
var _excluded$t = ["in", "children", "style", "timeout", "initialDirection"];
|
|
14604
14604
|
var Slide = function Slide(_ref) {
|
|
14605
14605
|
var _ref$in = _ref.in,
|
|
14606
14606
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -14610,7 +14610,7 @@
|
|
|
14610
14610
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
14611
14611
|
_ref$initialDirection = _ref.initialDirection,
|
|
14612
14612
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
14613
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14613
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
14614
14614
|
var directionSign;
|
|
14615
14615
|
switch (initialDirection) {
|
|
14616
14616
|
case "right":
|
|
@@ -14716,12 +14716,12 @@
|
|
|
14716
14716
|
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;}"]);
|
|
14717
14717
|
});
|
|
14718
14718
|
|
|
14719
|
-
var _excluded$
|
|
14719
|
+
var _excluded$s = ["children", "direction"];
|
|
14720
14720
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
14721
14721
|
var children = _ref.children,
|
|
14722
14722
|
_ref$direction = _ref.direction,
|
|
14723
14723
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
14724
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
14724
|
+
props = _objectWithoutProperties(_ref, _excluded$s);
|
|
14725
14725
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
14726
14726
|
timeout: 200,
|
|
14727
14727
|
classNames: "c-slide",
|
|
@@ -14764,7 +14764,7 @@
|
|
|
14764
14764
|
};
|
|
14765
14765
|
ResizeTransition.displayName = "ResizeTransition";
|
|
14766
14766
|
|
|
14767
|
-
var _excluded$
|
|
14767
|
+
var _excluded$r = ["in", "children", "style", "timeout"];
|
|
14768
14768
|
var defaultStyle = function defaultStyle(duration) {
|
|
14769
14769
|
return {
|
|
14770
14770
|
transition: `all ${duration}ms ease-in`,
|
|
@@ -14798,7 +14798,7 @@
|
|
|
14798
14798
|
style = _ref.style,
|
|
14799
14799
|
_ref$timeout = _ref.timeout,
|
|
14800
14800
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
14801
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14801
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
14802
14802
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
14803
14803
|
appear: true,
|
|
14804
14804
|
in: inProp,
|
|
@@ -14848,7 +14848,7 @@
|
|
|
14848
14848
|
};
|
|
14849
14849
|
Scale.displayName = "Scale";
|
|
14850
14850
|
|
|
14851
|
-
var _excluded$
|
|
14851
|
+
var _excluded$q = ["children", "open", "onClose", "className", "enableBackgroundClick", "disableCloseOnEsc", "animate", "onClickOutside"];
|
|
14852
14852
|
var _Dialog = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14853
14853
|
var children = _ref.children,
|
|
14854
14854
|
_ref$open = _ref.open,
|
|
@@ -14862,7 +14862,7 @@
|
|
|
14862
14862
|
_ref$animate = _ref.animate,
|
|
14863
14863
|
animate = _ref$animate === void 0 ? "slide" : _ref$animate,
|
|
14864
14864
|
onClickOutside = _ref.onClickOutside,
|
|
14865
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14865
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
14866
14866
|
var animateDialog = function animateDialog() {
|
|
14867
14867
|
switch (animate) {
|
|
14868
14868
|
case "fade":
|
|
@@ -15099,37 +15099,6 @@
|
|
|
15099
15099
|
};
|
|
15100
15100
|
DatePickerForm.displayName = "DatePickerForm";
|
|
15101
15101
|
|
|
15102
|
-
var StyledPressed = styled__default["default"](Button).withConfig({
|
|
15103
|
-
displayName: "Styles__StyledPressed",
|
|
15104
|
-
componentId: "sc-1wqfsg5-0"
|
|
15105
|
-
})(["", ""], function (props) {
|
|
15106
|
-
return props.active && styled.css(["", " ", " ", " ", " ", " ", " ", ""], {
|
|
15107
|
-
"pointerEvents": "none"
|
|
15108
|
-
}, (props.variant === "primary" || props.variant === "contained") && styled.css(["background-color:var(--color-primary-800);"]), (props.variant === "secondary" || props.variant === "outlined") && styled.css(["border-color:var(--color-primary);color:var(--color-primary);"]), props.variant === "dark transparent" && styled.css(["background-color:var(--only-black);"]), props.variant === "circle raised" && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-tertiary-hover);"]), (props.variant === "tertiary" || props.variant === "text colored") && styled.css(["background-color:var(--color-primary-200);"]), (props.variant === "option" || props.variant === "text gray") && styled.css(["color:var(--color-primary);", ""], props.children instanceof Array && styled.css(["background-color:var(--color-theme-300);"])));
|
|
15109
|
-
});
|
|
15110
|
-
StyledPressed.displayName = "StyledPressed";
|
|
15111
|
-
|
|
15112
|
-
var _excluded$q = ["children", "active", "className"];
|
|
15113
|
-
/**
|
|
15114
|
-
* Pressed wrapper for button component
|
|
15115
|
-
* @deprecated
|
|
15116
|
-
*/
|
|
15117
|
-
var Pressed = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15118
|
-
var children = _ref.children,
|
|
15119
|
-
_ref$active = _ref.active,
|
|
15120
|
-
active = _ref$active === void 0 ? false : _ref$active,
|
|
15121
|
-
className = _ref.className,
|
|
15122
|
-
args = _objectWithoutProperties(_ref, _excluded$q);
|
|
15123
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
15124
|
-
active: active,
|
|
15125
|
-
ref: ref,
|
|
15126
|
-
className: classNames__default["default"]({
|
|
15127
|
-
"c-pressed__active": active
|
|
15128
|
-
}, className)
|
|
15129
|
-
}, args), children);
|
|
15130
|
-
});
|
|
15131
|
-
Pressed.displayName = "Pressed";
|
|
15132
|
-
|
|
15133
15102
|
var SelectDateTarget = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15134
15103
|
var IconComponent = _ref.icon,
|
|
15135
15104
|
_ref$title = _ref.title,
|
|
@@ -15147,7 +15116,7 @@
|
|
|
15147
15116
|
popperTooltipStyle: popperTooltipStyle,
|
|
15148
15117
|
popperTooltipClassName: popperTooltipClassName,
|
|
15149
15118
|
disable: forceHideTooltip || title === ""
|
|
15150
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
15119
|
+
}, /*#__PURE__*/React__default["default"].createElement(IconButton, {
|
|
15151
15120
|
variant: "text gray",
|
|
15152
15121
|
size: "small",
|
|
15153
15122
|
active: active,
|
|
@@ -19007,7 +18976,6 @@
|
|
|
19007
18976
|
exports.PlaySmallIcon = PlaySmallIcon$1;
|
|
19008
18977
|
exports.Popper = Popper;
|
|
19009
18978
|
exports.Portal = Portal;
|
|
19010
|
-
exports.Pressed = Pressed;
|
|
19011
18979
|
exports.PriorityLowIcon = PriorityLowIcon$1;
|
|
19012
18980
|
exports.ProgressBar = ProgressBar;
|
|
19013
18981
|
exports.ProgressPie = ProgressPie;
|