@servesall/atoms 1.1.16 → 1.1.19

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.
Files changed (46) hide show
  1. package/dist/bundle.cjs.js +165 -60
  2. package/dist/bundle.esm.js +163 -62
  3. package/dist/bundle.umd.js +165 -60
  4. package/package.json +5 -4
  5. package/src/Buttons/RoundButton/RoundButton.style.js +11 -1
  6. package/src/Buttons/RoundedButton/RoundedButton.style.js +11 -1
  7. package/src/Inputs/InputNormal/index.js +26 -1
  8. package/src/Layout/BorderBottom.js +10 -0
  9. package/src/Layout/BorderBox.js +8 -0
  10. package/src/Layout/BorderTop.js +8 -0
  11. package/src/Layout/Box.js +1 -1
  12. package/src/Layout/Center.js +7 -7
  13. package/src/Layout/CenterLeft.js +7 -7
  14. package/src/Layout/CenterRight.js +7 -7
  15. package/src/Layout/ImageWrapper.js +10 -0
  16. package/src/Layout/Layout.style.js +51 -25
  17. package/src/Layout/Margin.js +7 -7
  18. package/src/Layout/MarginBottom.js +7 -7
  19. package/src/Layout/MarginHorizontal.js +7 -7
  20. package/src/Layout/MarginLeft.js +1 -1
  21. package/src/Layout/MarginRight.js +1 -1
  22. package/src/Layout/MarginTop.js +1 -1
  23. package/src/Layout/MarginVertical.js +7 -7
  24. package/src/Layout/Padding.js +7 -7
  25. package/src/Layout/PaddingBottom.js +1 -1
  26. package/src/Layout/PaddingHorizontal.js +7 -7
  27. package/src/Layout/PaddingLeft.js +1 -1
  28. package/src/Layout/PaddingRight.js +1 -1
  29. package/src/Layout/PaddingTop.js +1 -1
  30. package/src/Layout/PaddingVertical.js +7 -7
  31. package/src/Layout/RoundedTopBox.js +1 -1
  32. package/src/Layout/Stretch.js +7 -7
  33. package/src/Layout/WebSmallWrapper.js +7 -8
  34. package/src/Layout/index.js +8 -0
  35. package/src/SlideToConfirm/Swipe.style.js +1 -1
  36. package/src/SlideToConfirm/index.js +13 -2
  37. package/src/SplashScreen/SplashScreen.style.js +6 -0
  38. package/src/SplashScreen/assets/bootsplash_logo.png +0 -0
  39. package/src/SplashScreen/assets/bootsplash_logo@1,5x.png +0 -0
  40. package/src/SplashScreen/assets/bootsplash_logo@2x.png +0 -0
  41. package/src/SplashScreen/assets/bootsplash_logo@3x.png +0 -0
  42. package/src/SplashScreen/assets/bootsplash_logo@4x.png +0 -0
  43. package/src/SplashScreen/assets/bootsplash_manifest.json +7 -0
  44. package/src/SplashScreen/assets/penguinOriginal.svg +20 -0
  45. package/src/SplashScreen/index.js +69 -0
  46. package/src/index.js +10 -0
@@ -557,126 +557,126 @@ SpanText.propTypes = {
557
557
  style: PropTypes__default["default"].object
558
558
  };
559
559
 
560
- var _templateObject$m, _templateObject2$d, _templateObject3$6, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22;
560
+ var _templateObject$m, _templateObject2$d, _templateObject3$6, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26;
561
561
  var DEFAULT_FLEX_DIRECTION = reactNative.Platform.OS === "web" ? "column" : "column";
