@hkdigital/lib-core 0.5.8 → 0.5.10
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.
|
@@ -70,3 +70,59 @@ declare module '*&preset=blur' {
|
|
|
70
70
|
const out: ImageSource;
|
|
71
71
|
export default out;
|
|
72
72
|
}
|
|
73
|
+
|
|
74
|
+
/* For favicons */
|
|
75
|
+
|
|
76
|
+
// Classic browser tab icon
|
|
77
|
+
declare module '*?w=16' {
|
|
78
|
+
const out: ImageSource;
|
|
79
|
+
export default out;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// High-resolution browser support
|
|
83
|
+
declare module '*?w=32' {
|
|
84
|
+
const out: ImageSource;
|
|
85
|
+
export default out;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// Windows desktop shortcuts
|
|
89
|
+
declare module '*?w=48' {
|
|
90
|
+
const out: ImageSource;
|
|
91
|
+
export default out;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// iPhone older retina
|
|
95
|
+
declare module '*?w=120' {
|
|
96
|
+
const out: ImageSource;
|
|
97
|
+
export default out;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// iPad retina, iOS Safari bookmarks
|
|
101
|
+
declare module '*?w=152' {
|
|
102
|
+
const out: ImageSource;
|
|
103
|
+
export default out;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// iPad Pro
|
|
107
|
+
declare module '*?w=167' {
|
|
108
|
+
const out: ImageSource;
|
|
109
|
+
export default out;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
// iPhone retina, iOS home screen
|
|
113
|
+
declare module '*?w=180' {
|
|
114
|
+
const out: ImageSource;
|
|
115
|
+
export default out;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// Android home screen, Chrome PWA
|
|
119
|
+
declare module '*?w=192' {
|
|
120
|
+
const out: ImageSource;
|
|
121
|
+
export default out;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// PWA application icon, Android splash
|
|
125
|
+
declare module '*?w=512' {
|
|
126
|
+
const out: ImageSource;
|
|
127
|
+
export default out;
|
|
128
|
+
}
|
|
@@ -360,9 +360,9 @@
|
|
|
360
360
|
$effect(() => {
|
|
361
361
|
const html = document.documentElement;
|
|
362
362
|
if (iosLandscapeHeightQuirk) {
|
|
363
|
-
html.classList.add('
|
|
363
|
+
html.classList.add('ios-height-quirck');
|
|
364
364
|
} else {
|
|
365
|
-
html.classList.remove('
|
|
365
|
+
html.classList.remove('ios-height-quirck');
|
|
366
366
|
}
|
|
367
367
|
});
|
|
368
368
|
|
|
@@ -725,7 +725,7 @@
|
|
|
725
725
|
-ms-overflow-style: none; /* IE and Edge */
|
|
726
726
|
}
|
|
727
727
|
/* Only add overflow content when quirk is detected */
|
|
728
|
-
:global(html.game-box-no-scroll.
|
|
728
|
+
:global(html.game-box-no-scroll.ios-height-quirck::after) {
|
|
729
729
|
content: '\A'; /* newline character */
|
|
730
730
|
white-space: pre; /* preserve newline */
|
|
731
731
|
display: block;
|