sag_components 2.0.0-beta119 → 2.0.0-beta120

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.esm.js CHANGED
@@ -41411,7 +41411,6 @@ const Card = styled.div`
41411
41411
  const TitleContainer = styled.div`
41412
41412
  display: flex;
41413
41413
  flex-direction: column;
41414
- margin-top: 50px;
41415
41414
  align-items: flex-start;
41416
41415
  `;
41417
41416
  const SectionTitle$1 = styled.div`
@@ -41433,8 +41432,6 @@ const Subtitle$1 = styled.span`
41433
41432
  const AddButtonContainer$1 = styled.div`
41434
41433
  display: flex;
41435
41434
  align-items: flex-start;
41436
- margin-top: 24px;
41437
- margin-left: 16px;
41438
41435
  `;
41439
41436
 
41440
41437
  // Vendor selection screen styles
@@ -41445,11 +41442,8 @@ styled(Card)`
41445
41442
  padding: 0;
41446
41443
  overflow: hidden;
41447
41444
  `;
41448
- styled.div`
41449
- display: flex;
41450
- align-items: center;
41451
- padding: 18px 16px 0 8px;
41452
- background: #faf9fb;
41445
+ const VendorHeader$2 = styled.div`
41446
+ padding: 16px 24px;
41453
41447
  `;
41454
41448
  styled.button`
41455
41449
  border: none;
@@ -41525,7 +41519,6 @@ const LineContainer = styled.div`
41525
41519
  width: 100%;
41526
41520
  `;
41527
41521
  const ButtonContainer$1 = styled.div`
41528
- margin-top: 16px;
41529
41522
  .ButtonContainer {
41530
41523
  label {
41531
41524
  white-space: nowrap;
@@ -41546,7 +41539,7 @@ const Container$1 = styled.div`
41546
41539
  display: flex;
41547
41540
  align-items: center;
41548
41541
  justify-content: space-between;
41549
- padding: 0 16px;
41542
+ padding: 38px 0 20px;
41550
41543
  box-sizing: border-box;
41551
41544
  `;
41552
41545
  const Trash$1 = styled.div`
@@ -51012,6 +51005,8 @@ const ItemManagerPanel = _ref => {
51012
51005
  width: width,
51013
51006
  height: height,
51014
51007
  backgroundColor: backgroundColor
51008
+ }, /*#__PURE__*/React$1.createElement(VendorHeader$2, {
51009
+ ref: headerRef
51015
51010
  }, /*#__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, {
51016
51011
  hideTooltip: !disabledSendForms,
51017
51012
  content: buttonTooltipText,
@@ -51038,7 +51033,7 @@ const ItemManagerPanel = _ref => {
51038
51033
  text: "First Vendor",
51039
51034
  type: "primary",
51040
51035
  textColor: linkColor
51041
- })), /*#__PURE__*/React$1.createElement(VendorListWrapper$2, {
51036
+ }))), /*#__PURE__*/React$1.createElement(VendorListWrapper$2, {
51042
51037
  headerHeight: headerHeight
51043
51038
  }, /*#__PURE__*/React$1.createElement(VendorList$2, null, itemAndPackage.filter(item => item.packages !== null).map((item, idx) => /*#__PURE__*/React$1.createElement(VendorItem$1, {
51044
51039
  key: idx