sag_components 2.0.0-beta258 → 2.0.0-beta259

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
@@ -24167,22 +24167,21 @@ const DeleteIcon = styled.div`
24167
24167
  position: absolute;
24168
24168
  `;
24169
24169
 
24170
- const QuickFilterDropdownSingle = _ref => {
24171
- let {
24172
- label,
24173
- hoverColor,
24174
- options,
24175
- selectedValue,
24176
- placeHolder,
24177
- onChange,
24178
- disabled,
24179
- width,
24180
- error,
24181
- errorMessage,
24182
- xIconShow,
24183
- labelColor,
24184
- showLabelOnTop
24185
- } = _ref;
24170
+ const QuickFilterDropdownSingle = ({
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
+ }) => {
24186
24185
  const [isFocused, setIsFocused] = useState(false);
24187
24186
  const [showOptions, setShowOptions] = useState(false);
24188
24187
  const [inputValue, setInputValue] = useState("");
@@ -24639,26 +24638,25 @@ const IconContainer$2 = styled.div`
24639
24638
  cursor: pointer;
24640
24639
  `;
24641
24640
 
24642
- const QuickFilterDropdownMultiSelection = _ref => {
24643
- let {
24644
- label,
24645
- labelEmptyValue,
24646
- options,
24647
- selectedValue,
24648
- placeHolder,
24649
- onChange,
24650
- required,
24651
- disabled,
24652
- width,
24653
- height,
24654
- error,
24655
- errorMessage,
24656
- labelColor,
24657
- xIconShow,
24658
- checkBoxColor,
24659
- showLabelOnTop,
24660
- dropdownHeight
24661
- } = _ref;
24641
+ const QuickFilterDropdownMultiSelection = ({
24642
+ label,
24643
+ labelEmptyValue,
24644
+ options,
24645
+ selectedValue,
24646
+ placeHolder,
24647
+ onChange,
24648
+ required,
24649
+ disabled,
24650
+ width,
24651
+ height,
24652
+ error,
24653
+ errorMessage,
24654
+ labelColor,
24655
+ xIconShow,
24656
+ checkBoxColor,
24657
+ showLabelOnTop,
24658
+ dropdownHeight
24659
+ }) => {
24662
24660
  const [isFocused, setIsFocused] = useState(false);
24663
24661
  const [showOptions, setShowOptions] = useState(false);
24664
24662
  const [inputValue, setInputValue] = useState('');
@@ -42036,6 +42034,11 @@ const HeroButton = styled.button`
42036
42034
  > svg {
42037
42035
  pointer-events: none;
42038
42036
  }
42037
+
42038
+ &:disabled {
42039
+ cursor: not-allowed;
42040
+ opacity: 0.5;
42041
+ }
42039
42042
  `;
42040
42043
  const EditableCell = styled.div`
42041
42044
  display: flex;
@@ -43317,8 +43320,11 @@ const TableBody = /*#__PURE__*/forwardRef(({
43317
43320
  }
43318
43321
  case "hero":
43319
43322
  try {
43323
+ const isDisabled = column?.disable || false;
43324
+ console.log('Rendering hero icon with value:', value, column);
43320
43325
  if (value === null || value === undefined) return null;
43321
43326
  return /*#__PURE__*/React$1.createElement(HeroButton, {
43327
+ disabled: isDisabled,
43322
43328
  onClick: e => {
43323
43329
  e.stopPropagation();
43324
43330
  if (onHeroClick) {