sag_components 2.0.0-beta130 → 2.0.0-beta131

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
@@ -34344,7 +34344,7 @@ const Modal = styled__default["default"].div`
34344
34344
  display: flex;
34345
34345
  gap: 20px;
34346
34346
  padding: 20px;
34347
- margin-top: 40px;
34347
+ margin-top: -30px;
34348
34348
  flex-direction: column;
34349
34349
  background-color: white;
34350
34350
  border-radius: 12px;
@@ -38206,9 +38206,6 @@ const TableBody = /*#__PURE__*/React$1.forwardRef(({
38206
38206
  }))));
38207
38207
  });
38208
38208
 
38209
- // Add displayName for better debugging
38210
- TableBody.displayName = 'TableBody';
38211
-
38212
38209
  var nm$1 = "calendar_lottie";
38213
38210
  var ddd$1 = 0;
38214
38211
  var h$1 = 16;
@@ -41376,8 +41373,9 @@ var Lottie = function Lottie(props) {
41376
41373
  };
41377
41374
 
41378
41375
  // Table.jsx
41379
- const Table = /*#__PURE__*/React$1.forwardRef((props, ref) => {
41376
+ const Table = props => {
41380
41377
  const {
41378
+ ref,
41381
41379
  width = '100%',
41382
41380
  height = 'auto',
41383
41381
  tableTitle = 'All Events',
@@ -41535,10 +41533,7 @@ const Table = /*#__PURE__*/React$1.forwardRef((props, ref) => {
41535
41533
  animationData: LoadingAnimation,
41536
41534
  loop: true
41537
41535
  }), /*#__PURE__*/React__default["default"].createElement(LoadingText, null, isLoadingText)))));
41538
- });
41539
-
41540
- // Add displayName for better debugging
41541
- Table.displayName = 'Table';
41536
+ };
41542
41537
 
41543
41538
  const Card = styled__default["default"].div`
41544
41539
  background: ${props => props.backgroundColor};
@@ -51327,6 +51322,7 @@ const DropdownButton = styled__default["default"].button`
51327
51322
  border: 1px solid #8B8989;
51328
51323
  border-radius: 12px;
51329
51324
  padding: 17px;
51325
+ height: ${props => props.height};
51330
51326
  text-align: left;
51331
51327
  cursor: pointer;
51332
51328
  display: flex;
@@ -51363,10 +51359,13 @@ const DropdownList = styled__default["default"].ul`
51363
51359
  const SectionTitle = styled__default["default"].li`
51364
51360
  font-size: 14px;
51365
51361
  color: #bdbdbd;
51366
- padding: 16px 12px 0 12px;
51362
+ padding: 12px 12px 0 12px;
51367
51363
  font-weight: 500;
51368
- border-top: 1px solid #bdbdbd;
51369
51364
  pointer-events: none;
51365
+ &:not(:first-child) {
51366
+ border-top: 1px solid #bdbdbd;
51367
+ padding-top: 16px;
51368
+ }
51370
51369
  `;
51371
51370
  const DropdownItem = styled__default["default"].li`
51372
51371
  padding: 8px 16px;
@@ -51415,16 +51414,16 @@ styled__default["default"].div`
51415
51414
  white-space: pre-line;
51416
51415
  `;
51417
51416
  const Label$1 = styled__default["default"].label`
51418
- font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
51417
+ font-size: 14px;
51419
51418
  font-weight: 400;
51420
51419
  padding-inline-end: 5px;
51421
51420
  padding-inline-start: 5px;
51422
51421
  margin-right: 10px;
51423
51422
  z-index: 2;
51424
51423
  color: ${props => props.error ? 'red' : props.disabled ? '#888' : props.labelColor};
51425
- background-color: ${props => props.showLabelOnTop ? 'white' : 'transparent'} ;
51424
+ background-color: ${props => props.disabled ? '#F2F2F2' : props.showLabelOnTop ? 'white' : 'transparent'};
51426
51425
  position: absolute;
51427
- top: ${props => props.isFocused || props.hasValue ? '0px' : '24px'};
51426
+ top: ${props => props.isFocused || props.hasValue ? '0px' : '50%'};
51428
51427
  left: ${props => props.isFocused || props.hasValue ? '23px' : '14px'};
51429
51428
  transform: translateY(-50%);
51430
51429
  transition: ${props => props.showLabelOnTop ? 'top 0.3s ease, font-size 0.3s ease, color 0.3s ease' : ''} ;
@@ -51660,6 +51659,7 @@ const OverlayDropdown = _ref => {
51660
51659
  hoverColor = '#E6F0F0',
51661
51660
  dropdownMaxHeight = '600px',
51662
51661
  width = '100%',
51662
+ height = 'auto',
51663
51663
  label,
51664
51664
  labelEmptyValue,
51665
51665
  showLabelOnTop,
@@ -51890,6 +51890,7 @@ const OverlayDropdown = _ref => {
51890
51890
  onClick: toggleDropdown,
51891
51891
  disabled: disabled,
51892
51892
  isDarkerBackground: isDarkerBackground,
51893
+ height: height,
51893
51894
  type: "button"
51894
51895
  }, /*#__PURE__*/React__default["default"].createElement(TruncatedText, {
51895
51896
  onMouseEnter: () => setHoveredText(selected?.label),