@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 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('./assets/noisy-background.png') repeat;
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;
@@ -114,7 +114,7 @@
114
114
  align-items: center;
115
115
  padding: 8px;
116
116
  gap: 8px;
117
- background: #FCFCFC url('./assets/noisy-background.png') repeat;
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);
@@ -1 +1 @@
1
- {"version":3,"file":"RecapStory.d.ts","sourceRoot":"","sources":["../src/RecapStory.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAuB,SAAS,EAAE,MAAM,SAAS,CAAC;AAGzD,OAAO,kBAAkB,CAAC;AAE1B,UAAU,eAAe;IACvB,SAAS,EAAE,SAAS,CAAC;CACtB;AAED;;GAEG;AACH,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,EAAE,eAAe,2CA2XjD;AAED,eAAe,UAAU,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"}
@@ -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;AAI7B,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"}
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
- import moneyRainGif from '../assets/raining-money.gif';
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@katajere/recap",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "Vendor Year in Review Experience - Recap your business metrics for 2025",
5
5
  "private": false,
6
6
  "publishConfig": {
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('./assets/noisy-background.png') repeat;
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;
@@ -114,7 +114,7 @@
114
114
  align-items: center;
115
115
  padding: 8px;
116
116
  gap: 8px;
117
- background: #FCFCFC url('./assets/noisy-background.png') repeat;
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);
@@ -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
- import moneyRainGif from '../assets/raining-money.gif';
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