Move data-sveltekit-* attributes to parent level when possible

This commit is contained in:
2022-08-31 09:43:52 +02:00
parent 3618414aa0
commit 1de3c717b2
15 changed files with 121 additions and 125 deletions

View File

@@ -15,7 +15,7 @@
"lint": "eslint --ignore-path .gitignore ."
},
"dependencies": {
"@studio-freight/lenis": "^0.1.17",
"@studio-freight/lenis": "^0.1.18",
"dayjs": "^1.11.5",
"embla-carousel": "^7.0.1",
"focus-visible": "^5.2.0",
@@ -25,12 +25,12 @@
"tweakpane": "^3.1.0"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^1.0.0-next.69",
"@sveltejs/adapter-auto": "^1.0.0-next.70",
"@sveltejs/adapter-node": "^1.0.0-next.88",
"@sveltejs/adapter-vercel": "^1.0.0-next.71",
"@sveltejs/kit": "^1.0.0-next.454",
"@typescript-eslint/eslint-plugin": "^5.36.0",
"@typescript-eslint/parser": "^5.36.0",
"@sveltejs/adapter-vercel": "^1.0.0-next.72",
"@sveltejs/kit": "^1.0.0-next.456",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"browserslist": "^4.21.3",
"cssnano": "^5.1.13",
"eslint": "^8.23.0",
@@ -40,7 +40,7 @@
"postcss-normalize": "^10.0.1",
"postcss-preset-env": "^7.8.0",
"postcss-sort-media-queries": "^4.2.1",
"sass": "^1.54.6",
"sass": "^1.54.7",
"svelte": "^3.49.0",
"svelte-check": "^2.9.0",
"svelte-preprocess": "^4.10.7",

174
pnpm-lock.yaml generated
View File

@@ -1,13 +1,13 @@
lockfileVersion: 5.4
specifiers:
'@studio-freight/lenis': ^0.1.17
'@sveltejs/adapter-auto': ^1.0.0-next.69
'@studio-freight/lenis': ^0.1.18
'@sveltejs/adapter-auto': ^1.0.0-next.70
'@sveltejs/adapter-node': ^1.0.0-next.88
'@sveltejs/adapter-vercel': ^1.0.0-next.71
'@sveltejs/kit': ^1.0.0-next.454
'@typescript-eslint/eslint-plugin': ^5.36.0
'@typescript-eslint/parser': ^5.36.0
'@sveltejs/adapter-vercel': ^1.0.0-next.72
'@sveltejs/kit': ^1.0.0-next.456
'@typescript-eslint/eslint-plugin': ^5.36.1
'@typescript-eslint/parser': ^5.36.1
browserslist: ^4.21.3
cssnano: ^5.1.13
dayjs: ^1.11.5
@@ -23,7 +23,7 @@ specifiers:
postcss-preset-env: ^7.8.0
postcss-sort-media-queries: ^4.2.1
sanitize.css: ^13.0.0
sass: ^1.54.6
sass: ^1.54.7
svelte: ^3.49.0
svelte-check: ^2.9.0
svelte-preprocess: ^4.10.7
@@ -34,7 +34,7 @@ specifiers:
vite: ^3.1.0-beta.1
dependencies:
'@studio-freight/lenis': 0.1.17
'@studio-freight/lenis': 0.1.18
dayjs: 1.11.5
embla-carousel: 7.0.1
focus-visible: 5.2.0
@@ -44,12 +44,12 @@ dependencies:
tweakpane: 3.1.0
devDependencies:
'@sveltejs/adapter-auto': 1.0.0-next.69
'@sveltejs/adapter-auto': 1.0.0-next.70
'@sveltejs/adapter-node': 1.0.0-next.88
'@sveltejs/adapter-vercel': 1.0.0-next.71
'@sveltejs/kit': 1.0.0-next.454_fhgkwirxvgjw2igda6zmhiisma
'@typescript-eslint/eslint-plugin': 5.36.0_3g5q5capxpyhialyvs33l4nssm
'@typescript-eslint/parser': 5.36.0_yqf6kl63nyoq5megxukfnom5rm
'@sveltejs/adapter-vercel': 1.0.0-next.72
'@sveltejs/kit': 1.0.0-next.456_fhgkwirxvgjw2igda6zmhiisma
'@typescript-eslint/eslint-plugin': 5.36.1_lbwfnm54o3pmr3ypeqp3btnera
'@typescript-eslint/parser': 5.36.1_yqf6kl63nyoq5megxukfnom5rm
browserslist: 4.21.3
cssnano: 5.1.13_postcss@8.4.16
eslint: 8.23.0
@@ -59,19 +59,19 @@ devDependencies:
postcss-normalize: 10.0.1_mu2kzpkteq3ketk6piffleamkq
postcss-preset-env: 7.8.0_postcss@8.4.16
postcss-sort-media-queries: 4.2.1_postcss@8.4.16
sass: 1.54.6
sass: 1.54.7
svelte: 3.49.0
svelte-check: 2.9.0_xzmvipx3wq4maunbkqcp62xq6e
svelte-preprocess: 4.10.7_nozdszetrsxbbjg2vjoyvjpjoi
svelte-check: 2.9.0_c6x723yp7pdz7iha3ksnylcgzy
svelte-preprocess: 4.10.7_2lciotjd6bilkiadfxmz6rz2jm
swell-node: 4.0.10
tslib: 2.4.0
typescript: 4.8.2
vite: 3.1.0-beta.1_sass@1.54.6
vite: 3.1.0-beta.1_sass@1.54.7
packages:
/@cloudflare/workers-types/3.14.1:
resolution: {integrity: sha512-B1/plF62pt+H2IJHvApK8fdOJAVsvojvacuac8x8s+JIyqbropMyqNqHTKLm3YD8ZFLGwYeFTudU+PQ7vGvBdA==}
/@cloudflare/workers-types/3.15.0:
resolution: {integrity: sha512-meL/Afy5qdIsgfdnlbVfcYUh/YjHk23EWUvgmULf6iDrDbrBcd+fse2os3CC7rxSfScdP1OqJVTHgRSEjUm/Pw==}
dev: true
/@csstools/normalize.css/12.0.0:
@@ -415,19 +415,19 @@ packages:
picomatch: 2.3.1
dev: true
/@studio-freight/lenis/0.1.17:
resolution: {integrity: sha512-ILZDZb18KG2UKAVj4G7X1nDo2Nx/CO8CjSJR29IZbSpmgZrmc0NAIlb2xnkVM/j8jFP7MWAumRZmss+5ws+BdQ==}
/@studio-freight/lenis/0.1.18:
resolution: {integrity: sha512-NLlkTD+hqbg1nYSvP7NY3dZcdKrMJCvDvsoGM1xbnfsTxGr/FnB6y/0Gu6CqoIWyPnRiUrMgafSgoQVWwfwQPg==}
dependencies:
tiny-emitter: 2.1.0
virtual-scroll: 2.2.1
dev: false
/@sveltejs/adapter-auto/1.0.0-next.69:
resolution: {integrity: sha512-DSrcYgrJ1YFnxJecTiktV4A01B2Avn5t6HvO49YJiGp2mdSxCxJbvqn6I4tPB1T64AInBLFUMmKBK9o9ZJbBMA==}
/@sveltejs/adapter-auto/1.0.0-next.70:
resolution: {integrity: sha512-FJlDO6oUqbuFJjQoguGb4gdBj3iCSM3evFXkBpQ7hvwu3y2gKbcdzsxdn9tZ5LzkHh79CeJcwiszXFQ8usKk/A==}
dependencies:
'@sveltejs/adapter-cloudflare': 1.0.0-next.32
'@sveltejs/adapter-netlify': 1.0.0-next.75
'@sveltejs/adapter-vercel': 1.0.0-next.71
'@sveltejs/adapter-vercel': 1.0.0-next.72
transitivePeerDependencies:
- encoding
- supports-color
@@ -436,7 +436,7 @@ packages:
/@sveltejs/adapter-cloudflare/1.0.0-next.32:
resolution: {integrity: sha512-tzkUsdQlBk9xUjcGUOBYos4HKaeaXvz9v4TQ1QS2yIHEtL5xvMEDPZ94/DB2gPL4LZCnYbdY2lsy5HCsoN0hkQ==}
dependencies:
'@cloudflare/workers-types': 3.14.1
'@cloudflare/workers-types': 3.15.0
esbuild: 0.14.54
worktop: 0.8.0-next.14
dev: true
@@ -456,8 +456,8 @@ packages:
esbuild: 0.14.54
dev: true
/@sveltejs/adapter-vercel/1.0.0-next.71:
resolution: {integrity: sha512-Tj8za7fMXheaiB6hNqv61jr/AmAUm+G8huoY1cIvtSqqBHzGmiZH+GFK1Tq/e8e0XR2Xb/ZpZCQSyrFLU2grIQ==}
/@sveltejs/adapter-vercel/1.0.0-next.72:
resolution: {integrity: sha512-oNs8FQaYC2NnwDcvX/jc9MDNqXc9HxwGPQNkd+1vBpFVWZl9mShQgCcOMzfTOIH0ka984jYNa0ZawYYHex79xg==}
dependencies:
'@vercel/nft': 0.22.0
esbuild: 0.14.54
@@ -466,8 +466,8 @@ packages:
- supports-color
dev: true
/@sveltejs/kit/1.0.0-next.454_fhgkwirxvgjw2igda6zmhiisma:
resolution: {integrity: sha512-Adbd837/E8B8TPVPlQZT4R0o3NekmtyUEYnI46M/YupMtg1NnaVdLF8Na6xoivtnIY7dP5H10zGJhGsTon3fPQ==}
/@sveltejs/kit/1.0.0-next.456_fhgkwirxvgjw2igda6zmhiisma:
resolution: {integrity: sha512-yzYoRtRPqVTcIehfxXptZzH5bDN/19cqTrrJ1KM0Ju5BrpRsRvqLYlZBYBaDv0bx1MdfJkUJlPVchLbS6bsRXw==}
engines: {node: '>=16.14'}
hasBin: true
requiresBuild: true
@@ -475,11 +475,11 @@ packages:
svelte: ^3.44.0
vite: ^3.1.0-beta.1
dependencies:
'@sveltejs/vite-plugin-svelte': 1.0.2_fhgkwirxvgjw2igda6zmhiisma
'@sveltejs/vite-plugin-svelte': 1.0.3_fhgkwirxvgjw2igda6zmhiisma
cookie: 0.5.0
devalue: 3.1.2
kleur: 4.1.5
magic-string: 0.26.2
magic-string: 0.26.3
mime: 3.0.0
node-fetch: 3.2.10
sade: 1.8.1
@@ -488,14 +488,14 @@ packages:
svelte: 3.49.0
tiny-glob: 0.2.9
undici: 5.10.0
vite: 3.1.0-beta.1_sass@1.54.6
vite: 3.1.0-beta.1_sass@1.54.7
transitivePeerDependencies:
- diff-match-patch
- supports-color
dev: true
/@sveltejs/vite-plugin-svelte/1.0.2_fhgkwirxvgjw2igda6zmhiisma:
resolution: {integrity: sha512-8tTVbNuraeDchBaArNbwaZLpO0feM7BRSdZU5yeM4Clasx2p1p1CYBoWh+VgxZlxiark49HXummkHqKztbl8lA==}
/@sveltejs/vite-plugin-svelte/1.0.3_fhgkwirxvgjw2igda6zmhiisma:
resolution: {integrity: sha512-0Qu51m2W9RBlxWPp8i31KJpnqmjWMOne8vAzgmOX6ZM9uX+/RAv6BNhEMcNoP5MsyLjyW1ZTCiJoaZZ5EeqpFg==}
engines: {node: ^14.18.0 || >= 16}
peerDependencies:
diff-match-patch: ^1.0.5
@@ -509,10 +509,10 @@ packages:
debug: 4.3.4
deepmerge: 4.2.2
kleur: 4.1.5
magic-string: 0.26.2
magic-string: 0.26.3
svelte: 3.49.0
svelte-hmr: 0.14.12_svelte@3.49.0
vite: 3.1.0-beta.1_sass@1.54.6
vite: 3.1.0-beta.1_sass@1.54.7
transitivePeerDependencies:
- supports-color
dev: true
@@ -540,8 +540,8 @@ packages:
'@types/node': 18.7.14
dev: true
/@typescript-eslint/eslint-plugin/5.36.0_3g5q5capxpyhialyvs33l4nssm:
resolution: {integrity: sha512-X3In41twSDnYRES7hO2xna4ZC02SY05UN9sGW//eL1P5k4CKfvddsdC2hOq0O3+WU1wkCPQkiTY9mzSnXKkA0w==}
/@typescript-eslint/eslint-plugin/5.36.1_lbwfnm54o3pmr3ypeqp3btnera:
resolution: {integrity: sha512-iC40UK8q1tMepSDwiLbTbMXKDxzNy+4TfPWgIL661Ym0sD42vRcQU93IsZIrmi+x292DBr60UI/gSwfdVYexCA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
'@typescript-eslint/parser': ^5.0.0
@@ -551,10 +551,10 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/parser': 5.36.0_yqf6kl63nyoq5megxukfnom5rm
'@typescript-eslint/scope-manager': 5.36.0
'@typescript-eslint/type-utils': 5.36.0_yqf6kl63nyoq5megxukfnom5rm
'@typescript-eslint/utils': 5.36.0_yqf6kl63nyoq5megxukfnom5rm
'@typescript-eslint/parser': 5.36.1_yqf6kl63nyoq5megxukfnom5rm
'@typescript-eslint/scope-manager': 5.36.1
'@typescript-eslint/type-utils': 5.36.1_yqf6kl63nyoq5megxukfnom5rm
'@typescript-eslint/utils': 5.36.1_yqf6kl63nyoq5megxukfnom5rm
debug: 4.3.4
eslint: 8.23.0
functional-red-black-tree: 1.0.1
@@ -567,8 +567,8 @@ packages:
- supports-color
dev: true
/@typescript-eslint/parser/5.36.0_yqf6kl63nyoq5megxukfnom5rm:
resolution: {integrity: sha512-dlBZj7EGB44XML8KTng4QM0tvjI8swDh8MdpE5NX5iHWgWEfIuqSfSE+GPeCrCdj7m4tQLuevytd57jNDXJ2ZA==}
/@typescript-eslint/parser/5.36.1_yqf6kl63nyoq5megxukfnom5rm:
resolution: {integrity: sha512-/IsgNGOkBi7CuDfUbwt1eOqUXF9WGVBW9dwEe1pi+L32XrTsZIgmDFIi2RxjzsvB/8i+MIf5JIoTEH8LOZ368A==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
@@ -577,9 +577,9 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/scope-manager': 5.36.0
'@typescript-eslint/types': 5.36.0
'@typescript-eslint/typescript-estree': 5.36.0_typescript@4.8.2
'@typescript-eslint/scope-manager': 5.36.1
'@typescript-eslint/types': 5.36.1
'@typescript-eslint/typescript-estree': 5.36.1_typescript@4.8.2
debug: 4.3.4
eslint: 8.23.0
typescript: 4.8.2
@@ -587,16 +587,16 @@ packages:
- supports-color
dev: true
/@typescript-eslint/scope-manager/5.36.0:
resolution: {integrity: sha512-PZUC9sz0uCzRiuzbkh6BTec7FqgwXW03isumFVkuPw/Ug/6nbAqPUZaRy4w99WCOUuJTjhn3tMjsM94NtEj64g==}
/@typescript-eslint/scope-manager/5.36.1:
resolution: {integrity: sha512-pGC2SH3/tXdu9IH3ItoqciD3f3RRGCh7hb9zPdN2Drsr341zgd6VbhP5OHQO/reUqihNltfPpMpTNihFMarP2w==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
'@typescript-eslint/types': 5.36.0
'@typescript-eslint/visitor-keys': 5.36.0
'@typescript-eslint/types': 5.36.1
'@typescript-eslint/visitor-keys': 5.36.1
dev: true
/@typescript-eslint/type-utils/5.36.0_yqf6kl63nyoq5megxukfnom5rm:
resolution: {integrity: sha512-W/E3yJFqRYsjPljJ2gy0YkoqLJyViWs2DC6xHkXcWyhkIbCDdaVnl7mPLeQphVI+dXtY05EcXFzWLXhq8Mm/lQ==}
/@typescript-eslint/type-utils/5.36.1_yqf6kl63nyoq5megxukfnom5rm:
resolution: {integrity: sha512-xfZhfmoQT6m3lmlqDvDzv9TiCYdw22cdj06xY0obSznBsT///GK5IEZQdGliXpAOaRL34o8phEvXzEo/VJx13Q==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: '*'
@@ -605,8 +605,8 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/typescript-estree': 5.36.0_typescript@4.8.2
'@typescript-eslint/utils': 5.36.0_yqf6kl63nyoq5megxukfnom5rm
'@typescript-eslint/typescript-estree': 5.36.1_typescript@4.8.2
'@typescript-eslint/utils': 5.36.1_yqf6kl63nyoq5megxukfnom5rm
debug: 4.3.4
eslint: 8.23.0
tsutils: 3.21.0_typescript@4.8.2
@@ -615,13 +615,13 @@ packages:
- supports-color
dev: true
/@typescript-eslint/types/5.36.0:
resolution: {integrity: sha512-3JJuLL1r3ljRpFdRPeOtgi14Vmpx+2JcR6gryeORmW3gPBY7R1jNYoq4yBN1L//ONZjMlbJ7SCIwugOStucYiQ==}
/@typescript-eslint/types/5.36.1:
resolution: {integrity: sha512-jd93ShpsIk1KgBTx9E+hCSEuLCUFwi9V/urhjOWnOaksGZFbTOxAT47OH2d4NLJnLhkVD+wDbB48BuaycZPLBg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
/@typescript-eslint/typescript-estree/5.36.0_typescript@4.8.2:
resolution: {integrity: sha512-EW9wxi76delg/FS9+WV+fkPdwygYzRrzEucdqFVWXMQWPOjFy39mmNNEmxuO2jZHXzSQTXzhxiU1oH60AbIw9A==}
/@typescript-eslint/typescript-estree/5.36.1_typescript@4.8.2:
resolution: {integrity: sha512-ih7V52zvHdiX6WcPjsOdmADhYMDN15SylWRZrT2OMy80wzKbc79n8wFW0xpWpU0x3VpBz/oDgTm2xwDAnFTl+g==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
typescript: '*'
@@ -629,8 +629,8 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/types': 5.36.0
'@typescript-eslint/visitor-keys': 5.36.0
'@typescript-eslint/types': 5.36.1
'@typescript-eslint/visitor-keys': 5.36.1
debug: 4.3.4
globby: 11.1.0
is-glob: 4.0.3
@@ -641,16 +641,16 @@ packages:
- supports-color
dev: true
/@typescript-eslint/utils/5.36.0_yqf6kl63nyoq5megxukfnom5rm:
resolution: {integrity: sha512-wAlNhXXYvAAUBbRmoJDywF/j2fhGLBP4gnreFvYvFbtlsmhMJ4qCKVh/Z8OP4SgGR3xbciX2nmG639JX0uw1OQ==}
/@typescript-eslint/utils/5.36.1_yqf6kl63nyoq5megxukfnom5rm:
resolution: {integrity: sha512-lNj4FtTiXm5c+u0pUehozaUWhh7UYKnwryku0nxJlYUEWetyG92uw2pr+2Iy4M/u0ONMKzfrx7AsGBTCzORmIg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
dependencies:
'@types/json-schema': 7.0.11
'@typescript-eslint/scope-manager': 5.36.0
'@typescript-eslint/types': 5.36.0
'@typescript-eslint/typescript-estree': 5.36.0_typescript@4.8.2
'@typescript-eslint/scope-manager': 5.36.1
'@typescript-eslint/types': 5.36.1
'@typescript-eslint/typescript-estree': 5.36.1_typescript@4.8.2
eslint: 8.23.0
eslint-scope: 5.1.1
eslint-utils: 3.0.0_eslint@8.23.0
@@ -659,11 +659,11 @@ packages:
- typescript
dev: true
/@typescript-eslint/visitor-keys/5.36.0:
resolution: {integrity: sha512-pdqSJwGKueOrpjYIex0T39xarDt1dn4p7XJ+6FqBWugNQwXlNGC5h62qayAIYZ/RPPtD+ButDWmpXT1eGtiaYg==}
/@typescript-eslint/visitor-keys/5.36.1:
resolution: {integrity: sha512-ojB9aRyRFzVMN3b5joSYni6FAS10BBSCAfKJhjJAV08t/a95aM6tAhz+O1jF+EtgxktuSO3wJysp2R+Def/IWQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
'@typescript-eslint/types': 5.36.0
'@typescript-eslint/types': 5.36.1
eslint-visitor-keys: 3.3.0
dev: true
@@ -776,7 +776,7 @@ packages:
postcss: ^8.1.0
dependencies:
browserslist: 4.21.3
caniuse-lite: 1.0.30001385
caniuse-lite: 1.0.30001387
fraction.js: 4.2.0
normalize-range: 0.1.2
picocolors: 1.0.0
@@ -822,8 +822,8 @@ packages:
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true
dependencies:
caniuse-lite: 1.0.30001385
electron-to-chromium: 1.4.234
caniuse-lite: 1.0.30001387
electron-to-chromium: 1.4.237
node-releases: 2.0.6
update-browserslist-db: 1.0.5_browserslist@4.21.3
dev: true
@@ -841,13 +841,13 @@ packages:
resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==}
dependencies:
browserslist: 4.21.3
caniuse-lite: 1.0.30001385
caniuse-lite: 1.0.30001387
lodash.memoize: 4.1.2
lodash.uniq: 4.5.0
dev: true
/caniuse-lite/1.0.30001385:
resolution: {integrity: sha512-MpiCqJGhBkHgpyimE9GWmZTnyHyEEM35u115bD3QBrXpjvL/JgcP8cUhKJshfmg4OtEHFenifcK5sZayEw5tvQ==}
/caniuse-lite/1.0.30001387:
resolution: {integrity: sha512-fKDH0F1KOJvR+mWSOvhj8lVRr/Q/mc5u5nabU2vi1/sgvlSqEsE8dOq0Hy/BqVbDkCYQPRRHB1WRjW6PGB/7PA==}
dev: true
/chalk/4.1.2:
@@ -1154,8 +1154,8 @@ packages:
domhandler: 4.3.1
dev: true
/electron-to-chromium/1.4.234:
resolution: {integrity: sha512-VqlJ4Ihd9F7eQIfwEtf7C0eZZDl6bQtpez8vx8VHN9iCZEzePZjr7n9OGFHSav4WN9zfLa2CFLowj0siBoc0hQ==}
/electron-to-chromium/1.4.237:
resolution: {integrity: sha512-vxVyGJcsgArNOVUJcXm+7iY3PJAfmSapEszQD1HbyPLl0qoCmNQ1o/EX3RI7Et5/88In9oLxX3SGF8J3orkUgA==}
dev: true
/embla-carousel/7.0.1:
@@ -1892,8 +1892,8 @@ packages:
sourcemap-codec: 1.4.8
dev: true
/magic-string/0.26.2:
resolution: {integrity: sha512-NzzlXpclt5zAbmo6h6jNc8zl2gNRGHvmsZW4IvZhTC4W7k4OlLP+S5YLussa/r3ixNT66KOQfNORlXHSOy/X4A==}
/magic-string/0.26.3:
resolution: {integrity: sha512-u1Po0NDyFcwdg2nzHT88wSK0+Rih0N1M+Ph1Sp08k8yvFFU3KR72wryS7e1qMPJypt99WB7fIFVCA92mQrMjrg==}
engines: {node: '>=12'}
dependencies:
sourcemap-codec: 1.4.8
@@ -2955,8 +2955,8 @@ packages:
/sanitize.css/13.0.0:
resolution: {integrity: sha512-ZRwKbh/eQ6w9vmTjkuG0Ioi3HBwPFce0O+v//ve+aOq1oeCy7jMV2qzzAlpsNuqpqCBjjriM1lbtZbF/Q8jVyA==}
/sass/1.54.6:
resolution: {integrity: sha512-DUqJjR2WxXBcZjRSZX5gCVyU+9fuC2qDfFzoKX9rV4rCOcec5mPtEafTcfsyL3YJuLONjWylBne+uXVh5rrmFw==}
/sass/1.54.7:
resolution: {integrity: sha512-3q7MQz7sCpVG6TLhUfZwGOcd2/sm2ghYN2JEdRjNiW04ILdvahdo9GuAs+bxsxZ3hDCKv+wUT5w0iFWGU0CxlA==}
engines: {node: '>=12.0.0'}
hasBin: true
dependencies:
@@ -3107,7 +3107,7 @@ packages:
engines: {node: '>= 0.4'}
dev: true
/svelte-check/2.9.0_xzmvipx3wq4maunbkqcp62xq6e:
/svelte-check/2.9.0_c6x723yp7pdz7iha3ksnylcgzy:
resolution: {integrity: sha512-9AVrtP7WbfDgCdqTZNPdj5CCCy1OrYMxFVWAWzNw7fl93c9klFJFtqzVXa6fovfQ050CcpUyJE2dPFL9TFAREw==}
hasBin: true
peerDependencies:
@@ -3120,7 +3120,7 @@ packages:
picocolors: 1.0.0
sade: 1.8.1
svelte: 3.49.0
svelte-preprocess: 4.10.7_nozdszetrsxbbjg2vjoyvjpjoi
svelte-preprocess: 4.10.7_2lciotjd6bilkiadfxmz6rz2jm
typescript: 4.8.2
transitivePeerDependencies:
- '@babel/core'
@@ -3144,7 +3144,7 @@ packages:
svelte: 3.49.0
dev: true
/svelte-preprocess/4.10.7_nozdszetrsxbbjg2vjoyvjpjoi:
/svelte-preprocess/4.10.7_2lciotjd6bilkiadfxmz6rz2jm:
resolution: {integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==}
engines: {node: '>= 9.11.2'}
requiresBuild: true
@@ -3190,7 +3190,7 @@ packages:
detect-indent: 6.1.0
magic-string: 0.25.9
postcss: 8.4.16
sass: 1.54.6
sass: 1.54.7
sorcery: 0.10.0
strip-indent: 3.0.0
svelte: 3.49.0
@@ -3335,7 +3335,7 @@ packages:
tiny-emitter: 2.1.0
dev: false
/vite/3.1.0-beta.1_sass@1.54.6:
/vite/3.1.0-beta.1_sass@1.54.7:
resolution: {integrity: sha512-JGEnWSC0hfarcduTCQr6wnRjPLbT62iLCK59HBJXYt9oyWSUMtrvcnDqzvLFC+lHV6KGFQkmWlZucyIQmgUnLA==}
engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true
@@ -3358,7 +3358,7 @@ packages:
postcss: 8.4.16
resolve: 1.22.1
rollup: 2.78.1
sass: 1.54.6
sass: 1.54.7
optionalDependencies:
fsevents: 2.3.2
dev: true

View File

@@ -12,7 +12,7 @@
</script>
<a href={url} class="box-cta"
data-sveltekit-noscroll data-sveltekit-prefetch={url.includes('http') ? true : undefined}
data-sveltekit-prefetch={url.includes('http') ? true : undefined}
>
<div class="icon">
<Icon icon={icon} label={alt} />

View File

@@ -40,7 +40,7 @@
</div>
<div class="house__photo grid" class:not-landscape={ratio < 1.475}>
<a href={url} data-sveltekit-noscroll tabindex="0">
<a href={url} tabindex="0">
<figure class="house__image shadow-photo">
<Image
class="photo"

View File

@@ -69,7 +69,6 @@
<a href="/{location.country.slug}/{location.slug}"
on:mousemove={handleMouseMove}
on:mouseleave={handleMouseLeave}
data-sveltekit-noscroll
tabindex="0"
>
<Image

View File

@@ -60,12 +60,10 @@
</span>
</button>
<ul class="switcher__links">
<ul class="switcher__links" data-sveltekit-noscroll data-sveltekit-prefetch>
{#each switcher_links as { text, url, icon, icon_label }}
<li class:is-active={$page.url.pathname === url}>
<a href={url} on:click={toggleSwitcher} tabindex="0"
data-sveltekit-noscroll data-sveltekit-prefetch
>
<a href={url} on:click={toggleSwitcher} tabindex="0">
<Icon class="icon" icon={icon} label={icon_label} />
<span>{text}</span>
</a>

View File

@@ -19,10 +19,10 @@
</a>
<nav class="footer__links">
<ul>
<ul data-sveltekit-prefetch data-sveltekit-noscroll>
{#each footer_links as { title, slug }}
<li>
<a href="/{slug}" class="link-3d" data-sveltekit-prefetch data-sveltekit-noscroll tabindex="0">
<a href="/{slug}" class="link-3d" tabindex="0">
<SplitText text={title} clone={true} />
</a>
</li>

View File

@@ -122,10 +122,10 @@
</div>
{#if enableMarkers}
<ul class="globe__markers">
<ul class="globe__markers" data-sveltekit-noscroll>
{#each markers as { name, slug, country, lat, lng }}
<li class="globe__marker" data-location={slug} data-lat={lat} data-lng={lng}>
<a href="/{country.slug}/{slug}" data-sveltekit-noscroll>
<a href="/{country.slug}/{slug}">
<dl>
<dt class="title-small">{name}</dt>
<dd class="text-label text-label--small">{country.name}</dd>
@@ -141,10 +141,10 @@
{#if popinOpen}
<div class="globe__popin" transition:fly={{ y: 16, duration: 500, easing: quartOut }}>
<ul>
<ul data-sveltekit-noscroll>
{#each clusterLocations as { name, slug, country }}
<li>
<a href="/{country.slug}/{slug}" data-sveltekit-noscroll tabindex="0">
<a href="/{country.slug}/{slug}" tabindex="0">
<Image
class="flag"
id={country.flag.id}

View File

@@ -19,6 +19,6 @@
}
</style>
<ul class="list-cta">
<ul class="list-cta" data-sveltekit-noscroll>
<slot />
</ul>

View File

@@ -65,7 +65,7 @@
{/each}
</ul>
<ul class="browse__locations"
<ul class="browse__locations" data-sveltekit-noscroll
use:reveal={{
children: '.location',
animation: { y: ['20%', 0], opacity: [0, 1] },

View File

@@ -113,10 +113,10 @@
<div class="container">
<p class="text-label">Choose a city</p>
<nav>
<ul>
<ul data-sveltekit-noscroll data-sveltekit-prefetch>
{#each shopLocations as { name, slug }}
<li class:is-active={product && slug === product.location.slug}>
<a href="/shop/poster-{slug}" on:click={() => smoothScroll({ hash: 'poster' })} data-sveltekit-prefetch data-sveltekit-noscroll>
<a href="/shop/poster-{slug}" on:click={() => smoothScroll({ hash: 'poster' })}>
{name}
</a>
</li>

View File

@@ -118,15 +118,6 @@
<DiscoverText />
<ListCTAs>
<li>
<BoxCTA
url="#locations"
icon="globe"
label="Discover locations"
alt="Globe"
on:click={() => smoothScroll({ hash: 'locations' })}
/>
</li>
<li>
<BoxCTA
url="/photos"
@@ -143,6 +134,14 @@
alt="Shopping bag"
/>
</li>
<li>
<BoxCTA
url="/about"
icon="compass"
label="Learn about the project"
alt="Compass"
/>
</li>
</ListCTAs>
</div>

View File

@@ -282,7 +282,7 @@
</section>
{#if photos.length}
<section class="location-page__houses" bind:this={photosListEl}>
<section class="location-page__houses" bind:this={photosListEl} data-sveltekit-noscroll>
{#each photos as { title, image: { id, title: alt, width, height }, slug, city, date_taken }, index}
<House
{title}

View File

@@ -117,11 +117,11 @@
{/if}
</dt>
<dd>
<ul>
<ul data-sveltekit-noscroll>
{#each location as loc}
{#if loc.location_id}
<li>
<a href="/{loc.location_id.country.slug}/{loc.location_id.slug}" data-sveltekit-noscroll tabindex="0">
<a href="/{loc.location_id.country.slug}/{loc.location_id.slug}" tabindex="0">
<Image
id={loc.location_id.country.flag.id}
sizeKey="square-small"

View File

@@ -427,10 +427,10 @@
<section class="photos-page__content" bind:this={photosContentEl} style:--margin-sides="{sideMargins}px">
<div class="grid container">
{#if photos}
<div class="photos-page__grid" bind:this={photosGridEl}>
<div class="photos-page__grid" bind:this={photosGridEl} data-sveltekit-noscroll data-sveltekit-prefetch>
{#each photos as { id, image, slug, location, title, city }, index (id)}
<figure class="photo shadow-photo">
<a href="/{location.country.slug}/{location.slug}/{slug}" data-sveltekit-prefetch data-sveltekit-noscroll tabindex="0">
<a href="/{location.country.slug}/{location.slug}/{slug}" tabindex="0">
<Image
id={image.id}
sizeKey="photo-grid"