react-native-ui-lib 9.0.4-snapshot.8019 → 9.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-ui-lib",
3
- "version": "9.0.4-snapshot.8019",
3
+ "version": "9.0.4",
4
4
  "main": "src/index.js",
5
5
  "types": "src/index.d.ts",
6
6
  "author": "Ethan Sharabi <ethan.shar@gmail.com>",
@@ -102,15 +102,15 @@
102
102
  "setimmediate": "^1.0.5",
103
103
  "shell-utils": "^1.0.10",
104
104
  "typescript": "5.0.4",
105
- "uilib-native": "5.1.2-snapshot.8019"
105
+ "uilib-native": "5.1.2"
106
106
  },
107
107
  "peerDependencies": {
108
108
  "react": ">=19.0.0",
109
109
  "react-native": ">=0.77.3",
110
110
  "react-native-gesture-handler": ">=2.24.0",
111
111
  "react-native-reanimated": ">=3.19.4",
112
- "react-native-ui-lib": "*",
113
- "uilib-native": "5.1.0-snapshot.7635"
112
+ "react-native-safe-area-context": ">=5.6.2",
113
+ "uilib-native": "^5.0.1"
114
114
  },
115
115
  "jest": {
116
116
  "preset": "react-native",
@@ -211,7 +211,7 @@ const WheelPicker = props => {
211
211
  {separators}
212
212
  <View row centerH>
213
213
  <GestureHandlerRootView style={styles.gestureContainer}>
214
- <AnimatedFlatList {...androidFlatListProps} directionalLockEnabled alwaysBounceHorizontal={false} {...flatListProps} testID={`${testID}.list`} listKey={`${testID}.flatList`} height={height} data={items}
214
+ <AnimatedFlatList {...androidFlatListProps} {...flatListProps} testID={`${testID}.list`} listKey={`${testID}.flatList`} height={height} data={items}
215
215
  // @ts-ignore reanimated2
216
216
  keyExtractor={keyExtractor} scrollEventThrottle={100} onScroll={scrollHandler} onMomentumScrollEnd={onValueChange} showsVerticalScrollIndicator={false} onScrollBeginDrag={disableOnChangeSkip} // user dragged wheel.
217
217
  // @ts-ignore
@@ -12,5 +12,5 @@ export declare function getValidColorString(text?: string): {
12
12
  valid: boolean;
13
13
  hex?: undefined;
14
14
  };
15
- export declare function getHexString(color: HSLColor): string;
15
+ export declare function getHexString(color: HSLColor): Uppercase<string>;
16
16
  export declare function getTextColor(color: string): string;
@@ -2,7 +2,7 @@ export declare function getInitialsTypography(size: number): import("react-nativ
2
2
  export declare function hashStringToNumber(str?: string): number;
3
3
  export declare function getAvatarColors(): string[];
4
4
  export declare function getColorById(id: string, avatarColors?: string[]): string;
5
- export declare function getInitials(name?: string, limit?: number): string;
5
+ export declare function getInitials(name?: string, limit?: number): Uppercase<string>;
6
6
  export declare function getBackgroundColor(name?: string, avatarColors?: string[], hashFunction?: (name?: string) => number, defaultColor?: string): string | undefined;
7
7
  export declare function isGravatarUrl(url: string): boolean;
8
8
  export declare function isBlankGravatarUrl(url: string): boolean;