@jamadd/react-native-template-ui 0.4.6 → 0.4.8

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.
@@ -17,6 +17,7 @@ const ThemedButton = ({
17
17
  }) => {
18
18
  return /*#__PURE__*/_jsxs(ThemedPressable, {
19
19
  scaleRatio: ButtonScaleRatio.Rectangle,
20
+ flexDirection: 'row',
20
21
  alignItems: 'center',
21
22
  justifyContent: children ? 'space-between' : 'center',
22
23
  paddingVertical: 's',
@@ -1 +1 @@
1
- {"version":3,"names":["ButtonScaleRatio","ThemedText","ThemedPressable","jsx","_jsx","jsxs","_jsxs","ThemedButton","text","textVariant","textFontSize","textFontWeight","textColor","textStyle","textProps","children","props","scaleRatio","Rectangle","alignItems","justifyContent","paddingVertical","paddingHorizontal","backgroundColor","numberOfLines","variant","fontSize","fontWeight","color","style"],"sourceRoot":"../../../../src","sources":["components/button/ThemedButton.tsx"],"mappings":";;AAEA,SAASA,gBAAgB,QAAQ,6BAA0B;AAC3D,OAAOC,UAAU,MAAM,uBAAoB;AAC3C,OAAOC,eAAe,MAAM,sBAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEhD,MAAMC,YAAmC,GAAGA,CAAC;EAC3CC,IAAI;EACJC,WAAW;EACXC,YAAY;EACZC,cAAc;EACdC,SAAS,GAAG,YAAY;EACxBC,SAAS;EACTC,SAAS;EACTC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,oBACEV,KAAA,CAACJ,eAAe;IACde,UAAU,EAAEjB,gBAAgB,CAACkB,SAAU;IACvCC,UAAU,EAAE,QAAS;IACrBC,cAAc,EAAEL,QAAQ,GAAG,eAAe,GAAG,QAAS;IACtDM,eAAe,EAAE,GAAI;IACrBC,iBAAiB,EAAE,GAAI;IACvBC,eAAe,EAAE,UAAW;IAAA,GACxBP,KAAK;IAAAD,QAAA,gBAETX,IAAA,CAACH,UAAU;MACTuB,aAAa,EAAE,CAAE;MACjBC,OAAO,EAAEhB,WAAY;MACrBiB,QAAQ,EAAEhB,YAAa;MACvBiB,UAAU,EAAEhB,cAAe;MAC3BiB,KAAK,EAAEhB,SAAU;MACjBiB,KAAK,EAAEhB,SAAU;MAAA,GACbC,SAAS;MAAAC,QAAA,EAEZP;IAAI,CACK,CAAC,EACZO,QAAQ;EAAA,CACM,CAAC;AAEtB,CAAC;AAED,eAAeR,YAAY","ignoreList":[]}
1
+ {"version":3,"names":["ButtonScaleRatio","ThemedText","ThemedPressable","jsx","_jsx","jsxs","_jsxs","ThemedButton","text","textVariant","textFontSize","textFontWeight","textColor","textStyle","textProps","children","props","scaleRatio","Rectangle","flexDirection","alignItems","justifyContent","paddingVertical","paddingHorizontal","backgroundColor","numberOfLines","variant","fontSize","fontWeight","color","style"],"sourceRoot":"../../../../src","sources":["components/button/ThemedButton.tsx"],"mappings":";;AAEA,SAASA,gBAAgB,QAAQ,6BAA0B;AAC3D,OAAOC,UAAU,MAAM,uBAAoB;AAC3C,OAAOC,eAAe,MAAM,sBAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEhD,MAAMC,YAAmC,GAAGA,CAAC;EAC3CC,IAAI;EACJC,WAAW;EACXC,YAAY;EACZC,cAAc;EACdC,SAAS,GAAG,YAAY;EACxBC,SAAS;EACTC,SAAS;EACTC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,oBACEV,KAAA,CAACJ,eAAe;IACde,UAAU,EAAEjB,gBAAgB,CAACkB,SAAU;IACvCC,aAAa,EAAE,KAAM;IACrBC,UAAU,EAAE,QAAS;IACrBC,cAAc,EAAEN,QAAQ,GAAG,eAAe,GAAG,QAAS;IACtDO,eAAe,EAAE,GAAI;IACrBC,iBAAiB,EAAE,GAAI;IACvBC,eAAe,EAAE,UAAW;IAAA,GACxBR,KAAK;IAAAD,QAAA,gBAETX,IAAA,CAACH,UAAU;MACTwB,aAAa,EAAE,CAAE;MACjBC,OAAO,EAAEjB,WAAY;MACrBkB,QAAQ,EAAEjB,YAAa;MACvBkB,UAAU,EAAEjB,cAAe;MAC3BkB,KAAK,EAAEjB,SAAU;MACjBkB,KAAK,EAAEjB,SAAU;MAAA,GACbC,SAAS;MAAAC,QAAA,EAEZP;IAAI,CACK,CAAC,EACZO,QAAQ;EAAA,CACM,CAAC;AAEtB,CAAC;AAED,eAAeR,YAAY","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"ThemedButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/ThemedButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAK5D,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAmCvC,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ThemedButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/ThemedButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAK5D,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAoCvC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -191,7 +191,7 @@ export declare function useThemedPressable({ onPress, onPressDelayConfig, ...pro
191
191
  tablet: number;
192
192
  desktop: number;
193
193
  }>;
194
- alignContent?: import("@shopify/restyle").ResponsiveValue<"center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined, {
194
+ alignContent?: import("@shopify/restyle").ResponsiveValue<"flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined, {
195
195
  smallPhone: number;
196
196
  phone: number;
197
197
  smallTablet: number;
@@ -212,7 +212,7 @@ export declare function useThemedPressable({ onPress, onPressDelayConfig, ...pro
212
212
  tablet: number;
213
213
  desktop: number;
214
214
  }>;
215
- justifyContent?: import("@shopify/restyle").ResponsiveValue<"center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined, {
215
+ justifyContent?: import("@shopify/restyle").ResponsiveValue<"flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined, {
216
216
  smallPhone: number;
217
217
  phone: number;
218
218
  smallTablet: number;
@@ -902,7 +902,7 @@ export declare function useThemedPressable({ onPress, onPressDelayConfig, ...pro
902
902
  tablet: number;
903
903
  desktop: number;
904
904
  }>;
905
- alignContent?: import("@shopify/restyle").ResponsiveValue<"center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined, {
905
+ alignContent?: import("@shopify/restyle").ResponsiveValue<"flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined, {
906
906
  smallPhone: number;
907
907
  phone: number;
908
908
  smallTablet: number;
@@ -923,7 +923,7 @@ export declare function useThemedPressable({ onPress, onPressDelayConfig, ...pro
923
923
  tablet: number;
924
924
  desktop: number;
925
925
  }>;
926
- justifyContent?: import("@shopify/restyle").ResponsiveValue<"center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined, {
926
+ justifyContent?: import("@shopify/restyle").ResponsiveValue<"flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined, {
927
927
  smallPhone: number;
928
928
  phone: number;
929
929
  smallTablet: number;
@@ -1,8 +1,10 @@
1
+ import type { TextProps } from '@shopify/restyle';
1
2
  import type { ComponentProps } from 'react';
2
3
  import type Text from '../components/text/Text';
3
4
  import type { CustomThemedIconProps } from './icon';
4
- import type { ThemeTextProps, ThemeViewProps } from './theme';
5
- export type ThemedTextProps = ComponentProps<typeof Text>;
5
+ import type { Theme } from './theme';
6
+ import type { ThemedViewProps } from './view';
7
+ export type ThemedTextProps = ComponentProps<typeof Text> & TextProps<Theme>;
6
8
  export type CustomThemedTextProps = {
7
9
  text: ThemedTextProps['children'];
8
10
  textVariant?: ThemedTextProps['variant'];
@@ -10,10 +12,10 @@ export type CustomThemedTextProps = {
10
12
  textFontWeight?: ThemedTextProps['fontWeight'];
11
13
  textColor?: ThemedTextProps['color'];
12
14
  textStyle?: ThemedTextProps['style'];
13
- textProps?: Omit<ThemeTextProps, 'children' | 'variant' | 'fontSize' | 'fontWeight' | 'color' | 'style'>;
15
+ textProps?: Omit<ThemedTextProps, 'children' | 'variant' | 'fontSize' | 'fontWeight' | 'color' | 'style'>;
14
16
  };
15
17
  export type IconTextProps = CustomThemedIconProps & CustomThemedTextProps & {
16
18
  flip?: boolean;
17
19
  };
18
- export type ThemedIconTextProps = IconTextProps & ThemeViewProps;
20
+ export type ThemedIconTextProps = IconTextProps & ThemedViewProps;
19
21
  //# sourceMappingURL=text.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../src/types/text.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,yBAAyB,CAAC;AAChD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9D,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC;AAE1D,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAClC,WAAW,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;IACzC,YAAY,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAC3C,cAAc,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,CAAC;IAC/C,SAAS,CAAC,EAAE,eAAe,C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,SAAS,CAAC,EAAE,IAAI,CACd,eAAe,EACf,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,YAAY,GAAG,OAAO,GAAG,OAAO,CACvE,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,qBAAqB,GAC/C,qBAAqB,GAAG;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAE7C,MAAM,MAAM,mBAAmB,GAAG,aAAa,GAAG,eAAe,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { BackgroundColorProps, BackgroundColorShorthandProps, BoxProps, ColorProps, LayoutProps, PositionProps, SpacingProps, SpacingShorthandProps, TextProps } from '@shopify/restyle';
1
+ import type { BackgroundColorProps, BackgroundColorShorthandProps, BoxProps, ColorProps, LayoutProps, PositionProps, SpacingProps, SpacingShorthandProps } from '@shopify/restyle';
2
2
  export type Theme = globalThis.ReactNativeTemplateTheme;
3
3
  export type ThemeColors = keyof Theme['colors'];
4
4
  export type ThemeSpacing = keyof Theme['spacing'];
@@ -7,7 +7,6 @@ export type ThemeZIndices = keyof Theme['zIndices'];
7
7
  export type ThemeBorderRadii = keyof Theme['borderRadii'];
8
8
  export type ThemeTextVariants = keyof Theme['textVariants'];
9
9
  export type ThemeViewProps = BoxProps<Theme>;
10
- export type ThemeTextProps = TextProps<Theme>;
11
10
  export type ThemeColorProps = ColorProps<Theme>;
12
11
  export type ThemeSpacingProps = SpacingProps<Theme> & SpacingShorthandProps<Theme>;
13
12
  export type ThemeBackgroundColorProps = BackgroundColorProps<Theme> & BackgroundColorShorthandProps<Theme>;
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/types/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,6BAA6B,EAC7B,QAAQ,EACR,UAAU,EACV,WAAW,EACX,aAAa,EACb,YAAY,EACZ,qBAAqB,EACrB,SAAS,EACV,MAAM,kBAAkB,CAAC;AAE1B,MA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CAAC;AAExD,MAAM,MAAM,WAAW,GAAG,MAAM,KAAK,CAAC,QAAQ,CAAC,CAAC;AAEhD,MAAM,MAAM,YAAY,GAAG,MAAM,KAAK,CAAC,SAAS,CAAC,CAAC;AAElD,MAAM,MAAM,gBAAgB,GAAG,MAAM,KAAK,CAAC,aAAa,CAAC,CAAC;AAE1D,MAAM,MAAM,aAAa,GAAG,MAAM,KAAK,CAAC,UAAU,CAAC,CAAC;AAEpD,MAAM,MAAM,gBAAgB,GAAG,MAAM,KAAK,CAAC,aAAa,CAAC,CAAC;AAE1D,MAAM,MAAM,iBAAiB,GAAG,MAAM,KAAK,CAAC,cAAc,CAAC,CAAC;AAE5D,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;AAEhD,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,KAAK,CAAC,GACjD,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAE/B,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAAC,KAAK,CAAC,GACjE,6BAA6B,CAAC,KAAK,CAAC,CAAC;AAEvC,MAAM,MAAM,cAAc,GAAG,iBAAiB,GAC5C,yBAAyB,GACzB,WAAW,CAAC,KAAK,CAAC,GAClB,aAAa,CAAC,KAAK,CAAC,CAAC"}
@@ -1,22 +1,23 @@
1
+ import type { BoxProps } from '@shopify/restyle';
1
2
  import type { ComponentProps, ReactNode, RefObject } from 'react';
2
3
  import type { NativeScrollEvent, NativeSyntheticEvent, ScrollViewProps as RNScrollViewProps, ScrollView, View } from 'react-native';
3
4
  import type { AnimatedRef } from 'react-native-reanimated';
4
5
  import type AnimatedBox from '../components/view/AnimatedBox';
5
6
  import type Box from '../components/view/Box';
6
7
  import type { InsetsStyleConfig } from './style';
7
- import type { ThemeViewProps } from './theme';
8
+ import type { Theme } from './theme';
8
9
  export type ViewRefObj = RefObject<View | null>;
9
10
  export type ScrollViewRefObj = RefObject<ScrollView | null>;
10
11
  export type ScrollViewAnimatedRefObj = AnimatedRef<ScrollView>;
11
12
  export type OnScroll = (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
12
13
  export type OnContentSizeChange = (width: number, height: number) => void;
13
- export type ThemedViewProps = ComponentProps<typeof Box>;
14
+ export type ThemedViewProps = ComponentProps<typeof Box> & BoxProps<Theme>;
14
15
  export type AnimatedThemedViewProps = Omit<ComponentProps<typeof AnimatedBox>, 'key'>;
15
16
  export type ThemedScreenWrapProps = ThemedViewProps & InsetsStyleConfig;
16
17
  export type ScrollViewProps = RNScrollViewProps & InsetsStyleConfig & {
17
18
  ref?: ScrollViewRefObj | ScrollViewAnimatedRefObj;
18
19
  };
19
- export type ThemedScrollViewProps = ScrollViewProps & ThemeViewProps;
20
+ export type ThemedScrollViewProps = ScrollViewProps & ThemedViewProps;
20
21
  export type PropsWithRequiredChildren<P = unknown> = P & {
21
22
  children: NonNullable<ReactNode>;
22
23
  };
@@ -1 +1 @@
1
- {"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../src/types/view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,IAAI,iBAAiB,EACpC,UAAU,EACV,IAAI,EACL,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,WAAW,MAAM,gCAAgC,CAAC;AAC9D,OAAO,KAAK,GAAG,MAAM,wBAAwB,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,MAAM,MAAM,UAAU,GAAG,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,CAA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 export declare const themedScrollViewRestyleFuncs: {
938
938
  };
939
939
  dimensions: import("@shopify/restyle").Dimensions | null;
940
940
  }) => import("@shopify/restyle").RNStyle;
941
- properties: ("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" | keyof import("react-native").ScrollViewProps)[];
941
+ properties: ("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" | "style" | "backgroundColor" | "bg" | "zIndex" | "opacity" | "visible" | "children" | "id" | "onLayout" | "testID" | "nativeID" | "pointerEvents" | "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" | "shadowColor" | "hitSlop" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "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" | "key" | "contentContainerStyle" | "innerViewRef" | "scrollViewRef" | "decelerationRate" | "horizontal" | "invertStickyHeaders" | "keyboardDismissMode" | "keyboardShouldPersistTaps" | "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")[];
942
942
  propertiesMap: {
943
943
  m?: true | undefined;
944
944
  bottom?: true | undefined;
@@ -1131,6 +1131,7 @@ export declare const themedScrollViewRestyleFuncs: {
1131
1131
  onPointerDownCapture?: true | undefined;
1132
1132
  onPointerUp?: true | undefined;
1133
1133
  onPointerUpCapture?: true | undefined;
1134
+ key?: true | undefined;
1134
1135
  contentContainerStyle?: true | undefined;
1135
1136
  innerViewRef?: true | undefined;
1136
1137
  scrollViewRef?: true | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"restyle.d.ts","sourceRoot":"","sources":["../../../../../src/utils/theme/restyle.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAkB,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,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,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAM9D,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMzC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGhB,CAAC;AAEpB,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGtB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jamadd/react-native-template-ui",
3
- "version": "0.4.6",
3
+ "version": "0.4.8",
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",