@q9labsai/chalk-assets 5.4.0 → 5.5.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/README.md +1 -1
- package/dist/index.d.ts +116 -0
- package/dist/index.js +117 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Framework-neutral metadata for Chalk's shared media assets.
|
|
|
5
5
|
Background images and sounds are served from `assets.chalkmeet.com`. They are
|
|
6
6
|
intentionally absent from this npm package so applications download only the
|
|
7
7
|
media they use and can benefit from immutable CDN caching. The package exports
|
|
8
|
-
the canonical URLs, formats, hashes, dimensions
|
|
8
|
+
the canonical URLs, formats, hashes, dimensions and byte sizes:
|
|
9
9
|
|
|
10
10
|
```ts
|
|
11
11
|
const joinSound = CHALK_SOUND_ASSETS.join.opus.url;
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,122 @@ export declare const CHALK_ASSET_CACHE_POLICY: {
|
|
|
4
4
|
readonly media: "public, max-age=31536000, immutable";
|
|
5
5
|
readonly manifest: "public, max-age=300, stale-while-revalidate=86400";
|
|
6
6
|
};
|
|
7
|
+
export declare const CHALK_BACKGROUND_ASSETS: {
|
|
8
|
+
readonly "bright-creative-studio": {
|
|
9
|
+
readonly description: "Airy creative studio with soft plaster, plants, and subtle material swatches.";
|
|
10
|
+
readonly width: 1280;
|
|
11
|
+
readonly height: 720;
|
|
12
|
+
readonly avif: {
|
|
13
|
+
readonly url: "https://assets.chalkmeet.com/ui/backgrounds/bright-creative-studio.7abcfb577656.avif";
|
|
14
|
+
readonly filename: "bright-creative-studio.7abcfb577656.avif";
|
|
15
|
+
readonly mimeType: "image/avif";
|
|
16
|
+
readonly bytes: 32014;
|
|
17
|
+
readonly sha256Prefix: "7abcfb577656";
|
|
18
|
+
};
|
|
19
|
+
readonly webp: {
|
|
20
|
+
readonly url: "https://assets.chalkmeet.com/ui/backgrounds/bright-creative-studio.fb65d5b296a5.webp";
|
|
21
|
+
readonly filename: "bright-creative-studio.fb65d5b296a5.webp";
|
|
22
|
+
readonly mimeType: "image/webp";
|
|
23
|
+
readonly bytes: 55688;
|
|
24
|
+
readonly sha256Prefix: "fb65d5b296a5";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
readonly "cozy-evening-lounge": {
|
|
28
|
+
readonly description: "Warm evening lounge corner with shelves, ceramics, plants, and soft lamps.";
|
|
29
|
+
readonly width: 1280;
|
|
30
|
+
readonly height: 720;
|
|
31
|
+
readonly avif: {
|
|
32
|
+
readonly url: "https://assets.chalkmeet.com/ui/backgrounds/cozy-evening-lounge.3668f9fb3ae6.avif";
|
|
33
|
+
readonly filename: "cozy-evening-lounge.3668f9fb3ae6.avif";
|
|
34
|
+
readonly mimeType: "image/avif";
|
|
35
|
+
readonly bytes: 15912;
|
|
36
|
+
readonly sha256Prefix: "3668f9fb3ae6";
|
|
37
|
+
};
|
|
38
|
+
readonly webp: {
|
|
39
|
+
readonly url: "https://assets.chalkmeet.com/ui/backgrounds/cozy-evening-lounge.dc7786d5fdd2.webp";
|
|
40
|
+
readonly filename: "cozy-evening-lounge.dc7786d5fdd2.webp";
|
|
41
|
+
readonly mimeType: "image/webp";
|
|
42
|
+
readonly bytes: 25624;
|
|
43
|
+
readonly sha256Prefix: "dc7786d5fdd2";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
readonly "garden-terrace-lounge": {
|
|
47
|
+
readonly description: "Calm indoor-outdoor terrace lounge with linen curtains and blurred greenery.";
|
|
48
|
+
readonly width: 1280;
|
|
49
|
+
readonly height: 720;
|
|
50
|
+
readonly avif: {
|
|
51
|
+
readonly url: "https://assets.chalkmeet.com/ui/backgrounds/garden-terrace-lounge.ec01ea565f77.avif";
|
|
52
|
+
readonly filename: "garden-terrace-lounge.ec01ea565f77.avif";
|
|
53
|
+
readonly mimeType: "image/avif";
|
|
54
|
+
readonly bytes: 35462;
|
|
55
|
+
readonly sha256Prefix: "ec01ea565f77";
|
|
56
|
+
};
|
|
57
|
+
readonly webp: {
|
|
58
|
+
readonly url: "https://assets.chalkmeet.com/ui/backgrounds/garden-terrace-lounge.0a6b0d4fdf87.webp";
|
|
59
|
+
readonly filename: "garden-terrace-lounge.0a6b0d4fdf87.webp";
|
|
60
|
+
readonly mimeType: "image/webp";
|
|
61
|
+
readonly bytes: 66532;
|
|
62
|
+
readonly sha256Prefix: "0a6b0d4fdf87";
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
readonly "modern-acoustic-office": {
|
|
66
|
+
readonly description: "Modern professional office with acoustic panels, plants, and warm wood accents.";
|
|
67
|
+
readonly width: 1280;
|
|
68
|
+
readonly height: 720;
|
|
69
|
+
readonly avif: {
|
|
70
|
+
readonly url: "https://assets.chalkmeet.com/ui/backgrounds/modern-acoustic-office.38e4bc5acdec.avif";
|
|
71
|
+
readonly filename: "modern-acoustic-office.38e4bc5acdec.avif";
|
|
72
|
+
readonly mimeType: "image/avif";
|
|
73
|
+
readonly bytes: 21467;
|
|
74
|
+
readonly sha256Prefix: "38e4bc5acdec";
|
|
75
|
+
};
|
|
76
|
+
readonly webp: {
|
|
77
|
+
readonly url: "https://assets.chalkmeet.com/ui/backgrounds/modern-acoustic-office.7e2e3e0b1f83.webp";
|
|
78
|
+
readonly filename: "modern-acoustic-office.7e2e3e0b1f83.webp";
|
|
79
|
+
readonly mimeType: "image/webp";
|
|
80
|
+
readonly bytes: 38384;
|
|
81
|
+
readonly sha256Prefix: "7e2e3e0b1f83";
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
readonly "soft-abstract-glass": {
|
|
85
|
+
readonly description: "Subtle abstract glass and fabric-like panels with calm layered color.";
|
|
86
|
+
readonly width: 1280;
|
|
87
|
+
readonly height: 720;
|
|
88
|
+
readonly avif: {
|
|
89
|
+
readonly url: "https://assets.chalkmeet.com/ui/backgrounds/soft-abstract-glass.1bd6ec278f69.avif";
|
|
90
|
+
readonly filename: "soft-abstract-glass.1bd6ec278f69.avif";
|
|
91
|
+
readonly mimeType: "image/avif";
|
|
92
|
+
readonly bytes: 7113;
|
|
93
|
+
readonly sha256Prefix: "1bd6ec278f69";
|
|
94
|
+
};
|
|
95
|
+
readonly webp: {
|
|
96
|
+
readonly url: "https://assets.chalkmeet.com/ui/backgrounds/soft-abstract-glass.2fd3949e2036.webp";
|
|
97
|
+
readonly filename: "soft-abstract-glass.2fd3949e2036.webp";
|
|
98
|
+
readonly mimeType: "image/webp";
|
|
99
|
+
readonly bytes: 10752;
|
|
100
|
+
readonly sha256Prefix: "2fd3949e2036";
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
readonly "warm-executive-home-office": {
|
|
104
|
+
readonly description: "Refined home office with built-in shelves, linen curtains, and warm wood.";
|
|
105
|
+
readonly width: 1280;
|
|
106
|
+
readonly height: 720;
|
|
107
|
+
readonly avif: {
|
|
108
|
+
readonly url: "https://assets.chalkmeet.com/ui/backgrounds/warm-executive-home-office.4845bdfa8d05.avif";
|
|
109
|
+
readonly filename: "warm-executive-home-office.4845bdfa8d05.avif";
|
|
110
|
+
readonly mimeType: "image/avif";
|
|
111
|
+
readonly bytes: 25471;
|
|
112
|
+
readonly sha256Prefix: "4845bdfa8d05";
|
|
113
|
+
};
|
|
114
|
+
readonly webp: {
|
|
115
|
+
readonly url: "https://assets.chalkmeet.com/ui/backgrounds/warm-executive-home-office.53e4fce337d3.webp";
|
|
116
|
+
readonly filename: "warm-executive-home-office.53e4fce337d3.webp";
|
|
117
|
+
readonly mimeType: "image/webp";
|
|
118
|
+
readonly bytes: 41678;
|
|
119
|
+
readonly sha256Prefix: "53e4fce337d3";
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
7
123
|
export declare const CHALK_SOUND_ASSETS: {
|
|
8
124
|
readonly click: {
|
|
9
125
|
readonly opus: {
|
package/dist/index.js
CHANGED
|
@@ -5,6 +5,122 @@ var CHALK_ASSET_CACHE_POLICY = {
|
|
|
5
5
|
media: "public, max-age=31536000, immutable",
|
|
6
6
|
manifest: "public, max-age=300, stale-while-revalidate=86400"
|
|
7
7
|
};
|
|
8
|
+
var CHALK_BACKGROUND_ASSETS = {
|
|
9
|
+
"bright-creative-studio": {
|
|
10
|
+
description: "Airy creative studio with soft plaster, plants, and subtle material swatches.",
|
|
11
|
+
width: 1280,
|
|
12
|
+
height: 720,
|
|
13
|
+
avif: {
|
|
14
|
+
url: "https://assets.chalkmeet.com/ui/backgrounds/bright-creative-studio.7abcfb577656.avif",
|
|
15
|
+
filename: "bright-creative-studio.7abcfb577656.avif",
|
|
16
|
+
mimeType: "image/avif",
|
|
17
|
+
bytes: 32014,
|
|
18
|
+
sha256Prefix: "7abcfb577656"
|
|
19
|
+
},
|
|
20
|
+
webp: {
|
|
21
|
+
url: "https://assets.chalkmeet.com/ui/backgrounds/bright-creative-studio.fb65d5b296a5.webp",
|
|
22
|
+
filename: "bright-creative-studio.fb65d5b296a5.webp",
|
|
23
|
+
mimeType: "image/webp",
|
|
24
|
+
bytes: 55688,
|
|
25
|
+
sha256Prefix: "fb65d5b296a5"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"cozy-evening-lounge": {
|
|
29
|
+
description: "Warm evening lounge corner with shelves, ceramics, plants, and soft lamps.",
|
|
30
|
+
width: 1280,
|
|
31
|
+
height: 720,
|
|
32
|
+
avif: {
|
|
33
|
+
url: "https://assets.chalkmeet.com/ui/backgrounds/cozy-evening-lounge.3668f9fb3ae6.avif",
|
|
34
|
+
filename: "cozy-evening-lounge.3668f9fb3ae6.avif",
|
|
35
|
+
mimeType: "image/avif",
|
|
36
|
+
bytes: 15912,
|
|
37
|
+
sha256Prefix: "3668f9fb3ae6"
|
|
38
|
+
},
|
|
39
|
+
webp: {
|
|
40
|
+
url: "https://assets.chalkmeet.com/ui/backgrounds/cozy-evening-lounge.dc7786d5fdd2.webp",
|
|
41
|
+
filename: "cozy-evening-lounge.dc7786d5fdd2.webp",
|
|
42
|
+
mimeType: "image/webp",
|
|
43
|
+
bytes: 25624,
|
|
44
|
+
sha256Prefix: "dc7786d5fdd2"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"garden-terrace-lounge": {
|
|
48
|
+
description: "Calm indoor-outdoor terrace lounge with linen curtains and blurred greenery.",
|
|
49
|
+
width: 1280,
|
|
50
|
+
height: 720,
|
|
51
|
+
avif: {
|
|
52
|
+
url: "https://assets.chalkmeet.com/ui/backgrounds/garden-terrace-lounge.ec01ea565f77.avif",
|
|
53
|
+
filename: "garden-terrace-lounge.ec01ea565f77.avif",
|
|
54
|
+
mimeType: "image/avif",
|
|
55
|
+
bytes: 35462,
|
|
56
|
+
sha256Prefix: "ec01ea565f77"
|
|
57
|
+
},
|
|
58
|
+
webp: {
|
|
59
|
+
url: "https://assets.chalkmeet.com/ui/backgrounds/garden-terrace-lounge.0a6b0d4fdf87.webp",
|
|
60
|
+
filename: "garden-terrace-lounge.0a6b0d4fdf87.webp",
|
|
61
|
+
mimeType: "image/webp",
|
|
62
|
+
bytes: 66532,
|
|
63
|
+
sha256Prefix: "0a6b0d4fdf87"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"modern-acoustic-office": {
|
|
67
|
+
description: "Modern professional office with acoustic panels, plants, and warm wood accents.",
|
|
68
|
+
width: 1280,
|
|
69
|
+
height: 720,
|
|
70
|
+
avif: {
|
|
71
|
+
url: "https://assets.chalkmeet.com/ui/backgrounds/modern-acoustic-office.38e4bc5acdec.avif",
|
|
72
|
+
filename: "modern-acoustic-office.38e4bc5acdec.avif",
|
|
73
|
+
mimeType: "image/avif",
|
|
74
|
+
bytes: 21467,
|
|
75
|
+
sha256Prefix: "38e4bc5acdec"
|
|
76
|
+
},
|
|
77
|
+
webp: {
|
|
78
|
+
url: "https://assets.chalkmeet.com/ui/backgrounds/modern-acoustic-office.7e2e3e0b1f83.webp",
|
|
79
|
+
filename: "modern-acoustic-office.7e2e3e0b1f83.webp",
|
|
80
|
+
mimeType: "image/webp",
|
|
81
|
+
bytes: 38384,
|
|
82
|
+
sha256Prefix: "7e2e3e0b1f83"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"soft-abstract-glass": {
|
|
86
|
+
description: "Subtle abstract glass and fabric-like panels with calm layered color.",
|
|
87
|
+
width: 1280,
|
|
88
|
+
height: 720,
|
|
89
|
+
avif: {
|
|
90
|
+
url: "https://assets.chalkmeet.com/ui/backgrounds/soft-abstract-glass.1bd6ec278f69.avif",
|
|
91
|
+
filename: "soft-abstract-glass.1bd6ec278f69.avif",
|
|
92
|
+
mimeType: "image/avif",
|
|
93
|
+
bytes: 7113,
|
|
94
|
+
sha256Prefix: "1bd6ec278f69"
|
|
95
|
+
},
|
|
96
|
+
webp: {
|
|
97
|
+
url: "https://assets.chalkmeet.com/ui/backgrounds/soft-abstract-glass.2fd3949e2036.webp",
|
|
98
|
+
filename: "soft-abstract-glass.2fd3949e2036.webp",
|
|
99
|
+
mimeType: "image/webp",
|
|
100
|
+
bytes: 10752,
|
|
101
|
+
sha256Prefix: "2fd3949e2036"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"warm-executive-home-office": {
|
|
105
|
+
description: "Refined home office with built-in shelves, linen curtains, and warm wood.",
|
|
106
|
+
width: 1280,
|
|
107
|
+
height: 720,
|
|
108
|
+
avif: {
|
|
109
|
+
url: "https://assets.chalkmeet.com/ui/backgrounds/warm-executive-home-office.4845bdfa8d05.avif",
|
|
110
|
+
filename: "warm-executive-home-office.4845bdfa8d05.avif",
|
|
111
|
+
mimeType: "image/avif",
|
|
112
|
+
bytes: 25471,
|
|
113
|
+
sha256Prefix: "4845bdfa8d05"
|
|
114
|
+
},
|
|
115
|
+
webp: {
|
|
116
|
+
url: "https://assets.chalkmeet.com/ui/backgrounds/warm-executive-home-office.53e4fce337d3.webp",
|
|
117
|
+
filename: "warm-executive-home-office.53e4fce337d3.webp",
|
|
118
|
+
mimeType: "image/webp",
|
|
119
|
+
bytes: 41678,
|
|
120
|
+
sha256Prefix: "53e4fce337d3"
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
};
|
|
8
124
|
var CHALK_SOUND_ASSETS = {
|
|
9
125
|
click: {
|
|
10
126
|
opus: {
|
|
@@ -183,6 +299,7 @@ export {
|
|
|
183
299
|
CHALK_ASSET_CACHE_POLICY,
|
|
184
300
|
CHALK_ASSET_CDN_BASE_URL,
|
|
185
301
|
CHALK_ASSET_MANIFEST_URL,
|
|
302
|
+
CHALK_BACKGROUND_ASSETS,
|
|
186
303
|
CHALK_LOGO_FILES,
|
|
187
304
|
CHALK_SOUND_ASSETS,
|
|
188
305
|
chalkAssets
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@q9labsai/chalk-assets",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"typescript": "^5.7.2"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
|
-
"build": "rm
|
|
36
|
-
"build:types": "rm
|
|
37
|
-
"build:logos": "
|
|
35
|
+
"build": "node ../../scripts/fs.mjs rm ./dist && tsup ./src/index.ts --format esm --out-dir ./dist --platform node && pnpm run build:types && pnpm run build:logos",
|
|
36
|
+
"build:types": "node ../../scripts/fs.mjs rm tsconfig.tsbuildinfo && tsc --emitDeclarationOnly --declaration --outDir dist",
|
|
37
|
+
"build:logos": "node ../../scripts/fs.mjs cp ./src/logos ./dist/",
|
|
38
38
|
"dev": "pnpm run build:logos && tsup ./src/index.ts --format esm --out-dir ./dist --platform node --watch",
|
|
39
39
|
"check-types": "tsc-rs --noEmit",
|
|
40
40
|
"lint": "pnpm exec oxfmt --check . && tsc --noEmit",
|
|
41
|
-
"clean": "rm
|
|
41
|
+
"clean": "node ../../scripts/fs.mjs rm dist"
|
|
42
42
|
}
|
|
43
43
|
}
|