@jamadd/react-native-template-ui 0.7.17 → 0.8.0

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 (53) hide show
  1. package/lib/module/components/button/AnimatedThemedPressable.js +3 -9
  2. package/lib/module/components/button/AnimatedThemedPressable.js.map +1 -1
  3. package/lib/module/components/button/ThemedPressable.js +2 -8
  4. package/lib/module/components/button/ThemedPressable.js.map +1 -1
  5. package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js +2 -2
  6. package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js.map +1 -1
  7. package/lib/module/components/overlay/alert/AlertWrap.js +1 -1
  8. package/lib/module/components/overlay/alert/AlertWrap.js.map +1 -1
  9. package/lib/module/components/overlay/toast/ThemedToast.js +1 -1
  10. package/lib/module/components/overlay/toast/ThemedToast.js.map +1 -1
  11. package/lib/module/components/slider/Slider.js +2 -2
  12. package/lib/module/components/slider/Slider.js.map +1 -1
  13. package/lib/module/components/switch/ThemedSwitch.js +3 -4
  14. package/lib/module/components/switch/ThemedSwitch.js.map +1 -1
  15. package/lib/module/components/view/AnimatedThemedView.js +7 -5
  16. package/lib/module/components/view/AnimatedThemedView.js.map +1 -1
  17. package/lib/module/components/view/AnimatedView.js +8 -0
  18. package/lib/module/components/view/AnimatedView.js.map +1 -0
  19. package/lib/module/hooks/button.js +56 -32
  20. package/lib/module/hooks/button.js.map +1 -1
  21. package/lib/module/hooks/switch.js +0 -1
  22. package/lib/module/hooks/switch.js.map +1 -1
  23. package/lib/module/hooks/view.js +18 -0
  24. package/lib/module/hooks/view.js.map +1 -1
  25. package/lib/module/utils/button/const.js +1 -0
  26. package/lib/module/utils/button/const.js.map +1 -1
  27. package/lib/module/utils/theme/restyle.js +4 -1
  28. package/lib/module/utils/theme/restyle.js.map +1 -1
  29. package/lib/typescript/src/components/switch/ThemedSwitch.d.ts.map +1 -1
  30. package/lib/typescript/src/components/text/Text.d.ts +4 -4
  31. package/lib/typescript/src/components/view/AnimatedThemedView.d.ts.map +1 -1
  32. package/lib/typescript/src/components/view/AnimatedView.d.ts +3 -0
  33. package/lib/typescript/src/components/view/AnimatedView.d.ts.map +1 -0
  34. package/lib/typescript/src/components/view/Box.d.ts +2 -2
  35. package/lib/typescript/src/hooks/button.d.ts +5 -1645
  36. package/lib/typescript/src/hooks/button.d.ts.map +1 -1
  37. package/lib/typescript/src/hooks/view.d.ts +4 -0
  38. package/lib/typescript/src/hooks/view.d.ts.map +1 -1
  39. package/lib/typescript/src/types/button.d.ts +12 -12
  40. package/lib/typescript/src/types/button.d.ts.map +1 -1
  41. package/lib/typescript/src/types/switch.d.ts +0 -3
  42. package/lib/typescript/src/types/switch.d.ts.map +1 -1
  43. package/lib/typescript/src/types/view.d.ts +5 -3
  44. package/lib/typescript/src/types/view.d.ts.map +1 -1
  45. package/lib/typescript/src/utils/button/const.d.ts +2 -1
  46. package/lib/typescript/src/utils/button/const.d.ts.map +1 -1
  47. package/lib/typescript/src/utils/theme/restyle.d.ts +851 -84
  48. package/lib/typescript/src/utils/theme/restyle.d.ts.map +1 -1
  49. package/package.json +19 -19
  50. package/lib/module/components/view/AnimatedBox.js +0 -8
  51. package/lib/module/components/view/AnimatedBox.js.map +0 -1
  52. package/lib/typescript/src/components/view/AnimatedBox.d.ts +0 -3107
  53. package/lib/typescript/src/components/view/AnimatedBox.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"AnimatedThemedView.d.ts","sourceRoot":"","sources":["../../../../../src/components/view/AnimatedThemedView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAGhE,QAAA,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAYnD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"AnimatedThemedView.d.ts","sourceRoot":"","sources":["../../../../../src/components/view/AnimatedThemedView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAGhE,QAAA,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAUnD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const AnimatedView: import("react-native-reanimated/lib/typescript/createAnimatedComponent").AnimatedComponentType<Readonly<import("react-native").ViewProps>, typeof View>;
2
+ export default AnimatedView;
3
+ //# sourceMappingURL=AnimatedView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimatedView.d.ts","sourceRoot":"","sources":["../../../../../src/components/view/AnimatedView.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,YAAY,yJAAyC,CAAC;AAE5D,eAAe,YAAY,CAAC"}
@@ -1032,7 +1032,7 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
1032
1032
  };
1033
1033
  }> & Omit<import("react-native").ViewProps & {
1034
1034
  children?: React.ReactNode;
1035
- }, "m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "shadowOpacity" | "shadowOffset" | "shadowRadius" | "elevation" | "position" | "right" | "left" | "start" | "end" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "backgroundColor" | "bg" | "zIndex" | "opacity" | "visible" | "shadowColor"> & import("react").RefAttributes<unknown>> & {
1035
+ }, "m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "shadowOpacity" | "shadowOffset" | "shadowRadius" | "elevation" | "position" | "right" | "left" | "start" | "end" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "backgroundColor" | "bg" | "zIndex" | "visible" | "opacity" | "shadowColor"> & import("react").RefAttributes<unknown>> & {
1036
1036
  defaultProps?: Partial<import("@shopify/restyle").BackgroundColorProps<{
1037
1037
  colors: {
1038
1038
  transparent: import("../..").Palette;
@@ -2067,7 +2067,7 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
2067
2067
  };
2068
2068
  }> & Omit<import("react-native").ViewProps & {
2069
2069
  children?: React.ReactNode;
2070
- }, "m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "shadowOpacity" | "shadowOffset" | "shadowRadius" | "elevation" | "position" | "right" | "left" | "start" | "end" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "backgroundColor" | "bg" | "zIndex" | "opacity" | "visible" | "shadowColor"> & import("react").RefAttributes<unknown>> | undefined;
2070
+ }, "m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "shadowOpacity" | "shadowOffset" | "shadowRadius" | "elevation" | "position" | "right" | "left" | "start" | "end" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "backgroundColor" | "bg" | "zIndex" | "visible" | "opacity" | "shadowColor"> & import("react").RefAttributes<unknown>> | undefined;
2071
2071
  };
2072
2072
  export default Box;
2073
2073
  //# sourceMappingURL=Box.d.ts.map