@umituz/react-native-ai-generation-content 1.12.39 → 1.12.41

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-generation-content",
3
- "version": "1.12.39",
3
+ "version": "1.12.41",
4
4
  "description": "Provider-agnostic AI generation orchestration for React Native",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -1,3 +1,5 @@
1
+ declare const __DEV__: boolean;
2
+
1
3
  import React from 'react';
2
4
  import { View, TouchableOpacity, StyleSheet, type ViewStyle } from 'react-native';
3
5
  import { AtomicText, AtomicIcon, useAppDesignTokens, type DesignTokens } from "@umituz/react-native-design-system";
@@ -35,7 +37,13 @@ export const GalleryHeader: React.FC<GalleryHeaderProps> = ({
35
37
  </AtomicText>
36
38
  </View>
37
39
  <TouchableOpacity
38
- onPress={onFilterPress}
40
+ onPress={() => {
41
+ if (__DEV__) {
42
+ // eslint-disable-next-line no-console
43
+ console.log('[GalleryHeader] Filter button pressed');
44
+ }
45
+ onFilterPress();
46
+ }}
39
47
  style={[styles.filterButton, isFiltered && styles.filterButtonActive]}
40
48
  activeOpacity={0.7}
41
49
  >
@@ -1,3 +1,5 @@
1
+ declare const __DEV__: boolean;
2
+
1
3
  import React, { useMemo, useCallback, useState } from "react";
2
4
  import { View, StyleSheet, type LayoutChangeEvent } from "react-native";
3
5
  import {
@@ -159,7 +161,17 @@ export function CreationsGalleryScreen({
159
161
  countLabel={t(config.translations.photoCount) || 'photos'}
160
162
  isFiltered={isFiltered}
161
163
  filterLabel={t(config.translations.filterLabel) || 'Filter'}
162
- onFilterPress={() => filterSheetRef.current?.present()}
164
+ onFilterPress={() => {
165
+ if (__DEV__) {
166
+ // eslint-disable-next-line no-console
167
+ console.log('[CreationsGallery] Filter button pressed');
168
+ // eslint-disable-next-line no-console
169
+ console.log('[CreationsGallery] filterSheetRef.current:', filterSheetRef.current);
170
+ // eslint-disable-next-line no-console
171
+ console.log('[CreationsGallery] allCategories:', allCategories);
172
+ }
173
+ filterSheetRef.current?.present();
174
+ }}
163
175
  style={{ paddingTop: insets.top + tokens.spacing.md }}
164
176
  />
165
177
  )}