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.esm.js CHANGED
@@ -10037,6 +10037,7 @@ const RangePicker = _ref => {
10037
10037
  setValue(e.target.value);
10038
10038
  };
10039
10039
  const toggleDatePicker = () => {
10040
+ if (disabled) return;
10040
10041
  setIsOpen(!isOpen);
10041
10042
  };
10042
10043
  const handleFocus = () => {
@@ -24103,22 +24104,21 @@ const DeleteIcon = styled.div`
24103
24104
  position: absolute;
24104
24105
  `;
24105
24106
 
24106
- const QuickFilterDropdownSingle = _ref => {
24107
- let {
24108
- label,
24109
- hoverColor,
24110
- options,
24111
- selectedValue,
24112
- placeHolder,
24113
- onChange,
24114
- disabled,
24115
- width,
24116
- error,
24117
- errorMessage,
24118
- xIconShow,
24119
- labelColor,
24120
- showLabelOnTop
24121
- } = _ref;
24107
+ const QuickFilterDropdownSingle = ({
24108
+ label,
24109
+ hoverColor,
24110
+ options,
24111
+ selectedValue,
24112
+ placeHolder,
24113
+ onChange,
24114
+ disabled,
24115
+ width,
24116
+ error,
24117
+ errorMessage,
24118
+ xIconShow,
24119
+ labelColor,
24120
+ showLabelOnTop
24121
+ }) => {
24122
24122
  const [isFocused, setIsFocused] = useState(false);
24123
24123
  const [showOptions, setShowOptions] = useState(false);
24124
24124
  const [inputValue, setInputValue] = useState("");
@@ -24516,24 +24516,23 @@ const IconContainer$2 = styled.div`
24516
24516
  cursor: pointer;
24517
24517
  `;
24518
24518
 
24519
- const QuickFilterDropdownMultiSelection = _ref => {
24520
- let {
24521
- label,
24522
- labelEmptyValue,
24523
- options,
24524
- selectedValue,
24525
- placeHolder,
24526
- onChange,
24527
- required,
24528
- disabled,
24529
- width,
24530
- error,
24531
- errorMessage,
24532
- labelColor,
24533
- xIconShow,
24534
- checkBoxColor,
24535
- showLabelOnTop
24536
- } = _ref;
24519
+ const QuickFilterDropdownMultiSelection = ({
24520
+ label,
24521
+ labelEmptyValue,
24522
+ options,
24523
+ selectedValue,
24524
+ placeHolder,
24525
+ onChange,
24526
+ required,
24527
+ disabled,
24528
+ width,
24529
+ error,
24530
+ errorMessage,
24531
+ labelColor,
24532
+ xIconShow,
24533
+ checkBoxColor,
24534
+ showLabelOnTop
24535
+ }) => {
24537
24536
  const [isFocused, setIsFocused] = useState(false);
24538
24537
  const [showOptions, setShowOptions] = useState(false);
24539
24538
  const [inputValue, setInputValue] = useState('');