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.js
CHANGED
|
@@ -9883,20 +9883,21 @@ const DatePicker = ({
|
|
|
9883
9883
|
};
|
|
9884
9884
|
|
|
9885
9885
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
9886
|
-
const RangePicker =
|
|
9887
|
-
|
|
9888
|
-
|
|
9889
|
-
|
|
9890
|
-
|
|
9891
|
-
|
|
9892
|
-
|
|
9893
|
-
|
|
9894
|
-
|
|
9895
|
-
|
|
9896
|
-
|
|
9897
|
-
|
|
9898
|
-
|
|
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
|
-
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
|
|
10328
|
-
|
|
10329
|
-
|
|
10330
|
-
|
|
10331
|
-
|
|
10332
|
-
|
|
10333
|
-
|
|
10334
|
-
|
|
10335
|
-
|
|
10336
|
-
|
|
10337
|
-
|
|
10338
|
-
|
|
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
|
-
|
|
10783
|
-
|
|
10784
|
-
|
|
10785
|
-
|
|
10786
|
-
|
|
10787
|
-
|
|
10788
|
-
|
|
10789
|
-
|
|
10790
|
-
|
|
10791
|
-
|
|
10792
|
-
|
|
10793
|
-
|
|
10794
|
-
|
|
10795
|
-
|
|
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:
|
|
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
|
-
|
|
37553
|
-
|
|
37554
|
-
|
|
37555
|
-
|
|
37556
|
-
|
|
37557
|
-
|
|
37558
|
-
|
|
37559
|
-
|
|
37560
|
-
|
|
37561
|
-
|
|
37562
|
-
|
|
37563
|
-
|
|
37564
|
-
|
|
37565
|
-
|
|
37566
|
-
|
|
37567
|
-
|
|
37568
|
-
|
|
37569
|
-
|
|
37570
|
-
|
|
37571
|
-
|
|
37572
|
-
|
|
37573
|
-
|
|
37574
|
-
|
|
37575
|
-
|
|
37576
|
-
|
|
37577
|
-
|
|
37578
|
-
|
|
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
|
-
|
|
37582
|
-
|
|
37583
|
-
|
|
37584
|
-
|
|
37585
|
-
|
|
37586
|
-
|
|
37587
|
-
|
|
37588
|
-
|
|
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
|
-
|
|
37599
|
-
|
|
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
|
-
|
|
37606
|
-
|
|
37607
|
-
|
|
37635
|
+
background-color: white;
|
|
37636
|
+
font-family: "Poppins", sans-serif;
|
|
37637
|
+
position: relative;
|
|
37608
37638
|
`;
|
|
37609
37639
|
const TableRow = styled__default["default"].tr`
|
|
37610
|
-
|
|
37611
|
-
|
|
37612
|
-
|
|
37613
|
-
|
|
37614
|
-
|
|
37615
|
-
|
|
37616
|
-
|
|
37617
|
-
|
|
37618
|
-
|
|
37619
|
-
|
|
37620
|
-
|
|
37621
|
-
|
|
37622
|
-
|
|
37623
|
-
|
|
37624
|
-
|
|
37625
|
-
|
|
37626
|
-
|
|
37627
|
-
|
|
37628
|
-
|
|
37629
|
-
|
|
37630
|
-
|
|
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:
|
|
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
|
-
|
|
37649
|
-
|
|
37650
|
-
|
|
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
|
-
|
|
37653
|
-
|
|
37654
|
-
|
|
37655
|
-
|
|
37656
|
-
|
|
37657
|
-
|
|
37658
|
-
|
|
37659
|
-
|
|
37660
|
-
|
|
37661
|
-
|
|
37662
|
-
|
|
37663
|
-
|
|
37664
|
-
|
|
37665
|
-
|
|
37666
|
-
|
|
37667
|
-
|
|
37668
|
-
|
|
37669
|
-
|
|
37670
|
-
|
|
37671
|
-
|
|
37672
|
-
|
|
37673
|
-
|
|
37674
|
-
|
|
37675
|
-
|
|
37676
|
-
|
|
37677
|
-
|
|
37678
|
-
|
|
37679
|
-
|
|
37680
|
-
|
|
37681
|
-
|
|
37682
|
-
|
|
37683
|
-
|
|
37684
|
-
|
|
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
|
-
|
|
37765
|
+
}
|
|
37766
|
+
|
|
37767
|
+
${props => {
|
|
37733
37768
|
switch (props.$fieldType) {
|
|
37734
|
-
case
|
|
37769
|
+
case "currency":
|
|
37735
37770
|
return styled.css`
|
|
37736
|
-
|
|
37737
|
-
|
|
37738
|
-
|
|
37739
|
-
case
|
|
37771
|
+
font-family: "Poppins", sans-serif;
|
|
37772
|
+
font-weight: 500;
|
|
37773
|
+
`;
|
|
37774
|
+
case "number":
|
|
37740
37775
|
return styled.css`
|
|
37741
|
-
|
|
37742
|
-
|
|
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
|
-
|
|
37753
|
-
|
|
37786
|
+
padding: 12px 16px;
|
|
37787
|
+
font-family: "Poppins", sans-serif;
|
|
37754
37788
|
`;
|
|
37755
37789
|
styled__default["default"].div`
|
|
37756
|
-
|
|
37757
|
-
|
|
37758
|
-
|
|
37759
|
-
|
|
37760
|
-
|
|
37761
|
-
|
|
37762
|
-
|
|
37763
|
-
|
|
37764
|
-
|
|
37765
|
-
|
|
37766
|
-
|
|
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
|
-
|
|
37771
|
-
|
|
37772
|
-
|
|
37808
|
+
display: flex;
|
|
37809
|
+
align-items: center;
|
|
37810
|
+
gap: 8px;
|
|
37773
37811
|
`;
|
|
37774
37812
|
const ButtonWrapper = styled__default["default"].div`
|
|
37775
|
-
|
|
37776
|
-
|
|
37777
|
-
|
|
37778
|
-
|
|
37813
|
+
display: inline-block;
|
|
37814
|
+
position: relative;
|
|
37815
|
+
|
|
37816
|
+
${tooltipStyles}
|
|
37779
37817
|
`;
|
|
37780
37818
|
const SentStatus = styled__default["default"].div`
|
|
37781
|
-
|
|
37782
|
-
|
|
37783
|
-
|
|
37784
|
-
|
|
37785
|
-
|
|
37786
|
-
|
|
37787
|
-
|
|
37788
|
-
|
|
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
|
-
|
|
37794
|
-
|
|
37795
|
-
|
|
37796
|
-
|
|
37797
|
-
|
|
37798
|
-
|
|
37799
|
-
|
|
37800
|
-
|
|
37801
|
-
|
|
37802
|
-
|
|
37803
|
-
|
|
37804
|
-
|
|
37805
|
-
|
|
37806
|
-
|
|
37807
|
-
|
|
37808
|
-
|
|
37809
|
-
|
|
37810
|
-
|
|
37811
|
-
|
|
37812
|
-
|
|
37813
|
-
|
|
37814
|
-
|
|
37815
|
-
|
|
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
|
-
|
|
37822
|
-
|
|
37823
|
-
|
|
37824
|
-
|
|
37825
|
-
|
|
37826
|
-
|
|
37827
|
-
|
|
37828
|
-
|
|
37829
|
-
|
|
37830
|
-
|
|
37831
|
-
|
|
37832
|
-
|
|
37833
|
-
|
|
37834
|
-
|
|
37835
|
-
|
|
37836
|
-
|
|
37837
|
-
|
|
37838
|
-
|
|
37839
|
-
|
|
37840
|
-
|
|
37841
|
-
|
|
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:
|
|
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:
|
|
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' : '
|
|
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),
|