@katajere/recap 1.0.3 → 1.0.9

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 (65) hide show
  1. package/dist/App.css +156 -156
  2. package/dist/FloatingFrames.css +55 -55
  3. package/dist/LoginScreen.css +146 -146
  4. package/dist/OtpScreen.css +133 -133
  5. package/dist/RecapStory.css +105 -105
  6. package/dist/StoryProgress.css +47 -47
  7. package/dist/assets/huxxle-blue-logo.svg +14 -14
  8. package/dist/assets/login-logo.svg +14 -14
  9. package/dist/assets/slide-logo.svg +14 -14
  10. package/dist/components/Header.css +46 -46
  11. package/dist/slides/Slide10Final.css +101 -101
  12. package/dist/slides/Slide1Intro.css +235 -235
  13. package/dist/slides/Slide2Days.css +209 -209
  14. package/dist/slides/Slide3Revenue.css +89 -89
  15. package/dist/slides/Slide4Orders.css +135 -135
  16. package/dist/slides/Slide5Buyers.css +140 -140
  17. package/dist/slides/Slide6Customer.css +92 -92
  18. package/dist/slides/Slide7Products.css +144 -144
  19. package/dist/slides/Slide8Months.css +148 -148
  20. package/dist/slides/Slide9Year.css +93 -93
  21. package/package.json +1 -1
  22. package/src/App.css +156 -156
  23. package/src/FloatingFrames.css +55 -55
  24. package/src/FloatingFrames.tsx +27 -27
  25. package/src/LoginScreen.css +146 -146
  26. package/src/LoginScreen.tsx +70 -70
  27. package/src/OtpScreen.css +133 -133
  28. package/src/OtpScreen.tsx +109 -109
  29. package/src/RecapApp.tsx +34 -34
  30. package/src/RecapStory.css +105 -105
  31. package/src/RecapStory.tsx +269 -269
  32. package/src/StoryProgress.css +47 -47
  33. package/src/StoryProgress.tsx +60 -60
  34. package/src/assets.d.ts +41 -41
  35. package/src/components/Header.css +46 -46
  36. package/src/components/Header.tsx +41 -41
  37. package/src/data/mock.ts +62 -62
  38. package/src/data/recapCopy.ts +33 -33
  39. package/src/hooks/useBackgroundMusic.ts +79 -79
  40. package/src/index.ts +70 -70
  41. package/src/react-app-env.d.ts +26 -26
  42. package/src/slides/Slide10Final.css +101 -101
  43. package/src/slides/Slide10Final.tsx +105 -105
  44. package/src/slides/Slide1Intro.css +235 -235
  45. package/src/slides/Slide1Intro.tsx +141 -141
  46. package/src/slides/Slide2Days.css +209 -209
  47. package/src/slides/Slide2Days.tsx +92 -92
  48. package/src/slides/Slide3Revenue.css +89 -89
  49. package/src/slides/Slide3Revenue.tsx +76 -76
  50. package/src/slides/Slide4Orders.css +135 -135
  51. package/src/slides/Slide4Orders.tsx +63 -63
  52. package/src/slides/Slide5Buyers.css +140 -140
  53. package/src/slides/Slide5Buyers.tsx +74 -74
  54. package/src/slides/Slide6Customer.css +92 -92
  55. package/src/slides/Slide6Customer.tsx +27 -27
  56. package/src/slides/Slide7Products.css +144 -144
  57. package/src/slides/Slide7Products.tsx +81 -81
  58. package/src/slides/Slide8Months.css +148 -148
  59. package/src/slides/Slide8Months.tsx +63 -63
  60. package/src/slides/Slide9Year.css +93 -93
  61. package/src/slides/Slide9Year.tsx +35 -35
  62. package/src/types.ts +39 -39
  63. package/src/utils/format.ts +18 -18
  64. package/src/utils/index.ts +3 -3
  65. package/src/utils/motion.ts +89 -89