562
- var CenterElement = styled__default["default"].View(_templateObject$m || (_templateObject$m = _taggedTemplateLiteral(["\n align-items: center;\n justify-content: center;\n flex: 1;\n flex-direction: ", ";\n ", ";\n"])), function (props) {
563
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
562
+ var CenterElement = styled__default["default"].View(_templateObject$m || (_templateObject$m = _taggedTemplateLiteral(["\n align-items: center;\n justify-content: center;\n flex: 1;\n flexdirection: ", ";\n ", ";\n"])), function (props) {
563
+ return props.direction || DEFAULT_FLEX_DIRECTION;
564
564
  }, function (props) {
565
565
  return props.style;
566
566
  });
567
567
  var CenterLeftElement = styled__default["default"].View(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteral(["\n align-items: ", ";\n justify-content: ", ";\n flex: 1;\n flex-direction: ", ";\n ", ";\n"])), function (props) {
568
- return (props.flexDirection || DEFAULT_FLEX_DIRECTION) === "row" ? "center" : "flex-start";
568
+ return (props.direction || DEFAULT_FLEX_DIRECTION) === "row" ? "center" : "flex-start";
569
569
  }, function (props) {
570
- return (props.flexDirection || DEFAULT_FLEX_DIRECTION) === "row" ? "flex-start" : "center";
570
+ return (props.direction || DEFAULT_FLEX_DIRECTION) === "row" ? "flex-start" : "center";
571
571
  }, function (props) {
572
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
572
+ return props.direction || DEFAULT_FLEX_DIRECTION;
573
573
  }, function (props) {
574
574
  return props.style;
575
575
  });
576
576
  var CenterRightElement = styled__default["default"].View(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteral(["\n align-items: ", ";\n justify-content: ", ";\n flex: 1;\n flex-direction: ", ";\n ", ";\n"])), function (props) {
577
- return (props.flexDirection || DEFAULT_FLEX_DIRECTION) === "row" ? "center" : "flex-end";
577
+ return (props.direction || DEFAULT_FLEX_DIRECTION) === "row" ? "center" : "flex-end";
578
578
  }, function (props) {
579
- return (props.flexDirection || DEFAULT_FLEX_DIRECTION) === "row" ? "flex-end" : "center";
579
+ return (props.direction || DEFAULT_FLEX_DIRECTION) === "row" ? "flex-end" : "center";
580
580
  }, function (props) {
581
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
581
+ return props.direction || DEFAULT_FLEX_DIRECTION;
582
582
  }, function (props) {
583
583
  return props.style;
584
584
  });
585
585
  var MarginElement = styled__default["default"].View(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n margin: ", ";\n flex-direction: ", ";\n ", ";\n"])), function (props) {
586
586
  return props.theme.margin;
587
587
  }, function (props) {
588
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
588
+ return props.direction || DEFAULT_FLEX_DIRECTION;
589
589
  }, function (props) {
590
590
  return props.style;
591
591
  });
592
592
  var MarginHorizontalElement = styled__default["default"].View(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin: 0 ", ";\n flex-direction: ", ";\n ", ";\n"])), function (props) {
593
593
  return props.theme.margin;
594
594
  }, function (props) {
595
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
595
+ return props.direction || DEFAULT_FLEX_DIRECTION;
596
596
  }, function (props) {
597
597
  return props.style;
598
598
  });
599
599
  var MarginVerticalElement = styled__default["default"].View(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n margin: ", " 0;\n flex-direction: ", ";\n ", ";\n"])), function (props) {
600
600
  return props.theme.margin;
601
601
  }, function (props) {
602
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
602
+ return props.direction || DEFAULT_FLEX_DIRECTION;
603
603
  }, function (props) {
604
604
  return props.style;
605
605
  });
606
606
  var MarginBottomElement = styled__default["default"].View(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n flex-direction: ", ";\n ", ";\n"])), function (props) {
607
607
  return props.theme.margin;
608
608
  }, function (props) {
609
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
609
+ return props.direction || DEFAULT_FLEX_DIRECTION;
610
610
  }, function (props) {
611
611
  return props.style;
612
612
  });
613
613
  var MarginTopElement = styled__default["default"].View(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n margin-top: ", ";\n flex-direction: ", ";\n ", ";\n"])), function (props) {
614
614
  return props.theme.margin;
615
615
  }, function (props) {
616
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
616
+ return props.direction || DEFAULT_FLEX_DIRECTION;
617
617
  }, function (props) {
618
618
  return props.style;
619
619
  });
620
620
  var MarginRightElement = styled__default["default"].View(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n margin-right: ", ";\n flex-direction: ", ";\n ", ";\n"])), function (props) {
621
621
  return props.theme.margin;
622
622
  }, function (props) {
623
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
623
+ return props.direction || DEFAULT_FLEX_DIRECTION;
624
624
  }, function (props) {
625
625
  return props.style;
626
626
  });
