@umituz/react-native-design-system 4.23.65 → 4.23.67

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 (76) hide show
  1. package/package.json +1 -1
  2. package/src/atoms/index.ts +31 -17
  3. package/src/atoms/picker/{types/index.ts → types.ts} +1 -1
  4. package/src/device/index.ts +0 -1
  5. package/src/device/infrastructure/services/PersistentDeviceIdService.ts +3 -49
  6. package/src/device/presentation/hooks/useDeviceInfo.ts +49 -15
  7. package/src/exception/presentation/components/ErrorBoundary.tsx +2 -2
  8. package/src/image/index.ts +0 -1
  9. package/src/image/infrastructure/utils/LayerManager.ts +0 -1
  10. package/src/image/presentation/components/ImageGallery.tsx +38 -37
  11. package/src/image/presentation/components/editor/StickerPickerSheet.tsx +9 -5
  12. package/src/index.ts +25 -25
  13. package/src/media/infrastructure/utils/file-media-utils.ts +2 -0
  14. package/src/molecules/bottom-sheet/components/BottomSheet.tsx +2 -2
  15. package/src/molecules/calendar/infrastructure/stores/useCalendarEvents.ts +16 -3
  16. package/src/molecules/filter-group/FilterGroup.tsx +1 -1
  17. package/src/molecules/navigation/index.ts +0 -3
  18. package/src/molecules/splash/index.ts +3 -3
  19. package/src/offline/presentation/hooks/useOffline.ts +16 -5
  20. package/src/onboarding/hooks/useOnboardingFlow.ts +13 -4
  21. package/src/presentation/utils/variants/index.ts +6 -0
  22. package/src/storage/cache/presentation/useCachedValue.ts +0 -3
  23. package/src/storage/domain/utils/ValidationUtils.ts +44 -0
  24. package/src/storage/infrastructure/adapters/StorageService.ts +18 -3
  25. package/src/storage/infrastructure/repositories/BaseStorageOperations.ts +6 -1
  26. package/src/storage/presentation/hooks/CacheStorageOperations.ts +13 -2
  27. package/src/storage/presentation/hooks/usePersistentCache.ts +30 -12
  28. package/src/theme/infrastructure/storage/ThemeStorage.ts +17 -1
  29. package/src/atoms/GlassView/index.ts +0 -1
  30. package/src/atoms/badge/index.ts +0 -6
  31. package/src/atoms/button/index.ts +0 -6
  32. package/src/atoms/card/index.ts +0 -2
  33. package/src/atoms/chip/index.ts +0 -6
  34. package/src/atoms/skeleton/index.ts +0 -9
  35. package/src/atoms/status-bar/index.ts +0 -6
  36. package/src/device/infrastructure/repositories/LegacyDeviceIdRepository.ts +0 -30
  37. package/src/exports/atoms.ts +0 -81
  38. package/src/exports/device.ts +0 -68
  39. package/src/exports/exception.ts +0 -7
  40. package/src/exports/filesystem.ts +0 -1
  41. package/src/exports/haptics.ts +0 -7
  42. package/src/exports/image.ts +0 -83
  43. package/src/exports/infinite-scroll.ts +0 -7
  44. package/src/exports/init.ts +0 -5
  45. package/src/exports/layouts.ts +0 -19
  46. package/src/exports/loading.ts +0 -20
  47. package/src/exports/media.ts +0 -1
  48. package/src/exports/molecules/alerts.ts +0 -22
  49. package/src/exports/molecules/bottom-sheet.ts +0 -19
  50. package/src/exports/molecules/calendar.ts +0 -23
  51. package/src/exports/molecules/core.ts +0 -29
  52. package/src/exports/molecules/countdown.ts +0 -23
  53. package/src/exports/molecules/emoji.ts +0 -17
  54. package/src/exports/molecules/index.ts +0 -13
  55. package/src/exports/molecules/misc.ts +0 -42
  56. package/src/exports/molecules/navigation.ts +0 -44
  57. package/src/exports/molecules/swipe-actions.ts +0 -15
  58. package/src/exports/offline.ts +0 -7
  59. package/src/exports/onboarding.ts +0 -6
  60. package/src/exports/organisms.ts +0 -9
  61. package/src/exports/responsive.ts +0 -36
  62. package/src/exports/safe-area.ts +0 -6
  63. package/src/exports/storage.ts +0 -1
  64. package/src/exports/tanstack.ts +0 -1
  65. package/src/exports/theme.ts +0 -44
  66. package/src/exports/timezone.ts +0 -7
  67. package/src/exports/typography.ts +0 -22
  68. package/src/exports/utilities.ts +0 -6
  69. package/src/exports/uuid.ts +0 -7
  70. package/src/exports/variants.ts +0 -22
  71. package/src/image/presentation/components/image/AtomicImage.tsx +0 -24
  72. package/src/molecules/splash/components/index.ts +0 -1
  73. package/src/molecules/splash/hooks/index.ts +0 -6
  74. /package/src/atoms/fab/{types/index.ts → types.ts} +0 -0
  75. /package/src/molecules/splash/{constants/index.ts → constants.ts} +0 -0
  76. /package/src/molecules/splash/{types/index.ts → types.ts} +0 -0
