@commonsku/styles 1.12.0 → 1.13.3

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.
Files changed (57) hide show
  1. package/dist/index.es.js +239 -76
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/index.js +241 -73
  4. package/dist/index.js.map +1 -1
  5. package/dist/styles/Input.d.ts +1 -0
  6. package/dist/styles/Input.d.ts.map +1 -1
  7. package/dist/styles/MultiProgress.d.ts +12 -2
  8. package/dist/styles/MultiProgress.d.ts.map +1 -1
  9. package/dist/styles/Task.d.ts +2 -4
  10. package/dist/styles/Task.d.ts.map +1 -1
  11. package/dist/styles/calendar/DraggableCalendarFooterTasks.d.ts +6 -2
  12. package/dist/styles/calendar/DraggableCalendarFooterTasks.d.ts.map +1 -1
  13. package/dist/styles/calendar/DraggableTaskBody.d.ts +11 -0
  14. package/dist/styles/calendar/DraggableTaskBody.d.ts.map +1 -0
  15. package/dist/styles/calendar/DraggableTasksCalendar.d.ts +6 -22
  16. package/dist/styles/calendar/DraggableTasksCalendar.d.ts.map +1 -1
  17. package/dist/styles/calendar/DroppableDays.d.ts +14 -0
  18. package/dist/styles/calendar/DroppableDays.d.ts.map +1 -0
  19. package/dist/styles/calendar/DroppableFooter.d.ts +18 -0
  20. package/dist/styles/calendar/DroppableFooter.d.ts.map +1 -0
  21. package/dist/styles/calendar/TasksCalendar.d.ts +1 -1
  22. package/dist/styles/calendar/TasksCalendar.d.ts.map +1 -1
  23. package/dist/styles/calendar/TasksCalendarHeader.d.ts +6 -2
  24. package/dist/styles/calendar/TasksCalendarHeader.d.ts.map +1 -1
  25. package/dist/styles/calendar/types.d.ts +24 -0
  26. package/dist/styles/calendar/types.d.ts.map +1 -0
  27. package/dist/styles/hooks/useCalendar.d.ts +1 -0
  28. package/dist/styles/hooks/useCalendar.d.ts.map +1 -1
  29. package/dist/styles/icons/CircleProgressIcon.d.ts +12 -0
  30. package/dist/styles/icons/CircleProgressIcon.d.ts.map +1 -0
  31. package/dist/styles/icons/NavConnectIcon.d.ts +5 -5
  32. package/dist/styles/icons/NavConnectIcon.d.ts.map +1 -1
  33. package/dist/styles/icons/NavFinanceIcon.d.ts +5 -5
  34. package/dist/styles/icons/NavFinanceIcon.d.ts.map +1 -1
  35. package/dist/styles/icons/NavManagementIcon.d.ts +5 -5
  36. package/dist/styles/icons/NavManagementIcon.d.ts.map +1 -1
  37. package/dist/styles/icons/NavProdIcon.d.ts +5 -5
  38. package/dist/styles/icons/NavProdIcon.d.ts.map +1 -1
  39. package/dist/styles/icons/NavResourcesIcon.d.ts +11 -0
  40. package/dist/styles/icons/NavResourcesIcon.d.ts.map +1 -0
  41. package/dist/styles/icons/NavSalesIcon.d.ts +5 -5
  42. package/dist/styles/icons/NavSalesIcon.d.ts.map +1 -1
  43. package/dist/styles/icons/WarningIcon.d.ts +7 -0
  44. package/dist/styles/icons/WarningIcon.d.ts.map +1 -0
  45. package/dist/styles/icons/index.d.ts +3 -0
  46. package/dist/styles/icons/index.d.ts.map +1 -1
  47. package/dist/styles/index.d.ts +1 -0
  48. package/dist/styles/index.d.ts.map +1 -1
  49. package/dist/styles/tables/SimpleWindowedTable.d.ts +22 -0
  50. package/dist/styles/tables/SimpleWindowedTable.d.ts.map +1 -0
  51. package/dist/styles/tables/index.d.ts +3 -0
  52. package/dist/styles/tables/index.d.ts.map +1 -0
  53. package/dist/styles/tables/scrollbarWidth.d.ts +3 -0
  54. package/dist/styles/tables/scrollbarWidth.d.ts.map +1 -0
  55. package/dist/styles/tables/types.d.ts +16 -0
  56. package/dist/styles/tables/types.d.ts.map +1 -0
  57. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -701,14 +701,16 @@ var LabeledRadioGroup = function (_a) {
701
701
  }));
702
702
  };
703
703
  var LabeledCheckbox = React__default.forwardRef(function (_a, ref) {
704
- var label = _a.label, name = _a.name, checked = _a.checked, disabled = _a.disabled, onChange = _a.onChange, _b = _a.checkboxPosition, checkboxPosition = _b === void 0 ? 'top-left' : _b, _c = _a.checkboxStyle, checkboxStyle = _c === void 0 ? {} : _c, _d = _a.labelStyle, labelStyle = _d === void 0 ? {} : _d, _e = _a.hoverByLabel, hoverByLabel = _e === void 0 ? true : _e, props = __rest(_a, ["label", "name", "checked", "disabled", "onChange", "checkboxPosition", "checkboxStyle", "labelStyle", "hoverByLabel"]);
705
- var _f = React.useState(false), isHovering = _f[0], updateHover = _f[1];
704
+ var label = _a.label, name = _a.name, checked = _a.checked, disabled = _a.disabled, onChange = _a.onChange, _b = _a.checkboxPosition, checkboxPosition = _b === void 0 ? 'top-left' : _b, _c = _a.checkboxStyle, checkboxStyle = _c === void 0 ? {} : _c, _d = _a.labelStyle, labelStyle = _d === void 0 ? {} : _d, _e = _a.hoverByLabel, hoverByLabel = _e === void 0 ? true : _e, _f = _a.stopPropagation, stopPropagation = _f === void 0 ? false : _f, props = __rest(_a, ["label", "name", "checked", "disabled", "onChange", "checkboxPosition", "checkboxStyle", "labelStyle", "hoverByLabel", "stopPropagation"]);
705
+ var _g = React.useState(false), isHovering = _g[0], updateHover = _g[1];
706
706
  var onMouseOver = function (e) { return updateHover(true); };
707
707
  var onMouseLeave = function (e) { return updateHover(false); };
708
708
  return (React__default.createElement(RadioLabel, { htmlFor: name, onMouseOver: hoverByLabel ? onMouseOver : undefined, onMouseLeave: hoverByLabel ? onMouseLeave : undefined, disabled: disabled, style: labelStyle },
709
709
  label,
710
710
  React__default.createElement(Radio, __assign({ ref: ref, name: name, type: "checkbox", checked: checked, isHovering: isHovering, onChange: disabled ? undefined : onChange }, props)),
711
- React__default.createElement(CheckMark, { onMouseOver: !hoverByLabel ? onMouseOver : undefined, onMouseLeave: !hoverByLabel ? onMouseLeave : undefined, checked: checked, isHovering: isHovering, disabled: disabled, style: __assign(__assign({}, (checkboxPosition === 'top-right' ? { right: 0, left: 'auto', } : {})), checkboxStyle) })));
711
+ React__default.createElement(CheckMark, { onMouseOver: !hoverByLabel ? onMouseOver : undefined, onMouseLeave: !hoverByLabel ? onMouseLeave : undefined, checked: checked, isHovering: isHovering, disabled: disabled, style: __assign(__assign({}, (checkboxPosition === 'top-right' ? { right: 0, left: 'auto', } : {})), checkboxStyle), onClick: function (e) {
712
+ stopPropagation && e && e.stopPropagation();
713
+ } })));
712
714
  });
713
715
  var templateObject_1$b, templateObject_2$7, templateObject_3$3, templateObject_4$2, templateObject_5$2, templateObject_6$2, templateObject_7$1;
714
716
 
@@ -1150,38 +1152,50 @@ function TrashIcon(_a) {
1150
1152
  }
1151
1153
 
