@activecollab/components 2.0.298 → 2.0.300
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/Bulb.js +60 -0
- package/dist/cjs/components/Icons/collection/Bulb.js.map +1 -0
- package/dist/cjs/components/Icons/collection/index.js +7 -0
- package/dist/cjs/components/Icons/collection/index.js.map +1 -1
- package/dist/cjs/utils/currencyUtils.js +7 -4
- package/dist/cjs/utils/currencyUtils.js.map +1 -1
- package/dist/cjs/utils/currencyUtils.test.js +120 -2
- package/dist/cjs/utils/currencyUtils.test.js.map +1 -1
- package/dist/esm/components/Icons/collection/Bulb.d.ts +32 -0
- package/dist/esm/components/Icons/collection/Bulb.d.ts.map +1 -0
- package/dist/esm/components/Icons/collection/Bulb.js +55 -0
- package/dist/esm/components/Icons/collection/Bulb.js.map +1 -0
- package/dist/esm/components/Icons/collection/index.d.ts +1 -0
- package/dist/esm/components/Icons/collection/index.d.ts.map +1 -1
- package/dist/esm/components/Icons/collection/index.js +1 -0
- package/dist/esm/components/Icons/collection/index.js.map +1 -1
- package/dist/esm/utils/currencyUtils.d.ts.map +1 -1
- package/dist/esm/utils/currencyUtils.js +7 -4
- package/dist/esm/utils/currencyUtils.js.map +1 -1
- package/dist/esm/utils/currencyUtils.test.js +120 -2
- package/dist/esm/utils/currencyUtils.test.js.map +1 -1
- package/dist/index.js +121 -68
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
})(["display:inline-flex;svg{margin:0 4px;}"]);
|
|
190
190
|
StyledButtonElement.displayName = "StyledButtonElement";
|
|
191
191
|
|
|
192
|
-
var _excluded$
|
|
192
|
+
var _excluded$4Y = ["children", "active", "variant", "size", "className"];
|
|
193
193
|
/**
|
|
194
194
|
* @component Button
|
|
195
195
|
* @description
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
_ref$size = _ref.size,
|
|
220
220
|
size = _ref$size === void 0 ? "medium" : _ref$size,
|
|
221
221
|
className = _ref.className,
|
|
222
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
222
|
+
args = _objectWithoutProperties(_ref, _excluded$4Y);
|
|
223
223
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
|
|
224
224
|
className: classNames__default["default"]("c-btn", className, {
|
|
225
225
|
"c-btn--contained": variant === "primary" || variant === "contained",
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
})));
|
|
285
285
|
};
|
|
286
286
|
|
|
287
|
-
var _excluded$
|
|
287
|
+
var _excluded$4X = ["gradient"];
|
|
288
288
|
|
|
289
289
|
/**
|
|
290
290
|
* @component AddCrossTinyIcon
|
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
*/
|
|
315
315
|
var AddCrossTinyIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
316
316
|
var gradient = _ref.gradient,
|
|
317
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
317
|
+
props = _objectWithoutProperties(_ref, _excluded$4X);
|
|
318
318
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
319
319
|
width: 24,
|
|
320
320
|
height: 24,
|
|
@@ -334,12 +334,12 @@
|
|
|
334
334
|
AddCrossTinyIcon.displayName = "AddCrossTinyIcon";
|
|
335
335
|
var AddCrossTinyIcon$1 = AddCrossTinyIcon;
|
|
336
336
|
|
|
337
|
-
var _excluded$
|
|
337
|
+
var _excluded$4W = ["className", "disabled"];
|
|
338
338
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
339
339
|
var className = _ref.className,
|
|
340
340
|
_ref$disabled = _ref.disabled,
|
|
341
341
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
342
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
342
|
+
rest = _objectWithoutProperties(_ref, _excluded$4W);
|
|
343
343
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
344
344
|
ref: ref,
|
|
345
345
|
variant: "contained",
|
|
@@ -377,12 +377,12 @@
|
|
|
377
377
|
});
|
|
378
378
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
379
379
|
|
|
380
|
-
var _excluded$
|
|
380
|
+
var _excluded$4V = ["children", "className", "invalid"];
|
|
381
381
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
382
382
|
var children = _ref.children,
|
|
383
383
|
className = _ref.className,
|
|
384
384
|
invalid = _ref.invalid,
|
|
385
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
385
|
+
rest = _objectWithoutProperties(_ref, _excluded$4V);
|
|
386
386
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
387
387
|
ref: ref,
|
|
388
388
|
className: classNames__default["default"]("c-btn-group", className),
|
|
@@ -407,11 +407,11 @@
|
|
|
407
407
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
408
408
|
StyledListSeparator$1.displayName = "StyledListSeparator";
|
|
409
409
|
|
|
410
|
-
var _excluded$
|
|
410
|
+
var _excluded$4U = ["children", "className"];
|
|
411
411
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
412
412
|
var children = _ref.children,
|
|
413
413
|
className = _ref.className,
|
|
414
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
414
|
+
props = _objectWithoutProperties(_ref, _excluded$4U);
|
|
415
415
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem$1, _extends({
|
|
416
416
|
className: classNames__default["default"]("c-list-item", className),
|
|
417
417
|
ref: ref,
|
|
@@ -420,21 +420,21 @@
|
|
|
420
420
|
});
|
|
421
421
|
ListItem.displayName = "ListItem";
|
|
422
422
|
|
|
423
|
-
var _excluded$
|
|
423
|
+
var _excluded$4T = ["className"];
|
|
424
424
|
var ListSeparator = function ListSeparator(_ref) {
|
|
425
425
|
var className = _ref.className,
|
|
426
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
426
|
+
props = _objectWithoutProperties(_ref, _excluded$4T);
|
|
427
427
|
return /*#__PURE__*/React__default["default"].createElement(StyledListSeparator$1, _extends({
|
|
428
428
|
className: classNames__default["default"]("c-list-separator", className)
|
|
429
429
|
}, props));
|
|
430
430
|
};
|
|
431
431
|
ListSeparator.displayName = "ListSeparator";
|
|
432
432
|
|
|
433
|
-
var _excluded$
|
|
433
|
+
var _excluded$4S = ["children", "className"];
|
|
434
434
|
var _List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
435
435
|
var children = _ref.children,
|
|
436
436
|
className = _ref.className,
|
|
437
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
437
|
+
props = _objectWithoutProperties(_ref, _excluded$4S);
|
|
438
438
|
return /*#__PURE__*/React__default["default"].createElement(StyledList$1, _extends({
|
|
439
439
|
className: className,
|
|
440
440
|
ref: ref,
|
|
@@ -708,10 +708,13 @@
|
|
|
708
708
|
absoluteNumber /= 1000;
|
|
709
709
|
scale++;
|
|
710
710
|
}
|
|
711
|
-
var formattedNum = scale === 0 ? fixedDecimalSpaces(absoluteNumber, decimalSpaces) : parseFloat(absoluteNumber.toFixed(1));
|
|
712
|
-
if (
|
|
713
|
-
|
|
714
|
-
|
|
711
|
+
var formattedNum = scale === 0 ? trimDecimals ? fixedDecimalSpaces(absoluteNumber, decimalSpaces) : absoluteNumber : trimDecimals ? parseFloat(absoluteNumber.toFixed(1)) : absoluteNumber;
|
|
712
|
+
if (scale > 0 && scale < 4) {
|
|
713
|
+
var checkValue = trimDecimals ? formattedNum : parseFloat(formattedNum.toFixed(decimalSpaces));
|
|
714
|
+
if (checkValue >= 1000) {
|
|
715
|
+
formattedNum = checkValue / 1000;
|
|
716
|
+
scale++;
|
|
717
|
+
}
|
|
715
718
|
}
|
|
716
719
|
var result = numberWithSeparator(trimDecimals ? formattedNum : formattedNum.toFixed(decimalSpaces), thousandSeparator, decimalSeperator);
|
|
717
720
|
return isNegative ? "-".concat(result).concat(suffixes[scale]) : "".concat(result).concat(suffixes[scale]);
|
|
@@ -947,7 +950,7 @@
|
|
|
947
950
|
return size === "big" && styled.css(["width:40px;"]);
|
|
948
951
|
});
|
|
949
952
|
|
|
950
|
-
var _excluded$
|
|
953
|
+
var _excluded$4R = ["children", "className", "variant", "size", "active"];
|
|
951
954
|
|
|
952
955
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
953
956
|
|
|
@@ -977,7 +980,7 @@
|
|
|
977
980
|
variant = _ref.variant,
|
|
978
981
|
size = _ref.size,
|
|
979
982
|
active = _ref.active,
|
|
980
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
983
|
+
args = _objectWithoutProperties(_ref, _excluded$4R);
|
|
981
984
|
return /*#__PURE__*/React__default["default"].createElement(StyledIconButton$1, _extends({
|
|
982
985
|
className: className,
|
|
983
986
|
variant: variant,
|
|
@@ -988,7 +991,7 @@
|
|
|
988
991
|
});
|
|
989
992
|
IconButton.displayName = "IconButton";
|
|
990
993
|
|
|
991
|
-
var _excluded$
|
|
994
|
+
var _excluded$4Q = ["gradient"];
|
|
992
995
|
|
|
993
996
|
/**
|
|
994
997
|
* @component RecurringIcon
|
|
@@ -1018,7 +1021,7 @@
|
|
|
1018
1021
|
*/
|
|
1019
1022
|
var RecurringIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1020
1023
|
var gradient = _ref.gradient,
|
|
1021
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1024
|
+
props = _objectWithoutProperties(_ref, _excluded$4Q);
|
|
1022
1025
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1023
1026
|
width: 18,
|
|
1024
1027
|
height: 18,
|
|
@@ -1039,7 +1042,7 @@
|
|
|
1039
1042
|
RecurringIcon.displayName = "RecurringIcon";
|
|
1040
1043
|
var RecurringIcon$1 = RecurringIcon;
|
|
1041
1044
|
|
|
1042
|
-
var _excluded$
|
|
1045
|
+
var _excluded$4P = ["gradient"];
|
|
1043
1046
|
|
|
1044
1047
|
/**
|
|
1045
1048
|
* @component AccessLogIcon
|
|
@@ -1069,7 +1072,7 @@
|
|
|
1069
1072
|
*/
|
|
1070
1073
|
var AccessLogIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1071
1074
|
var gradient = _ref.gradient,
|
|
1072
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1075
|
+
props = _objectWithoutProperties(_ref, _excluded$4P);
|
|
1073
1076
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1074
1077
|
width: 24,
|
|
1075
1078
|
height: 24,
|
|
@@ -1097,7 +1100,7 @@
|
|
|
1097
1100
|
AccessLogIcon.displayName = "AccessLogIcon";
|
|
1098
1101
|
var AccessLogIcon$1 = AccessLogIcon;
|
|
1099
1102
|
|
|
1100
|
-
var _excluded$
|
|
1103
|
+
var _excluded$4O = ["gradient"];
|
|
1101
1104
|
|
|
1102
1105
|
/**
|
|
1103
1106
|
* @component ActivityIcon
|
|
@@ -1127,7 +1130,7 @@
|
|
|
1127
1130
|
*/
|
|
1128
1131
|
var ActivityIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1129
1132
|
var gradient = _ref.gradient,
|
|
1130
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1133
|
+
props = _objectWithoutProperties(_ref, _excluded$4O);
|
|
1131
1134
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1132
1135
|
width: 24,
|
|
1133
1136
|
height: 24,
|
|
@@ -1151,7 +1154,7 @@
|
|
|
1151
1154
|
ActivityIcon.displayName = "ActivityIcon";
|
|
1152
1155
|
var ActivityIcon$1 = ActivityIcon;
|
|
1153
1156
|
|
|
1154
|
-
var _excluded$
|
|
1157
|
+
var _excluded$4N = ["gradient"];
|
|
1155
1158
|
|
|
1156
1159
|
/**
|
|
1157
1160
|
* @component AddCrossIcon
|
|
@@ -1181,7 +1184,7 @@
|
|
|
1181
1184
|
*/
|
|
1182
1185
|
var AddCrossIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1183
1186
|
var gradient = _ref.gradient,
|
|
1184
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1187
|
+
props = _objectWithoutProperties(_ref, _excluded$4N);
|
|
1185
1188
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1186
1189
|
width: 10,
|
|
1187
1190
|
height: 10,
|
|
@@ -1201,7 +1204,7 @@
|
|
|
1201
1204
|
AddCrossIcon.displayName = "AddCrossIcon";
|
|
1202
1205
|
var AddCrossIcon$1 = AddCrossIcon;
|
|
1203
1206
|
|
|
1204
|
-
var _excluded$
|
|
1207
|
+
var _excluded$4M = ["gradient"];
|
|
1205
1208
|
|
|
1206
1209
|
/**
|
|
1207
1210
|
* @component ArchiveIcon
|
|
@@ -1231,7 +1234,7 @@
|
|
|
1231
1234
|
*/
|
|
1232
1235
|
var ArchiveIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1233
1236
|
var gradient = _ref.gradient,
|
|
1234
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1237
|
+
props = _objectWithoutProperties(_ref, _excluded$4M);
|
|
1235
1238
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1236
1239
|
width: 24,
|
|
1237
1240
|
height: 24,
|
|
@@ -1252,7 +1255,7 @@
|
|
|
1252
1255
|
ArchiveIcon.displayName = "ArchiveIcon";
|
|
1253
1256
|
var ArchiveIcon$1 = ArchiveIcon;
|
|
1254
1257
|
|
|
1255
|
-
var _excluded$
|
|
1258
|
+
var _excluded$4L = ["gradient"];
|
|
1256
1259
|
|
|
1257
1260
|
/**
|
|
1258
1261
|
* @component ArrowBackMobileIcon
|
|
@@ -1282,7 +1285,7 @@
|
|
|
1282
1285
|
*/
|
|
1283
1286
|
var ArrowBackMobileIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1284
1287
|
var gradient = _ref.gradient,
|
|
1285
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1288
|
+
props = _objectWithoutProperties(_ref, _excluded$4L);
|
|
1286
1289
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1287
1290
|
width: 24,
|
|
1288
1291
|
height: 24,
|
|
@@ -1303,7 +1306,7 @@
|
|
|
1303
1306
|
ArrowBackMobileIcon.displayName = "ArrowBackMobileIcon";
|
|
1304
1307
|
var ArrowBackMobileIcon$1 = ArrowBackMobileIcon;
|
|
1305
1308
|
|
|
1306
|
-
var _excluded$
|
|
1309
|
+
var _excluded$4K = ["gradient"];
|
|
1307
1310
|
|
|
1308
1311
|
/**
|
|
1309
1312
|
* @component ArrowCollapseMultipleIcon
|
|
@@ -1333,7 +1336,7 @@
|
|
|
1333
1336
|
*/
|
|
1334
1337
|
var ArrowCollapseMultipleIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1335
1338
|
var gradient = _ref.gradient,
|
|
1336
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1339
|
+
props = _objectWithoutProperties(_ref, _excluded$4K);
|
|
1337
1340
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1338
1341
|
width: 24,
|
|
1339
1342
|
height: 24,
|
|
@@ -1353,7 +1356,7 @@
|
|
|
1353
1356
|
ArrowCollapseMultipleIcon.displayName = "ArrowCollapseMultipleIcon";
|
|
1354
1357
|
var ArrowCollapseMultipleIcon$1 = ArrowCollapseMultipleIcon;
|
|
1355
1358
|
|
|
1356
|
-
var _excluded$
|
|
1359
|
+
var _excluded$4J = ["gradient"];
|
|
1357
1360
|
|
|
1358
1361
|
/**
|
|
1359
1362
|
* @component ArrowDownLongIcon
|
|
@@ -1383,7 +1386,7 @@
|
|
|
1383
1386
|
*/
|
|
1384
1387
|
var ArrowDownLongIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1385
1388
|
var gradient = _ref.gradient,
|
|
1386
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1389
|
+
props = _objectWithoutProperties(_ref, _excluded$4J);
|
|
1387
1390
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1388
1391
|
width: 24,
|
|
1389
1392
|
height: 24,
|
|
@@ -1403,7 +1406,7 @@
|
|
|
1403
1406
|
ArrowDownLongIcon.displayName = "ArrowDownLongIcon";
|
|
1404
1407
|
var ArrowDownLongIcon$1 = ArrowDownLongIcon;
|
|
1405
1408
|
|
|
1406
|
-
var _excluded$
|
|
1409
|
+
var _excluded$4I = ["gradient"];
|
|
1407
1410
|
|
|
1408
1411
|
/**
|
|
1409
1412
|
* @component ArrowDownSmallIcon
|
|
@@ -1433,7 +1436,7 @@
|
|
|
1433
1436
|
*/
|
|
1434
1437
|
var ArrowDownSmallIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1435
1438
|
var gradient = _ref.gradient,
|
|
1436
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1439
|
+
props = _objectWithoutProperties(_ref, _excluded$4I);
|
|
1437
1440
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1438
1441
|
width: 16,
|
|
1439
1442
|
height: 16,
|
|
@@ -1453,7 +1456,7 @@
|
|
|
1453
1456
|
ArrowDownSmallIcon.displayName = "ArrowDownSmallIcon";
|
|
1454
1457
|
var ArrowDownSmallIcon$1 = ArrowDownSmallIcon;
|
|
1455
1458
|
|
|
1456
|
-
var _excluded$
|
|
1459
|
+
var _excluded$4H = ["gradient"];
|
|
1457
1460
|
|
|
1458
1461
|
/**
|
|
1459
1462
|
* @component ArrowDownIcon
|
|
@@ -1483,7 +1486,7 @@
|
|
|
1483
1486
|
*/
|
|
1484
1487
|
var ArrowDownIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1485
1488
|
var gradient = _ref.gradient,
|
|
1486
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1489
|
+
props = _objectWithoutProperties(_ref, _excluded$4H);
|
|
1487
1490
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1488
1491
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1489
1492
|
width: 24,
|
|
@@ -1502,7 +1505,7 @@
|
|
|
1502
1505
|
ArrowDownIcon.displayName = "ArrowDownIcon";
|
|
1503
1506
|
var ArrowDownIcon$1 = ArrowDownIcon;
|
|
1504
1507
|
|
|
1505
|
-
var _excluded$
|
|
1508
|
+
var _excluded$4G = ["gradient"];
|
|
1506
1509
|
|
|
1507
1510
|
/**
|
|
1508
1511
|
* @component ArrowExpandeMultipleIcon
|
|
@@ -1532,7 +1535,7 @@
|
|
|
1532
1535
|
*/
|
|
1533
1536
|
var ArrowExpandeMultipleIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1534
1537
|
var gradient = _ref.gradient,
|
|
1535
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1538
|
+
props = _objectWithoutProperties(_ref, _excluded$4G);
|
|
1536
1539
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1537
1540
|
width: 24,
|
|
1538
1541
|
height: 24,
|
|
@@ -1552,7 +1555,7 @@
|
|
|
1552
1555
|
ArrowExpandeMultipleIcon.displayName = "ArrowExpandeMultipleIcon";
|
|
1553
1556
|
var ArrowExpandeMultipleIcon$1 = ArrowExpandeMultipleIcon;
|
|
1554
1557
|
|
|
1555
|
-
var _excluded$
|
|
1558
|
+
var _excluded$4F = ["gradient"];
|
|
1556
1559
|
|
|
1557
1560
|
/**
|
|
1558
1561
|
* @component ArrowLeftBoxIcon
|
|
@@ -1582,7 +1585,7 @@
|
|
|
1582
1585
|
*/
|
|
1583
1586
|
var ArrowLeftBoxIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1584
1587
|
var gradient = _ref.gradient,
|
|
1585
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1588
|
+
props = _objectWithoutProperties(_ref, _excluded$4F);
|
|
1586
1589
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1587
1590
|
width: 24,
|
|
1588
1591
|
height: 24,
|
|
@@ -1602,7 +1605,7 @@
|
|
|
1602
1605
|
ArrowLeftBoxIcon.displayName = "ArrowLeftBoxIcon";
|
|
1603
1606
|
var ArrowLeftBoxIcon$1 = ArrowLeftBoxIcon;
|
|
1604
1607
|
|
|
1605
|
-
var _excluded$
|
|
1608
|
+
var _excluded$4E = ["gradient"];
|
|
1606
1609
|
|
|
1607
1610
|
/**
|
|
1608
1611
|
* @component ArrowLeftIcon
|
|
@@ -1632,7 +1635,7 @@
|
|
|
1632
1635
|
*/
|
|
1633
1636
|
var ArrowLeftIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1634
1637
|
var gradient = _ref.gradient,
|
|
1635
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1638
|
+
props = _objectWithoutProperties(_ref, _excluded$4E);
|
|
1636
1639
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1637
1640
|
width: 24,
|
|
1638
1641
|
height: 24,
|
|
@@ -1652,7 +1655,7 @@
|
|
|
1652
1655
|
ArrowLeftIcon.displayName = "ArrowLeftIcon";
|
|
1653
1656
|
var ArrowLeftIcon$1 = ArrowLeftIcon;
|
|
1654
1657
|
|
|
1655
|
-
var _excluded$
|
|
1658
|
+
var _excluded$4D = ["gradient"];
|
|
1656
1659
|
|
|
1657
1660
|
/**
|
|
1658
1661
|
* @component ArrowRefreshIcon
|
|
@@ -1682,7 +1685,7 @@
|
|
|
1682
1685
|
*/
|
|
1683
1686
|
var ArrowRefreshIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1684
1687
|
var gradient = _ref.gradient,
|
|
1685
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1688
|
+
props = _objectWithoutProperties(_ref, _excluded$4D);
|
|
1686
1689
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1687
1690
|
width: 24,
|
|
1688
1691
|
height: 24,
|
|
@@ -1703,7 +1706,7 @@
|
|
|
1703
1706
|
ArrowRefreshIcon.displayName = "ArrowRefreshIcon";
|
|
1704
1707
|
var ArrowRefreshIcon$1 = ArrowRefreshIcon;
|
|
1705
1708
|
|
|
1706
|
-
var _excluded$
|
|
1709
|
+
var _excluded$4C = ["gradient"];
|
|
1707
1710
|
|
|
1708
1711
|
/**
|
|
1709
1712
|
* @component ArrowRestoreIcon
|
|
@@ -1733,7 +1736,7 @@
|
|
|
1733
1736
|
*/
|
|
1734
1737
|
var ArrowRestoreIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1735
1738
|
var gradient = _ref.gradient,
|
|
1736
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1739
|
+
props = _objectWithoutProperties(_ref, _excluded$4C);
|
|
1737
1740
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1738
1741
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1739
1742
|
width: 24,
|
|
@@ -1753,7 +1756,7 @@
|
|
|
1753
1756
|
ArrowRestoreIcon.displayName = "ArrowRestoreIcon";
|
|
1754
1757
|
var ArrowRestoreIcon$1 = ArrowRestoreIcon;
|
|
1755
1758
|
|
|
1756
|
-
var _excluded$
|
|
1759
|
+
var _excluded$4B = ["gradient"];
|
|
1757
1760
|
|
|
1758
1761
|
/**
|
|
1759
1762
|
* @component ArrowRightIcon
|
|
@@ -1783,7 +1786,7 @@
|
|
|
1783
1786
|
*/
|
|
1784
1787
|
var ArrowRightIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1785
1788
|
var gradient = _ref.gradient,
|
|
1786
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1789
|
+
props = _objectWithoutProperties(_ref, _excluded$4B);
|
|
1787
1790
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1788
1791
|
width: 24,
|
|
1789
1792
|
height: 24,
|
|
@@ -1803,7 +1806,7 @@
|
|
|
1803
1806
|
ArrowRightIcon.displayName = "ArrowRightIcon";
|
|
1804
1807
|
var ArrowRightIcon$1 = ArrowRightIcon;
|
|
1805
1808
|
|
|
1806
|
-
var _excluded$
|
|
1809
|
+
var _excluded$4A = ["gradient"];
|
|
1807
1810
|
|
|
1808
1811
|
/**
|
|
1809
1812
|
* @component ArrowUpLongIcon
|
|
@@ -1833,7 +1836,7 @@
|
|
|
1833
1836
|
*/
|
|
1834
1837
|
var ArrowUpLongIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1835
1838
|
var gradient = _ref.gradient,
|
|
1836
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1839
|
+
props = _objectWithoutProperties(_ref, _excluded$4A);
|
|
1837
1840
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1838
1841
|
width: 24,
|
|
1839
1842
|
height: 24,
|
|
@@ -1853,7 +1856,7 @@
|
|
|
1853
1856
|
ArrowUpLongIcon.displayName = "ArrowUpLongIcon";
|
|
1854
1857
|
var ArrowUpLongIcon$1 = ArrowUpLongIcon;
|
|
1855
1858
|
|
|
1856
|
-
var _excluded$
|
|
1859
|
+
var _excluded$4z = ["gradient"];
|
|
1857
1860
|
|
|
1858
1861
|
/**
|
|
1859
1862
|
* @component ArrowUpIcon
|
|
@@ -1883,7 +1886,7 @@
|
|
|
1883
1886
|
*/
|
|
1884
1887
|
var ArrowUpIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1885
1888
|
var gradient = _ref.gradient,
|
|
1886
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1889
|
+
props = _objectWithoutProperties(_ref, _excluded$4z);
|
|
1887
1890
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1888
1891
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1889
1892
|
width: 24,
|
|
@@ -1902,7 +1905,7 @@
|
|
|
1902
1905
|
ArrowUpIcon.displayName = "ArrowUpIcon";
|
|
1903
1906
|
var ArrowUpIcon$1 = ArrowUpIcon;
|
|
1904
1907
|
|
|
1905
|
-
var _excluded$
|
|
1908
|
+
var _excluded$4y = ["gradient"];
|
|
1906
1909
|
|
|
1907
1910
|
/**
|
|
1908
1911
|
* @component AssignIcon
|
|
@@ -1932,7 +1935,7 @@
|
|
|
1932
1935
|
*/
|
|
1933
1936
|
var AssignIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1934
1937
|
var gradient = _ref.gradient,
|
|
1935
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1938
|
+
props = _objectWithoutProperties(_ref, _excluded$4y);
|
|
1936
1939
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1937
1940
|
width: 24,
|
|
1938
1941
|
height: 24,
|
|
@@ -1952,7 +1955,7 @@
|
|
|
1952
1955
|
AssignIcon.displayName = "AssignIcon";
|
|
1953
1956
|
var AssignIcon$1 = AssignIcon;
|
|
1954
1957
|
|
|
1955
|
-
var _excluded$
|
|
1958
|
+
var _excluded$4x = ["gradient"];
|
|
1956
1959
|
|
|
1957
1960
|
/**
|
|
1958
1961
|
* @component AttachmentIcon
|
|
@@ -1982,7 +1985,7 @@
|
|
|
1982
1985
|
*/
|
|
1983
1986
|
var AttachmentIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
1984
1987
|
var gradient = _ref.gradient,
|
|
1985
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1988
|
+
props = _objectWithoutProperties(_ref, _excluded$4x);
|
|
1986
1989
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
1987
1990
|
width: 24,
|
|
1988
1991
|
height: 24,
|
|
@@ -2002,7 +2005,7 @@
|
|
|
2002
2005
|
AttachmentIcon.displayName = "AttachmentIcon";
|
|
2003
2006
|
var AttachmentIcon$1 = AttachmentIcon;
|
|
2004
2007
|
|
|
2005
|
-
var _excluded$
|
|
2008
|
+
var _excluded$4w = ["gradient"];
|
|
2006
2009
|
|
|
2007
2010
|
/**
|
|
2008
2011
|
* @component BellOffSmallIcon
|
|
@@ -2032,7 +2035,7 @@
|
|
|
2032
2035
|
*/
|
|
2033
2036
|
var BellOffSmallIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
2034
2037
|
var gradient = _ref.gradient,
|
|
2035
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2038
|
+
props = _objectWithoutProperties(_ref, _excluded$4w);
|
|
2036
2039
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
2037
2040
|
width: 12,
|
|
2038
2041
|
height: 12,
|
|
@@ -2052,7 +2055,7 @@
|
|
|
2052
2055
|
BellOffSmallIcon.displayName = "BellOffSmallIcon";
|
|
2053
2056
|
var BellOffSmallIcon$1 = BellOffSmallIcon;
|
|
2054
2057
|
|
|
2055
|
-
var _excluded$
|
|
2058
|
+
var _excluded$4v = ["gradient"];
|
|
2056
2059
|
|
|
2057
2060
|
/**
|
|
2058
2061
|
* @component BellOffIcon
|
|
@@ -2082,7 +2085,7 @@
|
|
|
2082
2085
|
*/
|
|
2083
2086
|
var BellOffIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
2084
2087
|
var gradient = _ref.gradient,
|
|
2085
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2088
|
+
props = _objectWithoutProperties(_ref, _excluded$4v);
|
|
2086
2089
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
2087
2090
|
width: 24,
|
|
2088
2091
|
height: 24,
|
|
@@ -2102,7 +2105,7 @@
|
|
|
2102
2105
|
BellOffIcon.displayName = "BellOffIcon";
|
|
2103
2106
|
var BellOffIcon$1 = BellOffIcon;
|
|
2104
2107
|
|
|
2105
|
-
var _excluded$
|
|
2108
|
+
var _excluded$4u = ["gradient"];
|
|
2106
2109
|
|
|
2107
2110
|
/**
|
|
2108
2111
|
* @component BillingIcon
|
|
@@ -2132,7 +2135,7 @@
|
|
|
2132
2135
|
*/
|
|
2133
2136
|
var BillingIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
2134
2137
|
var gradient = _ref.gradient,
|
|
2135
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2138
|
+
props = _objectWithoutProperties(_ref, _excluded$4u);
|
|
2136
2139
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
2137
2140
|
width: 24,
|
|
2138
2141
|
height: 24,
|
|
@@ -2155,7 +2158,7 @@
|
|
|
2155
2158
|
BillingIcon.displayName = "BillingIcon";
|
|
2156
2159
|
var BillingIcon$1 = BillingIcon;
|
|
2157
2160
|
|
|
2158
|
-
var _excluded$
|
|
2161
|
+
var _excluded$4t = ["gradient"];
|
|
2159
2162
|
|
|
2160
2163
|
/**
|
|
2161
2164
|
* @component BudgetAlertIcon
|
|
@@ -2185,7 +2188,7 @@
|
|
|
2185
2188
|
*/
|
|
2186
2189
|
var BudgetAlertIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
2187
2190
|
var gradient = _ref.gradient,
|
|
2188
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2191
|
+
props = _objectWithoutProperties(_ref, _excluded$4t);
|
|
2189
2192
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
2190
2193
|
width: 24,
|
|
2191
2194
|
height: 24,
|
|
@@ -2205,6 +2208,55 @@
|
|
|
2205
2208
|
BudgetAlertIcon.displayName = "BudgetAlertIcon";
|
|
2206
2209
|
var BudgetAlertIcon$1 = BudgetAlertIcon;
|
|
2207
2210
|
|
|
2211
|
+
var _excluded$4s = ["gradient"];
|
|
2212
|
+
|
|
2213
|
+
/**
|
|
2214
|
+
* @component BulbIcon
|
|
2215
|
+
* @description
|
|
2216
|
+
*
|
|
2217
|
+
* The React Icon component is a visual element that displays an icon to represent a concept, object, or action.
|
|
2218
|
+
* The Icon component is
|
|
2219
|
+
* customizable, allowing for variations in size, color, and style to fit the needs of the application.
|
|
2220
|
+
*
|
|
2221
|
+
* @prop {string} [gradient] - Optional CSS linear-gradient string to apply a custom fill.
|
|
2222
|
+
* Format: "linear-gradient(<angle>deg, <color1>, <color2>, ...)"
|
|
2223
|
+
*
|
|
2224
|
+
* @example
|
|
2225
|
+
* return (
|
|
2226
|
+
* <BulbIcon gradient="linear-gradient(135deg, #4da2ed, #f72222)" />
|
|
2227
|
+
* )
|
|
2228
|
+
*
|
|
2229
|
+
* @example
|
|
2230
|
+
* return (
|
|
2231
|
+
* <BulbIcon className="mr-2" />
|
|
2232
|
+
* )
|
|
2233
|
+
*
|
|
2234
|
+
* @see
|
|
2235
|
+
* https://system.activecollab.com/?path=/story/foundation-icons-icons--icons
|
|
2236
|
+
* @see
|
|
2237
|
+
* https://design.activecollab.com/docs/foundations/icons
|
|
2238
|
+
*/
|
|
2239
|
+
var BulbIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
2240
|
+
var gradient = _ref.gradient,
|
|
2241
|
+
props = _objectWithoutProperties(_ref, _excluded$4s);
|
|
2242
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
2243
|
+
width: 16,
|
|
2244
|
+
height: 16,
|
|
2245
|
+
viewBox: "0 0 16 16",
|
|
2246
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2247
|
+
"data-testid": "BulbIcon",
|
|
2248
|
+
fill: gradient ? "url(#icon-gradient)" : props !== null && props !== void 0 && props.fill ? props.fill : "var(--color-theme-600)",
|
|
2249
|
+
focusable: false,
|
|
2250
|
+
ref: svgRef
|
|
2251
|
+
}, props), /*#__PURE__*/React__default["default"].createElement(GradientDefs, {
|
|
2252
|
+
gradient: gradient
|
|
2253
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
2254
|
+
d: "M9.132 13.6a.533.533 0 110 1.067H6.865a.533.533 0 010-1.067h2.267zM10.132 11.667a.533.533 0 010 1.066H5.865a.533.533 0 010-1.066h4.267zM7.999 1.333a4.667 4.667 0 012.666 8.495v.839H9.332v-.521c0-.663.421-1.236.91-1.682a3.333 3.333 0 10-4.488 0c.49.446.911 1.02.911 1.682v.52H5.332v-.838a4.667 4.667 0 012.667-8.495z"
|
|
2255
|
+
}));
|
|
2256
|
+
});
|
|
2257
|
+
BulbIcon.displayName = "BulbIcon";
|
|
2258
|
+
var BulbIcon$1 = BulbIcon;
|
|
2259
|
+
|
|
2208
2260
|
var _excluded$4r = ["gradient"];
|
|
2209
2261
|
|
|
2210
2262
|
/**
|
|
@@ -25297,6 +25349,7 @@
|
|
|
25297
25349
|
exports.Breadcrumbs = Breadcrumbs;
|
|
25298
25350
|
exports.Bubble = Bubble;
|
|
25299
25351
|
exports.BudgetAlertIcon = BudgetAlertIcon$1;
|
|
25352
|
+
exports.BulbIcon = BulbIcon$1;
|
|
25300
25353
|
exports.Button = Button;
|
|
25301
25354
|
exports.ButtonGroup = ButtonGroup;
|
|
25302
25355
|
exports.CalendarAddXIcon = CalendarAddXIcon$1;
|