sag_components 2.0.0-beta324 → 2.0.0-beta326
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 +98 -75
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +98 -75
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -9840,6 +9840,8 @@ const DropdownNew = props => {
|
|
|
9840
9840
|
if (event && event.newValue && event.newValue[0]) {
|
|
9841
9841
|
onChange && onChange(event);
|
|
9842
9842
|
handleChange && handleChange(event.newValue[0].value);
|
|
9843
|
+
} else if (event && Array.isArray(event.newValue) && event.newValue.length === 0) {
|
|
9844
|
+
onChange && onChange(event);
|
|
9843
9845
|
}
|
|
9844
9846
|
};
|
|
9845
9847
|
return /*#__PURE__*/React$1.createElement(DropdownMain, {
|
|
@@ -10647,23 +10649,24 @@ const QuarterPopupPicker = ({
|
|
|
10647
10649
|
};
|
|
10648
10650
|
|
|
10649
10651
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10650
|
-
const QuarterPicker =
|
|
10651
|
-
|
|
10652
|
-
|
|
10653
|
-
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
-
|
|
10659
|
-
|
|
10660
|
-
|
|
10661
|
-
|
|
10662
|
-
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
|
|
10652
|
+
const QuarterPicker = _ref => {
|
|
10653
|
+
let {
|
|
10654
|
+
availableQuarters,
|
|
10655
|
+
// ["Q1-2024"]
|
|
10656
|
+
label,
|
|
10657
|
+
onChange,
|
|
10658
|
+
borderRadius,
|
|
10659
|
+
required,
|
|
10660
|
+
width,
|
|
10661
|
+
height,
|
|
10662
|
+
placeholder,
|
|
10663
|
+
disabled,
|
|
10664
|
+
borderColor,
|
|
10665
|
+
borderColorFocus,
|
|
10666
|
+
textColor,
|
|
10667
|
+
selectedValue,
|
|
10668
|
+
startYear
|
|
10669
|
+
} = _ref;
|
|
10667
10670
|
const [isFocused, setIsFocused] = useState(false);
|
|
10668
10671
|
const [isOpen, setIsOpen] = useState(false);
|
|
10669
10672
|
const [value, setValue] = useState('');
|
|
@@ -11105,22 +11108,23 @@ const MonthPopupPicker = ({
|
|
|
11105
11108
|
};
|
|
11106
11109
|
|
|
11107
11110
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
11108
|
-
const MonthPicker =
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
|
-
|
|
11112
|
-
|
|
11113
|
-
|
|
11114
|
-
|
|
11115
|
-
|
|
11116
|
-
|
|
11117
|
-
|
|
11118
|
-
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
|
|
11111
|
+
const MonthPicker = _ref => {
|
|
11112
|
+
let {
|
|
11113
|
+
availableMonths,
|
|
11114
|
+
label,
|
|
11115
|
+
onChange,
|
|
11116
|
+
borderRadius,
|
|
11117
|
+
required,
|
|
11118
|
+
width,
|
|
11119
|
+
height,
|
|
11120
|
+
placeholder,
|
|
11121
|
+
disabled,
|
|
11122
|
+
borderColor,
|
|
11123
|
+
borderColorFocus,
|
|
11124
|
+
textColor,
|
|
11125
|
+
selectedValue,
|
|
11126
|
+
startYear
|
|
11127
|
+
} = _ref;
|
|
11124
11128
|
const [isFocused, setIsFocused] = useState(false);
|
|
11125
11129
|
const [isOpen, setIsOpen] = useState(false);
|
|
11126
11130
|
const [value, setValue] = useState('');
|
|
@@ -24237,23 +24241,24 @@ const DeleteIcon = styled.div`
|
|
|
24237
24241
|
position: absolute;
|
|
24238
24242
|
`;
|
|
24239
24243
|
|
|
24240
|
-
const QuickFilterDropdownSingle =
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
|
|
24244
|
-
|
|
24245
|
-
|
|
24246
|
-
|
|
24247
|
-
|
|
24248
|
-
|
|
24249
|
-
|
|
24250
|
-
|
|
24251
|
-
|
|
24252
|
-
|
|
24253
|
-
|
|
24254
|
-
|
|
24255
|
-
|
|
24256
|
-
|
|
24244
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
24245
|
+
let {
|
|
24246
|
+
label,
|
|
24247
|
+
hoverColor,
|
|
24248
|
+
options,
|
|
24249
|
+
selectedValue,
|
|
24250
|
+
placeHolder,
|
|
24251
|
+
optionHoverColor = '#edf6ff',
|
|
24252
|
+
selectedOptionColor = "#C7E4FF",
|
|
24253
|
+
onChange,
|
|
24254
|
+
disabled,
|
|
24255
|
+
width,
|
|
24256
|
+
error,
|
|
24257
|
+
errorMessage,
|
|
24258
|
+
xIconShow,
|
|
24259
|
+
labelColor,
|
|
24260
|
+
showLabelOnTop
|
|
24261
|
+
} = _ref;
|
|
24257
24262
|
const [isFocused, setIsFocused] = useState(false);
|
|
24258
24263
|
const [showOptions, setShowOptions] = useState(false);
|
|
24259
24264
|
const [inputValue, setInputValue] = useState("");
|
|
@@ -24711,26 +24716,27 @@ const IconContainer$2 = styled.div`
|
|
|
24711
24716
|
cursor: pointer;
|
|
24712
24717
|
`;
|
|
24713
24718
|
|
|
24714
|
-
const QuickFilterDropdownMultiSelection =
|
|
24715
|
-
|
|
24716
|
-
|
|
24717
|
-
|
|
24718
|
-
|
|
24719
|
-
|
|
24720
|
-
|
|
24721
|
-
|
|
24722
|
-
|
|
24723
|
-
|
|
24724
|
-
|
|
24725
|
-
|
|
24726
|
-
|
|
24727
|
-
|
|
24728
|
-
|
|
24729
|
-
|
|
24730
|
-
|
|
24731
|
-
|
|
24732
|
-
|
|
24733
|
-
|
|
24719
|
+
const QuickFilterDropdownMultiSelection = _ref => {
|
|
24720
|
+
let {
|
|
24721
|
+
label,
|
|
24722
|
+
labelEmptyValue,
|
|
24723
|
+
options,
|
|
24724
|
+
selectedValue,
|
|
24725
|
+
placeHolder,
|
|
24726
|
+
onChange,
|
|
24727
|
+
required,
|
|
24728
|
+
disabled,
|
|
24729
|
+
width,
|
|
24730
|
+
height,
|
|
24731
|
+
error,
|
|
24732
|
+
errorMessage,
|
|
24733
|
+
labelColor,
|
|
24734
|
+
optionHoverColor = '#edf6ff',
|
|
24735
|
+
xIconShow,
|
|
24736
|
+
checkBoxColor,
|
|
24737
|
+
showLabelOnTop,
|
|
24738
|
+
dropdownHeight
|
|
24739
|
+
} = _ref;
|
|
24734
24740
|
const [isFocused, setIsFocused] = useState(false);
|
|
24735
24741
|
const [showOptions, setShowOptions] = useState(false);
|
|
24736
24742
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -35210,12 +35216,17 @@ const StyledInput$1 = styled.input`
|
|
|
35210
35216
|
background-color: ${props => props.isDarkerBackground ? '#F2F2F2' : 'white'} !important;
|
|
35211
35217
|
width: ${props => props.width || '90%'};
|
|
35212
35218
|
height: ${props => props.height || 'auto'};
|
|
35213
|
-
transition: border-color 0.3s ease;
|
|
35214
|
-
font-size: 14px;
|
|
35219
|
+
transition: border-color 0.3s ease;
|
|
35215
35220
|
font-weight: 400;
|
|
35216
35221
|
box-sizing: border-box;
|
|
35217
35222
|
color: ${props => props.disabled ? '#D0D0D0' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
|
|
35218
35223
|
cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
|
|
35224
|
+
@media (max-width: 1750px) {
|
|
35225
|
+
font-size: 12px;
|
|
35226
|
+
}
|
|
35227
|
+
@media (max-width: 1536px) {
|
|
35228
|
+
font-size: 10px;
|
|
35229
|
+
}
|
|
35219
35230
|
`;
|
|
35220
35231
|
const StyledLabel = styled.label`
|
|
35221
35232
|
font-size: 14px;
|
|
@@ -36276,9 +36287,9 @@ const ToggleSlider = styled.span`
|
|
|
36276
36287
|
}
|
|
36277
36288
|
`;
|
|
36278
36289
|
|
|
36279
|
-
/**
|
|
36280
|
-
* ToggleSwitch component for on/off states.
|
|
36281
|
-
* Supports small/large sizes and disabled state.
|
|
36290
|
+
/**
|
|
36291
|
+
* ToggleSwitch component for on/off states.
|
|
36292
|
+
* Supports small/large sizes and disabled state.
|
|
36282
36293
|
*/
|
|
36283
36294
|
function ToggleSwitch(_ref) {
|
|
36284
36295
|
let {
|
|
@@ -47880,6 +47891,9 @@ const SectionTitle$1 = styled$1.div`
|
|
|
47880
47891
|
color: #212121;
|
|
47881
47892
|
font-size: 14px;
|
|
47882
47893
|
font-weight: 700;
|
|
47894
|
+
@media (max-width: 1280px) {
|
|
47895
|
+
font-size: 12px;
|
|
47896
|
+
}
|
|
47883
47897
|
`;
|
|
47884
47898
|
const SubtitleContainer = styled$1.div`
|
|
47885
47899
|
display: flex;
|
|
@@ -47891,6 +47905,9 @@ const Subtitle$1 = styled$1.span`
|
|
|
47891
47905
|
color: ${props => props.color};
|
|
47892
47906
|
font-size: 14px;
|
|
47893
47907
|
font-weight: 400;
|
|
47908
|
+
@media (max-width: 1280px) {
|
|
47909
|
+
font-size: 11px;
|
|
47910
|
+
}
|
|
47894
47911
|
`;
|
|
47895
47912
|
const AddButtonContainer$1 = styled$1.div`
|
|
47896
47913
|
display: flex;
|
|
@@ -47907,6 +47924,9 @@ styled$1(Card)`
|
|
|
47907
47924
|
`;
|
|
47908
47925
|
const VendorHeader$2 = styled$1.div`
|
|
47909
47926
|
padding: 16px 24px;
|
|
47927
|
+
@media (max-width: 1280px) {
|
|
47928
|
+
padding: 12px 8px;
|
|
47929
|
+
}
|
|
47910
47930
|
`;
|
|
47911
47931
|
styled$1.button`
|
|
47912
47932
|
border: none;
|
|
@@ -48085,6 +48105,9 @@ const Container$1 = styled$1.div`
|
|
|
48085
48105
|
justify-content: space-between;
|
|
48086
48106
|
padding: 38px 0 20px;
|
|
48087
48107
|
box-sizing: border-box;
|
|
48108
|
+
@media (max-width: 1280px) {
|
|
48109
|
+
padding: 20px 0 12px;
|
|
48110
|
+
}
|
|
48088
48111
|
`;
|
|
48089
48112
|
const tooltipStyles = css`
|
|
48090
48113
|
/* CSS-only tooltip */
|