Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deps of website docs #3891

Merged
merged 11 commits into from
Sep 16, 2024
4,577 changes: 1,824 additions & 2,753 deletions website/docs/package-lock.json

Large diffs are not rendered by default.

39 changes: 18 additions & 21 deletions website/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,40 +27,37 @@
"@docsearch/js": "^3.4.0",
"@playwright/test": "^1.28.1",
"@rollup/plugin-json": "^6.0.0",
"@sveltejs/adapter-static": "^2.0.2",
"@sveltejs/kit": "^1.20.4",
"@sveltejs/adapter-static": "^3.0.4",
"@sveltejs/kit": "^2.5.25",
"@types/lodash.orderby": "^4.6.7",
"algoliasearch": "^4.17.0",
"cpy-cli": "^4.2.0",
"hastscript": "^7.2.0",
"hastscript": "^9.0.0",
"hogan.js": "^3.0.2",
"rehype-autolink-headings": "^7.1.0",
"rehype-format": "^4.0.1",
"rehype-slug": "^5.1.0",
"rehype-stringify": "^9.0.3",
"rehype-format": "^5.0.0",
"rehype-slug": "^6.0.0",
"rehype-stringify": "^10.0.0",
"sass": "^1.62.1",
"sirv-cli": "^2.0.2",
"svelte": "^4.2.8",
"svelte-check": "^3.4.3",
"tslib": "^2.4.1",
"svelte-check": "^4.0.0",
"typescript": "^5.3.3",
"vite": "^4.4.2",
"vitest": "^0.34.6"
"vite": "^5.4.3",
"vitest": "^2.0.5"
},
"dependencies": {
"@agentofuser/rehype-section": "^1.0.5",
"@luigi-project/client": "^2.2.0",
"@luigi-project/core": "^2.0.1",
"@luigi-project/client": "2.2.0",
"@luigi-project/core": "2.0.1",
"esbuild": "^0.18.20",
"hast-util-has-property": "^2.0.1",
"lodash": "^4.17.21",
"hast-util-has-property": "3.0.0",
"lodash.orderby": "^4.6.0",
"rehype-raw": "^6.1.1",
"remark-frontmatter": "^4.0.1",
"remark-parse": "^10.0.1",
"remark-rehype": "^10.1.0",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.2"
"rehype-raw": "^7.0.0",
"remark-frontmatter": "^5.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.0",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0"
},
"engines": {
"node": ">=18.19.1"
Expand Down
8 changes: 0 additions & 8 deletions website/docs/src/luigi-config/extended/resultRender.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,14 +218,6 @@ export default class ResultRender {
}
return results;
}
createAttribute(type, attributes){
let elem = document.createElement(type);
if (!attributes){
return elem;
}
Object.keys(attributes).forEach(key => elem.setAttribute(key, attributes[key]))
return elem;
}
}


6 changes: 3 additions & 3 deletions website/docs/src/luigi-config/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -289,12 +289,12 @@ $side-nav-width-mobile: 260px;


.fd-top-nav__icon {
line-height: 0;
margin-top: -3rem;

&:before {
margin-top: 0 !important;
}

line-height: 0;
margin-top: -3rem;
}

&:hover,
Expand Down
2 changes: 1 addition & 1 deletion website/docs/src/luigi-config/styles/search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $fd-search-closed-control-body-width: 220px;
}
}
}
@media screen and (max-width: $desktopMinWidth - 1px) {
@media screen and (max-width: ($desktopMinWidth - 1px)) {

.algolia-autocomplete {

Expand Down
6 changes: 3 additions & 3 deletions website/docs/src/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ body {
}

li {
position: relative;
padding-left: 20px;

list-style: none;

&:before {
Expand All @@ -209,8 +212,6 @@ body {
top: 12px;
}

position: relative;
padding-left: 20px;
}
}

Expand Down Expand Up @@ -336,7 +337,6 @@ body {
display: block;
width: 1px;
min-width: 100%;
*width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
border: 1px solid $powder-blue;
Expand Down
2 changes: 1 addition & 1 deletion website/docs/svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { vitePreprocess } from '@sveltejs/kit/vite';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
import staticAdapter from '@sveltejs/adapter-static';

/** @type {import('@sveltejs/kit').Config} */
Expand Down