1152
1154
  function NavConnectIcon(_a) {
1153
- var _b = _a.color, color = _b === void 0 ? "#000000" : _b, width = _a.width, mr = _a.mr, mt = _a.mt, style = _a.style, props = __rest(_a, ["color", "width", "mr", "mt", "style"]);
1154
- return (React__default.createElement("svg", __assign({ viewBox: "0 0 180 180", fillRule: "evenodd", clipRule: "evenodd", strokeLinejoin: "round", strokeMiterlimit: 2, width: width, style: __assign({ display: "inline-block", verticalAlign: "top", marginRight: mr, marginTop: mt }, style) }, props),
1155
- React__default.createElement("path", { fill: "none", d: "M0 0h180v180H0z" }),
1156
- React__default.createElement("path", { d: "M99.53 103.144H30.762c-10.782 0-19.605 8.822-19.605 19.605 0 9.944 7.505 18.213 17.129 19.442.706 1.155 5.036 8.91-2.248 14.87 0 0 11.194-4.702 16.353-14.707H99.53c10.782 0 19.605-8.823 19.605-19.605 0-10.783-8.823-19.605-19.605-19.605zm42.487-80.21H38.463c-19.973 0-36.316 16.343-36.316 36.316 0 19.974 16.343 36.316 36.316 36.316h91.308c10.926 14.742 31.977 16.093 31.977 16.093-10.79-3.966-10.476-13.812-9.958-17.449 15.265-4.296 26.543-18.37 26.543-34.96 0-19.973-16.341-36.316-36.316-36.316z", fill: color })));
1155
+ var _b = _a.width, width = _b === void 0 ? 24 : _b, _c = _a.style, style = _c === void 0 ? {} : _c, _d = _a.fill, fill = _d === void 0 ? "none" : _d, _e = _a.color, color = _e === void 0 ? "#fff" : _e, _f = _a.outline, outline = _f === void 0 ? true : _f, // outline/completely filled in
1156
+ props = __rest(_a, ["width", "style", "fill", "color", "outline"]);
1157
+ return (React__default.createElement("svg", __assign({ fill: fill, width: width, height: width, style: style }, props), outline ? React__default.createElement("path", { d: "M16.67 13.13C18.04 14.06 19 15.32 19 17v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2c0-2.18-3.57-3.47-6.33-3.87ZM15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4c-.47 0-.91.1-1.33.24a5.98 5.98 0 0 1 0 7.52c.42.14.86.24 1.33.24ZM9 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4Zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2ZM9 13c-2.67 0-8 1.34-8 4v2a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-2c0-2.66-5.33-4-8-4Zm6 5H3v-.99C3.2 16.29 6.3 15 9 15s5.8 1.29 6 2v1Z", fill: color }) : React__default.createElement("path", { d: "M16.67 13.13C18.04 14.06 19 15.32 19 17v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2c0-2.18-3.57-3.47-6.33-3.87ZM15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4c-.47 0-.91.1-1.33.24a5.98 5.98 0 0 1 0 7.52c.42.14.86.24 1.33.24ZM9 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4ZM9 13c-2.67 0-8 1.34-8 4v2a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-2c0-2.66-5.33-4-8-4Z", fill: color })));
1157
1158
  }
1158
1159
 
1159
1160
  function NavSalesIcon(_a) {
1160
- var _b = _a.color, color = _b === void 0 ? "#000000" : _b, width = _a.width, mr = _a.mr, mt = _a.mt, style = _a.style, props = __rest(_a, ["color", "width", "mr", "mt", "style"]);
1161
- return (React__default.createElement("svg", __assign({ viewBox: "0 0 180 180", fillRule: "evenodd", clipRule: "evenodd", strokeLinejoin: "round", strokeMiterlimit: 2, width: width, style: __assign({ display: "inline-block", verticalAlign: "top", marginRight: mr, marginTop: mt }, style) }, props),
1162
- React__default.createElement("path", { fill: "none", d: "M0 0h180v180H0z" }),
1163
- React__default.createElement("path", { d: "M162.381 43.007c-14.21 6.232-33.594 12.154-48.42 12.914l18.373 8.997-38.41 37.12-20.643-22.363-53.962 48.38a5.124 5.124 0 006.84 7.629l46.443-41.637 20.903 22.645 45.951-44.406 8.367 18.675C149.09 76.169 155.67 57 162.381 43.007", fill: color })));
1161
+ var _b = _a.width, width = _b === void 0 ? 24 : _b, _c = _a.style, style = _c === void 0 ? {} : _c, _d = _a.fill, fill = _d === void 0 ? "none" : _d, _e = _a.color, color = _e === void 0 ? "#fff" : _e, _f = _a.outline, outline = _f === void 0 ? true : _f, // outline/completely filled in
1162
+ props = __rest(_a, ["width", "style", "fill", "color", "outline"]);
1163
+ return (React__default.createElement("svg", __assign({ fill: fill, width: width, height: width, style: style }, props), outline ? React__default.createElement(React__default.Fragment, null,
1164
+ React__default.createElement("mask", { id: "nav-sales-icon-a", fill: color },
1165
+ React__default.createElement("rect", { x: 1, y: 12, width: 6, height: 9, rx: 1 })),
1166
+ React__default.createElement("rect", { x: 1, y: 12, width: 6, height: 9, rx: 1, stroke: color, strokeWidth: 4, mask: "url(#nav-sales-icon-a)" }),
1167
+ React__default.createElement("mask", { id: "nav-sales-icon-b", fill: color },
1168
+ React__default.createElement("rect", { x: 9, y: 3, width: 6, height: 18, rx: 1 })),
1169
+ React__default.createElement("rect", { x: 9, y: 3, width: 6, height: 18, rx: 1, stroke: color, strokeWidth: 4, mask: "url(#nav-sales-icon-b)" }),
1170
+ React__default.createElement("mask", { id: "nav-sales-icon-c", fill: color },
1171
+ React__default.createElement("rect", { x: 17, y: 9, width: 6, height: 12, rx: 1 })),
1172
+ React__default.createElement("rect", { x: 17, y: 9, width: 6, height: 12, rx: 1, stroke: color, strokeWidth: 4, mask: "url(#nav-sales-icon-c)" })) : React__default.createElement(React__default.Fragment, null,
1173
+ React__default.createElement("rect", { x: 1, y: 12, width: 6, height: 9, rx: 1, fill: color }),
1174
+ React__default.createElement("rect", { x: 9, y: 3, width: 6, height: 18, rx: 1, fill: color }),
1175
+ React__default.createElement("rect", { x: 17, y: 9, width: 6, height: 12, rx: 1, fill: color }))));
1164
1176
  }
1165
1177
 
1166
1178
  function NavProdIcon(_a) {
1167
- var _b = _a.color, color = _b === void 0 ? "#000000" : _b, width = _a.width, mr = _a.mr, mt = _a.mt, style = _a.style, props = __rest(_a, ["color", "width", "mr", "mt", "style"]);
1168
- return (React__default.createElement("svg", __assign({ viewBox: "0 0 180 180", fillRule: "evenodd", clipRule: "evenodd", strokeLinejoin: "round", strokeMiterlimit: 2, width: width, style: __assign({ display: "inline-block", verticalAlign: "top", marginRight: mr, marginTop: mt }, style) }, props),
1169
- React__default.createElement("path", { fill: "none", d: "M0 0h180v180H0z" }),
1170
- React__default.createElement("path", { d: "M124.649 78.96h-46.03V65.335h46.03c3.747 0 6.812 3.066 6.812 6.813s-3.065 6.812-6.812 6.812m6.812 25.625c0 3.746-3.065 6.812-6.812 6.812h-46.03V97.772h46.03c3.747 0 6.812 3.065 6.812 6.813m0 32.364c0 3.747-3.065 6.812-6.812 6.812h-46.03v-13.624h46.03c3.747 0 6.812 3.065 6.812 6.812M61.275 79.81a7.662 7.662 0 11.002-15.322 7.662 7.662 0 01-.002 15.322m0 32.437a7.662 7.662 0 11.001-15.323 7.662 7.662 0 01-.001 15.323m0 31.913a7.661 7.661 0 110-15.322 7.661 7.661 0 010 15.322M90 26.862a7.662 7.662 0 11-.002 15.322A7.662 7.662 0 0190 26.862m38.802 15.514h-7.661v-6.409c0-.75-.613-1.363-1.363-1.363-7.62 0-14.375-3.704-18.563-9.411-2.613-3.561-6.798-5.625-11.215-5.625s-8.604 2.064-11.216 5.625C74.596 30.9 67.84 34.604 60.22 34.604c-.75 0-1.363.613-1.363 1.363v6.41h-7.66c-5.47 0-9.904 4.433-9.904 9.902v98.248c0 5.47 4.434 9.904 9.904 9.904h77.605c5.47 0 9.904-4.434 9.904-9.904V52.28c0-5.469-4.434-9.903-9.904-9.903", fill: color })));
1179
+ var _b = _a.width, width = _b === void 0 ? 24 : _b, _c = _a.style, style = _c === void 0 ? {} : _c, _d = _a.fill, fill = _d === void 0 ? "none" : _d, _e = _a.color, color = _e === void 0 ? "#fff" : _e, _f = _a.outline, outline = _f === void 0 ? true : _f, // outline/completely filled in
1180
+ props = __rest(_a, ["width", "style", "fill", "color", "outline"]);
1181
+ return (React__default.createElement("svg", __assign({ fill: fill, width: width, height: width, style: style }, props), outline ? React__default.createElement(React__default.Fragment, null,
1182
+ React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M20 3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H4V5h16v14Z", fill: color }),
1183
+ React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.701 11.127a1.003 1.003 0 0 0-1.418-1.42L14.82 12.17l-.705-.71a.997.997 0 0 0-1.415 1.405L14.82 15l3.881-3.873Z", fill: color }),
1184
+ React__default.createElement("path", { d: "M10 8a1 1 0 0 0-1-1H6a1 1 0 0 0 0 2h3a1 1 0 0 0 1-1ZM10 12a1 1 0 0 0-1-1H6a1 1 0 1 0 0 2h3a1 1 0 0 0 1-1ZM10 16a1 1 0 0 0-1-1H6a1 1 0 1 0 0 2h3a1 1 0 0 0 1-1Z", fill: color })) : React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M20 3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2ZM9 17H6c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1s-.45 1-1 1Zm0-4H6c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1s-.45 1-1 1Zm0-4H6c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1s-.45 1-1 1Zm9.7 2.12-3.17 3.17c-.39.39-1.03.39-1.42 0l-1.41-1.42a.996.996 0 1 1 1.41-1.41l.71.71 2.47-2.47a.996.996 0 0 1 1.41 0l.01.01c.38.39.38 1.03-.01 1.41Z", fill: color })));
1171
1185
  }
1172
1186
 
1173
1187
  function NavFinanceIcon(_a) {
1174
- var _b = _a.color, color = _b === void 0 ? "#000000" : _b, width = _a.width, mr = _a.mr, mt = _a.mt, style = _a.style, props = __rest(_a, ["color", "width", "mr", "mt", "style"]);
1175
- return (React__default.createElement("svg", __assign({ viewBox: "0 0 180 180", fillRule: "evenodd", clipRule: "evenodd", strokeLinejoin: "round", strokeMiterlimit: 2, width: width, style: __assign({ display: "inline-block", verticalAlign: "top", marginRight: mr, marginTop: mt }, style) }, props),
1176
- React__default.createElement("path", { fill: "none", d: "M0 0h180v180H0z" }),
1177
- React__default.createElement("path", { d: "M62.118 118.457s12.666 12.336 29.115 12.336c8.882 0 16.944-4.605 16.944-14.146 0-19.738-55.599-17.765-55.599-53.13 0-16.943 12.665-30.102 30.924-33.063V14.992h14.146v15.133c19.082 1.645 28.95 12.008 28.95 12.008l-9.21 17.272s-11.186-10.2-25.827-10.2c-9.869 0-17.6 5.758-17.6 13.983 0 19.574 55.434 16.12 55.434 52.966 0 16.778-11.678 31.09-31.747 33.72v15.134H83.502v-15.134c-21.22-2.467-32.899-15.461-32.899-15.461l11.515-15.956z", fill: color })));
1188
+ var _b = _a.width, width = _b === void 0 ? 24 : _b, _c = _a.style, style = _c === void 0 ? {} : _c, _d = _a.fill, fill = _d === void 0 ? "none" : _d, _e = _a.color, color = _e === void 0 ? "#fff" : _e, _f = _a.outline, outline = _f === void 0 ? true : _f, // outline/completely filled in
1189
+ props = __rest(_a, ["width", "style", "fill", "color", "outline"]);
1190
+ return (React__default.createElement("svg", __assign({ fill: fill, width: width, height: width, style: style }, props), outline ? React__default.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm.31-8.86c-1.77-.45-2.34-.94-2.34-1.67 0-.84.79-1.43 2.1-1.43.96 0 1.504.32 1.76.844.2.413.543.796 1.002.796.485 0 .885-.41.739-.873-.307-.975-1.083-1.786-2.341-2.097v-.545a1.165 1.165 0 0 0-2.33 0v.525c-1.51.32-2.72 1.3-2.72 2.81 0 1.79 1.49 2.69 3.66 3.21 1.95.46 2.34 1.15 2.34 1.87 0 .53-.39 1.39-2.1 1.39-1.126 0-1.772-.357-2.087-.889-.229-.387-.576-.751-1.026-.751-.503 0-.917.433-.745.906.416 1.142 1.469 1.814 2.678 2.064v.53a1.17 1.17 0 1 0 2.34 0v-.5c1.52-.29 2.72-1.16 2.73-2.77-.01-2.2-1.9-2.96-3.66-3.42Z", fill: color }) : React__default.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1.41 16.09v.58c0 .73-.6 1.33-1.33 1.33h-.01c-.73 0-1.33-.6-1.33-1.33v-.6c-1.33-.28-2.51-1.01-3.01-2.24-.23-.55.2-1.16.8-1.16h.24c.37 0 .67.25.81.6.29.75 1.05 1.27 2.51 1.27 1.96 0 2.4-.98 2.4-1.59 0-.83-.44-1.61-2.67-2.14-2.48-.6-4.18-1.62-4.18-3.67 0-1.72 1.39-2.84 3.11-3.21v-.6c0-.73.6-1.33 1.33-1.33h.01c.73 0 1.33.6 1.33 1.33v.62c1.38.34 2.25 1.2 2.63 2.26.2.55-.22 1.13-.81 1.13h-.26c-.37 0-.67-.26-.77-.62-.23-.76-.86-1.25-2.12-1.25-1.5 0-2.4.68-2.4 1.64 0 .84.65 1.39 2.67 1.91s4.18 1.39 4.18 3.91c-.02 1.83-1.39 2.83-3.13 3.16Z", fill: color })));
1178
1191
  }
