dhre-ui-kit 0.0.106 → 0.0.108

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/lib/index.mjs CHANGED
@@ -618,78 +618,29 @@ const styles$B = StyleSheet.create({
618
618
  rightIconStyle: { marginLeft: 8 }
619
619
  });
620
620
 
621
- var _path$c;
622
- function _extends$d() { return _extends$d = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$d.apply(null, arguments); }
623
- var SvgSearchIcon = function SvgSearchIcon(props) {
624
- return /*#__PURE__*/React.createElement("svg", _extends$d({
625
- xmlns: "http://www.w3.org/2000/svg",
626
- width: 24,
627
- height: 25,
628
- fill: "none"
629
- }, props), _path$c || (_path$c = /*#__PURE__*/React.createElement("path", {
630
- stroke: "#A7A7A7",
631
- strokeLinecap: "round",
632
- strokeLinejoin: "round",
633
- strokeWidth: 1.5,
634
- d: "M10.875 19.469a7.875 7.875 0 1 0 0-15.75 7.875 7.875 0 0 0 0 15.75M16.444 17.163 21 21.719"
635
- })));
636
- };
637
-
638
- var _path$b;
639
- function _extends$c() { return _extends$c = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$c.apply(null, arguments); }
621
+ var _path$3;
622
+ function _extends$3() { return _extends$3 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$3.apply(null, arguments); }
640
623
  var SvgCrossIcon = function SvgCrossIcon(props) {
641
- return /*#__PURE__*/React.createElement("svg", _extends$c({
624
+ return /*#__PURE__*/React.createElement("svg", _extends$3({
642
625
  xmlns: "http://www.w3.org/2000/svg",
643
626
  width: 24,
644
627
  height: 25,
645
628
  fill: "none"
646
- }, props), _path$b || (_path$b = /*#__PURE__*/React.createElement("path", {
629
+ }, props), _path$3 || (_path$3 = /*#__PURE__*/React.createElement("path", {
647
630
  fill: "#fff",
648
631
  d: "M17.657 8.032a.686.686 0 0 0-.97-.97L12 11.749 7.313 7.062a.686.686 0 1 0-.97.97l4.687 4.687-4.687 4.687a.686.686 0 1 0 .97.97L12 13.688l4.687 4.688a.686.686 0 1 0 .97-.97l-4.687-4.687z"
649
632
  })));
650
633
  };
651
634
 
652
- var _path$a;
653
- function _extends$b() { return _extends$b = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$b.apply(null, arguments); }
654
- var SvgCaretUp = function SvgCaretUp(props) {
655
- return /*#__PURE__*/React.createElement("svg", _extends$b({
656
- xmlns: "http://www.w3.org/2000/svg",
657
- width: 28,
658
- height: 20,
659
- fill: "none"
660
- }, props), _path$a || (_path$a = /*#__PURE__*/React.createElement("path", {
661
- stroke: "#A7A7A7",
662
- strokeLinecap: "round",
663
- strokeLinejoin: "round",
664
- d: "M3.75 12.5 10 6.25l6.25 6.25"
665
- })));
666
- };
667
-
668
- var _path$9;
669
- function _extends$a() { return _extends$a = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$a.apply(null, arguments); }
670
- var SvgCaretDown = function SvgCaretDown(props) {
671
- return /*#__PURE__*/React.createElement("svg", _extends$a({
672
- xmlns: "http://www.w3.org/2000/svg",
673
- width: 28,
674
- height: 20,
675
- fill: "none"
676
- }, props), _path$9 || (_path$9 = /*#__PURE__*/React.createElement("path", {
677
- stroke: "#A7A7A7",
678
- strokeLinecap: "round",
679
- strokeLinejoin: "round",
680
- d: "M16.25 7.5 10 13.75 3.75 7.5"
681
- })));
682
- };
683
-
684
- var _path$8;
685
- function _extends$9() { return _extends$9 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$9.apply(null, arguments); }
635
+ var _path$2;
636
+ function _extends$2() { return _extends$2 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$2.apply(null, arguments); }
686
637
  var SvgCaretLeft = function SvgCaretLeft(props) {
687
- return /*#__PURE__*/React.createElement("svg", _extends$9({
638
+ return /*#__PURE__*/React.createElement("svg", _extends$2({
688
639
  xmlns: "http://www.w3.org/2000/svg",
689
640
  width: 24,
690
641
  height: 24,
691
642
  fill: "none"
692
- }, props), _path$8 || (_path$8 = /*#__PURE__*/React.createElement("path", {
643
+ }, props), _path$2 || (_path$2 = /*#__PURE__*/React.createElement("path", {
693
644
  stroke: "#fff",
694
645
  strokeLinecap: "round",
695
646
  strokeLinejoin: "round",
@@ -698,48 +649,34 @@ var SvgCaretLeft = function SvgCaretLeft(props) {
698
649
  })));
699
650
  };
700
651
 
701
- var _path$7, _path2$1;
702
- function _extends$8() { return _extends$8 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$8.apply(null, arguments); }
652
+ var _path$1, _path2;
653
+ function _extends$1() { return _extends$1 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$1.apply(null, arguments); }
703
654
  var SvgDotsThreeVertical = function SvgDotsThreeVertical(props) {
704
- return /*#__PURE__*/React.createElement("svg", _extends$8({
655
+ return /*#__PURE__*/React.createElement("svg", _extends$1({
705
656
  xmlns: "http://www.w3.org/2000/svg",
706
657
  width: 24,
707
658
  height: 24,
708
659
  fill: "none"
709
- }, props), _path$7 || (_path$7 = /*#__PURE__*/React.createElement("path", {
660
+ }, props), _path$1 || (_path$1 = /*#__PURE__*/React.createElement("path", {
710
661
  fill: "#fff",
711
662
  stroke: "#fff",
712
663
  strokeWidth: 0.125,
713
664
  d: "M13.438 6a1.438 1.438 0 1 1-2.876 0 1.438 1.438 0 0 1 2.876 0ZM13.438 12a1.438 1.438 0 1 1-2.876 0 1.438 1.438 0 0 1 2.876 0Z"
714
- })), _path2$1 || (_path2$1 = /*#__PURE__*/React.createElement("path", {
665
+ })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
715
666
  fill: "#fff",
716
667
  d: "M12 19.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3"
717
668
  })));
718
669
  };
719
670
 
720
- var _path$6;
721
- function _extends$7() { return _extends$7 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$7.apply(null, arguments); }
722
- var SvgCircleTick = function SvgCircleTick(props) {
723
- return /*#__PURE__*/React.createElement("svg", _extends$7({
724
- xmlns: "http://www.w3.org/2000/svg",
725
- width: 20,
726
- height: 20,
727
- fill: "none"
728
- }, props), _path$6 || (_path$6 = /*#__PURE__*/React.createElement("path", {
729
- fill: "#fff",
730
- d: "M14.03 7.22a.75.75 0 0 1 0 1.06l-5.25 5.25a.75.75 0 0 1-1.06 0l-2.25-2.25a.75.75 0 1 1 1.06-1.06l1.72 1.72 4.72-4.72a.75.75 0 0 1 1.06 0M19.5 10A9.75 9.75 0 1 1 9.75.25 9.76 9.76 0 0 1 19.5 10M18 10a8.25 8.25 0 1 0-8.25 8.25A8.26 8.26 0 0 0 18 10"
731
- })));
732
- };
733
-
734
- var _path$5;
735
- function _extends$6() { return _extends$6 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$6.apply(null, arguments); }
671
+ var _path;
672
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
736
673
  var SvgArrowLeft = function SvgArrowLeft(props) {
737
- return /*#__PURE__*/React.createElement("svg", _extends$6({
674
+ return /*#__PURE__*/React.createElement("svg", _extends({
738
675
  xmlns: "http://www.w3.org/2000/svg",
739
676
  width: 24,
740
677
  height: 24,
741
678
  fill: "none"
742
- }, props), _path$5 || (_path$5 = /*#__PURE__*/React.createElement("path", {
679
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
743
680
  fill: "#fff",
744
681
  fillRule: "evenodd",
745
682
  d: "M15.6 4.186a.774.774 0 0 1 .085 1.092L9.923 12l5.762 6.722a.774.774 0 0 1-1.176 1.008l-6.194-7.226a.774.774 0 0 1 0-1.008L14.51 4.27a.774.774 0 0 1 1.092-.084",
@@ -747,113 +684,6 @@ var SvgArrowLeft = function SvgArrowLeft(props) {
747
684
  })));
748
685
  };
749
686
 
750
- var _path$4;
751
- function _extends$5() { return _extends$5 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$5.apply(null, arguments); }
752
- var SvgBellSimple = function SvgBellSimple(props) {
753
- return /*#__PURE__*/React.createElement("svg", _extends$5({
754
- xmlns: "http://www.w3.org/2000/svg",
755
- width: 29,
756
- height: 29,
757
- fill: "none"
758
- }, props), _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
759
- fill: "#fff",
760
- d: "M18.805 25.375a.68.68 0 0 1-.68.68h-7.25a.68.68 0 1 1 0-1.36h7.25a.68.68 0 0 1 .68.68m6.13-3.738a1.57 1.57 0 0 1-1.371.793H5.437a1.587 1.587 0 0 1-1.366-2.386c.64-1.103 1.593-4.214 1.593-8.263a8.836 8.836 0 0 1 17.672 0c0 4.048.954 7.16 1.595 8.263a1.57 1.57 0 0 1 .003 1.593m-1.18-.907c-.857-1.472-1.778-4.907-1.778-8.949a7.477 7.477 0 0 0-14.954 0c0 4.043-.922 7.477-1.78 8.95a.23.23 0 0 0 0 .226.22.22 0 0 0 .193.113h18.127a.22.22 0 0 0 .192-.113.23.23 0 0 0 0-.227"
761
- })));
762
- };
763
-
764
- var _g, _defs;
765
- function _extends$4() { return _extends$4 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$4.apply(null, arguments); }
766
- var SvgUploadFileIcon = function SvgUploadFileIcon(props) {
767
- return /*#__PURE__*/React.createElement("svg", _extends$4({
768
- xmlns: "http://www.w3.org/2000/svg",
769
- width: 24,
770
- height: 25,
771
- fill: "none"
772
- }, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
773
- stroke: "#000",
774
- strokeLinecap: "round",
775
- strokeLinejoin: "round",
776
- clipPath: "url(#uploadFileIcon_svg__a)"
777
- }, /*#__PURE__*/React.createElement("path", {
778
- d: "M12 14V3.5M20.25 14v6H3.75v-6M8.25 7.25 12 3.5l3.75 3.75"
779
- }))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
780
- id: "uploadFileIcon_svg__a"
781
- }, /*#__PURE__*/React.createElement("path", {
782
- fill: "#fff",
783
- d: "M0 .5h24v24H0z"
784
- })))));
785
- };
786
-
787
- var _path$3;
788
- function _extends$3() { return _extends$3 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$3.apply(null, arguments); }
789
- var SvgCaretRight = function SvgCaretRight(props) {
790
- return /*#__PURE__*/React.createElement("svg", _extends$3({
791
- xmlns: "http://www.w3.org/2000/svg",
792
- width: 18,
793
- height: 18,
794
- fill: "none"
795
- }, props), _path$3 || (_path$3 = /*#__PURE__*/React.createElement("path", {
796
- stroke: "#fff",
797
- strokeLinecap: "round",
798
- strokeLinejoin: "round",
799
- d: "M6.75 3.375 12.375 9 6.75 14.625"
800
- })));
801
- };
802
-
803
- var _path$2;
804
- function _extends$2() { return _extends$2 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$2.apply(null, arguments); }
805
- var SvgCheckWhite = function SvgCheckWhite(props) {
806
- return /*#__PURE__*/React.createElement("svg", _extends$2({
807
- xmlns: "http://www.w3.org/2000/svg",
808
- width: 16,
809
- height: 16,
810
- fill: "none"
811
- }, props), _path$2 || (_path$2 = /*#__PURE__*/React.createElement("path", {
812
- stroke: "#fff",
813
- strokeLinecap: "round",
814
- strokeLinejoin: "round",
815
- strokeWidth: 2,
816
- d: "m13.5 4.5-7 7L3 8"
817
- })));
818
- };
819
-
820
- var _path$1, _path2;
821
- function _extends$1() { return _extends$1 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$1.apply(null, arguments); }
822
- var SvgFileIcon = function SvgFileIcon(props) {
823
- return /*#__PURE__*/React.createElement("svg", _extends$1({
824
- xmlns: "http://www.w3.org/2000/svg",
825
- width: 24,
826
- height: 24,
827
- fill: "none"
828
- }, props), _path$1 || (_path$1 = /*#__PURE__*/React.createElement("path", {
829
- stroke: "#000",
830
- strokeLinecap: "round",
831
- strokeLinejoin: "round",
832
- d: "M4.5 12V3.75A.75.75 0 0 1 5.25 3h9l5.25 5.25V12"
833
- })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
834
- stroke: "#000",
835
- strokeLinecap: "round",
836
- strokeLinejoin: "round",
837
- d: "M14.25 3v5.25h5.25M4.5 18.75H6a1.5 1.5 0 1 0 0-3H4.5v4.5M20.25 15.75h-2.625v4.5M19.875 18.375h-2.25M12 20.25a2.25 2.25 0 0 0 0-4.5h-1.312v4.5z"
838
- })));
839
- };
840
-
841
- var _path;
842
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
843
- var SvgTrash = function SvgTrash(props) {
844
- return /*#__PURE__*/React.createElement("svg", _extends({
845
- xmlns: "http://www.w3.org/2000/svg",
846
- width: 24,
847
- height: 24,
848
- fill: "none"
849
- }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
850
- stroke: "#EB0542",
851
- strokeLinecap: "round",
852
- strokeLinejoin: "round",
853
- d: "M20.25 5.25H3.75M9.75 9.75v6M14.25 9.75v6M18.75 5.25V19.5a.75.75 0 0 1-.75.75H6a.75.75 0 0 1-.75-.75V5.25M15.75 5.25v-1.5a1.5 1.5 0 0 0-1.5-1.5h-4.5a1.5 1.5 0 0 0-1.5 1.5v1.5"
854
- })));
855
- };
856
-
857
687
  const BottomDrawer = ({
858
688
  isModalVisible,
859
689
  toggleModal,
@@ -901,24 +731,14 @@ const BottomDrawer = ({
901
731
  blurType: "light",
902
732
  blurAmount
903
733
  }
904
- ) : null, /* @__PURE__ */ React__default.createElement(View, { style: [styles$B.modalContainer, modalContainerStyle] }, showHeader && /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(View, { style: styles$B.separator }), /* @__PURE__ */ React__default.createElement(View, { style: styles$B.headerContainer }, showLeftIcon && React__default.cloneElement(leftIcon, {
905
- width: moderateScale(24),
906
- height: moderateScale(24),
907
- style: styles$B.leftIconStyle,
908
- onPress: onLeftIconPress
909
- }), /* @__PURE__ */ React__default.createElement(
734
+ ) : null, /* @__PURE__ */ React__default.createElement(View, { style: [styles$B.modalContainer, modalContainerStyle] }, showHeader && /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(View, { style: styles$B.separator }), /* @__PURE__ */ React__default.createElement(View, { style: styles$B.headerContainer }, /* @__PURE__ */ React__default.createElement(
910
735
  CustomTypography,
911
736
  {
912
737
  variant: titleVariant,
913
738
  text: title,
914
739
  style: { ...styles$B.title, ...titleStyle }
915
740
  }
916
- ), showRightIcon && React__default.cloneElement(rightIcon, {
917
- width: moderateScale(24),
918
- height: moderateScale(24),
919
- style: styles$B.rightIconStyle,
920
- onPress: toggleModal
921
- }))), children))
741
+ ))), children))
922
742
  ))
