sag_components 2.0.0-beta302 → 2.0.0-beta304
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +94 -75
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +94 -75
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3744,14 +3744,24 @@ const LinnerDataBox = props => {
|
|
|
3744
3744
|
const TextFieldContainer = styled.div`
|
|
3745
3745
|
position: relative;
|
|
3746
3746
|
width: ${props => props.width};
|
|
3747
|
+
display: flex;
|
|
3748
|
+
align-items: center;
|
|
3749
|
+
align-self: flex-end;
|
|
3747
3750
|
`;
|
|
3748
3751
|
const IconWrapper$3 = styled.div`
|
|
3749
3752
|
position: absolute;
|
|
3750
|
-
top: 50%;
|
|
3751
|
-
transform: translateY(-50%);
|
|
3752
3753
|
left: ${props => props.position === 'left' ? '10px' : 'unset'};
|
|
3753
3754
|
right: ${props => props.position === 'right' ? '10px' : 'unset'};
|
|
3754
3755
|
cursor: pointer;
|
|
3756
|
+
display: flex;
|
|
3757
|
+
align-items: center;
|
|
3758
|
+
justify-content: center;
|
|
3759
|
+
height: 100%;
|
|
3760
|
+
pointer-events: none;
|
|
3761
|
+
|
|
3762
|
+
& > * {
|
|
3763
|
+
display: block;
|
|
3764
|
+
}
|
|
3755
3765
|
`;
|
|
3756
3766
|
const TextFieldInput = styled.input`
|
|
3757
3767
|
width: 100%;
|
|
@@ -3760,14 +3770,17 @@ const TextFieldInput = styled.input`
|
|
|
3760
3770
|
font-weight: 400;
|
|
3761
3771
|
padding: 6px 16px;
|
|
3762
3772
|
border-radius: 8px;
|
|
3763
|
-
padding-
|
|
3773
|
+
padding-left: ${props => props.position === 'left' ? '40px' : '16px'};
|
|
3774
|
+
padding-right: ${props => props.position === 'right' ? '40px' : '16px'};
|
|
3764
3775
|
border: 1px solid #B1B1B1;
|
|
3765
3776
|
background: transparent;
|
|
3766
|
-
|
|
3777
|
+
box-sizing: border-box;
|
|
3778
|
+
|
|
3767
3779
|
&:hover,
|
|
3768
3780
|
&:focus {
|
|
3769
3781
|
border: 1px solid #212121;
|
|
3770
3782
|
}
|
|
3783
|
+
|
|
3771
3784
|
&::placeholder {
|
|
3772
3785
|
color: #B1B1B1;
|
|
3773
3786
|
}
|
|
@@ -10608,23 +10621,24 @@ const QuarterPopupPicker = ({
|
|
|
10608
10621
|
};
|
|
10609
10622
|
|
|
10610
10623
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10611
|
-
const QuarterPicker =
|
|
10612
|
-
|
|
10613
|
-
|
|
10614
|
-
|
|
10615
|
-
|
|
10616
|
-
|
|
10617
|
-
|
|
10618
|
-
|
|
10619
|
-
|
|
10620
|
-
|
|
10621
|
-
|
|
10622
|
-
|
|
10623
|
-
|
|
10624
|
-
|
|
10625
|
-
|
|
10626
|
-
|
|
10627
|
-
|
|
10624
|
+
const QuarterPicker = _ref => {
|
|
10625
|
+
let {
|
|
10626
|
+
availableQuarters,
|
|
10627
|
+
// ["Q1-2024"]
|
|
10628
|
+
label,
|
|
10629
|
+
onChange,
|
|
10630
|
+
borderRadius,
|
|
10631
|
+
required,
|
|
10632
|
+
width,
|
|
10633
|
+
height,
|
|
10634
|
+
placeholder,
|
|
10635
|
+
disabled,
|
|
10636
|
+
borderColor,
|
|
10637
|
+
borderColorFocus,
|
|
10638
|
+
textColor,
|
|
10639
|
+
selectedValue,
|
|
10640
|
+
startYear
|
|
10641
|
+
} = _ref;
|
|
10628
10642
|
const [isFocused, setIsFocused] = useState(false);
|
|
10629
10643
|
const [isOpen, setIsOpen] = useState(false);
|
|
10630
10644
|
const [value, setValue] = useState('');
|
|
@@ -11066,22 +11080,23 @@ const MonthPopupPicker = ({
|
|
|
11066
11080
|
};
|
|
11067
11081
|
|
|
11068
11082
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
11069
|
-
const MonthPicker =
|
|
11070
|
-
|
|
11071
|
-
|
|
11072
|
-
|
|
11073
|
-
|
|
11074
|
-
|
|
11075
|
-
|
|
11076
|
-
|
|
11077
|
-
|
|
11078
|
-
|
|
11079
|
-
|
|
11080
|
-
|
|
11081
|
-
|
|
11082
|
-
|
|
11083
|
-
|
|
11084
|
-
|
|
11083
|
+
const MonthPicker = _ref => {
|
|
11084
|
+
let {
|
|
11085
|
+
availableMonths,
|
|
11086
|
+
label,
|
|
11087
|
+
onChange,
|
|
11088
|
+
borderRadius,
|
|
11089
|
+
required,
|
|
11090
|
+
width,
|
|
11091
|
+
height,
|
|
11092
|
+
placeholder,
|
|
11093
|
+
disabled,
|
|
11094
|
+
borderColor,
|
|
11095
|
+
borderColorFocus,
|
|
11096
|
+
textColor,
|
|
11097
|
+
selectedValue,
|
|
11098
|
+
startYear
|
|
11099
|
+
} = _ref;
|
|
11085
11100
|
const [isFocused, setIsFocused] = useState(false);
|
|
11086
11101
|
const [isOpen, setIsOpen] = useState(false);
|
|
11087
11102
|
const [value, setValue] = useState('');
|
|
@@ -24192,21 +24207,22 @@ const DeleteIcon = styled.div`
|
|
|
24192
24207
|
position: absolute;
|
|
24193
24208
|
`;
|
|
24194
24209
|
|
|
24195
|
-
const QuickFilterDropdownSingle =
|
|
24196
|
-
|
|
24197
|
-
|
|
24198
|
-
|
|
24199
|
-
|
|
24200
|
-
|
|
24201
|
-
|
|
24202
|
-
|
|
24203
|
-
|
|
24204
|
-
|
|
24205
|
-
|
|
24206
|
-
|
|
24207
|
-
|
|
24208
|
-
|
|
24209
|
-
|
|
24210
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
24211
|
+
let {
|
|
24212
|
+
label,
|
|
24213
|
+
hoverColor,
|
|
24214
|
+
options,
|
|
24215
|
+
selectedValue,
|
|
24216
|
+
placeHolder,
|
|
24217
|
+
onChange,
|
|
24218
|
+
disabled,
|
|
24219
|
+
width,
|
|
24220
|
+
error,
|
|
24221
|
+
errorMessage,
|
|
24222
|
+
xIconShow,
|
|
24223
|
+
labelColor,
|
|
24224
|
+
showLabelOnTop
|
|
24225
|
+
} = _ref;
|
|
24210
24226
|
const [isFocused, setIsFocused] = useState(false);
|
|
24211
24227
|
const [showOptions, setShowOptions] = useState(false);
|
|
24212
24228
|
const [inputValue, setInputValue] = useState("");
|
|
@@ -24658,25 +24674,26 @@ const IconContainer$2 = styled.div`
|
|
|
24658
24674
|
cursor: pointer;
|
|
24659
24675
|
`;
|
|
24660
24676
|
|
|
24661
|
-
const QuickFilterDropdownMultiSelection =
|
|
24662
|
-
|
|
24663
|
-
|
|
24664
|
-
|
|
24665
|
-
|
|
24666
|
-
|
|
24667
|
-
|
|
24668
|
-
|
|
24669
|
-
|
|
24670
|
-
|
|
24671
|
-
|
|
24672
|
-
|
|
24673
|
-
|
|
24674
|
-
|
|
24675
|
-
|
|
24676
|
-
|
|
24677
|
-
|
|
24678
|
-
|
|
24679
|
-
|
|
24677
|
+
const QuickFilterDropdownMultiSelection = _ref => {
|
|
24678
|
+
let {
|
|
24679
|
+
label,
|
|
24680
|
+
labelEmptyValue,
|
|
24681
|
+
options,
|
|
24682
|
+
selectedValue,
|
|
24683
|
+
placeHolder,
|
|
24684
|
+
onChange,
|
|
24685
|
+
required,
|
|
24686
|
+
disabled,
|
|
24687
|
+
width,
|
|
24688
|
+
height,
|
|
24689
|
+
error,
|
|
24690
|
+
errorMessage,
|
|
24691
|
+
labelColor,
|
|
24692
|
+
xIconShow,
|
|
24693
|
+
checkBoxColor,
|
|
24694
|
+
showLabelOnTop,
|
|
24695
|
+
dropdownHeight
|
|
24696
|
+
} = _ref;
|
|
24680
24697
|
const [isFocused, setIsFocused] = useState(false);
|
|
24681
24698
|
const [showOptions, setShowOptions] = useState(false);
|
|
24682
24699
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -36216,9 +36233,9 @@ const ToggleSlider = styled.span`
|
|
|
36216
36233
|
}
|
|
36217
36234
|
`;
|
|
36218
36235
|
|
|
36219
|
-
/**
|
|
36220
|
-
* ToggleSwitch component for on/off states.
|
|
36221
|
-
* Supports small/large sizes and disabled state.
|
|
36236
|
+
/**
|
|
36237
|
+
* ToggleSwitch component for on/off states.
|
|
36238
|
+
* Supports small/large sizes and disabled state.
|
|
36222
36239
|
*/
|
|
36223
36240
|
function ToggleSwitch(_ref) {
|
|
36224
36241
|
let {
|
|
@@ -43378,7 +43395,9 @@ const TableBody = /*#__PURE__*/forwardRef(({
|
|
|
43378
43395
|
}
|
|
43379
43396
|
case "status":
|
|
43380
43397
|
try {
|
|
43381
|
-
|
|
43398
|
+
// Treat "Submitted" like "Received"
|
|
43399
|
+
const normalizedStatus = value === "Submitted" ? "Received" : value;
|
|
43400
|
+
const statusObj = statuses.find(status => status && status.status === normalizedStatus) || {};
|
|
43382
43401
|
const palette = statusObj.palette || ["#F3F4F6", "#374151"];
|
|
43383
43402
|
const [palette0, palette1] = palette;
|
|
43384
43403
|
return /*#__PURE__*/React$1.createElement(StatusCell$1, {
|