1179
1192
 
1180
1193
  function NavManagementIcon(_a) {
1181
- var _b = _a.color, color = _b === void 0 ? "#000000" : _b, width = _a.width, mr = _a.mr, mt = _a.mt, style = _a.style, props = __rest(_a, ["color", "width", "mr", "mt", "style"]);
1182
- return (React__default.createElement("svg", __assign({ viewBox: "0 0 180 180", fillRule: "evenodd", clipRule: "evenodd", strokeLinejoin: "round", strokeMiterlimit: 2, width: width, style: __assign({ display: "inline-block", verticalAlign: "top", marginRight: mr, marginTop: mt }, style) }, props),
1183
- React__default.createElement("path", { fill: "none", d: "M0 0h180v180H0z" }),
1184
- React__default.createElement("path", { d: "M89.082 90.27l-13.038 24.108-24.311-25.294-.541-.541c-11.77 14.567-19.975 35.614-22.293 59.597-.01.095-.02.19-.028.286-.683 7.222 3.015 13.676 7.783 13.676h106.608c4.82 0 8.566-6.526 7.868-13.825l-.014-.137c-2.313-23.925-10.483-44.93-22.208-59.492l-24.73 25.73-13.042-24.115c10.605-.327 20.062-5.216 26.473-12.772a36.043 36.043 0 008.585-23.401c0-19.99-16.204-36.192-36.193-36.192-19.988 0-36.192 16.203-36.192 36.192a36.05 36.05 0 008.31 23.076c.092.11.186.22.28.329C68.853 85.1 78.391 90.004 89.082 90.27z", fill: color })));
1194
+ var _b = _a.width, width = _b === void 0 ? 24 : _b, _c = _a.style, style = _c === void 0 ? {} : _c, _d = _a.fill, fill = _d === void 0 ? "none" : _d, _e = _a.color, color = _e === void 0 ? "#fff" : _e, _f = _a.outline, outline = _f === void 0 ? true : _f, // outline/completely filled in
1195
+ props = __rest(_a, ["width", "style", "fill", "color", "outline"]);
1196
+ return (React__default.createElement("svg", __assign({ fill: fill, width: width, height: width, style: style }, props), outline ? React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M20 8a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2h8ZM10 20H8v-2H6v2H4V6h2v2h2V6h2v14Zm2-4v-2h2v-2h-2v-2h8v10h-8v-2h2v-2h-2Zm-4-2v2H6v-2h2Zm0-4v2H6v-2h2Zm8 2v2h2v-2h-2Zm2 4v2h-2v-2h2Z", fill: color }) : React__default.createElement(React__default.Fragment, null,
1197
+ React__default.createElement("path", { d: "M16 12h2v2h-2v-2ZM16 16h2v2h-2v-2Z", fill: color }),
1198
+ React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2h-8Zm0 2h8v10h-8v-2h2v-2h-2v-2h2v-2h-2v-2ZM8 6H6v2h2V6Zm-2 8h2v2H6v-2Zm2 4H6v2h2v-2Zm-2-8h2v2H6v-2Z", fill: color }))));
1185
1199
  }
1186
1200
 
1187
1201
  function GearIcon(_a) {
@@ -1198,6 +1212,42 @@ function NextPrevIcon(_a) {
1198
1212
  React__default.createElement("path", { d: next ? "M6.43 1.653l9.776 14.796c.318.495.33 1.137.012 1.637l-9.776 15.24c-.452.698-1.381.901-2.078.454a1.497 1.497 0 01-.452-2.073l9.251-14.419-9.239-13.98a1.49 1.49 0 01.428-2.079 1.502 1.502 0 012.078.424z" : "M12.128 1.653L2.352 16.45a1.526 1.526 0 00-.012 1.637l9.776 15.24c.452.698 1.381.901 2.078.454a1.497 1.497 0 00.452-2.073L5.395 17.288l9.239-13.98a1.49 1.49 0 00-.428-2.079 1.502 1.502 0 00-2.078.424z", fill: color })));
1199
1213
  }
1200
1214
 
1215
+ function NavResourcesIcon(_a) {
1216
+ var _b = _a.width, width = _b === void 0 ? 24 : _b, _c = _a.style, style = _c === void 0 ? {} : _c, _d = _a.fill, fill = _d === void 0 ? "none" : _d, _e = _a.color, color = _e === void 0 ? "#fff" : _e, _f = _a.outline, outline = _f === void 0 ? true : _f, // outline/completely filled in
1217
+ props = __rest(_a, ["width", "style", "fill", "color", "outline"]);
1218
+ return (React__default.createElement("svg", __assign({ fill: fill, width: width, height: width, style: style }, props), outline ? React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M23 6.696c0-.827-.49-1.552-1.22-1.89C20.498 4.226 18.957 4 17.506 4c-1.95 0-4.051.409-5.502 1.532C10.555 4.409 8.453 4 6.502 4c-1.45 0-2.99.225-4.281.807A2.083 2.083 0 0 0 1 6.697v11.52c0 1.328 1.22 2.308 2.481 1.981.98-.255 2.021-.367 3.022-.367 1.56 0 3.221.265 4.562.94.6.306 1.28.306 1.87 0 1.341-.685 3.002-.94 4.562-.94 1.001 0 2.041.112 3.022.367 1.26.337 2.481-.643 2.481-1.981V6.697Zm-11.995.625-.21-.162c-.945-.732-2.528-1.116-4.292-1.116-1.275 0-2.51.2-3.462.627a.106.106 0 0 0-.04.031v11.514a14.08 14.08 0 0 1 3.502-.427c1.43 0 3.03.196 4.502.74V7.322Zm2 11.2c1.477-.548 3.075-.733 4.492-.733 1.136 0 2.34.126 3.502.427V6.701a.107.107 0 0 0-.041-.032c-.939-.424-2.173-.626-3.45-.626-1.765 0-3.348.384-4.294 1.116l-.209.162v11.2Z", fill: color }) : React__default.createElement("path", { d: "M17.508 4c-1.951 0-4.052.409-5.503 1.532C10.555 4.409 8.453 4 6.502 4c-1.45 0-2.99.225-4.281.807A2.083 2.083 0 0 0 1 6.697v11.52c0 1.328 1.22 2.308 2.481 1.981.98-.255 2.021-.367 3.022-.367 1.56 0 3.221.265 4.562.94.6.306 1.28.306 1.87 0 1.341-.685 3.002-.94 4.562-.94 1.001 0 2.041.112 3.022.367 1.26.337 2.481-.643 2.481-1.981V6.697c0-.828-.49-1.553-1.22-1.89C20.498 4.225 18.957 4 17.506 4Zm3.501 13.002c0 .643-.58 1.113-1.2 1-.75-.143-1.531-.204-2.302-.204-1.7 0-4.151.664-5.502 1.532V7.575c1.35-.868 3.802-1.532 5.502-1.532.92 0 1.831.092 2.702.286.46.102.8.52.8 1v9.672Z", fill: color })));
1219
+ }
1220
+
1221
+ function WarningIcon(_a) {
1222
+ var _b = _a.width, _c = _a.height, props = __rest(_a, ["width", "height"]);
1223
+ return (React__default.createElement("svg", __assign({ width: 31, height: 30, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
1224
+ React__default.createElement("path", { d: "M.167 0H26a5 5 0 015 5v25H5.167a5 5 0 01-5-5V0z", fill: "url(#prefix__paint0_linear_1503_2433)" }),
1225
+ React__default.createElement("path", { d: "M14.482 17.9h2.22l.2-10.1h-2.64l.22 10.1zm-.12 4.1h2.46v-2.36h-2.46V22z", fill: "#fff" }),
1226
+ React__default.createElement("defs", null,
1227
+ React__default.createElement("linearGradient", { id: "prefix__paint0_linear_1503_2433", x1: 6.5, y1: 35, x2: 27.5, y2: -7.5, gradientUnits: "userSpaceOnUse" },
1228
+ React__default.createElement("stop", { stopColor: "#FA2272" }),
1229
+ React__default.createElement("stop", { offset: 1, stopColor: "#FA224E", stopOpacity: 0 })))));
1230
+ }
1231
+
1232
+ var CircleProgressIcon = function (_a) {
1233
+ var _b = _a.sqSize, sqSize = _b === void 0 ? 50 : _b, _c = _a.strokeWidth, strokeWidth = _c === void 0 ? 5 : _c, _d = _a.percentage, percentage = _d === void 0 ? 0 : _d, _e = _a.strokeColor, strokeColor = _e === void 0 ? colors.primary : _e, _f = _a.textColor, textColor = _f === void 0 ? colors.primary : _f, _g = _a.text, text = _g === void 0 ? '' : _g, _h = _a.textStyle, textStyle = _h === void 0 ? {} : _h, props = __rest(_a, ["sqSize", "strokeWidth", "percentage", "strokeColor", "textColor", "text", "textStyle"]);
1234
+ var radius = (sqSize - strokeWidth) / 2;
1235
+ var viewBox = "0 0 " + sqSize + " " + sqSize;
1236
+ var dashArray = radius * Math.PI * 2;
1237
+ var dashOffset = dashArray - dashArray * percentage / 100;
1238
+ return (React__default.createElement("svg", __assign({ width: sqSize, height: sqSize, viewBox: viewBox }, props),
1239
+ React__default.createElement("circle", { className: "circle-background", cx: sqSize / 2, cy: sqSize / 2, r: radius, strokeWidth: strokeWidth + "px", style: { fill: 'none', stroke: colors.disabledButtonBorder, } }),
1240
+ React__default.createElement("circle", { className: "circle-progress", cx: sqSize / 2, cy: sqSize / 2, r: radius, strokeWidth: strokeWidth + "px", transform: "rotate(-90 " + sqSize / 2 + " " + sqSize / 2 + ")", style: {
1241
+ strokeDasharray: dashArray,
1242
+ strokeDashoffset: dashOffset,
1243
+ fill: 'none',
1244
+ stroke: strokeColor,
1245
+ strokeLinecap: 'round',
1246
+ strokeLinejoin: 'round',
1247
+ } }),
1248
+ React__default.createElement("text", { className: "circle-text", x: "50%", y: "50%", dy: ".3em", textAnchor: "middle", style: __assign({ fontSize: '1em', fontWeight: 'bold', fill: textColor }, textStyle) }, text || percentage + "%")));
1249
+ };
1250
+
1201
1251
  var SVG = styled__default.svg(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), SharedStyles);
1202
1252
  var templateObject_1$j;
1203
1253
 
@@ -4713,16 +4763,16 @@ var Task = function (_a) {
4713
4763
  typeof assignee !== "undefined" ? "for " + assignee : null,
4714
4764
  typeof assignee !== "undefined" ? "on " : null)));
4715
4765
  };
4716
- var StyledCalendarTaskBody = styled__default.span(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject(["\n font-size: 13px;\n font-family: 'skufont-regular',sans-serif,Roboto;\n font-weight: normal;\n white-space: pre-wrap;\n"], ["\n font-size: 13px;\n font-family: 'skufont-regular',sans-serif,Roboto;\n font-weight: normal;\n white-space: pre-wrap;\n"])));
4766
+ var StyledCalendarTaskBody = styled__default.span(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject(["\n font-size: 13px;\n font-family: 'skufont-regular',sans-serif,Roboto;\n"], ["\n font-size: 13px;\n font-family: 'skufont-regular',sans-serif,Roboto;\n"])));
4717
4767
  var StyledCalendarTaskWrapper = styled__default(StyledTask)(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\nborder-radius: 5px;\n", "\npadding: 5px;\nmargin: 0;\nheight: 100%;\nmargin-bottom: 7px;\n"], ["\nborder-radius: 5px;\n", "\npadding: 5px;\nmargin: 0;\nheight: 100%;\nmargin-bottom: 7px;\n"])), function (p) { return p.backgroundColor ? "background-color: " + p.backgroundColor + ";" : ''; });
4718
4768
  var CalendarTask = React__default.forwardRef(function (_a, ref) {
4719
- var title = _a.title, description = _a.description, date = _a.date, _b = _a.completed, completed = _b === void 0 ? false : _b, assignee = _a.assignee, onClickCheckbox = _a.onClickCheckbox, _c = _a.descriptionLength, descriptionLength = _c === void 0 ? null : _c, _d = _a.colorType, colorType = _d === void 0 ? 'light-green' : _d, props = __rest(_a, ["title", "description", "date", "completed", "assignee", "onClickCheckbox", "descriptionLength", "colorType"]);
4769
+ var title = _a.title, description = _a.description, date = _a.date, _b = _a.completed, completed = _b === void 0 ? false : _b, assignee = _a.assignee, onClickCheckbox = _a.onClickCheckbox, _c = _a.colorType, colorType = _c === void 0 ? 'light-green' : _c, _d = _a.isDescriptionHtml, isDescriptionHtml = _d === void 0 ? false : _d, props = __rest(_a, ["title", "description", "date", "completed", "assignee", "onClickCheckbox", "colorType", "isDescriptionHtml"]);
4720
4770
  var _e = React.useState(completed), checked = _e[0], setChecked = _e[1];
4721
4771
  React.useEffect(function () {
4722
4772
  setChecked(completed);
4723
- }, [completed]);
4773
+ }, [completed, title, date]);
4724
4774
  return (React__default.createElement(StyledCalendarTaskWrapper, __assign({ backgroundColor: colorType === 'light-red' ? '#ffebf2' : '#01d37417' }, props),
4725
- React__default.createElement(LabeledCheckbox, { ref: ref, checked: checked, checkboxPosition: "top-right", checkboxStyle: {
4775
+ React__default.createElement(LabeledCheckbox, { ref: ref, stopPropagation: true, checked: checked, checkboxPosition: "top-right", checkboxStyle: {
4726
4776
  borderColor: checked
4727
4777
  ? undefined : (colorType === 'light-red' ? 'rgba(209, 69, 121, 0.24)' : '#BEF1DA'),
4728
4778
  }, hoverByLabel: false, labelStyle: { width: '100%', paddingLeft: 0, paddingRight: 0, marginRight: 0, marginLeft: 0, margin: 0, }, label: React__default.createElement(TaskLabel, { onClick: function (e) { e.preventDefault(); }, style: { fontWeight: 'bold' } },
@@ -4738,9 +4788,9 @@ var CalendarTask = React__default.forwardRef(function (_a, ref) {
4738
4788
  return !s;
4739
4789
  });
4740
4790
  } }),
4741
- React__default.createElement(StyledCalendarTaskBody, { preWrap: typeof description === 'string' }, typeof description === 'string' && descriptionLength ?
4742
- description.slice(0, descriptionLength)
4743
- : description),
4791
+ React__default.createElement(StyledCalendarTaskBody, __assign({}, (isDescriptionHtml && typeof description === 'string'
4792
+ ? { dangerouslySetInnerHTML: { __html: description } }
4793
+ : { children: description }))),
4744
4794
  React__default.createElement("div", { className: "task-metadata" },
4745
4795
  typeof assignee !== "undefined" ? "for " + assignee : null,
4746
4796
  typeof assignee !== "undefined" ? "on " : null)));
@@ -5329,6 +5379,9 @@ var useCalendar = function (_a) {
5329
5379
  else if (action === "next") {
5330
5380
  dt = addMonths(currentMonth, 1);
5331
5381
  }
5382
+ else if (action === "reset") {
5383
+ dt = today;
5384
+ }
5332
5385
  setCurrentMonth(dt);
5333
5386
  onChangeMonth && onChangeMonth({
5334
5387
  action: action,
@@ -5345,6 +5398,9 @@ var useCalendar = function (_a) {
5345
5398
  else if (action === "next") {
5346
5399
  dt = addWeeks(currentMonth, 1);
5347
5400
  }
5401
+ else if (action === "reset") {
5402
+ dt = today;
5403
+ }
5348
5404
  setCurrentMonth(dt);
5349
5405
  var week = getWeek(dt);
5350
5406
  setCurrentWeek(week);
@@ -5364,6 +5420,11 @@ var useCalendar = function (_a) {
5364
5420
  setSelectedDate(day);
5365
5421
  }
5366
5422
  };
5423
+ // reset to today's date
5424
+ var resetToToday = function () {
5425
+ setSelectedDate(today);
5426
+ changeWeek('reset');
5427
+ };
5367
5428
  var onNextWeek = function () { return changeWeek("next"); };
5368
5429
  var onPrevWeek = function () { return changeWeek("prev"); };
5369
5430
  var onNextMonth = function () { return changeMonth("next"); };
@@ -5381,6 +5442,7 @@ var useCalendar = function (_a) {
5381
5442
  onNextMonth: onNextMonth,
5382
5443
  onPrevMonth: onPrevMonth,
5383
5444
  getDatesBetween: getDatesBetween,
5445
+ onReset: resetToToday,
5384
5446
  };
5385
5447
  };
5386
5448
 
@@ -6359,14 +6421,15 @@ function CollapsiblePanels(_a) {
6359
6421
  var templateObject_1$C, templateObject_2$q, templateObject_3$j;
6360
6422
 
6361
6423
  var ProgressWrapper$1 = styled__default.div(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n max-width: 100%;\n width: 100%;\n height: 48px;\n background: linear-gradient(180deg, rgba(1, 211, 116, 0.051) 0%, rgba(1, 211, 116, 0.1) 100%);\n box-shadow: 0px 4px 5px rgba(72, 78, 86, 0.1);\n border-radius: 50px;\n \n ", "\n"], ["\n max-width: 100%;\n width: 100%;\n height: 48px;\n background: linear-gradient(180deg, rgba(1, 211, 116, 0.051) 0%, rgba(1, 211, 116, 0.1) 100%);\n box-shadow: 0px 4px 5px rgba(72, 78, 86, 0.1);\n border-radius: 50px;\n \n ", "\n"])), SharedStyles);
6362
- var ProgressBar$1 = styled__default.div(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["\n max-width: 100%;\n width: ", "%;\n height: 48px;\n background: ", ";\n border-radius: 50px;\n display: inline-block;\n position: absolute;\n"], ["\n max-width: 100%;\n width: ", "%;\n height: 48px;\n background: ",
6363
- ";\n border-radius: 50px;\n display: inline-block;\n position: absolute;\n"])), function (props) { return 100 * props.value / props.max; }, function (props) { return props.error ? "#B21154" : (props.color || "#00d374"); });
6424
+ var ProgressBar$1 = styled__default.div(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["\n max-width: 100%;\n width: calc(", "% - ", "px);\n height: 48px;\n background: ", ";\n border-radius: 50px;\n display: inline-block;\n position: absolute;\n"], ["\n max-width: 100%;\n width: calc(", "% - ", "px);\n height: 48px;\n background: ",
6425
+ ";\n border-radius: 50px;\n display: inline-block;\n position: absolute;\n"])), function (props) { return 100 * props.value / props.max; }, function (p) { return p.left || 0; }, function (props) { return props.error ? "#B21154" : (props.color || "#00d374"); });
6364
6426
  var StyledProgressTitle = styled__default(Text)(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n display: inline-block;\n position: absolute;\n z-index: 9;\n vertical-align: middle;\n padding: 12px;\n color: #FFFFFF;\n font-size: 18px;\n text-shadow: 0px 1px 2px #40B07E;\n"], ["\n display: inline-block;\n position: absolute;\n z-index: 9;\n vertical-align: middle;\n padding: 12px;\n color: #FFFFFF;\n font-size: 18px;\n text-shadow: 0px 1px 2px #40B07E;\n"])));
6365
6427
  var LabeledBar = function (props) {
6366
6428
  var width = useWindowSize()[0];
6367
- var _a = React.useState({ left: 0, width: 0 }), size = _a[0], setSize = _a[1];
6429
+ var _a = React.useState({ height: 0, width: 0, x: 0, y: 0, }), size = _a[0], setSize = _a[1];
6368
6430
  var measureRef = React.useCallback(function (node) {
6369
- setSize(node === null || node === void 0 ? void 0 : node.getBoundingClientRect());
6431
+ var rect = node === null || node === void 0 ? void 0 : node.getBoundingClientRect();
6432
+ setSize(function (s) { return (rect ? __assign(__assign({}, s), { height: rect.height, x: rect.x, y: rect.y, width: (rect.width > width ? width : rect.width) - rect.x }) : __assign(__assign({}, s), { height: 0, width: 0, x: 0, y: 0 })); });
6370
6433
  }, [width, props.text, props.value]);
6371
6434
  var text = (props.text || '') + '';
6372
6435
  return (React__default.createElement(React__default.Fragment, null,
@@ -6377,33 +6440,33 @@ var LabeledBar = function (props) {
6377
6440
  zIndex: 9,
6378
6441
  marginTop: -25,
6379
6442
  color: '#00d374',
6380
- width: size.width - 10,
6443
+ width: "calc(" + 100 * props.value / props.max + "% - (" + (size.x || 0) + "px + 30px))",
6381
6444
  } }, text),
6382
- React__default.createElement(ProgressBar$1, __assign({ ref: measureRef }, props))));
6445
+ React__default.createElement(ProgressBar$1, __assign({ ref: measureRef }, props, { left: size.x }))));
6383
6446
  };
6384
- var MultiProgress = function (props) {
6385
- var max = typeof props.max === 'number'
6386
- ? props.max
6387
- : !isNaN(props.max) ? parseInt(props.max) : 0;
6447
+ var MultiProgress = function (_a) {
6448
+ var labeled = _a.labeled, error = _a.error, title = _a.title, values = _a.values, maxVal = _a.max, props = __rest(_a, ["labeled", "error", "title", "values", "max"]);
6449
+ var max = typeof maxVal === 'number'
6450
+ ? maxVal
6451
+ : !isNaN(maxVal) ? parseInt(maxVal) : 0;
6388
6452
  return React__default.createElement(ProgressWrapper$1, __assign({}, props),
6389
- props.title ? React__default.createElement(StyledProgressTitle, null, props.title) : null,
6390
- props.values.map(function (v, i) {
6391
- var color = i % 2 === 0 ? 'rgba(1, 211, 116, 0.2)' : '#00d374';
6453
+ title ? React__default.createElement(StyledProgressTitle, null, title) : null,
6454
+ values.map(function (v, i) {
6455
+ var color = v.color || (i % 2 === 0 ? 'rgba(1, 211, 116, 0.2)' : '#00d374');
6392
6456
  var val = typeof v.value === 'number' ? v.value : !isNaN(v.value) ? parseInt(v.value) : 0;
6393
- return (props.labeled ? React__default.createElement(LabeledBar, { value: val < max ? val : max, max: max, error: props.error, color: color, text: v.text ? v.text(val) : val }) : React__default.createElement(ProgressBar$1, { value: val < max ? val : max, max: max, error: props.error, color: color }));
6457
+ return (labeled ? React__default.createElement(LabeledBar, { value: val < max ? val : max, max: max, error: error, color: color, text: v.text ? v.text(val) : val, key: "multiprogress-bar-" + val + "-" + i, textColor: v.textColor }) : React__default.createElement(ProgressBar$1, { value: val < max ? val : max, max: max, error: error, color: color, key: "multiprogress-bar-" + val + "-" + i }));
6394
6458
  }),
6395
- props.error ? React__default.createElement(Text, { color: "error", bold: true }, props.error) : null);
6459
+ error ? React__default.createElement(Text, { color: "error", bold: true }, error) : null);
6396
6460
  };
6397
6461
  var LabeledMultiProgress = function (props) {
6398
6462
  return React__default.createElement("div", null,
6463
+ React__default.createElement(MultiProgress, __assign({}, props, { labeled: true })),
6399
6464
  React__default.createElement("span", { style: {
6400
6465
  float: 'right',
6401
6466
  paddingRight: 8,
6402
6467
  } },
6403
6468
  "Target $",
6404
- React__default.createElement(Number$1, { commas: true, decimalPoints: 0, num: props.max })),
6405
- React__default.createElement("br", null),
6406
- React__default.createElement(MultiProgress, { values: props.values, max: props.max, error: props.error, title: props.title, labeled: true }));
6469
+ React__default.createElement(Number$1, { commas: true, decimalPoints: 0, num: props.max })));
6407
6470
  };
6408
6471
  var templateObject_1$D, templateObject_2$r, templateObject_3$k;
6409
6472
 
@@ -6498,16 +6561,28 @@ var TasksCalendarDayBody = function (_a) {
6498
6561
 
6499
6562
  var WeekNav = styled__default(Text)(templateObject_1$K || (templateObject_1$K = __makeTemplateObject(["\n display: inline-block;\n padding: .9rem .5rem;\n"], ["\n display: inline-block;\n padding: .9rem .5rem;\n"])));
6500
6563
  var TasksCalendarHeader = function (_a) {
6501
- var onPrevWeek = _a.onPrevWeek, onNextWeek = _a.onNextWeek, currentMonth = _a.currentMonth, tabs = _a.tabs, weekendsCheckbox = _a.weekendsCheckbox;
6564
+ var onPrevWeek = _a.onPrevWeek, onNextWeek = _a.onNextWeek, currentMonth = _a.currentMonth, currentWeek = _a.currentWeek, onResetDate = _a.onResetDate, selectedDate = _a.selectedDate, _b = _a.tabs, tabs = _b === void 0 ? [] : _b, weekendsCheckbox = _a.weekendsCheckbox, _c = _a.showAddTaskBtn, showAddTaskBtn = _c === void 0 ? true : _c, onClickAddTask = _a.onClickAddTask;
6565
+ var isCurrentWeek = currentWeek === getWeek(selectedDate);
6502
6566
  return (React__default.createElement(HeaderWrapper, { style: { padding: "0.5rem" } },
6503
- React__default.createElement(Col, { start: true, xs: true, md: 9, padded: true },
6567
+ React__default.createElement(Col, { start: true, xs: true, md: 7, padded: true },
6504
6568
  React__default.createElement(Tabs, { size: "small", tabs: tabs })),
6505
- React__default.createElement(Col, { end: true, xs: true, md: 3, style: { fontSize: '0.8em' } },
6569
+ React__default.createElement(Col, { end: true, xs: true, md: 5, style: { fontSize: '0.8em' } },
6570
+ showAddTaskBtn ? React__default.createElement(Button, { onClick: onClickAddTask, style: { marginRight: 10, verticalAlign: 'bottom', } }, "+ Add Task") : null,
6506
6571
  React__default.createElement(Dropdown, { icon: React__default.createElement(GearIcon, { width: "25", color: "#02C0DA" }) },
6507
6572
  React__default.createElement(Row, null, weekendsCheckbox)),
6508
6573
  React__default.createElement(WeekNav, { style: { cursor: 'pointer', color: colors.primary, }, onClick: onPrevWeek },
6509
6574
  React__default.createElement(NextPrevIcon, { color: "#02C0DA", width: ".8rem" })),
6510
- React__default.createElement(WeekNav, { style: { color: colors.disabledButton, verticalAlign: "middle" } }, currentMonth ? format(currentMonth, "MMM yyyy") : ''),
6575
+ React__default.createElement(WeekNav, { style: { color: colors.disabledButton, verticalAlign: "middle" } },
6576
+ currentMonth ? format(currentMonth, "MMM yyyy") : '',
6577
+ !isCurrentWeek ? React__default.createElement("span", { style: {
6578
+ display: 'block',
6579
+ textAlign: 'center',
6580
+ borderRadius: 5,
6581
+ background: '#02c0da',
6582
+ color: '#fff',
6583
+ padding: 4,
6584
+ cursor: 'pointer',
6585
+ }, onClick: function () { return onResetDate(); } }, "Today") : null),
6511
6586
  React__default.createElement(WeekNav, { style: { cursor: 'pointer', color: colors.primary, }, onClick: onNextWeek },
6512
6587
  React__default.createElement(NextPrevIcon, { color: "#02C0DA", width: ".8rem", next: true })))));
6513
6588
  };
@@ -6575,7 +6650,7 @@ function convertTasksToDays(_a) {
6575
6650
  }
6576
6651
  var TasksCalendar = function (_a) {
6577
6652
  var tasks = _a.tasks, _b = _a.headerTabs, headerTabs = _b === void 0 ? [] : _b, _c = _a.footerTasks, footerTasks = _c === void 0 ? [] : _c, _d = _a.components, props = __rest(_a, ["tasks", "headerTabs", "footerTasks", "components"]);
6578
- var _e = useCalendar({}), currentMonth = _e.currentMonth, currentWeek = _e.currentWeek, selectedDate = _e.selectedDate, onNextWeek = _e.onNextWeek, onPrevWeek = _e.onPrevWeek, onNextMonth = _e.onNextMonth, onPrevMonth = _e.onPrevMonth, onClickDay = _e.onClickDay;
6653
+ var _e = useCalendar({}), currentMonth = _e.currentMonth, currentWeek = _e.currentWeek, selectedDate = _e.selectedDate, onNextWeek = _e.onNextWeek, onPrevWeek = _e.onPrevWeek, onNextMonth = _e.onNextMonth, onPrevMonth = _e.onPrevMonth, onClickDay = _e.onClickDay, onReset = _e.onReset;
6579
6654
  var _f = React.useState(convertTasksToDays({ currentMonth: currentMonth, currentWeek: currentWeek, tasks: tasks, })), days = _f[0], setDays = _f[1];
6580
6655
  var headerProps = {
6581
6656
  onNextWeek: onNextWeek,
@@ -6587,7 +6662,7 @@ var TasksCalendar = function (_a) {
6587
6662
  selectedDate: selectedDate,
6588
6663
  };
6589
6664
  return (React__default.createElement(CalendarWrapper, null,
6590
- React__default.createElement(TasksCalendarHeader, __assign({}, headerProps, { tabs: headerTabs, weekendsCheckbox: React__default.createElement("div", null) })),
6665
+ React__default.createElement(TasksCalendarHeader, __assign({}, headerProps, { onResetDate: onReset, tabs: headerTabs, weekendsCheckbox: React__default.createElement("div", null) })),
6591
6666
  React__default.createElement(CalendarDaysHeader, { currentMonth: currentMonth, selectedDate: selectedDate, weekendsCheckbox: React__default.createElement("div", null), weekend: true }),
6592
6667
  React__default.createElement(CalendarDaysBody, { currentMonth: currentMonth, selectedDate: selectedDate, onClickDay: onClickDay, dayBodyProps: { tasks: tasks }, components: { DayBody: TasksCalendarDayBody, }, days: days }),
6593
6668
  React__default.createElement(TasksCalendarFooter, __assign({}, headerProps, { tasks: footerTasks }))));
@@ -6609,13 +6684,32 @@ var droppableChildWrapperProps = function (provided, snapshot, props) {
6609
6684
  };
6610
6685
 
6611
6686
  var DraggableCalendarFooterTasks = function (_a) {
6612
- var currentWeek = _a.currentWeek, _b = _a.tasks, tasks = _b === void 0 ? [] : _b;
6687
+ var onClickTask = _a.onClickTask, onUpdateTask = _a.onUpdateTask, _b = _a.tasks, tasks = _b === void 0 ? [] : _b;
6613
6688
  return (React__default.createElement(HeaderWrapper, null,
6614
6689
  React__default.createElement(Col, { start: true, xs: true }, "Overdue: "),
6615
6690
  React__default.createElement(Col, { xs: true },
6616
6691
  React__default.createElement(Row, null, tasks
6617
- .map(function (t, j) { return (React__default.createElement(reactBeautifulDnd.Draggable, { key: 'footer-task-' + j, draggableId: 'footer-task-' + j, index: j }, function (provided, snapshot) { return (React__default.createElement(Col, __assign({ xs: true, md: 3, padded: true }, draggableChildWrapperProps(provided, snapshot)),
6618
- React__default.createElement(CalendarTask, __assign({}, t, { date: undefined })))); })); })))));
6692
+ .map(function (t, j) { return (React__default.createElement(reactBeautifulDnd.Draggable, { key: 'footer-task-' + j, draggableId: 'footer-task-' + j, index: j }, function (provided, snapshot) { return (React__default.createElement(Col, __assign({ xs: true, md: 3, padded: true }, draggableChildWrapperProps(provided, snapshot), { onClick: function (e) { onClickTask && onClickTask(t); } }),
6693
+ React__default.createElement(CalendarTask, __assign({}, t, { date: undefined, onClickCheckbox: function (completed) {
6694
+ if (onUpdateTask) {
6695
+ onUpdateTask(__assign(__assign({}, t), { completed: completed }), {
6696
+ index: j,
6697
+ action: 'TOGGLE_CHECKBOX',
6698
+ oldTask: t,
6699
+ updatedFields: ['completed'],
6700
+ });
6701
+ }
6702
+ else if (t.onClickCheckbox) {
6703
+ t.onClickCheckbox(completed);
6704
+ }
6705
+ } })))); })); })))));
6706
+ };
6707
+
6708
+ var DroppableFooter = function (_a) {
6709
+ var tasks = _a.tasks, props = __rest(_a, ["tasks"]);
6710
+ return (React__default.createElement(reactBeautifulDnd.Droppable, { droppableId: 'footer-droppable', key: 'footer-droppable', isDropDisabled: true }, function (provided, snapshot) { return (React__default.createElement("div", __assign({}, droppableChildWrapperProps(provided, snapshot, { style: !tasks.length ? { minHeight: 0 } : { minHeight: 0 } })),
6711
+ provided.placeholder,
6712
+ React__default.createElement(DraggableCalendarFooterTasks, __assign({}, props, { tasks: tasks })))); }));
6619
6713
  };
6620
6714
 
6621
6715
  var DraggableTaskBody = function (_a) {
@@ -6635,7 +6729,8 @@ var DraggableTaskBody = function (_a) {
6635
6729
  task.onClickCheckbox(completed);
6636
6730
  }
6637
6731
  } }))))); }));
