@activecollab/components 1.0.97 → 1.0.100
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/Folder/FolderIcon.js +76 -0
- package/dist/cjs/components/Folder/FolderIcon.js.map +1 -0
- package/dist/cjs/components/Folder/index.js +16 -0
- package/dist/cjs/components/Folder/index.js.map +1 -0
- package/dist/cjs/components/ProgressRing/ProgressRing.js +29 -6
- package/dist/cjs/components/ProgressRing/ProgressRing.js.map +1 -1
- package/dist/cjs/components/ProgressRing/Styles.js +14 -2
- package/dist/cjs/components/ProgressRing/Styles.js.map +1 -1
- package/dist/cjs/components/index.js +13 -0
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/Folder/FolderIcon.d.ts +7 -0
- package/dist/esm/components/Folder/FolderIcon.d.ts.map +1 -0
- package/dist/esm/components/Folder/FolderIcon.js +59 -0
- package/dist/esm/components/Folder/FolderIcon.js.map +1 -0
- package/dist/esm/components/Folder/index.d.ts +2 -0
- package/dist/esm/components/Folder/index.d.ts.map +1 -0
- package/dist/esm/components/Folder/index.js +2 -0
- package/dist/esm/components/Folder/index.js.map +1 -0
- package/dist/esm/components/ProgressRing/ProgressRing.d.ts +2 -0
- package/dist/esm/components/ProgressRing/ProgressRing.d.ts.map +1 -1
- package/dist/esm/components/ProgressRing/ProgressRing.js +30 -7
- package/dist/esm/components/ProgressRing/ProgressRing.js.map +1 -1
- package/dist/esm/components/ProgressRing/Styles.d.ts +2 -0
- package/dist/esm/components/ProgressRing/Styles.d.ts.map +1 -1
- package/dist/esm/components/ProgressRing/Styles.js +10 -1
- package/dist/esm/components/ProgressRing/Styles.js.map +1 -1
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/index.js +218 -129
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
})(["display:inline-flex;svg{margin:0 4px;}"]);
|
|
315
315
|
StyledButtonElement.displayName = "StyledButtonElement";
|
|
316
316
|
|
|
317
|
-
var _excluded$
|
|
317
|
+
var _excluded$Z = ["children", "variant", "size", "disabled", "className"];
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* Button component
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
_ref$disabled = _ref.disabled,
|
|
329
329
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
330
330
|
className = _ref.className,
|
|
331
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
331
|
+
args = _objectWithoutProperties(_ref, _excluded$Z);
|
|
332
332
|
|
|
333
333
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$1, _extends({
|
|
334
334
|
disabled: disabled,
|
|
@@ -381,12 +381,12 @@
|
|
|
381
381
|
})(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
|
|
382
382
|
StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
|
|
383
383
|
|
|
384
|
-
var _excluded$
|
|
384
|
+
var _excluded$Y = ["className", "disabled"];
|
|
385
385
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
386
386
|
var className = _ref.className,
|
|
387
387
|
_ref$disabled = _ref.disabled,
|
|
388
388
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
389
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
389
|
+
rest = _objectWithoutProperties(_ref, _excluded$Y);
|
|
390
390
|
|
|
391
391
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
392
392
|
ref: ref,
|
|
@@ -419,11 +419,11 @@
|
|
|
419
419
|
});
|
|
420
420
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
421
421
|
|
|
422
|
-
var _excluded$
|
|
422
|
+
var _excluded$X = ["children", "className"];
|
|
423
423
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
424
424
|
var children = _ref.children,
|
|
425
425
|
className = _ref.className,
|
|
426
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
426
|
+
rest = _objectWithoutProperties(_ref, _excluded$X);
|
|
427
427
|
|
|
428
428
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
429
429
|
ref: ref,
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
}, [refA, refB]);
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
-
var _excluded$
|
|
452
|
+
var _excluded$W = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy"];
|
|
453
453
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
454
454
|
var children = _ref.children,
|
|
455
455
|
anchorEl = _ref.anchorEl,
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
initialPlacement = _ref$placement === void 0 ? "bottom" : _ref$placement,
|
|
463
463
|
_ref$strategy = _ref.strategy,
|
|
464
464
|
strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
|
|
465
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
465
|
+
rest = _objectWithoutProperties(_ref, _excluded$W);
|
|
466
466
|
|
|
467
467
|
var _useState = React.useState(true),
|
|
468
468
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -655,11 +655,11 @@
|
|
|
655
655
|
house: 1000
|
|
656
656
|
};
|
|
657
657
|
|
|
658
|
-
var _excluded$
|
|
658
|
+
var _excluded$V = ["children"];
|
|
659
659
|
|
|
660
660
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
661
661
|
var children = _ref.children,
|
|
662
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
662
|
+
props = _objectWithoutProperties(_ref, _excluded$V);
|
|
663
663
|
|
|
664
664
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
665
665
|
timeout: 0
|
|
@@ -923,7 +923,7 @@
|
|
|
923
923
|
});
|
|
924
924
|
StyledTypography.displayName = "StyledTypography";
|
|
925
925
|
|
|
926
|
-
var _excluded$
|
|
926
|
+
var _excluded$U = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
927
927
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
928
928
|
var _ref$variant = _ref.variant,
|
|
929
929
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -954,7 +954,7 @@
|
|
|
954
954
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
955
955
|
className = _ref.className,
|
|
956
956
|
children = _ref.children,
|
|
957
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
957
|
+
props = _objectWithoutProperties(_ref, _excluded$U);
|
|
958
958
|
|
|
959
959
|
var Component = as || "div";
|
|
960
960
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
@@ -978,12 +978,12 @@
|
|
|
978
978
|
});
|
|
979
979
|
Typography.displayName = "Typography";
|
|
980
980
|
|
|
981
|
-
var _excluded$
|
|
981
|
+
var _excluded$T = ["weight", "children"];
|
|
982
982
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
983
983
|
var _ref$weight = _ref.weight,
|
|
984
984
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
985
985
|
children = _ref.children,
|
|
986
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
986
|
+
props = _objectWithoutProperties(_ref, _excluded$T);
|
|
987
987
|
|
|
988
988
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
989
989
|
variant: "Body 2",
|
|
@@ -1024,7 +1024,7 @@
|
|
|
1024
1024
|
});
|
|
1025
1025
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
1026
1026
|
|
|
1027
|
-
var _excluded$
|
|
1027
|
+
var _excluded$S = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
|
|
1028
1028
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1029
1029
|
var label = _ref.label,
|
|
1030
1030
|
icon = _ref.icon,
|
|
@@ -1034,7 +1034,7 @@
|
|
|
1034
1034
|
tooltipText = _ref.tooltipText,
|
|
1035
1035
|
onClearAll = _ref.onClearAll,
|
|
1036
1036
|
className = _ref.className,
|
|
1037
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
1037
|
+
args = _objectWithoutProperties(_ref, _excluded$S);
|
|
1038
1038
|
|
|
1039
1039
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1040
1040
|
className: classNames__default["default"]("tw-flex ac-font box-sizing", className)
|
|
@@ -1372,7 +1372,7 @@
|
|
|
1372
1372
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
1373
1373
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
1374
1374
|
|
|
1375
|
-
var _excluded$
|
|
1375
|
+
var _excluded$R = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
1376
1376
|
var DatePicker = function DatePicker(_ref) {
|
|
1377
1377
|
var className = _ref.className,
|
|
1378
1378
|
onChange = _ref.onChange,
|
|
@@ -1394,7 +1394,7 @@
|
|
|
1394
1394
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
1395
1395
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
1396
1396
|
defaultModifiers = _ref.modifiers,
|
|
1397
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1397
|
+
rest = _objectWithoutProperties(_ref, _excluded$R);
|
|
1398
1398
|
|
|
1399
1399
|
var _useState = React.useState(),
|
|
1400
1400
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -1739,12 +1739,12 @@
|
|
|
1739
1739
|
});
|
|
1740
1740
|
StyledOverlay.displayName = "StyledOverlay";
|
|
1741
1741
|
|
|
1742
|
-
var _excluded$
|
|
1742
|
+
var _excluded$Q = ["className", "disableBackgroundColor"];
|
|
1743
1743
|
var Overlay = function Overlay(_ref) {
|
|
1744
1744
|
var className = _ref.className,
|
|
1745
1745
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
1746
1746
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
1747
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1747
|
+
rest = _objectWithoutProperties(_ref, _excluded$Q);
|
|
1748
1748
|
|
|
1749
1749
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
1750
1750
|
className: classNames__default["default"]("c-overlay", className),
|
|
@@ -1759,7 +1759,7 @@
|
|
|
1759
1759
|
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
|
|
1760
1760
|
StyledWindow.displayName = "StyledWindow";
|
|
1761
1761
|
|
|
1762
|
-
var _excluded$
|
|
1762
|
+
var _excluded$P = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "preventClickEventBubbling", "onClick"];
|
|
1763
1763
|
var returnFocus = {
|
|
1764
1764
|
preventScroll: true
|
|
1765
1765
|
};
|
|
@@ -1776,7 +1776,7 @@
|
|
|
1776
1776
|
_ref$preventClickEven = _ref.preventClickEventBubbling,
|
|
1777
1777
|
preventClickEventBubbling = _ref$preventClickEven === void 0 ? false : _ref$preventClickEven,
|
|
1778
1778
|
onClick = _ref.onClick,
|
|
1779
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1779
|
+
rest = _objectWithoutProperties(_ref, _excluded$P);
|
|
1780
1780
|
|
|
1781
1781
|
var innerRef = React.useRef(null);
|
|
1782
1782
|
var handleRef = useForkRef(innerRef, ref);
|
|
@@ -1850,7 +1850,7 @@
|
|
|
1850
1850
|
}, FontStyle, BoxSizingStyle);
|
|
1851
1851
|
StyledBubble.displayName = "StyledBubble";
|
|
1852
1852
|
|
|
1853
|
-
var _excluded$
|
|
1853
|
+
var _excluded$O = ["children", "className", "innerRef", "style"];
|
|
1854
1854
|
var Bubble = function Bubble(_ref) {
|
|
1855
1855
|
var children = _ref.children,
|
|
1856
1856
|
className = _ref.className,
|
|
@@ -1858,7 +1858,7 @@
|
|
|
1858
1858
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
1859
1859
|
_ref$style = _ref.style,
|
|
1860
1860
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
1861
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1861
|
+
rest = _objectWithoutProperties(_ref, _excluded$O);
|
|
1862
1862
|
|
|
1863
1863
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
1864
1864
|
ref: innerRef,
|
|
@@ -2005,13 +2005,13 @@
|
|
|
2005
2005
|
};
|
|
2006
2006
|
Menu.displayName = "Menu";
|
|
2007
2007
|
|
|
2008
|
-
var _excluded$
|
|
2008
|
+
var _excluded$N = ["title", "className", "leftElement", "rightElement"];
|
|
2009
2009
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2010
2010
|
var title = _ref.title,
|
|
2011
2011
|
className = _ref.className,
|
|
2012
2012
|
leftElement = _ref.leftElement,
|
|
2013
2013
|
rightElement = _ref.rightElement,
|
|
2014
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2014
|
+
props = _objectWithoutProperties(_ref, _excluded$N);
|
|
2015
2015
|
|
|
2016
2016
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
2017
2017
|
className: classNames__default["default"]("c-menu-header", className),
|
|
@@ -2034,11 +2034,11 @@
|
|
|
2034
2034
|
});
|
|
2035
2035
|
MenuHeader.displayName = "MenuHeader";
|
|
2036
2036
|
|
|
2037
|
-
var _excluded$
|
|
2037
|
+
var _excluded$M = ["children", "className"];
|
|
2038
2038
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2039
2039
|
var children = _ref.children,
|
|
2040
2040
|
className = _ref.className,
|
|
2041
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2041
|
+
props = _objectWithoutProperties(_ref, _excluded$M);
|
|
2042
2042
|
|
|
2043
2043
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter, _extends({}, props, {
|
|
2044
2044
|
className: classNames__default["default"]("c-menu-footer", className),
|
|
@@ -2710,7 +2710,7 @@
|
|
|
2710
2710
|
SortIcon.displayName = "SortIcon";
|
|
2711
2711
|
var SortIcon$1 = SortIcon;
|
|
2712
2712
|
|
|
2713
|
-
var _excluded$
|
|
2713
|
+
var _excluded$L = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue"];
|
|
2714
2714
|
exports.SortDirection = void 0;
|
|
2715
2715
|
|
|
2716
2716
|
(function (SortDirection) {
|
|
@@ -2760,7 +2760,7 @@
|
|
|
2760
2760
|
} : _ref$groupHead,
|
|
2761
2761
|
isCollapsible = _ref.isCollapsible,
|
|
2762
2762
|
emptyValue = _ref.emptyValue,
|
|
2763
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
2763
|
+
args = _objectWithoutProperties(_ref, _excluded$L);
|
|
2764
2764
|
|
|
2765
2765
|
var _useState = React.useState(sortDirection),
|
|
2766
2766
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -3174,7 +3174,7 @@
|
|
|
3174
3174
|
});
|
|
3175
3175
|
StyledPaper.displayName = "StyledPaper";
|
|
3176
3176
|
|
|
3177
|
-
var _excluded$
|
|
3177
|
+
var _excluded$K = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
3178
3178
|
|
|
3179
3179
|
/**
|
|
3180
3180
|
* This is a component description and should sit directly above your component
|
|
@@ -3188,7 +3188,7 @@
|
|
|
3188
3188
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
3189
3189
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
3190
3190
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
3191
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3191
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
3192
3192
|
|
|
3193
3193
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
3194
3194
|
className: classNames__default["default"](className, {
|
|
@@ -3242,7 +3242,7 @@
|
|
|
3242
3242
|
});
|
|
3243
3243
|
StyledCard.displayName = "StyledCard";
|
|
3244
3244
|
|
|
3245
|
-
var _excluded$
|
|
3245
|
+
var _excluded$J = ["children", "className", "hoverable", "paperType"];
|
|
3246
3246
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3247
3247
|
var children = _ref.children,
|
|
3248
3248
|
className = _ref.className,
|
|
@@ -3250,7 +3250,7 @@
|
|
|
3250
3250
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
3251
3251
|
_ref$paperType = _ref.paperType,
|
|
3252
3252
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
3253
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3253
|
+
rest = _objectWithoutProperties(_ref, _excluded$J);
|
|
3254
3254
|
|
|
3255
3255
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
3256
3256
|
type: paperType,
|
|
@@ -3332,12 +3332,12 @@
|
|
|
3332
3332
|
});
|
|
3333
3333
|
EntityCard.displayName = "EntityCard";
|
|
3334
3334
|
|
|
3335
|
-
var _excluded$
|
|
3335
|
+
var _excluded$I = ["weight", "children"];
|
|
3336
3336
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3337
3337
|
var _ref$weight = _ref.weight,
|
|
3338
3338
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
3339
3339
|
children = _ref.children,
|
|
3340
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3340
|
+
props = _objectWithoutProperties(_ref, _excluded$I);
|
|
3341
3341
|
|
|
3342
3342
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3343
3343
|
weight: weight,
|
|
@@ -3347,12 +3347,12 @@
|
|
|
3347
3347
|
});
|
|
3348
3348
|
Title1.displayName = "Title1";
|
|
3349
3349
|
|
|
3350
|
-
var _excluded$
|
|
3350
|
+
var _excluded$H = ["weight", "children"];
|
|
3351
3351
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3352
3352
|
var _ref$weight = _ref.weight,
|
|
3353
3353
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
3354
3354
|
children = _ref.children,
|
|
3355
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3355
|
+
props = _objectWithoutProperties(_ref, _excluded$H);
|
|
3356
3356
|
|
|
3357
3357
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3358
3358
|
weight: weight,
|
|
@@ -3362,10 +3362,10 @@
|
|
|
3362
3362
|
});
|
|
3363
3363
|
Title2.displayName = "Title2";
|
|
3364
3364
|
|
|
3365
|
-
var _excluded$
|
|
3365
|
+
var _excluded$G = ["children"];
|
|
3366
3366
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3367
3367
|
var children = _ref.children,
|
|
3368
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3368
|
+
props = _objectWithoutProperties(_ref, _excluded$G);
|
|
3369
3369
|
|
|
3370
3370
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3371
3371
|
weight: "bold",
|
|
@@ -3375,10 +3375,10 @@
|
|
|
3375
3375
|
});
|
|
3376
3376
|
Header2.displayName = "Header2";
|
|
3377
3377
|
|
|
3378
|
-
var _excluded$
|
|
3378
|
+
var _excluded$F = ["children"];
|
|
3379
3379
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3380
3380
|
var children = _ref.children,
|
|
3381
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3381
|
+
props = _objectWithoutProperties(_ref, _excluded$F);
|
|
3382
3382
|
|
|
3383
3383
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3384
3384
|
weight: "bold",
|
|
@@ -3388,12 +3388,12 @@
|
|
|
3388
3388
|
});
|
|
3389
3389
|
Header3.displayName = "Header3";
|
|
3390
3390
|
|
|
3391
|
-
var _excluded$
|
|
3391
|
+
var _excluded$E = ["weight", "children"];
|
|
3392
3392
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3393
3393
|
var _ref$weight = _ref.weight,
|
|
3394
3394
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
3395
3395
|
children = _ref.children,
|
|
3396
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3396
|
+
props = _objectWithoutProperties(_ref, _excluded$E);
|
|
3397
3397
|
|
|
3398
3398
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3399
3399
|
variant: "Body 1",
|
|
@@ -3403,12 +3403,12 @@
|
|
|
3403
3403
|
});
|
|
3404
3404
|
Body1.displayName = "Body1";
|
|
3405
3405
|
|
|
3406
|
-
var _excluded$
|
|
3406
|
+
var _excluded$D = ["weight", "children"];
|
|
3407
3407
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3408
3408
|
var _ref$weight = _ref.weight,
|
|
3409
3409
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
3410
3410
|
children = _ref.children,
|
|
3411
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3411
|
+
props = _objectWithoutProperties(_ref, _excluded$D);
|
|
3412
3412
|
|
|
3413
3413
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3414
3414
|
variant: "Caption 1",
|
|
@@ -3418,12 +3418,12 @@
|
|
|
3418
3418
|
});
|
|
3419
3419
|
Caption1.displayName = "Caption1";
|
|
3420
3420
|
|
|
3421
|
-
var _excluded$
|
|
3421
|
+
var _excluded$C = ["weight", "children"];
|
|
3422
3422
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3423
3423
|
var _ref$weight = _ref.weight,
|
|
3424
3424
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
3425
3425
|
children = _ref.children,
|
|
3426
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3426
|
+
props = _objectWithoutProperties(_ref, _excluded$C);
|
|
3427
3427
|
|
|
3428
3428
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3429
3429
|
variant: "Caption 2",
|
|
@@ -3542,7 +3542,7 @@
|
|
|
3542
3542
|
"borderRadius": "9999px"
|
|
3543
3543
|
});
|
|
3544
3544
|
|
|
3545
|
-
var _excluded$
|
|
3545
|
+
var _excluded$B = ["url", "alt", "size", "className"];
|
|
3546
3546
|
var Avatar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3547
3547
|
var url = _ref.url,
|
|
3548
3548
|
_ref$alt = _ref.alt,
|
|
@@ -3550,7 +3550,7 @@
|
|
|
3550
3550
|
_ref$size = _ref.size,
|
|
3551
3551
|
size = _ref$size === void 0 ? 24 : _ref$size,
|
|
3552
3552
|
className = _ref.className,
|
|
3553
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3553
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
3554
3554
|
|
|
3555
3555
|
return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({}, rest, {
|
|
3556
3556
|
ref: ref,
|
|
@@ -3597,7 +3597,7 @@
|
|
|
3597
3597
|
});
|
|
3598
3598
|
StyledTagText.displayName = "StyledTagText";
|
|
3599
3599
|
|
|
3600
|
-
var _excluded$
|
|
3600
|
+
var _excluded$A = ["name", "color", "showText", "showDot", "className"];
|
|
3601
3601
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3602
3602
|
var name = _ref.name,
|
|
3603
3603
|
color = _ref.color,
|
|
@@ -3606,7 +3606,7 @@
|
|
|
3606
3606
|
_ref$showDot = _ref.showDot,
|
|
3607
3607
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
3608
3608
|
className = _ref.className,
|
|
3609
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3609
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
3610
3610
|
|
|
3611
3611
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
3612
3612
|
className: classNames__default["default"]("c-tag", className),
|
|
@@ -3626,10 +3626,10 @@
|
|
|
3626
3626
|
componentId: "sc-x4ge7a-0"
|
|
3627
3627
|
})(["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);
|
|
3628
3628
|
|
|
3629
|
-
var _excluded$
|
|
3629
|
+
var _excluded$z = ["className"];
|
|
3630
3630
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3631
3631
|
var className = _ref.className,
|
|
3632
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3632
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
3633
3633
|
|
|
3634
3634
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
3635
3635
|
ref: ref,
|
|
@@ -3644,10 +3644,10 @@
|
|
|
3644
3644
|
componentId: "sc-1f35d5h-0"
|
|
3645
3645
|
})(["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);
|
|
3646
3646
|
|
|
3647
|
-
var _excluded$
|
|
3647
|
+
var _excluded$y = ["className"];
|
|
3648
3648
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3649
3649
|
var className = _ref.className,
|
|
3650
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3650
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
3651
3651
|
|
|
3652
3652
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
3653
3653
|
ref: ref,
|
|
@@ -3663,10 +3663,10 @@
|
|
|
3663
3663
|
componentId: "sc-1ht53g9-0"
|
|
3664
3664
|
})(["position:relative;width:20px;&:before{content:\"\";display:block;padding-top:100%;}svg{animation:", " 2s linear infinite;height:100%;transform-origin:center center;width:100%;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;circle{stroke-dasharray:1,200;stroke-dashoffset:0;stroke:var(--color-theme-600);animation:", " 1.5s ease-in-out infinite;stroke-linecap:round;}}"], rotateAnimation, dashAnimation);
|
|
3665
3665
|
|
|
3666
|
-
var _excluded$
|
|
3666
|
+
var _excluded$x = ["className"];
|
|
3667
3667
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3668
3668
|
var className = _ref.className,
|
|
3669
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3669
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
3670
3670
|
|
|
3671
3671
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader, _extends({
|
|
3672
3672
|
ref: ref,
|
|
@@ -3728,7 +3728,7 @@
|
|
|
3728
3728
|
}, StyledInput$1, StyledLabel);
|
|
3729
3729
|
StyledCheckbox.displayName = "StyledCheckbox";
|
|
3730
3730
|
|
|
3731
|
-
var _excluded$
|
|
3731
|
+
var _excluded$w = ["className", "hover", "id"];
|
|
3732
3732
|
|
|
3733
3733
|
/**
|
|
3734
3734
|
* Checkbox component
|
|
@@ -3738,7 +3738,7 @@
|
|
|
3738
3738
|
hover = _ref.hover,
|
|
3739
3739
|
_ref$id = _ref.id,
|
|
3740
3740
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
3741
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3741
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
3742
3742
|
|
|
3743
3743
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox, {
|
|
3744
3744
|
className: classNames__default["default"]("c-checkbox", {
|
|
@@ -3811,14 +3811,14 @@
|
|
|
3811
3811
|
}, StyledRadioLabel);
|
|
3812
3812
|
StyledRadioButton.displayName = "StyledRadioButton";
|
|
3813
3813
|
|
|
3814
|
-
var _excluded$
|
|
3814
|
+
var _excluded$v = ["className", "id", "hover"];
|
|
3815
3815
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3816
3816
|
var _ref$className = _ref.className,
|
|
3817
3817
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
3818
3818
|
_ref$id = _ref.id,
|
|
3819
3819
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
3820
3820
|
hover = _ref.hover,
|
|
3821
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3821
|
+
props = _objectWithoutProperties(_ref, _excluded$v);
|
|
3822
3822
|
|
|
3823
3823
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton, {
|
|
3824
3824
|
className: classNames__default["default"]("c-radio-btn", {
|
|
@@ -4086,7 +4086,7 @@
|
|
|
4086
4086
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
4087
4087
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
4088
4088
|
|
|
4089
|
-
var _excluded$
|
|
4089
|
+
var _excluded$u = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
4090
4090
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4091
4091
|
var children = _ref.children,
|
|
4092
4092
|
className = _ref.className,
|
|
@@ -4100,7 +4100,7 @@
|
|
|
4100
4100
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
4101
4101
|
innerColor = _ref.innerColor,
|
|
4102
4102
|
outerColor = _ref.outerColor,
|
|
4103
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4103
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
4104
4104
|
|
|
4105
4105
|
var _useState = React.useState({
|
|
4106
4106
|
top: 0,
|
|
@@ -4230,14 +4230,14 @@
|
|
|
4230
4230
|
return height;
|
|
4231
4231
|
};
|
|
4232
4232
|
|
|
4233
|
-
var _excluded$
|
|
4233
|
+
var _excluded$t = ["as", "className", "invert"];
|
|
4234
4234
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4235
4235
|
var _ref$as = _ref.as,
|
|
4236
4236
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
4237
4237
|
className = _ref.className,
|
|
4238
4238
|
_ref$invert = _ref.invert,
|
|
4239
4239
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
4240
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4240
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
4241
4241
|
|
|
4242
4242
|
var internalRef = useInitScrollRef(null, invert);
|
|
4243
4243
|
var handleRef = useForkRef(internalRef, ref);
|
|
@@ -4689,7 +4689,7 @@
|
|
|
4689
4689
|
});
|
|
4690
4690
|
StyledInput.displayName = "StyledInput";
|
|
4691
4691
|
|
|
4692
|
-
var _excluded$
|
|
4692
|
+
var _excluded$s = ["className", "type", "disabled", "size", "invalid"];
|
|
4693
4693
|
var Input = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4694
4694
|
var _ref$className = _ref.className,
|
|
4695
4695
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -4701,7 +4701,7 @@
|
|
|
4701
4701
|
size = _ref$size === void 0 ? "regular" : _ref$size,
|
|
4702
4702
|
_ref$invalid = _ref.invalid,
|
|
4703
4703
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
4704
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4704
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
4705
4705
|
|
|
4706
4706
|
return /*#__PURE__*/React__default["default"].createElement(StyledInput, _extends({
|
|
4707
4707
|
ref: ref,
|
|
@@ -4762,7 +4762,7 @@
|
|
|
4762
4762
|
};
|
|
4763
4763
|
OptionContent.displayName = "OptionContent";
|
|
4764
4764
|
|
|
4765
|
-
var _excluded$
|
|
4765
|
+
var _excluded$r = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose"];
|
|
4766
4766
|
var Select = function Select(_ref) {
|
|
4767
4767
|
var _ref$type = _ref.type,
|
|
4768
4768
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -4792,7 +4792,7 @@
|
|
|
4792
4792
|
keepSameOptionsOrder = _ref$keepSameOptionsO === void 0 ? false : _ref$keepSameOptionsO,
|
|
4793
4793
|
onSelectOpen = _ref.onSelectOpen,
|
|
4794
4794
|
onSelectClose = _ref.onSelectClose,
|
|
4795
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
4795
|
+
prop = _objectWithoutProperties(_ref, _excluded$r);
|
|
4796
4796
|
|
|
4797
4797
|
var _useState = React.useState(),
|
|
4798
4798
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -5067,7 +5067,7 @@
|
|
|
5067
5067
|
});
|
|
5068
5068
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
5069
5069
|
|
|
5070
|
-
var _excluded$
|
|
5070
|
+
var _excluded$q = ["children", "active", "disabled", "className", "role"];
|
|
5071
5071
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
5072
5072
|
var children = _ref.children,
|
|
5073
5073
|
_ref$active = _ref.active,
|
|
@@ -5076,7 +5076,7 @@
|
|
|
5076
5076
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
5077
5077
|
className = _ref.className,
|
|
5078
5078
|
role = _ref.role,
|
|
5079
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5079
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
5080
5080
|
|
|
5081
5081
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
5082
5082
|
className: classNames__default["default"]("c-nav__item", {
|
|
@@ -5118,11 +5118,11 @@
|
|
|
5118
5118
|
});
|
|
5119
5119
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
5120
5120
|
|
|
5121
|
-
var _excluded$
|
|
5121
|
+
var _excluded$p = ["expanded"];
|
|
5122
5122
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5123
5123
|
var _ref$expanded = _ref.expanded,
|
|
5124
5124
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
5125
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5125
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
5126
5126
|
|
|
5127
5127
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
5128
5128
|
ref: ref,
|
|
@@ -5435,11 +5435,11 @@
|
|
|
5435
5435
|
};
|
|
5436
5436
|
Nav.displayName = "Nav";
|
|
5437
5437
|
|
|
5438
|
-
var _excluded$
|
|
5438
|
+
var _excluded$o = ["expanded"];
|
|
5439
5439
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5440
5440
|
var _ref$expanded = _ref.expanded,
|
|
5441
5441
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
5442
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5442
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
5443
5443
|
|
|
5444
5444
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
5445
5445
|
ref: ref,
|
|
@@ -5484,11 +5484,11 @@
|
|
|
5484
5484
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
5485
5485
|
StyledListSeparator.displayName = "StyledListSeparator";
|
|
5486
5486
|
|
|
5487
|
-
var _excluded$
|
|
5487
|
+
var _excluded$n = ["children", "className"];
|
|
5488
5488
|
var List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5489
5489
|
var children = _ref.children,
|
|
5490
5490
|
className = _ref.className,
|
|
5491
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5491
|
+
props = _objectWithoutProperties(_ref, _excluded$n);
|
|
5492
5492
|
|
|
5493
5493
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({}, props, {
|
|
5494
5494
|
className: className,
|
|
@@ -5497,11 +5497,11 @@
|
|
|
5497
5497
|
});
|
|
5498
5498
|
List.displayName = "List";
|
|
5499
5499
|
|
|
5500
|
-
var _excluded$
|
|
5500
|
+
var _excluded$m = ["children", "className"];
|
|
5501
5501
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5502
5502
|
var children = _ref.children,
|
|
5503
5503
|
className = _ref.className,
|
|
5504
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5504
|
+
props = _objectWithoutProperties(_ref, _excluded$m);
|
|
5505
5505
|
|
|
5506
5506
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({}, props, {
|
|
5507
5507
|
className: classNames__default["default"]("c-list-item", className),
|
|
@@ -7876,14 +7876,14 @@
|
|
|
7876
7876
|
});
|
|
7877
7877
|
StyledTextarea.displayName = "StyledTextarea";
|
|
7878
7878
|
|
|
7879
|
-
var _excluded$
|
|
7879
|
+
var _excluded$l = ["className", "disabled", "invalid"];
|
|
7880
7880
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7881
7881
|
var className = _ref.className,
|
|
7882
7882
|
_ref$disabled = _ref.disabled,
|
|
7883
7883
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7884
7884
|
_ref$invalid = _ref.invalid,
|
|
7885
7885
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
7886
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7886
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
7887
7887
|
|
|
7888
7888
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
7889
7889
|
$invalid: invalid,
|
|
@@ -7918,7 +7918,7 @@
|
|
|
7918
7918
|
function () {});
|
|
7919
7919
|
}
|
|
7920
7920
|
|
|
7921
|
-
var _excluded$
|
|
7921
|
+
var _excluded$k = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "preventClickEventBubbling", "open", "onClose"];
|
|
7922
7922
|
|
|
7923
7923
|
var getHasTransition = function getHasTransition(children) {
|
|
7924
7924
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
@@ -7939,7 +7939,7 @@
|
|
|
7939
7939
|
_ref$open = _ref.open,
|
|
7940
7940
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
7941
7941
|
onClose = _ref.onClose,
|
|
7942
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7942
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
7943
7943
|
|
|
7944
7944
|
var _useState = React.useState(defaultOpen),
|
|
7945
7945
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8079,7 +8079,7 @@
|
|
|
8079
8079
|
});
|
|
8080
8080
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
8081
8081
|
|
|
8082
|
-
var _excluded$
|
|
8082
|
+
var _excluded$j = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick", "preventClickEventBubbling"];
|
|
8083
8083
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8084
8084
|
var children = _ref.children,
|
|
8085
8085
|
onClose = _ref.onClose,
|
|
@@ -8105,7 +8105,7 @@
|
|
|
8105
8105
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
8106
8106
|
_ref$preventClickEven = _ref.preventClickEventBubbling,
|
|
8107
8107
|
preventClickEventBubbling = _ref$preventClickEven === void 0 ? false : _ref$preventClickEven,
|
|
8108
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8108
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
8109
8109
|
|
|
8110
8110
|
var _useState = React.useState(defaultOpen),
|
|
8111
8111
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8204,13 +8204,13 @@
|
|
|
8204
8204
|
});
|
|
8205
8205
|
StyledHeader.displayName = "StyledHeader";
|
|
8206
8206
|
|
|
8207
|
-
var _excluded$
|
|
8207
|
+
var _excluded$i = ["className", "size", "children"];
|
|
8208
8208
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8209
8209
|
var className = _ref.className,
|
|
8210
8210
|
_ref$size = _ref.size,
|
|
8211
8211
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
8212
8212
|
children = _ref.children,
|
|
8213
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8213
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
8214
8214
|
|
|
8215
8215
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
8216
8216
|
type: "paper-2",
|
|
@@ -8227,7 +8227,7 @@
|
|
|
8227
8227
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
8228
8228
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
8229
8229
|
|
|
8230
|
-
var _excluded$
|
|
8230
|
+
var _excluded$h = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
8231
8231
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8232
8232
|
var _ref$minRows = _ref.minRows,
|
|
8233
8233
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -8243,7 +8243,7 @@
|
|
|
8243
8243
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
8244
8244
|
onKeyDown = _ref.onKeyDown,
|
|
8245
8245
|
value = _ref.value,
|
|
8246
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8246
|
+
rest = _objectWithoutProperties(_ref, _excluded$h);
|
|
8247
8247
|
|
|
8248
8248
|
var innerRef = React.useRef(null);
|
|
8249
8249
|
|
|
@@ -8534,7 +8534,7 @@
|
|
|
8534
8534
|
});
|
|
8535
8535
|
StyledChoose.displayName = "StyledChoose";
|
|
8536
8536
|
|
|
8537
|
-
var _excluded$
|
|
8537
|
+
var _excluded$g = ["children", "disabled", "active", "className"];
|
|
8538
8538
|
|
|
8539
8539
|
/**
|
|
8540
8540
|
* Choose component
|
|
@@ -8546,7 +8546,7 @@
|
|
|
8546
8546
|
_ref$active = _ref.active,
|
|
8547
8547
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
8548
8548
|
className = _ref.className,
|
|
8549
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8549
|
+
args = _objectWithoutProperties(_ref, _excluded$g);
|
|
8550
8550
|
|
|
8551
8551
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
8552
8552
|
disabled: disabled,
|
|
@@ -8639,7 +8639,7 @@
|
|
|
8639
8639
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
8640
8640
|
StyledLink.displayName = "StyledLink";
|
|
8641
8641
|
|
|
8642
|
-
var _excluded$
|
|
8642
|
+
var _excluded$f = ["children", "className"];
|
|
8643
8643
|
|
|
8644
8644
|
/**
|
|
8645
8645
|
* Back link component
|
|
@@ -8647,7 +8647,7 @@
|
|
|
8647
8647
|
var BackLink = function BackLink(_ref) {
|
|
8648
8648
|
var children = _ref.children,
|
|
8649
8649
|
className = _ref.className,
|
|
8650
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8650
|
+
args = _objectWithoutProperties(_ref, _excluded$f);
|
|
8651
8651
|
|
|
8652
8652
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
8653
8653
|
className: classNames__default["default"]("c-back-link", className)
|
|
@@ -8655,7 +8655,7 @@
|
|
|
8655
8655
|
};
|
|
8656
8656
|
BackLink.displayName = "BackLink";
|
|
8657
8657
|
|
|
8658
|
-
var _excluded$
|
|
8658
|
+
var _excluded$e = ["children", "variant", "size", "disabled", "className"];
|
|
8659
8659
|
|
|
8660
8660
|
/**
|
|
8661
8661
|
* Link component
|
|
@@ -8668,7 +8668,7 @@
|
|
|
8668
8668
|
_ref$disabled = _ref.disabled,
|
|
8669
8669
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8670
8670
|
className = _ref.className,
|
|
8671
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8671
|
+
args = _objectWithoutProperties(_ref, _excluded$e);
|
|
8672
8672
|
|
|
8673
8673
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
8674
8674
|
disabled: disabled,
|
|
@@ -8800,11 +8800,11 @@
|
|
|
8800
8800
|
});
|
|
8801
8801
|
Dialog.displayName = "Dialog";
|
|
8802
8802
|
|
|
8803
|
-
var _excluded$
|
|
8803
|
+
var _excluded$d = ["className", "children"];
|
|
8804
8804
|
var DialogContent = function DialogContent(_ref) {
|
|
8805
8805
|
var className = _ref.className,
|
|
8806
8806
|
children = _ref.children,
|
|
8807
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8807
|
+
rest = _objectWithoutProperties(_ref, _excluded$d);
|
|
8808
8808
|
|
|
8809
8809
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
8810
8810
|
className: classNames__default["default"]("c-dialog-content", className)
|
|
@@ -8820,13 +8820,13 @@
|
|
|
8820
8820
|
};
|
|
8821
8821
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
8822
8822
|
|
|
8823
|
-
var _excluded$
|
|
8823
|
+
var _excluded$c = ["children", "className", "disableDefaultHeading"];
|
|
8824
8824
|
var DialogTitle = function DialogTitle(_ref) {
|
|
8825
8825
|
var children = _ref.children,
|
|
8826
8826
|
className = _ref.className,
|
|
8827
8827
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
8828
8828
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
8829
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8829
|
+
rest = _objectWithoutProperties(_ref, _excluded$c);
|
|
8830
8830
|
|
|
8831
8831
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
8832
8832
|
className: classNames__default["default"]("c-dialog-title-wrapper", className)
|
|
@@ -8834,11 +8834,11 @@
|
|
|
8834
8834
|
};
|
|
8835
8835
|
DialogTitle.displayName = "DialogTitle";
|
|
8836
8836
|
|
|
8837
|
-
var _excluded$
|
|
8837
|
+
var _excluded$b = ["className", "children"];
|
|
8838
8838
|
var DialogActions = function DialogActions(_ref) {
|
|
8839
8839
|
var className = _ref.className,
|
|
8840
8840
|
children = _ref.children,
|
|
8841
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8841
|
+
rest = _objectWithoutProperties(_ref, _excluded$b);
|
|
8842
8842
|
|
|
8843
8843
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
8844
8844
|
className: classNames__default["default"]("c-dialog-actions", className)
|
|
@@ -9048,7 +9048,7 @@
|
|
|
9048
9048
|
});
|
|
9049
9049
|
StyledPressed.displayName = "StyledPressed";
|
|
9050
9050
|
|
|
9051
|
-
var _excluded$
|
|
9051
|
+
var _excluded$a = ["children", "active", "className"];
|
|
9052
9052
|
|
|
9053
9053
|
/**
|
|
9054
9054
|
* Pressed wrapper for button component
|
|
@@ -9058,7 +9058,7 @@
|
|
|
9058
9058
|
_ref$active = _ref.active,
|
|
9059
9059
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
9060
9060
|
className = _ref.className,
|
|
9061
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9061
|
+
args = _objectWithoutProperties(_ref, _excluded$a);
|
|
9062
9062
|
|
|
9063
9063
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
9064
9064
|
active: active,
|
|
@@ -9533,7 +9533,7 @@
|
|
|
9533
9533
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
9534
9534
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
9535
9535
|
|
|
9536
|
-
var _excluded$
|
|
9536
|
+
var _excluded$9 = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
9537
9537
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9538
9538
|
var text = _ref.text,
|
|
9539
9539
|
type = _ref.type,
|
|
@@ -9544,7 +9544,7 @@
|
|
|
9544
9544
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
9545
9545
|
_ref$timeout = _ref.timeout,
|
|
9546
9546
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
9547
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9547
|
+
rest = _objectWithoutProperties(_ref, _excluded$9);
|
|
9548
9548
|
|
|
9549
9549
|
var handleOnClose = React.useCallback(function () {
|
|
9550
9550
|
if (typeof onClose === "function") {
|
|
@@ -9569,7 +9569,7 @@
|
|
|
9569
9569
|
});
|
|
9570
9570
|
ToastMessage.displayName = "ToastMessage";
|
|
9571
9571
|
|
|
9572
|
-
var _excluded$
|
|
9572
|
+
var _excluded$8 = ["in", "children", "style", "timeout"];
|
|
9573
9573
|
|
|
9574
9574
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
9575
9575
|
return {
|
|
@@ -9599,7 +9599,7 @@
|
|
|
9599
9599
|
style = _ref.style,
|
|
9600
9600
|
_ref$timeout = _ref.timeout,
|
|
9601
9601
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
9602
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9602
|
+
rest = _objectWithoutProperties(_ref, _excluded$8);
|
|
9603
9603
|
|
|
9604
9604
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
9605
9605
|
appear: true,
|
|
@@ -9615,7 +9615,7 @@
|
|
|
9615
9615
|
};
|
|
9616
9616
|
Fade.displayName = "Fade";
|
|
9617
9617
|
|
|
9618
|
-
var _excluded$
|
|
9618
|
+
var _excluded$7 = ["in", "children", "style", "timeout", "initialDirection"];
|
|
9619
9619
|
var Slide = function Slide(_ref) {
|
|
9620
9620
|
var _ref$in = _ref.in,
|
|
9621
9621
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -9625,7 +9625,7 @@
|
|
|
9625
9625
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
9626
9626
|
_ref$initialDirection = _ref.initialDirection,
|
|
9627
9627
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
9628
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9628
|
+
rest = _objectWithoutProperties(_ref, _excluded$7);
|
|
9629
9629
|
|
|
9630
9630
|
var directionSign;
|
|
9631
9631
|
|
|
@@ -9685,12 +9685,12 @@
|
|
|
9685
9685
|
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;}"]);
|
|
9686
9686
|
});
|
|
9687
9687
|
|
|
9688
|
-
var _excluded$
|
|
9688
|
+
var _excluded$6 = ["children", "direction"];
|
|
9689
9689
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
9690
9690
|
var children = _ref.children,
|
|
9691
9691
|
_ref$direction = _ref.direction,
|
|
9692
9692
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
9693
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9693
|
+
props = _objectWithoutProperties(_ref, _excluded$6);
|
|
9694
9694
|
|
|
9695
9695
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
9696
9696
|
timeout: 200,
|
|
@@ -9734,7 +9734,7 @@
|
|
|
9734
9734
|
};
|
|
9735
9735
|
ResizeTransition.displayName = "ResizeTransition";
|
|
9736
9736
|
|
|
9737
|
-
var _excluded$
|
|
9737
|
+
var _excluded$5 = ["in", "children", "style", "timeout"];
|
|
9738
9738
|
|
|
9739
9739
|
var defaultStyle = function defaultStyle(duration) {
|
|
9740
9740
|
return {
|
|
@@ -9770,7 +9770,7 @@
|
|
|
9770
9770
|
style = _ref.style,
|
|
9771
9771
|
_ref$timeout = _ref.timeout,
|
|
9772
9772
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
9773
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9773
|
+
rest = _objectWithoutProperties(_ref, _excluded$5);
|
|
9774
9774
|
|
|
9775
9775
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
9776
9776
|
appear: true,
|
|
@@ -9845,7 +9845,7 @@
|
|
|
9845
9845
|
});
|
|
9846
9846
|
StyledValueButton.displayName = "StyledValueButton";
|
|
9847
9847
|
|
|
9848
|
-
var _excluded$
|
|
9848
|
+
var _excluded$4 = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
9849
9849
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9850
9850
|
var _ref$active = _ref.active,
|
|
9851
9851
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -9854,7 +9854,7 @@
|
|
|
9854
9854
|
icon = _ref.icon,
|
|
9855
9855
|
label = _ref.label,
|
|
9856
9856
|
value = _ref.value,
|
|
9857
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9857
|
+
args = _objectWithoutProperties(_ref, _excluded$4);
|
|
9858
9858
|
|
|
9859
9859
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
9860
9860
|
className: "c-value-button"
|
|
@@ -9907,11 +9907,11 @@
|
|
|
9907
9907
|
});
|
|
9908
9908
|
StyledToggle.displayName = "StyledToggle";
|
|
9909
9909
|
|
|
9910
|
-
var _excluded$
|
|
9910
|
+
var _excluded$3 = ["hovered", "className"];
|
|
9911
9911
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9912
9912
|
var hovered = _ref.hovered,
|
|
9913
9913
|
className = _ref.className,
|
|
9914
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9914
|
+
args = _objectWithoutProperties(_ref, _excluded$3);
|
|
9915
9915
|
|
|
9916
9916
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
9917
9917
|
className: classNames__default["default"]("c-toggle", className),
|
|
@@ -9963,7 +9963,7 @@
|
|
|
9963
9963
|
});
|
|
9964
9964
|
StyledComboBoxList.displayName = "StyledComboBoxList";
|
|
9965
9965
|
|
|
9966
|
-
var _excluded$
|
|
9966
|
+
var _excluded$2 = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid"];
|
|
9967
9967
|
var ComboBox = function ComboBox(_ref) {
|
|
9968
9968
|
var _comboBoxRef$current;
|
|
9969
9969
|
|
|
@@ -9982,7 +9982,7 @@
|
|
|
9982
9982
|
size = _ref$size === void 0 ? "regular" : _ref$size,
|
|
9983
9983
|
_ref$invalid = _ref.invalid,
|
|
9984
9984
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
9985
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
9985
|
+
prop = _objectWithoutProperties(_ref, _excluded$2);
|
|
9986
9986
|
|
|
9987
9987
|
var selectedName = React.useMemo(function () {
|
|
9988
9988
|
var value = "";
|
|
@@ -10503,7 +10503,7 @@
|
|
|
10503
10503
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
10504
10504
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
10505
10505
|
|
|
10506
|
-
var _excluded = ["invalid", "required", "size", "children", "className", "weight"];
|
|
10506
|
+
var _excluded$1 = ["invalid", "required", "size", "children", "className", "weight"];
|
|
10507
10507
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10508
10508
|
var _ref$invalid = _ref.invalid,
|
|
10509
10509
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -10515,7 +10515,7 @@
|
|
|
10515
10515
|
className = _ref.className,
|
|
10516
10516
|
_ref$weight = _ref.weight,
|
|
10517
10517
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
10518
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
10518
|
+
props = _objectWithoutProperties(_ref, _excluded$1);
|
|
10519
10519
|
|
|
10520
10520
|
var color = invalid ? "alert" : "primary";
|
|
10521
10521
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
@@ -10541,7 +10541,7 @@
|
|
|
10541
10541
|
displayName: "Styles__StyledBackgroundCircle",
|
|
10542
10542
|
componentId: "sc-o6dcyu-1"
|
|
10543
10543
|
})(["fill:transparent;transition:stroke-dashoffset 0.5s linear;", " ", ""], function (props) {
|
|
10544
|
-
return props.$color ? styled.css(["stroke:", ";"], props.$color) : styled.css(["stroke:var(--color-theme-300);"]);
|
|
10544
|
+
return props.$color ? styled.css(["stroke:", ";"], props.$color) : styled.css(["stroke:var(--color-theme-transparent-300);"]);
|
|
10545
10545
|
}, function (props) {
|
|
10546
10546
|
return props.$strokeDashOffset && styled.css(["stroke-dashoffset:", ";"], props.$strokeDashOffset);
|
|
10547
10547
|
});
|
|
@@ -10555,6 +10555,15 @@
|
|
|
10555
10555
|
return props.$strokeDashOffset && styled.css(["stroke-dashoffset:", ";"], props.$strokeDashOffset);
|
|
10556
10556
|
});
|
|
10557
10557
|
StyledForegroundCircle.displayName = "StyledForegroundCircle";
|
|
10558
|
+
var StyledProgressRingPercentage = styled__default["default"].text.withConfig({
|
|
10559
|
+
displayName: "Styles__StyledProgressRingPercentage",
|
|
10560
|
+
componentId: "sc-o6dcyu-3"
|
|
10561
|
+
})(["transform:rotate(90deg);", " ", ""], function (props) {
|
|
10562
|
+
return props.$color ? styled.css(["fill:", ";"], props.$color) : styled.css(["fill:var(--color-secondary);"]);
|
|
10563
|
+
}, function (props) {
|
|
10564
|
+
return props.$fontSize ? styled.css(["font-size:", "px;"], props.$fontSize) : styled.css(["font-size:10px;"]);
|
|
10565
|
+
});
|
|
10566
|
+
StyledProgressRingPercentage.displayName = "StyledProgressRingPercentage";
|
|
10558
10567
|
|
|
10559
10568
|
var ProgressRing = function ProgressRing(_ref) {
|
|
10560
10569
|
var backgroundColor = _ref.backgroundColor,
|
|
@@ -10565,7 +10574,23 @@
|
|
|
10565
10574
|
radius = _ref$radius === void 0 ? 20 : _ref$radius,
|
|
10566
10575
|
_ref$stroke = _ref.stroke,
|
|
10567
10576
|
stroke = _ref$stroke === void 0 ? 3 : _ref$stroke,
|
|
10568
|
-
className = _ref.className
|
|
10577
|
+
className = _ref.className,
|
|
10578
|
+
_ref$showPercentage = _ref.showPercentage,
|
|
10579
|
+
showPercentage = _ref$showPercentage === void 0 ? false : _ref$showPercentage,
|
|
10580
|
+
fontSize = _ref.fontSize;
|
|
10581
|
+
var progressNumber = React.useMemo(function () {
|
|
10582
|
+
var width = progress;
|
|
10583
|
+
|
|
10584
|
+
if (progress > 100) {
|
|
10585
|
+
width = 100;
|
|
10586
|
+
}
|
|
10587
|
+
|
|
10588
|
+
if (progress < 0) {
|
|
10589
|
+
width = 0;
|
|
10590
|
+
}
|
|
10591
|
+
|
|
10592
|
+
return width;
|
|
10593
|
+
}, [progress]);
|
|
10569
10594
|
var normalizedRadius = React.useMemo(function () {
|
|
10570
10595
|
return radius - stroke;
|
|
10571
10596
|
}, [radius, stroke]);
|
|
@@ -10573,11 +10598,11 @@
|
|
|
10573
10598
|
return normalizedRadius * 2 * Math.PI;
|
|
10574
10599
|
}, [normalizedRadius]);
|
|
10575
10600
|
var strokeDashoffsetOuter = React.useMemo(function () {
|
|
10576
|
-
return circumference - (100 -
|
|
10577
|
-
}, [circumference,
|
|
10601
|
+
return circumference - (100 - progressNumber) / 100 * circumference;
|
|
10602
|
+
}, [circumference, progressNumber]);
|
|
10578
10603
|
var strokeDashoffsetInner = React.useMemo(function () {
|
|
10579
|
-
return circumference -
|
|
10580
|
-
}, [circumference,
|
|
10604
|
+
return circumference - progressNumber / 100 * circumference;
|
|
10605
|
+
}, [circumference, progressNumber]);
|
|
10581
10606
|
return /*#__PURE__*/React__default["default"].createElement(StyledSvg, {
|
|
10582
10607
|
height: radius * 2,
|
|
10583
10608
|
width: radius * 2,
|
|
@@ -10598,10 +10623,73 @@
|
|
|
10598
10623
|
r: normalizedRadius,
|
|
10599
10624
|
cx: radius,
|
|
10600
10625
|
cy: radius
|
|
10601
|
-
})
|
|
10626
|
+
}), showPercentage ? /*#__PURE__*/React__default["default"].createElement(StyledProgressRingPercentage, {
|
|
10627
|
+
$color: progressColor,
|
|
10628
|
+
$fontSize: fontSize,
|
|
10629
|
+
x: "50%",
|
|
10630
|
+
y: "-50%",
|
|
10631
|
+
dominantBaseline: "central",
|
|
10632
|
+
textAnchor: "middle"
|
|
10633
|
+
}, progressNumber, "%") : null);
|
|
10602
10634
|
};
|
|
10603
10635
|
ProgressRing.displayName = "ProgressRing";
|
|
10604
10636
|
|
|
10637
|
+
var _excluded = ["withDocuments"];
|
|
10638
|
+
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
10639
|
+
var _ref$withDocuments = _ref.withDocuments,
|
|
10640
|
+
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
10641
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
10642
|
+
|
|
10643
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
10644
|
+
width: 100,
|
|
10645
|
+
height: 100,
|
|
10646
|
+
viewBox: "0 0 100 100",
|
|
10647
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10648
|
+
ref: svgRef
|
|
10649
|
+
}, props), /*#__PURE__*/React__default["default"].createElement("defs", null, /*#__PURE__*/React__default["default"].createElement("filter", {
|
|
10650
|
+
x: "-14.9%",
|
|
10651
|
+
y: "-112.5%",
|
|
10652
|
+
width: "129.8%",
|
|
10653
|
+
height: "275%",
|
|
10654
|
+
filterUnits: "objectBoundingBox",
|
|
10655
|
+
id: "image_svg__a"
|
|
10656
|
+
}, /*#__PURE__*/React__default["default"].createElement("feOffset", {
|
|
10657
|
+
dy: -2,
|
|
10658
|
+
in: "SourceAlpha",
|
|
10659
|
+
result: "shadowOffsetOuter1"
|
|
10660
|
+
}), /*#__PURE__*/React__default["default"].createElement("feGaussianBlur", {
|
|
10661
|
+
stdDeviation: 2,
|
|
10662
|
+
in: "shadowOffsetOuter1",
|
|
10663
|
+
result: "shadowBlurOuter1"
|
|
10664
|
+
}), /*#__PURE__*/React__default["default"].createElement("feColorMatrix", {
|
|
10665
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0",
|
|
10666
|
+
in: "shadowBlurOuter1"
|
|
10667
|
+
})), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
10668
|
+
id: "image_svg__b",
|
|
10669
|
+
d: "M4 28h47v8H4z"
|
|
10670
|
+
})), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
10671
|
+
fillRule: "evenodd"
|
|
10672
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
10673
|
+
d: "M90 20H50L40 10H10C4.45 10 0 14.45 0 20v60c0 5.523 4.477 10 10 10h80c5.523 0 10-4.477 10-10V30c0-5.55-4.5-10-10-10z",
|
|
10674
|
+
fill: "#32178B"
|
|
10675
|
+
}), withDocuments ? /*#__PURE__*/React__default["default"].createElement("path", {
|
|
10676
|
+
d: "M8 20h42v9H4v-5a4 4 0 014-4z",
|
|
10677
|
+
fill: "#FFFFFF"
|
|
10678
|
+
}) : null, /*#__PURE__*/React__default["default"].createElement("use", {
|
|
10679
|
+
filter: "url(#image_svg__a)",
|
|
10680
|
+
xlinkHref: "#image_svg__b",
|
|
10681
|
+
fill: "black"
|
|
10682
|
+
}), /*#__PURE__*/React__default["default"].createElement("use", {
|
|
10683
|
+
xlinkHref: "#image_svg__b",
|
|
10684
|
+
fill: "#D8D8D8"
|
|
10685
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
10686
|
+
d: "M90 20H50l-10 8H5a5 5 0 00-5 5v47c0 5.523 4.477 10 10 10h80c5.523 0 10-4.477 10-10V30c0-5.55-4.5-10-10-10z",
|
|
10687
|
+
fill: "#5D2BFF"
|
|
10688
|
+
})));
|
|
10689
|
+
});
|
|
10690
|
+
FolderIcon.displayName = "FolderIcon";
|
|
10691
|
+
var FolderIcon$1 = FolderIcon;
|
|
10692
|
+
|
|
10605
10693
|
exports.Accordion = Accordion;
|
|
10606
10694
|
exports.AccordionContext = AccordionContext;
|
|
10607
10695
|
exports.AccordionItem = AccordionItem;
|
|
@@ -10706,6 +10794,7 @@
|
|
|
10706
10794
|
exports.EyeSmallIcon = EyeSmallIcon$1;
|
|
10707
10795
|
exports.Fade = Fade;
|
|
10708
10796
|
exports.FilterIcon = FilterIcon$1;
|
|
10797
|
+
exports.FolderIcon = FolderIcon$1;
|
|
10709
10798
|
exports.FromElement = FromElement;
|
|
10710
10799
|
exports.GlobalAddButton = GlobalAddButton;
|
|
10711
10800
|
exports.GlobalStyle = GlobalStyle;
|