sag_components 2.0.0-beta181 → 2.0.0-beta183

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
@@ -10545,24 +10545,23 @@ const QuarterPopupPicker = ({
10545
10545
  };
10546
10546
 
10547
10547
  /* eslint-disable import/no-extraneous-dependencies */
10548
- const QuarterPicker = _ref => {
10549
- let {
10550
- availableQuarters,
10551
- // ["Q1-2024"]
10552
- label,
10553
- onChange,
10554
- borderRadius,
10555
- required,
10556
- width,
10557
- height,
10558
- placeholder,
10559
- disabled,
10560
- borderColor,
10561
- borderColorFocus,
10562
- textColor,
10563
- selectedValue,
10564
- startYear
10565
- } = _ref;
10548
+ const QuarterPicker = ({
10549
+ availableQuarters,
10550
+ // ["Q1-2024"]
10551
+ label,
10552
+ onChange,
10553
+ borderRadius,
10554
+ required,
10555
+ width,
10556
+ height,
10557
+ placeholder,
10558
+ disabled,
10559
+ borderColor,
10560
+ borderColorFocus,
10561
+ textColor,
10562
+ selectedValue,
10563
+ startYear
10564
+ }) => {
10566
10565
  const [isFocused, setIsFocused] = useState(false);
10567
10566
  const [isOpen, setIsOpen] = useState(false);
10568
10567
  const [value, setValue] = useState('');
@@ -11004,23 +11003,22 @@ const MonthPopupPicker = ({
11004
11003
  };
11005
11004
 
11006
11005
  /* eslint-disable import/no-extraneous-dependencies */
11007
- const MonthPicker = _ref => {
11008
- let {
11009
- availableMonths,
11010
- label,
11011
- onChange,
11012
- borderRadius,
11013
- required,
11014
- width,
11015
- height,
11016
- placeholder,
11017
- disabled,
11018
- borderColor,
11019
- borderColorFocus,
11020
- textColor,
11021
- selectedValue,
11022
- startYear
11023
- } = _ref;
11006
+ const MonthPicker = ({
11007
+ availableMonths,
11008
+ label,
11009
+ onChange,
11010
+ borderRadius,
11011
+ required,
11012
+ width,
11013
+ height,
11014
+ placeholder,
11015
+ disabled,
11016
+ borderColor,
11017
+ borderColorFocus,
11018
+ textColor,
11019
+ selectedValue,
11020
+ startYear
11021
+ }) => {
11024
11022
  const [isFocused, setIsFocused] = useState(false);
11025
11023
  const [isOpen, setIsOpen] = useState(false);
11026
11024
  const [value, setValue] = useState('');
@@ -24131,22 +24129,21 @@ const DeleteIcon = styled.div`
24131
24129
  position: absolute;
24132
24130
  `;
24133
24131
 
24134
- const QuickFilterDropdownSingle = _ref => {
24135
- let {
24136
- label,
24137
- hoverColor,
24138
- options,
24139
- selectedValue,
24140
- placeHolder,
24141
- onChange,
24142
- disabled,
24143
- width,
24144
- error,
24145
- errorMessage,
24146
- xIconShow,
24147
- labelColor,
24148
- showLabelOnTop
24149
- } = _ref;
24132
+ const QuickFilterDropdownSingle = ({
24133
+ label,
24134
+ hoverColor,
24135
+ options,
24136
+ selectedValue,
24137
+ placeHolder,
24138
+ onChange,
24139
+ disabled,
24140
+ width,
24141
+ error,
24142
+ errorMessage,
24143
+ xIconShow,
24144
+ labelColor,
24145
+ showLabelOnTop
24146
+ }) => {
24150
24147
  const [isFocused, setIsFocused] = useState(false);
24151
24148
  const [showOptions, setShowOptions] = useState(false);
24152
24149
  const [inputValue, setInputValue] = useState("");
@@ -24543,24 +24540,23 @@ const IconContainer$2 = styled.div`
24543
24540
  cursor: pointer;
24544
24541
  `;
24545
24542
 
24546
- const QuickFilterDropdownMultiSelection = _ref => {
24547
- let {
24548
- label,
24549
- labelEmptyValue,
24550
- options,
24551
- selectedValue,
24552
- placeHolder,
24553
- onChange,
24554
- required,
24555
- disabled,
24556
- width,
24557
- error,
24558
- errorMessage,
24559
- labelColor,
24560
- xIconShow,
24561
- checkBoxColor,
24562
- showLabelOnTop
24563
- } = _ref;
24543
+ const QuickFilterDropdownMultiSelection = ({
24544
+ label,
24545
+ labelEmptyValue,
24546
+ options,
24547
+ selectedValue,
24548
+ placeHolder,
24549
+ onChange,
24550
+ required,
24551
+ disabled,
24552
+ width,
24553
+ error,
24554
+ errorMessage,
24555
+ labelColor,
24556
+ xIconShow,
24557
+ checkBoxColor,
24558
+ showLabelOnTop
24559
+ }) => {
24564
24560
  const [isFocused, setIsFocused] = useState(false);
24565
24561
  const [showOptions, setShowOptions] = useState(false);
24566
24562
  const [inputValue, setInputValue] = useState('');
@@ -35876,9 +35872,9 @@ const ToggleSlider = styled.span`
35876
35872
  }
35877
35873
  `;
35878
35874
 
35879
- /**
35880
- * ToggleSwitch component for on/off states.
35881
- * Supports small/large sizes and disabled state.
35875
+ /**
35876
+ * ToggleSwitch component for on/off states.
35877
+ * Supports small/large sizes and disabled state.
35882
35878
  */
35883
35879
  function ToggleSwitch(_ref) {
35884
35880
  let {
@@ -40055,7 +40051,7 @@ const TableBody = ({
40055
40051
  width: "12",
40056
40052
  height: "12",
40057
40053
  fill: "#666"
40058
- }))) : /*#__PURE__*/React$1.createElement("div", null), columns.map(column => {
40054
+ }))) : expandable === true ? /*#__PURE__*/React$1.createElement("div", null) : null, columns.map(column => {
40059
40055
  const value = row[column.key];
40060
40056
  const formattedValue = formatValue(value, column, row, rowIndex);
40061
40057
  return /*#__PURE__*/React$1.createElement(TableCell, {