6638
- };
6732
+ };
6733
+
6639
6734
  var DroppableDays = function (_a) {
6640
6735
  var days = _a.days, selectedDate = _a.selectedDate, onUpdateTask = _a.onUpdateTask, onClickDay = _a.onClickDay, onClickTask = _a.onClickTask, weekend = _a.weekend, props = __rest(_a, ["days", "selectedDate", "onUpdateTask", "onClickDay", "onClickTask", "weekend"]);
6641
6736
  return (React__default.createElement(DaysBodyWrapper, __assign({ className: "days-body-wrapper" }, props),
@@ -6650,24 +6745,19 @@ var DroppableDays = function (_a) {
6650
6745
  onUpdateTask(newData, __assign(__assign({}, otherData), { day__id: __id__, task__id: t.__id__ }));
6651
6746
  } : undefined })); }))); }))) : ""));
6652
6747
  }))));
6653
- };
6654
- var DroppableFooter = function (_a) {
6655
- var tasks = _a.tasks, props = __rest(_a, ["tasks"]);
6656
- return (React__default.createElement(reactBeautifulDnd.Droppable, { droppableId: 'footer-droppable', key: 'footer-droppable', isDropDisabled: true }, function (provided, snapshot) { return (React__default.createElement("div", __assign({}, droppableChildWrapperProps(provided, snapshot, { style: !tasks.length ? { minHeight: 0 } : { minHeight: 0 } })),
6657
- provided.placeholder,
6658
- React__default.createElement(DraggableCalendarFooterTasks, __assign({}, props, { tasks: tasks })))); }));
6659
- };
6748
+ };
6749
+
6660
6750
  var DraggableTasksCalendar = function (_a) {
6661
- var _b = _a.tasks, tasks = _b === void 0 ? [] : _b, onUpdateTask = _a.onUpdateTask, onClickTask = _a.onClickTask, _c = _a.headerTabs, headerTabs = _c === void 0 ? [] : _c, _d = _a.footerTasks, footerTasks = _d === void 0 ? [] : _d, _e = _a.components, _f = _a.weekend, weekend = _f === void 0 ? false : _f, onChangeWeek = _a.onChangeWeek, onChangeMonth = _a.onChangeMonth, onToggleWeekend = _a.onToggleWeekend, props = __rest(_a, ["tasks", "onUpdateTask", "onClickTask", "headerTabs", "footerTasks", "components", "weekend", "onChangeWeek", "onChangeMonth", "onToggleWeekend"]);
6662
- var _g = useCalendar({ onChangeWeek: onChangeWeek, onChangeMonth: onChangeMonth }), currentMonth = _g.currentMonth, currentWeek = _g.currentWeek, selectedDate = _g.selectedDate, onNextWeek = _g.onNextWeek, onPrevWeek = _g.onPrevWeek, onNextMonth = _g.onNextMonth, onPrevMonth = _g.onPrevMonth, onClickDay = _g.onClickDay;
6663
- var _h = React.useState({
6751
+ var _b = _a.tasks, tasks = _b === void 0 ? [] : _b, onUpdateTask = _a.onUpdateTask, onClickTask = _a.onClickTask, _c = _a.headerTabs, headerTabs = _c === void 0 ? [] : _c, _d = _a.footerTasks, footerTasks = _d === void 0 ? [] : _d, _e = _a.components, _f = _a.weekend, weekend = _f === void 0 ? false : _f, onChangeWeek = _a.onChangeWeek, onChangeMonth = _a.onChangeMonth, onToggleWeekend = _a.onToggleWeekend, _g = _a.showAddTaskBtn, showAddTaskBtn = _g === void 0 ? true : _g, onClickAddTask = _a.onClickAddTask, _h = _a.loading, loading = _h === void 0 ? false : _h, props = __rest(_a, ["tasks", "onUpdateTask", "onClickTask", "headerTabs", "footerTasks", "components", "weekend", "onChangeWeek", "onChangeMonth", "onToggleWeekend", "showAddTaskBtn", "onClickAddTask", "loading"]);
6752
+ var _j = useCalendar({ onChangeWeek: onChangeWeek, onChangeMonth: onChangeMonth }), currentMonth = _j.currentMonth, currentWeek = _j.currentWeek, selectedDate = _j.selectedDate, onNextWeek = _j.onNextWeek, onPrevWeek = _j.onPrevWeek, onNextMonth = _j.onNextMonth, onPrevMonth = _j.onPrevMonth, onClickDay = _j.onClickDay, onReset = _j.onReset;
6753
+ var _k = React.useState({
6664
6754
  days: convertTasksToDays({ currentMonth: currentMonth, currentWeek: currentWeek, tasks: tasks, }).reduce(function (acc, v) {
6665
6755
  var _a;
6666
6756
  return (__assign(__assign({}, acc), (_a = {}, _a[v.__id__] = v, _a)));
6667
6757
  }, {}),
6668
6758
  footerTasks: footerTasks.filter(function (t) { return t.date ? getWeek(t.date) < currentWeek : false; }),
6669
- }), state = _h[0], setState = _h[1];
6670
- var _j = React.useState(weekend), showWeekend = _j[0], setShowWeekend = _j[1];
6759
+ }), state = _k[0], setState = _k[1];
6760
+ var _l = React.useState(weekend), showWeekend = _l[0], setShowWeekend = _l[1];
6671
6761
  React.useEffect(function () {
6672
6762
  setShowWeekend(weekend);
6673
6763
  }, [weekend]);
@@ -6689,6 +6779,8 @@ var DraggableTasksCalendar = function (_a) {
6689
6779
  currentMonth: currentMonth,
6690
6780
  currentWeek: currentWeek,
6691
6781
  selectedDate: selectedDate,
6782
+ showAddTaskBtn: showAddTaskBtn,
6783
+ onClickAddTask: onClickAddTask,
6692
6784
  };
6693
6785
  var onDragEnd = function (result) {
6694
6786
  if (!result.destination)
@@ -6766,10 +6858,11 @@ var DraggableTasksCalendar = function (_a) {
6766
6858
  }); } });
