sag_components 2.0.0-beta169 → 2.0.0-beta170

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
@@ -10429,23 +10429,24 @@ const QuarterPopupPicker = ({
10429
10429
  };
10430
10430
 
10431
10431
  /* eslint-disable import/no-extraneous-dependencies */
10432
- const QuarterPicker = ({
10433
- availableQuarters,
10434
- // ["Q1-2024"]
10435
- label,
10436
- onChange,
10437
- borderRadius,
10438
- required,
10439
- width,
10440
- height,
10441
- placeholder,
10442
- disabled,
10443
- borderColor,
10444
- borderColorFocus,
10445
- textColor,
10446
- selectedValue,
10447
- startYear
10448
- }) => {
10432
+ const QuarterPicker = _ref => {
10433
+ let {
10434
+ availableQuarters,
10435
+ // ["Q1-2024"]
10436
+ label,
10437
+ onChange,
10438
+ borderRadius,
10439
+ required,
10440
+ width,
10441
+ height,
10442
+ placeholder,
10443
+ disabled,
10444
+ borderColor,
10445
+ borderColorFocus,
10446
+ textColor,
10447
+ selectedValue,
10448
+ startYear
10449
+ } = _ref;
10449
10450
  const [isFocused, setIsFocused] = useState(false);
10450
10451
  const [isOpen, setIsOpen] = useState(false);
10451
10452
  const [value, setValue] = useState('');
@@ -10887,22 +10888,23 @@ const MonthPopupPicker = ({
10887
10888
  };
10888
10889
 
10889
10890
  /* eslint-disable import/no-extraneous-dependencies */
10890
- const MonthPicker = ({
10891
- availableMonths,
10892
- label,
10893
- onChange,
10894
- borderRadius,
10895
- required,
10896
- width,
10897
- height,
10898
- placeholder,
10899
- disabled,
10900
- borderColor,
10901
- borderColorFocus,
10902
- textColor,
10903
- selectedValue,
10904
- startYear
10905
- }) => {
10891
+ const MonthPicker = _ref => {
10892
+ let {
10893
+ availableMonths,
10894
+ label,
10895
+ onChange,
10896
+ borderRadius,
10897
+ required,
10898
+ width,
10899
+ height,
10900
+ placeholder,
10901
+ disabled,
10902
+ borderColor,
10903
+ borderColorFocus,
10904
+ textColor,
10905
+ selectedValue,
10906
+ startYear
10907
+ } = _ref;
10906
10908
  const [isFocused, setIsFocused] = useState(false);
10907
10909
  const [isOpen, setIsOpen] = useState(false);
10908
10910
  const [value, setValue] = useState('');
@@ -24013,21 +24015,22 @@ const DeleteIcon = styled.div`
24013
24015
  position: absolute;
24014
24016
  `;
24015
24017
 
24016
- const QuickFilterDropdownSingle = ({
24017
- label,
24018
- hoverColor,
24019
- options,
24020
- selectedValue,
24021
- placeHolder,
24022
- onChange,
24023
- disabled,
24024
- width,
24025
- error,
24026
- errorMessage,
24027
- xIconShow,
24028
- labelColor,
24029
- showLabelOnTop
24030
- }) => {
24018
+ const QuickFilterDropdownSingle = _ref => {
24019
+ let {
24020
+ label,
24021
+ hoverColor,
24022
+ options,
24023
+ selectedValue,
24024
+ placeHolder,
24025
+ onChange,
24026
+ disabled,
24027
+ width,
24028
+ error,
24029
+ errorMessage,
24030
+ xIconShow,
24031
+ labelColor,
24032
+ showLabelOnTop
24033
+ } = _ref;
24031
24034
  const [isFocused, setIsFocused] = useState(false);
24032
24035
  const [showOptions, setShowOptions] = useState(false);
24033
24036
  const [inputValue, setInputValue] = useState("");
@@ -24424,23 +24427,24 @@ const IconContainer$2 = styled.div`
24424
24427
  cursor: pointer;
24425
24428
  `;
24426
24429
 
24427
- const QuickFilterDropdownMultiSelection = ({
24428
- label,
24429
- labelEmptyValue,
24430
- options,
24431
- selectedValue,
24432
- placeHolder,
24433
- onChange,
24434
- required,
24435
- disabled,
24436
- width,
24437
- error,
24438
- errorMessage,
24439
- labelColor,
24440
- xIconShow,
24441
- checkBoxColor,
24442
- showLabelOnTop
24443
- }) => {
24430
+ const QuickFilterDropdownMultiSelection = _ref => {
24431
+ let {
24432
+ label,
24433
+ labelEmptyValue,
24434
+ options,
24435
+ selectedValue,
24436
+ placeHolder,
24437
+ onChange,
24438
+ required,
24439
+ disabled,
24440
+ width,
24441
+ error,
24442
+ errorMessage,
24443
+ labelColor,
24444
+ xIconShow,
24445
+ checkBoxColor,
24446
+ showLabelOnTop
24447
+ } = _ref;
24444
24448
  const [isFocused, setIsFocused] = useState(false);
24445
24449
  const [showOptions, setShowOptions] = useState(false);
24446
24450
  const [inputValue, setInputValue] = useState('');
@@ -35678,9 +35682,9 @@ const ToggleSlider = styled.span`
35678
35682
  }
35679
35683
  `;
35680
35684
 
35681
- /**
35682
- * ToggleSwitch component for on/off states.
35683
- * Supports small/large sizes and disabled state.
35685
+ /**
35686
+ * ToggleSwitch component for on/off states.
35687
+ * Supports small/large sizes and disabled state.
35684
35688
  */
35685
35689
  function ToggleSwitch(_ref) {
35686
35690
  let {
@@ -39054,7 +39058,7 @@ const TableBody = ({
39054
39058
  return tag.replace(/-/g, ' ').replace(/\b\w/g, l => l.toUpperCase());
39055
39059
  };
39056
39060
  const formatValue = (value, column, row, rowIndex) => {
39057
- if (value === null || value === undefined) {
39061
+ if ((value === null || value === undefined) && column.fieldType?.toLowerCase() !== 'comments') {
39058
39062
  return '';
39059
39063
  }
39060
39064