Skip to content

Commit 7327637

Browse files
committed
2 parents 08bd4b3 + 076e0bb commit 7327637

34 files changed

Lines changed: 3805 additions & 4582 deletions

docs/.vitepress/api/gh-icon/dpi/loadWasm.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ if (process.env.NODE_ENV === 'development') {
99

1010
wasm = fs.readFileSync(require.resolve('@resvg/resvg-wasm/index_bg.wasm'));
1111
} else {
12+
// @ts-ignore
1213
wasm = resvg_wasm;
1314
}
1415

docs/.vitepress/lib/codeExamples/createCodeExamples.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { bundledLanguages, getHighlighter, type ThemeRegistration } from 'shikiji';
1+
import { bundledLanguages, createHighlighter, type ThemeRegistration } from 'shiki';
22

33
type CodeExampleType = {
44
title: string;
@@ -112,7 +112,7 @@ export type ThemeOptions =
112112
| { light: ThemeRegistration; dark: ThemeRegistration };
113113

114114
const highLightCode = async (code: string, lang: string, active?: boolean) => {
115-
const highlighter = await getHighlighter({
115+
const highlighter = await createHighlighter({
116116
themes: ['github-light', 'github-dark'],
117117
langs: Object.keys(bundledLanguages),
118118
});

docs/.vitepress/lib/codeExamples/createLabCodeExamples.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { bundledLanguages, type ThemeRegistration } from 'shikiji';
2-
import { getHighlighter } from 'shikiji';
1+
import { bundledLanguages, type ThemeRegistration } from 'shiki';
2+
import { createHighlighter } from 'shiki';
33

44
type CodeExampleType = {
55
title: string;
@@ -119,7 +119,7 @@ export type ThemeOptions =
119119
| { light: ThemeRegistration; dark: ThemeRegistration };
120120

121121
const highLightCode = async (code: string, lang: string, active?: boolean) => {
122-
const highlighter = await getHighlighter({
122+
const highlighter = await createHighlighter({
123123
themes: ['github-light', 'github-dark'],
124124
langs: Object.keys(bundledLanguages),
125125
});

docs/.vitepress/lib/codeExamples/highLightCode.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { bundledLanguages, type ThemeRegistration } from 'shikiji';
2-
import { getHighlighter } from 'shikiji';
1+
import { bundledLanguages, type ThemeRegistration } from 'shiki';
2+
import { createHighlighter } from 'shiki';
33

44
export type ThemeOptions =
55
| ThemeRegistration
66
| { light: ThemeRegistration; dark: ThemeRegistration };
77

88
const highLightCode = async (code: string, lang: string, active?: boolean) => {
9-
const highlighter = await getHighlighter({
9+
const highlighter = await createHighlighter({
1010
themes: ['github-light', 'github-dark'],
1111
langs: Object.keys(bundledLanguages),
1212
});

docs/package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,35 +28,35 @@
2828
"@lucide/build-icons": "workspace:*",
2929
"@lucide/helpers": "workspace:*",
3030
"@lucide/shared": "workspace:*",
31-
"@rollup/plugin-replace": "^6.0.2",
32-
"@types/semver": "^7.5.3",
31+
"@rollup/plugin-replace": "^6.0.3",
32+
"@types/semver": "^7.7.1",
3333
"nitropack": "2.8.1",
3434
"rollup-plugin-copy": "^3.5.0",
35-
"vitepress": "^1.6.3",
36-
"svg-path-commander": "^2.1.11"
35+
"svg-path-commander": "^2.1.11",
36+
"vitepress": "^1.6.4"
3737
},
3838
"dependencies": {
39-
"@floating-ui/vue": "^1.0.3",
40-
"@headlessui/vue": "^1.7.17",
39+
"@floating-ui/vue": "^1.1.9",
40+
"@headlessui/vue": "^1.7.23",
4141
"@resvg/resvg-wasm": "^2.6.2",
42-
"@vueuse/components": "^12.0.0",
43-
"@vueuse/core": "^12.0.0",
42+
"@vueuse/components": "^14.0.0",
43+
"@vueuse/core": "^14.0.0",
4444
"element-to-path": "^1.2.1",
45-
"fuse.js": "^6.5.3",
46-
"jszip": "^3.7.0",
47-
"lodash": "^4.17.20",
45+
"fuse.js": "^7.1.0",
46+
"jszip": "^3.10.1",
47+
"lodash": "^4.17.21",
4848
"lodash-es": "^4.17.21",
4949
"lucide-react": "workspace:*",
5050
"lucide-vue-next": "workspace:*",
51-
"react": "^18.2.0",
52-
"react-dom": "^18.2.0",
51+
"react": "^18.3.1",
52+
"react-dom": "^18.3.1",
5353
"sandpack-vue3": "3.1.11",
54-
"semver": "^7.5.2",
55-
"shikiji": "^0.7.4",
56-
"simple-git": "^3.18.0",
57-
"sitemap": "^7.1.1",
54+
"semver": "^7.7.3",
55+
"shiki": "^3.15.0",
56+
"simple-git": "^3.30.0",
57+
"sitemap": "^7.1.2",
5858
"svg-pathdata": "^6.0.3",
59-
"svgson": "^5.2.1",
60-
"vue": "^3.5.18"
59+
"svgson": "^5.3.1",
60+
"vue": "^3.5.24"
6161
}
6262
}

docs/scripts/writeVercelOutput.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const vercelRouteConfig = {
3232
},
3333
{
3434
src: '(?<url>/api/.*)',
35-
dest: '/__nitro?url=$url',
35+
dest: '/__fallback?url=$url',
3636
},
3737
...iconAliasesRedirectRoutes,
3838
],

icons/book-search.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"$schema": "../icon.schema.json",
3+
"contributors": [
4+
"karsa-mistmere",
5+
"Muhammad-Aqib-Bashir"
6+
],
7+
"tags": [
8+
"reading",
9+
"library",
10+
"study",
11+
"education",
12+
"research",
13+
"knowledge",
14+
"discover",
15+
"browsing",
16+
"lookup",
17+
"finding",
18+
"scanning"
19+
],
20+
"categories": [
21+
"text",
22+
"development",
23+
"gaming"
24+
]
25+
}

icons/book-search.svg

Lines changed: 16 additions & 0 deletions
Loading

icons/form.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"$schema": "../icon.schema.json",
3+
"contributors": [
4+
"jguddas",
5+
"karsa-mistmere"
6+
],
7+
"tags": [
8+
"document",
9+
"page",
10+
"file",
11+
"layout",
12+
"paper",
13+
"stub",
14+
"formality",
15+
"structure",
16+
"template",
17+
"inputs",
18+
"design",
19+
"components"
20+
],
21+
"categories": [
22+
"development"
23+
]
24+
}

icons/form.svg

Lines changed: 16 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)