627
627
  var MarginLeftElement = styled__default["default"].View(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n margin-left: ", ";\n flex-direction: ", ";\n ", ";\n"])), function (props) {
628
628
  return props.theme.margin;
629
629
  }, function (props) {
630
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
630
+ return props.direction || DEFAULT_FLEX_DIRECTION;
631
631
  }, function (props) {
632
632
  return props.style;
633
633
  });
634
634
  var PaddingElement = styled__default["default"].View(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n padding: ", ";\n flex-direction: ", ";\n ", ";\n"])), function (props) {
635
635
  return props.theme.padding;
636
636
  }, function (props) {
637
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
637
+ return props.direction || DEFAULT_FLEX_DIRECTION;
638
638
  }, function (props) {
639
639
  return props.style;
640
640
  });
641
641
  var PaddingHorizontalElement = styled__default["default"].View(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n padding: 0 ", ";\n flex-direction: ", ";\n ", ";\n"])), function (props) {
642
642
  return props.theme.padding;
643
643
  }, function (props) {
644
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
644
+ return props.direction || DEFAULT_FLEX_DIRECTION;
645
645
  }, function (props) {
646
646
  return props.style;
647
647
  });
648
648
  var PaddingVerticalElement = styled__default["default"].View(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n padding: ", " 0;\n flex-direction: ", ";\n ", ";\n"])), function (props) {
649
649
  return props.theme.padding;
650
650
  }, function (props) {
651
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
651
+ return props.direction || DEFAULT_FLEX_DIRECTION;
652
652
  }, function (props) {
653
653
  return props.style;
654
654
  });
655
655
  var PaddingTopElement = styled__default["default"].View(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n padding-top: ", ";\n flex-direction: ", ";\n ", ";\n"])), function (props) {
656
656
  return props.theme.padding;
657
657
  }, function (props) {
658
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
658
+ return props.direction || DEFAULT_FLEX_DIRECTION;
659
659
  }, function (props) {
660
660
  return props.style;
661
661
  });
662
662
  var PaddingBottomElement = styled__default["default"].View(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n padding-bottom: ", ";\n flex-direction: ", ";\n ", ";\n"])), function (props) {
663
663
  return props.theme.padding;
664
664
  }, function (props) {
665
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
665
+ return props.direction || DEFAULT_FLEX_DIRECTION;
666
666
  }, function (props) {
667
667
  return props.style;
668
668
  });
669
669
  var PaddingLeftElement = styled__default["default"].View(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n padding-left: ", ";\n flex-direction: ", ";\n ", ";\n"])), function (props) {
670
670
  return props.theme.padding;
671
671
  }, function (props) {
672
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
672
+ return props.direction || DEFAULT_FLEX_DIRECTION;
673
673
  }, function (props) {
674
674
  return props.style;
675
675
  });
676
676
  var PaddingRightElement = styled__default["default"].View(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n padding-right: ", ";\n flex-direction: ", ";\n ", ";\n"])), function (props) {
677
677
  return props.theme.padding;
678
678
  }, function (props) {
679
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
679
+ return props.direction || DEFAULT_FLEX_DIRECTION;
680
680
  }, function (props) {
681
681
  return props.style;
682
682
  });
@@ -684,25 +684,49 @@ var RowElement = styled__default["default"].View(_templateObject18 || (_template
684
684
  return props.style;
685
685
  });
686
686
  var StretchElement = styled__default["default"].View(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n align-items: stretch;\n align-self: stretch;\n flex-direction: ", ";\n ", ";\n"])), function (props) {
687
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
687
+ return props.direction || DEFAULT_FLEX_DIRECTION;
688
688
  }, function (props) {
689
689
  return props.style;
690
690
  });
691
691
  var BoxElement = styled__default["default"].View(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n flex: 1;\n flex-direction: ", ";\n ", ";\n"])), function (props) {
692
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
692
+ return props.direction || DEFAULT_FLEX_DIRECTION;
693
693
  }, function (props) {
694
694
  return props.style;
695
695
  });
