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.d.ts CHANGED
@@ -628,22 +628,7 @@ declare namespace CollapseHeader {
628
628
  }
629
629
  }
630
630
 
631
- declare function QuickFilter({ hoverColor, multipleSelection, xIconShow, disabled, error, errorMessage, label, labelColor, placeHolder, width, checkBoxColor, onChange, options, selectedValue, }: {
632
- hoverColor?: string | undefined;
633
- multipleSelection?: boolean | undefined;
634
- xIconShow?: boolean | undefined;
635
- disabled?: boolean | undefined;
636
- error?: boolean | undefined;
637
- errorMessage?: string | undefined;
638
- label?: string | undefined;
639
- labelColor?: string | undefined;
640
- placeHolder?: string | undefined;
641
- width?: string | undefined;
642
- checkBoxColor?: string | undefined;
643
- onChange?: ((event: any) => void) | undefined;
644
- options?: any[] | undefined;
645
- selectedValue?: any[] | undefined;
646
- }): react_jsx_runtime.JSX.Element;
631
+ declare function QuickFilter(props: any): react_jsx_runtime.JSX.Element;
647
632
 
648
633
  declare function OneColumnContainer(props: any): react_jsx_runtime.JSX.Element;
649
634
 
package/dist/index.esm.js CHANGED
@@ -11690,67 +11690,70 @@ const DropdownMain = dt.div`
11690
11690
  `;
11691
11691
 
11692
11692
  /* eslint-disable react/prop-types */
