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.d.ts +2 -1
- package/dist/index.esm.js +342 -300
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +342 -300
- package/dist/index.js.map +1 -1
- package/dist/types/components/OverlayDropdown/OverlayDropdown.d.ts +2 -1
- package/package.json +1 -1
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
|
-
|
|
9878
|
-
|
|
9879
|
-
|
|
9880
|
-
|
|
9881
|
-
|
|
9882
|
-
|
|
9883
|
-
|
|
9884
|
-
|
|
9885
|
-
|
|
9886
|
-
|
|
9887
|
-
|
|
9888
|
-
|
|
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
|
-
|
|
10315
|
-
|
|
10316
|
-
|
|
10317
|
-
|
|
10318
|
-
|
|
10319
|
-
|
|
10320
|
-
|
|
10321
|
-
|
|
10322
|
-
|
|
10323
|
-
|
|
10324
|
-
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
|
|
10328
|
-
|
|
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
|
-
|
|
10773
|
-
|
|
10774
|
-
|
|
10775
|
-
|
|
10776
|
-
|
|
10777
|
-
|
|
10778
|
-
|
|
10779
|
-
|
|
10780
|
-
|
|
10781
|
-
|
|
10782
|
-
|
|
10783
|
-
|
|
10784
|
-
|
|
10785
|
-
|
|
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:
|
|
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
|
-
|
|
37543
|
-
|
|
37544
|
-
|
|
37545
|
-
|
|
37546
|
-
|
|
37547
|
-
|
|
37548
|
-
|
|
37549
|
-
|
|
37550
|
-
|
|
37551
|
-
|
|
37552
|
-
|
|
37553
|
-
|
|
37554
|
-
|
|
37555
|
-
|
|
37556
|
-
|
|
37557
|
-
|
|
37558
|
-
|
|
37559
|
-
|
|
37560
|
-
|
|
37561
|
-
|
|
37562
|
-
|
|
37563
|
-
|
|
37564
|
-
|
|
37565
|
-
|
|
37566
|
-
|
|
37567
|
-
|
|
37568
|
-
|
|
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
|
-
|
|
37572
|
-
|
|
37573
|
-
|
|
37574
|
-
|
|
37575
|
-
|
|
37576
|
-
|
|
37577
|
-
|
|
37578
|
-
|
|
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
|
-
|
|
37589
|
-
|
|
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
|
-
|
|
37596
|
-
|
|
37597
|
-
|
|
37625
|
+
background-color: white;
|
|
37626
|
+
font-family: "Poppins", sans-serif;
|
|
37627
|
+
position: relative;
|
|
37598
37628
|
`;
|
|
37599
37629
|
const TableRow = styled.tr`
|
|
37600
|
-
|
|
37601
|
-
|
|
37602
|
-
|
|
37603
|
-
|
|
37604
|
-
|
|
37605
|
-
|
|
37606
|
-
|
|
37607
|
-
|
|
37608
|
-
|
|
37609
|
-
|
|
37610
|
-
|
|
37611
|
-
|
|
37612
|
-
|
|
37613
|
-
|
|
37614
|
-
|
|
37615
|
-
|
|
37616
|
-
|
|
37617
|
-
|
|
37618
|
-
|
|
37619
|
-
|
|
37620
|
-
|
|
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:
|
|
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
|
-
|
|
37639
|
-
|
|
37640
|
-
|
|
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
|
-
|
|
37643
|
-
|
|
37644
|
-
|
|
37645
|
-
|
|
37646
|
-
|
|
37647
|
-
|
|
37648
|
-
|
|
37649
|
-
|
|
37650
|
-
|
|
37651
|
-
|
|
37652
|
-
|
|
37653
|
-
|
|
37654
|
-
|
|
37655
|
-
|
|
37656
|
-
|
|
37657
|
-
|
|
37658
|
-
|
|
37659
|
-
|
|
37660
|
-
|
|
37661
|
-
|
|
37662
|
-
|
|
37663
|
-
|
|
37664
|
-
|
|
37665
|
-
|
|
37666
|
-
|
|
37667
|
-
|
|
37668
|
-
|
|
37669
|
-
|
|
37670
|
-
|
|
37671
|
-
|
|
37672
|
-
|
|
37673
|
-
|
|
37674
|
-
|
|
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
|
-
|
|
37755
|
+
}
|
|
37756
|
+
|
|
37757
|
+
${props => {
|
|
37723
37758
|
switch (props.$fieldType) {
|
|
37724
|
-
case
|
|
37759
|
+
case "currency":
|
|
37725
37760
|
return css`
|
|
37726
|
-
|
|
37727
|
-
|
|
37728
|
-
|
|
37729
|
-
case
|
|
37761
|
+
font-family: "Poppins", sans-serif;
|
|
37762
|
+
font-weight: 500;
|
|
37763
|
+
`;
|
|
37764
|
+
case "number":
|
|
37730
37765
|
return css`
|
|
37731
|
-
|
|
37732
|
-
|
|
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
|
-
|
|
37743
|
-
|
|
37776
|
+
padding: 12px 16px;
|
|
37777
|
+
font-family: "Poppins", sans-serif;
|
|
37744
37778
|
`;
|
|
37745
37779
|
styled.div`
|
|
37746
|
-
|
|
37747
|
-
|
|
37748
|
-
|
|
37749
|
-
|
|
37750
|
-
|
|
37751
|
-
|
|
37752
|
-
|
|
37753
|
-
|
|
37754
|
-
|
|
37755
|
-
|
|
37756
|
-
|
|
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
|
-
|
|
37761
|
-
|
|
37762
|
-
|
|
37798
|
+
display: flex;
|
|
37799
|
+
align-items: center;
|
|
37800
|
+
gap: 8px;
|
|
37763
37801
|
`;
|
|
37764
37802
|
const ButtonWrapper = styled.div`
|
|
37765
|
-
|
|
37766
|
-
|
|
37767
|
-
|
|
37768
|
-
|
|
37803
|
+
display: inline-block;
|
|
37804
|
+
position: relative;
|
|
37805
|
+
|
|
37806
|
+
${tooltipStyles}
|
|
37769
37807
|
`;
|
|
37770
37808
|
const SentStatus = styled.div`
|
|
37771
|
-
|
|
37772
|
-
|
|
37773
|
-
|
|
37774
|
-
|
|
37775
|
-
|
|
37776
|
-
|
|
37777
|
-
|
|
37778
|
-
|
|
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
|
-
|
|
37784
|
-
|
|
37785
|
-
|
|
37786
|
-
|
|
37787
|
-
|
|
37788
|
-
|
|
37789
|
-
|
|
37790
|
-
|
|
37791
|
-
|
|
37792
|
-
|
|
37793
|
-
|
|
37794
|
-
|
|
37795
|
-
|
|
37796
|
-
|
|
37797
|
-
|
|
37798
|
-
|
|
37799
|
-
|
|
37800
|
-
|
|
37801
|
-
|
|
37802
|
-
|
|
37803
|
-
|
|
37804
|
-
|
|
37805
|
-
|
|
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
|
-
|
|
37812
|
-
|
|
37813
|
-
|
|
37814
|
-
|
|
37815
|
-
|
|
37816
|
-
|
|
37817
|
-
|
|
37818
|
-
|
|
37819
|
-
|
|
37820
|
-
|
|
37821
|
-
|
|
37822
|
-
|
|
37823
|
-
|
|
37824
|
-
|
|
37825
|
-
|
|
37826
|
-
|
|
37827
|
-
|
|
37828
|
-
|
|
37829
|
-
|
|
37830
|
-
|
|
37831
|
-
|
|
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:
|
|
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:
|
|
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' : '
|
|
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),
|