@katajere/recap 1.0.3 → 1.0.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/dist/App.css +156 -156
- package/dist/FloatingFrames.css +55 -55
- package/dist/LoginScreen.css +146 -146
- package/dist/OtpScreen.css +133 -133
- package/dist/RecapStory.css +105 -105
- package/dist/StoryProgress.css +47 -47
- package/dist/assets/huxxle-blue-logo.svg +14 -14
- package/dist/assets/login-logo.svg +14 -14
- package/dist/assets/slide-logo.svg +14 -14
- package/dist/components/Header.css +46 -46
- package/dist/slides/Slide10Final.css +101 -101
- package/dist/slides/Slide1Intro.css +235 -235
- package/dist/slides/Slide2Days.css +209 -209
- package/dist/slides/Slide3Revenue.css +89 -89
- package/dist/slides/Slide4Orders.css +135 -135
- package/dist/slides/Slide5Buyers.css +140 -140
- package/dist/slides/Slide6Customer.css +92 -92
- package/dist/slides/Slide7Products.css +144 -144
- package/dist/slides/Slide8Months.css +148 -148
- package/dist/slides/Slide9Year.css +93 -93
- package/package.json +1 -1
- package/src/App.css +156 -156
- package/src/FloatingFrames.css +55 -55
- package/src/FloatingFrames.tsx +27 -27
- package/src/LoginScreen.css +146 -146
- package/src/LoginScreen.tsx +70 -70
- package/src/OtpScreen.css +133 -133
- package/src/OtpScreen.tsx +109 -109
- package/src/RecapApp.tsx +34 -34
- package/src/RecapStory.css +105 -105
- package/src/RecapStory.tsx +269 -269
- package/src/StoryProgress.css +47 -47
- package/src/StoryProgress.tsx +60 -60
- package/src/assets.d.ts +41 -41
- package/src/components/Header.css +46 -46
- package/src/components/Header.tsx +41 -41
- package/src/data/mock.ts +62 -62
- package/src/data/recapCopy.ts +33 -33
- package/src/hooks/useBackgroundMusic.ts +79 -79
- package/src/index.ts +70 -70
- package/src/react-app-env.d.ts +26 -26
- package/src/slides/Slide10Final.css +101 -101
- package/src/slides/Slide10Final.tsx +105 -105
- package/src/slides/Slide1Intro.css +235 -235
- package/src/slides/Slide1Intro.tsx +141 -141
- package/src/slides/Slide2Days.css +209 -209
- package/src/slides/Slide2Days.tsx +92 -92
- package/src/slides/Slide3Revenue.css +89 -89
- package/src/slides/Slide3Revenue.tsx +76 -76
- package/src/slides/Slide4Orders.css +135 -135
- package/src/slides/Slide4Orders.tsx +63 -63
- package/src/slides/Slide5Buyers.css +140 -140
- package/src/slides/Slide5Buyers.tsx +74 -74
- package/src/slides/Slide6Customer.css +92 -92
- package/src/slides/Slide6Customer.tsx +27 -27
- package/src/slides/Slide7Products.css +144 -144
- package/src/slides/Slide7Products.tsx +81 -81
- package/src/slides/Slide8Months.css +148 -148
- package/src/slides/Slide8Months.tsx +63 -63
- package/src/slides/Slide9Year.css +93 -93
- package/src/slides/Slide9Year.tsx +35 -35
- package/src/types.ts +39 -39
- package/src/utils/format.ts +18 -18
- package/src/utils/index.ts +3 -3
- package/src/utils/motion.ts +89 -89
package/src/RecapStory.css
CHANGED
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
.recap-story {
|
|
2
|
-
position: relative;
|
|
3
|
-
width: 100%;
|
|
4
|
-
height: 100%;
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
overflow: hidden;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/* Top group: Header + Progress */
|
|
11
|
-
.recap-story__top-group {
|
|
12
|
-
position: relative;
|
|
13
|
-
flex: none;
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
gap: 6px;
|
|
17
|
-
margin: calc(24px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right));
|
|
18
|
-
z-index: 10;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.recap-story__header-wrapper {
|
|
22
|
-
flex: none;
|
|
23
|
-
width: 100%;
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
justify-content: space-between;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.recap-story__progress {
|
|
30
|
-
flex: 1;
|
|
31
|
-
min-width: 0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.recap-story__progress-wrap {
|
|
35
|
-
position: relative;
|
|
36
|
-
width: 100%;
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
gap: 5px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.recap-story__sound-toggle {
|
|
43
|
-
width: 40px;
|
|
44
|
-
height: 40px;
|
|
45
|
-
display: inline-flex;
|
|
46
|
-
align-items: center;
|
|
47
|
-
justify-content: center;
|
|
48
|
-
border: 1px solid rgba(255, 255, 255, 0.28);
|
|
49
|
-
border-radius: 12px;
|
|
50
|
-
background: rgba(22, 32, 90, 0.35);
|
|
51
|
-
backdrop-filter: blur(6px);
|
|
52
|
-
color: #ffcc80;
|
|
53
|
-
cursor: pointer;
|
|
54
|
-
padding: 8px;
|
|
55
|
-
transition: transform 0.15s ease, opacity 0.15s ease;
|
|
56
|
-
-webkit-tap-highlight-color: transparent;
|
|
57
|
-
flex-shrink: 0;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.recap-story__sound-toggle:hover {
|
|
61
|
-
transform: translateY(-1px) scale(1.02);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.recap-story__sound-toggle:active {
|
|
65
|
-
transform: scale(0.98);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.recap-story__sound-icon {
|
|
69
|
-
width: 100%;
|
|
70
|
-
height: 100%;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.recap-story__sound-icon path {
|
|
74
|
-
fill: currentColor;
|
|
75
|
-
stroke: currentColor;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
/* Slides container - positioned at the very top */
|
|
79
|
-
.recap-story__slides {
|
|
80
|
-
position: absolute;
|
|
81
|
-
top: 0;
|
|
82
|
-
left: 0;
|
|
83
|
-
width: 100%;
|
|
84
|
-
height: 100%;
|
|
85
|
-
overflow: hidden;
|
|
86
|
-
cursor: pointer;
|
|
87
|
-
user-select: none;
|
|
88
|
-
-webkit-user-select: none;
|
|
89
|
-
-webkit-tap-highlight-color: transparent;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
@media (max-height: 720px), (orientation: landscape) {
|
|
93
|
-
.recap-story__top-group {
|
|
94
|
-
margin-top: calc(clamp(16px, 3dvh, 24px) + env(safe-area-inset-top));
|
|
95
|
-
gap: clamp(12px, 2dvh, 16px);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.recap-story__slide {
|
|
100
|
-
position: absolute;
|
|
101
|
-
top: 0;
|
|
102
|
-
left: 0;
|
|
103
|
-
width: 100%;
|
|
104
|
-
height: 100%;
|
|
105
|
-
}
|
|
1
|
+
.recap-story {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* Top group: Header + Progress */
|
|
11
|
+
.recap-story__top-group {
|
|
12
|
+
position: relative;
|
|
13
|
+
flex: none;
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
gap: 6px;
|
|
17
|
+
margin: calc(24px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-left)) 0 calc(16px + env(safe-area-inset-right));
|
|
18
|
+
z-index: 10;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.recap-story__header-wrapper {
|
|
22
|
+
flex: none;
|
|
23
|
+
width: 100%;
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.recap-story__progress {
|
|
30
|
+
flex: 1;
|
|
31
|
+
min-width: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.recap-story__progress-wrap {
|
|
35
|
+
position: relative;
|
|
36
|
+
width: 100%;
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
gap: 5px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.recap-story__sound-toggle {
|
|
43
|
+
width: 40px;
|
|
44
|
+
height: 40px;
|
|
45
|
+
display: inline-flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
border: 1px solid rgba(255, 255, 255, 0.28);
|
|
49
|
+
border-radius: 12px;
|
|
50
|
+
background: rgba(22, 32, 90, 0.35);
|
|
51
|
+
backdrop-filter: blur(6px);
|
|
52
|
+
color: #ffcc80;
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
padding: 8px;
|
|
55
|
+
transition: transform 0.15s ease, opacity 0.15s ease;
|
|
56
|
+
-webkit-tap-highlight-color: transparent;
|
|
57
|
+
flex-shrink: 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.recap-story__sound-toggle:hover {
|
|
61
|
+
transform: translateY(-1px) scale(1.02);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.recap-story__sound-toggle:active {
|
|
65
|
+
transform: scale(0.98);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.recap-story__sound-icon {
|
|
69
|
+
width: 100%;
|
|
70
|
+
height: 100%;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.recap-story__sound-icon path {
|
|
74
|
+
fill: currentColor;
|
|
75
|
+
stroke: currentColor;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/* Slides container - positioned at the very top */
|
|
79
|
+
.recap-story__slides {
|
|
80
|
+
position: absolute;
|
|
81
|
+
top: 0;
|
|
82
|
+
left: 0;
|
|
83
|
+
width: 100%;
|
|
84
|
+
height: 100%;
|
|
85
|
+
overflow: hidden;
|
|
86
|
+
cursor: pointer;
|
|
87
|
+
user-select: none;
|
|
88
|
+
-webkit-user-select: none;
|
|
89
|
+
-webkit-tap-highlight-color: transparent;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@media (max-height: 720px), (orientation: landscape) {
|
|
93
|
+
.recap-story__top-group {
|
|
94
|
+
margin-top: calc(clamp(16px, 3dvh, 24px) + env(safe-area-inset-top));
|
|
95
|
+
gap: clamp(12px, 2dvh, 16px);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.recap-story__slide {
|
|
100
|
+
position: absolute;
|
|
101
|
+
top: 0;
|
|
102
|
+
left: 0;
|
|
103
|
+
width: 100%;
|
|
104
|
+
height: 100%;
|
|
105
|
+
}
|