696
- var FullScreenElement = styled__default["default"].View(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 11;\n flex-direction: ", ";\n ", ";\n"])), function (props) {
697
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
696
+ var BorderBottomElement = styled__default["default"].View(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n border-bottom-width: 2px;\n border-color: ", ";\n ", ";\n"])), function (props) {
697
+ return props.theme.color7;
698
698
  }, function (props) {
699
699
  return props.style;
700
700
  });
701
- var WebSmallWrapperElement = styled__default["default"].View(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n flex-direction: ", ";\n width: 500px;\n ", ";\n"])), function (props) {
702
- return props.flexDirection || DEFAULT_FLEX_DIRECTION;
701
+ var BorderTopElement = styled__default["default"].View(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n border-top-width: 2px;\n border-color: ", ";\n ", ";\n"])), function (props) {
702
+ return props.theme.color7;
703
703
  }, function (props) {
704
704
  return props.style;
705
705
  });
706
+ var BorderBoxElement = styled__default["default"].View(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral(["\n border-width: 2px;\n border-color: ", ";\n border-radius: ", ";\n ", ";\n"])), function (props) {
707
+ return props.theme.color7;
708
+ }, function (props) {
709
+ return props.theme.borderRadiusSmall;
710
+ }, function (props) {
711
+ return props.style;
712
+ });
713
+ var FullScreenElement = styled__default["default"].View(_templateObject24 || (_templateObject24 = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n z-index: 11;\n flex-direction: ", ";\n ", ";\n"])), function (props) {
714
+ return props.direction || DEFAULT_FLEX_DIRECTION;
715
+ }, function (props) {
716
+ return props.style;
717
+ });
718
+ var WebSmallWrapperElement = styled__default["default"].View(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["\n flex-direction: ", ";\n width: 500px;\n ", ";\n"])), function (props) {
719
+ return props.direction || DEFAULT_FLEX_DIRECTION;
720
+ }, function (props) {
721
+ return props.style;
722
+ });
723
+ var ImageWrapperElement = styled__default["default"].View(_templateObject26 || (_templateObject26 = _taggedTemplateLiteral(["\n border-radius: ", ";\n background-color: ", ";\n overflow: hidden;\n ", ";\n"])), function (props) {
724
+ return props.theme.borderRadiusSmall;
725
+ }, function (props) {
726
+ return props.theme.color7;
727
+ }, function (props) {
728
+ return props.styles;
729
+ });
706
730
 
