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.js CHANGED
@@ -23904,22 +23904,21 @@ const DeleteIcon = styled__default["default"].div`
23904
23904
  position: absolute;
23905
23905
  `;
23906
23906
 
23907
- const QuickFilterDropdownSingle = _ref => {
23908
- let {
23909
- label,
23910
- hoverColor,
23911
- options,
23912
- selectedValue,
23913
- placeHolder,
23914
- onChange,
23915
- disabled,
23916
- width,
23917
- error,
23918
- errorMessage,
23919
- xIconShow,
23920
- labelColor,
23921
- showLabelOnTop
23922
- } = _ref;
23907
+ const QuickFilterDropdownSingle = ({
23908
+ label,
23909
+ hoverColor,
23910
+ options,
23911
+ selectedValue,
23912
+ placeHolder,
23913
+ onChange,
23914
+ disabled,
23915
+ width,
23916
+ error,
23917
+ errorMessage,
23918
+ xIconShow,
23919
+ labelColor,
23920
+ showLabelOnTop
23921
+ }) => {
23923
23922
  const [isFocused, setIsFocused] = React$1.useState(false);
23924
23923
  const [showOptions, setShowOptions] = React$1.useState(false);
23925
23924
  const [inputValue, setInputValue] = React$1.useState("");
@@ -24316,24 +24315,23 @@ const IconContainer$2 = styled__default["default"].div`
24316
24315
  cursor: pointer;
24317
24316
  `;
24318
24317
 
24319
- const QuickFilterDropdownMultiSelection = _ref => {
24320
- let {
24321
- label,
24322
- labelEmptyValue,
24323
- options,
24324
- selectedValue,
24325
- placeHolder,
24326
- onChange,
24327
- required,
24328
- disabled,
24329
- width,
24330
- error,
24331
- errorMessage,
24332
- labelColor,
24333
- xIconShow,
24334
- checkBoxColor,
24335
- showLabelOnTop
24336
- } = _ref;
24318
+ const QuickFilterDropdownMultiSelection = ({
24319
+ label,
24320
+ labelEmptyValue,
24321
+ options,
24322
+ selectedValue,
24323
+ placeHolder,
24324
+ onChange,
24325
+ required,
24326
+ disabled,
24327
+ width,
24328
+ error,
24329
+ errorMessage,
24330
+ labelColor,
24331
+ xIconShow,
24332
+ checkBoxColor,
24333
+ showLabelOnTop
24334
+ }) => {
24337
24335
  const [isFocused, setIsFocused] = React$1.useState(false);
24338
24336
  const [showOptions, setShowOptions] = React$1.useState(false);
24339
24337
  const [inputValue, setInputValue] = React$1.useState('');
@@ -35565,9 +35563,9 @@ const ToggleSlider = styled__default["default"].span`
35565
35563
  }
35566
35564
  `;
35567
35565
 
35568
- /**
35569
- * ToggleSwitch component for on/off states.
35570
- * Supports small/large sizes and disabled state.
35566
+ /**
35567
+ * ToggleSwitch component for on/off states.
35568
+ * Supports small/large sizes and disabled state.
35571
35569
  */
35572
35570
  function ToggleSwitch(_ref) {
35573
35571
  let {
@@ -37549,94 +37547,170 @@ const TableHeader = ({
37549
37547
 
37550
37548
  // Shared tooltip styles
37551
37549
  const tooltipStyles = styled.css`
37552
- /* CSS-only tooltip */
37553
- &[data-tooltip]:hover::before {
37554
- content: attr(data-tooltip);
37555
- position: fixed;
37556
- background-color: white;
37557
- color: #333;
37558
- padding: 10px 16px;
37559
- border-radius: 4px;
37560
- font-family: 'Poppins', sans-serif;
37561
- font-size: 14px;
37562
- font-weight: 400;
37563
- z-index: 1000;
37564
- pointer-events: none;
37565
- width: 200px;
37566
- white-space: pre-wrap;
37567
- word-wrap: break-word;
37568
- line-height: 1.8;
37569
- box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.15);
37570
-
37571
- /* Position above the element - using dynamic offset */
37572
- top: calc(var(--tooltip-top, 0px) - var(--tooltip-offset, 60px));
37573
- left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2);
37574
- transform: translateX(-50%);
37575
-
37576
- /* Add delay */
37577
- opacity: 0;
37578
- animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37550
+ /* CSS-only tooltip */
37551
+ &[data-tooltip]:hover::before {
37552
+ content: attr(data-tooltip);
37553
+ position: fixed;
37554
+ background-color: white;
37555
+ color: #333;
37556
+ padding: 10px 16px;
37557
+ border-radius: 4px;
37558
+ font-family: "Poppins", sans-serif;
37559
+ font-size: 14px;
37560
+ font-weight: 400;
37561
+ z-index: 1000;
37562
+ pointer-events: none;
37563
+ width: 200px;
37564
+ white-space: pre-wrap;
37565
+ word-wrap: break-word;
37566
+ line-height: 1.8;
37567
+ box-shadow:
37568
+ 0 -2px 8px rgba(0, 0, 0, 0.15),
37569
+ 0 2px 8px rgba(0, 0, 0, 0.15);
37570
+
37571
+ /* Position above the element - using dynamic offset */
37572
+ top: calc(var(--tooltip-top, 0px) - var(--tooltip-offset, 60px));
37573
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2);
37574
+ transform: translateX(-50%);
37575
+
37576
+ /* Add delay */
37577
+ opacity: 0;
37578
+ animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37579
+ }
37580
+
37581
+ /* Tooltip arrow */
37582
+ &[data-tooltip]:hover::after {
37583
+ content: "";
37584
+ position: fixed;
37585
+ top: calc(
37586
+ var(--tooltip-top, 0px) - var(--tooltip-offset, 60px) +
37587
+ var(--tooltip-height, 50px)
37588
+ ); /* Use estimated tooltip height */
37589
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2);
37590
+ transform: translateX(-50%);
37591
+ border: 8px solid transparent;
37592
+ border-top-color: white;
37593
+ z-index: 1001;
37594
+ pointer-events: none;
37595
+
37596
+ /* Add delay */
37597
+ opacity: 0;
37598
+ animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37599
+ }
37600
+
37601
+ @keyframes showTooltip {
37602
+ to {
37603
+ opacity: 1;
37579
37604
  }
37580
-
37581
- /* Tooltip arrow */
37582
- &[data-tooltip]:hover::after {
37583
- content: '';
37584
- position: fixed;
37585
- top: calc(var(--tooltip-top, 0px) - var(--tooltip-offset, 60px) + var(--tooltip-height, 50px)); /* Use estimated tooltip height */
37586
- left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2);
37587
- transform: translateX(-50%);
37588
- border: 8px solid transparent;
37589
- border-top-color: white;
37590
- z-index: 1001;
37591
- pointer-events: none;
37592
-
37593
- /* Add delay */
37594
- opacity: 0;
37595
- animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37605
+ }
37606
+ `;
37607
+
37608
+ // Simple new row highlight animation
37609
+ const shimmerAnimation = styled.css`
37610
+ @keyframes newRowHighlight {
37611
+ 0% {
37612
+ background-color: #ffffff;
37613
+ border-left-color: transparent;
37596
37614
  }
37597
-
37598
- @keyframes showTooltip {
37599
- to {
37600
- opacity: 1;
37601
- }
37615
+ 15% {
37616
+ background-color: #f0f8f0;
37617
+ border-left-color: #5fcc70;
37618
+ }
37619
+ 85% {
37620
+ background-color: #f0f8f0;
37621
+ border-left-color: #5fcc70;
37602
37622
  }
37623
+ 100% {
37624
+ background-color: #ffffff;
37625
+ border-left-color: transparent;
37626
+ }
37627
+ }
37603
37628
  `;
37604
37629
  const StyledTableBody = styled__default["default"].tbody`
37605
- background-color: white;
37606
- font-family: 'Poppins', sans-serif;
37607
- position: relative;
37630
+ background-color: white;
37631
+ font-family: "Poppins", sans-serif;
37632
+ position: relative;
37608
37633
  `;
37609
37634
  const TableRow = styled__default["default"].tr`
37610
- border-bottom: 1px solid #F2F2F2;
37611
- transition: background-color 0.2s;
37612
- font-family: 'Poppins', sans-serif;
37613
- cursor: pointer;
37614
-
37615
- &:hover {
37616
- background-color: #E6F0F0;
37617
- }
37618
-
37619
- /* Focus state - persistent until another row is clicked */
37620
- ${props => props.$isFocused && styled.css`
37621
- background-color: #D1E7E7;
37622
- border-left: 3px solid #066768;
37623
-
37624
- &:hover {
37625
- background-color: #C1D7D7;
37626
- }
37627
- `}
37628
-
37629
- &:last-child {
37630
- border-bottom: none;
37631
- }
37635
+ border-bottom: 1px solid #f2f2f2;
37636
+ transition: all 0.3s ease;
37637
+ font-family: "Poppins", sans-serif;
37638
+ position: relative;
37639
+
37640
+ &:hover {
37641
+ background-color: #e6f0f0;
37642
+ }
37643
+
37644
+ &:last-child {
37645
+ border-bottom: none;
37646
+ }
37647
+
37648
+ /* Simple new row highlight */
37649
+ &.shimmer-row {
37650
+ border-left: 3px solid transparent;
37651
+ animation: newRowHighlight 3s ease-out;
37652
+ animation-fill-mode: both;
37653
+ }
37654
+
37655
+ ${shimmerAnimation}
37632
37656
  `;
37633
37657
  styled__default["default"].div`
37658
+ position: absolute;
37659
+ background-color: white;
37660
+ color: #333;
37661
+ padding: 10px 16px;
37662
+ border-radius: 4px;
37663
+ font-family: "Poppins", sans-serif;
37664
+ font-size: 14px;
37665
+ font-weight: 400;
37666
+ z-index: 1000;
37667
+ pointer-events: none;
37668
+ width: 200px;
37669
+ white-space: pre-wrap;
37670
+ word-wrap: break-word;
37671
+ line-height: 1.8;
37672
+ box-shadow:
37673
+ 0 -2px 8px rgba(0, 0, 0, 0.15),
37674
+ 0 2px 8px rgba(0, 0, 0, 0.15);
37675
+ transform: translate(-50%, -100%);
37676
+
37677
+ &::after {
37678
+ content: "";
37634
37679
  position: absolute;
37680
+ top: 100%;
37681
+ left: 50%;
37682
+ transform: translateX(-50%);
37683
+ border: 8px solid transparent;
37684
+ border-top-color: white;
37685
+ }
37686
+ `;
37687
+ const TableCell = styled__default["default"].td`
37688
+ padding: 12px 16px;
37689
+ color: ${props => props.$color || "#212121"};
37690
+ font-size: 14px;
37691
+ font-weight: 400;
37692
+ font-family: "Poppins", sans-serif;
37693
+ line-height: 30px;
37694
+ height: 32px;
37695
+ vertical-align: middle;
37696
+ white-space: nowrap;
37697
+ overflow: hidden;
37698
+ text-overflow: ellipsis;
37699
+ min-width: ${props => props.$minWidth || "80px"};
37700
+ max-width: ${props => props.$maxWidth || "300px"};
37701
+ width: auto;
37702
+ position: relative;
37703
+ transition: all 0.3s ease;
37704
+
37705
+ /* CSS-only tooltip */
37706
+ &[data-tooltip]:hover::before {
37707
+ content: attr(data-tooltip);
37708
+ position: fixed;
37635
37709
  background-color: white;
37636
37710
  color: #333;
37637
37711
  padding: 10px 16px;
37638
37712
  border-radius: 4px;
37639
- font-family: 'Poppins', sans-serif;
37713
+ font-family: "Poppins", sans-serif;
37640
37714
  font-size: 14px;
37641
37715
  font-weight: 400;
37642
37716
  z-index: 1000;
@@ -37645,201 +37719,157 @@ styled__default["default"].div`
37645
37719
  white-space: pre-wrap;
37646
37720
  word-wrap: break-word;
37647
37721
  line-height: 1.8;
37648
- // box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
37649
- box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.15);
37650
- transform: translate(-50%, -100%);
37722
+ box-shadow:
37723
+ 0 -2px 8px rgba(0, 0, 0, 0.15),
37724
+ 0 2px 8px rgba(0, 0, 0, 0.15);
37651
37725
 
37652
- &::after {
37653
- content: '';
37654
- position: absolute;
37655
- top: 100%;
37656
- left: 50%;
37657
- transform: translateX(-50%);
37658
- border: 8px solid transparent;
37659
- border-top-color: white;
37660
- }
37661
- `;
37662
- const TableCell = styled__default["default"].td`
37663
- padding: 12px 16px;
37664
- color: ${props => props.$color || '#212121'};
37665
- font-size: 14px;
37666
- font-weight: 400;
37667
- font-family: 'Poppins', sans-serif;
37668
- line-height: 30px;
37669
- height: 32px; // Add this to force consistent height
37670
- vertical-align: middle; // Add this to center content vertically
37671
- white-space: nowrap;
37672
- overflow: hidden;
37673
- text-overflow: ellipsis;
37674
- min-width: ${props => props.$minWidth || '80px'};
37675
- max-width: ${props => props.$maxWidth || '300px'};
37676
- width: auto;
37677
- position: relative;
37678
-
37679
- /* CSS-only tooltip */
37680
- &[data-tooltip]:hover::before {
37681
- content: attr(data-tooltip);
37682
- position: fixed;
37683
- background-color: white;
37684
- color: #333;
37685
- padding: 10px 16px;
37686
- border-radius: 4px;
37687
- font-family: 'Poppins', sans-serif;
37688
- font-size: 14px;
37689
- font-weight: 400;
37690
- z-index: 1000;
37691
- pointer-events: none;
37692
- width: 200px;
37693
- white-space: pre-wrap;
37694
- word-wrap: break-word;
37695
- line-height: 1.8;
37696
- box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.15);
37697
-
37698
- /* Position above the element - using dynamic offset */
37699
- top: calc(var(--cell-top, 0px) - var(--cell-offset, 40px));
37700
- left: calc(var(--cell-left, 0px) + var(--cell-width, 0px) / 2);
37701
- transform: translateX(-50%);
37702
-
37703
- /* Add delay */
37704
- opacity: 0;
37705
- animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37706
- }
37707
-
37708
- /* Tooltip arrow */
37709
- &[data-tooltip]:hover::after {
37710
- content: '';
37711
- position: fixed;
37712
- top: calc(var(--cell-top, 0px) - var(--cell-offset, 40px) + var(--cell-height, 50px));
37713
- left: calc(var(--cell-left, 0px) + var(--cell-width, 0px) / 2);
37714
- transform: translateX(-50%);
37715
- border: 8px solid transparent;
37716
- border-top-color: white;
37717
- z-index: 1001;
37718
- pointer-events: none;
37719
-
37720
- /* Add delay */
37721
- opacity: 0;
37722
- animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37723
- }
37724
-
37725
- &[title] {
37726
- &:hover::after {
37727
- font-family: 'Poppins', sans-serif;
37728
- font-size: 14px;
37729
- }
37726
+ /* Position above the element - using dynamic offset */
37727
+ top: calc(var(--cell-top, 0px) - var(--cell-offset, 40px));
37728
+ left: calc(var(--cell-left, 0px) + var(--cell-width, 0px) / 2);
37729
+ transform: translateX(-50%);
37730
+
37731
+ /* Add delay */
37732
+ opacity: 0;
37733
+ animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37734
+ }
37735
+
37736
+ /* Tooltip arrow */
37737
+ &[data-tooltip]:hover::after {
37738
+ content: "";
37739
+ position: fixed;
37740
+ top: calc(
37741
+ var(--cell-top, 0px) - var(--cell-offset, 40px) + var(--cell-height, 50px)
37742
+ );
37743
+ left: calc(var(--cell-left, 0px) + var(--cell-width, 0px) / 2);
37744
+ transform: translateX(-50%);
37745
+ border: 8px solid transparent;
37746
+ border-top-color: white;
37747
+ z-index: 1001;
37748
+ pointer-events: none;
37749
+
37750
+ /* Add delay */
37751
+ opacity: 0;
37752
+ animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37753
+ }
37754
+
37755
+ &[title] {
37756
+ &:hover::after {
37757
+ font-family: "Poppins", sans-serif;
37758
+ font-size: 14px;
37730
37759
  }
37731
-
37732
- ${props => {
37760
+ }
37761
+
37762
+ ${props => {
37733
37763
  switch (props.$fieldType) {
37734
- case 'currency':
37764
+ case "currency":
37735
37765
  return styled.css`
37736
- font-family: 'Poppins', sans-serif;
37737
- font-weight: 500;
37738
- `;
37739
- case 'number':
37766
+ font-family: "Poppins", sans-serif;
37767
+ font-weight: 500;
37768
+ `;
37769
+ case "number":
37740
37770
  return styled.css`
37741
- font-family: 'Poppins', sans-serif;
37742
- //text-align: right;
37743
- `;
37771
+ font-family: "Poppins", sans-serif;
37772
+ `;
37744
37773
  default:
37745
- return '';
37774
+ return "";
37746
37775
  }
37747
37776
  }}
37748
37777
  `;
37749
37778
 
37750
37779
  // Loading skeleton styles
37751
37780
  styled__default["default"].td`
37752
- padding: 12px 16px;
37753
- font-family: 'Poppins', sans-serif;
37781
+ padding: 12px 16px;
37782
+ font-family: "Poppins", sans-serif;
37754
37783
  `;
37755
37784
  styled__default["default"].div`
37756
- background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
37757
- background-size: 200% 100%;
37758
- animation: loading 1.5s infinite;
37759
- height: 20px;
37760
- border-radius: 4px;
37761
- width: ${props => props.$width || '100%'};
37762
- font-family: 'Poppins', sans-serif;
37763
-
37764
- @keyframes loading {
37765
- 0% { background-position: 200% 0; }
37766
- 100% { background-position: -200% 0; }
37785
+ background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
37786
+ background-size: 200% 100%;
37787
+ animation: loading 1.5s infinite;
37788
+ height: 20px;
37789
+ border-radius: 4px;
37790
+ width: ${props => props.$width || "100%"};
37791
+ font-family: "Poppins", sans-serif;
37792
+
37793
+ @keyframes loading {
37794
+ 0% {
37795
+ background-position: 200% 0;
37796
+ }
37797
+ 100% {
37798
+ background-position: -200% 0;
37767
37799
  }
37800
+ }
37768
37801
  `;
37769
37802
  styled__default["default"].div`
37770
- display: flex;
37771
- align-items: center;
37772
- gap: 8px;
37803
+ display: flex;
37804
+ align-items: center;
37805
+ gap: 8px;
37773
37806
  `;
37774
37807
  const ButtonWrapper = styled__default["default"].div`
37775
- display: inline-block;
37776
- position: relative;
37777
-
37778
- ${tooltipStyles}
37808
+ display: inline-block;
37809
+ position: relative;
37810
+
37811
+ ${tooltipStyles}
37779
37812
  `;
37780
37813
  const SentStatus = styled__default["default"].div`
37781
- display: flex;
37782
- align-items: center;
37783
- font-weight: 500;
37784
- gap: 8px;
37785
- color: #5FCC70;
37786
- //padding: 4px 8px;
37787
- user-select: none;
37788
- position: relative;
37789
-
37790
- ${tooltipStyles}
37814
+ display: flex;
37815
+ align-items: center;
37816
+ font-weight: 500;
37817
+ gap: 8px;
37818
+ color: #5fcc70;
37819
+ user-select: none;
37820
+ position: relative;
37821
+
37822
+ ${tooltipStyles}
37791
37823
  `;
37792
37824
  const TrashIconWrapper = styled__default["default"].div`
37793
- cursor: pointer;
37794
- transition: color 0.2s ease;
37795
- display: inline-flex;
37796
- align-items: center;
37797
- justify-content: center;
37798
- width: 100%;
37799
- height: 100%;
37800
- position: relative;
37801
- //transform: translateY(5px);
37802
-
37803
- ${tooltipStyles}
37804
-
37805
- /* Override tooltip position to move left */
37806
- &[data-tooltip]:hover::before {
37807
- left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37808
- }
37809
-
37810
- &[data-tooltip]:hover::after {
37811
- left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37812
- }
37813
-
37814
- &:hover {
37815
- svg path {
37816
- fill: ${props => props.$buttonColor};
37817
- }
37825
+ cursor: pointer;
37826
+ transition: color 0.2s ease;
37827
+ display: inline-flex;
37828
+ align-items: center;
37829
+ justify-content: center;
37830
+ width: 100%;
37831
+ height: 100%;
37832
+ position: relative;
37833
+
37834
+ ${tooltipStyles}
37835
+
37836
+ /* Override tooltip position to move left */
37837
+ &[data-tooltip]:hover::before {
37838
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37839
+ }
37840
+
37841
+ &[data-tooltip]:hover::after {
37842
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37843
+ }
37844
+
37845
+ &:hover {
37846
+ svg path {
37847
+ fill: ${props => props.$buttonColor};
37818
37848
  }
37849
+ }
37819
37850
  `;
37820
37851
  const DisabledTrashIconWrapper = styled__default["default"].div`
37821
- display: inline-flex;
37822
- align-items: center;
37823
- justify-content: center;
37824
- width: 100%;
37825
- height: 100%;
37826
- position: relative;
37827
- //transform: translateY(5px);
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
- svg {
37841
- color: #D9D9D9;
37842
- }
37852
+ display: inline-flex;
37853
+ align-items: center;
37854
+ justify-content: center;
37855
+ width: 100%;
37856
+ height: 100%;
37857
+ position: relative;
37858
+
37859
+ ${tooltipStyles}
37860
+
37861
+ /* Override tooltip position to move left */
37862
+ &[data-tooltip]:hover::before {
37863
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37864
+ }
37865
+
37866
+ &[data-tooltip]:hover::after {
37867
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37868
+ }
37869
+
37870
+ svg {
37871
+ color: #d9d9d9;
37872
+ }
37843
37873
  `;
37844
37874
 
37845
37875
  // OkIcon.jsx
@@ -37908,7 +37938,8 @@ const TableBody = /*#__PURE__*/React$1.forwardRef(({
37908
37938
  buttonColor,
37909
37939
  onDeleteClick,
37910
37940
  resetFocus = false,
37911
- onFocusChange
37941
+ onFocusChange,
37942
+ indexToShimmer = 0
37912
37943
  }, ref) => {
37913
37944
  const [hoveredRowIndex, setHoveredRowIndex] = React$1.useState(null);
37914
37945
  const [focusedRowIndex, setFocusedRowIndex] = React$1.useState(null);
@@ -38142,6 +38173,7 @@ const TableBody = /*#__PURE__*/React$1.forwardRef(({
38142
38173
  return /*#__PURE__*/React__default["default"].createElement(StyledTableBody, null, data.map((row, rowIndex) => /*#__PURE__*/React__default["default"].createElement(TableRow, {
38143
38174
  key: rowIndex,
38144
38175
  "data-row-index": rowIndex,
38176
+ className: indexToShimmer === rowIndex ? 'shimmer-row' : '',
38145
38177
  $isFocused: focusedRowIndex === rowIndex,
38146
38178
  onMouseEnter: () => setHoveredRowIndex(rowIndex),
38147
38179
  onMouseLeave: () => setHoveredRowIndex(null),
@@ -41376,6 +41408,7 @@ const Table = /*#__PURE__*/React$1.forwardRef((props, ref) => {
41376
41408
  showNoDataInSearch = false,
41377
41409
  noDataInSearchTitle = "No Results Found",
41378
41410
  noDataInSearchMessage = "Try to refine your query and search again",
41411
+ indexToShimmer = -1,
41379
41412
  // New props for focus management
41380
41413
  resetTableFocus = false,
41381
41414
  onTableFocusChange = () => {},
@@ -41476,6 +41509,7 @@ const Table = /*#__PURE__*/React$1.forwardRef((props, ref) => {
41476
41509
  }), columns.length > 0 && data.length > 0 && /*#__PURE__*/React__default["default"].createElement(TableBody, {
41477
41510
  ref: tableBodyRef,
41478
41511
  columns: columns,
41512
+ indexToShimmer: indexToShimmer,
41479
41513
  data: data,
41480
41514
  onRowClick: onRowClick,
41481
41515
  onSendClick: onSendClick,