@hkdigital/lib-core 0.4.84 → 0.4.86
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.
|
@@ -124,6 +124,7 @@
|
|
|
124
124
|
!canDropInActiveZone
|
|
125
125
|
});
|
|
126
126
|
|
|
127
|
+
// @ts-ignore
|
|
127
128
|
let stateClasses = $derived(toStateClasses(stateObject));
|
|
128
129
|
|
|
129
130
|
// Update bindable props
|
|
@@ -531,13 +532,13 @@
|
|
|
531
532
|
pointer-events: auto;
|
|
532
533
|
}
|
|
533
534
|
|
|
534
|
-
/* Prevent ALL
|
|
535
|
+
/* Prevent ALL descendant elements from interfering with drag */
|
|
535
536
|
[data-component='draggable'] :global(*) {
|
|
536
537
|
-webkit-user-drag: none;
|
|
537
538
|
-moz-user-select: none;
|
|
538
539
|
-webkit-user-select: none;
|
|
539
540
|
user-select: none;
|
|
540
|
-
/*
|
|
541
|
+
/* On windows child components with pointer events might interfere drag */
|
|
541
542
|
pointer-events: none;
|
|
542
543
|
}
|
|
543
544
|
|
|
@@ -103,6 +103,8 @@
|
|
|
103
103
|
let iosWindowHeight = $state();
|
|
104
104
|
|
|
105
105
|
function getIsLandscape() {
|
|
106
|
+
// console.debug('getIsLandscape', { isPwa, isAppleMobile });
|
|
107
|
+
|
|
106
108
|
if (isPwa && isAppleMobile) {
|
|
107
109
|
return iosWindowWidth > iosWindowHeight;
|
|
108
110
|
} else {
|
|
@@ -257,16 +259,16 @@
|
|
|
257
259
|
|
|
258
260
|
updateIosWidthHeight();
|
|
259
261
|
|
|
260
|
-
console.debug(
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
);
|
|
262
|
+
// console.debug(
|
|
263
|
+
// `ScreenOrientation change: ${type}, ${angle} degrees.`,
|
|
264
|
+
// isPwa,
|
|
265
|
+
// windowWidth,
|
|
266
|
+
// windowHeight,
|
|
267
|
+
// screen.width,
|
|
268
|
+
// screen.height,
|
|
269
|
+
// iosWindowWidth,
|
|
270
|
+
// iosWindowHeight
|
|
271
|
+
// );
|
|
270
272
|
|
|
271
273
|
// if( angle
|
|
272
274
|
}
|
|
@@ -339,7 +341,7 @@
|
|
|
339
341
|
}
|
|
340
342
|
|
|
341
343
|
async function requestFullscreen() {
|
|
342
|
-
console.debug('Request full screen');
|
|
344
|
+
// console.debug('Request full screen');
|
|
343
345
|
show = false;
|
|
344
346
|
|
|
345
347
|
await document.documentElement.requestFullscreen();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hkdigital/lib-core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.86",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "HKdigital",
|
|
6
6
|
"url": "https://hkdigital.nl"
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@eslint/js": "^9.33.0",
|
|
78
78
|
"@skeletonlabs/skeleton": "^3.1.7",
|
|
79
79
|
"@steeze-ui/heroicons": "^2.4.2",
|
|
80
|
-
"@sveltejs/kit": "^2.
|
|
80
|
+
"@sveltejs/kit": "^2.37.1",
|
|
81
81
|
"@tailwindcss/postcss": "^4.1.11",
|
|
82
82
|
"autoprefixer": "^10.4.21",
|
|
83
83
|
"eslint-plugin-import": "^2.32.0",
|
|
@@ -99,6 +99,7 @@
|
|
|
99
99
|
"@skeletonlabs/skeleton-svelte": "1.3.1",
|
|
100
100
|
"@steeze-ui/heroicons": "^2.4.2",
|
|
101
101
|
"@sveltejs/adapter-auto": "^6.1.1",
|
|
102
|
+
"@sveltejs/kit": "^2.47.0",
|
|
102
103
|
"@sveltejs/package": "^2.5.4",
|
|
103
104
|
"@sveltejs/vite-plugin-svelte": "^6.2.1",
|
|
104
105
|
"@tailwindcss/postcss": "^4.1.14",
|
|
@@ -106,7 +107,7 @@
|
|
|
106
107
|
"@testing-library/svelte": "^5.2.8",
|
|
107
108
|
"@testing-library/user-event": "^14.6.1",
|
|
108
109
|
"@types/eslint": "^9.6.1",
|
|
109
|
-
"@types/node": "^24.
|
|
110
|
+
"@types/node": "^24.8.0",
|
|
110
111
|
"autoprefixer": "^10.4.21",
|
|
111
112
|
"eslint": "^9.37.0",
|
|
112
113
|
"eslint-config-prettier": "^10.1.8",
|
|
@@ -127,12 +128,12 @@
|
|
|
127
128
|
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
128
129
|
"publint": "^0.3.14",
|
|
129
130
|
"standardized-audio-context-mock": "^9.7.24",
|
|
130
|
-
"svelte": "^5.
|
|
131
|
+
"svelte": "^5.40.1",
|
|
131
132
|
"svelte-check": "^4.3.3",
|
|
132
133
|
"svelte-preprocess": "^6.0.3",
|
|
133
134
|
"tailwindcss": "^4.1.14",
|
|
134
135
|
"typescript": "^5.9.3",
|
|
135
|
-
"vite": "^7.1.
|
|
136
|
+
"vite": "^7.1.10",
|
|
136
137
|
"vite-imagetools": "^8.0.0",
|
|
137
138
|
"vitest": "^3.2.4"
|
|
138
139
|
}
|