@@ -1,44 +0,0 @@
1
- /**
2
- * Theme Exports
3
- * Design tokens, colors, spacing, typography, and theme utilities
4
- */
5
-
6
- export {
7
- useAppDesignTokens,
8
- useCommonStyles,
9
- useDesignSystemTheme,
10
- useTheme,
11
- useThemedStyles,
12
- useThemedStyleSheet,
13
- DesignSystemProvider,
14
- lightColors,
15
- darkColors,
16
- getColorPalette,
17
- withAlpha,
18
- BASE_TOKENS,
19
- spacing,
20
- typography,
21
- borders,
22
- createDesignTokens,
23
- lightTheme,
24
- darkTheme,
25
- createResponsiveValue,
26
- ThemeStorage,
27
- applyCustomColors,
28
- type ColorPalette,
29
- type ThemeMode,
30
- type CustomThemeColors,
31
- type Spacing,
32
- type Typography,
33
- type Borders,
34
- type BaseTokens,
35
- type IconSizes,
36
- type Opacity,
37
- type AvatarSizes,
38
- type ComponentSizes,
39
- type DesignTokens,
40
- type ResponsiveSpacing,
41
- type ResponsiveTypography,
42
- type Theme,
43
- type NavigationTheme,
44
- } from '../theme';
@@ -1,7 +0,0 @@
1
- /**
2
- * Timezone Exports
3
- *
4
- * Timezone utilities and hooks for React Native
5
- */
6
-
7
- export * from "../timezone";
@@ -1,22 +0,0 @@
1
- /**
2
- * Typography Exports
3
- * Text styles and color utilities
4
- */
5
-
6
- export {
7
- getTextColor,
8
- getTextStyle,
9
- isTextStyleVariant,
10
- getAllTextStyleVariants,
11
- clearTypographyCache,
12
- clearColorCache,
13
- isValidHexColor,
14
- isValidRgbColor,
15
- isValidHslColor,
16
- isValidNamedColor,
17
- isValidColor,
18
- getColorFormat,
19
- normalizeColor,
20
- type TextStyleVariant,
21
- type ColorVariant,
22
- } from '../typography';
@@ -1,6 +0,0 @@
1
- /**
2
- * Utilities Exports
3
- * General utilities
4
- */
5
-
6
- export * from '../utilities';
@@ -1,7 +0,0 @@
1
- /**
2
- * UUID Exports
3
- *
4
- * UUID generation utilities for React Native
5
- */
6
-
7
- export * from '../uuid';
@@ -1,22 +0,0 @@
1
- /**
2
- * Variant Utilities Exports
3
- * Variant and style utilities
4
- */
5
-
6
- export {
7
- createVariants,
8
- type VariantConfig,
9
- type VariantProps,
10
- } from '../presentation/utils/variants/core';
11
-
12
- export {
13
- createAdvancedVariants,
14
- type AdvancedVariantConfig,
15
- type CompoundVariant,
16
- } from '../presentation/utils/variants/compound';
17
-
18
- export {
19
- conditionalStyle,
20
- responsiveStyle,
21
- combineStyles,
22
- } from '../presentation/utils/variants/helpers';
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
- import { Image as ExpoImage, ImageProps as ExpoImageProps } from 'expo-image';
3
-
4
- export type AtomicImageProps = ExpoImageProps & {
5
- rounded?: boolean;
6
- };
7
-
8
- export const AtomicImage: React.FC<AtomicImageProps> = ({
9
- style,
10
- rounded,
11
- contentFit = 'cover',
12
- ...props
13
- }) => {
14
- return (
15
- <ExpoImage
16
- style={[
17
- style,
18
- rounded && { borderRadius: 9999 }
19
- ]}
20
- contentFit={contentFit}
21
- {...props}
22
- />
23
- );
24
- };
@@ -1 +0,0 @@
1
- export { SplashScreen } from './SplashScreen';
@@ -1,6 +0,0 @@
1
- /**
2
- * Splash Hooks
3
- */
4
-
5
- export { useSplashFlow } from './useSplashFlow';
6
- export type { UseSplashFlowOptions, UseSplashFlowResult } from './useSplashFlow';
File without changes