diff --git a/docs/package-lock.json b/docs/package-lock.json index a2b19807..67404f74 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -11,10 +11,13 @@ "@docusaurus/core": "2.1.0", "@docusaurus/preset-classic": "2.1.0", "@mdx-js/react": "^1.6.22", + "autoprefixer": "^10.4.14", "clsx": "^1.1.1", + "postcss": "^8.4.23", "prism-react-renderer": "^1.3.3", "react": "^17.0.2", - "react-dom": "^17.0.2" + "react-dom": "^17.0.2", + "tailwindcss": "^3.3.2" }, "devDependencies": { "@docusaurus/module-type-aliases": "2.1.0" @@ -165,6 +168,17 @@ "@algolia/requester-common": "4.17.0" } }, + "node_modules/@alloc/quick-lru": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", + "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@ampproject/remapping": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", @@ -3735,6 +3749,11 @@ "node": ">=4" } }, + "node_modules/any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==" + }, "node_modules/anymatch": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", @@ -5527,6 +5546,11 @@ "detect-port": "bin/detect-port.js" } }, + "node_modules/didyoumean": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", + "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==" + }, "node_modules/dir-glob": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", @@ -5538,6 +5562,11 @@ "node": ">=8" } }, + "node_modules/dlv": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==" + }, "node_modules/dns-equal": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz", @@ -8101,6 +8130,16 @@ "multicast-dns": "cli.js" } }, + "node_modules/mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, "node_modules/nanoid": { "version": "3.3.6", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", @@ -8242,6 +8281,14 @@ "node": ">=0.10.0" } }, + "node_modules/object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "engines": { + "node": ">= 6" + } + }, "node_modules/object-inspect": { "version": "1.12.3", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", @@ -8629,6 +8676,22 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pirates": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", + "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", + "engines": { + "node": ">= 6" + } + }, "node_modules/pkg-dir": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", @@ -8822,6 +8885,76 @@ "postcss": "^8.2.15" } }, + "node_modules/postcss-import": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", + "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", + "dependencies": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "node_modules/postcss-js": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz", + "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", + "dependencies": { + "camelcase-css": "^2.0.1" + }, + "engines": { + "node": "^12 || ^14 || >= 16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.4.21" + } + }, + "node_modules/postcss-load-config": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.1.tgz", + "integrity": "sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==", + "dependencies": { + "lilconfig": "^2.0.5", + "yaml": "^2.1.1" + }, + "engines": { + "node": ">= 14" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": ">=8.0.9", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "postcss": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/postcss-load-config/node_modules/yaml": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.2.tgz", + "integrity": "sha512-N/lyzTPaJasoDmfV7YTrYCI0G/3ivm/9wdG0aHuheKowWQwGTsK0Eoiw6utmzAnI6pkJa0DUVygvp3spqqEKXg==", + "engines": { + "node": ">= 14" + } + }, "node_modules/postcss-loader": { "version": "7.3.0", "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-7.3.0.tgz", @@ -9023,6 +9156,24 @@ "postcss": "^8.1.0" } }, + "node_modules/postcss-nested": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz", + "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==", + "dependencies": { + "postcss-selector-parser": "^6.0.11" + }, + "engines": { + "node": ">=12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.2.14" + } + }, "node_modules/postcss-normalize-charset": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-5.1.0.tgz", @@ -9826,6 +9977,14 @@ "react": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, + "node_modules/read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", + "dependencies": { + "pify": "^2.3.0" + } + }, "node_modules/readable-stream": { "version": "3.6.2", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", @@ -11057,6 +11216,54 @@ "postcss": "^8.2.15" } }, + "node_modules/sucrase": { + "version": "3.34.0", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.34.0.tgz", + "integrity": "sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw==", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "glob": "7.1.6", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "ts-interface-checker": "^0.1.9" + }, + "bin": { + "sucrase": "bin/sucrase", + "sucrase-node": "bin/sucrase-node" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/sucrase/node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/sucrase/node_modules/glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -11112,6 +11319,53 @@ "node": ">= 10" } }, + "node_modules/tailwindcss": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.3.tgz", + "integrity": "sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==", + "dependencies": { + "@alloc/quick-lru": "^5.2.0", + "arg": "^5.0.2", + "chokidar": "^3.5.3", + "didyoumean": "^1.2.2", + "dlv": "^1.1.3", + "fast-glob": "^3.2.12", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "jiti": "^1.18.2", + "lilconfig": "^2.1.0", + "micromatch": "^4.0.5", + "normalize-path": "^3.0.0", + "object-hash": "^3.0.0", + "picocolors": "^1.0.0", + "postcss": "^8.4.23", + "postcss-import": "^15.1.0", + "postcss-js": "^4.0.1", + "postcss-load-config": "^4.0.1", + "postcss-nested": "^6.0.1", + "postcss-selector-parser": "^6.0.11", + "resolve": "^1.22.2", + "sucrase": "^3.32.0" + }, + "bin": { + "tailwind": "lib/cli.js", + "tailwindcss": "lib/cli.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/tailwindcss/node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, "node_modules/tapable": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", @@ -11180,6 +11434,25 @@ "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==" }, + "node_modules/thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "node_modules/thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, "node_modules/thunky": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz", @@ -11267,6 +11540,11 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/ts-interface-checker": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==" + }, "node_modules/tslib": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", @@ -12574,6 +12852,11 @@ "@algolia/requester-common": "4.17.0" } }, + "@alloc/quick-lru": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", + "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==" + }, "@ampproject/remapping": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", @@ -15174,6 +15457,11 @@ "color-convert": "^1.9.0" } }, + "any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==" + }, "anymatch": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", @@ -16419,6 +16707,11 @@ "debug": "4" } }, + "didyoumean": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", + "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==" + }, "dir-glob": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", @@ -16427,6 +16720,11 @@ "path-type": "^4.0.0" } }, + "dlv": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==" + }, "dns-equal": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz", @@ -18299,6 +18597,16 @@ "thunky": "^1.0.2" } }, + "mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "requires": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, "nanoid": { "version": "3.3.6", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", @@ -18390,6 +18698,11 @@ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==" }, + "object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==" + }, "object-inspect": { "version": "1.12.3", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", @@ -18666,6 +18979,16 @@ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==" + }, + "pirates": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", + "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==" + }, "pkg-dir": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", @@ -18785,6 +19108,40 @@ "postcss-selector-parser": "^6.0.5" } }, + "postcss-import": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", + "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", + "requires": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + } + }, + "postcss-js": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz", + "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", + "requires": { + "camelcase-css": "^2.0.1" + } + }, + "postcss-load-config": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.1.tgz", + "integrity": "sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==", + "requires": { + "lilconfig": "^2.0.5", + "yaml": "^2.1.1" + }, + "dependencies": { + "yaml": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.2.tgz", + "integrity": "sha512-N/lyzTPaJasoDmfV7YTrYCI0G/3ivm/9wdG0aHuheKowWQwGTsK0Eoiw6utmzAnI6pkJa0DUVygvp3spqqEKXg==" + } + } + }, "postcss-loader": { "version": "7.3.0", "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-7.3.0.tgz", @@ -18906,6 +19263,14 @@ "icss-utils": "^5.0.0" } }, + "postcss-nested": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz", + "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==", + "requires": { + "postcss-selector-parser": "^6.0.11" + } + }, "postcss-normalize-charset": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-5.1.0.tgz", @@ -19469,6 +19834,14 @@ "use-latest": "^1.2.1" } }, + "read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", + "requires": { + "pify": "^2.3.0" + } + }, "readable-stream": { "version": "3.6.2", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", @@ -20408,6 +20781,40 @@ "postcss-selector-parser": "^6.0.4" } }, + "sucrase": { + "version": "3.34.0", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.34.0.tgz", + "integrity": "sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw==", + "requires": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "glob": "7.1.6", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "ts-interface-checker": "^0.1.9" + }, + "dependencies": { + "commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==" + }, + "glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + } + } + }, "supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -20447,6 +20854,45 @@ } } }, + "tailwindcss": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.3.tgz", + "integrity": "sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==", + "requires": { + "@alloc/quick-lru": "^5.2.0", + "arg": "^5.0.2", + "chokidar": "^3.5.3", + "didyoumean": "^1.2.2", + "dlv": "^1.1.3", + "fast-glob": "^3.2.12", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "jiti": "^1.18.2", + "lilconfig": "^2.1.0", + "micromatch": "^4.0.5", + "normalize-path": "^3.0.0", + "object-hash": "^3.0.0", + "picocolors": "^1.0.0", + "postcss": "^8.4.23", + "postcss-import": "^15.1.0", + "postcss-js": "^4.0.1", + "postcss-load-config": "^4.0.1", + "postcss-nested": "^6.0.1", + "postcss-selector-parser": "^6.0.11", + "resolve": "^1.22.2", + "sucrase": "^3.32.0" + }, + "dependencies": { + "glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "requires": { + "is-glob": "^4.0.3" + } + } + } + }, "tapable": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", @@ -20487,6 +20933,22 @@ "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==" }, + "thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "requires": { + "any-promise": "^1.0.0" + } + }, + "thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "requires": { + "thenify": ">= 3.1.0 < 4" + } + }, "thunky": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz", @@ -20550,6 +21012,11 @@ "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.5.tgz", "integrity": "sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==" }, + "ts-interface-checker": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==" + }, "tslib": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", diff --git a/docs/package.json b/docs/package.json index 6e4fd938..5a717ba5 100644 --- a/docs/package.json +++ b/docs/package.json @@ -20,7 +20,11 @@ "clsx": "^1.1.1", "prism-react-renderer": "^1.3.3", "react": "^17.0.2", - "react-dom": "^17.0.2" + "react-dom": "^17.0.2", + "autoprefixer": "^10.4.14", + "tailwindcss": "^3.3.2", + "postcss": "^8.4.23" + }, "devDependencies": { "@docusaurus/module-type-aliases": "2.1.0" diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index 9b09dfb2..db4d0be4 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -5,207 +5,217 @@ * LICENSE file in the root directory of this source tree. */ +/* load tailwind css */ +@tailwind base; +@tailwind components; +@tailwind utilities; + +@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap"); + :root { - /* + /* See css var + hsl color palette technique: https://blog.maximeheckel.com/posts/the-power-of-composition-with-css-variables/ */ - --site-primary-hue-saturation: 167 68%; - --site-primary-hue-saturation-light: 167 56%; /* do we really need this extra one? */ - --site-color-favorite-background: #f6fdfd; - --site-color-tooltip: #fff; - --site-color-tooltip-background: #353738; - --site-color-svg-icon-favorite: #e9669e; - --site-color-checkbox-checked-bg: hsl(167deg 56% 73% / 25%); - --site-color-feedback-background: #fff; -} - -html[data-theme='dark'] { - --site-color-feedback-background: #f0f8ff; - --site-color-favorite-background: #1d1e1e; - --site-color-checkbox-checked-bg: hsl(167deg 56% 73% / 10%); -} - -[data-theme='light'] { - --ifm-color-primary: hsl(var(--site-primary-hue-saturation) 30%); - --ifm-color-primary-dark: hsl(var(--site-primary-hue-saturation) 26%); - --ifm-color-primary-darker: hsl(var(--site-primary-hue-saturation) 23%); - --ifm-color-primary-darkest: hsl(var(--site-primary-hue-saturation) 17%); - - --ifm-color-primary-light: hsl(var(--site-primary-hue-saturation-light) 39%); - --ifm-color-primary-lighter: hsl( - var(--site-primary-hue-saturation-light) 47% - ); - --ifm-color-primary-lightest: hsl( - var(--site-primary-hue-saturation-light) 58% - ); -} - -[data-theme='dark'] { - --ifm-color-primary: hsl(var(--site-primary-hue-saturation) 45%); - --ifm-color-primary-dark: hsl(var(--site-primary-hue-saturation) 41%); - --ifm-color-primary-darker: hsl(var(--site-primary-hue-saturation) 38%); - --ifm-color-primary-darkest: hsl(var(--site-primary-hue-saturation) 32%); - - --ifm-color-primary-light: hsl(var(--site-primary-hue-saturation-light) 54%); - --ifm-color-primary-lighter: hsl( - var(--site-primary-hue-saturation-light) 62% - ); - --ifm-color-primary-lightest: hsl( - var(--site-primary-hue-saturation-light) 73% - ); + --site-primary-hue-saturation: 167 68%; + --site-primary-hue-saturation-light: 167 56%; /* do we really need this extra one? */ + --site-color-favorite-background: #f6fdfd; + --site-color-tooltip: #fff; + --site-color-tooltip-background: #353738; + --site-color-svg-icon-favorite: #e9669e; + --site-color-checkbox-checked-bg: hsl(167deg 56% 73% / 25%); + --site-color-feedback-background: #fff; + --ifm-font-family-base: "Poppins"; +} + +html[data-theme="dark"] { + --site-color-feedback-background: #f0f8ff; + --site-color-favorite-background: #1d1e1e; + --site-color-checkbox-checked-bg: hsl(167deg 56% 73% / 10%); +} + +[data-theme="light"] { + --ifm-color-primary: hsl(var(--site-primary-hue-saturation) 30%); + --ifm-color-primary-dark: hsl(var(--site-primary-hue-saturation) 26%); + --ifm-color-primary-darker: hsl(var(--site-primary-hue-saturation) 23%); + --ifm-color-primary-darkest: hsl(var(--site-primary-hue-saturation) 17%); + + --ifm-color-primary-light: hsl(var(--site-primary-hue-saturation-light) 39%); + --ifm-color-primary-lighter: hsl( + var(--site-primary-hue-saturation-light) 47% + ); + --ifm-color-primary-lightest: hsl( + var(--site-primary-hue-saturation-light) 58% + ); +} + +[data-theme="dark"] { + --ifm-color-primary: hsl(var(--site-primary-hue-saturation) 45%); + --ifm-color-primary-dark: hsl(var(--site-primary-hue-saturation) 41%); + --ifm-color-primary-darker: hsl(var(--site-primary-hue-saturation) 38%); + --ifm-color-primary-darkest: hsl(var(--site-primary-hue-saturation) 32%); + + --ifm-color-primary-light: hsl(var(--site-primary-hue-saturation-light) 54%); + --ifm-color-primary-lighter: hsl( + var(--site-primary-hue-saturation-light) 62% + ); + --ifm-color-primary-lightest: hsl( + var(--site-primary-hue-saturation-light) 73% + ); } .docusaurus-highlight-code-line { - background-color: rgb(0 0 0 / 10%); - display: block; - margin: 0 calc(-1 * var(--ifm-pre-padding)); - padding: 0 var(--ifm-pre-padding); + background-color: rgb(0 0 0 / 10%); + display: block; + margin: 0 calc(-1 * var(--ifm-pre-padding)); + padding: 0 var(--ifm-pre-padding); } -[data-theme='dark'] .docusaurus-highlight-code-line { - background-color: rgb(66 66 66 / 30%); +[data-theme="dark"] .docusaurus-highlight-code-line { + background-color: rgb(66 66 66 / 30%); } .header-github-link:hover { - opacity: 0.6; + opacity: 0.6; } .header-github-link::before { - content: ''; - width: 24px; - height: 24px; - display: flex; - background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat; + content: ""; + width: 24px; + height: 24px; + display: flex; + background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") + no-repeat; } -[data-theme='dark'] .header-github-link::before { - background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat; +[data-theme="dark"] .header-github-link::before { + background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") + no-repeat; } .footer--dark { - --ifm-footer-background-color: #2b3137; + --ifm-footer-background-color: #2b3137; } .unique-tabs .tabs__item { - line-height: 16px; - margin-right: 8px; + line-height: 16px; + margin-right: 8px; } .unique-tabs .tabs__item--active { - border: 0; - color: #fff; - border-radius: var(--ifm-global-radius); - background-color: var(--ifm-tabs-color-active); -} - -[data-theme='light'] .themedDocusaurus [fill='#FFFF50'] { - fill: greenyellow; -} - -[data-theme='dark'] .themedDocusaurus [fill='#FFFF50'] { - fill: seagreen; -} - -[data-theme='light'] .DocSearch { - /* --docsearch-primary-color: var(--ifm-color-primary); */ - /* --docsearch-text-color: var(--ifm-font-color-base); */ - --docsearch-muted-color: var(--ifm-color-emphasis-700); - --docsearch-container-background: rgb(94 100 112 / 70%); - /* Modal */ - --docsearch-modal-background: var(--ifm-color-secondary-lighter); - /* Search box */ - --docsearch-searchbox-background: var(--ifm-color-secondary); - --docsearch-searchbox-focus-background: var(--ifm-color-white); - /* Hit */ - --docsearch-hit-color: var(--ifm-font-color-base); - --docsearch-hit-active-color: var(--ifm-color-white); - --docsearch-hit-background: var(--ifm-color-white); - /* Footer */ - --docsearch-footer-background: var(--ifm-color-white); -} - -[data-theme='dark'] .DocSearch { - --docsearch-text-color: var(--ifm-font-color-base); - --docsearch-muted-color: var(--ifm-color-secondary-darkest); - --docsearch-container-background: rgb(47 55 69 / 70%); - /* Modal */ - --docsearch-modal-background: var(--ifm-background-color); - /* Search box */ - --docsearch-searchbox-background: var(--ifm-background-color); - --docsearch-searchbox-focus-background: var(--ifm-color-black); - /* Hit */ - --docsearch-hit-color: var(--ifm-font-color-base); - --docsearch-hit-active-color: var(--ifm-color-white); - --docsearch-hit-background: var(--ifm-color-emphasis-100); - /* Footer */ - --docsearch-footer-background: var(--ifm-background-surface-color); - --docsearch-key-gradient: linear-gradient( - -26.5deg, - var(--ifm-color-emphasis-200) 0%, - var(--ifm-color-emphasis-100) 100% - ); -} - -div[class^='announcementBar_'] { - --site-announcement-bar-stripe-color1: hsl( - var(--site-primary-hue-saturation) 85% - ); - --site-announcement-bar-stripe-color2: hsl( - var(--site-primary-hue-saturation) 95% - ); - background: repeating-linear-gradient( - 35deg, - var(--site-announcement-bar-stripe-color1), - var(--site-announcement-bar-stripe-color1) 20px, - var(--site-announcement-bar-stripe-color2) 10px, - var(--site-announcement-bar-stripe-color2) 40px - ); - font-weight: bold; + border: 0; + color: #fff; + border-radius: var(--ifm-global-radius); + background-color: var(--ifm-tabs-color-active); +} + +[data-theme="light"] .themedDocusaurus [fill="#FFFF50"] { + fill: greenyellow; +} + +[data-theme="dark"] .themedDocusaurus [fill="#FFFF50"] { + fill: seagreen; +} + +[data-theme="light"] .DocSearch { + /* --docsearch-primary-color: var(--ifm-color-primary); */ + /* --docsearch-text-color: var(--ifm-font-color-base); */ + --docsearch-muted-color: var(--ifm-color-emphasis-700); + --docsearch-container-background: rgb(94 100 112 / 70%); + /* Modal */ + --docsearch-modal-background: var(--ifm-color-secondary-lighter); + /* Search box */ + --docsearch-searchbox-background: var(--ifm-color-secondary); + --docsearch-searchbox-focus-background: var(--ifm-color-white); + /* Hit */ + --docsearch-hit-color: var(--ifm-font-color-base); + --docsearch-hit-active-color: var(--ifm-color-white); + --docsearch-hit-background: var(--ifm-color-white); + /* Footer */ + --docsearch-footer-background: var(--ifm-color-white); +} + +[data-theme="dark"] .DocSearch { + --docsearch-text-color: var(--ifm-font-color-base); + --docsearch-muted-color: var(--ifm-color-secondary-darkest); + --docsearch-container-background: rgb(47 55 69 / 70%); + /* Modal */ + --docsearch-modal-background: var(--ifm-background-color); + /* Search box */ + --docsearch-searchbox-background: var(--ifm-background-color); + --docsearch-searchbox-focus-background: var(--ifm-color-black); + /* Hit */ + --docsearch-hit-color: var(--ifm-font-color-base); + --docsearch-hit-active-color: var(--ifm-color-white); + --docsearch-hit-background: var(--ifm-color-emphasis-100); + /* Footer */ + --docsearch-footer-background: var(--ifm-background-surface-color); + --docsearch-key-gradient: linear-gradient( + -26.5deg, + var(--ifm-color-emphasis-200) 0%, + var(--ifm-color-emphasis-100) 100% + ); +} + +div[class^="announcementBar_"] { + --site-announcement-bar-stripe-color1: hsl( + var(--site-primary-hue-saturation) 85% + ); + --site-announcement-bar-stripe-color2: hsl( + var(--site-primary-hue-saturation) 95% + ); + background: repeating-linear-gradient( + 35deg, + var(--site-announcement-bar-stripe-color1), + var(--site-announcement-bar-stripe-color1) 20px, + var(--site-announcement-bar-stripe-color2) 10px, + var(--site-announcement-bar-stripe-color2) 40px + ); + font-weight: bold; } .red > a { - color: red; + color: red; } .screen-reader-only { - border: 0; - clip: rect(0 0 0 0); - clip-path: polygon(0 0, 0 0, 0 0); - height: 1px; - margin: -1px; - overflow: hidden; - padding: 0; - position: absolute; - width: 1px; - white-space: nowrap; + border: 0; + clip: rect(0 0 0 0); + clip-path: polygon(0 0, 0 0, 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; + white-space: nowrap; } -[data-theme='light'] img[src$='#gh-dark-mode-only'], -[data-theme='dark'] img[src$='#gh-light-mode-only'] { - display: none; +[data-theme="light"] img[src$="#gh-dark-mode-only"], +[data-theme="dark"] img[src$="#gh-light-mode-only"] { + display: none; } /* Used to test CSS insertion order */ .test-marker-site-custom-css-unique-rule { - content: 'site-custom-css-unique-rule'; + content: "site-custom-css-unique-rule"; } @media only screen and (max-width: 996px) { - .video-container { - position: relative; - overflow: hidden; - width: 100%; - max-width: 560px; - margin: 0 auto; - padding-top: 56.25%; - } - - .video-container iframe { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - } + .video-container { + position: relative; + overflow: hidden; + width: 100%; + max-width: 560px; + margin: 0 auto; + padding-top: 56.25%; + } + + .video-container iframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + } } diff --git a/docs/static/img/company_logos/94ai.png b/docs/static/img/company_logos/94ai.png new file mode 100644 index 00000000..ec8e5d87 Binary files /dev/null and b/docs/static/img/company_logos/94ai.png differ diff --git a/docs/static/img/company_logos/aisino.png b/docs/static/img/company_logos/aisino.png new file mode 100644 index 00000000..f9256488 Binary files /dev/null and b/docs/static/img/company_logos/aisino.png differ diff --git a/docs/static/img/company_logos/bananain.png b/docs/static/img/company_logos/bananain.png new file mode 100644 index 00000000..9644a076 Binary files /dev/null and b/docs/static/img/company_logos/bananain.png differ diff --git a/docs/static/img/company_logos/bangkebang.png b/docs/static/img/company_logos/bangkebang.png new file mode 100644 index 00000000..c87ef0ef Binary files /dev/null and b/docs/static/img/company_logos/bangkebang.png differ diff --git a/docs/static/img/company_logos/didiglobal.svg b/docs/static/img/company_logos/didiglobal.svg new file mode 100644 index 00000000..aba08d9e --- /dev/null +++ b/docs/static/img/company_logos/didiglobal.svg @@ -0,0 +1,43 @@ + + +Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/static/img/company_logos/digitalchina.png b/docs/static/img/company_logos/digitalchina.png new file mode 100644 index 00000000..77f4a497 Binary files /dev/null and b/docs/static/img/company_logos/digitalchina.png differ diff --git a/docs/static/img/company_logos/duofriend.png b/docs/static/img/company_logos/duofriend.png new file mode 100644 index 00000000..3fc1dfff Binary files /dev/null and b/docs/static/img/company_logos/duofriend.png differ diff --git a/docs/static/img/company_logos/eju.png b/docs/static/img/company_logos/eju.png new file mode 100644 index 00000000..514d7353 Binary files /dev/null and b/docs/static/img/company_logos/eju.png differ diff --git a/docs/static/img/company_logos/fittime.png b/docs/static/img/company_logos/fittime.png new file mode 100644 index 00000000..4c19cf98 Binary files /dev/null and b/docs/static/img/company_logos/fittime.png differ diff --git a/docs/static/img/company_logos/geely.jpg b/docs/static/img/company_logos/geely.jpg new file mode 100644 index 00000000..3655d56c Binary files /dev/null and b/docs/static/img/company_logos/geely.jpg differ diff --git a/docs/static/img/company_logos/glodon.jpg b/docs/static/img/company_logos/glodon.jpg new file mode 100644 index 00000000..b9a7deaa Binary files /dev/null and b/docs/static/img/company_logos/glodon.jpg differ diff --git a/docs/static/img/company_logos/haohuoyundian.png b/docs/static/img/company_logos/haohuoyundian.png new file mode 100644 index 00000000..b2385b4a Binary files /dev/null and b/docs/static/img/company_logos/haohuoyundian.png differ diff --git a/docs/static/img/company_logos/hua-cloud.png b/docs/static/img/company_logos/hua-cloud.png new file mode 100644 index 00000000..bda7a85c Binary files /dev/null and b/docs/static/img/company_logos/hua-cloud.png differ diff --git a/docs/static/img/company_logos/ist.png b/docs/static/img/company_logos/ist.png new file mode 100644 index 00000000..53426d73 Binary files /dev/null and b/docs/static/img/company_logos/ist.png differ diff --git a/docs/static/img/company_logos/lbdj.png b/docs/static/img/company_logos/lbdj.png new file mode 100644 index 00000000..80b839cf Binary files /dev/null and b/docs/static/img/company_logos/lbdj.png differ diff --git a/docs/static/img/company_logos/lightinthebox.avif b/docs/static/img/company_logos/lightinthebox.avif new file mode 100644 index 00000000..855e3212 Binary files /dev/null and b/docs/static/img/company_logos/lightinthebox.avif differ diff --git a/docs/static/img/company_logos/medbanks.png b/docs/static/img/company_logos/medbanks.png new file mode 100644 index 00000000..b62b7564 Binary files /dev/null and b/docs/static/img/company_logos/medbanks.png differ diff --git a/docs/static/img/company_logos/payermax.png b/docs/static/img/company_logos/payermax.png new file mode 100644 index 00000000..bc5d6b8f Binary files /dev/null and b/docs/static/img/company_logos/payermax.png differ diff --git a/docs/static/img/company_logos/qyzl.png b/docs/static/img/company_logos/qyzl.png new file mode 100644 index 00000000..98c08793 Binary files /dev/null and b/docs/static/img/company_logos/qyzl.png differ diff --git a/docs/static/img/company_logos/serviceshare.png b/docs/static/img/company_logos/serviceshare.png new file mode 100644 index 00000000..91400261 Binary files /dev/null and b/docs/static/img/company_logos/serviceshare.png differ diff --git a/docs/static/img/company_logos/shangmanet.png b/docs/static/img/company_logos/shangmanet.png new file mode 100644 index 00000000..4b9fd07f Binary files /dev/null and b/docs/static/img/company_logos/shangmanet.png differ diff --git a/docs/static/img/company_logos/tianshu.png b/docs/static/img/company_logos/tianshu.png new file mode 100644 index 00000000..87765e7b Binary files /dev/null and b/docs/static/img/company_logos/tianshu.png differ diff --git a/docs/static/img/company_logos/tjlc.png b/docs/static/img/company_logos/tjlc.png new file mode 100644 index 00000000..3270752c Binary files /dev/null and b/docs/static/img/company_logos/tjlc.png differ diff --git a/docs/static/img/company_logos/tophant.png b/docs/static/img/company_logos/tophant.png new file mode 100644 index 00000000..560e9262 Binary files /dev/null and b/docs/static/img/company_logos/tophant.png differ diff --git a/docs/static/img/company_logos/xdf.png b/docs/static/img/company_logos/xdf.png new file mode 100644 index 00000000..52bff0ea Binary files /dev/null and b/docs/static/img/company_logos/xdf.png differ diff --git a/docs/static/img/company_logos/xinhuazhiyun.svg b/docs/static/img/company_logos/xinhuazhiyun.svg new file mode 100644 index 00000000..35563aa7 --- /dev/null +++ b/docs/static/img/company_logos/xinhuazhiyun.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/static/img/company_logos/yckjdata.png b/docs/static/img/company_logos/yckjdata.png new file mode 100644 index 00000000..278c349d Binary files /dev/null and b/docs/static/img/company_logos/yckjdata.png differ diff --git a/docs/static/img/company_logos/yiche.png b/docs/static/img/company_logos/yiche.png new file mode 100644 index 00000000..ee8f903f Binary files /dev/null and b/docs/static/img/company_logos/yiche.png differ diff --git a/docs/static/img/company_logos/youdao.png b/docs/static/img/company_logos/youdao.png new file mode 100644 index 00000000..b41d98fb Binary files /dev/null and b/docs/static/img/company_logos/youdao.png differ diff --git a/docs/static/img/company_logos/yuantiaokj.png b/docs/static/img/company_logos/yuantiaokj.png new file mode 100644 index 00000000..83ca9e60 Binary files /dev/null and b/docs/static/img/company_logos/yuantiaokj.png differ diff --git a/docs/static/img/company_logos/zhihu.png b/docs/static/img/company_logos/zhihu.png new file mode 100644 index 00000000..f9169792 Binary files /dev/null and b/docs/static/img/company_logos/zhihu.png differ diff --git a/docs/static/img/company_logos/zhihuiya.png b/docs/static/img/company_logos/zhihuiya.png new file mode 100644 index 00000000..5e0421e1 Binary files /dev/null and b/docs/static/img/company_logos/zhihuiya.png differ diff --git a/docs/static/img/company_logos/zhlc.png b/docs/static/img/company_logos/zhlc.png new file mode 100644 index 00000000..159f4231 Binary files /dev/null and b/docs/static/img/company_logos/zhlc.png differ diff --git a/docs/static/img/company_logos/ziroom.png b/docs/static/img/company_logos/ziroom.png new file mode 100644 index 00000000..c4b650c3 Binary files /dev/null and b/docs/static/img/company_logos/ziroom.png differ diff --git a/docs/static/img/company_logos/zzltsw.png b/docs/static/img/company_logos/zzltsw.png new file mode 100644 index 00000000..e3c05be3 Binary files /dev/null and b/docs/static/img/company_logos/zzltsw.png differ diff --git a/docs/static/img/hero.svg b/docs/static/img/hero.svg new file mode 100644 index 00000000..6810761a --- /dev/null +++ b/docs/static/img/hero.svg @@ -0,0 +1,1362 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/static/json/company_logo.json b/docs/static/json/company_logo.json new file mode 100644 index 00000000..d9b7fafb --- /dev/null +++ b/docs/static/json/company_logo.json @@ -0,0 +1,227 @@ +[ + { + "name": "身边云", + "logo": "/img/company_logos/serviceshare.png", + "url": "https://serviceshare.com" + }, + { + "name": "思派健康科技", + "logo": "/img/company_logos/medbanks.png", + "url": "https://www.medbanks.cn" + }, + { + "name": "北京智合联创科技有限公司", + "logo": "/img/company_logos/zhlc.png", + "url": "http://www.zhlc.com.cn" + }, + { + "name": "神州数码(北京)", + "logo": "/img/company_logos/digitalchina.png", + "url": "http://www.digitalchina.com" + }, + { + "name": "PayerMax", + "logo": "/img/company_logos/payermax.png", + "url": "https://www.payermax.com/" + }, + { + "name": "轻松到家", + "logo": "", + "url": "http://www.uyess.com/index.html" + }, + { + "name": "某商业银行股份有限公司", + "logo": "", + "url": "https://github.com/opengoofy/hippo4j/issues/13" + }, + { + "name": "某国际物流信息股份有限公司", + "logo": "", + "url": "https://github.com/opengoofy/hippo4j/issues/13" + }, + { + "name": "萨科(深圳)科技有限公司", + "logo": "/img/company_logos/lbdj.png", + "url": "https://www.lbdj.com/" + }, + { + "name": "广东天枢新能源科技有限公司", + "logo": "/img/company_logos/tianshu.png", + "url": "https://gd-tianshu.com/" + }, + { + "name": "FitTime", + "logo": "/img/company_logos/fittime.png", + "url": "http://fittime.com/" + }, + { + "name": "百强国际物流", + "logo": "", + "url": "https://github.com/opengoofy/hippo4j/issues/13" + }, + { + "name": "海南某深圳分公司", + "logo": "", + "url": "https://github.com/opengoofy/hippo4j/issues/13" + }, + { + "name": "众合云科(51社保)", + "logo": "", + "url": "https://home.101hr.com/" + }, + { + "name": "好货云店", + "logo": "/img/company_logos/haohuoyundian.png", + "url": "https://pc.haohuoyundian.com/" + }, + { + "name": "斗象科技", + "logo": "/img/company_logos/tophant.png", + "url": "https://www.tophant.com/" + }, + { + "name": "深圳航天信息有限公司", + "logo": "/img/company_logos/aisino.png", + "url": "http://sz.aisino.com/" + }, + { + "name": "新东方教育科技集团", + "logo": "/img/company_logos/xdf.png", + "url": "https://www.xdf.cn/" + }, + { + "name": "远眺网络科技有限公司", + "logo": "/img/company_logos/yuantiaokj.png", + "url": "https://www.yuantiaokj.com/" + }, + { + "name": "浙江吉利控股集团有限公司", + "logo": "/img/company_logos/geely.png", + "url": "https://www.geely.com/" + }, + { + "name": "三立人(深圳)科技有限公司-焦内", + "logo": "/img/company_logos/bananain.png", + "url": "https://www.bananain.com/" + }, + { + "name": "上海天猫好房添玑网络服务有限公司", + "logo": "/img/company_logos/eju.png", + "url": "http://www.eju.com/" + }, + { + "name": "郑州力通水务", + "logo": "/img/company_logos/zzltsw.png", + "url": "http://www.zzltsw.com/" + }, + { + "name": "北京自如信息科技有限公司", + "logo": "/img/company_logos/ziroom.png", + "url": "https://www.ziroom.com/" + }, + { + "name": "北京易车信息科技有限公司", + "logo": "/img/company_logos/yiche.png", + "url": "https://www.yiche.com/" + }, + { + "name": "中新软件(上海)有限公司", + "logo": "", + "url": "http://www.5000m.com" + }, + { + "name": "深圳市上马网络技术有限公司", + "logo": "/img/company_logos/shangmanet.png", + "url": "https://www.shangmanet.com" + }, + { + "name": "兰亭集势(成都)科技有限公司", + "logo": "/img/company_logos/lightinthebox.png", + "url": "https://www.lightinthebox.com/" + }, + { + "name": "杭州数理大数据有限公司", + "logo": "", + "url": "https://www.data4truth.com/#/" + }, + { + "name": "九四智能", + "logo": "/img/company_logos/94ai.png", + "url": "https://94ai.com" + }, + { + "name": "新华智云科技有限公司", + "logo": "/img/company_logos/xinhuazhiyun.png", + "url": "https://www.xinhuazhiyun.com" + }, + { + "name": "银丰新融", + "logo": "/img/company_logos/ist.png", + "url": "https://www.ist.com.cn" + }, + { + "name": "深圳市帮客帮科技有限公司", + "logo": "/img/company_logos/bangkebang.png", + "url": "https://www.bangkebang.com" + }, + { + "name": "重庆威爱云科技有限公司", + "logo": "", + "url": "https://51vive.com" + }, + { + "name": "网易有道信息技术(北京)有限公司", + "logo": "/img/company_logos/youdao.png", + "url": "https://www.youdao.com" + }, + { + "name": "神州数码(西安)", + "logo": "/img/company_logos/digitalchina.png", + "url": "https://www.digitalchina.com" + }, + { + "name": "广联达科技股份有限公司", + "logo": "/img/company_logos/glodon.png", + "url": "https://www.glodon.com" + }, + { + "name": "天健联创控股集团有限公司", + "logo": "/img/company_logos/tjlc.png", + "url": "https://www.tjlc.com.cn" + }, + { + "name": "知乎", + "logo": "/img/company_logos/zhihu.png", + "url": "https://www.zhihu.com/" + }, + { + "name": "广东谷通科技有限公司", + "logo": "/img/company_logos/duofriend.png", + "url": "https://www.duofriend.com" + }, + { + "name": "成都全域智旅科技有限公司", + "logo": "/img/company_logos/qyzl.png", + "url": "http://qyzl.com" + }, + { + "name": "深圳市华云中盛科技股份有限公司", + "logo": "/img/company_logos/hua-cloud.png", + "url": "http://www.hua-cloud.cn" + }, + { + "name": "智慧芽信息科技(苏州)有限公司", + "logo": "/img/company_logos/zhihuiya.png", + "url": "https://www.zhihuiya.com" + }, + { + "name": "滴滴出行", + "logo": "/img/company_logos/didiglobal.svg", + "url": "https://www.didiglobal.com" + }, + { + "name": "杭州源诚科技有限公司", + "logo": "/img/company_logos/yckjdata.png", + "url": "http://www.yckjdata.com" + } +] diff --git a/docs/tailwind.config.js b/docs/tailwind.config.js new file mode 100644 index 00000000..d46bfc78 --- /dev/null +++ b/docs/tailwind.config.js @@ -0,0 +1,10 @@ +module.exports = { + content: ["./src/**/*.{js,jsx,ts,tsx}"], + theme: { + extend: {}, + }, + plugins: [], + corePlugins: { preflight: false }, + // set dark mode. example

Hello, World!

+ darkMode: ["class", '[data-theme="dark"]'], +};