From ffdbd0e6143d72b691e9dd1e900100203c2ee02f Mon Sep 17 00:00:00 2001 From: Xanazf Date: Sat, 28 Sep 2024 10:44:54 +0300 Subject: [PATCH] minor fixes: scroll bars on overflowing elements, copy button size, function args spacing, type icons padding, link to window.location.href --- package-lock.json | 493 +++++++++---------- package.json | 8 +- src/components/hooks/CreateCopyButtons.astro | 1 + src/components/navigation/search/index.tsx | 4 +- src/components/type/Functions.astro | 12 +- src/components/type/Signals.astro | 4 +- src/styles/css-config/code.css | 6 +- src/styles/docs/docs-types.css | 24 +- src/styles/docs/docs.css | 14 +- src/styles/docs/nav/nav-tree.css | 11 +- src/styles/docs/toc/toc.css | 40 +- src/styles/docs/toc/types-toc.css | 10 +- yarn.lock | 407 ++++++++------- 13 files changed, 488 insertions(+), 546 deletions(-) diff --git a/package-lock.json b/package-lock.json index 93475a6..de14509 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,13 +10,12 @@ "dependencies": { "@ark-ui/solid": "^3.5.0", "@astrojs/check": "^0.9.3", - "@astrojs/mdx": "^3.1.4", - "@astrojs/solid-js": "^4.4.1", + "@astrojs/mdx": "^3.1.7", + "@astrojs/solid-js": "^4.4.2", "@types/node": "^20.14.11", - "astro": "^4.14.5", + "astro": "^4.15.9", "astro-breadcrumbs": "^2.3.1", "astro-pagefind": "^1.6.0", - "fuse.js": "^7.0.0", "marked": "^14.1.0", "marked-alert": "^2.0.2", "node": "npm:22.7.0", @@ -27,7 +26,7 @@ "typescript": "^5.5.3" }, "devDependencies": { - "@astrojs/ts-plugin": "^1.10.1", + "@astrojs/ts-plugin": "^1.10.2", "@biomejs/biome": "^1.8.3", "@hbsnow/rehype-sectionize": "^1.0.7", "shiki": "^1.11.0" @@ -189,9 +188,9 @@ } }, "node_modules/@astrojs/mdx": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/@astrojs/mdx/-/mdx-3.1.4.tgz", - "integrity": "sha512-AcdcAlDpzTM5LHpur7A3NWoIqyfhH1gZNbTvvjiUlDEo7eJjIxl4gdWrb/kZZRfLBEuM8cptCB+Qk11ncQL4IA==", + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/@astrojs/mdx/-/mdx-3.1.7.tgz", + "integrity": "sha512-8lGdCt+S0TrZgQpbcP3fQJc4cTeacAirtz9TpAMtHCWrQGW8slKt3WG4/0N+bhZgYRC4h5AT5drzFz+y3wvmsg==", "license": "MIT", "dependencies": { "@astrojs/markdown-remark": "5.2.0", @@ -200,14 +199,14 @@ "es-module-lexer": "^1.5.4", "estree-util-visit": "^2.0.0", "gray-matter": "^4.0.3", - "hast-util-to-html": "^9.0.1", + "hast-util-to-html": "^9.0.2", "kleur": "^4.1.5", "rehype-raw": "^7.0.0", "remark-gfm": "^4.0.0", "remark-smartypants": "^3.0.2", "source-map": "^0.7.4", "unist-util-visit": "^5.0.0", - "vfile": "^6.0.2" + "vfile": "^6.0.3" }, "engines": { "node": "^18.17.1 || ^20.3.0 || >=21.0.0" @@ -227,9 +226,9 @@ } }, "node_modules/@astrojs/solid-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/@astrojs/solid-js/-/solid-js-4.4.1.tgz", - "integrity": "sha512-C8t+0sK8myZ9xJyL+GvNo0LjiqL8KTAJReb8Bn+0WjsOfCm+0N8GKQdBt5Gqf9Ig59KVZon3ydGa6GmqrkCojw==", + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/@astrojs/solid-js/-/solid-js-4.4.2.tgz", + "integrity": "sha512-E41gipjC2kp3wr7QdFW5EszPOwxDBUlsNsIohKRxkC9RskiQk9a8F56dEvpeBMXUXtmsAtNUBJHdKRTxHtOgDw==", "license": "MIT", "dependencies": { "vite-plugin-solid": "^2.10.2" @@ -264,9 +263,9 @@ } }, "node_modules/@astrojs/ts-plugin": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@astrojs/ts-plugin/-/ts-plugin-1.10.1.tgz", - "integrity": "sha512-T7Z8fob6bkgLlcYiJSsn84wF5XelS0VJSEC4BRPnEHZj3eeOrmmMl8uZqBTJ+zArGMOfyhhA7X+SUGRIAZApHQ==", + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/@astrojs/ts-plugin/-/ts-plugin-1.10.2.tgz", + "integrity": "sha512-Q7EvUh9dU9Ufi6Jfe5JRcisBuremlLZ7jJImUY2/eMe6OVwCXSmETDir/tVwT0K+lnfNiUwju9qHZYX2/5ch0Q==", "dev": true, "license": "MIT", "dependencies": { @@ -340,6 +339,8 @@ }, "node_modules/@babel/core/node_modules/semver": { "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -607,9 +608,9 @@ } }, "node_modules/@babel/types": { - "version": "7.25.4", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.4.tgz", - "integrity": "sha512-zQ1ijeeCXVEh+aNL0RlmkPkG8HUiDcU2pzQQFjtbntgAczRASFzj4H+6+bV+dy1ntKR14I/DypeuRG1uma98iQ==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.6.tgz", + "integrity": "sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==", "license": "MIT", "dependencies": { "@babel/helper-string-parser": "^7.24.8", @@ -1284,9 +1285,9 @@ "license": "MIT" }, "node_modules/@oslojs/encoding": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/@oslojs/encoding/-/encoding-0.4.1.tgz", - "integrity": "sha512-hkjo6MuIK/kQR5CrGNdAPZhS01ZCXuWDRJ187zh6qqF2+yMHZpD9fAYpX8q2bOO6Ryhl3XpCT6kUX76N8hhm4Q==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@oslojs/encoding/-/encoding-1.1.0.tgz", + "integrity": "sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==", "license": "MIT" }, "node_modules/@pagefind/darwin-arm64": { @@ -1603,14 +1604,56 @@ ] }, "node_modules/@shikijs/core": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.14.1.tgz", - "integrity": "sha512-KyHIIpKNaT20FtFPFjCQB5WVSTpLR/n+jQXhWHWVUMm9MaOaG9BGOG0MSyt7yA4+Lm+4c9rTc03tt3nYzeYSfw==", + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.20.0.tgz", + "integrity": "sha512-KlO3iE0THzSdYkzDFugt8SHe6FR3qNYTkmpbdW1d6xo8juQkMjybxAw/cBi2npL2eb2F4PbbnSs5Z9tDusfvyg==", "license": "MIT", "dependencies": { + "@shikijs/engine-javascript": "1.20.0", + "@shikijs/engine-oniguruma": "1.20.0", + "@shikijs/types": "1.20.0", + "@shikijs/vscode-textmate": "^9.2.2", + "@types/hast": "^3.0.4", + "hast-util-to-html": "^9.0.3" + } + }, + "node_modules/@shikijs/engine-javascript": { + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-1.20.0.tgz", + "integrity": "sha512-ZUMo758uduM0Tfgzi/kd+0IKMbNdumCxxWjY36uf1DIs2Qyg9HIq3vA1Wfa/vc6HE7tHWFpANRi3mv7UzJ68MQ==", + "license": "MIT", + "dependencies": { + "@shikijs/types": "1.20.0", + "@shikijs/vscode-textmate": "^9.2.2", + "oniguruma-to-js": "0.4.3" + } + }, + "node_modules/@shikijs/engine-oniguruma": { + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-1.20.0.tgz", + "integrity": "sha512-MQ40WkVTZk7by33ces4PGK6XNFSo6PYvKTSAr2kTWdRNhFmOcnaX+1XzvFwB26eySXR7U74t91czZ1qJkEgxTA==", + "license": "MIT", + "dependencies": { + "@shikijs/types": "1.20.0", + "@shikijs/vscode-textmate": "^9.2.2" + } + }, + "node_modules/@shikijs/types": { + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-1.20.0.tgz", + "integrity": "sha512-y+EaDvU2K6/GaXOKXxJaGnr1XtmZMF7MfS0pSEDdxEq66gCtKsLwQvVwoQFdp7R7dLlNAro3ijEE19sMZ0pzqg==", + "license": "MIT", + "dependencies": { + "@shikijs/vscode-textmate": "^9.2.2", "@types/hast": "^3.0.4" } }, + "node_modules/@shikijs/vscode-textmate": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-9.2.2.tgz", + "integrity": "sha512-TMp15K+GGYrWlZM8+Lnj9EaHEFmOen0WJBrfa17hF7taDOYthuPPV0GWzfd/9iMij0akS/8Yw2ikquH7uVi/fg==", + "license": "MIT" + }, "node_modules/@solid-devtools/debugger": { "version": "0.23.4", "license": "MIT", @@ -2775,9 +2818,9 @@ } }, "node_modules/astro": { - "version": "4.14.5", - "resolved": "https://registry.npmjs.org/astro/-/astro-4.14.5.tgz", - "integrity": "sha512-sv47kPE6FnvyxxHHcCePNwTKpOMKBq0r1m6WZYg6ag9j3yF9m72ov64NFB7c+hAMDUKgsHfVdLKjOOqDC/c+fA==", + "version": "4.15.9", + "resolved": "https://registry.npmjs.org/astro/-/astro-4.15.9.tgz", + "integrity": "sha512-51oXq9qrZ5OPWYmEXt1kGrvWmVeWsx28SgBTzi2XW6iwcnW/wC5ONm6ol6qBGSCF93tQvZplXvuzpaw1injECA==", "license": "MIT", "dependencies": { "@astrojs/compiler": "^2.10.3", @@ -2785,12 +2828,9 @@ "@astrojs/markdown-remark": "5.2.0", "@astrojs/telemetry": "3.1.0", "@babel/core": "^7.25.2", - "@babel/generator": "^7.25.0", - "@babel/parser": "^7.25.3", "@babel/plugin-transform-react-jsx": "^7.25.2", - "@babel/traverse": "^7.25.3", - "@babel/types": "^7.25.2", - "@oslojs/encoding": "^0.4.1", + "@babel/types": "^7.25.6", + "@oslojs/encoding": "^1.0.0", "@rollup/pluginutils": "^5.1.0", "@types/babel__core": "^7.20.5", "@types/cookie": "^0.6.0", @@ -2803,7 +2843,7 @@ "common-ancestor-path": "^1.0.1", "cookie": "^0.6.0", "cssesc": "^3.0.0", - "debug": "^4.3.6", + "debug": "^4.3.7", "deterministic-object-hash": "^2.0.2", "devalue": "^5.0.0", "diff": "^5.2.0", @@ -2812,8 +2852,8 @@ "es-module-lexer": "^1.5.4", "esbuild": "^0.21.5", "estree-walker": "^3.0.3", - "execa": "^8.0.1", "fast-glob": "^3.3.2", + "fastq": "^1.17.1", "flattie": "^1.1.1", "github-slugger": "^2.0.0", "gray-matter": "^4.0.3", @@ -2822,25 +2862,26 @@ "js-yaml": "^4.1.0", "kleur": "^4.1.5", "magic-string": "^0.30.11", - "micromatch": "^4.0.7", + "magicast": "^0.3.5", + "micromatch": "^4.0.8", "mrmime": "^2.0.0", "neotraverse": "^0.6.18", - "ora": "^8.0.1", + "ora": "^8.1.0", "p-limit": "^6.1.0", "p-queue": "^8.0.1", - "path-to-regexp": "^6.2.2", "preferred-pm": "^4.0.0", "prompts": "^2.4.2", "rehype": "^13.0.1", "semver": "^7.6.3", - "shiki": "^1.14.1", + "shiki": "^1.16.2", "string-width": "^7.2.0", "strip-ansi": "^7.1.0", - "tsconfck": "^3.1.1", + "tinyexec": "^0.3.0", + "tsconfck": "^3.1.3", "unist-util-visit": "^5.0.0", - "vfile": "^6.0.2", - "vite": "^5.4.1", - "vitefu": "^0.2.5", + "vfile": "^6.0.3", + "vite": "^5.4.3", + "vitefu": "^1.0.2", "which-pm": "^3.0.0", "xxhash-wasm": "^1.0.2", "yargs-parser": "^21.1.1", @@ -2925,6 +2966,8 @@ }, "node_modules/astro/node_modules/string-width": { "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", "license": "MIT", "dependencies": { "emoji-regex": "^10.3.0", @@ -2938,6 +2981,24 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/astro/node_modules/vitefu": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/vitefu/-/vitefu-1.0.2.tgz", + "integrity": "sha512-0/iAvbXyM3RiPPJ4lyD4w6Mjgtf4ejTK6TPvTNG3H32PLwuT0N/ZjJLiXug7ETE/LWtTeHw9WRv7uX/tIKYyKg==", + "license": "MIT", + "workspaces": [ + "tests/deps/*", + "tests/projects/*" + ], + "peerDependencies": { + "vite": "^3.0.0 || ^4.0.0 || ^5.0.0" + }, + "peerDependenciesMeta": { + "vite": { + "optional": true + } + } + }, "node_modules/axobject-query": { "version": "4.1.0", "license": "Apache-2.0", @@ -3210,13 +3271,15 @@ } }, "node_modules/cli-cursor": { - "version": "4.0.0", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz", + "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==", "license": "MIT", "dependencies": { - "restore-cursor": "^4.0.0" + "restore-cursor": "^5.0.0" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -3224,6 +3287,8 @@ }, "node_modules/cli-spinners": { "version": "2.9.2", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", + "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", "license": "MIT", "engines": { "node": ">=6" @@ -3357,18 +3422,6 @@ "node": ">= 0.6" } }, - "node_modules/cross-spawn": { - "version": "7.0.3", - "license": "MIT", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/cssesc": { "version": "3.0.0", "license": "MIT", @@ -3384,12 +3437,12 @@ "license": "MIT" }, "node_modules/debug": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", - "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "license": "MIT", "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -3656,27 +3709,6 @@ "version": "5.0.1", "license": "MIT" }, - "node_modules/execa": { - "version": "8.0.1", - "license": "MIT", - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^8.0.1", - "human-signals": "^5.0.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^4.1.0", - "strip-final-newline": "^3.0.0" - }, - "engines": { - "node": ">=16.17" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, "node_modules/extend": { "version": "3.0.2", "license": "MIT" @@ -3791,15 +3823,6 @@ "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, - "node_modules/fuse.js": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/fuse.js/-/fuse.js-7.0.0.tgz", - "integrity": "sha512-14F4hBIxqKvD4Zz/XjDc3y94mNZN6pRv3U13Udo0lNLCWRBUsrMv2xwcF/y/Z5sV6+FQW+/ow68cHpm4sunt8Q==", - "license": "Apache-2.0", - "engines": { - "node": ">=10" - } - }, "node_modules/gensync": { "version": "1.0.0-beta.2", "license": "MIT", @@ -3824,16 +3847,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/get-stream": { - "version": "8.0.1", - "license": "MIT", - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/github-slugger": { "version": "2.0.0", "license": "ISC" @@ -4065,14 +4078,15 @@ } }, "node_modules/hast-util-to-html": { - "version": "9.0.1", + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.3.tgz", + "integrity": "sha512-M17uBDzMJ9RPCqLMO92gNNUDuBSq10a25SDBI08iCCxmorf4Yy6sYHK57n9WAbRAAaU+DuR4W6GN9K4DFZesYg==", "license": "MIT", "dependencies": { "@types/hast": "^3.0.0", "@types/unist": "^3.0.0", "ccount": "^2.0.0", "comma-separated-tokens": "^2.0.0", - "hast-util-raw": "^9.0.0", "hast-util-whitespace": "^3.0.0", "html-void-elements": "^3.0.0", "mdast-util-to-hast": "^13.0.0", @@ -4205,13 +4219,6 @@ "version": "4.1.1", "license": "BSD-2-Clause" }, - "node_modules/human-signals": { - "version": "5.0.0", - "license": "Apache-2.0", - "engines": { - "node": ">=16.17.0" - } - }, "node_modules/import-meta-resolve": { "version": "4.1.0", "license": "MIT", @@ -4371,6 +4378,8 @@ }, "node_modules/is-interactive": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz", + "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==", "license": "MIT", "engines": { "node": ">=12" @@ -4405,18 +4414,10 @@ "@types/estree": "*" } }, - "node_modules/is-stream": { - "version": "3.0.0", - "license": "MIT", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/is-unicode-supported": { - "version": "2.0.0", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", + "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", "license": "MIT", "engines": { "node": ">=18" @@ -4448,10 +4449,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/isexe": { - "version": "2.0.0", - "license": "ISC" - }, "node_modules/js-tokens": { "version": "4.0.0", "license": "MIT" @@ -4551,6 +4548,8 @@ }, "node_modules/log-symbols": { "version": "6.0.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-6.0.0.tgz", + "integrity": "sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==", "license": "MIT", "dependencies": { "chalk": "^5.3.0", @@ -4565,6 +4564,8 @@ }, "node_modules/log-symbols/node_modules/is-unicode-supported": { "version": "1.3.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", + "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==", "license": "MIT", "engines": { "node": ">=12" @@ -4599,6 +4600,17 @@ "@jridgewell/sourcemap-codec": "^1.5.0" } }, + "node_modules/magicast": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/magicast/-/magicast-0.3.5.tgz", + "integrity": "sha512-L0WhttDl+2BOsybvEOLK7fW3UA0OQ0IQ2d6Zl2x/a6vVRs3bAY0ECOSHHeL5jD+SbOpOCUEi0y1DgHEn9Qn1AQ==", + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.25.4", + "@babel/types": "^7.25.4", + "source-map-js": "^1.2.0" + } + }, "node_modules/markdown-extensions": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/markdown-extensions/-/markdown-extensions-2.0.0.tgz", @@ -4929,10 +4941,6 @@ "url": "https://github.com/sponsors/mesqueeb" } }, - "node_modules/merge-stream": { - "version": "2.0.0", - "license": "MIT" - }, "node_modules/merge2": { "version": "1.4.1", "license": "MIT", @@ -5602,7 +5610,9 @@ "license": "MIT" }, "node_modules/micromatch": { - "version": "4.0.7", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "license": "MIT", "dependencies": { "braces": "^3.0.3", @@ -5612,11 +5622,13 @@ "node": ">=8.6" } }, - "node_modules/mimic-fn": { - "version": "4.0.0", + "node_modules/mimic-function": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz", + "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==", "license": "MIT", "engines": { - "node": ">=12" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -5630,7 +5642,9 @@ } }, "node_modules/ms": { - "version": "2.1.2", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "license": "MIT" }, "node_modules/muggle-string": { @@ -5708,54 +5722,47 @@ "node": ">=0.10.0" } }, - "node_modules/npm-run-path": { - "version": "5.3.0", - "license": "MIT", - "dependencies": { - "path-key": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/npm-run-path/node_modules/path-key": { - "version": "4.0.0", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/onetime": { - "version": "6.0.0", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz", + "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==", "license": "MIT", "dependencies": { - "mimic-fn": "^4.0.0" + "mimic-function": "^5.0.0" }, "engines": { - "node": ">=12" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/oniguruma-to-js": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/oniguruma-to-js/-/oniguruma-to-js-0.4.3.tgz", + "integrity": "sha512-X0jWUcAlxORhOqqBREgPMgnshB7ZGYszBNspP+tS9hPD3l13CdaXcHbgImoHUHlrvGx/7AvFEkTRhAGYh+jzjQ==", + "license": "MIT", + "dependencies": { + "regex": "^4.3.2" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, "node_modules/ora": { - "version": "8.0.1", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/ora/-/ora-8.1.0.tgz", + "integrity": "sha512-GQEkNkH/GHOhPFXcqZs3IDahXEQcQxsSjEkK4KvEEST4t7eNzoMjxTzef+EZ+JluDEV+Raoi3WQ2CflnRdSVnQ==", "license": "MIT", "dependencies": { "chalk": "^5.3.0", - "cli-cursor": "^4.0.0", + "cli-cursor": "^5.0.0", "cli-spinners": "^2.9.2", "is-interactive": "^2.0.0", "is-unicode-supported": "^2.0.0", "log-symbols": "^6.0.0", - "stdin-discarder": "^0.2.1", - "string-width": "^7.0.0", + "stdin-discarder": "^0.2.2", + "string-width": "^7.2.0", "strip-ansi": "^7.1.0" }, "engines": { @@ -5766,11 +5773,15 @@ } }, "node_modules/ora/node_modules/emoji-regex": { - "version": "10.3.0", + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.4.0.tgz", + "integrity": "sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==", "license": "MIT" }, "node_modules/ora/node_modules/string-width": { "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", "license": "MIT", "dependencies": { "emoji-regex": "^10.3.0", @@ -5932,17 +5943,6 @@ "node": ">=8" } }, - "node_modules/path-key": { - "version": "3.1.1", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-to-regexp": { - "version": "6.2.2", - "license": "MIT" - }, "node_modules/perfect-freehand": { "version": "1.2.2", "license": "MIT" @@ -5959,7 +5959,9 @@ } }, "node_modules/picocolors": { - "version": "1.0.1", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", + "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==", "license": "ISC" }, "node_modules/picomatch": { @@ -5990,9 +5992,9 @@ } }, "node_modules/postcss": { - "version": "8.4.41", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.41.tgz", - "integrity": "sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==", + "version": "8.4.47", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz", + "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==", "funding": [ { "type": "opencollective", @@ -6010,8 +6012,8 @@ "license": "MIT", "dependencies": { "nanoid": "^3.3.7", - "picocolors": "^1.0.1", - "source-map-js": "^1.2.0" + "picocolors": "^1.1.0", + "source-map-js": "^1.2.1" }, "engines": { "node": "^10 || ^12 || >=14" @@ -6118,6 +6120,12 @@ "node": ">=8.10.0" } }, + "node_modules/regex": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/regex/-/regex-4.3.2.tgz", + "integrity": "sha512-kK/AA3A9K6q2js89+VMymcboLOlF5lZRCYJv3gzszXFHBr6kO6qLGzbm+UIugBEV8SMMKCTR59txoY6ctRHYVw==", + "license": "MIT" + }, "node_modules/rehype": { "version": "13.0.1", "license": "MIT", @@ -6294,43 +6302,21 @@ } }, "node_modules/restore-cursor": { - "version": "4.0.0", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", + "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==", "license": "MIT", "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" + "onetime": "^7.0.0", + "signal-exit": "^4.1.0" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/restore-cursor/node_modules/mimic-fn": { - "version": "2.1.0", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/restore-cursor/node_modules/onetime": { - "version": "5.1.2", - "license": "MIT", - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/restore-cursor/node_modules/signal-exit": { - "version": "3.0.7", - "license": "ISC" - }, "node_modules/retext": { "version": "9.0.0", "license": "MIT", @@ -6525,35 +6511,24 @@ "@img/sharp-win32-x64": "0.33.4" } }, - "node_modules/shebang-command": { - "version": "2.0.0", - "license": "MIT", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/shiki": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/shiki/-/shiki-1.14.1.tgz", - "integrity": "sha512-FujAN40NEejeXdzPt+3sZ3F2dx1U24BY2XTY01+MG8mbxCiA2XukXdcbyMyLAHJ/1AUUnQd1tZlvIjefWWEJeA==", + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-1.20.0.tgz", + "integrity": "sha512-MZJJ1PCFsQB1Piq+25wiz0a75yUv8Q3/fzy7SzRx5ONdjdtGdyiKwYn8vb/FnK5kjS0voWGnPpjG16POauUR+g==", "license": "MIT", "dependencies": { - "@shikijs/core": "1.14.1", + "@shikijs/core": "1.20.0", + "@shikijs/engine-javascript": "1.20.0", + "@shikijs/engine-oniguruma": "1.20.0", + "@shikijs/types": "1.20.0", + "@shikijs/vscode-textmate": "^9.2.2", "@types/hast": "^3.0.4" } }, "node_modules/signal-exit": { "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "license": "ISC", "engines": { "node": ">=14" @@ -6643,9 +6618,9 @@ } }, "node_modules/source-map-js": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", - "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -6665,6 +6640,8 @@ }, "node_modules/stdin-discarder": { "version": "0.2.2", + "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.2.2.tgz", + "integrity": "sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==", "license": "MIT", "engines": { "node": ">=18" @@ -6744,16 +6721,6 @@ "node": ">=0.10.0" } }, - "node_modules/strip-final-newline": { - "version": "3.0.0", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/style-to-object": { "version": "0.4.4", "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-0.4.4.tgz", @@ -6777,6 +6744,12 @@ "version": "6.2.0", "license": "MIT" }, + "node_modules/tinyexec": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.0.tgz", + "integrity": "sha512-tVGE0mVJPGb0chKhqmsoosjsS+qUnJVGJpZgsHYQcGoPlG3B51R3PouqTgEGH2Dc9jjFyOqOpix6ZHNMXp1FZg==", + "license": "MIT" + }, "node_modules/to-fast-properties": { "version": "2.0.0", "license": "MIT", @@ -6820,7 +6793,9 @@ } }, "node_modules/tsconfck": { - "version": "3.1.1", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/tsconfck/-/tsconfck-3.1.3.tgz", + "integrity": "sha512-ulNZP1SVpRDesxeMLON/LtWM8HIgAJEIVpVVhBM6gsmvQ8+Rh+ZG7FWGvHh7Ah3pRABwVJWklWCr/BTZSv0xnQ==", "license": "MIT", "bin": { "tsconfck": "bin/tsconfck.js" @@ -7055,11 +7030,12 @@ "license": "ISC" }, "node_modules/vfile": { - "version": "6.0.2", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz", + "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==", "license": "MIT", "dependencies": { "@types/unist": "^3.0.0", - "unist-util-stringify-position": "^4.0.0", "vfile-message": "^4.0.0" }, "funding": { @@ -7092,13 +7068,13 @@ } }, "node_modules/vite": { - "version": "5.4.2", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.2.tgz", - "integrity": "sha512-dDrQTRHp5C1fTFzcSaMxjk6vdpKvT+2/mIdE07Gw2ykehT49O0z/VHS3zZ8iV/Gh8BJJKHWOe5RjaNrW5xf/GA==", + "version": "5.4.8", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.8.tgz", + "integrity": "sha512-FqrItQ4DT1NC4zCUqMB4c4AZORMKIa0m8/URVCZ77OZ/QSNeJ54bU1vrFADbDsuwfIPcgknRkmqakQcgnL4GiQ==", "license": "MIT", "dependencies": { "esbuild": "^0.21.3", - "postcss": "^8.4.41", + "postcss": "^8.4.43", "rollup": "^4.20.0" }, "bin": { @@ -7427,19 +7403,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/which": { - "version": "2.0.2", - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/which-pm": { "version": "3.0.0", "license": "MIT", diff --git a/package.json b/package.json index 95675b0..afa26bc 100644 --- a/package.json +++ b/package.json @@ -12,10 +12,10 @@ "dependencies": { "@ark-ui/solid": "^3.5.0", "@astrojs/check": "^0.9.3", - "@astrojs/mdx": "^3.1.4", - "@astrojs/solid-js": "^4.4.1", + "@astrojs/mdx": "^3.1.7", + "@astrojs/solid-js": "^4.4.2", "@types/node": "^20.14.11", - "astro": "^4.14.5", + "astro": "^4.15.9", "astro-breadcrumbs": "^2.3.1", "astro-pagefind": "^1.6.0", "marked": "^14.1.0", @@ -28,7 +28,7 @@ "typescript": "^5.5.3" }, "devDependencies": { - "@astrojs/ts-plugin": "^1.10.1", + "@astrojs/ts-plugin": "^1.10.2", "@biomejs/biome": "^1.8.3", "@hbsnow/rehype-sectionize": "^1.0.7", "shiki": "^1.11.0" diff --git a/src/components/hooks/CreateCopyButtons.astro b/src/components/hooks/CreateCopyButtons.astro index ddfcac2..944d1cd 100644 --- a/src/components/hooks/CreateCopyButtons.astro +++ b/src/components/hooks/CreateCopyButtons.astro @@ -42,6 +42,7 @@ button.onclick = () => { let link = window.location.href.split("#")[0]; link += `#-${heading.textContent?.slice(10).trimEnd().replaceAll(" ", "-").toLowerCase()}`; + window.location.href = link navigator.clipboard.writeText(link); heading.classList.toggle("copied") setTimeout(() => heading.classList.remove("copied"), 1000); diff --git a/src/components/navigation/search/index.tsx b/src/components/navigation/search/index.tsx index 6e37e21..3e9bd64 100644 --- a/src/components/navigation/search/index.tsx +++ b/src/components/navigation/search/index.tsx @@ -7,6 +7,8 @@ import { import type { SearchResult } from "./types"; import SearchModal from "./SearchModal"; +//const pagefindPath = "@dist/pagefind/pagefind.js"; +//const pagefind = await import(pagefindPath); const pagefind = await import("@dist/pagefind/pagefind.js"); pagefind.init(); @@ -44,7 +46,7 @@ const SearchComponent: Component = () => { value={query()} placeholder="Search" onChange={e => handleSearch(e.target.value)} - //onfocusout={() => setQuery("")} + //onfocusout={() => setQuery("")} />{" "} {!results.loading && results() && results()!.length > 0 ? ( { funcData.map(item => { - const functionParams = item.params.length > 0 ? item.params : null + const functionParams = item.params.length > 0 ? item.params.map((funcparam,index) => `${funcparam.name}${index !== item.params.length -1 ? ", ":""}`) : null const retTypeLink = getQMLTypeLink(item.ret as unknown as QMLTypeLinkObject) return (
  • - {item.name}({functionParams - ? functionParams.map((itemType, index) => ( - {itemType.name}{ - index !== functionParams.length - 1 - && ", " - } - ) - ) : null}){functionParams}) + {item.ret.name || item.ret.type} diff --git a/src/components/type/Signals.astro b/src/components/type/Signals.astro index 8424a06..067541b 100644 --- a/src/components/type/Signals.astro +++ b/src/components/type/Signals.astro @@ -27,11 +27,11 @@ const { signalKeys, signalsData, title } = Astro.props;

    { signalData.params && signalData.params.length > 0 ? ( -

    +

    { signalData.params.map((param, _) => { return ( - + {param.name}code) code { +:where(p, li):has(> code) code { padding-inline: 0.272rem; border-radius: 0.272rem; color: hsl(var(--blue) 100 69); @@ -14,8 +14,8 @@ pre { &>button { all: unset; - width: 3svh; - height: 3svh; + width: 2rem; + height: 2rem; position: absolute; top: 0.5rem; right: 0.5rem; diff --git a/src/styles/docs/docs-types.css b/src/styles/docs/docs-types.css index 433eebf..3395055 100644 --- a/src/styles/docs/docs-types.css +++ b/src/styles/docs/docs-types.css @@ -27,7 +27,6 @@ &>p:not(:first-child) { margin-block: 0.724rem; } - } .type-module { @@ -39,7 +38,6 @@ } .typedocs-content { - &>p { margin-block: 0.618rem; } @@ -50,7 +48,6 @@ } } - .typedocs-data { & subheading { display: flex; @@ -69,7 +66,6 @@ padding: 1.272rem; transition: border 0.3s; - &>.typedata-name { display: flex; align-items: center; @@ -77,10 +73,10 @@ margin: 0; margin-top: 0.272rem; - &>svg { + & svg { width: 27px; height: 27px; - margin-right: 6px; + margin-right: 3px; } } } @@ -96,9 +92,10 @@ align-items: center; gap: 0.117rem; - &>svg { + & svg { height: 1.272rem; width: 1.272rem; + margin-right: 3px; } } } @@ -137,13 +134,12 @@ color: hsl(var(--var-link-color)); & a { - color: hsl(var(--var-link-color)) + color: hsl(var(--var-link-color)); } } } } - .typedata-link { display: inline-flex; align-items: baseline; @@ -156,7 +152,6 @@ } } - .typedata-param { color: hsla(var(--prop-link-color) / 1); } @@ -179,7 +174,7 @@ display: flex; align-items: center; gap: 0.117rem; - color: hsl(var(--inner-param-color)) + color: hsl(var(--inner-param-color)); } } @@ -198,7 +193,6 @@ & .typeprop-name { color: hsl(var(--prop-link-color)); } - } } @@ -219,7 +213,6 @@ } & .typefunc-params { - & .typefunc-param { margin-top: 0.272rem; display: flex; @@ -231,13 +224,10 @@ width: 1.272rem; } } - } - } } - .typesignals { & .typesignal-root { border: 1px solid hsla(var(--signal-color) / 0.3); @@ -330,7 +320,6 @@ .typedata-detailsdata, .typedocs-subheading { max-width: 42svw; - } .root-nav { @@ -401,7 +390,6 @@ } } } - } } } diff --git a/src/styles/docs/docs.css b/src/styles/docs/docs.css index 925dd7f..95eb861 100644 --- a/src/styles/docs/docs.css +++ b/src/styles/docs/docs.css @@ -4,7 +4,6 @@ .docslayout-root { margin: 0.618rem; margin-top: 3.5rem; - overflow: hidden; } .docs, @@ -40,7 +39,7 @@ } .heading { - & > [id] { + &>[id] { width: max-content; } @@ -70,7 +69,7 @@ ul { .markdown-alert { margin-block: 0.618rem; - & > *:not(:first-child) { + &>*:not(:first-child) { margin-block: 0.724rem; } } @@ -81,6 +80,7 @@ ul { } @media (min-width: 768px) { + .docs, .docslayout-root { gap: 0.648rem; @@ -90,10 +90,6 @@ ul { margin-left: calc(1.618rem + 260px); } - .docslayout-inner { - display: block; - } - .docs-content { margin-inline: 1.272rem; @@ -121,4 +117,8 @@ ul { .docslayout-root { margin-inline: calc(10svw + 260px); } + + .docslayout-inner { + min-width: 33.8rem; + } } diff --git a/src/styles/docs/nav/nav-tree.css b/src/styles/docs/nav/nav-tree.css index 2f10493..64adeb5 100644 --- a/src/styles/docs/nav/nav-tree.css +++ b/src/styles/docs/nav/nav-tree.css @@ -8,7 +8,6 @@ & [data-part="item"] { padding-right: 0; - } } } @@ -39,7 +38,6 @@ width: max-content; padding: 4px; overflow: scroll; - z-index: 101; } } @@ -74,7 +72,6 @@ &:hover { background-color: hsl(var(--blue) 30 30); } - } [data-scope="accordion"][data-part="item-indicator"][data-state="open"] { @@ -121,7 +118,6 @@ animation: percentToFifty 250ms ease-in-out forwards; } - &>a { padding-top: 1em; width: 100%; @@ -134,11 +130,11 @@ } [data-scope="accordion"][data-part="item-content"][data-state="open"] { - animation: slideDown 250ms ease-in-out; + animation: slideDown 250ms ease; } [data-scope="accordion"][data-part="item-content"][data-state="closed"] { - animation: slideUp 200ms ease-in-out; + animation: slideUp 200ms ease; } .__current-type-doc { @@ -146,7 +142,6 @@ & [data-part="item-trigger"] a { color: hsl(var(--blue) 100 70) !important; - } &>a { @@ -160,12 +155,10 @@ hsla(var(--accent-400) / 0) 100%); animation: percentToZero 250ms ease-in-out forwards; width: 100%; - } &:hover::before { animation: percentToFifty 250ms ease-in-out forwards; } - } } diff --git a/src/styles/docs/toc/toc.css b/src/styles/docs/toc/toc.css index 78d3525..134bf14 100644 --- a/src/styles/docs/toc/toc.css +++ b/src/styles/docs/toc/toc.css @@ -3,10 +3,28 @@ .toc-wrapper { display: none; + scrollbar-width: none; + -ms-overflow-style: none; + + &::-webkit-scrollbar { + display: none; + } } .toc-wrapper-mobile { display: block; + scrollbar-width: none; + -ms-overflow-style: none; + + &::-webkit-scrollbar { + display: none; + } + + background-color: transparent; +} + +.toc-content { + background-color: transparent; } .toc-toggle { @@ -16,14 +34,8 @@ height: 24px; font-size: 1.614rem; max-height: 500px; - scrollbar-width: none; - -ms-overflow-style: none; - &::-webkit-scrollbar { - display: none; - } - - & > svg { + &>svg { height: 100%; width: 24px; } @@ -53,12 +65,11 @@ display: none; } - transition: - width 0.3s ease, - height 0.3s ease, - background-color 0.3s ease, - backdrop-filter 0.3s ease, - padding 0.3s ease; + transition: width 0.3s ease, + height 0.3s ease, + background-color 0.3s ease, + backdrop-filter 0.3s ease, + padding 0.3s ease; &.shown { padding: 0.3rem; @@ -85,6 +96,7 @@ } .toc-wrapper { + background-color: transparent; display: block; position: fixed; top: 5rem; @@ -107,7 +119,7 @@ list-style: none; &.active { - & > .toc_a { + &>.toc_a { color: hsl(var(--green) 72 60); } } diff --git a/src/styles/docs/toc/types-toc.css b/src/styles/docs/toc/types-toc.css index 163de52..ae61bfa 100644 --- a/src/styles/docs/toc/types-toc.css +++ b/src/styles/docs/toc/types-toc.css @@ -1,7 +1,15 @@ .toc-content { height: 100%; width: 100%; - overflow: scroll; + overflow-y: scroll; + overflow-x: hidden; + scrollbar-width: none; + -ms-overflow-style: none; + + &::-webkit-scrollbar { + display: none; + } + padding: 6px; & .props-list { diff --git a/yarn.lock b/yarn.lock index ba050bf..abdc6a2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -164,9 +164,9 @@ __metadata: languageName: node linkType: hard -"@astrojs/mdx@npm:^3.1.4": - version: 3.1.4 - resolution: "@astrojs/mdx@npm:3.1.4" +"@astrojs/mdx@npm:^3.1.7": + version: 3.1.7 + resolution: "@astrojs/mdx@npm:3.1.7" dependencies: "@astrojs/markdown-remark": "npm:5.2.0" "@mdx-js/mdx": "npm:^3.0.1" @@ -174,17 +174,17 @@ __metadata: es-module-lexer: "npm:^1.5.4" estree-util-visit: "npm:^2.0.0" gray-matter: "npm:^4.0.3" - hast-util-to-html: "npm:^9.0.1" + hast-util-to-html: "npm:^9.0.2" kleur: "npm:^4.1.5" rehype-raw: "npm:^7.0.0" remark-gfm: "npm:^4.0.0" remark-smartypants: "npm:^3.0.2" source-map: "npm:^0.7.4" unist-util-visit: "npm:^5.0.0" - vfile: "npm:^6.0.2" + vfile: "npm:^6.0.3" peerDependencies: astro: ^4.8.0 - checksum: 10c0/937795f30d9f0392effcc1a1b984dd03f547cc31d4cbadbb2d969df59fba36c941e56cba33be4be817fce2d5372e51f2cc520333f2fe5a9931a3f586e8b9925d + checksum: 10c0/421110a23ccaed8068dda21c0cff7cff0537c438551a5b12c1fe8e7521b5e31009c3b050456782ea621db23203186a204ef3435ef160687df0901d1f23584913 languageName: node linkType: hard @@ -197,9 +197,9 @@ __metadata: languageName: node linkType: hard -"@astrojs/solid-js@npm:^4.4.1": - version: 4.4.1 - resolution: "@astrojs/solid-js@npm:4.4.1" +"@astrojs/solid-js@npm:^4.4.2": + version: 4.4.2 + resolution: "@astrojs/solid-js@npm:4.4.2" dependencies: vite-plugin-solid: "npm:^2.10.2" peerDependencies: @@ -208,7 +208,7 @@ __metadata: peerDependenciesMeta: solid-devtools: optional: true - checksum: 10c0/69c0d5d7d38ffb6f56e53fb73283d5df75981cb1ce77dd6946635911b7af0e3f62a7f35bfab16955cf070c845f39b91b56f7f8da7a22f9608158888643d2aa92 + checksum: 10c0/7ebe708bddc42b2be1b19c615a430f9af421315ec4b48d52c72c6b7eeb1edfb5fcf1ebf3ad8e8b3fdf15cf54389d4ee67fced0343607f31c41011d397caca96b languageName: node linkType: hard @@ -227,9 +227,9 @@ __metadata: languageName: node linkType: hard -"@astrojs/ts-plugin@npm:^1.10.1": - version: 1.10.1 - resolution: "@astrojs/ts-plugin@npm:1.10.1" +"@astrojs/ts-plugin@npm:^1.10.2": + version: 1.10.2 + resolution: "@astrojs/ts-plugin@npm:1.10.2" dependencies: "@astrojs/compiler": "npm:^2.10.3" "@astrojs/yaml2ts": "npm:^0.2.1" @@ -238,7 +238,7 @@ __metadata: "@volar/typescript": "npm:~2.4.0" semver: "npm:^7.3.8" vscode-languageserver-textdocument: "npm:^1.0.11" - checksum: 10c0/d35064ec75a7c81ab9fcefeb20ea373adfcacdc098390c73e9fb90389b70bb79136e9e0066d8a49a804b9b006710c1e52970d67fb91a86cb2ec246e6835680a2 + checksum: 10c0/07397233d9ecc7a369cbd296707078831ab9e3b938a731696795001f8cd12227834a391f967d79b96317a01f3bf9e4c52617ed03761364e3de410865d4822468 languageName: node linkType: hard @@ -418,7 +418,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.25.0, @babel/parser@npm:^7.25.3, @babel/parser@npm:^7.25.4": +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.25.0, @babel/parser@npm:^7.25.4": version: 7.25.4 resolution: "@babel/parser@npm:7.25.4" dependencies: @@ -477,7 +477,7 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.24.7, @babel/traverse@npm:^7.25.2, @babel/traverse@npm:^7.25.3": +"@babel/traverse@npm:^7.24.7, @babel/traverse@npm:^7.25.2": version: 7.25.4 resolution: "@babel/traverse@npm:7.25.4" dependencies: @@ -492,14 +492,14 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.18.6, @babel/types@npm:^7.20.7, @babel/types@npm:^7.23.3, @babel/types@npm:^7.23.6, @babel/types@npm:^7.24.7, @babel/types@npm:^7.25.0, @babel/types@npm:^7.25.2, @babel/types@npm:^7.25.4": - version: 7.25.4 - resolution: "@babel/types@npm:7.25.4" +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.18.6, @babel/types@npm:^7.20.7, @babel/types@npm:^7.23.3, @babel/types@npm:^7.23.6, @babel/types@npm:^7.24.7, @babel/types@npm:^7.25.0, @babel/types@npm:^7.25.2, @babel/types@npm:^7.25.4, @babel/types@npm:^7.25.6": + version: 7.25.6 + resolution: "@babel/types@npm:7.25.6" dependencies: "@babel/helper-string-parser": "npm:^7.24.8" "@babel/helper-validator-identifier": "npm:^7.24.7" to-fast-properties: "npm:^2.0.0" - checksum: 10c0/9aa25dfcd89cc4e4dde3188091c34398a005a49e2c2b069d0367b41e1122c91e80fd92998c52a90f2fb500f7e897b6090ec8be263d9cb53d0d75c756f44419f2 + checksum: 10c0/89d45fbee24e27a05dca2d08300a26b905bd384a480448823f6723c72d3a30327c517476389b7280ce8cb9a2c48ef8f47da7f9f6d326faf6f53fd6b68237bdc4 languageName: node linkType: hard @@ -1204,10 +1204,10 @@ __metadata: languageName: node linkType: hard -"@oslojs/encoding@npm:^0.4.1": - version: 0.4.1 - resolution: "@oslojs/encoding@npm:0.4.1" - checksum: 10c0/e3ccee039f385cca8a53afb1584c85d66d3685e20142649aab8f6e7f71ea11e026861e60e3d61de8d34a78adf9049e6da6813e3de51ba2b86239a4200c08ee76 +"@oslojs/encoding@npm:^1.0.0": + version: 1.1.0 + resolution: "@oslojs/encoding@npm:1.1.0" + checksum: 10c0/5553a0974dca60e1a8b247b7b97abcb141cc7ee4e22444f424a07921d6a5f76a43c316f3ee669222787fdef6549f8749cc6d68ff5a631e2542521c56fe36417f languageName: node linkType: hard @@ -1395,12 +1395,55 @@ __metadata: languageName: node linkType: hard -"@shikijs/core@npm:1.14.1": - version: 1.14.1 - resolution: "@shikijs/core@npm:1.14.1" +"@shikijs/core@npm:1.20.0": + version: 1.20.0 + resolution: "@shikijs/core@npm:1.20.0" dependencies: + "@shikijs/engine-javascript": "npm:1.20.0" + "@shikijs/engine-oniguruma": "npm:1.20.0" + "@shikijs/types": "npm:1.20.0" + "@shikijs/vscode-textmate": "npm:^9.2.2" "@types/hast": "npm:^3.0.4" - checksum: 10c0/a9779634956010788f346f779a8e445d17101cae64e6769a7a4d6d479ccd5d47e6c897fd7a57445cea6b64f1b79f1126ff4f57dbc6ce28c1533f6b74450d752f + hast-util-to-html: "npm:^9.0.3" + checksum: 10c0/1fe1eb2f29153694bad8a1f65db084c18aec865b7510f7617868c7c865e71e02b97f126985ae43830022b365f87e7b84602e2df0f7dd63dc5b11b2ab8f97a4f8 + languageName: node + linkType: hard + +"@shikijs/engine-javascript@npm:1.20.0": + version: 1.20.0 + resolution: "@shikijs/engine-javascript@npm:1.20.0" + dependencies: + "@shikijs/types": "npm:1.20.0" + "@shikijs/vscode-textmate": "npm:^9.2.2" + oniguruma-to-js: "npm:0.4.3" + checksum: 10c0/1ae5eb42596db0edd1019a95514c27296b02c358e1e5c05cc47f1e9e926bdc6033fe9fc47d53c078714aa9a7ed268e5cdcb50eadf8b51f625103d19fb928b269 + languageName: node + linkType: hard + +"@shikijs/engine-oniguruma@npm:1.20.0": + version: 1.20.0 + resolution: "@shikijs/engine-oniguruma@npm:1.20.0" + dependencies: + "@shikijs/types": "npm:1.20.0" + "@shikijs/vscode-textmate": "npm:^9.2.2" + checksum: 10c0/440e98daef1eb0b70ab2382014068238173a3e4e032a7da32fd18d49bf68a8184a8bf785503e5caeefaccd52a0437a9800e718a06ba27b99450cb0f9f5550669 + languageName: node + linkType: hard + +"@shikijs/types@npm:1.20.0": + version: 1.20.0 + resolution: "@shikijs/types@npm:1.20.0" + dependencies: + "@shikijs/vscode-textmate": "npm:^9.2.2" + "@types/hast": "npm:^3.0.4" + checksum: 10c0/6019190b570aa65b2bfa5c885f9d86bce0dc7167980ec336881dff72e6ca123ff4e2ef04d33789e1c65684057c0723d90d7a698f098c516d60ebaa55e4a3f64e + languageName: node + linkType: hard + +"@shikijs/vscode-textmate@npm:^9.2.2": + version: 9.2.2 + resolution: "@shikijs/vscode-textmate@npm:9.2.2" + checksum: 10c0/db4471da582c16c4b49361fcb3a4acfa47af9c3566f308faca7373ed7c1d13232e723749dd5c62b78aa76e365f2b8af3426f63e51cccfc5755981636c851eebf languageName: node linkType: hard @@ -1772,11 +1815,11 @@ __metadata: linkType: hard "@types/node@npm:^20.14.11": - version: 20.16.9 - resolution: "@types/node@npm:20.16.9" + version: 20.16.10 + resolution: "@types/node@npm:20.16.10" dependencies: undici-types: "npm:~6.19.2" - checksum: 10c0/52d7cbd6792a26e6757c913d1f6dd0fb0104ac44c93dd87480c011d1211b3a1ba282962996bf6aec03f633b5b39f61576f1bafe8436592ab08ad39464e53e4b0 + checksum: 10c0/c0c0c7ecb083ec638c2118e54b5242bb4c39a75608cbac9475cf15aaceb64b8bc997a87a0798e700a81d61651c8a7750ae0455be0f0996ada6e8b2bb818d90c5 languageName: node linkType: hard @@ -2912,21 +2955,18 @@ __metadata: languageName: node linkType: hard -"astro@npm:^4.14.5": - version: 4.14.5 - resolution: "astro@npm:4.14.5" +"astro@npm:^4.15.9": + version: 4.15.9 + resolution: "astro@npm:4.15.9" dependencies: "@astrojs/compiler": "npm:^2.10.3" "@astrojs/internal-helpers": "npm:0.4.1" "@astrojs/markdown-remark": "npm:5.2.0" "@astrojs/telemetry": "npm:3.1.0" "@babel/core": "npm:^7.25.2" - "@babel/generator": "npm:^7.25.0" - "@babel/parser": "npm:^7.25.3" "@babel/plugin-transform-react-jsx": "npm:^7.25.2" - "@babel/traverse": "npm:^7.25.3" - "@babel/types": "npm:^7.25.2" - "@oslojs/encoding": "npm:^0.4.1" + "@babel/types": "npm:^7.25.6" + "@oslojs/encoding": "npm:^1.0.0" "@rollup/pluginutils": "npm:^5.1.0" "@types/babel__core": "npm:^7.20.5" "@types/cookie": "npm:^0.6.0" @@ -2939,7 +2979,7 @@ __metadata: common-ancestor-path: "npm:^1.0.1" cookie: "npm:^0.6.0" cssesc: "npm:^3.0.0" - debug: "npm:^4.3.6" + debug: "npm:^4.3.7" deterministic-object-hash: "npm:^2.0.2" devalue: "npm:^5.0.0" diff: "npm:^5.2.0" @@ -2948,8 +2988,8 @@ __metadata: es-module-lexer: "npm:^1.5.4" esbuild: "npm:^0.21.5" estree-walker: "npm:^3.0.3" - execa: "npm:^8.0.1" fast-glob: "npm:^3.3.2" + fastq: "npm:^1.17.1" flattie: "npm:^1.1.1" github-slugger: "npm:^2.0.0" gray-matter: "npm:^4.0.3" @@ -2958,26 +2998,27 @@ __metadata: js-yaml: "npm:^4.1.0" kleur: "npm:^4.1.5" magic-string: "npm:^0.30.11" - micromatch: "npm:^4.0.7" + magicast: "npm:^0.3.5" + micromatch: "npm:^4.0.8" mrmime: "npm:^2.0.0" neotraverse: "npm:^0.6.18" - ora: "npm:^8.0.1" + ora: "npm:^8.1.0" p-limit: "npm:^6.1.0" p-queue: "npm:^8.0.1" - path-to-regexp: "npm:^6.2.2" preferred-pm: "npm:^4.0.0" prompts: "npm:^2.4.2" rehype: "npm:^13.0.1" semver: "npm:^7.6.3" sharp: "npm:^0.33.3" - shiki: "npm:^1.14.1" + shiki: "npm:^1.16.2" string-width: "npm:^7.2.0" strip-ansi: "npm:^7.1.0" - tsconfck: "npm:^3.1.1" + tinyexec: "npm:^0.3.0" + tsconfck: "npm:^3.1.3" unist-util-visit: "npm:^5.0.0" - vfile: "npm:^6.0.2" - vite: "npm:^5.4.1" - vitefu: "npm:^0.2.5" + vfile: "npm:^6.0.3" + vite: "npm:^5.4.3" + vitefu: "npm:^1.0.2" which-pm: "npm:^3.0.0" xxhash-wasm: "npm:^1.0.2" yargs-parser: "npm:^21.1.1" @@ -2989,7 +3030,7 @@ __metadata: optional: true bin: astro: astro.js - checksum: 10c0/ede0b3d38bdb2135066e67c0830edac2f1737a3f34a707f17d12395f74d61e90b3fcaf70dfd31abb91c12c9d02fde748a28c7c4ca4038c2e7d5ad1bb5acb6a02 + checksum: 10c0/049e8fc23a022954d03789238b1e5a7c314e1239f11d9b60ed8a29878c8768dbda02c1906cea0b65609d6d870472ebbc55b048efb141767887d789f63e214b1b languageName: node linkType: hard @@ -3385,7 +3426,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.3": +"cross-spawn@npm:^7.0.0": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" dependencies: @@ -3431,7 +3472,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:4": +"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.3.1, debug@npm:^4.3.4, debug@npm:^4.3.7": version: 4.3.7 resolution: "debug@npm:4.3.7" dependencies: @@ -3443,18 +3484,6 @@ __metadata: languageName: node linkType: hard -"debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.3.1, debug@npm:^4.3.4, debug@npm:^4.3.6": - version: 4.3.6 - resolution: "debug@npm:4.3.6" - dependencies: - ms: "npm:2.1.2" - peerDependenciesMeta: - supports-color: - optional: true - checksum: 10c0/3293416bff072389c101697d4611c402a6bacd1900ac20c0492f61a9cdd6b3b29750fc7f5e299f8058469ef60ff8fb79b86395a30374fbd2490113c1c7112285 - languageName: node - linkType: hard - "decimal.js@npm:^10.4.3": version: 10.4.3 resolution: "decimal.js@npm:10.4.3" @@ -3810,23 +3839,6 @@ __metadata: languageName: node linkType: hard -"execa@npm:^8.0.1": - version: 8.0.1 - resolution: "execa@npm:8.0.1" - dependencies: - cross-spawn: "npm:^7.0.3" - get-stream: "npm:^8.0.1" - human-signals: "npm:^5.0.0" - is-stream: "npm:^3.0.0" - merge-stream: "npm:^2.0.0" - npm-run-path: "npm:^5.1.0" - onetime: "npm:^6.0.0" - signal-exit: "npm:^4.1.0" - strip-final-newline: "npm:^3.0.0" - checksum: 10c0/2c52d8775f5bf103ce8eec9c7ab3059909ba350a5164744e9947ed14a53f51687c040a250bda833f906d1283aa8803975b84e6c8f7a7c42f99dc8ef80250d1af - languageName: node - linkType: hard - "exponential-backoff@npm:^3.1.1": version: 3.1.1 resolution: "exponential-backoff@npm:3.1.1" @@ -3877,7 +3889,7 @@ __metadata: languageName: node linkType: hard -"fastq@npm:^1.6.0": +"fastq@npm:^1.17.1, fastq@npm:^1.6.0": version: 1.17.1 resolution: "fastq@npm:1.17.1" dependencies: @@ -4017,13 +4029,6 @@ __metadata: languageName: node linkType: hard -"get-stream@npm:^8.0.1": - version: 8.0.1 - resolution: "get-stream@npm:8.0.1" - checksum: 10c0/5c2181e98202b9dae0bb4a849979291043e5892eb40312b47f0c22b9414fc9b28a3b6063d2375705eb24abc41ecf97894d9a51f64ff021511b504477b27b4290 - languageName: node - linkType: hard - "github-slugger@npm:^2.0.0": version: 2.0.0 resolution: "github-slugger@npm:2.0.0" @@ -4280,7 +4285,7 @@ __metadata: languageName: node linkType: hard -"hast-util-to-html@npm:^9.0.0, hast-util-to-html@npm:^9.0.1": +"hast-util-to-html@npm:^9.0.0, hast-util-to-html@npm:^9.0.2, hast-util-to-html@npm:^9.0.3": version: 9.0.3 resolution: "hast-util-to-html@npm:9.0.3" dependencies: @@ -4469,13 +4474,6 @@ __metadata: languageName: node linkType: hard -"human-signals@npm:^5.0.0": - version: 5.0.0 - resolution: "human-signals@npm:5.0.0" - checksum: 10c0/5a9359073fe17a8b58e5a085e9a39a950366d9f00217c4ff5878bd312e09d80f460536ea6a3f260b5943a01fe55c158d1cea3fc7bee3d0520aeef04f6d915c82 - languageName: node - linkType: hard - "iconv-lite@npm:0.6.3, iconv-lite@npm:^0.6.2": version: 0.6.3 resolution: "iconv-lite@npm:0.6.3" @@ -4678,13 +4676,6 @@ __metadata: languageName: node linkType: hard -"is-stream@npm:^3.0.0": - version: 3.0.0 - resolution: "is-stream@npm:3.0.0" - checksum: 10c0/eb2f7127af02ee9aa2a0237b730e47ac2de0d4e76a4a905a50a11557f2339df5765eaea4ceb8029f1efa978586abe776908720bfcb1900c20c6ec5145f6f29d8 - languageName: node - linkType: hard - "is-unicode-supported@npm:^1.3.0": version: 1.3.0 resolution: "is-unicode-supported@npm:1.3.0" @@ -4969,6 +4960,17 @@ __metadata: languageName: node linkType: hard +"magicast@npm:^0.3.5": + version: 0.3.5 + resolution: "magicast@npm:0.3.5" + dependencies: + "@babel/parser": "npm:^7.25.4" + "@babel/types": "npm:^7.25.4" + source-map-js: "npm:^1.2.0" + checksum: 10c0/a6cacc0a848af84f03e3f5bda7b0de75e4d0aa9ddce5517fd23ed0f31b5ddd51b2d0ff0b7e09b51f7de0f4053c7a1107117edda6b0732dca3e9e39e6c5a68c64 + languageName: node + linkType: hard + "make-fetch-happen@npm:^13.0.0": version: 13.0.1 resolution: "make-fetch-happen@npm:13.0.1" @@ -5264,13 +5266,6 @@ __metadata: languageName: node linkType: hard -"merge-stream@npm:^2.0.0": - version: 2.0.0 - resolution: "merge-stream@npm:2.0.0" - checksum: 10c0/867fdbb30a6d58b011449b8885601ec1690c3e41c759ecd5a9d609094f7aed0096c37823ff4a7190ef0b8f22cc86beb7049196ff68c016e3b3c671d0dac91ce5 - languageName: node - linkType: hard - "merge2@npm:^1.3.0": version: 1.4.1 resolution: "merge2@npm:1.4.1" @@ -5715,7 +5710,7 @@ __metadata: languageName: node linkType: hard -"micromatch@npm:^4.0.2, micromatch@npm:^4.0.4, micromatch@npm:^4.0.7": +"micromatch@npm:^4.0.2, micromatch@npm:^4.0.4, micromatch@npm:^4.0.8": version: 4.0.8 resolution: "micromatch@npm:4.0.8" dependencies: @@ -5741,13 +5736,6 @@ __metadata: languageName: node linkType: hard -"mimic-fn@npm:^4.0.0": - version: 4.0.0 - resolution: "mimic-fn@npm:4.0.0" - checksum: 10c0/de9cc32be9996fd941e512248338e43407f63f6d497abe8441fa33447d922e927de54d4cc3c1a3c6d652857acd770389d5a3823f311a744132760ce2be15ccbf - languageName: node - linkType: hard - "mimic-function@npm:^5.0.0": version: 5.0.1 resolution: "mimic-function@npm:5.0.1" @@ -5864,13 +5852,6 @@ __metadata: languageName: node linkType: hard -"ms@npm:2.1.2": - version: 2.1.2 - resolution: "ms@npm:2.1.2" - checksum: 10c0/a437714e2f90dbf881b5191d35a6db792efbca5badf112f87b9e1c712aace4b4b9b742dd6537f3edf90fd6f684de897cec230abde57e87883766712ddda297cc - languageName: node - linkType: hard - "ms@npm:^2.1.3": version: 2.1.3 resolution: "ms@npm:2.1.3" @@ -5980,28 +5961,10 @@ __metadata: languageName: node linkType: hard -"npm-run-path@npm:^5.1.0": - version: 5.3.0 - resolution: "npm-run-path@npm:5.3.0" - dependencies: - path-key: "npm:^4.0.0" - checksum: 10c0/124df74820c40c2eb9a8612a254ea1d557ddfab1581c3e751f825e3e366d9f00b0d76a3c94ecd8398e7f3eee193018622677e95816e8491f0797b21e30b2deba - languageName: node - linkType: hard - "nwsapi@npm:^2.2.12": - version: 2.2.12 - resolution: "nwsapi@npm:2.2.12" - checksum: 10c0/95e9623d63df111405503df8c5d800e26f71675d319e2c9c70cddfa31e5ace1d3f8b6d98d354544fc156a1506d920ec291e303fab761e4f99296868e199a466e - languageName: node - linkType: hard - -"onetime@npm:^6.0.0": - version: 6.0.0 - resolution: "onetime@npm:6.0.0" - dependencies: - mimic-fn: "npm:^4.0.0" - checksum: 10c0/4eef7c6abfef697dd4479345a4100c382d73c149d2d56170a54a07418c50816937ad09500e1ed1e79d235989d073a9bade8557122aee24f0576ecde0f392bb6c + version: 2.2.13 + resolution: "nwsapi@npm:2.2.13" + checksum: 10c0/9dbd1071bba3570ef0b046c43c03d0584c461063f27539ba39f4185188e9d5c10cb06fd4426cdb300bb83020c3daa2c8f4fa9e8a070299539ac4007433357ac0 languageName: node linkType: hard @@ -6014,7 +5977,16 @@ __metadata: languageName: node linkType: hard -"ora@npm:^8.0.1": +"oniguruma-to-js@npm:0.4.3": + version: 0.4.3 + resolution: "oniguruma-to-js@npm:0.4.3" + dependencies: + regex: "npm:^4.3.2" + checksum: 10c0/47d8a4089b1fd0ae4b9781907a92222ae549756ddb72a177a85fdc3bda8e59ce2840710dd03e448b80c9878aa8f4e14519fccc3652da71fc3e8bc048d5cb6acb + languageName: node + linkType: hard + +"ora@npm:^8.1.0": version: 8.1.0 resolution: "ora@npm:8.1.0" dependencies: @@ -6191,13 +6163,6 @@ __metadata: languageName: node linkType: hard -"path-key@npm:^4.0.0": - version: 4.0.0 - resolution: "path-key@npm:4.0.0" - checksum: 10c0/794efeef32863a65ac312f3c0b0a99f921f3e827ff63afa5cb09a377e202c262b671f7b3832a4e64731003fa94af0263713962d317b9887bd1e0c48a342efba3 - languageName: node - linkType: hard - "path-scurry@npm:^1.11.1": version: 1.11.1 resolution: "path-scurry@npm:1.11.1" @@ -6208,13 +6173,6 @@ __metadata: languageName: node linkType: hard -"path-to-regexp@npm:^6.2.2": - version: 6.3.0 - resolution: "path-to-regexp@npm:6.3.0" - checksum: 10c0/73b67f4638b41cde56254e6354e46ae3a2ebc08279583f6af3d96fe4664fc75788f74ed0d18ca44fa4a98491b69434f9eee73b97bb5314bd1b5adb700f5c18d6 - languageName: node - linkType: hard - "perfect-freehand@npm:^1.2.2": version: 1.2.2 resolution: "perfect-freehand@npm:1.2.2" @@ -6233,7 +6191,7 @@ __metadata: languageName: node linkType: hard -"picocolors@npm:^1.0.0, picocolors@npm:^1.0.1": +"picocolors@npm:^1.0.0, picocolors@npm:^1.0.1, picocolors@npm:^1.1.0": version: 1.1.0 resolution: "picocolors@npm:1.1.0" checksum: 10c0/86946f6032148801ef09c051c6fb13b5cf942eaf147e30ea79edb91dd32d700934edebe782a1078ff859fb2b816792e97ef4dab03d7f0b804f6b01a0df35e023 @@ -6263,14 +6221,14 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.4.41": - version: 8.4.41 - resolution: "postcss@npm:8.4.41" +"postcss@npm:^8.4.43": + version: 8.4.47 + resolution: "postcss@npm:8.4.47" dependencies: nanoid: "npm:^3.3.7" - picocolors: "npm:^1.0.1" - source-map-js: "npm:^1.2.0" - checksum: 10c0/c1828fc59e7ec1a3bf52b3a42f615dba53c67960ed82a81df6441b485fe43c20aba7f4e7c55425762fd99c594ecabbaaba8cf5b30fd79dfec5b52a9f63a2d690 + picocolors: "npm:^1.1.0" + source-map-js: "npm:^1.2.1" + checksum: 10c0/929f68b5081b7202709456532cee2a145c1843d391508c5a09de2517e8c4791638f71dd63b1898dba6712f8839d7a6da046c72a5e44c162e908f5911f57b5f44 languageName: node linkType: hard @@ -6382,13 +6340,13 @@ __metadata: dependencies: "@ark-ui/solid": "npm:^3.5.0" "@astrojs/check": "npm:^0.9.3" - "@astrojs/mdx": "npm:^3.1.4" - "@astrojs/solid-js": "npm:^4.4.1" - "@astrojs/ts-plugin": "npm:^1.10.1" + "@astrojs/mdx": "npm:^3.1.7" + "@astrojs/solid-js": "npm:^4.4.2" + "@astrojs/ts-plugin": "npm:^1.10.2" "@biomejs/biome": "npm:^1.8.3" "@hbsnow/rehype-sectionize": "npm:^1.0.7" "@types/node": "npm:^20.14.11" - astro: "npm:^4.14.5" + astro: "npm:^4.15.9" astro-breadcrumbs: "npm:^2.3.1" astro-pagefind: "npm:^1.6.0" marked: "npm:^14.1.0" @@ -6419,6 +6377,13 @@ __metadata: languageName: node linkType: hard +"regex@npm:^4.3.2": + version: 4.3.2 + resolution: "regex@npm:4.3.2" + checksum: 10c0/bbc1dd348f85ce05407a072324b37cf79fe6506c90a66f520091feff6f3be8b2e04696f7cfa464a9de1ca4291c01390c8c090bbebfcea25affc03a38c94dd5dc + languageName: node + linkType: hard + "rehype-parse@npm:^8.0.0": version: 8.0.5 resolution: "rehype-parse@npm:8.0.5" @@ -6432,13 +6397,13 @@ __metadata: linkType: hard "rehype-parse@npm:^9.0.0": - version: 9.0.0 - resolution: "rehype-parse@npm:9.0.0" + version: 9.0.1 + resolution: "rehype-parse@npm:9.0.1" dependencies: "@types/hast": "npm:^3.0.0" hast-util-from-html: "npm:^2.0.0" unified: "npm:^11.0.0" - checksum: 10c0/c38d07b8bfb5eb3ad6ce8ebdc65ecb31b4c68e440fb020178a34937fa28753d63c70f51146890bf32f840ef6102efdf31e03eb937fc100bc9efa4f4f808a50d2 + checksum: 10c0/efa9ca17673fe70e2d322a1d262796bbed5f6a89382f8f8393352bbd6f6bbf1d4d1d050984b86ff9cb6c0fa2535175ab0829e53c94b1e38fc3c158e6c0ad90bc languageName: node linkType: hard @@ -6454,13 +6419,13 @@ __metadata: linkType: hard "rehype-stringify@npm:^10.0.0": - version: 10.0.0 - resolution: "rehype-stringify@npm:10.0.0" + version: 10.0.1 + resolution: "rehype-stringify@npm:10.0.1" dependencies: "@types/hast": "npm:^3.0.0" hast-util-to-html: "npm:^9.0.0" unified: "npm:^11.0.0" - checksum: 10c0/6a5f763cfc51cefbcfe504c9661da39b2f28e49c6caea085ff7ad97457b9574289076471f6eeca7af6479f1f90fd1bf1e8d176640b66da262372b76a1f1b3147 + checksum: 10c0/c643ae3a4862465033e0f1e9f664433767279b4ee9296570746970a79940417ec1fb1997a513659aab97063cf971c5d97e0af8129f590719f01628c8aa480765 languageName: node linkType: hard @@ -6488,14 +6453,14 @@ __metadata: linkType: hard "rehype@npm:^13.0.1": - version: 13.0.1 - resolution: "rehype@npm:13.0.1" + version: 13.0.2 + resolution: "rehype@npm:13.0.2" dependencies: "@types/hast": "npm:^3.0.0" rehype-parse: "npm:^9.0.0" rehype-stringify: "npm:^10.0.0" unified: "npm:^11.0.0" - checksum: 10c0/9f35e07483376c5ccc49a6889ec74cbee22ca23fe2ed7b60588ab106d31d0b779d3fce10c38f889c9e34d5e9d9f5c2275b6c014f75467ec4af6c1423579556a6 + checksum: 10c0/13d82086b673b3ce1fddb54cc8d30be16bde83fb62f1507f0af06070c94b85d07c3780fa994357bad2c9d51b84e4108ff661677b71d187e4f2167cab22d84363 languageName: node linkType: hard @@ -6901,13 +6866,17 @@ __metadata: languageName: node linkType: hard -"shiki@npm:^1.10.3, shiki@npm:^1.11.0, shiki@npm:^1.14.1": - version: 1.14.1 - resolution: "shiki@npm:1.14.1" +"shiki@npm:^1.10.3, shiki@npm:^1.11.0, shiki@npm:^1.16.2": + version: 1.20.0 + resolution: "shiki@npm:1.20.0" dependencies: - "@shikijs/core": "npm:1.14.1" + "@shikijs/core": "npm:1.20.0" + "@shikijs/engine-javascript": "npm:1.20.0" + "@shikijs/engine-oniguruma": "npm:1.20.0" + "@shikijs/types": "npm:1.20.0" + "@shikijs/vscode-textmate": "npm:^9.2.2" "@types/hast": "npm:^3.0.4" - checksum: 10c0/756f45917f281e158eef114b985b9a4cae9f0470f955e2f96f4473a3aed327dc1d653b9bd6280eb28398bd0da6d533caa4fce61b716c1263c5d85df53964ade2 + checksum: 10c0/2d67e2a8c25734fbec199cdd389f687e93a2cdca1ec7b2914f1fb2b97ecab0eabfd842806f71f3ae77aa0d942636a31f681a9fc5ad04949bed6f8c849915bdc1 languageName: node linkType: hard @@ -7019,10 +6988,10 @@ __metadata: languageName: node linkType: hard -"source-map-js@npm:^1.2.0": - version: 1.2.0 - resolution: "source-map-js@npm:1.2.0" - checksum: 10c0/7e5f896ac10a3a50fe2898e5009c58ff0dc102dcb056ed27a354623a0ece8954d4b2649e1a1b2b52ef2e161d26f8859c7710350930751640e71e374fe2d321a4 +"source-map-js@npm:^1.2.0, source-map-js@npm:^1.2.1": + version: 1.2.1 + resolution: "source-map-js@npm:1.2.1" + checksum: 10c0/7bda1fc4c197e3c6ff17de1b8b2c20e60af81b63a52cb32ec5a5d67a20a7d42651e2cb34ebe93833c5a2a084377e17455854fee3e21e7925c64a51b6a52b0faf languageName: node linkType: hard @@ -7145,13 +7114,6 @@ __metadata: languageName: node linkType: hard -"strip-final-newline@npm:^3.0.0": - version: 3.0.0 - resolution: "strip-final-newline@npm:3.0.0" - checksum: 10c0/a771a17901427bac6293fd416db7577e2bc1c34a19d38351e9d5478c3c415f523f391003b42ed475f27e33a78233035df183525395f731d3bfb8cdcbd4da08ce - languageName: node - linkType: hard - "style-to-object@npm:^0.4.0": version: 0.4.4 resolution: "style-to-object@npm:0.4.4" @@ -7216,21 +7178,28 @@ __metadata: languageName: node linkType: hard -"tldts-core@npm:^6.1.47": - version: 6.1.47 - resolution: "tldts-core@npm:6.1.47" - checksum: 10c0/538372072aea7153e842646a9e22d0d9335acf7fd877d10ee374cf78dceff79a2ccebadf7d25e0dbddd7b7b60bafe1c885aac3e3b1d5bec7806963c89b163ee7 +"tinyexec@npm:^0.3.0": + version: 0.3.0 + resolution: "tinyexec@npm:0.3.0" + checksum: 10c0/138a4f4241aea6b6312559508468ab275a31955e66e2f57ed206e0aaabecee622624f208c5740345f0a66e33478fd065e359ed1eb1269eb6fd4fa25d44d0ba3b + languageName: node + linkType: hard + +"tldts-core@npm:^6.1.48": + version: 6.1.48 + resolution: "tldts-core@npm:6.1.48" + checksum: 10c0/3e635ff51848e2f1bf4f325f1e8c627943c8615cf47e5d5301744798ded49df51d72288f27964ea06e9e0c02f05d75c98d5e89fa468663d315cd80b1d66687b1 languageName: node linkType: hard "tldts@npm:^6.1.32": - version: 6.1.47 - resolution: "tldts@npm:6.1.47" + version: 6.1.48 + resolution: "tldts@npm:6.1.48" dependencies: - tldts-core: "npm:^6.1.47" + tldts-core: "npm:^6.1.48" bin: tldts: bin/cli.js - checksum: 10c0/42c999ab24ce3ab221cfefe77488d145d16d9523524913badaa4af4f1f0d65e0a92a678659b22b7d26d1c62796540c95158049220c9ff243090b93470f236302 + checksum: 10c0/eefa0f871df25159faebcb79e0ae2de83f3fd6bd1f0d19ec87a15d69017a8c887a68eacfdf85d84f36b7a3aaf6583bf2337d22edb1406df7d5dc0aaffb2444f7 languageName: node linkType: hard @@ -7289,7 +7258,7 @@ __metadata: languageName: node linkType: hard -"tsconfck@npm:^3.1.1": +"tsconfck@npm:^3.1.3": version: 3.1.3 resolution: "tsconfck@npm:3.1.3" peerDependencies: @@ -7632,7 +7601,7 @@ __metadata: languageName: node linkType: hard -"vfile@npm:^6.0.0, vfile@npm:^6.0.2": +"vfile@npm:^6.0.0, vfile@npm:^6.0.2, vfile@npm:^6.0.3": version: 6.0.3 resolution: "vfile@npm:6.0.3" dependencies: @@ -7663,13 +7632,13 @@ __metadata: languageName: node linkType: hard -"vite@npm:^5.4.1": - version: 5.4.2 - resolution: "vite@npm:5.4.2" +"vite@npm:^5.4.3": + version: 5.4.8 + resolution: "vite@npm:5.4.8" dependencies: esbuild: "npm:^0.21.3" fsevents: "npm:~2.3.3" - postcss: "npm:^8.4.41" + postcss: "npm:^8.4.43" rollup: "npm:^4.20.0" peerDependencies: "@types/node": ^18.0.0 || >=20.0.0 @@ -7702,7 +7671,7 @@ __metadata: optional: true bin: vite: bin/vite.js - checksum: 10c0/23e347ca8aa6f0a774227e4eb7abae228f12c6806a727b046aa75e7ee37ffc2d68cff74360e12a42c347f79adc294e2363bc723b957bf4b382b5a8fb39e4df9d + checksum: 10c0/af70af6d6316a3af71f44ebe3ab343bd66450d4157af73af3b32239e1b6ec43ff6f651d7cc4193b21ed3bff2e9356a3de9e96aee53857f39922e4a2d9fad75a1 languageName: node linkType: hard @@ -7718,6 +7687,18 @@ __metadata: languageName: node linkType: hard +"vitefu@npm:^1.0.2": + version: 1.0.2 + resolution: "vitefu@npm:1.0.2" + peerDependencies: + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 + peerDependenciesMeta: + vite: + optional: true + checksum: 10c0/8e9f0ed5aff93df7ee7f035a43e2b7d6faeaea201252a52d04181c193b06b53f66e0f26bf20c0e590ee23fe66b329b188c483bdf18b2c45994897394c22a1e6f + languageName: node + linkType: hard + "volar-service-css@npm:0.0.61": version: 0.0.61 resolution: "volar-service-css@npm:0.0.61"