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.js CHANGED
@@ -9883,20 +9883,21 @@ const DatePicker = ({
9883
9883
  };
9884
9884
 
9885
9885
  /* eslint-disable import/no-extraneous-dependencies */
9886
- const RangePicker = ({
9887
- label,
9888
- onChange,
9889
- borderRadius,
9890
- required,
9891
- width,
9892
- height,
9893
- placeholder,
9894
- disabled,
9895
- borderColor,
9896
- borderColorFocus,
9897
- textColor,
9898
- selectedValue
9899
- }) => {
9886
+ const RangePicker = _ref => {
9887
+ let {
9888
+ label,
9889
+ onChange,
9890
+ borderRadius,
9891
+ required,
9892
+ width,
9893
+ height,
9894
+ placeholder,
9895
+ disabled,
9896
+ borderColor,
9897
+ borderColorFocus,
9898
+ textColor,
9899
+ selectedValue
9900
+ } = _ref;
9900
9901
  const [isFocused, setIsFocused] = React$1.useState(false);
9901
9902
  const [isOpen, setIsOpen] = React$1.useState(false);
9902
9903
  const [value, setValue] = React$1.useState(''); // Added value state
@@ -10320,23 +10321,24 @@ const QuarterPopupPicker = ({
10320
10321
  };
10321
10322
 
10322
10323
  /* eslint-disable import/no-extraneous-dependencies */
10323
- const QuarterPicker = ({
10324
- availableQuarters,
10325
- // ["Q1-2024"]
10326
- label,
10327
- onChange,
10328
- borderRadius,
10329
- required,
10330
- width,
10331
- height,
10332
- placeholder,
10333
- disabled,
10334
- borderColor,
10335
- borderColorFocus,
10336
- textColor,
10337
- selectedValue,
10338
- startYear
10339
- }) => {
10324
+ const QuarterPicker = _ref => {
10325
+ let {
10326
+ availableQuarters,
10327
+ // ["Q1-2024"]
10328
+ label,
10329
+ onChange,
10330
+ borderRadius,
10331
+ required,
10332
+ width,
10333
+ height,
10334
+ placeholder,
10335
+ disabled,
10336
+ borderColor,
10337
+ borderColorFocus,
10338
+ textColor,
10339
+ selectedValue,
10340
+ startYear
10341
+ } = _ref;
10340
10342
  const [isFocused, setIsFocused] = React$1.useState(false);
10341
10343
  const [isOpen, setIsOpen] = React$1.useState(false);
10342
10344
  const [value, setValue] = React$1.useState('');
@@ -10778,22 +10780,23 @@ const MonthPopupPicker = ({
10778
10780
  };
10779
10781
 
10780
10782
  /* eslint-disable import/no-extraneous-dependencies */
10781
- const MonthPicker = ({
10782
- availableMonths,
10783
- label,
10784
- onChange,
10785
- borderRadius,
10786
- required,
10787
- width,
10788
- height,
10789
- placeholder,
10790
- disabled,
10791
- borderColor,
10792
- borderColorFocus,
10793
- textColor,
10794
- selectedValue,
10795
- startYear
10796
- }) => {
10783
+ const MonthPicker = _ref => {
10784
+ let {
10785
+ availableMonths,
10786
+ label,
10787
+ onChange,
10788
+ borderRadius,
10789
+ required,
10790
+ width,
10791
+ height,
10792
+ placeholder,
10793
+ disabled,
10794
+ borderColor,
10795
+ borderColorFocus,
10796
+ textColor,
10797
+ selectedValue,
10798
+ startYear
10799
+ } = _ref;
10797
10800
  const [isFocused, setIsFocused] = React$1.useState(false);
10798
10801
  const [isOpen, setIsOpen] = React$1.useState(false);
10799
10802
  const [value, setValue] = React$1.useState('');
@@ -34346,7 +34349,7 @@ const Modal = styled__default["default"].div`
34346
34349
  display: flex;
34347
34350
  gap: 20px;
34348
34351
  padding: 20px;
34349
- margin-top: 40px;
34352
+ margin-top: -30px;
34350
34353
  flex-direction: column;
34351
34354
  background-color: white;
34352
34355
  border-radius: 12px;
@@ -37549,94 +37552,170 @@ const TableHeader = ({
37549
37552
 
37550
37553
  // Shared tooltip styles
37551
37554
  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;
37555
+ /* CSS-only tooltip */
37556
+ &[data-tooltip]:hover::before {
37557
+ content: attr(data-tooltip);
37558
+ position: fixed;
37559
+ background-color: white;
37560
+ color: #333;
37561
+ padding: 10px 16px;
37562
+ border-radius: 4px;
37563
+ font-family: "Poppins", sans-serif;
37564
+ font-size: 14px;
37565
+ font-weight: 400;
37566
+ z-index: 1000;
37567
+ pointer-events: none;
37568
+ width: 200px;
37569
+ white-space: pre-wrap;
37570
+ word-wrap: break-word;
37571
+ line-height: 1.8;
37572
+ box-shadow:
37573
+ 0 -2px 8px rgba(0, 0, 0, 0.15),
37574
+ 0 2px 8px rgba(0, 0, 0, 0.15);
37575
+
37576
+ /* Position above the element - using dynamic offset */
37577
+ top: calc(var(--tooltip-top, 0px) - var(--tooltip-offset, 60px));
37578
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2);
37579
+ transform: translateX(-50%);
37580
+
37581
+ /* Add delay */
37582
+ opacity: 0;
37583
+ animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37584
+ }
37585
+
37586
+ /* Tooltip arrow */
37587
+ &[data-tooltip]:hover::after {
37588
+ content: "";
37589
+ position: fixed;
37590
+ top: calc(
37591
+ var(--tooltip-top, 0px) - var(--tooltip-offset, 60px) +
37592
+ var(--tooltip-height, 50px)
37593
+ ); /* Use estimated tooltip height */
37594
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2);
37595
+ transform: translateX(-50%);
37596
+ border: 8px solid transparent;
37597
+ border-top-color: white;
37598
+ z-index: 1001;
37599
+ pointer-events: none;
37600
+
37601
+ /* Add delay */
37602
+ opacity: 0;
37603
+ animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37604
+ }
37605
+
37606
+ @keyframes showTooltip {
37607
+ to {
37608
+ opacity: 1;
37579
37609
  }
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;
37610
+ }
37611
+ `;
37612
+
37613
+ // Simple new row highlight animation
37614
+ const shimmerAnimation = styled.css`
37615
+ @keyframes newRowHighlight {
37616
+ 0% {
37617
+ background-color: #ffffff;
37618
+ border-left-color: transparent;
37596
37619
  }
37597
-
37598
- @keyframes showTooltip {
37599
- to {
37600
- opacity: 1;
37601
- }
37620
+ 15% {
37621
+ background-color: #f0f8f0;
37622
+ border-left-color: #5fcc70;
37602
37623
  }
37624
+ 85% {
37625
+ background-color: #f0f8f0;
37626
+ border-left-color: #5fcc70;
37627
+ }
37628
+ 100% {
37629
+ background-color: #ffffff;
37630
+ border-left-color: transparent;
37631
+ }
37632
+ }
37603
37633
  `;
37604
37634
  const StyledTableBody = styled__default["default"].tbody`
37605
- background-color: white;
37606
- font-family: 'Poppins', sans-serif;
37607
- position: relative;
37635
+ background-color: white;
37636
+ font-family: "Poppins", sans-serif;
37637
+ position: relative;
37608
37638
  `;
37609
37639
  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
- }
37640
+ border-bottom: 1px solid #f2f2f2;
37641
+ transition: all 0.3s ease;
37642
+ font-family: "Poppins", sans-serif;
37643
+ position: relative;
37644
+
37645
+ &:hover {
37646
+ background-color: #e6f0f0;
37647
+ }
37648
+
37649
+ &:last-child {
37650
+ border-bottom: none;
37651
+ }
37652
+
37653
+ /* Simple new row highlight */
37654
+ &.shimmer-row {
37655
+ border-left: 3px solid transparent;
37656
+ animation: newRowHighlight 3s ease-out;
37657
+ animation-fill-mode: both;
37658
+ }
37659
+
37660
+ ${shimmerAnimation}
37632
37661
  `;
37633
37662
  styled__default["default"].div`
37663
+ position: absolute;
37664
+ background-color: white;
37665
+ color: #333;
37666
+ padding: 10px 16px;
37667
+ border-radius: 4px;
37668
+ font-family: "Poppins", sans-serif;
37669
+ font-size: 14px;
37670
+ font-weight: 400;
37671
+ z-index: 1000;
37672
+ pointer-events: none;
37673
+ width: 200px;
37674
+ white-space: pre-wrap;
37675
+ word-wrap: break-word;
37676
+ line-height: 1.8;
37677
+ box-shadow:
37678
+ 0 -2px 8px rgba(0, 0, 0, 0.15),
37679
+ 0 2px 8px rgba(0, 0, 0, 0.15);
37680
+ transform: translate(-50%, -100%);
37681
+
37682
+ &::after {
37683
+ content: "";
37634
37684
  position: absolute;
37685
+ top: 100%;
37686
+ left: 50%;
37687
+ transform: translateX(-50%);
37688
+ border: 8px solid transparent;
37689
+ border-top-color: white;
37690
+ }
37691
+ `;
37692
+ const TableCell = styled__default["default"].td`
37693
+ padding: 12px 16px;
37694
+ color: ${props => props.$color || "#212121"};
37695
+ font-size: 14px;
37696
+ font-weight: 400;
37697
+ font-family: "Poppins", sans-serif;
37698
+ line-height: 30px;
37699
+ height: 32px;
37700
+ vertical-align: middle;
37701
+ white-space: nowrap;
37702
+ overflow: hidden;
37703
+ text-overflow: ellipsis;
37704
+ min-width: ${props => props.$minWidth || "80px"};
37705
+ max-width: ${props => props.$maxWidth || "300px"};
37706
+ width: auto;
37707
+ position: relative;
37708
+ transition: all 0.3s ease;
37709
+
37710
+ /* CSS-only tooltip */
37711
+ &[data-tooltip]:hover::before {
37712
+ content: attr(data-tooltip);
37713
+ position: fixed;
37635
37714
  background-color: white;
37636
37715
  color: #333;
37637
37716
  padding: 10px 16px;
37638
37717
  border-radius: 4px;
37639
- font-family: 'Poppins', sans-serif;
37718
+ font-family: "Poppins", sans-serif;
37640
37719
  font-size: 14px;
37641
37720
  font-weight: 400;
37642
37721
  z-index: 1000;
@@ -37645,201 +37724,157 @@ styled__default["default"].div`
37645
37724
  white-space: pre-wrap;
37646
37725
  word-wrap: break-word;
37647
37726
  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%);
37727
+ box-shadow:
37728
+ 0 -2px 8px rgba(0, 0, 0, 0.15),
37729
+ 0 2px 8px rgba(0, 0, 0, 0.15);
37651
37730
 
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
- }
37731
+ /* Position above the element - using dynamic offset */
37732
+ top: calc(var(--cell-top, 0px) - var(--cell-offset, 40px));
37733
+ left: calc(var(--cell-left, 0px) + var(--cell-width, 0px) / 2);
37734
+ transform: translateX(-50%);
37735
+
37736
+ /* Add delay */
37737
+ opacity: 0;
37738
+ animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37739
+ }
37740
+
37741
+ /* Tooltip arrow */
37742
+ &[data-tooltip]:hover::after {
37743
+ content: "";
37744
+ position: fixed;
37745
+ top: calc(
37746
+ var(--cell-top, 0px) - var(--cell-offset, 40px) + var(--cell-height, 50px)
37747
+ );
37748
+ left: calc(var(--cell-left, 0px) + var(--cell-width, 0px) / 2);
37749
+ transform: translateX(-50%);
37750
+ border: 8px solid transparent;
37751
+ border-top-color: white;
37752
+ z-index: 1001;
37753
+ pointer-events: none;
37754
+
37755
+ /* Add delay */
37756
+ opacity: 0;
37757
+ animation: showTooltip 0.3s ease-in-out 0.5s forwards;
37758
+ }
37759
+
37760
+ &[title] {
37761
+ &:hover::after {
37762
+ font-family: "Poppins", sans-serif;
37763
+ font-size: 14px;
37730
37764
  }
37731
-
37732
- ${props => {
37765
+ }
37766
+
37767
+ ${props => {
37733
37768
  switch (props.$fieldType) {
37734
- case 'currency':
37769
+ case "currency":
37735
37770
  return styled.css`
37736
- font-family: 'Poppins', sans-serif;
37737
- font-weight: 500;
37738
- `;
37739
- case 'number':
37771
+ font-family: "Poppins", sans-serif;
37772
+ font-weight: 500;
37773
+ `;
37774
+ case "number":
37740
37775
  return styled.css`
37741
- font-family: 'Poppins', sans-serif;
37742
- //text-align: right;
37743
- `;
37776
+ font-family: "Poppins", sans-serif;
37777
+ `;
37744
37778
  default:
37745
- return '';
37779
+ return "";
37746
37780
  }
37747
37781
  }}
37748
37782
  `;
37749
37783
 
37750
37784
  // Loading skeleton styles
37751
37785
  styled__default["default"].td`
37752
- padding: 12px 16px;
37753
- font-family: 'Poppins', sans-serif;
37786
+ padding: 12px 16px;
37787
+ font-family: "Poppins", sans-serif;
37754
37788
  `;
37755
37789
  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; }
37790
+ background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
37791
+ background-size: 200% 100%;
37792
+ animation: loading 1.5s infinite;
37793
+ height: 20px;
37794
+ border-radius: 4px;
37795
+ width: ${props => props.$width || "100%"};
37796
+ font-family: "Poppins", sans-serif;
37797
+
37798
+ @keyframes loading {
37799
+ 0% {
37800
+ background-position: 200% 0;
37801
+ }
37802
+ 100% {
37803
+ background-position: -200% 0;
37767
37804
  }
37805
+ }
37768
37806
  `;
37769
37807
  styled__default["default"].div`
37770
- display: flex;
37771
- align-items: center;
37772
- gap: 8px;
37808
+ display: flex;
37809
+ align-items: center;
37810
+ gap: 8px;
37773
37811
  `;
37774
37812
  const ButtonWrapper = styled__default["default"].div`
37775
- display: inline-block;
37776
- position: relative;
37777
-
37778
- ${tooltipStyles}
37813
+ display: inline-block;
37814
+ position: relative;
37815
+
37816
+ ${tooltipStyles}
37779
37817
  `;
37780
37818
  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}
37819
+ display: flex;
37820
+ align-items: center;
37821
+ font-weight: 500;
37822
+ gap: 8px;
37823
+ color: #5fcc70;
37824
+ user-select: none;
37825
+ position: relative;
37826
+
37827
+ ${tooltipStyles}
37791
37828
  `;
37792
37829
  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
- }
37830
+ cursor: pointer;
37831
+ transition: color 0.2s ease;
37832
+ display: inline-flex;
37833
+ align-items: center;
37834
+ justify-content: center;
37835
+ width: 100%;
37836
+ height: 100%;
37837
+ position: relative;
37838
+
37839
+ ${tooltipStyles}
37840
+
37841
+ /* Override tooltip position to move left */
37842
+ &[data-tooltip]:hover::before {
37843
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37844
+ }
37845
+
37846
+ &[data-tooltip]:hover::after {
37847
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37848
+ }
37849
+
37850
+ &:hover {
37851
+ svg path {
37852
+ fill: ${props => props.$buttonColor};
37818
37853
  }
37854
+ }
37819
37855
  `;
37820
37856
  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
- }
37857
+ display: inline-flex;
37858
+ align-items: center;
37859
+ justify-content: center;
37860
+ width: 100%;
37861
+ height: 100%;
37862
+ position: relative;
37863
+
37864
+ ${tooltipStyles}
37865
+
37866
+ /* Override tooltip position to move left */
37867
+ &[data-tooltip]:hover::before {
37868
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37869
+ }
37870
+
37871
+ &[data-tooltip]:hover::after {
37872
+ left: calc(var(--tooltip-left, 0px) + var(--tooltip-width, 0px) / 2 - 50px);
37873
+ }
37874
+
37875
+ svg {
37876
+ color: #d9d9d9;
37877
+ }
37843
37878
  `;
37844
37879
 
37845
37880
  // OkIcon.jsx
@@ -37908,7 +37943,8 @@ const TableBody = /*#__PURE__*/React$1.forwardRef(({
37908
37943
  buttonColor,
37909
37944
  onDeleteClick,
37910
37945
  resetFocus = false,
37911
- onFocusChange
37946
+ onFocusChange,
37947
+ indexToShimmer = 0
37912
37948
  }, ref) => {
37913
37949
  const [hoveredRowIndex, setHoveredRowIndex] = React$1.useState(null);
37914
37950
  const [focusedRowIndex, setFocusedRowIndex] = React$1.useState(null);
@@ -38142,6 +38178,7 @@ const TableBody = /*#__PURE__*/React$1.forwardRef(({
38142
38178
  return /*#__PURE__*/React__default["default"].createElement(StyledTableBody, null, data.map((row, rowIndex) => /*#__PURE__*/React__default["default"].createElement(TableRow, {
38143
38179
  key: rowIndex,
38144
38180
  "data-row-index": rowIndex,
38181
+ className: indexToShimmer === rowIndex ? 'shimmer-row' : '',
38145
38182
  $isFocused: focusedRowIndex === rowIndex,
38146
38183
  onMouseEnter: () => setHoveredRowIndex(rowIndex),
38147
38184
  onMouseLeave: () => setHoveredRowIndex(null),
@@ -38174,9 +38211,6 @@ const TableBody = /*#__PURE__*/React$1.forwardRef(({
38174
38211
  }))));
38175
38212
  });
38176
38213
 
38177
- // Add displayName for better debugging
38178
- TableBody.displayName = 'TableBody';
38179
-
38180
38214
  var nm$1 = "calendar_lottie";
38181
38215
  var ddd$1 = 0;
38182
38216
  var h$1 = 16;
@@ -41376,6 +41410,7 @@ const Table = /*#__PURE__*/React$1.forwardRef((props, ref) => {
41376
41410
  showNoDataInSearch = false,
41377
41411
  noDataInSearchTitle = "No Results Found",
41378
41412
  noDataInSearchMessage = "Try to refine your query and search again",
41413
+ indexToShimmer = -1,
41379
41414
  // New props for focus management
41380
41415
  resetTableFocus = false,
41381
41416
  onTableFocusChange = () => {},
@@ -41476,6 +41511,7 @@ const Table = /*#__PURE__*/React$1.forwardRef((props, ref) => {
41476
41511
  }), columns.length > 0 && data.length > 0 && /*#__PURE__*/React__default["default"].createElement(TableBody, {
41477
41512
  ref: tableBodyRef,
41478
41513
  columns: columns,
41514
+ indexToShimmer: indexToShimmer,
41479
41515
  data: data,
41480
41516
  onRowClick: onRowClick,
41481
41517
  onSendClick: onSendClick,
@@ -51293,6 +51329,7 @@ const DropdownButton = styled__default["default"].button`
51293
51329
  border: 1px solid #8B8989;
51294
51330
  border-radius: 12px;
51295
51331
  padding: 17px;
51332
+ height: ${props => props.height};
51296
51333
  text-align: left;
51297
51334
  cursor: pointer;
51298
51335
  display: flex;
@@ -51329,10 +51366,13 @@ const DropdownList = styled__default["default"].ul`
51329
51366
  const SectionTitle = styled__default["default"].li`
51330
51367
  font-size: 14px;
51331
51368
  color: #bdbdbd;
51332
- padding: 16px 12px 0 12px;
51369
+ padding: 12px 12px 0 12px;
51333
51370
  font-weight: 500;
51334
- border-top: 1px solid #bdbdbd;
51335
51371
  pointer-events: none;
51372
+ &:not(:first-child) {
51373
+ border-top: 1px solid #bdbdbd;
51374
+ padding-top: 16px;
51375
+ }
51336
51376
  `;
51337
51377
  const DropdownItem = styled__default["default"].li`
51338
51378
  padding: 8px 16px;
@@ -51381,16 +51421,16 @@ styled__default["default"].div`
51381
51421
  white-space: pre-line;
51382
51422
  `;
51383
51423
  const Label$1 = styled__default["default"].label`
51384
- font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
51424
+ font-size: 14px;
51385
51425
  font-weight: 400;
51386
51426
  padding-inline-end: 5px;
51387
51427
  padding-inline-start: 5px;
51388
51428
  margin-right: 10px;
51389
51429
  z-index: 2;
51390
51430
  color: ${props => props.error ? 'red' : props.disabled ? '#888' : props.labelColor};
51391
- background-color: ${props => props.showLabelOnTop ? 'white' : 'transparent'} ;
51431
+ background-color: ${props => props.disabled ? '#F2F2F2' : props.showLabelOnTop ? 'white' : 'transparent'};
51392
51432
  position: absolute;
51393
- top: ${props => props.isFocused || props.hasValue ? '0px' : '24px'};
51433
+ top: ${props => props.isFocused || props.hasValue ? '0px' : '50%'};
51394
51434
  left: ${props => props.isFocused || props.hasValue ? '23px' : '14px'};
51395
51435
  transform: translateY(-50%);
51396
51436
  transition: ${props => props.showLabelOnTop ? 'top 0.3s ease, font-size 0.3s ease, color 0.3s ease' : ''} ;
@@ -51626,6 +51666,7 @@ const OverlayDropdown = _ref => {
51626
51666
  hoverColor = '#E6F0F0',
51627
51667
  dropdownMaxHeight = '600px',
51628
51668
  width = '100%',
51669
+ height = 'auto',
51629
51670
  label,
51630
51671
  labelEmptyValue,
51631
51672
  showLabelOnTop,
@@ -51856,6 +51897,7 @@ const OverlayDropdown = _ref => {
51856
51897
  onClick: toggleDropdown,
51857
51898
  disabled: disabled,
51858
51899
  isDarkerBackground: isDarkerBackground,
51900
+ height: height,
51859
51901
  type: "button"
51860
51902
  }, /*#__PURE__*/React__default["default"].createElement(TruncatedText, {
51861
51903
  onMouseEnter: () => setHoveredText(selected?.label),