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 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 = _ref => {
10324
- let {
10325
- availableQuarters,
10326
- // ["Q1-2024"]
10327
- label,
10328
- onChange,
10329
- borderRadius,
10330
- required,
10331
- width,
10332
- height,
10333
- placeholder,
10334
- disabled,
10335
- borderColor,
10336
- borderColorFocus,
10337
- textColor,
10338
- selectedValue,
10339
- startYear
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 = _ref => {
10783
- let {
10784
- availableMonths,
10785
- label,
10786
- onChange,
10787
- borderRadius,
10788
- required,
10789
- width,
10790
- height,
10791
- placeholder,
10792
- disabled,
10793
- borderColor,
10794
- borderColorFocus,
10795
- textColor,
10796
- selectedValue,
10797
- startYear
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 = _ref => {
23910
- let {
23911
- label,
23912
- hoverColor,
23913
- options,
23914
- selectedValue,
23915
- placeHolder,
23916
- onChange,
23917
- disabled,
23918
- width,
23919
- error,
23920
- errorMessage,
23921
- xIconShow,
23922
- labelColor,
23923
- showLabelOnTop
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 = _ref => {
24322
- let {
24323
- label,
24324
- labelEmptyValue,
24325
- options,
24326
- selectedValue,
24327
- placeHolder,
24328
- onChange,
24329
- required,
24330
- disabled,
24331
- width,
24332
- error,
24333
- errorMessage,
24334
- labelColor,
24335
- xIconShow,
24336
- checkBoxColor,
24337
- showLabelOnTop
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 {