6767
6859
  return (React__default.createElement(reactBeautifulDnd.DragDropContext, { onDragEnd: function (result) { return onDragEnd(result); } },
6768
6860
  React__default.createElement(CalendarWrapper, null,
6769
- React__default.createElement(TasksCalendarHeader, __assign({}, headerProps, { tabs: headerTabs, weekendsCheckbox: weekendsCheckbox })),
6861
+ React__default.createElement(TasksCalendarHeader, __assign({}, headerProps, { onResetDate: onReset, tabs: headerTabs, weekendsCheckbox: weekendsCheckbox })),
6770
6862
  React__default.createElement("div", { className: "calendar-scroll" },
6771
6863
  React__default.createElement(CalendarDaysHeader, { currentMonth: currentMonth, selectedDate: selectedDate, weekendsCheckbox: weekendsCheckbox, weekend: showWeekend }),
6772
- React__default.createElement(DroppableDays, { days: state.days, selectedDate: selectedDate, onClickDay: onClickDay, onClickTask: onClickTask, weekend: showWeekend, onUpdateTask: function (newData, _a) {
6864
+ loading ? React__default.createElement("div", { style: { height: 400, paddingTop: 30, } },
6865
+ React__default.createElement(Loading, null)) : React__default.createElement(DroppableDays, { days: state.days, selectedDate: selectedDate, onClickDay: onClickDay, onClickTask: onClickTask, weekend: showWeekend, onUpdateTask: function (newData, _a) {
6773
6866
  var day__id = _a.day__id, task__id = _a.task__id, otherData = __rest(_a, ["day__id", "task__id"]);
6774
6867
  if (!day__id) {
6775
6868
  return;
@@ -6785,9 +6878,79 @@ var DraggableTasksCalendar = function (_a) {
6785
6878
  });
6786
6879
  })();
6787
6880
  } })),
6788
- React__default.createElement(DroppableFooter, __assign({ tasks: state.footerTasks }, headerProps)))));
6881
+ React__default.createElement(DroppableFooter, __assign({ tasks: state.footerTasks, onClickTask: onClickTask, onUpdateTask: function (newData, _a) {
6882
+ var day__id = _a.day__id, task__id = _a.task__id, otherData = __rest(_a, ["day__id", "task__id"]);
6883
+ ___default.flowRight(function () {
6884
+ onUpdateTask(newData, otherData);
6885
+ }, function () {
6886
+ if (!day__id) {
6887
+ return;
6888
+ }
6889
+ setState(function (s) {
6890
+ var _a;
6891
+ return __assign(__assign({}, s), { days: __assign(__assign({}, s.days), (_a = {}, _a[day__id] = __assign(__assign({}, s.days[day__id]), { tasks: __spreadArrays(s.days[day__id].tasks.slice(0, otherData.index), [
6892
+ __assign(__assign({}, s.days[day__id].tasks[otherData.index]), newData)
6893
+ ], s.days[day__id].tasks.slice(otherData.index + 1)) }), _a)) });
6894
+ });
6895
+ })();
6896
+ } }, headerProps)))));
6789
6897
  };
