sag_components 2.0.0-beta112 → 2.0.0-beta113

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.d.ts CHANGED
@@ -1433,7 +1433,7 @@ declare function RangePop(props: any): react_jsx_runtime.JSX.Element;
1433
1433
 
1434
1434
  declare function SearchInput(props: any): react_jsx_runtime.JSX.Element;
1435
1435
 
1436
- declare function ItemManagerPanel({ width, height, onSendForms, editMode, disabledSendForms, AllFormsSent, itemAndPackage, setItemAndPackage, linkColor, backgroundColor, onDelete, }: {
1436
+ declare function ItemManagerPanel({ width, height, onSendForms, editMode, disabledSendForms, AllFormsSent, itemAndPackage, setItemAndPackage, linkColor, backgroundColor, buttonTooltipText, }: {
1437
1437
  width?: string;
1438
1438
  height?: string;
1439
1439
  onSendForms?: () => void;
@@ -1444,7 +1444,7 @@ declare function ItemManagerPanel({ width, height, onSendForms, editMode, disabl
1444
1444
  setItemAndPackage: any;
1445
1445
  linkColor?: string;
1446
1446
  backgroundColor?: string;
1447
- onDelete?: () => void;
1447
+ buttonTooltipText?: string;
1448
1448
  }): react_jsx_runtime.JSX.Element;
1449
1449
 
1450
1450
  /**
package/dist/index.esm.js CHANGED
@@ -2216,7 +2216,11 @@ const Tooltip$2 = props => {
2216
2216
  }, children, active && !hideTooltip && /*#__PURE__*/React$1.createElement(TooltipTip$1, {
2217
2217
  className: `controls ${direction || 'top'}`,
2218
2218
  topFactor: topFactor
2219
- }, content)));
2219
+ }, typeof content === 'string' ? /*#__PURE__*/React$1.createElement("span", {
2220
+ dangerouslySetInnerHTML: {
2221
+ __html: content
2222
+ }
2223
+ }) : content)));
2220
2224
  };
2221
2225
 
2222
2226
  /* Benchmark */
