sag_components 2.0.0-beta109 → 2.0.0-beta110

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/index.js CHANGED
@@ -41434,8 +41434,8 @@ const SubtitleContainer = styled__default["default"].div`
41434
41434
  align-items: flex-start;
41435
41435
  gap: 8px;
41436
41436
  `;
41437
- const Subtitle$1 = styled__default["default"].div`
41438
- color: #8b8989;
41437
+ const Subtitle$1 = styled__default["default"].span`
41438
+ color: ${props => props.color};
41439
41439
  font-size: 14px;
41440
41440
  font-weight: 400;
41441
41441
  `;
@@ -50863,6 +50863,7 @@ const ItemManagerPanel = _ref => {
50863
50863
  onSendForms = () => {},
50864
50864
  editMode = true,
50865
50865
  disabledSendForms = false,
50866
+ AllFormsSent = false,
50866
50867
  itemAndPackage = [],
50867
50868
  setItemAndPackage,
50868
50869
  linkColor = "#212121",
@@ -50991,7 +50992,9 @@ const ItemManagerPanel = _ref => {
50991
50992
  text: "Send Forms",
50992
50993
  type: "secondary",
50993
50994
  borderRadius: "8px"
50994
- }), /*#__PURE__*/React__default["default"].createElement(Subtitle$1, null, itemAndPackage.filter(item => item.packages !== null).length.toString(), " ", "Vendors", " "))), /*#__PURE__*/React__default["default"].createElement(AddButtonContainer$1, null, /*#__PURE__*/React__default["default"].createElement(LinkButton, {
50995
+ }), /*#__PURE__*/React__default["default"].createElement(Subtitle$1, {
50996
+ color: AllFormsSent ? "#90CE9C" : "#8b8989"
50997
+ }, AllFormsSent ? '✔ All Forms Sent' : `${itemAndPackage.filter(item => item.packages !== null).length.toString()} Vendors `))), /*#__PURE__*/React__default["default"].createElement(AddButtonContainer$1, null, /*#__PURE__*/React__default["default"].createElement(LinkButton, {
50995
50998
  leftIcon: "Plus",
50996
50999
  onClick: () => setScreen("list"),
50997
51000
  rightIcon: "none",