sag_components 2.0.0-beta53 → 2.0.0-beta54

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
@@ -10047,6 +10047,7 @@ const RangePicker = _ref => {
10047
10047
  setValue(e.target.value);
10048
10048
  };
10049
10049
  const toggleDatePicker = () => {
10050
+ if (disabled) return;
10050
10051
  setIsOpen(!isOpen);
10051
10052
  };
10052
10053
  const handleFocus = () => {
@@ -24113,22 +24114,21 @@ const DeleteIcon = styled__default["default"].div`
24113
24114
  position: absolute;
24114
24115
  `;
24115
24116
 
24116
- const QuickFilterDropdownSingle = _ref => {
24117
- let {
24118
- label,
24119
- hoverColor,
24120
- options,
24121
- selectedValue,
24122
- placeHolder,
24123
- onChange,
24124
- disabled,
24125
- width,
24126
- error,
24127
- errorMessage,
24128
- xIconShow,
24129
- labelColor,
24130
- showLabelOnTop
24131
- } = _ref;
24117
+ const QuickFilterDropdownSingle = ({
24118
+ label,
24119
+ hoverColor,
24120
+ options,
24121
+ selectedValue,
24122
+ placeHolder,
24123
+ onChange,
24124
+ disabled,
24125
+ width,
24126
+ error,
24127
+ errorMessage,
24128
+ xIconShow,
24129
+ labelColor,
24130
+ showLabelOnTop
24131
+ }) => {
24132
24132
  const [isFocused, setIsFocused] = React$1.useState(false);
24133
24133
  const [showOptions, setShowOptions] = React$1.useState(false);
24134
24134
  const [inputValue, setInputValue] = React$1.useState("");
@@ -24526,24 +24526,23 @@ const IconContainer$2 = styled__default["default"].div`
24526
24526
  cursor: pointer;
24527
24527
  `;
24528
24528
 
24529
- const QuickFilterDropdownMultiSelection = _ref => {
24530
- let {
24531
- label,
24532
- labelEmptyValue,
24533
- options,
24534
- selectedValue,
24535
- placeHolder,
24536
- onChange,
24537
- required,
24538
- disabled,
24539
- width,
24540
- error,
24541
- errorMessage,
24542
- labelColor,
24543
- xIconShow,
24544
- checkBoxColor,
24545
- showLabelOnTop
24546
- } = _ref;
24529
+ const QuickFilterDropdownMultiSelection = ({
24530
+ label,
24531
+ labelEmptyValue,
24532
+ options,
24533
+ selectedValue,
24534
+ placeHolder,
24535
+ onChange,
24536
+ required,
24537
+ disabled,
24538
+ width,
24539
+ error,
24540
+ errorMessage,
24541
+ labelColor,
24542
+ xIconShow,
24543
+ checkBoxColor,
24544
+ showLabelOnTop
24545
+ }) => {
24547
24546
  const [isFocused, setIsFocused] = React$1.useState(false);
24548
24547
  const [showOptions, setShowOptions] = React$1.useState(false);
24549
24548
  const [inputValue, setInputValue] = React$1.useState('');