@activecollab/components 1.0.182 → 1.0.184
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/EditableContent/EditableContent.js +73 -0
- package/dist/cjs/components/EditableContent/EditableContent.js.map +1 -0
- package/dist/cjs/components/EditableContent/Styles.js +61 -0
- package/dist/cjs/components/EditableContent/Styles.js.map +1 -0
- package/dist/cjs/components/EditableContent/index.js +19 -0
- package/dist/cjs/components/EditableContent/index.js.map +1 -0
- package/dist/cjs/components/Typography/Typography.js.map +1 -1
- package/dist/cjs/components/Wizard/Step.js +5 -3
- package/dist/cjs/components/Wizard/Step.js.map +1 -1
- package/dist/cjs/components/Wizard/Wizard.js +31 -9
- package/dist/cjs/components/Wizard/Wizard.js.map +1 -1
- package/dist/cjs/components/Wizard/context/index.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/EditableContent/EditableContent.d.ts +9 -0
- package/dist/esm/components/EditableContent/EditableContent.d.ts.map +1 -0
- package/dist/esm/components/EditableContent/EditableContent.js +39 -0
- package/dist/esm/components/EditableContent/EditableContent.js.map +1 -0
- package/dist/esm/components/EditableContent/Styles.d.ts +8 -0
- package/dist/esm/components/EditableContent/Styles.d.ts.map +1 -0
- package/dist/esm/components/EditableContent/Styles.js +44 -0
- package/dist/esm/components/EditableContent/Styles.js.map +1 -0
- package/dist/esm/components/EditableContent/index.d.ts +2 -0
- package/dist/esm/components/EditableContent/index.d.ts.map +1 -0
- package/dist/esm/components/EditableContent/index.js +2 -0
- package/dist/esm/components/EditableContent/index.js.map +1 -0
- package/dist/esm/components/Typography/Typography.d.ts +2 -1
- package/dist/esm/components/Typography/Typography.d.ts.map +1 -1
- package/dist/esm/components/Typography/Typography.js.map +1 -1
- package/dist/esm/components/Wizard/Step.d.ts +1 -0
- package/dist/esm/components/Wizard/Step.d.ts.map +1 -1
- package/dist/esm/components/Wizard/Step.js +5 -3
- package/dist/esm/components/Wizard/Step.js.map +1 -1
- package/dist/esm/components/Wizard/Wizard.d.ts.map +1 -1
- package/dist/esm/components/Wizard/Wizard.js +23 -9
- package/dist/esm/components/Wizard/Wizard.js.map +1 -1
- package/dist/esm/components/Wizard/context/index.d.ts +2 -0
- package/dist/esm/components/Wizard/context/index.d.ts.map +1 -1
- package/dist/esm/components/Wizard/context/index.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 +257 -164
- 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$18 = ["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$18);
|
|
332
332
|
|
|
333
333
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
|
|
334
334
|
disabled: disabled,
|
|
@@ -383,12 +383,12 @@
|
|
|
383
383
|
})(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
|
|
384
384
|
StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
|
|
385
385
|
|
|
386
|
-
var _excluded$
|
|
386
|
+
var _excluded$17 = ["className", "disabled"];
|
|
387
387
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
388
388
|
var className = _ref.className,
|
|
389
389
|
_ref$disabled = _ref.disabled,
|
|
390
390
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
391
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
391
|
+
rest = _objectWithoutProperties(_ref, _excluded$17);
|
|
392
392
|
|
|
393
393
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
394
394
|
ref: ref,
|
|
@@ -421,11 +421,11 @@
|
|
|
421
421
|
});
|
|
422
422
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
423
423
|
|
|
424
|
-
var _excluded$
|
|
424
|
+
var _excluded$16 = ["children", "className"];
|
|
425
425
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
426
426
|
var children = _ref.children,
|
|
427
427
|
className = _ref.className,
|
|
428
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
428
|
+
rest = _objectWithoutProperties(_ref, _excluded$16);
|
|
429
429
|
|
|
430
430
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
431
431
|
ref: ref,
|
|
@@ -488,7 +488,7 @@
|
|
|
488
488
|
return React.useContext(MenuContext);
|
|
489
489
|
};
|
|
490
490
|
|
|
491
|
-
var _excluded$
|
|
491
|
+
var _excluded$15 = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy"];
|
|
492
492
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
493
493
|
var children = _ref.children,
|
|
494
494
|
anchorEl = _ref.anchorEl,
|
|
@@ -501,7 +501,7 @@
|
|
|
501
501
|
initialPlacement = _ref$placement === void 0 ? "bottom" : _ref$placement,
|
|
502
502
|
_ref$strategy = _ref.strategy,
|
|
503
503
|
strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
|
|
504
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
504
|
+
rest = _objectWithoutProperties(_ref, _excluded$15);
|
|
505
505
|
|
|
506
506
|
var _useState = React.useState(true),
|
|
507
507
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -607,12 +607,12 @@
|
|
|
607
607
|
});
|
|
608
608
|
StyledOverlay.displayName = "StyledOverlay";
|
|
609
609
|
|
|
610
|
-
var _excluded$
|
|
610
|
+
var _excluded$14 = ["className", "disableBackgroundColor"];
|
|
611
611
|
var Overlay = function Overlay(_ref) {
|
|
612
612
|
var className = _ref.className,
|
|
613
613
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
614
614
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
615
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
615
|
+
rest = _objectWithoutProperties(_ref, _excluded$14);
|
|
616
616
|
|
|
617
617
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
618
618
|
className: classNames__default["default"]("c-overlay", className),
|
|
@@ -656,7 +656,7 @@
|
|
|
656
656
|
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
|
|
657
657
|
StyledWindow.displayName = "StyledWindow";
|
|
658
658
|
|
|
659
|
-
var _excluded$
|
|
659
|
+
var _excluded$13 = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "onClick"];
|
|
660
660
|
var returnFocus = {
|
|
661
661
|
preventScroll: true
|
|
662
662
|
};
|
|
@@ -671,7 +671,7 @@
|
|
|
671
671
|
_ref$disableScrollLoc = _ref.disableScrollLock,
|
|
672
672
|
disableScrollLock = _ref$disableScrollLoc === void 0 ? false : _ref$disableScrollLoc,
|
|
673
673
|
onClick = _ref.onClick,
|
|
674
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
674
|
+
rest = _objectWithoutProperties(_ref, _excluded$13);
|
|
675
675
|
|
|
676
676
|
var innerRef = React.useRef(null);
|
|
677
677
|
var handleRef = useForkRef(innerRef, ref);
|
|
@@ -742,7 +742,7 @@
|
|
|
742
742
|
}, FontStyle, BoxSizingStyle);
|
|
743
743
|
StyledBubble.displayName = "StyledBubble";
|
|
744
744
|
|
|
745
|
-
var _excluded$
|
|
745
|
+
var _excluded$12 = ["children", "className", "innerRef", "style"];
|
|
746
746
|
var Bubble = function Bubble(_ref) {
|
|
747
747
|
var children = _ref.children,
|
|
748
748
|
className = _ref.className,
|
|
@@ -750,7 +750,7 @@
|
|
|
750
750
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
751
751
|
_ref$style = _ref.style,
|
|
752
752
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
753
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
753
|
+
rest = _objectWithoutProperties(_ref, _excluded$12);
|
|
754
754
|
|
|
755
755
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
756
756
|
ref: innerRef,
|
|
@@ -1062,7 +1062,7 @@
|
|
|
1062
1062
|
});
|
|
1063
1063
|
StyledTypography.displayName = "StyledTypography";
|
|
1064
1064
|
|
|
1065
|
-
var _excluded$
|
|
1065
|
+
var _excluded$11 = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
1066
1066
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1067
1067
|
var _ref$variant = _ref.variant,
|
|
1068
1068
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -1093,7 +1093,7 @@
|
|
|
1093
1093
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
1094
1094
|
className = _ref.className,
|
|
1095
1095
|
children = _ref.children,
|
|
1096
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1096
|
+
props = _objectWithoutProperties(_ref, _excluded$11);
|
|
1097
1097
|
|
|
1098
1098
|
var Component = as || "div";
|
|
1099
1099
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
@@ -1117,13 +1117,13 @@
|
|
|
1117
1117
|
});
|
|
1118
1118
|
Typography.displayName = "Typography";
|
|
1119
1119
|
|
|
1120
|
-
var _excluded
|
|
1120
|
+
var _excluded$10 = ["title", "className", "leftElement", "rightElement"];
|
|
1121
1121
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1122
1122
|
var title = _ref.title,
|
|
1123
1123
|
className = _ref.className,
|
|
1124
1124
|
leftElement = _ref.leftElement,
|
|
1125
1125
|
rightElement = _ref.rightElement,
|
|
1126
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
1126
|
+
props = _objectWithoutProperties(_ref, _excluded$10);
|
|
1127
1127
|
|
|
1128
1128
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
1129
1129
|
className: classNames__default["default"]("c-menu-header", className),
|
|
@@ -1149,11 +1149,11 @@
|
|
|
1149
1149
|
});
|
|
1150
1150
|
MenuHeader.displayName = "MenuHeader";
|
|
1151
1151
|
|
|
1152
|
-
var _excluded
|
|
1152
|
+
var _excluded$$ = ["children", "className"];
|
|
1153
1153
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1154
1154
|
var children = _ref.children,
|
|
1155
1155
|
className = _ref.className,
|
|
1156
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
1156
|
+
props = _objectWithoutProperties(_ref, _excluded$$);
|
|
1157
1157
|
|
|
1158
1158
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter$1, _extends({}, props, {
|
|
1159
1159
|
className: classNames__default["default"]("c-menu-footer", className),
|
|
@@ -1194,11 +1194,11 @@
|
|
|
1194
1194
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
1195
1195
|
StyledListSeparator.displayName = "StyledListSeparator";
|
|
1196
1196
|
|
|
1197
|
-
var _excluded$
|
|
1197
|
+
var _excluded$_ = ["children", "className"];
|
|
1198
1198
|
var List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1199
1199
|
var children = _ref.children,
|
|
1200
1200
|
className = _ref.className,
|
|
1201
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1201
|
+
props = _objectWithoutProperties(_ref, _excluded$_);
|
|
1202
1202
|
|
|
1203
1203
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({}, props, {
|
|
1204
1204
|
className: className,
|
|
@@ -1207,11 +1207,11 @@
|
|
|
1207
1207
|
});
|
|
1208
1208
|
List.displayName = "List";
|
|
1209
1209
|
|
|
1210
|
-
var _excluded$
|
|
1210
|
+
var _excluded$Z = ["children", "className"];
|
|
1211
1211
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1212
1212
|
var children = _ref.children,
|
|
1213
1213
|
className = _ref.className,
|
|
1214
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1214
|
+
props = _objectWithoutProperties(_ref, _excluded$Z);
|
|
1215
1215
|
|
|
1216
1216
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({}, props, {
|
|
1217
1217
|
className: classNames__default["default"]("c-list-item", className),
|
|
@@ -3910,7 +3910,7 @@
|
|
|
3910
3910
|
});
|
|
3911
3911
|
StyledBreadcrumbListItem.displayName = "StyledBreadcrumbListItem";
|
|
3912
3912
|
|
|
3913
|
-
var _excluded$
|
|
3913
|
+
var _excluded$Y = ["children", "className", "separator"];
|
|
3914
3914
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
3915
3915
|
var _dimensions$width, _childDimensions$widt;
|
|
3916
3916
|
|
|
@@ -3918,7 +3918,7 @@
|
|
|
3918
3918
|
className = _ref.className,
|
|
3919
3919
|
_ref$separator = _ref.separator,
|
|
3920
3920
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
3921
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3921
|
+
rest = _objectWithoutProperties(_ref, _excluded$Y);
|
|
3922
3922
|
|
|
3923
3923
|
var internalRef = React.useRef(null);
|
|
3924
3924
|
var listWrapperRef = React.useRef(null);
|
|
@@ -4105,11 +4105,11 @@
|
|
|
4105
4105
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
4106
4106
|
});
|
|
4107
4107
|
|
|
4108
|
-
var _excluded$
|
|
4108
|
+
var _excluded$X = ["children"];
|
|
4109
4109
|
|
|
4110
4110
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
4111
4111
|
var children = _ref.children,
|
|
4112
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4112
|
+
props = _objectWithoutProperties(_ref, _excluded$X);
|
|
4113
4113
|
|
|
4114
4114
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
4115
4115
|
timeout: 0
|
|
@@ -4196,12 +4196,12 @@
|
|
|
4196
4196
|
});
|
|
4197
4197
|
Tooltip.displayName = "Tooltip";
|
|
4198
4198
|
|
|
4199
|
-
var _excluded$
|
|
4199
|
+
var _excluded$W = ["weight", "children"];
|
|
4200
4200
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4201
4201
|
var _ref$weight = _ref.weight,
|
|
4202
4202
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
4203
4203
|
children = _ref.children,
|
|
4204
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4204
|
+
props = _objectWithoutProperties(_ref, _excluded$W);
|
|
4205
4205
|
|
|
4206
4206
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
4207
4207
|
variant: "Body 2",
|
|
@@ -4249,7 +4249,7 @@
|
|
|
4249
4249
|
});
|
|
4250
4250
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
4251
4251
|
|
|
4252
|
-
var _excluded$
|
|
4252
|
+
var _excluded$V = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
|
|
4253
4253
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4254
4254
|
var label = _ref.label,
|
|
4255
4255
|
icon = _ref.icon,
|
|
@@ -4259,7 +4259,7 @@
|
|
|
4259
4259
|
tooltipText = _ref.tooltipText,
|
|
4260
4260
|
onClearAll = _ref.onClearAll,
|
|
4261
4261
|
className = _ref.className,
|
|
4262
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
4262
|
+
args = _objectWithoutProperties(_ref, _excluded$V);
|
|
4263
4263
|
|
|
4264
4264
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
4265
4265
|
ref: ref,
|
|
@@ -4574,7 +4574,7 @@
|
|
|
4574
4574
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
4575
4575
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
4576
4576
|
|
|
4577
|
-
var _excluded$
|
|
4577
|
+
var _excluded$U = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
4578
4578
|
var DatePicker = function DatePicker(_ref) {
|
|
4579
4579
|
var className = _ref.className,
|
|
4580
4580
|
onChange = _ref.onChange,
|
|
@@ -4596,7 +4596,7 @@
|
|
|
4596
4596
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
4597
4597
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
4598
4598
|
defaultModifiers = _ref.modifiers,
|
|
4599
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4599
|
+
rest = _objectWithoutProperties(_ref, _excluded$U);
|
|
4600
4600
|
|
|
4601
4601
|
var _useState = React.useState(),
|
|
4602
4602
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -4959,11 +4959,11 @@
|
|
|
4959
4959
|
displayName: "Styles__StyledButtonGroup",
|
|
4960
4960
|
componentId: "sc-1v8h7mt-2"
|
|
4961
4961
|
})(["", " ", " button:hover{position:relative;z-index:1;}"], FontStyle, BoxSizingStyle);
|
|
4962
|
-
var StyledSpan = styled__default["default"].span.withConfig({
|
|
4962
|
+
var StyledSpan$1 = styled__default["default"].span.withConfig({
|
|
4963
4963
|
displayName: "Styles__StyledSpan",
|
|
4964
4964
|
componentId: "sc-1v8h7mt-3"
|
|
4965
4965
|
})(["line-height:30px;color:var(--color-theme-700);"]);
|
|
4966
|
-
var StyledDiv = styled__default["default"].div.withConfig({
|
|
4966
|
+
var StyledDiv$1 = styled__default["default"].div.withConfig({
|
|
4967
4967
|
displayName: "Styles__StyledDiv",
|
|
4968
4968
|
componentId: "sc-1v8h7mt-4"
|
|
4969
4969
|
})(["", " ", " ", " height:32px;transition:all 0.3s ease;background-color:transparent;border:solid 1px var(--color-theme-700);color:var(--color-theme-700);margin-right:-1px;svg{fill:currentColor;}&::-moz-focus-inner{border:0;}&:focus{outline:none;}&:disabled{cursor:default;opacity:50%;pointer-events:none;}&:hover{border-color:var(--color-primary);color:var(--color-primary);text-decoration:none;}&:active{border-color:var(--color-primary);color:var(--color-primary);background-color:var(--color-primary-200);}"], function (props) {
|
|
@@ -4991,8 +4991,8 @@
|
|
|
4991
4991
|
"borderStyle": "solid"
|
|
4992
4992
|
});
|
|
4993
4993
|
StyledButtonGroup.displayName = "StyledButtonGroup";
|
|
4994
|
-
StyledSpan.displayName = "StyledSpan";
|
|
4995
|
-
StyledDiv.displayName = "StyledDiv";
|
|
4994
|
+
StyledSpan$1.displayName = "StyledSpan";
|
|
4995
|
+
StyledDiv$1.displayName = "StyledDiv";
|
|
4996
4996
|
StyledMenu$1.displayName = "StyledMenu";
|
|
4997
4997
|
StyledButton$1.displayName = "StyledButton";
|
|
4998
4998
|
|
|
@@ -5245,7 +5245,7 @@
|
|
|
5245
5245
|
variant: "secondary",
|
|
5246
5246
|
onClick: onLeftClickHandler,
|
|
5247
5247
|
disabled: isBeforeMinDate
|
|
5248
|
-
}, /*#__PURE__*/React__default["default"].createElement(ArrowLeftIcon$1, null)) : null, /*#__PURE__*/React__default["default"].createElement(StyledDiv, {
|
|
5248
|
+
}, /*#__PURE__*/React__default["default"].createElement(ArrowLeftIcon$1, null)) : null, /*#__PURE__*/React__default["default"].createElement(StyledDiv$1, {
|
|
5249
5249
|
$isTargetable: step === "yearly" || !withDatePicker,
|
|
5250
5250
|
$isRounded: step === "custom",
|
|
5251
5251
|
style: dateStepperWidth(fromDate, toDate, step)
|
|
@@ -5274,7 +5274,7 @@
|
|
|
5274
5274
|
modifiers: modifiers,
|
|
5275
5275
|
dateRequired: true,
|
|
5276
5276
|
fixedWeeks: true
|
|
5277
|
-
})) : /*#__PURE__*/React__default["default"].createElement(StyledSpan, null, getDateFormatted)), renderLeftRightButtons ? /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
5277
|
+
})) : /*#__PURE__*/React__default["default"].createElement(StyledSpan$1, null, getDateFormatted)), renderLeftRightButtons ? /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
5278
5278
|
type: "button",
|
|
5279
5279
|
variant: "secondary",
|
|
5280
5280
|
onClick: onRightClickHandler,
|
|
@@ -5527,10 +5527,10 @@
|
|
|
5527
5527
|
componentId: "sc-x4ge7a-0"
|
|
5528
5528
|
})(["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);
|
|
5529
5529
|
|
|
5530
|
-
var _excluded$
|
|
5530
|
+
var _excluded$T = ["className"];
|
|
5531
5531
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5532
5532
|
var className = _ref.className,
|
|
5533
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5533
|
+
rest = _objectWithoutProperties(_ref, _excluded$T);
|
|
5534
5534
|
|
|
5535
5535
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
5536
5536
|
ref: ref,
|
|
@@ -5545,10 +5545,10 @@
|
|
|
5545
5545
|
componentId: "sc-1f35d5h-0"
|
|
5546
5546
|
})(["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);
|
|
5547
5547
|
|
|
5548
|
-
var _excluded$
|
|
5548
|
+
var _excluded$S = ["className"];
|
|
5549
5549
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5550
5550
|
var className = _ref.className,
|
|
5551
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5551
|
+
rest = _objectWithoutProperties(_ref, _excluded$S);
|
|
5552
5552
|
|
|
5553
5553
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
5554
5554
|
ref: ref,
|
|
@@ -5571,7 +5571,7 @@
|
|
|
5571
5571
|
return props.$activeColorPercentage === "75%" && styled.css(["border-right:", "px solid ", ";border-bottom:", "px solid ", ";border-left:", "px solid ", ";border-top:", "px solid ", ";"], props.$stroke, props.$activeStrokeColor, props.$stroke, props.$activeStrokeColor, props.$stroke, props.$inactiveStrokeColor, props.$stroke, props.$activeStrokeColor);
|
|
5572
5572
|
});
|
|
5573
5573
|
|
|
5574
|
-
var _excluded$
|
|
5574
|
+
var _excluded$R = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
5575
5575
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5576
5576
|
var _ref$radius = _ref.radius,
|
|
5577
5577
|
radius = _ref$radius === void 0 ? 10 : _ref$radius,
|
|
@@ -5586,7 +5586,7 @@
|
|
|
5586
5586
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
5587
5587
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
5588
5588
|
className = _ref.className,
|
|
5589
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5589
|
+
rest = _objectWithoutProperties(_ref, _excluded$R);
|
|
5590
5590
|
|
|
5591
5591
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader, _extends({
|
|
5592
5592
|
ref: ref,
|
|
@@ -5601,7 +5601,7 @@
|
|
|
5601
5601
|
});
|
|
5602
5602
|
SpinnerLoader.displayName = "SpinnerLoader";
|
|
5603
5603
|
|
|
5604
|
-
var _excluded$
|
|
5604
|
+
var _excluded$Q = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
|
|
5605
5605
|
exports.SortDirection = void 0;
|
|
5606
5606
|
|
|
5607
5607
|
(function (SortDirection) {
|
|
@@ -5655,7 +5655,7 @@
|
|
|
5655
5655
|
loading = _ref.loading,
|
|
5656
5656
|
_ref$loadingRows = _ref.loadingRows,
|
|
5657
5657
|
loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
|
|
5658
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
5658
|
+
args = _objectWithoutProperties(_ref, _excluded$Q);
|
|
5659
5659
|
|
|
5660
5660
|
var _useState = React.useState(sortDirection),
|
|
5661
5661
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -6095,7 +6095,7 @@
|
|
|
6095
6095
|
});
|
|
6096
6096
|
StyledPaper.displayName = "StyledPaper";
|
|
6097
6097
|
|
|
6098
|
-
var _excluded$
|
|
6098
|
+
var _excluded$P = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
6099
6099
|
|
|
6100
6100
|
/**
|
|
6101
6101
|
* This is a component description and should sit directly above your component
|
|
@@ -6109,7 +6109,7 @@
|
|
|
6109
6109
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
6110
6110
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
6111
6111
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
6112
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6112
|
+
rest = _objectWithoutProperties(_ref, _excluded$P);
|
|
6113
6113
|
|
|
6114
6114
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
6115
6115
|
className: classNames__default["default"](className, {
|
|
@@ -6163,7 +6163,7 @@
|
|
|
6163
6163
|
});
|
|
6164
6164
|
StyledCard.displayName = "StyledCard";
|
|
6165
6165
|
|
|
6166
|
-
var _excluded$
|
|
6166
|
+
var _excluded$O = ["children", "className", "hoverable", "paperType"];
|
|
6167
6167
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6168
6168
|
var children = _ref.children,
|
|
6169
6169
|
className = _ref.className,
|
|
@@ -6171,7 +6171,7 @@
|
|
|
6171
6171
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
6172
6172
|
_ref$paperType = _ref.paperType,
|
|
6173
6173
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
6174
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6174
|
+
rest = _objectWithoutProperties(_ref, _excluded$O);
|
|
6175
6175
|
|
|
6176
6176
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
6177
6177
|
type: paperType,
|
|
@@ -6253,12 +6253,12 @@
|
|
|
6253
6253
|
});
|
|
6254
6254
|
EntityCard$1.displayName = "EntityCard";
|
|
6255
6255
|
|
|
6256
|
-
var _excluded$
|
|
6256
|
+
var _excluded$N = ["weight", "children"];
|
|
6257
6257
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6258
6258
|
var _ref$weight = _ref.weight,
|
|
6259
6259
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
6260
6260
|
children = _ref.children,
|
|
6261
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6261
|
+
props = _objectWithoutProperties(_ref, _excluded$N);
|
|
6262
6262
|
|
|
6263
6263
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6264
6264
|
weight: weight,
|
|
@@ -6268,12 +6268,12 @@
|
|
|
6268
6268
|
});
|
|
6269
6269
|
Title1.displayName = "Title1";
|
|
6270
6270
|
|
|
6271
|
-
var _excluded$
|
|
6271
|
+
var _excluded$M = ["weight", "children"];
|
|
6272
6272
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6273
6273
|
var _ref$weight = _ref.weight,
|
|
6274
6274
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
6275
6275
|
children = _ref.children,
|
|
6276
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6276
|
+
props = _objectWithoutProperties(_ref, _excluded$M);
|
|
6277
6277
|
|
|
6278
6278
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6279
6279
|
weight: weight,
|
|
@@ -6283,10 +6283,10 @@
|
|
|
6283
6283
|
});
|
|
6284
6284
|
Title2.displayName = "Title2";
|
|
6285
6285
|
|
|
6286
|
-
var _excluded$
|
|
6286
|
+
var _excluded$L = ["children"];
|
|
6287
6287
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6288
6288
|
var children = _ref.children,
|
|
6289
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6289
|
+
props = _objectWithoutProperties(_ref, _excluded$L);
|
|
6290
6290
|
|
|
6291
6291
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6292
6292
|
weight: "bold",
|
|
@@ -6296,10 +6296,10 @@
|
|
|
6296
6296
|
});
|
|
6297
6297
|
Header2.displayName = "Header2";
|
|
6298
6298
|
|
|
6299
|
-
var _excluded$
|
|
6299
|
+
var _excluded$K = ["children"];
|
|
6300
6300
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6301
6301
|
var children = _ref.children,
|
|
6302
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6302
|
+
props = _objectWithoutProperties(_ref, _excluded$K);
|
|
6303
6303
|
|
|
6304
6304
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6305
6305
|
weight: "bold",
|
|
@@ -6309,12 +6309,12 @@
|
|
|
6309
6309
|
});
|
|
6310
6310
|
Header3.displayName = "Header3";
|
|
6311
6311
|
|
|
6312
|
-
var _excluded$
|
|
6312
|
+
var _excluded$J = ["weight", "children"];
|
|
6313
6313
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6314
6314
|
var _ref$weight = _ref.weight,
|
|
6315
6315
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
6316
6316
|
children = _ref.children,
|
|
6317
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6317
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
6318
6318
|
|
|
6319
6319
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6320
6320
|
variant: "Body 1",
|
|
@@ -6324,12 +6324,12 @@
|
|
|
6324
6324
|
});
|
|
6325
6325
|
Body1.displayName = "Body1";
|
|
6326
6326
|
|
|
6327
|
-
var _excluded$
|
|
6327
|
+
var _excluded$I = ["weight", "children"];
|
|
6328
6328
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6329
6329
|
var _ref$weight = _ref.weight,
|
|
6330
6330
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
6331
6331
|
children = _ref.children,
|
|
6332
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6332
|
+
props = _objectWithoutProperties(_ref, _excluded$I);
|
|
6333
6333
|
|
|
6334
6334
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6335
6335
|
variant: "Caption 1",
|
|
@@ -6339,12 +6339,12 @@
|
|
|
6339
6339
|
});
|
|
6340
6340
|
Caption1.displayName = "Caption1";
|
|
6341
6341
|
|
|
6342
|
-
var _excluded$
|
|
6342
|
+
var _excluded$H = ["weight", "children"];
|
|
6343
6343
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6344
6344
|
var _ref$weight = _ref.weight,
|
|
6345
6345
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
6346
6346
|
children = _ref.children,
|
|
6347
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6347
|
+
props = _objectWithoutProperties(_ref, _excluded$H);
|
|
6348
6348
|
|
|
6349
6349
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6350
6350
|
variant: "Caption 2",
|
|
@@ -6463,7 +6463,7 @@
|
|
|
6463
6463
|
"borderRadius": "9999px"
|
|
6464
6464
|
});
|
|
6465
6465
|
|
|
6466
|
-
var _excluded$
|
|
6466
|
+
var _excluded$G = ["url", "alt", "size", "className"];
|
|
6467
6467
|
var Avatar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6468
6468
|
var url = _ref.url,
|
|
6469
6469
|
_ref$alt = _ref.alt,
|
|
@@ -6471,7 +6471,7 @@
|
|
|
6471
6471
|
_ref$size = _ref.size,
|
|
6472
6472
|
size = _ref$size === void 0 ? 24 : _ref$size,
|
|
6473
6473
|
className = _ref.className,
|
|
6474
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6474
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
6475
6475
|
|
|
6476
6476
|
return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({}, rest, {
|
|
6477
6477
|
ref: ref,
|
|
@@ -6493,13 +6493,13 @@
|
|
|
6493
6493
|
return props.$color && styled.css(["background-color:", ";"], props.$color);
|
|
6494
6494
|
});
|
|
6495
6495
|
|
|
6496
|
-
var _excluded$
|
|
6496
|
+
var _excluded$F = ["color", "size", "className"];
|
|
6497
6497
|
var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6498
6498
|
var color = _ref.color,
|
|
6499
6499
|
_ref$size = _ref.size,
|
|
6500
6500
|
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
6501
6501
|
className = _ref.className,
|
|
6502
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6502
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
6503
6503
|
|
|
6504
6504
|
return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
|
|
6505
6505
|
className: classNames__default["default"]("c-dot", className),
|
|
@@ -6537,7 +6537,7 @@
|
|
|
6537
6537
|
});
|
|
6538
6538
|
StyledTagText.displayName = "StyledTagText";
|
|
6539
6539
|
|
|
6540
|
-
var _excluded$
|
|
6540
|
+
var _excluded$E = ["name", "color", "showText", "showDot", "className"];
|
|
6541
6541
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6542
6542
|
var name = _ref.name,
|
|
6543
6543
|
color = _ref.color,
|
|
@@ -6546,7 +6546,7 @@
|
|
|
6546
6546
|
_ref$showDot = _ref.showDot,
|
|
6547
6547
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
6548
6548
|
className = _ref.className,
|
|
6549
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6549
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
6550
6550
|
|
|
6551
6551
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
6552
6552
|
className: classNames__default["default"]("c-tag", className),
|
|
@@ -6657,11 +6657,11 @@
|
|
|
6657
6657
|
});
|
|
6658
6658
|
Option.displayName = "Option";
|
|
6659
6659
|
|
|
6660
|
-
var StyledInput$
|
|
6660
|
+
var StyledInput$2 = styled__default["default"].input.withConfig({
|
|
6661
6661
|
displayName: "Styles__StyledInput",
|
|
6662
6662
|
componentId: "sc-y7zymm-0"
|
|
6663
6663
|
})(["display:none;"]);
|
|
6664
|
-
StyledInput$
|
|
6664
|
+
StyledInput$2.displayName = "StyledInput";
|
|
6665
6665
|
var StyledLabel = styled__default["default"].label.withConfig({
|
|
6666
6666
|
displayName: "Styles__StyledLabel",
|
|
6667
6667
|
componentId: "sc-y7zymm-1"
|
|
@@ -6670,12 +6670,12 @@
|
|
|
6670
6670
|
var StyledCheckbox$1 = styled__default["default"].div.withConfig({
|
|
6671
6671
|
displayName: "Styles__StyledCheckbox",
|
|
6672
6672
|
componentId: "sc-y7zymm-2"
|
|
6673
|
-
})(["height:16px;width:16px;position:relative;transition-duration:0.2s;border-radius:2px;path{transition-duration:0.2s;stroke:transparent;stroke-dashoffset:12;stroke-dasharray:12;}svg{cursor:pointer;border-radius:2px;fill:transparent;}rect{transition-duration:0.2s;stroke:var(--color-theme-500);}", ":disabled ~ ", "{pointer-events:none;opacity:0.5;}", ":focus ~ ", "{rect{stroke:var(--color-secondary);stroke-width:3px;}}&:not(.c-checkbox__controlled) ", ":hover:not(:checked) ~ ", "{path{stroke:var(--color-secondary-500);stroke-dashoffset:24;}rect{stroke:var(--color-secondary);stroke-width:3px;}}", " ", ":checked ~ ", "{path{stroke:var(--page-paper-main);stroke-dashoffset:24;}rect{stroke:var(--color-secondary);stroke-width:19px;}}"], StyledInput$
|
|
6674
|
-
return props.hover && styled.css(["", ":not(:checked) ~ ", "{path{stroke:var(--color-secondary-500);stroke-dashoffset:24;}rect{stroke:var(--color-secondary);stroke-width:3px;}}"], StyledInput$
|
|
6675
|
-
}, StyledInput$
|
|
6673
|
+
})(["height:16px;width:16px;position:relative;transition-duration:0.2s;border-radius:2px;path{transition-duration:0.2s;stroke:transparent;stroke-dashoffset:12;stroke-dasharray:12;}svg{cursor:pointer;border-radius:2px;fill:transparent;}rect{transition-duration:0.2s;stroke:var(--color-theme-500);}", ":disabled ~ ", "{pointer-events:none;opacity:0.5;}", ":focus ~ ", "{rect{stroke:var(--color-secondary);stroke-width:3px;}}&:not(.c-checkbox__controlled) ", ":hover:not(:checked) ~ ", "{path{stroke:var(--color-secondary-500);stroke-dashoffset:24;}rect{stroke:var(--color-secondary);stroke-width:3px;}}", " ", ":checked ~ ", "{path{stroke:var(--page-paper-main);stroke-dashoffset:24;}rect{stroke:var(--color-secondary);stroke-width:19px;}}"], StyledInput$2, StyledLabel, StyledInput$2, StyledLabel, StyledInput$2, StyledLabel, function (props) {
|
|
6674
|
+
return props.hover && styled.css(["", ":not(:checked) ~ ", "{path{stroke:var(--color-secondary-500);stroke-dashoffset:24;}rect{stroke:var(--color-secondary);stroke-width:3px;}}"], StyledInput$2, StyledLabel);
|
|
6675
|
+
}, StyledInput$2, StyledLabel);
|
|
6676
6676
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
6677
6677
|
|
|
6678
|
-
var _excluded$
|
|
6678
|
+
var _excluded$D = ["className", "hover", "id"];
|
|
6679
6679
|
|
|
6680
6680
|
/**
|
|
6681
6681
|
* Checkbox component
|
|
@@ -6685,7 +6685,7 @@
|
|
|
6685
6685
|
hover = _ref.hover,
|
|
6686
6686
|
_ref$id = _ref.id,
|
|
6687
6687
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
6688
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6688
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
6689
6689
|
|
|
6690
6690
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
|
|
6691
6691
|
className: classNames__default["default"]("c-checkbox", {
|
|
@@ -6693,7 +6693,7 @@
|
|
|
6693
6693
|
"c-checkbox__controlled": typeof hover === "boolean"
|
|
6694
6694
|
}, className),
|
|
6695
6695
|
hover: hover
|
|
6696
|
-
}, /*#__PURE__*/React__default["default"].createElement(StyledInput$
|
|
6696
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledInput$2, _extends({
|
|
6697
6697
|
id: id,
|
|
6698
6698
|
className: "c-checkbox--input",
|
|
6699
6699
|
type: "checkbox",
|
|
@@ -6875,7 +6875,7 @@
|
|
|
6875
6875
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
6876
6876
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
6877
6877
|
|
|
6878
|
-
var _excluded$
|
|
6878
|
+
var _excluded$C = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
6879
6879
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6880
6880
|
var children = _ref.children,
|
|
6881
6881
|
className = _ref.className,
|
|
@@ -6889,7 +6889,7 @@
|
|
|
6889
6889
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
6890
6890
|
innerColor = _ref.innerColor,
|
|
6891
6891
|
outerColor = _ref.outerColor,
|
|
6892
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6892
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
6893
6893
|
|
|
6894
6894
|
var _useState = React.useState({
|
|
6895
6895
|
top: 0,
|
|
@@ -7019,7 +7019,7 @@
|
|
|
7019
7019
|
return height;
|
|
7020
7020
|
};
|
|
7021
7021
|
|
|
7022
|
-
var _excluded$
|
|
7022
|
+
var _excluded$B = ["as", "className", "invert", "style"];
|
|
7023
7023
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7024
7024
|
var _ref$as = _ref.as,
|
|
7025
7025
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -7027,7 +7027,7 @@
|
|
|
7027
7027
|
_ref$invert = _ref.invert,
|
|
7028
7028
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
7029
7029
|
style = _ref.style,
|
|
7030
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7030
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
7031
7031
|
|
|
7032
7032
|
var internalRef = useInitScrollRef(null, invert);
|
|
7033
7033
|
var handleRef = useForkRef(internalRef, ref);
|
|
@@ -7504,7 +7504,7 @@
|
|
|
7504
7504
|
});
|
|
7505
7505
|
});
|
|
7506
7506
|
StyledInputWrapper.displayName = "StyledInputWrapper";
|
|
7507
|
-
var StyledInput = styled__default["default"].input.withConfig({
|
|
7507
|
+
var StyledInput$1 = styled__default["default"].input.withConfig({
|
|
7508
7508
|
displayName: "Styles__StyledInput",
|
|
7509
7509
|
componentId: "sc-ce8kcp-1"
|
|
7510
7510
|
})(["", " ", " ", " ", " ", " ", " padding:0px;margin:0 4px;background-color:var(--input-background-color);border:none;outline:none;&::placeholder{", "}", " ", " ", ""], {
|
|
@@ -7532,9 +7532,9 @@
|
|
|
7532
7532
|
}, function (props) {
|
|
7533
7533
|
return props.$loading && styled.css(["cursor:progress;"]);
|
|
7534
7534
|
});
|
|
7535
|
-
StyledInput.displayName = "StyledInput";
|
|
7535
|
+
StyledInput$1.displayName = "StyledInput";
|
|
7536
7536
|
|
|
7537
|
-
var _excluded$
|
|
7537
|
+
var _excluded$A = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef"];
|
|
7538
7538
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7539
7539
|
var _ref$className = _ref.className,
|
|
7540
7540
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -7550,7 +7550,7 @@
|
|
|
7550
7550
|
startAdornment = _ref.startAdornment,
|
|
7551
7551
|
endAdornment = _ref.endAdornment,
|
|
7552
7552
|
wrapRef = _ref.wrapRef,
|
|
7553
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7553
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
7554
7554
|
|
|
7555
7555
|
var intInputRef = React.useRef(null);
|
|
7556
7556
|
var handleRef = useForkRef(ref, intInputRef);
|
|
@@ -7567,7 +7567,7 @@
|
|
|
7567
7567
|
className: classNames__default["default"]("c-input-wrapper", className),
|
|
7568
7568
|
onClick: handleWrapperClick,
|
|
7569
7569
|
ref: wrapRef
|
|
7570
|
-
}, startAdornment, /*#__PURE__*/React__default["default"].createElement(StyledInput, _extends({
|
|
7570
|
+
}, startAdornment, /*#__PURE__*/React__default["default"].createElement(StyledInput$1, _extends({
|
|
7571
7571
|
ref: handleRef,
|
|
7572
7572
|
type: type,
|
|
7573
7573
|
$size: size,
|
|
@@ -7603,14 +7603,14 @@
|
|
|
7603
7603
|
}, StyledRadioLabel);
|
|
7604
7604
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
7605
7605
|
|
|
7606
|
-
var _excluded$
|
|
7606
|
+
var _excluded$z = ["className", "id", "hover"];
|
|
7607
7607
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7608
7608
|
var _ref$className = _ref.className,
|
|
7609
7609
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
7610
7610
|
_ref$id = _ref.id,
|
|
7611
7611
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
7612
7612
|
hover = _ref.hover,
|
|
7613
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7613
|
+
props = _objectWithoutProperties(_ref, _excluded$z);
|
|
7614
7614
|
|
|
7615
7615
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
7616
7616
|
className: classNames__default["default"]("c-radio-btn", {
|
|
@@ -7703,7 +7703,7 @@
|
|
|
7703
7703
|
};
|
|
7704
7704
|
OptionContent.displayName = "OptionContent";
|
|
7705
7705
|
|
|
7706
|
-
var _excluded$
|
|
7706
|
+
var _excluded$y = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue"];
|
|
7707
7707
|
var Select = function Select(_ref) {
|
|
7708
7708
|
var _ref$type = _ref.type,
|
|
7709
7709
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -7737,7 +7737,7 @@
|
|
|
7737
7737
|
handleDefaultOptionChange = _ref.handleDefaultOptionChange,
|
|
7738
7738
|
_ref$preselectDefault = _ref.preselectDefaultValue,
|
|
7739
7739
|
preselectDefaultValue = _ref$preselectDefault === void 0 ? type === "single" : _ref$preselectDefault,
|
|
7740
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
7740
|
+
prop = _objectWithoutProperties(_ref, _excluded$y);
|
|
7741
7741
|
|
|
7742
7742
|
var _useState = React.useState(),
|
|
7743
7743
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7996,7 +7996,7 @@
|
|
|
7996
7996
|
});
|
|
7997
7997
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
7998
7998
|
|
|
7999
|
-
var _excluded$
|
|
7999
|
+
var _excluded$x = ["children", "active", "disabled", "className", "role"];
|
|
8000
8000
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
8001
8001
|
var children = _ref.children,
|
|
8002
8002
|
_ref$active = _ref.active,
|
|
@@ -8005,7 +8005,7 @@
|
|
|
8005
8005
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8006
8006
|
className = _ref.className,
|
|
8007
8007
|
role = _ref.role,
|
|
8008
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8008
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
8009
8009
|
|
|
8010
8010
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
8011
8011
|
className: classNames__default["default"]("c-nav__item", {
|
|
@@ -8047,11 +8047,11 @@
|
|
|
8047
8047
|
});
|
|
8048
8048
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
8049
8049
|
|
|
8050
|
-
var _excluded$
|
|
8050
|
+
var _excluded$w = ["expanded"];
|
|
8051
8051
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8052
8052
|
var _ref$expanded = _ref.expanded,
|
|
8053
8053
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
8054
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8054
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
8055
8055
|
|
|
8056
8056
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
8057
8057
|
ref: ref,
|
|
@@ -8364,7 +8364,7 @@
|
|
|
8364
8364
|
};
|
|
8365
8365
|
Nav.displayName = "Nav";
|
|
8366
8366
|
|
|
8367
|
-
var _excluded$
|
|
8367
|
+
var _excluded$v = ["children", "as", "disablePointerEvents"];
|
|
8368
8368
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
8369
8369
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
8370
8370
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -8381,7 +8381,7 @@
|
|
|
8381
8381
|
var children = _ref.children,
|
|
8382
8382
|
as = _ref.as,
|
|
8383
8383
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
8384
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8384
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
8385
8385
|
|
|
8386
8386
|
var Component = as || "div";
|
|
8387
8387
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
@@ -8392,11 +8392,11 @@
|
|
|
8392
8392
|
});
|
|
8393
8393
|
InputAdornment.displayName = "InputAdornment";
|
|
8394
8394
|
|
|
8395
|
-
var _excluded$
|
|
8395
|
+
var _excluded$u = ["expanded"];
|
|
8396
8396
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8397
8397
|
var _ref$expanded = _ref.expanded,
|
|
8398
8398
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
8399
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8399
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
8400
8400
|
|
|
8401
8401
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
8402
8402
|
ref: ref,
|
|
@@ -8603,14 +8603,14 @@
|
|
|
8603
8603
|
});
|
|
8604
8604
|
StyledTextarea.displayName = "StyledTextarea";
|
|
8605
8605
|
|
|
8606
|
-
var _excluded$
|
|
8606
|
+
var _excluded$t = ["className", "disabled", "invalid"];
|
|
8607
8607
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8608
8608
|
var className = _ref.className,
|
|
8609
8609
|
_ref$disabled = _ref.disabled,
|
|
8610
8610
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8611
8611
|
_ref$invalid = _ref.invalid,
|
|
8612
8612
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
8613
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8613
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
8614
8614
|
|
|
8615
8615
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
8616
8616
|
$invalid: invalid,
|
|
@@ -8645,7 +8645,7 @@
|
|
|
8645
8645
|
function () {});
|
|
8646
8646
|
}
|
|
8647
8647
|
|
|
8648
|
-
var _excluded$
|
|
8648
|
+
var _excluded$s = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "open", "onClose"];
|
|
8649
8649
|
|
|
8650
8650
|
var getHasTransition = function getHasTransition(children) {
|
|
8651
8651
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
@@ -8664,7 +8664,7 @@
|
|
|
8664
8664
|
_ref$open = _ref.open,
|
|
8665
8665
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
8666
8666
|
onClose = _ref.onClose,
|
|
8667
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8667
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
8668
8668
|
|
|
8669
8669
|
var _useState = React.useState(defaultOpen),
|
|
8670
8670
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8803,7 +8803,7 @@
|
|
|
8803
8803
|
});
|
|
8804
8804
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
8805
8805
|
|
|
8806
|
-
var _excluded$
|
|
8806
|
+
var _excluded$r = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
8807
8807
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8808
8808
|
var children = _ref.children,
|
|
8809
8809
|
onClose = _ref.onClose,
|
|
@@ -8827,7 +8827,7 @@
|
|
|
8827
8827
|
bodyClassName = _ref.bodyClassName,
|
|
8828
8828
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
8829
8829
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
8830
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8830
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
8831
8831
|
|
|
8832
8832
|
var _useState = React.useState(defaultOpen),
|
|
8833
8833
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8925,13 +8925,13 @@
|
|
|
8925
8925
|
});
|
|
8926
8926
|
StyledHeader.displayName = "StyledHeader";
|
|
8927
8927
|
|
|
8928
|
-
var _excluded$
|
|
8928
|
+
var _excluded$q = ["className", "size", "children"];
|
|
8929
8929
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8930
8930
|
var className = _ref.className,
|
|
8931
8931
|
_ref$size = _ref.size,
|
|
8932
8932
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
8933
8933
|
children = _ref.children,
|
|
8934
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8934
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
8935
8935
|
|
|
8936
8936
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
8937
8937
|
type: "paper-2",
|
|
@@ -8948,7 +8948,7 @@
|
|
|
8948
8948
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
8949
8949
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
8950
8950
|
|
|
8951
|
-
var _excluded$
|
|
8951
|
+
var _excluded$p = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
8952
8952
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8953
8953
|
var _ref$minRows = _ref.minRows,
|
|
8954
8954
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -8964,7 +8964,7 @@
|
|
|
8964
8964
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
8965
8965
|
onKeyDown = _ref.onKeyDown,
|
|
8966
8966
|
value = _ref.value,
|
|
8967
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8967
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
8968
8968
|
|
|
8969
8969
|
var innerRef = React.useRef(null);
|
|
8970
8970
|
|
|
@@ -9255,7 +9255,7 @@
|
|
|
9255
9255
|
});
|
|
9256
9256
|
StyledChoose.displayName = "StyledChoose";
|
|
9257
9257
|
|
|
9258
|
-
var _excluded$
|
|
9258
|
+
var _excluded$o = ["children", "disabled", "active", "className"];
|
|
9259
9259
|
|
|
9260
9260
|
/**
|
|
9261
9261
|
* Choose component
|
|
@@ -9267,7 +9267,7 @@
|
|
|
9267
9267
|
_ref$active = _ref.active,
|
|
9268
9268
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
9269
9269
|
className = _ref.className,
|
|
9270
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9270
|
+
args = _objectWithoutProperties(_ref, _excluded$o);
|
|
9271
9271
|
|
|
9272
9272
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
9273
9273
|
disabled: disabled,
|
|
@@ -9360,7 +9360,7 @@
|
|
|
9360
9360
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
9361
9361
|
StyledLink.displayName = "StyledLink";
|
|
9362
9362
|
|
|
9363
|
-
var _excluded$
|
|
9363
|
+
var _excluded$n = ["children", "className"];
|
|
9364
9364
|
|
|
9365
9365
|
/**
|
|
9366
9366
|
* Back link component
|
|
@@ -9368,7 +9368,7 @@
|
|
|
9368
9368
|
var BackLink = function BackLink(_ref) {
|
|
9369
9369
|
var children = _ref.children,
|
|
9370
9370
|
className = _ref.className,
|
|
9371
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9371
|
+
args = _objectWithoutProperties(_ref, _excluded$n);
|
|
9372
9372
|
|
|
9373
9373
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
9374
9374
|
className: classNames__default["default"]("c-back-link", className)
|
|
@@ -9376,7 +9376,7 @@
|
|
|
9376
9376
|
};
|
|
9377
9377
|
BackLink.displayName = "BackLink";
|
|
9378
9378
|
|
|
9379
|
-
var _excluded$
|
|
9379
|
+
var _excluded$m = ["children", "variant", "size", "disabled", "className"];
|
|
9380
9380
|
|
|
9381
9381
|
/**
|
|
9382
9382
|
* Link component
|
|
@@ -9389,7 +9389,7 @@
|
|
|
9389
9389
|
_ref$disabled = _ref.disabled,
|
|
9390
9390
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
9391
9391
|
className = _ref.className,
|
|
9392
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9392
|
+
args = _objectWithoutProperties(_ref, _excluded$m);
|
|
9393
9393
|
|
|
9394
9394
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
9395
9395
|
disabled: disabled,
|
|
@@ -9534,11 +9534,11 @@
|
|
|
9534
9534
|
});
|
|
9535
9535
|
Dialog.displayName = "Dialog";
|
|
9536
9536
|
|
|
9537
|
-
var _excluded$
|
|
9537
|
+
var _excluded$l = ["className", "children"];
|
|
9538
9538
|
var DialogContent = function DialogContent(_ref) {
|
|
9539
9539
|
var className = _ref.className,
|
|
9540
9540
|
children = _ref.children,
|
|
9541
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9541
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
9542
9542
|
|
|
9543
9543
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
9544
9544
|
className: classNames__default["default"]("c-dialog-content", className)
|
|
@@ -9554,13 +9554,13 @@
|
|
|
9554
9554
|
};
|
|
9555
9555
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
9556
9556
|
|
|
9557
|
-
var _excluded$
|
|
9557
|
+
var _excluded$k = ["children", "className", "disableDefaultHeading"];
|
|
9558
9558
|
var DialogTitle = function DialogTitle(_ref) {
|
|
9559
9559
|
var children = _ref.children,
|
|
9560
9560
|
className = _ref.className,
|
|
9561
9561
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
9562
9562
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
9563
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9563
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
9564
9564
|
|
|
9565
9565
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
9566
9566
|
className: classNames__default["default"]("c-dialog-title-wrapper", className)
|
|
@@ -9568,11 +9568,11 @@
|
|
|
9568
9568
|
};
|
|
9569
9569
|
DialogTitle.displayName = "DialogTitle";
|
|
9570
9570
|
|
|
9571
|
-
var _excluded$
|
|
9571
|
+
var _excluded$j = ["className", "children"];
|
|
9572
9572
|
var DialogActions = function DialogActions(_ref) {
|
|
9573
9573
|
var className = _ref.className,
|
|
9574
9574
|
children = _ref.children,
|
|
9575
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9575
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
9576
9576
|
|
|
9577
9577
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
9578
9578
|
className: classNames__default["default"]("c-dialog-actions", className)
|
|
@@ -9782,7 +9782,7 @@
|
|
|
9782
9782
|
});
|
|
9783
9783
|
StyledPressed.displayName = "StyledPressed";
|
|
9784
9784
|
|
|
9785
|
-
var _excluded$
|
|
9785
|
+
var _excluded$i = ["children", "active", "className"];
|
|
9786
9786
|
|
|
9787
9787
|
/**
|
|
9788
9788
|
* Pressed wrapper for button component
|
|
@@ -9792,7 +9792,7 @@
|
|
|
9792
9792
|
_ref$active = _ref.active,
|
|
9793
9793
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
9794
9794
|
className = _ref.className,
|
|
9795
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9795
|
+
args = _objectWithoutProperties(_ref, _excluded$i);
|
|
9796
9796
|
|
|
9797
9797
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
9798
9798
|
active: active,
|
|
@@ -10278,7 +10278,7 @@
|
|
|
10278
10278
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
10279
10279
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
10280
10280
|
|
|
10281
|
-
var _excluded$
|
|
10281
|
+
var _excluded$h = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
10282
10282
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10283
10283
|
var text = _ref.text,
|
|
10284
10284
|
type = _ref.type,
|
|
@@ -10289,7 +10289,7 @@
|
|
|
10289
10289
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
10290
10290
|
_ref$timeout = _ref.timeout,
|
|
10291
10291
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
10292
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10292
|
+
rest = _objectWithoutProperties(_ref, _excluded$h);
|
|
10293
10293
|
|
|
10294
10294
|
var handleOnClose = React.useCallback(function () {
|
|
10295
10295
|
if (typeof onClose === "function") {
|
|
@@ -10314,7 +10314,7 @@
|
|
|
10314
10314
|
});
|
|
10315
10315
|
ToastMessage.displayName = "ToastMessage";
|
|
10316
10316
|
|
|
10317
|
-
var _excluded$
|
|
10317
|
+
var _excluded$g = ["in", "children", "style", "timeout"];
|
|
10318
10318
|
|
|
10319
10319
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
10320
10320
|
return {
|
|
@@ -10344,7 +10344,7 @@
|
|
|
10344
10344
|
style = _ref.style,
|
|
10345
10345
|
_ref$timeout = _ref.timeout,
|
|
10346
10346
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
10347
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10347
|
+
rest = _objectWithoutProperties(_ref, _excluded$g);
|
|
10348
10348
|
|
|
10349
10349
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10350
10350
|
appear: true,
|
|
@@ -10360,7 +10360,7 @@
|
|
|
10360
10360
|
};
|
|
10361
10361
|
Fade.displayName = "Fade";
|
|
10362
10362
|
|
|
10363
|
-
var _excluded$
|
|
10363
|
+
var _excluded$f = ["in", "children", "style", "timeout", "initialDirection"];
|
|
10364
10364
|
var Slide = function Slide(_ref) {
|
|
10365
10365
|
var _ref$in = _ref.in,
|
|
10366
10366
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -10370,7 +10370,7 @@
|
|
|
10370
10370
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
10371
10371
|
_ref$initialDirection = _ref.initialDirection,
|
|
10372
10372
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
10373
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10373
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
10374
10374
|
|
|
10375
10375
|
var directionSign;
|
|
10376
10376
|
|
|
@@ -10430,12 +10430,12 @@
|
|
|
10430
10430
|
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;}"]);
|
|
10431
10431
|
});
|
|
10432
10432
|
|
|
10433
|
-
var _excluded$
|
|
10433
|
+
var _excluded$e = ["children", "direction"];
|
|
10434
10434
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
10435
10435
|
var children = _ref.children,
|
|
10436
10436
|
_ref$direction = _ref.direction,
|
|
10437
10437
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
10438
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10438
|
+
props = _objectWithoutProperties(_ref, _excluded$e);
|
|
10439
10439
|
|
|
10440
10440
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
10441
10441
|
timeout: 200,
|
|
@@ -10479,7 +10479,7 @@
|
|
|
10479
10479
|
};
|
|
10480
10480
|
ResizeTransition.displayName = "ResizeTransition";
|
|
10481
10481
|
|
|
10482
|
-
var _excluded$
|
|
10482
|
+
var _excluded$d = ["in", "children", "style", "timeout"];
|
|
10483
10483
|
|
|
10484
10484
|
var defaultStyle = function defaultStyle(duration) {
|
|
10485
10485
|
return {
|
|
@@ -10515,7 +10515,7 @@
|
|
|
10515
10515
|
style = _ref.style,
|
|
10516
10516
|
_ref$timeout = _ref.timeout,
|
|
10517
10517
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
10518
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10518
|
+
rest = _objectWithoutProperties(_ref, _excluded$d);
|
|
10519
10519
|
|
|
10520
10520
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10521
10521
|
appear: true,
|
|
@@ -10590,7 +10590,7 @@
|
|
|
10590
10590
|
});
|
|
10591
10591
|
StyledValueButton.displayName = "StyledValueButton";
|
|
10592
10592
|
|
|
10593
|
-
var _excluded$
|
|
10593
|
+
var _excluded$c = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
10594
10594
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10595
10595
|
var _ref$active = _ref.active,
|
|
10596
10596
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -10599,7 +10599,7 @@
|
|
|
10599
10599
|
icon = _ref.icon,
|
|
10600
10600
|
label = _ref.label,
|
|
10601
10601
|
value = _ref.value,
|
|
10602
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10602
|
+
args = _objectWithoutProperties(_ref, _excluded$c);
|
|
10603
10603
|
|
|
10604
10604
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
10605
10605
|
className: "c-value-button"
|
|
@@ -10629,12 +10629,12 @@
|
|
|
10629
10629
|
})(["border:none;margin:0;padding:0;width:auto;overflow:visible;cursor:pointer;background:transparent;outline:none;color:inherit;font:inherit;line-height:inherit;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;&::-moz-focus-inner{border:0;padding:0;}"]);
|
|
10630
10630
|
StyledButton.displayName = "StyledButton";
|
|
10631
10631
|
|
|
10632
|
-
var _excluded$
|
|
10632
|
+
var _excluded$b = ["children", "type"];
|
|
10633
10633
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10634
10634
|
var children = _ref.children,
|
|
10635
10635
|
_ref$type = _ref.type,
|
|
10636
10636
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
10637
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10637
|
+
rest = _objectWithoutProperties(_ref, _excluded$b);
|
|
10638
10638
|
|
|
10639
10639
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
10640
10640
|
ref: ref,
|
|
@@ -10678,7 +10678,7 @@
|
|
|
10678
10678
|
})(["transform:rotate(180deg);margin-left:8px;flex-shrink:0;"]);
|
|
10679
10679
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
10680
10680
|
|
|
10681
|
-
var _excluded$
|
|
10681
|
+
var _excluded$a = ["children", "type", "size", "invalid", "endAdornment"];
|
|
10682
10682
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10683
10683
|
var children = _ref.children,
|
|
10684
10684
|
_ref$type = _ref.type,
|
|
@@ -10688,7 +10688,7 @@
|
|
|
10688
10688
|
_ref$invalid = _ref.invalid,
|
|
10689
10689
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
10690
10690
|
endAdornment = _ref.endAdornment,
|
|
10691
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10691
|
+
rest = _objectWithoutProperties(_ref, _excluded$a);
|
|
10692
10692
|
|
|
10693
10693
|
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
10694
10694
|
ref: ref,
|
|
@@ -10734,11 +10734,11 @@
|
|
|
10734
10734
|
});
|
|
10735
10735
|
StyledToggle.displayName = "StyledToggle";
|
|
10736
10736
|
|
|
10737
|
-
var _excluded$
|
|
10737
|
+
var _excluded$9 = ["hovered", "className"];
|
|
10738
10738
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10739
10739
|
var hovered = _ref.hovered,
|
|
10740
10740
|
className = _ref.className,
|
|
10741
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10741
|
+
args = _objectWithoutProperties(_ref, _excluded$9);
|
|
10742
10742
|
|
|
10743
10743
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
10744
10744
|
className: classNames__default["default"]("c-toggle", className),
|
|
@@ -10895,7 +10895,7 @@
|
|
|
10895
10895
|
});
|
|
10896
10896
|
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
10897
10897
|
|
|
10898
|
-
var _excluded$
|
|
10898
|
+
var _excluded$8 = ["leftAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "isLabel"];
|
|
10899
10899
|
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
10900
10900
|
var leftAdornment = _ref.leftAdornment,
|
|
10901
10901
|
label = _ref.label,
|
|
@@ -10906,7 +10906,7 @@
|
|
|
10906
10906
|
backgroundColor = _ref.backgroundColor,
|
|
10907
10907
|
closeClassName = _ref.closeClassName,
|
|
10908
10908
|
isLabel = _ref.isLabel,
|
|
10909
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10909
|
+
rest = _objectWithoutProperties(_ref, _excluded$8);
|
|
10910
10910
|
|
|
10911
10911
|
var showClose = typeof onClose === "function";
|
|
10912
10912
|
var variant = React.useMemo(function () {
|
|
@@ -10979,7 +10979,7 @@
|
|
|
10979
10979
|
return condition ? wrap(children) : children;
|
|
10980
10980
|
};
|
|
10981
10981
|
|
|
10982
|
-
var _excluded$
|
|
10982
|
+
var _excluded$7 = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid", "type", "renderChip", "forceCloseMenu", "renderOption", "limitChips", "hiddenNumberText", "inPortal", "inputWrapperClassName", "scrollWrapper"];
|
|
10983
10983
|
var ComboBox = function ComboBox(_ref) {
|
|
10984
10984
|
var _comboBoxRef$current2, _comboBoxRef$current3;
|
|
10985
10985
|
|
|
@@ -11011,7 +11011,7 @@
|
|
|
11011
11011
|
inPortal = _ref$inPortal === void 0 ? false : _ref$inPortal,
|
|
11012
11012
|
inputWrapperClassName = _ref.inputWrapperClassName,
|
|
11013
11013
|
scrollWrapper = _ref.scrollWrapper,
|
|
11014
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
11014
|
+
prop = _objectWithoutProperties(_ref, _excluded$7);
|
|
11015
11015
|
|
|
11016
11016
|
var selectedName = React.useMemo(function () {
|
|
11017
11017
|
var value = "";
|
|
@@ -11274,7 +11274,7 @@
|
|
|
11274
11274
|
$autoSize: autoSize,
|
|
11275
11275
|
$open: open,
|
|
11276
11276
|
ref: chipWrapper
|
|
11277
|
-
}, startAdornment, /*#__PURE__*/React__default["default"].createElement(StyledInput, {
|
|
11277
|
+
}, startAdornment, /*#__PURE__*/React__default["default"].createElement(StyledInput$1, {
|
|
11278
11278
|
className: "c-combo-box-input",
|
|
11279
11279
|
onBlur: handleBlur,
|
|
11280
11280
|
onFocus: onOpen,
|
|
@@ -11401,11 +11401,11 @@
|
|
|
11401
11401
|
})(["display:flex;justify-content:center;gap:12px;align-items:center;height:32px;padding:4px 16px 4px 4px;position:relative;background:none;border:none;cursor:pointer;&:before{content:\"\";display:block;height:2px;width:0%;position:absolute;left:16px;background:var(--color-primary);transition:ease 0.3s all;border-radius:30px;opacity:0;}&:hover{", "{color:var(--page-paper-main);}&:before{height:32px;width:100%;left:0;opacity:1;}", "{fill:var(--page-paper-main);transform:rotate(90deg);transition:ease 0.3s;}}"], StyledText, StyledAddCrossIcon);
|
|
11402
11402
|
StyledAddToListButton.displayName = "StyledAddToListButton";
|
|
11403
11403
|
|
|
11404
|
-
var _excluded$
|
|
11404
|
+
var _excluded$6 = ["text", "className"];
|
|
11405
11405
|
var AddToListButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11406
11406
|
var text = _ref.text,
|
|
11407
11407
|
className = _ref.className,
|
|
11408
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11408
|
+
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
11409
11409
|
|
|
11410
11410
|
return /*#__PURE__*/React__default["default"].createElement(StyledAddToListButton, _extends({
|
|
11411
11411
|
ref: ref,
|
|
@@ -11810,7 +11810,7 @@
|
|
|
11810
11810
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
11811
11811
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
11812
11812
|
|
|
11813
|
-
var _excluded$
|
|
11813
|
+
var _excluded$5 = ["invalid", "required", "size", "children", "className", "weight"];
|
|
11814
11814
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11815
11815
|
var _ref$invalid = _ref.invalid,
|
|
11816
11816
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -11822,7 +11822,7 @@
|
|
|
11822
11822
|
className = _ref.className,
|
|
11823
11823
|
_ref$weight = _ref.weight,
|
|
11824
11824
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
11825
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11825
|
+
props = _objectWithoutProperties(_ref, _excluded$5);
|
|
11826
11826
|
|
|
11827
11827
|
var color = invalid ? "alert" : "primary";
|
|
11828
11828
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
@@ -11941,6 +11941,82 @@
|
|
|
11941
11941
|
};
|
|
11942
11942
|
ProgressRing.displayName = "ProgressRing";
|
|
11943
11943
|
|
|
11944
|
+
var StyledDiv = styled__default["default"].div.withConfig({
|
|
11945
|
+
displayName: "Styles__StyledDiv",
|
|
11946
|
+
componentId: "sc-1wapx2a-0"
|
|
11947
|
+
})(["", " ", " ", ""], FontStyle, BoxSizingStyle, {
|
|
11948
|
+
"position": "relative",
|
|
11949
|
+
"display": "inline-block",
|
|
11950
|
+
"maxWidth": "100%"
|
|
11951
|
+
});
|
|
11952
|
+
var StyledSpan = styled__default["default"](Typography).withConfig({
|
|
11953
|
+
displayName: "Styles__StyledSpan",
|
|
11954
|
+
componentId: "sc-1wapx2a-1"
|
|
11955
|
+
})(["visibility:hidden;display:block;padding-left:4px;padding-right:4px;padding-top:1px;padding-bottom:1px;position:relative;border:1px solid transparent;border-radius:6px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:pre;&:empty:before{content:\"i\";}"]);
|
|
11956
|
+
StyledSpan.displayName = "StyledSpan";
|
|
11957
|
+
var StyledInput = styled__default["default"](Typography).withConfig({
|
|
11958
|
+
displayName: "Styles__StyledInput",
|
|
11959
|
+
componentId: "sc-1wapx2a-2"
|
|
11960
|
+
})(["", " background-color:inherit;padding-left:4px;padding-right:4px;padding-top:1px;padding-bottom:1px;text-overflow:ellipsis;&:focus-whitin{text-overflow:clip;}outline-width:0px;outline:none;"], {
|
|
11961
|
+
"position": "absolute",
|
|
11962
|
+
"top": "0px",
|
|
11963
|
+
"right": "0px",
|
|
11964
|
+
"bottom": "0px",
|
|
11965
|
+
"left": "0px",
|
|
11966
|
+
"borderWidth": "1px",
|
|
11967
|
+
"borderColor": "rgba(0, 0, 0, 0)",
|
|
11968
|
+
"borderStyle": "solid",
|
|
11969
|
+
":hover": {
|
|
11970
|
+
"borderColor": "var(--color-theme-700)"
|
|
11971
|
+
},
|
|
11972
|
+
":focus-within": {
|
|
11973
|
+
"borderColor": "var(--color-theme-700)",
|
|
11974
|
+
"overflow": "scroll"
|
|
11975
|
+
},
|
|
11976
|
+
"borderRadius": "0.375rem",
|
|
11977
|
+
"boxSizing": "border-box",
|
|
11978
|
+
"overflow": "hidden",
|
|
11979
|
+
"whiteSpace": "nowrap",
|
|
11980
|
+
"width": "100%"
|
|
11981
|
+
});
|
|
11982
|
+
StyledInput.displayName = "StyledInput";
|
|
11983
|
+
|
|
11984
|
+
var _excluded$4 = ["className", "variant", "weight", "inputProps"];
|
|
11985
|
+
var EditableContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11986
|
+
var className = _ref.className,
|
|
11987
|
+
_ref$variant = _ref.variant,
|
|
11988
|
+
variant = _ref$variant === void 0 ? "Body 2" : _ref$variant,
|
|
11989
|
+
weight = _ref.weight,
|
|
11990
|
+
inputProps = _ref.inputProps,
|
|
11991
|
+
props = _objectWithoutProperties(_ref, _excluded$4);
|
|
11992
|
+
|
|
11993
|
+
var _useState = React.useState(function () {
|
|
11994
|
+
return inputProps === null || inputProps === void 0 ? void 0 : inputProps.value;
|
|
11995
|
+
}),
|
|
11996
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
11997
|
+
innerValue = _useState2[0],
|
|
11998
|
+
setInnerValue = _useState2[1];
|
|
11999
|
+
|
|
12000
|
+
var handleChange = React.useCallback(function (evt) {
|
|
12001
|
+
setInnerValue(evt.target.value);
|
|
12002
|
+
}, []);
|
|
12003
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledDiv, _extends({
|
|
12004
|
+
className: className,
|
|
12005
|
+
ref: ref
|
|
12006
|
+
}, props), /*#__PURE__*/React__default["default"].createElement(StyledSpan, {
|
|
12007
|
+
variant: variant,
|
|
12008
|
+
forwardedAs: "span",
|
|
12009
|
+
weight: weight
|
|
12010
|
+
}, innerValue), /*#__PURE__*/React__default["default"].createElement(StyledInput, _extends({}, inputProps, {
|
|
12011
|
+
forwardedAs: "input",
|
|
12012
|
+
variant: variant,
|
|
12013
|
+
weight: weight,
|
|
12014
|
+
onChange: handleChange,
|
|
12015
|
+
value: innerValue
|
|
12016
|
+
})));
|
|
12017
|
+
});
|
|
12018
|
+
EditableContent.displayName = "EditableContent";
|
|
12019
|
+
|
|
11944
12020
|
var _excluded$3 = ["withDocuments"];
|
|
11945
12021
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
11946
12022
|
var _ref$withDocuments = _ref.withDocuments,
|
|
@@ -12548,7 +12624,9 @@
|
|
|
12548
12624
|
_ref$shouldRenderNext = _ref.shouldRenderNextButton,
|
|
12549
12625
|
shouldRenderNextButton = _ref$shouldRenderNext === void 0 ? true : _ref$shouldRenderNext,
|
|
12550
12626
|
_ref$changingStepInPr = _ref.changingStepInProgress,
|
|
12551
|
-
changingStepInProgress = _ref$changingStepInPr === void 0 ? false : _ref$changingStepInPr
|
|
12627
|
+
changingStepInProgress = _ref$changingStepInPr === void 0 ? false : _ref$changingStepInPr,
|
|
12628
|
+
_ref$skip = _ref.skip,
|
|
12629
|
+
skip = _ref$skip === void 0 ? false : _ref$skip;
|
|
12552
12630
|
var onActionButtonClick = React.useCallback(function () {
|
|
12553
12631
|
if (isLast && onClose) {
|
|
12554
12632
|
return onClose();
|
|
@@ -12556,7 +12634,7 @@
|
|
|
12556
12634
|
|
|
12557
12635
|
return onNextButtonClick && onNextButtonClick();
|
|
12558
12636
|
}, [isLast, onClose, onNextButtonClick]);
|
|
12559
|
-
return /*#__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(Button, {
|
|
12637
|
+
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(Button, {
|
|
12560
12638
|
onClick: onPreviousButtonClick,
|
|
12561
12639
|
variant: "text gray",
|
|
12562
12640
|
className: "tw--ml-3 tw-mr-2",
|
|
@@ -12569,7 +12647,7 @@
|
|
|
12569
12647
|
isLast: isLast,
|
|
12570
12648
|
actionLabel: actionLabel,
|
|
12571
12649
|
onNextButtonClick: onActionButtonClick
|
|
12572
|
-
}))) : /*#__PURE__*/React__default["default"].createElement(StyledCustomStep, null, children));
|
|
12650
|
+
}))) : /*#__PURE__*/React__default["default"].createElement(StyledCustomStep, null, children)) : null;
|
|
12573
12651
|
};
|
|
12574
12652
|
Step.displayName = "Step";
|
|
12575
12653
|
|
|
@@ -12597,12 +12675,24 @@
|
|
|
12597
12675
|
setActiveStep(0);
|
|
12598
12676
|
}
|
|
12599
12677
|
}, [open]);
|
|
12600
|
-
var
|
|
12601
|
-
|
|
12602
|
-
|
|
12603
|
-
|
|
12604
|
-
|
|
12605
|
-
|
|
12678
|
+
var goNext = React.useCallback(function () {
|
|
12679
|
+
var index = childrenCollection.findIndex(function (step, index) {
|
|
12680
|
+
var _stepEl$props;
|
|
12681
|
+
|
|
12682
|
+
var stepEl = step;
|
|
12683
|
+
return !(stepEl !== null && stepEl !== void 0 && (_stepEl$props = stepEl.props) !== null && _stepEl$props !== void 0 && _stepEl$props.skip) && index > activeStep;
|
|
12684
|
+
});
|
|
12685
|
+
setActiveStep(index);
|
|
12686
|
+
}, [activeStep, childrenCollection]);
|
|
12687
|
+
var goPrevious = React.useCallback(function () {
|
|
12688
|
+
var index = [_toConsumableArray(childrenCollection).reverse()].findIndex(function (step, index) {
|
|
12689
|
+
var _stepEl$props2;
|
|
12690
|
+
|
|
12691
|
+
var stepEl = step;
|
|
12692
|
+
return !(stepEl !== null && stepEl !== void 0 && (_stepEl$props2 = stepEl.props) !== null && _stepEl$props2 !== void 0 && _stepEl$props2.skip) && index < activeStep;
|
|
12693
|
+
});
|
|
12694
|
+
setActiveStep(index);
|
|
12695
|
+
}, [activeStep, childrenCollection]);
|
|
12606
12696
|
var renderActiveStep = React.useMemo(function () {
|
|
12607
12697
|
var element = childrenCollection[activeStep];
|
|
12608
12698
|
|
|
@@ -12611,19 +12701,21 @@
|
|
|
12611
12701
|
index: activeStep,
|
|
12612
12702
|
isLast: childrenCollection.length - 1 === activeStep,
|
|
12613
12703
|
title: title,
|
|
12614
|
-
onNextButtonClick:
|
|
12615
|
-
onPreviousButtonClick:
|
|
12704
|
+
onNextButtonClick: goNext,
|
|
12705
|
+
onPreviousButtonClick: goPrevious,
|
|
12616
12706
|
onClose: onClose,
|
|
12617
12707
|
changingStepInProgress: changingStepInProgress
|
|
12618
12708
|
});
|
|
12619
12709
|
}
|
|
12620
12710
|
|
|
12621
12711
|
return null;
|
|
12622
|
-
}, [activeStep, changingStepInProgress, childrenCollection,
|
|
12712
|
+
}, [activeStep, changingStepInProgress, childrenCollection, goNext, goPrevious, onClose, title]);
|
|
12623
12713
|
return /*#__PURE__*/React__default["default"].createElement(WizardContextProvider, {
|
|
12624
12714
|
value: {
|
|
12625
12715
|
activeStep: activeStep,
|
|
12626
12716
|
setActiveStep: setActiveStep,
|
|
12717
|
+
goNext: goNext,
|
|
12718
|
+
goPrevious: goPrevious,
|
|
12627
12719
|
close: onClose,
|
|
12628
12720
|
setChangingStepInProgress: setChangingStepInProgress
|
|
12629
12721
|
}
|
|
@@ -12731,6 +12823,7 @@
|
|
|
12731
12823
|
exports.DuplicateIcon = DuplicateIcon$1;
|
|
12732
12824
|
exports.EditIcon = EditIcon$1;
|
|
12733
12825
|
exports.EditMultipleIcon = EditMultipleIcon$1;
|
|
12826
|
+
exports.EditableContent = EditableContent;
|
|
12734
12827
|
exports.EmojiIcon = EmojiIcon$1;
|
|
12735
12828
|
exports.Entity = Entity;
|
|
12736
12829
|
exports.EntityCard = EntityCard$1;
|