@@ -1,146 +1,146 @@
1
- /* LoginScreen.css */
2
- .login-screen {
3
- position: relative;
4
- width: 100%;
5
- height: 100%;
6
- /* background: linear-gradient(180deg, #3F3DAD 0%, #CC6240 100%); */
7
- overflow: hidden;
8
- display: flex;
9
- flex-direction: column;
10
- padding: clamp(20px, 3dvh, 32px) clamp(16px, 4.1vw, 20px) calc(clamp(32px, 5dvh, 48px) + env(safe-area-inset-bottom));
11
- box-sizing: border-box;
12
- }
13
-
14
- /* Top logo area - 3% margin from top via padding */
15
- .login-screen__header {
16
- flex: none;
17
- width: 100%;
18
- height: 3.79%;
19
- min-height: 32px;
20
- margin-bottom: 6%;
21
- }
22
-
23
- /* Middle hero section - grows to fill space */
24
- .login-screen__hero {
25
- flex: 1;
26
- display: flex;
27
- flex-direction: column;
28
- align-items: flex-start;
29
- justify-content: center;
30
- gap: 1.9%;
31
- width: 100%;
32
- }
33
-
34
- .login-screen__title {
35
- width: 100%;
36
- font-family: 'Lora', serif;
37
- font-style: normal;
38
- font-weight: 700;
39
- font-size: clamp(48px, 18.46vw, 72px);
40
- line-height: 1.28;
41
- text-transform: capitalize;
42
- background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
43
- -webkit-background-clip: text;
44
- -webkit-text-fill-color: transparent;
45
- background-clip: text;
46
- margin: 0;
47
- white-space: normal;
48
- word-wrap: break-word;
49
- }
50
-
51
- .login-screen__subtitle {
52
- width: 100%;
53
- font-family: 'Lora', serif;
54
- font-style: normal;
55
- font-weight: 400;
56
- font-size: clamp(14px, 4.1vw, 16px);
57
- line-height: 1.2;
58
- background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
59
- -webkit-background-clip: text;
60
- -webkit-text-fill-color: transparent;
61
- background-clip: text;
62
- margin: 0;
63
- }
64
-
65
- /* Bottom form section - 5% margin from bottom via parent padding */
66
- .login-screen__form {
67
- flex: none;
68
- display: flex;
69
- flex-direction: column;
70
- align-items: flex-start;
71
- gap: 16px;
72
- width: 100%;
73
- }
74
-
75
- .form-group {
76
- display: flex;
77
- flex-direction: column;
78
- align-items: flex-start;
79
- gap: 8px;
80
- width: 100%;
81
- }
82
-
83
- .form-label {
84
- width: 100%;
85
- font-family: 'Lora', serif;
86
- font-style: normal;
87
- font-weight: 400;
88
- font-size: clamp(10px, 3.08vw, 12px);
89
- line-height: 120%;
90
- color: #FCFCFC;
91
- opacity: 0.89;
92
- }
93
-
94
- .form-input {
95
- box-sizing: border-box;
96
- display: flex;
97
- flex-direction: row;
98
- align-items: center;
99
- padding: 1.42% 4.1%;
100
- width: 100%;
101
- height: 5.69%;
102
- min-height: 48px;
103
- background: transparent;
104
- border: 1px solid #FCFCFC;
105
- font-family: 'Lora', serif;
106
- font-style: normal;
107
- font-weight: 400;
108
- font-size: clamp(14px, 4.1vw, 16px);
109
- line-height: 120%;
110
- color: #FCFCFC;
111
- outline: none;
112
- }
113
-
114
- .form-input::placeholder {
115
- color: #FCFCFC;
116
- opacity: 0.7;
117
- }
118
-
119
- .btn-primary {
120
- display: flex;
121
- flex-direction: row;
122
- justify-content: center;
123
- align-items: center;
124
- padding: 1.42% 4.1%;
125
- width: 100%;
126
- height: 5.69%;
127
- min-height: 48px;
128
- background: #FCFCFC;
129
- border: none;
130
- font-family: 'Lora', serif;
131
- font-style: normal;
132
- font-weight: 600;
133
- font-size: clamp(14px, 4.1vw, 16px);
134
- line-height: 120%;
135
- color: #4F4CD8;
136
- cursor: pointer;
137
- transition: opacity 0.2s;
138
- }
139
-
140
- .btn-primary:hover {
141
- opacity: 0.9;
142
- }
143
-
144
- .btn-primary:active {
145
- opacity: 0.8;
146
- }
1
+ /* LoginScreen.css */
2
+ .login-screen {
3
+ position: relative;
4
+ width: 100%;
5
+ height: 100%;
6
+ /* background: linear-gradient(180deg, #3F3DAD 0%, #CC6240 100%); */
7
+ overflow: hidden;
8
+ display: flex;
9
+ flex-direction: column;
10
+ padding: clamp(20px, 3dvh, 32px) clamp(16px, 4.1vw, 20px) calc(clamp(32px, 5dvh, 48px) + env(safe-area-inset-bottom));
11
+ box-sizing: border-box;
12
+ }
13
+
14
+ /* Top logo area - 3% margin from top via padding */
15
+ .login-screen__header {
16
+ flex: none;
17
+ width: 100%;
18
+ height: 3.79%;
19
+ min-height: 32px;
20
+ margin-bottom: 6%;
21
+ }
22
+
23
+ /* Middle hero section - grows to fill space */
24
+ .login-screen__hero {
25
+ flex: 1;
26
+ display: flex;
27
+ flex-direction: column;
28
+ align-items: flex-start;
29
+ justify-content: center;
30
+ gap: 1.9%;
31
+ width: 100%;
32
+ }
33
+
34
+ .login-screen__title {
35
+ width: 100%;
36
+ font-family: 'Lora', serif;
37
+ font-style: normal;
38
+ font-weight: 700;
39
+ font-size: clamp(48px, 18.46vw, 72px);
40
+ line-height: 1.28;
41
+ text-transform: capitalize;
42
+ background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
43
+ -webkit-background-clip: text;
44
+ -webkit-text-fill-color: transparent;
45
+ background-clip: text;
46
+ margin: 0;
47
+ white-space: normal;
48
+ word-wrap: break-word;
49
+ }
50
+
51
+ .login-screen__subtitle {
52
+ width: 100%;
53
+ font-family: 'Lora', serif;
54
+ font-style: normal;
55
+ font-weight: 400;
56
+ font-size: clamp(14px, 4.1vw, 16px);
57
+ line-height: 1.2;
58
+ background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
59
+ -webkit-background-clip: text;
60
+ -webkit-text-fill-color: transparent;
61
+ background-clip: text;
62
+ margin: 0;
63
+ }
64
+
65
+ /* Bottom form section - 5% margin from bottom via parent padding */
66
+ .login-screen__form {
67
+ flex: none;
68
+ display: flex;
69
+ flex-direction: column;
70
+ align-items: flex-start;
71
+ gap: 16px;
72
+ width: 100%;
73
+ }
74
+
75
+ .form-group {
76
+ display: flex;
77
+ flex-direction: column;
78
+ align-items: flex-start;
79
+ gap: 8px;
80
+ width: 100%;
81
+ }
82
+
83
+ .form-label {
84
+ width: 100%;
85
+ font-family: 'Lora', serif;
86
+ font-style: normal;
87
+ font-weight: 400;
88
+ font-size: clamp(10px, 3.08vw, 12px);
89
+ line-height: 120%;
90
+ color: #FCFCFC;
91
+ opacity: 0.89;
92
+ }
93
+
94
+ .form-input {
95
+ box-sizing: border-box;
96
+ display: flex;
97
+ flex-direction: row;
98
+ align-items: center;
99
+ padding: 1.42% 4.1%;
100
+ width: 100%;
101
+ height: 5.69%;
102
+ min-height: 48px;
103
+ background: transparent;
104
+ border: 1px solid #FCFCFC;
105
+ font-family: 'Lora', serif;
106
+ font-style: normal;
107
+ font-weight: 400;
108
+ font-size: clamp(14px, 4.1vw, 16px);
109
+ line-height: 120%;
110
+ color: #FCFCFC;
111
+ outline: none;
112
+ }
113
+
114
+ .form-input::placeholder {
115
+ color: #FCFCFC;
116
+ opacity: 0.7;
117
+ }
118
+
119
+ .btn-primary {
120
+ display: flex;
121
+ flex-direction: row;
122
+ justify-content: center;
123
+ align-items: center;
124
+ padding: 1.42% 4.1%;
125
+ width: 100%;
126
+ height: 5.69%;
127
+ min-height: 48px;
128
+ background: #FCFCFC;
129
+ border: none;
130
+ font-family: 'Lora', serif;
131
+ font-style: normal;
132
+ font-weight: 600;
133
+ font-size: clamp(14px, 4.1vw, 16px);
134
+ line-height: 120%;
135
+ color: #4F4CD8;
136
+ cursor: pointer;
137
+ transition: opacity 0.2s;
138
+ }
139
+
140
+ .btn-primary:hover {
141
+ opacity: 0.9;
142
+ }
143
+
144
+ .btn-primary:active {
145
+ opacity: 0.8;
146
+ }
@@ -1,133 +1,133 @@
1
- /* OtpScreen.css */
2
- .otp-screen {
3
- position: relative;
4
- width: 100%;
5
- height: 100%;
6
- overflow: hidden;
7
- display: flex;
8
- flex-direction: column;
9
- padding: clamp(20px, 3dvh, 32px) clamp(16px, 4.1vw, 20px) calc(clamp(32px, 5dvh, 48px) + env(safe-area-inset-bottom));
10
- box-sizing: border-box;
11
- }
12
-
13
- /* Top logo area - 3% margin from top via padding */
14
- .otp-screen__header {
15
- flex: none;
16
- width: 100%;
17
- height: 3.79%;
18
- min-height: 32px;
19
- margin-bottom: 6%;
20
- }
21
-
22
- /* Middle hero section - grows to fill space */
23
- .otp-screen__hero {
24
- flex: 1;
25
- display: flex;
26
- flex-direction: column;
27
- align-items: flex-start;
28
- justify-content: center;
29
- gap: 1.9%;
30
- width: 100%;
31
- }
32
-
33
- .otp-screen__title {
34
- width: 100%;
35
- font-family: 'Lora', serif;
36
- font-style: normal;
37
- font-weight: 700;
38
- font-size: clamp(48px, 18.46vw, 72px);
39
- line-height: 1.28;
40
- text-transform: capitalize;
41
- background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
42
- -webkit-background-clip: text;
43
- -webkit-text-fill-color: transparent;
44
- background-clip: text;
45
- margin: 0;
46
- white-space: normal;
47
- word-wrap: break-word;
48
- }
49
-
50
- .otp-screen__subtitle {
51
- width: 100%;
52
- font-family: 'Lora', serif;
53
- font-style: normal;
54
- font-weight: 400;
55
- font-size: clamp(14px, 4.1vw, 16px);
56
- line-height: 1.2;
57
- background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
58
- -webkit-background-clip: text;
59
- -webkit-text-fill-color: transparent;
60
- background-clip: text;
61
- margin: 0;
62
- }
63
-
64
- /* OTP Inputs */
65
- .otp-inputs {
66
- display: flex;
67
- flex-direction: row;
68
- align-items: flex-start;
69
- gap: 0.95%;
70
- width: 100%;
71
- height: 5.69%;
72
- min-height: 48px;
73
- }
74
-
75
- .otp-input {
76
- box-sizing: border-box;
77
- display: flex;
78
- flex-direction: row;
79
- justify-content: center;
80
- align-items: center;
81
- padding: 1.42% 4.1%;
82
- flex: 1;
83
- height: 100%;
84
- border: 1px solid #FCFCFC;
85
- background: transparent;
86
- font-family: 'Lora', serif;
87
- font-style: normal;
88
- font-weight: 600;
89
- font-size: clamp(14px, 4.1vw, 16px);
90
- line-height: 120%;
91
- color: #FCFCFC;
92
- text-align: center;
93
- outline: none;
94
- width: 5.69%;
95
- }
96
-
97
- .otp-input::placeholder {
98
- color: #FCFCFC;
99
- opacity: 0.7;
100
- }
101
-
102
- .otp-input:focus {
103
- opacity: 1;
104
- }
105
-
106
- .btn-primary {
107
- display: flex;
108
- flex-direction: row;
109
- justify-content: center;
110
- align-items: center;
111
- padding: 1.42% 4.1%;
112
- width: 100%;
113
- height: 5.69%;
114
- min-height: 48px;
115
- background: #FCFCFC;
116
- border: none;
117
- font-family: 'Lora', serif;
118
- font-style: normal;
119
- font-weight: 600;
120
- font-size: clamp(14px, 4.1vw, 16px);
121
- line-height: 120%;
122
- color: #4F4CD8;
123
- cursor: pointer;
124
- transition: opacity 0.2s;
125
- }
126
-
127
- .btn-primary:hover {
128
- opacity: 0.9;
129
- }
130
-
131
- .btn-primary:active {
132
- opacity: 0.8;
133
- }
1
+ /* OtpScreen.css */
2
+ .otp-screen {
3
+ position: relative;
4
+ width: 100%;
5
+ height: 100%;
6
+ overflow: hidden;
7
+ display: flex;
8
+ flex-direction: column;
9
+ padding: clamp(20px, 3dvh, 32px) clamp(16px, 4.1vw, 20px) calc(clamp(32px, 5dvh, 48px) + env(safe-area-inset-bottom));
10
+ box-sizing: border-box;
11
+ }
12
+
13
+ /* Top logo area - 3% margin from top via padding */
14
+ .otp-screen__header {
15
+ flex: none;
16
+ width: 100%;
17
+ height: 3.79%;
18
+ min-height: 32px;
19
+ margin-bottom: 6%;
20
+ }
21
+
22
+ /* Middle hero section - grows to fill space */
23
+ .otp-screen__hero {
24
+ flex: 1;
25
+ display: flex;
26
+ flex-direction: column;
27
+ align-items: flex-start;
28
+ justify-content: center;
29
+ gap: 1.9%;
30
+ width: 100%;
31
+ }
32
+
33
+ .otp-screen__title {
34
+ width: 100%;
35
+ font-family: 'Lora', serif;
36
+ font-style: normal;
37
+ font-weight: 700;
38
+ font-size: clamp(48px, 18.46vw, 72px);
39
+ line-height: 1.28;
40
+ text-transform: capitalize;
41
+ background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
42
+ -webkit-background-clip: text;
43
+ -webkit-text-fill-color: transparent;
44
+ background-clip: text;
45
+ margin: 0;
46
+ white-space: normal;
47
+ word-wrap: break-word;
48
+ }
49
+
50
+ .otp-screen__subtitle {
51
+ width: 100%;
52
+ font-family: 'Lora', serif;
53
+ font-style: normal;
54
+ font-weight: 400;
55
+ font-size: clamp(14px, 4.1vw, 16px);
56
+ line-height: 1.2;
57
+ background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
58
+ -webkit-background-clip: text;
59
+ -webkit-text-fill-color: transparent;
60
+ background-clip: text;
61
+ margin: 0;
62
+ }
63
+
64
+ /* OTP Inputs */
65
+ .otp-inputs {
66
+ display: flex;
67
+ flex-direction: row;
68
+ align-items: flex-start;
69
+ gap: 0.95%;
70
+ width: 100%;
71
+ height: 5.69%;
72
+ min-height: 48px;
73
+ }
74
+
75
+ .otp-input {
76
+ box-sizing: border-box;
77
+ display: flex;
78
+ flex-direction: row;
79
+ justify-content: center;
80
+ align-items: center;
81
+ padding: 1.42% 4.1%;
82
+ flex: 1;
83
+ height: 100%;
84
+ border: 1px solid #FCFCFC;
85
+ background: transparent;
86
+ font-family: 'Lora', serif;
87
+ font-style: normal;
88
+ font-weight: 600;
89
+ font-size: clamp(14px, 4.1vw, 16px);
90
+ line-height: 120%;
91
+ color: #FCFCFC;
92
+ text-align: center;
93
+ outline: none;
94
+ width: 5.69%;
95
+ }
96
+
97
+ .otp-input::placeholder {
98
+ color: #FCFCFC;
99
+ opacity: 0.7;
100
+ }
101
+
102
+ .otp-input:focus {
103
+ opacity: 1;
104
+ }
105
+
106
+ .btn-primary {
107
+ display: flex;
108
+ flex-direction: row;
109
+ justify-content: center;
110
+ align-items: center;
111
+ padding: 1.42% 4.1%;
112
+ width: 100%;
113
+ height: 5.69%;
114
+ min-height: 48px;
115
+ background: #FCFCFC;
116
+ border: none;
117
+ font-family: 'Lora', serif;
118
+ font-style: normal;
119
+ font-weight: 600;
120
+ font-size: clamp(14px, 4.1vw, 16px);
121
+ line-height: 120%;
122
+ color: #4F4CD8;
123
+ cursor: pointer;
124
+ transition: opacity 0.2s;
125
+ }
126
+
127
+ .btn-primary:hover {
128
+ opacity: 0.9;
129
+ }
130
+
131
+ .btn-primary:active {
132
+ opacity: 0.8;
133
+ }