11693
- const DropdownNew = ({
11694
- isMulti,
11695
- label,
11696
- labelEmptyValue,
11697
- options,
11698
- selectedValue,
11699
- placeHolder,
11700
- onChange,
11701
- required,
11702
- disabled,
11703
- width,
11704
- error,
11705
- errorMessage,
11706
- labelColor,
11707
- checkBoxColor,
11708
- xIconShow,
11709
- showLabelOnTop,
11710
- orderBy,
11711
- elementType
11712
- }) => /*#__PURE__*/React$1.createElement(DropdownMain, {
11713
- className: "DropdownMain",
11714
- width: width
11715
- }, isMulti ? /*#__PURE__*/React$1.createElement(DropdownMultiNew, {
11716
- className: "DropdownMultiNew",
11717
- placeHolder: placeHolder,
11718
- label: label,
11719
- labelEmptyValue: labelEmptyValue,
11720
- labelColor: labelColor,
11721
- checkBoxColor: checkBoxColor,
11722
- required: required,
11723
- options: options,
11724
- width: width,
11725
- disabled: disabled,
11726
- error: error,
11727
- errorMessage: errorMessage,
11728
- selectedValue: selectedValue,
11729
- xIconShow: xIconShow,
11730
- onChange: onChange,
11731
- showLabelOnTop: showLabelOnTop,
11732
- orderBy: orderBy,
11733
- elementType: elementType
11734
- }) : /*#__PURE__*/React$1.createElement(DropdownSingleNew, {
11735
- className: "DropdownSingleNew",
11736
- placeHolder: placeHolder,
11737
- label: label,
11738
- labelEmptyValue: labelEmptyValue,
11739
- labelColor: labelColor,
11740
- checkBoxColor: checkBoxColor,
11741
- required: required,
11742
- options: options,
11743
- width: width,
11744
- disabled: disabled,
11745
- error: error,
11746
- errorMessage: errorMessage,
11747
- selectedValue: selectedValue,
11748
- xIconShow: xIconShow,
11749
- onChange: onChange,
11750
- showLabelOnTop: showLabelOnTop,
11751
- orderBy: orderBy,
11752
- elementType: elementType
11753
- }));
11693
+ const DropdownNew = _ref => {
11694
+ let {
11695
+ isMulti,
11696
+ label,
11697
+ labelEmptyValue,
11698
+ options,
11699
+ selectedValue,
11700
+ placeHolder,
11701
+ onChange,
11702
+ required,
11703
+ disabled,
11704
+ width,
11705
+ error,
11706
+ errorMessage,
11707
+ labelColor,
11708
+ checkBoxColor,
11709
+ xIconShow,
11710
+ showLabelOnTop,
11711
+ orderBy,
11712
+ elementType
11713
+ } = _ref;
11714
+ return /*#__PURE__*/React$1.createElement(DropdownMain, {
11715
+ className: "DropdownMain",
11716
+ width: width
11717
+ }, isMulti ? /*#__PURE__*/React$1.createElement(DropdownMultiNew, {
11718
+ className: "DropdownMultiNew",
11719
+ placeHolder: placeHolder,
11720
+ label: label,
11721
+ labelEmptyValue: labelEmptyValue,
11722
+ labelColor: labelColor,
11723
+ checkBoxColor: checkBoxColor,
11724
+ required: required,
11725
+ options: options,
11726
+ width: width,
11727
+ disabled: disabled,
11728
+ error: error,
11729
+ errorMessage: errorMessage,
11730
+ selectedValue: selectedValue,
11731
+ xIconShow: xIconShow,
11732
+ onChange: onChange,
11733
+ showLabelOnTop: showLabelOnTop,
11734
+ orderBy: orderBy,
11735
+ elementType: elementType
11736
+ }) : /*#__PURE__*/React$1.createElement(DropdownSingleNew, {
11737
+ className: "DropdownSingleNew",
11738
+ placeHolder: placeHolder,
11739
+ label: label,
11740
+ labelEmptyValue: labelEmptyValue,
11741
+ labelColor: labelColor,
11742
+ checkBoxColor: checkBoxColor,
11743
+ required: required,
11744
+ options: options,
11745
+ width: width,
11746
+ disabled: disabled,
11747
+ error: error,
11748
+ errorMessage: errorMessage,
11749
+ selectedValue: selectedValue,
11750
+ xIconShow: xIconShow,
11751
+ onChange: onChange,
11752
+ showLabelOnTop: showLabelOnTop,
11753
+ orderBy: orderBy,
11754
+ elementType: elementType
11755
+ }));
11756
+ };
11754
11757
  DropdownNew.propTypes = {
11755
11758
  placeHolder: PropTypes.string,
11756
11759
  label: PropTypes.string,
@@ -12164,20 +12167,21 @@ const DatePicker = ({
12164
12167
  };
12165
12168
 
12166
12169
  /* eslint-disable import/no-extraneous-dependencies */
12167
- const RangePicker = ({
12168
- label,
12169
- onChange,
12170
- borderRadius,
12171
- required,
12172
- width,
12173
- height,
12174
- placeholder,
12175
- disabled,
12176
- borderColor,
12177
- borderColorFocus,
12178
- textColor,
12179
- selectedValue
12180
- }) => {
12170
+ const RangePicker = _ref => {
12171
+ let {
12172
+ label,
12173
+ onChange,
12174
+ borderRadius,
12175
+ required,
12176
+ width,
12177
+ height,
12178
+ placeholder,
12179
+ disabled,
12180
+ borderColor,
12181
+ borderColorFocus,
12182
+ textColor,
12183
+ selectedValue
12184
+ } = _ref;
12181
12185
  const [isFocused, setIsFocused] = useState(false);
12182
12186
  const [isOpen, setIsOpen] = useState(false);
12183
12187
  const [value, setValue] = useState(''); // Added value state
@@ -12605,22 +12609,23 @@ const QuarterPopupPicker = ({
12605
12609
  };
12606
12610
 
12607
12611
  /* eslint-disable import/no-extraneous-dependencies */
12608
- const QuarterPicker = ({
12609
- availableQuarters,
12610
- // ["Q1-2024"]
12611
- label,
12612
- onChange,
12613
- borderRadius,
12614
- required,
12615
- width,
12616
- height,
12617
- placeholder,
12618
- disabled,
12619
- borderColor,
12620
- borderColorFocus,
12621
- textColor,
12622
- selectedValue
12623
- }) => {
12612
+ const QuarterPicker = _ref => {
12613
+ let {
12614
+ availableQuarters,
12615
+ // ["Q1-2024"]
12616
+ label,
12617
+ onChange,
12618
+ borderRadius,
12619
+ required,
12620
+ width,
12621
+ height,
12622
+ placeholder,
12623
+ disabled,
12624
+ borderColor,
12625
+ borderColorFocus,
12626
+ textColor,
12627
+ selectedValue
12628
+ } = _ref;
12624
12629
  const [isFocused, setIsFocused] = useState(false);
12625
12630
  const [isOpen, setIsOpen] = useState(false);
12626
12631
  const [value, setValue] = useState('');
@@ -13057,21 +13062,22 @@ const MonthPopupPicker = ({
13057
13062
  };
13058
13063
 
13059
13064
  /* eslint-disable import/no-extraneous-dependencies */
13060
- const MonthPicker = ({
13061
- availableMonths,
13062
- label,
13063
- onChange,
13064
- borderRadius,
13065
- required,
13066
- width,
13067
- height,
13068
- placeholder,
13069
- disabled,
13070
- borderColor,
13071
- borderColorFocus,
13072
- textColor,
13073
- selectedValue
13074
- }) => {
13065
+ const MonthPicker = _ref => {
13066
+ let {
13067
+ availableMonths,
13068
+ label,
13069
+ onChange,
13070
+ borderRadius,
13071
+ required,
13072
+ width,
13073
+ height,
13074
+ placeholder,
13075
+ disabled,
13076
+ borderColor,
13077
+ borderColorFocus,
13078
+ textColor,
13079
+ selectedValue
13080
+ } = _ref;
13075
13081
  const [isFocused, setIsFocused] = useState(false);
13076
13082
  const [isOpen, setIsOpen] = useState(false);
13077
13083
  const [value, setValue] = useState('');
@@ -26983,23 +26989,23 @@ const QuickFilterMain = dt.div`
26983
26989
  border-radius: 10px;
26984
26990
  `;
26985
26991
 
26986
- const QuickFilter = _ref => {
26987
- let {
26988
- hoverColor = "#066768",
26989
- multipleSelection = false,
26990
- xIconShow = false,
26991
- disabled = false,
26992
- error = false,
26993
- errorMessage = "",
26994
- label = "Unit Type:",
26995
- labelColor = "#066768",
26996
- placeHolder = "Select From List",
26997
- width = "auto",
26998
- checkBoxColor = "#229E38",
26999
- onChange = event => {},
27000
- options = [],
27001
- selectedValue = []
27002
- } = _ref;
26992
+ const QuickFilter = props => {
26993
+ const {
26994
+ hoverColor,
26995
+ multipleSelection,
26996
+ xIconShow,
26997
+ disabled,
26998
+ error,
26999
+ errorMessage,
27000
+ label,
27001
+ labelColor,
27002
+ placeHolder,
27003
+ width,
27004
+ checkBoxColor,
27005
+ onChange,
27006
+ options,
27007
+ selectedValue
27008
+ } = props;
27003
27009
  return /*#__PURE__*/React.createElement(QuickFilterMain, {
27004
27010
  width: width,
27005
27011
  className: "QuickFilterMain"