horizon-design 0.0.2 → 0.0.3
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.
|
@@ -620,18 +620,6 @@
|
|
|
620
620
|
}
|
|
621
621
|
});
|
|
622
622
|
|
|
623
|
-
$effect(() => {
|
|
624
|
-
function onOutsidePointerDown(e: PointerEvent) {
|
|
625
|
-
if (!containerEl || containerEl.contains(e.target as Node)) return;
|
|
626
|
-
selectedValue = [];
|
|
627
|
-
pivot = null;
|
|
628
|
-
cursorValue = null;
|
|
629
|
-
onSelectionChange?.({ selectedValue: [] });
|
|
630
|
-
}
|
|
631
|
-
document.addEventListener('pointerdown', onOutsidePointerDown, true);
|
|
632
|
-
return () => document.removeEventListener('pointerdown', onOutsidePointerDown, true);
|
|
633
|
-
});
|
|
634
|
-
|
|
635
623
|
$effect(() => {
|
|
636
624
|
const el = containerEl;
|
|
637
625
|
if (!el) return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "horizon-design",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/horizon-engine/horizon-design"
|
|
@@ -51,14 +51,14 @@
|
|
|
51
51
|
"@sveltejs/package": "^2.5.8",
|
|
52
52
|
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
|
53
53
|
"@tailwindcss/vite": "^4.3.1",
|
|
54
|
-
"@types/node": "^
|
|
54
|
+
"@types/node": "^25.9.3",
|
|
55
55
|
"eslint": "^10.5.0",
|
|
56
56
|
"eslint-config-prettier": "^10.1.8",
|
|
57
57
|
"eslint-plugin-svelte": "^3.19.0",
|
|
58
58
|
"globals": "^17.6.0",
|
|
59
59
|
"prettier": "^3.8.4",
|
|
60
|
-
"prettier-plugin-svelte": "^
|
|
61
|
-
"prettier-plugin-tailwindcss": "^0.
|
|
60
|
+
"prettier-plugin-svelte": "^4.1.0",
|
|
61
|
+
"prettier-plugin-tailwindcss": "^0.8.0",
|
|
62
62
|
"publint": "^0.3.21",
|
|
63
63
|
"svelte": "^5.56.3",
|
|
64
64
|
"svelte-check": "^4.6.0",
|