@umituz/react-native-ai-generation-content 1.83.55 → 1.83.57

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.
Files changed (122) hide show
  1. package/package.json +1 -1
  2. package/src/domains/access-control/hooks/useAIFeatureGate.ts +1 -1
  3. package/src/domains/background/presentation/hooks/use-pending-jobs.ts +1 -1
  4. package/src/domains/creations/domain/utils/creation-id.util.ts +1 -1
  5. package/src/domains/creations/domain/utils/preview-helpers.ts +1 -1
  6. package/src/domains/creations/domain/value-objects/CreationsConfig.ts +1 -1
  7. package/src/domains/creations/presentation/components/CreationActions.tsx +2 -5
  8. package/src/domains/creations/presentation/components/CreationBadges.tsx +2 -6
  9. package/src/domains/creations/presentation/components/CreationCard.tsx +2 -4
  10. package/src/domains/creations/presentation/components/CreationCardMeta.tsx +2 -1
  11. package/src/domains/creations/presentation/components/CreationImagePreview.tsx +3 -6
  12. package/src/domains/creations/presentation/components/CreationPreview.tsx +1 -1
  13. package/src/domains/creations/presentation/components/CreationThumbnail.tsx +2 -4
  14. package/src/domains/creations/presentation/components/CreationVideoPreview.tsx +2 -5
  15. package/src/domains/creations/presentation/components/CreationsFilterBar.tsx +2 -5
  16. package/src/domains/creations/presentation/components/CreationsHomeCard.tsx +2 -5
  17. package/src/domains/creations/presentation/components/EmptyState.tsx +2 -1
  18. package/src/domains/creations/presentation/components/FilterChips.tsx +2 -1
  19. package/src/domains/creations/presentation/components/GalleryEmptyStates.tsx +2 -1
  20. package/src/domains/creations/presentation/components/GalleryHeader.tsx +2 -1
  21. package/src/domains/creations/presentation/components/GalleryResultPreview.tsx +1 -1
  22. package/src/domains/creations/presentation/components/GalleryScreenHeader.tsx +2 -1
  23. package/src/domains/creations/presentation/components/PendingJobsSection.tsx +2 -1
  24. package/src/domains/creations/presentation/components/useCreationCardActions.ts +1 -1
  25. package/src/domains/creations/presentation/hooks/useGalleryCallbacks.ts +2 -1
  26. package/src/domains/creations/presentation/screens/CreationsGalleryScreen.tsx +3 -6
  27. package/src/domains/creations/presentation/utils/gallery-filters.ts +1 -1
  28. package/src/domains/face-detection/presentation/components/FaceDetectionToggle.tsx +2 -5
  29. package/src/domains/face-detection/presentation/components/FaceValidationStatus.tsx +2 -6
  30. package/src/domains/generation/infrastructure/flow/useFlowStore.ts +1 -1
  31. package/src/domains/generation/wizard/infrastructure/strategies/shared/photo-extraction.utils.ts +1 -1
  32. package/src/domains/generation/wizard/presentation/components/WizardContinueButton.tsx +2 -7
  33. package/src/domains/generation/wizard/presentation/components/WizardFlowContent.tsx +1 -1
  34. package/src/domains/generation/wizard/presentation/components/WizardStepRenderer.tsx +1 -1
  35. package/src/domains/generation/wizard/presentation/hooks/useGenerationHandlers.ts +1 -1
  36. package/src/domains/generation/wizard/presentation/hooks/usePhotoUploadState.ts +1 -1
  37. package/src/domains/generation/wizard/presentation/hooks/useWizardFlowHandlers.ts +1 -1
  38. package/src/domains/generation/wizard/presentation/screens/GeneratingScreen.tsx +3 -1
  39. package/src/domains/generation/wizard/presentation/screens/GenericPhotoUploadScreen.tsx +4 -12
  40. package/src/domains/generation/wizard/presentation/screens/SelectionScreen.tsx +3 -8
  41. package/src/domains/generation/wizard/presentation/screens/TextInputScreen.tsx +4 -11
  42. package/src/domains/image-to-video/presentation/components/AddMoreCard.tsx +2 -5
  43. package/src/domains/image-to-video/presentation/components/AnimationStyleSelector.tsx +2 -5
  44. package/src/domains/image-to-video/presentation/components/DurationSelector.tsx +2 -4
  45. package/src/domains/image-to-video/presentation/components/EmptyGridState.tsx +2 -5
  46. package/src/domains/image-to-video/presentation/components/GridImageItem.tsx +2 -5
  47. package/src/domains/image-to-video/presentation/components/ImageSelectionGrid.styles.ts +1 -1
  48. package/src/domains/image-to-video/presentation/components/ImageSelectionGrid.tsx +2 -4
  49. package/src/domains/image-to-video/presentation/screens/ImageToVideoWizardFlow.tsx +1 -1
  50. package/src/domains/result-preview/presentation/components/RecentCreationsSection.tsx +3 -6
  51. package/src/domains/result-preview/presentation/components/ResultActionBar.tsx +2 -6
  52. package/src/domains/result-preview/presentation/components/ResultImageCard.tsx +2 -1
  53. package/src/domains/result-preview/presentation/components/ResultPreviewScreen.tsx +3 -6
  54. package/src/domains/result-preview/presentation/components/StarRatingPicker.tsx +2 -6
  55. package/src/domains/result-preview/presentation/hooks/useResultActions.ts +1 -7
  56. package/src/domains/scenarios/presentation/components/ScenarioContinueButton.tsx +2 -6
  57. package/src/domains/scenarios/presentation/screens/HierarchicalScenarioListScreen.tsx +3 -9
  58. package/src/domains/scenarios/presentation/screens/MainCategoryScreen.tsx +3 -6
  59. package/src/domains/scenarios/presentation/screens/ScenarioPreviewScreen.tsx +3 -9
  60. package/src/domains/scenarios/presentation/screens/SubCategoryScreen.tsx +3 -6
  61. package/src/domains/text-to-image/presentation/screens/TextToImageWizardFlow.tsx +1 -1
  62. package/src/domains/text-to-video/presentation/components/FrameSelector.tsx +2 -5
  63. package/src/domains/text-to-video/presentation/components/GenerationTabs.tsx +2 -4
  64. package/src/domains/text-to-video/presentation/components/HeroSection.tsx +2 -5
  65. package/src/domains/text-to-video/presentation/components/HintCarousel.tsx +2 -4
  66. package/src/domains/text-to-video/presentation/components/OptionsPanel.tsx +2 -4
  67. package/src/domains/text-to-video/presentation/screens/TextToVideoWizardFlow.tsx +1 -1
  68. package/src/infrastructure/utils/feature-utils.ts +1 -1
  69. package/src/presentation/components/AIGenerationForm.tsx +2 -5
  70. package/src/presentation/components/AIGenerationHero.tsx +2 -5
  71. package/src/presentation/components/GenerationProgressContent.tsx +1 -1
  72. package/src/presentation/components/PendingJobCard.tsx +2 -1
  73. package/src/presentation/components/PendingJobCardActions.tsx +2 -1
  74. package/src/presentation/components/PhotoUploadCard/ImageContent.tsx +2 -5
  75. package/src/presentation/components/PhotoUploadCard/PhotoUploadCard.styles.ts +1 -1
  76. package/src/presentation/components/PhotoUploadCard/PhotoUploadCard.tsx +1 -1
  77. package/src/presentation/components/PhotoUploadCard/PlaceholderContent.tsx +2 -5
  78. package/src/presentation/components/PhotoUploadCard/ValidatingContent.tsx +1 -4
  79. package/src/presentation/components/PhotoUploadCard/useBorderColor.ts +1 -1
  80. package/src/presentation/components/ProgressCloseButton.tsx +1 -1
  81. package/src/presentation/components/ProgressDismissButton.tsx +2 -4
  82. package/src/presentation/components/ProgressHeader.tsx +2 -5
  83. package/src/presentation/components/ProgressHint.tsx +2 -4
  84. package/src/presentation/components/PromptInput.tsx +2 -4
  85. package/src/presentation/components/StylePresetsGrid.tsx +2 -4
  86. package/src/presentation/components/buttons/GenerateButton.tsx +2 -6
  87. package/src/presentation/components/display/AIGenerationResult.tsx +2 -5
  88. package/src/presentation/components/display/ResultDisplay.tsx +2 -6
  89. package/src/presentation/components/display/index.ts +1 -1
  90. package/src/presentation/components/headers/AIGenScreenHeader.tsx +2 -5
  91. package/src/presentation/components/headers/CreditBadge.tsx +2 -5
  92. package/src/presentation/components/headers/FeatureHeader.tsx +2 -4
  93. package/src/presentation/components/image-picker/DualImagePicker.tsx +1 -1
  94. package/src/presentation/components/modals/SettingsSheet.tsx +2 -5
  95. package/src/presentation/components/moderation/ModerationSummary.tsx +2 -4
  96. package/src/presentation/components/photo-step/PhotoStep.tsx +1 -1
  97. package/src/presentation/components/prompts/ExamplePrompts.tsx +2 -4
  98. package/src/presentation/components/result/ActionButton.tsx +2 -5
  99. package/src/presentation/components/result/GenerationResultContent.tsx +1 -3
  100. package/src/presentation/components/result/ResultActions.styles.ts +1 -1
  101. package/src/presentation/components/result/ResultActions.tsx +1 -1
  102. package/src/presentation/components/result/ResultHeader.tsx +2 -5
  103. package/src/presentation/components/result/ResultImageCard.tsx +2 -5
  104. package/src/presentation/components/result/ResultStoryCard.tsx +2 -4
  105. package/src/presentation/components/result/RetryButton.tsx +1 -4
  106. package/src/presentation/components/result/button-style.utils.ts +1 -1
  107. package/src/presentation/components/selectors/AspectRatioSelector.tsx +2 -5
  108. package/src/presentation/components/selectors/DurationSelector.tsx +2 -4
  109. package/src/presentation/components/selectors/GridSelector.tsx +2 -4
  110. package/src/presentation/components/selectors/StyleSelector.tsx +2 -5
  111. package/src/presentation/components/shared/ModelOptionItem.tsx +2 -5
  112. package/src/presentation/components/shared/ModelSelectorModal.tsx +3 -6
  113. package/src/presentation/components/shared/ModelSelectorTrigger.tsx +2 -5
  114. package/src/presentation/hooks/generation/orchestrator.ts +2 -1
  115. package/src/presentation/hooks/generation/useDualImageGeneration.ts +2 -1
  116. package/src/presentation/hooks/generation/useImagePicker.ts +1 -1
  117. package/src/presentation/layouts/DualImageFeatureLayout.tsx +2 -5
  118. package/src/presentation/layouts/DualImageVideoFeatureLayout.tsx +2 -4
  119. package/src/presentation/layouts/SingleImageFeatureLayout.tsx +2 -5
  120. package/src/presentation/layouts/SingleImageWithPromptFeatureLayout.tsx +2 -5
  121. package/src/presentation/types/flow-step-configs.types.ts +1 -1
  122. package/src/shared/components/common/ProgressBar.tsx +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-ai-generation-content",
