sag_components 2.0.0-beta128 → 2.0.0-beta130

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
@@ -23894,22 +23894,21 @@ const DeleteIcon = styled.div`
23894
23894
  position: absolute;
23895
23895
  `;
23896
23896
 
23897
- const QuickFilterDropdownSingle = _ref => {
23898
- let {
23899
- label,
23900
- hoverColor,
23901
- options,
23902
- selectedValue,
23903
- placeHolder,
23904
- onChange,
23905
- disabled,
23906
- width,
23907
- error,
23908
- errorMessage,
23909
- xIconShow,
23910
- labelColor,
23911
- showLabelOnTop
23912
- } = _ref;
23897
+ const QuickFilterDropdownSingle = ({
23898
+ label,
23899
+ hoverColor,
23900
+ options,
23901
+ selectedValue,
23902
+ placeHolder,
23903
+ onChange,
23904
+ disabled,
23905
+ width,
23906
+ error,
23907
+ errorMessage,
23908
+ xIconShow,
23909
+ labelColor,
23910
+ showLabelOnTop
23911
+ }) => {
23913
23912
  const [isFocused, setIsFocused] = useState(false);
23914
23913
  const [showOptions, setShowOptions] = useState(false);
23915
23914
  const [inputValue, setInputValue] = useState("");
@@ -24306,24 +24305,23 @@ const IconContainer$2 = styled.div`
24306
24305
  cursor: pointer;
24307
24306
  `;
24308
24307
 
24309
- const QuickFilterDropdownMultiSelection = _ref => {
24310
- let {
24311
- label,
24312
- labelEmptyValue,
24313
- options,
24314
- selectedValue,
24315
- placeHolder,
24316
- onChange,
24317
- required,
24318
- disabled,
24319
- width,
24320
- error,
24321
- errorMessage,
24322
- labelColor,
24323
- xIconShow,
24324
- checkBoxColor,
24325
- showLabelOnTop
24326
- } = _ref;
24308
+ const QuickFilterDropdownMultiSelection = ({
24309
+ label,
24310
+ labelEmptyValue,
24311
+ options,
24312
+ selectedValue,
24313
+ placeHolder,
24314
+ onChange,
24315
+ required,
24316
+ disabled,
24317
+ width,
24318
+ error,
24319
+ errorMessage,
24320
+ labelColor,
24321
+ xIconShow,
24322
+ checkBoxColor,
24323
+ showLabelOnTop
24324
+ }) => {
24327
24325
  const [isFocused, setIsFocused] = useState(false);
24328
24326
  const [showOptions, setShowOptions] = useState(false);
24329
24327
  const [inputValue, setInputValue] = useState('');
@@ -35555,9 +35553,9 @@ const ToggleSlider = styled.span`
35555
35553
  }
35556
35554
  `;
35557
35555
 
35558
- /**
35559
- * ToggleSwitch component for on/off states.
35560
- * Supports small/large sizes and disabled state.
35556
+ /**
35557
+ * ToggleSwitch component for on/off states.
35558
+ * Supports small/large sizes and disabled state.
35561
35559
  */
35562
35560
  function ToggleSwitch(_ref) {
35563
35561
  let {
@@ -37539,94 +37537,170 @@ const TableHeader = ({
37539
37537
 
37540
37538
  // Shared tooltip styles
37541
37539
  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;
37540
+ /* CSS-only tooltip */
37541
+ &[data-tooltip]:hover::before {
37542
+ content: attr(data-tooltip);
37543
+ position: fixed;
37544
+ background-color: white;
37545
+ color: #333;
37546
+ padding: 10px 16px;
37547
+ border-radius: 4px;
37548
+ font-family: "Poppins", sans-serif;
37549
+ font-size: 14px;
37550
+ font-weight: 400;
37551
+ z-index: 1000;
37552
+ pointer-events: none;
37553
+ width: 200px;
37554
+ white-space: pre-wrap;
37555
+ word-wrap: break-word;
37556
+ line-height: 1.8;
37557
+ box-shadow:
37558
+ 0 -2px 8px rgba(0, 0, 0, 0.15),
37559
+ 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;
37569
+ }
37570
+
37571
+ /* Tooltip arrow */
37572
+ &[data-tooltip]:hover::after {
37573
+ content: "";
37574
+ position: fixed;
37575
+ top: calc(
37576
+ var(--tooltip-top, 0px) - var(--tooltip-offset, 60px) +
37577
+ var(--tooltip-height, 50px)
37578
+ ); /* Use estimated tooltip height */
37579
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2);
37580
+ transform: translateX(-50%);
37581
+ border: 8px solid transparent;
37582
+ border-top-color: white;
37583
+ z-index: 1001;
37584
+ pointer-events: none;
37585
+
37586
+ /* Add delay */
37587
+ opacity: 0;
37588
+ animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37589
+ }
37590
+
37591
+ @keyframes showTooltip {
37592
+ to {
37593
+ opacity: 1;
37569
37594
  }
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;
37595
+ }
37596
+ `;
37597
+
37598
+ // Simple new row highlight animation
37599
+ const shimmerAnimation = css`
37600
+ @keyframes newRowHighlight {
37601
+ 0% {
37602
+ background-color: #ffffff;
37603
+ border-left-color: transparent;
37586
37604
  }
37587
-
37588
- @keyframes showTooltip {
37589
- to {
37590
- opacity: 1;
37591
- }
37605
+ 15% {
37606
+ background-color: #f0f8f0;
37607
+ border-left-color: #5fcc70;
37608
+ }
37609
+ 85% {
37610
+ background-color: #f0f8f0;
37611
+ border-left-color: #5fcc70;
37592
37612
  }
37613
+ 100% {
37614
+ background-color: #ffffff;
37615
+ border-left-color: transparent;
37616
+ }
37617
+ }
37593
37618
  `;
37594
37619
  const StyledTableBody = styled.tbody`
37595
- background-color: white;
37596
- font-family: 'Poppins', sans-serif;
37597
- position: relative;
37620
+ background-color: white;
37621
+ font-family: "Poppins", sans-serif;
37622
+ position: relative;
37598
37623
  `;
37599
37624
  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
- }
37625
+ border-bottom: 1px solid #f2f2f2;
37626
+ transition: all 0.3s ease;
37627
+ font-family: "Poppins", sans-serif;
37628
+ position: relative;
37629
+
37630
+ &:hover {
37631
+ background-color: #e6f0f0;
37632
+ }
37633
+
37634
+ &:last-child {
37635
+ border-bottom: none;
37636
+ }
37637
+
37638
+ /* Simple new row highlight */
37639
+ &.shimmer-row {
37640
+ border-left: 3px solid transparent;
37641
+ animation: newRowHighlight 3s ease-out;
37642
+ animation-fill-mode: both;
37643
+ }
37644
+
37645
+ ${shimmerAnimation}
37622
37646
  `;
37623
37647
  styled.div`
37648
+ position: absolute;
37649
+ background-color: white;
37650
+ color: #333;
37651
+ padding: 10px 16px;
37652
+ border-radius: 4px;
37653
+ font-family: "Poppins", sans-serif;
37654
+ font-size: 14px;
37655
+ font-weight: 400;
37656
+ z-index: 1000;
37657
+ pointer-events: none;
37658
+ width: 200px;
37659
+ white-space: pre-wrap;
37660
+ word-wrap: break-word;
37661
+ line-height: 1.8;
37662
+ box-shadow:
37663
+ 0 -2px 8px rgba(0, 0, 0, 0.15),
37664
+ 0 2px 8px rgba(0, 0, 0, 0.15);
37665
+ transform: translate(-50%, -100%);
37666
+
37667
+ &::after {
37668
+ content: "";
37624
37669
  position: absolute;
37670
+ top: 100%;
37671
+ left: 50%;
37672
+ transform: translateX(-50%);
37673
+ border: 8px solid transparent;
37674
+ border-top-color: white;
37675
+ }
37676
+ `;
37677
+ const TableCell = styled.td`
37678
+ padding: 12px 16px;
37679
+ color: ${props => props.$color || "#212121"};
37680
+ font-size: 14px;
37681
+ font-weight: 400;
37682
+ font-family: "Poppins", sans-serif;
37683
+ line-height: 30px;
37684
+ height: 32px;
37685
+ vertical-align: middle;
37686
+ white-space: nowrap;
37687
+ overflow: hidden;
37688
+ text-overflow: ellipsis;
37689
+ min-width: ${props => props.$minWidth || "80px"};
37690
+ max-width: ${props => props.$maxWidth || "300px"};
37691
+ width: auto;
37692
+ position: relative;
37693
+ transition: all 0.3s ease;
37694
+
37695
+ /* CSS-only tooltip */
37696
+ &[data-tooltip]:hover::before {
37697
+ content: attr(data-tooltip);
37698
+ position: fixed;
37625
37699
  background-color: white;
37626
37700
  color: #333;
37627
37701
  padding: 10px 16px;
37628
37702
  border-radius: 4px;
37629
- font-family: 'Poppins', sans-serif;
37703
+ font-family: "Poppins", sans-serif;
37630
37704
  font-size: 14px;
37631
37705
  font-weight: 400;
37632
37706
  z-index: 1000;
@@ -37635,201 +37709,157 @@ styled.div`
37635
37709
  white-space: pre-wrap;
37636
37710
  word-wrap: break-word;
37637
37711
  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%);
37712
+ box-shadow:
37713
+ 0 -2px 8px rgba(0, 0, 0, 0.15),
37714
+ 0 2px 8px rgba(0, 0, 0, 0.15);
37641
37715
 
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
- }
37716
+ /* Position above the element - using dynamic offset */
37717
+ top: calc(var(--cell-top, 0px) - var(--cell-offset, 40px));
37718
+ left: calc(var(--cell-left, 0px) + var(--cell-width, 0px) / 2);
37719
+ transform: translateX(-50%);
37720
+
37721
+ /* Add delay */
37722
+ opacity: 0;
37723
+ animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37724
+ }
37725
+
37726
+ /* Tooltip arrow */
37727
+ &[data-tooltip]:hover::after {
37728
+ content: "";
37729
+ position: fixed;
37730
+ top: calc(
37731
+ var(--cell-top, 0px) - var(--cell-offset, 40px) + var(--cell-height, 50px)
37732
+ );
37733
+ left: calc(var(--cell-left, 0px) + var(--cell-width, 0px) / 2);
37734
+ transform: translateX(-50%);
37735
+ border: 8px solid transparent;
37736
+ border-top-color: white;
37737
+ z-index: 1001;
37738
+ pointer-events: none;
37739
+
37740
+ /* Add delay */
37741
+ opacity: 0;
37742
+ animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37743
+ }
37744
+
37745
+ &[title] {
37746
+ &:hover::after {
37747
+ font-family: "Poppins", sans-serif;
37748
+ font-size: 14px;
37720
37749
  }
37721
-
37722
- ${props => {
37750
+ }
37751
+
37752
+ ${props => {
37723
37753
  switch (props.$fieldType) {
37724
- case 'currency':
37754
+ case "currency":
37725
37755
  return css`
37726
- font-family: 'Poppins', sans-serif;
37727
- font-weight: 500;
37728
- `;
37729
- case 'number':
37756
+ font-family: "Poppins", sans-serif;
37757
+ font-weight: 500;
37758
+ `;
37759
+ case "number":
37730
37760
  return css`
37731
- font-family: 'Poppins', sans-serif;
37732
- //text-align: right;
37733
- `;
37761
+ font-family: "Poppins", sans-serif;
37762
+ `;
37734
37763
  default:
37735
- return '';
37764
+ return "";
37736
37765
  }
37737
37766
  }}
37738
37767
  `;
37739
37768
 
37740
37769
  // Loading skeleton styles
37741
37770
  styled.td`
37742
- padding: 12px 16px;
37743
- font-family: 'Poppins', sans-serif;
37771
+ padding: 12px 16px;
37772
+ font-family: "Poppins", sans-serif;
37744
37773
  `;
37745
37774
  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; }
37775
+ background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
37776
+ background-size: 200% 100%;
37777
+ animation: loading 1.5s infinite;
37778
+ height: 20px;
37779
+ border-radius: 4px;
37780
+ width: ${props => props.$width || "100%"};
37781
+ font-family: "Poppins", sans-serif;
37782
+
37783
+ @keyframes loading {
37784
+ 0% {
37785
+ background-position: 200% 0;
37786
+ }
37787
+ 100% {
37788
+ background-position: -200% 0;
37757
37789
  }
37790
+ }
37758
37791
  `;
37759
37792
  styled.div`
37760
- display: flex;
37761
- align-items: center;
37762
- gap: 8px;
37793
+ display: flex;
37794
+ align-items: center;
37795
+ gap: 8px;
37763
37796
  `;
37764
37797
  const ButtonWrapper = styled.div`
37765
- display: inline-block;
37766
- position: relative;
37767
-
37768
- ${tooltipStyles}
37798
+ display: inline-block;
37799
+ position: relative;
37800
+
37801
+ ${tooltipStyles}
37769
37802
  `;
37770
37803
  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}
37804
+ display: flex;
37805
+ align-items: center;
37806
+ font-weight: 500;
37807
+ gap: 8px;
37808
+ color: #5fcc70;
37809
+ user-select: none;
37810
+ position: relative;
37811
+
37812
+ ${tooltipStyles}
37781
37813
  `;
37782
37814
  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
- }
37815
+ cursor: pointer;
37816
+ transition: color 0.2s ease;
37817
+ display: inline-flex;
37818
+ align-items: center;
37819
+ justify-content: center;
37820
+ width: 100%;
37821
+ height: 100%;
37822
+ position: relative;
37823
+
37824
+ ${tooltipStyles}
37825
+
37826
+ /* Override tooltip position to move left */
37827
+ &[data-tooltip]:hover::before {
37828
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37829
+ }
37830
+
37831
+ &[data-tooltip]:hover::after {
37832
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37833
+ }
37834
+
37835
+ &:hover {
37836
+ svg path {
37837
+ fill: ${props => props.$buttonColor};
37808
37838
  }
37839
+ }
37809
37840
  `;
37810
37841
  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
- }
37842
+ display: inline-flex;
37843
+ align-items: center;
37844
+ justify-content: center;
37845
+ width: 100%;
37846
+ height: 100%;
37847
+ position: relative;
37848
+
37849
+ ${tooltipStyles}
37850
+
37851
+ /* Override tooltip position to move left */
37852
+ &[data-tooltip]:hover::before {
37853
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37854
+ }
37855
+
37856
+ &[data-tooltip]:hover::after {
37857
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37858
+ }
37859
+
37860
+ svg {
37861
+ color: #d9d9d9;
37862
+ }
37833
37863
  `;
37834
37864
 
37835
37865
  // OkIcon.jsx
@@ -37898,7 +37928,8 @@ const TableBody = /*#__PURE__*/forwardRef(({
37898
37928
  buttonColor,
37899
37929
  onDeleteClick,
37900
37930
  resetFocus = false,
37901
- onFocusChange
37931
+ onFocusChange,
37932
+ indexToShimmer = 0
37902
37933
  }, ref) => {
37903
37934
  const [hoveredRowIndex, setHoveredRowIndex] = useState(null);
37904
37935
  const [focusedRowIndex, setFocusedRowIndex] = useState(null);
@@ -38132,6 +38163,7 @@ const TableBody = /*#__PURE__*/forwardRef(({
38132
38163
  return /*#__PURE__*/React$1.createElement(StyledTableBody, null, data.map((row, rowIndex) => /*#__PURE__*/React$1.createElement(TableRow, {
38133
38164
  key: rowIndex,
38134
38165
  "data-row-index": rowIndex,
38166
+ className: indexToShimmer === rowIndex ? 'shimmer-row' : '',
38135
38167
  $isFocused: focusedRowIndex === rowIndex,
38136
38168
  onMouseEnter: () => setHoveredRowIndex(rowIndex),
38137
38169
  onMouseLeave: () => setHoveredRowIndex(null),
@@ -41366,6 +41398,7 @@ const Table = /*#__PURE__*/forwardRef((props, ref) => {
41366
41398
  showNoDataInSearch = false,
41367
41399
  noDataInSearchTitle = "No Results Found",
41368
41400
  noDataInSearchMessage = "Try to refine your query and search again",
41401
+ indexToShimmer = -1,
41369
41402
  // New props for focus management
41370
41403
  resetTableFocus = false,
41371
41404
  onTableFocusChange = () => {},
@@ -41466,6 +41499,7 @@ const Table = /*#__PURE__*/forwardRef((props, ref) => {
41466
41499
  }), columns.length > 0 && data.length > 0 && /*#__PURE__*/React$1.createElement(TableBody, {
41467
41500
  ref: tableBodyRef,
41468
41501
  columns: columns,
41502
+ indexToShimmer: indexToShimmer,
41469
41503
  data: data,
41470
41504
  onRowClick: onRowClick,
41471
41505
  onSendClick: onSendClick,