sag_components 2.0.0-beta206 → 2.0.0-beta207

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
@@ -10580,23 +10580,24 @@ const QuarterPopupPicker = ({
10580
10580
  };
10581
10581
 
10582
10582
  /* eslint-disable import/no-extraneous-dependencies */
10583
- const QuarterPicker = ({
10584
- availableQuarters,
10585
- // ["Q1-2024"]
10586
- label,
10587
- onChange,
10588
- borderRadius,
10589
- required,
10590
- width,
10591
- height,
10592
- placeholder,
10593
- disabled,
10594
- borderColor,
10595
- borderColorFocus,
10596
- textColor,
10597
- selectedValue,
10598
- startYear
10599
- }) => {
10583
+ const QuarterPicker = _ref => {
10584
+ let {
10585
+ availableQuarters,
10586
+ // ["Q1-2024"]
10587
+ label,
10588
+ onChange,
10589
+ borderRadius,
10590
+ required,
10591
+ width,
10592
+ height,
10593
+ placeholder,
10594
+ disabled,
10595
+ borderColor,
10596
+ borderColorFocus,
10597
+ textColor,
10598
+ selectedValue,
10599
+ startYear
10600
+ } = _ref;
10600
10601
  const [isFocused, setIsFocused] = useState(false);
10601
10602
  const [isOpen, setIsOpen] = useState(false);
10602
10603
  const [value, setValue] = useState('');
@@ -11038,22 +11039,23 @@ const MonthPopupPicker = ({
11038
11039
  };
11039
11040
 
11040
11041
  /* eslint-disable import/no-extraneous-dependencies */
11041
- const MonthPicker = ({
11042
- availableMonths,
11043
- label,
11044
- onChange,
11045
- borderRadius,
11046
- required,
11047
- width,
11048
- height,
11049
- placeholder,
11050
- disabled,
11051
- borderColor,
11052
- borderColorFocus,
11053
- textColor,
11054
- selectedValue,
11055
- startYear
11056
- }) => {
11042
+ const MonthPicker = _ref => {
11043
+ let {
11044
+ availableMonths,
11045
+ label,
11046
+ onChange,
11047
+ borderRadius,
11048
+ required,
11049
+ width,
11050
+ height,
11051
+ placeholder,
11052
+ disabled,
11053
+ borderColor,
11054
+ borderColorFocus,
11055
+ textColor,
11056
+ selectedValue,
11057
+ startYear
11058
+ } = _ref;
11057
11059
  const [isFocused, setIsFocused] = useState(false);
11058
11060
  const [isOpen, setIsOpen] = useState(false);
11059
11061
  const [value, setValue] = useState('');
@@ -24164,21 +24166,22 @@ const DeleteIcon = styled.div`
24164
24166
  position: absolute;
24165
24167
  `;
24166
24168
 
24167
- const QuickFilterDropdownSingle = ({
24168
- label,
24169
- hoverColor,
24170
- options,
24171
- selectedValue,
24172
- placeHolder,
24173
- onChange,
24174
- disabled,
24175
- width,
24176
- error,
24177
- errorMessage,
24178
- xIconShow,
24179
- labelColor,
24180
- showLabelOnTop
24181
- }) => {
24169
+ const QuickFilterDropdownSingle = _ref => {
24170
+ let {
24171
+ label,
24172
+ hoverColor,
24173
+ options,
24174
+ selectedValue,
24175
+ placeHolder,
24176
+ onChange,
24177
+ disabled,
24178
+ width,
24179
+ error,
24180
+ errorMessage,
24181
+ xIconShow,
24182
+ labelColor,
24183
+ showLabelOnTop
24184
+ } = _ref;
24182
24185
  const [isFocused, setIsFocused] = useState(false);
24183
24186
  const [showOptions, setShowOptions] = useState(false);
24184
24187
  const [inputValue, setInputValue] = useState("");
@@ -24575,23 +24578,24 @@ const IconContainer$2 = styled.div`
24575
24578
  cursor: pointer;
24576
24579
  `;
24577
24580
 
24578
- const QuickFilterDropdownMultiSelection = ({
24579
- label,
24580
- labelEmptyValue,
24581
- options,
24582
- selectedValue,
24583
- placeHolder,
24584
- onChange,
24585
- required,
24586
- disabled,
24587
- width,
24588
- error,
24589
- errorMessage,
24590
- labelColor,
24591
- xIconShow,
24592
- checkBoxColor,
24593
- showLabelOnTop
24594
- }) => {
24581
+ const QuickFilterDropdownMultiSelection = _ref => {
24582
+ let {
24583
+ label,
24584
+ labelEmptyValue,
24585
+ options,
24586
+ selectedValue,
24587
+ placeHolder,
24588
+ onChange,
24589
+ required,
24590
+ disabled,
24591
+ width,
24592
+ error,
24593
+ errorMessage,
24594
+ labelColor,
24595
+ xIconShow,
24596
+ checkBoxColor,
24597
+ showLabelOnTop
24598
+ } = _ref;
24595
24599
  const [isFocused, setIsFocused] = useState(false);
24596
24600
  const [showOptions, setShowOptions] = useState(false);
24597
24601
  const [inputValue, setInputValue] = useState('');
@@ -36033,9 +36037,9 @@ const ToggleSlider = styled.span`
36033
36037
  }
36034
36038
  `;
36035
36039
 
36036
- /**
36037
- * ToggleSwitch component for on/off states.
36038
- * Supports small/large sizes and disabled state.
36040
+ /**
36041
+ * ToggleSwitch component for on/off states.
36042
+ * Supports small/large sizes and disabled state.
36039
36043
  */
36040
36044
  function ToggleSwitch(_ref) {
36041
36045
  let {
@@ -38746,7 +38750,7 @@ const TableHeader = ({
38746
38750
  type: "checkbox",
38747
38751
  onChange: e => handleCheckboxChange(column.key, e.target.checked),
38748
38752
  "data-column": column.key
38749
- }), column.fieldType?.toLowerCase() === 'checkbox' && column.showCheckboxInTitle !== false && /*#__PURE__*/React$1.createElement(ColumnCheckbox, {
38753
+ }), column.fieldType?.toLowerCase() === 'checkbox' && column.showCheckboxInTitle === true && /*#__PURE__*/React$1.createElement(ColumnCheckbox, {
38750
38754
  type: "checkbox",
38751
38755
  checked: headerCheckboxStates[column.key] || false,
38752
38756
  onChange: e => handleHeaderCheckboxClick(column.key, e),
@@ -38763,7 +38767,7 @@ const TableHeader = ({
38763
38767
  alignItems: 'center',
38764
38768
  justifyContent: 'center'
38765
38769
  }
38766
- }), column.fieldType?.toLowerCase() !== 'checkbox' && /*#__PURE__*/React$1.createElement(ColumnLabel, null, column.title), (column.filter || column.sort) && /*#__PURE__*/React$1.createElement(ColumnActions, null, column.sort && /*#__PURE__*/React$1.createElement(IconButton, {
38770
+ }), column.title && /*#__PURE__*/React$1.createElement(ColumnLabel, null, column.title), (column.filter || column.sort) && /*#__PURE__*/React$1.createElement(ColumnActions, null, column.sort && /*#__PURE__*/React$1.createElement(IconButton, {
38767
38771
  ref: el => iconRefs.current[`sort-${column.key}`] = el,
38768
38772
  onClick: () => handleSort(column.key),
38769
38773
  onMouseEnter: () => setFocusedSort(column.key),