923
743
  );
924
744
  };
@@ -2159,12 +1979,7 @@ const Accordion = ({
2159
1979
  text: title,
2160
1980
  style: [styles$n.title, titleStyle]
2161
1981
  }
2162
- ),
2163
- React__default.cloneElement(isOpen ? /* @__PURE__ */ React__default.createElement(SvgCaretUp, null) : /* @__PURE__ */ React__default.createElement(SvgCaretDown, null), {
2164
- width: moderateScale(20),
2165
- height: moderateScale(20),
2166
- style: styles$n.iconStyle
2167
- })
1982
+ )
2168
1983
  ), optionalElement ? optionalElement() : null, isOpen && /* @__PURE__ */ React__default.createElement(Animated.View, { style: [styles$n.content, { height: cardHeight }] }, /* @__PURE__ */ React__default.createElement(
2169
1984
  View,
2170
1985
  {
@@ -2265,7 +2080,7 @@ const Toast = React__default.forwardRef((_props, ref) => {
2265
2080
  ],
2266
2081
  testID: "TOAST"
2267
2082
  },
2268
- /* @__PURE__ */ React__default.createElement(View, { style: styles$m.toastContainer }, /* @__PURE__ */ React__default.createElement(View, { style: styles$m.innerContainer }, isSuccess ? /* @__PURE__ */ React__default.createElement(SvgCircleTick, null) : /* @__PURE__ */ React__default.createElement(SvgCrossIcon, null), /* @__PURE__ */ React__default.createElement(
2083
+ /* @__PURE__ */ React__default.createElement(View, { style: styles$m.toastContainer }, /* @__PURE__ */ React__default.createElement(View, { style: styles$m.innerContainer }, /* @__PURE__ */ React__default.createElement(
2269
2084
  CustomTypography,
2270
2085
  {
2271
2086
  variant: "L2_REGULAR",
@@ -2361,12 +2176,7 @@ const CustomSearchBar = ({
2361
2176
  onSearchIconPress?.();
2362
2177
  },
2363
2178
  style: searchIconStyle
2364
- },
2365
- React__default.cloneElement(/* @__PURE__ */ React__default.createElement(SvgSearchIcon, null), {
2366
- width: moderateScale(24),
2367
- height: moderateScale(24),
2368
- style: [styles$l.searchIconStyle, searchIconStyle]
2369
- })
2179
+ }
2370
2180
  ),
2371
2181
  /* @__PURE__ */ React__default.createElement(
2372
2182
  TextInput,
@@ -2423,44 +2233,6 @@ const styles$k = StyleSheet.create({
2423
2233
  rightIconStyle: { marginLeft: horizontalScale(8) }
2424
2234
  });
2425
2235
 
2426
- const styles$j = StyleSheet.create({
2427
- container: {
2428
- justifyContent: "center",
2429
- alignItems: "center"
2430
- },
2431
- title: {
2432
- color: "#000"
2433
- }
2434
- });
2435
-
2436
- const CustomIcon = ({
2437
- icon,
2438
- title,
2439
- titleVariant = "L1_REGULAR",
2440
- testId = "CUSTOM-ICON",
2441
- onPress,
2442
- containerStyle,
2443
- titleStyle
2444
- }) => {
2445
- return /* @__PURE__ */ React__default.createElement(
2446
- Pressable,
2447
- {
2448
- style: [styles$j.container, containerStyle],
2449
- onPress,
2450
- testID: testId
2451
- },
2452
- icon,
2453
- title && /* @__PURE__ */ React__default.createElement(
2454
- CustomTypography,
2455
- {
2456
- variant: titleVariant,
2457
- text: title,
2458
- style: [styles$j.title, titleStyle]
2459
- }
2460
- )
2461
- );
2462
- };
2463
-
2464
2236
  const CustomHeader = ({
2465
2237
  title,
2466
2238
  testId = "CUSTOM-HEADER",
@@ -2471,31 +2243,17 @@ const CustomHeader = ({
2471
2243
  onLeftPress,
2472
2244
  onRightPress
2473
2245
  }) => {
2474
- return /* @__PURE__ */ React__default.createElement(View, { style: styles$k.container, testID: testId }, /* @__PURE__ */ React__default.createElement(View, { style: styles$k.headderContainer }, showLeftIcon && /* @__PURE__ */ React__default.createElement(
2475
- CustomIcon,
2476
- {
2477
- icon: leftIcon,
2478
- onPress: onLeftPress,
2479
- containerStyle: styles$k.leftIconStyle
2480
- }
2481
- ), /* @__PURE__ */ React__default.createElement(
2246
+ return /* @__PURE__ */ React__default.createElement(View, { style: styles$k.container, testID: testId }, /* @__PURE__ */ React__default.createElement(View, { style: styles$k.headderContainer }, /* @__PURE__ */ React__default.createElement(
2482
2247
  CustomTypography,
2483
2248
  {
2484
2249
  variant: "B2_REGULAR",
2485
2250
  text: title,
2486
2251
  style: styles$k.headerTitle
2487
2252
  }
2488
- )), showRightIcon && /* @__PURE__ */ React__default.createElement(
2489
- CustomIcon,
2490
- {
2491
- icon: rightIcon,
2492
- onPress: onRightPress,
2493
- containerStyle: styles$k.rightIconStyle
2494
- }
2495
- ));
2253
+ )));
2496
2254
  };
2497
2255
 
2498
- const styles$i = StyleSheet.create({
2256
+ const styles$j = StyleSheet.create({
2499
2257
  container: {
2500
2258
  flex: 1
2501
2259
  },
@@ -2556,19 +2314,19 @@ const SwipableList = (props) => {
2556
2314
  {
2557
2315
  testID,
2558
2316
  onPress,
2559
- style: [styles$i.actionButton, style]
2317
+ style: [styles$j.actionButton, style]
2560
2318
  },
2561
2319
  icon,
2562
2320
  /* @__PURE__ */ React__default.createElement(
2563
2321
  CustomTypography,
2564
2322
  {
2565
2323
  variant: "L1_REGULAR",
2566
- style: [styles$i.titleStyle, titleStyle],
2324
+ style: [styles$j.titleStyle, titleStyle],
2567
2325
  text: title
2568
2326
  }
2569
2327
  )
2570
2328
  );
2571
- const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React__default.createElement(View, { style: [styles$i.leftActions, leftPrimaryActionStyle] }, leftPrimaryActionIcon && /* @__PURE__ */ React__default.createElement(
2329
+ const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React__default.createElement(View, { style: [styles$j.leftActions, leftPrimaryActionStyle] }, leftPrimaryActionIcon && /* @__PURE__ */ React__default.createElement(
2572
2330
  ActionButton,
2573
2331
  {
2574
2332
  icon: leftPrimaryActionIcon,
@@ -2587,7 +2345,7 @@ const SwipableList = (props) => {
2587
2345
  testID: `${testId}-LEFT-SECONDARY-${item.id}`
2588
2346
  }
2589
2347
  ));
2590
- const rightActionHandle = (item) => /* @__PURE__ */ React__default.createElement(View, { style: [styles$i.rightActions, rightPrimaryActionStyle] }, rightPrimaryActionIcon && /* @__PURE__ */ React__default.createElement(
2348
+ const rightActionHandle = (item) => /* @__PURE__ */ React__default.createElement(View, { style: [styles$j.rightActions, rightPrimaryActionStyle] }, rightPrimaryActionIcon && /* @__PURE__ */ React__default.createElement(
2591
2349
  ActionButton,
2592
2350
  {
2593
2351
  icon: rightPrimaryActionIcon,
@@ -2597,7 +2355,7 @@ const SwipableList = (props) => {
2597
2355
  testID: `${testId}-RIGHT-PRIMARY-${item.id}`
2598
2356
  }
2599
2357
  ));
2600
- const renderItem = ({ item }) => /* @__PURE__ */ React__default.createElement(GestureHandlerRootView, { testID: `${testId}-LIST`, style: styles$i.container }, /* @__PURE__ */ React__default.createElement(
2358
+ const renderItem = ({ item }) => /* @__PURE__ */ React__default.createElement(GestureHandlerRootView, { testID: `${testId}-LIST`, style: styles$j.container }, /* @__PURE__ */ React__default.createElement(
2601
2359
  Swipeable,
2602
2360
  {
2603
2361
  renderLeftActions: () => leftActionHandle(
@@ -2608,7 +2366,7 @@ const SwipableList = (props) => {
2608
2366
  item.isRead ? leftSecondaryActionInActiveTitle : leftSecondaryActionActiveTitle
2609
2367
  ),
2610
2368
  renderRightActions: () => rightActionHandle(item),
2611
- containerStyle: styles$i.swippableContainer
2369
+ containerStyle: styles$j.swippableContainer
2612
2370
  },
2613
2371
  props?.renderItem(item)
2614
2372
  ));
@@ -2618,11 +2376,49 @@ const SwipableList = (props) => {
2618
2376
  data,
2619
2377
  renderItem,
2620
2378
  keyExtractor: (item) => item.id,
2621
- ItemSeparatorComponent: () => /* @__PURE__ */ React__default.createElement(View, { style: styles$i.seprator })
2379
+ ItemSeparatorComponent: () => /* @__PURE__ */ React__default.createElement(View, { style: styles$j.seprator })
2622
2380
  }
2623
2381
  ));
2624
2382
  };
2625
2383
 
2384
+ const styles$i = StyleSheet.create({
2385
+ container: {
2386
+ justifyContent: "center",
2387
+ alignItems: "center"
2388
+ },
2389
+ title: {
2390
+ color: "#000"
2391
+ }
2392
+ });
2393
+
2394
+ const CustomIcon = ({
2395
+ icon,
2396
+ title,
2397
+ titleVariant = "L1_REGULAR",
2398
+ testId = "CUSTOM-ICON",
2399
+ onPress,
2400
+ containerStyle,
2401
+ titleStyle
2402
+ }) => {
2403
+ return /* @__PURE__ */ React__default.createElement(
2404
+ Pressable,
2405
+ {
2406
+ style: [styles$i.container, containerStyle],
2407
+ onPress,
2408
+ testID: testId
2409
+ },
2410
+ icon,
2411
+ title && /* @__PURE__ */ React__default.createElement(
2412
+ CustomTypography,
2413
+ {
2414
+ variant: titleVariant,
2415
+ text: title,
2416
+ style: [styles$i.title, titleStyle]
2417
+ }
2418
+ )
2419
+ );
2420
+ };
2421
+
2626
2422
  const styles$h = StyleSheet.create({
2627
2423
  container: {
2628
2424
  flex: 1,
@@ -3079,9 +2875,9 @@ const NotificationBandge = ({
3079
2875
  notificationCount = 0
3080
2876
  }) => {
3081
2877
  if (notificationCount <= 0) {
3082
- return /* @__PURE__ */ React__default.createElement(SvgBellSimple, null);
2878
+ return null;
3083
2879
  }
3084
- return /* @__PURE__ */ React__default.createElement(View, { style: styles$b.iconContainer }, /* @__PURE__ */ React__default.createElement(SvgBellSimple, null), /* @__PURE__ */ React__default.createElement(View, { style: styles$b.badge }, /* @__PURE__ */ React__default.createElement(Text, { style: [styles$b.badgeText] }, notificationCount > 99 ? "99+" : notificationCount)));
2880
+ return /* @__PURE__ */ React__default.createElement(View, { style: styles$b.iconContainer }, /* @__PURE__ */ React__default.createElement(View, { style: styles$b.badge }, /* @__PURE__ */ React__default.createElement(Text, { style: [styles$b.badgeText] }, notificationCount > 99 ? "99+" : notificationCount)));
3085
2881
  };
3086
2882
 
3087
2883
  const ScrollableList = ({
@@ -3669,8 +3465,13 @@ const CustomSwitchBtn = ({
3669
3465
  );
3670
3466
  };
3671
3467
 
3468
+ var __defProp = Object.defineProperty;
3469
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3470
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
3672
3471
  class ToastService {
3673
- toastRef = null;
3472
+ constructor() {
3473
+ __publicField(this, "toastRef", null);
3474
+ }
3674
3475
  setRef(ref) {
3675
3476
  this.toastRef = ref;
3676
3477
  }
@@ -3836,7 +3637,7 @@ const CustomDocumentPicker = ({
3836
3637
  }
3837
3638
  }
3838
3639
  }, [fileTypes, maxFileSize, onDocumentUpload]);
3839
- const removeDocument = useCallback(() => {
3640
+ useCallback(() => {
3840
3641
  setDocDetails(void 0);
3841
3642
  }, []);
3842
3643
  return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
@@ -3849,7 +3650,7 @@ const CustomDocumentPicker = ({
3849
3650
  containerStyle
3850
3651
  ]
3851
3652
  },
3852
- /* @__PURE__ */ React__default.createElement(Pressable, { style: styles$3.innerContainer, onPress: pickDocument }, docDetails ? /* @__PURE__ */ React__default.createElement(SvgFileIcon, null) : /* @__PURE__ */ React__default.createElement(SvgUploadFileIcon, null), /* @__PURE__ */ React__default.createElement(View, { style: styles$3.titleContainer }, /* @__PURE__ */ React__default.createElement(
3653
+ /* @__PURE__ */ React__default.createElement(Pressable, { style: styles$3.innerContainer, onPress: pickDocument }, /* @__PURE__ */ React__default.createElement(View, { style: styles$3.titleContainer }, /* @__PURE__ */ React__default.createElement(
3853
3654
  CustomTypography,
3854
3655
  {
3855
3656
  variant: FontStyle.L2_REGULAR,
@@ -3863,8 +3664,7 @@ const CustomDocumentPicker = ({
3863
3664
  text: hint,
3864
3665
  style: [{ color: theme.CONTENT_SECONDRY }, hintStyle]
3865
3666
  }
3866
- ))),
3867
- docDetails && /* @__PURE__ */ React__default.createElement(SvgTrash, { onPress: removeDocument })
3667
+ )))
3868
3668
  ), error && /* @__PURE__ */ React__default.createElement(
3869
3669
  CustomTypography,
3870
3670
  {
@@ -4161,7 +3961,7 @@ const Stepper = ({
4161
3961
  color: theme.CONTENT_PRIMARY
4162
3962
  }
4163
3963
  }
4164
- ), showStatus && item?.status === Status.Completed && /* @__PURE__ */ React__default.createElement(SvgCheckWhite, null)), index != data?.length - 1 && /* @__PURE__ */ React__default.createElement(View, { style: { ...styles$1.separator, ...dividerStyle } })),
3964
+ )), index != data?.length - 1 && /* @__PURE__ */ React__default.createElement(View, { style: { ...styles$1.separator, ...dividerStyle } })),
4165
3965
  /* @__PURE__ */ React__default.createElement(View, { style: styles$1.lableContainer }, /* @__PURE__ */ React__default.createElement(
4166
3966
  CustomTypography,
4167
3967
  {
@@ -4275,8 +4075,7 @@ const CustomSlideButton = ({ label, onComplete }) => {
4275
4075
  backgroundColor: theme.SURFACE_PRIMARY,
4276
4076
  width: BUTTON_WIDTH
4277
4077
  }
4278
- },
4279
- /* @__PURE__ */ React__default.createElement(SvgCaretRight, null)
4078
+ }
4280
4079
  )
4281
4080
  )
4282
4081
  );