sag_components 2.0.0-beta8 → 2.0.0-beta9

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
@@ -637,58 +637,7 @@ declare function QuickFilter({ hoverColor, multipleSelection, xIconShow, disable
637
637
  onChange: any;
638
638
  options: any;
639
639
  selectedValue: any;
640
- }): react_jsx_runtime.JSX.Element;
641
- declare namespace QuickFilter {
642
- namespace propTypes {
643
- const hoverColor: PropTypes.Requireable<string>;
644
- const multipleSelection: PropTypes.Requireable<boolean>;
645
- const disabled: PropTypes.Requireable<boolean>;
646
- const error: PropTypes.Requireable<boolean>;
647
- const errorMessage: string;
648
- const label: PropTypes.Requireable<string>;
649
- const labelColor: PropTypes.Requireable<string>;
650
- const placeHolder: PropTypes.Requireable<string>;
651
- const width: PropTypes.Requireable<string>;
652
- const checkBoxColor: PropTypes.Requireable<string>;
653
- const onChange: PropTypes.Requireable<(...args: any[]) => any>;
654
- const options: PropTypes.Requireable<(PropTypes.InferProps<{
655
- id: PropTypes.Requireable<string>;
656
- label: PropTypes.Requireable<string>;
657
- }> | null | undefined)[]>;
658
- const selectedValue: PropTypes.Requireable<(PropTypes.InferProps<{
659
- id: PropTypes.Requireable<string>;
660
- label: PropTypes.Requireable<string>;
661
- }> | null | undefined)[]>;
662
- }
663
- namespace defaultProps {
664
- const hoverColor_1: string;
665
- export { hoverColor_1 as hoverColor };
666
- const multipleSelection_1: boolean;
667
- export { multipleSelection_1 as multipleSelection };
668
- const disabled_1: boolean;
669
- export { disabled_1 as disabled };
670
- const error_1: boolean;
671
- export { error_1 as error };
672
- const errorMessage_1: string;
673
- export { errorMessage_1 as errorMessage };
674
- const label_1: string;
675
- export { label_1 as label };
676
- const labelColor_1: string;
677
- export { labelColor_1 as labelColor };
678
- const placeHolder_1: string;
679
- export { placeHolder_1 as placeHolder };
680
- const width_1: string;
681
- export { width_1 as width };
682
- const checkBoxColor_1: string;
683
- export { checkBoxColor_1 as checkBoxColor };
684
- export function onChange_1(): void;
685
- export { onChange_1 as onChange };
686
- const options_1: never[];
687
- export { options_1 as options };
688
- const selectedValue_1: never[];
689
- export { selectedValue_1 as selectedValue };
690
- }
691
- }
640
+ }): react_jsx_runtime.JSX.Element;
692
641
 
693
642
  declare function OneColumnContainer(props: any): react_jsx_runtime.JSX.Element;
694
643
  declare namespace OneColumnContainer {
package/dist/index.esm.js CHANGED
@@ -51722,21 +51722,20 @@ const DatePicker = ({
51722
51722
  };
51723
51723
 
51724
51724
  /* eslint-disable import/no-extraneous-dependencies */
51725
- const RangePicker = _ref => {
51726
- let {
51727
- label,
51728
- onChange,
51729
- borderRadius,
51730
- required,
51731
- width,
51732
- height,
51733
- placeholder,
51734
- disabled,
51735
- borderColor,
51736
- borderColorFocus,
51737
- textColor,
51738
- selectedValue
51739
- } = _ref;
51725
+ const RangePicker = ({
51726
+ label,
51727
+ onChange,
51728
+ borderRadius,
51729
+ required,
51730
+ width,
51731
+ height,
51732
+ placeholder,
51733
+ disabled,
51734
+ borderColor,
51735
+ borderColorFocus,
51736
+ textColor,
51737
+ selectedValue
51738
+ }) => {
51740
51739
  const [isFocused, setIsFocused] = useState(false);
51741
51740
  const [isOpen, setIsOpen] = useState(false);
51742
51741
  const [value, setValue] = useState(''); // Added value state
@@ -66608,42 +66607,48 @@ const QuickFilter = _ref => {
66608
66607
  xIconShow: xIconShow
66609
66608
  }));
66610
66609
  };
66611
- QuickFilter.propTypes = {
66612
- hoverColor: PropTypes.string,
66613
- multipleSelection: PropTypes.bool,
66614
- disabled: PropTypes.bool,
66615
- error: PropTypes.bool,
66616
- errorMessage: "",
66617
- label: PropTypes.string,
66618
- labelColor: PropTypes.string,
66619
- placeHolder: PropTypes.string,
66620
- width: PropTypes.string,
66621
- checkBoxColor: PropTypes.string,
66622
- onChange: PropTypes.func,
66623
- options: PropTypes.arrayOf(PropTypes.shape({
66624
- id: PropTypes.string,
66625
- label: PropTypes.string
66626
- })),
66627
- selectedValue: PropTypes.arrayOf(PropTypes.shape({
66628
- id: PropTypes.string,
66629
- label: PropTypes.string
66630
- }))
66631
- };
66632
- QuickFilter.defaultProps = {
66633
- hoverColor: "#066768",
66634
- multipleSelection: false,
66635
- disabled: false,
66636
- error: false,
66637
- errorMessage: "",
66638
- label: "Unit Type:",
66639
- labelColor: "#066768",
66640
- placeHolder: "Select From List",
66641
- width: "auto",
66642
- checkBoxColor: "#229E38",
66643
- onChange: () => {},
66644
- options: [],
66645
- selectedValue: []
66646
- };
66610
+
66611
+ // QuickFilter.propTypes = {
66612
+ // hoverColor: PropTypes.string,
66613
+ // multipleSelection: PropTypes.bool,
66614
+ // disabled: PropTypes.bool,
66615
+ // error: PropTypes.bool,
66616
+ // errorMessage: "",
66617
+ // label: PropTypes.string,
66618
+ // labelColor: PropTypes.string,
66619
+ // placeHolder: PropTypes.string,
66620
+ // width: PropTypes.string,
66621
+ // checkBoxColor: PropTypes.string,
66622
+ // onChange: PropTypes.func,
66623
+ // options: PropTypes.arrayOf(
66624
+ // PropTypes.shape({
66625
+ // id: PropTypes.string,
66626
+ // label: PropTypes.string,
66627
+ // })
66628
+ // ),
66629
+ // selectedValue: PropTypes.arrayOf(
66630
+ // PropTypes.shape({
66631
+ // id: PropTypes.string,
66632
+ // label: PropTypes.string,
66633
+ // })
66634
+ // ),
66635
+ // };
66636
+
66637
+ // QuickFilter.defaultProps = {
66638
+ // hoverColor: "#066768",
66639
+ // multipleSelection: false,
66640
+ // disabled: false,
66641
+ // error: false,
66642
+ // errorMessage: "",
66643
+ // label: "Unit Type:",
66644
+ // labelColor: "#066768",
66645
+ // placeHolder: "Select From List",
66646
+ // width: "auto",
66647
+ // checkBoxColor: "#229E38",
66648
+ // onChange: () => {},
66649
+ // options: [],
66650
+ // selectedValue: [],
66651
+ // };
66647
66652
 
66648
66653
  var classnames = {exports: {}};
66649
66654