sag_components 2.0.0-beta16 → 2.0.0-beta17

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
@@ -11699,67 +11699,70 @@ const DropdownMain = dt.div`
11699
11699
  `;
11700
11700
 
11701
11701
  /* eslint-disable react/prop-types */
11702
- const DropdownNew = ({
11703
- isMulti,
11704
- label,
11705
- labelEmptyValue,
11706
- options,
11707
- selectedValue,
11708
- placeHolder,
11709
- onChange,
11710
- required,
11711
- disabled,
11712
- width,
11713
- error,
11714
- errorMessage,
11715
- labelColor,
11716
- checkBoxColor,
11717
- xIconShow,
11718
- showLabelOnTop,
11719
- orderBy,
11720
- elementType
11721
- }) => /*#__PURE__*/React__default["default"].createElement(DropdownMain, {
11722
- className: "DropdownMain",
11723
- width: width
11724
- }, isMulti ? /*#__PURE__*/React__default["default"].createElement(DropdownMultiNew, {
11725
- className: "DropdownMultiNew",
11726
- placeHolder: placeHolder,
11727
- label: label,
11728
- labelEmptyValue: labelEmptyValue,
11729
- labelColor: labelColor,
11730
- checkBoxColor: checkBoxColor,
11731
- required: required,
11732
- options: options,
11733
- width: width,
11734
- disabled: disabled,
11735
- error: error,
11736
- errorMessage: errorMessage,
11737
- selectedValue: selectedValue,
11738
- xIconShow: xIconShow,
11739
- onChange: onChange,
11740
- showLabelOnTop: showLabelOnTop,
11741
- orderBy: orderBy,
11742
- elementType: elementType
11743
- }) : /*#__PURE__*/React__default["default"].createElement(DropdownSingleNew, {
11744
- className: "DropdownSingleNew",
11745
- placeHolder: placeHolder,
11746
- label: label,
11747
- labelEmptyValue: labelEmptyValue,
11748
- labelColor: labelColor,
11749
- checkBoxColor: checkBoxColor,
11750
- required: required,
11751
- options: options,
11752
- width: width,
11753
- disabled: disabled,
11754
- error: error,
11755
- errorMessage: errorMessage,
11756
- selectedValue: selectedValue,
11757
- xIconShow: xIconShow,
11758
- onChange: onChange,
11759
- showLabelOnTop: showLabelOnTop,
11760
- orderBy: orderBy,
11761
- elementType: elementType
11762
- }));
11702
+ const DropdownNew = _ref => {
11703
+ let {
11704
+ isMulti,
11705
+ label,
11706
+ labelEmptyValue,
11707
+ options,
11708
+ selectedValue,
11709
+ placeHolder,
11710
+ onChange,
11711
+ required,
11712
+ disabled,
11713
+ width,
11714
+ error,
11715
+ errorMessage,
11716
+ labelColor,
11717
+ checkBoxColor,
11718
+ xIconShow,
11719
+ showLabelOnTop,
11720
+ orderBy,
11721
+ elementType
11722
+ } = _ref;
11723
+ return /*#__PURE__*/React__default["default"].createElement(DropdownMain, {
11724
+ className: "DropdownMain",
11725
+ width: width
11726
+ }, isMulti ? /*#__PURE__*/React__default["default"].createElement(DropdownMultiNew, {
11727
+ className: "DropdownMultiNew",
11728
+ placeHolder: placeHolder,
11729
+ label: label,
11730
+ labelEmptyValue: labelEmptyValue,
11731
+ labelColor: labelColor,
11732
+ checkBoxColor: checkBoxColor,
11733
+ required: required,
11734
+ options: options,
11735
+ width: width,
11736
+ disabled: disabled,
11737
+ error: error,
11738
+ errorMessage: errorMessage,
11739
+ selectedValue: selectedValue,
11740
+ xIconShow: xIconShow,
11741
+ onChange: onChange,
11742
+ showLabelOnTop: showLabelOnTop,
11743
+ orderBy: orderBy,
11744
+ elementType: elementType
11745
+ }) : /*#__PURE__*/React__default["default"].createElement(DropdownSingleNew, {
11746
+ className: "DropdownSingleNew",
11747
+ placeHolder: placeHolder,
11748
+ label: label,
11749
+ labelEmptyValue: labelEmptyValue,
11750
+ labelColor: labelColor,
11751
+ checkBoxColor: checkBoxColor,
11752
+ required: required,
11753
+ options: options,
11754
+ width: width,
11755
+ disabled: disabled,
11756
+ error: error,
11757
+ errorMessage: errorMessage,
11758
+ selectedValue: selectedValue,
11759
+ xIconShow: xIconShow,
11760
+ onChange: onChange,
11761
+ showLabelOnTop: showLabelOnTop,
11762
+ orderBy: orderBy,
11763
+ elementType: elementType
11764
+ }));
11765
+ };
11763
11766
  DropdownNew.propTypes = {
11764
11767
  placeHolder: PropTypes.string,
11765
11768
  label: PropTypes.string,
@@ -12173,20 +12176,21 @@ const DatePicker = ({
12173
12176
  };
12174
12177
 
12175
12178
  /* eslint-disable import/no-extraneous-dependencies */
12176
- const RangePicker = ({
12177
- label,
12178
- onChange,
12179
- borderRadius,
12180
- required,
12181
- width,
12182
- height,
12183
- placeholder,
12184
- disabled,
12185
- borderColor,
12186
- borderColorFocus,
12187
- textColor,
12188
- selectedValue
12189
- }) => {
12179
+ const RangePicker = _ref => {
12180
+ let {
12181
+ label,
12182
+ onChange,
12183
+ borderRadius,
12184
+ required,
12185
+ width,
12186
+ height,
12187
+ placeholder,
12188
+ disabled,
12189
+ borderColor,
12190
+ borderColorFocus,
12191
+ textColor,
12192
+ selectedValue
12193
+ } = _ref;
12190
12194
  const [isFocused, setIsFocused] = React$1.useState(false);
12191
12195
  const [isOpen, setIsOpen] = React$1.useState(false);
12192
12196
  const [value, setValue] = React$1.useState(''); // Added value state
@@ -12614,22 +12618,23 @@ const QuarterPopupPicker = ({
12614
12618
  };
12615
12619
 
12616
12620
  /* eslint-disable import/no-extraneous-dependencies */
12617
- const QuarterPicker = ({
12618
- availableQuarters,
12619
- // ["Q1-2024"]
12620
- label,
12621
- onChange,
12622
- borderRadius,
12623
- required,
12624
- width,
12625
- height,
12626
- placeholder,
12627
- disabled,
12628
- borderColor,
12629
- borderColorFocus,
12630
- textColor,
12631
- selectedValue
12632
- }) => {
12621
+ const QuarterPicker = _ref => {
12622
+ let {
12623
+ availableQuarters,
12624
+ // ["Q1-2024"]
12625
+ label,
12626
+ onChange,
12627
+ borderRadius,
12628
+ required,
12629
+ width,
12630
+ height,
12631
+ placeholder,
12632
+ disabled,
12633
+ borderColor,
12634
+ borderColorFocus,
12635
+ textColor,
12636
+ selectedValue
12637
+ } = _ref;
12633
12638
  const [isFocused, setIsFocused] = React$1.useState(false);
12634
12639
  const [isOpen, setIsOpen] = React$1.useState(false);
12635
12640
  const [value, setValue] = React$1.useState('');
@@ -13066,21 +13071,22 @@ const MonthPopupPicker = ({
13066
13071
  };
13067
13072
 
13068
13073
  /* eslint-disable import/no-extraneous-dependencies */
13069
- const MonthPicker = ({
13070
- availableMonths,
13071
- label,
13072
- onChange,
13073
- borderRadius,
13074
- required,
13075
- width,
13076
- height,
13077
- placeholder,
13078
- disabled,
13079
- borderColor,
13080
- borderColorFocus,
13081
- textColor,
13082
- selectedValue
13083
- }) => {
13074
+ const MonthPicker = _ref => {
13075
+ let {
13076
+ availableMonths,
13077
+ label,
13078
+ onChange,
13079
+ borderRadius,
13080
+ required,
13081
+ width,
13082
+ height,
13083
+ placeholder,
13084
+ disabled,
13085
+ borderColor,
13086
+ borderColorFocus,
13087
+ textColor,
13088
+ selectedValue
13089
+ } = _ref;
13084
13090
  const [isFocused, setIsFocused] = React$1.useState(false);
13085
13091
  const [isOpen, setIsOpen] = React$1.useState(false);
13086
13092
  const [value, setValue] = React$1.useState('');
@@ -26992,23 +26998,23 @@ const QuickFilterMain = dt.div`
26992
26998
  border-radius: 10px;
26993
26999
  `;
26994
27000
 
26995
- const QuickFilter = _ref => {
26996
- let {
26997
- hoverColor = "#066768",
26998
- multipleSelection = false,
26999
- xIconShow = false,
27000
- disabled = false,
27001
- error = false,
27002
- errorMessage = "",
27003
- label = "Unit Type:",
27004
- labelColor = "#066768",
27005
- placeHolder = "Select From List",
27006
- width = "auto",
27007
- checkBoxColor = "#229E38",
27008
- onChange = event => {},
27009
- options = [],
27010
- selectedValue = []
27011
- } = _ref;
27001
+ const QuickFilter = props => {
27002
+ const {
27003
+ hoverColor,
27004
+ multipleSelection,
27005
+ xIconShow,
27006
+ disabled,
27007
+ error,
27008
+ errorMessage,
27009
+ label,
27010
+ labelColor,
27011
+ placeHolder,
27012
+ width,
27013
+ checkBoxColor,
27014
+ onChange,
27015
+ options,
27016
+ selectedValue
27017
+ } = props;
27012
27018
  return /*#__PURE__*/React.createElement(QuickFilterMain, {
27013
27019
  width: width,
27014
27020
  className: "QuickFilterMain"