@activecollab/components 1.0.225 → 1.0.226
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/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.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/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 +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 +160 -160
- 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
|
@@ -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,
|
|
@@ -3901,14 +3931,14 @@
|
|
|
3901
3931
|
});
|
|
3902
3932
|
StyledBreadcrumbListItem.displayName = "StyledBreadcrumbListItem";
|
|
3903
3933
|
|
|
3904
|
-
var _excluded$
|
|
3934
|
+
var _excluded$Z = ["children", "className", "separator"];
|
|
3905
3935
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
3906
3936
|
var _dimensions$width, _childDimensions$widt;
|
|
3907
3937
|
var children = _ref.children,
|
|
3908
3938
|
className = _ref.className,
|
|
3909
3939
|
_ref$separator = _ref.separator,
|
|
3910
3940
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
3911
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3941
|
+
rest = _objectWithoutProperties(_ref, _excluded$Z);
|
|
3912
3942
|
var internalRef = React.useRef(null);
|
|
3913
3943
|
var listWrapperRef = React.useRef(null);
|
|
3914
3944
|
var olRef = React.useRef(null);
|
|
@@ -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) {
|
|
@@ -4075,10 +4105,10 @@
|
|
|
4075
4105
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
4076
4106
|
});
|
|
4077
4107
|
|
|
4078
|
-
var _excluded$
|
|
4108
|
+
var _excluded$Y = ["children"];
|
|
4079
4109
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
4080
4110
|
var children = _ref.children,
|
|
4081
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4111
|
+
props = _objectWithoutProperties(_ref, _excluded$Y);
|
|
4082
4112
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
4083
4113
|
timeout: 0
|
|
4084
4114
|
}, props), children);
|
|
@@ -4153,12 +4183,12 @@
|
|
|
4153
4183
|
});
|
|
4154
4184
|
Tooltip.displayName = "Tooltip";
|
|
4155
4185
|
|
|
4156
|
-
var _excluded$
|
|
4186
|
+
var _excluded$X = ["weight", "children"];
|
|
4157
4187
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4158
4188
|
var _ref$weight = _ref.weight,
|
|
4159
4189
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
4160
4190
|
children = _ref.children,
|
|
4161
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4191
|
+
props = _objectWithoutProperties(_ref, _excluded$X);
|
|
4162
4192
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
4163
4193
|
variant: "Body 2",
|
|
4164
4194
|
weight: weight,
|
|
@@ -4205,7 +4235,7 @@
|
|
|
4205
4235
|
});
|
|
4206
4236
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
4207
4237
|
|
|
4208
|
-
var _excluded$
|
|
4238
|
+
var _excluded$W = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
|
|
4209
4239
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4210
4240
|
var label = _ref.label,
|
|
4211
4241
|
icon = _ref.icon,
|
|
@@ -4215,7 +4245,7 @@
|
|
|
4215
4245
|
tooltipText = _ref.tooltipText,
|
|
4216
4246
|
onClearAll = _ref.onClearAll,
|
|
4217
4247
|
className = _ref.className,
|
|
4218
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
4248
|
+
args = _objectWithoutProperties(_ref, _excluded$W);
|
|
4219
4249
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
4220
4250
|
ref: ref,
|
|
4221
4251
|
className: className
|
|
@@ -4524,7 +4554,7 @@
|
|
|
4524
4554
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
4525
4555
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
4526
4556
|
|
|
4527
|
-
var _excluded$
|
|
4557
|
+
var _excluded$V = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
4528
4558
|
var DatePicker = function DatePicker(_ref) {
|
|
4529
4559
|
var className = _ref.className,
|
|
4530
4560
|
onChange = _ref.onChange,
|
|
@@ -4546,7 +4576,7 @@
|
|
|
4546
4576
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
4547
4577
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
4548
4578
|
defaultModifiers = _ref.modifiers,
|
|
4549
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4579
|
+
rest = _objectWithoutProperties(_ref, _excluded$V);
|
|
4550
4580
|
var _useState = React.useState(),
|
|
4551
4581
|
_useState2 = _slicedToArray(_useState, 2),
|
|
4552
4582
|
enteredTo = _useState2[0],
|
|
@@ -5427,10 +5457,10 @@
|
|
|
5427
5457
|
componentId: "sc-x4ge7a-0"
|
|
5428
5458
|
})(["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);
|
|
5429
5459
|
|
|
5430
|
-
var _excluded$
|
|
5460
|
+
var _excluded$U = ["className"];
|
|
5431
5461
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5432
5462
|
var className = _ref.className,
|
|
5433
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5463
|
+
rest = _objectWithoutProperties(_ref, _excluded$U);
|
|
5434
5464
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
5435
5465
|
ref: ref,
|
|
5436
5466
|
className: classNames__default["default"]("c-loader c-loader--linear", className)
|
|
@@ -5444,10 +5474,10 @@
|
|
|
5444
5474
|
componentId: "sc-1f35d5h-0"
|
|
5445
5475
|
})(["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);
|
|
5446
5476
|
|
|
5447
|
-
var _excluded$
|
|
5477
|
+
var _excluded$T = ["className"];
|
|
5448
5478
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5449
5479
|
var className = _ref.className,
|
|
5450
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5480
|
+
rest = _objectWithoutProperties(_ref, _excluded$T);
|
|
5451
5481
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
5452
5482
|
ref: ref,
|
|
5453
5483
|
className: classNames__default["default"]("c-loader c-loader--dots", className)
|
|
@@ -5469,7 +5499,7 @@
|
|
|
5469
5499
|
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);
|
|
5470
5500
|
});
|
|
5471
5501
|
|
|
5472
|
-
var _excluded$
|
|
5502
|
+
var _excluded$S = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
5473
5503
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5474
5504
|
var _ref$radius = _ref.radius,
|
|
5475
5505
|
radius = _ref$radius === void 0 ? 10 : _ref$radius,
|
|
@@ -5484,7 +5514,7 @@
|
|
|
5484
5514
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
5485
5515
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
5486
5516
|
className = _ref.className,
|
|
5487
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5517
|
+
rest = _objectWithoutProperties(_ref, _excluded$S);
|
|
5488
5518
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader, _extends({
|
|
5489
5519
|
ref: ref,
|
|
5490
5520
|
className: className,
|
|
@@ -5498,7 +5528,7 @@
|
|
|
5498
5528
|
});
|
|
5499
5529
|
SpinnerLoader.displayName = "SpinnerLoader";
|
|
5500
5530
|
|
|
5501
|
-
var _excluded$
|
|
5531
|
+
var _excluded$R = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
|
|
5502
5532
|
exports.SortDirection = void 0;
|
|
5503
5533
|
(function (SortDirection) {
|
|
5504
5534
|
SortDirection["None"] = "none";
|
|
@@ -5546,7 +5576,7 @@
|
|
|
5546
5576
|
loading = _ref.loading,
|
|
5547
5577
|
_ref$loadingRows = _ref.loadingRows,
|
|
5548
5578
|
loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
|
|
5549
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
5579
|
+
args = _objectWithoutProperties(_ref, _excluded$R);
|
|
5550
5580
|
var _useState = React.useState(sortDirection),
|
|
5551
5581
|
_useState2 = _slicedToArray(_useState, 2),
|
|
5552
5582
|
columnDirection = _useState2[0],
|
|
@@ -5948,7 +5978,7 @@
|
|
|
5948
5978
|
});
|
|
5949
5979
|
StyledPaper.displayName = "StyledPaper";
|
|
5950
5980
|
|
|
5951
|
-
var _excluded$
|
|
5981
|
+
var _excluded$Q = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
5952
5982
|
/**
|
|
5953
5983
|
* This is a component description and should sit directly above your component
|
|
5954
5984
|
*/
|
|
@@ -5961,7 +5991,7 @@
|
|
|
5961
5991
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
5962
5992
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
5963
5993
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
5964
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5994
|
+
rest = _objectWithoutProperties(_ref, _excluded$Q);
|
|
5965
5995
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
5966
5996
|
className: classNames__default["default"](className, {
|
|
5967
5997
|
"ac-shadow--raised--lg": !useOptimizedShadow && hover && type === "paper-1",
|
|
@@ -6014,7 +6044,7 @@
|
|
|
6014
6044
|
});
|
|
6015
6045
|
StyledCard.displayName = "StyledCard";
|
|
6016
6046
|
|
|
6017
|
-
var _excluded$
|
|
6047
|
+
var _excluded$P = ["children", "className", "hoverable", "paperType"];
|
|
6018
6048
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6019
6049
|
var children = _ref.children,
|
|
6020
6050
|
className = _ref.className,
|
|
@@ -6022,7 +6052,7 @@
|
|
|
6022
6052
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
6023
6053
|
_ref$paperType = _ref.paperType,
|
|
6024
6054
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
6025
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6055
|
+
rest = _objectWithoutProperties(_ref, _excluded$P);
|
|
6026
6056
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
6027
6057
|
type: paperType,
|
|
6028
6058
|
className: classNames__default["default"]("c-card", className),
|
|
@@ -6101,12 +6131,12 @@
|
|
|
6101
6131
|
});
|
|
6102
6132
|
EntityCard$1.displayName = "EntityCard";
|
|
6103
6133
|
|
|
6104
|
-
var _excluded$
|
|
6134
|
+
var _excluded$O = ["weight", "children"];
|
|
6105
6135
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6106
6136
|
var _ref$weight = _ref.weight,
|
|
6107
6137
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
6108
6138
|
children = _ref.children,
|
|
6109
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6139
|
+
props = _objectWithoutProperties(_ref, _excluded$O);
|
|
6110
6140
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6111
6141
|
weight: weight,
|
|
6112
6142
|
variant: "Title 1",
|
|
@@ -6115,12 +6145,12 @@
|
|
|
6115
6145
|
});
|
|
6116
6146
|
Title1.displayName = "Title1";
|
|
6117
6147
|
|
|
6118
|
-
var _excluded$
|
|
6148
|
+
var _excluded$N = ["weight", "children"];
|
|
6119
6149
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6120
6150
|
var _ref$weight = _ref.weight,
|
|
6121
6151
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
6122
6152
|
children = _ref.children,
|
|
6123
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6153
|
+
props = _objectWithoutProperties(_ref, _excluded$N);
|
|
6124
6154
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6125
6155
|
weight: weight,
|
|
6126
6156
|
variant: "Title 2",
|
|
@@ -6129,10 +6159,10 @@
|
|
|
6129
6159
|
});
|
|
6130
6160
|
Title2.displayName = "Title2";
|
|
6131
6161
|
|
|
6132
|
-
var _excluded$
|
|
6162
|
+
var _excluded$M = ["children"];
|
|
6133
6163
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6134
6164
|
var children = _ref.children,
|
|
6135
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6165
|
+
props = _objectWithoutProperties(_ref, _excluded$M);
|
|
6136
6166
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6137
6167
|
weight: "bold",
|
|
6138
6168
|
variant: "Header 2",
|
|
@@ -6141,10 +6171,10 @@
|
|
|
6141
6171
|
});
|
|
6142
6172
|
Header2.displayName = "Header2";
|
|
6143
6173
|
|
|
6144
|
-
var _excluded$
|
|
6174
|
+
var _excluded$L = ["children"];
|
|
6145
6175
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6146
6176
|
var children = _ref.children,
|
|
6147
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6177
|
+
props = _objectWithoutProperties(_ref, _excluded$L);
|
|
6148
6178
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6149
6179
|
weight: "bold",
|
|
6150
6180
|
variant: "Header 3",
|
|
@@ -6153,12 +6183,12 @@
|
|
|
6153
6183
|
});
|
|
6154
6184
|
Header3.displayName = "Header3";
|
|
6155
6185
|
|
|
6156
|
-
var _excluded$
|
|
6186
|
+
var _excluded$K = ["weight", "children"];
|
|
6157
6187
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6158
6188
|
var _ref$weight = _ref.weight,
|
|
6159
6189
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
6160
6190
|
children = _ref.children,
|
|
6161
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6191
|
+
props = _objectWithoutProperties(_ref, _excluded$K);
|
|
6162
6192
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6163
6193
|
variant: "Body 1",
|
|
6164
6194
|
weight: weight,
|
|
@@ -6167,12 +6197,12 @@
|
|
|
6167
6197
|
});
|
|
6168
6198
|
Body1.displayName = "Body1";
|
|
6169
6199
|
|
|
6170
|
-
var _excluded$
|
|
6200
|
+
var _excluded$J = ["weight", "children"];
|
|
6171
6201
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6172
6202
|
var _ref$weight = _ref.weight,
|
|
6173
6203
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
6174
6204
|
children = _ref.children,
|
|
6175
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6205
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
6176
6206
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6177
6207
|
variant: "Caption 1",
|
|
6178
6208
|
weight: weight,
|
|
@@ -6181,12 +6211,12 @@
|
|
|
6181
6211
|
});
|
|
6182
6212
|
Caption1.displayName = "Caption1";
|
|
6183
6213
|
|
|
6184
|
-
var _excluded$
|
|
6214
|
+
var _excluded$I = ["weight", "children"];
|
|
6185
6215
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6186
6216
|
var _ref$weight = _ref.weight,
|
|
6187
6217
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
6188
6218
|
children = _ref.children,
|
|
6189
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6219
|
+
props = _objectWithoutProperties(_ref, _excluded$I);
|
|
6190
6220
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6191
6221
|
variant: "Caption 2",
|
|
6192
6222
|
weight: weight,
|
|
@@ -6297,7 +6327,7 @@
|
|
|
6297
6327
|
"borderRadius": "9999px"
|
|
6298
6328
|
});
|
|
6299
6329
|
|
|
6300
|
-
var _excluded$
|
|
6330
|
+
var _excluded$H = ["url", "alt", "size", "className"];
|
|
6301
6331
|
var Avatar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6302
6332
|
var url = _ref.url,
|
|
6303
6333
|
_ref$alt = _ref.alt,
|
|
@@ -6305,7 +6335,7 @@
|
|
|
6305
6335
|
_ref$size = _ref.size,
|
|
6306
6336
|
size = _ref$size === void 0 ? 24 : _ref$size,
|
|
6307
6337
|
className = _ref.className,
|
|
6308
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6338
|
+
rest = _objectWithoutProperties(_ref, _excluded$H);
|
|
6309
6339
|
return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({}, rest, {
|
|
6310
6340
|
ref: ref,
|
|
6311
6341
|
src: url,
|
|
@@ -6326,13 +6356,13 @@
|
|
|
6326
6356
|
return props.$color && styled.css(["background-color:", ";"], props.$color);
|
|
6327
6357
|
});
|
|
6328
6358
|
|
|
6329
|
-
var _excluded$
|
|
6359
|
+
var _excluded$G = ["color", "size", "className"];
|
|
6330
6360
|
var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6331
6361
|
var color = _ref.color,
|
|
6332
6362
|
_ref$size = _ref.size,
|
|
6333
6363
|
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
6334
6364
|
className = _ref.className,
|
|
6335
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6365
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
6336
6366
|
return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
|
|
6337
6367
|
className: classNames__default["default"]("c-dot", className),
|
|
6338
6368
|
ref: ref,
|
|
@@ -6369,7 +6399,7 @@
|
|
|
6369
6399
|
});
|
|
6370
6400
|
StyledTagText.displayName = "StyledTagText";
|
|
6371
6401
|
|
|
6372
|
-
var _excluded$
|
|
6402
|
+
var _excluded$F = ["name", "color", "showText", "showDot", "className"];
|
|
6373
6403
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6374
6404
|
var name = _ref.name,
|
|
6375
6405
|
color = _ref.color,
|
|
@@ -6378,7 +6408,7 @@
|
|
|
6378
6408
|
_ref$showDot = _ref.showDot,
|
|
6379
6409
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
6380
6410
|
className = _ref.className,
|
|
6381
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6411
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
6382
6412
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
6383
6413
|
className: classNames__default["default"]("c-tag", className),
|
|
6384
6414
|
ref: ref
|
|
@@ -6498,7 +6528,7 @@
|
|
|
6498
6528
|
}, StyledInput$2, StyledLabel);
|
|
6499
6529
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
6500
6530
|
|
|
6501
|
-
var _excluded$
|
|
6531
|
+
var _excluded$E = ["className", "hover", "id"];
|
|
6502
6532
|
/**
|
|
6503
6533
|
* Checkbox component
|
|
6504
6534
|
*/
|
|
@@ -6507,7 +6537,7 @@
|
|
|
6507
6537
|
hover = _ref.hover,
|
|
6508
6538
|
_ref$id = _ref.id,
|
|
6509
6539
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
6510
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6540
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
6511
6541
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
|
|
6512
6542
|
className: classNames__default["default"]("c-checkbox", {
|
|
6513
6543
|
"c-checkbox__hover": hover,
|
|
@@ -6694,7 +6724,7 @@
|
|
|
6694
6724
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
6695
6725
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
6696
6726
|
|
|
6697
|
-
var _excluded$
|
|
6727
|
+
var _excluded$D = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
6698
6728
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6699
6729
|
var children = _ref.children,
|
|
6700
6730
|
className = _ref.className,
|
|
@@ -6708,7 +6738,7 @@
|
|
|
6708
6738
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
6709
6739
|
innerColor = _ref.innerColor,
|
|
6710
6740
|
outerColor = _ref.outerColor,
|
|
6711
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6741
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
6712
6742
|
var _useState = React.useState({
|
|
6713
6743
|
top: 0,
|
|
6714
6744
|
right: 0,
|
|
@@ -6828,7 +6858,7 @@
|
|
|
6828
6858
|
return height;
|
|
6829
6859
|
};
|
|
6830
6860
|
|
|
6831
|
-
var _excluded$
|
|
6861
|
+
var _excluded$C = ["as", "className", "invert", "style"];
|
|
6832
6862
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6833
6863
|
var _ref$as = _ref.as,
|
|
6834
6864
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -6836,7 +6866,7 @@
|
|
|
6836
6866
|
_ref$invert = _ref.invert,
|
|
6837
6867
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
6838
6868
|
style = _ref.style,
|
|
6839
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6869
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
6840
6870
|
var internalRef = useInitScrollRef(null, invert);
|
|
6841
6871
|
var handleRef = useForkRef(internalRef, ref);
|
|
6842
6872
|
var props = _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
@@ -7310,7 +7340,7 @@
|
|
|
7310
7340
|
});
|
|
7311
7341
|
StyledInput$1.displayName = "StyledInput";
|
|
7312
7342
|
|
|
7313
|
-
var _excluded$
|
|
7343
|
+
var _excluded$B = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef"];
|
|
7314
7344
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7315
7345
|
var _ref$className = _ref.className,
|
|
7316
7346
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -7326,7 +7356,7 @@
|
|
|
7326
7356
|
startAdornment = _ref.startAdornment,
|
|
7327
7357
|
endAdornment = _ref.endAdornment,
|
|
7328
7358
|
wrapRef = _ref.wrapRef,
|
|
7329
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7359
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
7330
7360
|
var intInputRef = React.useRef(null);
|
|
7331
7361
|
var handleRef = useForkRef(ref, intInputRef);
|
|
7332
7362
|
var handleWrapperClick = React.useCallback(function () {
|
|
@@ -7377,14 +7407,14 @@
|
|
|
7377
7407
|
}, StyledRadioLabel);
|
|
7378
7408
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
7379
7409
|
|
|
7380
|
-
var _excluded$
|
|
7410
|
+
var _excluded$A = ["className", "id", "hover"];
|
|
7381
7411
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7382
7412
|
var _ref$className = _ref.className,
|
|
7383
7413
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
7384
7414
|
_ref$id = _ref.id,
|
|
7385
7415
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
7386
7416
|
hover = _ref.hover,
|
|
7387
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7417
|
+
props = _objectWithoutProperties(_ref, _excluded$A);
|
|
7388
7418
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
7389
7419
|
className: classNames__default["default"]("c-radio-btn", {
|
|
7390
7420
|
"c-radio-btn__hover": hover,
|
|
@@ -7476,7 +7506,7 @@
|
|
|
7476
7506
|
};
|
|
7477
7507
|
OptionContent.displayName = "OptionContent";
|
|
7478
7508
|
|
|
7479
|
-
var _excluded$
|
|
7509
|
+
var _excluded$z = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue"];
|
|
7480
7510
|
var Select = function Select(_ref) {
|
|
7481
7511
|
var _ref$type = _ref.type,
|
|
7482
7512
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -7510,7 +7540,7 @@
|
|
|
7510
7540
|
handleDefaultOptionChange = _ref.handleDefaultOptionChange,
|
|
7511
7541
|
_ref$preselectDefault = _ref.preselectDefaultValue,
|
|
7512
7542
|
preselectDefaultValue = _ref$preselectDefault === void 0 ? type === "single" : _ref$preselectDefault,
|
|
7513
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
7543
|
+
prop = _objectWithoutProperties(_ref, _excluded$z);
|
|
7514
7544
|
var _useState = React.useState(),
|
|
7515
7545
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7516
7546
|
childNode = _useState2[0],
|
|
@@ -7754,7 +7784,7 @@
|
|
|
7754
7784
|
});
|
|
7755
7785
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
7756
7786
|
|
|
7757
|
-
var _excluded$
|
|
7787
|
+
var _excluded$y = ["children", "active", "disabled", "className", "role"];
|
|
7758
7788
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7759
7789
|
var children = _ref.children,
|
|
7760
7790
|
_ref$active = _ref.active,
|
|
@@ -7763,7 +7793,7 @@
|
|
|
7763
7793
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7764
7794
|
className = _ref.className,
|
|
7765
7795
|
role = _ref.role,
|
|
7766
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7796
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
7767
7797
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
7768
7798
|
className: classNames__default["default"]("c-nav__item", {
|
|
7769
7799
|
"c-nav__item--active": active
|
|
@@ -7804,11 +7834,11 @@
|
|
|
7804
7834
|
});
|
|
7805
7835
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
7806
7836
|
|
|
7807
|
-
var _excluded$
|
|
7837
|
+
var _excluded$x = ["expanded"];
|
|
7808
7838
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7809
7839
|
var _ref$expanded = _ref.expanded,
|
|
7810
7840
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
7811
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7841
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
7812
7842
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
7813
7843
|
ref: ref,
|
|
7814
7844
|
viewBox: "0 0 24 24",
|
|
@@ -8098,7 +8128,7 @@
|
|
|
8098
8128
|
};
|
|
8099
8129
|
Nav.displayName = "Nav";
|
|
8100
8130
|
|
|
8101
|
-
var _excluded$
|
|
8131
|
+
var _excluded$w = ["children", "as", "disablePointerEvents"];
|
|
8102
8132
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
8103
8133
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
8104
8134
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -8115,7 +8145,7 @@
|
|
|
8115
8145
|
var children = _ref.children,
|
|
8116
8146
|
as = _ref.as,
|
|
8117
8147
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
8118
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8148
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
8119
8149
|
var Component = as || "div";
|
|
8120
8150
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
8121
8151
|
as: Component,
|
|
@@ -8125,11 +8155,11 @@
|
|
|
8125
8155
|
});
|
|
8126
8156
|
InputAdornment.displayName = "InputAdornment";
|
|
8127
8157
|
|
|
8128
|
-
var _excluded$
|
|
8158
|
+
var _excluded$v = ["expanded"];
|
|
8129
8159
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8130
8160
|
var _ref$expanded = _ref.expanded,
|
|
8131
8161
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
8132
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8162
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
8133
8163
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
8134
8164
|
ref: ref,
|
|
8135
8165
|
viewBox: "0 0 24 24"
|
|
@@ -8331,14 +8361,14 @@
|
|
|
8331
8361
|
});
|
|
8332
8362
|
StyledTextarea.displayName = "StyledTextarea";
|
|
8333
8363
|
|
|
8334
|
-
var _excluded$
|
|
8364
|
+
var _excluded$u = ["className", "disabled", "invalid"];
|
|
8335
8365
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8336
8366
|
var className = _ref.className,
|
|
8337
8367
|
_ref$disabled = _ref.disabled,
|
|
8338
8368
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8339
8369
|
_ref$invalid = _ref.invalid,
|
|
8340
8370
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
8341
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8371
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
8342
8372
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
8343
8373
|
$invalid: invalid,
|
|
8344
8374
|
ref: ref,
|
|
@@ -8370,7 +8400,7 @@
|
|
|
8370
8400
|
function () {});
|
|
8371
8401
|
}
|
|
8372
8402
|
|
|
8373
|
-
var _excluded$
|
|
8403
|
+
var _excluded$t = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "disableCloseOnEsc", "open", "onClose"];
|
|
8374
8404
|
var getHasTransition = function getHasTransition(children) {
|
|
8375
8405
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
8376
8406
|
};
|
|
@@ -8389,7 +8419,7 @@
|
|
|
8389
8419
|
_ref$open = _ref.open,
|
|
8390
8420
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
8391
8421
|
onClose = _ref.onClose,
|
|
8392
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8422
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
8393
8423
|
var _useState = React.useState(defaultOpen),
|
|
8394
8424
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8395
8425
|
open = _useState2[0],
|
|
@@ -8523,7 +8553,7 @@
|
|
|
8523
8553
|
});
|
|
8524
8554
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
8525
8555
|
|
|
8526
|
-
var _excluded$
|
|
8556
|
+
var _excluded$s = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
8527
8557
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8528
8558
|
var children = _ref.children,
|
|
8529
8559
|
onClose = _ref.onClose,
|
|
@@ -8547,7 +8577,7 @@
|
|
|
8547
8577
|
bodyClassName = _ref.bodyClassName,
|
|
8548
8578
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
8549
8579
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
8550
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8580
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
8551
8581
|
var _useState = React.useState(defaultOpen),
|
|
8552
8582
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8553
8583
|
open = _useState2[0],
|
|
@@ -8638,13 +8668,13 @@
|
|
|
8638
8668
|
});
|
|
8639
8669
|
StyledHeader.displayName = "StyledHeader";
|
|
8640
8670
|
|
|
8641
|
-
var _excluded$
|
|
8671
|
+
var _excluded$r = ["className", "size", "children"];
|
|
8642
8672
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8643
8673
|
var className = _ref.className,
|
|
8644
8674
|
_ref$size = _ref.size,
|
|
8645
8675
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
8646
8676
|
children = _ref.children,
|
|
8647
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8677
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
8648
8678
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
8649
8679
|
type: "paper-2",
|
|
8650
8680
|
className: classNames__default["default"]("c-header", className),
|
|
@@ -8660,7 +8690,7 @@
|
|
|
8660
8690
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
8661
8691
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
8662
8692
|
|
|
8663
|
-
var _excluded$
|
|
8693
|
+
var _excluded$q = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
8664
8694
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8665
8695
|
var _ref$minRows = _ref.minRows,
|
|
8666
8696
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -8676,7 +8706,7 @@
|
|
|
8676
8706
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
8677
8707
|
onKeyDown = _ref.onKeyDown,
|
|
8678
8708
|
value = _ref.value,
|
|
8679
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8709
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
8680
8710
|
var innerRef = React.useRef(null);
|
|
8681
8711
|
var _useState = React.useState(minRows),
|
|
8682
8712
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8952,7 +8982,7 @@
|
|
|
8952
8982
|
});
|
|
8953
8983
|
StyledChoose.displayName = "StyledChoose";
|
|
8954
8984
|
|
|
8955
|
-
var _excluded$
|
|
8985
|
+
var _excluded$p = ["children", "disabled", "active", "className"];
|
|
8956
8986
|
/**
|
|
8957
8987
|
* Choose component
|
|
8958
8988
|
*/
|
|
@@ -8963,7 +8993,7 @@
|
|
|
8963
8993
|
_ref$active = _ref.active,
|
|
8964
8994
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
8965
8995
|
className = _ref.className,
|
|
8966
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8996
|
+
args = _objectWithoutProperties(_ref, _excluded$p);
|
|
8967
8997
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
8968
8998
|
disabled: disabled,
|
|
8969
8999
|
className: classNames__default["default"]("c-choose", className),
|
|
@@ -9055,21 +9085,21 @@
|
|
|
9055
9085
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
9056
9086
|
StyledLink.displayName = "StyledLink";
|
|
9057
9087
|
|
|
9058
|
-
var _excluded$
|
|
9088
|
+
var _excluded$o = ["children", "className"];
|
|
9059
9089
|
/**
|
|
9060
9090
|
* Back link component
|
|
9061
9091
|
*/
|
|
9062
9092
|
var BackLink = function BackLink(_ref) {
|
|
9063
9093
|
var children = _ref.children,
|
|
9064
9094
|
className = _ref.className,
|
|
9065
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9095
|
+
args = _objectWithoutProperties(_ref, _excluded$o);
|
|
9066
9096
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
9067
9097
|
className: classNames__default["default"]("c-back-link", className)
|
|
9068
9098
|
}, args), children);
|
|
9069
9099
|
};
|
|
9070
9100
|
BackLink.displayName = "BackLink";
|
|
9071
9101
|
|
|
9072
|
-
var _excluded$
|
|
9102
|
+
var _excluded$n = ["as", "children", "variant", "size", "disabled", "className"];
|
|
9073
9103
|
/**
|
|
9074
9104
|
* Link component
|
|
9075
9105
|
*/
|
|
@@ -9082,7 +9112,7 @@
|
|
|
9082
9112
|
_ref$disabled = _ref.disabled,
|
|
9083
9113
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
9084
9114
|
className = _ref.className,
|
|
9085
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9115
|
+
args = _objectWithoutProperties(_ref, _excluded$n);
|
|
9086
9116
|
var Component = as || "a";
|
|
9087
9117
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
9088
9118
|
ref: ref,
|
|
@@ -9193,7 +9223,7 @@
|
|
|
9193
9223
|
})(["padding:20px 30px;", " ", ""], FontStyle, BoxSizingStyle);
|
|
9194
9224
|
StyledDialogActions.displayName = "StyledDialogActions";
|
|
9195
9225
|
|
|
9196
|
-
var _excluded$
|
|
9226
|
+
var _excluded$m = ["children", "className", "disableDefaultHeading"];
|
|
9197
9227
|
// import { useDialogContext } from "./DialogContext";
|
|
9198
9228
|
|
|
9199
9229
|
var DialogTitle = function DialogTitle(_ref) {
|
|
@@ -9201,7 +9231,7 @@
|
|
|
9201
9231
|
className = _ref.className,
|
|
9202
9232
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
9203
9233
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
9204
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9234
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
9205
9235
|
// useDialogContext();
|
|
9206
9236
|
|
|
9207
9237
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
@@ -9210,13 +9240,13 @@
|
|
|
9210
9240
|
};
|
|
9211
9241
|
DialogTitle.displayName = "DialogTitle";
|
|
9212
9242
|
|
|
9213
|
-
var _excluded$
|
|
9243
|
+
var _excluded$l = ["className", "children"];
|
|
9214
9244
|
// import { useDialogContext } from "./DialogContext";
|
|
9215
9245
|
|
|
9216
9246
|
var DialogContent = function DialogContent(_ref) {
|
|
9217
9247
|
var className = _ref.className,
|
|
9218
9248
|
children = _ref.children,
|
|
9219
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9249
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
9220
9250
|
// useDialogContext();
|
|
9221
9251
|
|
|
9222
9252
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
@@ -9237,13 +9267,13 @@
|
|
|
9237
9267
|
};
|
|
9238
9268
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
9239
9269
|
|
|
9240
|
-
var _excluded$
|
|
9270
|
+
var _excluded$k = ["className", "children"];
|
|
9241
9271
|
// import { useDialogContext } from "./DialogContext";
|
|
9242
9272
|
|
|
9243
9273
|
var DialogActions = function DialogActions(_ref) {
|
|
9244
9274
|
var className = _ref.className,
|
|
9245
9275
|
children = _ref.children,
|
|
9246
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9276
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
9247
9277
|
// useDialogContext();
|
|
9248
9278
|
|
|
9249
9279
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
@@ -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
|
|
@@ -9497,7 +9527,7 @@
|
|
|
9497
9527
|
});
|
|
9498
9528
|
StyledPressed.displayName = "StyledPressed";
|
|
9499
9529
|
|
|
9500
|
-
var _excluded$
|
|
9530
|
+
var _excluded$j = ["children", "active", "className"];
|
|
9501
9531
|
/**
|
|
9502
9532
|
* Pressed wrapper for button component
|
|
9503
9533
|
*/
|
|
@@ -9506,7 +9536,7 @@
|
|
|
9506
9536
|
_ref$active = _ref.active,
|
|
9507
9537
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
9508
9538
|
className = _ref.className,
|
|
9509
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9539
|
+
args = _objectWithoutProperties(_ref, _excluded$j);
|
|
9510
9540
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
9511
9541
|
active: active,
|
|
9512
9542
|
ref: ref,
|
|
@@ -9959,7 +9989,7 @@
|
|
|
9959
9989
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
9960
9990
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
9961
9991
|
|
|
9962
|
-
var _excluded$
|
|
9992
|
+
var _excluded$i = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
9963
9993
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9964
9994
|
var text = _ref.text,
|
|
9965
9995
|
type = _ref.type,
|
|
@@ -9970,7 +10000,7 @@
|
|
|
9970
10000
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
9971
10001
|
_ref$timeout = _ref.timeout,
|
|
9972
10002
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
9973
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10003
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
9974
10004
|
var handleOnClose = React.useCallback(function () {
|
|
9975
10005
|
if (typeof onClose === "function") {
|
|
9976
10006
|
onClose();
|
|
@@ -9994,7 +10024,7 @@
|
|
|
9994
10024
|
});
|
|
9995
10025
|
ToastMessage.displayName = "ToastMessage";
|
|
9996
10026
|
|
|
9997
|
-
var _excluded$
|
|
10027
|
+
var _excluded$h = ["in", "children", "style", "timeout"];
|
|
9998
10028
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
9999
10029
|
return {
|
|
10000
10030
|
transition: "all ".concat(duration, "ms ease-in-out"),
|
|
@@ -10022,7 +10052,7 @@
|
|
|
10022
10052
|
style = _ref.style,
|
|
10023
10053
|
_ref$timeout = _ref.timeout,
|
|
10024
10054
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
10025
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10055
|
+
rest = _objectWithoutProperties(_ref, _excluded$h);
|
|
10026
10056
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10027
10057
|
appear: true,
|
|
10028
10058
|
in: inProp,
|
|
@@ -10037,7 +10067,7 @@
|
|
|
10037
10067
|
};
|
|
10038
10068
|
Fade.displayName = "Fade";
|
|
10039
10069
|
|
|
10040
|
-
var _excluded$
|
|
10070
|
+
var _excluded$g = ["in", "children", "style", "timeout", "initialDirection"];
|
|
10041
10071
|
var Slide = function Slide(_ref) {
|
|
10042
10072
|
var _ref$in = _ref.in,
|
|
10043
10073
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -10047,7 +10077,7 @@
|
|
|
10047
10077
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
10048
10078
|
_ref$initialDirection = _ref.initialDirection,
|
|
10049
10079
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
10050
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10080
|
+
rest = _objectWithoutProperties(_ref, _excluded$g);
|
|
10051
10081
|
var directionSign;
|
|
10052
10082
|
switch (initialDirection) {
|
|
10053
10083
|
case "right":
|
|
@@ -10100,12 +10130,12 @@
|
|
|
10100
10130
|
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;}"]);
|
|
10101
10131
|
});
|
|
10102
10132
|
|
|
10103
|
-
var _excluded$
|
|
10133
|
+
var _excluded$f = ["children", "direction"];
|
|
10104
10134
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
10105
10135
|
var children = _ref.children,
|
|
10106
10136
|
_ref$direction = _ref.direction,
|
|
10107
10137
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
10108
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10138
|
+
props = _objectWithoutProperties(_ref, _excluded$f);
|
|
10109
10139
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
10110
10140
|
timeout: 200,
|
|
10111
10141
|
classNames: "c-slide",
|
|
@@ -10148,7 +10178,7 @@
|
|
|
10148
10178
|
};
|
|
10149
10179
|
ResizeTransition.displayName = "ResizeTransition";
|
|
10150
10180
|
|
|
10151
|
-
var _excluded$
|
|
10181
|
+
var _excluded$e = ["in", "children", "style", "timeout"];
|
|
10152
10182
|
var defaultStyle = function defaultStyle(duration) {
|
|
10153
10183
|
return {
|
|
10154
10184
|
transition: "all ".concat(duration, "ms ease-in"),
|
|
@@ -10182,7 +10212,7 @@
|
|
|
10182
10212
|
style = _ref.style,
|
|
10183
10213
|
_ref$timeout = _ref.timeout,
|
|
10184
10214
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
10185
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10215
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
10186
10216
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10187
10217
|
appear: true,
|
|
10188
10218
|
in: inProp,
|
|
@@ -10256,7 +10286,7 @@
|
|
|
10256
10286
|
});
|
|
10257
10287
|
StyledValueButton.displayName = "StyledValueButton";
|
|
10258
10288
|
|
|
10259
|
-
var _excluded$
|
|
10289
|
+
var _excluded$d = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
10260
10290
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10261
10291
|
var _ref$active = _ref.active,
|
|
10262
10292
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -10265,7 +10295,7 @@
|
|
|
10265
10295
|
icon = _ref.icon,
|
|
10266
10296
|
label = _ref.label,
|
|
10267
10297
|
value = _ref.value,
|
|
10268
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10298
|
+
args = _objectWithoutProperties(_ref, _excluded$d);
|
|
10269
10299
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
10270
10300
|
className: "c-value-button"
|
|
10271
10301
|
}, args, {
|
|
@@ -10294,12 +10324,12 @@
|
|
|
10294
10324
|
})(["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;}"]);
|
|
10295
10325
|
StyledButton.displayName = "StyledButton";
|
|
10296
10326
|
|
|
10297
|
-
var _excluded$
|
|
10327
|
+
var _excluded$c = ["children", "type"];
|
|
10298
10328
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10299
10329
|
var children = _ref.children,
|
|
10300
10330
|
_ref$type = _ref.type,
|
|
10301
10331
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
10302
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10332
|
+
rest = _objectWithoutProperties(_ref, _excluded$c);
|
|
10303
10333
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
10304
10334
|
ref: ref,
|
|
10305
10335
|
role: "button",
|
|
@@ -10345,7 +10375,7 @@
|
|
|
10345
10375
|
});
|
|
10346
10376
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
10347
10377
|
|
|
10348
|
-
var _excluded$
|
|
10378
|
+
var _excluded$b = ["children", "type", "size", "invalid", "open", "endAdornment"];
|
|
10349
10379
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10350
10380
|
var children = _ref.children,
|
|
10351
10381
|
_ref$type = _ref.type,
|
|
@@ -10357,7 +10387,7 @@
|
|
|
10357
10387
|
_ref$open = _ref.open,
|
|
10358
10388
|
open = _ref$open === void 0 ? false : _ref$open,
|
|
10359
10389
|
endAdornment = _ref.endAdornment,
|
|
10360
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10390
|
+
rest = _objectWithoutProperties(_ref, _excluded$b);
|
|
10361
10391
|
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
10362
10392
|
ref: ref,
|
|
10363
10393
|
role: "button",
|
|
@@ -10404,11 +10434,11 @@
|
|
|
10404
10434
|
});
|
|
10405
10435
|
StyledToggle.displayName = "StyledToggle";
|
|
10406
10436
|
|
|
10407
|
-
var _excluded$
|
|
10437
|
+
var _excluded$a = ["hovered", "className"];
|
|
10408
10438
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10409
10439
|
var hovered = _ref.hovered,
|
|
10410
10440
|
className = _ref.className,
|
|
10411
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10441
|
+
args = _objectWithoutProperties(_ref, _excluded$a);
|
|
10412
10442
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
10413
10443
|
className: classNames__default["default"]("c-toggle", className),
|
|
10414
10444
|
$isHovered: hovered,
|
|
@@ -10561,7 +10591,7 @@
|
|
|
10561
10591
|
});
|
|
10562
10592
|
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
10563
10593
|
|
|
10564
|
-
var _excluded$
|
|
10594
|
+
var _excluded$9 = ["leftAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "variant", "typographyProps"];
|
|
10565
10595
|
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
10566
10596
|
var leftAdornment = _ref.leftAdornment,
|
|
10567
10597
|
label = _ref.label,
|
|
@@ -10573,7 +10603,7 @@
|
|
|
10573
10603
|
closeClassName = _ref.closeClassName,
|
|
10574
10604
|
variant = _ref.variant,
|
|
10575
10605
|
typographyProps = _ref.typographyProps,
|
|
10576
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10606
|
+
rest = _objectWithoutProperties(_ref, _excluded$9);
|
|
10577
10607
|
var showClose = typeof onClose === "function";
|
|
10578
10608
|
var _variant = React.useMemo(function () {
|
|
10579
10609
|
if (typeof variant !== "undefined") {
|
|
@@ -10640,7 +10670,7 @@
|
|
|
10640
10670
|
return condition ? wrap(children) : children;
|
|
10641
10671
|
};
|
|
10642
10672
|
|
|
10643
|
-
var _excluded$
|
|
10673
|
+
var _excluded$8 = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid", "type", "renderChip", "forceCloseMenu", "renderOption", "limitChips", "hiddenNumberText", "inPortal", "inputWrapperClassName", "scrollWrapper"];
|
|
10644
10674
|
var ComboBox = function ComboBox(_ref) {
|
|
10645
10675
|
var _comboBoxRef$current2, _comboBoxRef$current3;
|
|
10646
10676
|
var _ref$options = _ref.options,
|
|
@@ -10671,7 +10701,7 @@
|
|
|
10671
10701
|
inPortal = _ref$inPortal === void 0 ? false : _ref$inPortal,
|
|
10672
10702
|
inputWrapperClassName = _ref.inputWrapperClassName,
|
|
10673
10703
|
scrollWrapper = _ref.scrollWrapper,
|
|
10674
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
10704
|
+
prop = _objectWithoutProperties(_ref, _excluded$8);
|
|
10675
10705
|
var selectedName = React.useMemo(function () {
|
|
10676
10706
|
var value = "";
|
|
10677
10707
|
if (!selected) {
|
|
@@ -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",
|
|
@@ -11024,11 +11054,11 @@
|
|
|
11024
11054
|
})(["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);
|
|
11025
11055
|
StyledAddToListButton.displayName = "StyledAddToListButton";
|
|
11026
11056
|
|
|
11027
|
-
var _excluded$
|
|
11057
|
+
var _excluded$7 = ["text", "className"];
|
|
11028
11058
|
var AddToListButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11029
11059
|
var text = _ref.text,
|
|
11030
11060
|
className = _ref.className,
|
|
11031
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11061
|
+
rest = _objectWithoutProperties(_ref, _excluded$7);
|
|
11032
11062
|
return /*#__PURE__*/React__default["default"].createElement(StyledAddToListButton, _extends({
|
|
11033
11063
|
ref: ref,
|
|
11034
11064
|
className: classNames__default["default"]("c--add-to-list-btn", className)
|
|
@@ -11424,7 +11454,7 @@
|
|
|
11424
11454
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
11425
11455
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
11426
11456
|
|
|
11427
|
-
var _excluded$
|
|
11457
|
+
var _excluded$6 = ["invalid", "required", "size", "children", "className", "weight"];
|
|
11428
11458
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11429
11459
|
var _ref$invalid = _ref.invalid,
|
|
11430
11460
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -11436,7 +11466,7 @@
|
|
|
11436
11466
|
className = _ref.className,
|
|
11437
11467
|
_ref$weight = _ref.weight,
|
|
11438
11468
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
11439
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11469
|
+
props = _objectWithoutProperties(_ref, _excluded$6);
|
|
11440
11470
|
var color = invalid ? "alert" : "primary";
|
|
11441
11471
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
11442
11472
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
@@ -11594,7 +11624,7 @@
|
|
|
11594
11624
|
});
|
|
11595
11625
|
StyledInput.displayName = "StyledInput";
|
|
11596
11626
|
|
|
11597
|
-
var _excluded$
|
|
11627
|
+
var _excluded$5 = ["className", "variant", "weight", "disabled", "inputProps", "wrapRef"];
|
|
11598
11628
|
var EditableContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11599
11629
|
var className = _ref.className,
|
|
11600
11630
|
_ref$variant = _ref.variant,
|
|
@@ -11604,7 +11634,7 @@
|
|
|
11604
11634
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11605
11635
|
inputProps = _ref.inputProps,
|
|
11606
11636
|
wrapRef = _ref.wrapRef,
|
|
11607
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11637
|
+
props = _objectWithoutProperties(_ref, _excluded$5);
|
|
11608
11638
|
var intInputRef = React.useRef(null);
|
|
11609
11639
|
var handleRef = useForkRef(ref, intInputRef);
|
|
11610
11640
|
var handleBlur = React.useCallback(function (evt) {
|
|
@@ -11633,13 +11663,13 @@
|
|
|
11633
11663
|
});
|
|
11634
11664
|
EditableContent.displayName = "EditableContent";
|
|
11635
11665
|
|
|
11636
|
-
var _excluded$
|
|
11666
|
+
var _excluded$4 = ["onSave", "onCancel", "value", "inputProps"];
|
|
11637
11667
|
var EditableText = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11638
11668
|
var onSave = _ref.onSave,
|
|
11639
11669
|
onCancel = _ref.onCancel,
|
|
11640
11670
|
value = _ref.value,
|
|
11641
11671
|
inputProps = _ref.inputProps,
|
|
11642
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11672
|
+
props = _objectWithoutProperties(_ref, _excluded$4);
|
|
11643
11673
|
var _useState = React.useState(value),
|
|
11644
11674
|
_useState2 = _slicedToArray(_useState, 2),
|
|
11645
11675
|
currentValue = _useState2[0],
|
|
@@ -11697,11 +11727,11 @@
|
|
|
11697
11727
|
});
|
|
11698
11728
|
EditableText.displayName = "EditableText";
|
|
11699
11729
|
|
|
11700
|
-
var _excluded$
|
|
11730
|
+
var _excluded$3 = ["withDocuments"];
|
|
11701
11731
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
11702
11732
|
var _ref$withDocuments = _ref.withDocuments,
|
|
11703
11733
|
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
11704
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11734
|
+
props = _objectWithoutProperties(_ref, _excluded$3);
|
|
11705
11735
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
11706
11736
|
width: 100,
|
|
11707
11737
|
height: 100,
|
|
@@ -11844,7 +11874,7 @@
|
|
|
11844
11874
|
return $renderAs === "list" && styled.css(["justify-self:flex-end;"]);
|
|
11845
11875
|
});
|
|
11846
11876
|
|
|
11847
|
-
var _excluded$
|
|
11877
|
+
var _excluded$2 = ["children", "gap", "renderAs"];
|
|
11848
11878
|
var EntityGroupContext = /*#__PURE__*/React__default["default"].createContext({
|
|
11849
11879
|
renderAs: "grid"
|
|
11850
11880
|
});
|
|
@@ -11853,7 +11883,7 @@
|
|
|
11853
11883
|
gap = _ref.gap,
|
|
11854
11884
|
_ref$renderAs = _ref.renderAs,
|
|
11855
11885
|
renderAs = _ref$renderAs === void 0 ? "grid" : _ref$renderAs,
|
|
11856
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11886
|
+
rest = _objectWithoutProperties(_ref, _excluded$2);
|
|
11857
11887
|
return /*#__PURE__*/React__default["default"].createElement(EntityGroupContext.Provider, {
|
|
11858
11888
|
value: {
|
|
11859
11889
|
renderAs: renderAs
|
|
@@ -11865,14 +11895,14 @@
|
|
|
11865
11895
|
};
|
|
11866
11896
|
EntityGroup.displayName = "EntityGroup";
|
|
11867
11897
|
|
|
11868
|
-
var _excluded$
|
|
11898
|
+
var _excluded$1 = ["children", "isCollection", "background", "className", "as"];
|
|
11869
11899
|
var EntityCard = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11870
11900
|
var children = _ref.children,
|
|
11871
11901
|
isCollection = _ref.isCollection,
|
|
11872
11902
|
background = _ref.background,
|
|
11873
11903
|
className = _ref.className,
|
|
11874
11904
|
as = _ref.as,
|
|
11875
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11905
|
+
rest = _objectWithoutProperties(_ref, _excluded$1);
|
|
11876
11906
|
var _useContext = React.useContext(EntityGroupContext),
|
|
11877
11907
|
renderAs = _useContext.renderAs;
|
|
11878
11908
|
var classSuffix = "c-entity-card-".concat(renderAs);
|
|
@@ -11891,13 +11921,13 @@
|
|
|
11891
11921
|
});
|
|
11892
11922
|
EntityCard.displayName = "EntityCard";
|
|
11893
11923
|
|
|
11894
|
-
var _excluded
|
|
11924
|
+
var _excluded = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
11895
11925
|
var EntityProperty = function EntityProperty(_ref) {
|
|
11896
11926
|
var listOrder = _ref.listOrder,
|
|
11897
11927
|
listWidth = _ref.listWidth,
|
|
11898
11928
|
visibleFromBreakpoint = _ref.visibleFromBreakpoint,
|
|
11899
11929
|
className = _ref.className,
|
|
11900
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
11930
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
11901
11931
|
var _useContext = React.useContext(EntityGroupContext),
|
|
11902
11932
|
renderAs = _useContext.renderAs;
|
|
11903
11933
|
var classSuffix = "c-entity-property-".concat(renderAs);
|
|
@@ -11937,7 +11967,7 @@
|
|
|
11937
11967
|
ref: ref
|
|
11938
11968
|
}, /*#__PURE__*/React__default["default"].createElement(MenuHeader, {
|
|
11939
11969
|
title: title,
|
|
11940
|
-
leftElement: /*#__PURE__*/React__default["default"].createElement(
|
|
11970
|
+
leftElement: /*#__PURE__*/React__default["default"].createElement(IconButton, {
|
|
11941
11971
|
onClick: onBack,
|
|
11942
11972
|
variant: "text gray",
|
|
11943
11973
|
size: "small"
|
|
@@ -12293,12 +12323,12 @@
|
|
|
12293
12323
|
}
|
|
12294
12324
|
return onNextButtonClick && onNextButtonClick();
|
|
12295
12325
|
}, [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(
|
|
12326
|
+
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
12327
|
onClick: onPreviousButtonClick,
|
|
12298
12328
|
variant: "text gray",
|
|
12299
12329
|
className: "tw--ml-3 tw-mr-2",
|
|
12300
12330
|
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(
|
|
12331
|
+
}, /*#__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
12332
|
onClick: onClose,
|
|
12303
12333
|
variant: "text gray",
|
|
12304
12334
|
disabled: changingStepInProgress
|
|
@@ -12386,36 +12416,6 @@
|
|
|
12386
12416
|
});
|
|
12387
12417
|
Wizard.displayName = "Wizard";
|
|
12388
12418
|
|
|
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
12419
|
exports.Accordion = Accordion;
|
|
12420
12420
|
exports.AccordionContext = AccordionContext;
|
|
12421
12421
|
exports.AccordionItem = AccordionItem;
|