@hkdigital/lib-core 0.5.97 → 0.5.98
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/meta/config.d.ts
CHANGED
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
export const name: "HKdigital Lib Core Test";
|
|
5
5
|
export const shortName: "HKlib Core";
|
|
6
6
|
export const description: "Base library that powers up Sveltekit projects";
|
|
7
|
+
export const backgroundAndThemeColor: "#082962";
|
|
8
|
+
export const themeColor: "#082962";
|
|
9
|
+
export const backgroundColor: "#082962";
|
|
10
|
+
export const statusBarStyle: "black-translucent";
|
|
11
|
+
export const orientation: "any";
|
|
12
|
+
export const disablePageZoom: true;
|
|
7
13
|
/**
|
|
8
14
|
* Language and locale configuration
|
|
9
15
|
*
|
|
@@ -28,16 +34,10 @@ export const defaultLanguage: string;
|
|
|
28
34
|
* @type {string}
|
|
29
35
|
*/
|
|
30
36
|
export const defaultLocale: string;
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export const orientation: "any";
|
|
36
|
-
export const disablePageZoom: true;
|
|
37
|
-
export const previewImageLandscape: import("../config/typedef").ImageSource;
|
|
38
|
-
export const previewImageSquare: import("../config/typedef").ImageSource;
|
|
39
|
-
export const faviconImages: import("../config/typedef").ImageSource;
|
|
40
|
-
export const appleTouchIcons: import("../config/typedef").ImageSource;
|
|
37
|
+
export { default as faviconImages } from "./favicon.png?favicons";
|
|
38
|
+
export { default as appleTouchIcons } from "./favicon.png?apple-touch-icons";
|
|
39
|
+
export { default as previewImageLandscape } from "./preview-landscape.png?seo-landscape";
|
|
40
|
+
export { default as previewImageSquare } from "./preview-square.png?seo-square";
|
|
41
41
|
/**
|
|
42
42
|
* Site routes for sitemap.xml
|
|
43
43
|
*
|
package/dist/meta/config.js
CHANGED
|
@@ -7,6 +7,23 @@ export const shortName = 'HKlib Core'; // max 12 characters
|
|
|
7
7
|
|
|
8
8
|
export const description = 'Base library that powers up Sveltekit projects';
|
|
9
9
|
|
|
10
|
+
export const backgroundAndThemeColor = '#082962';
|
|
11
|
+
|
|
12
|
+
export const themeColor = backgroundAndThemeColor;
|
|
13
|
+
export const backgroundColor = backgroundAndThemeColor;
|
|
14
|
+
|
|
15
|
+
export const statusBarStyle = 'black-translucent';
|
|
16
|
+
|
|
17
|
+
export const orientation = 'any'; // "landscape"
|
|
18
|
+
|
|
19
|
+
//
|
|
20
|
+
// Only disable zoom if:
|
|
21
|
+
// - You're building a game
|
|
22
|
+
// - Canvas-based app where zoom breaks functionality
|
|
23
|
+
// - You have a very specific (technical) reason...
|
|
24
|
+
//
|
|
25
|
+
export const disablePageZoom = true;
|
|
26
|
+
|
|
10
27
|
/**
|
|
11
28
|
* Language and locale configuration
|
|
12
29
|
*
|
|
@@ -40,22 +57,11 @@ export const defaultLanguage = 'en';
|
|
|
40
57
|
*/
|
|
41
58
|
export const defaultLocale = languages[defaultLanguage].locale;
|
|
42
59
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
export
|
|
47
|
-
|
|
48
|
-
export const statusBarStyle = 'black-translucent';
|
|
49
|
-
|
|
50
|
-
export const orientation = 'any'; // "landscape"
|
|
51
|
-
|
|
52
|
-
//
|
|
53
|
-
// Only disable zoom if:
|
|
54
|
-
// - You're building a game
|
|
55
|
-
// - Canvas-based app where zoom breaks functionality
|
|
56
|
-
// - You have a very specific (technical) reason...
|
|
57
|
-
//
|
|
58
|
-
export const disablePageZoom = true;
|
|
60
|
+
/**
|
|
61
|
+
* Favicon images (processed by Vite imagetools)
|
|
62
|
+
*/
|
|
63
|
+
export { default as faviconImages } from './favicon.png?favicons';
|
|
64
|
+
export { default as appleTouchIcons } from './favicon.png?apple-touch-icons';
|
|
59
65
|
|
|
60
66
|
/**
|
|
61
67
|
* SEO social media preview images
|
|
@@ -68,25 +74,13 @@ export const disablePageZoom = true;
|
|
|
68
74
|
* - Square: 1200×1200 (various platforms)
|
|
69
75
|
*/
|
|
70
76
|
|
|
71
|
-
//
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
export const previewImageLandscape = SeoLandscapeImg;
|
|
76
|
-
export const previewImageSquare = SeoSquareImg;
|
|
77
|
-
|
|
78
|
-
// To disable, comment out imports above and uncomment below:
|
|
79
|
-
// export const previewImageLandscape = null;
|
|
80
|
-
// export const previewImageSquare = null;
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Favicon images (processed by Vite imagetools)
|
|
84
|
-
*/
|
|
85
|
-
import FaviconImgs from '../assets/meta/favicon.png?favicons';
|
|
86
|
-
import AppleTouchImgs from '../assets/meta/favicon.png?apple-touch-icons';
|
|
77
|
+
// Preview images
|
|
78
|
+
export { default as previewImageLandscape } from './preview-landscape.png?seo-landscape';
|
|
79
|
+
export { default as previewImageSquare } from './preview-square.png?seo-square';
|
|
87
80
|
|
|
88
|
-
|
|
89
|
-
export const
|
|
81
|
+
// Or disable
|
|
82
|
+
// export const SeoImageLandscape = null;
|
|
83
|
+
// export const SeoImageSquare = null;
|
|
90
84
|
|
|
91
85
|
/**
|
|
92
86
|
* Site routes for sitemap.xml
|
|
@@ -6,11 +6,10 @@ import {
|
|
|
6
6
|
shortName,
|
|
7
7
|
description,
|
|
8
8
|
backgroundAndThemeColor,
|
|
9
|
-
orientation
|
|
9
|
+
orientation,
|
|
10
|
+
faviconImages
|
|
10
11
|
} from '../../../../config.js';
|
|
11
12
|
|
|
12
|
-
import faviconImages from '../../../../../assets/meta/favicon.png?favicons';
|
|
13
|
-
|
|
14
13
|
/* Generate manifest data */
|
|
15
14
|
|
|
16
15
|
const manifest = {
|