@umituz/react-native-design-system 2.6.47 → 2.6.49
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 -1
- package/src/atoms/skeleton/AtomicSkeleton.tsx +16 -62
- package/src/index.ts +0 -32
- package/src/molecules/bottom-sheet/components/BottomSheetModal.tsx +101 -180
- package/src/molecules/bottom-sheet/components/SafeBottomSheetModalProvider.tsx +8 -14
- package/src/molecules/index.ts +0 -6
- package/src/molecules/animation/core/AnimationCore.ts +0 -29
- package/src/molecules/animation/domain/entities/Animation.ts +0 -81
- package/src/molecules/animation/domain/entities/Fireworks.ts +0 -44
- package/src/molecules/animation/domain/entities/Theme.ts +0 -76
- package/src/molecules/animation/index.ts +0 -146
- package/src/molecules/animation/infrastructure/services/AnimationConfigService.ts +0 -35
- package/src/molecules/animation/infrastructure/services/SpringAnimationConfigService.ts +0 -67
- package/src/molecules/animation/infrastructure/services/TimingAnimationConfigService.ts +0 -57
- package/src/molecules/animation/infrastructure/services/__tests__/SpringAnimationConfigService.test.ts +0 -114
- package/src/molecules/animation/infrastructure/services/__tests__/TimingAnimationConfigService.test.ts +0 -105
- package/src/molecules/animation/presentation/components/Fireworks.tsx +0 -127
- package/src/molecules/animation/presentation/components/__tests__/Fireworks.test.tsx +0 -185
- package/src/molecules/animation/presentation/hooks/__tests__/useAnimation.integration.test.ts +0 -210
- package/src/molecules/animation/presentation/hooks/__tests__/useFireworks.test.ts +0 -242
- package/src/molecules/animation/presentation/hooks/__tests__/useGesture.test.ts +0 -108
- package/src/molecules/animation/presentation/hooks/__tests__/useSpringAnimation.test.ts +0 -127
- package/src/molecules/animation/presentation/hooks/__tests__/useTimingAnimation.test.ts +0 -172
- package/src/molecules/animation/presentation/hooks/__tests__/useTransformAnimation.test.ts +0 -133
- package/src/molecules/animation/presentation/hooks/useAnimation.ts +0 -77
- package/src/molecules/animation/presentation/hooks/useFireworks.ts +0 -144
- package/src/molecules/animation/presentation/hooks/useGesture.ts +0 -57
- package/src/molecules/animation/presentation/hooks/useGestureCreators.ts +0 -163
- package/src/molecules/animation/presentation/hooks/useGestureState.ts +0 -53
- package/src/molecules/animation/presentation/hooks/useIconAnimations.ts +0 -120
- package/src/molecules/animation/presentation/hooks/useModalAnimations.ts +0 -124
- package/src/molecules/animation/presentation/hooks/useReanimatedReady.ts +0 -60
- package/src/molecules/animation/presentation/hooks/useSpringAnimation.ts +0 -69
- package/src/molecules/animation/presentation/hooks/useTimingAnimation.ts +0 -111
- package/src/molecules/animation/presentation/hooks/useTransformAnimation.ts +0 -57
- package/src/molecules/animation/presentation/providers/AnimationThemeProvider.tsx +0 -60
- package/src/molecules/animation/presentation/providers/__tests__/AnimationThemeProvider.test.tsx +0 -165
- package/src/molecules/celebration/domain/entities/CelebrationConfig.ts +0 -17
- package/src/molecules/celebration/domain/entities/FireworksConfig.ts +0 -32
- package/src/molecules/celebration/index.ts +0 -93
- package/src/molecules/celebration/infrastructure/services/FireworksConfigService.ts +0 -49
- package/src/molecules/celebration/presentation/components/CelebrationFireworksOverlay.tsx +0 -33
- package/src/molecules/celebration/presentation/components/CelebrationModal.tsx +0 -81
- package/src/molecules/celebration/presentation/components/CelebrationModalContent.tsx +0 -88
- package/src/molecules/celebration/presentation/hooks/useCelebrationModalAnimation.ts +0 -49
- package/src/molecules/celebration/presentation/hooks/useCelebrationState.ts +0 -45
- package/src/molecules/celebration/presentation/styles/CelebrationModalStyles.ts +0 -65
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { StyleSheet } from "react-native";
|
|
2
|
-
import { useAppDesignTokens } from "../../../../theme";
|
|
3
|
-
|
|
4
|
-
export const createCelebrationModalStyles = () => {
|
|
5
|
-
const tokens = useAppDesignTokens();
|
|
6
|
-
|
|
7
|
-
return StyleSheet.create({
|
|
8
|
-
overlay: {
|
|
9
|
-
flex: 1,
|
|
10
|
-
justifyContent: "center",
|
|
11
|
-
alignItems: "center",
|
|
12
|
-
padding: tokens.spacing.lg || 20,
|
|
13
|
-
},
|
|
14
|
-
modal: {
|
|
15
|
-
width: "100%",
|
|
16
|
-
maxWidth: 400,
|
|
17
|
-
borderRadius: tokens.borders.radius.xl || 20,
|
|
18
|
-
padding: tokens.spacing.xl || 28,
|
|
19
|
-
borderWidth: 1,
|
|
20
|
-
alignItems: "center",
|
|
21
|
-
},
|
|
22
|
-
iconContainer: {
|
|
23
|
-
marginBottom: tokens.spacing.xl || 24,
|
|
24
|
-
},
|
|
25
|
-
iconCircle: {
|
|
26
|
-
width: 80,
|
|
27
|
-
height: 80,
|
|
28
|
-
borderRadius: 40,
|
|
29
|
-
alignItems: "center",
|
|
30
|
-
justifyContent: "center",
|
|
31
|
-
},
|
|
32
|
-
iconText: {
|
|
33
|
-
fontSize: 40,
|
|
34
|
-
color: "#FFFFFF",
|
|
35
|
-
fontWeight: "bold",
|
|
36
|
-
},
|
|
37
|
-
title: {
|
|
38
|
-
fontSize: (tokens.typography.headlineSmall as any).fontSize || 22,
|
|
39
|
-
fontWeight: "700",
|
|
40
|
-
marginBottom: tokens.spacing.xs || 8,
|
|
41
|
-
textAlign: "center",
|
|
42
|
-
},
|
|
43
|
-
message: {
|
|
44
|
-
fontSize: (tokens.typography.bodyLarge as any).fontSize || 15,
|
|
45
|
-
marginBottom: tokens.spacing.xl || 24,
|
|
46
|
-
textAlign: "center",
|
|
47
|
-
lineHeight: 22,
|
|
48
|
-
},
|
|
49
|
-
actions: {
|
|
50
|
-
width: "100%",
|
|
51
|
-
gap: tokens.spacing.md || 12,
|
|
52
|
-
},
|
|
53
|
-
button: {
|
|
54
|
-
width: "100%",
|
|
55
|
-
paddingVertical: 14,
|
|
56
|
-
paddingHorizontal: 24,
|
|
57
|
-
borderRadius: tokens.borders.radius.lg || 12,
|
|
58
|
-
alignItems: "center",
|
|
59
|
-
},
|
|
60
|
-
buttonText: {
|
|
61
|
-
fontSize: 16,
|
|
62
|
-
fontWeight: "600",
|
|
63
|
-
},
|
|
64
|
-
});
|
|
65
|
-
};
|