sag_components 2.0.0-beta128 → 2.0.0-beta129

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
@@ -9873,20 +9873,21 @@ const DatePicker = ({
9873
9873
  };
9874
9874
 
9875
9875
  /* eslint-disable import/no-extraneous-dependencies */
9876
- const RangePicker = ({
9877
- label,
9878
- onChange,
9879
- borderRadius,
9880
- required,
9881
- width,
9882
- height,
9883
- placeholder,
9884
- disabled,
9885
- borderColor,
9886
- borderColorFocus,
9887
- textColor,
9888
- selectedValue
9889
- }) => {
9876
+ const RangePicker = _ref => {
9877
+ let {
9878
+ label,
9879
+ onChange,
9880
+ borderRadius,
9881
+ required,
9882
+ width,
9883
+ height,
9884
+ placeholder,
9885
+ disabled,
9886
+ borderColor,
9887
+ borderColorFocus,
9888
+ textColor,
9889
+ selectedValue
9890
+ } = _ref;
9890
9891
  const [isFocused, setIsFocused] = useState(false);
9891
9892
  const [isOpen, setIsOpen] = useState(false);
9892
9893
  const [value, setValue] = useState(''); // Added value state
@@ -10310,23 +10311,24 @@ const QuarterPopupPicker = ({
10310
10311
  };
10311
10312
 
10312
10313
  /* eslint-disable import/no-extraneous-dependencies */
10313
- const QuarterPicker = ({
10314
- availableQuarters,
10315
- // ["Q1-2024"]
10316
- label,
10317
- onChange,
10318
- borderRadius,
10319
- required,
10320
- width,
10321
- height,
10322
- placeholder,
10323
- disabled,
10324
- borderColor,
10325
- borderColorFocus,
10326
- textColor,
10327
- selectedValue,
10328
- startYear
10329
- }) => {
10314
+ const QuarterPicker = _ref => {
10315
+ let {
10316
+ availableQuarters,
10317
+ // ["Q1-2024"]
10318
+ label,
10319
+ onChange,
10320
+ borderRadius,
10321
+ required,
10322
+ width,
10323
+ height,
10324
+ placeholder,
10325
+ disabled,
10326
+ borderColor,
10327
+ borderColorFocus,
10328
+ textColor,
10329
+ selectedValue,
10330
+ startYear
10331
+ } = _ref;
10330
10332
  const [isFocused, setIsFocused] = useState(false);
10331
10333
  const [isOpen, setIsOpen] = useState(false);
10332
10334
  const [value, setValue] = useState('');
@@ -10768,22 +10770,23 @@ const MonthPopupPicker = ({
10768
10770
  };
10769
10771
 
10770
10772
  /* eslint-disable import/no-extraneous-dependencies */
10771
- const MonthPicker = ({
10772
- availableMonths,
10773
- label,
10774
- onChange,
10775
- borderRadius,
10776
- required,
10777
- width,
10778
- height,
10779
- placeholder,
10780
- disabled,
10781
- borderColor,
10782
- borderColorFocus,
10783
- textColor,
10784
- selectedValue,
10785
- startYear
10786
- }) => {
10773
+ const MonthPicker = _ref => {
10774
+ let {
10775
+ availableMonths,
10776
+ label,
10777
+ onChange,
10778
+ borderRadius,
10779
+ required,
10780
+ width,
10781
+ height,
10782
+ placeholder,
10783
+ disabled,
10784
+ borderColor,
10785
+ borderColorFocus,
10786
+ textColor,
10787
+ selectedValue,
10788
+ startYear
10789
+ } = _ref;
10787
10790
  const [isFocused, setIsFocused] = useState(false);
10788
10791
  const [isOpen, setIsOpen] = useState(false);
10789
10792
  const [value, setValue] = useState('');
@@ -34336,7 +34339,7 @@ const Modal = styled.div`
34336
34339
  display: flex;
34337
34340
  gap: 20px;
34338
34341
  padding: 20px;
34339
- margin-top: 40px;
34342
+ margin-top: -30px;
34340
34343
  flex-direction: column;
34341
34344
  background-color: white;
34342
34345
  border-radius: 12px;
@@ -37539,94 +37542,170 @@ const TableHeader = ({
37539
37542
 
37540
37543
  // Shared tooltip styles
37541
37544
  const tooltipStyles = css`
37542
- /* CSS-only tooltip */
37543
- &[data-tooltip]:hover::before {
37544
- content: attr(data-tooltip);
37545
- position: fixed;
37546
- background-color: white;
37547
- color: #333;
37548
- padding: 10px 16px;
37549
- border-radius: 4px;
37550
- font-family: 'Poppins', sans-serif;
37551
- font-size: 14px;
37552
- font-weight: 400;
37553
- z-index: 1000;
37554
- pointer-events: none;
37555
- width: 200px;
37556
- white-space: pre-wrap;
37557
- word-wrap: break-word;
37558
- line-height: 1.8;
37559
- box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.15);
37560
-
37561
- /* Position above the element - using dynamic offset */
37562
- top: calc(var(--tooltip-top, 0px) - var(--tooltip-offset, 60px));
37563
- left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2);
37564
- transform: translateX(-50%);
37565
-
37566
- /* Add delay */
37567
- opacity: 0;
37568
- animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37545
+ /* CSS-only tooltip */
37546
+ &[data-tooltip]:hover::before {
37547
+ content: attr(data-tooltip);
37548
+ position: fixed;
37549
+ background-color: white;
37550
+ color: #333;
37551
+ padding: 10px 16px;
37552
+ border-radius: 4px;
37553
+ font-family: "Poppins", sans-serif;
37554
+ font-size: 14px;
37555
+ font-weight: 400;
37556
+ z-index: 1000;
37557
+ pointer-events: none;
37558
+ width: 200px;
37559
+ white-space: pre-wrap;
37560
+ word-wrap: break-word;
37561
+ line-height: 1.8;
37562
+ box-shadow:
37563
+ 0 -2px 8px rgba(0, 0, 0, 0.15),
37564
+ 0 2px 8px rgba(0, 0, 0, 0.15);
37565
+
37566
+ /* Position above the element - using dynamic offset */
37567
+ top: calc(var(--tooltip-top, 0px) - var(--tooltip-offset, 60px));
37568
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2);
37569
+ transform: translateX(-50%);
37570
+
37571
+ /* Add delay */
37572
+ opacity: 0;
37573
+ animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37574
+ }
37575
+
37576
+ /* Tooltip arrow */
37577
+ &[data-tooltip]:hover::after {
37578
+ content: "";
37579
+ position: fixed;
37580
+ top: calc(
37581
+ var(--tooltip-top, 0px) - var(--tooltip-offset, 60px) +
37582
+ var(--tooltip-height, 50px)
37583
+ ); /* Use estimated tooltip height */
37584
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2);
37585
+ transform: translateX(-50%);
37586
+ border: 8px solid transparent;
37587
+ border-top-color: white;
37588
+ z-index: 1001;
37589
+ pointer-events: none;
37590
+
37591
+ /* Add delay */
37592
+ opacity: 0;
37593
+ animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37594
+ }
37595
+
37596
+ @keyframes showTooltip {
37597
+ to {
37598
+ opacity: 1;
37569
37599
  }
37570
-
37571
- /* Tooltip arrow */
37572
- &[data-tooltip]:hover::after {
37573
- content: '';
37574
- position: fixed;
37575
- top: calc(var(--tooltip-top, 0px) - var(--tooltip-offset, 60px) + var(--tooltip-height, 50px)); /* Use estimated tooltip height */
37576
- left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2);
37577
- transform: translateX(-50%);
37578
- border: 8px solid transparent;
37579
- border-top-color: white;
37580
- z-index: 1001;
37581
- pointer-events: none;
37582
-
37583
- /* Add delay */
37584
- opacity: 0;
37585
- animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37600
+ }
37601
+ `;
37602
+
37603
+ // Simple new row highlight animation
37604
+ const shimmerAnimation = css`
37605
+ @keyframes newRowHighlight {
37606
+ 0% {
37607
+ background-color: #ffffff;
37608
+ border-left-color: transparent;
37586
37609
  }
37587
-
37588
- @keyframes showTooltip {
37589
- to {
37590
- opacity: 1;
37591
- }
37610
+ 15% {
37611
+ background-color: #f0f8f0;
37612
+ border-left-color: #5fcc70;
37592
37613
  }
37614
+ 85% {
37615
+ background-color: #f0f8f0;
37616
+ border-left-color: #5fcc70;
37617
+ }
37618
+ 100% {
37619
+ background-color: #ffffff;
37620
+ border-left-color: transparent;
37621
+ }
37622
+ }
37593
37623
  `;
37594
37624
  const StyledTableBody = styled.tbody`
37595
- background-color: white;
37596
- font-family: 'Poppins', sans-serif;
37597
- position: relative;
37625
+ background-color: white;
37626
+ font-family: "Poppins", sans-serif;
37627
+ position: relative;
37598
37628
  `;
37599
37629
  const TableRow = styled.tr`
37600
- border-bottom: 1px solid #F2F2F2;
37601
- transition: background-color 0.2s;
37602
- font-family: 'Poppins', sans-serif;
37603
- cursor: pointer;
37604
-
37605
- &:hover {
37606
- background-color: #E6F0F0;
37607
- }
37608
-
37609
- /* Focus state - persistent until another row is clicked */
37610
- ${props => props.$isFocused && css`
37611
- background-color: #D1E7E7;
37612
- border-left: 3px solid #066768;
37613
-
37614
- &:hover {
37615
- background-color: #C1D7D7;
37616
- }
37617
- `}
37618
-
37619
- &:last-child {
37620
- border-bottom: none;
37621
- }
37630
+ border-bottom: 1px solid #f2f2f2;
37631
+ transition: all 0.3s ease;
37632
+ font-family: "Poppins", sans-serif;
37633
+ position: relative;
37634
+
37635
+ &:hover {
37636
+ background-color: #e6f0f0;
37637
+ }
37638
+
37639
+ &:last-child {
37640
+ border-bottom: none;
37641
+ }
37642
+
37643
+ /* Simple new row highlight */
37644
+ &.shimmer-row {
37645
+ border-left: 3px solid transparent;
37646
+ animation: newRowHighlight 3s ease-out;
37647
+ animation-fill-mode: both;
37648
+ }
37649
+
37650
+ ${shimmerAnimation}
37622
37651
  `;
37623
37652
  styled.div`
37653
+ position: absolute;
37654
+ background-color: white;
37655
+ color: #333;
37656
+ padding: 10px 16px;
37657
+ border-radius: 4px;
37658
+ font-family: "Poppins", sans-serif;
37659
+ font-size: 14px;
37660
+ font-weight: 400;
37661
+ z-index: 1000;
37662
+ pointer-events: none;
37663
+ width: 200px;
37664
+ white-space: pre-wrap;
37665
+ word-wrap: break-word;
37666
+ line-height: 1.8;
37667
+ box-shadow:
37668
+ 0 -2px 8px rgba(0, 0, 0, 0.15),
37669
+ 0 2px 8px rgba(0, 0, 0, 0.15);
37670
+ transform: translate(-50%, -100%);
37671
+
37672
+ &::after {
37673
+ content: "";
37624
37674
  position: absolute;
37675
+ top: 100%;
37676
+ left: 50%;
37677
+ transform: translateX(-50%);
37678
+ border: 8px solid transparent;
37679
+ border-top-color: white;
37680
+ }
37681
+ `;
37682
+ const TableCell = styled.td`
37683
+ padding: 12px 16px;
37684
+ color: ${props => props.$color || "#212121"};
37685
+ font-size: 14px;
37686
+ font-weight: 400;
37687
+ font-family: "Poppins", sans-serif;
37688
+ line-height: 30px;
37689
+ height: 32px;
37690
+ vertical-align: middle;
37691
+ white-space: nowrap;
37692
+ overflow: hidden;
37693
+ text-overflow: ellipsis;
37694
+ min-width: ${props => props.$minWidth || "80px"};
37695
+ max-width: ${props => props.$maxWidth || "300px"};
37696
+ width: auto;
37697
+ position: relative;
37698
+ transition: all 0.3s ease;
37699
+
37700
+ /* CSS-only tooltip */
37701
+ &[data-tooltip]:hover::before {
37702
+ content: attr(data-tooltip);
37703
+ position: fixed;
37625
37704
  background-color: white;
37626
37705
  color: #333;
37627
37706
  padding: 10px 16px;
37628
37707
  border-radius: 4px;
37629
- font-family: 'Poppins', sans-serif;
37708
+ font-family: "Poppins", sans-serif;
37630
37709
  font-size: 14px;
37631
37710
  font-weight: 400;
37632
37711
  z-index: 1000;
@@ -37635,201 +37714,157 @@ styled.div`
37635
37714
  white-space: pre-wrap;
37636
37715
  word-wrap: break-word;
37637
37716
  line-height: 1.8;
37638
- // box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
37639
- box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.15);
37640
- transform: translate(-50%, -100%);
37717
+ box-shadow:
37718
+ 0 -2px 8px rgba(0, 0, 0, 0.15),
37719
+ 0 2px 8px rgba(0, 0, 0, 0.15);
37641
37720
 
37642
- &::after {
37643
- content: '';
37644
- position: absolute;
37645
- top: 100%;
37646
- left: 50%;
37647
- transform: translateX(-50%);
37648
- border: 8px solid transparent;
37649
- border-top-color: white;
37650
- }
37651
- `;
37652
- const TableCell = styled.td`
37653
- padding: 12px 16px;
37654
- color: ${props => props.$color || '#212121'};
37655
- font-size: 14px;
37656
- font-weight: 400;
37657
- font-family: 'Poppins', sans-serif;
37658
- line-height: 30px;
37659
- height: 32px; // Add this to force consistent height
37660
- vertical-align: middle; // Add this to center content vertically
37661
- white-space: nowrap;
37662
- overflow: hidden;
37663
- text-overflow: ellipsis;
37664
- min-width: ${props => props.$minWidth || '80px'};
37665
- max-width: ${props => props.$maxWidth || '300px'};
37666
- width: auto;
37667
- position: relative;
37668
-
37669
- /* CSS-only tooltip */
37670
- &[data-tooltip]:hover::before {
37671
- content: attr(data-tooltip);
37672
- position: fixed;
37673
- background-color: white;
37674
- color: #333;
37675
- padding: 10px 16px;
37676
- border-radius: 4px;
37677
- font-family: 'Poppins', sans-serif;
37678
- font-size: 14px;
37679
- font-weight: 400;
37680
- z-index: 1000;
37681
- pointer-events: none;
37682
- width: 200px;
37683
- white-space: pre-wrap;
37684
- word-wrap: break-word;
37685
- line-height: 1.8;
37686
- box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.15);
37687
-
37688
- /* Position above the element - using dynamic offset */
37689
- top: calc(var(--cell-top, 0px) - var(--cell-offset, 40px));
37690
- left: calc(var(--cell-left, 0px) + var(--cell-width, 0px) / 2);
37691
- transform: translateX(-50%);
37692
-
37693
- /* Add delay */
37694
- opacity: 0;
37695
- animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37696
- }
37697
-
37698
- /* Tooltip arrow */
37699
- &[data-tooltip]:hover::after {
37700
- content: '';
37701
- position: fixed;
37702
- top: calc(var(--cell-top, 0px) - var(--cell-offset, 40px) + var(--cell-height, 50px));
37703
- left: calc(var(--cell-left, 0px) + var(--cell-width, 0px) / 2);
37704
- transform: translateX(-50%);
37705
- border: 8px solid transparent;
37706
- border-top-color: white;
37707
- z-index: 1001;
37708
- pointer-events: none;
37709
-
37710
- /* Add delay */
37711
- opacity: 0;
37712
- animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37713
- }
37714
-
37715
- &[title] {
37716
- &:hover::after {
37717
- font-family: 'Poppins', sans-serif;
37718
- font-size: 14px;
37719
- }
37721
+ /* Position above the element - using dynamic offset */
37722
+ top: calc(var(--cell-top, 0px) - var(--cell-offset, 40px));
37723
+ left: calc(var(--cell-left, 0px) + var(--cell-width, 0px) / 2);
37724
+ transform: translateX(-50%);
37725
+
37726
+ /* Add delay */
37727
+ opacity: 0;
37728
+ animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37729
+ }
37730
+
37731
+ /* Tooltip arrow */
37732
+ &[data-tooltip]:hover::after {
37733
+ content: "";
37734
+ position: fixed;
37735
+ top: calc(
37736
+ var(--cell-top, 0px) - var(--cell-offset, 40px) + var(--cell-height, 50px)
37737
+ );
37738
+ left: calc(var(--cell-left, 0px) + var(--cell-width, 0px) / 2);
37739
+ transform: translateX(-50%);
37740
+ border: 8px solid transparent;
37741
+ border-top-color: white;
37742
+ z-index: 1001;
37743
+ pointer-events: none;
37744
+
37745
+ /* Add delay */
37746
+ opacity: 0;
37747
+ animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37748
+ }
37749
+
37750
+ &[title] {
37751
+ &:hover::after {
37752
+ font-family: "Poppins", sans-serif;
37753
+ font-size: 14px;
37720
37754
  }
37721
-
37722
- ${props => {
37755
+ }
37756
+
37757
+ ${props => {
37723
37758
  switch (props.$fieldType) {
37724
- case 'currency':
37759
+ case "currency":
37725
37760
  return css`
37726
- font-family: 'Poppins', sans-serif;
37727
- font-weight: 500;
37728
- `;
37729
- case 'number':
37761
+ font-family: "Poppins", sans-serif;
37762
+ font-weight: 500;
37763
+ `;
37764
+ case "number":
37730
37765
  return css`
37731
- font-family: 'Poppins', sans-serif;
37732
- //text-align: right;
37733
- `;
37766
+ font-family: "Poppins", sans-serif;
37767
+ `;
37734
37768
  default:
37735
- return '';
37769
+ return "";
37736
37770
  }
37737
37771
  }}
37738
37772
  `;
37739
37773
 
37740
37774
  // Loading skeleton styles
37741
37775
  styled.td`
37742
- padding: 12px 16px;
37743
- font-family: 'Poppins', sans-serif;
37776
+ padding: 12px 16px;
37777
+ font-family: "Poppins", sans-serif;
37744
37778
  `;
37745
37779
  styled.div`
37746
- background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
37747
- background-size: 200% 100%;
37748
- animation: loading 1.5s infinite;
37749
- height: 20px;
37750
- border-radius: 4px;
37751
- width: ${props => props.$width || '100%'};
37752
- font-family: 'Poppins', sans-serif;
37753
-
37754
- @keyframes loading {
37755
- 0% { background-position: 200% 0; }
37756
- 100% { background-position: -200% 0; }
37780
+ background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
37781
+ background-size: 200% 100%;
37782
+ animation: loading 1.5s infinite;
37783
+ height: 20px;
37784
+ border-radius: 4px;
37785
+ width: ${props => props.$width || "100%"};
37786
+ font-family: "Poppins", sans-serif;
37787
+
37788
+ @keyframes loading {
37789
+ 0% {
37790
+ background-position: 200% 0;
37791
+ }
37792
+ 100% {
37793
+ background-position: -200% 0;
37757
37794
  }
37795
+ }
37758
37796
  `;
37759
37797
  styled.div`
37760
- display: flex;
37761
- align-items: center;
37762
- gap: 8px;
37798
+ display: flex;
37799
+ align-items: center;
37800
+ gap: 8px;
37763
37801
  `;
37764
37802
  const ButtonWrapper = styled.div`
37765
- display: inline-block;
37766
- position: relative;
37767
-
37768
- ${tooltipStyles}
37803
+ display: inline-block;
37804
+ position: relative;
37805
+
37806
+ ${tooltipStyles}
37769
37807
  `;
37770
37808
  const SentStatus = styled.div`
37771
- display: flex;
37772
- align-items: center;
37773
- font-weight: 500;
37774
- gap: 8px;
37775
- color: #5FCC70;
37776
- //padding: 4px 8px;
37777
- user-select: none;
37778
- position: relative;
37779
-
37780
- ${tooltipStyles}
37809
+ display: flex;
37810
+ align-items: center;
37811
+ font-weight: 500;
37812
+ gap: 8px;
37813
+ color: #5fcc70;
37814
+ user-select: none;
37815
+ position: relative;
37816
+
37817
+ ${tooltipStyles}
37781
37818
  `;
37782
37819
  const TrashIconWrapper = styled.div`
37783
- cursor: pointer;
37784
- transition: color 0.2s ease;
37785
- display: inline-flex;
37786
- align-items: center;
37787
- justify-content: center;
37788
- width: 100%;
37789
- height: 100%;
37790
- position: relative;
37791
- //transform: translateY(5px);
37792
-
37793
- ${tooltipStyles}
37794
-
37795
- /* Override tooltip position to move left */
37796
- &[data-tooltip]:hover::before {
37797
- left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37798
- }
37799
-
37800
- &[data-tooltip]:hover::after {
37801
- left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37802
- }
37803
-
37804
- &:hover {
37805
- svg path {
37806
- fill: ${props => props.$buttonColor};
37807
- }
37820
+ cursor: pointer;
37821
+ transition: color 0.2s ease;
37822
+ display: inline-flex;
37823
+ align-items: center;
37824
+ justify-content: center;
37825
+ width: 100%;
37826
+ height: 100%;
37827
+ position: relative;
37828
+
37829
+ ${tooltipStyles}
37830
+
37831
+ /* Override tooltip position to move left */
37832
+ &[data-tooltip]:hover::before {
37833
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37834
+ }
37835
+
37836
+ &[data-tooltip]:hover::after {
37837
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37838
+ }
37839
+
37840
+ &:hover {
37841
+ svg path {
37842
+ fill: ${props => props.$buttonColor};
37808
37843
  }
37844
+ }
37809
37845
  `;
37810
37846
  const DisabledTrashIconWrapper = styled.div`
37811
- display: inline-flex;
37812
- align-items: center;
37813
- justify-content: center;
37814
- width: 100%;
37815
- height: 100%;
37816
- position: relative;
37817
- //transform: translateY(5px);
37818
-
37819
- ${tooltipStyles}
37820
-
37821
- /* Override tooltip position to move left */
37822
- &[data-tooltip]:hover::before {
37823
- left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37824
- }
37825
-
37826
- &[data-tooltip]:hover::after {
37827
- left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37828
- }
37829
-
37830
- svg {
37831
- color: #D9D9D9;
37832
- }
37847
+ display: inline-flex;
37848
+ align-items: center;
37849
+ justify-content: center;
37850
+ width: 100%;
37851
+ height: 100%;
37852
+ position: relative;
37853
+
37854
+ ${tooltipStyles}
37855
+
37856
+ /* Override tooltip position to move left */
37857
+ &[data-tooltip]:hover::before {
37858
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37859
+ }
37860
+
37861
+ &[data-tooltip]:hover::after {
37862
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37863
+ }
37864
+
37865
+ svg {
37866
+ color: #d9d9d9;
37867
+ }
37833
37868
  `;
37834
37869
 
37835
37870
  // OkIcon.jsx
@@ -37898,7 +37933,8 @@ const TableBody = /*#__PURE__*/forwardRef(({
37898
37933
  buttonColor,
37899
37934
  onDeleteClick,
37900
37935
  resetFocus = false,
37901
- onFocusChange
37936
+ onFocusChange,
37937
+ indexToShimmer = 0
37902
37938
  }, ref) => {
37903
37939
  const [hoveredRowIndex, setHoveredRowIndex] = useState(null);
37904
37940
  const [focusedRowIndex, setFocusedRowIndex] = useState(null);
@@ -38132,6 +38168,7 @@ const TableBody = /*#__PURE__*/forwardRef(({
38132
38168
  return /*#__PURE__*/React$1.createElement(StyledTableBody, null, data.map((row, rowIndex) => /*#__PURE__*/React$1.createElement(TableRow, {
38133
38169
  key: rowIndex,
38134
38170
  "data-row-index": rowIndex,
38171
+ className: indexToShimmer === rowIndex ? 'shimmer-row' : '',
38135
38172
  $isFocused: focusedRowIndex === rowIndex,
38136
38173
  onMouseEnter: () => setHoveredRowIndex(rowIndex),
38137
38174
  onMouseLeave: () => setHoveredRowIndex(null),
@@ -38164,9 +38201,6 @@ const TableBody = /*#__PURE__*/forwardRef(({
38164
38201
  }))));
38165
38202
  });
38166
38203
 
38167
- // Add displayName for better debugging
38168
- TableBody.displayName = 'TableBody';
38169
-
38170
38204
  var nm$1 = "calendar_lottie";
38171
38205
  var ddd$1 = 0;
38172
38206
  var h$1 = 16;
@@ -41366,6 +41400,7 @@ const Table = /*#__PURE__*/forwardRef((props, ref) => {
41366
41400
  showNoDataInSearch = false,
41367
41401
  noDataInSearchTitle = "No Results Found",
41368
41402
  noDataInSearchMessage = "Try to refine your query and search again",
41403
+ indexToShimmer = -1,
41369
41404
  // New props for focus management
41370
41405
  resetTableFocus = false,
41371
41406
  onTableFocusChange = () => {},
@@ -41466,6 +41501,7 @@ const Table = /*#__PURE__*/forwardRef((props, ref) => {
41466
41501
  }), columns.length > 0 && data.length > 0 && /*#__PURE__*/React$1.createElement(TableBody, {
41467
41502
  ref: tableBodyRef,
41468
41503
  columns: columns,
41504
+ indexToShimmer: indexToShimmer,
41469
41505
  data: data,
41470
41506
  onRowClick: onRowClick,
41471
41507
  onSendClick: onSendClick,
@@ -51283,6 +51319,7 @@ const DropdownButton = styled.button`
51283
51319
  border: 1px solid #8B8989;
51284
51320
  border-radius: 12px;
51285
51321
  padding: 17px;
51322
+ height: ${props => props.height};
51286
51323
  text-align: left;
51287
51324
  cursor: pointer;
51288
51325
  display: flex;
@@ -51319,10 +51356,13 @@ const DropdownList = styled.ul`
51319
51356
  const SectionTitle = styled.li`
51320
51357
  font-size: 14px;
51321
51358
  color: #bdbdbd;
51322
- padding: 16px 12px 0 12px;
51359
+ padding: 12px 12px 0 12px;
51323
51360
  font-weight: 500;
51324
- border-top: 1px solid #bdbdbd;
51325
51361
  pointer-events: none;
51362
+ &:not(:first-child) {
51363
+ border-top: 1px solid #bdbdbd;
51364
+ padding-top: 16px;
51365
+ }
51326
51366
  `;
51327
51367
  const DropdownItem = styled.li`
51328
51368
  padding: 8px 16px;
@@ -51371,16 +51411,16 @@ styled.div`
51371
51411
  white-space: pre-line;
51372
51412
  `;
51373
51413
  const Label$1 = styled.label`
51374
- font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
51414
+ font-size: 14px;
51375
51415
  font-weight: 400;
51376
51416
  padding-inline-end: 5px;
51377
51417
  padding-inline-start: 5px;
51378
51418
  margin-right: 10px;
51379
51419
  z-index: 2;
51380
51420
  color: ${props => props.error ? 'red' : props.disabled ? '#888' : props.labelColor};
51381
- background-color: ${props => props.showLabelOnTop ? 'white' : 'transparent'} ;
51421
+ background-color: ${props => props.disabled ? '#F2F2F2' : props.showLabelOnTop ? 'white' : 'transparent'};
51382
51422
  position: absolute;
51383
- top: ${props => props.isFocused || props.hasValue ? '0px' : '24px'};
51423
+ top: ${props => props.isFocused || props.hasValue ? '0px' : '50%'};
51384
51424
  left: ${props => props.isFocused || props.hasValue ? '23px' : '14px'};
51385
51425
  transform: translateY(-50%);
51386
51426
  transition: ${props => props.showLabelOnTop ? 'top 0.3s ease, font-size 0.3s ease, color 0.3s ease' : ''} ;
@@ -51616,6 +51656,7 @@ const OverlayDropdown = _ref => {
51616
51656
  hoverColor = '#E6F0F0',
51617
51657
  dropdownMaxHeight = '600px',
51618
51658
  width = '100%',
51659
+ height = 'auto',
51619
51660
  label,
51620
51661
  labelEmptyValue,
51621
51662
  showLabelOnTop,
@@ -51846,6 +51887,7 @@ const OverlayDropdown = _ref => {
51846
51887
  onClick: toggleDropdown,
51847
51888
  disabled: disabled,
51848
51889
  isDarkerBackground: isDarkerBackground,
51890
+ height: height,
51849
51891
  type: "button"
51850
51892
  }, /*#__PURE__*/React$1.createElement(TruncatedText, {
51851
51893
  onMouseEnter: () => setHoveredText(selected?.label),