@katajere/recap 2.0.0 → 2.1.0
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 +1 -1
- package/dist/RecapStory.css +1 -1
- package/dist/RecapStory.d.ts.map +1 -1
- package/dist/RecapStory.js +2 -1
- package/dist/slides/Slide3Revenue.d.ts.map +1 -1
- package/dist/slides/Slide3Revenue.js +2 -1
- package/package.json +1 -1
- package/src/App.css +1 -1
- package/src/RecapStory.css +1 -1
- package/src/RecapStory.tsx +3 -1
- package/src/slides/Slide3Revenue.tsx +2 -1
- package/dist/assets/money-rain.png +0 -0
- package/dist/assets/noisy-background.png +0 -0
- package/dist/assets/raining-money.gif +0 -0
- package/dist/assets/recap-music.mp3 +0 -0
package/dist/App.css
CHANGED
|
@@ -82,7 +82,7 @@ body {
|
|
|
82
82
|
height: min(100dvh, calc(100vw * var(--frame-ar-den) / var(--frame-ar-num)));
|
|
83
83
|
max-width: 1080px;
|
|
84
84
|
max-height: 1920px;
|
|
85
|
-
background: var(--bg-white) url('
|
|
85
|
+
background: var(--bg-white) url('https://katajereassets.blob.core.windows.net/recap-videos/noisy-background.png') repeat;
|
|
86
86
|
background-size: 390px 844px;
|
|
87
87
|
/* border-radius: clamp(0px, 2vw, 24px); */
|
|
88
88
|
overflow: hidden;
|
package/dist/RecapStory.css
CHANGED
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
align-items: center;
|
|
115
115
|
padding: 8px;
|
|
116
116
|
gap: 8px;
|
|
117
|
-
background: #FCFCFC url('
|
|
117
|
+
background: #FCFCFC url('https://katajereassets.blob.core.windows.net/recap-videos/noisy-background.png') repeat;
|
|
118
118
|
background-size: 390px 844px;
|
|
119
119
|
border: 1px solid var(--border-line);
|
|
120
120
|
box-shadow: 0px 4px 100px rgba(0, 0, 0, 0.24);
|
package/dist/RecapStory.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecapStory.d.ts","sourceRoot":"","sources":["../src/RecapStory.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAuB,SAAS,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"RecapStory.d.ts","sourceRoot":"","sources":["../src/RecapStory.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAuB,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzD,OAAO,kBAAkB,CAAC;AAK1B,UAAU,eAAe;IACvB,SAAS,EAAE,SAAS,CAAC;CACtB;AAED;;GAEG;AACH,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,EAAE,eAAe,2CA2XjD;AAED,eAAe,UAAU,CAAC"}
|
package/dist/RecapStory.js
CHANGED
|
@@ -18,8 +18,9 @@ import { captureAndShareSlide, preCaptureSlide, clearScreenshotCache } from "./u
|
|
|
18
18
|
import { slideDurations as defaultDurations } from "./data/mock";
|
|
19
19
|
import { BUSINESS_CATEGORIES } from "./types";
|
|
20
20
|
import { useBackgroundMusic } from "./hooks/useBackgroundMusic";
|
|
21
|
-
import recapMusic from "./assets/recap-music.mp3";
|
|
22
21
|
import "./RecapStory.css";
|
|
22
|
+
// External CDN URL for background music (reduces package size)
|
|
23
|
+
const recapMusic = "https://katajereassets.blob.core.windows.net/recap-videos/recap-music.mp3";
|
|
23
24
|
/**
|
|
24
25
|
* RecapStory - Story container with header, progress bars, and slide transitions
|
|
25
26
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slide3Revenue.d.ts","sourceRoot":"","sources":["../../src/slides/Slide3Revenue.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAuB,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjE,OAAO,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Slide3Revenue.d.ts","sourceRoot":"","sources":["../../src/slides/Slide3Revenue.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAuB,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjE,OAAO,qBAAqB,CAAC;AAK7B,UAAU,kBAAkB;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAwBD;;GAEG;AACH,iBAAS,aAAa,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CAuEjF;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -4,7 +4,8 @@ import { motion, useMotionValue, useTransform, animate } from 'framer-motion';
|
|
|
4
4
|
import { BUSINESS_CATEGORIES } from '../types';
|
|
5
5
|
import { recapCopy } from '../data/recapCopy';
|
|
6
6
|
import './Slide3Revenue.css';
|
|
7
|
-
|
|
7
|
+
// External CDN URL for raining money GIF (reduces package size)
|
|
8
|
+
const moneyRainGif = "https://katajereassets.blob.core.windows.net/recap-videos/raining-money.gif";
|
|
8
9
|
/**
|
|
9
10
|
* Custom hook for number counter animation with formatting
|
|
10
11
|
*/
|
package/package.json
CHANGED
package/src/App.css
CHANGED
|
@@ -82,7 +82,7 @@ body {
|
|
|
82
82
|
height: min(100dvh, calc(100vw * var(--frame-ar-den) / var(--frame-ar-num)));
|
|
83
83
|
max-width: 1080px;
|
|
84
84
|
max-height: 1920px;
|
|
85
|
-
background: var(--bg-white) url('
|
|
85
|
+
background: var(--bg-white) url('https://katajereassets.blob.core.windows.net/recap-videos/noisy-background.png') repeat;
|
|
86
86
|
background-size: 390px 844px;
|
|
87
87
|
/* border-radius: clamp(0px, 2vw, 24px); */
|
|
88
88
|
overflow: hidden;
|
package/src/RecapStory.css
CHANGED
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
align-items: center;
|
|
115
115
|
padding: 8px;
|
|
116
116
|
gap: 8px;
|
|
117
|
-
background: #FCFCFC url('
|
|
117
|
+
background: #FCFCFC url('https://katajereassets.blob.core.windows.net/recap-videos/noisy-background.png') repeat;
|
|
118
118
|
background-size: 390px 844px;
|
|
119
119
|
border: 1px solid var(--border-line);
|
|
120
120
|
box-shadow: 0px 4px 100px rgba(0, 0, 0, 0.24);
|
package/src/RecapStory.tsx
CHANGED
|
@@ -17,9 +17,11 @@ import { captureAndShareSlide, preCaptureSlide, clearScreenshotCache } from "./u
|
|
|
17
17
|
import { slideDurations as defaultDurations } from "./data/mock";
|
|
18
18
|
import { BUSINESS_CATEGORIES, RecapData } from "./types";
|
|
19
19
|
import { useBackgroundMusic } from "./hooks/useBackgroundMusic";
|
|
20
|
-
import recapMusic from "./assets/recap-music.mp3";
|
|
21
20
|
import "./RecapStory.css";
|
|
22
21
|
|
|
22
|
+
// External CDN URL for background music (reduces package size)
|
|
23
|
+
const recapMusic = "https://katajereassets.blob.core.windows.net/recap-videos/recap-music.mp3";
|
|
24
|
+
|
|
23
25
|
interface RecapStoryProps {
|
|
24
26
|
recapData: RecapData;
|
|
25
27
|
}
|
|
@@ -5,7 +5,8 @@ import { BUSINESS_CATEGORIES, BusinessCategory } from '../types';
|
|
|
5
5
|
import { recapCopy } from '../data/recapCopy';
|
|
6
6
|
import './Slide3Revenue.css';
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
// External CDN URL for raining money GIF (reduces package size)
|
|
9
|
+
const moneyRainGif = "https://katajereassets.blob.core.windows.net/recap-videos/raining-money.gif";
|
|
9
10
|
|
|
10
11
|
interface Slide3RevenueProps {
|
|
11
12
|
revenue: number;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|