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.js CHANGED
@@ -10439,23 +10439,24 @@ const QuarterPopupPicker = ({
10439
10439
  };
10440
10440
 
10441
10441
  /* eslint-disable import/no-extraneous-dependencies */
10442
- const QuarterPicker = ({
10443
- availableQuarters,
10444
- // ["Q1-2024"]
10445
- label,
10446
- onChange,
10447
- borderRadius,
10448
- required,
10449
- width,
10450
- height,
10451
- placeholder,
10452
- disabled,
10453
- borderColor,
10454
- borderColorFocus,
10455
- textColor,
10456
- selectedValue,
10457
- startYear
10458
- }) => {
10442
+ const QuarterPicker = _ref => {
10443
+ let {
10444
+ availableQuarters,
10445
+ // ["Q1-2024"]
10446
+ label,
10447
+ onChange,
10448
+ borderRadius,
10449
+ required,
10450
+ width,
10451
+ height,
10452
+ placeholder,
10453
+ disabled,
10454
+ borderColor,
10455
+ borderColorFocus,
10456
+ textColor,
10457
+ selectedValue,
10458
+ startYear
10459
+ } = _ref;
10459
10460
  const [isFocused, setIsFocused] = React$1.useState(false);
10460
10461
  const [isOpen, setIsOpen] = React$1.useState(false);
10461
10462
  const [value, setValue] = React$1.useState('');
@@ -10897,22 +10898,23 @@ const MonthPopupPicker = ({
10897
10898
  };
10898
10899
 
10899
10900
  /* eslint-disable import/no-extraneous-dependencies */
10900
- const MonthPicker = ({
10901
- availableMonths,
10902
- label,
10903
- onChange,
10904
- borderRadius,
10905
- required,
10906
- width,
10907
- height,
10908
- placeholder,
10909
- disabled,
10910
- borderColor,
10911
- borderColorFocus,
10912
- textColor,
10913
- selectedValue,
10914
- startYear
10915
- }) => {
10901
+ const MonthPicker = _ref => {
10902
+ let {
10903
+ availableMonths,
10904
+ label,
10905
+ onChange,
10906
+ borderRadius,
10907
+ required,
10908
+ width,
10909
+ height,
10910
+ placeholder,
10911
+ disabled,
10912
+ borderColor,
10913
+ borderColorFocus,
10914
+ textColor,
10915
+ selectedValue,
10916
+ startYear
10917
+ } = _ref;
10916
10918
  const [isFocused, setIsFocused] = React$1.useState(false);
10917
10919
  const [isOpen, setIsOpen] = React$1.useState(false);
10918
10920
  const [value, setValue] = React$1.useState('');
@@ -24023,21 +24025,22 @@ const DeleteIcon = styled__default["default"].div`
24023
24025
  position: absolute;
24024
24026
  `;
24025
24027
 
24026
- const QuickFilterDropdownSingle = ({
24027
- label,
24028
- hoverColor,
24029
- options,
24030
- selectedValue,
24031
- placeHolder,
24032
- onChange,
24033
- disabled,
24034
- width,
24035
- error,
24036
- errorMessage,
24037
- xIconShow,
24038
- labelColor,
24039
- showLabelOnTop
24040
- }) => {
24028
+ const QuickFilterDropdownSingle = _ref => {
24029
+ let {
24030
+ label,
24031
+ hoverColor,
24032
+ options,
24033
+ selectedValue,
24034
+ placeHolder,
24035
+ onChange,
24036
+ disabled,
24037
+ width,
24038
+ error,
24039
+ errorMessage,
24040
+ xIconShow,
24041
+ labelColor,
24042
+ showLabelOnTop
24043
+ } = _ref;
24041
24044
  const [isFocused, setIsFocused] = React$1.useState(false);
24042
24045
  const [showOptions, setShowOptions] = React$1.useState(false);
24043
24046
  const [inputValue, setInputValue] = React$1.useState("");
@@ -24434,23 +24437,24 @@ const IconContainer$2 = styled__default["default"].div`
24434
24437
  cursor: pointer;
24435
24438
  `;
24436
24439
 
24437
- const QuickFilterDropdownMultiSelection = ({
24438
- label,
24439
- labelEmptyValue,
24440
- options,
24441
- selectedValue,
24442
- placeHolder,
24443
- onChange,
24444
- required,
24445
- disabled,
24446
- width,
24447
- error,
24448
- errorMessage,
24449
- labelColor,
24450
- xIconShow,
24451
- checkBoxColor,
24452
- showLabelOnTop
24453
- }) => {
24440
+ const QuickFilterDropdownMultiSelection = _ref => {
24441
+ let {
24442
+ label,
24443
+ labelEmptyValue,
24444
+ options,
24445
+ selectedValue,
24446
+ placeHolder,
24447
+ onChange,
24448
+ required,
24449
+ disabled,
24450
+ width,
24451
+ error,
24452
+ errorMessage,
24453
+ labelColor,
24454
+ xIconShow,
24455
+ checkBoxColor,
24456
+ showLabelOnTop
24457
+ } = _ref;
24454
24458
  const [isFocused, setIsFocused] = React$1.useState(false);
24455
24459
  const [showOptions, setShowOptions] = React$1.useState(false);
24456
24460
  const [inputValue, setInputValue] = React$1.useState('');
@@ -35688,9 +35692,9 @@ const ToggleSlider = styled__default["default"].span`
35688
35692
  }
35689
35693
  `;
35690
35694
 
35691
- /**
35692
- * ToggleSwitch component for on/off states.
35693
- * Supports small/large sizes and disabled state.
35695
+ /**
35696
+ * ToggleSwitch component for on/off states.
35697
+ * Supports small/large sizes and disabled state.
35694
35698
  */
35695
35699
  function ToggleSwitch(_ref) {
35696
35700
  let {
@@ -39064,7 +39068,7 @@ const TableBody = ({
39064
39068
  return tag.replace(/-/g, ' ').replace(/\b\w/g, l => l.toUpperCase());
39065
39069
  };
39066
39070
  const formatValue = (value, column, row, rowIndex) => {
39067
- if (value === null || value === undefined) {
39071
+ if ((value === null || value === undefined) && column.fieldType?.toLowerCase() !== 'comments') {
39068
39072
  return '';
39069
39073
  }
39070
39074