@jamadd/react-native-template-ui 0.8.0 → 0.8.3
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/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2026 JaMaD&D
|
|
4
4
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
5
|
of this software and associated documentation files (the "Software"), to deal
|
|
6
6
|
in the Software without restriction, including without limitation the rights
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Dispatch, SetStateAction } from 'react';
|
|
2
2
|
import type { LayoutChangeEvent } from 'react-native';
|
|
3
|
-
export type Timeout =
|
|
3
|
+
export type Timeout = ReturnType<typeof setTimeout>;
|
|
4
4
|
export type SetState<T> = Dispatch<SetStateAction<T>>;
|
|
5
5
|
export type OnLayout = (event: LayoutChangeEvent) => void;
|
|
6
6
|
//# sourceMappingURL=react.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../../src/types/react.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,MAAM,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../../src/types/react.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AAEtD,MAAM,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC"}
|
|
@@ -117,7 +117,7 @@ export declare const themedPressableRestyleFuncs: {
|
|
|
117
117
|
};
|
|
118
118
|
dimensions: import("@shopify/restyle").Dimensions | null;
|
|
119
119
|
}) => import("@shopify/restyle").RNStyle;
|
|
120
|
-
properties: ("children" | "style" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "pointerEvents" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "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" | "ref" | "visible" | "opacity" | "shadowColor" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "disabled" | "onHoverIn" | "onHoverOut" | "cancelable" | "delayHoverIn" | "delayHoverOut" | "delayLongPress" | "android_disableSound" | "android_ripple" | "testOnly_pressed" | "unstable_pressDelay")[];
|
|
120
|
+
properties: ("children" | "style" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "pointerEvents" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "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" | "ref" | "visible" | "opacity" | "shadowColor" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "disabled" | "onHoverIn" | "onHoverOut" | "onPressMove" | "cancelable" | "delayHoverIn" | "delayHoverOut" | "delayLongPress" | "android_disableSound" | "android_ripple" | "testOnly_pressed" | "unstable_pressDelay")[];
|
|
121
121
|
propertiesMap: {
|
|
122
122
|
children?: true | undefined;
|
|
123
123
|
style?: true | undefined;
|
|
@@ -318,6 +318,7 @@ export declare const themedPressableRestyleFuncs: {
|
|
|
318
318
|
disabled?: true | undefined;
|
|
319
319
|
onHoverIn?: true | undefined;
|
|
320
320
|
onHoverOut?: true | undefined;
|
|
321
|
+
onPressMove?: true | undefined;
|
|
321
322
|
cancelable?: true | undefined;
|
|
322
323
|
delayHoverIn?: true | undefined;
|
|
323
324
|
delayHoverOut?: true | undefined;
|
|
@@ -449,7 +450,7 @@ export declare const animatedThemedPressableRestyleFuncs: {
|
|
|
449
450
|
} | "animatedProps" | keyof {
|
|
450
451
|
sharedTransitionTag?: string;
|
|
451
452
|
sharedTransitionStyle?: import("react-native-reanimated").SharedTransition;
|
|
452
|
-
} | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "disabled" | "onHoverIn" | "onHoverOut" | "cancelable" | "delayHoverIn" | "delayHoverOut" | "delayLongPress" | "android_disableSound" | "android_ripple" | "testOnly_pressed" | "unstable_pressDelay")[];
|
|
453
|
+
} | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "disabled" | "onHoverIn" | "onHoverOut" | "onPressMove" | "cancelable" | "delayHoverIn" | "delayHoverOut" | "delayLongPress" | "android_disableSound" | "android_ripple" | "testOnly_pressed" | "unstable_pressDelay")[];
|
|
453
454
|
propertiesMap: {
|
|
454
455
|
children?: true | undefined;
|
|
455
456
|
style?: true | undefined;
|
|
@@ -656,6 +657,7 @@ export declare const animatedThemedPressableRestyleFuncs: {
|
|
|
656
657
|
disabled?: true | undefined;
|
|
657
658
|
onHoverIn?: true | undefined;
|
|
658
659
|
onHoverOut?: true | undefined;
|
|
660
|
+
onPressMove?: true | undefined;
|
|
659
661
|
cancelable?: true | undefined;
|
|
660
662
|
delayHoverIn?: true | undefined;
|
|
661
663
|
delayHoverOut?: true | undefined;
|
|
@@ -1717,7 +1719,7 @@ export declare const themedScrollViewRestyleFuncs: {
|
|
|
1717
1719
|
};
|
|
1718
1720
|
dimensions: import("@shopify/restyle").Dimensions | null;
|
|
1719
1721
|
}) => import("@shopify/restyle").RNStyle;
|
|
1720
|
-
properties: ("children" | "style" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "pointerEvents" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "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" | "keyboardShouldPersistTaps" | "horizontal" | "visible" | "opacity" | "shadowColor" | "contentContainerStyle" | "innerViewRef" | "scrollViewRef" | "decelerationRate" | "invertStickyHeaders" | "keyboardDismissMode" | "onContentSizeChange" | "onScroll" | "onScrollBeginDrag" | "onScrollEndDrag" | "onMomentumScrollEnd" | "onMomentumScrollBegin" | "pagingEnabled" | "scrollEnabled" | "showsHorizontalScrollIndicator" | "showsVerticalScrollIndicator" | "stickyHeaderHiddenOnScroll" | "refreshControl" | "snapToInterval" | "snapToOffsets" | "snapToStart" | "snapToEnd" | "stickyHeaderIndices" | "disableIntervalMomentum" | "disableScrollViewPanResponder" | "StickyHeaderComponent" | "alwaysBounceHorizontal" | "alwaysBounceVertical" | "automaticallyAdjustContentInsets" | "automaticallyAdjustKeyboardInsets" | "automaticallyAdjustsScrollIndicatorInsets" | "bounces" | "bouncesZoom" | "canCancelContentTouches" | "centerContent" | "contentInset" | "contentOffset" | "contentInsetAdjustmentBehavior" | "directionalLockEnabled" | "indicatorStyle" | "maintainVisibleContentPosition" | "maximumZoomScale" | "minimumZoomScale" | "onScrollAnimationEnd" | "pinchGestureEnabled" | "scrollEventThrottle" | "scrollIndicatorInsets" | "scrollToOverflowEnabled" | "scrollsToTop" | "snapToAlignment" | "onScrollToTop" | "zoomScale" | "endFillColor" | "scrollPerfTag" | "overScrollMode" | "nestedScrollEnabled" | "fadingEdgeLength" | "persistentScrollbar")[];
|
|
1722
|
+
properties: ("children" | "style" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "pointerEvents" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "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" | "keyboardShouldPersistTaps" | "horizontal" | "visible" | "opacity" | "shadowColor" | "contentContainerStyle" | "innerViewRef" | "scrollViewRef" | "decelerationRate" | "invertStickyHeaders" | "keyboardDismissMode" | "onContentSizeChange" | "onScroll" | "onScrollBeginDrag" | "onScrollEndDrag" | "onMomentumScrollEnd" | "onMomentumScrollBegin" | "pagingEnabled" | "scrollEnabled" | "showsHorizontalScrollIndicator" | "showsVerticalScrollIndicator" | "stickyHeaderHiddenOnScroll" | "refreshControl" | "snapToInterval" | "snapToOffsets" | "snapToStart" | "snapToEnd" | "stickyHeaderIndices" | "disableIntervalMomentum" | "disableScrollViewPanResponder" | "StickyHeaderComponent" | "alwaysBounceHorizontal" | "alwaysBounceVertical" | "automaticallyAdjustContentInsets" | "automaticallyAdjustKeyboardInsets" | "automaticallyAdjustsScrollIndicatorInsets" | "bounces" | "bouncesZoom" | "canCancelContentTouches" | "centerContent" | "contentInset" | "contentOffset" | "contentInsetAdjustmentBehavior" | "directionalLockEnabled" | "indicatorStyle" | "maintainVisibleContentPosition" | "maximumZoomScale" | "minimumZoomScale" | "onScrollAnimationEnd" | "pinchGestureEnabled" | "scrollEventThrottle" | "scrollIndicatorInsets" | "scrollToOverflowEnabled" | "scrollsToTop" | "snapToAlignment" | "onScrollToTop" | "zoomScale" | "endFillColor" | "scrollPerfTag" | "overScrollMode" | "nestedScrollEnabled" | "fadingEdgeLength" | "persistentScrollbar" | "scrollsChildToFocus")[];
|
|
1721
1723
|
propertiesMap: {
|
|
1722
1724
|
children?: true | undefined;
|
|
1723
1725
|
style?: true | undefined;
|
|
@@ -1970,6 +1972,7 @@ export declare const themedScrollViewRestyleFuncs: {
|
|
|
1970
1972
|
nestedScrollEnabled?: true | undefined;
|
|
1971
1973
|
fadingEdgeLength?: true | undefined;
|
|
1972
1974
|
persistentScrollbar?: true | undefined;
|
|
1975
|
+
scrollsChildToFocus?: true | undefined;
|
|
1973
1976
|
};
|
|
1974
1977
|
};
|
|
1975
1978
|
//# sourceMappingURL=restyle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restyle.d.ts","sourceRoot":"","sources":["../../../../../src/utils/theme/restyle.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EACV,4BAA4B,EAC5B,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,KAAK,EAAgB,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,KAAK,EACV,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAc1B,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"restyle.d.ts","sourceRoot":"","sources":["../../../../../src/utils/theme/restyle.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EACV,4BAA4B,EAC5B,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,KAAK,EAAgB,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,KAAK,EACV,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAc1B,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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{
|
|
2
2
|
"name": "@jamadd/react-native-template-ui",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"description": "React Native Template UI is a collection of UI components designed by JaMa D&D.",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"ios",
|
|
19
19
|
"cpp",
|
|
20
20
|
"*.podspec",
|
|
21
|
+
"react-native.config.js",
|
|
21
22
|
"!ios/build",
|
|
22
23
|
"!android/build",
|
|
23
24
|
"!android/gradle",
|
|
@@ -30,13 +31,14 @@
|
|
|
30
31
|
"!**/.*"
|
|
31
32
|
],
|
|
32
33
|
"scripts": {
|
|
34
|
+
"example-clean": "yarn example clean && yarn && yarn example prebuild",
|
|
33
35
|
"example": "yarn workspace react-native-template-ui-example",
|
|
34
36
|
"test": "jest",
|
|
35
37
|
"test-snapshot": "jest --updateSnapshot",
|
|
36
38
|
"test-watch": "jest --watch",
|
|
37
39
|
"typecheck": "tsc",
|
|
38
40
|
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
39
|
-
"clean": "del-cli lib",
|
|
41
|
+
"clean": "del-cli lib && rm -rf node_modules && yarn",
|
|
40
42
|
"prepare": "bob build",
|
|
41
43
|
"release": "release-it --only-version",
|
|
42
44
|
"release-major": "yarn prepare && node scripts/bumpVersion.js major && yarn release-commit",
|
|
@@ -75,46 +77,50 @@
|
|
|
75
77
|
"access": "public"
|
|
76
78
|
},
|
|
77
79
|
"devDependencies": {
|
|
78
|
-
"@eslint/compat": "^
|
|
79
|
-
"@eslint/eslintrc": "^3.3.
|
|
80
|
-
"@eslint/js": "^
|
|
81
|
-
"@jamadd/react-native-template-icons": "^0.4.
|
|
82
|
-
"@
|
|
83
|
-
"@react-native/
|
|
84
|
-
"@
|
|
80
|
+
"@eslint/compat": "^2.0.3",
|
|
81
|
+
"@eslint/eslintrc": "^3.3.5",
|
|
82
|
+
"@eslint/js": "^10.0.1",
|
|
83
|
+
"@jamadd/react-native-template-icons": "^0.4.8",
|
|
84
|
+
"@jest/globals": "^30.0.0",
|
|
85
|
+
"@react-native/babel-preset": "0.85.0",
|
|
86
|
+
"@react-native/eslint-config": "^0.85.0",
|
|
87
|
+
"@react-native/jest-preset": "0.85.0",
|
|
88
|
+
"@release-it/conventional-changelog": "^10.0.6",
|
|
85
89
|
"@shopify/flash-list": "^2.3.1",
|
|
86
90
|
"@shopify/restyle": "^2.4.5",
|
|
87
91
|
"@testing-library/react-native": "^13.3.3",
|
|
88
|
-
"@types/jest": "^
|
|
92
|
+
"@types/jest": "^30.0.0",
|
|
89
93
|
"@types/react": "^19.2.14",
|
|
90
94
|
"@types/react-test-renderer": "19.1.0",
|
|
91
95
|
"babel-plugin-react-compiler": "1.0.0",
|
|
92
|
-
"del-cli": "^
|
|
93
|
-
"eslint": "^9.
|
|
96
|
+
"del-cli": "^7.0.0",
|
|
97
|
+
"eslint": "^9.39.4",
|
|
94
98
|
"eslint-config-prettier": "^10.1.8",
|
|
95
|
-
"eslint-plugin-
|
|
99
|
+
"eslint-plugin-ft-flow": "^3.0.11",
|
|
100
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
96
101
|
"eslint-plugin-react-compiler": "^19.1.0-rc.2",
|
|
97
102
|
"eslint-plugin-testing-library": "^7.8.0",
|
|
98
|
-
"jest": "^
|
|
99
|
-
"prettier": "^3.
|
|
103
|
+
"jest": "^30.3.0",
|
|
104
|
+
"prettier": "^3.8.1",
|
|
100
105
|
"react": "19.2.3",
|
|
101
|
-
"react-native": "0.
|
|
102
|
-
"react-native-builder-bob": "^0.
|
|
103
|
-
"react-native-gesture-handler": "^2.
|
|
106
|
+
"react-native": "0.85.0",
|
|
107
|
+
"react-native-builder-bob": "^0.41.0",
|
|
108
|
+
"react-native-gesture-handler": "^2.31.1",
|
|
104
109
|
"react-native-reanimated": "^4.3.0",
|
|
105
110
|
"react-native-safe-area-context": "^5.7.0",
|
|
106
111
|
"react-native-worklets": "^0.8.1",
|
|
107
112
|
"react-test-renderer": "19.2.3",
|
|
108
|
-
"release-it": "^19.
|
|
109
|
-
"
|
|
113
|
+
"release-it": "^19.2.4",
|
|
114
|
+
"turbo": "^2.8.21",
|
|
115
|
+
"typescript": "^6.0.2"
|
|
110
116
|
},
|
|
111
117
|
"peerDependencies": {
|
|
112
|
-
"@jamadd/react-native-template-icons": ">=0.4.
|
|
118
|
+
"@jamadd/react-native-template-icons": ">=0.4.8",
|
|
113
119
|
"@shopify/flash-list": ">=2.3.1",
|
|
114
120
|
"@shopify/restyle": ">=2.4.5",
|
|
115
121
|
"react": ">=19.2.3",
|
|
116
|
-
"react-native": ">=0.
|
|
117
|
-
"react-native-gesture-handler": ">=2.
|
|
122
|
+
"react-native": ">=0.85.0",
|
|
123
|
+
"react-native-gesture-handler": ">=2.31.1",
|
|
118
124
|
"react-native-reanimated": ">=4.3.0",
|
|
119
125
|
"react-native-safe-area-context": ">=5.7.0",
|
|
120
126
|
"react-native-worklets": ">=0.8.1"
|
|
@@ -123,13 +129,6 @@
|
|
|
123
129
|
"example"
|
|
124
130
|
],
|
|
125
131
|
"packageManager": "yarn@4.11.0",
|
|
126
|
-
"prettier": {
|
|
127
|
-
"quoteProps": "consistent",
|
|
128
|
-
"singleQuote": true,
|
|
129
|
-
"tabWidth": 2,
|
|
130
|
-
"trailingComma": "es5",
|
|
131
|
-
"useTabs": false
|
|
132
|
-
},
|
|
133
132
|
"react-native-builder-bob": {
|
|
134
133
|
"source": "src",
|
|
135
134
|
"output": "lib",
|
|
@@ -148,6 +147,30 @@
|
|
|
148
147
|
]
|
|
149
148
|
]
|
|
150
149
|
},
|
|
150
|
+
"prettier": {
|
|
151
|
+
"quoteProps": "consistent",
|
|
152
|
+
"singleQuote": true,
|
|
153
|
+
"tabWidth": 2,
|
|
154
|
+
"trailingComma": "es5",
|
|
155
|
+
"useTabs": false
|
|
156
|
+
},
|
|
157
|
+
"jest": {
|
|
158
|
+
"preset": "@react-native/jest-preset",
|
|
159
|
+
"setupFiles": [
|
|
160
|
+
"<rootDir>/src/test/__mocks__/jestSetup.js",
|
|
161
|
+
"<rootDir>/node_modules/react-native-gesture-handler/jestSetup.js"
|
|
162
|
+
],
|
|
163
|
+
"transformIgnorePatterns": [
|
|
164
|
+
"<rootDir>/node_modules/(?!(jest-)?react-native|@react-native|react-native-reanimated)"
|
|
165
|
+
],
|
|
166
|
+
"modulePathIgnorePatterns": [
|
|
167
|
+
"<rootDir>/example/node_modules",
|
|
168
|
+
"<rootDir>/lib/"
|
|
169
|
+
],
|
|
170
|
+
"moduleNameMapper": {
|
|
171
|
+
"\\.(ttf)$": "<rootDir>/src/test/__mocks__/file-mock.js"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
151
174
|
"release-it": {
|
|
152
175
|
"git": {
|
|
153
176
|
"commitMessage": "chore: release ${version}",
|
|
@@ -167,26 +190,14 @@
|
|
|
167
190
|
}
|
|
168
191
|
}
|
|
169
192
|
},
|
|
170
|
-
"jest": {
|
|
171
|
-
"preset": "react-native",
|
|
172
|
-
"setupFiles": [
|
|
173
|
-
"<rootDir>/src/test/__mocks__/jestSetup.js",
|
|
174
|
-
"<rootDir>/node_modules/react-native-gesture-handler/jestSetup.js"
|
|
175
|
-
],
|
|
176
|
-
"transformIgnorePatterns": [
|
|
177
|
-
"<rootDir>/node_modules/(?!(jest-)?react-native|@react-native|react-native-reanimated)"
|
|
178
|
-
],
|
|
179
|
-
"modulePathIgnorePatterns": [
|
|
180
|
-
"<rootDir>/example/node_modules",
|
|
181
|
-
"<rootDir>/lib/"
|
|
182
|
-
],
|
|
183
|
-
"moduleNameMapper": {
|
|
184
|
-
"\\.(ttf)$": "<rootDir>/src/test/__mocks__/file-mock.js"
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
193
|
"create-react-native-library": {
|
|
188
|
-
"languages": "js",
|
|
189
194
|
"type": "library",
|
|
190
|
-
"
|
|
195
|
+
"languages": "js",
|
|
196
|
+
"tools": [
|
|
197
|
+
"eslint",
|
|
198
|
+
"jest",
|
|
199
|
+
"release-it"
|
|
200
|
+
],
|
|
201
|
+
"version": "0.61.0"
|
|
191
202
|
}
|
|
192
203
|
}
|