707
731
  var Center = function Center(_ref) {
708
732
  var children = _ref.children,
@@ -711,7 +735,7 @@ var Center = function Center(_ref) {
711
735
  direction = _ref$direction === void 0 ? false : _ref$direction;
712
736
  return /*#__PURE__*/React__default["default"].createElement(CenterElement, {
713
737
  style: style,
714
- flexDirection: direction
738
+ direction: direction
715
739
  }, children);
716
740
  };
717
741
 
@@ -722,7 +746,7 @@ var CenterLeft = function CenterLeft(_ref) {
722
746
  direction = _ref$direction === void 0 ? false : _ref$direction;
723
747
  return /*#__PURE__*/React__default["default"].createElement(CenterLeftElement, {
724
748
  style: style,
725
- flexDirection: direction
749
+ direction: direction
726
750
  }, children);
727
751
  };
728
752
 
@@ -733,7 +757,7 @@ var CenterRight = function CenterRight(_ref) {
733
757
  direction = _ref$direction === void 0 ? false : _ref$direction;
734
758
  return /*#__PURE__*/React__default["default"].createElement(CenterRightElement, {
735
759
  style: style,
736
- flexDirection: direction
760
+ direction: direction
737
761
  }, children);
738
762
  };
739
763
 
@@ -744,7 +768,7 @@ var Margin = function Margin(_ref) {
744
768
  direction = _ref$direction === void 0 ? false : _ref$direction;
745
769
  return /*#__PURE__*/React__default["default"].createElement(MarginElement, {
746
770
  style: style,
747
- flexDirection: direction
771
+ direction: direction
748
772
  }, children);
749
773
  };
750
774
 
@@ -755,7 +779,7 @@ var MarginHorizontal = function MarginHorizontal(_ref) {
755
779
  direction = _ref$direction === void 0 ? false : _ref$direction;
756
780
  return /*#__PURE__*/React__default["default"].createElement(MarginHorizontalElement, {
757
781
  style: style,
758
- flexDirection: direction
782
+ direction: direction
759
783
  }, children);
760
784
  };
761
785
 
@@ -766,7 +790,7 @@ var MarginVertical = function MarginVertical(_ref) {
766
790
  direction = _ref$direction === void 0 ? false : _ref$direction;
767
791
  return /*#__PURE__*/React__default["default"].createElement(MarginVerticalElement, {
768
792
  style: style,
769
- flexDirection: direction
793
+ direction: direction
770
794
  }, children);
771
795
  };
772
796
 
@@ -777,7 +801,7 @@ var MarginBottom = function MarginBottom(_ref) {
777
801
  direction = _ref$direction === void 0 ? false : _ref$direction;
778
802
  return /*#__PURE__*/React__default["default"].createElement(MarginBottomElement, {
779
803
  style: style,
780
- flexDirection: direction
804
+ direction: direction
781
805
  }, children);
782
806
  };
783
807
 
@@ -788,7 +812,7 @@ var MarginTop = function MarginTop(_ref) {
788
812
  direction = _ref$direction === void 0 ? false : _ref$direction;
789
813
  return /*#__PURE__*/React__default["default"].createElement(MarginTopElement, {
790
814
  style: style,
791
- flexDirection: direction
815
+ direction: direction
792
816
  }, children);
793
817
  };
794
818
 
@@ -799,7 +823,7 @@ var MarginRight = function MarginRight(_ref) {
799
823
  direction = _ref$direction === void 0 ? false : _ref$direction;
800
824
  return /*#__PURE__*/React__default["default"].createElement(MarginRightElement, {
801
825
  style: style,
802
- flexDirection: direction
826
+ direction: direction
803
827
  }, children);
804
828
  };
805
829
 
@@ -810,7 +834,7 @@ var MarginLeft = function MarginLeft(_ref) {
810
834
  direction = _ref$direction === void 0 ? false : _ref$direction;
811
835
  return /*#__PURE__*/React__default["default"].createElement(MarginLeftElement, {
812
836
  style: style,
813
- flexDirection: direction
837
+ direction: direction
814
838
  }, children);
815
839
  };
816
840
 
@@ -821,7 +845,7 @@ var Padding = function Padding(_ref) {
821
845
  direction = _ref$direction === void 0 ? false : _ref$direction;
822
846
  return /*#__PURE__*/React__default["default"].createElement(PaddingElement, {
823
847
  style: style,
824
- flexDirection: direction
848
+ direction: direction
825
849
  }, children);
826
850
  };
827
851
 
@@ -832,7 +856,7 @@ var PaddingHorizontal = function PaddingHorizontal(_ref) {
832
856
  direction = _ref$direction === void 0 ? false : _ref$direction;
833
857
  return /*#__PURE__*/React__default["default"].createElement(PaddingHorizontalElement, {
834
858
  style: style,
835
- flexDirection: direction
859
+ direction: direction
836
860
  }, children);
837
861
  };
838
862
 
@@ -843,7 +867,7 @@ var PaddingVertical = function PaddingVertical(_ref) {
843
867
  direction = _ref$direction === void 0 ? false : _ref$direction;
844
868
  return /*#__PURE__*/React__default["default"].createElement(PaddingVerticalElement, {
845
869
  style: style,
846
- flexDirection: direction
870
+ direction: direction
847
871
  }, children);
848
872
  };
849
873
 
@@ -854,7 +878,7 @@ var PaddingTop = function PaddingTop(_ref) {
854
878
  direction = _ref$direction === void 0 ? false : _ref$direction;
855
879
  return /*#__PURE__*/React__default["default"].createElement(PaddingTopElement, {
856
880
  style: style,
857
- flexDirection: direction
881
+ direction: direction
858
882
  }, children);
859
883
  };
860
884
 
@@ -865,7 +889,7 @@ var PaddingBottom = function PaddingBottom(_ref) {
865
889
  direction = _ref$direction === void 0 ? false : _ref$direction;
866
890
  return /*#__PURE__*/React__default["default"].createElement(PaddingBottomElement, {
867
891
  style: style,
868
- flexDirection: direction
892
+ direction: direction
869
893
  }, children);
870
894
  };
871
895
 
@@ -876,7 +900,7 @@ var PaddingLeft = function PaddingLeft(_ref) {
876
900
  direction = _ref$direction === void 0 ? false : _ref$direction;
877
901
  return /*#__PURE__*/React__default["default"].createElement(PaddingLeftElement, {
878
902
  style: style,
879
- flexDirection: direction
903
+ direction: direction
880
904
  }, children);
881
905
  };
882
906
 
@@ -887,7 +911,7 @@ var PaddingRight = function PaddingRight(_ref) {
887
911
  direction = _ref$direction === void 0 ? false : _ref$direction;
888
912
  return /*#__PURE__*/React__default["default"].createElement(PaddingRightElement, {
889
913
  style: style,
890
- flexDirection: direction
914
+ direction: direction
891
915
  }, children);
892
916
  };
893
917
 
@@ -906,7 +930,7 @@ var Stretch = function Stretch(_ref) {
906
930
  direction = _ref$direction === void 0 ? false : _ref$direction;
907
931
  return /*#__PURE__*/React__default["default"].createElement(StretchElement, {
908
932
  style: style,
909
- flexDirection: direction
933
+ direction: direction
910
934
  }, children);
911
935
  };
912
936
 
@@ -925,7 +949,7 @@ var WebSmallWrapper = function WebSmallWrapper(_ref) {
925
949
  direction = _ref$direction === void 0 ? false : _ref$direction;
926
950
  return /*#__PURE__*/React__default["default"].createElement(WebSmallWrapperElement, {
927
951
  style: style,
928
- flexDirection: direction
952
+ direction: direction
929
953
  }, children);
930
954
  };
931
955
 
@@ -940,7 +964,7 @@ var Box = function Box(_ref) {
940
964
  style: _objectSpread2({
941
965
  backgroundColor: color
942
966
  }, style),
943
- flexDirection: direction
967
+ direction: direction
944
968
  }, children);