3
- "version": "1.83.55",
3
+ "version": "1.83.57",
4
4
  "description": "Provider-agnostic AI generation orchestration for React Native with result preview components",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { useCallback, useMemo } from "react";
7
- import { useOffline } from "@umituz/react-native-design-system";
7
+ import { useOffline } from "@umituz/react-native-design-system/offline";
8
8
  import { useAuth, useAuthModalStore } from "@umituz/react-native-auth";
9
9
  import {
10
10
  usePremium,
@@ -3,7 +3,7 @@
3
3
  * Generic pending job management with TanStack Query
4
4
  */
5
5
 
6
- import { useQuery, useMutation, useQueryClient } from "@umituz/react-native-design-system";
6
+ import { useQuery, useMutation, useQueryClient } from "@umituz/react-native-design-system/tanstack";
7
7
  import type {
8
8
  BackgroundJob,
9
9
  AddJobInput,
@@ -3,7 +3,7 @@
3
3
  * Single Responsibility: ID generation
4
4
  */
5
5
 
6
- import { generateUUID } from "@umituz/react-native-design-system";
6
+ import { generateUUID } from "@umituz/react-native-design-system/uuid";
7
7
 
8
8
  /**
9
9
  * Generate a unique creation ID using UUID v4
@@ -3,7 +3,7 @@
3
3
  * Utility functions for creation preview/thumbnail extraction
4
4
  */
5
5
 
6
- import { isImageUrl } from "@umituz/react-native-design-system";
6
+ import { isImageUrl } from "@umituz/react-native-design-system/media";
7
7
  import type { CreationOutput } from "../entities/Creation";
8
8
 
9
9
  // Re-export for convenience
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import type { Creation, CreationDocument } from "../entities/Creation";
7
- import type { FilterCategory } from "@umituz/react-native-design-system";
7
+ import type { FilterCategory } from "@umituz/react-native-design-system/molecules";
8
8
  import type { FilterOption } from "../types/creation-filter";
9
9
 
10
10
  export interface CreationType {
@@ -10,11 +10,8 @@ import {
10
10
  TouchableOpacity,
11
11
  type GestureResponderEvent,
12
12
  } from "react-native";
13
- import {
14
- useAppDesignTokens,
15
- AtomicIcon,
16
- AtomicSpinner,
17
- } from "@umituz/react-native-design-system";
13
+ import { AtomicIcon, AtomicSpinner } from "@umituz/react-native-design-system/atoms";
14
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
18
15
 
19
16
  export interface CreationAction {
20
17
  /** Unique action identifier */
@@ -5,12 +5,8 @@
5
5
 
6
6
  import React, { useMemo } from "react";
7
7
  import { View, StyleSheet } from "react-native";
8
- import {
9
- useAppDesignTokens,
10
- AtomicIcon,
11
- AtomicText,
12
- withAlpha,
13
- } from "@umituz/react-native-design-system";
8
+ import { AtomicIcon, AtomicText } from "@umituz/react-native-design-system/atoms";
9
+ import { useAppDesignTokens, withAlpha } from "@umituz/react-native-design-system/theme";
14
10
  import type { CreationStatus, CreationTypeId } from "../../domain/types";
15
11
  import { getStatusColorKey, getStatusText, getTypeIcon, getTypeText } from "../../domain/utils";
16
12
 
@@ -5,10 +5,8 @@
5
5
 
6
6
  import React, { useMemo, useCallback } from "react";
7
7
  import { View, StyleSheet, TouchableOpacity } from "react-native";
8
- import {
9
- AtomicText,
10
- useAppDesignTokens,
11
- } from "@umituz/react-native-design-system";
8
+ import { AtomicText } from "@umituz/react-native-design-system/atoms";
9
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
12
10
  import { CreationPreview } from "./CreationPreview";
13
11
  import { CreationBadges } from "./CreationBadges";
14
12
  import { CreationActions } from "./CreationActions";
@@ -5,7 +5,8 @@
5
5
 
6
6
  import React, { useMemo } from "react";
7
7
  import { View, StyleSheet } from "react-native";
8
- import { useAppDesignTokens, AtomicText } from "@umituz/react-native-design-system";
8
+ import { AtomicText } from "@umituz/react-native-design-system/atoms";
9
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
9
10
 
10
11
  interface CreationCardMetaProps {
11
12
  readonly formattedDate: string;
@@ -6,12 +6,9 @@
6
6
 
7
7
  import React, { useMemo, useState, useCallback } from "react";
8
8
  import { View, StyleSheet } from "react-native";
9
- import {
10
- useAppDesignTokens,
11
- AtomicIcon,
12
- AtomicSpinner,
13
- AtomicImage,
14
- } from "@umituz/react-native-design-system";
9
+ import { AtomicIcon, AtomicSpinner } from "@umituz/react-native-design-system/atoms";
10
+ import { AtomicImage } from "@umituz/react-native-design-system/image";
11
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
15
12
  import type { CreationStatus, CreationTypeId } from "../../domain/types";
16
13
  import { isInProgress, getTypeIcon } from "../../domain/utils";
17
14
 
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  import React from "react";
8
- import { isVideoUrl } from "@umituz/react-native-design-system";
8
+ import { isVideoUrl } from "@umituz/react-native-design-system/media";
9
9
  import type { CreationStatus, CreationTypeId } from "../../domain/types";
10
10
  import { CreationImagePreview } from "./CreationImagePreview";
11
11
  import { CreationVideoPreview } from "./CreationVideoPreview";
@@ -5,10 +5,8 @@
5
5
 
6
6
  import React, { useMemo, useState } from "react";
7
7
  import { Image, TouchableOpacity, StyleSheet, View } from "react-native";
8
- import {
9
- useAppDesignTokens,
10
- AtomicIcon,
11
- } from "@umituz/react-native-design-system";
8
+ import { AtomicIcon } from "@umituz/react-native-design-system/atoms";
9
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
12
10
 
13
11
  interface CreationThumbnailProps {
14
12
  readonly uri: string;
@@ -5,11 +5,8 @@
5
5
 
6
6
  import React, { useMemo } from "react";
7
7
  import { View, StyleSheet, Image } from "react-native";
8
- import {
9
- useAppDesignTokens,
10
- AtomicIcon,
11
- AtomicSpinner,
12
- } from "@umituz/react-native-design-system";
8
+ import { AtomicIcon, AtomicSpinner } from "@umituz/react-native-design-system/atoms";
9
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
13
10
  import type { CreationStatus, CreationTypeId } from "../../domain/types";
14
11
  import { isInProgress } from "../../domain/utils";
15
12
  import { shouldShowThumbnail } from "../../domain/utils/preview-helpers";
@@ -5,11 +5,8 @@
5
5
 
6
6
  import React, { useMemo } from "react";
7
7
  import { View, StyleSheet, ScrollView, TouchableOpacity } from "react-native";
8
- import {
9
- useAppDesignTokens,
10
- AtomicText,
11
- AtomicIcon,
12
- } from "@umituz/react-native-design-system";
8
+ import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
9
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
13
10
  import { createFilterButtons } from "../../../../shared/utils/filters";
14
11
  import type { CreationsFilterBarProps, MediaFilterLabels, StatusFilterLabels, FilterButton } from "./CreationsFilterBar.types";
15
12
 
@@ -5,11 +5,8 @@
5
5
 
6
6
  import React, { useMemo, useCallback } from "react";
7
7
  import { View, TouchableOpacity, FlatList, StyleSheet } from "react-native";
8
- import {
9
- AtomicText,
10
- AtomicIcon,
11
- useAppDesignTokens,
12
- } from "@umituz/react-native-design-system";
8
+ import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
9
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
13
10
  import type { Creation } from "../../domain/entities/Creation";
14
11
  import { CreationThumbnail } from "./CreationThumbnail";
15
12
 
@@ -5,7 +5,8 @@
5
5
 
6
6
  import React, { useMemo } from "react";
7
7
  import { View, StyleSheet, TouchableOpacity } from "react-native";
8
- import { AtomicText, AtomicIcon, useAppDesignTokens } from "@umituz/react-native-design-system";
8
+ import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
9
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
9
10
 
10
11
  interface EmptyStateProps {
11
12
  readonly title: string;
@@ -5,7 +5,8 @@
5
5
 
6
6
  import React, { useMemo } from "react";
7
7
  import { View, TouchableOpacity, StyleSheet, ScrollView, type ViewStyle } from "react-native";
8
- import { AtomicText, useAppDesignTokens } from "@umituz/react-native-design-system";
8
+ import { AtomicText } from "@umituz/react-native-design-system/atoms";
9
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
9
10
  import type { CreationType } from "../../domain/value-objects/CreationsConfig";
10
11
 
11
12
  interface FilterChipsProps {
@@ -5,7 +5,8 @@
5
5
 
6
6
  import React from "react";
7
7
  import { View, StyleSheet } from "react-native";
8
- import { AtomicSkeleton, type DesignTokens } from "@umituz/react-native-design-system";
8
+ import { AtomicSkeleton } from "@umituz/react-native-design-system/atoms";
9
+ import { type DesignTokens } from "@umituz/react-native-design-system/theme";
9
10
  import { EmptyState } from "./EmptyState";
10
11
  import type { Creation } from "../../domain/entities/Creation";
11
12
 
@@ -1,7 +1,8 @@
1
1
 
2
2
  import React from "react";
3
3
  import { View, TouchableOpacity, StyleSheet, type ViewStyle } from "react-native";
4
- import { AtomicText, AtomicIcon, useAppDesignTokens, type DesignTokens } from "@umituz/react-native-design-system";
4
+ import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
5
+ import { useAppDesignTokens, type DesignTokens } from "@umituz/react-native-design-system/theme";
5
6
 
6
7
  interface FilterButtonConfig {
7
8
  readonly id: string;
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import React from "react";
7
- import { useAlert, AlertType, AlertMode } from "@umituz/react-native-design-system";
7
+ import { useAlert, AlertType, AlertMode } from "@umituz/react-native-design-system/molecules";
8
8
  import { ResultPreviewScreen } from "../../../result-preview/presentation/components/ResultPreviewScreen";
9
9
  import { StarRatingPicker } from "../../../result-preview/presentation/components/StarRatingPicker";
10
10
  import { useResultActions } from "../../../result-preview/presentation/hooks/useResultActions";
@@ -5,7 +5,8 @@
5
5
 
6
6
  import React, { useMemo } from "react";
7
7
  import { View, TouchableOpacity, StyleSheet } from "react-native";
8
- import { useAppDesignTokens, AtomicIcon, AtomicText, type DesignTokens } from "@umituz/react-native-design-system";
8
+ import { AtomicIcon, AtomicText } from "@umituz/react-native-design-system/atoms";
9
+ import { useAppDesignTokens, type DesignTokens } from "@umituz/react-native-design-system/theme";
9
10
 
10
11
  interface GalleryScreenHeaderProps {
11
12
  readonly title: string;
@@ -5,7 +5,8 @@
5
5
 
6
6
  import React from "react";
7
7
  import { View, StyleSheet } from "react-native";
8
- import { AtomicText, useAppDesignTokens } from "@umituz/react-native-design-system";
8
+ import { AtomicText } from "@umituz/react-native-design-system/atoms";
9
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
9
10
  import type { BackgroundJob } from "../../../background/domain/entities/job.types";
10
11
  import { PendingJobCard } from "../../../../presentation/components/PendingJobCard";
11
12
 
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { useMemo } from "react";
7
- import { useAppDesignTokens } from "@umituz/react-native-design-system";
7
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
8
8
  import type { CreationCardData, CreationCardCallbacks } from "./CreationCard.types";
9
9
  import type { CreationAction } from "./CreationActions";
10
10
 
@@ -5,7 +5,8 @@
5
5
 
6
6
 
7
7
  import { useCallback } from "react";
8
- import { useAlert, AlertType, AlertMode, useSharing } from "@umituz/react-native-design-system";
8
+ import { useAlert, AlertType, AlertMode } from "@umituz/react-native-design-system/molecules";
9
+ import { useSharing } from "@umituz/react-native-design-system/utilities";
9
10
  import type { Creation } from "../../domain/entities/Creation";
10
11
  import type { CreationsConfig } from "../../domain/value-objects/CreationsConfig";
11
12
  import type { ICreationsRepository } from "../../domain/repositories/ICreationsRepository";
@@ -1,11 +1,8 @@
1
1
  import React, { useMemo, useCallback } from "react";
2
2
  import { View, FlatList, RefreshControl } from "react-native";
3
- import {
4
- useAppDesignTokens,
5
- FilterSheet,
6
- ScreenLayout,
7
- useAppFocusEffect,
8
- } from "@umituz/react-native-design-system";
3
+ import { ScreenLayout } from "@umituz/react-native-design-system/layouts";
4
+ import { FilterSheet } from "@umituz/react-native-design-system/molecules";
5
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
9
6
  import { useCreations } from "../hooks/useCreations";
10
7
  import { useDeleteCreation } from "../hooks/useDeleteCreation";
11
8
  import { useProcessingJobsPoller } from "../hooks/useProcessingJobsPoller";
@@ -1,5 +1,5 @@
1
1
  import type { CreationsConfig } from "../../domain/value-objects/CreationsConfig";
2
- import type { FilterCategory } from "@umituz/react-native-design-system";
2
+ import type { FilterCategory } from "@umituz/react-native-design-system/molecules";
3
3
 
4
4
  /**
5
5
  * Transforms the creations configuration into filter categories for the UI.
@@ -6,11 +6,8 @@
6
6
 
7
7
  import React from "react";
8
8
  import { View, StyleSheet, Switch } from "react-native";
9
- import {
10
- AtomicText,
11
- AtomicIcon,
12
- useAppDesignTokens,
13
- } from "@umituz/react-native-design-system";
9
+ import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
10
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
14
11
 
15
12
  interface FaceDetectionToggleProps {
16
13
  isEnabled: boolean;
@@ -7,12 +7,8 @@
7
7
 
8
8
  import * as React from "react";
9
9
  import { View, StyleSheet } from "react-native";
10
- import {
11
- AtomicText,
12
- AtomicIcon,
13
- AtomicSpinner,
14
- useAppDesignTokens,
15
- } from "@umituz/react-native-design-system";
10
+ import { AtomicText, AtomicIcon, AtomicSpinner } from "@umituz/react-native-design-system/atoms";
11
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
16
12
  import type { FaceValidationState } from "../../domain/entities/FaceDetection";
17
13
  import { isValidFace } from "../../infrastructure/validators/faceValidator";
18
14
 
@@ -2,7 +2,7 @@
2
2
  * Flow Store - Zustand store for multi-step flow state management
3
3
  */
4
4
 
5
- import { createStore } from "@umituz/react-native-design-system";
5
+ import { createStore } from "@umituz/react-native-design-system/storage";
6
6
 
7
7
  import type {
8
8
  FlowState,
@@ -3,7 +3,7 @@
3
3
  * Shared photo extraction logic for wizard strategies
4
4
  */
5
5
 
6
- import { readFileAsBase64 } from "@umituz/react-native-design-system";
6
+ import { readFileAsBase64 } from "@umituz/react-native-design-system/filesystem";
7
7
  import { manipulateAsync, SaveFormat } from "expo-image-manipulator";
8
8
  import { Image } from "react-native";
9
9
  import { PHOTO_KEY_PREFIX } from "../wizard-strategy.constants";
@@ -6,13 +6,8 @@
6
6
 
7
7
  import React from "react";
8
8
  import { TouchableOpacity, StyleSheet } from "react-native";
9
- import {
10
- AtomicText,
11
- AtomicIcon,
12
- useAppDesignTokens,
13
- useResponsive,
14
- type IconName,
15
- } from "@umituz/react-native-design-system";
9
+ import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
10
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
16
11
 
17
12
  interface WizardContinueButtonProps {
18
13
  readonly canContinue: boolean;
@@ -5,7 +5,7 @@
5
5
 
6
6
  import React, { useMemo, useEffect, useRef, useState } from "react";
7
7
  import { View, StyleSheet } from "react-native";
8
- import { useAppDesignTokens } from "@umituz/react-native-design-system";
8
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
9
9
  import { useFlow } from "../../../infrastructure/flow/useFlow";
10
10
  import { StepType, type StepDefinition } from "../../../../../domain/entities/flow-config.types";
11
11
  import type { WizardFeatureConfig } from "../../domain/entities/wizard-feature.types";
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import React from "react";
7
- import { extractMediaUrl, getMediaTypeFromUrl } from "@umituz/react-native-design-system";
7
+ import { extractMediaUrl, getMediaTypeFromUrl } from "@umituz/react-native-design-system/media";
8
8
  import { StepType } from "../../../../../domain/entities/flow-config.types";
9
9
  import { GeneratingScreen } from "../screens/GeneratingScreen";
10
10
  import { ResultPreviewScreen } from "../../../../result-preview/presentation/components/ResultPreviewScreen";
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import { useCallback } from "react";
6
- import { AlertType, AlertMode, useAlert } from "@umituz/react-native-design-system";
6
+ import { AlertType, AlertMode, useAlert } from "@umituz/react-native-design-system/molecules";
7
7
  import type { Creation } from "../../../../creations/domain/entities/Creation";
8
8
  import { isCreation } from "./typeGuards";
9
9
  import { classifyError } from "../../../../../infrastructure/utils/error-classification";
@@ -6,7 +6,7 @@
6
6
 
7
7
  import { useState, useCallback, useEffect, useRef } from "react";
8
8
 
9
- import { useMedia, MediaQuality, MediaValidationError, MEDIA_CONSTANTS } from "@umituz/react-native-design-system";
9
+ import { useMedia, MediaQuality, MediaValidationError, MEDIA_CONSTANTS } from "@umituz/react-native-design-system/media";
10
10
  import type { UploadedImage } from "../../../../../presentation/hooks/generation/useAIGenerateState";
11
11
 
12
12
  export interface PhotoUploadConfig {
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { useCallback } from "react";
7
- import { AlertType, AlertMode, useAlert } from "@umituz/react-native-design-system";
7
+ import { AlertType, AlertMode, useAlert } from "@umituz/react-native-design-system/molecules";
8
8
  import type { UseWizardFlowHandlersProps } from "./wizard-flow-handlers.types";
9
9
  import { useGenerationHandlers } from "./useGenerationHandlers";
10
10
  import { useNavigationHandlers } from "./useNavigationHandlers";
@@ -7,7 +7,9 @@
7
7
 
8
8
  import React, { useMemo } from "react";
9
9
  import { View, StyleSheet, ActivityIndicator, TouchableOpacity } from "react-native";
10
- import { useAppDesignTokens, AtomicText, ScreenLayout } from "@umituz/react-native-design-system";
10
+ import { AtomicText } from "@umituz/react-native-design-system/atoms";
11
+ import { ScreenLayout } from "@umituz/react-native-design-system/layouts";
12
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
11
13
  import { useGenerationPhase } from "../hooks/useGenerationPhase";
12
14
  import { IndeterminateProgressBar } from "../components/IndeterminateProgressBar";
13
15
 
@@ -5,18 +5,10 @@
5
5
 
6
6
  import React, { useMemo, useCallback } from "react";
7
7
  import { View, StyleSheet } from "react-native";
8
- import {
9
- useAppDesignTokens,
10
- useAlert,
11
- AlertType,
12
- AlertMode,
13
- ScreenLayout,
14
- AtomicText,
15
- NavigationHeader,
16
- InfoGrid,
17
- type DesignTokens,
18
- type InfoGridItem,
19
- } from "@umituz/react-native-design-system";
8
+ import { AtomicText } from "@umituz/react-native-design-system/atoms";
9
+ import { ScreenLayout } from "@umituz/react-native-design-system/layouts";
10
+ import { useAlert, AlertType, AlertMode } from "@umituz/react-native-design-system/molecules";
11
+ import { useAppDesignTokens, type DesignTokens } from "@umituz/react-native-design-system/theme";
20
12
  import { PhotoUploadCard } from "../../../../../presentation/components";
21
13
  import type { UploadedImage } from "../../../../../presentation/hooks/generation/useAIGenerateState";
22
14
  import { usePhotoUploadState, type PhotoUploadError } from "../hooks/usePhotoUploadState";
@@ -5,14 +5,9 @@
5
5
 
6
6
  import React, { useState, useCallback, useMemo } from "react";
7
7
  import { View, TouchableOpacity, StyleSheet } from "react-native";
8
- import {
9
- AtomicText,
10
- AtomicIcon,
11
- useAppDesignTokens,
12
- ScreenLayout,
13
- NavigationHeader,
14
- type DesignTokens,
15
- } from "@umituz/react-native-design-system";
8
+ import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
9
+ import { ScreenLayout } from "@umituz/react-native-design-system/layouts";
10
+ import { useAppDesignTokens, type DesignTokens } from "@umituz/react-native-design-system/theme";
16
11
  import type { SelectionScreenProps, SelectionOption } from "./SelectionScreen.types";
17
12
  import { WizardContinueButton } from "../components/WizardContinueButton";
18
13
 
@@ -6,17 +6,10 @@
6
6
 
7
7
  import React, { useState, useCallback, useMemo } from "react";
8
8
  import { View, TextInput, StyleSheet } from "react-native";
9
- import {
10
- AtomicText,
11
- AtomicButton,
12
- useAppDesignTokens,
13
- ScreenLayout,
14
- NavigationHeader,
15
- type DesignTokens,
16
- useAlert,
17
- AlertType,
18
- AlertMode,
19
- } from "@umituz/react-native-design-system";
9
+ import { AtomicText, AtomicButton } from "@umituz/react-native-design-system/atoms";
10
+ import { ScreenLayout } from "@umituz/react-native-design-system/layouts";
11
+ import { useAlert, AlertType, AlertMode } from "@umituz/react-native-design-system/molecules";
12
+ import { useAppDesignTokens, type DesignTokens } from "@umituz/react-native-design-system/theme";
20
13
  import { WizardContinueButton } from "../components/WizardContinueButton";
21
14
  import { contentModerationService } from "../../../../../domains/content-moderation";
22
15
  import type { TextInputScreenProps } from "./TextInputScreen.types";
@@ -5,11 +5,8 @@
5
5
 
6
6
  import React from "react";
7
7
  import { TouchableOpacity } from "react-native";
8
- import {
9
- AtomicIcon,
10
- AtomicText,
11
- useAppDesignTokens,
12
- } from "@umituz/react-native-design-system";
8
+ import { AtomicIcon, AtomicText } from "@umituz/react-native-design-system/atoms";
9
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
13
10
  import type { ImageSelectionGridStyles } from "./ImageSelectionGrid.styles";
14
11
 
15
12
  interface AddMoreCardProps {
@@ -5,11 +5,8 @@
5
5
 
6
6
  import React from "react";
7
7
  import { View, TouchableOpacity, StyleSheet } from "react-native";
8
- import {
9
- AtomicText,
10
- AtomicIcon,
11
- useAppDesignTokens,
12
- } from "@umituz/react-native-design-system";
8
+ import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
9
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
13
10
  import type { AnimationStyle, AnimationStyleId } from "../../domain/types";
14
11
 
15
12
  export interface AnimationStyleSelectorProps {
@@ -5,10 +5,8 @@
5
5
 
6
6
  import React from "react";
7
7
  import { View, TouchableOpacity, StyleSheet } from "react-native";
8
- import {
9
- AtomicText,
10
- useAppDesignTokens,
11
- } from "@umituz/react-native-design-system";
8
+ import { AtomicText } from "@umituz/react-native-design-system/atoms";
9
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
12
10
  import type { VideoDuration, DurationOption } from "../../domain/types";
13
11
 
14
12
  export interface DurationSelectorProps {
@@ -5,11 +5,8 @@
5
5
 
6
6
  import React from "react";
7
7
  import { View, TouchableOpacity } from "react-native";
8
- import {
9
- AtomicText,
10
- AtomicIcon,
11
- useAppDesignTokens,
12
- } from "@umituz/react-native-design-system";
8
+ import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
9
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
13
10
  import type { ImageSelectionGridStyles } from "./ImageSelectionGrid.styles";
14
11
  import type { ImageSelectionGridTranslations } from "./ImageSelectionGrid.types";
15
12
 
@@ -5,11 +5,8 @@
5
5
 
6
6
  import React from "react";
7
7
  import { View, TouchableOpacity, Image } from "react-native";
8
- import {
9
- AtomicIcon,
10
- AtomicText,
11
- useAppDesignTokens,
12
- } from "@umituz/react-native-design-system";
8
+ import { AtomicIcon, AtomicText } from "@umituz/react-native-design-system/atoms";
9
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
13
10
  import type { ImageSelectionGridStyles } from "./ImageSelectionGrid.styles";
14
11
 
15
12
  interface GridImageItemProps {
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import { StyleSheet } from "react-native";
6
- import type { DesignTokens } from "@umituz/react-native-design-system";
6
+ import type { DesignTokens } from "@umituz/react-native-design-system/theme";
7
7
 
8
8
  export function createImageSelectionGridStyles(_tokens: DesignTokens) {
9
9
  return StyleSheet.create({
@@ -5,10 +5,8 @@
5
5
 
6
6
  import React, { useMemo } from "react";
7
7
  import { View, ScrollView } from "react-native";
8
- import {
9
- AtomicText,
10
- useAppDesignTokens,
11
- } from "@umituz/react-native-design-system";
8
+ import { AtomicText } from "@umituz/react-native-design-system/atoms";
9
+ import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
12
10
  import { EmptyGridState } from "./EmptyGridState";
13
11
  import { GridImageItem } from "./GridImageItem";
14
12
  import { AddMoreCard } from "./AddMoreCard";