@umituz/react-native-ai-creations 1.2.13 → 1.2.15

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": "@umituz/react-native-ai-creations",
3
- "version": "1.2.13",
3
+ "version": "1.2.15",
4
4
  "description": "AI-generated creations gallery with filtering, sharing, and management for React Native apps",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -28,27 +28,31 @@
28
28
  "url": "https://github.com/umituz/react-native-ai-creations"
29
29
  },
30
30
  "dependencies": {
31
- "@umituz/react-native-alert": "latest",
32
- "@umituz/react-native-bottom-sheet": "latest",
33
- "@umituz/react-native-filter": "latest",
34
- "@umituz/react-native-image": "latest",
35
- "expo-linear-gradient": "^15.0.8"
31
+ "@umituz/react-native-alert": "latest"
36
32
  },
37
33
  "peerDependencies": {
38
34
  "@tanstack/react-query": ">=5.0.0",
35
+ "@umituz/react-native-bottom-sheet": "latest",
39
36
  "@umituz/react-native-design-system": "latest",
40
- "@umituz/react-native-firestore": "latest",
37
+ "@umituz/react-native-firebase": "latest",
38
+ "@umituz/react-native-filter": "latest",
39
+ "@umituz/react-native-image": "latest",
41
40
  "@umituz/react-native-sharing": "latest",
41
+ "expo-linear-gradient": ">=14.0.0",
42
42
  "firebase": ">=11.0.0",
43
43
  "react": ">=19.1.0",
44
44
  "react-native": ">=0.81.5",
45
45
  "react-native-safe-area-context": ">=5.0.0"
46
46
  },
47
47
  "devDependencies": {
48
+ "@umituz/react-native-bottom-sheet": "latest",
49
+ "@umituz/react-native-filter": "latest",
50
+ "@umituz/react-native-image": "latest",
51
+ "expo-linear-gradient": "^15.0.8",
48
52
  "@tanstack/react-query": "^5.62.16",
49
53
  "@types/react": "^19.0.0",
50
54
  "@umituz/react-native-design-system": "latest",
51
- "@umituz/react-native-firestore": "latest",
55
+ "@umituz/react-native-firebase": "latest",
52
56
  "@umituz/react-native-sharing": "latest",
53
57
  "firebase": "^11.0.0",
54
58
  "react": "19.1.0",
@@ -22,7 +22,7 @@ import {
22
22
  query,
23
23
  orderBy,
24
24
  } from "firebase/firestore";
25
- import { BaseRepository } from "@umituz/react-native-firestore";
25
+ import { BaseRepository } from "@umituz/react-native-firebase";
26
26
  import type { ICreationsRepository } from "../../domain/repositories/ICreationsRepository";
27
27
  import type { Creation, CreationDocument } from "../../domain/entities/Creation";
28
28
  import { mapDocumentToCreation } from "../../domain/entities/Creation";
@@ -55,13 +55,12 @@ export interface RepositoryOptions {
55
55
  */
56
56
  const createDefaultPathBuilder =
57
57
  (collectionName: string): PathBuilder =>
58
- (userId: string) =>
59
- ["users", userId, collectionName];
58
+ (userId: string) =>
59
+ ["users", userId, collectionName];
60
60
 
61
61
  export class CreationsRepository
62
62
  extends BaseRepository
63
- implements ICreationsRepository
64
- {
63
+ implements ICreationsRepository {
65
64
  private readonly pathBuilder: PathBuilder;
66
65
  private readonly documentMapper: DocumentMapper;
67
66
 
@@ -24,16 +24,18 @@ export const DetailActions: React.FC<DetailActionsProps> = ({
24
24
  <TouchableOpacity
25
25
  style={[styles.button, styles.shareButton]}
26
26
  onPress={onShare}
27
+ activeOpacity={0.7}
27
28
  >
28
- <AtomicIcon name="share-social" size="sm" color="#fff" />
29
+ <AtomicIcon name="share-social-outline" size="sm" color="onPrimary" />
29
30
  <AtomicText style={styles.buttonText}>{shareLabel}</AtomicText>
30
31
  </TouchableOpacity>
31
32
 
32
33
  <TouchableOpacity
33
34
  style={[styles.button, styles.deleteButton]}
34
35
  onPress={onDelete}
36
+ activeOpacity={0.7}
35
37
  >
36
- <AtomicIcon name="trash" size="sm" color={tokens.colors.error} />
38
+ <AtomicIcon name="trash-outline" size="sm" color="error" />
37
39
  <AtomicText style={[styles.buttonText, { color: tokens.colors.error }]}>
38
40
  {deleteLabel}
39
41
  </AtomicText>