@activecollab/components 1.0.55 → 1.0.58
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/Label/Label.js +21 -19
- package/dist/cjs/components/Label/Label.js.map +1 -1
- package/dist/cjs/components/{Label → Tag}/Styles.js +16 -16
- package/dist/cjs/components/Tag/Styles.js.map +1 -0
- package/dist/cjs/components/Tag/Tag.js +52 -0
- package/dist/cjs/components/Tag/Tag.js.map +1 -0
- package/dist/cjs/components/Tag/index.js +19 -0
- package/dist/cjs/components/Tag/index.js.map +1 -0
- package/dist/cjs/components/Typography/Typography.js +5 -9
- package/dist/cjs/components/Typography/Typography.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Body1.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Body2.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Caption1.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Caption2.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Header2.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Header3.js.map +1 -1
- package/dist/cjs/components/Typography/Variants/Title1.js.map +1 -1
- package/dist/cjs/components/index.js +17 -4
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/utils/types.js +6 -0
- package/dist/cjs/utils/types.js.map +1 -0
- package/dist/esm/components/CounterButton/Styles.d.ts +1 -1
- package/dist/esm/components/Label/Label.d.ts +6 -9
- package/dist/esm/components/Label/Label.d.ts.map +1 -1
- package/dist/esm/components/Label/Label.js +20 -18
- package/dist/esm/components/Label/Label.js.map +1 -1
- package/dist/esm/components/Tag/Styles.d.ts +8 -0
- package/dist/esm/components/Tag/Styles.d.ts.map +1 -0
- package/dist/esm/components/{Label → Tag}/Styles.js +12 -12
- package/dist/esm/components/Tag/Styles.js.map +1 -0
- package/dist/esm/components/Tag/Tag.d.ts +13 -0
- package/dist/esm/components/Tag/Tag.d.ts.map +1 -0
- package/dist/esm/components/Tag/Tag.js +28 -0
- package/dist/esm/components/Tag/Tag.js.map +1 -0
- package/dist/esm/components/Tag/index.d.ts +2 -0
- package/dist/esm/components/Tag/index.d.ts.map +1 -0
- package/dist/esm/components/Tag/index.js +2 -0
- package/dist/esm/components/Tag/index.js.map +1 -0
- package/dist/esm/components/Typography/Typography.d.ts +6 -5
- package/dist/esm/components/Typography/Typography.d.ts.map +1 -1
- package/dist/esm/components/Typography/Typography.js +6 -9
- package/dist/esm/components/Typography/Typography.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Body1.d.ts +2 -2
- package/dist/esm/components/Typography/Variants/Body1.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Body1.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Body2.d.ts +2 -2
- package/dist/esm/components/Typography/Variants/Body2.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Body2.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Caption1.d.ts +2 -2
- package/dist/esm/components/Typography/Variants/Caption1.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Caption1.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Caption2.d.ts +2 -2
- package/dist/esm/components/Typography/Variants/Caption2.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Caption2.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Header2.d.ts +2 -2
- package/dist/esm/components/Typography/Variants/Header2.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Header2.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Header3.d.ts +2 -2
- package/dist/esm/components/Typography/Variants/Header3.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Header3.js.map +1 -1
- package/dist/esm/components/Typography/Variants/Title1.d.ts +2 -2
- package/dist/esm/components/Typography/Variants/Title1.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Title1.js.map +1 -1
- package/dist/esm/components/ValueButton/Styles.d.ts +2 -2
- package/dist/esm/components/ValueButton/Styles.d.ts.map +1 -1
- package/dist/esm/components/index.d.ts +2 -1
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +2 -1
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/utils/types.d.ts +14 -0
- package/dist/esm/utils/types.d.ts.map +1 -0
- package/dist/esm/utils/types.js +2 -0
- package/dist/esm/utils/types.js.map +1 -0
- package/dist/index.js +164 -140
- 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/Label/Styles.js.map +0 -1
- package/dist/esm/components/Label/Styles.d.ts +0 -8
- package/dist/esm/components/Label/Styles.d.ts.map +0 -1
- package/dist/esm/components/Label/Styles.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$W = ["children", "variant", "size", "disabled", "className"];
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* Button component
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
_ref$disabled = _ref.disabled,
|
|
328
328
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
329
329
|
className = _ref.className,
|
|
330
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
330
|
+
args = _objectWithoutProperties(_ref, _excluded$W);
|
|
331
331
|
|
|
332
332
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$1, _extends({
|
|
333
333
|
disabled: disabled,
|
|
@@ -380,12 +380,12 @@
|
|
|
380
380
|
})(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
|
|
381
381
|
StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
|
|
382
382
|
|
|
383
|
-
var _excluded$
|
|
383
|
+
var _excluded$V = ["className", "disabled"];
|
|
384
384
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
385
385
|
var className = _ref.className,
|
|
386
386
|
_ref$disabled = _ref.disabled,
|
|
387
387
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
388
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
388
|
+
rest = _objectWithoutProperties(_ref, _excluded$V);
|
|
389
389
|
|
|
390
390
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
391
391
|
ref: ref,
|
|
@@ -418,11 +418,11 @@
|
|
|
418
418
|
});
|
|
419
419
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
420
420
|
|
|
421
|
-
var _excluded$
|
|
421
|
+
var _excluded$U = ["children", "className"];
|
|
422
422
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
423
423
|
var children = _ref.children,
|
|
424
424
|
className = _ref.className,
|
|
425
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
425
|
+
rest = _objectWithoutProperties(_ref, _excluded$U);
|
|
426
426
|
|
|
427
427
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
428
428
|
ref: ref,
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
}, [refA, refB]);
|
|
449
449
|
}
|
|
450
450
|
|
|
451
|
-
var _excluded$
|
|
451
|
+
var _excluded$T = ["children", "anchorEl", "open", "style", "transition", "placement"];
|
|
452
452
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
453
453
|
var children = _ref.children,
|
|
454
454
|
anchorEl = _ref.anchorEl,
|
|
@@ -459,7 +459,7 @@
|
|
|
459
459
|
transition = _ref$transition === void 0 ? false : _ref$transition,
|
|
460
460
|
_ref$placement = _ref.placement,
|
|
461
461
|
initialPlacement = _ref$placement === void 0 ? "bottom" : _ref$placement,
|
|
462
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
462
|
+
rest = _objectWithoutProperties(_ref, _excluded$T);
|
|
463
463
|
|
|
464
464
|
var _useState = React.useState(true),
|
|
465
465
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -631,11 +631,11 @@
|
|
|
631
631
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
632
632
|
});
|
|
633
633
|
|
|
634
|
-
var _excluded$
|
|
634
|
+
var _excluded$S = ["children"];
|
|
635
635
|
|
|
636
636
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
637
637
|
var children = _ref.children,
|
|
638
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
638
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
639
639
|
|
|
640
640
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
641
641
|
timeout: 0
|
|
@@ -855,12 +855,11 @@
|
|
|
855
855
|
});
|
|
856
856
|
StyledTypography.displayName = "StyledTypography";
|
|
857
857
|
|
|
858
|
-
var _excluded$
|
|
858
|
+
var _excluded$R = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
859
859
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
860
860
|
var _ref$variant = _ref.variant,
|
|
861
861
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
862
|
-
|
|
863
|
-
Tag = _ref$Tag === void 0 ? "div" : _ref$Tag,
|
|
862
|
+
as = _ref.as,
|
|
864
863
|
_ref$color = _ref.color,
|
|
865
864
|
color = _ref$color === void 0 ? "primary" : _ref$color,
|
|
866
865
|
_ref$italic = _ref.italic,
|
|
@@ -887,12 +886,11 @@
|
|
|
887
886
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
888
887
|
className = _ref.className,
|
|
889
888
|
children = _ref.children,
|
|
890
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
889
|
+
props = _objectWithoutProperties(_ref, _excluded$R);
|
|
891
890
|
|
|
892
|
-
var
|
|
893
|
-
var handleRef = useForkRef(ref, innerRef);
|
|
891
|
+
var Component = as || "div";
|
|
894
892
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
895
|
-
as:
|
|
893
|
+
as: Component,
|
|
896
894
|
className: classnames__default["default"]("typography", className),
|
|
897
895
|
$italic: italic,
|
|
898
896
|
$tabularNums: tabularNums,
|
|
@@ -907,17 +905,17 @@
|
|
|
907
905
|
$variant: variant,
|
|
908
906
|
$color: color,
|
|
909
907
|
$weight: weight,
|
|
910
|
-
ref:
|
|
908
|
+
ref: ref
|
|
911
909
|
}, props), children);
|
|
912
910
|
});
|
|
913
911
|
Typography.displayName = "Typography";
|
|
914
912
|
|
|
915
|
-
var _excluded$
|
|
913
|
+
var _excluded$Q = ["weight", "children"];
|
|
916
914
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
917
915
|
var _ref$weight = _ref.weight,
|
|
918
916
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
919
917
|
children = _ref.children,
|
|
920
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
918
|
+
props = _objectWithoutProperties(_ref, _excluded$Q);
|
|
921
919
|
|
|
922
920
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
923
921
|
variant: "Body 2",
|
|
@@ -958,7 +956,7 @@
|
|
|
958
956
|
});
|
|
959
957
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
960
958
|
|
|
961
|
-
var _excluded$
|
|
959
|
+
var _excluded$P = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
|
|
962
960
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
963
961
|
var label = _ref.label,
|
|
964
962
|
icon = _ref.icon,
|
|
@@ -968,7 +966,7 @@
|
|
|
968
966
|
tooltipText = _ref.tooltipText,
|
|
969
967
|
onClearAll = _ref.onClearAll,
|
|
970
968
|
className = _ref.className,
|
|
971
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
969
|
+
args = _objectWithoutProperties(_ref, _excluded$P);
|
|
972
970
|
|
|
973
971
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
974
972
|
className: classnames__default["default"]("tw-flex ac-font box-sizing", className)
|
|
@@ -1338,7 +1336,7 @@
|
|
|
1338
1336
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
1339
1337
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
1340
1338
|
|
|
1341
|
-
var _excluded$
|
|
1339
|
+
var _excluded$O = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
1342
1340
|
var DatePicker = function DatePicker(_ref) {
|
|
1343
1341
|
var className = _ref.className,
|
|
1344
1342
|
onChange = _ref.onChange,
|
|
@@ -1360,7 +1358,7 @@
|
|
|
1360
1358
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
1361
1359
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
1362
1360
|
defaultModifiers = _ref.modifiers,
|
|
1363
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1361
|
+
rest = _objectWithoutProperties(_ref, _excluded$O);
|
|
1364
1362
|
|
|
1365
1363
|
var _useState = React.useState(),
|
|
1366
1364
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -1705,12 +1703,12 @@
|
|
|
1705
1703
|
});
|
|
1706
1704
|
StyledOverlay.displayName = "StyledOverlay";
|
|
1707
1705
|
|
|
1708
|
-
var _excluded$
|
|
1706
|
+
var _excluded$N = ["className", "disableBackgroundColor"];
|
|
1709
1707
|
var Overlay = function Overlay(_ref) {
|
|
1710
1708
|
var className = _ref.className,
|
|
1711
1709
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
1712
1710
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
1713
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1711
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
1714
1712
|
|
|
1715
1713
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
1716
1714
|
className: classnames__default["default"]("c-overlay", className),
|
|
@@ -1725,7 +1723,7 @@
|
|
|
1725
1723
|
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
|
|
1726
1724
|
StyledWindow.displayName = "StyledWindow";
|
|
1727
1725
|
|
|
1728
|
-
var _excluded$
|
|
1726
|
+
var _excluded$M = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock"];
|
|
1729
1727
|
var returnFocus = {
|
|
1730
1728
|
preventScroll: true
|
|
1731
1729
|
};
|
|
@@ -1739,7 +1737,7 @@
|
|
|
1739
1737
|
disableFocusLock = _ref$disableFocusLock === void 0 ? false : _ref$disableFocusLock,
|
|
1740
1738
|
_ref$disableScrollLoc = _ref.disableScrollLock,
|
|
1741
1739
|
disableScrollLock = _ref$disableScrollLoc === void 0 ? false : _ref$disableScrollLoc,
|
|
1742
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1740
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
1743
1741
|
|
|
1744
1742
|
var innerRef = React.useRef(null);
|
|
1745
1743
|
var handleRef = useForkRef(innerRef, ref);
|
|
@@ -1805,7 +1803,7 @@
|
|
|
1805
1803
|
}, FontStyle, BoxSizingStyle);
|
|
1806
1804
|
StyledBubble.displayName = "StyledBubble";
|
|
1807
1805
|
|
|
1808
|
-
var _excluded$
|
|
1806
|
+
var _excluded$L = ["children", "className", "innerRef", "style"];
|
|
1809
1807
|
var Bubble = function Bubble(_ref) {
|
|
1810
1808
|
var children = _ref.children,
|
|
1811
1809
|
className = _ref.className,
|
|
@@ -1813,7 +1811,7 @@
|
|
|
1813
1811
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
1814
1812
|
_ref$style = _ref.style,
|
|
1815
1813
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
1816
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
1814
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
1817
1815
|
|
|
1818
1816
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
1819
1817
|
ref: innerRef,
|
|
@@ -1957,13 +1955,13 @@
|
|
|
1957
1955
|
};
|
|
1958
1956
|
Menu.displayName = "Menu";
|
|
1959
1957
|
|
|
1960
|
-
var _excluded$
|
|
1958
|
+
var _excluded$K = ["title", "className", "leftElement", "rightElement"];
|
|
1961
1959
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1962
1960
|
var title = _ref.title,
|
|
1963
1961
|
className = _ref.className,
|
|
1964
1962
|
leftElement = _ref.leftElement,
|
|
1965
1963
|
rightElement = _ref.rightElement,
|
|
1966
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1964
|
+
props = _objectWithoutProperties(_ref, _excluded$K);
|
|
1967
1965
|
|
|
1968
1966
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
1969
1967
|
className: classnames__default["default"]("c-menu-header", className),
|
|
@@ -1986,11 +1984,11 @@
|
|
|
1986
1984
|
});
|
|
1987
1985
|
MenuHeader.displayName = "MenuHeader";
|
|
1988
1986
|
|
|
1989
|
-
var _excluded$
|
|
1987
|
+
var _excluded$J = ["children", "className"];
|
|
1990
1988
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1991
1989
|
var children = _ref.children,
|
|
1992
1990
|
className = _ref.className,
|
|
1993
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1991
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
1994
1992
|
|
|
1995
1993
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter, _extends({}, props, {
|
|
1996
1994
|
className: classnames__default["default"]("c-menu-footer", className),
|
|
@@ -2658,7 +2656,7 @@
|
|
|
2658
2656
|
SortIcon.displayName = "SortIcon";
|
|
2659
2657
|
var SortIcon$1 = SortIcon;
|
|
2660
2658
|
|
|
2661
|
-
var _excluded$
|
|
2659
|
+
var _excluded$I = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue"];
|
|
2662
2660
|
exports.SortDirection = void 0;
|
|
2663
2661
|
|
|
2664
2662
|
(function (SortDirection) {
|
|
@@ -2708,7 +2706,7 @@
|
|
|
2708
2706
|
} : _ref$groupHead,
|
|
2709
2707
|
isCollapsible = _ref.isCollapsible,
|
|
2710
2708
|
emptyValue = _ref.emptyValue,
|
|
2711
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
2709
|
+
args = _objectWithoutProperties(_ref, _excluded$I);
|
|
2712
2710
|
|
|
2713
2711
|
var _useState = React.useState(sortDirection),
|
|
2714
2712
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -3122,7 +3120,7 @@
|
|
|
3122
3120
|
});
|
|
3123
3121
|
StyledPaper.displayName = "StyledPaper";
|
|
3124
3122
|
|
|
3125
|
-
var _excluded$
|
|
3123
|
+
var _excluded$H = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
3126
3124
|
|
|
3127
3125
|
/**
|
|
3128
3126
|
* This is a component description and should sit directly above your component
|
|
@@ -3136,7 +3134,7 @@
|
|
|
3136
3134
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
3137
3135
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
3138
3136
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
3139
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3137
|
+
rest = _objectWithoutProperties(_ref, _excluded$H);
|
|
3140
3138
|
|
|
3141
3139
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
3142
3140
|
className: classnames__default["default"](className, {
|
|
@@ -3190,7 +3188,7 @@
|
|
|
3190
3188
|
});
|
|
3191
3189
|
StyledCard.displayName = "StyledCard";
|
|
3192
3190
|
|
|
3193
|
-
var _excluded$
|
|
3191
|
+
var _excluded$G = ["children", "className", "hoverable", "paperType"];
|
|
3194
3192
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3195
3193
|
var children = _ref.children,
|
|
3196
3194
|
className = _ref.className,
|
|
@@ -3198,7 +3196,7 @@
|
|
|
3198
3196
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
3199
3197
|
_ref$paperType = _ref.paperType,
|
|
3200
3198
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
3201
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3199
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
3202
3200
|
|
|
3203
3201
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
3204
3202
|
type: paperType,
|
|
@@ -3280,12 +3278,12 @@
|
|
|
3280
3278
|
});
|
|
3281
3279
|
EntityCard.displayName = "EntityCard";
|
|
3282
3280
|
|
|
3283
|
-
var _excluded$
|
|
3281
|
+
var _excluded$F = ["weight", "children"];
|
|
3284
3282
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3285
3283
|
var _ref$weight = _ref.weight,
|
|
3286
3284
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
3287
3285
|
children = _ref.children,
|
|
3288
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3286
|
+
props = _objectWithoutProperties(_ref, _excluded$F);
|
|
3289
3287
|
|
|
3290
3288
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3291
3289
|
weight: weight,
|
|
@@ -3295,10 +3293,10 @@
|
|
|
3295
3293
|
});
|
|
3296
3294
|
Title1.displayName = "Title1";
|
|
3297
3295
|
|
|
3298
|
-
var _excluded$
|
|
3296
|
+
var _excluded$E = ["children"];
|
|
3299
3297
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3300
3298
|
var children = _ref.children,
|
|
3301
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3299
|
+
props = _objectWithoutProperties(_ref, _excluded$E);
|
|
3302
3300
|
|
|
3303
3301
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3304
3302
|
weight: "bold",
|
|
@@ -3308,10 +3306,10 @@
|
|
|
3308
3306
|
});
|
|
3309
3307
|
Header2.displayName = "Header2";
|
|
3310
3308
|
|
|
3311
|
-
var _excluded$
|
|
3309
|
+
var _excluded$D = ["children"];
|
|
3312
3310
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3313
3311
|
var children = _ref.children,
|
|
3314
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3312
|
+
props = _objectWithoutProperties(_ref, _excluded$D);
|
|
3315
3313
|
|
|
3316
3314
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3317
3315
|
weight: "bold",
|
|
@@ -3321,12 +3319,12 @@
|
|
|
3321
3319
|
});
|
|
3322
3320
|
Header3.displayName = "Header3";
|
|
3323
3321
|
|
|
3324
|
-
var _excluded$
|
|
3322
|
+
var _excluded$C = ["weight", "children"];
|
|
3325
3323
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3326
3324
|
var _ref$weight = _ref.weight,
|
|
3327
3325
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
3328
3326
|
children = _ref.children,
|
|
3329
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3327
|
+
props = _objectWithoutProperties(_ref, _excluded$C);
|
|
3330
3328
|
|
|
3331
3329
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3332
3330
|
variant: "Body 1",
|
|
@@ -3336,12 +3334,12 @@
|
|
|
3336
3334
|
});
|
|
3337
3335
|
Body1.displayName = "Body1";
|
|
3338
3336
|
|
|
3339
|
-
var _excluded$
|
|
3337
|
+
var _excluded$B = ["weight", "children"];
|
|
3340
3338
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3341
3339
|
var _ref$weight = _ref.weight,
|
|
3342
3340
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
3343
3341
|
children = _ref.children,
|
|
3344
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3342
|
+
props = _objectWithoutProperties(_ref, _excluded$B);
|
|
3345
3343
|
|
|
3346
3344
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3347
3345
|
variant: "Caption 1",
|
|
@@ -3351,12 +3349,12 @@
|
|
|
3351
3349
|
});
|
|
3352
3350
|
Caption1.displayName = "Caption1";
|
|
3353
3351
|
|
|
3354
|
-
var _excluded$
|
|
3352
|
+
var _excluded$A = ["weight", "children"];
|
|
3355
3353
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3356
3354
|
var _ref$weight = _ref.weight,
|
|
3357
3355
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
3358
3356
|
children = _ref.children,
|
|
3359
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3357
|
+
props = _objectWithoutProperties(_ref, _excluded$A);
|
|
3360
3358
|
|
|
3361
3359
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
3362
3360
|
variant: "Caption 2",
|
|
@@ -3475,7 +3473,7 @@
|
|
|
3475
3473
|
"borderRadius": "9999px"
|
|
3476
3474
|
});
|
|
3477
3475
|
|
|
3478
|
-
var _excluded$
|
|
3476
|
+
var _excluded$z = ["url", "alt", "size", "className"];
|
|
3479
3477
|
var Avatar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3480
3478
|
var url = _ref.url,
|
|
3481
3479
|
_ref$alt = _ref.alt,
|
|
@@ -3483,7 +3481,7 @@
|
|
|
3483
3481
|
_ref$size = _ref.size,
|
|
3484
3482
|
size = _ref$size === void 0 ? 24 : _ref$size,
|
|
3485
3483
|
className = _ref.className,
|
|
3486
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3484
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
3487
3485
|
|
|
3488
3486
|
return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({}, rest, {
|
|
3489
3487
|
ref: ref,
|
|
@@ -3496,17 +3494,17 @@
|
|
|
3496
3494
|
});
|
|
3497
3495
|
Avatar.displayName = "Avatar";
|
|
3498
3496
|
|
|
3499
|
-
var
|
|
3500
|
-
displayName: "
|
|
3501
|
-
componentId: "sc-
|
|
3497
|
+
var StyledTag = styled__default["default"].div.withConfig({
|
|
3498
|
+
displayName: "Styles__StyledTag",
|
|
3499
|
+
componentId: "sc-1chtb47-0"
|
|
3502
3500
|
})(["", " font-size:13px;line-height:1.375;", " ", ""], {
|
|
3503
3501
|
"display": "flex",
|
|
3504
3502
|
"alignItems": "center"
|
|
3505
3503
|
}, BoxSizingStyle, FontStyle);
|
|
3506
|
-
|
|
3507
|
-
var
|
|
3508
|
-
displayName: "
|
|
3509
|
-
componentId: "sc-
|
|
3504
|
+
StyledTag.displayName = "StyledTag";
|
|
3505
|
+
var StyledTagDot = styled__default["default"].div.withConfig({
|
|
3506
|
+
displayName: "Styles__StyledTagDot",
|
|
3507
|
+
componentId: "sc-1chtb47-1"
|
|
3510
3508
|
})(["", " ", " ", ""], {
|
|
3511
3509
|
"width": "0.5rem",
|
|
3512
3510
|
"height": "0.5rem",
|
|
@@ -3519,19 +3517,19 @@
|
|
|
3519
3517
|
}, function (props) {
|
|
3520
3518
|
return props.color && styled.css(["background-color:", ";"], props.color);
|
|
3521
3519
|
});
|
|
3522
|
-
|
|
3523
|
-
var
|
|
3524
|
-
displayName: "
|
|
3525
|
-
componentId: "sc-
|
|
3520
|
+
StyledTagDot.displayName = "StyledTagDot";
|
|
3521
|
+
var StyledTagText = styled__default["default"].div.withConfig({
|
|
3522
|
+
displayName: "Styles__StyledTagText",
|
|
3523
|
+
componentId: "sc-1chtb47-2"
|
|
3526
3524
|
})(["", " ", ""], {
|
|
3527
3525
|
"textTransform": "uppercase"
|
|
3528
3526
|
}, function (props) {
|
|
3529
3527
|
return props.color && styled.css(["color:", ";"], props.color);
|
|
3530
3528
|
});
|
|
3531
|
-
|
|
3529
|
+
StyledTagText.displayName = "StyledTagText";
|
|
3532
3530
|
|
|
3533
|
-
var _excluded$
|
|
3534
|
-
var
|
|
3531
|
+
var _excluded$y = ["name", "color", "showText", "showDot", "className"];
|
|
3532
|
+
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3535
3533
|
var name = _ref.name,
|
|
3536
3534
|
color = _ref.color,
|
|
3537
3535
|
_ref$showText = _ref.showText,
|
|
@@ -3539,19 +3537,19 @@
|
|
|
3539
3537
|
_ref$showDot = _ref.showDot,
|
|
3540
3538
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
3541
3539
|
className = _ref.className,
|
|
3542
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3540
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
3543
3541
|
|
|
3544
|
-
return /*#__PURE__*/React__default["default"].createElement(
|
|
3545
|
-
className: classnames__default["default"]("c-
|
|
3542
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
3543
|
+
className: classnames__default["default"]("c-tag", className),
|
|
3546
3544
|
ref: ref
|
|
3547
|
-
}, rest), showDot ? /*#__PURE__*/React__default["default"].createElement(
|
|
3545
|
+
}, rest), showDot ? /*#__PURE__*/React__default["default"].createElement(StyledTagDot, {
|
|
3548
3546
|
$showText: showText,
|
|
3549
3547
|
color: color
|
|
3550
|
-
}) : null, showText ? /*#__PURE__*/React__default["default"].createElement(
|
|
3548
|
+
}) : null, showText ? /*#__PURE__*/React__default["default"].createElement(StyledTagText, {
|
|
3551
3549
|
color: color
|
|
3552
3550
|
}, name) : null);
|
|
3553
3551
|
});
|
|
3554
|
-
|
|
3552
|
+
Tag.displayName = "Tag";
|
|
3555
3553
|
|
|
3556
3554
|
var linearAnimation = styled.keyframes(["0%{background-position:left;}100%{background-position:right;}"]);
|
|
3557
3555
|
var StyledLinearLoader = styled__default["default"].div.withConfig({
|
|
@@ -3559,10 +3557,10 @@
|
|
|
3559
3557
|
componentId: "sc-x4ge7a-0"
|
|
3560
3558
|
})(["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);
|
|
3561
3559
|
|
|
3562
|
-
var _excluded$
|
|
3560
|
+
var _excluded$x = ["className"];
|
|
3563
3561
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3564
3562
|
var className = _ref.className,
|
|
3565
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3563
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
3566
3564
|
|
|
3567
3565
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
3568
3566
|
ref: ref,
|
|
@@ -3577,10 +3575,10 @@
|
|
|
3577
3575
|
componentId: "sc-1f35d5h-0"
|
|
3578
3576
|
})(["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);
|
|
3579
3577
|
|
|
3580
|
-
var _excluded$
|
|
3578
|
+
var _excluded$w = ["className"];
|
|
3581
3579
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3582
3580
|
var className = _ref.className,
|
|
3583
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3581
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
3584
3582
|
|
|
3585
3583
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
3586
3584
|
ref: ref,
|
|
@@ -3596,10 +3594,10 @@
|
|
|
3596
3594
|
componentId: "sc-1ht53g9-0"
|
|
3597
3595
|
})(["position:relative;width:20px;&:before{content:\"\";display:block;padding-top:100%;}svg{animation:", " 2s linear infinite;height:100%;transform-origin:center center;width:100%;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;circle{stroke-dasharray:1,200;stroke-dashoffset:0;stroke:var(--color-theme-600);animation:", " 1.5s ease-in-out infinite;stroke-linecap:round;}}"], rotateAnimation, dashAnimation);
|
|
3598
3596
|
|
|
3599
|
-
var _excluded$
|
|
3597
|
+
var _excluded$v = ["className"];
|
|
3600
3598
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3601
3599
|
var className = _ref.className,
|
|
3602
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3600
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
3603
3601
|
|
|
3604
3602
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader, _extends({
|
|
3605
3603
|
ref: ref,
|
|
@@ -3661,7 +3659,7 @@
|
|
|
3661
3659
|
}, StyledInput$1, StyledLabel);
|
|
3662
3660
|
StyledCheckbox.displayName = "StyledCheckbox";
|
|
3663
3661
|
|
|
3664
|
-
var _excluded$
|
|
3662
|
+
var _excluded$u = ["className", "hover", "id"];
|
|
3665
3663
|
|
|
3666
3664
|
/**
|
|
3667
3665
|
* Checkbox component
|
|
@@ -3671,7 +3669,7 @@
|
|
|
3671
3669
|
hover = _ref.hover,
|
|
3672
3670
|
_ref$id = _ref.id,
|
|
3673
3671
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
3674
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3672
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
3675
3673
|
|
|
3676
3674
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox, {
|
|
3677
3675
|
className: classnames__default["default"]("c-checkbox", {
|
|
@@ -3744,14 +3742,14 @@
|
|
|
3744
3742
|
}, StyledRadioLabel);
|
|
3745
3743
|
StyledRadioButton.displayName = "StyledRadioButton";
|
|
3746
3744
|
|
|
3747
|
-
var _excluded$
|
|
3745
|
+
var _excluded$t = ["className", "id", "hover"];
|
|
3748
3746
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3749
3747
|
var _ref$className = _ref.className,
|
|
3750
3748
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
3751
3749
|
_ref$id = _ref.id,
|
|
3752
3750
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
3753
3751
|
hover = _ref.hover,
|
|
3754
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3752
|
+
props = _objectWithoutProperties(_ref, _excluded$t);
|
|
3755
3753
|
|
|
3756
3754
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton, {
|
|
3757
3755
|
className: classnames__default["default"]("c-radio-btn", {
|
|
@@ -4019,7 +4017,7 @@
|
|
|
4019
4017
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
4020
4018
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
4021
4019
|
|
|
4022
|
-
var _excluded$
|
|
4020
|
+
var _excluded$s = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
4023
4021
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4024
4022
|
var children = _ref.children,
|
|
4025
4023
|
className = _ref.className,
|
|
@@ -4033,7 +4031,7 @@
|
|
|
4033
4031
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
4034
4032
|
innerColor = _ref.innerColor,
|
|
4035
4033
|
outerColor = _ref.outerColor,
|
|
4036
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4034
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
4037
4035
|
|
|
4038
4036
|
var _useState = React.useState({
|
|
4039
4037
|
top: 0,
|
|
@@ -4163,14 +4161,14 @@
|
|
|
4163
4161
|
return height;
|
|
4164
4162
|
};
|
|
4165
4163
|
|
|
4166
|
-
var _excluded$
|
|
4164
|
+
var _excluded$r = ["as", "className", "invert"];
|
|
4167
4165
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4168
4166
|
var _ref$as = _ref.as,
|
|
4169
4167
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
4170
4168
|
className = _ref.className,
|
|
4171
4169
|
_ref$invert = _ref.invert,
|
|
4172
4170
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
4173
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4171
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
4174
4172
|
|
|
4175
4173
|
var internalRef = useInitScrollRef(null, invert);
|
|
4176
4174
|
var handleRef = useForkRef(internalRef, ref);
|
|
@@ -4601,7 +4599,7 @@
|
|
|
4601
4599
|
});
|
|
4602
4600
|
StyledInput.displayName = "StyledInput";
|
|
4603
4601
|
|
|
4604
|
-
var _excluded$
|
|
4602
|
+
var _excluded$q = ["className", "type", "disabled"];
|
|
4605
4603
|
var Input = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4606
4604
|
var _ref$className = _ref.className,
|
|
4607
4605
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -4609,7 +4607,7 @@
|
|
|
4609
4607
|
type = _ref$type === void 0 ? "text" : _ref$type,
|
|
4610
4608
|
_ref$disabled = _ref.disabled,
|
|
4611
4609
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
4612
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4610
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
4613
4611
|
|
|
4614
4612
|
return /*#__PURE__*/React__default["default"].createElement(StyledInput, _extends({
|
|
4615
4613
|
ref: ref,
|
|
@@ -4668,7 +4666,7 @@
|
|
|
4668
4666
|
};
|
|
4669
4667
|
OptionContent.displayName = "OptionContent";
|
|
4670
4668
|
|
|
4671
|
-
var _excluded$
|
|
4669
|
+
var _excluded$p = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose"];
|
|
4672
4670
|
var Select = function Select(_ref) {
|
|
4673
4671
|
var _ref$type = _ref.type,
|
|
4674
4672
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -4698,7 +4696,7 @@
|
|
|
4698
4696
|
keepSameOptionsOrder = _ref$keepSameOptionsO === void 0 ? false : _ref$keepSameOptionsO,
|
|
4699
4697
|
onSelectOpen = _ref.onSelectOpen,
|
|
4700
4698
|
onSelectClose = _ref.onSelectClose,
|
|
4701
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
4699
|
+
prop = _objectWithoutProperties(_ref, _excluded$p);
|
|
4702
4700
|
|
|
4703
4701
|
var _useState = React.useState(),
|
|
4704
4702
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -4973,7 +4971,7 @@
|
|
|
4973
4971
|
});
|
|
4974
4972
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
4975
4973
|
|
|
4976
|
-
var _excluded$
|
|
4974
|
+
var _excluded$o = ["children", "active", "disabled", "className", "role"];
|
|
4977
4975
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
4978
4976
|
var children = _ref.children,
|
|
4979
4977
|
_ref$active = _ref.active,
|
|
@@ -4982,7 +4980,7 @@
|
|
|
4982
4980
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
4983
4981
|
className = _ref.className,
|
|
4984
4982
|
role = _ref.role,
|
|
4985
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4983
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
4986
4984
|
|
|
4987
4985
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
4988
4986
|
className: classnames__default["default"]("c-nav__item", {
|
|
@@ -5024,11 +5022,11 @@
|
|
|
5024
5022
|
});
|
|
5025
5023
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
5026
5024
|
|
|
5027
|
-
var _excluded$
|
|
5025
|
+
var _excluded$n = ["expanded"];
|
|
5028
5026
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5029
5027
|
var _ref$expanded = _ref.expanded,
|
|
5030
5028
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
5031
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5029
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
5032
5030
|
|
|
5033
5031
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
5034
5032
|
ref: ref,
|
|
@@ -5341,11 +5339,11 @@
|
|
|
5341
5339
|
};
|
|
5342
5340
|
Nav.displayName = "Nav";
|
|
5343
5341
|
|
|
5344
|
-
var _excluded$
|
|
5342
|
+
var _excluded$m = ["expanded"];
|
|
5345
5343
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5346
5344
|
var _ref$expanded = _ref.expanded,
|
|
5347
5345
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
5348
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5346
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
5349
5347
|
|
|
5350
5348
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
5351
5349
|
ref: ref,
|
|
@@ -5390,11 +5388,11 @@
|
|
|
5390
5388
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
5391
5389
|
StyledListSeparator.displayName = "StyledListSeparator";
|
|
5392
5390
|
|
|
5393
|
-
var _excluded$
|
|
5391
|
+
var _excluded$l = ["children", "className"];
|
|
5394
5392
|
var List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5395
5393
|
var children = _ref.children,
|
|
5396
5394
|
className = _ref.className,
|
|
5397
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5395
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
5398
5396
|
|
|
5399
5397
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({}, props, {
|
|
5400
5398
|
className: className,
|
|
@@ -5403,11 +5401,11 @@
|
|
|
5403
5401
|
});
|
|
5404
5402
|
List.displayName = "List";
|
|
5405
5403
|
|
|
5406
|
-
var _excluded$
|
|
5404
|
+
var _excluded$k = ["children", "className"];
|
|
5407
5405
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5408
5406
|
var children = _ref.children,
|
|
5409
5407
|
className = _ref.className,
|
|
5410
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5408
|
+
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
5411
5409
|
|
|
5412
5410
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({}, props, {
|
|
5413
5411
|
className: classnames__default["default"]("c-list-item", className),
|
|
@@ -7637,12 +7635,12 @@
|
|
|
7637
7635
|
});
|
|
7638
7636
|
StyledTextarea.displayName = "StyledTextarea";
|
|
7639
7637
|
|
|
7640
|
-
var _excluded$
|
|
7638
|
+
var _excluded$j = ["className", "disabled"];
|
|
7641
7639
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7642
7640
|
var className = _ref.className,
|
|
7643
7641
|
_ref$disabled = _ref.disabled,
|
|
7644
7642
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7645
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7643
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
7646
7644
|
|
|
7647
7645
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
7648
7646
|
ref: ref,
|
|
@@ -7676,7 +7674,7 @@
|
|
|
7676
7674
|
function () {});
|
|
7677
7675
|
}
|
|
7678
7676
|
|
|
7679
|
-
var _excluded$
|
|
7677
|
+
var _excluded$i = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "open", "onClose"];
|
|
7680
7678
|
|
|
7681
7679
|
var getHasTransition = function getHasTransition(children) {
|
|
7682
7680
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
@@ -7695,7 +7693,7 @@
|
|
|
7695
7693
|
_ref$open = _ref.open,
|
|
7696
7694
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
7697
7695
|
onClose = _ref.onClose,
|
|
7698
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7696
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
7699
7697
|
|
|
7700
7698
|
var _useState = React.useState(defaultOpen),
|
|
7701
7699
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7834,7 +7832,7 @@
|
|
|
7834
7832
|
});
|
|
7835
7833
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
7836
7834
|
|
|
7837
|
-
var _excluded$
|
|
7835
|
+
var _excluded$h = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
7838
7836
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7839
7837
|
var children = _ref.children,
|
|
7840
7838
|
onClose = _ref.onClose,
|
|
@@ -7858,7 +7856,7 @@
|
|
|
7858
7856
|
bodyClassName = _ref.bodyClassName,
|
|
7859
7857
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
7860
7858
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
7861
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7859
|
+
rest = _objectWithoutProperties(_ref, _excluded$h);
|
|
7862
7860
|
|
|
7863
7861
|
var _useState = React.useState(defaultOpen),
|
|
7864
7862
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7956,13 +7954,13 @@
|
|
|
7956
7954
|
});
|
|
7957
7955
|
StyledHeader.displayName = "StyledHeader";
|
|
7958
7956
|
|
|
7959
|
-
var _excluded$
|
|
7957
|
+
var _excluded$g = ["className", "size", "children"];
|
|
7960
7958
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7961
7959
|
var className = _ref.className,
|
|
7962
7960
|
_ref$size = _ref.size,
|
|
7963
7961
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
7964
7962
|
children = _ref.children,
|
|
7965
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7963
|
+
rest = _objectWithoutProperties(_ref, _excluded$g);
|
|
7966
7964
|
|
|
7967
7965
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
7968
7966
|
type: "paper-2",
|
|
@@ -7979,7 +7977,7 @@
|
|
|
7979
7977
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
7980
7978
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
7981
7979
|
|
|
7982
|
-
var _excluded$
|
|
7980
|
+
var _excluded$f = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
7983
7981
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7984
7982
|
var _ref$minRows = _ref.minRows,
|
|
7985
7983
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -7995,7 +7993,7 @@
|
|
|
7995
7993
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
7996
7994
|
onKeyDown = _ref.onKeyDown,
|
|
7997
7995
|
value = _ref.value,
|
|
7998
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7996
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
7999
7997
|
|
|
8000
7998
|
var innerRef = React.useRef(null);
|
|
8001
7999
|
|
|
@@ -8286,7 +8284,7 @@
|
|
|
8286
8284
|
});
|
|
8287
8285
|
StyledChoose.displayName = "StyledChoose";
|
|
8288
8286
|
|
|
8289
|
-
var _excluded$
|
|
8287
|
+
var _excluded$e = ["children", "disabled", "active", "className"];
|
|
8290
8288
|
|
|
8291
8289
|
/**
|
|
8292
8290
|
* Choose component
|
|
@@ -8298,7 +8296,7 @@
|
|
|
8298
8296
|
_ref$active = _ref.active,
|
|
8299
8297
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
8300
8298
|
className = _ref.className,
|
|
8301
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8299
|
+
args = _objectWithoutProperties(_ref, _excluded$e);
|
|
8302
8300
|
|
|
8303
8301
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
8304
8302
|
disabled: disabled,
|
|
@@ -8391,7 +8389,7 @@
|
|
|
8391
8389
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
8392
8390
|
StyledLink.displayName = "StyledLink";
|
|
8393
8391
|
|
|
8394
|
-
var _excluded$
|
|
8392
|
+
var _excluded$d = ["children", "className"];
|
|
8395
8393
|
|
|
8396
8394
|
/**
|
|
8397
8395
|
* Back link component
|
|
@@ -8399,7 +8397,7 @@
|
|
|
8399
8397
|
var BackLink = function BackLink(_ref) {
|
|
8400
8398
|
var children = _ref.children,
|
|
8401
8399
|
className = _ref.className,
|
|
8402
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8400
|
+
args = _objectWithoutProperties(_ref, _excluded$d);
|
|
8403
8401
|
|
|
8404
8402
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
8405
8403
|
className: classnames__default["default"]("c-back-link", className)
|
|
@@ -8407,7 +8405,7 @@
|
|
|
8407
8405
|
};
|
|
8408
8406
|
BackLink.displayName = "BackLink";
|
|
8409
8407
|
|
|
8410
|
-
var _excluded$
|
|
8408
|
+
var _excluded$c = ["children", "variant", "size", "disabled", "className"];
|
|
8411
8409
|
|
|
8412
8410
|
/**
|
|
8413
8411
|
* Link component
|
|
@@ -8420,7 +8418,7 @@
|
|
|
8420
8418
|
_ref$disabled = _ref.disabled,
|
|
8421
8419
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8422
8420
|
className = _ref.className,
|
|
8423
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8421
|
+
args = _objectWithoutProperties(_ref, _excluded$c);
|
|
8424
8422
|
|
|
8425
8423
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
8426
8424
|
disabled: disabled,
|
|
@@ -8550,11 +8548,11 @@
|
|
|
8550
8548
|
});
|
|
8551
8549
|
Dialog.displayName = "Dialog";
|
|
8552
8550
|
|
|
8553
|
-
var _excluded$
|
|
8551
|
+
var _excluded$b = ["className", "children"];
|
|
8554
8552
|
var DialogContent = function DialogContent(_ref) {
|
|
8555
8553
|
var className = _ref.className,
|
|
8556
8554
|
children = _ref.children,
|
|
8557
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8555
|
+
rest = _objectWithoutProperties(_ref, _excluded$b);
|
|
8558
8556
|
|
|
8559
8557
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
8560
8558
|
className: classnames__default["default"]("c-dialog-content", className)
|
|
@@ -8570,13 +8568,13 @@
|
|
|
8570
8568
|
};
|
|
8571
8569
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
8572
8570
|
|
|
8573
|
-
var _excluded$
|
|
8571
|
+
var _excluded$a = ["children", "className", "disableDefaultHeading"];
|
|
8574
8572
|
var DialogTitle = function DialogTitle(_ref) {
|
|
8575
8573
|
var children = _ref.children,
|
|
8576
8574
|
className = _ref.className,
|
|
8577
8575
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
8578
8576
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
8579
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8577
|
+
rest = _objectWithoutProperties(_ref, _excluded$a);
|
|
8580
8578
|
|
|
8581
8579
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
8582
8580
|
className: classnames__default["default"]("c-dialog-title-wrapper", className)
|
|
@@ -8584,11 +8582,11 @@
|
|
|
8584
8582
|
};
|
|
8585
8583
|
DialogTitle.displayName = "DialogTitle";
|
|
8586
8584
|
|
|
8587
|
-
var _excluded$
|
|
8585
|
+
var _excluded$9 = ["className", "children"];
|
|
8588
8586
|
var DialogActions = function DialogActions(_ref) {
|
|
8589
8587
|
var className = _ref.className,
|
|
8590
8588
|
children = _ref.children,
|
|
8591
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8589
|
+
rest = _objectWithoutProperties(_ref, _excluded$9);
|
|
8592
8590
|
|
|
8593
8591
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
8594
8592
|
className: classnames__default["default"]("c-dialog-actions", className)
|
|
@@ -8797,7 +8795,7 @@
|
|
|
8797
8795
|
});
|
|
8798
8796
|
StyledPressed.displayName = "StyledPressed";
|
|
8799
8797
|
|
|
8800
|
-
var _excluded$
|
|
8798
|
+
var _excluded$8 = ["children", "active", "className"];
|
|
8801
8799
|
|
|
8802
8800
|
/**
|
|
8803
8801
|
* Pressed wrapper for button component
|
|
@@ -8807,7 +8805,7 @@
|
|
|
8807
8805
|
_ref$active = _ref.active,
|
|
8808
8806
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
8809
8807
|
className = _ref.className,
|
|
8810
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
8808
|
+
args = _objectWithoutProperties(_ref, _excluded$8);
|
|
8811
8809
|
|
|
8812
8810
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
8813
8811
|
active: active,
|
|
@@ -9249,7 +9247,7 @@
|
|
|
9249
9247
|
};
|
|
9250
9248
|
SelectDate.displayName = "SelectDate";
|
|
9251
9249
|
|
|
9252
|
-
var _excluded$
|
|
9250
|
+
var _excluded$7 = ["in", "children", "style", "timeout"];
|
|
9253
9251
|
|
|
9254
9252
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
9255
9253
|
return {
|
|
@@ -9279,7 +9277,7 @@
|
|
|
9279
9277
|
style = _ref.style,
|
|
9280
9278
|
_ref$timeout = _ref.timeout,
|
|
9281
9279
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
9282
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9280
|
+
rest = _objectWithoutProperties(_ref, _excluded$7);
|
|
9283
9281
|
|
|
9284
9282
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
9285
9283
|
appear: true,
|
|
@@ -9295,7 +9293,7 @@
|
|
|
9295
9293
|
};
|
|
9296
9294
|
Fade.displayName = "Fade";
|
|
9297
9295
|
|
|
9298
|
-
var _excluded$
|
|
9296
|
+
var _excluded$6 = ["in", "children", "style", "timeout", "initialDirection"];
|
|
9299
9297
|
var Slide = function Slide(_ref) {
|
|
9300
9298
|
var _ref$in = _ref.in,
|
|
9301
9299
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -9305,7 +9303,7 @@
|
|
|
9305
9303
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
9306
9304
|
_ref$initialDirection = _ref.initialDirection,
|
|
9307
9305
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
9308
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9306
|
+
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
9309
9307
|
|
|
9310
9308
|
var directionSign;
|
|
9311
9309
|
|
|
@@ -9365,12 +9363,12 @@
|
|
|
9365
9363
|
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;}"]);
|
|
9366
9364
|
});
|
|
9367
9365
|
|
|
9368
|
-
var _excluded$
|
|
9366
|
+
var _excluded$5 = ["children", "direction"];
|
|
9369
9367
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
9370
9368
|
var children = _ref.children,
|
|
9371
9369
|
_ref$direction = _ref.direction,
|
|
9372
9370
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
9373
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9371
|
+
props = _objectWithoutProperties(_ref, _excluded$5);
|
|
9374
9372
|
|
|
9375
9373
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
9376
9374
|
timeout: 200,
|
|
@@ -9414,7 +9412,7 @@
|
|
|
9414
9412
|
};
|
|
9415
9413
|
ResizeTransition.displayName = "ResizeTransition";
|
|
9416
9414
|
|
|
9417
|
-
var _excluded$
|
|
9415
|
+
var _excluded$4 = ["in", "children", "style", "timeout"];
|
|
9418
9416
|
|
|
9419
9417
|
var defaultStyle = function defaultStyle(duration) {
|
|
9420
9418
|
return {
|
|
@@ -9450,7 +9448,7 @@
|
|
|
9450
9448
|
style = _ref.style,
|
|
9451
9449
|
_ref$timeout = _ref.timeout,
|
|
9452
9450
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
9453
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9451
|
+
rest = _objectWithoutProperties(_ref, _excluded$4);
|
|
9454
9452
|
|
|
9455
9453
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
9456
9454
|
appear: true,
|
|
@@ -9525,7 +9523,7 @@
|
|
|
9525
9523
|
});
|
|
9526
9524
|
StyledValueButton.displayName = "StyledValueButton";
|
|
9527
9525
|
|
|
9528
|
-
var _excluded$
|
|
9526
|
+
var _excluded$3 = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
9529
9527
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9530
9528
|
var _ref$active = _ref.active,
|
|
9531
9529
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -9534,7 +9532,7 @@
|
|
|
9534
9532
|
icon = _ref.icon,
|
|
9535
9533
|
label = _ref.label,
|
|
9536
9534
|
value = _ref.value,
|
|
9537
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9535
|
+
args = _objectWithoutProperties(_ref, _excluded$3);
|
|
9538
9536
|
|
|
9539
9537
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
9540
9538
|
className: "c-value-button"
|
|
@@ -9587,11 +9585,11 @@
|
|
|
9587
9585
|
});
|
|
9588
9586
|
StyledToggle.displayName = "StyledToggle";
|
|
9589
9587
|
|
|
9590
|
-
var _excluded$
|
|
9588
|
+
var _excluded$2 = ["hovered", "className"];
|
|
9591
9589
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9592
9590
|
var hovered = _ref.hovered,
|
|
9593
9591
|
className = _ref.className,
|
|
9594
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9592
|
+
args = _objectWithoutProperties(_ref, _excluded$2);
|
|
9595
9593
|
|
|
9596
9594
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
9597
9595
|
className: classnames__default["default"]("c-toggle", className),
|
|
@@ -9649,7 +9647,7 @@
|
|
|
9649
9647
|
});
|
|
9650
9648
|
StyledComboBoxList.displayName = "StyledComboBoxList";
|
|
9651
9649
|
|
|
9652
|
-
var _excluded = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size"];
|
|
9650
|
+
var _excluded$1 = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size"];
|
|
9653
9651
|
var ComboBox = function ComboBox(_ref) {
|
|
9654
9652
|
var _formRef$current;
|
|
9655
9653
|
|
|
@@ -9665,7 +9663,7 @@
|
|
|
9665
9663
|
_ref$disabled = _ref.disabled,
|
|
9666
9664
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
9667
9665
|
size = _ref.size,
|
|
9668
|
-
prop = _objectWithoutProperties(_ref, _excluded);
|
|
9666
|
+
prop = _objectWithoutProperties(_ref, _excluded$1);
|
|
9669
9667
|
|
|
9670
9668
|
var selectedName = React.useMemo(function () {
|
|
9671
9669
|
var value = "";
|
|
@@ -10176,6 +10174,31 @@
|
|
|
10176
10174
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
10177
10175
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
10178
10176
|
|
|
10177
|
+
var _excluded = ["invalid", "required", "size", "children", "className"];
|
|
10178
|
+
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10179
|
+
var _ref$invalid = _ref.invalid,
|
|
10180
|
+
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
10181
|
+
_ref$required = _ref.required,
|
|
10182
|
+
required = _ref$required === void 0 ? false : _ref$required,
|
|
10183
|
+
_ref$size = _ref.size,
|
|
10184
|
+
size = _ref$size === void 0 ? "regular" : _ref$size,
|
|
10185
|
+
children = _ref.children,
|
|
10186
|
+
className = _ref.className,
|
|
10187
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
10188
|
+
|
|
10189
|
+
var color = invalid ? "alert" : "primary";
|
|
10190
|
+
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
10191
|
+
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
10192
|
+
as: "label",
|
|
10193
|
+
className: classnames__default["default"]("c-label", className),
|
|
10194
|
+
variant: variant,
|
|
10195
|
+
color: color,
|
|
10196
|
+
weight: "bold",
|
|
10197
|
+
ref: ref
|
|
10198
|
+
}, props), children, required ? "*" : null);
|
|
10199
|
+
});
|
|
10200
|
+
Label.displayName = "Label";
|
|
10201
|
+
|
|
10179
10202
|
var GlobalStyle = styled.createGlobalStyle([":root{--color-primary:#5d2bff;--color-secondary:#5d2bff;--color-theme-100:#ffffff;--color-theme-200:#f6f6f9;--color-theme-300:#ebebee;--color-theme-400:#d7d7da;--color-theme-500:#b9b9bd;--color-theme-600:#89898e;--color-theme-700:#6d6d73;--color-theme-800:#5b5b61;--color-theme-900:#303037;--color-primary-200:rgba(93,43,255,0.05);--color-primary-300:rgba(93,43,255,0.1);--color-primary-400:rgba(93,43,255,0.25);--color-primary-500:rgba(93,43,255,0.5);--color-primary-600:rgba(93,43,255,0.75);--color-primary-700:#5d2bff;--color-primary-800:#4a21cd;--color-primary-900:#32178b;--color-secondary-200:rgba(93,43,255,0.05);--color-secondary-300:rgba(93,43,255,0.1);--color-secondary-400:rgba(93,43,255,0.25);--color-secondary-500:rgba(93,43,255,0.5);--color-secondary-600:rgba(93,43,255,0.75);--color-secondary-700:#5d2bff;--color-secondary-800:#4a21cd;--color-secondary-900:#32178b;--color-primary-opaque-300:#efeaff;--color-primary-opaque-400:#d6caff;--color-secondary-opaque-300:#efeaff;--color-secondary-opaque-400:#d6caff;--color-sucess-green:#64cd93;--body-bg-main:rgb(244,245,247);--body-bg-main-transparent:rgba(244,245,247,0);--page-paper-main:#ffffff;--border-primary:#d7d7da;--note-bg:#fff9f1;--shadow-primary-hover:0 64px 64px 0 rgba(0,0,0,0.1),0 32px 32px 0 rgba(0,0,0,0.06),0 16px 16px 0 rgba(0,0,0,0.04),0 4px 4px 0 rgba(0,0,0,0.04),0 2px 2px 0 rgba(0,0,0,0.04);--shadow-primary:0 64px 64px 0 rgba(0,0,0,0.06),0 32px 32px 0 rgba(0,0,0,0.03),0 16px 16px 0 rgba(0,0,0,0.02),0 4px 4px 0 rgba(0,0,0,0.02),0 2px 2px 0 rgba(0,0,0,0.02);--shadow-secondary:0 4px 14px 0 rgba(0,0,0,0.17);--shadow-tertiary:0 4px 6px -2px rgba(0,0,0,0.05),0 10px 15px -3px rgba(0,0,0,0.1);--shadow-tertiary-hover:0 4px 10px -2px rgba(0,0,0,0.1),0 12px 20px -3px rgba(0,0,0,0.2);--page-paper-main-shadow:rgba( 255,255,255,0 );--modal-background:rgba(244,245,247,0.6);--highlight-dark:rgba(0,0,0,0.03);--input-background-color:#ffffff;--red-alert:rgb(237,97,97);--only-white:#ffffff;--only-black:#000000;--ac-br-4:4px;--ac-br-6:6px;--ac-br-8:8px;--ac-br-rounded:999px;}.cupcake{--color-primary:#29bcdd;--color-secondary:#fe6fa7;--color-primary-200:rgba(41,188,221,0.07);--color-primary-300:rgba(41,188,221,0.12);--color-primary-400:rgba(41,188,221,0.26);--color-primary-500:rgba(41,188,221,0.52);--color-primary-600:rgba(41,188,221,0.75);--color-primary-700:#29bcdd;--color-primary-800:#219fbb;--color-primary-900:#1a768b;--color-secondary-200:rgba(254,111,167,0.07);--color-secondary-300:rgba(254,111,167,0.13);--color-secondary-400:rgba(254,111,167,0.27);--color-secondary-500:rgba(254,111,167,0.52);--color-secondary-600:rgba(254,111,167,0.75);--color-secondary-700:#fe6fa7;--color-secondary-800:#dd6091;--color-secondary-900:#ab496f;--color-primary-opaque-300:#e5f7fb;--color-primary-opaque-400:#c8eef6;--color-secondary-opaque-300:#ffecf4;--color-secondary-opaque-400:#ffd8e7;}.classic{--color-primary:#4182f2;--color-secondary:#4182f2;--color-primary-200:rgba(65,130,242,0.07);--color-primary-300:rgba(65,130,242,0.13);--color-primary-400:rgba(65,130,242,0.26);--color-primary-500:rgba(65,130,242,0.52);--color-primary-600:rgba(65,130,242,0.75);--color-primary-700:#4182f2;--color-primary-800:#356bc8;--color-primary-900:#244a8a;--color-secondary-200:rgba(65,130,242,0.07);--color-secondary-300:rgba(65,130,242,0.13);--color-secondary-400:rgba(65,130,242,0.26);--color-secondary-500:rgba(65,130,242,0.52);--color-secondary-600:rgba(65,130,242,0.75);--color-secondary-700:#4182f2;--color-secondary-800:#356bc8;--color-secondary-900:#244a8a;--color-primary-opaque-300:#e6effd;--color-primary-opaque-400:#cedffc;--color-secondary-opaque-300:#e6effd;--color-secondary-opaque-400:#cedffc;}.neon{--color-primary:#67ffc8;--color-secondary:#67ffc8;--color-theme-100:#000000;--color-theme-200:#31333e;--color-theme-300:#2b2d37;--color-theme-400:#1f2024;--color-theme-500:#99999e;--color-theme-600:#89898e;--color-theme-700:#b0b0b5;--color-theme-800:#dfdfe5;--color-theme-900:#ffffff;--color-primary-200:rgba(103,255,200,0.05);--color-primary-300:rgba(103,255,200,0.1);--color-primary-400:rgba(103,255,200,0.25);--color-primary-500:rgba(103,255,200,0.5);--color-primary-600:rgba(103,255,200,0.75);--color-primary-700:#67ffc8;--color-primary-800:#a5ffdf;--color-primary-900:#d0fdec;--color-secondary-200:rgba(103,255,200,0.05);--color-secondary-300:rgba(103,255,200,0.1);--color-secondary-400:rgba(103,255,200,0.25);--color-secondary-500:rgba(103,255,200,0.5);--color-secondary-600:rgba(103,255,200,0.75);--color-secondary-700:#67ffc8;--color-secondary-800:#a5ffdf;--color-secondary-900:#d0fdec;--color-primary-opaque-300:#3b4e51;--color-primary-opaque-400:#436b64;--color-secondary-opaque-300:#3b4e51;--color-secondary-opaque-400:#436b64;--body-bg-main:rgb(44,46,56);--body-bg-main-transparent:rgba(44,46,56,0);--page-paper-main:#373a44;--border-primary:#1f2024;--note-bg:#464545;--shadow-primary-hover:0 64px 64px 0 rgba(0,0,0,0.2),0 32px 32px 0 rgba(0,0,0,0.2),0 16px 16px 0 rgba(0,0,0,0.2),0 4px 4px 0 rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.2);--shadow-primary:0 64px 64px 0 rgba(0,0,0,0.1),0 32px 32px 0 rgba(0,0,0,0.1),0 16px 16px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);--shadow-secondary:0 4px 14px 0 rgba(0,0,0,0.3);--shadow-tertiary:0 4px 6px -2px rgba(0,0,0,0.1),0 10px 15px -3px rgba(0,0,0,0.15);--shadow-tertiary-hover:0 4px 12px -2px rgba(0,0,0,0.4),0 10px 30px -3px rgba(0,0,0,0.5);--page-paper-main-shadow:rgba( 55,58,68,0 );--modal-background:rgba(44,46,56,0.7);--highlight-dark:rgba(0,0,0,0.06);--input-background-color:#2c2e38;--only-white:#ffffff;--only-black:#000000;}.ac-shadow,.ac-shadow--raised{&--lg{box-shadow:var(--shadow-primary);}&--sm{box-shadow:var(--shadow-tertiary);}}.ac-shadow--raised{&--lg{transition:box-shadow 0.3s;&:hover{box-shadow:var(--shadow-primary-hover);}}&--sm{transition:box-shadow 0.3s;&:hover{box-shadow:var(--shadow-tertiary-hover);}}}.ac-shadow-optimized--sm{position:relative;box-shadow:var(--shadow-tertiary);&::before{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";box-shadow:var(--shadow-tertiary);opacity:0;border-radius:var(--ac-br-6);transition:opacity 0.3s ease;z-index:-1;}@media (hover:hover){&:hover::before{opacity:1;}}}.ac-shadow-optimized--lg{position:relative;box-shadow:var(--shadow-primary);&::before{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";box-shadow:var(--shadow-primary);opacity:0;border-radius:var(--ac-br-8);transition:opacity 0.3s ease;z-index:-1;}@media (hover:hover){&:hover::before{opacity:1;}}}.ac-border-radius{&-4{border-radius:var(--ac-br-4);}&-6{border-radius:var(--ac-br-6);}&-8{border-radius:var(--ac-br-8);}&-rounded{border-radius:var(--ac-br-rounded);}}"]);
|
|
10180
10203
|
|
|
10181
10204
|
exports.Accordion = Accordion;
|
|
@@ -10390,6 +10413,7 @@
|
|
|
10390
10413
|
exports.StarIcon = StarIcon$1;
|
|
10391
10414
|
exports.Steps = Steps;
|
|
10392
10415
|
exports.Table = Table;
|
|
10416
|
+
exports.Tag = Tag;
|
|
10393
10417
|
exports.TaskAddIcon = TaskAddIcon$1;
|
|
10394
10418
|
exports.TaskListAddIcon = TaskListAddIcon$1;
|
|
10395
10419
|
exports.Tbody = Tbody;
|