945
969
  };
946
970
 
@@ -958,7 +982,40 @@ var RoundedTopBox = function RoundedTopBox(_ref) {
958
982
  borderTopRightRadius: 30,
959
983
  overflow: "hidden"
960
984
  }, style),
961
- flexDirection: direction
985
+ direction: direction
986
+ }, children);
987
+ };
988
+
989
+ var BorderBottom = function BorderBottom(_ref) {
990
+ var children = _ref.children,
991
+ style = _ref.style;
992
+ return /*#__PURE__*/React__default["default"].createElement(BorderBottomElement, {
993
+ style: _objectSpread2({}, style)
994
+ }, children);
995
+ };
996
+
997
+ var BorderTop = function BorderTop(_ref) {
998
+ var children = _ref.children,
999
+ style = _ref.style;
1000
+ return /*#__PURE__*/React__default["default"].createElement(BorderTopElement, {
1001
+ style: _objectSpread2({}, style)
1002
+ }, children);
1003
+ };
1004
+
1005
+ var BorderBox = function BorderBox(_ref) {
1006
+ var children = _ref.children,
1007
+ style = _ref.style;
1008
+ return /*#__PURE__*/React__default["default"].createElement(BorderBoxElement, {
1009
+ style: _objectSpread2({}, style)
1010
+ }, children);
1011
+ };
1012
+
1013
+ var ImageWrapper = function ImageWrapper(_ref) {
1014
+ var children = _ref.children;
1015
+ _ref.box;
1016
+ var style = _ref.style;
1017
+ return /*#__PURE__*/React__default["default"].createElement(ImageWrapperElement, {
1018
+ style: _objectSpread2({}, style)
962
1019
  }, children);
963
1020
  };
964
1021
 
