@activecollab/components 2.0.107 → 2.0.109
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/ProgressPie/ProgressPie.js +1 -1
- package/dist/cjs/components/ProgressPie/ProgressPie.js.map +1 -1
- package/dist/cjs/components/ProgressRing/ProgressRing.js +17 -3
- package/dist/cjs/components/ProgressRing/ProgressRing.js.map +1 -1
- package/dist/cjs/components/ProgressRing/Styles.js +18 -6
- package/dist/cjs/components/ProgressRing/Styles.js.map +1 -1
- package/dist/esm/components/ProgressPie/ProgressPie.d.ts +2 -2
- package/dist/esm/components/ProgressPie/ProgressPie.d.ts.map +1 -1
- package/dist/esm/components/ProgressPie/ProgressPie.js +2 -2
- package/dist/esm/components/ProgressPie/ProgressPie.js.map +1 -1
- package/dist/esm/components/ProgressRing/ProgressRing.d.ts +14 -8
- package/dist/esm/components/ProgressRing/ProgressRing.d.ts.map +1 -1
- package/dist/esm/components/ProgressRing/ProgressRing.js +16 -3
- package/dist/esm/components/ProgressRing/ProgressRing.js.map +1 -1
- package/dist/esm/components/ProgressRing/Styles.d.ts +3 -0
- package/dist/esm/components/ProgressRing/Styles.d.ts.map +1 -1
- package/dist/esm/components/ProgressRing/Styles.js +15 -5
- package/dist/esm/components/ProgressRing/Styles.js.map +1 -1
- package/dist/index.js +191 -166
- 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
|
@@ -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$1w = ["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$1w);
|
|
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$1v = ["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$1v);
|
|
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$1u = ["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$1u);
|
|
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$1t = ["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$1t);
|
|
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$1s = ["className"];
|
|
385
385
|
var ListSeparator = function ListSeparator(_ref) {
|
|
386
386
|
var className = _ref.className,
|
|
387
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
387
|
+
props = _objectWithoutProperties(_ref, _excluded$1s);
|
|
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$1r = ["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$1r);
|
|
399
399
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({
|
|
400
400
|
className: className,
|
|
401
401
|
ref: ref,
|
|
@@ -811,7 +811,7 @@
|
|
|
811
811
|
return size === "big" && styled.css(["width:40px;"]);
|
|
812
812
|
});
|
|
813
813
|
|
|
814
|
-
var _excluded$
|
|
814
|
+
var _excluded$1q = ["children", "className", "variant", "size", "active"];
|
|
815
815
|
|
|
816
816
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
817
817
|
|
|
@@ -841,7 +841,7 @@
|
|
|
841
841
|
variant = _ref.variant,
|
|
842
842
|
size = _ref.size,
|
|
843
843
|
active = _ref.active,
|
|
844
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
844
|
+
args = _objectWithoutProperties(_ref, _excluded$1q);
|
|
845
845
|
return /*#__PURE__*/React__default["default"].createElement(StyledIconButton, _extends({
|
|
846
846
|
className: className,
|
|
847
847
|
variant: variant,
|
|
@@ -7633,7 +7633,7 @@
|
|
|
7633
7633
|
}, FontStyle, BoxSizingStyle);
|
|
7634
7634
|
StyledBubble.displayName = "StyledBubble";
|
|
7635
7635
|
|
|
7636
|
-
var _excluded$
|
|
7636
|
+
var _excluded$1p = ["children", "className", "innerRef", "style"];
|
|
7637
7637
|
var Bubble = function Bubble(_ref) {
|
|
7638
7638
|
var children = _ref.children,
|
|
7639
7639
|
className = _ref.className,
|
|
@@ -7641,7 +7641,7 @@
|
|
|
7641
7641
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
7642
7642
|
_ref$style = _ref.style,
|
|
7643
7643
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
7644
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7644
|
+
rest = _objectWithoutProperties(_ref, _excluded$1p);
|
|
7645
7645
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
7646
7646
|
ref: innerRef,
|
|
7647
7647
|
className: classNames__default["default"]("c-bubble", className),
|
|
@@ -7702,12 +7702,12 @@
|
|
|
7702
7702
|
});
|
|
7703
7703
|
StyledOverlay.displayName = "StyledOverlay";
|
|
7704
7704
|
|
|
7705
|
-
var _excluded$
|
|
7705
|
+
var _excluded$1o = ["className", "disableBackgroundColor"];
|
|
7706
7706
|
var Overlay = function Overlay(_ref) {
|
|
7707
7707
|
var className = _ref.className,
|
|
7708
7708
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
7709
7709
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
7710
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7710
|
+
rest = _objectWithoutProperties(_ref, _excluded$1o);
|
|
7711
7711
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
7712
7712
|
className: classNames__default["default"]("c-overlay", className),
|
|
7713
7713
|
$disableBackgroundColor: disableBackgroundColor
|
|
@@ -7720,7 +7720,7 @@
|
|
|
7720
7720
|
componentId: "sc-1hgjasy-0"
|
|
7721
7721
|
})(["&[data-popper-reference-hidden]{display:none !important;pointer-events:none !important;}"]);
|
|
7722
7722
|
|
|
7723
|
-
var _excluded$
|
|
7723
|
+
var _excluded$1n = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy", "afterWrite"];
|
|
7724
7724
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7725
7725
|
var children = _ref.children,
|
|
7726
7726
|
anchorEl = _ref.anchorEl,
|
|
@@ -7734,7 +7734,7 @@
|
|
|
7734
7734
|
_ref$strategy = _ref.strategy,
|
|
7735
7735
|
strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
|
|
7736
7736
|
afterWrite = _ref.afterWrite,
|
|
7737
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7737
|
+
rest = _objectWithoutProperties(_ref, _excluded$1n);
|
|
7738
7738
|
var _useState = React.useState(true),
|
|
7739
7739
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7740
7740
|
exited = _useState2[0],
|
|
@@ -7881,7 +7881,7 @@
|
|
|
7881
7881
|
};
|
|
7882
7882
|
var LayerContext$1 = LayerContext;
|
|
7883
7883
|
|
|
7884
|
-
var _excluded$
|
|
7884
|
+
var _excluded$1m = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "disableCloseOnEsc", "onClick"];
|
|
7885
7885
|
var returnFocus = {
|
|
7886
7886
|
preventScroll: true
|
|
7887
7887
|
};
|
|
@@ -7898,7 +7898,7 @@
|
|
|
7898
7898
|
_ref$disableCloseOnEs = _ref.disableCloseOnEsc,
|
|
7899
7899
|
disableCloseOnEsc = _ref$disableCloseOnEs === void 0 ? false : _ref$disableCloseOnEs,
|
|
7900
7900
|
onClick = _ref.onClick,
|
|
7901
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7901
|
+
rest = _objectWithoutProperties(_ref, _excluded$1m);
|
|
7902
7902
|
var innerRef = React.useRef(null);
|
|
7903
7903
|
var handleRef = useForkRef(innerRef, ref);
|
|
7904
7904
|
var _useLayerContext = useLayerContext(),
|
|
@@ -8209,7 +8209,7 @@
|
|
|
8209
8209
|
});
|
|
8210
8210
|
StyledTypography.displayName = "StyledTypography";
|
|
8211
8211
|
|
|
8212
|
-
var _excluded$
|
|
8212
|
+
var _excluded$1l = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
8213
8213
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8214
8214
|
var _ref$variant = _ref.variant,
|
|
8215
8215
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -8240,7 +8240,7 @@
|
|
|
8240
8240
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
8241
8241
|
className = _ref.className,
|
|
8242
8242
|
children = _ref.children,
|
|
8243
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8243
|
+
props = _objectWithoutProperties(_ref, _excluded$1l);
|
|
8244
8244
|
var Component = as || "div";
|
|
8245
8245
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
8246
8246
|
as: Component,
|
|
@@ -8263,13 +8263,13 @@
|
|
|
8263
8263
|
});
|
|
8264
8264
|
Typography.displayName = "Typography";
|
|
8265
8265
|
|
|
8266
|
-
var _excluded$
|
|
8266
|
+
var _excluded$1k = ["title", "className", "leftElement", "rightElement"];
|
|
8267
8267
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8268
8268
|
var title = _ref.title,
|
|
8269
8269
|
className = _ref.className,
|
|
8270
8270
|
leftElement = _ref.leftElement,
|
|
8271
8271
|
rightElement = _ref.rightElement,
|
|
8272
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8272
|
+
props = _objectWithoutProperties(_ref, _excluded$1k);
|
|
8273
8273
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
8274
8274
|
className: classNames__default["default"]("c-menu-header", className),
|
|
8275
8275
|
ref: ref
|
|
@@ -8294,11 +8294,11 @@
|
|
|
8294
8294
|
});
|
|
8295
8295
|
MenuHeader.displayName = "MenuHeader";
|
|
8296
8296
|
|
|
8297
|
-
var _excluded$
|
|
8297
|
+
var _excluded$1j = ["children", "className"];
|
|
8298
8298
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8299
8299
|
var children = _ref.children,
|
|
8300
8300
|
className = _ref.className,
|
|
8301
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8301
|
+
props = _objectWithoutProperties(_ref, _excluded$1j);
|
|
8302
8302
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter$1, _extends({}, props, {
|
|
8303
8303
|
className: classNames__default["default"]("c-menu-footer", className),
|
|
8304
8304
|
ref: ref
|
|
@@ -8306,14 +8306,14 @@
|
|
|
8306
8306
|
});
|
|
8307
8307
|
MenuFooter.displayName = "MenuFooter";
|
|
8308
8308
|
|
|
8309
|
-
var _excluded$
|
|
8309
|
+
var _excluded$1i = ["children", "className", "separator"];
|
|
8310
8310
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
8311
8311
|
var _dimensions$width, _childDimensions$widt;
|
|
8312
8312
|
var children = _ref.children,
|
|
8313
8313
|
className = _ref.className,
|
|
8314
8314
|
_ref$separator = _ref.separator,
|
|
8315
8315
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
8316
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8316
|
+
rest = _objectWithoutProperties(_ref, _excluded$1i);
|
|
8317
8317
|
var internalRef = React.useRef(null);
|
|
8318
8318
|
var listWrapperRef = React.useRef(null);
|
|
8319
8319
|
var olRef = React.useRef(null);
|
|
@@ -8491,12 +8491,12 @@
|
|
|
8491
8491
|
}, value && value > 100 ? 99 + "+" : value);
|
|
8492
8492
|
};
|
|
8493
8493
|
|
|
8494
|
-
var _excluded$
|
|
8494
|
+
var _excluded$1h = ["weight", "children"];
|
|
8495
8495
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8496
8496
|
var _ref$weight = _ref.weight,
|
|
8497
8497
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
8498
8498
|
children = _ref.children,
|
|
8499
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8499
|
+
props = _objectWithoutProperties(_ref, _excluded$1h);
|
|
8500
8500
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
8501
8501
|
variant: "Body 2",
|
|
8502
8502
|
weight: weight,
|
|
@@ -8604,10 +8604,10 @@
|
|
|
8604
8604
|
};
|
|
8605
8605
|
FromElement.displayName = "FromElement";
|
|
8606
8606
|
|
|
8607
|
-
var _excluded$
|
|
8607
|
+
var _excluded$1g = ["children"];
|
|
8608
8608
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
8609
8609
|
var children = _ref.children,
|
|
8610
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8610
|
+
props = _objectWithoutProperties(_ref, _excluded$1g);
|
|
8611
8611
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
8612
8612
|
timeout: 0
|
|
8613
8613
|
}, props), children);
|
|
@@ -8682,7 +8682,7 @@
|
|
|
8682
8682
|
});
|
|
8683
8683
|
Tooltip.displayName = "Tooltip";
|
|
8684
8684
|
|
|
8685
|
-
var _excluded$
|
|
8685
|
+
var _excluded$1f = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className", "labelClassName", "disabled"];
|
|
8686
8686
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8687
8687
|
var label = _ref.label,
|
|
8688
8688
|
icon = _ref.icon,
|
|
@@ -8695,7 +8695,7 @@
|
|
|
8695
8695
|
labelClassName = _ref.labelClassName,
|
|
8696
8696
|
_ref$disabled = _ref.disabled,
|
|
8697
8697
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8698
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8698
|
+
args = _objectWithoutProperties(_ref, _excluded$1f);
|
|
8699
8699
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
8700
8700
|
ref: ref,
|
|
8701
8701
|
className: className
|
|
@@ -9090,7 +9090,7 @@
|
|
|
9090
9090
|
};
|
|
9091
9091
|
YearMonthPicker.displayName = "YearMonthPicker";
|
|
9092
9092
|
|
|
9093
|
-
var _excluded$
|
|
9093
|
+
var _excluded$1e = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers", "renderDay"];
|
|
9094
9094
|
var formatWeekdayName = function formatWeekdayName(str) {
|
|
9095
9095
|
return moment__default["default"](str).format("ddd").charAt(0);
|
|
9096
9096
|
};
|
|
@@ -9116,7 +9116,7 @@
|
|
|
9116
9116
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
9117
9117
|
defaultModifiers = _ref.modifiers,
|
|
9118
9118
|
renderDay = _ref.renderDay,
|
|
9119
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9119
|
+
rest = _objectWithoutProperties(_ref, _excluded$1e);
|
|
9120
9120
|
var _useState = React.useState(),
|
|
9121
9121
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9122
9122
|
enteredTo = _useState2[0],
|
|
@@ -9948,10 +9948,10 @@
|
|
|
9948
9948
|
componentId: "sc-1n0a2yl-0"
|
|
9949
9949
|
})(["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);
|
|
9950
9950
|
|
|
9951
|
-
var _excluded$
|
|
9951
|
+
var _excluded$1d = ["className"];
|
|
9952
9952
|
var SkeletonLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9953
9953
|
var className = _ref.className,
|
|
9954
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9954
|
+
rest = _objectWithoutProperties(_ref, _excluded$1d);
|
|
9955
9955
|
return /*#__PURE__*/React__default["default"].createElement(StyledSkeletonLoader, _extends({
|
|
9956
9956
|
ref: ref,
|
|
9957
9957
|
className: classNames__default["default"]("c-loader c-loader--linear", className)
|
|
@@ -9965,10 +9965,10 @@
|
|
|
9965
9965
|
componentId: "sc-1f35d5h-0"
|
|
9966
9966
|
})(["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);
|
|
9967
9967
|
|
|
9968
|
-
var _excluded$
|
|
9968
|
+
var _excluded$1c = ["className"];
|
|
9969
9969
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9970
9970
|
var className = _ref.className,
|
|
9971
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9971
|
+
rest = _objectWithoutProperties(_ref, _excluded$1c);
|
|
9972
9972
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
9973
9973
|
ref: ref,
|
|
9974
9974
|
className: classNames__default["default"]("c-loader c-loader--dots", className)
|
|
@@ -9990,7 +9990,7 @@
|
|
|
9990
9990
|
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);
|
|
9991
9991
|
});
|
|
9992
9992
|
|
|
9993
|
-
var _excluded$
|
|
9993
|
+
var _excluded$1b = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
9994
9994
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9995
9995
|
var _ref$radius = _ref.radius,
|
|
9996
9996
|
radius = _ref$radius === void 0 ? 10 : _ref$radius,
|
|
@@ -10005,7 +10005,7 @@
|
|
|
10005
10005
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
10006
10006
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
10007
10007
|
className = _ref.className,
|
|
10008
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10008
|
+
rest = _objectWithoutProperties(_ref, _excluded$1b);
|
|
10009
10009
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader$1, _extends({
|
|
10010
10010
|
ref: ref,
|
|
10011
10011
|
className: className,
|
|
@@ -10044,7 +10044,7 @@
|
|
|
10044
10044
|
});
|
|
10045
10045
|
StyledLinearLoader.displayName = "StyledLinearLoader";
|
|
10046
10046
|
|
|
10047
|
-
var _excluded$
|
|
10047
|
+
var _excluded$1a = ["height", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "animationDuration"];
|
|
10048
10048
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10049
10049
|
var _ref$height = _ref.height,
|
|
10050
10050
|
height = _ref$height === void 0 ? 4 : _ref$height,
|
|
@@ -10056,7 +10056,7 @@
|
|
|
10056
10056
|
activeColorPercentage = _ref$activeColorPerce === void 0 ? "25%" : _ref$activeColorPerce,
|
|
10057
10057
|
_ref$animationDuratio = _ref.animationDuration,
|
|
10058
10058
|
animationDuration = _ref$animationDuratio === void 0 ? 0.75 : _ref$animationDuratio,
|
|
10059
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10059
|
+
rest = _objectWithoutProperties(_ref, _excluded$1a);
|
|
10060
10060
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
10061
10061
|
ref: ref,
|
|
10062
10062
|
$height: height,
|
|
@@ -10068,7 +10068,7 @@
|
|
|
10068
10068
|
});
|
|
10069
10069
|
LinearLoader.displayName = "LinearLoader";
|
|
10070
10070
|
|
|
10071
|
-
var _excluded$
|
|
10071
|
+
var _excluded$19 = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
|
|
10072
10072
|
var SortDirection = /*#__PURE__*/function (SortDirection) {
|
|
10073
10073
|
SortDirection["None"] = "none";
|
|
10074
10074
|
SortDirection["Asc"] = "asc";
|
|
@@ -10118,7 +10118,7 @@
|
|
|
10118
10118
|
loading = _ref.loading,
|
|
10119
10119
|
_ref$loadingRows = _ref.loadingRows,
|
|
10120
10120
|
loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
|
|
10121
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10121
|
+
args = _objectWithoutProperties(_ref, _excluded$19);
|
|
10122
10122
|
var _useState = React.useState(sortDirection),
|
|
10123
10123
|
_useState2 = _slicedToArray(_useState, 2),
|
|
10124
10124
|
columnDirection = _useState2[0],
|
|
@@ -10478,7 +10478,7 @@
|
|
|
10478
10478
|
});
|
|
10479
10479
|
StyledCompleteCheckbox.displayName = "StyledCompleteCheckbox";
|
|
10480
10480
|
|
|
10481
|
-
var _excluded$
|
|
10481
|
+
var _excluded$18 = ["completed", "disabled", "animate", "onClick", "className", "primary", "checkMarkClassName"];
|
|
10482
10482
|
var CompleteCheckbox = function CompleteCheckbox(_ref) {
|
|
10483
10483
|
var _ref$completed = _ref.completed,
|
|
10484
10484
|
completed = _ref$completed === void 0 ? false : _ref$completed,
|
|
@@ -10491,7 +10491,7 @@
|
|
|
10491
10491
|
_ref$primary = _ref.primary,
|
|
10492
10492
|
primary = _ref$primary === void 0 ? false : _ref$primary,
|
|
10493
10493
|
checkMarkClassName = _ref.checkMarkClassName,
|
|
10494
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10494
|
+
rest = _objectWithoutProperties(_ref, _excluded$18);
|
|
10495
10495
|
return /*#__PURE__*/React__default["default"].createElement(StyledCompleteCheckbox, _extends({
|
|
10496
10496
|
onClick: onClick,
|
|
10497
10497
|
className: classNames__default["default"]("c-complete-checkbox", className),
|
|
@@ -10522,7 +10522,7 @@
|
|
|
10522
10522
|
});
|
|
10523
10523
|
StyledPaper.displayName = "StyledPaper";
|
|
10524
10524
|
|
|
10525
|
-
var _excluded$
|
|
10525
|
+
var _excluded$17 = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
10526
10526
|
/**
|
|
10527
10527
|
* This is a component description and should sit directly above your component
|
|
10528
10528
|
*/
|
|
@@ -10535,7 +10535,7 @@
|
|
|
10535
10535
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
10536
10536
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
10537
10537
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
10538
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10538
|
+
rest = _objectWithoutProperties(_ref, _excluded$17);
|
|
10539
10539
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
10540
10540
|
className: classNames__default["default"](className, {
|
|
10541
10541
|
"ac-shadow--raised--lg": !useOptimizedShadow && hover && type === "paper-1",
|
|
@@ -10588,7 +10588,7 @@
|
|
|
10588
10588
|
});
|
|
10589
10589
|
StyledCard.displayName = "StyledCard";
|
|
10590
10590
|
|
|
10591
|
-
var _excluded$
|
|
10591
|
+
var _excluded$16 = ["children", "className", "hoverable", "paperType"];
|
|
10592
10592
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10593
10593
|
var children = _ref.children,
|
|
10594
10594
|
className = _ref.className,
|
|
@@ -10596,7 +10596,7 @@
|
|
|
10596
10596
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
10597
10597
|
_ref$paperType = _ref.paperType,
|
|
10598
10598
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
10599
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10599
|
+
rest = _objectWithoutProperties(_ref, _excluded$16);
|
|
10600
10600
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
10601
10601
|
type: paperType,
|
|
10602
10602
|
className: classNames__default["default"]("c-card", className),
|
|
@@ -10703,12 +10703,12 @@
|
|
|
10703
10703
|
});
|
|
10704
10704
|
StyledIcon$1.displayName = "StyledIcon";
|
|
10705
10705
|
|
|
10706
|
-
var _excluded$
|
|
10706
|
+
var _excluded$15 = ["weight", "children"];
|
|
10707
10707
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10708
10708
|
var _ref$weight = _ref.weight,
|
|
10709
10709
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
10710
10710
|
children = _ref.children,
|
|
10711
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10711
|
+
props = _objectWithoutProperties(_ref, _excluded$15);
|
|
10712
10712
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
10713
10713
|
weight: weight,
|
|
10714
10714
|
variant: "Title 1",
|
|
@@ -10717,12 +10717,12 @@
|
|
|
10717
10717
|
});
|
|
10718
10718
|
Title1.displayName = "Title1";
|
|
10719
10719
|
|
|
10720
|
-
var _excluded$
|
|
10720
|
+
var _excluded$14 = ["weight", "children"];
|
|
10721
10721
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10722
10722
|
var _ref$weight = _ref.weight,
|
|
10723
10723
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
10724
10724
|
children = _ref.children,
|
|
10725
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10725
|
+
props = _objectWithoutProperties(_ref, _excluded$14);
|
|
10726
10726
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
10727
10727
|
weight: weight,
|
|
10728
10728
|
variant: "Title 2",
|
|
@@ -10731,10 +10731,10 @@
|
|
|
10731
10731
|
});
|
|
10732
10732
|
Title2.displayName = "Title2";
|
|
10733
10733
|
|
|
10734
|
-
var _excluded$
|
|
10734
|
+
var _excluded$13 = ["children"];
|
|
10735
10735
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10736
10736
|
var children = _ref.children,
|
|
10737
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10737
|
+
props = _objectWithoutProperties(_ref, _excluded$13);
|
|
10738
10738
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
10739
10739
|
weight: "bold",
|
|
10740
10740
|
variant: "Header 2",
|
|
@@ -10743,10 +10743,10 @@
|
|
|
10743
10743
|
});
|
|
10744
10744
|
Header2.displayName = "Header2";
|
|
10745
10745
|
|
|
10746
|
-
var _excluded$
|
|
10746
|
+
var _excluded$12 = ["children"];
|
|
10747
10747
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10748
10748
|
var children = _ref.children,
|
|
10749
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10749
|
+
props = _objectWithoutProperties(_ref, _excluded$12);
|
|
10750
10750
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
10751
10751
|
weight: "bold",
|
|
10752
10752
|
variant: "Header 3",
|
|
@@ -10755,12 +10755,12 @@
|
|
|
10755
10755
|
});
|
|
10756
10756
|
Header3.displayName = "Header3";
|
|
10757
10757
|
|
|
10758
|
-
var _excluded$
|
|
10758
|
+
var _excluded$11 = ["weight", "children"];
|
|
10759
10759
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10760
10760
|
var _ref$weight = _ref.weight,
|
|
10761
10761
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
10762
10762
|
children = _ref.children,
|
|
10763
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10763
|
+
props = _objectWithoutProperties(_ref, _excluded$11);
|
|
10764
10764
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
10765
10765
|
variant: "Body 1",
|
|
10766
10766
|
weight: weight,
|
|
@@ -10769,12 +10769,12 @@
|
|
|
10769
10769
|
});
|
|
10770
10770
|
Body1.displayName = "Body1";
|
|
10771
10771
|
|
|
10772
|
-
var _excluded
|
|
10772
|
+
var _excluded$10 = ["weight", "children"];
|
|
10773
10773
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10774
10774
|
var _ref$weight = _ref.weight,
|
|
10775
10775
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
10776
10776
|
children = _ref.children,
|
|
10777
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
10777
|
+
props = _objectWithoutProperties(_ref, _excluded$10);
|
|
10778
10778
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
10779
10779
|
variant: "Caption 1",
|
|
10780
10780
|
weight: weight,
|
|
@@ -10783,12 +10783,12 @@
|
|
|
10783
10783
|
});
|
|
10784
10784
|
Caption1.displayName = "Caption1";
|
|
10785
10785
|
|
|
10786
|
-
var _excluded
|
|
10786
|
+
var _excluded$$ = ["weight", "children"];
|
|
10787
10787
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10788
10788
|
var _ref$weight = _ref.weight,
|
|
10789
10789
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
10790
10790
|
children = _ref.children,
|
|
10791
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
10791
|
+
props = _objectWithoutProperties(_ref, _excluded$$);
|
|
10792
10792
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
10793
10793
|
variant: "Caption 2",
|
|
10794
10794
|
weight: weight,
|
|
@@ -10863,7 +10863,7 @@
|
|
|
10863
10863
|
};
|
|
10864
10864
|
Signifier.displayName = "Signifier";
|
|
10865
10865
|
|
|
10866
|
-
var StyledWrapper = styled__default["default"].span.withConfig({
|
|
10866
|
+
var StyledWrapper$1 = styled__default["default"].span.withConfig({
|
|
10867
10867
|
displayName: "Styles__StyledWrapper",
|
|
10868
10868
|
componentId: "sc-5x2tyd-0"
|
|
10869
10869
|
})(["display:inline-flex;border-radius:100%;position:relative;"]);
|
|
@@ -10872,7 +10872,7 @@
|
|
|
10872
10872
|
componentId: "sc-5x2tyd-1"
|
|
10873
10873
|
})(["border-radius:100%;object-fit:cover;"]);
|
|
10874
10874
|
|
|
10875
|
-
var _excluded$
|
|
10875
|
+
var _excluded$_ = ["url", "alt", "size", "className", "imgClassName", "children"];
|
|
10876
10876
|
/**
|
|
10877
10877
|
* @component Avatar
|
|
10878
10878
|
* @description
|
|
@@ -10907,12 +10907,12 @@
|
|
|
10907
10907
|
className = _ref.className,
|
|
10908
10908
|
imgClassName = _ref.imgClassName,
|
|
10909
10909
|
children = _ref.children,
|
|
10910
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10910
|
+
rest = _objectWithoutProperties(_ref, _excluded$_);
|
|
10911
10911
|
var _useState = React.useState(false),
|
|
10912
10912
|
_useState2 = _slicedToArray(_useState, 2),
|
|
10913
10913
|
imageLoaded = _useState2[0],
|
|
10914
10914
|
setImageLoaded = _useState2[1];
|
|
10915
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
10915
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$1, {
|
|
10916
10916
|
className: className
|
|
10917
10917
|
}, children, /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({
|
|
10918
10918
|
ref: ref,
|
|
@@ -10948,13 +10948,13 @@
|
|
|
10948
10948
|
return props.$color && styled.css(["background-color:", ";"], props.$color);
|
|
10949
10949
|
});
|
|
10950
10950
|
|
|
10951
|
-
var _excluded$
|
|
10951
|
+
var _excluded$Z = ["color", "size", "className"];
|
|
10952
10952
|
var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10953
10953
|
var color = _ref.color,
|
|
10954
10954
|
_ref$size = _ref.size,
|
|
10955
10955
|
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
10956
10956
|
className = _ref.className,
|
|
10957
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10957
|
+
rest = _objectWithoutProperties(_ref, _excluded$Z);
|
|
10958
10958
|
return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
|
|
10959
10959
|
className: classNames__default["default"]("c-dot", className),
|
|
10960
10960
|
ref: ref,
|
|
@@ -10991,7 +10991,7 @@
|
|
|
10991
10991
|
});
|
|
10992
10992
|
StyledTagText.displayName = "StyledTagText";
|
|
10993
10993
|
|
|
10994
|
-
var _excluded$
|
|
10994
|
+
var _excluded$Y = ["name", "color", "showText", "showDot", "className"];
|
|
10995
10995
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10996
10996
|
var name = _ref.name,
|
|
10997
10997
|
color = _ref.color,
|
|
@@ -11000,7 +11000,7 @@
|
|
|
11000
11000
|
_ref$showDot = _ref.showDot,
|
|
11001
11001
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
11002
11002
|
className = _ref.className,
|
|
11003
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11003
|
+
rest = _objectWithoutProperties(_ref, _excluded$Y);
|
|
11004
11004
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
11005
11005
|
className: classNames__default["default"]("c-tag", className),
|
|
11006
11006
|
ref: ref
|
|
@@ -11106,7 +11106,7 @@
|
|
|
11106
11106
|
});
|
|
11107
11107
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
11108
11108
|
|
|
11109
|
-
var _excluded$
|
|
11109
|
+
var _excluded$X = ["children", "active", "disabled", "className", "role"];
|
|
11110
11110
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
11111
11111
|
var children = _ref.children,
|
|
11112
11112
|
_ref$active = _ref.active,
|
|
@@ -11115,7 +11115,7 @@
|
|
|
11115
11115
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11116
11116
|
className = _ref.className,
|
|
11117
11117
|
role = _ref.role,
|
|
11118
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11118
|
+
rest = _objectWithoutProperties(_ref, _excluded$X);
|
|
11119
11119
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
11120
11120
|
className: classNames__default["default"]("c-nav__item", {
|
|
11121
11121
|
"c-nav__item--active": active
|
|
@@ -11156,11 +11156,11 @@
|
|
|
11156
11156
|
});
|
|
11157
11157
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
11158
11158
|
|
|
11159
|
-
var _excluded$
|
|
11159
|
+
var _excluded$W = ["expanded"];
|
|
11160
11160
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11161
11161
|
var _ref$expanded = _ref.expanded,
|
|
11162
11162
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
11163
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11163
|
+
rest = _objectWithoutProperties(_ref, _excluded$W);
|
|
11164
11164
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
11165
11165
|
ref: ref,
|
|
11166
11166
|
viewBox: "0 0 24 24",
|
|
@@ -11336,7 +11336,7 @@
|
|
|
11336
11336
|
};
|
|
11337
11337
|
OptionContent.displayName = "OptionContent";
|
|
11338
11338
|
|
|
11339
|
-
var _excluded$
|
|
11339
|
+
var _excluded$V = ["mixed", "data-testid"];
|
|
11340
11340
|
|
|
11341
11341
|
/**
|
|
11342
11342
|
* @component CheckboxIcon
|
|
@@ -11360,7 +11360,7 @@
|
|
|
11360
11360
|
var CheckboxIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
11361
11361
|
var mixed = _ref.mixed,
|
|
11362
11362
|
testId = _ref["data-testid"],
|
|
11363
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11363
|
+
props = _objectWithoutProperties(_ref, _excluded$V);
|
|
11364
11364
|
// const [animate, setAnimate] = useState(false);
|
|
11365
11365
|
// const mountRef = useRef(false);
|
|
11366
11366
|
|
|
@@ -11454,7 +11454,7 @@
|
|
|
11454
11454
|
});
|
|
11455
11455
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
11456
11456
|
|
|
11457
|
-
var _excluded$
|
|
11457
|
+
var _excluded$U = ["className", "hover", "id", "mixed", "checked", "onChange", "disabled"];
|
|
11458
11458
|
/**
|
|
11459
11459
|
* Checkbox component
|
|
11460
11460
|
*/
|
|
@@ -11468,7 +11468,7 @@
|
|
|
11468
11468
|
checked = _ref.checked,
|
|
11469
11469
|
onChange = _ref.onChange,
|
|
11470
11470
|
disabled = _ref.disabled,
|
|
11471
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11471
|
+
rest = _objectWithoutProperties(_ref, _excluded$U);
|
|
11472
11472
|
var _useState = React.useState(mixed && !checked),
|
|
11473
11473
|
_useState2 = _slicedToArray(_useState, 2),
|
|
11474
11474
|
indeterminate = _useState2[0],
|
|
@@ -11633,7 +11633,7 @@
|
|
|
11633
11633
|
})(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:8px;display:flex;justify-items:center;align-items:center;"]);
|
|
11634
11634
|
StyledOptionWrapper.displayName = "StyledOptionWrapper";
|
|
11635
11635
|
|
|
11636
|
-
var _excluded$
|
|
11636
|
+
var _excluded$T = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef", "wrapperClick", "mode"];
|
|
11637
11637
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
11638
11638
|
var _ref$className = _ref.className,
|
|
11639
11639
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -11652,7 +11652,7 @@
|
|
|
11652
11652
|
wrapperClick = _ref.wrapperClick,
|
|
11653
11653
|
_ref$mode = _ref.mode,
|
|
11654
11654
|
mode = _ref$mode === void 0 ? "outlined" : _ref$mode,
|
|
11655
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11655
|
+
rest = _objectWithoutProperties(_ref, _excluded$T);
|
|
11656
11656
|
var intInputRef = React.useRef(null);
|
|
11657
11657
|
var handleRef = useForkRef(ref, intInputRef);
|
|
11658
11658
|
var handleWrapperClick = React.useCallback(function () {
|
|
@@ -11709,14 +11709,14 @@
|
|
|
11709
11709
|
}, StyledRadioLabel);
|
|
11710
11710
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
11711
11711
|
|
|
11712
|
-
var _excluded$
|
|
11712
|
+
var _excluded$S = ["className", "id", "hover"];
|
|
11713
11713
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11714
11714
|
var _ref$className = _ref.className,
|
|
11715
11715
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
11716
11716
|
_ref$id = _ref.id,
|
|
11717
11717
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
11718
11718
|
hover = _ref.hover,
|
|
11719
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11719
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
11720
11720
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
11721
11721
|
className: classNames__default["default"]("c-radio-btn", {
|
|
11722
11722
|
"c-radio-btn__hover": hover,
|
|
@@ -11864,7 +11864,7 @@
|
|
|
11864
11864
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
11865
11865
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
11866
11866
|
|
|
11867
|
-
var _excluded$
|
|
11867
|
+
var _excluded$R = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
11868
11868
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11869
11869
|
var children = _ref.children,
|
|
11870
11870
|
className = _ref.className,
|
|
@@ -11878,7 +11878,7 @@
|
|
|
11878
11878
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
11879
11879
|
innerColor = _ref.innerColor,
|
|
11880
11880
|
outerColor = _ref.outerColor,
|
|
11881
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11881
|
+
rest = _objectWithoutProperties(_ref, _excluded$R);
|
|
11882
11882
|
var _useState = React.useState({
|
|
11883
11883
|
top: 0,
|
|
11884
11884
|
right: 0,
|
|
@@ -12220,7 +12220,7 @@
|
|
|
12220
12220
|
};
|
|
12221
12221
|
};
|
|
12222
12222
|
|
|
12223
|
-
var _excluded$
|
|
12223
|
+
var _excluded$Q = ["as", "className", "invert", "style"];
|
|
12224
12224
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12225
12225
|
var _ref$as = _ref.as,
|
|
12226
12226
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -12228,7 +12228,7 @@
|
|
|
12228
12228
|
_ref$invert = _ref.invert,
|
|
12229
12229
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
12230
12230
|
style = _ref.style,
|
|
12231
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12231
|
+
rest = _objectWithoutProperties(_ref, _excluded$Q);
|
|
12232
12232
|
var internalRef = useInitScrollRef(null, invert);
|
|
12233
12233
|
var handleRef = useForkRef(internalRef, ref);
|
|
12234
12234
|
var props = _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
@@ -12867,7 +12867,7 @@
|
|
|
12867
12867
|
componentId: "sc-9x4q7e-0"
|
|
12868
12868
|
})(["cursor:auto"]);
|
|
12869
12869
|
|
|
12870
|
-
var _excluded$
|
|
12870
|
+
var _excluded$P = ["type", "mode", "target", "options", "selected", "mixed", "position", "onChange", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue", "startAdornment", "endAdornment", "focusInput"];
|
|
12871
12871
|
var Select = function Select(_ref) {
|
|
12872
12872
|
var _ref$type = _ref.type,
|
|
12873
12873
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -12905,7 +12905,7 @@
|
|
|
12905
12905
|
endAdornment = _ref.endAdornment,
|
|
12906
12906
|
_ref$focusInput = _ref.focusInput,
|
|
12907
12907
|
focusInput = _ref$focusInput === void 0 ? false : _ref$focusInput,
|
|
12908
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
12908
|
+
prop = _objectWithoutProperties(_ref, _excluded$P);
|
|
12909
12909
|
if (disableSearch && (startAdornment || endAdornment)) {
|
|
12910
12910
|
console.warn("Adornments are not visible when search bar is hidden");
|
|
12911
12911
|
}
|
|
@@ -13346,7 +13346,7 @@
|
|
|
13346
13346
|
};
|
|
13347
13347
|
Nav.displayName = "Nav";
|
|
13348
13348
|
|
|
13349
|
-
var _excluded$
|
|
13349
|
+
var _excluded$O = ["children", "as", "disablePointerEvents"];
|
|
13350
13350
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
13351
13351
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
13352
13352
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -13364,7 +13364,7 @@
|
|
|
13364
13364
|
var children = _ref.children,
|
|
13365
13365
|
as = _ref.as,
|
|
13366
13366
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
13367
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13367
|
+
rest = _objectWithoutProperties(_ref, _excluded$O);
|
|
13368
13368
|
var Component = as || "div";
|
|
13369
13369
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
13370
13370
|
as: Component,
|
|
@@ -13599,7 +13599,7 @@
|
|
|
13599
13599
|
};
|
|
13600
13600
|
};
|
|
13601
13601
|
|
|
13602
|
-
var _excluded$
|
|
13602
|
+
var _excluded$N = ["value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "withLeadingZero", "validation", "incrementOnlySelected", "minuteIncrement", "className", "onChange", "onClick", "align"];
|
|
13603
13603
|
var InputHours = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
13604
13604
|
var defaultValue = _ref.value,
|
|
13605
13605
|
onCancel = _ref.onCancel,
|
|
@@ -13619,7 +13619,7 @@
|
|
|
13619
13619
|
externalOnClick = _ref.onClick,
|
|
13620
13620
|
_ref$align = _ref.align,
|
|
13621
13621
|
align = _ref$align === void 0 ? "center" : _ref$align,
|
|
13622
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13622
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
13623
13623
|
var inputRef = React.useRef(null);
|
|
13624
13624
|
var handleRef = useForkRef(ref, inputRef);
|
|
13625
13625
|
var _useInputHours = useInputHours({
|
|
@@ -13658,7 +13658,7 @@
|
|
|
13658
13658
|
});
|
|
13659
13659
|
InputHours.displayName = "InputHours";
|
|
13660
13660
|
|
|
13661
|
-
var _excluded$
|
|
13661
|
+
var _excluded$M = ["decimalLength", "decimalSeparator", "disableAbbreviation", "disabled", "disableMacros", "invalid", "step", "thousandSeparator", "value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "onChange", "onClick", "limit", "placeholder", "trimDecimals", "min", "max"];
|
|
13662
13662
|
var InputNumber = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13663
13663
|
var _ref$decimalLength = _ref.decimalLength,
|
|
13664
13664
|
decimalLength = _ref$decimalLength === void 0 ? 2 : _ref$decimalLength,
|
|
@@ -13687,7 +13687,7 @@
|
|
|
13687
13687
|
trimDecimals = _ref$trimDecimals === void 0 ? true : _ref$trimDecimals,
|
|
13688
13688
|
min = _ref.min,
|
|
13689
13689
|
max = _ref.max,
|
|
13690
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13690
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
13691
13691
|
var inputRef = React.useRef(null);
|
|
13692
13692
|
var handleRef = useForkRef(ref, inputRef);
|
|
13693
13693
|
var _useInputNumber = useInputNumber({
|
|
@@ -13736,11 +13736,11 @@
|
|
|
13736
13736
|
});
|
|
13737
13737
|
InputNumber.displayName = "InputNumber";
|
|
13738
13738
|
|
|
13739
|
-
var _excluded$
|
|
13739
|
+
var _excluded$L = ["currency", "size"];
|
|
13740
13740
|
var InputCurrency = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13741
13741
|
var currency = _ref.currency,
|
|
13742
13742
|
size = _ref.size,
|
|
13743
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13743
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
13744
13744
|
var variant = React.useMemo(function () {
|
|
13745
13745
|
if (size === "biggest") {
|
|
13746
13746
|
return "Header 2";
|
|
@@ -13765,7 +13765,7 @@
|
|
|
13765
13765
|
});
|
|
13766
13766
|
InputCurrency.displayName = "InputCurrency";
|
|
13767
13767
|
|
|
13768
|
-
var _excluded$
|
|
13768
|
+
var _excluded$K = ["size", "disabled", "show", "hideControl", "showTooltipText", "hideTooltipText", "value", "validation", "errorMessage", "invalid", "onChange"];
|
|
13769
13769
|
var transform = {
|
|
13770
13770
|
biggest: "big",
|
|
13771
13771
|
regular: "small",
|
|
@@ -13858,7 +13858,7 @@
|
|
|
13858
13858
|
errorMessage = _ref2.errorMessage,
|
|
13859
13859
|
invalid = _ref2.invalid,
|
|
13860
13860
|
onChange = _ref2.onChange,
|
|
13861
|
-
rest = _objectWithoutProperties(_ref2, _excluded$
|
|
13861
|
+
rest = _objectWithoutProperties(_ref2, _excluded$K);
|
|
13862
13862
|
var inputRef = React.useRef(null);
|
|
13863
13863
|
var handleRef = useForkRef(ref, inputRef);
|
|
13864
13864
|
var _useState = React.useState(show),
|
|
@@ -13973,7 +13973,7 @@
|
|
|
13973
13973
|
});
|
|
13974
13974
|
};
|
|
13975
13975
|
|
|
13976
|
-
var _excluded$
|
|
13976
|
+
var _excluded$J = ["size", "disabled", "value", "onChange"];
|
|
13977
13977
|
var options = [{
|
|
13978
13978
|
id: "https://",
|
|
13979
13979
|
name: "https://"
|
|
@@ -13988,7 +13988,7 @@
|
|
|
13988
13988
|
_ref$value = _ref.value,
|
|
13989
13989
|
defaultValue = _ref$value === void 0 ? "" : _ref$value,
|
|
13990
13990
|
onChange = _ref.onChange,
|
|
13991
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13991
|
+
rest = _objectWithoutProperties(_ref, _excluded$J);
|
|
13992
13992
|
var inputRef = React.useRef(null);
|
|
13993
13993
|
var handleRef = useForkRef(ref, inputRef);
|
|
13994
13994
|
var _useState = React.useState(options[0].id),
|
|
@@ -14081,7 +14081,7 @@
|
|
|
14081
14081
|
});
|
|
14082
14082
|
InputUrl.displayName = "InputUrl";
|
|
14083
14083
|
|
|
14084
|
-
var _excluded$
|
|
14084
|
+
var _excluded$I = ["size", "disabled", "value", "onChange", "defaultCountry"];
|
|
14085
14085
|
var renderOption = function renderOption(option, data) {
|
|
14086
14086
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(StyledOptionWrapper, null, /*#__PURE__*/React__default["default"].createElement(StyledOptionFlag, null, countryExplorer.getCountryFlag(option.id)), /*#__PURE__*/React__default["default"].createElement(StyledOptionName, null, option.name)), /*#__PURE__*/React__default["default"].createElement(RadioButton, {
|
|
14087
14087
|
checked: data.checked,
|
|
@@ -14097,7 +14097,7 @@
|
|
|
14097
14097
|
onChange = _ref.onChange,
|
|
14098
14098
|
_ref$defaultCountry = _ref.defaultCountry,
|
|
14099
14099
|
defaultCountry = _ref$defaultCountry === void 0 ? "US" : _ref$defaultCountry,
|
|
14100
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14100
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
14101
14101
|
var inputRef = React.useRef(null);
|
|
14102
14102
|
var handleRef = useForkRef(ref, inputRef);
|
|
14103
14103
|
var _useState = React.useState(defaultCountry),
|
|
@@ -14212,11 +14212,11 @@
|
|
|
14212
14212
|
});
|
|
14213
14213
|
InputPhone.displayName = "InputPhone";
|
|
14214
14214
|
|
|
14215
|
-
var _excluded$
|
|
14215
|
+
var _excluded$H = ["expanded"];
|
|
14216
14216
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14217
14217
|
var _ref$expanded = _ref.expanded,
|
|
14218
14218
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
14219
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14219
|
+
rest = _objectWithoutProperties(_ref, _excluded$H);
|
|
14220
14220
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
14221
14221
|
ref: ref,
|
|
14222
14222
|
viewBox: "0 0 24 24"
|
|
@@ -14338,7 +14338,7 @@
|
|
|
14338
14338
|
});
|
|
14339
14339
|
StyledTextarea.displayName = "StyledTextarea";
|
|
14340
14340
|
|
|
14341
|
-
var _excluded$
|
|
14341
|
+
var _excluded$G = ["className", "disabled", "invalid", "mode"];
|
|
14342
14342
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14343
14343
|
var className = _ref.className,
|
|
14344
14344
|
_ref$disabled = _ref.disabled,
|
|
@@ -14347,7 +14347,7 @@
|
|
|
14347
14347
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
14348
14348
|
_ref$mode = _ref.mode,
|
|
14349
14349
|
mode = _ref$mode === void 0 ? "outlined" : _ref$mode,
|
|
14350
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14350
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
14351
14351
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
14352
14352
|
$invalid: invalid,
|
|
14353
14353
|
ref: ref,
|
|
@@ -14381,7 +14381,7 @@
|
|
|
14381
14381
|
function () {});
|
|
14382
14382
|
}
|
|
14383
14383
|
|
|
14384
|
-
var _excluded$
|
|
14384
|
+
var _excluded$F = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "disableCloseOnEsc", "open", "onClose", "onClickOutside"];
|
|
14385
14385
|
var getHasTransition = function getHasTransition(children) {
|
|
14386
14386
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
14387
14387
|
};
|
|
@@ -14401,7 +14401,7 @@
|
|
|
14401
14401
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
14402
14402
|
onClose = _ref.onClose,
|
|
14403
14403
|
onClickOutside = _ref.onClickOutside,
|
|
14404
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14404
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
14405
14405
|
var _useState = React.useState(defaultOpen),
|
|
14406
14406
|
_useState2 = _slicedToArray(_useState, 2),
|
|
14407
14407
|
open = _useState2[0],
|
|
@@ -14542,7 +14542,7 @@
|
|
|
14542
14542
|
});
|
|
14543
14543
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
14544
14544
|
|
|
14545
|
-
var _excluded$
|
|
14545
|
+
var _excluded$E = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
14546
14546
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14547
14547
|
var children = _ref.children,
|
|
14548
14548
|
onClose = _ref.onClose,
|
|
@@ -14566,7 +14566,7 @@
|
|
|
14566
14566
|
bodyClassName = _ref.bodyClassName,
|
|
14567
14567
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
14568
14568
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
14569
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14569
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
14570
14570
|
var _useState = React.useState(defaultOpen),
|
|
14571
14571
|
_useState2 = _slicedToArray(_useState, 2),
|
|
14572
14572
|
open = _useState2[0],
|
|
@@ -14659,13 +14659,13 @@
|
|
|
14659
14659
|
});
|
|
14660
14660
|
StyledHeader.displayName = "StyledHeader";
|
|
14661
14661
|
|
|
14662
|
-
var _excluded$
|
|
14662
|
+
var _excluded$D = ["className", "size", "children"];
|
|
14663
14663
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14664
14664
|
var className = _ref.className,
|
|
14665
14665
|
_ref$size = _ref.size,
|
|
14666
14666
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
14667
14667
|
children = _ref.children,
|
|
14668
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14668
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
14669
14669
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
14670
14670
|
type: "paper-2",
|
|
14671
14671
|
className: classNames__default["default"]("c-header", className),
|
|
@@ -14681,7 +14681,7 @@
|
|
|
14681
14681
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
14682
14682
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
14683
14683
|
|
|
14684
|
-
var _excluded$
|
|
14684
|
+
var _excluded$C = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value", "mode"];
|
|
14685
14685
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14686
14686
|
var _ref$minRows = _ref.minRows,
|
|
14687
14687
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -14699,7 +14699,7 @@
|
|
|
14699
14699
|
value = _ref.value,
|
|
14700
14700
|
_ref$mode = _ref.mode,
|
|
14701
14701
|
mode = _ref$mode === void 0 ? "outlined" : _ref$mode,
|
|
14702
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14702
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
14703
14703
|
var innerRef = React.useRef(null);
|
|
14704
14704
|
var _useState = React.useState(minRows),
|
|
14705
14705
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -14976,7 +14976,7 @@
|
|
|
14976
14976
|
});
|
|
14977
14977
|
StyledChoose.displayName = "StyledChoose";
|
|
14978
14978
|
|
|
14979
|
-
var _excluded$
|
|
14979
|
+
var _excluded$B = ["children", "disabled", "active", "className"];
|
|
14980
14980
|
/**
|
|
14981
14981
|
* Choose component
|
|
14982
14982
|
*/
|
|
@@ -14987,7 +14987,7 @@
|
|
|
14987
14987
|
_ref$active = _ref.active,
|
|
14988
14988
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
14989
14989
|
className = _ref.className,
|
|
14990
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
14990
|
+
args = _objectWithoutProperties(_ref, _excluded$B);
|
|
14991
14991
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
14992
14992
|
disabled: disabled,
|
|
14993
14993
|
className: classNames__default["default"]("c-choose", className),
|
|
@@ -15083,21 +15083,21 @@
|
|
|
15083
15083
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
15084
15084
|
StyledLink.displayName = "StyledLink";
|
|
15085
15085
|
|
|
15086
|
-
var _excluded$
|
|
15086
|
+
var _excluded$A = ["children", "className"];
|
|
15087
15087
|
/**
|
|
15088
15088
|
* Back link component
|
|
15089
15089
|
*/
|
|
15090
15090
|
var BackLink = function BackLink(_ref) {
|
|
15091
15091
|
var children = _ref.children,
|
|
15092
15092
|
className = _ref.className,
|
|
15093
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
15093
|
+
args = _objectWithoutProperties(_ref, _excluded$A);
|
|
15094
15094
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
15095
15095
|
className: classNames__default["default"]("c-back-link", className)
|
|
15096
15096
|
}, args), children);
|
|
15097
15097
|
};
|
|
15098
15098
|
BackLink.displayName = "BackLink";
|
|
15099
15099
|
|
|
15100
|
-
var _excluded$
|
|
15100
|
+
var _excluded$z = ["as", "children", "variant", "size", "disabled", "className"];
|
|
15101
15101
|
/**
|
|
15102
15102
|
* Link component
|
|
15103
15103
|
*/
|
|
@@ -15110,7 +15110,7 @@
|
|
|
15110
15110
|
_ref$disabled = _ref.disabled,
|
|
15111
15111
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
15112
15112
|
className = _ref.className,
|
|
15113
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
15113
|
+
args = _objectWithoutProperties(_ref, _excluded$z);
|
|
15114
15114
|
var Component = as || "a";
|
|
15115
15115
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
15116
15116
|
ref: ref,
|
|
@@ -15168,13 +15168,13 @@
|
|
|
15168
15168
|
})(["padding:20px 30px;", " ", ""], FontStyle, BoxSizingStyle);
|
|
15169
15169
|
StyledDialogActions.displayName = "StyledDialogActions";
|
|
15170
15170
|
|
|
15171
|
-
var _excluded$
|
|
15171
|
+
var _excluded$y = ["className", "children"];
|
|
15172
15172
|
// import { useDialogContext } from "./DialogContext";
|
|
15173
15173
|
|
|
15174
15174
|
var DialogActions = function DialogActions(_ref) {
|
|
15175
15175
|
var className = _ref.className,
|
|
15176
15176
|
children = _ref.children,
|
|
15177
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15177
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
15178
15178
|
// useDialogContext();
|
|
15179
15179
|
|
|
15180
15180
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
@@ -15183,13 +15183,13 @@
|
|
|
15183
15183
|
};
|
|
15184
15184
|
DialogActions.displayName = "DialogActions";
|
|
15185
15185
|
|
|
15186
|
-
var _excluded$
|
|
15186
|
+
var _excluded$x = ["className", "children"];
|
|
15187
15187
|
// import { useDialogContext } from "./DialogContext";
|
|
15188
15188
|
|
|
15189
15189
|
var DialogContent = function DialogContent(_ref) {
|
|
15190
15190
|
var className = _ref.className,
|
|
15191
15191
|
children = _ref.children,
|
|
15192
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15192
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
15193
15193
|
// useDialogContext();
|
|
15194
15194
|
|
|
15195
15195
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
@@ -15210,7 +15210,7 @@
|
|
|
15210
15210
|
};
|
|
15211
15211
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
15212
15212
|
|
|
15213
|
-
var _excluded$
|
|
15213
|
+
var _excluded$w = ["children", "className", "disableDefaultHeading"];
|
|
15214
15214
|
// import { useDialogContext } from "./DialogContext";
|
|
15215
15215
|
|
|
15216
15216
|
var DialogTitle = function DialogTitle(_ref) {
|
|
@@ -15218,7 +15218,7 @@
|
|
|
15218
15218
|
className = _ref.className,
|
|
15219
15219
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
15220
15220
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
15221
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15221
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
15222
15222
|
// useDialogContext();
|
|
15223
15223
|
|
|
15224
15224
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
@@ -15227,7 +15227,7 @@
|
|
|
15227
15227
|
};
|
|
15228
15228
|
DialogTitle.displayName = "DialogTitle";
|
|
15229
15229
|
|
|
15230
|
-
var _excluded$
|
|
15230
|
+
var _excluded$v = ["in", "children", "style", "timeout"];
|
|
15231
15231
|
var defaultStyle$2 = function defaultStyle(duration) {
|
|
15232
15232
|
return {
|
|
15233
15233
|
transition: "all ".concat(duration, "ms ease-in-out"),
|
|
@@ -15255,7 +15255,7 @@
|
|
|
15255
15255
|
style = _ref.style,
|
|
15256
15256
|
_ref$timeout = _ref.timeout,
|
|
15257
15257
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
15258
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15258
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
15259
15259
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
15260
15260
|
appear: true,
|
|
15261
15261
|
in: inProp,
|
|
@@ -15270,7 +15270,7 @@
|
|
|
15270
15270
|
};
|
|
15271
15271
|
Fade.displayName = "Fade";
|
|
15272
15272
|
|
|
15273
|
-
var _excluded$
|
|
15273
|
+
var _excluded$u = ["in", "children", "style", "timeout", "initialDirection"];
|
|
15274
15274
|
var Slide = function Slide(_ref) {
|
|
15275
15275
|
var _ref$in = _ref.in,
|
|
15276
15276
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -15280,7 +15280,7 @@
|
|
|
15280
15280
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
15281
15281
|
_ref$initialDirection = _ref.initialDirection,
|
|
15282
15282
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
15283
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15283
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
15284
15284
|
var directionSign;
|
|
15285
15285
|
switch (initialDirection) {
|
|
15286
15286
|
case "right":
|
|
@@ -15386,12 +15386,12 @@
|
|
|
15386
15386
|
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;}"]);
|
|
15387
15387
|
});
|
|
15388
15388
|
|
|
15389
|
-
var _excluded$
|
|
15389
|
+
var _excluded$t = ["children", "direction"];
|
|
15390
15390
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
15391
15391
|
var children = _ref.children,
|
|
15392
15392
|
_ref$direction = _ref.direction,
|
|
15393
15393
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
15394
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15394
|
+
props = _objectWithoutProperties(_ref, _excluded$t);
|
|
15395
15395
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
15396
15396
|
timeout: 200,
|
|
15397
15397
|
classNames: "c-slide",
|
|
@@ -15434,7 +15434,7 @@
|
|
|
15434
15434
|
};
|
|
15435
15435
|
ResizeTransition.displayName = "ResizeTransition";
|
|
15436
15436
|
|
|
15437
|
-
var _excluded$
|
|
15437
|
+
var _excluded$s = ["in", "children", "style", "timeout"];
|
|
15438
15438
|
var defaultStyle = function defaultStyle(duration) {
|
|
15439
15439
|
return {
|
|
15440
15440
|
transition: "all ".concat(duration, "ms ease-in"),
|
|
@@ -15468,7 +15468,7 @@
|
|
|
15468
15468
|
style = _ref.style,
|
|
15469
15469
|
_ref$timeout = _ref.timeout,
|
|
15470
15470
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
15471
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15471
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
15472
15472
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
15473
15473
|
appear: true,
|
|
15474
15474
|
in: inProp,
|
|
@@ -15518,7 +15518,7 @@
|
|
|
15518
15518
|
};
|
|
15519
15519
|
Scale.displayName = "Scale";
|
|
15520
15520
|
|
|
15521
|
-
var _excluded$
|
|
15521
|
+
var _excluded$r = ["children", "open", "onClose", "className", "enableBackgroundClick", "disableCloseOnEsc", "animate", "onClickOutside"];
|
|
15522
15522
|
var _Dialog = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15523
15523
|
var children = _ref.children,
|
|
15524
15524
|
_ref$open = _ref.open,
|
|
@@ -15532,7 +15532,7 @@
|
|
|
15532
15532
|
_ref$animate = _ref.animate,
|
|
15533
15533
|
animate = _ref$animate === void 0 ? "slide" : _ref$animate,
|
|
15534
15534
|
onClickOutside = _ref.onClickOutside,
|
|
15535
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15535
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
15536
15536
|
var animateDialog = function animateDialog() {
|
|
15537
15537
|
switch (animate) {
|
|
15538
15538
|
case "fade":
|
|
@@ -16269,7 +16269,7 @@
|
|
|
16269
16269
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
16270
16270
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
16271
16271
|
|
|
16272
|
-
var _excluded$
|
|
16272
|
+
var _excluded$q = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
16273
16273
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16274
16274
|
var text = _ref.text,
|
|
16275
16275
|
type = _ref.type,
|
|
@@ -16280,7 +16280,7 @@
|
|
|
16280
16280
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
16281
16281
|
_ref$timeout = _ref.timeout,
|
|
16282
16282
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
16283
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16283
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
16284
16284
|
var handleOnClose = React.useCallback(function () {
|
|
16285
16285
|
if (typeof onClose === "function") {
|
|
16286
16286
|
onClose();
|
|
@@ -16328,7 +16328,7 @@
|
|
|
16328
16328
|
});
|
|
16329
16329
|
StyledValueButton.displayName = "StyledValueButton";
|
|
16330
16330
|
|
|
16331
|
-
var _excluded$
|
|
16331
|
+
var _excluded$p = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
16332
16332
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16333
16333
|
var _ref$active = _ref.active,
|
|
16334
16334
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -16337,7 +16337,7 @@
|
|
|
16337
16337
|
icon = _ref.icon,
|
|
16338
16338
|
label = _ref.label,
|
|
16339
16339
|
value = _ref.value,
|
|
16340
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
16340
|
+
args = _objectWithoutProperties(_ref, _excluded$p);
|
|
16341
16341
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
16342
16342
|
className: "c-value-button"
|
|
16343
16343
|
}, args, {
|
|
@@ -16360,12 +16360,12 @@
|
|
|
16360
16360
|
});
|
|
16361
16361
|
ValueButton.displayName = "ValueButton";
|
|
16362
16362
|
|
|
16363
|
-
var _excluded$
|
|
16363
|
+
var _excluded$o = ["children", "type"];
|
|
16364
16364
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16365
16365
|
var children = _ref.children,
|
|
16366
16366
|
_ref$type = _ref.type,
|
|
16367
16367
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
16368
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16368
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
16369
16369
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
16370
16370
|
ref: ref,
|
|
16371
16371
|
role: "button",
|
|
@@ -16416,7 +16416,7 @@
|
|
|
16416
16416
|
});
|
|
16417
16417
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
16418
16418
|
|
|
16419
|
-
var _excluded$
|
|
16419
|
+
var _excluded$n = ["children", "type", "size", "invalid", "open", "endAdornment", "typographyProps", "mode"];
|
|
16420
16420
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16421
16421
|
var children = _ref.children,
|
|
16422
16422
|
_ref$type = _ref.type,
|
|
@@ -16431,7 +16431,7 @@
|
|
|
16431
16431
|
typographyProps = _ref.typographyProps,
|
|
16432
16432
|
_ref$mode = _ref.mode,
|
|
16433
16433
|
mode = _ref$mode === void 0 ? "outlined" : _ref$mode,
|
|
16434
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16434
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
16435
16435
|
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
16436
16436
|
ref: ref,
|
|
16437
16437
|
role: "button",
|
|
@@ -16481,11 +16481,11 @@
|
|
|
16481
16481
|
});
|
|
16482
16482
|
StyledToggle.displayName = "StyledToggle";
|
|
16483
16483
|
|
|
16484
|
-
var _excluded$
|
|
16484
|
+
var _excluded$m = ["hovered", "className"];
|
|
16485
16485
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16486
16486
|
var hovered = _ref.hovered,
|
|
16487
16487
|
className = _ref.className,
|
|
16488
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
16488
|
+
args = _objectWithoutProperties(_ref, _excluded$m);
|
|
16489
16489
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
16490
16490
|
className: classNames__default["default"]("c-toggle", className),
|
|
16491
16491
|
$isHovered: hovered,
|
|
@@ -16637,7 +16637,7 @@
|
|
|
16637
16637
|
})(["color:var(--color-theme-700);"]);
|
|
16638
16638
|
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
16639
16639
|
|
|
16640
|
-
var _excluded$
|
|
16640
|
+
var _excluded$l = ["startAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "variant", "typographyProps"];
|
|
16641
16641
|
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
16642
16642
|
var startAdornment = _ref.startAdornment,
|
|
16643
16643
|
label = _ref.label,
|
|
@@ -16649,7 +16649,7 @@
|
|
|
16649
16649
|
closeClassName = _ref.closeClassName,
|
|
16650
16650
|
variant = _ref.variant,
|
|
16651
16651
|
typographyProps = _ref.typographyProps,
|
|
16652
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16652
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
16653
16653
|
var showClose = typeof onClose === "function";
|
|
16654
16654
|
var _variant = React.useMemo(function () {
|
|
16655
16655
|
if (typeof variant !== "undefined") {
|
|
@@ -16684,7 +16684,7 @@
|
|
|
16684
16684
|
});
|
|
16685
16685
|
Chip.displayName = "Chip";
|
|
16686
16686
|
|
|
16687
|
-
var _excluded$
|
|
16687
|
+
var _excluded$k = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid", "type", "renderChip", "forceCloseMenu", "renderOption", "limitChips", "hiddenNumberText", "inPortal", "inputWrapperClassName", "scrollWrapper", "onClose", "onClear", "onDeselect", "defaultValue"];
|
|
16688
16688
|
var ComboBox = function ComboBox(_ref) {
|
|
16689
16689
|
var _comboBoxRef$current2, _comboBoxRef$current3;
|
|
16690
16690
|
var _ref$options = _ref.options,
|
|
@@ -16719,7 +16719,7 @@
|
|
|
16719
16719
|
onClear = _ref.onClear,
|
|
16720
16720
|
onDeselect = _ref.onDeselect,
|
|
16721
16721
|
defaultValue = _ref.defaultValue,
|
|
16722
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
16722
|
+
prop = _objectWithoutProperties(_ref, _excluded$k);
|
|
16723
16723
|
var selectedName = React.useMemo(function () {
|
|
16724
16724
|
var value = "";
|
|
16725
16725
|
if (!selected) {
|
|
@@ -17130,11 +17130,11 @@
|
|
|
17130
17130
|
})(["display:flex;justify-content:center;gap:12px;align-items:center;height:32px;padding:4px 16px 4px 4px;position:relative;background:none;border:none;cursor:pointer;&:before{content:\"\";display:block;height:2px;width:0%;position:absolute;left:16px;background:var(--color-primary);transition:ease 0.3s all;border-radius:30px;opacity:0;}&:hover{", "{color:var(--page-paper-main);}&:before{height:32px;width:100%;left:0;opacity:1;}", "{fill:var(--page-paper-main);transform:rotate(90deg);transition:ease 0.3s;}}"], StyledText, StyledAddCrossIcon);
|
|
17131
17131
|
StyledAddToListButton.displayName = "StyledAddToListButton";
|
|
17132
17132
|
|
|
17133
|
-
var _excluded$
|
|
17133
|
+
var _excluded$j = ["text", "className"];
|
|
17134
17134
|
var AddToListButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
17135
17135
|
var text = _ref.text,
|
|
17136
17136
|
className = _ref.className,
|
|
17137
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
17137
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
17138
17138
|
return /*#__PURE__*/React__default["default"].createElement(StyledAddToListButton, _extends({
|
|
17139
17139
|
ref: ref,
|
|
17140
17140
|
className: classNames__default["default"]("c--add-to-list-btn", className)
|
|
@@ -17214,14 +17214,24 @@
|
|
|
17214
17214
|
};
|
|
17215
17215
|
ProgressBar.displayName = "ProgressBar";
|
|
17216
17216
|
|
|
17217
|
+
var StyledWrapper = styled__default["default"].div.withConfig({
|
|
17218
|
+
displayName: "Styles__StyledWrapper",
|
|
17219
|
+
componentId: "sc-o6dcyu-0"
|
|
17220
|
+
})(["position:relative;display:inline-flex;"]);
|
|
17221
|
+
StyledWrapper.displayName = "StyledWrapper";
|
|
17222
|
+
var StyledChildrenWrapper = styled__default["default"].div.withConfig({
|
|
17223
|
+
displayName: "Styles__StyledChildrenWrapper",
|
|
17224
|
+
componentId: "sc-o6dcyu-1"
|
|
17225
|
+
})(["position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:inline-flex;"]);
|
|
17226
|
+
StyledChildrenWrapper.displayName = "StyledChildrenWrapper";
|
|
17217
17227
|
var StyledSvg = styled__default["default"].svg.withConfig({
|
|
17218
17228
|
displayName: "Styles__StyledSvg",
|
|
17219
|
-
componentId: "sc-o6dcyu-
|
|
17229
|
+
componentId: "sc-o6dcyu-2"
|
|
17220
17230
|
})(["transform:rotate(-90deg);"]);
|
|
17221
17231
|
StyledSvg.displayName = "StyledSvg";
|
|
17222
17232
|
var StyledBackgroundCircle = styled__default["default"].circle.withConfig({
|
|
17223
17233
|
displayName: "Styles__StyledBackgroundCircle",
|
|
17224
|
-
componentId: "sc-o6dcyu-
|
|
17234
|
+
componentId: "sc-o6dcyu-3"
|
|
17225
17235
|
})(["fill:transparent;transition:stroke-dashoffset 0.5s linear;", " ", ""], function (props) {
|
|
17226
17236
|
return props.$color ? styled.css(["stroke:", ";"], props.$color) : styled.css(["stroke:var(--color-theme-transparent-300);"]);
|
|
17227
17237
|
}, function (props) {
|
|
@@ -17230,8 +17240,10 @@
|
|
|
17230
17240
|
StyledBackgroundCircle.displayName = "StyledBackgroundCircle";
|
|
17231
17241
|
var StyledForegroundCircle = styled__default["default"].circle.withConfig({
|
|
17232
17242
|
displayName: "Styles__StyledForegroundCircle",
|
|
17233
|
-
componentId: "sc-o6dcyu-
|
|
17234
|
-
})(["fill:transparent;transition:stroke-dashoffset 0.5s linear;", " ", ""], function (props) {
|
|
17243
|
+
componentId: "sc-o6dcyu-4"
|
|
17244
|
+
})(["fill:transparent;transition:stroke-dashoffset 0.5s linear;", " ", " ", ""], function (props) {
|
|
17245
|
+
return props.$roundStroke && styled.css(["stroke-linecap:round;"]);
|
|
17246
|
+
}, function (props) {
|
|
17235
17247
|
return props.$color ? styled.css(["stroke:", ";"], props.$color) : styled.css(["stroke:var(--color-secondary);"]);
|
|
17236
17248
|
}, function (props) {
|
|
17237
17249
|
return props.$strokeDashOffset && styled.css(["stroke-dashoffset:", ";"], props.$strokeDashOffset);
|
|
@@ -17239,7 +17251,7 @@
|
|
|
17239
17251
|
StyledForegroundCircle.displayName = "StyledForegroundCircle";
|
|
17240
17252
|
var StyledProgressRingPercentage = styled__default["default"].text.withConfig({
|
|
17241
17253
|
displayName: "Styles__StyledProgressRingPercentage",
|
|
17242
|
-
componentId: "sc-o6dcyu-
|
|
17254
|
+
componentId: "sc-o6dcyu-5"
|
|
17243
17255
|
})(["transform:rotate(90deg);", " ", ""], function (props) {
|
|
17244
17256
|
return props.$color ? styled.css(["fill:", ";"], props.$color) : styled.css(["fill:var(--color-secondary);"]);
|
|
17245
17257
|
}, function (props) {
|
|
@@ -17247,7 +17259,8 @@
|
|
|
17247
17259
|
});
|
|
17248
17260
|
StyledProgressRingPercentage.displayName = "StyledProgressRingPercentage";
|
|
17249
17261
|
|
|
17250
|
-
var
|
|
17262
|
+
var _excluded$i = ["className", "children"];
|
|
17263
|
+
var ProgressCircle = function ProgressCircle(_ref) {
|
|
17251
17264
|
var backgroundColor = _ref.backgroundColor,
|
|
17252
17265
|
progressColor = _ref.progressColor,
|
|
17253
17266
|
_ref$progress = _ref.progress,
|
|
@@ -17256,6 +17269,7 @@
|
|
|
17256
17269
|
radius = _ref$radius === void 0 ? 20 : _ref$radius,
|
|
17257
17270
|
_ref$stroke = _ref.stroke,
|
|
17258
17271
|
stroke = _ref$stroke === void 0 ? 3 : _ref$stroke,
|
|
17272
|
+
roundStroke = _ref.roundStroke,
|
|
17259
17273
|
className = _ref.className,
|
|
17260
17274
|
_ref$showPercentage = _ref.showPercentage,
|
|
17261
17275
|
showPercentage = _ref$showPercentage === void 0 ? false : _ref$showPercentage,
|
|
@@ -17289,7 +17303,7 @@
|
|
|
17289
17303
|
return /*#__PURE__*/React__default["default"].createElement(StyledSvg, {
|
|
17290
17304
|
height: radius * 2,
|
|
17291
17305
|
width: radius * 2,
|
|
17292
|
-
className:
|
|
17306
|
+
className: className
|
|
17293
17307
|
}, /*#__PURE__*/React__default["default"].createElement(StyledBackgroundCircle, {
|
|
17294
17308
|
$color: backgroundColor,
|
|
17295
17309
|
$strokeDashOffset: -strokeDashoffsetOuter,
|
|
@@ -17303,6 +17317,7 @@
|
|
|
17303
17317
|
$strokeDashOffset: strokeDashoffsetInner,
|
|
17304
17318
|
strokeWidth: stroke,
|
|
17305
17319
|
strokeDasharray: "".concat(circumference, " ").concat(circumference),
|
|
17320
|
+
$roundStroke: roundStroke,
|
|
17306
17321
|
r: normalizedRadius,
|
|
17307
17322
|
cx: radius,
|
|
17308
17323
|
cy: radius
|
|
@@ -17315,6 +17330,15 @@
|
|
|
17315
17330
|
textAnchor: "middle"
|
|
17316
17331
|
}, progressNumber, "%") : null);
|
|
17317
17332
|
};
|
|
17333
|
+
var ProgressRing = function ProgressRing(_ref2) {
|
|
17334
|
+
var className = _ref2.className,
|
|
17335
|
+
children = _ref2.children,
|
|
17336
|
+
rest = _objectWithoutProperties(_ref2, _excluded$i);
|
|
17337
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
17338
|
+
className: classNames__default["default"](className),
|
|
17339
|
+
"data-testid": "progress-ring"
|
|
17340
|
+
}, /*#__PURE__*/React__default["default"].createElement(ProgressCircle, rest), children ? /*#__PURE__*/React__default["default"].createElement(StyledChildrenWrapper, null, children) : null);
|
|
17341
|
+
};
|
|
17318
17342
|
ProgressRing.displayName = "ProgressRing";
|
|
17319
17343
|
|
|
17320
17344
|
var _excluded$h = ["radius"];
|
|
@@ -17322,7 +17346,7 @@
|
|
|
17322
17346
|
var _ref$radius = _ref.radius,
|
|
17323
17347
|
radius = _ref$radius === void 0 ? 20 : _ref$radius,
|
|
17324
17348
|
rest = _objectWithoutProperties(_ref, _excluded$h);
|
|
17325
|
-
return /*#__PURE__*/React__default["default"].createElement(
|
|
17349
|
+
return /*#__PURE__*/React__default["default"].createElement(ProgressCircle, _extends({}, rest, {
|
|
17326
17350
|
stroke: radius,
|
|
17327
17351
|
radius: radius
|
|
17328
17352
|
}));
|
|
@@ -19667,6 +19691,7 @@
|
|
|
19667
19691
|
exports.Portal = Portal;
|
|
19668
19692
|
exports.PriorityLowIcon = PriorityLowIcon$1;
|
|
19669
19693
|
exports.ProgressBar = ProgressBar;
|
|
19694
|
+
exports.ProgressCircle = ProgressCircle;
|
|
19670
19695
|
exports.ProgressPie = ProgressPie;
|
|
19671
19696
|
exports.ProgressRing = ProgressRing;
|
|
19672
19697
|
exports.ProjectAddIcon = ProjectAddIcon$1;
|