@@ -3058,7 +3062,7 @@ const LinkButton = _ref => {
3058
3062
  height = '',
3059
3063
  width = '',
3060
3064
  disabled = false,
3061
- textColor = '',
3065
+ textColor = '#229E38',
3062
3066
  onClick,
3063
3067
  leftIcon = 'none',
3064
3068
  rightIcon = 'none'
@@ -3088,7 +3092,7 @@ const LinkButton = _ref => {
3088
3092
  const getIcon = icon => {
3089
3093
  const iconHeight = size === 'small' ? '12px' : '13px';
3090
3094
  const iconWidth = size === 'small' ? '12px' : '13px';
3091
- const newTextColor = textColor || (type === 'secondary' ? '#212121' : '#229E38');
3095
+ const newTextColor = type === 'secondary' ? '#212121' : textColor;
3092
3096
  const color = disabled ? '#B1B1B1' : newTextColor;
3093
3097
  switch (icon.toLowerCase()) {
3094
3098
  case 'filter':
@@ -26095,7 +26099,7 @@ const TotalDoughnutChart = props => {
26095
26099
  key: `cell-${row.name}`,
26096
26100
  fill: row.color
26097
26101
  }))), /*#__PURE__*/React$1.createElement(Tooltip$3, {
26098
- content: /*#__PURE__*/React$1.createElement(CustomTooltip, {
26102
+ content: /*#__PURE__*/React$1.createElement(CustomTooltip$1, {
26099
26103
  value: value,
26100
26104
  isPercent: isPercent
26101
26105
  })
@@ -26164,7 +26168,7 @@ TotalDoughnutChart.defaultProps = {
26164
26168
  noDataText: 'No Data',
26165
26169
  textAfterValue: ''
26166
26170
  };
26167
- function CustomTooltip(_ref) {
26171
+ function CustomTooltip$1(_ref) {
26168
26172
  let {
26169
26173
  active,
26170
26174
  payload,
@@ -26177,7 +26181,7 @@ function CustomTooltip(_ref) {
26177
26181
  return /*#__PURE__*/React$1.createElement(TooltipDiv$6, null, /*#__PURE__*/React$1.createElement(TooltipLabel$6, null, `${payload[0].name} ${percent}%`));
26178
26182
  }
26179
26183
  }
26180
- CustomTooltip.propTypes = {
26184
+ CustomTooltip$1.propTypes = {
26181
26185
  // eslint-disable-next-line react/forbid-prop-types
26182
26186
  active: PropTypes.any,
26183
26187
  // eslint-disable-next-line react/forbid-prop-types
@@ -26187,7 +26191,7 @@ CustomTooltip.propTypes = {
26187
26191
  // eslint-disable-next-line react/forbid-prop-types
26188
26192
  isPercent: PropTypes.any
26189
26193
  };
26190
- CustomTooltip.defaultProps = {
26194
+ CustomTooltip$1.defaultProps = {
26191
26195
  active: '',
26192
26196
  payload: '',
26193
26197
  value: '',
@@ -41395,7 +41399,7 @@ const Card = styled.div`
41395
41399
  border-radius: 8px;
41396
41400
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
41397
41401
  text-align: center;
41398
- overflow: hidden;
41402
+ /* overflow: hidden; */ // If hidden the tooltip will not be visible
41399
41403
  width: ${props => props.width || "auto"};
41400
41404
  height: ${props => props.height || "auto"};
41401
41405
  margin: 0 auto;
@@ -41414,8 +41418,9 @@ const SectionTitle$1 = styled.div`
41414
41418
  `;
41415
41419
  const SubtitleContainer = styled.div`
41416
41420
  display: flex;
41417
- align-items: flex-start;
41418
- gap: 8px;
41421
+ align-items: center;
41422
+ gap: 6px;
41423
+ color: #8B8989;
41419
41424
  `;
41420
41425
  const Subtitle$1 = styled.span`
41421
41426
  color: ${props => props.color};
@@ -41514,10 +41519,6 @@ const LineContainer = styled.div`
41514
41519
  width: 100%;
41515
41520
  `;
41516
41521
  const ButtonContainer$1 = styled.div`
41517
- display: flex;
41518
- justify-content: flex-end;
41519
- flex-direction: column;
41520
- gap: 5px;
41521
41522
  margin-top: 16px;
41522
41523
  .ButtonContainer {
41523
41524
  label {
@@ -41525,6 +41526,16 @@ const ButtonContainer$1 = styled.div`
41525
41526
  }
41526
41527
  }
41527
41528
  `;
41529
+ const CustomTooltip = styled(Tooltip$2)`
41530
+ .controls {
41531
+ padding: 12px 16px;
41532
+ font-size: 14px;
41533
+ left: 0;
41534
+ &::before {
41535
+ left: 90%;
41536
+ }
41537
+ }
41538
+ `;
41528
41539
  const Container$1 = styled.div`
41529
41540
  display: flex;
41530
41541
  align-items: center;
@@ -42076,7 +42087,7 @@ styled.div`
42076
42087
  margin-top: 24px;
42077
42088
  margin-left: 8px;
42078
42089
  `;
42079
- const Divider$1 = styled.div`
42090
+ const Divider = styled.div`
42080
42091
  height: 1px;
42081
42092
  background-color: #e2e2e2;
42082
42093
  margin: 16px 0;
@@ -42149,7 +42160,7 @@ const NewSubitem = ({
42149
42160
  type: "primary",
42150
42161
  backgroundColor: linkColor,
42151
42162
  hoverTextColor: "#212121"
42152
- })), /*#__PURE__*/React$1.createElement(Divider$1, null), /*#__PURE__*/React$1.createElement("form", null, /*#__PURE__*/React$1.createElement(NegotiatedContainer, null, /*#__PURE__*/React$1.createElement(AddNegotiatedBrand, null, "Add Negotiated Brand/s ", /*#__PURE__*/React$1.createElement("span", {
42163
+ })), /*#__PURE__*/React$1.createElement(Divider, null), /*#__PURE__*/React$1.createElement("form", null, /*#__PURE__*/React$1.createElement(NegotiatedContainer, null, /*#__PURE__*/React$1.createElement(AddNegotiatedBrand, null, "Add Negotiated Brand/s ", /*#__PURE__*/React$1.createElement("span", {
42153
42164
  style: {
42154
42165
  color: "red"
42155
42166
  }
@@ -42183,47 +42194,34 @@ const NewSubitem = ({
42183
42194
  };
42184
42195
 
42185
42196
  const Overlay$1 = styled.div`
42186
- display: flex;
42187
- flex-direction: column;
42197
+ font-family: Poppins;
42188
42198
  background: #f7f8fa;
42189
42199
  width: ${props => props.width || "100%"};
42190
42200
  height: ${props => props.height || "100%"};
42191
42201
  overflow: hidden;
42202
+ text-align: left;
42192
42203
  `;
42193
- const Dialog = styled.div`
42194
- background: #fff;
42195
- border-radius: 12px;
42196
- height: 100%;
42197
- padding: 32px 24px;
42204
+ const HeaderContainer = styled.div`
42205
+ color: #212121;
42206
+ padding: 40px 16px;
42207
+ border-bottom: 1px solid #e2e2e2;
42198
42208
  `;
42199
- const Title$1 = styled.h2`
42200
- color: var(--Text-Primary, #212121);
42201
- font-feature-settings: "liga" off;
42202
- /* Headings/H3 Medium */
42203
- font-family: Poppins;
42209
+ const Title$1 = styled.h5`
42204
42210
  font-size: 32px;
42205
- font-style: normal;
42206
42211
  font-weight: 700;
42207
- line-height: normal;
42212
+ margin: 0 0 20px;
42208
42213
  `;
42209
42214
  const Subtitle = styled.p`
42210
- color: var(--Text-Primary, #212121);
42211
- font-feature-settings: "liga" off;
42212
- /* Headings/H6 Regular */
42213
- font-family: Poppins;
42214
42215
  font-size: 18px;
42215
- font-style: normal;
42216
42216
  font-weight: 400;
42217
- line-height: normal;
42217
+ margin: 0 0 20px;
42218
42218
  `;
42219
- const VendorSection = styled.div`
42220
- margin-bottom: 20px;
42219
+ const Dialog = styled.div`
42220
+ background: #fff;
42221
42221
  `;
42222
- const Divider = styled.div`
42223
- height: 1px;
42224
- background-color: #e2e2e2;
42225
- margin: 16px 0;
42226
- width: 100%;
42222
+ const VendorSection = styled.div`
42223
+ padding: 16px;
42224
+ border-bottom: 1px solid #e2e2e2;
42227
42225
  `;
42228
42226
  const Item = styled.li`
42229
42227
  color: black; /* text color */
@@ -42244,12 +42242,8 @@ const VendorName = styled.span`
42244
42242
  margin-right: 10px;
42245
42243
  overflow: hidden;
42246
42244
  color: #000;
42247
-
42248
- font-family: Poppins;
42249
42245
  font-size: 16px;
42250
- font-style: normal;
42251
42246
  font-weight: 500;
42252
- line-height: normal;
42253
42247
  `;
42254
42248
  const NewBadge = styled.span`
42255
42249
  background: #ffe2b6;
@@ -42257,40 +42251,23 @@ const NewBadge = styled.span`
42257
42251
  border-radius: 16px;
42258
42252
  padding: 2px 10px;
42259
42253
  margin-left: 4px;
42260
- color: #000;
42261
- font-feature-settings: "liga" off;
42262
- font-family: Poppins;
42263
42254
  font-size: 14px;
42264
- font-style: normal;
42265
42255
  font-weight: 500;
42266
- line-height: normal;
42267
42256
  `;
42268
42257
  const PackageList = styled.ul`
42269
42258
  margin: 0 0 0 16px;
42270
42259
  padding: 0;
42271
42260
  gap: 30px;
42272
42261
  list-style: disc;
42273
- color: #888;
42274
- color: var(--General-Black, #212121);
42275
- font-feature-settings: "liga" off;
42276
- font-family: Poppins;
42277
42262
  font-size: 14px;
42278
- font-style: normal;
42279
42263
  font-weight: 400;
42280
- line-height: normal;
42281
42264
  `;
42282
42265
  const ButtonRow = styled.div`
42283
42266
  display: flex;
42284
- justify-content: flex-start;
42285
42267
  gap: 12px;
42286
- flex-direction: row;
42268
+ justify-content: flex-start;
42287
42269
  align-items: center;
42288
42270
  `;
42289
- const HeaderContainer = styled.div`
42290
- display: flex;
42291
- flex-direction: column;
42292
- padding: 16px;
42293
- `;
42294
42271
 
42295
42272
  const ConfirmationDialog = ({
42296
42273
  width,
@@ -42301,39 +42278,43 @@ const ConfirmationDialog = ({
42301
42278
  linkColor
42302
42279
  }) => {
42303
42280
  const totalNew = vendors.reduce((sum, v) => sum + (v.newPackages?.length || 0), 0);
42281
+ const confirmationText = `You are about to send the following
42282
+ ${totalNew} new ${totalNew === 1 ? 'package' : 'packages'} to
42283
+ ${vendors.length} ${vendors.length === 1 ? 'vendor' : 'vendors'}:`;
42304
42284
  return /*#__PURE__*/React$1.createElement(Overlay$1, {
42305
42285
  width: width,
42306
42286
  height: height
42307
- }, /*#__PURE__*/React$1.createElement(HeaderContainer, null, /*#__PURE__*/React$1.createElement(Title$1, null, "Confirmation"), /*#__PURE__*/React$1.createElement(Subtitle, null, "You are about to send the following ", totalNew, " new packages to these ", vendors.length, " vendors:"), /*#__PURE__*/React$1.createElement(ButtonRow, null, /*#__PURE__*/React$1.createElement(Button$1, {
42287
+ }, /*#__PURE__*/React$1.createElement(HeaderContainer, null, /*#__PURE__*/React$1.createElement(Title$1, null, "Confirmation"), /*#__PURE__*/React$1.createElement(Subtitle, null, confirmationText), /*#__PURE__*/React$1.createElement(ButtonRow, null, /*#__PURE__*/React$1.createElement(Button$1, {
42308
42288
  leftIcon: "none",
42309
42289
  onClick: onCancel,
42310
42290
  rightIcon: "none",
42311
- size: "small",
42291
+ size: "",
42312
42292
  text: "Cancel",
42313
42293
  type: "secondary"
42314
42294
  }), /*#__PURE__*/React$1.createElement(Button$1, {
42315
42295
  leftIcon: "none",
42316
42296
  onClick: onConfirm,
42317
42297
  rightIcon: "none",
42318
- size: "small",
42298
+ size: "",
42319
42299
  text: "Confirm & Send",
42320
42300
  type: "primary",
42301
+ borderColor: linkColor,
42321
42302
  backgroundColor: linkColor,
42322
42303
  hoverTextColor: "#212121"
42323
42304
  }))), /*#__PURE__*/React$1.createElement(Dialog, null, vendors.map((vendor, idx) => /*#__PURE__*/React$1.createElement(VendorSection, {
42324
42305
  key: vendor.name
42325
42306
  }, /*#__PURE__*/React$1.createElement(VendorHeader, null, /*#__PURE__*/React$1.createElement(VendorName, null, vendor.name), /*#__PURE__*/React$1.createElement(NewBadge, null, vendor.newPackages.length, " New")), /*#__PURE__*/React$1.createElement(PackageList, null, vendor.newPackages.map((pkg, i) => /*#__PURE__*/React$1.createElement(Item, {
42326
42307
  key: i
42327
- }, pkg))), /*#__PURE__*/React$1.createElement(Divider, null)))));
42308
+ }, pkg)))))));
42328
42309
  };
42329
42310
 
42330
42311
  const SuccessScreenContainer = styled.div`
42331
- display: flex;
42332
- flex-direction: column;
42312
+ font-family: Poppins;
42333
42313
  background:rgb(255, 255, 255);
42334
42314
  width: ${props => props.width || "100%"};
42335
42315
  height: ${props => props.height || "100%"};
42336
42316
  overflow: hidden;
42317
+ text-align: left;
42337
42318
  `;
42338
42319
  const SuccessHeader = styled.div`
42339
42320
  display: flex;
@@ -42341,29 +42322,19 @@ const SuccessHeader = styled.div`
42341
42322
  align-items: center;
42342
42323
  justify-content: center;
42343
42324
  `;
42344
- const SuccessTitle = styled.h2`
42345
- color: var(--Text-Primary, #212121);
42346
- text-align: center;
42347
- font-feature-settings: 'liga' off;
42348
-
42349
- /* Headings/H3 Medium */
42350
- font-family: Poppins;
42351
- font-size: 32px;
42352
- font-style: normal;
42353
- font-weight: 700;
42354
- line-height: normal;
42325
+ const SuccessTitle = styled.h5`
42326
+ color: #212121;
42327
+ text-align: center;
42328
+ font-size: 32px;
42329
+ font-weight: 700;
42330
+ margin: 0 0 20px;
42355
42331
  `;
42356
42332
  const SuccessSubtitle = styled.p`
42357
42333
  margin-bottom: 24px;
42358
42334
  text-align: center;
42359
- color: var(--Text-Primary, #212121);
42360
- font-feature-settings: 'liga' off;
42361
- /* Content/P1 Regular */
42362
- font-family: Poppins;
42335
+ color: #212121;
42363
42336
  font-size: 16px;
42364
- font-style: normal;
42365
42337
  font-weight: 400;
42366
- line-height: normal;
42367
42338
  `;
42368
42339
  styled.div`
42369
42340
  display: flex;
@@ -50837,8 +50808,6 @@ const SuccessScreen = ({
50837
50808
  }, vendor, /*#__PURE__*/React$1.createElement("br", null)))))));
50838
50809
  };
50839
50810
 
50840
- // Removed TypeScript interface and type annotations
50841
-
50842
50811
  const ItemManagerPanel = _ref => {
50843
50812
  let {
50844
50813
  width = "100%",
@@ -50851,7 +50820,7 @@ const ItemManagerPanel = _ref => {
50851
50820
  setItemAndPackage,
50852
50821
  linkColor = "#212121",
50853
50822
  backgroundColor = 'white',
50854
- onDelete = () => {}
50823
+ buttonTooltipText = "Please fill out all forms before sending."
50855
50824
  } = _ref;
50856
50825
  const [screen, setScreen] = useState("initial");
50857
50826
  const [selectedVendor, setSelectedVendor] = useState(null);
@@ -50884,9 +50853,6 @@ const ItemManagerPanel = _ref => {
50884
50853
  });
50885
50854
  setScreen("subitem");
50886
50855
  };
50887
- const handleBackToDefault = () => {
50888
- setScreen("");
50889
- };
50890
50856
  const onDeleteVendor = vendor => {
50891
50857
  const updatedItemAndPackage = itemAndPackage.filter(item => item.name !== vendor.name);
50892
50858
  setItemAndPackage([...updatedItemAndPackage, {
@@ -50894,6 +50860,21 @@ const ItemManagerPanel = _ref => {
50894
50860
  packages: null
50895
50861
  }]);
50896
50862
  };
50863
+ const hasUnisentPackages = useMemo(() => {
50864
+ return itemAndPackage.some(vendor => {
50865
+ if (vendor.packages === null || !Array.isArray(vendor.packages)) {
50866
+ return false;
50867
+ }
50868
+ return vendor.packages.some(pkg => !pkg.hasOwnProperty('status') || pkg.status == null || pkg.status === undefined || pkg.status === '');
50869
+ });
50870
+ }, [itemAndPackage]);
50871
+ const actuallyAllFormsSent = AllFormsSent && !hasUnisentPackages;
50872
+ useEffect(() => {
50873
+ if (screen === "success" && onSendForms) {
50874
+ onSendForms();
50875
+ }
50876
+ }, [screen]); // Only run when screen changes
50877
+
50897
50878
  if (screen === "subitem") {
50898
50879
  return /*#__PURE__*/React$1.createElement(Card, {
50899
50880
  width: width,
@@ -50914,8 +50895,9 @@ const ItemManagerPanel = _ref => {
50914
50895
  return /*#__PURE__*/React$1.createElement(ConfirmationDialog, {
50915
50896
  width: width,
50916
50897
  height: height,
50917
- onCancel: () => setScreen(undefined),
50898
+ onCancel: () => setScreen("initial"),
50918
50899
  onConfirm: () => setScreen("success"),
50900
+ linkColor: linkColor,
50919
50901
  vendors: itemAndPackage.filter(item => item.packages !== null).map(item => {
50920
50902
  return {
50921
50903
  name: item.name,
@@ -50925,9 +50907,6 @@ const ItemManagerPanel = _ref => {
50925
50907
  });
50926
50908
  }
50927
50909
  if (screen === "success") {
50928
- if (onSendForms) {
50929
- onSendForms();
50930
- }
50931
50910
  return /*#__PURE__*/React$1.createElement(SuccessScreen, {
50932
50911
  width: width,
50933
50912
  height: height,
@@ -50956,7 +50935,7 @@ const ItemManagerPanel = _ref => {
50956
50935
  height: height,
50957
50936
  backgroundColor: backgroundColor
50958
50937
  }, /*#__PURE__*/React$1.createElement(NewItemList, {
50959
- onBack: handleBackToDefault,
50938
+ onBack: () => setScreen("initial"),
50960
50939
  itemAndPackage: itemAndPackage,
50961
50940
  onVendorClick: handleVendorClick
50962
50941
  }));
@@ -50966,7 +50945,12 @@ const ItemManagerPanel = _ref => {
50966
50945
  width: width,
50967
50946
  height: height,
50968
50947
  backgroundColor: backgroundColor
50969
- }, /*#__PURE__*/React$1.createElement(Container$1, null, /*#__PURE__*/React$1.createElement(TitleContainer, null, /*#__PURE__*/React$1.createElement(SectionTitle$1, null, "Vendors"), /*#__PURE__*/React$1.createElement(SubtitleContainer, null, /*#__PURE__*/React$1.createElement(Subtitle$1, null, itemAndPackage.filter(item => item.packages !== null).length.toString(), " ", "Vendors", " "), /*#__PURE__*/React$1.createElement("span", null, "\xB7"), /*#__PURE__*/React$1.createElement(Subtitle$1, null, itemAndPackage.filter(item => item.packages !== null).reduce((acc, item) => acc + (item.packages ? item.packages.length : 0), 0), " ", "Packages"))), editMode && /*#__PURE__*/React$1.createElement(ButtonContainer$1, null, /*#__PURE__*/React$1.createElement(Button$1, {
50948
+ }, /*#__PURE__*/React$1.createElement(Container$1, null, /*#__PURE__*/React$1.createElement(TitleContainer, null, /*#__PURE__*/React$1.createElement(SectionTitle$1, null, "Vendors"), /*#__PURE__*/React$1.createElement(SubtitleContainer, null, /*#__PURE__*/React$1.createElement(Subtitle$1, null, itemAndPackage.filter(item => item.packages !== null).length.toString(), " ", "Vendors", " "), /*#__PURE__*/React$1.createElement("span", null, "\xB7"), /*#__PURE__*/React$1.createElement(Subtitle$1, null, itemAndPackage.filter(item => item.packages !== null).reduce((acc, item) => acc + (item.packages ? item.packages.length : 0), 0), " ", "Packages"))), editMode && /*#__PURE__*/React$1.createElement(ButtonContainer$1, null, /*#__PURE__*/React$1.createElement(CustomTooltip, {
50949
+ hideTooltip: !disabledSendForms,
50950
+ content: buttonTooltipText,
50951
+ topFactor: 2,
50952
+ direction: "bottom"
50953
+ }, /*#__PURE__*/React$1.createElement(Button$1, {
50970
50954
  leftIcon: "Fly",
50971
50955
  onClick: () => setScreen("confirmation"),
50972
50956
  rightIcon: "none",
@@ -50974,10 +50958,12 @@ const ItemManagerPanel = _ref => {
50974
50958
  size: "small",
50975
50959
  text: "Send Forms",
50976
50960
  type: "secondary",
50977
- borderRadius: "8px"
50978
- }), /*#__PURE__*/React$1.createElement(Subtitle$1, {
50979
- color: AllFormsSent ? "#90CE9C" : "#8b8989"
50980
- }, AllFormsSent ? '✔ All Forms Sent' : `${itemAndPackage.filter(item => item.packages !== null).length.toString()} Vendors `))), /*#__PURE__*/React$1.createElement(AddButtonContainer$1, null, /*#__PURE__*/React$1.createElement(LinkButton, {
50961
+ borderRadius: "8px",
50962
+ borderColor: linkColor,
50963
+ textColor: linkColor
50964
+ })), /*#__PURE__*/React$1.createElement(Subtitle$1, {
50965
+ color: actuallyAllFormsSent ? "#90CE9C" : "#8b8989"
50966
+ }, actuallyAllFormsSent ? '✔ All Forms Sent' : itemAndPackage.filter(item => item.packages !== null).length > 0 ? `${itemAndPackage.filter(item => item.packages !== null).length.toString()} New Forms` : ''))), /*#__PURE__*/React$1.createElement(AddButtonContainer$1, null, /*#__PURE__*/React$1.createElement(LinkButton, {
50981
50967
  leftIcon: "Plus",
50982
50968
  onClick: () => setScreen("list"),
50983
50969
  rightIcon: "none",
@@ -51109,7 +51095,7 @@ const DropdownButton = styled.button`
51109
51095
  justify-content: space-between;
51110
51096
  ${props => props.disabled && css`
51111
51097
  color:#8B8989;
51112
- background-color: #D0D0D0;
51098
+ /* background-color: #D0D0D0; */
51113
51099
  cursor: not-allowed;
51114
51100
  `}
51115
51101
  `;