From b9041d994987ed52cab0a105c4732bf451c50911 Mon Sep 17 00:00:00 2001 From: Bikash Date: Thu, 1 Aug 2024 12:00:56 +0545 Subject: [PATCH 01/15] sitemap and robot.txt generation --- src/apps/devdoc/.npmrc | 1 + src/apps/devdoc/next-sitemap.config.js | 36 ++ src/apps/devdoc/package.json | 4 +- src/apps/devdoc/pages/_meta.json | 3 + src/apps/devdoc/pnpm-lock.yaml | 515 +++++++++---------------- src/apps/devdoc/public/robots.txt | 9 + src/apps/devdoc/public/sitemap.xml | 45 +++ 7 files changed, 272 insertions(+), 341 deletions(-) create mode 100644 src/apps/devdoc/.npmrc create mode 100644 src/apps/devdoc/next-sitemap.config.js create mode 100644 src/apps/devdoc/public/robots.txt create mode 100644 src/apps/devdoc/public/sitemap.xml diff --git a/src/apps/devdoc/.npmrc b/src/apps/devdoc/.npmrc new file mode 100644 index 000000000..6c59086d8 --- /dev/null +++ b/src/apps/devdoc/.npmrc @@ -0,0 +1 @@ +enable-pre-post-scripts=true diff --git a/src/apps/devdoc/next-sitemap.config.js b/src/apps/devdoc/next-sitemap.config.js new file mode 100644 index 000000000..0511868cb --- /dev/null +++ b/src/apps/devdoc/next-sitemap.config.js @@ -0,0 +1,36 @@ +/** @type {import('next-sitemap').IConfig} */ +module.exports = { + siteUrl: process.env.SITE_URL || 'https://kloudlite.io', + generateIndexSitemap: false, + generateRobotsTxt: true, // (optional) + transform: async (config, path) => { + // custom function to ignore the path + console.log(path); + if (ignoreFunction(path)) { + return null; + } + + // Use default transformation for all other cases + return { + loc: path, // => this will be exported as http(s):/// + changefreq: config.changefreq, + priority: config.priority, + lastmod: config.autoLastmod ? new Date().toISOString() : undefined, + alternateRefs: config.alternateRefs ?? [], + }; + }, +}; + +const ignorePaths = [ + '/writer', + '/blog/template', + '/change-logs', + '/customer-stories', + '/customer-stories/anscer-robotics', + '/new-home', +]; + +//@ts-ignore +const ignoreFunction = (path) => { + return ignorePaths.includes(path); +}; diff --git a/src/apps/devdoc/package.json b/src/apps/devdoc/package.json index 9d3ae0089..19b7c3ba4 100644 --- a/src/apps/devdoc/package.json +++ b/src/apps/devdoc/package.json @@ -6,8 +6,9 @@ "scripts": { "dev": "pnpm clean && next dev", "build": "pnpm clean && next build", + "postbuild": "next-sitemap", "start": "pnpm build && npx serve out", - "post-process": "pnpm build && firebase deploy --token $FIREBASE_TOKEN", + "post-process": "pnpm build && firebase deploy", "clean": "rm -rf .next && rm -rf out", "release": "dotenv -- npm run post-process" }, @@ -76,6 +77,7 @@ "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", + "next-sitemap": "^4.2.3", "postcss": "^8.4.32", "prettier": "^2.8.8", "tailwindcss": "^3.4.0", diff --git a/src/apps/devdoc/pages/_meta.json b/src/apps/devdoc/pages/_meta.json index b4f0d47bb..666d6d6d9 100644 --- a/src/apps/devdoc/pages/_meta.json +++ b/src/apps/devdoc/pages/_meta.json @@ -1,4 +1,7 @@ { + "*": { + "type": "page" + }, "index": { "title": "Kloudlite", "type": "page", diff --git a/src/apps/devdoc/pnpm-lock.yaml b/src/apps/devdoc/pnpm-lock.yaml index bc8d577b8..1215bd0a0 100644 --- a/src/apps/devdoc/pnpm-lock.yaml +++ b/src/apps/devdoc/pnpm-lock.yaml @@ -76,19 +76,19 @@ dependencies: version: 4.17.21 next: specifier: ^14.0.4 - version: 14.2.5(react-dom@18.3.1)(react@18.3.1) + version: 14.2.4(react-dom@18.3.1)(react@18.3.1) next-seo: specifier: ^6.4.0 - version: 6.5.0(next@14.2.5)(react-dom@18.3.1)(react@18.3.1) + version: 6.5.0(next@14.2.4)(react-dom@18.3.1)(react@18.3.1) next-themes: specifier: ^0.2.1 - version: 0.2.1(next@14.2.5)(react-dom@18.3.1)(react@18.3.1) + version: 0.2.1(next@14.2.4)(react-dom@18.3.1)(react@18.3.1) nextra: specifier: ^2.13.2 - version: 2.13.4(next@14.2.5)(react-dom@18.3.1)(react@18.3.1) + version: 2.13.4(next@14.2.4)(react-dom@18.3.1)(react@18.3.1) nextra-theme-docs: specifier: ^2.13.2 - version: 2.13.4(next@14.2.5)(nextra@2.13.4)(react-dom@18.3.1)(react@18.3.1) + version: 2.13.4(next@14.2.4)(nextra@2.13.4)(react-dom@18.3.1)(react@18.3.1) react: specifier: ^18.2.0 version: 18.3.1 @@ -126,7 +126,7 @@ devDependencies: version: 0.7.6 '@types/lodash': specifier: ^4.17.6 - version: 4.17.7 + version: 4.17.6 '@types/node': specifier: 20.8.4 version: 20.8.4 @@ -147,10 +147,10 @@ devDependencies: version: 8.57.0 eslint-config-airbnb: specifier: 19.0.4 - version: 19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.9.0)(eslint-plugin-react-hooks@4.6.2)(eslint-plugin-react@7.34.4)(eslint@8.57.0) + version: 19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.9.0)(eslint-plugin-react-hooks@4.6.2)(eslint-plugin-react@7.34.3)(eslint@8.57.0) eslint-config-next: specifier: ^14.0.4 - version: 14.2.5(eslint@8.57.0)(typescript@5.2.2) + version: 14.2.4(eslint@8.57.0)(typescript@5.2.2) eslint-config-prettier: specifier: ^8.10.0 version: 8.10.0(eslint@8.57.0) @@ -180,10 +180,13 @@ devDependencies: version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.57.0)(prettier@2.8.8) eslint-plugin-react: specifier: ^7.33.2 - version: 7.34.4(eslint@8.57.0) + version: 7.34.3(eslint@8.57.0) eslint-plugin-react-hooks: specifier: ^4.6.0 version: 4.6.2(eslint@8.57.0) + next-sitemap: + specifier: ^4.2.3 + version: 4.2.3(next@14.2.4) postcss: specifier: ^8.4.32 version: 8.4.39 @@ -192,7 +195,7 @@ devDependencies: version: 2.8.8 tailwindcss: specifier: ^3.4.0 - version: 3.4.6 + version: 3.4.4 typescript: specifier: 5.2.2 version: 5.2.2 @@ -227,8 +230,8 @@ packages: picocolors: 1.0.1 dev: true - /@babel/runtime@7.24.8: - resolution: {integrity: sha512-5F7SDGs1T72ZczbRwbGO9lQi0NLjQxzl6i4lJxLxfW9U5UluCSyEJeniWvnhl3/euNiqQVbo8zruhsDfid0esA==} + /@babel/runtime@7.24.7: + resolution: {integrity: sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw==} engines: {node: '>=6.9.0'} dependencies: regenerator-runtime: 0.14.1 @@ -367,19 +370,18 @@ packages: strict-event-emitter: 0.4.6 dev: false - /@codesandbox/sandpack-client@2.18.0: - resolution: {integrity: sha512-KGNjKMAwaOkpRW2PbAzqjkYndgreM1aERlSJ1YpjWQRy6br72GiandWPFgdF8UpzwKNetkLUyuJ/XT12sehl4A==} + /@codesandbox/sandpack-client@2.17.0: + resolution: {integrity: sha512-x2VMpV43fi4Yj97Mg2e3yWXhtnbHPJ/szMZ1RxCGCYg/0FIFtRBYNaRAJd1uK8i9hL4Uj/BNGZNG/x5TCWdU9A==} dependencies: '@codesandbox/nodebox': 0.1.8 buffer: 6.0.3 dequal: 2.0.3 - mime-db: 1.53.0 outvariant: 1.4.0 static-browser-server: 1.0.3 dev: false - /@codesandbox/sandpack-react@2.18.0(@lezer/common@1.2.1)(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-WYsezuoBFw5v4CS29fDib3tanU7JbZkydtXp3543PoczC4bJZztmVPjC2PgqG90VRjxXRv37UD7HClqqPL1aiw==} + /@codesandbox/sandpack-react@2.17.0(@lezer/common@1.2.1)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-jm4oiDIDq0bPEasXYFwHTk29uzaYLe7z0MaSF36WrUS/1uUnKeMu1Qv8+H8bVvr2HJn9cC5I/ly8P8bJ+IhBcQ==} peerDependencies: react: ^16.8.0 || ^17 || ^18 react-dom: ^16.8.0 || ^17 || ^18 @@ -392,7 +394,7 @@ packages: '@codemirror/language': 6.10.2 '@codemirror/state': 6.4.1 '@codemirror/view': 6.28.4 - '@codesandbox/sandpack-client': 2.18.0 + '@codesandbox/sandpack-client': 2.17.0 '@lezer/highlight': 1.2.0 '@react-hook/intersection-observer': 3.1.1(react@18.3.1) '@stitches/core': 1.2.8 @@ -409,6 +411,10 @@ packages: - '@lezer/common' dev: false + /@corex/deepmerge@4.0.43: + resolution: {integrity: sha512-N8uEMrMPL0cu/bdboEWpQYb/0i2K5Qn8eCsxzOmxSggJbbQte7ljMRoXm917AbntqTGOzdTu+vP3KOOzoC70HQ==} + dev: true + /@emotion/is-prop-valid@0.8.8: resolution: {integrity: sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==} requiresBuild: true @@ -978,7 +984,7 @@ packages: react: ^16 || ^17 || ^18 react-dom: ^16 || ^17 || ^18 dependencies: - '@tanstack/react-virtual': 3.8.3(react-dom@18.3.1)(react@18.3.1) + '@tanstack/react-virtual': 3.8.2(react-dom@18.3.1)(react@18.3.1) client-only: 0.0.1 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) @@ -1343,7 +1349,7 @@ packages: '@codemirror/merge': 6.6.3 '@codemirror/state': 6.4.1 '@codemirror/view': 6.28.4 - '@codesandbox/sandpack-react': 2.18.0(@lezer/common@1.2.1)(react-dom@18.3.1)(react@18.3.1) + '@codesandbox/sandpack-react': 2.17.0(@lezer/common@1.2.1)(react-dom@18.3.1)(react@18.3.1) '@lexical/clipboard': 0.14.5 '@lexical/link': 0.14.5 '@lexical/list': 0.14.5 @@ -1524,95 +1530,89 @@ packages: '@napi-rs/simple-git-win32-x64-msvc': 0.1.16 dev: false - /@next/env@14.2.5: - resolution: {integrity: sha512-/zZGkrTOsraVfYjGP8uM0p6r0BDT6xWpkjdVbcz66PJVSpwXX3yNiRycxAuDfBKGWBrZBXRuK/YVlkNgxHGwmA==} - dev: false + /@next/env@13.5.6: + resolution: {integrity: sha512-Yac/bV5sBGkkEXmAX5FWPS9Mmo2rthrOPRQQNfycJPkjUAUclomCPH7QFVCDQ4Mp2k2K1SSM6m0zrxYrOwtFQw==} + dev: true + + /@next/env@14.2.4: + resolution: {integrity: sha512-3EtkY5VDkuV2+lNmKlbkibIJxcO4oIHEhBWne6PaAp+76J9KoSsGvNikp6ivzAT8dhhBMYrm6op2pS1ApG0Hzg==} - /@next/eslint-plugin-next@14.2.5: - resolution: {integrity: sha512-LY3btOpPh+OTIpviNojDpUdIbHW9j0JBYBjsIp8IxtDFfYFyORvw3yNq6N231FVqQA7n7lwaf7xHbVJlA1ED7g==} + /@next/eslint-plugin-next@14.2.4: + resolution: {integrity: sha512-svSFxW9f3xDaZA3idQmlFw7SusOuWTpDTAeBlO3AEPDltrraV+lqs7mAc6A27YdnpQVVIA3sODqUAAHdWhVWsA==} dependencies: glob: 10.3.10 dev: true - /@next/swc-darwin-arm64@14.2.5: - resolution: {integrity: sha512-/9zVxJ+K9lrzSGli1///ujyRfon/ZneeZ+v4ptpiPoOU+GKZnm8Wj8ELWU1Pm7GHltYRBklmXMTUqM/DqQ99FQ==} + /@next/swc-darwin-arm64@14.2.4: + resolution: {integrity: sha512-AH3mO4JlFUqsYcwFUHb1wAKlebHU/Hv2u2kb1pAuRanDZ7pD/A/KPD98RHZmwsJpdHQwfEc/06mgpSzwrJYnNg==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] requiresBuild: true - dev: false optional: true - /@next/swc-darwin-x64@14.2.5: - resolution: {integrity: sha512-vXHOPCwfDe9qLDuq7U1OYM2wUY+KQ4Ex6ozwsKxp26BlJ6XXbHleOUldenM67JRyBfVjv371oneEvYd3H2gNSA==} + /@next/swc-darwin-x64@14.2.4: + resolution: {integrity: sha512-QVadW73sWIO6E2VroyUjuAxhWLZWEpiFqHdZdoQ/AMpN9YWGuHV8t2rChr0ahy+irKX5mlDU7OY68k3n4tAZTg==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] requiresBuild: true - dev: false optional: true - /@next/swc-linux-arm64-gnu@14.2.5: - resolution: {integrity: sha512-vlhB8wI+lj8q1ExFW8lbWutA4M2ZazQNvMWuEDqZcuJJc78iUnLdPPunBPX8rC4IgT6lIx/adB+Cwrl99MzNaA==} + /@next/swc-linux-arm64-gnu@14.2.4: + resolution: {integrity: sha512-KT6GUrb3oyCfcfJ+WliXuJnD6pCpZiosx2X3k66HLR+DMoilRb76LpWPGb4tZprawTtcnyrv75ElD6VncVamUQ==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] requiresBuild: true - dev: false optional: true - /@next/swc-linux-arm64-musl@14.2.5: - resolution: {integrity: sha512-NpDB9NUR2t0hXzJJwQSGu1IAOYybsfeB+LxpGsXrRIb7QOrYmidJz3shzY8cM6+rO4Aojuef0N/PEaX18pi9OA==} + /@next/swc-linux-arm64-musl@14.2.4: + resolution: {integrity: sha512-Alv8/XGSs/ytwQcbCHwze1HmiIkIVhDHYLjczSVrf0Wi2MvKn/blt7+S6FJitj3yTlMwMxII1gIJ9WepI4aZ/A==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] requiresBuild: true - dev: false optional: true - /@next/swc-linux-x64-gnu@14.2.5: - resolution: {integrity: sha512-8XFikMSxWleYNryWIjiCX+gU201YS+erTUidKdyOVYi5qUQo/gRxv/3N1oZFCgqpesN6FPeqGM72Zve+nReVXQ==} + /@next/swc-linux-x64-gnu@14.2.4: + resolution: {integrity: sha512-ze0ShQDBPCqxLImzw4sCdfnB3lRmN3qGMB2GWDRlq5Wqy4G36pxtNOo2usu/Nm9+V2Rh/QQnrRc2l94kYFXO6Q==} engines: {node: '>= 10'} cpu: [x64] os: [linux] requiresBuild: true - dev: false optional: true - /@next/swc-linux-x64-musl@14.2.5: - resolution: {integrity: sha512-6QLwi7RaYiQDcRDSU/os40r5o06b5ue7Jsk5JgdRBGGp8l37RZEh9JsLSM8QF0YDsgcosSeHjglgqi25+m04IQ==} + /@next/swc-linux-x64-musl@14.2.4: + resolution: {integrity: sha512-8dwC0UJoc6fC7PX70csdaznVMNr16hQrTDAMPvLPloazlcaWfdPogq+UpZX6Drqb1OBlwowz8iG7WR0Tzk/diQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] requiresBuild: true - dev: false optional: true - /@next/swc-win32-arm64-msvc@14.2.5: - resolution: {integrity: sha512-1GpG2VhbspO+aYoMOQPQiqc/tG3LzmsdBH0LhnDS3JrtDx2QmzXe0B6mSZZiN3Bq7IOMXxv1nlsjzoS1+9mzZw==} + /@next/swc-win32-arm64-msvc@14.2.4: + resolution: {integrity: sha512-jxyg67NbEWkDyvM+O8UDbPAyYRZqGLQDTPwvrBBeOSyVWW/jFQkQKQ70JDqDSYg1ZDdl+E3nkbFbq8xM8E9x8A==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] requiresBuild: true - dev: false optional: true - /@next/swc-win32-ia32-msvc@14.2.5: - resolution: {integrity: sha512-Igh9ZlxwvCDsu6438FXlQTHlRno4gFpJzqPjSIBZooD22tKeI4fE/YMRoHVJHmrQ2P5YL1DoZ0qaOKkbeFWeMg==} + /@next/swc-win32-ia32-msvc@14.2.4: + resolution: {integrity: sha512-twrmN753hjXRdcrZmZttb/m5xaCBFa48Dt3FbeEItpJArxriYDunWxJn+QFXdJ3hPkm4u7CKxncVvnmgQMY1ag==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] requiresBuild: true - dev: false optional: true - /@next/swc-win32-x64-msvc@14.2.5: - resolution: {integrity: sha512-tEQ7oinq1/CjSG9uSTerca3v4AZ+dFa+4Yu6ihaG8Ud8ddqLQgFGcnwYls13H5X5CPDPZJdYxyeMui6muOLd4g==} + /@next/swc-win32-x64-msvc@14.2.4: + resolution: {integrity: sha512-tkLrjBzqFTP8DVrAAQmZelEahfR9OxWpFR++vAI9FBhCiIxtwHwBHC23SBHCTURBtwB4kc/x44imVOnkKGNVGg==} engines: {node: '>= 10'} cpu: [x64] os: [win32] requiresBuild: true - dev: false optional: true /@nodelib/fs.scandir@2.1.5: @@ -1636,37 +1636,18 @@ packages: fastq: 1.17.1 dev: true - /@npmcli/config@8.3.4: - resolution: {integrity: sha512-01rtHedemDNhUXdicU7s+QYz/3JyV5Naj84cvdXGH4mgCdL+agmSYaLF4LUG4vMCLzhBO8YtS0gPpH1FGvbgAw==} + /@npmcli/config@8.3.3: + resolution: {integrity: sha512-sIMKHiiYr91ALiHjhPq64F5P/SCaiSyDfpNmgYHtlIJtLY445+3+r3VoREzpdDrOwIqwQ6iEHinbTfaocL0UgA==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: '@npmcli/map-workspaces': 3.0.6 - '@npmcli/package-json': 5.2.0 ci-info: 4.0.0 ini: 4.1.3 nopt: 7.2.1 proc-log: 4.2.0 - semver: 7.6.3 + read-package-json-fast: 3.0.2 + semver: 7.6.2 walk-up-path: 3.0.1 - transitivePeerDependencies: - - bluebird - dev: true - - /@npmcli/git@5.0.8: - resolution: {integrity: sha512-liASfw5cqhjNW9UFd+ruwwdEf/lbOAQjLL2XY2dFW/bkJheXDYZgOyul/4gVvEV4BWkTXjYGmDqMw9uegdbJNQ==} - engines: {node: ^16.14.0 || >=18.0.0} - dependencies: - '@npmcli/promise-spawn': 7.0.2 - ini: 4.1.3 - lru-cache: 10.4.3 - npm-pick-manifest: 9.1.0 - proc-log: 4.2.0 - promise-inflight: 1.0.1 - promise-retry: 2.0.1 - semver: 7.6.3 - which: 4.0.0 - transitivePeerDependencies: - - bluebird dev: true /@npmcli/map-workspaces@3.0.6: @@ -1684,28 +1665,6 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dev: true - /@npmcli/package-json@5.2.0: - resolution: {integrity: sha512-qe/kiqqkW0AGtvBjL8TJKZk/eBBSpnJkUWvHdQ9jM2lKHXRYYJuyNpJPlJw3c8QjC2ow6NZYiLExhUaeJelbxQ==} - engines: {node: ^16.14.0 || >=18.0.0} - dependencies: - '@npmcli/git': 5.0.8 - glob: 10.4.5 - hosted-git-info: 7.0.2 - json-parse-even-better-errors: 3.0.2 - normalize-package-data: 6.0.2 - proc-log: 4.2.0 - semver: 7.6.3 - transitivePeerDependencies: - - bluebird - dev: true - - /@npmcli/promise-spawn@7.0.2: - resolution: {integrity: sha512-xhfYPXoV5Dy4UkY0D+v2KkwvnDfiA/8Mt3sWCGI/hM03NsYIH8ZaG6QzS9x7pje5vHZBZJ2v6VRFVTWACnqcmQ==} - engines: {node: ^16.14.0 || >=18.0.0} - dependencies: - which: 4.0.0 - dev: true - /@open-draft/deferred-promise@2.2.0: resolution: {integrity: sha512-CecwLWx3rhxVQF6V4bAgPS5t+So2sTbPgAzafKkVizyi7tlwpcFpdFqq+wqF2OwNBmqFuu6tOyouTuxgpMfzmA==} dev: false @@ -2537,28 +2496,26 @@ packages: /@swc/counter@0.1.3: resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} - dev: false /@swc/helpers@0.5.5: resolution: {integrity: sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==} dependencies: '@swc/counter': 0.1.3 tslib: 2.6.3 - dev: false - /@tanstack/react-virtual@3.8.3(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-9ICwbDUUzN99CJIGc373i8NLoj6zFTKI2Hlcmo0+lCSAhPQ5mxq4dGOMKmLYoEFyHcGQ64Bd6ZVbnPpM6lNK5w==} + /@tanstack/react-virtual@3.8.2(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-g78+DA29K0ByAfDkuibfLQqDshf8Aha/zcyEZ+huAX/yS/TWj/CUiEY4IJfDrFacdxIFmsLm0u4VtsLSKTngRw==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: - '@tanstack/virtual-core': 3.8.3 + '@tanstack/virtual-core': 3.8.2 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /@tanstack/virtual-core@3.8.3: - resolution: {integrity: sha512-vd2A2TnM5lbnWZnHi9B+L2gPtkSeOtJOAw358JqokIH1+v2J7vUAzFVPwB/wrye12RFOurffXu33plm4uQ+JBQ==} + /@tanstack/virtual-core@3.8.2: + resolution: {integrity: sha512-ffpN6kTaPGwQPoWMcBAHbdv2ZCpj1SugldoYAcY0C4xH+Pej1KCOEUisNeEgbUnXOp8Y/4q6wGPu2tFHthOIQw==} dev: false /@theguild/remark-mermaid@0.0.5(react@18.3.1): @@ -2661,8 +2618,8 @@ packages: resolution: {integrity: sha512-HMwFiRujE5PjrgwHQ25+bsLJgowjGjm5Z8FVSf0N6PwgJrwxH0QxzHYDcKsTfV3wva0vzrpqMTJS2jXPr5BMEQ==} dev: false - /@types/lodash@4.17.7: - resolution: {integrity: sha512-8wTvZawATi/lsmNu10/j2hk1KEP0IvjubqPE3cu1Xz7xfXXt5oCq3SNUz4fMIP4XGF9Ky+Ue2tBA3hcS7LSBlA==} + /@types/lodash@4.17.6: + resolution: {integrity: sha512-OpXEVoCKSS3lQqjx9GGGOapBeuW5eUboYHRlHP9urXPX25IKZ6AnP5ZRxtVf63iieUbsHxLn8NQ5Nlftc6yzAA==} dev: true /@types/mdast@3.0.15: @@ -2738,7 +2695,7 @@ packages: graphemer: 1.4.0 ignore: 5.3.1 natural-compare: 1.4.0 - semver: 7.6.3 + semver: 7.6.2 ts-api-utils: 1.3.0(typescript@5.2.2) typescript: 5.2.2 transitivePeerDependencies: @@ -2814,7 +2771,7 @@ packages: globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.3 - semver: 7.6.3 + semver: 7.6.2 ts-api-utils: 1.3.0(typescript@5.2.2) typescript: 5.2.2 transitivePeerDependencies: @@ -2834,7 +2791,7 @@ packages: '@typescript-eslint/types': 6.21.0 '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.2.2) eslint: 8.57.0 - semver: 7.6.3 + semver: 7.6.2 transitivePeerDependencies: - supports-color - typescript @@ -3081,7 +3038,7 @@ packages: postcss: ^8.1.0 dependencies: browserslist: 4.23.2 - caniuse-lite: 1.0.30001642 + caniuse-lite: 1.0.30001641 fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.0.1 @@ -3158,9 +3115,9 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001642 - electron-to-chromium: 1.4.829 - node-releases: 2.0.17 + caniuse-lite: 1.0.30001641 + electron-to-chromium: 1.4.823 + node-releases: 2.0.14 update-browserslist-db: 1.1.0(browserslist@4.23.2) dev: true @@ -3180,7 +3137,6 @@ packages: engines: {node: '>=10.16.0'} dependencies: streamsearch: 1.1.0 - dev: false /call-bind@1.0.7: resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} @@ -3203,8 +3159,8 @@ packages: engines: {node: '>= 6'} dev: true - /caniuse-lite@1.0.30001642: - resolution: {integrity: sha512-3XQ0DoRgLijXJErLSl+bLnJ+Et4KqV1PY6JJBGAFlsNsz31zeAIncyeZfLCabHK/jtSh+671RM9YMldxjUPZtA==} + /caniuse-lite@1.0.30001641: + resolution: {integrity: sha512-Phv5thgl67bHYo1TtMY/MurjkHhV4EDaCosezRXgZ8jzA/Ub+wjxAvbGvjoFENStinwi5kCyOYV3mi5tOGykwA==} /ccount@2.0.1: resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} @@ -3289,7 +3245,6 @@ packages: /client-only@0.0.1: resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==} - dev: false /clipboardy@1.2.2: resolution: {integrity: sha512-16KrBOV7bHmHdxcQiCvfUFYVFyEah4FI8vYT1Fr7CGSA4G+xBWMEfUEQJS1hxeHGtI9ju1Bzs9uXSbj5HZKArw==} @@ -3941,7 +3896,7 @@ packages: peerDependencies: react: '>=16.12.0' dependencies: - '@babel/runtime': 7.24.8 + '@babel/runtime': 7.24.7 compute-scroll-into-view: 2.0.4 prop-types: 15.8.1 react: 18.3.1 @@ -3953,8 +3908,8 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: true - /electron-to-chromium@1.4.829: - resolution: {integrity: sha512-5qp1N2POAfW0u1qGAxXEtz6P7bO1m6gpZr5hdf5ve6lxpLM7MpiM4jIPz7xcrNlClQMafbyUDDWjlIQZ1Mw0Rw==} + /electron-to-chromium@1.4.823: + resolution: {integrity: sha512-4h+oPeAiGQOHFyUJOqpoEcPj/xxlicxBzOErVeYVMMmAiXUXsGpsFd0QXBMaUUbnD8hhSfLf9uw+MlsoIA7j5w==} dev: true /elkjs@0.9.3: @@ -3989,10 +3944,6 @@ packages: engines: {node: '>=0.12'} dev: false - /err-code@2.0.3: - resolution: {integrity: sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==} - dev: true - /error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} dependencies: @@ -4192,7 +4143,7 @@ packages: semver: 6.3.1 dev: true - /eslint-config-airbnb@19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.9.0)(eslint-plugin-react-hooks@4.6.2)(eslint-plugin-react@7.34.4)(eslint@8.57.0): + /eslint-config-airbnb@19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.9.0)(eslint-plugin-react-hooks@4.6.2)(eslint-plugin-react@7.34.3)(eslint@8.57.0): resolution: {integrity: sha512-T75QYQVQX57jiNgpF9r1KegMICE94VYwoFQyMGhrvc+lB8YF2E/M/PYDaQe1AJcWaEgqLE+ErXV1Og/+6Vyzew==} engines: {node: ^10.12.0 || ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -4206,14 +4157,14 @@ packages: eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.29.1)(eslint@8.57.0) eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-jsx-a11y: 6.9.0(eslint@8.57.0) - eslint-plugin-react: 7.34.4(eslint@8.57.0) + eslint-plugin-react: 7.34.3(eslint@8.57.0) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.0) object.assign: 4.1.5 object.entries: 1.1.8 dev: true - /eslint-config-next@14.2.5(eslint@8.57.0)(typescript@5.2.2): - resolution: {integrity: sha512-zogs9zlOiZ7ka+wgUnmcM0KBEDjo4Jis7kxN1jvC0N4wynQ2MIx/KBkg4mVF63J5EK4W0QMCn7xO3vNisjaAoA==} + /eslint-config-next@14.2.4(eslint@8.57.0)(typescript@5.2.2): + resolution: {integrity: sha512-Qr0wMgG9m6m4uYy2jrYJmyuNlYZzPRQq5Kvb9IDlYwn+7yq6W6sfMNFgb+9guM1KYwuIo6TIaiFhZJ6SnQ/Efw==} peerDependencies: eslint: ^7.23.0 || ^8.0.0 typescript: '>=3.3.1' @@ -4221,7 +4172,7 @@ packages: typescript: optional: true dependencies: - '@next/eslint-plugin-next': 14.2.5 + '@next/eslint-plugin-next': 14.2.4 '@rushstack/eslint-patch': 1.10.3 '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.2.2) eslint: 8.57.0 @@ -4229,7 +4180,7 @@ packages: eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0) eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-jsx-a11y: 6.9.0(eslint@8.57.0) - eslint-plugin-react: 7.34.4(eslint@8.57.0) + eslint-plugin-react: 7.34.3(eslint@8.57.0) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.0) typescript: 5.2.2 transitivePeerDependencies: @@ -4301,15 +4252,14 @@ packages: remark-mdx: 3.0.1 remark-parse: 11.0.0 remark-stringify: 11.0.0 - synckit: 0.9.1 + synckit: 0.9.0 tslib: 2.6.3 unified: 11.0.5 unified-engine: 11.2.1 unist-util-visit: 5.0.0 uvu: 0.5.6 - vfile: 6.0.2 + vfile: 6.0.1 transitivePeerDependencies: - - bluebird - supports-color dev: true @@ -4429,9 +4379,8 @@ packages: remark-stringify: 11.0.0 tslib: 2.6.3 unified: 11.0.5 - vfile: 6.0.2 + vfile: 6.0.1 transitivePeerDependencies: - - bluebird - supports-color dev: true @@ -4469,8 +4418,8 @@ packages: eslint: 8.57.0 dev: true - /eslint-plugin-react@7.34.4(eslint@8.57.0): - resolution: {integrity: sha512-Np+jo9bUwJNxCsT12pXtrGhJgT3T44T1sHhn1Ssr42XFn8TES0267wPGo5nNrMHi8qkyimDAX2BUmkf9pSaVzA==} + /eslint-plugin-react@7.34.3(eslint@8.57.0): + resolution: {integrity: sha512-aoW4MV891jkUulwDApQbPYTVZmeuSyFrudpbTAQuj5Fv8VL+o6df2xIGpw8B0hPjAaih1/Fb0om9grCdyFYemA==} engines: {node: '>=4'} peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 @@ -4484,17 +4433,16 @@ packages: es-iterator-helpers: 1.0.19 eslint: 8.57.0 estraverse: 5.3.0 - hasown: 2.0.2 jsx-ast-utils: 3.3.5 minimatch: 3.1.2 object.entries: 1.1.8 object.fromentries: 2.0.8 + object.hasown: 1.1.4 object.values: 1.2.0 prop-types: 15.8.1 resolve: 2.0.0-next.5 semver: 6.3.1 string.prototype.matchall: 4.0.11 - string.prototype.repeat: 1.0.0 dev: true /eslint-scope@7.2.2: @@ -5009,7 +4957,7 @@ packages: hasBin: true dependencies: foreground-child: 3.2.1 - jackspeak: 3.4.3 + jackspeak: 3.4.2 minimatch: 9.0.5 minipass: 7.1.2 package-json-from-dist: 1.0.0 @@ -5160,7 +5108,7 @@ packages: devlop: 1.1.0 hast-util-from-parse5: 8.0.1 parse5: 7.1.2 - vfile: 6.0.2 + vfile: 6.0.1 vfile-message: 4.0.2 dev: false @@ -5172,8 +5120,8 @@ packages: devlop: 1.1.0 hastscript: 8.0.0 property-information: 6.5.0 - vfile: 6.0.2 - vfile-location: 5.0.3 + vfile: 6.0.1 + vfile-location: 5.0.2 web-namespaces: 2.0.1 dev: false @@ -5202,7 +5150,7 @@ packages: parse5: 7.1.2 unist-util-position: 5.0.0 unist-util-visit: 5.0.0 - vfile: 6.0.2 + vfile: 6.0.1 web-namespaces: 2.0.1 zwitch: 2.0.4 dev: false @@ -5269,16 +5217,6 @@ packages: engines: {node: '>=12.0.0'} dev: false -<<<<<<< Updated upstream - /hosted-git-info@7.0.2: - resolution: {integrity: sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==} - engines: {node: ^16.14.0 || >=18.0.0} - dependencies: - lru-cache: 10.4.3 - dev: true - -======= ->>>>>>> Stashed changes /html-void-elements@3.0.0: resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==} dev: false @@ -5653,11 +5591,6 @@ packages: /isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} - /isexe@3.1.1: - resolution: {integrity: sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==} - engines: {node: '>=16'} - dev: true - /isomorphic.js@0.2.5: resolution: {integrity: sha512-PIeMbHqMt4DnUP3MA/Flc0HElYjMXArsw1qwJZcm9sqR8mq3l8NYizFMty0pWwE/tzIGH3EKK5+jes5mAr85yw==} dev: false @@ -5681,8 +5614,9 @@ packages: '@pkgjs/parseargs': 0.11.0 dev: true - /jackspeak@3.4.3: - resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==} + /jackspeak@3.4.2: + resolution: {integrity: sha512-qH3nOSj8q/8+Eg8LUPOq3C+6HWkpUioIjDsq1+D4zY91oZvpPttw8GwtF1nReRYKXl+1AORyFqtm2f5Q1SB6/Q==} + engines: {node: 14 >=14.21 || 16 >=16.20 || >=18} dependencies: '@isaacs/cliui': 8.0.2 optionalDependencies: @@ -5842,10 +5776,8 @@ packages: /load-plugin@6.0.3: resolution: {integrity: sha512-kc0X2FEUZr145odl68frm+lMJuQ23+rTXYmR6TImqPtbpmXC4vVXbWKDQ9IzndA0HfyQamWfKLhzsqGSTxE63w==} dependencies: - '@npmcli/config': 8.3.4 + '@npmcli/config': 8.3.3 import-meta-resolve: 4.1.0 - transitivePeerDependencies: - - bluebird dev: true /locate-path@6.0.0: @@ -5920,7 +5852,7 @@ packages: /match-sorter@6.3.4: resolution: {integrity: sha512-jfZW7cWS5y/1xswZo8VBOdudUiSd9nifYRWphc9M5D/ee4w4AoXLgBEdRbgVaxbMuagBPeUC5y2Hi8DO6o9aDg==} dependencies: - '@babel/runtime': 7.24.8 + '@babel/runtime': 7.24.7 remove-accents: 0.5.0 dev: false @@ -6251,7 +6183,7 @@ packages: trim-lines: 3.0.1 unist-util-position: 5.0.0 unist-util-visit: 5.0.0 - vfile: 6.0.2 + vfile: 6.0.1 dev: false /mdast-util-to-markdown@1.5.0: @@ -6969,11 +6901,6 @@ packages: engines: {node: '>= 0.6'} dev: false - /mime-db@1.53.0: - resolution: {integrity: sha512-oHlN/w+3MQ3rba9rqFr6V/ypF10LSkdwUysQL7GkXoTgIWeV+tcXGA852TBxH+gsh8UWoyhR1hKcoMJTuWflpg==} - engines: {node: '>= 0.6'} - dev: false - /mime-types@2.1.35: resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} engines: {node: '>= 0.6'} @@ -7055,26 +6982,40 @@ packages: - supports-color dev: false - /next-seo@6.5.0(next@14.2.5)(react-dom@18.3.1)(react@18.3.1): + /next-seo@6.5.0(next@14.2.4)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-MfzUeWTN/x/rsKp/1n0213eojO97lIl0unxqbeCY+6pAucViHDA8GSLRRcXpgjsSmBxfCFdfpu7LXbt4ANQoNQ==} peerDependencies: next: ^8.1.1-canary.54 || >=9.0.0 react: '>=16.0.0' react-dom: '>=16.0.0' dependencies: - next: 14.2.5(react-dom@18.3.1)(react@18.3.1) + next: 14.2.4(react-dom@18.3.1)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false - /next-themes@0.2.1(next@14.2.5)(react-dom@18.3.1)(react@18.3.1): + /next-sitemap@4.2.3(next@14.2.4): + resolution: {integrity: sha512-vjdCxeDuWDzldhCnyFCQipw5bfpl4HmZA7uoo3GAaYGjGgfL4Cxb1CiztPuWGmS+auYs7/8OekRS8C2cjdAsjQ==} + engines: {node: '>=14.18'} + hasBin: true + peerDependencies: + next: '*' + dependencies: + '@corex/deepmerge': 4.0.43 + '@next/env': 13.5.6 + fast-glob: 3.3.2 + minimist: 1.2.8 + next: 14.2.4(react-dom@18.3.1)(react@18.3.1) + dev: true + + /next-themes@0.2.1(next@14.2.4)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==} peerDependencies: next: '*' react: '*' react-dom: '*' dependencies: - next: 14.2.5(react-dom@18.3.1)(react@18.3.1) + next: 14.2.4(react-dom@18.3.1)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false @@ -7083,8 +7024,8 @@ packages: resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==} dev: false - /next@14.2.5(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-0f8aRfBVL+mpzfBjYfQuLWh2WyAwtJXCRfkPF4UJ5qd2YwrHczsrSzXU4tRMV0OAxR8ZJZWPFn6uhSC56UTsLA==} + /next@14.2.4(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-R8/V7vugY+822rsQGQCjoLhMuC9oFj9SOi4Cl4b2wjDrseD0LRZ10W7R6Czo4w9ZznVSshKjuIomsRjvm9EKJQ==} engines: {node: '>=18.17.0'} hasBin: true peerDependencies: @@ -7101,31 +7042,30 @@ packages: sass: optional: true dependencies: - '@next/env': 14.2.5 + '@next/env': 14.2.4 '@swc/helpers': 0.5.5 busboy: 1.6.0 - caniuse-lite: 1.0.30001642 + caniuse-lite: 1.0.30001641 graceful-fs: 4.2.11 postcss: 8.4.31 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) styled-jsx: 5.1.1(react@18.3.1) optionalDependencies: - '@next/swc-darwin-arm64': 14.2.5 - '@next/swc-darwin-x64': 14.2.5 - '@next/swc-linux-arm64-gnu': 14.2.5 - '@next/swc-linux-arm64-musl': 14.2.5 - '@next/swc-linux-x64-gnu': 14.2.5 - '@next/swc-linux-x64-musl': 14.2.5 - '@next/swc-win32-arm64-msvc': 14.2.5 - '@next/swc-win32-ia32-msvc': 14.2.5 - '@next/swc-win32-x64-msvc': 14.2.5 + '@next/swc-darwin-arm64': 14.2.4 + '@next/swc-darwin-x64': 14.2.4 + '@next/swc-linux-arm64-gnu': 14.2.4 + '@next/swc-linux-arm64-musl': 14.2.4 + '@next/swc-linux-x64-gnu': 14.2.4 + '@next/swc-linux-x64-musl': 14.2.4 + '@next/swc-win32-arm64-msvc': 14.2.4 + '@next/swc-win32-ia32-msvc': 14.2.4 + '@next/swc-win32-x64-msvc': 14.2.4 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros - dev: false - /nextra-theme-docs@2.13.4(next@14.2.5)(nextra@2.13.4)(react-dom@18.3.1)(react@18.3.1): + /nextra-theme-docs@2.13.4(next@14.2.4)(nextra@2.13.4)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-2XOoMfwBCTYBt8ds4ZHftt9Wyf2XsykiNo02eir/XEYB+sGeUoE77kzqfidjEOKCSzOHYbK9BDMcg2+B/2vYRw==} peerDependencies: next: '>=9.5.3' @@ -7142,17 +7082,17 @@ packages: git-url-parse: 13.1.1 intersection-observer: 0.12.2 match-sorter: 6.3.4 - next: 14.2.5(react-dom@18.3.1)(react@18.3.1) - next-seo: 6.5.0(next@14.2.5)(react-dom@18.3.1)(react@18.3.1) - next-themes: 0.2.1(next@14.2.5)(react-dom@18.3.1)(react@18.3.1) - nextra: 2.13.4(next@14.2.5)(react-dom@18.3.1)(react@18.3.1) + next: 14.2.4(react-dom@18.3.1)(react@18.3.1) + next-seo: 6.5.0(next@14.2.4)(react-dom@18.3.1)(react@18.3.1) + next-themes: 0.2.1(next@14.2.4)(react-dom@18.3.1)(react@18.3.1) + nextra: 2.13.4(next@14.2.4)(react-dom@18.3.1)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) scroll-into-view-if-needed: 3.1.0 zod: 3.23.8 dev: false - /nextra@2.13.4(next@14.2.5)(react-dom@18.3.1)(react@18.3.1): + /nextra@2.13.4(next@14.2.4)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-7of2rSBxuUa3+lbMmZwG9cqgftcoNOVQLTT6Rxf3EhBR9t1EI7b43dted8YoqSNaigdE3j1CoyNkX8N/ZzlEpw==} engines: {node: '>=16'} peerDependencies: @@ -7172,7 +7112,7 @@ packages: gray-matter: 4.0.3 katex: 0.16.11 lodash.get: 4.4.2 - next: 14.2.5(react-dom@18.3.1)(react@18.3.1) + next: 14.2.4(react-dom@18.3.1)(react@18.3.1) next-mdx-remote: 4.4.1(react-dom@18.3.1)(react@18.3.1) p-limit: 3.1.0 react: 18.3.1 @@ -7193,8 +7133,8 @@ packages: - supports-color dev: false - /node-releases@2.0.17: - resolution: {integrity: sha512-Ww6ZlOiEQfPfXM45v17oabk77Z7mg5bOt7AjDyzy7RjK9OrLrLC8dyZQoAPEOtFX9SaNf1Tdvr5gRJWdTJj7GA==} + /node-releases@2.0.14: + resolution: {integrity: sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==} dev: true /non-layered-tidy-tree-layout@2.0.2: @@ -7209,15 +7149,6 @@ packages: abbrev: 2.0.0 dev: true - /normalize-package-data@6.0.2: - resolution: {integrity: sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==} - engines: {node: ^16.14.0 || >=18.0.0} - dependencies: - hosted-git-info: 7.0.2 - semver: 7.6.3 - validate-npm-package-license: 3.0.4 - dev: true - /normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} @@ -7228,38 +7159,11 @@ packages: engines: {node: '>=0.10.0'} dev: true - /npm-install-checks@6.3.0: - resolution: {integrity: sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - semver: 7.6.3 - dev: true - /npm-normalize-package-bin@3.0.1: resolution: {integrity: sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dev: true - /npm-package-arg@11.0.2: - resolution: {integrity: sha512-IGN0IAwmhDJwy13Wc8k+4PEbTPhpJnMtfR53ZbOyjkvmEcLS4nCwp6mvMWjS5sUjeiW3mpx6cHmuhKEu9XmcQw==} - engines: {node: ^16.14.0 || >=18.0.0} - dependencies: - hosted-git-info: 7.0.2 - proc-log: 4.2.0 - semver: 7.6.3 - validate-npm-package-name: 5.0.1 - dev: true - - /npm-pick-manifest@9.1.0: - resolution: {integrity: sha512-nkc+3pIIhqHVQr085X9d2JzPzLyjzQS96zbruppqC9aZRm/x8xx6xhI98gHtsfELP2bE+loHq8ZaHFHhe+NauA==} - engines: {node: ^16.14.0 || >=18.0.0} - dependencies: - npm-install-checks: 6.3.0 - npm-normalize-package-bin: 3.0.1 - npm-package-arg: 11.0.2 - semver: 7.6.3 - dev: true - /npm-run-path@2.0.2: resolution: {integrity: sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==} engines: {node: '>=4'} @@ -7337,6 +7241,15 @@ packages: es-abstract: 1.23.3 dev: true + /object.hasown@1.1.4: + resolution: {integrity: sha512-FZ9LZt9/RHzGySlBARE3VF+gE26TxR38SdmqOqliuTnl9wrKulaQs+4dee1V+Io8VfxqzAfHu6YuRgUy8OHoTg==} + engines: {node: '>= 0.4'} + dependencies: + define-properties: 1.2.1 + es-abstract: 1.23.3 + es-object-atoms: 1.0.0 + dev: true + /object.values@1.2.0: resolution: {integrity: sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==} engines: {node: '>= 0.4'} @@ -7567,11 +7480,11 @@ packages: postcss: ^8.2.14 dependencies: postcss: 8.4.39 - postcss-selector-parser: 6.1.1 + postcss-selector-parser: 6.1.0 dev: true - /postcss-selector-parser@6.1.1: - resolution: {integrity: sha512-b4dlw/9V8A71rLIDsSwVmak9z2DuBUB7CA1/wSdelNEzqsjoSPeADTWNO09lpH49Diy3/JIZ2bSPB1dI3LJCHg==} + /postcss-selector-parser@6.1.0: + resolution: {integrity: sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==} engines: {node: '>=4'} dependencies: cssesc: 3.0.0 @@ -7589,7 +7502,6 @@ packages: nanoid: 3.3.7 picocolors: 1.0.1 source-map-js: 1.2.0 - dev: false /postcss@8.4.39: resolution: {integrity: sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw==} @@ -7628,23 +7540,6 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dev: true - /promise-inflight@1.0.1: - resolution: {integrity: sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==} - peerDependencies: - bluebird: '*' - peerDependenciesMeta: - bluebird: - optional: true - dev: true - - /promise-retry@2.0.1: - resolution: {integrity: sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==} - engines: {node: '>=10'} - dependencies: - err-code: 2.0.3 - retry: 0.12.0 - dev: true - /prop-types@15.8.1: resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==} dependencies: @@ -7710,7 +7605,6 @@ packages: loose-envify: 1.4.0 react: 18.3.1 scheduler: 0.23.2 - dev: false /react-error-boundary@3.1.4(react@18.3.1): resolution: {integrity: sha512-uM9uPzZJTF6wRQORmSrvOIgt4lJ9MC1sNgEOj2XGsDTRE4kmpWxg7ENK9EWNKJRMAOY9z0MuF4yIfl6gp4sotA==} @@ -7718,7 +7612,7 @@ packages: peerDependencies: react: '>=16.13.1' dependencies: - '@babel/runtime': 7.24.8 + '@babel/runtime': 7.24.7 react: 18.3.1 dev: false @@ -7820,7 +7714,6 @@ packages: engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 - dev: false /read-cache@1.0.0: resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} @@ -7892,7 +7785,7 @@ packages: hast-util-to-text: 4.0.2 katex: 0.16.11 unist-util-visit-parents: 6.0.1 - vfile: 6.0.2 + vfile: 6.0.1 dev: false /rehype-pretty-code@0.9.11(shiki@0.14.7): @@ -7912,7 +7805,7 @@ packages: dependencies: '@types/hast': 3.0.4 hast-util-raw: 9.0.4 - vfile: 6.0.2 + vfile: 6.0.1 dev: false /remark-frontmatter@5.0.0: @@ -8062,11 +7955,6 @@ packages: supports-preserve-symlinks-flag: 1.0.0 dev: true - /retry@0.12.0: - resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==} - engines: {node: '>= 4'} - dev: true - /reusify@1.0.4: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} @@ -8130,7 +8018,6 @@ packages: resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} dependencies: loose-envify: 1.4.0 - dev: false /scroll-into-view-if-needed@3.1.0: resolution: {integrity: sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ==} @@ -8151,8 +8038,8 @@ packages: hasBin: true dev: true - /semver@7.6.3: - resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} + /semver@7.6.2: + resolution: {integrity: sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==} engines: {node: '>=10'} hasBin: true dev: true @@ -8263,28 +8150,6 @@ packages: resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==} dev: false - /spdx-correct@3.2.0: - resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} - dependencies: - spdx-expression-parse: 3.0.1 - spdx-license-ids: 3.0.18 - dev: true - - /spdx-exceptions@2.5.0: - resolution: {integrity: sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==} - dev: true - - /spdx-expression-parse@3.0.1: - resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} - dependencies: - spdx-exceptions: 2.5.0 - spdx-license-ids: 3.0.18 - dev: true - - /spdx-license-ids@3.0.18: - resolution: {integrity: sha512-xxRs31BqRYHwiMzudOrpSiHtZ8i/GeionCBDSilhYRj+9gIcI8wCZTlXZKu9vZIVqViP3dcp9qE5G6AlIaD+TQ==} - dev: true - /sprintf-js@1.0.3: resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} dev: false @@ -8294,7 +8159,7 @@ packages: dependencies: '@open-draft/deferred-promise': 2.2.0 dotenv: 16.4.5 - mime-db: 1.53.0 + mime-db: 1.52.0 outvariant: 1.4.0 dev: false @@ -8308,7 +8173,6 @@ packages: /streamsearch@1.1.0: resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==} engines: {node: '>=10.0.0'} - dev: false /strict-event-emitter@0.4.6: resolution: {integrity: sha512-12KWeb+wixJohmnwNFerbyiBrAlq5qJLwIt38etRtKtmmHyDSoGlIqFE9wx+4IwG0aDjI7GV8tc8ZccjWZZtTg==} @@ -8369,13 +8233,6 @@ packages: side-channel: 1.0.6 dev: true - /string.prototype.repeat@1.0.0: - resolution: {integrity: sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==} - dependencies: - define-properties: 1.2.1 - es-abstract: 1.23.3 - dev: true - /string.prototype.trim@1.2.9: resolution: {integrity: sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==} engines: {node: '>= 0.4'} @@ -8473,7 +8330,6 @@ packages: dependencies: client-only: 0.0.1 react: 18.3.1 - dev: false /stylis@4.3.2: resolution: {integrity: sha512-bhtUjWd/z6ltJiQwg0dUfxEJ+W+jdqQd8TbWLWyeIJHlnsqmGLRFFd8e5mA0AZi/zx90smXRlN66YMTcaSFifg==} @@ -8524,16 +8380,16 @@ packages: engines: {node: '>= 0.4'} dev: true - /synckit@0.9.1: - resolution: {integrity: sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A==} + /synckit@0.9.0: + resolution: {integrity: sha512-7RnqIMq572L8PeEzKeBINYEJDDxpcH8JEgLwUqBd3TkofhFRbkq4QLR0u+36avGAhCRbk2nnmjcW9SE531hPDg==} engines: {node: ^14.18.0 || >=16.0.0} dependencies: '@pkgr/core': 0.1.1 tslib: 2.6.3 dev: true - /tailwindcss@3.4.6: - resolution: {integrity: sha512-1uRHzPB+Vzu57ocybfZ4jh5Q3SdlH7XW23J5sQoM9LhE9eIOlzxer/3XPSsycvih3rboRsvt0QCmzSrqyOYUIA==} + /tailwindcss@3.4.4: + resolution: {integrity: sha512-ZoyXOdJjISB7/BcLTR6SEsLgKtDStYyYZVLsUtWChO4Ps20CBad7lfJKVDiejocV4ME1hLmyY0WJE3hSDcmQ2A==} engines: {node: '>=14.0.0'} hasBin: true dependencies: @@ -8556,7 +8412,7 @@ packages: postcss-js: 4.0.1(postcss@8.4.39) postcss-load-config: 4.0.2(postcss@8.4.39) postcss-nested: 6.0.1(postcss@8.4.39) - postcss-selector-parser: 6.1.1 + postcss-selector-parser: 6.1.0 resolve: 1.22.8 sucrase: 3.35.0 transitivePeerDependencies: @@ -8771,14 +8627,13 @@ packages: load-plugin: 6.0.3 parse-json: 7.1.1 trough: 2.2.0 - unist-util-inspect: 8.1.0 - vfile: 6.0.2 + unist-util-inspect: 8.0.0 + vfile: 6.0.1 vfile-message: 4.0.2 vfile-reporter: 8.1.1 vfile-statistics: 3.0.0 yaml: 2.4.5 transitivePeerDependencies: - - bluebird - supports-color dev: true @@ -8803,7 +8658,7 @@ packages: extend: 3.0.2 is-plain-obj: 4.1.0 trough: 2.2.0 - vfile: 6.0.2 + vfile: 6.0.1 /unist-util-find-after@5.0.0: resolution: {integrity: sha512-amQa0Ep2m6hE2g72AugUItjbuM8X8cGQnFoHk0pGfrFeT9GZhzN5SW8nRsiGKK7Aif4CrACPENkA6P/Lw6fHGQ==} @@ -8816,8 +8671,8 @@ packages: resolution: {integrity: sha512-qF72kLmPxAw0oN2fwpWIqbXAVyEqUzDHMsbtPvOudIlUzXYFIeQIuxXQCRCFh22B7cixvU0MG7m3MW8FTq/S+A==} dev: false - /unist-util-inspect@8.1.0: - resolution: {integrity: sha512-mOlg8Mp33pR0eeFpo5d2902ojqFFOKMMG2hF8bmH7ZlhnmjFgh0NI3/ZDwdaBJNbvrS7LZFVrBVtIE9KZ9s7vQ==} + /unist-util-inspect@8.0.0: + resolution: {integrity: sha512-/3Wn/wU6/H6UEo4FoYUeo8KUePN8ERiZpQYFWYoihOsr1DoDuv80PeB0hobVZyYSvALa2e556bG1A1/AbwU4yg==} dependencies: '@types/unist': 3.0.2 dev: true @@ -9004,23 +8859,11 @@ packages: kleur: 4.1.5 sade: 1.8.1 - /validate-npm-package-license@3.0.4: - resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} - dependencies: - spdx-correct: 3.2.0 - spdx-expression-parse: 3.0.1 - dev: true - - /validate-npm-package-name@5.0.1: - resolution: {integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dev: true - - /vfile-location@5.0.3: - resolution: {integrity: sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg==} + /vfile-location@5.0.2: + resolution: {integrity: sha512-NXPYyxyBSH7zB5U6+3uDdd6Nybz6o6/od9rk8bp9H8GR3L+cm/fC0uUTbqBmUTnMCUDslAGBOIKNfvvb+gGlDg==} dependencies: '@types/unist': 3.0.2 - vfile: 6.0.2 + vfile: 6.0.1 dev: false /vfile-matter@3.0.1: @@ -9051,7 +8894,7 @@ packages: string-width: 6.1.0 supports-color: 9.4.0 unist-util-stringify-position: 4.0.0 - vfile: 6.0.2 + vfile: 6.0.1 vfile-message: 4.0.2 vfile-sort: 4.0.0 vfile-statistics: 3.0.0 @@ -9060,14 +8903,14 @@ packages: /vfile-sort@4.0.0: resolution: {integrity: sha512-lffPI1JrbHDTToJwcq0rl6rBmkjQmMuXkAxsZPRS9DXbaJQvc642eCg6EGxcX2i1L+esbuhq+2l9tBll5v8AeQ==} dependencies: - vfile: 6.0.2 + vfile: 6.0.1 vfile-message: 4.0.2 dev: true /vfile-statistics@3.0.0: resolution: {integrity: sha512-/qlwqwWBWFOmpXujL/20P+Iuydil0rZZNglR+VNm6J0gpLHwuVM5s7g2TfVoswbXjZ4HuIhLMySEyIw5i7/D8w==} dependencies: - vfile: 6.0.2 + vfile: 6.0.1 vfile-message: 4.0.2 dev: true @@ -9080,8 +8923,8 @@ packages: vfile-message: 3.1.4 dev: false - /vfile@6.0.2: - resolution: {integrity: sha512-zND7NlS8rJYb/sPqkb13ZvbbUoExdbi4w3SfRrMq6R3FvnLQmmfpajJNITuuYm6AZ5uao9vy4BAos3EXBPf2rg==} + /vfile@6.0.1: + resolution: {integrity: sha512-1bYqc7pt6NIADBJ98UiG0Bn/CHIVOoZ/IyEkqIruLg0mE1BKzkOXY2D6CSqQIcKqgadppE5lrxgWXJmXd7zZJw==} dependencies: '@types/unist': 3.0.2 unist-util-stringify-position: 4.0.0 @@ -9189,14 +9032,6 @@ packages: isexe: 2.0.0 dev: true - /which@4.0.0: - resolution: {integrity: sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==} - engines: {node: ^16.13.0 || >=18.0.0} - hasBin: true - dependencies: - isexe: 3.1.1 - dev: true - /word-wrap@1.2.5: resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} engines: {node: '>=0.10.0'} @@ -9274,7 +9109,7 @@ packages: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} file:../../design-system/out/kl-design-system-1.0.1.tgz(framer-motion@10.18.0)(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-zo9jFLEi0i/8+X/HluCS4DMOVZ9Xl8ESI0/EnWMQjIa2x0ijT3F8kv7QOluGXdcVffIby7ffxeXMn1G8hg1kLg==, tarball: file:../../design-system/out/kl-design-system-1.0.1.tgz} + resolution: {integrity: sha512-T8/av0zWLlqWmJzUgAQAmT6NIxM8cpxLwu8PUdWfxAA3/4X35eDPgcAsQnTpDbm8/kWN5Kq0ZiEfujcVFiKlrw==, tarball: file:../../design-system/out/kl-design-system-1.0.1.tgz} id: file:../../design-system/out/kl-design-system-1.0.1.tgz name: kl-design-system version: 1.0.1 diff --git a/src/apps/devdoc/public/robots.txt b/src/apps/devdoc/public/robots.txt new file mode 100644 index 000000000..7d3e6617c --- /dev/null +++ b/src/apps/devdoc/public/robots.txt @@ -0,0 +1,9 @@ +# * +User-agent: * +Allow: / + +# Host +Host: https://kloudlite.io + +# Sitemaps +Sitemap: https://kloudlite.io/sitemap.xml diff --git a/src/apps/devdoc/public/sitemap.xml b/src/apps/devdoc/public/sitemap.xml new file mode 100644 index 000000000..899090fba --- /dev/null +++ b/src/apps/devdoc/public/sitemap.xml @@ -0,0 +1,45 @@ + + +https://kloudlite.io2024-07-30T13:19:07.933Zdaily0.7 +https://kloudlite.io/about-us2024-07-30T13:19:07.934Zdaily0.7 +https://kloudlite.io/blog2024-07-30T13:19:07.934Zdaily0.7 +https://kloudlite.io/blog/collaborative-development2024-07-30T13:19:07.934Zdaily0.7 +https://kloudlite.io/blog/containerisation-reviving-legacy-apps-for-developers2024-07-30T13:19:07.934Zdaily0.7 +https://kloudlite.io/blog/demystifying-7-common-misconceptions-about-containers2024-07-30T13:19:07.934Zdaily0.7 +https://kloudlite.io/blog/development-workflow2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/blog/distributed-environment-as-a-service2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/blog/remote-local-environments2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/blog/role-of-open-source-in-modern-software-development2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/blog/the-evolution-of-development-workflows-an-introduction-to-deaas2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/contact-us2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/any-wireguard2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/api2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/architecture2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/contributing/code-of-conduct2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/contributing/documentation2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/contributing/feature-stages2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/contributing/frontend2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/contributing/security2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/getting-started2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/how-does-it-work2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/integrated-services/kompose2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/integrated-services/supported-services2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/kubernetes-clusters2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/local-devices2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/why-kloudlite2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/why-kloudlite/collaborate2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/why-kloudlite/environments2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/why-kloudlite/remote-local2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/why-kloudlite/shift-left2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/work-in-progress/code-servers2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/work-in-progress/model-storage2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/work-in-progress/notebooks2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/docs/work-in-progress/ray-clusters2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/help-and-support2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/help-and-support/kloudlite-overview2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/help-and-support/kloudlite-overview/what-is-kloudlite2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/pricing2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/privacy-policy2024-07-30T13:19:07.935Zdaily0.7 +https://kloudlite.io/terms-of-services2024-07-30T13:19:07.935Zdaily0.7 + \ No newline at end of file From e78102ee6dd366fdcce96b14104139482a786398 Mon Sep 17 00:00:00 2001 From: Bikash Date: Thu, 1 Aug 2024 14:58:09 +0545 Subject: [PATCH 02/15] fixed input and select height --- src/design-system/components/atoms/input.tsx | 29 ++++++++++------- src/design-system/components/atoms/select.tsx | 14 ++++----- src/design-system/components/css/index.scss | 31 ++++++++++++++----- src/design-system/prod-package.js | 8 ++--- 4 files changed, 52 insertions(+), 30 deletions(-) diff --git a/src/design-system/components/atoms/input.tsx b/src/design-system/components/atoms/input.tsx index 36f7e0693..77fa0c8e9 100644 --- a/src/design-system/components/atoms/input.tsx +++ b/src/design-system/components/atoms/input.tsx @@ -163,8 +163,13 @@ export const TextInputBase = forwardRef( disabled, 'pr-0': component !== 'input', }, - size === 'xl' ? 'h-[60px] !px-2xl' : 'px-lg', - className + { + 'h-[48px]': size === 'lg' && component === 'input', + 'h-[60px]': size === 'xl' && component === 'input', + 'h-[32px]': size === 'md' && component === 'input', + }, + size === 'xl' ? '!px-2xl' : 'px-lg', + className, )} > {!!prefixIcon && ( @@ -214,7 +219,7 @@ export const TextInputBase = forwardRef( 'no-spinner': type === 'number', }, size === 'xl' ? '' : 'bodyMd', - textFieldClassName + textFieldClassName, )} value={value} onChange={(e: any) => { @@ -266,7 +271,7 @@ export const TextInputBase = forwardRef( 'outline-none flex items-center rounded justify-center', { 'cursor-default': disabled, - } + }, )} > @@ -283,7 +288,7 @@ export const TextInputBase = forwardRef( 'outline-none flex items-center rounded justify-center', { 'cursor-default': disabled, - } + }, )} > {t === 'password' ? ( @@ -303,7 +308,7 @@ export const TextInputBase = forwardRef( 'text-text-critical': error, 'text-text-default': !error, }, - 'pt-md' + 'pt-md', )} > {message} @@ -311,7 +316,7 @@ export const TextInputBase = forwardRef( ); - } + }, ); export const NumberInput = ({ @@ -365,7 +370,7 @@ export const NumberInput = ({ ref?.current?.focus(); }} className={cn( - 'flex-1 p-sm disabled:text-icon-disabled hover:bg-surface-basic-hovered active:bg-surface-basic-pressed' + 'flex-1 p-sm disabled:text-icon-disabled hover:bg-surface-basic-hovered active:bg-surface-basic-pressed', )} > @@ -383,7 +388,7 @@ export const NumberInput = ({ ref?.current?.focus(); }} className={cn( - 'flex-1 p-sm disabled:text-icon-disabled hover:bg-surface-basic-hovered active:bg-surface-basic-pressed' + 'flex-1 p-sm disabled:text-icon-disabled hover:bg-surface-basic-hovered active:bg-surface-basic-pressed', )} > @@ -405,7 +410,7 @@ export const TextInput = forwardRef( {...{ ...props, id, component: 'input', type: 'text', ref }} /> ); - } + }, ); export const TextArea = forwardRef( @@ -417,7 +422,7 @@ export const TextArea = forwardRef( rows = '3', ...etc }, - ref + ref, ) => { const id = useId(); return ( @@ -435,7 +440,7 @@ export const TextArea = forwardRef( }} /> ); - } + }, ); export const PasswordInput = (props: IInputRow) => { diff --git a/src/design-system/components/atoms/select.tsx b/src/design-system/components/atoms/select.tsx index dc8685da7..ba1bfbc8d 100644 --- a/src/design-system/components/atoms/select.tsx +++ b/src/design-system/components/atoms/select.tsx @@ -50,7 +50,7 @@ const suffixRender = ({
{loading && ( @@ -75,7 +75,7 @@ const Select = ( message?: ReactNode; loading?: boolean; error?: boolean; - } + }, ) => { const { value, @@ -113,12 +113,12 @@ const Select = ( const c = cn( 'rounded flex flex-row items-center border bodyMd outline-none cursor-default', { - 'py-[10px] px-lg': size === 'lg', - 'py-[6px] px-lg': size === 'md', + 'py-[10px] px-lg h-[48px]': size === 'lg', + 'py-[6px] px-lg h-[36px]': size === 'md', }, error && !disabled ? 'bg-surface-critical-subdued border-text-critical text-text-critical' - : '' + : '', ); return { default: `${c} border-border-default bg-surface-basic-input text-text-default`, @@ -136,7 +136,7 @@ const Select = ( className={cn( error && !disabled ? 'text-text-critical/70' - : 'text-text-disabled' + : 'text-text-disabled', )} > {placeholder} @@ -175,7 +175,7 @@ const Select = ( 'text-text-critical': !!error, 'text-text-default': !error, }, - 'pt-md' + 'pt-md', )} > {message} diff --git a/src/design-system/components/css/index.scss b/src/design-system/components/css/index.scss index b36aed074..57a8a3017 100644 --- a/src/design-system/components/css/index.scss +++ b/src/design-system/components/css/index.scss @@ -1332,6 +1332,18 @@ video { height: 24px; } +.h-\[32px\] { + height: 32px; +} + +.h-\[36px\] { + height: 36px; +} + +.h-\[48px\] { + height: 48px; +} + .h-\[60px\] { height: 60px; } @@ -1884,7 +1896,8 @@ video { } .bg-surface-basic-default { - background-color: var(--surface-basic-default); + --tw-bg-opacity: 1; + background-color: color-mix(in srgb, var(--surface-basic-default) calc(100% * var(--tw-bg-opacity)), transparent); } .bg-surface-basic-hovered { @@ -2035,7 +2048,7 @@ video { } .fill-surface-basic-default { - fill: var(--surface-basic-default); + fill: color-mix(in srgb, var(--surface-basic-default) calc(100% * 1), transparent); } .fill-text-soft { @@ -2698,7 +2711,8 @@ select { } .disabled\:bg-surface-basic-default:disabled { - background-color: var(--surface-basic-default); + --tw-bg-opacity: 1; + background-color: color-mix(in srgb, var(--surface-basic-default) calc(100% * var(--tw-bg-opacity)), transparent); } .disabled\:bg-surface-basic-input:disabled { @@ -2743,7 +2757,8 @@ select { } .data-\[disabled\]\:bg-surface-basic-default[data-disabled] { - background-color: var(--surface-basic-default); + --tw-bg-opacity: 1; + background-color: color-mix(in srgb, var(--surface-basic-default) calc(100% * var(--tw-bg-opacity)), transparent); } .data-\[state\=checked\]\:bg-surface-primary-default[data-state=checked] { @@ -2755,7 +2770,8 @@ select { } .data-\[state\=unchecked\]\:bg-surface-basic-default[data-state=unchecked] { - background-color: var(--surface-basic-default); + --tw-bg-opacity: 1; + background-color: color-mix(in srgb, var(--surface-basic-default) calc(100% * var(--tw-bg-opacity)), transparent); } .data-\[disabled\]\:text-text-disabled[data-disabled] { @@ -2779,7 +2795,8 @@ select { } .group[data-disabled] .group-data-\[disabled\]\:bg-surface-basic-default { - background-color: var(--surface-basic-default); + --tw-bg-opacity: 1; + background-color: color-mix(in srgb, var(--surface-basic-default) calc(100% * var(--tw-bg-opacity)), transparent); } .group[data-state=checked] .group-data-\[state\=checked\]\:bg-surface-primary-default { @@ -2791,7 +2808,7 @@ select { } .group[data-state=checked] .group-data-\[state\=checked\]\:fill-surface-basic-default { - fill: var(--surface-basic-default); + fill: color-mix(in srgb, var(--surface-basic-default) calc(100% * 1), transparent); } .group[data-state=unchecked] .group-data-\[state\=unchecked\]\:fill-surface-primary-default { diff --git a/src/design-system/prod-package.js b/src/design-system/prod-package.js index a7ade907a..791cb715b 100644 --- a/src/design-system/prod-package.js +++ b/src/design-system/prod-package.js @@ -1,7 +1,7 @@ import fs from 'fs'; import path from 'path'; -import logger from '~/root/lib/client/helpers/log'; +// import logger from '~/root/lib/client/helpers/log'; import p from './package.json' with { type: 'json' }; const { @@ -31,7 +31,7 @@ function readDirectoryRecursively(directoryPath, p) { ...result, ...readDirectoryRecursively( path.join(directoryPath, file), - `${p}/${file}` + `${p}/${file}`, ), }; } else if ( @@ -91,10 +91,10 @@ const setup = () => { try { fs.writeFileSync(`${outPath}/package.json`, packageJson); } catch (e) { - logger.log('e', e); + // logger.log('e', e); } - logger.log('Done!'); + // logger.log('Done!'); }; setup(); From 3c977423581552a8fd772998849efd501da3d199 Mon Sep 17 00:00:00 2001 From: Bikash Date: Thu, 1 Aug 2024 14:58:41 +0545 Subject: [PATCH 03/15] replaced country field with select in contact us page --- .../devdoc/app/components/page/contact-us.tsx | 52 +- src/apps/devdoc/app/utils/countries.json | 1930 +++++++++++++++++ src/apps/devdoc/pnpm-lock.yaml | 1088 ++++++---- 3 files changed, 2615 insertions(+), 455 deletions(-) create mode 100644 src/apps/devdoc/app/utils/countries.json diff --git a/src/apps/devdoc/app/components/page/contact-us.tsx b/src/apps/devdoc/app/components/page/contact-us.tsx index fa2b6e2df..fad73a381 100644 --- a/src/apps/devdoc/app/components/page/contact-us.tsx +++ b/src/apps/devdoc/app/components/page/contact-us.tsx @@ -1,14 +1,17 @@ import { TextInput, TextArea } from 'kl-design-system/atoms/input'; +import Select from 'kl-design-system/atoms/select'; import Link from 'next/link'; import { ComponentProps, useState } from 'react'; import { addDoc, collection, getFirestore } from '@firebase/firestore'; import { FirebaseApp } from 'firebase/app'; -import { useForm } from 'react-hook-form'; +import { Controller, useForm } from 'react-hook-form'; import { useFirebase } from '~/app/utils/useFirebase'; import { supportEmail } from '~/app/utils/config'; import { toast } from 'kl-design-system/molecule/toast'; import Wrapper from '../wrapper'; import Button from '../button'; +import '@oshq/react-select/index.css'; +import countries from '~/app/utils/countries.json'; const SupportIcon = (props: ComponentProps<'svg'>) => { const { height, width } = props; @@ -104,6 +107,20 @@ type Inputs = { companyName: string; }; +const getContries = () => { + return (countries || []).map((c) => ({ + label: c.name, + value: c.name, + render: () => ( +
+ {c.emoji} + {c.name} +
+ ), + country: c, + })); +}; + const ContactRoot = () => { const { firebaseApp } = useFirebase(); const [loading, setLoading] = useState(false); @@ -113,6 +130,7 @@ const ContactRoot = () => { handleSubmit, formState: { errors }, reset, + control, } = useForm(); return ( @@ -173,12 +191,32 @@ const ContactRoot = () => {
- ( + getContries('code')} + valueRender={valueRenderCountryCode} + onChange={(val) => setSelectedCountryCode(val)} + tabIndex={-1} + searchable={false} + className={ + 'wb-cursor-pointer !wb-h-[36px] !wb-border-none wb-min-w-[76px] wb-outline-none' + } + portalClass="wb-absolute !wb-min-w-[300px] !wb-max-w-[300px]" + /> +
+
+ } size="lg" {...register('mobile', { required: 'Mobile is required', - pattern: { value: /^[^a-zA-Z]*$/, message: 'Invalid mobile number', diff --git a/src/apps/devdoc/app/utils/countries.json b/src/apps/devdoc/app/utils/countries.json index 4836a807c..98550f1e0 100644 --- a/src/apps/devdoc/app/utils/countries.json +++ b/src/apps/devdoc/app/utils/countries.json @@ -949,7 +949,7 @@ "emoji": "🇰🇾", "unicode": "U+1F1F0 U+1F1FE", "image": "KY.svg", - "dial_code": "+ 345" + "dial_code": "+345" }, { "name": "Kazakhstan", diff --git a/src/apps/devdoc/pnpm-lock.yaml b/src/apps/devdoc/pnpm-lock.yaml index e05d7ccdc..cc211fa70 100644 --- a/src/apps/devdoc/pnpm-lock.yaml +++ b/src/apps/devdoc/pnpm-lock.yaml @@ -6,19 +6,19 @@ settings: dependencies: '@firebase/firestore': - specifier: ^4.6.4 + specifier: ^4.6.2 version: 4.6.4(@firebase/app@0.10.7) '@jengaicons/react': - specifier: ^1.9.0 + specifier: ^1.3.0 version: 1.9.0(react@18.3.1) '@mdxeditor/editor': - specifier: ^2.20.7 + specifier: ^2.20.4 version: 2.20.7(@codemirror/language@6.10.2)(@lezer/common@1.2.1)(@lezer/highlight@1.2.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1)(yjs@13.6.18) '@radix-ui/react-accordion': - specifier: ^1.2.0 + specifier: ^1.1.2 version: 1.2.0(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@radix-ui/react-navigation-menu': - specifier: ^1.2.0 + specifier: ^1.1.4 version: 1.2.0(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) '@splidejs/react-splide': specifier: ^0.7.12 @@ -48,13 +48,13 @@ dependencies: specifier: ^5.0.0 version: 5.0.0 firebase: - specifier: ^10.12.4 + specifier: ^10.8.0 version: 10.12.4 flexsearch: - specifier: ^0.7.43 + specifier: ^0.7.31 version: 0.7.43 framer-motion: - specifier: ^10.18.0 + specifier: ^10.16.16 version: 10.18.0(react-dom@18.3.1)(react@18.3.1) git-url-parse: specifier: ^13.1.1 @@ -75,31 +75,31 @@ dependencies: specifier: ^4.17.21 version: 4.17.21 next: - specifier: ^14.2.5 + specifier: ^14.0.4 version: 14.2.5(react-dom@18.3.1)(react@18.3.1) next-seo: - specifier: ^6.5.0 + specifier: ^6.4.0 version: 6.5.0(next@14.2.5)(react-dom@18.3.1)(react@18.3.1) next-themes: specifier: ^0.2.1 version: 0.2.1(next@14.2.5)(react-dom@18.3.1)(react@18.3.1) nextra: - specifier: ^2.13.4 + specifier: ^2.13.2 version: 2.13.4(next@14.2.5)(react-dom@18.3.1)(react@18.3.1) nextra-theme-docs: - specifier: ^2.13.4 + specifier: ^2.13.2 version: 2.13.4(next@14.2.5)(nextra@2.13.4)(react-dom@18.3.1)(react@18.3.1) react: - specifier: ^18.3.1 + specifier: ^18.2.0 version: 18.3.1 react-dom: - specifier: ^18.3.1 + specifier: ^18.2.0 version: 18.3.1(react@18.3.1) react-fast-marquee: - specifier: ^1.6.5 + specifier: ^1.6.4 version: 1.6.5(react-dom@18.3.1)(react@18.3.1) react-hook-form: - specifier: ^7.52.1 + specifier: ^7.51.5 version: 7.52.1(react@18.3.1) react-slick: specifier: ^0.30.2 @@ -117,7 +117,7 @@ dependencies: specifier: ^1.8.1 version: 1.8.1(jquery@3.7.1) zod: - specifier: ^3.23.8 + specifier: ^3.22.4 version: 3.23.8 devDependencies: @@ -125,31 +125,31 @@ devDependencies: specifier: ^0.7.6 version: 0.7.6 '@types/lodash': - specifier: ^4.17.7 + specifier: ^4.17.6 version: 4.17.7 '@types/node': specifier: 20.8.4 version: 20.8.4 '@types/react': - specifier: ^18.3.3 + specifier: ^18.2.46 version: 18.3.3 '@typescript-eslint/eslint-plugin': - specifier: ^6.21.0 + specifier: ^6.16.0 version: 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.2.2) '@typescript-eslint/parser': - specifier: ^6.21.0 + specifier: ^6.16.0 version: 6.21.0(eslint@8.57.0)(typescript@5.2.2) autoprefixer: - specifier: ^10.4.19 + specifier: ^10.4.16 version: 10.4.19(postcss@8.4.40) eslint: - specifier: ^8.57.0 + specifier: ^8.56.0 version: 8.57.0 eslint-config-airbnb: specifier: 19.0.4 version: 19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.9.0)(eslint-plugin-react-hooks@4.6.2)(eslint-plugin-react@7.35.0)(eslint@8.57.0) eslint-config-next: - specifier: ^14.2.5 + specifier: ^14.0.4 version: 14.2.5(eslint@8.57.0)(typescript@5.2.2) eslint-config-prettier: specifier: ^8.10.0 @@ -167,34 +167,34 @@ devDependencies: specifier: ^2.29.1 version: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-jsx-a11y: - specifier: ^6.9.0 + specifier: ^6.8.0 version: 6.9.0(eslint@8.57.0) eslint-plugin-mdx: - specifier: ^3.1.5 + specifier: ^3.1.1 version: 3.1.5(eslint@8.57.0) eslint-plugin-prefer-arrow-functions: - specifier: ^3.3.2 + specifier: ^3.2.4 version: 3.3.2(eslint@8.57.0) eslint-plugin-prettier: specifier: ^4.2.1 version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.57.0)(prettier@2.8.8) eslint-plugin-react: - specifier: ^7.35.0 + specifier: ^7.33.2 version: 7.35.0(eslint@8.57.0) eslint-plugin-react-hooks: - specifier: ^4.6.2 + specifier: ^4.6.0 version: 4.6.2(eslint@8.57.0) next-sitemap: specifier: ^4.2.3 version: 4.2.3(next@14.2.5) postcss: - specifier: ^8.4.40 + specifier: ^8.4.32 version: 8.4.40 prettier: specifier: ^2.8.8 version: 2.8.8 tailwindcss: - specifier: ^3.4.7 + specifier: ^3.4.0 version: 3.4.7 typescript: specifier: 5.2.2 @@ -9301,7 +9301,7 @@ packages: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} file:../../design-system/out/kl-design-system-1.0.1.tgz(framer-motion@10.18.0)(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-HMxd2af6hFYdkVM/0RQBRFuogUb51tMJsjG5QQI1yUih/1kr/xou9rWkyldpSJNiRqm7+UDUnIWOAQQDVGXz7Q==, tarball: file:../../design-system/out/kl-design-system-1.0.1.tgz} + resolution: {integrity: sha512-Ybpzf8m/yV+4jlDxHJpJ96YNfLeGeSWzRilSOmYtomW6D4Pr7bE9bEhmZdwjlgTxiKRgDQLdfbTvQDn5RiVkGw==, tarball: file:../../design-system/out/kl-design-system-1.0.1.tgz} id: file:../../design-system/out/kl-design-system-1.0.1.tgz name: kl-design-system version: 1.0.1 From 94ef49b6103f24bf8b5e8e4192ff262090786479 Mon Sep 17 00:00:00 2001 From: Bikash Date: Fri, 2 Aug 2024 10:34:54 +0545 Subject: [PATCH 07/15] added privacy statement to contactus page --- .../devdoc/app/components/page/contact-us.tsx | 16 ++-- src/apps/devdoc/public/sitemap.xml | 84 +++++++++---------- 2 files changed, 52 insertions(+), 48 deletions(-) diff --git a/src/apps/devdoc/app/components/page/contact-us.tsx b/src/apps/devdoc/app/components/page/contact-us.tsx index ba6786af9..f9bc11947 100644 --- a/src/apps/devdoc/app/components/page/contact-us.tsx +++ b/src/apps/devdoc/app/components/page/contact-us.tsx @@ -247,9 +247,7 @@ const ContactRoot = () => { onChange={(val) => setSelectedCountryCode(val)} tabIndex={-1} searchable={false} - className={ - 'wb-cursor-pointer !wb-h-[36px] !wb-border-none wb-min-w-[76px] wb-outline-none' - } + className="wb-cursor-pointer !wb-h-[36px] !wb-border-none wb-min-w-[76px] wb-outline-none" portalClass="wb-absolute !wb-min-w-[300px] !wb-max-w-[300px]" />
@@ -275,13 +273,19 @@ const ContactRoot = () => { message={errors.message?.message} />
-
+
+ + By submitting this, I confirm that I have read and understood the + + {' '} + Privacy policy. + +
diff --git a/src/apps/devdoc/public/sitemap.xml b/src/apps/devdoc/public/sitemap.xml index 4849832b8..41be77c30 100644 --- a/src/apps/devdoc/public/sitemap.xml +++ b/src/apps/devdoc/public/sitemap.xml @@ -1,45 +1,45 @@ -https://kloudlite.io2024-08-01T09:20:10.968Zdaily0.7 -https://kloudlite.io/about-us2024-08-01T09:20:10.968Zdaily0.7 -https://kloudlite.io/blog2024-08-01T09:20:10.968Zdaily0.7 -https://kloudlite.io/blog/collaborative-development2024-08-01T09:20:10.968Zdaily0.7 -https://kloudlite.io/blog/containerisation-reviving-legacy-apps-for-developers2024-08-01T09:20:10.968Zdaily0.7 -https://kloudlite.io/blog/demystifying-7-common-misconceptions-about-containers2024-08-01T09:20:10.968Zdaily0.7 -https://kloudlite.io/blog/development-workflow2024-08-01T09:20:10.968Zdaily0.7 -https://kloudlite.io/blog/distributed-environment-as-a-service2024-08-01T09:20:10.968Zdaily0.7 -https://kloudlite.io/blog/remote-local-environments2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/blog/role-of-open-source-in-modern-software-development2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/blog/the-evolution-of-development-workflows-an-introduction-to-deaas2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/contact-us2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/any-wireguard2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/api2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/architecture2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/contributing/code-of-conduct2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/contributing/documentation2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/contributing/feature-stages2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/contributing/frontend2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/contributing/security2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/getting-started2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/how-does-it-work2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/integrated-services/kompose2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/integrated-services/supported-services2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/kubernetes-clusters2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/local-devices2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/why-kloudlite2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/why-kloudlite/collaborate2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/why-kloudlite/environments2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/why-kloudlite/remote-local2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/why-kloudlite/shift-left2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/work-in-progress/code-servers2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/work-in-progress/model-storage2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/work-in-progress/notebooks2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/docs/work-in-progress/ray-clusters2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/help-and-support2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/help-and-support/kloudlite-overview2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/help-and-support/kloudlite-overview/what-is-kloudlite2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/pricing2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/privacy-policy2024-08-01T09:20:10.969Zdaily0.7 -https://kloudlite.io/terms-of-services2024-08-01T09:20:10.969Zdaily0.7 +https://kloudlite.io2024-08-01T13:40:42.073Zdaily0.7 +https://kloudlite.io/about-us2024-08-01T13:40:42.073Zdaily0.7 +https://kloudlite.io/blog2024-08-01T13:40:42.073Zdaily0.7 +https://kloudlite.io/blog/collaborative-development2024-08-01T13:40:42.073Zdaily0.7 +https://kloudlite.io/blog/containerisation-reviving-legacy-apps-for-developers2024-08-01T13:40:42.073Zdaily0.7 +https://kloudlite.io/blog/demystifying-7-common-misconceptions-about-containers2024-08-01T13:40:42.073Zdaily0.7 +https://kloudlite.io/blog/development-workflow2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/blog/distributed-environment-as-a-service2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/blog/remote-local-environments2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/blog/role-of-open-source-in-modern-software-development2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/blog/the-evolution-of-development-workflows-an-introduction-to-deaas2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/contact-us2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/any-wireguard2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/api2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/architecture2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/contributing/code-of-conduct2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/contributing/documentation2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/contributing/feature-stages2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/contributing/frontend2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/contributing/security2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/getting-started2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/how-does-it-work2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/integrated-services/kompose2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/integrated-services/supported-services2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/kubernetes-clusters2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/local-devices2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/why-kloudlite2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/why-kloudlite/collaborate2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/why-kloudlite/environments2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/why-kloudlite/remote-local2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/why-kloudlite/shift-left2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/work-in-progress/code-servers2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/work-in-progress/model-storage2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/work-in-progress/notebooks2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/docs/work-in-progress/ray-clusters2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/help-and-support2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/help-and-support/kloudlite-overview2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/help-and-support/kloudlite-overview/what-is-kloudlite2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/pricing2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/privacy-policy2024-08-01T13:40:42.074Zdaily0.7 +https://kloudlite.io/terms-of-services2024-08-01T13:40:42.074Zdaily0.7 \ No newline at end of file From 572bbc4ce91bb43692e10489cc391d30a742370b Mon Sep 17 00:00:00 2001 From: Bikash Date: Fri, 2 Aug 2024 12:46:44 +0545 Subject: [PATCH 08/15] fixed select css issue --- src/design-system/components/atoms/select.tsx | 19 +- src/design-system/components/css/index.scss | 650 ++++++++++++++++++ src/design-system/index.css | 1 + 3 files changed, 665 insertions(+), 5 deletions(-) diff --git a/src/design-system/components/atoms/select.tsx b/src/design-system/components/atoms/select.tsx index c4d71e238..ae997dcfc 100644 --- a/src/design-system/components/atoms/select.tsx +++ b/src/design-system/components/atoms/select.tsx @@ -14,10 +14,13 @@ const menuItemRender = (props: IMenuItemRender) => { return (
{typeof render === 'string' ? render @@ -168,7 +171,13 @@ const Select = ( multiple={multiple} onSearch={onSearch} searchable={searchable} - noOptionMessage={noOptionMessage} + noOptionMessage={ + noOptionMessage || ( +
+ No options +
+ ) + } disableWhileLoading={disableWhileLoading} createLabel={createLabel} /> diff --git a/src/design-system/components/css/index.scss b/src/design-system/components/css/index.scss index 57a8a3017..7a0c587a8 100644 --- a/src/design-system/components/css/index.scss +++ b/src/design-system/components/css/index.scss @@ -412,6 +412,649 @@ border-style: none; } +.zener-select,.zener-select *{ + scroll-behavior:unset!important +} + +.zener-select svg{ + display:block +} + +.zener-select button{ + cursor:pointer; + -webkit-appearance:button; + background-color:transparent; + background-image:none +} + +.zener-select input,.zener-select button{ + font-family:inherit; + font-feature-settings:inherit; + font-variation-settings:inherit; + font-size:100%; + font-weight:inherit; + line-height:inherit; + color:inherit; + margin:0; + padding:0 +} + +.zener-pointer-events-auto{ + pointer-events:auto +} + +.zener-invisible{ + visibility:hidden +} + +.zener-absolute{ + position:absolute +} + +.zener-relative{ + position:relative +} + +.zener-inset-0{ + inset:0 +} + +.zener-left-0{ + left:0 +} + +.zener-z-10{ + z-index:10 +} + +.zener-z-\[99999999999999999999\]{ + z-index:100000000000000000000 +} + +.zener-z-\[9999999999999999999\]{ + z-index:10000000000000000000 +} + +.zener-mx-0{ + margin-left:0; + margin-right:0 +} + +.zener-mx-0\.5{ + margin-left:.125rem; + margin-right:.125rem +} + +.zener-mx-1{ + margin-left:.25rem; + margin-right:.25rem +} + +.zener-mx-1\.5{ + margin-left:.375rem; + margin-right:.375rem +} + +.-zener-ml-1{ + margin-left:-.25rem +} + +.zener-ml-0{ + margin-left:0 +} + +.zener-mr-0{ + margin-right:0 +} + +.zener-mr-0\.5{ + margin-right:.125rem +} + +.zener-mt-3{ + margin-top:.75rem +} + +.zener-flex{ + display:flex +} + +.zener-hidden{ + display:none +} + +.zener-h-0{ + height:0px +} + +.zener-h-5{ + height:1.25rem +} + +.zener-h-6{ + height:1.5rem +} + +.zener-h-full{ + height:100% +} + +.zener-min-h-\[24px\]{ + min-height:24px +} + +.zener-w-5{ + width:1.25rem +} + +.zener-w-fit{ + width:-moz-fit-content; + width:fit-content +} + +.zener-w-full{ + width:100% +} + +.zener-min-w-0{ + min-width:0px +} + +.zener-min-w-\[50px\]{ + min-width:50px +} + +.zener-max-w-full{ + max-width:100% +} + +.zener-flex-1{ + flex:1 1 0% +} + +@keyframes zener-spin{ + to{ + transform:rotate(360deg) + } +} + +.zener-animate-spin{ + animation:zener-spin 1s linear infinite +} + +.zener-cursor-pointer{ + cursor:pointer +} + +.zener-cursor-text{ + cursor:text +} + +.zener-flex-row{ + flex-direction:row +} + +.zener-flex-col{ + flex-direction:column +} + +.zener-flex-wrap{ + flex-wrap:wrap +} + +.zener-items-center{ + align-items:center +} + +.zener-justify-center{ + justify-content:center +} + +.zener-gap-0{ + gap:0px +} + +.zener-gap-0\.5{ + gap:.125rem +} + +.zener-gap-1{ + gap:.25rem +} + +.zener-gap-2{ + gap:.5rem +} + +.zener-self-center{ + align-self:center +} + +.zener-overflow-hidden{ + overflow:hidden +} + +.zener-truncate{ + overflow:hidden; + text-overflow:ellipsis; + white-space:nowrap +} + +.zener-whitespace-pre{ + white-space:pre +} + +.zener-rounded{ + border-radius:.25rem +} + +.zener-rounded-lg{ + border-radius:.5rem +} + +.zener-border{ + border-width:1px +} + +.zener-border-0{ + border-width:0px +} + +.zener-border-t{ + border-top-width:1px +} + +.zener-border-solid{ + border-style:solid +} + +.zener-border-stone-100{ + --tw-border-opacity: 1; + border-color:rgb(245 245 244/var(--tw-border-opacity)) +} + +.zener-border-stone-200{ + --tw-border-opacity: 1; + border-color:rgb(231 229 228/var(--tw-border-opacity)) +} + +.zener-border-t-white{ + --tw-border-opacity: 1; + border-top-color:rgb(255 255 255/var(--tw-border-opacity)) +} + +.zener-bg-\[\#E3E3E3\]{ + --tw-bg-opacity: 1; + background-color:rgb(227 227 227/var(--tw-bg-opacity)) +} + +.zener-bg-\[\#f0f0f0\]{ + --tw-bg-opacity: 1; + background-color:rgb(240 240 240/var(--tw-bg-opacity)) +} + +.zener-bg-black{ + --tw-bg-opacity: 1; + background-color:rgb(0 0 0/var(--tw-bg-opacity)) +} + +.zener-bg-black\/25{ + background-color:#00000040 +} + +.zener-bg-black\/5{ + background-color:#0000000d +} + +.zener-bg-blue-200{ + --tw-bg-opacity: 1; + background-color:rgb(191 219 254/var(--tw-bg-opacity)) +} + +.zener-bg-gray-400\/10{ + background-color:#9ca3af1a +} + +.zener-bg-green-200{ + --tw-bg-opacity: 1; + background-color:rgb(187 247 208/var(--tw-bg-opacity)) +} + +.zener-bg-red-200{ + --tw-bg-opacity: 1; + background-color:rgb(254 202 202/var(--tw-bg-opacity)) +} + +.zener-bg-stone-200{ + --tw-bg-opacity: 1; + background-color:rgb(231 229 228/var(--tw-bg-opacity)) +} + +.zener-bg-transparent{ + background-color:transparent +} + +.zener-bg-white{ + --tw-bg-opacity: 1; + background-color:rgb(255 255 255/var(--tw-bg-opacity)) +} + +.zener-bg-yellow-400{ + --tw-bg-opacity: 1; + background-color:rgb(250 204 21/var(--tw-bg-opacity)) +} + +.zener-bg-yellow-500{ + --tw-bg-opacity: 1; + background-color:rgb(234 179 8/var(--tw-bg-opacity)) +} + +.zener-bg-yellow-600{ + --tw-bg-opacity: 1; + background-color:rgb(202 138 4/var(--tw-bg-opacity)) +} + +.zener-p-1{ + padding:.25rem +} + +.zener-p-2{ + padding:.5rem +} + +.zener-px-1{ + padding-left:.25rem; + padding-right:.25rem +} + +.zener-px-1\.5{ + padding-left:.375rem; + padding-right:.375rem +} + +.zener-px-2{ + padding-left:.5rem; + padding-right:.5rem +} + +.zener-px-4{ + padding-left:1rem; + padding-right:1rem +} + +.zener-py-0{ + padding-top:0; + padding-bottom:0 +} + +.zener-py-0\.5{ + padding-top:.125rem; + padding-bottom:.125rem +} + +.zener-py-2{ + padding-top:.5rem; + padding-bottom:.5rem +} + +.zener-py-px{ + padding-top:1px; + padding-bottom:1px +} + +.zener-pl-5{ + padding-left:1.25rem +} + +.zener-pr-2{ + padding-right:.5rem +} + +.zener-pt-3{ + padding-top:.75rem +} + +.zener-text-center{ + text-align:center +} + +.zener-font-sans{ + font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji" +} + +.zener-text-sm{ + font-size:.875rem; + line-height:1.25rem +} + +.zener-text-xs{ + font-size:.75rem; + line-height:1rem +} + +.zener-font-bold{ + font-weight:700 +} + +.zener-text-black{ + --tw-text-opacity: 1; + color:rgb(0 0 0/var(--tw-text-opacity)) +} + +.zener-text-black\/20{ + color:#0003 +} + +.zener-text-black\/25{ + color:#00000040 +} + +.zener-text-black\/50{ + color:#00000080 +} + +.zener-text-gray-400{ + --tw-text-opacity: 1; + color:rgb(156 163 175/var(--tw-text-opacity)) +} + +.zener-text-white{ + --tw-text-opacity: 1; + color:rgb(255 255 255/var(--tw-text-opacity)) +} + +.zener-text-white\/50{ + color:#ffffff80 +} + +.zener-opacity-0{ + opacity:0 +} + +.zener-opacity-100{ + opacity:1 +} + +.zener-opacity-30{ + opacity:.3 +} + +.zener-opacity-40{ + opacity:.4 +} + +.zener-opacity-60{ + opacity:.6 +} + +.zener-opacity-80{ + opacity:.8 +} + +.zener-shadow-2xl{ + --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25); + --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color); + box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-shadow) +} + +.zener-shadow-menu{ + --tw-shadow: 0 6px 16px 0 rgba(0,0,0,.08), 0 3px 6px -4px rgba(0,0,0,.12), 0 9px 28px 8px rgba(0,0,0,.05); + --tw-shadow-colored: 0 6px 16px 0 var(--tw-shadow-color), 0 3px 6px -4px var(--tw-shadow-color), 0 9px 28px 8px var(--tw-shadow-color); + box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-shadow) +} + +.zener-outline-none{ + outline:2px solid transparent; + outline-offset:2px +} + +.zener-ring-1{ + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 rgba(0, 0, 0, 0)) +} + +.zener-ring-orange-400{ + --tw-ring-opacity: 1; + --tw-ring-color: rgb(251 146 60 / var(--tw-ring-opacity)) +} + +.zener-transition-all{ + transition-property:all; + transition-timing-function:cubic-bezier(.4,0,.2,1); + transition-duration:.15s +} + +*,:before,:after{ + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-gradient-from-position: ; + --tw-gradient-via-position: ; + --tw-gradient-to-position: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: rgb(59 130 246 / .5); + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: +} + +::backdrop{ + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-gradient-from-position: ; + --tw-gradient-via-position: ; + --tw-gradient-to-position: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: rgb(59 130 246 / .5); + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: +} + +.focus-within\:zener-ring-1:focus-within{ + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 rgba(0, 0, 0, 0)) +} + +.focus-within\:zener-ring-blue-400:focus-within{ + --tw-ring-opacity: 1; + --tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity)) +} + +.hover\:zener-opacity-100:hover{ + opacity:1 +} + +.hover\:zener-opacity-60:hover{ + opacity:.6 +} + +.focus\:zener-ring-1:focus{ + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 rgba(0, 0, 0, 0)) +} + +.focus\:zener-ring-blue-400:focus{ + --tw-ring-opacity: 1; + --tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity)) +} + html { font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11'; } @@ -1076,6 +1719,13 @@ video { font-weight: 500 !important; } +.bodyLg { + font-family: "Inter var", sans-serif; + font-feature-settings: "cv02", "cv03", "cv04", "cv11"; + font-size: 16px; + line-height: 24px; +} + .headingSm { font-family: "Inter var", sans-serif; font-feature-settings: "cv02", "cv03", "cv04", "cv11"; diff --git a/src/design-system/index.css b/src/design-system/index.css index f38b53e82..0785bf3c2 100644 --- a/src/design-system/index.css +++ b/src/design-system/index.css @@ -4,6 +4,7 @@ @import './css/default.css'; @import './css/dark.css'; @import 'css/slider.css'; +@import '../../node_modules/@oshq/react-select/dist/index.css'; html { font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11'; From 1b2dae883c3b357d6c4dbb88700b2cb6ed0c16b9 Mon Sep 17 00:00:00 2001 From: Bikash Date: Fri, 2 Aug 2024 12:47:15 +0545 Subject: [PATCH 09/15] removed react select css dependency --- lib/app-setup/root.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/app-setup/root.tsx b/lib/app-setup/root.tsx index 55824610f..f959a4f38 100644 --- a/lib/app-setup/root.tsx +++ b/lib/app-setup/root.tsx @@ -15,7 +15,6 @@ import { ReactNode, useEffect } from 'react'; import skeletonCSS from 'react-loading-skeleton/dist/skeleton.css'; import styleReactPulsable from 'react-pulsable/index.css'; import reactToast from 'react-toastify/dist/ReactToastify.css'; -import styleZenerSelect from '@oshq/react-select/index.css'; import rcss from 'react-highlightjs-logs/dist/index.css'; import Container from '~/components/atoms/container'; import ProgressContainer, { @@ -42,7 +41,6 @@ export const links: LinksFunction = () => [ { rel: 'stylesheet', href: skeletonCSS }, { rel: 'stylesheet', href: rcSlide }, { rel: 'stylesheet', href: styleReactPulsable }, - { rel: 'stylesheet', href: styleZenerSelect }, { rel: 'stylesheet', href: rcss }, { rel: 'stylesheet', From 95edc05f620ba4bd64f1ed84e00ff848a1350bb5 Mon Sep 17 00:00:00 2001 From: Bikash Date: Fri, 2 Aug 2024 12:47:54 +0545 Subject: [PATCH 10/15] implemented faq for help and support and fixed react select css issue --- .../devdoc/app/components/page/contact-us.tsx | 1 - .../page/kloudlite-overview-index.tsx | 83 +++++ .../app/components/website/home/faq.tsx | 10 +- src/apps/devdoc/app/layout/theme.tsx | 2 +- src/apps/devdoc/app/utils/commons.tsx | 71 +++++ src/apps/devdoc/app/utils/const.tsx | 95 ++++++ .../kloudlite-overview/index.mdx | 3 +- src/apps/devdoc/pnpm-lock.yaml | 296 +++++++++--------- 8 files changed, 402 insertions(+), 159 deletions(-) create mode 100644 src/apps/devdoc/app/components/page/kloudlite-overview-index.tsx diff --git a/src/apps/devdoc/app/components/page/contact-us.tsx b/src/apps/devdoc/app/components/page/contact-us.tsx index f9bc11947..e2b1b03bd 100644 --- a/src/apps/devdoc/app/components/page/contact-us.tsx +++ b/src/apps/devdoc/app/components/page/contact-us.tsx @@ -10,7 +10,6 @@ import { supportEmail } from '~/app/utils/config'; import { toast } from 'kl-design-system/molecule/toast'; import Wrapper from '../wrapper'; import Button from '../button'; -import '@oshq/react-select/index.css'; import countries from '~/app/utils/countries.json'; const SupportIcon = (props: ComponentProps<'svg'>) => { diff --git a/src/apps/devdoc/app/components/page/kloudlite-overview-index.tsx b/src/apps/devdoc/app/components/page/kloudlite-overview-index.tsx new file mode 100644 index 000000000..ea6395cbc --- /dev/null +++ b/src/apps/devdoc/app/components/page/kloudlite-overview-index.tsx @@ -0,0 +1,83 @@ +import OptionList from 'kl-design-system/atoms/option-list'; +import { GraphExtended, GraphItem } from '../graph'; +import * as Accordion from '@radix-ui/react-accordion'; +import consts from '~/app/utils/const'; +import { useEffect, useRef, useState } from 'react'; +import { CollapseItem, autoSize } from '~/app/utils/commons'; +import Select from 'kl-design-system/atoms/select'; + +type IItem = keyof typeof consts.helpandsupport.kloudliteOverviewFaqs; +const KOverviewIndex = () => { + const [selected, setSelected] = useState('general'); + + const ref = useRef(null); + + const items = Object.entries(consts.helpandsupport.kloudliteOverviewFaqs); + + useEffect(() => { + if (ref.current?.parentElement) + autoSize(ref.current?.parentElement, 'animationend'); + }, [ref.current]); + return ( +
+
+ + Kloudlite overview + + + Learn about Kloudlite and how it can help you. + +
+ +
+ + setSelected(v)} + searchable={false} + options={async () => + items.map(([key, value]) => { + return { label: value.label, value: key }; + }) + } + /> + + + {items.map(([key, val]) => { + return ( +
setSelected(key)}> + + {val.label} + +
+ ); + })} +
+ + + {consts.helpandsupport.kloudliteOverviewFaqs[selected].items.map( + (f, i) => ( + + {f.desc} + + ), + )} + + +
+ ); }; From 11a5aa3fc030fb3995984656ba2ededa7f93c6b6 Mon Sep 17 00:00:00 2001 From: Bikash Date: Fri, 2 Aug 2024 14:08:55 +0545 Subject: [PATCH 13/15] added timeout for contactus page --- .../devdoc/app/components/page/contact-us.tsx | 466 +++++++++--------- 1 file changed, 238 insertions(+), 228 deletions(-) diff --git a/src/apps/devdoc/app/components/page/contact-us.tsx b/src/apps/devdoc/app/components/page/contact-us.tsx index 12ed35a9e..b6ee45ac1 100644 --- a/src/apps/devdoc/app/components/page/contact-us.tsx +++ b/src/apps/devdoc/app/components/page/contact-us.tsx @@ -11,11 +11,12 @@ import { toast } from 'kl-design-system/molecule/toast'; import Wrapper from '../wrapper'; import Button from '../button'; import countries from '~/app/utils/countries.json'; -import { GraphExtended, GraphItem } from '../graph'; +import { GraphItem } from '../graph'; import { CollapseItem, autoSize } from '~/app/utils/commons'; import consts from '~/app/utils/const'; import OptionList from 'kl-design-system/atoms/option-list'; import * as Accordion from '@radix-ui/react-accordion'; +import { getCookie, setCookie } from 'cookies-next'; import { Block } from '../commons'; const SupportIcon = (props: ComponentProps<'svg'>) => { @@ -93,14 +94,12 @@ const addContact = async ( } const firestore = getFirestore(app); const col = collection(firestore, 'web-contact-form'); - const contactData = { ...data, createdAt: new Date(), }; await addDoc(col, contactData); - toast.info('Request for demo has been sent successfully.'); }; type Inputs = { @@ -142,6 +141,69 @@ const valueRenderCountryCode = (value: any) => ( type IItem = keyof typeof consts.helpandsupport.kloudliteOverviewFaqs; +const FAQSection = () => { + const [selected, setSelected] = useState('general'); + + const ref = useRef(null); + + const items = Object.entries(consts.helpandsupport.kloudliteOverviewFaqs); + + useEffect(() => { + if (ref.current?.parentElement) + autoSize(ref.current?.parentElement, 'animationend'); + }, [ref.current]); + return ( + +
+ + { - onChange(val.label); - }} - options={async () => getContries()} - valueRender={valueRender} - error={!!errors.country} - message={errors.country?.message} - /> - )} - /> +
+ +
+
+ +
+
+ +
-
- +
+
+ ( getContries('code')} + valueRender={valueRenderCountryCode} + onChange={(val) => setSelectedCountryCode(val)} + tabIndex={-1} + searchable={false} + className="wb-cursor-pointer !wb-h-[36px] !wb-border-none wb-min-w-[76px] wb-outline-none" + portalClass="wb-absolute !wb-min-w-[300px] !wb-max-w-[300px]" + /> +
+
+ } + size="lg" + {...register('mobile', { + required: 'Mobile is required', + pattern: { + value: /^[^a-zA-Z]*$/, + message: 'Invalid mobile number', + }, + })} + error={!!errors.mobile} + message={errors.mobile?.message} + /> +
+