@umituz/react-native-ai-generation-content 1.12.9 → 1.12.10
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 +1 -3
- package/src/domains/creations/domain/value-objects/CreationsConfig.ts +1 -1
- package/src/domains/creations/presentation/components/FilterBottomSheet.tsx +1 -2
- package/src/domains/creations/presentation/screens/CreationsGalleryScreen.tsx +2 -3
- package/src/debug-props.ts +0 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-ai-generation-content",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.10",
|
|
4
4
|
"description": "Provider-agnostic AI generation orchestration for React Native",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
"@react-navigation/native": ">=6.0.0",
|
|
42
42
|
"@tanstack/react-query": ">=5.0.0",
|
|
43
43
|
"@umituz/react-native-animation": "latest",
|
|
44
|
-
"@umituz/react-native-bottom-sheet": "latest",
|
|
45
44
|
"@umituz/react-native-design-system": "latest",
|
|
46
45
|
"@umituz/react-native-firebase": "latest",
|
|
47
46
|
"@umituz/react-native-image": "latest",
|
|
@@ -62,7 +61,6 @@
|
|
|
62
61
|
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
63
62
|
"@typescript-eslint/parser": "^7.0.0",
|
|
64
63
|
"@umituz/react-native-animation": "latest",
|
|
65
|
-
"@umituz/react-native-bottom-sheet": "latest",
|
|
66
64
|
"@umituz/react-native-design-system": "latest",
|
|
67
65
|
"@umituz/react-native-firebase": "latest",
|
|
68
66
|
"@umituz/react-native-image": "latest",
|
|
@@ -41,7 +41,7 @@ export type PathBuilder = (userId: string) => string[];
|
|
|
41
41
|
*/
|
|
42
42
|
export type DocumentMapper = (id: string, data: CreationDocument) => Creation;
|
|
43
43
|
|
|
44
|
-
import type { FilterCategory } from "@umituz/react-native-
|
|
44
|
+
import type { FilterCategory } from "@umituz/react-native-design-system";
|
|
45
45
|
|
|
46
46
|
export interface CreationsConfig {
|
|
47
47
|
readonly collectionName: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef, useCallback, useMemo } from 'react';
|
|
2
2
|
import { View, StyleSheet, TouchableOpacity, ScrollView } from 'react-native';
|
|
3
|
-
import { BottomSheetModal, BottomSheetModalRef } from '@umituz/react-native-
|
|
4
|
-
import { useAppDesignTokens, AtomicText, AtomicIcon } from '@umituz/react-native-design-system';
|
|
3
|
+
import { BottomSheetModal, type BottomSheetModalRef, useAppDesignTokens, AtomicText, AtomicIcon } from '@umituz/react-native-design-system';
|
|
5
4
|
|
|
6
5
|
export interface FilterOption {
|
|
7
6
|
id: string;
|
|
@@ -7,9 +7,8 @@ import { useFocusEffect } from "@react-navigation/native";
|
|
|
7
7
|
import { useCreations } from "../hooks/useCreations";
|
|
8
8
|
import { useDeleteCreation } from "../hooks/useDeleteCreation";
|
|
9
9
|
import { useCreationsFilter } from "../hooks/useCreationsFilter";
|
|
10
|
-
import { useAlert, AlertMode } from "@umituz/react-native-design-system";
|
|
11
|
-
import {
|
|
12
|
-
import { GalleryHeader, CreationsGrid, FilterBottomSheet, CreationImageViewer, type FilterCategory, CreationsGalleryEmptyState } from "../components";
|
|
10
|
+
import { useAlert, AlertMode, type BottomSheetModalRef, type FilterCategory } from "@umituz/react-native-design-system";
|
|
11
|
+
import { GalleryHeader, CreationsGrid, FilterBottomSheet, CreationImageViewer, CreationsGalleryEmptyState } from "../components";
|
|
13
12
|
import { getTranslatedTypes, getFilterCategoriesFromConfig } from "../utils/filterUtils";
|
|
14
13
|
import type { Creation } from "../../domain/entities/Creation";
|
|
15
14
|
import type { CreationsConfig } from "../../domain/value-objects/CreationsConfig";
|
package/src/debug-props.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import { AtomicTextProps, AtomicIconProps } from "@umituz/react-native-design-system";
|
|
3
|
-
|
|
4
|
-
const textProps: AtomicTextProps = {
|
|
5
|
-
// This helps us see what is required/optional in IDE or tsc output
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
const iconProps: AtomicIconProps = {
|
|
9
|
-
name: 'check',
|
|
10
|
-
};
|