@@ -1369,7 +1426,9 @@ var Input = function Input(_ref) {
1369
1426
  _ref$isLeftBound = _ref.isLeftBound,
1370
1427
  isLeftBound = _ref$isLeftBound === void 0 ? false : _ref$isLeftBound,
1371
1428
  _ref$euro = _ref.euro,
1372
- euro = _ref$euro === void 0 ? false : _ref$euro;
1429
+ euro = _ref$euro === void 0 ? false : _ref$euro,
1430
+ _ref$focused = _ref.focused,
1431
+ focused = _ref$focused === void 0 ? function () {} : _ref$focused;
1373
1432
 
1374
1433
  var _useState = React.useState(false),
1375
1434
  _useState2 = _slicedToArray(_useState, 2),
@@ -1382,25 +1441,44 @@ var Input = function Input(_ref) {
1382
1441
  setTextValue = _useState4[1];
1383
1442
 
1384
1443
  var inputRef = React.useRef();
1444
+ React.useEffect(function () {
1445
+ focused();
1446
+ }, [isFocused]);
1385
1447
  React.useEffect(function () {
1386
1448
  textChange(textValue);
1387
1449
  }, [textValue]);
1450
+ React.useEffect(function () {
1451
+ defaultValue && setTextValue(defaultValue);
1452
+ }, [defaultValue]);
1388
1453
  React.useEffect(function () {
1389
1454
  var _inputRef$current;
1390
1455
 
1391
1456
  autoFocus && ((_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus());
1392
1457
  }, [autoFocus]);
1458
+
1459
+ function blurTextInput() {
1460
+ var _inputRef$current2;
1461
+
1462
+ (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.blur();
1463
+ }
1464
+
1465
+ React.useEffect(function () {
1466
+ var keyboardDidHideSubscription = reactNative.Keyboard.addListener("keyboardDidHide", blurTextInput);
1467
+ return function () {
1468
+ keyboardDidHideSubscription === null || keyboardDidHideSubscription === void 0 ? void 0 : keyboardDidHideSubscription.remove();
1469
+ };
1470
+ }, []);
1393
1471
  return /*#__PURE__*/React__default["default"].createElement(reactNative.KeyboardAvoidingView, {
1394
1472
  behavior: reactNative.Platform.OS === "ios" ? "padding" : "height",
1395
1473
  keyboardVerticalOffset: keyboardVerticalOffset
1396
1474
  }, /*#__PURE__*/React__default["default"].createElement(InputWrapper$1, {
1397
1475
  onPress: function onPress() {
1398
- var _inputRef$current2;
1476
+ var _inputRef$current3;
1399
1477
 
1400
1478
  _onPress();
1401
1479
 
1402
1480
  editable && setIsFocused(true);
1403
- editable && ((_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.focus());
1481
+ editable && ((_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 ? void 0 : _inputRef$current3.focus());
1404
1482
  }
1405
1483
  }, /*#__PURE__*/React__default["default"].createElement(BorderWrapper$2, {
1406
1484
  isRightBound: isRightBound,
@@ -1437,7 +1515,8 @@ var Input = function Input(_ref) {
1437
1515
  editable: editable,
1438
1516
  active: isFocused,
1439
1517
  style: style,
1440
- returnKeyType: "done"
1518
+ returnKeyType: "done",
1519
+ onSubmitEditing: blurTextInput
1441
1520
  }))))));
1442
1521
  };
1443
1522
 
@@ -1705,7 +1784,15 @@ var TextBtn = function TextBtn(_ref) {
1705
1784
  var _templateObject$f, _templateObject2$6;
1706
1785
  styled__default["default"].View(_templateObject$f || (_templateObject$f = _taggedTemplateLiteral([""])));
1707
1786
  var ButtonStyle$4 = styled__default["default"].Pressable(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteral(["\n min-height: ", ";\n width: 100%;\n border-radius: ", ";\n background-color: ", ";\n ", ";\n"])), function (props) {
1708
- return props.size === "big" ? "60px" : "54px";
1787
+ if (props.size === "big") {
1788
+ return "60px";
1789
+ } else if (props.size === "small") {
1790
+ return "54px";
1791
+ } else if (props.size === "xsmall") {
1792
+ return "44px";
1793
+ } else {
1794
+ return "54px";
1795
+ }
1709
1796
  }, function (props) {
1710
1797
  return props.smallBorder ? props.theme.borderRadiusSmall : props.theme.borderRadiusMedium;
1711
1798
  }, function (props) {
@@ -1762,7 +1849,15 @@ var RoundedBtn$1 = function RoundedBtn(_ref) {
1762
1849
  var _templateObject$e, _templateObject2$5;
1763
1850
  styled__default["default"].View(_templateObject$e || (_templateObject$e = _taggedTemplateLiteral([""])));
1764
1851
  var ButtonStyle$3 = styled__default["default"].Pressable(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteral(["\n min-height: ", ";\n border-radius: 50px;\n background-color: ", ";\n opacity: ", ";\n ", ";\n"])), function (props) {
1765
- return props.size === "big" ? "70px" : "56px";
1852
+ if (props.size === "big") {
1853
+ return "70px";
1854
+ } else if (props.size === "small") {
1855
+ return "56px";
1856
+ } else if (props.size === "xsmall") {
1857
+ return "40px";
1858
+ } else {
1859
+ return "70px";
1860
+ }
1766
1861
  }, function (props) {
1767
1862
  return props.color;
1768
1863
  }, function (props) {
@@ -51975,12 +52070,12 @@ function Switch(_ref2) {
51975
52070
 
51976
52071
  var _templateObject$1, _templateObject2$1, _templateObject3;
51977
52072
  var Wrapper$1 = styled__default["default"].View(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n flex: 1;\n"])));
51978
- var RoundWrapper = styled__default["default"](Animated__default["default"].View)(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n width: 100%;\n border-radius: ", ";\n overflow: hidden;\n padding: 8px;\n border-width: 2px;\n ", ";\n"])), function (props) {
52073
+ styled__default["default"](Animated__default["default"].View)(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n width: 100%;\n border-radius: ", ";\n overflow: hidden;\n padding: 8px;\n border-width: 2px;\n ", ";\n"])), function (props) {
51979
52074
  return props.theme.borderRadius;
51980
52075
  }, function (props) {
51981
52076
  return props.style;
51982
52077
  });
51983
- var RoundSlider = styled__default["default"].View(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: 62px;\n height: 52px;\n background-color: ", ";\n border-radius: ", ";\n border-width: 2px;\n ", ";\n"])), function (props) {
52078
+ var RoundSlider = styled__default["default"](Animated__default["default"].View)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: 62px;\n height: 52px;\n background-color: ", ";\n border-radius: ", ";\n border-width: 2px;\n ", ";\n"])), function (props) {
51984
52079
  return props.theme.color1;
51985
52080
  }, function (props) {
51986
52081
  return props.theme.borderRadiusMedium;
@@ -52076,8 +52171,14 @@ var SwipeButton = function SwipeButton(_ref) {
52076
52171
  });
52077
52172
  return /*#__PURE__*/React__default["default"].createElement(Wrapper$1, {
52078
52173
  onLayout: onLayout
52079
- }, /*#__PURE__*/React__default["default"].createElement(RoundWrapper, {
52080
- style: [animatedBorder]
52174
+ }, /*#__PURE__*/React__default["default"].createElement(Animated__default["default"].View, {
52175
+ style: [animatedBorder, {
52176
+ width: "100%",
52177
+ borderRadius: parseInt(theme.borderRadiusMedium, 10),
52178
+ overflow: "hidden",
52179
+ padding: 8,
52180
+ borderWidth: 2
52181
+ }]
52081
52182
  }, /*#__PURE__*/React__default["default"].createElement(Animated__default["default"].View, {
52082
52183
  style: [colorWave, {
52083
52184
  position: "absolute",
@@ -54075,6 +54176,9 @@ function NewCustomer(_ref2) {
54075
54176
  exports.AnimatedButton = AnimatedButton$1;
54076
54177
  exports.AnimatedPlaceholder = AnimatedPlaceholder;
54077
54178
  exports.AnimatedRoundedButton = AnimatedRoundedButton;
54179
+ exports.BorderBottom = BorderBottom;
54180
+ exports.BorderBox = BorderBox;
54181
+ exports.BorderTop = BorderTop;
54078
54182
  exports.BottomNavBar = BottomNavBar;
54079
54183
  exports.Box = Box;
54080
54184
  exports.Center = Center;
@@ -54094,6 +54198,7 @@ exports.H4 = H4Text;
54094
54198
  exports.H5 = H5Text;
54095
54199
  exports.Header = Header;
54096
54200
  exports.Icon = Icon;
54201
+ exports.ImageWrapper = ImageWrapper;
54097
54202
  exports.Input = Input$1;
54098
54203
  exports.InputNormal = Input;
54099
54204
  exports.InputOtp = InputOtp;