@activecollab/components 1.0.69 → 1.0.72
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/Icons/collection/index.js +0 -16
- package/dist/cjs/components/Icons/collection/index.js.map +1 -1
- package/dist/cjs/components/Steppers/DateStepper/DateStepper.js +7 -5
- package/dist/cjs/components/Steppers/DateStepper/DateStepper.js.map +1 -1
- package/dist/cjs/components/Tooltip/Tooltip.js +2 -1
- package/dist/cjs/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/cjs/components/Typography/Styles.js +3 -1
- package/dist/cjs/components/Typography/Styles.js.map +1 -1
- package/dist/cjs/components/Typography/Typography.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Body1.js +1 -1
- package/dist/cjs/components/Typography/Variants/Body1.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Body2.js +1 -1
- package/dist/cjs/components/Typography/Variants/Body2.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Caption1.js +1 -1
- package/dist/cjs/components/Typography/Variants/Caption1.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Caption2.js +1 -1
- package/dist/cjs/components/Typography/Variants/Caption2.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Header2.js +1 -1
- package/dist/cjs/components/Typography/Variants/Header2.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Header3.js +1 -1
- package/dist/cjs/components/Typography/Variants/Header3.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Title1.js +1 -1
- package/dist/cjs/components/Typography/Variants/Title1.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Title2.js +40 -0
- package/dist/cjs/components/Typography/Variants/Title2.js.map +1 -0
- package/dist/cjs/components/Typography/index.js +13 -0
- package/dist/cjs/components/Typography/index.js.map +1 -1
- package/dist/esm/components/Icons/collection/index.d.ts +0 -2
- package/dist/esm/components/Icons/collection/index.d.ts.map +1 -1
- package/dist/esm/components/Icons/collection/index.js +0 -2
- package/dist/esm/components/Icons/collection/index.js.map +1 -1
- package/dist/esm/components/Steppers/DateStepper/DateStepper.d.ts.map +1 -1
- package/dist/esm/components/Steppers/DateStepper/DateStepper.js +7 -4
- package/dist/esm/components/Steppers/DateStepper/DateStepper.js.map +1 -1
- package/dist/esm/components/Tooltip/Tooltip.js +2 -1
- package/dist/esm/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/esm/components/Typography/Styles.d.ts +1 -1
- package/dist/esm/components/Typography/Styles.d.ts.map +1 -1
- package/dist/esm/components/Typography/Styles.js +3 -1
- package/dist/esm/components/Typography/Styles.js.map +1 -1
- package/dist/esm/components/Typography/Typography.d.ts +1 -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/Typography/Variants/Body1.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Body1.js +1 -1
- package/dist/esm/components/Typography/Variants/Body1.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Body2.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Body2.js +1 -1
- package/dist/esm/components/Typography/Variants/Body2.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Caption1.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Caption1.js +1 -1
- package/dist/esm/components/Typography/Variants/Caption1.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Caption2.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Caption2.js +1 -1
- package/dist/esm/components/Typography/Variants/Caption2.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Header2.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Header2.js +1 -1
- package/dist/esm/components/Typography/Variants/Header2.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Header3.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Header3.js +1 -1
- package/dist/esm/components/Typography/Variants/Header3.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Title1.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Title1.js +1 -1
- package/dist/esm/components/Typography/Variants/Title1.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Title2.d.ts +8 -0
- package/dist/esm/components/Typography/Variants/Title2.d.ts.map +1 -0
- package/dist/esm/components/Typography/Variants/Title2.js +19 -0
- package/dist/esm/components/Typography/Variants/Title2.js.map +1 -0
- package/dist/esm/components/Typography/index.d.ts +1 -0
- package/dist/esm/components/Typography/index.d.ts.map +1 -1
- package/dist/esm/components/Typography/index.js +1 -0
- package/dist/esm/components/Typography/index.js.map +1 -1
- package/dist/index.js +109 -120
- 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/cjs/components/Icons/collection/Comment.js +0 -31
- package/dist/cjs/components/Icons/collection/Comment.js.map +0 -1
- package/dist/cjs/components/Icons/collection/Comments.js +0 -31
- package/dist/cjs/components/Icons/collection/Comments.js.map +0 -1
- package/dist/esm/components/Icons/collection/Comment.d.ts +0 -4
- package/dist/esm/components/Icons/collection/Comment.d.ts.map +0 -1
- package/dist/esm/components/Icons/collection/Comment.js +0 -18
- package/dist/esm/components/Icons/collection/Comment.js.map +0 -1
- package/dist/esm/components/Icons/collection/Comments.d.ts +0 -4
- package/dist/esm/components/Icons/collection/Comments.d.ts.map +0 -1
- package/dist/esm/components/Icons/collection/Comments.js +0 -18
- package/dist/esm/components/Icons/collection/Comments.js.map +0 -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$X = ["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$X);
|
|
332
332
|
|
|
333
333
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$1, _extends({
|
|
334
334
|
disabled: disabled,
|
|
@@ -381,12 +381,12 @@
|
|
|
381
381
|
})(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
|
|
382
382
|
StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
|
|
383
383
|
|
|
384
|
-
var _excluded$
|
|
384
|
+
var _excluded$W = ["className", "disabled"];
|
|
385
385
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
386
386
|
var className = _ref.className,
|
|
387
387
|
_ref$disabled = _ref.disabled,
|
|
388
388
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
389
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
389
|
+
rest = _objectWithoutProperties(_ref, _excluded$W);
|
|
390
390
|
|
|
391
391
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
392
392
|
ref: ref,
|
|
@@ -419,11 +419,11 @@
|
|
|
419
419
|
});
|
|
420
420
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
421
421
|
|
|
422
|
-
var _excluded$
|
|
422
|
+
var _excluded$V = ["children", "className"];
|
|
423
423
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
424
424
|
var children = _ref.children,
|
|
425
425
|
className = _ref.className,
|
|
426
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
426
|
+
rest = _objectWithoutProperties(_ref, _excluded$V);
|
|
427
427
|
|
|
428
428
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
429
429
|
ref: ref,
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
}, [refA, refB]);
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
-
var _excluded$
|
|
452
|
+
var _excluded$U = ["children", "anchorEl", "open", "style", "transition", "placement"];
|
|
453
453
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
454
454
|
var children = _ref.children,
|
|
455
455
|
anchorEl = _ref.anchorEl,
|
|
@@ -460,7 +460,7 @@
|
|
|
460
460
|
transition = _ref$transition === void 0 ? false : _ref$transition,
|
|
461
461
|
_ref$placement = _ref.placement,
|
|
462
462
|
initialPlacement = _ref$placement === void 0 ? "bottom" : _ref$placement,
|
|
463
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
463
|
+
rest = _objectWithoutProperties(_ref, _excluded$U);
|
|
464
464
|
|
|
465
465
|
var _useState = React.useState(true),
|
|
466
466
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -632,11 +632,11 @@
|
|
|
632
632
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
633
633
|
});
|
|
634
634
|
|
|
635
|
-
var _excluded$
|
|
635
|
+
var _excluded$T = ["children"];
|
|
636
636
|
|
|
637
637
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
638
638
|
var children = _ref.children,
|
|
639
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
639
|
+
props = _objectWithoutProperties(_ref, _excluded$T);
|
|
640
640
|
|
|
641
641
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
642
642
|
timeout: 0
|
|
@@ -659,7 +659,8 @@
|
|
|
659
659
|
disable = _ref2.disable;
|
|
660
660
|
|
|
661
661
|
var _useLayerContext = useLayerContext(),
|
|
662
|
-
|
|
662
|
+
_useLayerContext$zInd = _useLayerContext.zIndex,
|
|
663
|
+
zIndex = _useLayerContext$zInd === void 0 ? 1300 : _useLayerContext$zInd;
|
|
663
664
|
|
|
664
665
|
var _useState = React.useState(false),
|
|
665
666
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -777,10 +778,12 @@
|
|
|
777
778
|
var StyledTypography = styled__default["default"].div.withConfig({
|
|
778
779
|
displayName: "Styles__StyledTypography",
|
|
779
780
|
componentId: "sc-mskw5w-0"
|
|
780
|
-
})(["", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", ""], FontStyle, BoxSizingStyle, function (props) {
|
|
781
|
+
})(["", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", ""], FontStyle, BoxSizingStyle, function (props) {
|
|
781
782
|
return colors[props.$color];
|
|
782
783
|
}, function (props) {
|
|
783
784
|
return props.$variant === "Title 1" && styled.css(["font-size:2rem;"]);
|
|
785
|
+
}, function (props) {
|
|
786
|
+
return props.$variant === "Title 2" && styled.css(["font-size:1.625rem;"]);
|
|
784
787
|
}, function (props) {
|
|
785
788
|
return props.$variant === "Header 2" && styled.css(["font-size:1.125rem;"]);
|
|
786
789
|
}, function (props) {
|
|
@@ -864,7 +867,7 @@
|
|
|
864
867
|
});
|
|
865
868
|
StyledTypography.displayName = "StyledTypography";
|
|
866
869
|
|
|
867
|
-
var _excluded$
|
|
870
|
+
var _excluded$S = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
868
871
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
869
872
|
var _ref$variant = _ref.variant,
|
|
870
873
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -895,7 +898,7 @@
|
|
|
895
898
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
896
899
|
className = _ref.className,
|
|
897
900
|
children = _ref.children,
|
|
898
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
901
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
899
902
|
|
|
900
903
|
var Component = as || "div";
|
|
901
904
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
@@ -919,18 +922,18 @@
|
|
|
919
922
|
});
|
|
920
923
|
Typography.displayName = "Typography";
|
|
921
924
|
|
|
922
|
-
var _excluded$
|
|
925
|
+
var _excluded$R = ["weight", "children"];
|
|
923
926
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
924
927
|
var _ref$weight = _ref.weight,
|
|
925
928
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
926
929
|
children = _ref.children,
|
|
927
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
930
|
+
props = _objectWithoutProperties(_ref, _excluded$R);
|
|
928
931
|
|
|
929
932
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
930
933
|
variant: "Body 2",
|
|
931
934
|
weight: weight,
|
|
932
935
|
ref: ref
|
|
933
|
-
}, props),
|
|
936
|
+
}, props), children);
|
|
934
937
|
});
|
|
935
938
|
Body2.displayName = "Body2";
|
|
936
939
|
|
|
@@ -965,7 +968,7 @@
|
|
|
965
968
|
});
|
|
966
969
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
967
970
|
|
|
968
|
-
var _excluded$
|
|
971
|
+
var _excluded$Q = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
|
|
969
972
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
970
973
|
var label = _ref.label,
|
|
971
974
|
icon = _ref.icon,
|
|
@@ -975,7 +978,7 @@
|
|
|
975
978
|
tooltipText = _ref.tooltipText,
|
|
976
979
|
onClearAll = _ref.onClearAll,
|
|
977
980
|
className = _ref.className,
|
|
978
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
981
|
+
args = _objectWithoutProperties(_ref, _excluded$Q);
|
|
979
982
|
|
|
980
983
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
981
984
|
className: classnames__default["default"]("tw-flex ac-font box-sizing", className)
|
|
@@ -1008,37 +1011,21 @@
|
|
|
1008
1011
|
});
|
|
1009
1012
|
CounterButton.displayName = "CounterButton";
|
|
1010
1013
|
|
|
1011
|
-
var
|
|
1012
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1013
|
-
width: 18,
|
|
1014
|
-
height: 18,
|
|
1015
|
-
viewBox: "0 0 18 18",
|
|
1016
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1017
|
-
fill: "var(--color-theme-600)",
|
|
1018
|
-
ref: svgRef
|
|
1019
|
-
}, props), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
1020
|
-
d: "M10 5v8L6 9l4-4z",
|
|
1021
|
-
fillRule: "evenodd"
|
|
1022
|
-
}));
|
|
1023
|
-
});
|
|
1024
|
-
CaretLeftIcon.displayName = "CaretLeftIcon";
|
|
1025
|
-
var CaretLeftIcon$1 = CaretLeftIcon;
|
|
1026
|
-
|
|
1027
|
-
var CaretRightIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
1014
|
+
var MenuNavIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
1028
1015
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1029
|
-
width:
|
|
1030
|
-
height:
|
|
1031
|
-
viewBox: "0 0
|
|
1016
|
+
width: 24,
|
|
1017
|
+
height: 24,
|
|
1018
|
+
viewBox: "0 0 24 24",
|
|
1032
1019
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1033
1020
|
fill: "var(--color-theme-600)",
|
|
1034
1021
|
ref: svgRef
|
|
1035
1022
|
}, props), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
1036
|
-
d: "
|
|
1023
|
+
d: "M13.45 6.337l-5.657 5.657 5.657 5.657a1 1 0 101.414-1.414l-4.241-4.243 4.241-4.243a1 1 0 00-1.414-1.414z",
|
|
1037
1024
|
fillRule: "evenodd"
|
|
1038
1025
|
}));
|
|
1039
1026
|
});
|
|
1040
|
-
|
|
1041
|
-
var
|
|
1027
|
+
MenuNavIcon.displayName = "MenuNavIcon";
|
|
1028
|
+
var MenuNavIcon$1 = MenuNavIcon;
|
|
1042
1029
|
|
|
1043
1030
|
var customClassNames = {
|
|
1044
1031
|
container: "c-DayPicker",
|
|
@@ -1071,22 +1058,6 @@
|
|
|
1071
1058
|
nonWorkingDay: "c-DayPicker-Day--nonWorkingDay"
|
|
1072
1059
|
};
|
|
1073
1060
|
|
|
1074
|
-
var MenuNavIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
1075
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1076
|
-
width: 24,
|
|
1077
|
-
height: 24,
|
|
1078
|
-
viewBox: "0 0 24 24",
|
|
1079
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1080
|
-
fill: "var(--color-theme-600)",
|
|
1081
|
-
ref: svgRef
|
|
1082
|
-
}, props), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
1083
|
-
d: "M13.45 6.337l-5.657 5.657 5.657 5.657a1 1 0 101.414-1.414l-4.241-4.243 4.241-4.243a1 1 0 00-1.414-1.414z",
|
|
1084
|
-
fillRule: "evenodd"
|
|
1085
|
-
}));
|
|
1086
|
-
});
|
|
1087
|
-
MenuNavIcon.displayName = "MenuNavIcon";
|
|
1088
|
-
var MenuNavIcon$1 = MenuNavIcon;
|
|
1089
|
-
|
|
1090
1061
|
var StyledNavBarButton = styled__default["default"](Button).withConfig({
|
|
1091
1062
|
displayName: "Styles__StyledNavBarButton",
|
|
1092
1063
|
componentId: "sc-1owijsg-0"
|
|
@@ -1345,7 +1316,7 @@
|
|
|
1345
1316
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
1346
1317
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
1347
1318
|
|
|
1348
|
-
var _excluded$
|
|
1319
|
+
var _excluded$P = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
1349
1320
|
var DatePicker = function DatePicker(_ref) {
|
|
1350
1321
|
var className = _ref.className,
|
|
1351
1322
|
onChange = _ref.onChange,
|
|
@@ -1367,7 +1338,7 @@
|
|
|
1367
1338
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
1368
1339
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
1369
1340
|
defaultModifiers = _ref.modifiers,
|
|
1370
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1341
|
+
rest = _objectWithoutProperties(_ref, _excluded$P);
|
|
1371
1342
|
|
|
1372
1343
|
var _useState = React.useState(),
|
|
1373
1344
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -1712,12 +1683,12 @@
|
|
|
1712
1683
|
});
|
|
1713
1684
|
StyledOverlay.displayName = "StyledOverlay";
|
|
1714
1685
|
|
|
1715
|
-
var _excluded$
|
|
1686
|
+
var _excluded$O = ["className", "disableBackgroundColor"];
|
|
1716
1687
|
var Overlay = function Overlay(_ref) {
|
|
1717
1688
|
var className = _ref.className,
|
|
1718
1689
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
1719
1690
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
1720
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1691
|
+
rest = _objectWithoutProperties(_ref, _excluded$O);
|
|
1721
1692
|
|
|
1722
1693
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
1723
1694
|
className: classnames__default["default"]("c-overlay", className),
|
|
@@ -1732,7 +1703,7 @@
|
|
|
1732
1703
|
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
|
|
1733
1704
|
StyledWindow.displayName = "StyledWindow";
|
|
1734
1705
|
|
|
1735
|
-
var _excluded$
|
|
1706
|
+
var _excluded$N = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "preventClickEventBubbling", "onClick"];
|
|
1736
1707
|
var returnFocus = {
|
|
1737
1708
|
preventScroll: true
|
|
1738
1709
|
};
|
|
@@ -1749,7 +1720,7 @@
|
|
|
1749
1720
|
_ref$preventClickEven = _ref.preventClickEventBubbling,
|
|
1750
1721
|
preventClickEventBubbling = _ref$preventClickEven === void 0 ? false : _ref$preventClickEven,
|
|
1751
1722
|
onClick = _ref.onClick,
|
|
1752
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1723
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
1753
1724
|
|
|
1754
1725
|
var innerRef = React.useRef(null);
|
|
1755
1726
|
var handleRef = useForkRef(innerRef, ref);
|
|
@@ -1823,7 +1794,7 @@
|
|
|
1823
1794
|
}, FontStyle, BoxSizingStyle);
|
|
1824
1795
|
StyledBubble.displayName = "StyledBubble";
|
|
1825
1796
|
|
|
1826
|
-
var _excluded$
|
|
1797
|
+
var _excluded$M = ["children", "className", "innerRef", "style"];
|
|
1827
1798
|
var Bubble = function Bubble(_ref) {
|
|
1828
1799
|
var children = _ref.children,
|
|
1829
1800
|
className = _ref.className,
|
|
@@ -1831,7 +1802,7 @@
|
|
|
1831
1802
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
1832
1803
|
_ref$style = _ref.style,
|
|
1833
1804
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
1834
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1805
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
1835
1806
|
|
|
1836
1807
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
1837
1808
|
ref: innerRef,
|
|
@@ -1978,13 +1949,13 @@
|
|
|
1978
1949
|
};
|
|
1979
1950
|
Menu.displayName = "Menu";
|
|
1980
1951
|
|
|
1981
|
-
var _excluded$
|
|
1952
|
+
var _excluded$L = ["title", "className", "leftElement", "rightElement"];
|
|
1982
1953
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1983
1954
|
var title = _ref.title,
|
|
1984
1955
|
className = _ref.className,
|
|
1985
1956
|
leftElement = _ref.leftElement,
|
|
1986
1957
|
rightElement = _ref.rightElement,
|
|
1987
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1958
|
+
props = _objectWithoutProperties(_ref, _excluded$L);
|
|
1988
1959
|
|
|
1989
1960
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
1990
1961
|
className: classnames__default["default"]("c-menu-header", className),
|
|
@@ -2007,11 +1978,11 @@
|
|
|
2007
1978
|
});
|
|
2008
1979
|
MenuHeader.displayName = "MenuHeader";
|
|
2009
1980
|
|
|
2010
|
-
var _excluded$
|
|
1981
|
+
var _excluded$K = ["children", "className"];
|
|
2011
1982
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
2012
1983
|
var children = _ref.children,
|
|
2013
1984
|
className = _ref.className,
|
|
2014
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1985
|
+
props = _objectWithoutProperties(_ref, _excluded$K);
|
|
2015
1986
|
|
|
2016
1987
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter, _extends({}, props, {
|
|
2017
1988
|
className: classnames__default["default"]("c-menu-footer", className),
|
|
@@ -2339,7 +2310,7 @@
|
|
|
2339
2310
|
variant: "secondary",
|
|
2340
2311
|
onClick: onLeftClickHandler,
|
|
2341
2312
|
disabled: isBeforeMinDate
|
|
2342
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
2313
|
+
}, /*#__PURE__*/React__default["default"].createElement(MenuNavIcon$1, null)) : null, /*#__PURE__*/React__default["default"].createElement(StyledDiv, {
|
|
2343
2314
|
$isTargetable: step === "yearly" || !withDatePicker,
|
|
2344
2315
|
$isRounded: step === "custom",
|
|
2345
2316
|
style: dateStepperWidth(fromDate, toDate, step)
|
|
@@ -2373,7 +2344,11 @@
|
|
|
2373
2344
|
variant: "secondary",
|
|
2374
2345
|
onClick: onRightClickHandler,
|
|
2375
2346
|
disabled: isAfterMaxDate
|
|
2376
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
2347
|
+
}, /*#__PURE__*/React__default["default"].createElement(MenuNavIcon$1, {
|
|
2348
|
+
style: {
|
|
2349
|
+
transform: "rotate(180deg)"
|
|
2350
|
+
}
|
|
2351
|
+
})) : null);
|
|
2377
2352
|
};
|
|
2378
2353
|
DateStepper.displayName = "DateStepper";
|
|
2379
2354
|
|
|
@@ -2679,7 +2654,7 @@
|
|
|
2679
2654
|
SortIcon.displayName = "SortIcon";
|
|
2680
2655
|
var SortIcon$1 = SortIcon;
|
|
2681
2656
|
|
|
2682
|
-
var _excluded$
|
|
2657
|
+
var _excluded$J = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue"];
|
|
2683
2658
|
exports.SortDirection = void 0;
|
|
2684
2659
|
|
|
2685
2660
|
(function (SortDirection) {
|
|
@@ -2729,7 +2704,7 @@
|
|
|
2729
2704
|
} : _ref$groupHead,
|
|
2730
2705
|
isCollapsible = _ref.isCollapsible,
|
|
2731
2706
|
emptyValue = _ref.emptyValue,
|
|
2732
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
2707
|
+
args = _objectWithoutProperties(_ref, _excluded$J);
|
|
2733
2708
|
|
|
2734
2709
|
var _useState = React.useState(sortDirection),
|
|
2735
2710
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -3143,7 +3118,7 @@
|
|
|
3143
3118
|
});
|
|
3144
3119
|
StyledPaper.displayName = "StyledPaper";
|
|
3145
3120
|
|
|
3146
|
-
var _excluded$
|
|
3121
|
+
var _excluded$I = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
3147
3122
|
|
|
3148
3123
|
/**
|
|
3149
3124
|
* This is a component description and should sit directly above your component
|
|
@@ -3157,7 +3132,7 @@
|
|
|
3157
3132
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
3158
3133
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
3159
3134
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
3160
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3135
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
3161
3136
|
|
|
3162
3137
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
3163
3138
|
className: classnames__default["default"](className, {
|
|
@@ -3211,7 +3186,7 @@
|
|
|
3211
3186
|
});
|
|
3212
3187
|
StyledCard.displayName = "StyledCard";
|
|
3213
3188
|
|
|
3214
|
-
var _excluded$
|
|
3189
|
+
var _excluded$H = ["children", "className", "hoverable", "paperType"];
|
|
3215
3190
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3216
3191
|
var children = _ref.children,
|
|
3217
3192
|
className = _ref.className,
|
|
@@ -3219,7 +3194,7 @@
|
|
|
3219
3194
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
3220
3195
|
_ref$paperType = _ref.paperType,
|
|
3221
3196
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
3222
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3197
|
+
rest = _objectWithoutProperties(_ref, _excluded$H);
|
|
3223
3198
|
|
|
3224
3199
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
3225
3200
|
type: paperType,
|
|
@@ -3301,21 +3276,36 @@
|
|
|
3301
3276
|
});
|
|
3302
3277
|
EntityCard.displayName = "EntityCard";
|
|
3303
3278
|
|
|
3304
|
-
var _excluded$
|
|
3279
|
+
var _excluded$G = ["weight", "children"];
|
|
3305
3280
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3306
3281
|
var _ref$weight = _ref.weight,
|
|
3307
3282
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
3308
3283
|
children = _ref.children,
|
|
3309
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3284
|
+
props = _objectWithoutProperties(_ref, _excluded$G);
|
|
3310
3285
|
|
|
3311
3286
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3312
3287
|
weight: weight,
|
|
3313
3288
|
variant: "Title 1",
|
|
3314
3289
|
ref: ref
|
|
3315
|
-
}, props),
|
|
3290
|
+
}, props), children);
|
|
3316
3291
|
});
|
|
3317
3292
|
Title1.displayName = "Title1";
|
|
3318
3293
|
|
|
3294
|
+
var _excluded$F = ["weight", "children"];
|
|
3295
|
+
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3296
|
+
var _ref$weight = _ref.weight,
|
|
3297
|
+
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
3298
|
+
children = _ref.children,
|
|
3299
|
+
props = _objectWithoutProperties(_ref, _excluded$F);
|
|
3300
|
+
|
|
3301
|
+
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3302
|
+
weight: weight,
|
|
3303
|
+
variant: "Title 2",
|
|
3304
|
+
ref: ref
|
|
3305
|
+
}, props), children);
|
|
3306
|
+
});
|
|
3307
|
+
Title2.displayName = "Title2";
|
|
3308
|
+
|
|
3319
3309
|
var _excluded$E = ["children"];
|
|
3320
3310
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3321
3311
|
var children = _ref.children,
|
|
@@ -3325,7 +3315,7 @@
|
|
|
3325
3315
|
weight: "bold",
|
|
3326
3316
|
variant: "Header 2",
|
|
3327
3317
|
ref: ref
|
|
3328
|
-
}, props),
|
|
3318
|
+
}, props), children);
|
|
3329
3319
|
});
|
|
3330
3320
|
Header2.displayName = "Header2";
|
|
3331
3321
|
|
|
@@ -3338,7 +3328,7 @@
|
|
|
3338
3328
|
weight: "bold",
|
|
3339
3329
|
variant: "Header 3",
|
|
3340
3330
|
ref: ref
|
|
3341
|
-
}, props),
|
|
3331
|
+
}, props), children);
|
|
3342
3332
|
});
|
|
3343
3333
|
Header3.displayName = "Header3";
|
|
3344
3334
|
|
|
@@ -3353,7 +3343,7 @@
|
|
|
3353
3343
|
variant: "Body 1",
|
|
3354
3344
|
weight: weight,
|
|
3355
3345
|
ref: ref
|
|
3356
|
-
}, props),
|
|
3346
|
+
}, props), children);
|
|
3357
3347
|
});
|
|
3358
3348
|
Body1.displayName = "Body1";
|
|
3359
3349
|
|
|
@@ -3368,7 +3358,7 @@
|
|
|
3368
3358
|
variant: "Caption 1",
|
|
3369
3359
|
weight: weight,
|
|
3370
3360
|
ref: ref
|
|
3371
|
-
}, props),
|
|
3361
|
+
}, props), children);
|
|
3372
3362
|
});
|
|
3373
3363
|
Caption1.displayName = "Caption1";
|
|
3374
3364
|
|
|
@@ -3383,7 +3373,7 @@
|
|
|
3383
3373
|
variant: "Caption 2",
|
|
3384
3374
|
weight: weight,
|
|
3385
3375
|
ref: ref
|
|
3386
|
-
}, props),
|
|
3376
|
+
}, props), children);
|
|
3387
3377
|
});
|
|
3388
3378
|
Caption2.displayName = "Caption2";
|
|
3389
3379
|
|
|
@@ -5920,6 +5910,38 @@
|
|
|
5920
5910
|
CancelCrossIcon.displayName = "CancelCrossIcon";
|
|
5921
5911
|
var CancelCrossIcon$1 = CancelCrossIcon;
|
|
5922
5912
|
|
|
5913
|
+
var CaretLeftIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
5914
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
5915
|
+
width: 18,
|
|
5916
|
+
height: 18,
|
|
5917
|
+
viewBox: "0 0 18 18",
|
|
5918
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5919
|
+
fill: "var(--color-theme-600)",
|
|
5920
|
+
ref: svgRef
|
|
5921
|
+
}, props), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
5922
|
+
d: "M10 5v8L6 9l4-4z",
|
|
5923
|
+
fillRule: "evenodd"
|
|
5924
|
+
}));
|
|
5925
|
+
});
|
|
5926
|
+
CaretLeftIcon.displayName = "CaretLeftIcon";
|
|
5927
|
+
var CaretLeftIcon$1 = CaretLeftIcon;
|
|
5928
|
+
|
|
5929
|
+
var CaretRightIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
5930
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
5931
|
+
width: 18,
|
|
5932
|
+
height: 18,
|
|
5933
|
+
viewBox: "0 0 18 18",
|
|
5934
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5935
|
+
fill: "var(--color-theme-600)",
|
|
5936
|
+
ref: svgRef
|
|
5937
|
+
}, props), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
5938
|
+
d: "M8 5v8l4-4-4-4z",
|
|
5939
|
+
fillRule: "evenodd"
|
|
5940
|
+
}));
|
|
5941
|
+
});
|
|
5942
|
+
CaretRightIcon.displayName = "CaretRightIcon";
|
|
5943
|
+
var CaretRightIcon$1 = CaretRightIcon;
|
|
5944
|
+
|
|
5923
5945
|
var ChatIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
5924
5946
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
5925
5947
|
width: 24,
|
|
@@ -6112,38 +6134,6 @@
|
|
|
6112
6134
|
CollapsIcon.displayName = "CollapsIcon";
|
|
6113
6135
|
var CollapsIcon$1 = CollapsIcon;
|
|
6114
6136
|
|
|
6115
|
-
var CommentIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
6116
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
6117
|
-
width: 12,
|
|
6118
|
-
height: 12,
|
|
6119
|
-
viewBox: "0 0 12 12",
|
|
6120
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6121
|
-
fill: "var(--color-theme-600)",
|
|
6122
|
-
ref: svgRef
|
|
6123
|
-
}, props), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
6124
|
-
d: "M2 0C1 0 0 1 0 2v10l2.667-2a5 5 0 013-1H10c1 0 2-1 2-2V2c0-1-1-2-2-2H2zm7.6 1A1.4 1.4 0 0111 2.4v4.2A1.4 1.4 0 019.6 8H5.009a4 4 0 00-2.391.794L1 10V2.4A1.4 1.4 0 012.4 1h7.2zM9 5H3v1h6V5zm0-2H3v1h6V3z",
|
|
6125
|
-
fillRule: "nonzero"
|
|
6126
|
-
}));
|
|
6127
|
-
});
|
|
6128
|
-
CommentIcon.displayName = "CommentIcon";
|
|
6129
|
-
var CommentIcon$1 = CommentIcon;
|
|
6130
|
-
|
|
6131
|
-
var CommentsIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
6132
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
6133
|
-
width: 12,
|
|
6134
|
-
height: 12,
|
|
6135
|
-
viewBox: "0 0 12 12",
|
|
6136
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6137
|
-
fill: "var(--color-theme-600)",
|
|
6138
|
-
ref: svgRef
|
|
6139
|
-
}, props), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
6140
|
-
d: "M2 0C1 0 0 1 0 2v10l2.667-2a5 5 0 013-1H10c1 0 2-1 2-2V2c0-1-1-2-2-2H2zm7.6 8H5.009a4 4 0 00-2.391.794L1 10V2.4A1.4 1.4 0 012.4 1h7.2A1.4 1.4 0 0111 2.4v4.2A1.4 1.4 0 019.6 8z",
|
|
6141
|
-
fillRule: "nonzero"
|
|
6142
|
-
}));
|
|
6143
|
-
});
|
|
6144
|
-
CommentsIcon.displayName = "CommentsIcon";
|
|
6145
|
-
var CommentsIcon$1 = CommentsIcon;
|
|
6146
|
-
|
|
6147
6137
|
var ComputerIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
6148
6138
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
6149
6139
|
width: 24,
|
|
@@ -10374,8 +10364,6 @@
|
|
|
10374
10364
|
exports.CollapseAllIcon = CollapseAllIcon$1;
|
|
10375
10365
|
exports.CollapseExpandSingleIcon = CollapseExpandSingleIcon$1;
|
|
10376
10366
|
exports.ComboBox = ComboBox;
|
|
10377
|
-
exports.CommentIcon = CommentIcon$1;
|
|
10378
|
-
exports.CommentsIcon = CommentsIcon$1;
|
|
10379
10367
|
exports.CompleteCheckbox = CompleteCheckbox;
|
|
10380
10368
|
exports.ComputerIcon = ComputerIcon$1;
|
|
10381
10369
|
exports.ConfirmDialog = ConfirmDialog;
|
|
@@ -10544,6 +10532,7 @@
|
|
|
10544
10532
|
exports.ThumbsDownIcon = ThumbsDownIcon$1;
|
|
10545
10533
|
exports.ThumbsUpIcon = ThumbsUpIcon$1;
|
|
10546
10534
|
exports.Title1 = Title1;
|
|
10535
|
+
exports.Title2 = Title2;
|
|
10547
10536
|
exports.Toggle = Toggle;
|
|
10548
10537
|
exports.Tooltip = Tooltip;
|
|
10549
10538
|
exports.TrashIcon = TrashIcon$1;
|