sag_components 2.0.0-beta152 → 2.0.0-beta153
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 +95 -72
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +95 -72
- package/dist/index.js.map +1 -1
- package/dist/types/icons/UploadIcon.d.ts +7 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3099,6 +3099,25 @@ const InfoIcon = _ref => {
|
|
|
3099
3099
|
}));
|
|
3100
3100
|
};
|
|
3101
3101
|
|
|
3102
|
+
const UploadIcon = _ref => {
|
|
3103
|
+
let {
|
|
3104
|
+
clicked,
|
|
3105
|
+
color = '#757575',
|
|
3106
|
+
width = '18',
|
|
3107
|
+
height = '18'
|
|
3108
|
+
} = _ref;
|
|
3109
|
+
return /*#__PURE__*/React$1.createElement("svg", {
|
|
3110
|
+
width: width,
|
|
3111
|
+
height: height,
|
|
3112
|
+
viewBox: "0 0 16 16",
|
|
3113
|
+
fill: "none",
|
|
3114
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
3115
|
+
}, /*#__PURE__*/React$1.createElement("path", {
|
|
3116
|
+
d: "M9.3125 1.65625C9.3125 1.30078 9.58594 1 9.96875 1H14.3164C14.6992 1 14.9727 1.30078 14.9727 1.65625V6.03125C14.9727 6.41406 14.6992 6.6875 14.3164 6.6875C13.9609 6.6875 13.6602 6.41406 13.6602 6.03125V3.24219L7.5625 9.33984C7.31641 9.61328 6.90625 9.61328 6.66016 9.33984C6.38672 9.09375 6.38672 8.68359 6.66016 8.41016L12.7578 2.3125H9.96875C9.58594 2.3125 9.3125 2.03906 9.3125 1.65625ZM2.96875 1.875H6.46875C6.82422 1.875 7.125 2.17578 7.125 2.53125C7.125 2.91406 6.82422 3.1875 6.46875 3.1875H2.96875C2.58594 3.1875 2.3125 3.48828 2.3125 3.84375V13.0312C2.3125 13.4141 2.58594 13.6875 2.96875 13.6875H12.1562C12.5117 13.6875 12.8125 13.4141 12.8125 13.0312V9.53125C12.8125 9.17578 13.0859 8.875 13.4688 8.875C13.8242 8.875 14.125 9.17578 14.125 9.53125V13.0312C14.125 14.125 13.2227 15 12.1562 15H2.96875C1.875 15 1 14.125 1 13.0312V3.84375C1 2.77734 1.875 1.875 2.96875 1.875Z",
|
|
3117
|
+
fill: color
|
|
3118
|
+
}));
|
|
3119
|
+
};
|
|
3120
|
+
|
|
3102
3121
|
const LinkButton = _ref => {
|
|
3103
3122
|
let {
|
|
3104
3123
|
text = '',
|
|
@@ -3252,6 +3271,14 @@ const LinkButton = _ref => {
|
|
|
3252
3271
|
width: iconWidth,
|
|
3253
3272
|
color: color
|
|
3254
3273
|
}));
|
|
3274
|
+
case 'upload':
|
|
3275
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$4, {
|
|
3276
|
+
className: "UploadIcon"
|
|
3277
|
+
}, /*#__PURE__*/React$1.createElement(UploadIcon, {
|
|
3278
|
+
height: iconHeight,
|
|
3279
|
+
width: iconWidth,
|
|
3280
|
+
color: color
|
|
3281
|
+
}));
|
|
3255
3282
|
default:
|
|
3256
3283
|
return '';
|
|
3257
3284
|
}
|
|
@@ -10320,24 +10347,23 @@ const QuarterPopupPicker = ({
|
|
|
10320
10347
|
};
|
|
10321
10348
|
|
|
10322
10349
|
/* 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
|
-
|
|
10340
|
-
} = _ref;
|
|
10350
|
+
const QuarterPicker = ({
|
|
10351
|
+
availableQuarters,
|
|
10352
|
+
// ["Q1-2024"]
|
|
10353
|
+
label,
|
|
10354
|
+
onChange,
|
|
10355
|
+
borderRadius,
|
|
10356
|
+
required,
|
|
10357
|
+
width,
|
|
10358
|
+
height,
|
|
10359
|
+
placeholder,
|
|
10360
|
+
disabled,
|
|
10361
|
+
borderColor,
|
|
10362
|
+
borderColorFocus,
|
|
10363
|
+
textColor,
|
|
10364
|
+
selectedValue,
|
|
10365
|
+
startYear
|
|
10366
|
+
}) => {
|
|
10341
10367
|
const [isFocused, setIsFocused] = useState(false);
|
|
10342
10368
|
const [isOpen, setIsOpen] = useState(false);
|
|
10343
10369
|
const [value, setValue] = useState('');
|
|
@@ -10779,23 +10805,22 @@ const MonthPopupPicker = ({
|
|
|
10779
10805
|
};
|
|
10780
10806
|
|
|
10781
10807
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10782
|
-
const MonthPicker =
|
|
10783
|
-
|
|
10784
|
-
|
|
10785
|
-
|
|
10786
|
-
|
|
10787
|
-
|
|
10788
|
-
|
|
10789
|
-
|
|
10790
|
-
|
|
10791
|
-
|
|
10792
|
-
|
|
10793
|
-
|
|
10794
|
-
|
|
10795
|
-
|
|
10796
|
-
|
|
10797
|
-
|
|
10798
|
-
} = _ref;
|
|
10808
|
+
const MonthPicker = ({
|
|
10809
|
+
availableMonths,
|
|
10810
|
+
label,
|
|
10811
|
+
onChange,
|
|
10812
|
+
borderRadius,
|
|
10813
|
+
required,
|
|
10814
|
+
width,
|
|
10815
|
+
height,
|
|
10816
|
+
placeholder,
|
|
10817
|
+
disabled,
|
|
10818
|
+
borderColor,
|
|
10819
|
+
borderColorFocus,
|
|
10820
|
+
textColor,
|
|
10821
|
+
selectedValue,
|
|
10822
|
+
startYear
|
|
10823
|
+
}) => {
|
|
10799
10824
|
const [isFocused, setIsFocused] = useState(false);
|
|
10800
10825
|
const [isOpen, setIsOpen] = useState(false);
|
|
10801
10826
|
const [value, setValue] = useState('');
|
|
@@ -23906,22 +23931,21 @@ const DeleteIcon = styled.div`
|
|
|
23906
23931
|
position: absolute;
|
|
23907
23932
|
`;
|
|
23908
23933
|
|
|
23909
|
-
const QuickFilterDropdownSingle =
|
|
23910
|
-
|
|
23911
|
-
|
|
23912
|
-
|
|
23913
|
-
|
|
23914
|
-
|
|
23915
|
-
|
|
23916
|
-
|
|
23917
|
-
|
|
23918
|
-
|
|
23919
|
-
|
|
23920
|
-
|
|
23921
|
-
|
|
23922
|
-
|
|
23923
|
-
|
|
23924
|
-
} = _ref;
|
|
23934
|
+
const QuickFilterDropdownSingle = ({
|
|
23935
|
+
label,
|
|
23936
|
+
hoverColor,
|
|
23937
|
+
options,
|
|
23938
|
+
selectedValue,
|
|
23939
|
+
placeHolder,
|
|
23940
|
+
onChange,
|
|
23941
|
+
disabled,
|
|
23942
|
+
width,
|
|
23943
|
+
error,
|
|
23944
|
+
errorMessage,
|
|
23945
|
+
xIconShow,
|
|
23946
|
+
labelColor,
|
|
23947
|
+
showLabelOnTop
|
|
23948
|
+
}) => {
|
|
23925
23949
|
const [isFocused, setIsFocused] = useState(false);
|
|
23926
23950
|
const [showOptions, setShowOptions] = useState(false);
|
|
23927
23951
|
const [inputValue, setInputValue] = useState("");
|
|
@@ -24318,24 +24342,23 @@ const IconContainer$2 = styled.div`
|
|
|
24318
24342
|
cursor: pointer;
|
|
24319
24343
|
`;
|
|
24320
24344
|
|
|
24321
|
-
const QuickFilterDropdownMultiSelection =
|
|
24322
|
-
|
|
24323
|
-
|
|
24324
|
-
|
|
24325
|
-
|
|
24326
|
-
|
|
24327
|
-
|
|
24328
|
-
|
|
24329
|
-
|
|
24330
|
-
|
|
24331
|
-
|
|
24332
|
-
|
|
24333
|
-
|
|
24334
|
-
|
|
24335
|
-
|
|
24336
|
-
|
|
24337
|
-
|
|
24338
|
-
} = _ref;
|
|
24345
|
+
const QuickFilterDropdownMultiSelection = ({
|
|
24346
|
+
label,
|
|
24347
|
+
labelEmptyValue,
|
|
24348
|
+
options,
|
|
24349
|
+
selectedValue,
|
|
24350
|
+
placeHolder,
|
|
24351
|
+
onChange,
|
|
24352
|
+
required,
|
|
24353
|
+
disabled,
|
|
24354
|
+
width,
|
|
24355
|
+
error,
|
|
24356
|
+
errorMessage,
|
|
24357
|
+
labelColor,
|
|
24358
|
+
xIconShow,
|
|
24359
|
+
checkBoxColor,
|
|
24360
|
+
showLabelOnTop
|
|
24361
|
+
}) => {
|
|
24339
24362
|
const [isFocused, setIsFocused] = useState(false);
|
|
24340
24363
|
const [showOptions, setShowOptions] = useState(false);
|
|
24341
24364
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -35567,9 +35590,9 @@ const ToggleSlider = styled.span`
|
|
|
35567
35590
|
}
|
|
35568
35591
|
`;
|
|
35569
35592
|
|
|
35570
|
-
/**
|
|
35571
|
-
* ToggleSwitch component for on/off states.
|
|
35572
|
-
* Supports small/large sizes and disabled state.
|
|
35593
|
+
/**
|
|
35594
|
+
* ToggleSwitch component for on/off states.
|
|
35595
|
+
* Supports small/large sizes and disabled state.
|
|
35573
35596
|
*/
|
|
35574
35597
|
function ToggleSwitch(_ref) {
|
|
35575
35598
|
let {
|