@activecollab/components 1.0.225 → 1.0.227
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/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/cjs/components/ComboBox/ComboBox.js +2 -2
- package/dist/cjs/components/ComboBox/ComboBox.js.map +1 -1
- package/dist/cjs/components/Filter/Submenu.js +2 -2
- package/dist/cjs/components/Filter/Submenu.js.map +1 -1
- package/dist/cjs/components/ProgressPie/ProgressPie.js +25 -0
- package/dist/cjs/components/ProgressPie/ProgressPie.js.map +1 -0
- package/dist/cjs/components/ProgressPie/index.js +17 -0
- package/dist/cjs/components/ProgressPie/index.js.map +1 -0
- package/dist/cjs/components/ProgressRing/ProgressRing.js +4 -0
- package/dist/cjs/components/ProgressRing/ProgressRing.js.map +1 -1
- package/dist/cjs/components/SelectDate/DatePickerForm.js +2 -2
- package/dist/cjs/components/SelectDate/DatePickerForm.js.map +1 -1
- package/dist/cjs/components/Wizard/Step.js +3 -3
- package/dist/cjs/components/Wizard/Step.js.map +1 -1
- package/dist/cjs/components/index.js +11 -0
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/esm/components/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/esm/components/ComboBox/ComboBox.js +2 -2
- package/dist/esm/components/ComboBox/ComboBox.js.map +1 -1
- package/dist/esm/components/Filter/Submenu.js +2 -2
- package/dist/esm/components/Filter/Submenu.js.map +1 -1
- package/dist/esm/components/ProgressPie/ProgressPie.d.ts +7 -0
- package/dist/esm/components/ProgressPie/ProgressPie.d.ts.map +1 -0
- package/dist/esm/components/ProgressPie/ProgressPie.js +16 -0
- package/dist/esm/components/ProgressPie/ProgressPie.js.map +1 -0
- package/dist/esm/components/ProgressPie/index.d.ts +2 -0
- package/dist/esm/components/ProgressPie/index.d.ts.map +1 -0
- package/dist/esm/components/ProgressPie/index.js +2 -0
- package/dist/esm/components/ProgressPie/index.js.map +1 -0
- package/dist/esm/components/ProgressRing/ProgressRing.d.ts +6 -3
- package/dist/esm/components/ProgressRing/ProgressRing.d.ts.map +1 -1
- package/dist/esm/components/ProgressRing/ProgressRing.js +4 -0
- package/dist/esm/components/ProgressRing/ProgressRing.js.map +1 -1
- package/dist/esm/components/SelectDate/DatePickerForm.js +2 -2
- package/dist/esm/components/SelectDate/DatePickerForm.js.map +1 -1
- package/dist/esm/components/Wizard/Step.js +3 -3
- package/dist/esm/components/Wizard/Step.js.map +1 -1
- package/dist/esm/components/index.d.ts +2 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +2 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/index.js +192 -175
- 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
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
})(["display:inline-flex;svg{margin:0 4px;}"]);
|
|
268
268
|
StyledButtonElement.displayName = "StyledButtonElement";
|
|
269
269
|
|
|
270
|
-
var _excluded$
|
|
270
|
+
var _excluded$1c = ["children", "variant", "size", "className"];
|
|
271
271
|
/**
|
|
272
272
|
* Button component
|
|
273
273
|
*/
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
_ref$size = _ref.size,
|
|
279
279
|
size = _ref$size === void 0 ? "medium" : _ref$size,
|
|
280
280
|
className = _ref.className,
|
|
281
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
281
|
+
args = _objectWithoutProperties(_ref, _excluded$1c);
|
|
282
282
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
|
|
283
283
|
className: classNames__default["default"]("c-btn", className, {
|
|
284
284
|
"c-btn--contained": variant === "primary" || variant === "contained",
|
|
@@ -330,12 +330,12 @@
|
|
|
330
330
|
})(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
|
|
331
331
|
StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
|
|
332
332
|
|
|
333
|
-
var _excluded$
|
|
333
|
+
var _excluded$1b = ["className", "disabled"];
|
|
334
334
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
335
335
|
var className = _ref.className,
|
|
336
336
|
_ref$disabled = _ref.disabled,
|
|
337
337
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
338
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
338
|
+
rest = _objectWithoutProperties(_ref, _excluded$1b);
|
|
339
339
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
340
340
|
ref: ref,
|
|
341
341
|
variant: "contained",
|
|
@@ -367,11 +367,11 @@
|
|
|
367
367
|
});
|
|
368
368
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
369
369
|
|
|
370
|
-
var _excluded$
|
|
370
|
+
var _excluded$1a = ["children", "className"];
|
|
371
371
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
372
372
|
var children = _ref.children,
|
|
373
373
|
className = _ref.className,
|
|
374
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
374
|
+
rest = _objectWithoutProperties(_ref, _excluded$1a);
|
|
375
375
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
376
376
|
ref: ref,
|
|
377
377
|
className: classNames__default["default"]("c-btn-group", className)
|
|
@@ -431,7 +431,7 @@
|
|
|
431
431
|
return React.useContext(MenuContext);
|
|
432
432
|
};
|
|
433
433
|
|
|
434
|
-
var _excluded$
|
|
434
|
+
var _excluded$19 = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy"];
|
|
435
435
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
436
436
|
var children = _ref.children,
|
|
437
437
|
anchorEl = _ref.anchorEl,
|
|
@@ -444,7 +444,7 @@
|
|
|
444
444
|
initialPlacement = _ref$placement === void 0 ? "bottom" : _ref$placement,
|
|
445
445
|
_ref$strategy = _ref.strategy,
|
|
446
446
|
strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
|
|
447
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
447
|
+
rest = _objectWithoutProperties(_ref, _excluded$19);
|
|
448
448
|
var _useState = React.useState(true),
|
|
449
449
|
_useState2 = _slicedToArray(_useState, 2),
|
|
450
450
|
exited = _useState2[0],
|
|
@@ -533,12 +533,12 @@
|
|
|
533
533
|
});
|
|
534
534
|
StyledOverlay.displayName = "StyledOverlay";
|
|
535
535
|
|
|
536
|
-
var _excluded$
|
|
536
|
+
var _excluded$18 = ["className", "disableBackgroundColor"];
|
|
537
537
|
var Overlay = function Overlay(_ref) {
|
|
538
538
|
var className = _ref.className,
|
|
539
539
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
540
540
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
541
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
541
|
+
rest = _objectWithoutProperties(_ref, _excluded$18);
|
|
542
542
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
543
543
|
className: classNames__default["default"]("c-overlay", className),
|
|
544
544
|
$disableBackgroundColor: disableBackgroundColor
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
|
|
579
579
|
StyledWindow.displayName = "StyledWindow";
|
|
580
580
|
|
|
581
|
-
var _excluded$
|
|
581
|
+
var _excluded$17 = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "disableCloseOnEsc", "onClick"];
|
|
582
582
|
var returnFocus = {
|
|
583
583
|
preventScroll: true
|
|
584
584
|
};
|
|
@@ -595,7 +595,7 @@
|
|
|
595
595
|
_ref$disableCloseOnEs = _ref.disableCloseOnEsc,
|
|
596
596
|
disableCloseOnEsc = _ref$disableCloseOnEs === void 0 ? false : _ref$disableCloseOnEs,
|
|
597
597
|
onClick = _ref.onClick,
|
|
598
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
598
|
+
rest = _objectWithoutProperties(_ref, _excluded$17);
|
|
599
599
|
var innerRef = React.useRef(null);
|
|
600
600
|
var handleRef = useForkRef(innerRef, ref);
|
|
601
601
|
var _useLayerContext = useLayerContext(),
|
|
@@ -662,7 +662,7 @@
|
|
|
662
662
|
}, FontStyle, BoxSizingStyle);
|
|
663
663
|
StyledBubble.displayName = "StyledBubble";
|
|
664
664
|
|
|
665
|
-
var _excluded$
|
|
665
|
+
var _excluded$16 = ["children", "className", "innerRef", "style"];
|
|
666
666
|
var Bubble = function Bubble(_ref) {
|
|
667
667
|
var children = _ref.children,
|
|
668
668
|
className = _ref.className,
|
|
@@ -670,7 +670,7 @@
|
|
|
670
670
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
671
671
|
_ref$style = _ref.style,
|
|
672
672
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
673
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
673
|
+
rest = _objectWithoutProperties(_ref, _excluded$16);
|
|
674
674
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
675
675
|
ref: innerRef,
|
|
676
676
|
className: classNames__default["default"]("c-bubble", className),
|
|
@@ -985,7 +985,7 @@
|
|
|
985
985
|
});
|
|
986
986
|
StyledTypography.displayName = "StyledTypography";
|
|
987
987
|
|
|
988
|
-
var _excluded$
|
|
988
|
+
var _excluded$15 = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
989
989
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
990
990
|
var _ref$variant = _ref.variant,
|
|
991
991
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -1016,7 +1016,7 @@
|
|
|
1016
1016
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
1017
1017
|
className = _ref.className,
|
|
1018
1018
|
children = _ref.children,
|
|
1019
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1019
|
+
props = _objectWithoutProperties(_ref, _excluded$15);
|
|
1020
1020
|
var Component = as || "div";
|
|
1021
1021
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
1022
1022
|
as: Component,
|
|
@@ -1039,13 +1039,13 @@
|
|
|
1039
1039
|
});
|
|
1040
1040
|
Typography.displayName = "Typography";
|
|
1041
1041
|
|
|
1042
|
-
var _excluded$
|
|
1042
|
+
var _excluded$14 = ["title", "className", "leftElement", "rightElement"];
|
|
1043
1043
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1044
1044
|
var title = _ref.title,
|
|
1045
1045
|
className = _ref.className,
|
|
1046
1046
|
leftElement = _ref.leftElement,
|
|
1047
1047
|
rightElement = _ref.rightElement,
|
|
1048
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1048
|
+
props = _objectWithoutProperties(_ref, _excluded$14);
|
|
1049
1049
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
1050
1050
|
className: classNames__default["default"]("c-menu-header", className),
|
|
1051
1051
|
ref: ref
|
|
@@ -1070,11 +1070,11 @@
|
|
|
1070
1070
|
});
|
|
1071
1071
|
MenuHeader.displayName = "MenuHeader";
|
|
1072
1072
|
|
|
1073
|
-
var _excluded$
|
|
1073
|
+
var _excluded$13 = ["children", "className"];
|
|
1074
1074
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1075
1075
|
var children = _ref.children,
|
|
1076
1076
|
className = _ref.className,
|
|
1077
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1077
|
+
props = _objectWithoutProperties(_ref, _excluded$13);
|
|
1078
1078
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter$1, _extends({}, props, {
|
|
1079
1079
|
className: classNames__default["default"]("c-menu-footer", className),
|
|
1080
1080
|
ref: ref
|
|
@@ -1098,11 +1098,11 @@
|
|
|
1098
1098
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
1099
1099
|
StyledListSeparator.displayName = "StyledListSeparator";
|
|
1100
1100
|
|
|
1101
|
-
var _excluded$
|
|
1101
|
+
var _excluded$12 = ["children", "className"];
|
|
1102
1102
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1103
1103
|
var children = _ref.children,
|
|
1104
1104
|
className = _ref.className,
|
|
1105
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1105
|
+
props = _objectWithoutProperties(_ref, _excluded$12);
|
|
1106
1106
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({
|
|
1107
1107
|
className: classNames__default["default"]("c-list-item", className),
|
|
1108
1108
|
ref: ref,
|
|
@@ -1111,21 +1111,21 @@
|
|
|
1111
1111
|
});
|
|
1112
1112
|
ListItem.displayName = "ListItem";
|
|
1113
1113
|
|
|
1114
|
-
var _excluded$
|
|
1114
|
+
var _excluded$11 = ["className"];
|
|
1115
1115
|
var ListSeparator = function ListSeparator(_ref) {
|
|
1116
1116
|
var className = _ref.className,
|
|
1117
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1117
|
+
props = _objectWithoutProperties(_ref, _excluded$11);
|
|
1118
1118
|
return /*#__PURE__*/React__default["default"].createElement(StyledListSeparator, _extends({
|
|
1119
1119
|
className: classNames__default["default"]("c-list-separator", className)
|
|
1120
1120
|
}, props));
|
|
1121
1121
|
};
|
|
1122
1122
|
ListSeparator.displayName = "ListSeparator";
|
|
1123
1123
|
|
|
1124
|
-
var _excluded
|
|
1124
|
+
var _excluded$10 = ["children", "className"];
|
|
1125
1125
|
var _List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1126
1126
|
var children = _ref.children,
|
|
1127
1127
|
className = _ref.className,
|
|
1128
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
1128
|
+
props = _objectWithoutProperties(_ref, _excluded$10);
|
|
1129
1129
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({
|
|
1130
1130
|
className: className,
|
|
1131
1131
|
ref: ref,
|
|
@@ -1140,6 +1140,36 @@
|
|
|
1140
1140
|
Separator: ListSeparator
|
|
1141
1141
|
});
|
|
1142
1142
|
|
|
1143
|
+
var StyledIconButton = styled__default["default"](Button).withConfig({
|
|
1144
|
+
displayName: "Styles__StyledIconButton",
|
|
1145
|
+
componentId: "sc-1teza2f-0"
|
|
1146
|
+
})(["display:inline-flex;justify-content:center;align-items:center;padding:0;width:32px;", " ", ""], function (_ref) {
|
|
1147
|
+
var size = _ref.size;
|
|
1148
|
+
return size === "small" && styled.css(["width:24px;"]);
|
|
1149
|
+
}, function (_ref2) {
|
|
1150
|
+
var size = _ref2.size;
|
|
1151
|
+
return size === "big" && styled.css(["width:40px;"]);
|
|
1152
|
+
});
|
|
1153
|
+
|
|
1154
|
+
var _excluded$$ = ["children", "className", "variant", "size"];
|
|
1155
|
+
|
|
1156
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
1157
|
+
|
|
1158
|
+
var IconButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1159
|
+
var children = _ref.children,
|
|
1160
|
+
className = _ref.className,
|
|
1161
|
+
variant = _ref.variant,
|
|
1162
|
+
size = _ref.size,
|
|
1163
|
+
args = _objectWithoutProperties(_ref, _excluded$$);
|
|
1164
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledIconButton, _extends({
|
|
1165
|
+
className: classNames__default["default"]("c-btn--icon-only", className),
|
|
1166
|
+
variant: variant,
|
|
1167
|
+
size: size,
|
|
1168
|
+
ref: ref
|
|
1169
|
+
}, args), children);
|
|
1170
|
+
});
|
|
1171
|
+
IconButton.displayName = "IconButton";
|
|
1172
|
+
|
|
1143
1173
|
var ActivityIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
1144
1174
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1145
1175
|
width: 24,
|
|
@@ -3997,7 +4027,7 @@
|
|
|
3997
4027
|
}, menuCollection.length > 0 ? /*#__PURE__*/React__default["default"].createElement(StyledBreadcrumbListItem, {
|
|
3998
4028
|
"data-role": "menu"
|
|
3999
4029
|
}, /*#__PURE__*/React__default["default"].createElement(Menu, {
|
|
4000
|
-
target: /*#__PURE__*/React__default["default"].createElement(
|
|
4030
|
+
target: /*#__PURE__*/React__default["default"].createElement(IconButton, {
|
|
4001
4031
|
variant: "text gray"
|
|
4002
4032
|
}, /*#__PURE__*/React__default["default"].createElement(TreeDotsIcon$1, null))
|
|
4003
4033
|
}, /*#__PURE__*/React__default["default"].createElement(StyledMenuList, null, menuCollection.map(function (child, index) {
|
|
@@ -9471,7 +9501,7 @@
|
|
|
9471
9501
|
popperTooltipStyle: {
|
|
9472
9502
|
zIndex: 1301
|
|
9473
9503
|
}
|
|
9474
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
9504
|
+
}, /*#__PURE__*/React__default["default"].createElement(IconButton, {
|
|
9475
9505
|
size: "small",
|
|
9476
9506
|
variant: "text gray",
|
|
9477
9507
|
onClick: onCancel
|
|
@@ -10942,7 +10972,7 @@
|
|
|
10942
10972
|
startAdornment: startAdornment,
|
|
10943
10973
|
endAdornment: !disabled ? /*#__PURE__*/React__default["default"].createElement(InputAdornment, {
|
|
10944
10974
|
disablePointerEvents: disabled
|
|
10945
|
-
}, loading ? /*#__PURE__*/React__default["default"].createElement(SpinnerLoader, null) : selected ? /*#__PURE__*/React__default["default"].createElement(
|
|
10975
|
+
}, loading ? /*#__PURE__*/React__default["default"].createElement(SpinnerLoader, null) : selected ? /*#__PURE__*/React__default["default"].createElement(IconButton, {
|
|
10946
10976
|
onMouseDown: handleMouseDown,
|
|
10947
10977
|
onClick: handleDeselect,
|
|
10948
10978
|
variant: "text gray",
|
|
@@ -11108,6 +11138,121 @@
|
|
|
11108
11138
|
};
|
|
11109
11139
|
ProgressBar.displayName = "ProgressBar";
|
|
11110
11140
|
|
|
11141
|
+
var StyledSvg = styled__default["default"].svg.withConfig({
|
|
11142
|
+
displayName: "Styles__StyledSvg",
|
|
11143
|
+
componentId: "sc-o6dcyu-0"
|
|
11144
|
+
})(["transform:rotate(-90deg);"]);
|
|
11145
|
+
StyledSvg.displayName = "StyledSvg";
|
|
11146
|
+
var StyledBackgroundCircle = styled__default["default"].circle.withConfig({
|
|
11147
|
+
displayName: "Styles__StyledBackgroundCircle",
|
|
11148
|
+
componentId: "sc-o6dcyu-1"
|
|
11149
|
+
})(["fill:transparent;transition:stroke-dashoffset 0.5s linear;", " ", ""], function (props) {
|
|
11150
|
+
return props.$color ? styled.css(["stroke:", ";"], props.$color) : styled.css(["stroke:var(--color-theme-transparent-300);"]);
|
|
11151
|
+
}, function (props) {
|
|
11152
|
+
return props.$strokeDashOffset && styled.css(["stroke-dashoffset:", ";"], props.$strokeDashOffset);
|
|
11153
|
+
});
|
|
11154
|
+
StyledBackgroundCircle.displayName = "StyledBackgroundCircle";
|
|
11155
|
+
var StyledForegroundCircle = styled__default["default"].circle.withConfig({
|
|
11156
|
+
displayName: "Styles__StyledForegroundCircle",
|
|
11157
|
+
componentId: "sc-o6dcyu-2"
|
|
11158
|
+
})(["fill:transparent;transition:stroke-dashoffset 0.5s linear;", " ", ""], function (props) {
|
|
11159
|
+
return props.$color ? styled.css(["stroke:", ";"], props.$color) : styled.css(["stroke:var(--color-secondary);"]);
|
|
11160
|
+
}, function (props) {
|
|
11161
|
+
return props.$strokeDashOffset && styled.css(["stroke-dashoffset:", ";"], props.$strokeDashOffset);
|
|
11162
|
+
});
|
|
11163
|
+
StyledForegroundCircle.displayName = "StyledForegroundCircle";
|
|
11164
|
+
var StyledProgressRingPercentage = styled__default["default"].text.withConfig({
|
|
11165
|
+
displayName: "Styles__StyledProgressRingPercentage",
|
|
11166
|
+
componentId: "sc-o6dcyu-3"
|
|
11167
|
+
})(["transform:rotate(90deg);", " ", ""], function (props) {
|
|
11168
|
+
return props.$color ? styled.css(["fill:", ";"], props.$color) : styled.css(["fill:var(--color-secondary);"]);
|
|
11169
|
+
}, function (props) {
|
|
11170
|
+
return props.$fontSize ? styled.css(["font-size:", "px;"], props.$fontSize) : styled.css(["font-size:10px;"]);
|
|
11171
|
+
});
|
|
11172
|
+
StyledProgressRingPercentage.displayName = "StyledProgressRingPercentage";
|
|
11173
|
+
|
|
11174
|
+
var ProgressRing = function ProgressRing(_ref) {
|
|
11175
|
+
var backgroundColor = _ref.backgroundColor,
|
|
11176
|
+
progressColor = _ref.progressColor,
|
|
11177
|
+
_ref$progress = _ref.progress,
|
|
11178
|
+
progress = _ref$progress === void 0 ? 0 : _ref$progress,
|
|
11179
|
+
_ref$radius = _ref.radius,
|
|
11180
|
+
radius = _ref$radius === void 0 ? 20 : _ref$radius,
|
|
11181
|
+
_ref$stroke = _ref.stroke,
|
|
11182
|
+
stroke = _ref$stroke === void 0 ? 3 : _ref$stroke,
|
|
11183
|
+
className = _ref.className,
|
|
11184
|
+
_ref$showPercentage = _ref.showPercentage,
|
|
11185
|
+
showPercentage = _ref$showPercentage === void 0 ? false : _ref$showPercentage,
|
|
11186
|
+
fontSize = _ref.fontSize;
|
|
11187
|
+
if (stroke > radius) {
|
|
11188
|
+
console.warn("Stroke can not have value greater than the radius.");
|
|
11189
|
+
stroke = radius;
|
|
11190
|
+
}
|
|
11191
|
+
var progressNumber = React.useMemo(function () {
|
|
11192
|
+
var width = progress;
|
|
11193
|
+
if (progress > 100) {
|
|
11194
|
+
width = 100;
|
|
11195
|
+
}
|
|
11196
|
+
if (progress < 0) {
|
|
11197
|
+
width = 0;
|
|
11198
|
+
}
|
|
11199
|
+
return width;
|
|
11200
|
+
}, [progress]);
|
|
11201
|
+
var normalizedRadius = React.useMemo(function () {
|
|
11202
|
+
return radius - stroke / 2;
|
|
11203
|
+
}, [radius, stroke]);
|
|
11204
|
+
var circumference = React.useMemo(function () {
|
|
11205
|
+
return normalizedRadius * 2 * Math.PI;
|
|
11206
|
+
}, [normalizedRadius]);
|
|
11207
|
+
var strokeDashoffsetOuter = React.useMemo(function () {
|
|
11208
|
+
return circumference - (100 - progressNumber) / 100 * circumference;
|
|
11209
|
+
}, [circumference, progressNumber]);
|
|
11210
|
+
var strokeDashoffsetInner = React.useMemo(function () {
|
|
11211
|
+
return circumference - progressNumber / 100 * circumference;
|
|
11212
|
+
}, [circumference, progressNumber]);
|
|
11213
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledSvg, {
|
|
11214
|
+
height: radius * 2,
|
|
11215
|
+
width: radius * 2,
|
|
11216
|
+
className: classNames__default["default"](className)
|
|
11217
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledBackgroundCircle, {
|
|
11218
|
+
$color: backgroundColor,
|
|
11219
|
+
$strokeDashOffset: -strokeDashoffsetOuter,
|
|
11220
|
+
strokeWidth: stroke,
|
|
11221
|
+
strokeDasharray: "".concat(circumference, " ").concat(circumference),
|
|
11222
|
+
r: normalizedRadius,
|
|
11223
|
+
cx: radius,
|
|
11224
|
+
cy: radius
|
|
11225
|
+
}), /*#__PURE__*/React__default["default"].createElement(StyledForegroundCircle, {
|
|
11226
|
+
$color: progressColor,
|
|
11227
|
+
$strokeDashOffset: strokeDashoffsetInner,
|
|
11228
|
+
strokeWidth: stroke,
|
|
11229
|
+
strokeDasharray: "".concat(circumference, " ").concat(circumference),
|
|
11230
|
+
r: normalizedRadius,
|
|
11231
|
+
cx: radius,
|
|
11232
|
+
cy: radius
|
|
11233
|
+
}), showPercentage ? /*#__PURE__*/React__default["default"].createElement(StyledProgressRingPercentage, {
|
|
11234
|
+
$color: progressColor,
|
|
11235
|
+
$fontSize: fontSize,
|
|
11236
|
+
x: "50%",
|
|
11237
|
+
y: "-50%",
|
|
11238
|
+
dominantBaseline: "central",
|
|
11239
|
+
textAnchor: "middle"
|
|
11240
|
+
}, progressNumber, "%") : null);
|
|
11241
|
+
};
|
|
11242
|
+
ProgressRing.displayName = "ProgressRing";
|
|
11243
|
+
|
|
11244
|
+
var _excluded$7 = ["radius"];
|
|
11245
|
+
var ProgressPie = function ProgressPie(_ref) {
|
|
11246
|
+
var _ref$radius = _ref.radius,
|
|
11247
|
+
radius = _ref$radius === void 0 ? 20 : _ref$radius,
|
|
11248
|
+
rest = _objectWithoutProperties(_ref, _excluded$7);
|
|
11249
|
+
return /*#__PURE__*/React__default["default"].createElement(ProgressRing, _extends({}, rest, {
|
|
11250
|
+
stroke: radius,
|
|
11251
|
+
radius: radius
|
|
11252
|
+
}));
|
|
11253
|
+
};
|
|
11254
|
+
ProgressPie.displayName = "ProgressPie";
|
|
11255
|
+
|
|
11111
11256
|
var ApplauseIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
11112
11257
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
11113
11258
|
width: "14",
|
|
@@ -11424,7 +11569,7 @@
|
|
|
11424
11569
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
11425
11570
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
11426
11571
|
|
|
11427
|
-
var _excluded$
|
|
11572
|
+
var _excluded$6 = ["invalid", "required", "size", "children", "className", "weight"];
|
|
11428
11573
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11429
11574
|
var _ref$invalid = _ref.invalid,
|
|
11430
11575
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -11436,7 +11581,7 @@
|
|
|
11436
11581
|
className = _ref.className,
|
|
11437
11582
|
_ref$weight = _ref.weight,
|
|
11438
11583
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
11439
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11584
|
+
props = _objectWithoutProperties(_ref, _excluded$6);
|
|
11440
11585
|
var color = invalid ? "alert" : "primary";
|
|
11441
11586
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
11442
11587
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
@@ -11452,105 +11597,6 @@
|
|
|
11452
11597
|
|
|
11453
11598
|
var GlobalStyle = styled.createGlobalStyle([":root{--color-primary:#5d2bff;--color-secondary:#5d2bff;--color-theme-100:#ffffff;--color-theme-200:#f6f6f9;--color-theme-300:#ebebee;--color-theme-400:#d7d7da;--color-theme-500:#b9b9bd;--color-theme-600:#89898e;--color-theme-700:#6d6d73;--color-theme-800:#5b5b61;--color-theme-900:#303037;--color-primary-200:rgba(93,43,255,0.05);--color-primary-300:rgba(93,43,255,0.1);--color-primary-400:rgba(93,43,255,0.25);--color-primary-500:rgba(93,43,255,0.5);--color-primary-600:rgba(93,43,255,0.75);--color-primary-700:#5d2bff;--color-primary-800:#4a21cd;--color-primary-900:#32178b;--color-secondary-200:rgba(93,43,255,0.05);--color-secondary-300:rgba(93,43,255,0.1);--color-secondary-400:rgba(93,43,255,0.25);--color-secondary-500:rgba(93,43,255,0.5);--color-secondary-600:rgba(93,43,255,0.75);--color-secondary-700:#5d2bff;--color-secondary-800:#4a21cd;--color-secondary-900:#32178b;--color-theme-transparent-200:rgba(36,36,76,0.04);--color-theme-transparent-300:rgba(48,48,55,0.1);--color-theme-transparent-400:rgba(48,48,55,0.2);--color-theme-transparent-500:rgba(48,48,55,0.34);--color-theme-transparent-600:rgba(48,48,55,0.57);--color-theme-transparent-700:rgba(48,48,55,0.7);--color-theme-transparent-800:rgba(48,48,55,0.8);--color-primary-opaque-300:#efeaff;--color-primary-opaque-400:#d6caff;--color-secondary-opaque-300:#efeaff;--color-secondary-opaque-400:#d6caff;--color-sucess-green:#64cd93;--body-bg-main:rgb(244,245,247);--body-bg-main-transparent:rgba(244,245,247,0);--page-paper-main:#ffffff;--border-primary:#d7d7da;--note-bg:#fff9f1;--shadow-primary-hover:0 64px 64px 0 rgba(0,0,0,0.1),0 32px 32px 0 rgba(0,0,0,0.06),0 16px 16px 0 rgba(0,0,0,0.04),0 4px 4px 0 rgba(0,0,0,0.04),0 2px 2px 0 rgba(0,0,0,0.04);--shadow-primary:0 64px 64px 0 rgba(0,0,0,0.06),0 32px 32px 0 rgba(0,0,0,0.03),0 16px 16px 0 rgba(0,0,0,0.02),0 4px 4px 0 rgba(0,0,0,0.02),0 2px 2px 0 rgba(0,0,0,0.02);--shadow-secondary:0 4px 14px 0 rgba(0,0,0,0.17);--shadow-tertiary:0 4px 6px -2px rgba(0,0,0,0.05),0 10px 15px -3px rgba(0,0,0,0.1);--shadow-tertiary-hover:0 4px 10px -2px rgba(0,0,0,0.1),0 12px 20px -3px rgba(0,0,0,0.2);--page-paper-main-shadow:rgba( 255,255,255,0 );--modal-background:rgba(244,245,247,0.6);--highlight-dark:rgba(0,0,0,0.03);--input-background-color:#ffffff;--red-alert:rgb(237,97,97);--warning:#ffcc6b;--only-white:#ffffff;--only-black:#000000;--ac-br-4:4px;--ac-br-6:6px;--ac-br-8:8px;--ac-br-rounded:999px;}.cupcake{--color-primary:#29bcdd;--color-secondary:#fe6fa7;--color-primary-200:rgba(41,188,221,0.07);--color-primary-300:rgba(41,188,221,0.12);--color-primary-400:rgba(41,188,221,0.26);--color-primary-500:rgba(41,188,221,0.52);--color-primary-600:rgba(41,188,221,0.75);--color-primary-700:#29bcdd;--color-primary-800:#219fbb;--color-primary-900:#1a768b;--color-secondary-200:rgba(254,111,167,0.07);--color-secondary-300:rgba(254,111,167,0.13);--color-secondary-400:rgba(254,111,167,0.27);--color-secondary-500:rgba(254,111,167,0.52);--color-secondary-600:rgba(254,111,167,0.75);--color-secondary-700:#fe6fa7;--color-secondary-800:#dd6091;--color-secondary-900:#ab496f;--color-primary-opaque-300:#e5f7fb;--color-primary-opaque-400:#c8eef6;--color-secondary-opaque-300:#ffecf4;--color-secondary-opaque-400:#ffd8e7;}.classic{--color-primary:#4182f2;--color-secondary:#4182f2;--color-primary-200:rgba(65,130,242,0.07);--color-primary-300:rgba(65,130,242,0.13);--color-primary-400:rgba(65,130,242,0.26);--color-primary-500:rgba(65,130,242,0.52);--color-primary-600:rgba(65,130,242,0.75);--color-primary-700:#4182f2;--color-primary-800:#356bc8;--color-primary-900:#244a8a;--color-secondary-200:rgba(65,130,242,0.07);--color-secondary-300:rgba(65,130,242,0.13);--color-secondary-400:rgba(65,130,242,0.26);--color-secondary-500:rgba(65,130,242,0.52);--color-secondary-600:rgba(65,130,242,0.75);--color-secondary-700:#4182f2;--color-secondary-800:#356bc8;--color-secondary-900:#244a8a;--color-primary-opaque-300:#e6effd;--color-primary-opaque-400:#cedffc;--color-secondary-opaque-300:#e6effd;--color-secondary-opaque-400:#cedffc;}.neon{--color-primary:#67ffc8;--color-secondary:#67ffc8;--color-theme-100:#000000;--color-theme-200:#31333e;--color-theme-300:#2b2d37;--color-theme-400:#1f2024;--color-theme-500:#6D6D73;--color-theme-600:#89898e;--color-theme-700:#b0b0b5;--color-theme-800:#dfdfe5;--color-theme-900:#ffffff;--color-primary-200:rgba(103,255,200,0.05);--color-primary-300:rgba(103,255,200,0.1);--color-primary-400:rgba(103,255,200,0.25);--color-primary-500:rgba(103,255,200,0.5);--color-primary-600:rgba(103,255,200,0.75);--color-primary-700:#67ffc8;--color-primary-800:#a5ffdf;--color-primary-900:#d0fdec;--color-secondary-200:rgba(103,255,200,0.05);--color-secondary-300:rgba(103,255,200,0.1);--color-secondary-400:rgba(103,255,200,0.25);--color-secondary-500:rgba(103,255,200,0.5);--color-secondary-600:rgba(103,255,200,0.75);--color-secondary-700:#67ffc8;--color-secondary-800:#a5ffdf;--color-secondary-900:#d0fdec;--color-theme-transparent-200:rgba(6,7,8,0.12);--color-theme-transparent-300:rgba(6,7,8,0.22);--color-theme-transparent-400:rgba(6,7,8,0.5);--color-theme-transparent-500:rgba(255,255,255,0.27);--color-theme-transparent-600:rgba(255,255,255,0.4);--color-theme-transparent-700:rgba(255,255,255,0.6);--color-theme-transparent-800:rgba(255,255,255,0.85);--color-primary-opaque-300:#3b4e51;--color-primary-opaque-400:#436b64;--color-secondary-opaque-300:#3b4e51;--color-secondary-opaque-400:#436b64;--body-bg-main:rgb(44,46,56);--body-bg-main-transparent:rgba(44,46,56,0);--page-paper-main:#373a44;--border-primary:#1f2024;--note-bg:#464545;--shadow-primary-hover:0 64px 64px 0 rgba(0,0,0,0.2),0 32px 32px 0 rgba(0,0,0,0.2),0 16px 16px 0 rgba(0,0,0,0.2),0 4px 4px 0 rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.2);--shadow-primary:0 64px 64px 0 rgba(0,0,0,0.1),0 32px 32px 0 rgba(0,0,0,0.1),0 16px 16px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);--shadow-secondary:0 4px 14px 0 rgba(0,0,0,0.3);--shadow-tertiary:0 4px 6px -2px rgba(0,0,0,0.1),0 10px 15px -3px rgba(0,0,0,0.15);--shadow-tertiary-hover:0 4px 12px -2px rgba(0,0,0,0.4),0 10px 30px -3px rgba(0,0,0,0.5);--page-paper-main-shadow:rgba( 55,58,68,0 );--modal-background:rgba(44,46,56,0.7);--highlight-dark:rgba(0,0,0,0.06);--input-background-color:#2c2e38;--only-white:#ffffff;--only-black:#000000;}.ac-shadow,.ac-shadow--raised{&--lg{box-shadow:var(--shadow-primary);}&--sm{box-shadow:var(--shadow-tertiary);}}.ac-shadow--raised{&--lg{transition:box-shadow 0.3s;&:hover{box-shadow:var(--shadow-primary-hover);}}&--sm{transition:box-shadow 0.3s;&:hover{box-shadow:var(--shadow-tertiary-hover);}}}.ac-shadow-optimized--sm{position:relative;box-shadow:var(--shadow-tertiary);&::before{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";box-shadow:var(--shadow-tertiary);opacity:0;border-radius:var(--ac-br-6);transition:opacity 0.3s ease;z-index:-1;}@media (hover:hover){&:hover::before{opacity:1;}}}.ac-shadow-optimized--lg{position:relative;box-shadow:var(--shadow-primary);&::before{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";box-shadow:var(--shadow-primary);opacity:0;border-radius:var(--ac-br-8);transition:opacity 0.3s ease;z-index:-1;}@media (hover:hover){&:hover::before{opacity:1;}}}.ac-border-radius{&-4{border-radius:var(--ac-br-4);}&-6{border-radius:var(--ac-br-6);}&-8{border-radius:var(--ac-br-8);}&-rounded{border-radius:var(--ac-br-rounded);}}"]);
|
|
11454
11599
|
|
|
11455
|
-
var StyledSvg = styled__default["default"].svg.withConfig({
|
|
11456
|
-
displayName: "Styles__StyledSvg",
|
|
11457
|
-
componentId: "sc-o6dcyu-0"
|
|
11458
|
-
})(["transform:rotate(-90deg);"]);
|
|
11459
|
-
StyledSvg.displayName = "StyledSvg";
|
|
11460
|
-
var StyledBackgroundCircle = styled__default["default"].circle.withConfig({
|
|
11461
|
-
displayName: "Styles__StyledBackgroundCircle",
|
|
11462
|
-
componentId: "sc-o6dcyu-1"
|
|
11463
|
-
})(["fill:transparent;transition:stroke-dashoffset 0.5s linear;", " ", ""], function (props) {
|
|
11464
|
-
return props.$color ? styled.css(["stroke:", ";"], props.$color) : styled.css(["stroke:var(--color-theme-transparent-300);"]);
|
|
11465
|
-
}, function (props) {
|
|
11466
|
-
return props.$strokeDashOffset && styled.css(["stroke-dashoffset:", ";"], props.$strokeDashOffset);
|
|
11467
|
-
});
|
|
11468
|
-
StyledBackgroundCircle.displayName = "StyledBackgroundCircle";
|
|
11469
|
-
var StyledForegroundCircle = styled__default["default"].circle.withConfig({
|
|
11470
|
-
displayName: "Styles__StyledForegroundCircle",
|
|
11471
|
-
componentId: "sc-o6dcyu-2"
|
|
11472
|
-
})(["fill:transparent;transition:stroke-dashoffset 0.5s linear;", " ", ""], function (props) {
|
|
11473
|
-
return props.$color ? styled.css(["stroke:", ";"], props.$color) : styled.css(["stroke:var(--color-secondary);"]);
|
|
11474
|
-
}, function (props) {
|
|
11475
|
-
return props.$strokeDashOffset && styled.css(["stroke-dashoffset:", ";"], props.$strokeDashOffset);
|
|
11476
|
-
});
|
|
11477
|
-
StyledForegroundCircle.displayName = "StyledForegroundCircle";
|
|
11478
|
-
var StyledProgressRingPercentage = styled__default["default"].text.withConfig({
|
|
11479
|
-
displayName: "Styles__StyledProgressRingPercentage",
|
|
11480
|
-
componentId: "sc-o6dcyu-3"
|
|
11481
|
-
})(["transform:rotate(90deg);", " ", ""], function (props) {
|
|
11482
|
-
return props.$color ? styled.css(["fill:", ";"], props.$color) : styled.css(["fill:var(--color-secondary);"]);
|
|
11483
|
-
}, function (props) {
|
|
11484
|
-
return props.$fontSize ? styled.css(["font-size:", "px;"], props.$fontSize) : styled.css(["font-size:10px;"]);
|
|
11485
|
-
});
|
|
11486
|
-
StyledProgressRingPercentage.displayName = "StyledProgressRingPercentage";
|
|
11487
|
-
|
|
11488
|
-
var ProgressRing = function ProgressRing(_ref) {
|
|
11489
|
-
var backgroundColor = _ref.backgroundColor,
|
|
11490
|
-
progressColor = _ref.progressColor,
|
|
11491
|
-
_ref$progress = _ref.progress,
|
|
11492
|
-
progress = _ref$progress === void 0 ? 0 : _ref$progress,
|
|
11493
|
-
_ref$radius = _ref.radius,
|
|
11494
|
-
radius = _ref$radius === void 0 ? 20 : _ref$radius,
|
|
11495
|
-
_ref$stroke = _ref.stroke,
|
|
11496
|
-
stroke = _ref$stroke === void 0 ? 3 : _ref$stroke,
|
|
11497
|
-
className = _ref.className,
|
|
11498
|
-
_ref$showPercentage = _ref.showPercentage,
|
|
11499
|
-
showPercentage = _ref$showPercentage === void 0 ? false : _ref$showPercentage,
|
|
11500
|
-
fontSize = _ref.fontSize;
|
|
11501
|
-
var progressNumber = React.useMemo(function () {
|
|
11502
|
-
var width = progress;
|
|
11503
|
-
if (progress > 100) {
|
|
11504
|
-
width = 100;
|
|
11505
|
-
}
|
|
11506
|
-
if (progress < 0) {
|
|
11507
|
-
width = 0;
|
|
11508
|
-
}
|
|
11509
|
-
return width;
|
|
11510
|
-
}, [progress]);
|
|
11511
|
-
var normalizedRadius = React.useMemo(function () {
|
|
11512
|
-
return radius - stroke / 2;
|
|
11513
|
-
}, [radius, stroke]);
|
|
11514
|
-
var circumference = React.useMemo(function () {
|
|
11515
|
-
return normalizedRadius * 2 * Math.PI;
|
|
11516
|
-
}, [normalizedRadius]);
|
|
11517
|
-
var strokeDashoffsetOuter = React.useMemo(function () {
|
|
11518
|
-
return circumference - (100 - progressNumber) / 100 * circumference;
|
|
11519
|
-
}, [circumference, progressNumber]);
|
|
11520
|
-
var strokeDashoffsetInner = React.useMemo(function () {
|
|
11521
|
-
return circumference - progressNumber / 100 * circumference;
|
|
11522
|
-
}, [circumference, progressNumber]);
|
|
11523
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledSvg, {
|
|
11524
|
-
height: radius * 2,
|
|
11525
|
-
width: radius * 2,
|
|
11526
|
-
className: classNames__default["default"](className)
|
|
11527
|
-
}, /*#__PURE__*/React__default["default"].createElement(StyledBackgroundCircle, {
|
|
11528
|
-
$color: backgroundColor,
|
|
11529
|
-
$strokeDashOffset: -strokeDashoffsetOuter,
|
|
11530
|
-
strokeWidth: stroke,
|
|
11531
|
-
strokeDasharray: "".concat(circumference, " ").concat(circumference),
|
|
11532
|
-
r: normalizedRadius,
|
|
11533
|
-
cx: radius,
|
|
11534
|
-
cy: radius
|
|
11535
|
-
}), /*#__PURE__*/React__default["default"].createElement(StyledForegroundCircle, {
|
|
11536
|
-
$color: progressColor,
|
|
11537
|
-
$strokeDashOffset: strokeDashoffsetInner,
|
|
11538
|
-
strokeWidth: stroke,
|
|
11539
|
-
strokeDasharray: "".concat(circumference, " ").concat(circumference),
|
|
11540
|
-
r: normalizedRadius,
|
|
11541
|
-
cx: radius,
|
|
11542
|
-
cy: radius
|
|
11543
|
-
}), showPercentage ? /*#__PURE__*/React__default["default"].createElement(StyledProgressRingPercentage, {
|
|
11544
|
-
$color: progressColor,
|
|
11545
|
-
$fontSize: fontSize,
|
|
11546
|
-
x: "50%",
|
|
11547
|
-
y: "-50%",
|
|
11548
|
-
dominantBaseline: "central",
|
|
11549
|
-
textAnchor: "middle"
|
|
11550
|
-
}, progressNumber, "%") : null);
|
|
11551
|
-
};
|
|
11552
|
-
ProgressRing.displayName = "ProgressRing";
|
|
11553
|
-
|
|
11554
11600
|
var StyledDiv = styled__default["default"].div.withConfig({
|
|
11555
11601
|
displayName: "Styles__StyledDiv",
|
|
11556
11602
|
componentId: "sc-1wapx2a-0"
|
|
@@ -11594,7 +11640,7 @@
|
|
|
11594
11640
|
});
|
|
11595
11641
|
StyledInput.displayName = "StyledInput";
|
|
11596
11642
|
|
|
11597
|
-
var _excluded$
|
|
11643
|
+
var _excluded$5 = ["className", "variant", "weight", "disabled", "inputProps", "wrapRef"];
|
|
11598
11644
|
var EditableContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11599
11645
|
var className = _ref.className,
|
|
11600
11646
|
_ref$variant = _ref.variant,
|
|
@@ -11604,7 +11650,7 @@
|
|
|
11604
11650
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11605
11651
|
inputProps = _ref.inputProps,
|
|
11606
11652
|
wrapRef = _ref.wrapRef,
|
|
11607
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11653
|
+
props = _objectWithoutProperties(_ref, _excluded$5);
|
|
11608
11654
|
var intInputRef = React.useRef(null);
|
|
11609
11655
|
var handleRef = useForkRef(ref, intInputRef);
|
|
11610
11656
|
var handleBlur = React.useCallback(function (evt) {
|
|
@@ -11633,13 +11679,13 @@
|
|
|
11633
11679
|
});
|
|
11634
11680
|
EditableContent.displayName = "EditableContent";
|
|
11635
11681
|
|
|
11636
|
-
var _excluded$
|
|
11682
|
+
var _excluded$4 = ["onSave", "onCancel", "value", "inputProps"];
|
|
11637
11683
|
var EditableText = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11638
11684
|
var onSave = _ref.onSave,
|
|
11639
11685
|
onCancel = _ref.onCancel,
|
|
11640
11686
|
value = _ref.value,
|
|
11641
11687
|
inputProps = _ref.inputProps,
|
|
11642
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11688
|
+
props = _objectWithoutProperties(_ref, _excluded$4);
|
|
11643
11689
|
var _useState = React.useState(value),
|
|
11644
11690
|
_useState2 = _slicedToArray(_useState, 2),
|
|
11645
11691
|
currentValue = _useState2[0],
|
|
@@ -11697,11 +11743,11 @@
|
|
|
11697
11743
|
});
|
|
11698
11744
|
EditableText.displayName = "EditableText";
|
|
11699
11745
|
|
|
11700
|
-
var _excluded$
|
|
11746
|
+
var _excluded$3 = ["withDocuments"];
|
|
11701
11747
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
11702
11748
|
var _ref$withDocuments = _ref.withDocuments,
|
|
11703
11749
|
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
11704
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11750
|
+
props = _objectWithoutProperties(_ref, _excluded$3);
|
|
11705
11751
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
11706
11752
|
width: 100,
|
|
11707
11753
|
height: 100,
|
|
@@ -11844,7 +11890,7 @@
|
|
|
11844
11890
|
return $renderAs === "list" && styled.css(["justify-self:flex-end;"]);
|
|
11845
11891
|
});
|
|
11846
11892
|
|
|
11847
|
-
var _excluded$
|
|
11893
|
+
var _excluded$2 = ["children", "gap", "renderAs"];
|
|
11848
11894
|
var EntityGroupContext = /*#__PURE__*/React__default["default"].createContext({
|
|
11849
11895
|
renderAs: "grid"
|
|
11850
11896
|
});
|
|
@@ -11853,7 +11899,7 @@
|
|
|
11853
11899
|
gap = _ref.gap,
|
|
11854
11900
|
_ref$renderAs = _ref.renderAs,
|
|
11855
11901
|
renderAs = _ref$renderAs === void 0 ? "grid" : _ref$renderAs,
|
|
11856
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11902
|
+
rest = _objectWithoutProperties(_ref, _excluded$2);
|
|
11857
11903
|
return /*#__PURE__*/React__default["default"].createElement(EntityGroupContext.Provider, {
|
|
11858
11904
|
value: {
|
|
11859
11905
|
renderAs: renderAs
|
|
@@ -11865,14 +11911,14 @@
|
|
|
11865
11911
|
};
|
|
11866
11912
|
EntityGroup.displayName = "EntityGroup";
|
|
11867
11913
|
|
|
11868
|
-
var _excluded$
|
|
11914
|
+
var _excluded$1 = ["children", "isCollection", "background", "className", "as"];
|
|
11869
11915
|
var EntityCard = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11870
11916
|
var children = _ref.children,
|
|
11871
11917
|
isCollection = _ref.isCollection,
|
|
11872
11918
|
background = _ref.background,
|
|
11873
11919
|
className = _ref.className,
|
|
11874
11920
|
as = _ref.as,
|
|
11875
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11921
|
+
rest = _objectWithoutProperties(_ref, _excluded$1);
|
|
11876
11922
|
var _useContext = React.useContext(EntityGroupContext),
|
|
11877
11923
|
renderAs = _useContext.renderAs;
|
|
11878
11924
|
var classSuffix = "c-entity-card-".concat(renderAs);
|
|
@@ -11891,13 +11937,13 @@
|
|
|
11891
11937
|
});
|
|
11892
11938
|
EntityCard.displayName = "EntityCard";
|
|
11893
11939
|
|
|
11894
|
-
var _excluded
|
|
11940
|
+
var _excluded = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
11895
11941
|
var EntityProperty = function EntityProperty(_ref) {
|
|
11896
11942
|
var listOrder = _ref.listOrder,
|
|
11897
11943
|
listWidth = _ref.listWidth,
|
|
11898
11944
|
visibleFromBreakpoint = _ref.visibleFromBreakpoint,
|
|
11899
11945
|
className = _ref.className,
|
|
11900
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
11946
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
11901
11947
|
var _useContext = React.useContext(EntityGroupContext),
|
|
11902
11948
|
renderAs = _useContext.renderAs;
|
|
11903
11949
|
var classSuffix = "c-entity-property-".concat(renderAs);
|
|
@@ -11937,7 +11983,7 @@
|
|
|
11937
11983
|
ref: ref
|
|
11938
11984
|
}, /*#__PURE__*/React__default["default"].createElement(MenuHeader, {
|
|
11939
11985
|
title: title,
|
|
11940
|
-
leftElement: /*#__PURE__*/React__default["default"].createElement(
|
|
11986
|
+
leftElement: /*#__PURE__*/React__default["default"].createElement(IconButton, {
|
|
11941
11987
|
onClick: onBack,
|
|
11942
11988
|
variant: "text gray",
|
|
11943
11989
|
size: "small"
|
|
@@ -12293,12 +12339,12 @@
|
|
|
12293
12339
|
}
|
|
12294
12340
|
return onNextButtonClick && onNextButtonClick();
|
|
12295
12341
|
}, [isLast, onClose, onNextButtonClick]);
|
|
12296
|
-
return !skip ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(StyledStepHeader, null, /*#__PURE__*/React__default["default"].createElement(StyledStepHeaderLeft, null, index && index > 0 ? /*#__PURE__*/React__default["default"].createElement(
|
|
12342
|
+
return !skip ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(StyledStepHeader, null, /*#__PURE__*/React__default["default"].createElement(StyledStepHeaderLeft, null, index && index > 0 ? /*#__PURE__*/React__default["default"].createElement(IconButton, {
|
|
12297
12343
|
onClick: onPreviousButtonClick,
|
|
12298
12344
|
variant: "text gray",
|
|
12299
12345
|
className: "tw--ml-3 tw-mr-2",
|
|
12300
12346
|
disabled: changingStepInProgress
|
|
12301
|
-
}, /*#__PURE__*/React__default["default"].createElement(ArrowBackMobileIcon$1, null)) : null, /*#__PURE__*/React__default["default"].createElement(StyledStepTitle, null, /*#__PURE__*/React__default["default"].createElement(Caption2, null, title), /*#__PURE__*/React__default["default"].createElement(Header3, null, subtitle))), /*#__PURE__*/React__default["default"].createElement(
|
|
12347
|
+
}, /*#__PURE__*/React__default["default"].createElement(ArrowBackMobileIcon$1, null)) : null, /*#__PURE__*/React__default["default"].createElement(StyledStepTitle, null, /*#__PURE__*/React__default["default"].createElement(Caption2, null, title), /*#__PURE__*/React__default["default"].createElement(Header3, null, subtitle))), /*#__PURE__*/React__default["default"].createElement(IconButton, {
|
|
12302
12348
|
onClick: onClose,
|
|
12303
12349
|
variant: "text gray",
|
|
12304
12350
|
disabled: changingStepInProgress
|
|
@@ -12386,36 +12432,6 @@
|
|
|
12386
12432
|
});
|
|
12387
12433
|
Wizard.displayName = "Wizard";
|
|
12388
12434
|
|
|
12389
|
-
var StyledIconButton = styled__default["default"](Button).withConfig({
|
|
12390
|
-
displayName: "Styles__StyledIconButton",
|
|
12391
|
-
componentId: "sc-1teza2f-0"
|
|
12392
|
-
})(["display:inline-flex;justify-content:center;align-items:center;padding:0;width:32px;", " ", ""], function (_ref) {
|
|
12393
|
-
var size = _ref.size;
|
|
12394
|
-
return size === "small" && styled.css(["width:24px;"]);
|
|
12395
|
-
}, function (_ref2) {
|
|
12396
|
-
var size = _ref2.size;
|
|
12397
|
-
return size === "big" && styled.css(["width:40px;"]);
|
|
12398
|
-
});
|
|
12399
|
-
|
|
12400
|
-
var _excluded = ["children", "className", "variant", "size"];
|
|
12401
|
-
|
|
12402
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
12403
|
-
|
|
12404
|
-
var IconButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12405
|
-
var children = _ref.children,
|
|
12406
|
-
className = _ref.className,
|
|
12407
|
-
variant = _ref.variant,
|
|
12408
|
-
size = _ref.size,
|
|
12409
|
-
args = _objectWithoutProperties(_ref, _excluded);
|
|
12410
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledIconButton, _extends({
|
|
12411
|
-
className: classNames__default["default"]("c-btn--icon-only", className),
|
|
12412
|
-
variant: variant,
|
|
12413
|
-
size: size,
|
|
12414
|
-
ref: ref
|
|
12415
|
-
}, args), children);
|
|
12416
|
-
});
|
|
12417
|
-
IconButton.displayName = "IconButton";
|
|
12418
|
-
|
|
12419
12435
|
exports.Accordion = Accordion;
|
|
12420
12436
|
exports.AccordionContext = AccordionContext;
|
|
12421
12437
|
exports.AccordionItem = AccordionItem;
|
|
@@ -12607,6 +12623,7 @@
|
|
|
12607
12623
|
exports.Portal = Portal;
|
|
12608
12624
|
exports.Pressed = Pressed;
|
|
12609
12625
|
exports.ProgressBar = ProgressBar;
|
|
12626
|
+
exports.ProgressPie = ProgressPie;
|
|
12610
12627
|
exports.ProgressRing = ProgressRing;
|
|
12611
12628
|
exports.ProjectAddIcon = ProjectAddIcon$1;
|
|
12612
12629
|
exports.ProjectTemplateAddIcon = ProjectTemplateAddIcon$1;
|