6790
6898
 
6899
+ var scrollbarWidth = function () {
6900
+ // thanks to https://davidwalsh.name/detect-scrollbar-width
6901
+ var scrollDiv = document.createElement('div');
6902
+ scrollDiv.setAttribute('style', 'width: 100px; height: 100px; overflow: scroll; position:absolute; top:-9999px;');
6903
+ document.body.appendChild(scrollDiv);
6904
+ var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth;
6905
+ document.body.removeChild(scrollDiv);
6906
+ return scrollbarWidth;
6907
+ };
6908
+
6909
+ var SimpleWindowedTableStyles = styled__default.div(templateObject_1$L || (templateObject_1$L = __makeTemplateObject(["\npadding: 1rem;\n\n.project-table-list-rows {\n width: 100% !important;\n\n ", "\n}\n\n.table {\n display: inline-block;\n border-spacing: 0;\n width: 100%;\n min-width: 100% !important;\n\n .header.tr {\n width: 100% !important;\n min-width: 100% !important;\n overflow-x: hidden;\n }\n\n .tr {\n :last-child {\n .td {\n border-bottom: 0;\n }\n }\n }\n\n .th {\n border-bottom: 2px solid ", ";\n\n div {\n display: inline-block;\n }\n }\n\n .td {\n border-bottom: 1px solid ", ";\n }\n\n .th,\n .td {\n margin: 0;\n padding: 0.5rem;\n }\n}\n"], ["\npadding: 1rem;\n\n.project-table-list-rows {\n width: 100% !important;\n\n ",
6910
+ "\n}\n\n.table {\n display: inline-block;\n border-spacing: 0;\n width: 100%;\n min-width: 100% !important;\n\n .header.tr {\n width: 100% !important;\n min-width: 100% !important;\n overflow-x: hidden;\n }\n\n .tr {\n :last-child {\n .td {\n border-bottom: 0;\n }\n }\n }\n\n .th {\n border-bottom: 2px solid ", ";\n\n div {\n display: inline-block;\n }\n }\n\n .td {\n border-bottom: 1px solid ", ";\n }\n\n .th,\n .td {\n margin: 0;\n padding: 0.5rem;\n }\n}\n"])), function (p) { return p.rowClickable ? "\n .tr {\n cursor: pointer;\n }\n " : ''; }, colors.disabledButtonBorder, colors.disabledButtonBorder);
6911
+ function SimpleWindowedTable(_a) {
6912
+ var columns = _a.columns, data = _a.data, _b = _a.itemSize, itemSize = _b === void 0 ? 80 : _b, _c = _a.height, height = _c === void 0 ? 500 : _c, _d = _a.minWidth, minWidth = _d === void 0 ? 140 : _d, _e = _a.maxWidth, maxWidth = _e === void 0 ? 500 : _e, defaultSort = _a.defaultSort, onClickRow = _a.onClickRow, onScroll = _a.onScroll, onUpdateData = _a.onUpdateData, _f = _a.useTableProps, useTableProps = _f === void 0 ? {} : _f;
6913
+ var defaultColumn = React__default.useMemo(function () { return ({
6914
+ minWidth: minWidth,
6915
+ maxWidth: maxWidth,
6916
+ }); }, [minWidth, maxWidth]);
6917
+ var scrollBarSize = React__default.useMemo(function () { return scrollbarWidth(); }, []);
6918
+ var _g = reactTable.useTable(__assign({ columns: columns,
6919
+ data: data,
6920
+ defaultColumn: defaultColumn, initialState: __assign({}, (defaultSort ? { sortBy: [defaultSort] } : {})), onUpdateData: onUpdateData }, useTableProps), reactTable.useSortBy, reactTable.useFlexLayout), getTableProps = _g.getTableProps, getTableBodyProps = _g.getTableBodyProps, headerGroups = _g.headerGroups, rows = _g.rows, totalColumnsWidth = _g.totalColumnsWidth, prepareRow = _g.prepareRow;
6921
+ var headerRef = React.useRef(null);
6922
+ var rowsRef = React.useRef();
6923
+ var onListScroll = function (e) {
6924
+ if (headerRef.current && e && e.target) {
6925
+ var target = e.target;
6926
+ headerRef.current.scrollLeft = target.scrollLeft;
6927
+ }
6928
+ };
6929
+ React.useLayoutEffect(function () {
6930
+ rowsRef.current && rowsRef.current.addEventListener('scroll', onListScroll);
6931
+ return function () {
6932
+ rowsRef.current && rowsRef.current.removeEventListener('scroll', onListScroll);
6933
+ };
6934
+ }, [rowsRef]);
6935
+ var RenderRow = React__default.useCallback(function (_a) {
6936
+ var index = _a.index, style = _a.style;
6937
+ var row = rows[index];
6938
+ prepareRow(row);
6939
+ return (React__default.createElement("div", __assign({}, row.getRowProps({
6940
+ style: style
6941
+ }), { className: "tr" }), row.cells.map(function (cell) {
6942
+ return (React__default.createElement("div", __assign({ onClick: function () { return onClickRow ? onClickRow(cell.row.original) : null; } }, cell.getCellProps(), { className: "td" }), cell.render("Cell")));
6943
+ })));
6944
+ }, [prepareRow, rows, onClickRow]);
6945
+ return (React__default.createElement("div", __assign({}, getTableProps(), { className: "table" }),
6946
+ React__default.createElement("div", { className: "header-wrapper" }, headerGroups.map(function (headerGroup) { return (React__default.createElement("div", __assign({}, headerGroup.getHeaderGroupProps(), { className: "header tr", ref: headerRef }), headerGroup.headers.map(function (column) { return (React__default.createElement("div", __assign({}, column.getHeaderProps(column.getSortByToggleProps()), { className: "th" }),
6947
+ column.render("Header"),
6948
+ React__default.createElement("span", { style: { display: 'inline-block', paddingLeft: 5, verticalAlign: 'text-top' } }, column.isSorted ? (column.isSortedDesc ? React__default.createElement(DownArrowIcon, { width: "15px" }) : React__default.createElement(UpArrowIcon, { width: "15px" })) : React__default.createElement(UpDownArrowsIcon, { width: "15px" })))); }))); })),
6949
+ React__default.createElement("div", __assign({}, getTableBodyProps()),
6950
+ React__default.createElement(reactWindow.FixedSizeList, { height: height, itemCount: rows.length, itemSize: itemSize, width: totalColumnsWidth + scrollBarSize, className: "project-table-list-rows", outerRef: rowsRef, onScroll: onScroll }, RenderRow))));
6951
+ }
6952
+ var templateObject_1$L;
6953
+
6791
6954
  Object.defineProperty(exports, 'components', {
6792
6955
  enumerable: true,
6793
6956
  get: function () {
@@ -6832,6 +6995,7 @@ exports.CalendarWrapper = CalendarWrapper;
6832
6995
  exports.ChangeRequestedIcon = ChangeRequestedIcon;
6833
6996
  exports.ChatIcon = ChatIcon;
6834
6997
  exports.CheckMark = CheckMark;
6998
+ exports.CircleProgressIcon = CircleProgressIcon;
6835
6999
  exports.ClientApprovedIcon = ClientApprovedIcon;
6836
7000
  exports.Col = Col;
6837
7001
  exports.CollapseStyled = CollapseStyled;
@@ -6896,6 +7060,7 @@ exports.NavConnectIcon = NavConnectIcon;
6896
7060
  exports.NavFinanceIcon = NavFinanceIcon;
6897
7061
  exports.NavManagementIcon = NavManagementIcon;
6898
7062
  exports.NavProdIcon = NavProdIcon;
7063
+ exports.NavResourcesIcon = NavResourcesIcon;
6899
7064
  exports.NavSalesIcon = NavSalesIcon;
6900
7065
  exports.NextPrevIcon = NextPrevIcon;
6901
7066
  exports.NoMarketingIcon = NoMarketingIcon;
@@ -6925,6 +7090,8 @@ exports.Select = SKUSelect;
6925
7090
  exports.SharedStyles = SharedStyles;
6926
7091
  exports.ShowPopup = ShowPopup;
6927
7092
  exports.SidePanel = SidePanel;
7093
+ exports.SimpleWindowedTable = SimpleWindowedTable;
7094
+ exports.SimpleWindowedTableStyles = SimpleWindowedTableStyles;
6928
7095
  exports.SizerCss = SizerCss;
6929
7096
  exports.SizerWrapper = SizerWrapper;
6930
7097
  exports.Sparkles = Sparkles;
@@ -6967,6 +7134,7 @@ exports.ToggleLink = ToggleLink;
6967
7134
  exports.TrashIcon = TrashIcon;
6968
7135
  exports.UpArrowIcon = UpArrowIcon;
6969
7136
  exports.UpDownArrowsIcon = UpDownArrowsIcon;
7137
+ exports.WarningIcon = WarningIcon;
6970
7138
  exports.Wrapper = Wrapper;
6971
7139
  exports.YesMarketingIcon = YesMarketingIcon;
6972
7140
  exports.colors = colors;